2439da60a4fc83fe940044cc373241b0ab5e1b5c
[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 _0x539d=['killProcess','express','Router','../../components/auth/service','./system.controller','get','isAuthenticated','/process/:pid/kill'];(function(_0x5b5cde,_0x1f7c5f){var _0x364ad2=function(_0x4a1172){while(--_0x4a1172){_0x5b5cde['push'](_0x5b5cde['shift']());}};_0x364ad2(++_0x1f7c5f);}(_0x539d,0xc9));var _0xd539=function(_0xdb0cc5,_0x33653a){_0xdb0cc5=_0xdb0cc5-0x0;var _0x153aa=_0x539d[_0xdb0cc5];return _0x153aa;};'use strict';var express=require(_0xd539('0x0'));var router=express[_0xd539('0x1')]();var auth=require(_0xd539('0x2'));var controller=require(_0xd539('0x3'));router[_0xd539('0x4')]('/',auth[_0xd539('0x5')](),controller['index']);router[_0xd539('0x4')](_0xd539('0x6'),auth[_0xd539('0x5')](),controller[_0xd539('0x7')]);module['exports']=router;