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 _0xe5c6=['fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./analyticTreeReport.controller','get','isAuthenticated','index','/:id','show','put','update','delete','destroy','exports','util','path','connect-timeout','express','Router'];(function(_0x435e0b,_0x4b794d){var _0xfb1f0b=function(_0x19db41){while(--_0x19db41){_0x435e0b['push'](_0x435e0b['shift']());}};_0xfb1f0b(++_0x4b794d);}(_0xe5c6,0x1ef));var _0x6e5c=function(_0x10f4a6,_0x2310eb){_0x10f4a6=_0x10f4a6-0x0;var _0x515c52=_0xe5c6[_0x10f4a6];return _0x515c52;};'use strict';var multer=require('multer');var util=require(_0x6e5c('0x0'));var path=require(_0x6e5c('0x1'));var timeout=require(_0x6e5c('0x2'));var express=require(_0x6e5c('0x3'));var router=express[_0x6e5c('0x4')]();var fs_extra=require(_0x6e5c('0x5'));var auth=require(_0x6e5c('0x6'));var interaction=require(_0x6e5c('0x7'));var config=require(_0x6e5c('0x8'));var controller=require(_0x6e5c('0x9'));router[_0x6e5c('0xa')]('/',auth[_0x6e5c('0xb')](),controller[_0x6e5c('0xc')]);router[_0x6e5c('0xa')](_0x6e5c('0xd'),auth[_0x6e5c('0xb')](),controller[_0x6e5c('0xe')]);router['post']('/',auth[_0x6e5c('0xb')](),controller['create']);router[_0x6e5c('0xf')](_0x6e5c('0xd'),auth['isAuthenticated'](),controller[_0x6e5c('0x10')]);router[_0x6e5c('0x11')](_0x6e5c('0xd'),auth['isAuthenticated'](),controller[_0x6e5c('0x12')]);module[_0x6e5c('0x13')]=router;