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