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 _0xe771=['../../config/logger','bluebird','request-promise','path','rimraf','../../config/environment','./intDeskAccount.attributes','../../components/integrations/configuration','exports','define','int_desk_accounts','lodash','util'];(function(_0x152fe3,_0x12b0c8){var _0xc5bb39=function(_0x1fde42){while(--_0x1fde42){_0x152fe3['push'](_0x152fe3['shift']());}};_0xc5bb39(++_0x12b0c8);}(_0xe771,0x16a));var _0x1e77=function(_0x3e3bee,_0x4f91fe){_0x3e3bee=_0x3e3bee-0x0;var _0x3ae14c=_0xe771[_0x3e3bee];return _0x3ae14c;};'use strict';var _=require(_0x1e77('0x0'));var util=require(_0x1e77('0x1'));var logger=require(_0x1e77('0x2'))('api');var moment=require('moment');var BPromise=require(_0x1e77('0x3'));var rp=require(_0x1e77('0x4'));var fs=require('fs');var path=require(_0x1e77('0x5'));var rimraf=require(_0x1e77('0x6'));var config=require(_0x1e77('0x7'));var attributes=require(_0x1e77('0x8'));var integrations=require(_0x1e77('0x9'));module[_0x1e77('0xa')]=function(_0x9113d1,_0x10838b){return _0x9113d1[_0x1e77('0xb')]('DeskAccount',attributes,{'tableName':_0x1e77('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};