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 _0xc399=['../../config/environment','./intVtigerField.attributes','exports','define','VtigerField','vtiger_unique_index','idField','FieldId','lodash','util','api','path'];(function(_0x321bb2,_0x202794){var _0x9c12ed=function(_0x263dd3){while(--_0x263dd3){_0x321bb2['push'](_0x321bb2['shift']());}};_0x9c12ed(++_0x202794);}(_0xc399,0xb0));var _0x9c39=function(_0x15ace1,_0x4a4c50){_0x15ace1=_0x15ace1-0x0;var _0x74c31f=_0xc399[_0x15ace1];return _0x74c31f;};'use strict';var _=require(_0x9c39('0x0'));var util=require(_0x9c39('0x1'));var logger=require('../../config/logger')(_0x9c39('0x2'));var moment=require('moment');var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x9c39('0x3'));var rimraf=require('rimraf');var config=require(_0x9c39('0x4'));var attributes=require(_0x9c39('0x5'));module[_0x9c39('0x6')]=function(_0xa99a21,_0x3d611f){return _0xa99a21[_0x9c39('0x7')](_0x9c39('0x8'),attributes,{'tableName':'int_vtiger_fields','paranoid':![],'indexes':[{'name':_0x9c39('0x9'),'fields':[_0x9c39('0xa'),_0x9c39('0xb')],'unique':!![]}],'timestamps':!![]});};