Built motion from commit (unavailable).|2.5.31
[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 _0xcc99=['express','Router','./system.controller','get','index','/process/:pid/kill','isAuthenticated','exports'];(function(_0x30ade5,_0xe48d07){var _0x365b2f=function(_0x43a14d){while(--_0x43a14d){_0x30ade5['push'](_0x30ade5['shift']());}};_0x365b2f(++_0xe48d07);}(_0xcc99,0x168));var _0x9cc9=function(_0x21e886,_0x20dcd2){_0x21e886=_0x21e886-0x0;var _0x5c5b67=_0xcc99[_0x21e886];return _0x5c5b67;};'use strict';var express=require(_0x9cc9('0x0'));var router=express[_0x9cc9('0x1')]();var auth=require('../../components/auth/service');var controller=require(_0x9cc9('0x2'));router[_0x9cc9('0x3')]('/',auth['isAuthenticated'](),controller[_0x9cc9('0x4')]);router[_0x9cc9('0x3')](_0x9cc9('0x5'),auth[_0x9cc9('0x6')](),controller['killProcess']);module[_0x9cc9('0x7')]=router;