1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0x477f=['express','../../components/auth/service','get','index','killProcess','exports'];(function(_0x4966da,_0x30d5d4){var _0x19ebad=function(_0x1a5750){while(--_0x1a5750){_0x4966da['push'](_0x4966da['shift']());}};_0x19ebad(++_0x30d5d4);}(_0x477f,0x8a));var _0xf477=function(_0x323331,_0x31b0aa){_0x323331=_0x323331-0x0;var _0x1b6d86=_0x477f[_0x323331];return _0x1b6d86;};'use strict';var express=require(_0xf477('0x0'));var router=express['Router']();var auth=require(_0xf477('0x1'));var controller=require('./system.controller');router[_0xf477('0x2')]('/',auth['isAuthenticated'](),controller[_0xf477('0x3')]);router[_0xf477('0x2')]('/process/:pid/kill',auth['isAuthenticated'](),controller[_0xf477('0x4')]);module[_0xf477('0x5')]=router;