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 _0xe9b1=['./integrationReport.attributes','exports','define','IntegrationReport','report_integration','lodash','util','bluebird','request-promise','rimraf','../../config/environment'];(function(_0x572e51,_0x4a2cb7){var _0x550bc6=function(_0x2daa4b){while(--_0x2daa4b){_0x572e51['push'](_0x572e51['shift']());}};_0x550bc6(++_0x4a2cb7);}(_0xe9b1,0x170));var _0x1e9b=function(_0x3457b4,_0x4cd8f9){_0x3457b4=_0x3457b4-0x0;var _0xaa8fa9=_0xe9b1[_0x3457b4];return _0xaa8fa9;};'use strict';var _=require(_0x1e9b('0x0'));var util=require(_0x1e9b('0x1'));var logger=require('../../config/logger')('api');var moment=require('moment');var BPromise=require(_0x1e9b('0x2'));var rp=require(_0x1e9b('0x3'));var fs=require('fs');var path=require('path');var rimraf=require(_0x1e9b('0x4'));var config=require(_0x1e9b('0x5'));var attributes=require(_0x1e9b('0x6'));module[_0x1e9b('0x7')]=function(_0x44ac5f,_0x3da4da){return _0x44ac5f[_0x1e9b('0x8')](_0x1e9b('0x9'),attributes,{'tableName':_0x1e9b('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};