Built motion from commit 9d0783e6.|2.6.13
[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 _0xe2be=['exports','express','Router','../../components/auth/service','./realtime.controller','get','/agents','isAuthenticated','getAgents','getQueues'];(function(_0x13a320,_0x1e3870){var _0x4c913a=function(_0x284da2){while(--_0x284da2){_0x13a320['push'](_0x13a320['shift']());}};_0x4c913a(++_0x1e3870);}(_0xe2be,0x6f));var _0xee2b=function(_0x1ddedd,_0x485606){_0x1ddedd=_0x1ddedd-0x0;var _0xa3e1ac=_0xe2be[_0x1ddedd];return _0xa3e1ac;};'use strict';var express=require(_0xee2b('0x0'));var router=express[_0xee2b('0x1')]();var auth=require(_0xee2b('0x2'));var controller=require(_0xee2b('0x3'));router[_0xee2b('0x4')](_0xee2b('0x5'),auth[_0xee2b('0x6')](),controller[_0xee2b('0x7')]);router[_0xee2b('0x4')]('/queues',auth[_0xee2b('0x6')](),controller[_0xee2b('0x8')]);module[_0xee2b('0x9')]=router;