Built motion from commit c116dc8b.|2.6.30
[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 _0x60af=['Router','../../components/auth/service','./system.controller','isAuthenticated','get','/process/:pid/kill','killProcess','exports','express'];(function(_0x2cee7f,_0x401e47){var _0x2a739b=function(_0x534cd2){while(--_0x534cd2){_0x2cee7f['push'](_0x2cee7f['shift']());}};_0x2a739b(++_0x401e47);}(_0x60af,0x170));var _0xf60a=function(_0xc4a608,_0x45fecd){_0xc4a608=_0xc4a608-0x0;var _0x5e2730=_0x60af[_0xc4a608];return _0x5e2730;};'use strict';var express=require(_0xf60a('0x0'));var router=express[_0xf60a('0x1')]();var auth=require(_0xf60a('0x2'));var controller=require(_0xf60a('0x3'));router['get']('/',auth[_0xf60a('0x4')](),controller['index']);router[_0xf60a('0x5')](_0xf60a('0x6'),auth[_0xf60a('0x4')](),controller[_0xf60a('0x7')]);module[_0xf60a('0x8')]=router;