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 _0x54c8=['./openchannelQueueReport.controller','get','isAuthenticated','index','/describe','describe','show','create','put','/:id','update','delete','exports','multer','util','path','connect-timeout','express','../../components/auth/service','../../config/environment'];(function(_0x1facfa,_0x1acf7d){var _0x9ec701=function(_0x115e37){while(--_0x115e37){_0x1facfa['push'](_0x1facfa['shift']());}};_0x9ec701(++_0x1acf7d);}(_0x54c8,0xc1));var _0x854c=function(_0x2fecd4,_0x389845){_0x2fecd4=_0x2fecd4-0x0;var _0x4c9217=_0x54c8[_0x2fecd4];return _0x4c9217;};'use strict';var multer=require(_0x854c('0x0'));var util=require(_0x854c('0x1'));var path=require(_0x854c('0x2'));var timeout=require(_0x854c('0x3'));var express=require(_0x854c('0x4'));var router=express['Router']();var auth=require(_0x854c('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x854c('0x6'));var controller=require(_0x854c('0x7'));router[_0x854c('0x8')]('/',auth[_0x854c('0x9')](),controller[_0x854c('0xa')]);router['get'](_0x854c('0xb'),auth[_0x854c('0x9')](),controller[_0x854c('0xc')]);router[_0x854c('0x8')]('/:id',auth[_0x854c('0x9')](),controller[_0x854c('0xd')]);router['post']('/',auth[_0x854c('0x9')](),controller[_0x854c('0xe')]);router[_0x854c('0xf')](_0x854c('0x10'),auth['isAuthenticated'](),controller[_0x854c('0x11')]);router[_0x854c('0x12')](_0x854c('0x10'),auth[_0x854c('0x9')](),controller['destroy']);module[_0x854c('0x13')]=router;