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