Built motion from commit 994c64e1.|2.6.1
[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 _0x8053=['/process/:pid/kill','exports','express','../../components/auth/service','./system.controller','get','isAuthenticated','index'];(function(_0x40bffc,_0x3a45d7){var _0x3007e9=function(_0x4c8fda){while(--_0x4c8fda){_0x40bffc['push'](_0x40bffc['shift']());}};_0x3007e9(++_0x3a45d7);}(_0x8053,0x1b2));var _0x3805=function(_0x43a1b8,_0x1c90c8){_0x43a1b8=_0x43a1b8-0x0;var _0x324ecc=_0x8053[_0x43a1b8];return _0x324ecc;};'use strict';var express=require(_0x3805('0x0'));var router=express['Router']();var auth=require(_0x3805('0x1'));var controller=require(_0x3805('0x2'));router[_0x3805('0x3')]('/',auth[_0x3805('0x4')](),controller[_0x3805('0x5')]);router[_0x3805('0x3')](_0x3805('0x6'),auth['isAuthenticated'](),controller['killProcess']);module[_0x3805('0x7')]=router;