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 _0x33af=['../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','/describe','describe','/index','getVoiceQueuesReport','/:id','show','post','put','update','delete','destroy','util','connect-timeout','express','Router'];(function(_0x47a192,_0x2f5f9f){var _0x9b9f14=function(_0x2357a4){while(--_0x2357a4){_0x47a192['push'](_0x47a192['shift']());}};_0x9b9f14(++_0x2f5f9f);}(_0x33af,0xec));var _0xf33a=function(_0x1f78cb,_0x58e9f3){_0x1f78cb=_0x1f78cb-0x0;var _0x2cf6b8=_0x33af[_0x1f78cb];return _0x2cf6b8;};'use strict';var multer=require('multer');var util=require(_0xf33a('0x0'));var path=require('path');var timeout=require(_0xf33a('0x1'));var express=require(_0xf33a('0x2'));var router=express[_0xf33a('0x3')]();var auth=require(_0xf33a('0x4'));var interaction=require(_0xf33a('0x5'));var config=require(_0xf33a('0x6'));var controller=require('./voiceQueueReport.controller');router[_0xf33a('0x7')]('/',auth[_0xf33a('0x8')](),controller['index']);router[_0xf33a('0x7')](_0xf33a('0x9'),auth[_0xf33a('0x8')](),controller[_0xf33a('0xa')]);router[_0xf33a('0x7')](_0xf33a('0xb'),auth['isAuthenticated'](),controller[_0xf33a('0xc')]);router[_0xf33a('0x7')](_0xf33a('0xd'),auth[_0xf33a('0x8')](),controller[_0xf33a('0xe')]);router[_0xf33a('0xf')]('/',auth['isAuthenticated'](),controller['create']);router[_0xf33a('0x10')](_0xf33a('0xd'),auth[_0xf33a('0x8')](),controller[_0xf33a('0x11')]);router[_0xf33a('0x12')]('/:id',auth[_0xf33a('0x8')](),controller[_0xf33a('0x13')]);module['exports']=router;