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 _0x554f=['/describe','describe','/:id','show','post','put','destroy','exports','multer','util','path','connect-timeout','../../components/auth/service','../../components/interaction/service','./voiceAgentReport.controller','get','isAuthenticated','index'];(function(_0x57b54c,_0x54ce0d){var _0x59cc19=function(_0xa33bc6){while(--_0xa33bc6){_0x57b54c['push'](_0x57b54c['shift']());}};_0x59cc19(++_0x54ce0d);}(_0x554f,0x170));var _0xf554=function(_0x1443eb,_0x203408){_0x1443eb=_0x1443eb-0x0;var _0x2b8810=_0x554f[_0x1443eb];return _0x2b8810;};'use strict';var multer=require(_0xf554('0x0'));var util=require(_0xf554('0x1'));var path=require(_0xf554('0x2'));var timeout=require(_0xf554('0x3'));var express=require('express');var router=express['Router']();var auth=require(_0xf554('0x4'));var interaction=require(_0xf554('0x5'));var config=require('../../config/environment');var controller=require(_0xf554('0x6'));router[_0xf554('0x7')]('/',auth[_0xf554('0x8')](),controller[_0xf554('0x9')]);router[_0xf554('0x7')](_0xf554('0xa'),auth[_0xf554('0x8')](),controller[_0xf554('0xb')]);router['get'](_0xf554('0xc'),auth['isAuthenticated'](),controller[_0xf554('0xd')]);router[_0xf554('0xe')]('/',auth['isAuthenticated'](),controller['create']);router[_0xf554('0xf')](_0xf554('0xc'),auth[_0xf554('0x8')](),controller['update']);router['delete']('/:id',auth[_0xf554('0x8')](),controller[_0xf554('0x10')]);module[_0xf554('0x11')]=router;