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 _0xe7bc=['get','/:id','show','post','create','put','update','destroy','exports','multer','util','connect-timeout','express','Router','../../components/interaction/service','../../config/environment','./analyticExtractedReport.controller','isAuthenticated'];(function(_0x21a9d9,_0x4d5ac8){var _0x46adce=function(_0xfdd336){while(--_0xfdd336){_0x21a9d9['push'](_0x21a9d9['shift']());}};_0x46adce(++_0x4d5ac8);}(_0xe7bc,0x1dd));var _0xce7b=function(_0x4b73a2,_0x40b5fe){_0x4b73a2=_0x4b73a2-0x0;var _0x383c66=_0xe7bc[_0x4b73a2];return _0x383c66;};'use strict';var multer=require(_0xce7b('0x0'));var util=require(_0xce7b('0x1'));var path=require('path');var timeout=require(_0xce7b('0x2'));var express=require(_0xce7b('0x3'));var router=express[_0xce7b('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0xce7b('0x5'));var config=require(_0xce7b('0x6'));var controller=require(_0xce7b('0x7'));router['get']('/',auth[_0xce7b('0x8')](),controller['index']);router[_0xce7b('0x9')](_0xce7b('0xa'),auth[_0xce7b('0x8')](),controller[_0xce7b('0xb')]);router[_0xce7b('0x9')]('/:id/download',auth[_0xce7b('0x8')](),controller['download']);router[_0xce7b('0xc')]('/',auth['isAuthenticated'](),controller[_0xce7b('0xd')]);router[_0xce7b('0xe')](_0xce7b('0xa'),auth[_0xce7b('0x8')](),controller[_0xce7b('0xf')]);router['delete']('/:id',auth[_0xce7b('0x8')](),controller[_0xce7b('0x10')]);module[_0xce7b('0x11')]=router;