Built motion from commit cf5ff673.|2.5.41
[motion2.git] / server / api / realtime / index.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x6a0b=['getAgents','getQueues','Router','../../components/auth/service','./realtime.controller','get','/agents','isAuthenticated'];(function(_0x85832e,_0x497877){var _0x248fb3=function(_0x24fadd){while(--_0x24fadd){_0x85832e['push'](_0x85832e['shift']());}};_0x248fb3(++_0x497877);}(_0x6a0b,0x72));var _0xb6a0=function(_0x56fe87,_0x547129){_0x56fe87=_0x56fe87-0x0;var _0x5d1f82=_0x6a0b[_0x56fe87];return _0x5d1f82;};'use strict';var express=require('express');var router=express[_0xb6a0('0x0')]();var auth=require(_0xb6a0('0x1'));var controller=require(_0xb6a0('0x2'));router[_0xb6a0('0x3')](_0xb6a0('0x4'),auth[_0xb6a0('0x5')](),controller[_0xb6a0('0x6')]);router[_0xb6a0('0x3')]('/queues',auth[_0xb6a0('0x5')](),controller[_0xb6a0('0x7')]);module['exports']=router;