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 _0x81c8=['get','isAuthenticated','index','/:id','show','post','create','put','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment'];(function(_0x37c22c,_0x28a70d){var _0x119d79=function(_0x243a13){while(--_0x243a13){_0x37c22c['push'](_0x37c22c['shift']());}};_0x119d79(++_0x28a70d);}(_0x81c8,0x97));var _0x881c=function(_0x3c5e6f,_0x5c1615){_0x3c5e6f=_0x3c5e6f-0x0;var _0x34b27c=_0x81c8[_0x3c5e6f];return _0x34b27c;};'use strict';var multer=require(_0x881c('0x0'));var util=require(_0x881c('0x1'));var path=require(_0x881c('0x2'));var timeout=require(_0x881c('0x3'));var express=require(_0x881c('0x4'));var router=express[_0x881c('0x5')]();var fs_extra=require(_0x881c('0x6'));var auth=require(_0x881c('0x7'));var interaction=require('../../components/interaction/service');var config=require(_0x881c('0x8'));var controller=require('./analyticTreeReport.controller');router[_0x881c('0x9')]('/',auth[_0x881c('0xa')](),controller[_0x881c('0xb')]);router['get'](_0x881c('0xc'),auth['isAuthenticated'](),controller[_0x881c('0xd')]);router[_0x881c('0xe')]('/',auth[_0x881c('0xa')](),controller[_0x881c('0xf')]);router[_0x881c('0x10')](_0x881c('0xc'),auth['isAuthenticated'](),controller['update']);router[_0x881c('0x11')]('/:id',auth[_0x881c('0xa')](),controller[_0x881c('0x12')]);module[_0x881c('0x13')]=router;