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 _0x1267=['util','moment','bluebird','request-promise','path','rimraf','../../config/environment','./intFreshsalesField.attributes','define','FreshsalesField','freshsales_unique_index','FieldId','lodash'];(function(_0xa464c9,_0x7c86d8){var _0x3d73c4=function(_0x5c2056){while(--_0x5c2056){_0xa464c9['push'](_0xa464c9['shift']());}};_0x3d73c4(++_0x7c86d8);}(_0x1267,0xb5));var _0x7126=function(_0x26a096,_0xde2bf2){_0x26a096=_0x26a096-0x0;var _0x6586a=_0x1267[_0x26a096];return _0x6586a;};'use strict';var _=require(_0x7126('0x0'));var util=require(_0x7126('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0x7126('0x2'));var BPromise=require(_0x7126('0x3'));var rp=require(_0x7126('0x4'));var fs=require('fs');var path=require(_0x7126('0x5'));var rimraf=require(_0x7126('0x6'));var config=require(_0x7126('0x7'));var attributes=require(_0x7126('0x8'));module['exports']=function(_0x1fa48f,_0x3fe051){return _0x1fa48f[_0x7126('0x9')](_0x7126('0xa'),attributes,{'tableName':'int_freshsales_fields','paranoid':![],'indexes':[{'name':_0x7126('0xb'),'fields':['idField',_0x7126('0xc')],'unique':!![]}],'timestamps':!![]});};