1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0xdf03=['path','rimraf','./intDeskConfiguration.attributes','DeskConfiguration','int_desk_configurations','lodash','util','../../config/logger','moment','bluebird','request-promise'];(function(_0x122ef9,_0x451d2a){var _0x42fba0=function(_0x17c9d3){while(--_0x17c9d3){_0x122ef9['push'](_0x122ef9['shift']());}};_0x42fba0(++_0x451d2a);}(_0xdf03,0x73));var _0x3df0=function(_0x1c3370,_0xf617e8){_0x1c3370=_0x1c3370-0x0;var _0xa9b358=_0xdf03[_0x1c3370];return _0xa9b358;};'use strict';var _=require(_0x3df0('0x0'));var util=require(_0x3df0('0x1'));var logger=require(_0x3df0('0x2'))('api');var moment=require(_0x3df0('0x3'));var BPromise=require(_0x3df0('0x4'));var rp=require(_0x3df0('0x5'));var fs=require('fs');var path=require(_0x3df0('0x6'));var rimraf=require(_0x3df0('0x7'));var config=require('../../config/environment');var attributes=require(_0x3df0('0x8'));module['exports']=function(_0x3d20c1,_0x7e0fd8){return _0x3d20c1['define'](_0x3df0('0x9'),attributes,{'tableName':_0x3df0('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};