Built motion from commit 9d0783e6.|2.6.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 _0x6304=['express','Router','../../components/auth/service','./system.controller','get','/process/:pid/kill','killProcess','exports'];(function(_0xc1b33f,_0x2c9f08){var _0x459205=function(_0x4dad5b){while(--_0x4dad5b){_0xc1b33f['push'](_0xc1b33f['shift']());}};_0x459205(++_0x2c9f08);}(_0x6304,0x190));var _0x4630=function(_0x358b25,_0x2d6ea5){_0x358b25=_0x358b25-0x0;var _0x10c26c=_0x6304[_0x358b25];return _0x10c26c;};'use strict';var express=require(_0x4630('0x0'));var router=express[_0x4630('0x1')]();var auth=require(_0x4630('0x2'));var controller=require(_0x4630('0x3'));router[_0x4630('0x4')]('/',auth['isAuthenticated'](),controller['index']);router['get'](_0x4630('0x5'),auth['isAuthenticated'](),controller[_0x4630('0x6')]);module[_0x4630('0x7')]=router;