Built motion from commit 85328c08.|2.5.50
[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 _0xc7c1=['Router','../../components/auth/service','./system.controller','get','isAuthenticated','index','killProcess','exports','express'];(function(_0x9d9797,_0xe3ebe8){var _0x3c16ca=function(_0x3d8735){while(--_0x3d8735){_0x9d9797['push'](_0x9d9797['shift']());}};_0x3c16ca(++_0xe3ebe8);}(_0xc7c1,0x167));var _0x1c7c=function(_0x2b9b72,_0x5ae178){_0x2b9b72=_0x2b9b72-0x0;var _0x506798=_0xc7c1[_0x2b9b72];return _0x506798;};'use strict';var express=require(_0x1c7c('0x0'));var router=express[_0x1c7c('0x1')]();var auth=require(_0x1c7c('0x2'));var controller=require(_0x1c7c('0x3'));router[_0x1c7c('0x4')]('/',auth[_0x1c7c('0x5')](),controller[_0x1c7c('0x6')]);router['get']('/process/:pid/kill',auth['isAuthenticated'](),controller[_0x1c7c('0x7')]);module[_0x1c7c('0x8')]=router;