8015117c238b6f8da1c6ed0eae237a81fc4f7c37
[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 _0x9e96=['isAuthenticated','getQueues','exports','express','Router','../../components/auth/service','./realtime.controller','get','/agents','/queues'];(function(_0x3b380d,_0x4bf247){var _0x54502b=function(_0x35d207){while(--_0x35d207){_0x3b380d['push'](_0x3b380d['shift']());}};_0x54502b(++_0x4bf247);}(_0x9e96,0x1d9));var _0x69e9=function(_0x1abe7c,_0x470b02){_0x1abe7c=_0x1abe7c-0x0;var _0x4481bc=_0x9e96[_0x1abe7c];return _0x4481bc;};'use strict';var express=require(_0x69e9('0x0'));var router=express[_0x69e9('0x1')]();var auth=require(_0x69e9('0x2'));var controller=require(_0x69e9('0x3'));router[_0x69e9('0x4')](_0x69e9('0x5'),auth['isAuthenticated'](),controller['getAgents']);router['get'](_0x69e9('0x6'),auth[_0x69e9('0x7')](),controller[_0x69e9('0x8')]);module[_0x69e9('0x9')]=router;