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 _0x4447=['isAuthenticated','getQueues','exports','Router','../../components/auth/service','get','/agents','getAgents','/queues'];(function(_0x3dbe24,_0x49988a){var _0x17441a=function(_0x138a6b){while(--_0x138a6b){_0x3dbe24['push'](_0x3dbe24['shift']());}};_0x17441a(++_0x49988a);}(_0x4447,0x66));var _0x7444=function(_0x1beef3,_0x57c4b8){_0x1beef3=_0x1beef3-0x0;var _0x5af964=_0x4447[_0x1beef3];return _0x5af964;};'use strict';var express=require('express');var router=express[_0x7444('0x0')]();var auth=require(_0x7444('0x1'));var controller=require('./realtime.controller');router[_0x7444('0x2')](_0x7444('0x3'),auth['isAuthenticated'](),controller[_0x7444('0x4')]);router['get'](_0x7444('0x5'),auth[_0x7444('0x6')](),controller[_0x7444('0x7')]);module[_0x7444('0x8')]=router;