Built motion from commit 10af8726.|2.6.34
[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 _0x1232=['get','/queues','getQueues','exports','express','../../components/auth/service','/agents','isAuthenticated','getAgents'];(function(_0x3e3ed4,_0x2051c2){var _0x553baa=function(_0x194ff4){while(--_0x194ff4){_0x3e3ed4['push'](_0x3e3ed4['shift']());}};_0x553baa(++_0x2051c2);}(_0x1232,0x190));var _0x2123=function(_0x3796d3,_0x41e3e5){_0x3796d3=_0x3796d3-0x0;var _0x19a892=_0x1232[_0x3796d3];return _0x19a892;};'use strict';var express=require(_0x2123('0x0'));var router=express['Router']();var auth=require(_0x2123('0x1'));var controller=require('./realtime.controller');router['get'](_0x2123('0x2'),auth[_0x2123('0x3')](),controller[_0x2123('0x4')]);router[_0x2123('0x5')](_0x2123('0x6'),auth[_0x2123('0x3')](),controller[_0x2123('0x7')]);module[_0x2123('0x8')]=router;