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 _0x8e7b=['api','bluebird','request-promise','path','rimraf','../../config/environment','./intSugarcrmConfiguration.attributes','exports','define','SugarcrmConfiguration','int_sugarcrm_configurations','lodash','util'];(function(_0x4c62a8,_0x3b08e2){var _0x2d4902=function(_0x18175c){while(--_0x18175c){_0x4c62a8['push'](_0x4c62a8['shift']());}};_0x2d4902(++_0x3b08e2);}(_0x8e7b,0x1df));var _0xb8e7=function(_0x1928c9,_0x13a6d1){_0x1928c9=_0x1928c9-0x0;var _0x51b5fb=_0x8e7b[_0x1928c9];return _0x51b5fb;};'use strict';var _=require(_0xb8e7('0x0'));var util=require(_0xb8e7('0x1'));var logger=require('../../config/logger')(_0xb8e7('0x2'));var moment=require('moment');var BPromise=require(_0xb8e7('0x3'));var rp=require(_0xb8e7('0x4'));var fs=require('fs');var path=require(_0xb8e7('0x5'));var rimraf=require(_0xb8e7('0x6'));var config=require(_0xb8e7('0x7'));var attributes=require(_0xb8e7('0x8'));module[_0xb8e7('0x9')]=function(_0x3448aa,_0x32cbe4){return _0x3448aa[_0xb8e7('0xa')](_0xb8e7('0xb'),attributes,{'tableName':_0xb8e7('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};