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 _0x0716=['exports','express','../../components/auth/service','/agents','getAgents','get','isAuthenticated','getQueues'];(function(_0x3da647,_0xa1a501){var _0x2e91a2=function(_0x34a811){while(--_0x34a811){_0x3da647['push'](_0x3da647['shift']());}};_0x2e91a2(++_0xa1a501);}(_0x0716,0x91));var _0x6071=function(_0x5d5979,_0x3b4921){_0x5d5979=_0x5d5979-0x0;var _0x237182=_0x0716[_0x5d5979];return _0x237182;};'use strict';var express=require(_0x6071('0x0'));var router=express['Router']();var auth=require(_0x6071('0x1'));var controller=require('./realtime.controller');router['get'](_0x6071('0x2'),auth['isAuthenticated'](),controller[_0x6071('0x3')]);router[_0x6071('0x4')]('/queues',auth[_0x6071('0x5')](),controller[_0x6071('0x6')]);module[_0x6071('0x7')]=router;