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 _0xf807=['define','sugarcrm_unique_index','idField','FieldId','lodash','util','../../config/logger','path','rimraf','../../config/environment','./intSugarcrmField.attributes','exports'];(function(_0x11c900,_0x224114){var _0x241357=function(_0x3c2fef){while(--_0x3c2fef){_0x11c900['push'](_0x11c900['shift']());}};_0x241357(++_0x224114);}(_0xf807,0x10c));var _0x7f80=function(_0x4c9f6a,_0xcb2cb2){_0x4c9f6a=_0x4c9f6a-0x0;var _0x5df5b9=_0xf807[_0x4c9f6a];return _0x5df5b9;};'use strict';var _=require(_0x7f80('0x0'));var util=require(_0x7f80('0x1'));var logger=require(_0x7f80('0x2'))('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x7f80('0x3'));var rimraf=require(_0x7f80('0x4'));var config=require(_0x7f80('0x5'));var attributes=require(_0x7f80('0x6'));module[_0x7f80('0x7')]=function(_0xf5f759,_0xf2208f){return _0xf5f759[_0x7f80('0x8')]('SugarcrmField',attributes,{'tableName':'int_sugarcrm_fields','paranoid':![],'indexes':[{'name':_0x7f80('0x9'),'fields':[_0x7f80('0xa'),_0x7f80('0xb')],'unique':!![]}],'timestamps':!![]});};