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 _0xb6e7=['FieldId','../../config/logger','api','bluebird','request-promise','path','rimraf','../../config/environment','./intZohoField.attributes','define','ZohoField','zoho_unique_index'];(function(_0x3bc455,_0x5a797d){var _0x5000e5=function(_0x2fce67){while(--_0x2fce67){_0x3bc455['push'](_0x3bc455['shift']());}};_0x5000e5(++_0x5a797d);}(_0xb6e7,0x1b1));var _0x7b6e=function(_0x8c84d2,_0x39bb62){_0x8c84d2=_0x8c84d2-0x0;var _0x12afe2=_0xb6e7[_0x8c84d2];return _0x12afe2;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x7b6e('0x0'))(_0x7b6e('0x1'));var moment=require('moment');var BPromise=require(_0x7b6e('0x2'));var rp=require(_0x7b6e('0x3'));var fs=require('fs');var path=require(_0x7b6e('0x4'));var rimraf=require(_0x7b6e('0x5'));var config=require(_0x7b6e('0x6'));var attributes=require(_0x7b6e('0x7'));module['exports']=function(_0x380637,_0x41a2c8){return _0x380637[_0x7b6e('0x8')](_0x7b6e('0x9'),attributes,{'tableName':'int_zoho_fields','paranoid':![],'indexes':[{'name':_0x7b6e('0xa'),'fields':['idField',_0x7b6e('0xb')],'unique':!![]}],'timestamps':!![]});};