90628850cab97dd85ba48ff9ae8370b2d4edcff6
[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 _0x1176=['isAuthenticated','getAgents','/queues','exports','express','Router','../../components/auth/service','./realtime.controller','get','/agents'];(function(_0x5e3114,_0x133436){var _0x2ef59c=function(_0x109194){while(--_0x109194){_0x5e3114['push'](_0x5e3114['shift']());}};_0x2ef59c(++_0x133436);}(_0x1176,0xa4));var _0x6117=function(_0x2e2209,_0x1dd0e4){_0x2e2209=_0x2e2209-0x0;var _0x19c236=_0x1176[_0x2e2209];return _0x19c236;};'use strict';var express=require(_0x6117('0x0'));var router=express[_0x6117('0x1')]();var auth=require(_0x6117('0x2'));var controller=require(_0x6117('0x3'));router[_0x6117('0x4')](_0x6117('0x5'),auth[_0x6117('0x6')](),controller[_0x6117('0x7')]);router[_0x6117('0x4')](_0x6117('0x8'),auth[_0x6117('0x6')](),controller['getQueues']);module[_0x6117('0x9')]=router;