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