Built motion from commit bbec7235.|2.6.20
[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 _0x89d7=['/queues','isAuthenticated','getQueues','exports','express','Router','./realtime.controller','get','/agents','getAgents'];(function(_0x430a83,_0x31aa08){var _0x3a0cab=function(_0x979a2a){while(--_0x979a2a){_0x430a83['push'](_0x430a83['shift']());}};_0x3a0cab(++_0x31aa08);}(_0x89d7,0x1bc));var _0x789d=function(_0x302a38,_0x2aae34){_0x302a38=_0x302a38-0x0;var _0x19a4a1=_0x89d7[_0x302a38];return _0x19a4a1;};'use strict';var express=require(_0x789d('0x0'));var router=express[_0x789d('0x1')]();var auth=require('../../components/auth/service');var controller=require(_0x789d('0x2'));router[_0x789d('0x3')](_0x789d('0x4'),auth['isAuthenticated'](),controller[_0x789d('0x5')]);router[_0x789d('0x3')](_0x789d('0x6'),auth[_0x789d('0x7')](),controller[_0x789d('0x8')]);module[_0x789d('0x9')]=router;