Built motion from commit b5a10faa.|2.6.13
[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 _0x2ac2=['getQueues','exports','Router','../../components/auth/service','./realtime.controller','/agents','getAgents','/queues','isAuthenticated'];(function(_0xdc0a9a,_0x5205c1){var _0x3a97e9=function(_0x1ffba9){while(--_0x1ffba9){_0xdc0a9a['push'](_0xdc0a9a['shift']());}};_0x3a97e9(++_0x5205c1);}(_0x2ac2,0x14f));var _0x22ac=function(_0x201b6b,_0x2e4990){_0x201b6b=_0x201b6b-0x0;var _0x40ee3e=_0x2ac2[_0x201b6b];return _0x40ee3e;};'use strict';var express=require('express');var router=express[_0x22ac('0x0')]();var auth=require(_0x22ac('0x1'));var controller=require(_0x22ac('0x2'));router['get'](_0x22ac('0x3'),auth['isAuthenticated'](),controller[_0x22ac('0x4')]);router['get'](_0x22ac('0x5'),auth[_0x22ac('0x6')](),controller[_0x22ac('0x7')]);module[_0x22ac('0x8')]=router;