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 _0x152f=['get','index','isAuthenticated','killProcess','exports','Router','../../components/auth/service','./system.controller'];(function(_0x4629ed,_0x59ef85){var _0x52ca04=function(_0x59dc63){while(--_0x59dc63){_0x4629ed['push'](_0x4629ed['shift']());}};_0x52ca04(++_0x59ef85);}(_0x152f,0xed));var _0xf152=function(_0x40bffc,_0x3a45d7){_0x40bffc=_0x40bffc-0x0;var _0x3007e9=_0x152f[_0x40bffc];return _0x3007e9;};'use strict';var express=require('express');var router=express[_0xf152('0x0')]();var auth=require(_0xf152('0x1'));var controller=require(_0xf152('0x2'));router[_0xf152('0x3')]('/',auth['isAuthenticated'](),controller[_0xf152('0x4')]);router['get']('/process/:pid/kill',auth[_0xf152('0x5')](),controller[_0xf152('0x6')]);module[_0xf152('0x7')]=router;