Built motion from commit (unavailable).|2.3.98
[motion2.git] / server / api / pause / pause.model.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and   *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xe2b1=['lodash','util','../../config/logger','api','moment','request-promise','./pause.attributes','exports','define','Pause'];(function(_0x48accc,_0x3142e9){var _0x460cc4=function(_0x4af897){while(--_0x4af897){_0x48accc['push'](_0x48accc['shift']());}};_0x460cc4(++_0x3142e9);}(_0xe2b1,0xa0));var _0x1e2b=function(_0x31ad4f,_0x35c578){_0x31ad4f=_0x31ad4f-0x0;var _0x56b0aa=_0xe2b1[_0x31ad4f];return _0x56b0aa;};'use strict';var _=require(_0x1e2b('0x0'));var util=require(_0x1e2b('0x1'));var logger=require(_0x1e2b('0x2'))(_0x1e2b('0x3'));var moment=require(_0x1e2b('0x4'));var BPromise=require('bluebird');var rp=require(_0x1e2b('0x5'));var attributes=require(_0x1e2b('0x6'));module[_0x1e2b('0x7')]=function(_0xdc1061,_0x3f96d9){return _0xdc1061[_0x1e2b('0x8')](_0x1e2b('0x9'),attributes,{'tableName':'tools_pauses','paranoid':![],'indexes':[],'timestamps':!![]});};