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 _0x2a8e=['util','../../config/logger','api','moment','bluebird','request-promise','rimraf','../../config/environment','exports','define','int_salesforce_fields','salesforce_unique_index','idField','FieldId','lodash'];(function(_0x1b0ea3,_0x46a7dd){var _0x2e823c=function(_0x45fbeb){while(--_0x45fbeb){_0x1b0ea3['push'](_0x1b0ea3['shift']());}};_0x2e823c(++_0x46a7dd);}(_0x2a8e,0x1c1));var _0xe2a8=function(_0x3f4f08,_0x373541){_0x3f4f08=_0x3f4f08-0x0;var _0x390ca0=_0x2a8e[_0x3f4f08];return _0x390ca0;};'use strict';var _=require(_0xe2a8('0x0'));var util=require(_0xe2a8('0x1'));var logger=require(_0xe2a8('0x2'))(_0xe2a8('0x3'));var moment=require(_0xe2a8('0x4'));var BPromise=require(_0xe2a8('0x5'));var rp=require(_0xe2a8('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0xe2a8('0x7'));var config=require(_0xe2a8('0x8'));var attributes=require('./intSalesforceField.attributes');module[_0xe2a8('0x9')]=function(_0x1ec496,_0x7da453){return _0x1ec496[_0xe2a8('0xa')]('SalesforceField',attributes,{'tableName':_0xe2a8('0xb'),'paranoid':![],'indexes':[{'name':_0xe2a8('0xc'),'fields':[_0xe2a8('0xd'),_0xe2a8('0xe')],'unique':!![]}],'timestamps':!![]});};