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 _0x0d5e=['getQueues','exports','Router','get','/agents','isAuthenticated'];(function(_0x486ff4,_0x471e09){var _0x1d4cce=function(_0x14be88){while(--_0x14be88){_0x486ff4['push'](_0x486ff4['shift']());}};_0x1d4cce(++_0x471e09);}(_0x0d5e,0x1c4));var _0xe0d5=function(_0x8af759,_0x340c5f){_0x8af759=_0x8af759-0x0;var _0x4268d7=_0x0d5e[_0x8af759];return _0x4268d7;};'use strict';var express=require('express');var router=express[_0xe0d5('0x0')]();var auth=require('../../components/auth/service');var controller=require('./realtime.controller');router[_0xe0d5('0x1')](_0xe0d5('0x2'),auth['isAuthenticated'](),controller['getAgents']);router[_0xe0d5('0x1')]('/queues',auth[_0xe0d5('0x3')](),controller[_0xe0d5('0x4')]);module[_0xe0d5('0x5')]=router;