Built motion from commit efa66e19.|2.6.22
[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 _0x2451=['express','Router','../../components/auth/service','get','isAuthenticated','index','killProcess'];(function(_0x5b63a8,_0x35e8c5){var _0x110378=function(_0x2f6fa7){while(--_0x2f6fa7){_0x5b63a8['push'](_0x5b63a8['shift']());}};_0x110378(++_0x35e8c5);}(_0x2451,0xe0));var _0x1245=function(_0x3da832,_0x2133f1){_0x3da832=_0x3da832-0x0;var _0xe602f2=_0x2451[_0x3da832];return _0xe602f2;};'use strict';var express=require(_0x1245('0x0'));var router=express[_0x1245('0x1')]();var auth=require(_0x1245('0x2'));var controller=require('./system.controller');router[_0x1245('0x3')]('/',auth[_0x1245('0x4')](),controller[_0x1245('0x5')]);router[_0x1245('0x3')]('/process/:pid/kill',auth[_0x1245('0x4')](),controller[_0x1245('0x6')]);module['exports']=router;