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