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 _0x3e2f=['exports','SugarcrmConfiguration','int_sugarcrm_configurations','util','api','bluebird','request-promise','path','rimraf','./intSugarcrmConfiguration.attributes'];(function(_0x31e390,_0x1ac667){var _0x546ba2=function(_0x33bc64){while(--_0x33bc64){_0x31e390['push'](_0x31e390['shift']());}};_0x546ba2(++_0x1ac667);}(_0x3e2f,0x99));var _0xf3e2=function(_0x903228,_0x42c429){_0x903228=_0x903228-0x0;var _0xcec81d=_0x3e2f[_0x903228];return _0xcec81d;};'use strict';var _=require('lodash');var util=require(_0xf3e2('0x0'));var logger=require('../../config/logger')(_0xf3e2('0x1'));var moment=require('moment');var BPromise=require(_0xf3e2('0x2'));var rp=require(_0xf3e2('0x3'));var fs=require('fs');var path=require(_0xf3e2('0x4'));var rimraf=require(_0xf3e2('0x5'));var config=require('../../config/environment');var attributes=require(_0xf3e2('0x6'));module[_0xf3e2('0x7')]=function(_0xd2795d,_0x3a8c29){return _0xd2795d['define'](_0xf3e2('0x8'),attributes,{'tableName':_0xf3e2('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};