Built motion from commit ffdca78c.|2.6.24
[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 _0x11f7=['index','exports','express','Router','../../components/auth/service','./system.controller','get','isAuthenticated'];(function(_0x308b2b,_0x1440d1){var _0x2b0467=function(_0x471f5e){while(--_0x471f5e){_0x308b2b['push'](_0x308b2b['shift']());}};_0x2b0467(++_0x1440d1);}(_0x11f7,0x1a2));var _0x711f=function(_0x1b42b9,_0x303b2f){_0x1b42b9=_0x1b42b9-0x0;var _0x288f82=_0x11f7[_0x1b42b9];return _0x288f82;};'use strict';var express=require(_0x711f('0x0'));var router=express[_0x711f('0x1')]();var auth=require(_0x711f('0x2'));var controller=require(_0x711f('0x3'));router[_0x711f('0x4')]('/',auth[_0x711f('0x5')](),controller[_0x711f('0x6')]);router[_0x711f('0x4')]('/process/:pid/kill',auth[_0x711f('0x5')](),controller['killProcess']);module[_0x711f('0x7')]=router;