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 _0x7b16=['define','AnalyticCustomReport','analytics_custom_reports','lodash','util','../../config/logger','moment','bluebird','path','rimraf','../../config/environment','exports'];(function(_0x4682ca,_0xa32523){var _0x6db4c8=function(_0x151804){while(--_0x151804){_0x4682ca['push'](_0x4682ca['shift']());}};_0x6db4c8(++_0xa32523);}(_0x7b16,0x18f));var _0x67b1=function(_0x4cb231,_0x3d3c5b){_0x4cb231=_0x4cb231-0x0;var _0x4d5063=_0x7b16[_0x4cb231];return _0x4d5063;};'use strict';var _=require(_0x67b1('0x0'));var util=require(_0x67b1('0x1'));var logger=require(_0x67b1('0x2'))('api');var moment=require(_0x67b1('0x3'));var BPromise=require(_0x67b1('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x67b1('0x5'));var rimraf=require(_0x67b1('0x6'));var config=require(_0x67b1('0x7'));var attributes=require('./analyticCustomReport.attributes');module[_0x67b1('0x8')]=function(_0x694dfc,_0x28f009){return _0x694dfc[_0x67b1('0x9')](_0x67b1('0xa'),attributes,{'tableName':_0x67b1('0xb'),'paranoid':!![],'indexes':[],'timestamps':!![]});};