0e7e9eb63e944d27144c93a4964c394fb9012ba0
[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 _0x6cdd=['../../components/auth/service','./system.controller','index','get','/process/:pid/kill','isAuthenticated','killProcess','express'];(function(_0x2eff1f,_0x35c0cc){var _0x4de64a=function(_0x43a03e){while(--_0x43a03e){_0x2eff1f['push'](_0x2eff1f['shift']());}};_0x4de64a(++_0x35c0cc);}(_0x6cdd,0x1a7));var _0xd6cd=function(_0x53bc8c,_0x59ac9a){_0x53bc8c=_0x53bc8c-0x0;var _0x318950=_0x6cdd[_0x53bc8c];return _0x318950;};'use strict';var express=require(_0xd6cd('0x0'));var router=express['Router']();var auth=require(_0xd6cd('0x1'));var controller=require(_0xd6cd('0x2'));router['get']('/',auth['isAuthenticated'](),controller[_0xd6cd('0x3')]);router[_0xd6cd('0x4')](_0xd6cd('0x5'),auth[_0xd6cd('0x6')](),controller[_0xd6cd('0x7')]);module['exports']=router;