22f32673f5971bfa07f729b568fb43b2937b561e
[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 _0x1eba=['isAuthenticated','killProcess','exports','express','Router','../../components/auth/service','./system.controller','get','/process/:pid/kill'];(function(_0x450bf9,_0x1895de){var _0x268350=function(_0xebafa7){while(--_0xebafa7){_0x450bf9['push'](_0x450bf9['shift']());}};_0x268350(++_0x1895de);}(_0x1eba,0x1d7));var _0xa1eb=function(_0x343e44,_0x519af9){_0x343e44=_0x343e44-0x0;var _0xa5130e=_0x1eba[_0x343e44];return _0xa5130e;};'use strict';var express=require(_0xa1eb('0x0'));var router=express[_0xa1eb('0x1')]();var auth=require(_0xa1eb('0x2'));var controller=require(_0xa1eb('0x3'));router[_0xa1eb('0x4')]('/',auth['isAuthenticated'](),controller['index']);router[_0xa1eb('0x4')](_0xa1eb('0x5'),auth[_0xa1eb('0x6')](),controller[_0xa1eb('0x7')]);module[_0xa1eb('0x8')]=router;