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 _0x24cf=['put','update','delete','destroy','exports','util','path','express','Router','fs-extra','isAuthenticated','get','/:id','show','post','create'];(function(_0x19112a,_0x3f9d8e){var _0x21b9f0=function(_0x13f1a5){while(--_0x13f1a5){_0x19112a['push'](_0x19112a['shift']());}};_0x21b9f0(++_0x3f9d8e);}(_0x24cf,0xc5));var _0xf24c=function(_0x334df2,_0x3e5500){_0x334df2=_0x334df2-0x0;var _0x23a453=_0x24cf[_0x334df2];return _0x23a453;};'use strict';var multer=require('multer');var util=require(_0xf24c('0x0'));var path=require(_0xf24c('0x1'));var timeout=require('connect-timeout');var express=require(_0xf24c('0x2'));var router=express[_0xf24c('0x3')]();var fs_extra=require(_0xf24c('0x4'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require('./analyticTreeReport.controller');router['get']('/',auth[_0xf24c('0x5')](),controller['index']);router[_0xf24c('0x6')](_0xf24c('0x7'),auth[_0xf24c('0x5')](),controller[_0xf24c('0x8')]);router[_0xf24c('0x9')]('/',auth[_0xf24c('0x5')](),controller[_0xf24c('0xa')]);router[_0xf24c('0xb')](_0xf24c('0x7'),auth[_0xf24c('0x5')](),controller[_0xf24c('0xc')]);router[_0xf24c('0xd')](_0xf24c('0x7'),auth['isAuthenticated'](),controller[_0xf24c('0xe')]);module[_0xf24c('0xf')]=router;