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 _0xc153=['./analyticTreeReport.attributes','exports','define','analytics_report_trees','lodash','util','api','bluebird','request-promise','path','rimraf'];(function(_0x23311e,_0x345bf6){var _0x51330c=function(_0xb13dd8){while(--_0xb13dd8){_0x23311e['push'](_0x23311e['shift']());}};_0x51330c(++_0x345bf6);}(_0xc153,0xa9));var _0x3c15=function(_0x14ac82,_0x1f2e00){_0x14ac82=_0x14ac82-0x0;var _0x36f60a=_0xc153[_0x14ac82];return _0x36f60a;};'use strict';var _=require(_0x3c15('0x0'));var util=require(_0x3c15('0x1'));var logger=require('../../config/logger')(_0x3c15('0x2'));var moment=require('moment');var BPromise=require(_0x3c15('0x3'));var rp=require(_0x3c15('0x4'));var fs=require('fs');var path=require(_0x3c15('0x5'));var rimraf=require(_0x3c15('0x6'));var config=require('../../config/environment');var attributes=require(_0x3c15('0x7'));module[_0x3c15('0x8')]=function(_0x1311c1,_0x5704d4){return _0x1311c1[_0x3c15('0x9')]('AnalyticTreeReport',attributes,{'tableName':_0x3c15('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};