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 _0x7ff8=['get','/agents','/queues','isAuthenticated','getQueues','exports','express','Router','../../components/auth/service','./realtime.controller'];(function(_0x8745ea,_0x335ac7){var _0x36323c=function(_0x319617){while(--_0x319617){_0x8745ea['push'](_0x8745ea['shift']());}};_0x36323c(++_0x335ac7);}(_0x7ff8,0x1aa));var _0x87ff=function(_0x5cb97e,_0x132a39){_0x5cb97e=_0x5cb97e-0x0;var _0x1714b4=_0x7ff8[_0x5cb97e];return _0x1714b4;};'use strict';var express=require(_0x87ff('0x0'));var router=express[_0x87ff('0x1')]();var auth=require(_0x87ff('0x2'));var controller=require(_0x87ff('0x3'));router[_0x87ff('0x4')](_0x87ff('0x5'),auth['isAuthenticated'](),controller['getAgents']);router[_0x87ff('0x4')](_0x87ff('0x6'),auth[_0x87ff('0x7')](),controller[_0x87ff('0x8')]);module[_0x87ff('0x9')]=router;