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 _0x1e86=['define','IntegrationReport','report_integration','lodash','util','../../config/logger','moment','bluebird','request-promise','rimraf','../../config/environment','./integrationReport.attributes','exports'];(function(_0x3efdb5,_0x314ae7){var _0x310bc9=function(_0x3fce80){while(--_0x3fce80){_0x3efdb5['push'](_0x3efdb5['shift']());}};_0x310bc9(++_0x314ae7);}(_0x1e86,0x162));var _0x61e8=function(_0x429a7e,_0x220ac4){_0x429a7e=_0x429a7e-0x0;var _0x15d691=_0x1e86[_0x429a7e];return _0x15d691;};'use strict';var _=require(_0x61e8('0x0'));var util=require(_0x61e8('0x1'));var logger=require(_0x61e8('0x2'))('api');var moment=require(_0x61e8('0x3'));var BPromise=require(_0x61e8('0x4'));var rp=require(_0x61e8('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x61e8('0x6'));var config=require(_0x61e8('0x7'));var attributes=require(_0x61e8('0x8'));module[_0x61e8('0x9')]=function(_0x520d82,_0x3d852b){return _0x520d82[_0x61e8('0xa')](_0x61e8('0xb'),attributes,{'tableName':_0x61e8('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};