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 _0x8fc9=['put','update','delete','destroy','exports','multer','util','path','Router','../../components/interaction/service','./analyticExtractedReport.controller','get','isAuthenticated','index','/:id','show','/:id/download','create'];(function(_0x2f4d2c,_0x52dffe){var _0x1c8a66=function(_0x20208e){while(--_0x20208e){_0x2f4d2c['push'](_0x2f4d2c['shift']());}};_0x1c8a66(++_0x52dffe);}(_0x8fc9,0x125));var _0x98fc=function(_0xb0f7c3,_0x4eae95){_0xb0f7c3=_0xb0f7c3-0x0;var _0x28ea68=_0x8fc9[_0xb0f7c3];return _0x28ea68;};'use strict';var multer=require(_0x98fc('0x0'));var util=require(_0x98fc('0x1'));var path=require(_0x98fc('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x98fc('0x3')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0x98fc('0x4'));var config=require('../../config/environment');var controller=require(_0x98fc('0x5'));router[_0x98fc('0x6')]('/',auth[_0x98fc('0x7')](),controller[_0x98fc('0x8')]);router['get'](_0x98fc('0x9'),auth['isAuthenticated'](),controller[_0x98fc('0xa')]);router[_0x98fc('0x6')](_0x98fc('0xb'),auth[_0x98fc('0x7')](),controller['download']);router['post']('/',auth[_0x98fc('0x7')](),controller[_0x98fc('0xc')]);router[_0x98fc('0xd')]('/:id',auth[_0x98fc('0x7')](),controller[_0x98fc('0xe')]);router[_0x98fc('0xf')](_0x98fc('0x9'),auth[_0x98fc('0x7')](),controller[_0x98fc('0x10')]);module[_0x98fc('0x11')]=router;