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 _0xce3a=['Router','./realtime.controller','get','isAuthenticated','getAgents','/queues','getQueues','express'];(function(_0x3ee6f2,_0x4d546c){var _0x5ac608=function(_0x6fca39){while(--_0x6fca39){_0x3ee6f2['push'](_0x3ee6f2['shift']());}};_0x5ac608(++_0x4d546c);}(_0xce3a,0x1df));var _0xace3=function(_0x454815,_0x2d80cf){_0x454815=_0x454815-0x0;var _0x5579b4=_0xce3a[_0x454815];return _0x5579b4;};'use strict';var express=require(_0xace3('0x0'));var router=express[_0xace3('0x1')]();var auth=require('../../components/auth/service');var controller=require(_0xace3('0x2'));router[_0xace3('0x3')]('/agents',auth[_0xace3('0x4')](),controller[_0xace3('0x5')]);router['get'](_0xace3('0x6'),auth[_0xace3('0x4')](),controller[_0xace3('0x7')]);module['exports']=router;