Built motion from commit 87cd5f02.|2.5.48
[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 _0xfbec=['./realtime.controller','get','/agents','isAuthenticated','getAgents','/queues','getQueues','exports','Router'];(function(_0x217478,_0x51d949){var _0x29e384=function(_0x5458f7){while(--_0x5458f7){_0x217478['push'](_0x217478['shift']());}};_0x29e384(++_0x51d949);}(_0xfbec,0x86));var _0xcfbe=function(_0x376918,_0x1a12de){_0x376918=_0x376918-0x0;var _0x3c752e=_0xfbec[_0x376918];return _0x3c752e;};'use strict';var express=require('express');var router=express[_0xcfbe('0x0')]();var auth=require('../../components/auth/service');var controller=require(_0xcfbe('0x1'));router[_0xcfbe('0x2')](_0xcfbe('0x3'),auth[_0xcfbe('0x4')](),controller[_0xcfbe('0x5')]);router['get'](_0xcfbe('0x6'),auth[_0xcfbe('0x4')](),controller[_0xcfbe('0x7')]);module[_0xcfbe('0x8')]=router;