a24c3340c96c56463e137d2dde1a6787a703efe9
[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 _0x8503=['isAuthenticated','express','Router','../../components/auth/service','get','index','/process/:pid/kill'];(function(_0x24c22a,_0x3c534b){var _0x3b56b2=function(_0x589744){while(--_0x589744){_0x24c22a['push'](_0x24c22a['shift']());}};_0x3b56b2(++_0x3c534b);}(_0x8503,0x104));var _0x3850=function(_0x1ac595,_0x5d2081){_0x1ac595=_0x1ac595-0x0;var _0x455fff=_0x8503[_0x1ac595];return _0x455fff;};'use strict';var express=require(_0x3850('0x0'));var router=express[_0x3850('0x1')]();var auth=require(_0x3850('0x2'));var controller=require('./system.controller');router[_0x3850('0x3')]('/',auth['isAuthenticated'](),controller[_0x3850('0x4')]);router['get'](_0x3850('0x5'),auth[_0x3850('0x6')](),controller['killProcess']);module['exports']=router;