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 _0xa734=['AnalyticCustomReport','analytics_custom_reports','lodash','util','api','moment','bluebird','request-promise','rimraf','../../config/environment','exports','define'];(function(_0x1128bf,_0x44f52d){var _0xfe27c6=function(_0x3fe164){while(--_0x3fe164){_0x1128bf['push'](_0x1128bf['shift']());}};_0xfe27c6(++_0x44f52d);}(_0xa734,0xaa));var _0x4a73=function(_0x16186b,_0x5044cf){_0x16186b=_0x16186b-0x0;var _0x3f5855=_0xa734[_0x16186b];return _0x3f5855;};'use strict';var _=require(_0x4a73('0x0'));var util=require(_0x4a73('0x1'));var logger=require('../../config/logger')(_0x4a73('0x2'));var moment=require(_0x4a73('0x3'));var BPromise=require(_0x4a73('0x4'));var rp=require(_0x4a73('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x4a73('0x6'));var config=require(_0x4a73('0x7'));var attributes=require('./analyticCustomReport.attributes');module[_0x4a73('0x8')]=function(_0x1af3c0,_0x3b8b90){return _0x1af3c0[_0x4a73('0x9')](_0x4a73('0xa'),attributes,{'tableName':_0x4a73('0xb'),'paranoid':!![],'indexes':[],'timestamps':!![]});};