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 _0x912f=['lodash','util','../../config/logger','moment','bluebird','request-promise','path','exports','define','DeskConfiguration','int_desk_configurations'];(function(_0x102d50,_0x244eae){var _0x1a8611=function(_0x2db2ff){while(--_0x2db2ff){_0x102d50['push'](_0x102d50['shift']());}};_0x1a8611(++_0x244eae);}(_0x912f,0x1d9));var _0xf912=function(_0x4aeab0,_0x19499b){_0x4aeab0=_0x4aeab0-0x0;var _0xe6b4f=_0x912f[_0x4aeab0];return _0xe6b4f;};'use strict';var _=require(_0xf912('0x0'));var util=require(_0xf912('0x1'));var logger=require(_0xf912('0x2'))('api');var moment=require(_0xf912('0x3'));var BPromise=require(_0xf912('0x4'));var rp=require(_0xf912('0x5'));var fs=require('fs');var path=require(_0xf912('0x6'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require('./intDeskConfiguration.attributes');module[_0xf912('0x7')]=function(_0x43132c,_0x5840fc){return _0x43132c[_0xf912('0x8')](_0xf912('0x9'),attributes,{'tableName':_0xf912('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};