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 _0x406a=['bluebird','request-promise','path','rimraf','../../config/environment','./analyticTreeReport.attributes','define','AnalyticTreeReport','analytics_report_trees','util','api','moment'];(function(_0x4cf98e,_0xba4b79){var _0x1623ac=function(_0x459bc0){while(--_0x459bc0){_0x4cf98e['push'](_0x4cf98e['shift']());}};_0x1623ac(++_0xba4b79);}(_0x406a,0x1c5));var _0xa406=function(_0x36884e,_0x48008f){_0x36884e=_0x36884e-0x0;var _0x1cc367=_0x406a[_0x36884e];return _0x1cc367;};'use strict';var _=require('lodash');var util=require(_0xa406('0x0'));var logger=require('../../config/logger')(_0xa406('0x1'));var moment=require(_0xa406('0x2'));var BPromise=require(_0xa406('0x3'));var rp=require(_0xa406('0x4'));var fs=require('fs');var path=require(_0xa406('0x5'));var rimraf=require(_0xa406('0x6'));var config=require(_0xa406('0x7'));var attributes=require(_0xa406('0x8'));module['exports']=function(_0x402f0e,_0x5428e3){return _0x402f0e[_0xa406('0x9')](_0xa406('0xa'),attributes,{'tableName':_0xa406('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};