Built motion from commit 10af8726.|2.6.34
[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 _0xfaaa=['exports','express','Router','../../components/auth/service','./system.controller','get','/process/:pid/kill','isAuthenticated','killProcess'];(function(_0x4bf221,_0x533115){var _0x596284=function(_0x3dae60){while(--_0x3dae60){_0x4bf221['push'](_0x4bf221['shift']());}};_0x596284(++_0x533115);}(_0xfaaa,0x169));var _0xafaa=function(_0x227e47,_0x37b712){_0x227e47=_0x227e47-0x0;var _0x45ae40=_0xfaaa[_0x227e47];return _0x45ae40;};'use strict';var express=require(_0xafaa('0x0'));var router=express[_0xafaa('0x1')]();var auth=require(_0xafaa('0x2'));var controller=require(_0xafaa('0x3'));router[_0xafaa('0x4')]('/',auth['isAuthenticated'](),controller['index']);router[_0xafaa('0x4')](_0xafaa('0x5'),auth[_0xafaa('0x6')](),controller[_0xafaa('0x7')]);module[_0xafaa('0x8')]=router;