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 _0x7f97=['Router','get','isAuthenticated','getAgents','/queues','exports'];(function(_0x35576f,_0x47a4da){var _0x4c1f92=function(_0x1d9128){while(--_0x1d9128){_0x35576f['push'](_0x35576f['shift']());}};_0x4c1f92(++_0x47a4da);}(_0x7f97,0x84));var _0x77f9=function(_0x10d965,_0x4c9ee3){_0x10d965=_0x10d965-0x0;var _0x2280be=_0x7f97[_0x10d965];return _0x2280be;};'use strict';var express=require('express');var router=express[_0x77f9('0x0')]();var auth=require('../../components/auth/service');var controller=require('./realtime.controller');router[_0x77f9('0x1')]('/agents',auth[_0x77f9('0x2')](),controller[_0x77f9('0x3')]);router[_0x77f9('0x1')](_0x77f9('0x4'),auth['isAuthenticated'](),controller['getQueues']);module[_0x77f9('0x5')]=router;