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 _0x0c0e=['rimraf','../../config/environment','./analyticExtractedReport.attributes','exports','define','AnalyticExtractedReport','analytics_extracted_reports','lodash','../../config/logger','moment','bluebird','request-promise'];(function(_0x2e63e8,_0xed68f5){var _0x3fe904=function(_0x10e876){while(--_0x10e876){_0x2e63e8['push'](_0x2e63e8['shift']());}};_0x3fe904(++_0xed68f5);}(_0x0c0e,0xaf));var _0xe0c0=function(_0x24847e,_0x2ac0a8){_0x24847e=_0x24847e-0x0;var _0x1db9c5=_0x0c0e[_0x24847e];return _0x1db9c5;};'use strict';var _=require(_0xe0c0('0x0'));var util=require('util');var logger=require(_0xe0c0('0x1'))('api');var moment=require(_0xe0c0('0x2'));var BPromise=require(_0xe0c0('0x3'));var rp=require(_0xe0c0('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0xe0c0('0x5'));var config=require(_0xe0c0('0x6'));var attributes=require(_0xe0c0('0x7'));module[_0xe0c0('0x8')]=function(_0x24c845,_0x19c0ea){return _0x24c845[_0xe0c0('0x9')](_0xe0c0('0xa'),attributes,{'tableName':_0xe0c0('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};