Built motion from commit 91ed41ac.|2.5.44
[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 _0x7344=['../../components/auth/service','./system.controller','get','isAuthenticated','index','/process/:pid/kill','exports','express','Router'];(function(_0x11bd80,_0x29e900){var _0x6dd654=function(_0x368012){while(--_0x368012){_0x11bd80['push'](_0x11bd80['shift']());}};_0x6dd654(++_0x29e900);}(_0x7344,0x11e));var _0x4734=function(_0x1238bc,_0x3a804e){_0x1238bc=_0x1238bc-0x0;var _0x4082f7=_0x7344[_0x1238bc];return _0x4082f7;};'use strict';var express=require(_0x4734('0x0'));var router=express[_0x4734('0x1')]();var auth=require(_0x4734('0x2'));var controller=require(_0x4734('0x3'));router[_0x4734('0x4')]('/',auth[_0x4734('0x5')](),controller[_0x4734('0x6')]);router['get'](_0x4734('0x7'),auth[_0x4734('0x5')](),controller['killProcess']);module[_0x4734('0x8')]=router;