Built motion from commit 19a84241.|2.5.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 _0x09c0=['exports','Router','../../components/auth/service','./system.controller','get','isAuthenticated','killProcess'];(function(_0x46e363,_0x45d7e2){var _0x3fb059=function(_0x5e6274){while(--_0x5e6274){_0x46e363['push'](_0x46e363['shift']());}};_0x3fb059(++_0x45d7e2);}(_0x09c0,0x10b));var _0x009c=function(_0xc6a453,_0x28f89b){_0xc6a453=_0xc6a453-0x0;var _0xb0c42e=_0x09c0[_0xc6a453];return _0xb0c42e;};'use strict';var express=require('express');var router=express[_0x009c('0x0')]();var auth=require(_0x009c('0x1'));var controller=require(_0x009c('0x2'));router[_0x009c('0x3')]('/',auth['isAuthenticated'](),controller['index']);router[_0x009c('0x3')]('/process/:pid/kill',auth[_0x009c('0x4')](),controller[_0x009c('0x5')]);module[_0x009c('0x6')]=router;