8a025cbbe7a5ad475c7396e1ce0c8cd497271612
[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 _0x827e=['../../components/auth/service','./system.controller','get','/process/:pid/kill','isAuthenticated','killProcess','exports','express','Router'];(function(_0xf09da0,_0x3b72a3){var _0x98aa35=function(_0x28f127){while(--_0x28f127){_0xf09da0['push'](_0xf09da0['shift']());}};_0x98aa35(++_0x3b72a3);}(_0x827e,0x11e));var _0xe827=function(_0x52364d,_0x24c74f){_0x52364d=_0x52364d-0x0;var _0x11a079=_0x827e[_0x52364d];return _0x11a079;};'use strict';var express=require(_0xe827('0x0'));var router=express[_0xe827('0x1')]();var auth=require(_0xe827('0x2'));var controller=require(_0xe827('0x3'));router['get']('/',auth['isAuthenticated'](),controller['index']);router[_0xe827('0x4')](_0xe827('0x5'),auth[_0xe827('0x6')](),controller[_0xe827('0x7')]);module[_0xe827('0x8')]=router;