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