Built motion from commit d9028345.|2.5.43
[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 _0x14bb=['../../components/auth/service','./realtime.controller','get','/agents','isAuthenticated','getAgents','getQueues','exports','express','Router'];(function(_0x3a636a,_0x488a46){var _0x5ed888=function(_0x32250d){while(--_0x32250d){_0x3a636a['push'](_0x3a636a['shift']());}};_0x5ed888(++_0x488a46);}(_0x14bb,0xf8));var _0xb14b=function(_0x108f7c,_0x2a2f79){_0x108f7c=_0x108f7c-0x0;var _0x18c940=_0x14bb[_0x108f7c];return _0x18c940;};'use strict';var express=require(_0xb14b('0x0'));var router=express[_0xb14b('0x1')]();var auth=require(_0xb14b('0x2'));var controller=require(_0xb14b('0x3'));router[_0xb14b('0x4')](_0xb14b('0x5'),auth[_0xb14b('0x6')](),controller[_0xb14b('0x7')]);router[_0xb14b('0x4')]('/queues',auth['isAuthenticated'](),controller[_0xb14b('0x8')]);module[_0xb14b('0x9')]=router;