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 _0xad72=['lodash','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','./intFreshsalesField.attributes','exports','int_freshsales_fields','idField','FieldId'];(function(_0x397e5f,_0x454c8f){var _0x5302b8=function(_0x1a29ef){while(--_0x1a29ef){_0x397e5f['push'](_0x397e5f['shift']());}};_0x5302b8(++_0x454c8f);}(_0xad72,0x179));var _0x2ad7=function(_0x5b58ec,_0x4f00d2){_0x5b58ec=_0x5b58ec-0x0;var _0x1342dc=_0xad72[_0x5b58ec];return _0x1342dc;};'use strict';var _=require(_0x2ad7('0x0'));var util=require('util');var logger=require(_0x2ad7('0x1'))(_0x2ad7('0x2'));var moment=require(_0x2ad7('0x3'));var BPromise=require(_0x2ad7('0x4'));var rp=require(_0x2ad7('0x5'));var fs=require('fs');var path=require(_0x2ad7('0x6'));var rimraf=require(_0x2ad7('0x7'));var config=require('../../config/environment');var attributes=require(_0x2ad7('0x8'));module[_0x2ad7('0x9')]=function(_0x3c4675,_0xf6dc90){return _0x3c4675['define']('FreshsalesField',attributes,{'tableName':_0x2ad7('0xa'),'paranoid':![],'indexes':[{'name':'freshsales_unique_index','fields':[_0x2ad7('0xb'),_0x2ad7('0xc')],'unique':!![]}],'timestamps':!![]});};