da3a7f9927f8b3dec1c80dd303f36dee0924350c
[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 _0x06f7=['Router','../../components/auth/service','./system.controller','get','isAuthenticated','index','killProcess','express'];(function(_0x273422,_0x11abe1){var _0x144440=function(_0x257f41){while(--_0x257f41){_0x273422['push'](_0x273422['shift']());}};_0x144440(++_0x11abe1);}(_0x06f7,0xd7));var _0x706f=function(_0x4f32de,_0x5bd4a){_0x4f32de=_0x4f32de-0x0;var _0x149821=_0x06f7[_0x4f32de];return _0x149821;};'use strict';var express=require(_0x706f('0x0'));var router=express[_0x706f('0x1')]();var auth=require(_0x706f('0x2'));var controller=require(_0x706f('0x3'));router[_0x706f('0x4')]('/',auth[_0x706f('0x5')](),controller[_0x706f('0x6')]);router[_0x706f('0x4')]('/process/:pid/kill',auth[_0x706f('0x5')](),controller[_0x706f('0x7')]);module['exports']=router;