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 _0xf6c7=['exports','define','SalesforceAccount','int_salesforce_accounts','lodash','../../config/logger','bluebird','request-promise','path','./intSalesforceAccount.attributes','../../components/integrations/configuration'];(function(_0x1830c2,_0x4f8216){var _0x1a995e=function(_0x3c8476){while(--_0x3c8476){_0x1830c2['push'](_0x1830c2['shift']());}};_0x1a995e(++_0x4f8216);}(_0xf6c7,0x143));var _0x7f6c=function(_0x4f3fb2,_0x344590){_0x4f3fb2=_0x4f3fb2-0x0;var _0x105d62=_0xf6c7[_0x4f3fb2];return _0x105d62;};'use strict';var _=require(_0x7f6c('0x0'));var util=require('util');var logger=require(_0x7f6c('0x1'))('api');var moment=require('moment');var BPromise=require(_0x7f6c('0x2'));var rp=require(_0x7f6c('0x3'));var fs=require('fs');var path=require(_0x7f6c('0x4'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x7f6c('0x5'));var integrations=require(_0x7f6c('0x6'));module[_0x7f6c('0x7')]=function(_0x2885bf,_0x24c163){return _0x2885bf[_0x7f6c('0x8')](_0x7f6c('0x9'),attributes,{'tableName':_0x7f6c('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};