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 _0xcca8=['get','getAgents','isAuthenticated','express','Router','./realtime.controller'];(function(_0x4687df,_0x12099c){var _0x32eaef=function(_0x2387db){while(--_0x2387db){_0x4687df['push'](_0x4687df['shift']());}};_0x32eaef(++_0x12099c);}(_0xcca8,0x69));var _0x8cca=function(_0x824415,_0x19f60b){_0x824415=_0x824415-0x0;var _0x5445a7=_0xcca8[_0x824415];return _0x5445a7;};'use strict';var express=require(_0x8cca('0x0'));var router=express[_0x8cca('0x1')]();var auth=require('../../components/auth/service');var controller=require(_0x8cca('0x2'));router[_0x8cca('0x3')]('/agents',auth['isAuthenticated'](),controller[_0x8cca('0x4')]);router[_0x8cca('0x3')]('/queues',auth[_0x8cca('0x5')](),controller['getQueues']);module['exports']=router;