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 _0xac6e=['path','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','./analyticExtractedReport.controller','get','isAuthenticated','/:id','/:id/download','post','put','update','delete','destroy','exports','util'];(function(_0x49a8c0,_0x508cf2){var _0x13148c=function(_0x1446ac){while(--_0x1446ac){_0x49a8c0['push'](_0x49a8c0['shift']());}};_0x13148c(++_0x508cf2);}(_0xac6e,0x18b));var _0xeac6=function(_0x4dc4bd,_0x490bf0){_0x4dc4bd=_0x4dc4bd-0x0;var _0x22a362=_0xac6e[_0x4dc4bd];return _0x22a362;};'use strict';var multer=require('multer');var util=require(_0xeac6('0x0'));var path=require(_0xeac6('0x1'));var timeout=require(_0xeac6('0x2'));var express=require(_0xeac6('0x3'));var router=express['Router']();var fs_extra=require(_0xeac6('0x4'));var auth=require(_0xeac6('0x5'));var interaction=require(_0xeac6('0x6'));var config=require('../../config/environment');var controller=require(_0xeac6('0x7'));router[_0xeac6('0x8')]('/',auth[_0xeac6('0x9')](),controller['index']);router[_0xeac6('0x8')](_0xeac6('0xa'),auth[_0xeac6('0x9')](),controller['show']);router[_0xeac6('0x8')](_0xeac6('0xb'),auth[_0xeac6('0x9')](),controller['download']);router[_0xeac6('0xc')]('/',auth[_0xeac6('0x9')](),controller['create']);router[_0xeac6('0xd')](_0xeac6('0xa'),auth['isAuthenticated'](),controller[_0xeac6('0xe')]);router[_0xeac6('0xf')](_0xeac6('0xa'),auth['isAuthenticated'](),controller[_0xeac6('0x10')]);module[_0xeac6('0x11')]=router;