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 _0xfbad=['int_desk_accounts','lodash','util','../../config/logger','api','bluebird','request-promise','rimraf','./intDeskAccount.attributes','../../components/integrations/configuration','exports','define','DeskAccount'];(function(_0x3ce3c,_0x319337){var _0x55a2c9=function(_0x1568d0){while(--_0x1568d0){_0x3ce3c['push'](_0x3ce3c['shift']());}};_0x55a2c9(++_0x319337);}(_0xfbad,0x16d));var _0xdfba=function(_0x525d37,_0xf3be09){_0x525d37=_0x525d37-0x0;var _0x42f8ee=_0xfbad[_0x525d37];return _0x42f8ee;};'use strict';var _=require(_0xdfba('0x0'));var util=require(_0xdfba('0x1'));var logger=require(_0xdfba('0x2'))(_0xdfba('0x3'));var moment=require('moment');var BPromise=require(_0xdfba('0x4'));var rp=require(_0xdfba('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0xdfba('0x6'));var config=require('../../config/environment');var attributes=require(_0xdfba('0x7'));var integrations=require(_0xdfba('0x8'));module[_0xdfba('0x9')]=function(_0x1354f1,_0x1ea189){return _0x1354f1[_0xdfba('0xa')](_0xdfba('0xb'),attributes,{'tableName':_0xdfba('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};