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 _0xd4a2=['./analyticExtractedReport.controller','isAuthenticated','get','/:id','/:id/download','download','post','create','put','destroy','exports','path','express','Router','../../components/interaction/service','../../config/environment'];(function(_0x4709c0,_0x3396c7){var _0x13348b=function(_0x426235){while(--_0x426235){_0x4709c0['push'](_0x4709c0['shift']());}};_0x13348b(++_0x3396c7);}(_0xd4a2,0xbb));var _0x2d4a=function(_0x19ed81,_0x483983){_0x19ed81=_0x19ed81-0x0;var _0x335549=_0xd4a2[_0x19ed81];return _0x335549;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x2d4a('0x0'));var timeout=require('connect-timeout');var express=require(_0x2d4a('0x1'));var router=express[_0x2d4a('0x2')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0x2d4a('0x3'));var config=require(_0x2d4a('0x4'));var controller=require(_0x2d4a('0x5'));router['get']('/',auth[_0x2d4a('0x6')](),controller['index']);router[_0x2d4a('0x7')](_0x2d4a('0x8'),auth[_0x2d4a('0x6')](),controller['show']);router[_0x2d4a('0x7')](_0x2d4a('0x9'),auth[_0x2d4a('0x6')](),controller[_0x2d4a('0xa')]);router[_0x2d4a('0xb')]('/',auth['isAuthenticated'](),controller[_0x2d4a('0xc')]);router[_0x2d4a('0xd')]('/:id',auth[_0x2d4a('0x6')](),controller['update']);router['delete'](_0x2d4a('0x8'),auth[_0x2d4a('0x6')](),controller[_0x2d4a('0xe')]);module[_0x2d4a('0xf')]=router;