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 _0xdf69=['../../config/environment','./intSalesforceConfiguration.attributes','exports','define','SalesforceConfiguration','int_salesforce_configurations','lodash','util','request-promise','rimraf'];(function(_0x39772f,_0x5605cb){var _0xc9edbf=function(_0x106a39){while(--_0x106a39){_0x39772f['push'](_0x39772f['shift']());}};_0xc9edbf(++_0x5605cb);}(_0xdf69,0xf6));var _0x9df6=function(_0x50d278,_0x3d2231){_0x50d278=_0x50d278-0x0;var _0x37b286=_0xdf69[_0x50d278];return _0x37b286;};'use strict';var _=require(_0x9df6('0x0'));var util=require(_0x9df6('0x1'));var logger=require('../../config/logger')('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x9df6('0x2'));var fs=require('fs');var path=require('path');var rimraf=require(_0x9df6('0x3'));var config=require(_0x9df6('0x4'));var attributes=require(_0x9df6('0x5'));module[_0x9df6('0x6')]=function(_0x3fa984,_0x5a7478){return _0x3fa984[_0x9df6('0x7')](_0x9df6('0x8'),attributes,{'tableName':_0x9df6('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};