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 _0x034c=['/agents','isAuthenticated','getAgents','getQueues','exports','Router','./realtime.controller','get'];(function(_0x35d3a8,_0x44406a){var _0x182378=function(_0x298e0b){while(--_0x298e0b){_0x35d3a8['push'](_0x35d3a8['shift']());}};_0x182378(++_0x44406a);}(_0x034c,0x7d));var _0xc034=function(_0x4a238c,_0x1ff302){_0x4a238c=_0x4a238c-0x0;var _0x424bbe=_0x034c[_0x4a238c];return _0x424bbe;};'use strict';var express=require('express');var router=express[_0xc034('0x0')]();var auth=require('../../components/auth/service');var controller=require(_0xc034('0x1'));router[_0xc034('0x2')](_0xc034('0x3'),auth[_0xc034('0x4')](),controller[_0xc034('0x5')]);router[_0xc034('0x2')]('/queues',auth[_0xc034('0x4')](),controller[_0xc034('0x6')]);module[_0xc034('0x7')]=router;