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 _0x47ce=['util','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','get','isAuthenticated','index','/describe','/:id','create','put','update','destroy','multer'];(function(_0x28d7b5,_0x1305a4){var _0x1ed035=function(_0x57e1f6){while(--_0x57e1f6){_0x28d7b5['push'](_0x28d7b5['shift']());}};_0x1ed035(++_0x1305a4);}(_0x47ce,0x13f));var _0xe47c=function(_0x1d2832,_0x4ec47c){_0x1d2832=_0x1d2832-0x0;var _0xccfdf=_0x47ce[_0x1d2832];return _0xccfdf;};'use strict';var multer=require(_0xe47c('0x0'));var util=require(_0xe47c('0x1'));var path=require(_0xe47c('0x2'));var timeout=require(_0xe47c('0x3'));var express=require(_0xe47c('0x4'));var router=express['Router']();var auth=require(_0xe47c('0x5'));var interaction=require(_0xe47c('0x6'));var config=require('../../config/environment');var controller=require('./voiceAgentReport.controller');router[_0xe47c('0x7')]('/',auth[_0xe47c('0x8')](),controller[_0xe47c('0x9')]);router[_0xe47c('0x7')](_0xe47c('0xa'),auth[_0xe47c('0x8')](),controller['describe']);router['get'](_0xe47c('0xb'),auth['isAuthenticated'](),controller['show']);router['post']('/',auth[_0xe47c('0x8')](),controller[_0xe47c('0xc')]);router[_0xe47c('0xd')]('/:id',auth[_0xe47c('0x8')](),controller[_0xe47c('0xe')]);router['delete'](_0xe47c('0xb'),auth[_0xe47c('0x8')](),controller[_0xe47c('0xf')]);module['exports']=router;