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 _0x4a1e=['Router','../../components/auth/service','get','/agents','isAuthenticated','getAgents','/queues','getQueues','exports','express'];(function(_0x30c7ee,_0x17d19f){var _0x4961e3=function(_0x11e033){while(--_0x11e033){_0x30c7ee['push'](_0x30c7ee['shift']());}};_0x4961e3(++_0x17d19f);}(_0x4a1e,0x153));var _0xe4a1=function(_0x1e3c02,_0x5c07a2){_0x1e3c02=_0x1e3c02-0x0;var _0x4d26d7=_0x4a1e[_0x1e3c02];return _0x4d26d7;};'use strict';var express=require(_0xe4a1('0x0'));var router=express[_0xe4a1('0x1')]();var auth=require(_0xe4a1('0x2'));var controller=require('./realtime.controller');router[_0xe4a1('0x3')](_0xe4a1('0x4'),auth[_0xe4a1('0x5')](),controller[_0xe4a1('0x6')]);router['get'](_0xe4a1('0x7'),auth[_0xe4a1('0x5')](),controller[_0xe4a1('0x8')]);module[_0xe4a1('0x9')]=router;