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 _0xf8f1=['util','moment','bluebird','request-promise','rimraf','./intVtigerField.attributes','exports','define','int_vtiger_fields','vtiger_unique_index'];(function(_0x3b380d,_0x4bf247){var _0x54502b=function(_0x35d207){while(--_0x35d207){_0x3b380d['push'](_0x3b380d['shift']());}};_0x54502b(++_0x4bf247);}(_0xf8f1,0x64));var _0x1f8f=function(_0x515afd,_0x1a1e91){_0x515afd=_0x515afd-0x0;var _0x536d53=_0xf8f1[_0x515afd];return _0x536d53;};'use strict';var _=require('lodash');var util=require(_0x1f8f('0x0'));var logger=require('../../config/logger')('api');var moment=require(_0x1f8f('0x1'));var BPromise=require(_0x1f8f('0x2'));var rp=require(_0x1f8f('0x3'));var fs=require('fs');var path=require('path');var rimraf=require(_0x1f8f('0x4'));var config=require('../../config/environment');var attributes=require(_0x1f8f('0x5'));module[_0x1f8f('0x6')]=function(_0x15f624,_0x1528e1){return _0x15f624[_0x1f8f('0x7')]('VtigerField',attributes,{'tableName':_0x1f8f('0x8'),'paranoid':![],'indexes':[{'name':_0x1f8f('0x9'),'fields':['idField','FieldId'],'unique':!![]}],'timestamps':!![]});};