cd60fdb506fc1a770fcdc2606c140b16a2050dcf
[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 _0x16cb=['express','Router','../../components/auth/service','./system.controller','get','/process/:pid/kill','isAuthenticated','killProcess'];(function(_0x20afdc,_0x2c71d5){var _0x590423=function(_0x5855b2){while(--_0x5855b2){_0x20afdc['push'](_0x20afdc['shift']());}};_0x590423(++_0x2c71d5);}(_0x16cb,0xa0));var _0xb16c=function(_0x33479c,_0x266f0b){_0x33479c=_0x33479c-0x0;var _0x1be3e8=_0x16cb[_0x33479c];return _0x1be3e8;};'use strict';var express=require(_0xb16c('0x0'));var router=express[_0xb16c('0x1')]();var auth=require(_0xb16c('0x2'));var controller=require(_0xb16c('0x3'));router[_0xb16c('0x4')]('/',auth['isAuthenticated'](),controller['index']);router[_0xb16c('0x4')](_0xb16c('0x5'),auth[_0xb16c('0x6')](),controller[_0xb16c('0x7')]);module['exports']=router;