Built motion from commit (unavailable).|2.5.14
[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 _0xe7ae=['../../components/auth/service','./system.controller','isAuthenticated','get','/process/:pid/kill','killProcess'];(function(_0xb6e2ea,_0x3b26e9){var _0x2a57bb=function(_0x2a1ac9){while(--_0x2a1ac9){_0xb6e2ea['push'](_0xb6e2ea['shift']());}};_0x2a57bb(++_0x3b26e9);}(_0xe7ae,0x192));var _0xee7a=function(_0x43f9ba,_0x454402){_0x43f9ba=_0x43f9ba-0x0;var _0x7b5d7e=_0xe7ae[_0x43f9ba];return _0x7b5d7e;};'use strict';var express=require('express');var router=express['Router']();var auth=require(_0xee7a('0x0'));var controller=require(_0xee7a('0x1'));router['get']('/',auth[_0xee7a('0x2')](),controller['index']);router[_0xee7a('0x3')](_0xee7a('0x4'),auth[_0xee7a('0x2')](),controller[_0xee7a('0x5')]);module['exports']=router;