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 _0xfa69=['util','path','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/:id','show','/:id/download','post','create','put','update','destroy','multer'];(function(_0x463dfc,_0x1b72bc){var _0x145d20=function(_0x4bb822){while(--_0x4bb822){_0x463dfc['push'](_0x463dfc['shift']());}};_0x145d20(++_0x1b72bc);}(_0xfa69,0x1ed));var _0x9fa6=function(_0x122ef9,_0x451d2a){_0x122ef9=_0x122ef9-0x0;var _0x42fba0=_0xfa69[_0x122ef9];return _0x42fba0;};'use strict';var multer=require(_0x9fa6('0x0'));var util=require(_0x9fa6('0x1'));var path=require(_0x9fa6('0x2'));var timeout=require('connect-timeout');var express=require(_0x9fa6('0x3'));var router=express[_0x9fa6('0x4')]();var auth=require(_0x9fa6('0x5'));var interaction=require(_0x9fa6('0x6'));var config=require(_0x9fa6('0x7'));var controller=require('./analyticExtractedReport.controller');router[_0x9fa6('0x8')]('/',auth[_0x9fa6('0x9')](),controller[_0x9fa6('0xa')]);router[_0x9fa6('0x8')](_0x9fa6('0xb'),auth[_0x9fa6('0x9')](),controller[_0x9fa6('0xc')]);router['get'](_0x9fa6('0xd'),auth['isAuthenticated'](),controller['download']);router[_0x9fa6('0xe')]('/',auth[_0x9fa6('0x9')](),controller[_0x9fa6('0xf')]);router[_0x9fa6('0x10')](_0x9fa6('0xb'),auth['isAuthenticated'](),controller[_0x9fa6('0x11')]);router['delete'](_0x9fa6('0xb'),auth[_0x9fa6('0x9')](),controller[_0x9fa6('0x12')]);module['exports']=router;