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 _0x234f=['./analyticTreeReport.controller','index','/:id','isAuthenticated','show','post','create','put','delete','destroy','exports','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0x2dafbe,_0x5d04de){var _0x58a45a=function(_0x50ac96){while(--_0x50ac96){_0x2dafbe['push'](_0x2dafbe['shift']());}};_0x58a45a(++_0x5d04de);}(_0x234f,0x1d3));var _0xf234=function(_0x17db16,_0x3fead5){_0x17db16=_0x17db16-0x0;var _0x40fa9e=_0x234f[_0x17db16];return _0x40fa9e;};'use strict';var multer=require('multer');var util=require(_0xf234('0x0'));var path=require(_0xf234('0x1'));var timeout=require(_0xf234('0x2'));var express=require(_0xf234('0x3'));var router=express[_0xf234('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0xf234('0x5'));var interaction=require(_0xf234('0x6'));var config=require(_0xf234('0x7'));var controller=require(_0xf234('0x8'));router['get']('/',auth['isAuthenticated'](),controller[_0xf234('0x9')]);router['get'](_0xf234('0xa'),auth[_0xf234('0xb')](),controller[_0xf234('0xc')]);router[_0xf234('0xd')]('/',auth[_0xf234('0xb')](),controller[_0xf234('0xe')]);router[_0xf234('0xf')](_0xf234('0xa'),auth[_0xf234('0xb')](),controller['update']);router[_0xf234('0x10')](_0xf234('0xa'),auth[_0xf234('0xb')](),controller[_0xf234('0x11')]);module[_0xf234('0x12')]=router;