31c1a160b7570c3d5ad59c22360f320541cd0420
[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 _0xc893=['get','/process/:pid/kill','killProcess','exports','Router','../../components/auth/service','isAuthenticated','index'];(function(_0x20e004,_0x11b747){var _0x88b595=function(_0x212443){while(--_0x212443){_0x20e004['push'](_0x20e004['shift']());}};_0x88b595(++_0x11b747);}(_0xc893,0x194));var _0x3c89=function(_0x332243,_0x46bb0f){_0x332243=_0x332243-0x0;var _0xff4256=_0xc893[_0x332243];return _0xff4256;};'use strict';var express=require('express');var router=express[_0x3c89('0x0')]();var auth=require(_0x3c89('0x1'));var controller=require('./system.controller');router['get']('/',auth[_0x3c89('0x2')](),controller[_0x3c89('0x3')]);router[_0x3c89('0x4')](_0x3c89('0x5'),auth[_0x3c89('0x2')](),controller[_0x3c89('0x6')]);module[_0x3c89('0x7')]=router;