Built motion from commit (unavailable).|2.2.0
[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 _0xbd7a=['isAuthenticated','killProcess','exports','express','Router','../../components/auth/service','./system.controller','get'];(function(_0x1f71d8,_0x278518){var _0x10b045=function(_0x57aea4){while(--_0x57aea4){_0x1f71d8['push'](_0x1f71d8['shift']());}};_0x10b045(++_0x278518);}(_0xbd7a,0x8b));var _0xabd7=function(_0x5eb868,_0x3edfb0){_0x5eb868=_0x5eb868-0x0;var _0x278458=_0xbd7a[_0x5eb868];return _0x278458;};'use strict';var express=require(_0xabd7('0x0'));var router=express[_0xabd7('0x1')]();var auth=require(_0xabd7('0x2'));var controller=require(_0xabd7('0x3'));router[_0xabd7('0x4')]('/',auth[_0xabd7('0x5')](),controller['index']);router[_0xabd7('0x4')]('/process/:pid/kill',auth[_0xabd7('0x5')](),controller[_0xabd7('0x6')]);module[_0xabd7('0x7')]=router;