Built motion from commit 25580385.|2.6.2
[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 _0x928b=['/agents','isAuthenticated','getAgents','/queues','express','Router','../../components/auth/service','get'];(function(_0x11bb15,_0x5aa1ed){var _0x2e5592=function(_0x266966){while(--_0x266966){_0x11bb15['push'](_0x11bb15['shift']());}};_0x2e5592(++_0x5aa1ed);}(_0x928b,0xe4));var _0xb928=function(_0x3a110e,_0x55df8f){_0x3a110e=_0x3a110e-0x0;var _0x6b863e=_0x928b[_0x3a110e];return _0x6b863e;};'use strict';var express=require(_0xb928('0x0'));var router=express[_0xb928('0x1')]();var auth=require(_0xb928('0x2'));var controller=require('./realtime.controller');router[_0xb928('0x3')](_0xb928('0x4'),auth[_0xb928('0x5')](),controller[_0xb928('0x6')]);router[_0xb928('0x3')](_0xb928('0x7'),auth[_0xb928('0x5')](),controller['getQueues']);module['exports']=router;