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 _0xd20c=['exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../config/environment','./analyticTreeReport.controller','index','get','/:id','isAuthenticated','show','post','create','delete','destroy'];(function(_0x5acaf8,_0x521144){var _0xa87ff4=function(_0x300a78){while(--_0x300a78){_0x5acaf8['push'](_0x5acaf8['shift']());}};_0xa87ff4(++_0x521144);}(_0xd20c,0x86));var _0xcd20=function(_0xbb53a3,_0x3347cf){_0xbb53a3=_0xbb53a3-0x0;var _0x3c3da1=_0xd20c[_0xbb53a3];return _0x3c3da1;};'use strict';var multer=require(_0xcd20('0x0'));var util=require(_0xcd20('0x1'));var path=require(_0xcd20('0x2'));var timeout=require(_0xcd20('0x3'));var express=require(_0xcd20('0x4'));var router=express[_0xcd20('0x5')]();var auth=require(_0xcd20('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0xcd20('0x7'));var controller=require(_0xcd20('0x8'));router['get']('/',auth['isAuthenticated'](),controller[_0xcd20('0x9')]);router[_0xcd20('0xa')](_0xcd20('0xb'),auth[_0xcd20('0xc')](),controller[_0xcd20('0xd')]);router[_0xcd20('0xe')]('/',auth[_0xcd20('0xc')](),controller[_0xcd20('0xf')]);router['put'](_0xcd20('0xb'),auth[_0xcd20('0xc')](),controller['update']);router[_0xcd20('0x10')]('/:id',auth[_0xcd20('0xc')](),controller[_0xcd20('0x11')]);module[_0xcd20('0x12')]=router;