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 _0x84e6=['multer','path','connect-timeout','Router','../../components/interaction/service','../../config/environment','./analyticTreeReport.controller','get','/:id','isAuthenticated','show','post','create','delete','destroy','exports'];(function(_0x511673,_0x1424f1){var _0x4427c7=function(_0x16ff18){while(--_0x16ff18){_0x511673['push'](_0x511673['shift']());}};_0x4427c7(++_0x1424f1);}(_0x84e6,0x120));var _0x684e=function(_0x397dec,_0x5807e8){_0x397dec=_0x397dec-0x0;var _0x345a07=_0x84e6[_0x397dec];return _0x345a07;};'use strict';var multer=require(_0x684e('0x0'));var util=require('util');var path=require(_0x684e('0x1'));var timeout=require(_0x684e('0x2'));var express=require('express');var router=express[_0x684e('0x3')]();var auth=require('../../components/auth/service');var interaction=require(_0x684e('0x4'));var config=require(_0x684e('0x5'));var controller=require(_0x684e('0x6'));router[_0x684e('0x7')]('/',auth['isAuthenticated'](),controller['index']);router[_0x684e('0x7')](_0x684e('0x8'),auth[_0x684e('0x9')](),controller[_0x684e('0xa')]);router[_0x684e('0xb')]('/',auth[_0x684e('0x9')](),controller[_0x684e('0xc')]);router['put'](_0x684e('0x8'),auth[_0x684e('0x9')](),controller['update']);router[_0x684e('0xd')](_0x684e('0x8'),auth[_0x684e('0x9')](),controller[_0x684e('0xe')]);module[_0x684e('0xf')]=router;