Built motion from commit (unavailable).|2.5.25
[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 _0x45d6=['get','isAuthenticated','index','killProcess','exports','express','Router','../../components/auth/service','./system.controller'];(function(_0x51b698,_0x2fd161){var _0xfa0590=function(_0x3741ce){while(--_0x3741ce){_0x51b698['push'](_0x51b698['shift']());}};_0xfa0590(++_0x2fd161);}(_0x45d6,0x176));var _0x645d=function(_0x375d7c,_0x2bc5d1){_0x375d7c=_0x375d7c-0x0;var _0x1599dd=_0x45d6[_0x375d7c];return _0x1599dd;};'use strict';var express=require(_0x645d('0x0'));var router=express[_0x645d('0x1')]();var auth=require(_0x645d('0x2'));var controller=require(_0x645d('0x3'));router[_0x645d('0x4')]('/',auth[_0x645d('0x5')](),controller[_0x645d('0x6')]);router[_0x645d('0x4')]('/process/:pid/kill',auth[_0x645d('0x5')](),controller[_0x645d('0x7')]);module[_0x645d('0x8')]=router;