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 _0x0e62=['./intSugarcrmField.attributes','exports','define','SugarcrmField','sugarcrm_unique_index','idField','FieldId','lodash','util','../../config/logger','api','bluebird','request-promise','path','rimraf','../../config/environment'];(function(_0x3cf980,_0x4bb561){var _0x412e66=function(_0x4849d4){while(--_0x4849d4){_0x3cf980['push'](_0x3cf980['shift']());}};_0x412e66(++_0x4bb561);}(_0x0e62,0xa7));var _0x20e6=function(_0x55c158,_0x33a7c6){_0x55c158=_0x55c158-0x0;var _0x68f39=_0x0e62[_0x55c158];return _0x68f39;};'use strict';var _=require(_0x20e6('0x0'));var util=require(_0x20e6('0x1'));var logger=require(_0x20e6('0x2'))(_0x20e6('0x3'));var moment=require('moment');var BPromise=require(_0x20e6('0x4'));var rp=require(_0x20e6('0x5'));var fs=require('fs');var path=require(_0x20e6('0x6'));var rimraf=require(_0x20e6('0x7'));var config=require(_0x20e6('0x8'));var attributes=require(_0x20e6('0x9'));module[_0x20e6('0xa')]=function(_0x45c7ca,_0x44484e){return _0x45c7ca[_0x20e6('0xb')](_0x20e6('0xc'),attributes,{'tableName':'int_sugarcrm_fields','paranoid':![],'indexes':[{'name':_0x20e6('0xd'),'fields':[_0x20e6('0xe'),_0x20e6('0xf')],'unique':!![]}],'timestamps':!![]});};