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 _0x625e=['index','/:id','post','create','update','exports','multer','util','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated'];(function(_0x5a4b42,_0x2b9c18){var _0x5e81d6=function(_0x595077){while(--_0x595077){_0x5a4b42['push'](_0x5a4b42['shift']());}};_0x5e81d6(++_0x2b9c18);}(_0x625e,0xb6));var _0xe625=function(_0x375126,_0x514a8e){_0x375126=_0x375126-0x0;var _0x1f76bb=_0x625e[_0x375126];return _0x1f76bb;};'use strict';var multer=require(_0xe625('0x0'));var util=require(_0xe625('0x1'));var path=require(_0xe625('0x2'));var timeout=require(_0xe625('0x3'));var express=require(_0xe625('0x4'));var router=express['Router']();var auth=require(_0xe625('0x5'));var interaction=require(_0xe625('0x6'));var config=require(_0xe625('0x7'));var controller=require('./analyticTreeReport.controller');router[_0xe625('0x8')]('/',auth[_0xe625('0x9')](),controller[_0xe625('0xa')]);router['get'](_0xe625('0xb'),auth[_0xe625('0x9')](),controller['show']);router[_0xe625('0xc')]('/',auth['isAuthenticated'](),controller[_0xe625('0xd')]);router['put'](_0xe625('0xb'),auth[_0xe625('0x9')](),controller[_0xe625('0xe')]);router['delete'](_0xe625('0xb'),auth[_0xe625('0x9')](),controller['destroy']);module[_0xe625('0xf')]=router;