Built motion from commit (unavailable).|2.5.8
[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 _0x87bc=['./system.controller','index','/process/:pid/kill','express','Router'];(function(_0x88fece,_0x3c50e1){var _0x121099=function(_0x3fb5d2){while(--_0x3fb5d2){_0x88fece['push'](_0x88fece['shift']());}};_0x121099(++_0x3c50e1);}(_0x87bc,0x189));var _0xc87b=function(_0x4bc526,_0x1571b6){_0x4bc526=_0x4bc526-0x0;var _0x11627d=_0x87bc[_0x4bc526];return _0x11627d;};'use strict';var express=require(_0xc87b('0x0'));var router=express[_0xc87b('0x1')]();var auth=require('../../components/auth/service');var controller=require(_0xc87b('0x2'));router['get']('/',auth['isAuthenticated'](),controller[_0xc87b('0x3')]);router['get'](_0xc87b('0x4'),auth['isAuthenticated'](),controller['killProcess']);module['exports']=router;