Built motion from commit b5996064.|2.6.21
[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 _0x9884=['/agents','isAuthenticated','getAgents','/queues','getQueues','express','Router','get'];(function(_0x2d7842,_0x5e1932){var _0x35485d=function(_0x56843a){while(--_0x56843a){_0x2d7842['push'](_0x2d7842['shift']());}};_0x35485d(++_0x5e1932);}(_0x9884,0x10d));var _0x4988=function(_0x34c9dd,_0x52dadd){_0x34c9dd=_0x34c9dd-0x0;var _0x81a69a=_0x9884[_0x34c9dd];return _0x81a69a;};'use strict';var express=require(_0x4988('0x0'));var router=express[_0x4988('0x1')]();var auth=require('../../components/auth/service');var controller=require('./realtime.controller');router[_0x4988('0x2')](_0x4988('0x3'),auth[_0x4988('0x4')](),controller[_0x4988('0x5')]);router[_0x4988('0x2')](_0x4988('0x6'),auth[_0x4988('0x4')](),controller[_0x4988('0x7')]);module['exports']=router;