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 _0xc577=['isAuthenticated','index','get','/:id','post','create','put','update','destroy','exports','multer','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./analyticExtractedReport.controller'];(function(_0x11549d,_0x2198f3){var _0x321cad=function(_0x45e6a3){while(--_0x45e6a3){_0x11549d['push'](_0x11549d['shift']());}};_0x321cad(++_0x2198f3);}(_0xc577,0x172));var _0x7c57=function(_0x47856a,_0x1ad7a0){_0x47856a=_0x47856a-0x0;var _0x1edd96=_0xc577[_0x47856a];return _0x1edd96;};'use strict';var multer=require(_0x7c57('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x7c57('0x1'));var express=require(_0x7c57('0x2'));var router=express[_0x7c57('0x3')]();var auth=require(_0x7c57('0x4'));var interaction=require(_0x7c57('0x5'));var config=require(_0x7c57('0x6'));var controller=require(_0x7c57('0x7'));router['get']('/',auth[_0x7c57('0x8')](),controller[_0x7c57('0x9')]);router[_0x7c57('0xa')](_0x7c57('0xb'),auth[_0x7c57('0x8')](),controller['show']);router['get']('/:id/download',auth[_0x7c57('0x8')](),controller['download']);router[_0x7c57('0xc')]('/',auth[_0x7c57('0x8')](),controller[_0x7c57('0xd')]);router[_0x7c57('0xe')]('/:id',auth[_0x7c57('0x8')](),controller[_0x7c57('0xf')]);router['delete'](_0x7c57('0xb'),auth[_0x7c57('0x8')](),controller[_0x7c57('0x10')]);module[_0x7c57('0x11')]=router;