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 _0x0a40=['../../config/logger','api','moment','path','./intDeskAccount.attributes','../../components/integrations/configuration','define','DeskAccount','int_desk_accounts','lodash'];(function(_0x37e4db,_0x8ac0b9){var _0x3aee3c=function(_0x44c8dd){while(--_0x44c8dd){_0x37e4db['push'](_0x37e4db['shift']());}};_0x3aee3c(++_0x8ac0b9);}(_0x0a40,0xa9));var _0x00a4=function(_0x1ec3b1,_0x120e44){_0x1ec3b1=_0x1ec3b1-0x0;var _0x268c1d=_0x0a40[_0x1ec3b1];return _0x268c1d;};'use strict';var _=require(_0x00a4('0x0'));var util=require('util');var logger=require(_0x00a4('0x1'))(_0x00a4('0x2'));var moment=require(_0x00a4('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x00a4('0x4'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x00a4('0x5'));var integrations=require(_0x00a4('0x6'));module['exports']=function(_0x2b9b46,_0x43d2a6){return _0x2b9b46[_0x00a4('0x7')](_0x00a4('0x8'),attributes,{'tableName':_0x00a4('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};