189a6a7972611159b3043a325d6971076faf69b9
[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 _0x9e81=['index','/process/:pid/kill','exports','Router','../../components/auth/service','./system.controller','get','isAuthenticated'];(function(_0x46c57f,_0x5b28a3){var _0x32d171=function(_0x12c6ff){while(--_0x12c6ff){_0x46c57f['push'](_0x46c57f['shift']());}};_0x32d171(++_0x5b28a3);}(_0x9e81,0x133));var _0x19e8=function(_0x59e815,_0x8c9d72){_0x59e815=_0x59e815-0x0;var _0x16bf37=_0x9e81[_0x59e815];return _0x16bf37;};'use strict';var express=require('express');var router=express[_0x19e8('0x0')]();var auth=require(_0x19e8('0x1'));var controller=require(_0x19e8('0x2'));router[_0x19e8('0x3')]('/',auth[_0x19e8('0x4')](),controller[_0x19e8('0x5')]);router[_0x19e8('0x3')](_0x19e8('0x6'),auth[_0x19e8('0x4')](),controller['killProcess']);module[_0x19e8('0x7')]=router;