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 _0xddfa=['define','AnalyticCustomReport','analytics_custom_reports','api','bluebird','request-promise','path','rimraf'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0xddfa,0x103));var _0xaddf=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xddfa[_0x3dd15e];return _0x231fd0;};'use strict';var _=require('lodash');var util=require('util');var logger=require('../../config/logger')(_0xaddf('0x0'));var moment=require('moment');var BPromise=require(_0xaddf('0x1'));var rp=require(_0xaddf('0x2'));var fs=require('fs');var path=require(_0xaddf('0x3'));var rimraf=require(_0xaddf('0x4'));var config=require('../../config/environment');var attributes=require('./analyticCustomReport.attributes');module['exports']=function(_0x2c45a4,_0x87a150){return _0x2c45a4[_0xaddf('0x5')](_0xaddf('0x6'),attributes,{'tableName':_0xaddf('0x7'),'paranoid':!![],'indexes':[],'timestamps':!![]});};