Built motion from commit e1760111.|2.6.18
[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 _0x0b55=['/agents','isAuthenticated','getAgents','getQueues','exports','express','Router','../../components/auth/service','./realtime.controller','get'];(function(_0x127434,_0x333bb6){var _0x200396=function(_0x4649c7){while(--_0x4649c7){_0x127434['push'](_0x127434['shift']());}};_0x200396(++_0x333bb6);}(_0x0b55,0x195));var _0x50b5=function(_0x33cf6c,_0x1a9183){_0x33cf6c=_0x33cf6c-0x0;var _0x43eee9=_0x0b55[_0x33cf6c];return _0x43eee9;};'use strict';var express=require(_0x50b5('0x0'));var router=express[_0x50b5('0x1')]();var auth=require(_0x50b5('0x2'));var controller=require(_0x50b5('0x3'));router[_0x50b5('0x4')](_0x50b5('0x5'),auth[_0x50b5('0x6')](),controller[_0x50b5('0x7')]);router[_0x50b5('0x4')]('/queues',auth[_0x50b5('0x6')](),controller[_0x50b5('0x8')]);module[_0x50b5('0x9')]=router;