Built motion from commit da24aabd.|2.6.20
[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 _0x38c4=['Router','../../components/auth/service','./system.controller','index','isAuthenticated','killProcess','express'];(function(_0x354a8e,_0x23f6ea){var _0x30f96e=function(_0xac6a76){while(--_0xac6a76){_0x354a8e['push'](_0x354a8e['shift']());}};_0x30f96e(++_0x23f6ea);}(_0x38c4,0x6f));var _0x438c=function(_0x32669d,_0x14b65e){_0x32669d=_0x32669d-0x0;var _0x3a12b5=_0x38c4[_0x32669d];return _0x3a12b5;};'use strict';var express=require(_0x438c('0x0'));var router=express[_0x438c('0x1')]();var auth=require(_0x438c('0x2'));var controller=require(_0x438c('0x3'));router['get']('/',auth['isAuthenticated'](),controller[_0x438c('0x4')]);router['get']('/process/:pid/kill',auth[_0x438c('0x5')](),controller[_0x438c('0x6')]);module['exports']=router;