f9a46c88a42d4b1d7a14836b0a7ecc67e56f6810
[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 _0x0127=['killProcess','./system.controller','get','isAuthenticated','/process/:pid/kill'];(function(_0xe9d735,_0x57608d){var _0x352df1=function(_0x3f2047){while(--_0x3f2047){_0xe9d735['push'](_0xe9d735['shift']());}};_0x352df1(++_0x57608d);}(_0x0127,0x1e1));var _0x7012=function(_0x2871b7,_0x1633d2){_0x2871b7=_0x2871b7-0x0;var _0x2442f2=_0x0127[_0x2871b7];return _0x2442f2;};'use strict';var express=require('express');var router=express['Router']();var auth=require('../../components/auth/service');var controller=require(_0x7012('0x0'));router[_0x7012('0x1')]('/',auth[_0x7012('0x2')](),controller['index']);router['get'](_0x7012('0x3'),auth['isAuthenticated'](),controller[_0x7012('0x4')]);module['exports']=router;