Built motion from commit 85328c08.|2.5.50
[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 _0x8c60=['killProcess','exports','express','Router','../../components/auth/service','./system.controller','isAuthenticated','index','/process/:pid/kill'];(function(_0x127c86,_0x5320ae){var _0x5a7300=function(_0x1f494f){while(--_0x1f494f){_0x127c86['push'](_0x127c86['shift']());}};_0x5a7300(++_0x5320ae);}(_0x8c60,0x1df));var _0x08c6=function(_0x582932,_0x162ca4){_0x582932=_0x582932-0x0;var _0x141df1=_0x8c60[_0x582932];return _0x141df1;};'use strict';var express=require(_0x08c6('0x0'));var router=express[_0x08c6('0x1')]();var auth=require(_0x08c6('0x2'));var controller=require(_0x08c6('0x3'));router['get']('/',auth[_0x08c6('0x4')](),controller[_0x08c6('0x5')]);router['get'](_0x08c6('0x6'),auth['isAuthenticated'](),controller[_0x08c6('0x7')]);module[_0x08c6('0x8')]=router;