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 _0xcbef=['int_sugarcrm_configurations','lodash','api','moment','bluebird','rimraf','../../config/environment','./intSugarcrmConfiguration.attributes','exports','SugarcrmConfiguration'];(function(_0x24b245,_0x1b3508){var _0x56f828=function(_0x21752a){while(--_0x21752a){_0x24b245['push'](_0x24b245['shift']());}};_0x56f828(++_0x1b3508);}(_0xcbef,0x10f));var _0xfcbe=function(_0x7709d5,_0x3a0bc4){_0x7709d5=_0x7709d5-0x0;var _0x36e23c=_0xcbef[_0x7709d5];return _0x36e23c;};'use strict';var _=require(_0xfcbe('0x0'));var util=require('util');var logger=require('../../config/logger')(_0xfcbe('0x1'));var moment=require(_0xfcbe('0x2'));var BPromise=require(_0xfcbe('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xfcbe('0x4'));var config=require(_0xfcbe('0x5'));var attributes=require(_0xfcbe('0x6'));module[_0xfcbe('0x7')]=function(_0xf525b5,_0x2597c6){return _0xf525b5['define'](_0xfcbe('0x8'),attributes,{'tableName':_0xfcbe('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};