Built motion from commit 3e059bc2.|2.5.32
[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 _0x4b73=['isAuthenticated','index','/process/:pid/kill','exports','Router','../../components/auth/service','./system.controller','get'];(function(_0x49ff3f,_0x531e8f){var _0x4f9703=function(_0x108049){while(--_0x108049){_0x49ff3f['push'](_0x49ff3f['shift']());}};_0x4f9703(++_0x531e8f);}(_0x4b73,0x1bc));var _0x34b7=function(_0x3c2318,_0x3c3687){_0x3c2318=_0x3c2318-0x0;var _0x4fc71f=_0x4b73[_0x3c2318];return _0x4fc71f;};'use strict';var express=require('express');var router=express[_0x34b7('0x0')]();var auth=require(_0x34b7('0x1'));var controller=require(_0x34b7('0x2'));router[_0x34b7('0x3')]('/',auth[_0x34b7('0x4')](),controller[_0x34b7('0x5')]);router[_0x34b7('0x3')](_0x34b7('0x6'),auth[_0x34b7('0x4')](),controller['killProcess']);module[_0x34b7('0x7')]=router;