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 _0xe705=['./analyticTreeReport.attributes','exports','define','AnalyticTreeReport','analytics_report_trees','lodash','../../config/logger','api','moment','bluebird','request-promise'];(function(_0x1facfa,_0x1acf7d){var _0x9ec701=function(_0x115e37){while(--_0x115e37){_0x1facfa['push'](_0x1facfa['shift']());}};_0x9ec701(++_0x1acf7d);}(_0xe705,0x89));var _0x5e70=function(_0x295fe9,_0x345828){_0x295fe9=_0x295fe9-0x0;var _0x3b80df=_0xe705[_0x295fe9];return _0x3b80df;};'use strict';var _=require(_0x5e70('0x0'));var util=require('util');var logger=require(_0x5e70('0x1'))(_0x5e70('0x2'));var moment=require(_0x5e70('0x3'));var BPromise=require(_0x5e70('0x4'));var rp=require(_0x5e70('0x5'));var attributes=require(_0x5e70('0x6'));module[_0x5e70('0x7')]=function(_0x24f79b,_0x124e37){return _0x24f79b[_0x5e70('0x8')](_0x5e70('0x9'),attributes,{'tableName':_0x5e70('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};