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