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 _0xeb58=['get','isAuthenticated','getAgents','getQueues','exports','express','Router','../../components/auth/service'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0xeb58,0x1dd));var _0x8eb5=function(_0x12d350,_0x530e50){_0x12d350=_0x12d350-0x0;var _0x57108a=_0xeb58[_0x12d350];return _0x57108a;};'use strict';var express=require(_0x8eb5('0x0'));var router=express[_0x8eb5('0x1')]();var auth=require(_0x8eb5('0x2'));var controller=require('./realtime.controller');router[_0x8eb5('0x3')]('/agents',auth[_0x8eb5('0x4')](),controller[_0x8eb5('0x5')]);router['get']('/queues',auth[_0x8eb5('0x4')](),controller[_0x8eb5('0x6')]);module[_0x8eb5('0x7')]=router;