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