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 _0x325a=['util','../../config/logger','api','bluebird','request-promise','path','rimraf','../../config/environment','./intVtigerField.attributes','exports','define','VtigerField','int_vtiger_fields','vtiger_unique_index','idField'];(function(_0x1f8053,_0x111077){var _0x174fd8=function(_0x2f92fc){while(--_0x2f92fc){_0x1f8053['push'](_0x1f8053['shift']());}};_0x174fd8(++_0x111077);}(_0x325a,0xff));var _0xa325=function(_0x3cc1bf,_0xed7947){_0x3cc1bf=_0x3cc1bf-0x0;var _0x2f4b69=_0x325a[_0x3cc1bf];return _0x2f4b69;};'use strict';var _=require('lodash');var util=require(_0xa325('0x0'));var logger=require(_0xa325('0x1'))(_0xa325('0x2'));var moment=require('moment');var BPromise=require(_0xa325('0x3'));var rp=require(_0xa325('0x4'));var fs=require('fs');var path=require(_0xa325('0x5'));var rimraf=require(_0xa325('0x6'));var config=require(_0xa325('0x7'));var attributes=require(_0xa325('0x8'));module[_0xa325('0x9')]=function(_0x1a51ac,_0x273699){return _0x1a51ac[_0xa325('0xa')](_0xa325('0xb'),attributes,{'tableName':_0xa325('0xc'),'paranoid':![],'indexes':[{'name':_0xa325('0xd'),'fields':[_0xa325('0xe'),'FieldId'],'unique':!![]}],'timestamps':!![]});};