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 _0x6e01=['./realtime.controller','/agents','isAuthenticated','get','getQueues','exports','Router'];(function(_0x200d3b,_0x28b9a3){var _0x422991=function(_0x127dcf){while(--_0x127dcf){_0x200d3b['push'](_0x200d3b['shift']());}};_0x422991(++_0x28b9a3);}(_0x6e01,0xa0));var _0x16e0=function(_0x531e48,_0x4bb96b){_0x531e48=_0x531e48-0x0;var _0x202971=_0x6e01[_0x531e48];return _0x202971;};'use strict';var express=require('express');var router=express[_0x16e0('0x0')]();var auth=require('../../components/auth/service');var controller=require(_0x16e0('0x1'));router['get'](_0x16e0('0x2'),auth[_0x16e0('0x3')](),controller['getAgents']);router[_0x16e0('0x4')]('/queues',auth[_0x16e0('0x3')](),controller[_0x16e0('0x5')]);module[_0x16e0('0x6')]=router;