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 _0xe126=['int_salesforce_fields','salesforce_unique_index','idField','FieldId','lodash','util','moment','bluebird','request-promise','path','rimraf','./intSalesforceField.attributes','exports','define'];(function(_0xb6c8ec,_0x1c78ee){var _0x26752e=function(_0x1dcb7c){while(--_0x1dcb7c){_0xb6c8ec['push'](_0xb6c8ec['shift']());}};_0x26752e(++_0x1c78ee);}(_0xe126,0x19a));var _0x6e12=function(_0x9fd887,_0x47f76c){_0x9fd887=_0x9fd887-0x0;var _0x1a54ab=_0xe126[_0x9fd887];return _0x1a54ab;};'use strict';var _=require(_0x6e12('0x0'));var util=require(_0x6e12('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0x6e12('0x2'));var BPromise=require(_0x6e12('0x3'));var rp=require(_0x6e12('0x4'));var fs=require('fs');var path=require(_0x6e12('0x5'));var rimraf=require(_0x6e12('0x6'));var config=require('../../config/environment');var attributes=require(_0x6e12('0x7'));module[_0x6e12('0x8')]=function(_0x1c792e,_0x208b6b){return _0x1c792e[_0x6e12('0x9')]('SalesforceField',attributes,{'tableName':_0x6e12('0xa'),'paranoid':![],'indexes':[{'name':_0x6e12('0xb'),'fields':[_0x6e12('0xc'),_0x6e12('0xd')],'unique':!![]}],'timestamps':!![]});};