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 _0x6067=['exports','express','./realtime.controller','/agents','isAuthenticated','getQueues'];(function(_0x584b3b,_0x137c5a){var _0xcb02f=function(_0x434119){while(--_0x434119){_0x584b3b['push'](_0x584b3b['shift']());}};_0xcb02f(++_0x137c5a);}(_0x6067,0xaf));var _0x7606=function(_0x5182cf,_0x4c72e5){_0x5182cf=_0x5182cf-0x0;var _0x98254e=_0x6067[_0x5182cf];return _0x98254e;};'use strict';var express=require(_0x7606('0x0'));var router=express['Router']();var auth=require('../../components/auth/service');var controller=require(_0x7606('0x1'));router['get'](_0x7606('0x2'),auth[_0x7606('0x3')](),controller['getAgents']);router['get']('/queues',auth[_0x7606('0x3')](),controller[_0x7606('0x4')]);module[_0x7606('0x5')]=router;