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