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