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 _0x2f14=['Router','../../components/auth/service','get','/agents','isAuthenticated','getAgents','/queues','exports','express'];(function(_0x43e05b,_0x32cb03){var _0x5172f5=function(_0x1e85ac){while(--_0x1e85ac){_0x43e05b['push'](_0x43e05b['shift']());}};_0x5172f5(++_0x32cb03);}(_0x2f14,0x1b8));var _0x42f1=function(_0x2c1d16,_0x2f0dd5){_0x2c1d16=_0x2c1d16-0x0;var _0x29cf36=_0x2f14[_0x2c1d16];return _0x29cf36;};'use strict';var express=require(_0x42f1('0x0'));var router=express[_0x42f1('0x1')]();var auth=require(_0x42f1('0x2'));var controller=require('./realtime.controller');router[_0x42f1('0x3')](_0x42f1('0x4'),auth[_0x42f1('0x5')](),controller[_0x42f1('0x6')]);router[_0x42f1('0x3')](_0x42f1('0x7'),auth['isAuthenticated'](),controller['getQueues']);module[_0x42f1('0x8')]=router;