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 _0xdf37=['analytics_extracted_reports','lodash','moment','bluebird','request-promise','path','../../config/environment','exports','define','AnalyticExtractedReport'];(function(_0x4ead48,_0x5a36d5){var _0x213ca2=function(_0x53db79){while(--_0x53db79){_0x4ead48['push'](_0x4ead48['shift']());}};_0x213ca2(++_0x5a36d5);}(_0xdf37,0x1d7));var _0x7df3=function(_0x592ecc,_0x21bbb7){_0x592ecc=_0x592ecc-0x0;var _0x5c3ab2=_0xdf37[_0x592ecc];return _0x5c3ab2;};'use strict';var _=require(_0x7df3('0x0'));var util=require('util');var logger=require('../../config/logger')('api');var moment=require(_0x7df3('0x1'));var BPromise=require(_0x7df3('0x2'));var rp=require(_0x7df3('0x3'));var fs=require('fs');var path=require(_0x7df3('0x4'));var rimraf=require('rimraf');var config=require(_0x7df3('0x5'));var attributes=require('./analyticExtractedReport.attributes');module[_0x7df3('0x6')]=function(_0x1f54f0,_0x4e593f){return _0x1f54f0[_0x7df3('0x7')](_0x7df3('0x8'),attributes,{'tableName':_0x7df3('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};