Built motion from commit (unavailable).|2.5.30
[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 _0xfa34=['/process/:pid/kill','isAuthenticated','killProcess','exports','Router','../../components/auth/service','./system.controller','index','get'];(function(_0x5d9867,_0x5e9030){var _0x7d2118=function(_0x2e5149){while(--_0x2e5149){_0x5d9867['push'](_0x5d9867['shift']());}};_0x7d2118(++_0x5e9030);}(_0xfa34,0x151));var _0x4fa3=function(_0x1f9f5f,_0x509fb7){_0x1f9f5f=_0x1f9f5f-0x0;var _0x51d649=_0xfa34[_0x1f9f5f];return _0x51d649;};'use strict';var express=require('express');var router=express[_0x4fa3('0x0')]();var auth=require(_0x4fa3('0x1'));var controller=require(_0x4fa3('0x2'));router['get']('/',auth['isAuthenticated'](),controller[_0x4fa3('0x3')]);router[_0x4fa3('0x4')](_0x4fa3('0x5'),auth[_0x4fa3('0x6')](),controller[_0x4fa3('0x7')]);module[_0x4fa3('0x8')]=router;