8f043b7f3e9555a108ea801cc43efb567e2405c7
[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 _0x9259=['../../components/auth/service','./realtime.controller','isAuthenticated','get','/queues','getQueues','exports','express','Router'];(function(_0x2c67fa,_0x3a0bdd){var _0x2b5dea=function(_0x1317d9){while(--_0x1317d9){_0x2c67fa['push'](_0x2c67fa['shift']());}};_0x2b5dea(++_0x3a0bdd);}(_0x9259,0xbb));var _0x9925=function(_0x455893,_0x909838){_0x455893=_0x455893-0x0;var _0x3851e8=_0x9259[_0x455893];return _0x3851e8;};'use strict';var express=require(_0x9925('0x0'));var router=express[_0x9925('0x1')]();var auth=require(_0x9925('0x2'));var controller=require(_0x9925('0x3'));router['get']('/agents',auth[_0x9925('0x4')](),controller['getAgents']);router[_0x9925('0x5')](_0x9925('0x6'),auth[_0x9925('0x4')](),controller[_0x9925('0x7')]);module[_0x9925('0x8')]=router;