Built motion from commit (unavailable).|2.5.13
[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 _0x5a8a=['isAuthenticated','index','get','/process/:pid/kill','exports','express','Router','./system.controller'];(function(_0x19f7d0,_0x258639){var _0x12aede=function(_0x4d2771){while(--_0x4d2771){_0x19f7d0['push'](_0x19f7d0['shift']());}};_0x12aede(++_0x258639);}(_0x5a8a,0x19d));var _0xa5a8=function(_0xa464c9,_0x7c86d8){_0xa464c9=_0xa464c9-0x0;var _0x3d73c4=_0x5a8a[_0xa464c9];return _0x3d73c4;};'use strict';var express=require(_0xa5a8('0x0'));var router=express[_0xa5a8('0x1')]();var auth=require('../../components/auth/service');var controller=require(_0xa5a8('0x2'));router['get']('/',auth[_0xa5a8('0x3')](),controller[_0xa5a8('0x4')]);router[_0xa5a8('0x5')](_0xa5a8('0x6'),auth[_0xa5a8('0x3')](),controller['killProcess']);module[_0xa5a8('0x7')]=router;