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 _0x33fb=['../../components/auth/service','../../components/interaction/service','../../config/environment','./analyticTreeReport.controller','isAuthenticated','index','/:id','post','create','put','delete','destroy','exports','util','Router'];(function(_0x3ab9cc,_0x356ddc){var _0x5dd760=function(_0xac4a23){while(--_0xac4a23){_0x3ab9cc['push'](_0x3ab9cc['shift']());}};_0x5dd760(++_0x356ddc);}(_0x33fb,0xa3));var _0xb33f=function(_0x46ecfe,_0x50722d){_0x46ecfe=_0x46ecfe-0x0;var _0x17c820=_0x33fb[_0x46ecfe];return _0x17c820;};'use strict';var multer=require('multer');var util=require(_0xb33f('0x0'));var path=require('path');var timeout=require('connect-timeout');var express=require('express');var router=express[_0xb33f('0x1')]();var auth=require(_0xb33f('0x2'));var interaction=require(_0xb33f('0x3'));var config=require(_0xb33f('0x4'));var controller=require(_0xb33f('0x5'));router['get']('/',auth[_0xb33f('0x6')](),controller[_0xb33f('0x7')]);router['get'](_0xb33f('0x8'),auth[_0xb33f('0x6')](),controller['show']);router[_0xb33f('0x9')]('/',auth[_0xb33f('0x6')](),controller[_0xb33f('0xa')]);router[_0xb33f('0xb')](_0xb33f('0x8'),auth[_0xb33f('0x6')](),controller['update']);router[_0xb33f('0xc')](_0xb33f('0x8'),auth['isAuthenticated'](),controller[_0xb33f('0xd')]);module[_0xb33f('0xe')]=router;