e74a22487343e6494a0e5356a1caa8e5ea434d77
[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 _0xb90e=['../../components/auth/service','./realtime.controller','get','isAuthenticated','/queues','exports','express','Router'];(function(_0x2ac089,_0x535c56){var _0x379229=function(_0x410107){while(--_0x410107){_0x2ac089['push'](_0x2ac089['shift']());}};_0x379229(++_0x535c56);}(_0xb90e,0x14e));var _0xeb90=function(_0x49be68,_0x5be605){_0x49be68=_0x49be68-0x0;var _0x364f32=_0xb90e[_0x49be68];return _0x364f32;};'use strict';var express=require(_0xeb90('0x0'));var router=express[_0xeb90('0x1')]();var auth=require(_0xeb90('0x2'));var controller=require(_0xeb90('0x3'));router[_0xeb90('0x4')]('/agents',auth[_0xeb90('0x5')](),controller['getAgents']);router['get'](_0xeb90('0x6'),auth[_0xeb90('0x5')](),controller['getQueues']);module[_0xeb90('0x7')]=router;