Built motion from commit 9d1906d1.|2.5.40
[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 _0x6052=['getAgents','/queues','getQueues','exports','express','Router','../../components/auth/service','./realtime.controller','get','/agents','isAuthenticated'];(function(_0x18a01c,_0xd1a13a){var _0x2b0cd6=function(_0x563571){while(--_0x563571){_0x18a01c['push'](_0x18a01c['shift']());}};_0x2b0cd6(++_0xd1a13a);}(_0x6052,0x17a));var _0x2605=function(_0x19624f,_0x1a0603){_0x19624f=_0x19624f-0x0;var _0x250e37=_0x6052[_0x19624f];return _0x250e37;};'use strict';var express=require(_0x2605('0x0'));var router=express[_0x2605('0x1')]();var auth=require(_0x2605('0x2'));var controller=require(_0x2605('0x3'));router[_0x2605('0x4')](_0x2605('0x5'),auth[_0x2605('0x6')](),controller[_0x2605('0x7')]);router[_0x2605('0x4')](_0x2605('0x8'),auth['isAuthenticated'](),controller[_0x2605('0x9')]);module[_0x2605('0xa')]=router;