Built motion from commit 9e1399f3.|2.5.37
[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 _0x6964=['./system.controller','get','isAuthenticated','index','/process/:pid/kill','exports','express','../../components/auth/service'];(function(_0x42f009,_0x5e27b1){var _0x22a1e0=function(_0x297993){while(--_0x297993){_0x42f009['push'](_0x42f009['shift']());}};_0x22a1e0(++_0x5e27b1);}(_0x6964,0xa6));var _0x4696=function(_0x18ab2a,_0x4debcd){_0x18ab2a=_0x18ab2a-0x0;var _0x16dcee=_0x6964[_0x18ab2a];return _0x16dcee;};'use strict';var express=require(_0x4696('0x0'));var router=express['Router']();var auth=require(_0x4696('0x1'));var controller=require(_0x4696('0x2'));router[_0x4696('0x3')]('/',auth[_0x4696('0x4')](),controller[_0x4696('0x5')]);router[_0x4696('0x3')](_0x4696('0x6'),auth[_0x4696('0x4')](),controller['killProcess']);module[_0x4696('0x7')]=router;