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 _0x22e7=['bluebird','path','exports','define','AnalyticExtractedReport','analytics_extracted_reports','../../config/logger','api','moment'];(function(_0x14add3,_0x13ce8d){var _0x4a174f=function(_0x2b3ed7){while(--_0x2b3ed7){_0x14add3['push'](_0x14add3['shift']());}};_0x4a174f(++_0x13ce8d);}(_0x22e7,0x14a));var _0x722e=function(_0x12577b,_0x244594){_0x12577b=_0x12577b-0x0;var _0x5816b4=_0x22e7[_0x12577b];return _0x5816b4;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x722e('0x0'))(_0x722e('0x1'));var moment=require(_0x722e('0x2'));var BPromise=require(_0x722e('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x722e('0x4'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require('./analyticExtractedReport.attributes');module[_0x722e('0x5')]=function(_0x36407b,_0x38ed06){return _0x36407b[_0x722e('0x6')](_0x722e('0x7'),attributes,{'tableName':_0x722e('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};