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 _0x2f4d=['path','rimraf','../../config/environment','./intSugarcrmConfiguration.attributes','exports','define','SugarcrmConfiguration','int_sugarcrm_configurations','lodash','util','../../config/logger','moment','bluebird'];(function(_0x25f60b,_0x55758f){var _0x4492a9=function(_0x23857a){while(--_0x23857a){_0x25f60b['push'](_0x25f60b['shift']());}};_0x4492a9(++_0x55758f);}(_0x2f4d,0xbe));var _0xd2f4=function(_0x1498aa,_0x3f91f6){_0x1498aa=_0x1498aa-0x0;var _0x61bfa0=_0x2f4d[_0x1498aa];return _0x61bfa0;};'use strict';var _=require(_0xd2f4('0x0'));var util=require(_0xd2f4('0x1'));var logger=require(_0xd2f4('0x2'))('api');var moment=require(_0xd2f4('0x3'));var BPromise=require(_0xd2f4('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xd2f4('0x5'));var rimraf=require(_0xd2f4('0x6'));var config=require(_0xd2f4('0x7'));var attributes=require(_0xd2f4('0x8'));module[_0xd2f4('0x9')]=function(_0x52e54a,_0x2b0508){return _0x52e54a[_0xd2f4('0xa')](_0xd2f4('0xb'),attributes,{'tableName':_0xd2f4('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};