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