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 _0xa5cf=['bluebird','request-promise','path','rimraf','../../config/environment','exports','define','AnalyticTreeReport','lodash','../../config/logger','api'];(function(_0x4d672c,_0x15a6e0){var _0x22dc61=function(_0x1cc2f8){while(--_0x1cc2f8){_0x4d672c['push'](_0x4d672c['shift']());}};_0x22dc61(++_0x15a6e0);}(_0xa5cf,0x147));var _0xfa5c=function(_0x18f303,_0x11193d){_0x18f303=_0x18f303-0x0;var _0x140e66=_0xa5cf[_0x18f303];return _0x140e66;};'use strict';var _=require(_0xfa5c('0x0'));var util=require('util');var logger=require(_0xfa5c('0x1'))(_0xfa5c('0x2'));var moment=require('moment');var BPromise=require(_0xfa5c('0x3'));var rp=require(_0xfa5c('0x4'));var fs=require('fs');var path=require(_0xfa5c('0x5'));var rimraf=require(_0xfa5c('0x6'));var config=require(_0xfa5c('0x7'));var attributes=require('./analyticTreeReport.attributes');module[_0xfa5c('0x8')]=function(_0x208e2f,_0x4a074e){return _0x208e2f[_0xfa5c('0x9')](_0xfa5c('0xa'),attributes,{'tableName':'analytics_report_trees','paranoid':![],'indexes':[],'timestamps':!![]});};