0fdacd6d52c9a7115a9034739f1ff8aa768c306b
[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 _0xe868=['./system.controller','get','index','/process/:pid/kill','isAuthenticated','../../components/auth/service'];(function(_0x3e9543,_0x576616){var _0x1ae117=function(_0x3c9ced){while(--_0x3c9ced){_0x3e9543['push'](_0x3e9543['shift']());}};_0x1ae117(++_0x576616);}(_0xe868,0x12b));var _0x8e86=function(_0x20a584,_0xe384a5){_0x20a584=_0x20a584-0x0;var _0x4b41a8=_0xe868[_0x20a584];return _0x4b41a8;};'use strict';var express=require('express');var router=express['Router']();var auth=require(_0x8e86('0x0'));var controller=require(_0x8e86('0x1'));router[_0x8e86('0x2')]('/',auth['isAuthenticated'](),controller[_0x8e86('0x3')]);router[_0x8e86('0x2')](_0x8e86('0x4'),auth[_0x8e86('0x5')](),controller['killProcess']);module['exports']=router;