Built motion from commit 5b761a7b.|2.5.36
[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 _0xa5ee=['express','../../components/auth/service','get','isAuthenticated','index','/process/:pid/kill','exports'];(function(_0x1de4b8,_0x529b41){var _0x557699=function(_0xb10c18){while(--_0xb10c18){_0x1de4b8['push'](_0x1de4b8['shift']());}};_0x557699(++_0x529b41);}(_0xa5ee,0x1c0));var _0xea5e=function(_0x2677d4,_0x498c72){_0x2677d4=_0x2677d4-0x0;var _0x5d7292=_0xa5ee[_0x2677d4];return _0x5d7292;};'use strict';var express=require(_0xea5e('0x0'));var router=express['Router']();var auth=require(_0xea5e('0x1'));var controller=require('./system.controller');router[_0xea5e('0x2')]('/',auth[_0xea5e('0x3')](),controller[_0xea5e('0x4')]);router[_0xea5e('0x2')](_0xea5e('0x5'),auth[_0xea5e('0x3')](),controller['killProcess']);module[_0xea5e('0x6')]=router;