@rebornteam/reborn-api 2.5.1 → 2.6.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +20 -4
- package/README.md +32 -12
- package/api.ts +1372 -357
- package/base.ts +2 -2
- package/common.ts +2 -2
- package/configuration.ts +2 -2
- package/dist/api.d.ts +795 -176
- package/dist/api.js +954 -268
- package/dist/base.d.ts +2 -2
- package/dist/base.js +2 -2
- package/dist/common.d.ts +2 -2
- package/dist/common.js +2 -2
- package/dist/configuration.d.ts +2 -2
- package/dist/configuration.js +2 -2
- package/dist/esm/api.d.ts +795 -176
- package/dist/esm/api.js +917 -243
- package/dist/esm/base.d.ts +2 -2
- package/dist/esm/base.js +2 -2
- package/dist/esm/common.d.ts +2 -2
- package/dist/esm/common.js +2 -2
- package/dist/esm/configuration.d.ts +2 -2
- package/dist/esm/configuration.js +2 -2
- package/dist/esm/index.d.ts +2 -2
- package/dist/esm/index.js +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/docs/AdminApplyPunishmentRequest.md +33 -0
- package/docs/AdminApplyPunishmentResponse.md +21 -0
- package/docs/AdminApplyPunishmentResult.md +33 -0
- package/docs/AdminClientCredentialResponse.md +2 -0
- package/docs/AdminClientCredentialsApi.md +17 -17
- package/docs/AdminConnectionsApi.md +70 -4
- package/docs/AdminCreatePunishmentDraftRequest.md +31 -0
- package/docs/AdminDashboardApi.md +2 -2
- package/docs/AdminIpSearchResult.md +23 -0
- package/docs/AdminPagedConnectionResponse.md +29 -0
- package/docs/AdminPagedPlayerResponse.md +29 -0
- package/docs/AdminPagedPunishmentResponse.md +29 -0
- package/docs/AdminPlayerDetailResponse.md +37 -0
- package/docs/AdminPlayerSearchResult.md +23 -0
- package/docs/AdminPlayerSummary.md +35 -0
- package/docs/AdminPlayersApi.md +122 -0
- package/docs/AdminPunishmentDraftResponse.md +21 -0
- package/docs/AdminPunishmentEvaluation.md +39 -0
- package/docs/AdminPunishmentListItem.md +42 -0
- package/docs/AdminPunishmentSearchResponse.md +25 -0
- package/docs/AdminPunishmentTarget.md +23 -0
- package/docs/AdminPunishmentsApi.md +248 -0
- package/docs/AdminUsernameHistoryEntry.md +23 -0
- package/docs/ClientCredentialRequest.md +2 -0
- package/docs/ConnectionApi.md +1 -1
- package/docs/DefaultApi.md +105 -0
- package/docs/PlayerApi.md +5 -5
- package/docs/PunishmentApi.md +8 -114
- package/docs/PunishmentGetPunishmentResponse.md +5 -3
- package/index.ts +2 -2
- package/package.json +2 -2
- package/docs/ApplyPunishmentRequest.md +0 -31
- package/docs/ApplyPunishmentResponse.md +0 -33
- package/docs/CreatePunishmentDraftRequest.md +0 -29
- package/docs/PunishmentDraftResponse.md +0 -39
package/.openapi-generator/FILES
CHANGED
|
@@ -6,24 +6,40 @@ api.ts
|
|
|
6
6
|
base.ts
|
|
7
7
|
common.ts
|
|
8
8
|
configuration.ts
|
|
9
|
+
docs/AdminApplyPunishmentRequest.md
|
|
10
|
+
docs/AdminApplyPunishmentResponse.md
|
|
11
|
+
docs/AdminApplyPunishmentResult.md
|
|
9
12
|
docs/AdminClientCredentialResponse.md
|
|
10
13
|
docs/AdminClientCredentialsApi.md
|
|
11
14
|
docs/AdminConnectionBypassResponse.md
|
|
12
15
|
docs/AdminConnectionsApi.md
|
|
16
|
+
docs/AdminCreatePunishmentDraftRequest.md
|
|
13
17
|
docs/AdminDashboardApi.md
|
|
14
18
|
docs/AdminDashboardConnectionResponse.md
|
|
15
19
|
docs/AdminGetDashboardStats.md
|
|
16
|
-
docs/
|
|
17
|
-
docs/
|
|
20
|
+
docs/AdminIpSearchResult.md
|
|
21
|
+
docs/AdminPagedConnectionResponse.md
|
|
22
|
+
docs/AdminPagedPlayerResponse.md
|
|
23
|
+
docs/AdminPagedPunishmentResponse.md
|
|
24
|
+
docs/AdminPlayerDetailResponse.md
|
|
25
|
+
docs/AdminPlayerSearchResult.md
|
|
26
|
+
docs/AdminPlayerSummary.md
|
|
27
|
+
docs/AdminPlayersApi.md
|
|
28
|
+
docs/AdminPunishmentDraftResponse.md
|
|
29
|
+
docs/AdminPunishmentEvaluation.md
|
|
30
|
+
docs/AdminPunishmentListItem.md
|
|
31
|
+
docs/AdminPunishmentSearchResponse.md
|
|
32
|
+
docs/AdminPunishmentTarget.md
|
|
33
|
+
docs/AdminPunishmentsApi.md
|
|
34
|
+
docs/AdminUsernameHistoryEntry.md
|
|
18
35
|
docs/ClientCredentialRequest.md
|
|
19
36
|
docs/ConnectionApi.md
|
|
20
37
|
docs/ConnectionGetConnectionDetailsResponse.md
|
|
21
38
|
docs/CreateBypassRequest.md
|
|
22
|
-
docs/
|
|
39
|
+
docs/DefaultApi.md
|
|
23
40
|
docs/PlayerApi.md
|
|
24
41
|
docs/PlayerGetPlayerInformation.md
|
|
25
42
|
docs/PunishmentApi.md
|
|
26
|
-
docs/PunishmentDraftResponse.md
|
|
27
43
|
docs/PunishmentGetPunishmentResponse.md
|
|
28
44
|
docs/PunishmentSeveritiesResponse.md
|
|
29
45
|
docs/PunishmentSeveritiesResponsePunishmentTypeInfo.md
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @rebornteam/reborn-api@2.
|
|
1
|
+
## @rebornteam/reborn-api@2.6.4
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @rebornteam/reborn-api@2.
|
|
39
|
+
npm install @rebornteam/reborn-api@2.6.4 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -59,32 +59,52 @@ Class | Method | HTTP request | Description
|
|
|
59
59
|
*AdminClientCredentialsApi* | [**rotateToken**](docs/AdminClientCredentialsApi.md#rotatetoken) | **POST** /admin/client/{id}/rotate | Rotate client credentials
|
|
60
60
|
*AdminClientCredentialsApi* | [**updateClient**](docs/AdminClientCredentialsApi.md#updateclient) | **PUT** /admin/client/{id} | Update client metadata
|
|
61
61
|
*AdminConnectionsApi* | [**createBypass**](docs/AdminConnectionsApi.md#createbypass) | **POST** /admin/connection/bypass | Create connection bypass
|
|
62
|
+
*AdminConnectionsApi* | [**listAllConnections**](docs/AdminConnectionsApi.md#listallconnections) | **GET** /admin/connection | List all connections (paginated)
|
|
62
63
|
*AdminConnectionsApi* | [**listConnections**](docs/AdminConnectionsApi.md#listconnections) | **GET** /admin/connection/recent | List recent connections
|
|
63
64
|
*AdminDashboardApi* | [**dashboardStats**](docs/AdminDashboardApi.md#dashboardstats) | **GET** /admin/dashboard | Get dashboard statistics
|
|
65
|
+
*AdminPlayersApi* | [**getPlayer**](docs/AdminPlayersApi.md#getplayer) | **GET** /admin/player/{uuid} | Get player detail
|
|
66
|
+
*AdminPlayersApi* | [**listPlayers**](docs/AdminPlayersApi.md#listplayers) | **GET** /admin/player | List players
|
|
67
|
+
*AdminPunishmentsApi* | [**applyPunishment**](docs/AdminPunishmentsApi.md#applypunishment) | **POST** /admin/punishment/apply | Apply punishment
|
|
68
|
+
*AdminPunishmentsApi* | [**createDraft**](docs/AdminPunishmentsApi.md#createdraft) | **POST** /admin/punishment/draft | Evaluate punishment impact
|
|
69
|
+
*AdminPunishmentsApi* | [**getPunishments**](docs/AdminPunishmentsApi.md#getpunishments) | **GET** /admin/punishment | List punishments
|
|
70
|
+
*AdminPunishmentsApi* | [**searchTargets**](docs/AdminPunishmentsApi.md#searchtargets) | **GET** /admin/punishment/search | Search punishment targets
|
|
64
71
|
*ConnectionApi* | [**getConnectionDetails**](docs/ConnectionApi.md#getconnectiondetails) | **GET** /v1/connection/get-connection-details/{ip} | Check Connection and Detect VPN/Proxy
|
|
65
|
-
*
|
|
66
|
-
*
|
|
67
|
-
*
|
|
72
|
+
*DefaultApi* | [**callback**](docs/DefaultApi.md#callback) | **GET** /auth/discord/callback |
|
|
73
|
+
*DefaultApi* | [**initiateLogin**](docs/DefaultApi.md#initiatelogin) | **GET** /auth/discord |
|
|
74
|
+
*PlayerApi* | [**getPlayer1**](docs/PlayerApi.md#getplayer1) | **GET** /v1/player/{uuid} | Get Player Information
|
|
68
75
|
*PunishmentApi* | [**getPunishmentSeverities**](docs/PunishmentApi.md#getpunishmentseverities) | **GET** /v1/punishment/severities | Get punishment severities
|
|
69
|
-
*PunishmentApi* | [**
|
|
76
|
+
*PunishmentApi* | [**getPunishments1**](docs/PunishmentApi.md#getpunishments1) | **GET** /v1/punishment | Get punishments by player
|
|
70
77
|
*PunishmentApi* | [**getPunishmentsByIp**](docs/PunishmentApi.md#getpunishmentsbyip) | **GET** /v1/punishment/ip | Get punishments by IP address
|
|
71
78
|
*PunishmentApi* | [**getRecentPunishments**](docs/PunishmentApi.md#getrecentpunishments) | **GET** /v1/punishment/recent | List recent punishments
|
|
72
79
|
|
|
73
80
|
|
|
74
81
|
### Documentation For Models
|
|
75
82
|
|
|
83
|
+
- [AdminApplyPunishmentRequest](docs/AdminApplyPunishmentRequest.md)
|
|
84
|
+
- [AdminApplyPunishmentResponse](docs/AdminApplyPunishmentResponse.md)
|
|
85
|
+
- [AdminApplyPunishmentResult](docs/AdminApplyPunishmentResult.md)
|
|
76
86
|
- [AdminClientCredentialResponse](docs/AdminClientCredentialResponse.md)
|
|
77
87
|
- [AdminConnectionBypassResponse](docs/AdminConnectionBypassResponse.md)
|
|
88
|
+
- [AdminCreatePunishmentDraftRequest](docs/AdminCreatePunishmentDraftRequest.md)
|
|
78
89
|
- [AdminDashboardConnectionResponse](docs/AdminDashboardConnectionResponse.md)
|
|
79
90
|
- [AdminGetDashboardStats](docs/AdminGetDashboardStats.md)
|
|
80
|
-
- [
|
|
81
|
-
- [
|
|
91
|
+
- [AdminIpSearchResult](docs/AdminIpSearchResult.md)
|
|
92
|
+
- [AdminPagedConnectionResponse](docs/AdminPagedConnectionResponse.md)
|
|
93
|
+
- [AdminPagedPlayerResponse](docs/AdminPagedPlayerResponse.md)
|
|
94
|
+
- [AdminPagedPunishmentResponse](docs/AdminPagedPunishmentResponse.md)
|
|
95
|
+
- [AdminPlayerDetailResponse](docs/AdminPlayerDetailResponse.md)
|
|
96
|
+
- [AdminPlayerSearchResult](docs/AdminPlayerSearchResult.md)
|
|
97
|
+
- [AdminPlayerSummary](docs/AdminPlayerSummary.md)
|
|
98
|
+
- [AdminPunishmentDraftResponse](docs/AdminPunishmentDraftResponse.md)
|
|
99
|
+
- [AdminPunishmentEvaluation](docs/AdminPunishmentEvaluation.md)
|
|
100
|
+
- [AdminPunishmentListItem](docs/AdminPunishmentListItem.md)
|
|
101
|
+
- [AdminPunishmentSearchResponse](docs/AdminPunishmentSearchResponse.md)
|
|
102
|
+
- [AdminPunishmentTarget](docs/AdminPunishmentTarget.md)
|
|
103
|
+
- [AdminUsernameHistoryEntry](docs/AdminUsernameHistoryEntry.md)
|
|
82
104
|
- [ClientCredentialRequest](docs/ClientCredentialRequest.md)
|
|
83
105
|
- [ConnectionGetConnectionDetailsResponse](docs/ConnectionGetConnectionDetailsResponse.md)
|
|
84
106
|
- [CreateBypassRequest](docs/CreateBypassRequest.md)
|
|
85
|
-
- [CreatePunishmentDraftRequest](docs/CreatePunishmentDraftRequest.md)
|
|
86
107
|
- [PlayerGetPlayerInformation](docs/PlayerGetPlayerInformation.md)
|
|
87
|
-
- [PunishmentDraftResponse](docs/PunishmentDraftResponse.md)
|
|
88
108
|
- [PunishmentGetPunishmentResponse](docs/PunishmentGetPunishmentResponse.md)
|
|
89
109
|
- [PunishmentSeveritiesResponse](docs/PunishmentSeveritiesResponse.md)
|
|
90
110
|
- [PunishmentSeveritiesResponsePunishmentTypeInfo](docs/PunishmentSeveritiesResponsePunishmentTypeInfo.md)
|
|
@@ -97,8 +117,8 @@ Class | Method | HTTP request | Description
|
|
|
97
117
|
|
|
98
118
|
|
|
99
119
|
Authentication schemes defined for the API:
|
|
100
|
-
<a id="
|
|
101
|
-
###
|
|
120
|
+
<a id="DiscordAuth"></a>
|
|
121
|
+
### DiscordAuth
|
|
102
122
|
|
|
103
123
|
- **Type**: Bearer authentication (JWT)
|
|
104
124
|
|