Built motion from commit b0a9a629.|2.6.33
[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 _0xfb1f=['get','isAuthenticated','index','exports','express','Router','../../components/auth/service','./system.controller'];(function(_0x4c98b9,_0x1ad11b){var _0x3a257a=function(_0x147857){while(--_0x147857){_0x4c98b9['push'](_0x4c98b9['shift']());}};_0x3a257a(++_0x1ad11b);}(_0xfb1f,0x184));var _0xffb1=function(_0x2d471e,_0x22476c){_0x2d471e=_0x2d471e-0x0;var _0x3be630=_0xfb1f[_0x2d471e];return _0x3be630;};'use strict';var express=require(_0xffb1('0x0'));var router=express[_0xffb1('0x1')]();var auth=require(_0xffb1('0x2'));var controller=require(_0xffb1('0x3'));router[_0xffb1('0x4')]('/',auth[_0xffb1('0x5')](),controller[_0xffb1('0x6')]);router[_0xffb1('0x4')]('/process/:pid/kill',auth[_0xffb1('0x5')](),controller['killProcess']);module[_0xffb1('0x7')]=router;