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 _0x1f69=['delete','exports','multer','util','path','express','../../components/auth/service','../../config/environment','isAuthenticated','/:id','/:id/download','download','create','update'];(function(_0x44b6c6,_0x193b5e){var _0x404c6d=function(_0x3660c4){while(--_0x3660c4){_0x44b6c6['push'](_0x44b6c6['shift']());}};_0x404c6d(++_0x193b5e);}(_0x1f69,0xd4));var _0x91f6=function(_0x2a3a73,_0x964fbe){_0x2a3a73=_0x2a3a73-0x0;var _0x2cdc58=_0x1f69[_0x2a3a73];return _0x2cdc58;};'use strict';var multer=require(_0x91f6('0x0'));var util=require(_0x91f6('0x1'));var path=require(_0x91f6('0x2'));var express=require(_0x91f6('0x3'));var router=express['Router']();var auth=require(_0x91f6('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x91f6('0x5'));var controller=require('./analyticExtractedReport.controller');router['get']('/',auth[_0x91f6('0x6')](),controller['index']);router['get'](_0x91f6('0x7'),auth[_0x91f6('0x6')](),controller['show']);router['get'](_0x91f6('0x8'),auth[_0x91f6('0x6')](),controller[_0x91f6('0x9')]);router['post']('/',auth[_0x91f6('0x6')](),controller[_0x91f6('0xa')]);router['put'](_0x91f6('0x7'),auth[_0x91f6('0x6')](),controller[_0x91f6('0xb')]);router[_0x91f6('0xc')](_0x91f6('0x7'),auth[_0x91f6('0x6')](),controller['destroy']);module[_0x91f6('0xd')]=router;