Built motion from commit 092f8824.|2.5.49
[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 _0x9799=['get','isAuthenticated','/process/:pid/kill','killProcess','exports','express','../../components/auth/service'];(function(_0x1b9563,_0x153971){var _0x1284b3=function(_0x13b034){while(--_0x13b034){_0x1b9563['push'](_0x1b9563['shift']());}};_0x1284b3(++_0x153971);}(_0x9799,0x171));var _0x9979=function(_0x2c52d0,_0x3c034a){_0x2c52d0=_0x2c52d0-0x0;var _0x286eb9=_0x9799[_0x2c52d0];return _0x286eb9;};'use strict';var express=require(_0x9979('0x0'));var router=express['Router']();var auth=require(_0x9979('0x1'));var controller=require('./system.controller');router[_0x9979('0x2')]('/',auth[_0x9979('0x3')](),controller['index']);router[_0x9979('0x2')](_0x9979('0x4'),auth[_0x9979('0x3')](),controller[_0x9979('0x5')]);module[_0x9979('0x6')]=router;