Built motion from commit 43538d75.|2.5.35
[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 _0xb537=['express','Router','./system.controller','get','isAuthenticated','index','/process/:pid/kill','killProcess','exports'];(function(_0x2e11a0,_0xe10d31){var _0x4575cd=function(_0x2ac89d){while(--_0x2ac89d){_0x2e11a0['push'](_0x2e11a0['shift']());}};_0x4575cd(++_0xe10d31);}(_0xb537,0x105));var _0x7b53=function(_0x326469,_0x257914){_0x326469=_0x326469-0x0;var _0x18345c=_0xb537[_0x326469];return _0x18345c;};'use strict';var express=require(_0x7b53('0x0'));var router=express[_0x7b53('0x1')]();var auth=require('../../components/auth/service');var controller=require(_0x7b53('0x2'));router[_0x7b53('0x3')]('/',auth[_0x7b53('0x4')](),controller[_0x7b53('0x5')]);router[_0x7b53('0x3')](_0x7b53('0x6'),auth[_0x7b53('0x4')](),controller[_0x7b53('0x7')]);module[_0x7b53('0x8')]=router;