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 _0xe588=['exports','define','AnalyticDefaultReport','analytics_default_reports','lodash','util','../../config/logger','moment','request-promise','path','rimraf','../../config/environment','./analyticDefaultReport.attributes'];(function(_0x20d9f0,_0x453415){var _0x195dda=function(_0x58d8e8){while(--_0x58d8e8){_0x20d9f0['push'](_0x20d9f0['shift']());}};_0x195dda(++_0x453415);}(_0xe588,0x18a));var _0x8e58=function(_0x535517,_0x1095be){_0x535517=_0x535517-0x0;var _0xc1f779=_0xe588[_0x535517];return _0xc1f779;};'use strict';var _=require(_0x8e58('0x0'));var util=require(_0x8e58('0x1'));var logger=require(_0x8e58('0x2'))('api');var moment=require(_0x8e58('0x3'));var BPromise=require('bluebird');var rp=require(_0x8e58('0x4'));var fs=require('fs');var path=require(_0x8e58('0x5'));var rimraf=require(_0x8e58('0x6'));var config=require(_0x8e58('0x7'));var attributes=require(_0x8e58('0x8'));module[_0x8e58('0x9')]=function(_0x5644ff,_0x2fb72c){return _0x5644ff[_0x8e58('0xa')](_0x8e58('0xb'),attributes,{'tableName':_0x8e58('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};