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