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 _0x0213=['request-promise','path','rimraf','./analyticTreeReport.attributes','exports','define','analytics_report_trees','lodash','util','api','moment','bluebird'];(function(_0x413feb,_0x10477f){var _0x40ee88=function(_0x32a3f6){while(--_0x32a3f6){_0x413feb['push'](_0x413feb['shift']());}};_0x40ee88(++_0x10477f);}(_0x0213,0x17b));var _0x3021=function(_0xfd9b19,_0x21d75f){_0xfd9b19=_0xfd9b19-0x0;var _0x514918=_0x0213[_0xfd9b19];return _0x514918;};'use strict';var _=require(_0x3021('0x0'));var util=require(_0x3021('0x1'));var logger=require('../../config/logger')(_0x3021('0x2'));var moment=require(_0x3021('0x3'));var BPromise=require(_0x3021('0x4'));var rp=require(_0x3021('0x5'));var fs=require('fs');var path=require(_0x3021('0x6'));var rimraf=require(_0x3021('0x7'));var config=require('../../config/environment');var attributes=require(_0x3021('0x8'));module[_0x3021('0x9')]=function(_0x1693b9,_0x59ef4c){return _0x1693b9[_0x3021('0xa')]('AnalyticTreeReport',attributes,{'tableName':_0x3021('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};