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 _0xa6be=['AnalyticTreeReport','analytics_report_trees','util','../../config/logger','moment','bluebird','request-promise','path','exports','define'];(function(_0x39f794,_0x212dc5){var _0x180134=function(_0x1b6401){while(--_0x1b6401){_0x39f794['push'](_0x39f794['shift']());}};_0x180134(++_0x212dc5);}(_0xa6be,0x7a));var _0xea6b=function(_0x1cccd9,_0xeabc88){_0x1cccd9=_0x1cccd9-0x0;var _0x1ae588=_0xa6be[_0x1cccd9];return _0x1ae588;};'use strict';var _=require('lodash');var util=require(_0xea6b('0x0'));var logger=require(_0xea6b('0x1'))('api');var moment=require(_0xea6b('0x2'));var BPromise=require(_0xea6b('0x3'));var rp=require(_0xea6b('0x4'));var fs=require('fs');var path=require(_0xea6b('0x5'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require('./analyticTreeReport.attributes');module[_0xea6b('0x6')]=function(_0x3dde2c,_0xf3b6c2){return _0x3dde2c[_0xea6b('0x7')](_0xea6b('0x8'),attributes,{'tableName':_0xea6b('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};