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 _0x6332=['isAuthenticated','getAgents','get','/queues','getQueues','exports','express','Router','/agents'];(function(_0x28e74e,_0x53fdf1){var _0xb45ac1=function(_0x311a7a){while(--_0x311a7a){_0x28e74e['push'](_0x28e74e['shift']());}};_0xb45ac1(++_0x53fdf1);}(_0x6332,0x10b));var _0x2633=function(_0x13d43f,_0x29533b){_0x13d43f=_0x13d43f-0x0;var _0x776929=_0x6332[_0x13d43f];return _0x776929;};'use strict';var express=require(_0x2633('0x0'));var router=express[_0x2633('0x1')]();var auth=require('../../components/auth/service');var controller=require('./realtime.controller');router['get'](_0x2633('0x2'),auth[_0x2633('0x3')](),controller[_0x2633('0x4')]);router[_0x2633('0x5')](_0x2633('0x6'),auth[_0x2633('0x3')](),controller[_0x2633('0x7')]);module[_0x2633('0x8')]=router;