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 _0x4dfd=['lodash','util','../../config/logger','request-promise','./intSugarcrmField.attributes','exports','sugarcrm_unique_index','idField','FieldId'];(function(_0x388c68,_0x33bf77){var _0xe2c91f=function(_0x4ea352){while(--_0x4ea352){_0x388c68['push'](_0x388c68['shift']());}};_0xe2c91f(++_0x33bf77);}(_0x4dfd,0x129));var _0xd4df=function(_0x27c29e,_0x2c11d5){_0x27c29e=_0x27c29e-0x0;var _0x3a20de=_0x4dfd[_0x27c29e];return _0x3a20de;};'use strict';var _=require(_0xd4df('0x0'));var util=require(_0xd4df('0x1'));var logger=require(_0xd4df('0x2'))('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0xd4df('0x3'));var attributes=require(_0xd4df('0x4'));module[_0xd4df('0x5')]=function(_0x466dc1,_0x4355b2){return _0x466dc1['define']('SugarcrmField',attributes,{'tableName':'int_sugarcrm_fields','paranoid':![],'indexes':[{'name':_0xd4df('0x6'),'fields':[_0xd4df('0x7'),_0xd4df('0x8')],'unique':!![]}],'timestamps':!![]});};