372f4a74984f9d6256a6e34229fb45903013a563
[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 _0x220d=['getAgents','/queues','getQueues','exports','express','Router','../../components/auth/service','./realtime.controller','get','/agents','isAuthenticated'];(function(_0x2b0bc2,_0x4331f5){var _0x56e5b9=function(_0x4c1b06){while(--_0x4c1b06){_0x2b0bc2['push'](_0x2b0bc2['shift']());}};_0x56e5b9(++_0x4331f5);}(_0x220d,0xa9));var _0xd220=function(_0x4a40cc,_0x210c0a){_0x4a40cc=_0x4a40cc-0x0;var _0x28a807=_0x220d[_0x4a40cc];return _0x28a807;};'use strict';var express=require(_0xd220('0x0'));var router=express[_0xd220('0x1')]();var auth=require(_0xd220('0x2'));var controller=require(_0xd220('0x3'));router[_0xd220('0x4')](_0xd220('0x5'),auth[_0xd220('0x6')](),controller[_0xd220('0x7')]);router[_0xd220('0x4')](_0xd220('0x8'),auth[_0xd220('0x6')](),controller[_0xd220('0x9')]);module[_0xd220('0xa')]=router;