Built motion from commit 9d1906d1.|2.5.40
[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 _0xa8ff=['/process/:pid/kill','killProcess','Router','../../components/auth/service','./system.controller','isAuthenticated','index','get'];(function(_0x460ac2,_0xf95bbd){var _0x24c573=function(_0x5170a2){while(--_0x5170a2){_0x460ac2['push'](_0x460ac2['shift']());}};_0x24c573(++_0xf95bbd);}(_0xa8ff,0x1d2));var _0xfa8f=function(_0x5d6456,_0x58ecc7){_0x5d6456=_0x5d6456-0x0;var _0x4d66c1=_0xa8ff[_0x5d6456];return _0x4d66c1;};'use strict';var express=require('express');var router=express[_0xfa8f('0x0')]();var auth=require(_0xfa8f('0x1'));var controller=require(_0xfa8f('0x2'));router['get']('/',auth[_0xfa8f('0x3')](),controller[_0xfa8f('0x4')]);router[_0xfa8f('0x5')](_0xfa8f('0x6'),auth['isAuthenticated'](),controller[_0xfa8f('0x7')]);module['exports']=router;