Built motion from commit bab6f49e.|2.6.17
[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 _0x53e7=['getQueues','exports','express','Router','./realtime.controller','get','isAuthenticated','getAgents'];(function(_0x58ed93,_0x5979dd){var _0x38244c=function(_0x58728d){while(--_0x58728d){_0x58ed93['push'](_0x58ed93['shift']());}};_0x38244c(++_0x5979dd);}(_0x53e7,0x122));var _0x753e=function(_0x30e8a1,_0x55fa82){_0x30e8a1=_0x30e8a1-0x0;var _0x37c6f1=_0x53e7[_0x30e8a1];return _0x37c6f1;};'use strict';var express=require(_0x753e('0x0'));var router=express[_0x753e('0x1')]();var auth=require('../../components/auth/service');var controller=require(_0x753e('0x2'));router[_0x753e('0x3')]('/agents',auth[_0x753e('0x4')](),controller[_0x753e('0x5')]);router[_0x753e('0x3')]('/queues',auth[_0x753e('0x4')](),controller[_0x753e('0x6')]);module[_0x753e('0x7')]=router;