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 _0x4c97=['path','rimraf','../../config/environment','./intDeskAccount.attributes','../../components/integrations/configuration','exports','DeskAccount','int_desk_accounts','lodash','util','moment','bluebird'];(function(_0xa464c9,_0x7c86d8){var _0x3d73c4=function(_0x5c2056){while(--_0x5c2056){_0xa464c9['push'](_0xa464c9['shift']());}};_0x3d73c4(++_0x7c86d8);}(_0x4c97,0xbc));var _0x74c9=function(_0x167cc1,_0x56ef5a){_0x167cc1=_0x167cc1-0x0;var _0x10bc4b=_0x4c97[_0x167cc1];return _0x10bc4b;};'use strict';var _=require(_0x74c9('0x0'));var util=require(_0x74c9('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0x74c9('0x2'));var BPromise=require(_0x74c9('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x74c9('0x4'));var rimraf=require(_0x74c9('0x5'));var config=require(_0x74c9('0x6'));var attributes=require(_0x74c9('0x7'));var integrations=require(_0x74c9('0x8'));module[_0x74c9('0x9')]=function(_0x280afe,_0x112896){return _0x280afe['define'](_0x74c9('0xa'),attributes,{'tableName':_0x74c9('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};