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 _0xdcaf=['exports','define','analytics_custom_reports','lodash','util','moment','bluebird'];(function(_0x434d68,_0xcbdfed){var _0x56f3ce=function(_0x3553ab){while(--_0x3553ab){_0x434d68['push'](_0x434d68['shift']());}};_0x56f3ce(++_0xcbdfed);}(_0xdcaf,0x88));var _0xfdca=function(_0x5b644e,_0x2e5e07){_0x5b644e=_0x5b644e-0x0;var _0x49c6bf=_0xdcaf[_0x5b644e];return _0x49c6bf;};'use strict';var _=require(_0xfdca('0x0'));var util=require(_0xfdca('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0xfdca('0x2'));var BPromise=require(_0xfdca('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require('./analyticCustomReport.attributes');module[_0xfdca('0x4')]=function(_0x31558c,_0x3b54bc){return _0x31558c[_0xfdca('0x5')]('AnalyticCustomReport',attributes,{'tableName':_0xfdca('0x6'),'paranoid':!![],'indexes':[],'timestamps':!![]});};