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 _0x6712=['define','AnalyticTreeReport','util','api','bluebird','request-promise','path','../../config/environment','exports'];(function(_0x476bf4,_0x2a3755){var _0x788ffe=function(_0x13fa11){while(--_0x13fa11){_0x476bf4['push'](_0x476bf4['shift']());}};_0x788ffe(++_0x2a3755);}(_0x6712,0x1cd));var _0x2671=function(_0x53ccf2,_0x13cb67){_0x53ccf2=_0x53ccf2-0x0;var _0x5a2964=_0x6712[_0x53ccf2];return _0x5a2964;};'use strict';var _=require('lodash');var util=require(_0x2671('0x0'));var logger=require('../../config/logger')(_0x2671('0x1'));var moment=require('moment');var BPromise=require(_0x2671('0x2'));var rp=require(_0x2671('0x3'));var fs=require('fs');var path=require(_0x2671('0x4'));var rimraf=require('rimraf');var config=require(_0x2671('0x5'));var attributes=require('./analyticTreeReport.attributes');module[_0x2671('0x6')]=function(_0x5ac6f0,_0xa7744){return _0x5ac6f0[_0x2671('0x7')](_0x2671('0x8'),attributes,{'tableName':'analytics_report_trees','paranoid':![],'indexes':[],'timestamps':!![]});};