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 _0xade5=['SugarcrmConfiguration','int_sugarcrm_configurations','lodash','util','api','request-promise','path','./intSugarcrmConfiguration.attributes','exports'];(function(_0x212e1b,_0x10c35c){var _0x3dc0d8=function(_0x3e0c42){while(--_0x3e0c42){_0x212e1b['push'](_0x212e1b['shift']());}};_0x3dc0d8(++_0x10c35c);}(_0xade5,0x1df));var _0x5ade=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0xade5[_0x14add3];return _0x4a174f;};'use strict';var _=require(_0x5ade('0x0'));var util=require(_0x5ade('0x1'));var logger=require('../../config/logger')(_0x5ade('0x2'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x5ade('0x3'));var fs=require('fs');var path=require(_0x5ade('0x4'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x5ade('0x5'));module[_0x5ade('0x6')]=function(_0xa582,_0xc3b672){return _0xa582['define'](_0x5ade('0x7'),attributes,{'tableName':_0x5ade('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};