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 _0xc947=['multer','util','path','express','Router','fs-extra','../../components/interaction/service','../../config/environment','./analyticExtractedReport.controller','isAuthenticated','show','get','download','post','create','put','/:id'];(function(_0x53e519,_0x36a0be){var _0x27ed5c=function(_0x5de347){while(--_0x5de347){_0x53e519['push'](_0x53e519['shift']());}};_0x27ed5c(++_0x36a0be);}(_0xc947,0x88));var _0x7c94=function(_0x4a6e01,_0x512aa9){_0x4a6e01=_0x4a6e01-0x0;var _0x26d16a=_0xc947[_0x4a6e01];return _0x26d16a;};'use strict';var multer=require(_0x7c94('0x0'));var util=require(_0x7c94('0x1'));var path=require(_0x7c94('0x2'));var timeout=require('connect-timeout');var express=require(_0x7c94('0x3'));var router=express[_0x7c94('0x4')]();var fs_extra=require(_0x7c94('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0x7c94('0x6'));var config=require(_0x7c94('0x7'));var controller=require(_0x7c94('0x8'));router['get']('/',auth['isAuthenticated'](),controller['index']);router['get']('/:id',auth[_0x7c94('0x9')](),controller[_0x7c94('0xa')]);router[_0x7c94('0xb')]('/:id/download',auth[_0x7c94('0x9')](),controller[_0x7c94('0xc')]);router[_0x7c94('0xd')]('/',auth[_0x7c94('0x9')](),controller[_0x7c94('0xe')]);router[_0x7c94('0xf')](_0x7c94('0x10'),auth[_0x7c94('0x9')](),controller['update']);router['delete'](_0x7c94('0x10'),auth[_0x7c94('0x9')](),controller['destroy']);module['exports']=router;