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 _0x1627=['../../config/environment','SugarcrmField','int_sugarcrm_fields','idField','FieldId','lodash','util','../../config/logger','bluebird','path','rimraf'];(function(_0x369a34,_0x248832){var _0x4d596a=function(_0x27de0b){while(--_0x27de0b){_0x369a34['push'](_0x369a34['shift']());}};_0x4d596a(++_0x248832);}(_0x1627,0xf7));var _0x7162=function(_0x23047e,_0x7dd387){_0x23047e=_0x23047e-0x0;var _0x2ade6b=_0x1627[_0x23047e];return _0x2ade6b;};'use strict';var _=require(_0x7162('0x0'));var util=require(_0x7162('0x1'));var logger=require(_0x7162('0x2'))('api');var moment=require('moment');var BPromise=require(_0x7162('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x7162('0x4'));var rimraf=require(_0x7162('0x5'));var config=require(_0x7162('0x6'));var attributes=require('./intSugarcrmField.attributes');module['exports']=function(_0x12a7f9,_0x10056b){return _0x12a7f9['define'](_0x7162('0x7'),attributes,{'tableName':_0x7162('0x8'),'paranoid':![],'indexes':[{'name':'sugarcrm_unique_index','fields':[_0x7162('0x9'),_0x7162('0xa')],'unique':!![]}],'timestamps':!![]});};