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 _0x460f=['api','moment','bluebird','path','rimraf','./intSugarcrmConfiguration.attributes','define','SugarcrmConfiguration','int_sugarcrm_configurations','lodash','util'];(function(_0x547add,_0x387042){var _0x2ed1f3=function(_0x3bbb4d){while(--_0x3bbb4d){_0x547add['push'](_0x547add['shift']());}};_0x2ed1f3(++_0x387042);}(_0x460f,0x18a));var _0xf460=function(_0x2f298c,_0x2c1b28){_0x2f298c=_0x2f298c-0x0;var _0x16e96a=_0x460f[_0x2f298c];return _0x16e96a;};'use strict';var _=require(_0xf460('0x0'));var util=require(_0xf460('0x1'));var logger=require('../../config/logger')(_0xf460('0x2'));var moment=require(_0xf460('0x3'));var BPromise=require(_0xf460('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xf460('0x5'));var rimraf=require(_0xf460('0x6'));var config=require('../../config/environment');var attributes=require(_0xf460('0x7'));module['exports']=function(_0x4f385e,_0x3d98b0){return _0x4f385e[_0xf460('0x8')](_0xf460('0x9'),attributes,{'tableName':_0xf460('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};