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 _0xa477=['path','Router','fs-extra','../../config/environment','get','isAuthenticated','index','show','post','create','put','/:id','update','delete','destroy','exports','util'];(function(_0x5c9307,_0x5b97e4){var _0x373e29=function(_0xefebbd){while(--_0xefebbd){_0x5c9307['push'](_0x5c9307['shift']());}};_0x373e29(++_0x5b97e4);}(_0xa477,0xdc));var _0x7a47=function(_0x17d9e3,_0x1f969c){_0x17d9e3=_0x17d9e3-0x0;var _0x14192d=_0xa477[_0x17d9e3];return _0x14192d;};'use strict';var multer=require('multer');var util=require(_0x7a47('0x0'));var path=require(_0x7a47('0x1'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x7a47('0x2')]();var fs_extra=require(_0x7a47('0x3'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x7a47('0x4'));var controller=require('./analyticTreeReport.controller');router[_0x7a47('0x5')]('/',auth[_0x7a47('0x6')](),controller[_0x7a47('0x7')]);router[_0x7a47('0x5')]('/:id',auth[_0x7a47('0x6')](),controller[_0x7a47('0x8')]);router[_0x7a47('0x9')]('/',auth[_0x7a47('0x6')](),controller[_0x7a47('0xa')]);router[_0x7a47('0xb')](_0x7a47('0xc'),auth[_0x7a47('0x6')](),controller[_0x7a47('0xd')]);router[_0x7a47('0xe')](_0x7a47('0xc'),auth[_0x7a47('0x6')](),controller[_0x7a47('0xf')]);module[_0x7a47('0x10')]=router;