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 _0x17cb=['create','put','destroy','exports','util','connect-timeout','express','../../components/interaction/service','./analyticTreeReport.controller','get','index','/:id','isAuthenticated','show','post'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x17cb,0x1b7));var _0xb17c=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x17cb[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require('multer');var util=require(_0xb17c('0x0'));var path=require('path');var timeout=require(_0xb17c('0x1'));var express=require(_0xb17c('0x2'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require(_0xb17c('0x3'));var config=require('../../config/environment');var controller=require(_0xb17c('0x4'));router[_0xb17c('0x5')]('/',auth['isAuthenticated'](),controller[_0xb17c('0x6')]);router[_0xb17c('0x5')](_0xb17c('0x7'),auth[_0xb17c('0x8')](),controller[_0xb17c('0x9')]);router[_0xb17c('0xa')]('/',auth[_0xb17c('0x8')](),controller[_0xb17c('0xb')]);router[_0xb17c('0xc')](_0xb17c('0x7'),auth[_0xb17c('0x8')](),controller['update']);router['delete'](_0xb17c('0x7'),auth[_0xb17c('0x8')](),controller[_0xb17c('0xd')]);module[_0xb17c('0xe')]=router;