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 _0x196a=['express','Router','fs-extra','../../components/auth/service','../../config/environment','./voiceQueueReport.controller','isAuthenticated','index','get','/describe','describe','post','create','put','update','delete','/:id','destroy','util','path','connect-timeout'];(function(_0x53c256,_0x382a24){var _0x25feb6=function(_0x2652fd){while(--_0x2652fd){_0x53c256['push'](_0x53c256['shift']());}};_0x25feb6(++_0x382a24);}(_0x196a,0x1a1));var _0xa196=function(_0x59719b,_0x2d394f){_0x59719b=_0x59719b-0x0;var _0x2c3c8e=_0x196a[_0x59719b];return _0x2c3c8e;};'use strict';var multer=require('multer');var util=require(_0xa196('0x0'));var path=require(_0xa196('0x1'));var timeout=require(_0xa196('0x2'));var express=require(_0xa196('0x3'));var router=express[_0xa196('0x4')]();var fs_extra=require(_0xa196('0x5'));var auth=require(_0xa196('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0xa196('0x7'));var controller=require(_0xa196('0x8'));router['get']('/',auth[_0xa196('0x9')](),controller[_0xa196('0xa')]);router[_0xa196('0xb')](_0xa196('0xc'),auth['isAuthenticated'](),controller[_0xa196('0xd')]);router['get']('/index',auth[_0xa196('0x9')](),controller['getVoiceQueuesReport']);router[_0xa196('0xb')]('/:id',auth[_0xa196('0x9')](),controller['show']);router[_0xa196('0xe')]('/',auth[_0xa196('0x9')](),controller[_0xa196('0xf')]);router[_0xa196('0x10')]('/:id',auth[_0xa196('0x9')](),controller[_0xa196('0x11')]);router[_0xa196('0x12')](_0xa196('0x13'),auth[_0xa196('0x9')](),controller[_0xa196('0x14')]);module['exports']=router;