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 _0xd48c=['exports','define','SugarcrmConfiguration','int_sugarcrm_configurations','lodash','util','api','moment','bluebird','rimraf'];(function(_0x30464b,_0x5c2178){var _0x132696=function(_0x3ed111){while(--_0x3ed111){_0x30464b['push'](_0x30464b['shift']());}};_0x132696(++_0x5c2178);}(_0xd48c,0x18a));var _0xcd48=function(_0x52e363,_0x48062a){_0x52e363=_0x52e363-0x0;var _0x3fc2b5=_0xd48c[_0x52e363];return _0x3fc2b5;};'use strict';var _=require(_0xcd48('0x0'));var util=require(_0xcd48('0x1'));var logger=require('../../config/logger')(_0xcd48('0x2'));var moment=require(_0xcd48('0x3'));var BPromise=require(_0xcd48('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xcd48('0x5'));var config=require('../../config/environment');var attributes=require('./intSugarcrmConfiguration.attributes');module[_0xcd48('0x6')]=function(_0x3bb75d,_0x18e9d9){return _0x3bb75d[_0xcd48('0x7')](_0xcd48('0x8'),attributes,{'tableName':_0xcd48('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};