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