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 _0xbf06=['download','post','create','put','update','delete','exports','multer','connect-timeout','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./analyticExtractedReport.controller','get','/:id','show','/:id/download','isAuthenticated'];(function(_0x4e0cc9,_0x1149ef){var _0x1925ee=function(_0x2173cb){while(--_0x2173cb){_0x4e0cc9['push'](_0x4e0cc9['shift']());}};_0x1925ee(++_0x1149ef);}(_0xbf06,0x9f));var _0x6bf0=function(_0x387777,_0x356171){_0x387777=_0x387777-0x0;var _0x3f84c0=_0xbf06[_0x387777];return _0x3f84c0;};'use strict';var multer=require(_0x6bf0('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x6bf0('0x1'));var express=require('express');var router=express['Router']();var fs_extra=require(_0x6bf0('0x2'));var auth=require(_0x6bf0('0x3'));var interaction=require(_0x6bf0('0x4'));var config=require(_0x6bf0('0x5'));var controller=require(_0x6bf0('0x6'));router[_0x6bf0('0x7')]('/',auth['isAuthenticated'](),controller['index']);router['get'](_0x6bf0('0x8'),auth['isAuthenticated'](),controller[_0x6bf0('0x9')]);router[_0x6bf0('0x7')](_0x6bf0('0xa'),auth[_0x6bf0('0xb')](),controller[_0x6bf0('0xc')]);router[_0x6bf0('0xd')]('/',auth[_0x6bf0('0xb')](),controller[_0x6bf0('0xe')]);router[_0x6bf0('0xf')](_0x6bf0('0x8'),auth['isAuthenticated'](),controller[_0x6bf0('0x10')]);router[_0x6bf0('0x11')]('/:id',auth['isAuthenticated'](),controller['destroy']);module[_0x6bf0('0x12')]=router;