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 _0xffd6=['/describe','describe','/index','getVoiceQueuesReport','show','post','create','put','/:id','update','delete','destroy','exports','multer','util','path','Router','../../components/auth/service','../../components/interaction/service','./voiceQueueReport.controller','get','isAuthenticated','index'];(function(_0x160877,_0x3dd080){var _0x6b5e06=function(_0x8ef3e3){while(--_0x8ef3e3){_0x160877['push'](_0x160877['shift']());}};_0x6b5e06(++_0x3dd080);}(_0xffd6,0x97));var _0x6ffd=function(_0x1abb09,_0x18ee91){_0x1abb09=_0x1abb09-0x0;var _0xea1c07=_0xffd6[_0x1abb09];return _0xea1c07;};'use strict';var multer=require(_0x6ffd('0x0'));var util=require(_0x6ffd('0x1'));var path=require(_0x6ffd('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x6ffd('0x3')]();var auth=require(_0x6ffd('0x4'));var interaction=require(_0x6ffd('0x5'));var config=require('../../config/environment');var controller=require(_0x6ffd('0x6'));router[_0x6ffd('0x7')]('/',auth[_0x6ffd('0x8')](),controller[_0x6ffd('0x9')]);router['get'](_0x6ffd('0xa'),auth[_0x6ffd('0x8')](),controller[_0x6ffd('0xb')]);router[_0x6ffd('0x7')](_0x6ffd('0xc'),auth['isAuthenticated'](),controller[_0x6ffd('0xd')]);router[_0x6ffd('0x7')]('/:id',auth[_0x6ffd('0x8')](),controller[_0x6ffd('0xe')]);router[_0x6ffd('0xf')]('/',auth[_0x6ffd('0x8')](),controller[_0x6ffd('0x10')]);router[_0x6ffd('0x11')](_0x6ffd('0x12'),auth['isAuthenticated'](),controller[_0x6ffd('0x13')]);router[_0x6ffd('0x14')]('/:id',auth[_0x6ffd('0x8')](),controller[_0x6ffd('0x15')]);module[_0x6ffd('0x16')]=router;