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 _0x0487=['analytics_report_trees','lodash','util','../../config/logger','bluebird','request-promise','path','./analyticTreeReport.attributes','exports','define','AnalyticTreeReport'];(function(_0x4808d3,_0x3353c6){var _0x3057fa=function(_0x535a58){while(--_0x535a58){_0x4808d3['push'](_0x4808d3['shift']());}};_0x3057fa(++_0x3353c6);}(_0x0487,0x161));var _0x7048=function(_0x23c6f2,_0x4e033c){_0x23c6f2=_0x23c6f2-0x0;var _0x4c270b=_0x0487[_0x23c6f2];return _0x4c270b;};'use strict';var _=require(_0x7048('0x0'));var util=require(_0x7048('0x1'));var logger=require(_0x7048('0x2'))('api');var moment=require('moment');var BPromise=require(_0x7048('0x3'));var rp=require(_0x7048('0x4'));var fs=require('fs');var path=require(_0x7048('0x5'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x7048('0x6'));module[_0x7048('0x7')]=function(_0x17220c,_0x2adb3c){return _0x17220c[_0x7048('0x8')](_0x7048('0x9'),attributes,{'tableName':_0x7048('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};