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 _0x0e48=['./voiceQueueReport.controller','get','isAuthenticated','index','describe','show','post','put','update','/:id','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service'];(function(_0x504558,_0x31f28e){var _0x938adb=function(_0x149a46){while(--_0x149a46){_0x504558['push'](_0x504558['shift']());}};_0x938adb(++_0x31f28e);}(_0x0e48,0xe2));var _0x80e4=function(_0x1e5d7c,_0x337063){_0x1e5d7c=_0x1e5d7c-0x0;var _0x10c09c=_0x0e48[_0x1e5d7c];return _0x10c09c;};'use strict';var multer=require(_0x80e4('0x0'));var util=require(_0x80e4('0x1'));var path=require(_0x80e4('0x2'));var timeout=require(_0x80e4('0x3'));var express=require(_0x80e4('0x4'));var router=express[_0x80e4('0x5')]();var fs_extra=require('fs-extra');var auth=require(_0x80e4('0x6'));var interaction=require(_0x80e4('0x7'));var config=require('../../config/environment');var controller=require(_0x80e4('0x8'));router[_0x80e4('0x9')]('/',auth[_0x80e4('0xa')](),controller[_0x80e4('0xb')]);router[_0x80e4('0x9')]('/describe',auth[_0x80e4('0xa')](),controller[_0x80e4('0xc')]);router[_0x80e4('0x9')]('/index',auth['isAuthenticated'](),controller['getVoiceQueuesReport']);router[_0x80e4('0x9')]('/:id',auth[_0x80e4('0xa')](),controller[_0x80e4('0xd')]);router[_0x80e4('0xe')]('/',auth[_0x80e4('0xa')](),controller['create']);router[_0x80e4('0xf')]('/:id',auth[_0x80e4('0xa')](),controller[_0x80e4('0x10')]);router['delete'](_0x80e4('0x11'),auth[_0x80e4('0xa')](),controller['destroy']);module['exports']=router;