Built motion from commit (unavailable).|2.4.17
[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 _0x6b19=['exports','express','../../components/auth/service','./system.controller','isAuthenticated','index','get','/process/:pid/kill','killProcess'];(function(_0x374361,_0xc34e30){var _0x1e79c3=function(_0x23a281){while(--_0x23a281){_0x374361['push'](_0x374361['shift']());}};_0x1e79c3(++_0xc34e30);}(_0x6b19,0xf4));var _0x96b1=function(_0xea8781,_0x5ebae1){_0xea8781=_0xea8781-0x0;var _0x109aa9=_0x6b19[_0xea8781];return _0x109aa9;};'use strict';var express=require(_0x96b1('0x0'));var router=express['Router']();var auth=require(_0x96b1('0x1'));var controller=require(_0x96b1('0x2'));router['get']('/',auth[_0x96b1('0x3')](),controller[_0x96b1('0x4')]);router[_0x96b1('0x5')](_0x96b1('0x6'),auth['isAuthenticated'](),controller[_0x96b1('0x7')]);module[_0x96b1('0x8')]=router;