Built motion from commit 753c950e.|2.5.42
[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 _0x0d6c=['express','../../components/auth/service','get','isAuthenticated','/process/:pid/kill','exports'];(function(_0x305350,_0x2bf49c){var _0x252eb0=function(_0x439b8a){while(--_0x439b8a){_0x305350['push'](_0x305350['shift']());}};_0x252eb0(++_0x2bf49c);}(_0x0d6c,0x72));var _0xc0d6=function(_0xe8c648,_0x3d30cb){_0xe8c648=_0xe8c648-0x0;var _0x4bbc0f=_0x0d6c[_0xe8c648];return _0x4bbc0f;};'use strict';var express=require(_0xc0d6('0x0'));var router=express['Router']();var auth=require(_0xc0d6('0x1'));var controller=require('./system.controller');router[_0xc0d6('0x2')]('/',auth[_0xc0d6('0x3')](),controller['index']);router['get'](_0xc0d6('0x4'),auth['isAuthenticated'](),controller['killProcess']);module[_0xc0d6('0x5')]=router;