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 _0xd339=['/:id','/:id/download','download','create','update','delete','destroy','exports','path','express','Router','../../components/auth/service','../../config/environment','get','isAuthenticated'];(function(_0x209302,_0x5826ac){var _0x1df8e9=function(_0x16ae49){while(--_0x16ae49){_0x209302['push'](_0x209302['shift']());}};_0x1df8e9(++_0x5826ac);}(_0xd339,0xad));var _0x9d33=function(_0x2641f9,_0x26715f){_0x2641f9=_0x2641f9-0x0;var _0x585741=_0xd339[_0x2641f9];return _0x585741;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x9d33('0x0'));var timeout=require('connect-timeout');var express=require(_0x9d33('0x1'));var router=express[_0x9d33('0x2')]();var auth=require(_0x9d33('0x3'));var interaction=require('../../components/interaction/service');var config=require(_0x9d33('0x4'));var controller=require('./analyticExtractedReport.controller');router[_0x9d33('0x5')]('/',auth[_0x9d33('0x6')](),controller['index']);router['get'](_0x9d33('0x7'),auth[_0x9d33('0x6')](),controller['show']);router[_0x9d33('0x5')](_0x9d33('0x8'),auth[_0x9d33('0x6')](),controller[_0x9d33('0x9')]);router['post']('/',auth[_0x9d33('0x6')](),controller[_0x9d33('0xa')]);router['put']('/:id',auth[_0x9d33('0x6')](),controller[_0x9d33('0xb')]);router[_0x9d33('0xc')](_0x9d33('0x7'),auth['isAuthenticated'](),controller[_0x9d33('0xd')]);module[_0x9d33('0xe')]=router;