Built motion from commit (unavailable).|2.5.9
[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 _0xe6ad=['./system.controller','get','isAuthenticated','index','killProcess','exports','express','../../components/auth/service'];(function(_0x1acc41,_0x3fd32c){var _0x1434f9=function(_0x210be3){while(--_0x210be3){_0x1acc41['push'](_0x1acc41['shift']());}};_0x1434f9(++_0x3fd32c);}(_0xe6ad,0x12e));var _0xde6a=function(_0x20a584,_0xe384a5){_0x20a584=_0x20a584-0x0;var _0x4b41a8=_0xe6ad[_0x20a584];return _0x4b41a8;};'use strict';var express=require(_0xde6a('0x0'));var router=express['Router']();var auth=require(_0xde6a('0x1'));var controller=require(_0xde6a('0x2'));router[_0xde6a('0x3')]('/',auth[_0xde6a('0x4')](),controller[_0xde6a('0x5')]);router['get']('/process/:pid/kill',auth[_0xde6a('0x4')](),controller[_0xde6a('0x6')]);module[_0xde6a('0x7')]=router;