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 _0xa9ad=['exports','multer','util','path','connect-timeout','../../components/auth/service','../../config/environment','get','isAuthenticated','index','/describe','describe','/:id','create','update','delete','destroy'];(function(_0x3dfa3c,_0x148090){var _0x3cf05a=function(_0x566d34){while(--_0x566d34){_0x3dfa3c['push'](_0x3dfa3c['shift']());}};_0x3cf05a(++_0x148090);}(_0xa9ad,0xab));var _0xda9a=function(_0x55c4f6,_0x436586){_0x55c4f6=_0x55c4f6-0x0;var _0x4b5b6c=_0xa9ad[_0x55c4f6];return _0x4b5b6c;};'use strict';var multer=require(_0xda9a('0x0'));var util=require(_0xda9a('0x1'));var path=require(_0xda9a('0x2'));var timeout=require(_0xda9a('0x3'));var express=require('express');var router=express['Router']();var auth=require(_0xda9a('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0xda9a('0x5'));var controller=require('./openchannelQueueReport.controller');router[_0xda9a('0x6')]('/',auth[_0xda9a('0x7')](),controller[_0xda9a('0x8')]);router[_0xda9a('0x6')](_0xda9a('0x9'),auth[_0xda9a('0x7')](),controller[_0xda9a('0xa')]);router[_0xda9a('0x6')](_0xda9a('0xb'),auth[_0xda9a('0x7')](),controller['show']);router['post']('/',auth['isAuthenticated'](),controller[_0xda9a('0xc')]);router['put'](_0xda9a('0xb'),auth['isAuthenticated'](),controller[_0xda9a('0xd')]);router[_0xda9a('0xe')]('/:id',auth[_0xda9a('0x7')](),controller[_0xda9a('0xf')]);module[_0xda9a('0x10')]=router;