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 _0x70eb=['../../components/auth/service','./system.controller','isAuthenticated','index','get','killProcess','exports','express','Router'];(function(_0x45d9bb,_0x2c0350){var _0x1a36e9=function(_0x643803){while(--_0x643803){_0x45d9bb['push'](_0x45d9bb['shift']());}};_0x1a36e9(++_0x2c0350);}(_0x70eb,0x16f));var _0xb70e=function(_0x6cf19c,_0x2f3f02){_0x6cf19c=_0x6cf19c-0x0;var _0xce14f3=_0x70eb[_0x6cf19c];return _0xce14f3;};'use strict';var express=require(_0xb70e('0x0'));var router=express[_0xb70e('0x1')]();var auth=require(_0xb70e('0x2'));var controller=require(_0xb70e('0x3'));router['get']('/',auth[_0xb70e('0x4')](),controller[_0xb70e('0x5')]);router[_0xb70e('0x6')]('/process/:pid/kill',auth[_0xb70e('0x4')](),controller[_0xb70e('0x7')]);module[_0xb70e('0x8')]=router;