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