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