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 _0x6ead=['../../config/environment','exports','define','analytics_custom_reports','lodash','util','../../config/logger','moment','request-promise','path','rimraf'];(function(_0x2afbb0,_0x44f16d){var _0x411ff2=function(_0x5edd7e){while(--_0x5edd7e){_0x2afbb0['push'](_0x2afbb0['shift']());}};_0x411ff2(++_0x44f16d);}(_0x6ead,0x122));var _0xd6ea=function(_0x30f962,_0x460549){_0x30f962=_0x30f962-0x0;var _0x991094=_0x6ead[_0x30f962];return _0x991094;};'use strict';var _=require(_0xd6ea('0x0'));var util=require(_0xd6ea('0x1'));var logger=require(_0xd6ea('0x2'))('api');var moment=require(_0xd6ea('0x3'));var BPromise=require('bluebird');var rp=require(_0xd6ea('0x4'));var fs=require('fs');var path=require(_0xd6ea('0x5'));var rimraf=require(_0xd6ea('0x6'));var config=require(_0xd6ea('0x7'));var attributes=require('./analyticCustomReport.attributes');module[_0xd6ea('0x8')]=function(_0x1e9e63,_0x18e258){return _0x1e9e63[_0xd6ea('0x9')]('AnalyticCustomReport',attributes,{'tableName':_0xd6ea('0xa'),'paranoid':!![],'indexes':[],'timestamps':!![]});};