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 _0xa7fe=['../../config/logger','moment','rimraf','../../config/environment','exports','define','SugarcrmConfiguration','int_sugarcrm_configurations','lodash','util'];(function(_0x16d10f,_0x2ba2d5){var _0x50c823=function(_0x44e43f){while(--_0x44e43f){_0x16d10f['push'](_0x16d10f['shift']());}};_0x50c823(++_0x2ba2d5);}(_0xa7fe,0xf8));var _0xea7f=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xa7fe[_0x3dd15e];return _0x231fd0;};'use strict';var _=require(_0xea7f('0x0'));var util=require(_0xea7f('0x1'));var logger=require(_0xea7f('0x2'))('api');var moment=require(_0xea7f('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xea7f('0x4'));var config=require(_0xea7f('0x5'));var attributes=require('./intSugarcrmConfiguration.attributes');module[_0xea7f('0x6')]=function(_0x16eea3,_0x260aa4){return _0x16eea3[_0xea7f('0x7')](_0xea7f('0x8'),attributes,{'tableName':_0xea7f('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};