Built motion from commit e0fa946e.|2.6.5
[motion2.git] / server / api / system / 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 _0x9fd5=['./system.controller','index','get','/process/:pid/kill','isAuthenticated','killProcess','exports','express','Router','../../components/auth/service'];(function(_0x3689b2,_0x57f533){var _0x33d10d=function(_0x218b5f){while(--_0x218b5f){_0x3689b2['push'](_0x3689b2['shift']());}};_0x33d10d(++_0x57f533);}(_0x9fd5,0x165));var _0x59fd=function(_0x5971bf,_0x536dab){_0x5971bf=_0x5971bf-0x0;var _0x254469=_0x9fd5[_0x5971bf];return _0x254469;};'use strict';var express=require(_0x59fd('0x0'));var router=express[_0x59fd('0x1')]();var auth=require(_0x59fd('0x2'));var controller=require(_0x59fd('0x3'));router['get']('/',auth['isAuthenticated'](),controller[_0x59fd('0x4')]);router[_0x59fd('0x5')](_0x59fd('0x6'),auth[_0x59fd('0x7')](),controller[_0x59fd('0x8')]);module[_0x59fd('0x9')]=router;