Built motion from commit (unavailable).|2.3.1
[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 _0x5007=['get','index','isAuthenticated','killProcess','exports','express','Router','../../components/auth/service','./system.controller'];(function(_0x6dda45,_0x132e99){var _0x3e8915=function(_0x2e7395){while(--_0x2e7395){_0x6dda45['push'](_0x6dda45['shift']());}};_0x3e8915(++_0x132e99);}(_0x5007,0xcb));var _0x7500=function(_0x4c9f24,_0x3caf4f){_0x4c9f24=_0x4c9f24-0x0;var _0x35391d=_0x5007[_0x4c9f24];return _0x35391d;};'use strict';var express=require(_0x7500('0x0'));var router=express[_0x7500('0x1')]();var auth=require(_0x7500('0x2'));var controller=require(_0x7500('0x3'));router[_0x7500('0x4')]('/',auth['isAuthenticated'](),controller[_0x7500('0x5')]);router[_0x7500('0x4')]('/process/:pid/kill',auth[_0x7500('0x6')](),controller[_0x7500('0x7')]);module[_0x7500('0x8')]=router;