Built motion from commit fe909640.|2.6.8
[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 _0x645c=['get','index','/process/:pid/kill','isAuthenticated','exports','express','../../components/auth/service','./system.controller'];(function(_0x295470,_0x2ee9d0){var _0x3cf690=function(_0x242bc0){while(--_0x242bc0){_0x295470['push'](_0x295470['shift']());}};_0x3cf690(++_0x2ee9d0);}(_0x645c,0xd5));var _0xc645=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x645c[_0x3dd15e];return _0x231fd0;};'use strict';var express=require(_0xc645('0x0'));var router=express['Router']();var auth=require(_0xc645('0x1'));var controller=require(_0xc645('0x2'));router[_0xc645('0x3')]('/',auth['isAuthenticated'](),controller[_0xc645('0x4')]);router[_0xc645('0x3')](_0xc645('0x5'),auth[_0xc645('0x6')](),controller['killProcess']);module[_0xc645('0x7')]=router;