Built motion from commit 497d3d92.|2.5.43
[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 _0x24af=['get','isAuthenticated','index','/process/:pid/kill','express','Router','../../components/auth/service','./system.controller'];(function(_0x3bc6cb,_0x540882){var _0x1d7292=function(_0x46d570){while(--_0x46d570){_0x3bc6cb['push'](_0x3bc6cb['shift']());}};_0x1d7292(++_0x540882);}(_0x24af,0x1cc));var _0xf24a=function(_0x501c32,_0x2f24c9){_0x501c32=_0x501c32-0x0;var _0x9bd372=_0x24af[_0x501c32];return _0x9bd372;};'use strict';var express=require(_0xf24a('0x0'));var router=express[_0xf24a('0x1')]();var auth=require(_0xf24a('0x2'));var controller=require(_0xf24a('0x3'));router[_0xf24a('0x4')]('/',auth[_0xf24a('0x5')](),controller[_0xf24a('0x6')]);router[_0xf24a('0x4')](_0xf24a('0x7'),auth[_0xf24a('0x5')](),controller['killProcess']);module['exports']=router;