Built motion from commit (unavailable).|2.5.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 _0x3589=['get','isAuthenticated','index','/process/:pid/kill','express','../../components/auth/service'];(function(_0x2136d5,_0x4b0479){var _0x3bee2e=function(_0x119e88){while(--_0x119e88){_0x2136d5['push'](_0x2136d5['shift']());}};_0x3bee2e(++_0x4b0479);}(_0x3589,0x94));var _0x9358=function(_0x5dca66,_0x11ac16){_0x5dca66=_0x5dca66-0x0;var _0x1107a2=_0x3589[_0x5dca66];return _0x1107a2;};'use strict';var express=require(_0x9358('0x0'));var router=express['Router']();var auth=require(_0x9358('0x1'));var controller=require('./system.controller');router[_0x9358('0x2')]('/',auth[_0x9358('0x3')](),controller[_0x9358('0x4')]);router['get'](_0x9358('0x5'),auth[_0x9358('0x3')](),controller['killProcess']);module['exports']=router;