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 _0x0931=['rimraf','../../config/environment','define','ZohoField','zoho_unique_index','idField','FieldId','lodash','util','../../config/logger','moment','bluebird','request-promise','path'];(function(_0x3e3425,_0x44d3e){var _0x85e273=function(_0x3d606b){while(--_0x3d606b){_0x3e3425['push'](_0x3e3425['shift']());}};_0x85e273(++_0x44d3e);}(_0x0931,0xbd));var _0x1093=function(_0x3c9845,_0x5de9c8){_0x3c9845=_0x3c9845-0x0;var _0x23eb05=_0x0931[_0x3c9845];return _0x23eb05;};'use strict';var _=require(_0x1093('0x0'));var util=require(_0x1093('0x1'));var logger=require(_0x1093('0x2'))('api');var moment=require(_0x1093('0x3'));var BPromise=require(_0x1093('0x4'));var rp=require(_0x1093('0x5'));var fs=require('fs');var path=require(_0x1093('0x6'));var rimraf=require(_0x1093('0x7'));var config=require(_0x1093('0x8'));var attributes=require('./intZohoField.attributes');module['exports']=function(_0xbe186f,_0x14e402){return _0xbe186f[_0x1093('0x9')](_0x1093('0xa'),attributes,{'tableName':'int_zoho_fields','paranoid':![],'indexes':[{'name':_0x1093('0xb'),'fields':[_0x1093('0xc'),_0x1093('0xd')],'unique':!![]}],'timestamps':!![]});};