Built motion from commit 14588770.|2.5.38
[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 _0xab68=['get','isAuthenticated','index','/process/:pid/kill','Router'];(function(_0x550c66,_0x2134fd){var _0x3a58dd=function(_0x4b0a17){while(--_0x4b0a17){_0x550c66['push'](_0x550c66['shift']());}};_0x3a58dd(++_0x2134fd);}(_0xab68,0x1a3));var _0x8ab6=function(_0x340459,_0x7a9d8e){_0x340459=_0x340459-0x0;var _0x505bac=_0xab68[_0x340459];return _0x505bac;};'use strict';var express=require('express');var router=express[_0x8ab6('0x0')]();var auth=require('../../components/auth/service');var controller=require('./system.controller');router[_0x8ab6('0x1')]('/',auth[_0x8ab6('0x2')](),controller[_0x8ab6('0x3')]);router['get'](_0x8ab6('0x4'),auth[_0x8ab6('0x2')](),controller['killProcess']);module['exports']=router;