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 _0xbdee=['api','path','rimraf','./intSalesforceAccount.attributes','../../components/integrations/configuration','exports','define','SalesforceAccount','int_salesforce_accounts','lodash','../../config/logger'];(function(_0x57c5fc,_0x36eace){var _0x2a5d8a=function(_0x5beb7c){while(--_0x5beb7c){_0x57c5fc['push'](_0x57c5fc['shift']());}};_0x2a5d8a(++_0x36eace);}(_0xbdee,0xc4));var _0xebde=function(_0x530455,_0x41da2d){_0x530455=_0x530455-0x0;var _0x128a27=_0xbdee[_0x530455];return _0x128a27;};'use strict';var _=require(_0xebde('0x0'));var util=require('util');var logger=require(_0xebde('0x1'))(_0xebde('0x2'));var moment=require('moment');var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0xebde('0x3'));var rimraf=require(_0xebde('0x4'));var config=require('../../config/environment');var attributes=require(_0xebde('0x5'));var integrations=require(_0xebde('0x6'));module[_0xebde('0x7')]=function(_0x3beec5,_0x29383b){return _0x3beec5[_0xebde('0x8')](_0xebde('0x9'),attributes,{'tableName':_0xebde('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};