Built motion from commit da617fac.|2.6.6
[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 _0x16af=['isAuthenticated','getQueues','exports','express','Router','../../components/auth/service','get','/agents','getAgents','/queues'];(function(_0x22b8a3,_0x2a79a7){var _0x199a0c=function(_0x544c66){while(--_0x544c66){_0x22b8a3['push'](_0x22b8a3['shift']());}};_0x199a0c(++_0x2a79a7);}(_0x16af,0x67));var _0xf16a=function(_0x376676,_0x56d55b){_0x376676=_0x376676-0x0;var _0x1f0b27=_0x16af[_0x376676];return _0x1f0b27;};'use strict';var express=require(_0xf16a('0x0'));var router=express[_0xf16a('0x1')]();var auth=require(_0xf16a('0x2'));var controller=require('./realtime.controller');router[_0xf16a('0x3')](_0xf16a('0x4'),auth['isAuthenticated'](),controller[_0xf16a('0x5')]);router[_0xf16a('0x3')](_0xf16a('0x6'),auth[_0xf16a('0x7')](),controller[_0xf16a('0x8')]);module[_0xf16a('0x9')]=router;