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 _0x9852=['../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceAgentReport.controller','get','/describe','isAuthenticated','describe','/:id','show','post','put','destroy','exports','multer','path','express'];(function(_0x1992f1,_0x5c61f0){var _0x413dfe=function(_0x2136e5){while(--_0x2136e5){_0x1992f1['push'](_0x1992f1['shift']());}};_0x413dfe(++_0x5c61f0);}(_0x9852,0x1c8));var _0x2985=function(_0x1fc36f,_0x464552){_0x1fc36f=_0x1fc36f-0x0;var _0x2856b4=_0x9852[_0x1fc36f];return _0x2856b4;};'use strict';var multer=require(_0x2985('0x0'));var util=require('util');var path=require(_0x2985('0x1'));var timeout=require('connect-timeout');var express=require(_0x2985('0x2'));var router=express['Router']();var auth=require(_0x2985('0x3'));var interaction=require(_0x2985('0x4'));var config=require(_0x2985('0x5'));var controller=require(_0x2985('0x6'));router[_0x2985('0x7')]('/',auth['isAuthenticated'](),controller['index']);router[_0x2985('0x7')](_0x2985('0x8'),auth[_0x2985('0x9')](),controller[_0x2985('0xa')]);router[_0x2985('0x7')](_0x2985('0xb'),auth[_0x2985('0x9')](),controller[_0x2985('0xc')]);router[_0x2985('0xd')]('/',auth[_0x2985('0x9')](),controller['create']);router[_0x2985('0xe')](_0x2985('0xb'),auth[_0x2985('0x9')](),controller['update']);router['delete'](_0x2985('0xb'),auth[_0x2985('0x9')](),controller[_0x2985('0xf')]);module[_0x2985('0x10')]=router;