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