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 _0xc74c=['exports','AnalyticTreeReport','analytics_report_trees','lodash','util','moment','bluebird','path','rimraf','../../config/environment','./analyticTreeReport.attributes'];(function(_0x13cdcb,_0x5cf059){var _0x28fff4=function(_0x5b11d3){while(--_0x5b11d3){_0x13cdcb['push'](_0x13cdcb['shift']());}};_0x28fff4(++_0x5cf059);}(_0xc74c,0x163));var _0xcc74=function(_0x59f728,_0x44fc54){_0x59f728=_0x59f728-0x0;var _0x152a74=_0xc74c[_0x59f728];return _0x152a74;};'use strict';var _=require(_0xcc74('0x0'));var util=require(_0xcc74('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0xcc74('0x2'));var BPromise=require(_0xcc74('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xcc74('0x4'));var rimraf=require(_0xcc74('0x5'));var config=require(_0xcc74('0x6'));var attributes=require(_0xcc74('0x7'));module[_0xcc74('0x8')]=function(_0x23c249,_0x425b73){return _0x23c249['define'](_0xcc74('0x9'),attributes,{'tableName':_0xcc74('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};