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 _0x9545=['api','bluebird','path','rimraf','./analyticTreeReport.attributes','define','AnalyticTreeReport','analytics_report_trees','lodash','util','../../config/logger'];(function(_0x3ea3ba,_0x2b576a){var _0x427078=function(_0x490797){while(--_0x490797){_0x3ea3ba['push'](_0x3ea3ba['shift']());}};_0x427078(++_0x2b576a);}(_0x9545,0x147));var _0x5954=function(_0x5aaba8,_0x248b94){_0x5aaba8=_0x5aaba8-0x0;var _0x13f7e3=_0x9545[_0x5aaba8];return _0x13f7e3;};'use strict';var _=require(_0x5954('0x0'));var util=require(_0x5954('0x1'));var logger=require(_0x5954('0x2'))(_0x5954('0x3'));var moment=require('moment');var BPromise=require(_0x5954('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x5954('0x5'));var rimraf=require(_0x5954('0x6'));var config=require('../../config/environment');var attributes=require(_0x5954('0x7'));module['exports']=function(_0x4375ba,_0x18cbe4){return _0x4375ba[_0x5954('0x8')](_0x5954('0x9'),attributes,{'tableName':_0x5954('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};