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 _0xb64e=['destroy','multer','util','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','get','isAuthenticated','index','/:id','show','post','create','put','update'];(function(_0xfcfe92,_0x14ea66){var _0x166ba1=function(_0x45f01a){while(--_0x45f01a){_0xfcfe92['push'](_0xfcfe92['shift']());}};_0x166ba1(++_0x14ea66);}(_0xb64e,0x89));var _0xeb64=function(_0x46ae5a,_0x2a38d0){_0x46ae5a=_0x46ae5a-0x0;var _0x434986=_0xb64e[_0x46ae5a];return _0x434986;};'use strict';var multer=require(_0xeb64('0x0'));var util=require(_0xeb64('0x1'));var path=require('path');var timeout=require(_0xeb64('0x2'));var express=require(_0xeb64('0x3'));var router=express[_0xeb64('0x4')]();var auth=require(_0xeb64('0x5'));var interaction=require(_0xeb64('0x6'));var config=require('../../config/environment');var controller=require('./analyticExtractedReport.controller');router[_0xeb64('0x7')]('/',auth[_0xeb64('0x8')](),controller[_0xeb64('0x9')]);router[_0xeb64('0x7')](_0xeb64('0xa'),auth[_0xeb64('0x8')](),controller[_0xeb64('0xb')]);router[_0xeb64('0x7')]('/:id/download',auth[_0xeb64('0x8')](),controller['download']);router[_0xeb64('0xc')]('/',auth['isAuthenticated'](),controller[_0xeb64('0xd')]);router[_0xeb64('0xe')](_0xeb64('0xa'),auth[_0xeb64('0x8')](),controller[_0xeb64('0xf')]);router['delete'](_0xeb64('0xa'),auth[_0xeb64('0x8')](),controller[_0xeb64('0x10')]);module['exports']=router;