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 _0xc976=['delete','/:id','destroy','exports','multer','util','path','connect-timeout','express','Router','../../config/environment','isAuthenticated','index','get','/describe','show','post','create','update'];(function(_0x57396e,_0x46d2fb){var _0x23b309=function(_0x548ea4){while(--_0x548ea4){_0x57396e['push'](_0x57396e['shift']());}};_0x23b309(++_0x46d2fb);}(_0xc976,0x147));var _0x6c97=function(_0x139b98,_0x373e13){_0x139b98=_0x139b98-0x0;var _0x53aadc=_0xc976[_0x139b98];return _0x53aadc;};'use strict';var multer=require(_0x6c97('0x0'));var util=require(_0x6c97('0x1'));var path=require(_0x6c97('0x2'));var timeout=require(_0x6c97('0x3'));var express=require(_0x6c97('0x4'));var router=express[_0x6c97('0x5')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x6c97('0x6'));var controller=require('./voiceAgentReport.controller');router['get']('/',auth[_0x6c97('0x7')](),controller[_0x6c97('0x8')]);router[_0x6c97('0x9')](_0x6c97('0xa'),auth[_0x6c97('0x7')](),controller['describe']);router[_0x6c97('0x9')]('/:id',auth[_0x6c97('0x7')](),controller[_0x6c97('0xb')]);router[_0x6c97('0xc')]('/',auth['isAuthenticated'](),controller[_0x6c97('0xd')]);router['put']('/:id',auth[_0x6c97('0x7')](),controller[_0x6c97('0xe')]);router[_0x6c97('0xf')](_0x6c97('0x10'),auth[_0x6c97('0x7')](),controller[_0x6c97('0x11')]);module[_0x6c97('0x12')]=router;