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 _0x11af=['exports','multer','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','/:id','isAuthenticated','show','post','create','put','delete','destroy'];(function(_0x569d0f,_0x224a07){var _0x26d516=function(_0x231619){while(--_0x231619){_0x569d0f['push'](_0x569d0f['shift']());}};_0x26d516(++_0x224a07);}(_0x11af,0x1ee));var _0xf11a=function(_0x444068,_0x10376d){_0x444068=_0x444068-0x0;var _0x5d6cd7=_0x11af[_0x444068];return _0x5d6cd7;};'use strict';var multer=require(_0xf11a('0x0'));var util=require('util');var path=require(_0xf11a('0x1'));var timeout=require(_0xf11a('0x2'));var express=require(_0xf11a('0x3'));var router=express[_0xf11a('0x4')]();var auth=require(_0xf11a('0x5'));var interaction=require(_0xf11a('0x6'));var config=require(_0xf11a('0x7'));var controller=require('./analyticTreeReport.controller');router['get']('/',auth['isAuthenticated'](),controller['index']);router['get'](_0xf11a('0x8'),auth[_0xf11a('0x9')](),controller[_0xf11a('0xa')]);router[_0xf11a('0xb')]('/',auth[_0xf11a('0x9')](),controller[_0xf11a('0xc')]);router[_0xf11a('0xd')](_0xf11a('0x8'),auth[_0xf11a('0x9')](),controller['update']);router[_0xf11a('0xe')]('/:id',auth[_0xf11a('0x9')](),controller[_0xf11a('0xf')]);module[_0xf11a('0x10')]=router;