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 _0xf81b=['isAuthenticated','show','/:id/download','download','post','create','/:id','update','delete','destroy','exports','multer','path','connect-timeout','../../components/interaction/service','../../config/environment','./analyticExtractedReport.controller','get','index'];(function(_0x574ff9,_0x4710e2){var _0x4e8d02=function(_0x183b82){while(--_0x183b82){_0x574ff9['push'](_0x574ff9['shift']());}};_0x4e8d02(++_0x4710e2);}(_0xf81b,0xdc));var _0xbf81=function(_0x3c24c0,_0x2d1815){_0x3c24c0=_0x3c24c0-0x0;var _0x45efa3=_0xf81b[_0x3c24c0];return _0x45efa3;};'use strict';var multer=require(_0xbf81('0x0'));var util=require('util');var path=require(_0xbf81('0x1'));var timeout=require(_0xbf81('0x2'));var express=require('express');var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require(_0xbf81('0x3'));var config=require(_0xbf81('0x4'));var controller=require(_0xbf81('0x5'));router[_0xbf81('0x6')]('/',auth['isAuthenticated'](),controller[_0xbf81('0x7')]);router[_0xbf81('0x6')]('/:id',auth[_0xbf81('0x8')](),controller[_0xbf81('0x9')]);router['get'](_0xbf81('0xa'),auth['isAuthenticated'](),controller[_0xbf81('0xb')]);router[_0xbf81('0xc')]('/',auth['isAuthenticated'](),controller[_0xbf81('0xd')]);router['put'](_0xbf81('0xe'),auth[_0xbf81('0x8')](),controller[_0xbf81('0xf')]);router[_0xbf81('0x10')](_0xbf81('0xe'),auth['isAuthenticated'](),controller[_0xbf81('0x11')]);module[_0xbf81('0x12')]=router;