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