Built motion from commit c1aa34a0.|2.6.28
[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 _0x630a=['Router','../../components/auth/service','./system.controller','get','isAuthenticated','killProcess','exports','express'];(function(_0x13992d,_0x3029ea){var _0x3d15bf=function(_0x3444f7){while(--_0x3444f7){_0x13992d['push'](_0x13992d['shift']());}};_0x3d15bf(++_0x3029ea);}(_0x630a,0x10f));var _0xa630=function(_0x2f3794,_0x3c3bec){_0x2f3794=_0x2f3794-0x0;var _0x1c9fbe=_0x630a[_0x2f3794];return _0x1c9fbe;};'use strict';var express=require(_0xa630('0x0'));var router=express[_0xa630('0x1')]();var auth=require(_0xa630('0x2'));var controller=require(_0xa630('0x3'));router[_0xa630('0x4')]('/',auth[_0xa630('0x5')](),controller['index']);router[_0xa630('0x4')]('/process/:pid/kill',auth[_0xa630('0x5')](),controller[_0xa630('0x6')]);module[_0xa630('0x7')]=router;