Built motion from commit b5413ace.|2.6.9
[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 _0x27e7=['./realtime.controller','get','/agents','isAuthenticated','exports','express'];(function(_0x2e7a06,_0x15326d){var _0x3ff628=function(_0x3cbca9){while(--_0x3cbca9){_0x2e7a06['push'](_0x2e7a06['shift']());}};_0x3ff628(++_0x15326d);}(_0x27e7,0x14f));var _0x727e=function(_0x28a618,_0x1cd834){_0x28a618=_0x28a618-0x0;var _0x78cff3=_0x27e7[_0x28a618];return _0x78cff3;};'use strict';var express=require(_0x727e('0x0'));var router=express['Router']();var auth=require('../../components/auth/service');var controller=require(_0x727e('0x1'));router[_0x727e('0x2')](_0x727e('0x3'),auth[_0x727e('0x4')](),controller['getAgents']);router[_0x727e('0x2')]('/queues',auth[_0x727e('0x4')](),controller['getQueues']);module[_0x727e('0x5')]=router;