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 _0x0fcf=['api','moment','bluebird','request-promise','path','rimraf','../../config/environment','exports','define','SalesforceField','salesforce_unique_index','idField','FieldId','lodash','util','../../config/logger'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x0fcf,0x8d));var _0xf0fc=function(_0xadb514,_0x19bd2a){_0xadb514=_0xadb514-0x0;var _0x5dccb1=_0x0fcf[_0xadb514];return _0x5dccb1;};'use strict';var _=require(_0xf0fc('0x0'));var util=require(_0xf0fc('0x1'));var logger=require(_0xf0fc('0x2'))(_0xf0fc('0x3'));var moment=require(_0xf0fc('0x4'));var BPromise=require(_0xf0fc('0x5'));var rp=require(_0xf0fc('0x6'));var fs=require('fs');var path=require(_0xf0fc('0x7'));var rimraf=require(_0xf0fc('0x8'));var config=require(_0xf0fc('0x9'));var attributes=require('./intSalesforceField.attributes');module[_0xf0fc('0xa')]=function(_0x593724,_0xfbd44){return _0x593724[_0xf0fc('0xb')](_0xf0fc('0xc'),attributes,{'tableName':'int_salesforce_fields','paranoid':![],'indexes':[{'name':_0xf0fc('0xd'),'fields':[_0xf0fc('0xe'),_0xf0fc('0xf')],'unique':!![]}],'timestamps':!![]});};