Built motion from commit (unavailable).|2.5.30
[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 _0x14ec=['index','express','../../components/auth/service','./system.controller','get','isAuthenticated'];(function(_0xe2a247,_0x109308){var _0xd1ce59=function(_0x4f16e6){while(--_0x4f16e6){_0xe2a247['push'](_0xe2a247['shift']());}};_0xd1ce59(++_0x109308);}(_0x14ec,0x127));var _0xc14e=function(_0x1a590a,_0x2e52ce){_0x1a590a=_0x1a590a-0x0;var _0x3e7b14=_0x14ec[_0x1a590a];return _0x3e7b14;};'use strict';var express=require(_0xc14e('0x0'));var router=express['Router']();var auth=require(_0xc14e('0x1'));var controller=require(_0xc14e('0x2'));router[_0xc14e('0x3')]('/',auth[_0xc14e('0x4')](),controller[_0xc14e('0x5')]);router[_0xc14e('0x3')]('/process/:pid/kill',auth[_0xc14e('0x4')](),controller['killProcess']);module['exports']=router;