Built motion from commit e02f907f.|2.6.14
[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 _0x23ef=['../../components/auth/service','./realtime.controller','/agents','getAgents','get','getQueues','exports','express','Router'];(function(_0x23312e,_0x4e390b){var _0x2d2bb6=function(_0x2ac650){while(--_0x2ac650){_0x23312e['push'](_0x23312e['shift']());}};_0x2d2bb6(++_0x4e390b);}(_0x23ef,0x1d2));var _0xf23e=function(_0x4cec95,_0x12109f){_0x4cec95=_0x4cec95-0x0;var _0x4df3dd=_0x23ef[_0x4cec95];return _0x4df3dd;};'use strict';var express=require(_0xf23e('0x0'));var router=express[_0xf23e('0x1')]();var auth=require(_0xf23e('0x2'));var controller=require(_0xf23e('0x3'));router['get'](_0xf23e('0x4'),auth['isAuthenticated'](),controller[_0xf23e('0x5')]);router[_0xf23e('0x6')]('/queues',auth['isAuthenticated'](),controller[_0xf23e('0x7')]);module[_0xf23e('0x8')]=router;