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