Built motion from commit 47436d59.|2.6.7
[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 _0xf532=['isAuthenticated','index','killProcess','exports','../../components/auth/service','get'];(function(_0x164635,_0x5c244e){var _0x33155a=function(_0x435d0f){while(--_0x435d0f){_0x164635['push'](_0x164635['shift']());}};_0x33155a(++_0x5c244e);}(_0xf532,0x178));var _0x2f53=function(_0x50cb5c,_0x377a47){_0x50cb5c=_0x50cb5c-0x0;var _0x361ad4=_0xf532[_0x50cb5c];return _0x361ad4;};'use strict';var express=require('express');var router=express['Router']();var auth=require(_0x2f53('0x0'));var controller=require('./system.controller');router[_0x2f53('0x1')]('/',auth[_0x2f53('0x2')](),controller[_0x2f53('0x3')]);router[_0x2f53('0x1')]('/process/:pid/kill',auth[_0x2f53('0x2')](),controller[_0x2f53('0x4')]);module[_0x2f53('0x5')]=router;