Built motion from commit 00bf23f6.|2.6.16
[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 _0xad59=['exports','express','Router','../../components/auth/service','./realtime.controller','get','/agents','isAuthenticated','getAgents','/queues','getQueues'];(function(_0x1619aa,_0x1684a3){var _0x5415e0=function(_0x3c37a4){while(--_0x3c37a4){_0x1619aa['push'](_0x1619aa['shift']());}};_0x5415e0(++_0x1684a3);}(_0xad59,0xbc));var _0x9ad5=function(_0x4e92a0,_0x3701ef){_0x4e92a0=_0x4e92a0-0x0;var _0x9ac2c8=_0xad59[_0x4e92a0];return _0x9ac2c8;};'use strict';var express=require(_0x9ad5('0x0'));var router=express[_0x9ad5('0x1')]();var auth=require(_0x9ad5('0x2'));var controller=require(_0x9ad5('0x3'));router[_0x9ad5('0x4')](_0x9ad5('0x5'),auth[_0x9ad5('0x6')](),controller[_0x9ad5('0x7')]);router['get'](_0x9ad5('0x8'),auth[_0x9ad5('0x6')](),controller[_0x9ad5('0x9')]);module[_0x9ad5('0xa')]=router;