Built motion from commit (unavailable).|2.5.4
[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 _0x9f08=['Router','../../components/auth/service','./system.controller','get','isAuthenticated','killProcess','exports','express'];(function(_0x9cc031,_0x2f0329){var _0x562d51=function(_0x30f12e){while(--_0x30f12e){_0x9cc031['push'](_0x9cc031['shift']());}};_0x562d51(++_0x2f0329);}(_0x9f08,0x8f));var _0x89f0=function(_0x24fa97,_0x4dd6d6){_0x24fa97=_0x24fa97-0x0;var _0x5da551=_0x9f08[_0x24fa97];return _0x5da551;};'use strict';var express=require(_0x89f0('0x0'));var router=express[_0x89f0('0x1')]();var auth=require(_0x89f0('0x2'));var controller=require(_0x89f0('0x3'));router[_0x89f0('0x4')]('/',auth['isAuthenticated'](),controller['index']);router['get']('/process/:pid/kill',auth[_0x89f0('0x5')](),controller[_0x89f0('0x6')]);module[_0x89f0('0x7')]=router;