@rebornteam/reborn-api 3.1.0 → 3.2.0
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/README.md +2 -2
- package/api.ts +103 -95
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +103 -95
- package/dist/api.js +1 -1
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +103 -95
- package/dist/esm/api.js +1 -1
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/AdminApplyPunishmentRequest.md +2 -2
- package/docs/AdminApplyPunishmentResponse.md +1 -1
- package/docs/AdminApplyPunishmentResult.md +6 -6
- package/docs/AdminClientCredentialResponse.md +6 -6
- package/docs/AdminConnectionBypassResponse.md +4 -4
- package/docs/AdminConnectionCheckResult.md +7 -3
- package/docs/AdminCreatePunishmentDraftRequest.md +2 -2
- package/docs/AdminDashboardConnectionResponse.md +2 -2
- package/docs/AdminIpSearchResult.md +2 -2
- package/docs/AdminPagedConnectionResponse.md +5 -5
- package/docs/AdminPagedPlayerResponse.md +5 -5
- package/docs/AdminPagedPunishmentResponse.md +5 -5
- package/docs/AdminPlayerDetailResponse.md +7 -7
- package/docs/AdminPlayerSearchResult.md +1 -1
- package/docs/AdminPlayerSummary.md +6 -6
- package/docs/AdminPunishmentDraftResponse.md +1 -1
- package/docs/AdminPunishmentEvaluation.md +9 -9
- package/docs/AdminPunishmentSearchResponse.md +3 -3
- package/docs/AdminUsernameHistoryEntry.md +2 -2
- package/docs/ConnectionGetConnectionDetailsResponse.md +7 -7
- package/docs/PlayerGetPlayerInformation.md +4 -4
- package/docs/PunishmentGetPunishmentResponse.md +6 -6
- package/docs/PunishmentSeveritiesResponse.md +1 -1
- package/docs/PunishmentSeveritiesResponsePunishmentTypeInfo.md +2 -2
- package/docs/PunishmentSeveritiesResponseSeverityInfo.md +2 -2
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Reborn API
|
|
3
3
|
* The Reborn API serves as the central backend for the platform, orchestrating secure communication between game clients and data services. This API supports two authentication methods: - **OAuth 2.0 Client Credentials**: For programmatic API access - **Discord SSO Bearer Token**: For admin endpoints requiring Discord authentication
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.
|
|
5
|
+
* The version of the OpenAPI document: 3.2.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -28,7 +28,7 @@ export interface AdminApplyPunishmentRequest {
|
|
|
28
28
|
/**
|
|
29
29
|
* Severity level: 1=Minor, 2=Moderate, 3=Severe, 4=Critical
|
|
30
30
|
*/
|
|
31
|
-
'severity'
|
|
31
|
+
'severity': number;
|
|
32
32
|
/**
|
|
33
33
|
* Reason for the punishment
|
|
34
34
|
*/
|
|
@@ -40,7 +40,7 @@ export interface AdminApplyPunishmentRequest {
|
|
|
40
40
|
/**
|
|
41
41
|
* Force the punishment to be permanent regardless of the target\'s current score
|
|
42
42
|
*/
|
|
43
|
-
'forcePermanent'
|
|
43
|
+
'forcePermanent': boolean;
|
|
44
44
|
/**
|
|
45
45
|
* Internal notes visible only to administrators — not shown to the punished player
|
|
46
46
|
*/
|
|
@@ -53,7 +53,7 @@ export interface AdminApplyPunishmentResponse {
|
|
|
53
53
|
/**
|
|
54
54
|
* Ordered list of results, one per target in the request
|
|
55
55
|
*/
|
|
56
|
-
'results'
|
|
56
|
+
'results': Array<AdminApplyPunishmentResult>;
|
|
57
57
|
}
|
|
58
58
|
/**
|
|
59
59
|
* Result of applying a punishment to a single target
|
|
@@ -62,27 +62,27 @@ export interface AdminApplyPunishmentResult {
|
|
|
62
62
|
/**
|
|
63
63
|
* The target this result applies to
|
|
64
64
|
*/
|
|
65
|
-
'target'
|
|
65
|
+
'target': AdminPunishmentTarget;
|
|
66
66
|
/**
|
|
67
67
|
* ID of the created punishment record
|
|
68
68
|
*/
|
|
69
|
-
'punishmentId'
|
|
69
|
+
'punishmentId': number;
|
|
70
70
|
/**
|
|
71
71
|
* Punishment type applied
|
|
72
72
|
*/
|
|
73
|
-
'type'
|
|
73
|
+
'type': PunishmentType;
|
|
74
74
|
/**
|
|
75
75
|
* Severity level applied
|
|
76
76
|
*/
|
|
77
|
-
'severity'
|
|
77
|
+
'severity': number;
|
|
78
78
|
/**
|
|
79
79
|
* Updated punishment score after applying
|
|
80
80
|
*/
|
|
81
|
-
'newScore'
|
|
81
|
+
'newScore': number;
|
|
82
82
|
/**
|
|
83
83
|
* Whether the punishment was made permanent
|
|
84
84
|
*/
|
|
85
|
-
'isPermanent'
|
|
85
|
+
'isPermanent': boolean;
|
|
86
86
|
/**
|
|
87
87
|
* When the punishment expires — null if permanent or a WARNING
|
|
88
88
|
*/
|
|
@@ -95,11 +95,11 @@ export interface AdminClientCredentialResponse {
|
|
|
95
95
|
/**
|
|
96
96
|
* Unique identifier for the client credential
|
|
97
97
|
*/
|
|
98
|
-
'id'
|
|
98
|
+
'id': number;
|
|
99
99
|
/**
|
|
100
100
|
* Client ID used for authentication
|
|
101
101
|
*/
|
|
102
|
-
'clientId'
|
|
102
|
+
'clientId': string;
|
|
103
103
|
/**
|
|
104
104
|
* Client secret (only returned on generation/rotation, null otherwise)
|
|
105
105
|
*/
|
|
@@ -107,19 +107,19 @@ export interface AdminClientCredentialResponse {
|
|
|
107
107
|
/**
|
|
108
108
|
* Human-readable name for the client
|
|
109
109
|
*/
|
|
110
|
-
'name'
|
|
110
|
+
'name': string;
|
|
111
111
|
/**
|
|
112
112
|
* Optional description of the client\'s purpose
|
|
113
113
|
*/
|
|
114
|
-
'description'
|
|
114
|
+
'description': string;
|
|
115
115
|
/**
|
|
116
116
|
* Whether the client credential is currently enabled
|
|
117
117
|
*/
|
|
118
|
-
'enabled'
|
|
118
|
+
'enabled': boolean;
|
|
119
119
|
/**
|
|
120
120
|
* Timestamp when the credential was created (ISO-8601 format)
|
|
121
121
|
*/
|
|
122
|
-
'createdAt'
|
|
122
|
+
'createdAt': string;
|
|
123
123
|
/**
|
|
124
124
|
* Timestamp when the credential expires (ISO-8601 format). Null means the credential never expires.
|
|
125
125
|
*/
|
|
@@ -132,19 +132,19 @@ export interface AdminConnectionBypassResponse {
|
|
|
132
132
|
/**
|
|
133
133
|
* Unique identifier for the bypass
|
|
134
134
|
*/
|
|
135
|
-
'id'
|
|
135
|
+
'id': number;
|
|
136
136
|
/**
|
|
137
137
|
* IP address that is bypassed
|
|
138
138
|
*/
|
|
139
|
-
'ipAddress'
|
|
139
|
+
'ipAddress': string;
|
|
140
140
|
/**
|
|
141
141
|
* Timestamp when the bypass expires (ISO-8601 format)
|
|
142
142
|
*/
|
|
143
|
-
'expiresAt'
|
|
143
|
+
'expiresAt': string;
|
|
144
144
|
/**
|
|
145
145
|
* Timestamp when the bypass was created (ISO-8601 format)
|
|
146
146
|
*/
|
|
147
|
-
'createdAt'
|
|
147
|
+
'createdAt': string;
|
|
148
148
|
}
|
|
149
149
|
/**
|
|
150
150
|
* Result from a single VPN detection service for a given IP address
|
|
@@ -153,15 +153,23 @@ export interface AdminConnectionCheckResult {
|
|
|
153
153
|
/**
|
|
154
154
|
* Service identifier
|
|
155
155
|
*/
|
|
156
|
-
'service'
|
|
156
|
+
'service': string;
|
|
157
157
|
/**
|
|
158
158
|
* Whether this service flagged the IP as a VPN, proxy, or Tor exit node
|
|
159
159
|
*/
|
|
160
|
-
'result'
|
|
160
|
+
'result': boolean;
|
|
161
161
|
/**
|
|
162
162
|
* When this check was last performed
|
|
163
163
|
*/
|
|
164
|
-
'checkedAt'
|
|
164
|
+
'checkedAt': string;
|
|
165
|
+
/**
|
|
166
|
+
* City reported by this service, if available
|
|
167
|
+
*/
|
|
168
|
+
'city'?: string | null;
|
|
169
|
+
/**
|
|
170
|
+
* Country code reported by this service, if available
|
|
171
|
+
*/
|
|
172
|
+
'country'?: string | null;
|
|
165
173
|
}
|
|
166
174
|
/**
|
|
167
175
|
* Request to evaluate the impact of a punishment across one or more targets before applying
|
|
@@ -178,7 +186,7 @@ export interface AdminCreatePunishmentDraftRequest {
|
|
|
178
186
|
/**
|
|
179
187
|
* Severity level: 1=Minor, 2=Moderate, 3=Severe, 4=Critical
|
|
180
188
|
*/
|
|
181
|
-
'severity'
|
|
189
|
+
'severity': number;
|
|
182
190
|
/**
|
|
183
191
|
* Reason for the punishment (not used in evaluation, required for apply)
|
|
184
192
|
*/
|
|
@@ -190,12 +198,12 @@ export interface AdminCreatePunishmentDraftRequest {
|
|
|
190
198
|
/**
|
|
191
199
|
* Force the punishment to be permanent regardless of the target\'s current score
|
|
192
200
|
*/
|
|
193
|
-
'forcePermanent'
|
|
201
|
+
'forcePermanent': boolean;
|
|
194
202
|
}
|
|
195
203
|
export interface AdminDashboardConnectionResponse {
|
|
196
204
|
'id': number;
|
|
197
205
|
'ipAddress': string;
|
|
198
|
-
'location'
|
|
206
|
+
'location'?: string | null;
|
|
199
207
|
'isVpn': boolean;
|
|
200
208
|
'isBypassed': boolean;
|
|
201
209
|
'bypassExpiresAt'?: string | null;
|
|
@@ -206,7 +214,7 @@ export interface AdminDashboardConnectionResponse {
|
|
|
206
214
|
/**
|
|
207
215
|
* Results from each VPN detection service for this IP address
|
|
208
216
|
*/
|
|
209
|
-
'results'
|
|
217
|
+
'results': Array<AdminConnectionCheckResult>;
|
|
210
218
|
}
|
|
211
219
|
export interface AdminGetDashboardStats {
|
|
212
220
|
'totalPlayers': number;
|
|
@@ -220,11 +228,11 @@ export interface AdminIpSearchResult {
|
|
|
220
228
|
/**
|
|
221
229
|
* IP address
|
|
222
230
|
*/
|
|
223
|
-
'ipAddress'
|
|
231
|
+
'ipAddress': string;
|
|
224
232
|
/**
|
|
225
233
|
* Players ever seen on this IP
|
|
226
234
|
*/
|
|
227
|
-
'players'
|
|
235
|
+
'players': Array<AdminPlayerSearchResult>;
|
|
228
236
|
}
|
|
229
237
|
/**
|
|
230
238
|
* Paginated connection list response
|
|
@@ -233,23 +241,23 @@ export interface AdminPagedConnectionResponse {
|
|
|
233
241
|
/**
|
|
234
242
|
* Connections on the current page
|
|
235
243
|
*/
|
|
236
|
-
'data'
|
|
244
|
+
'data': Array<AdminDashboardConnectionResponse>;
|
|
237
245
|
/**
|
|
238
246
|
* Total number of connections matching the filters
|
|
239
247
|
*/
|
|
240
|
-
'total'
|
|
248
|
+
'total': number;
|
|
241
249
|
/**
|
|
242
250
|
* Current page (1-indexed)
|
|
243
251
|
*/
|
|
244
|
-
'page'
|
|
252
|
+
'page': number;
|
|
245
253
|
/**
|
|
246
254
|
* Page size
|
|
247
255
|
*/
|
|
248
|
-
'limit'
|
|
256
|
+
'limit': number;
|
|
249
257
|
/**
|
|
250
258
|
* Total number of pages
|
|
251
259
|
*/
|
|
252
|
-
'totalPages'
|
|
260
|
+
'totalPages': number;
|
|
253
261
|
}
|
|
254
262
|
/**
|
|
255
263
|
* Paginated player list response
|
|
@@ -258,23 +266,23 @@ export interface AdminPagedPlayerResponse {
|
|
|
258
266
|
/**
|
|
259
267
|
* Players on the current page
|
|
260
268
|
*/
|
|
261
|
-
'data'
|
|
269
|
+
'data': Array<AdminPlayerSummary>;
|
|
262
270
|
/**
|
|
263
271
|
* Total number of players matching the search filter
|
|
264
272
|
*/
|
|
265
|
-
'total'
|
|
273
|
+
'total': number;
|
|
266
274
|
/**
|
|
267
275
|
* Current page (1-indexed)
|
|
268
276
|
*/
|
|
269
|
-
'page'
|
|
277
|
+
'page': number;
|
|
270
278
|
/**
|
|
271
279
|
* Page size
|
|
272
280
|
*/
|
|
273
|
-
'limit'
|
|
281
|
+
'limit': number;
|
|
274
282
|
/**
|
|
275
283
|
* Total number of pages
|
|
276
284
|
*/
|
|
277
|
-
'totalPages'
|
|
285
|
+
'totalPages': number;
|
|
278
286
|
}
|
|
279
287
|
/**
|
|
280
288
|
* Paginated punishment list response
|
|
@@ -283,23 +291,23 @@ export interface AdminPagedPunishmentResponse {
|
|
|
283
291
|
/**
|
|
284
292
|
* Punishments on the current page
|
|
285
293
|
*/
|
|
286
|
-
'data'
|
|
294
|
+
'data': Array<AdminPunishmentListItem>;
|
|
287
295
|
/**
|
|
288
296
|
* Total number of punishments matching the filters
|
|
289
297
|
*/
|
|
290
|
-
'total'
|
|
298
|
+
'total': number;
|
|
291
299
|
/**
|
|
292
300
|
* Current page (1-indexed)
|
|
293
301
|
*/
|
|
294
|
-
'page'
|
|
302
|
+
'page': number;
|
|
295
303
|
/**
|
|
296
304
|
* Page size
|
|
297
305
|
*/
|
|
298
|
-
'limit'
|
|
306
|
+
'limit': number;
|
|
299
307
|
/**
|
|
300
308
|
* Total number of pages
|
|
301
309
|
*/
|
|
302
|
-
'totalPages'
|
|
310
|
+
'totalPages': number;
|
|
303
311
|
}
|
|
304
312
|
/**
|
|
305
313
|
* Full player detail including punishment history and all known usernames
|
|
@@ -308,11 +316,11 @@ export interface AdminPlayerDetailResponse {
|
|
|
308
316
|
/**
|
|
309
317
|
* Internal player ID
|
|
310
318
|
*/
|
|
311
|
-
'id'
|
|
319
|
+
'id': number;
|
|
312
320
|
/**
|
|
313
321
|
* Player Minecraft UUID
|
|
314
322
|
*/
|
|
315
|
-
'uuid'
|
|
323
|
+
'uuid': string;
|
|
316
324
|
/**
|
|
317
325
|
* Most recently seen username
|
|
318
326
|
*/
|
|
@@ -320,11 +328,11 @@ export interface AdminPlayerDetailResponse {
|
|
|
320
328
|
/**
|
|
321
329
|
* Whether this player still has first-join status
|
|
322
330
|
*/
|
|
323
|
-
'firstJoin'
|
|
331
|
+
'firstJoin': boolean;
|
|
324
332
|
/**
|
|
325
333
|
* Timestamp of first connection (ISO-8601)
|
|
326
334
|
*/
|
|
327
|
-
'firstLogin'
|
|
335
|
+
'firstLogin': string;
|
|
328
336
|
/**
|
|
329
337
|
* Timestamp of most recent connection (ISO-8601)
|
|
330
338
|
*/
|
|
@@ -332,15 +340,15 @@ export interface AdminPlayerDetailResponse {
|
|
|
332
340
|
/**
|
|
333
341
|
* Raw punishment score
|
|
334
342
|
*/
|
|
335
|
-
'punishmentPointsRaw'
|
|
343
|
+
'punishmentPointsRaw': number;
|
|
336
344
|
/**
|
|
337
345
|
* Punishment score as a percentage
|
|
338
346
|
*/
|
|
339
|
-
'punishmentPointsPercent'
|
|
347
|
+
'punishmentPointsPercent': number;
|
|
340
348
|
/**
|
|
341
349
|
* All usernames this player has used, newest first
|
|
342
350
|
*/
|
|
343
|
-
'usernameHistory'
|
|
351
|
+
'usernameHistory': Array<AdminUsernameHistoryEntry>;
|
|
344
352
|
}
|
|
345
353
|
/**
|
|
346
354
|
* Lightweight player reference used in search results and punishment evaluations
|
|
@@ -349,7 +357,7 @@ export interface AdminPlayerSearchResult {
|
|
|
349
357
|
/**
|
|
350
358
|
* Player Minecraft UUID
|
|
351
359
|
*/
|
|
352
|
-
'uuid'
|
|
360
|
+
'uuid': string;
|
|
353
361
|
/**
|
|
354
362
|
* Most recently seen username, null if never recorded
|
|
355
363
|
*/
|
|
@@ -362,11 +370,11 @@ export interface AdminPlayerSummary {
|
|
|
362
370
|
/**
|
|
363
371
|
* Internal player ID
|
|
364
372
|
*/
|
|
365
|
-
'id'
|
|
373
|
+
'id': number;
|
|
366
374
|
/**
|
|
367
375
|
* Player Minecraft UUID
|
|
368
376
|
*/
|
|
369
|
-
'uuid'
|
|
377
|
+
'uuid': string;
|
|
370
378
|
/**
|
|
371
379
|
* Most recently seen username, null if never recorded
|
|
372
380
|
*/
|
|
@@ -374,11 +382,11 @@ export interface AdminPlayerSummary {
|
|
|
374
382
|
/**
|
|
375
383
|
* Whether this player still has first-join status
|
|
376
384
|
*/
|
|
377
|
-
'firstJoin'
|
|
385
|
+
'firstJoin': boolean;
|
|
378
386
|
/**
|
|
379
387
|
* Timestamp of first connection (ISO-8601)
|
|
380
388
|
*/
|
|
381
|
-
'firstLogin'
|
|
389
|
+
'firstLogin': string;
|
|
382
390
|
/**
|
|
383
391
|
* Timestamp of most recent connection (ISO-8601)
|
|
384
392
|
*/
|
|
@@ -386,11 +394,11 @@ export interface AdminPlayerSummary {
|
|
|
386
394
|
/**
|
|
387
395
|
* Raw punishment score (sum of weighted punishment values)
|
|
388
396
|
*/
|
|
389
|
-
'punishmentPointsRaw'
|
|
397
|
+
'punishmentPointsRaw': number;
|
|
390
398
|
/**
|
|
391
399
|
* Punishment score as a percentage. Values above 100 indicate future punishments should be permanent.
|
|
392
400
|
*/
|
|
393
|
-
'punishmentPointsPercent'
|
|
401
|
+
'punishmentPointsPercent': number;
|
|
394
402
|
}
|
|
395
403
|
/**
|
|
396
404
|
* Batch punishment draft — one evaluation per target
|
|
@@ -399,7 +407,7 @@ export interface AdminPunishmentDraftResponse {
|
|
|
399
407
|
/**
|
|
400
408
|
* Ordered list of evaluations, one per target in the request
|
|
401
409
|
*/
|
|
402
|
-
'evaluations'
|
|
410
|
+
'evaluations': Array<AdminPunishmentEvaluation>;
|
|
403
411
|
}
|
|
404
412
|
/**
|
|
405
413
|
* Evaluation of a punishment\'s impact on a single target
|
|
@@ -408,27 +416,27 @@ export interface AdminPunishmentEvaluation {
|
|
|
408
416
|
/**
|
|
409
417
|
* The target this evaluation applies to
|
|
410
418
|
*/
|
|
411
|
-
'target'
|
|
419
|
+
'target': AdminPunishmentTarget;
|
|
412
420
|
/**
|
|
413
421
|
* Players affected — one player for UUID targets, all players on the IP for connection targets
|
|
414
422
|
*/
|
|
415
|
-
'affectedPlayers'
|
|
423
|
+
'affectedPlayers': Array<AdminPlayerSearchResult>;
|
|
416
424
|
/**
|
|
417
425
|
* Current punishment score before applying this punishment (0–100+)
|
|
418
426
|
*/
|
|
419
|
-
'currentScore'
|
|
427
|
+
'currentScore': number;
|
|
420
428
|
/**
|
|
421
429
|
* Points this punishment would add to the score
|
|
422
430
|
*/
|
|
423
|
-
'pointsToAdd'
|
|
431
|
+
'pointsToAdd': number;
|
|
424
432
|
/**
|
|
425
433
|
* Projected score after applying this punishment
|
|
426
434
|
*/
|
|
427
|
-
'newScore'
|
|
435
|
+
'newScore': number;
|
|
428
436
|
/**
|
|
429
437
|
* Whether this punishment would be permanent based on the current score threshold
|
|
430
438
|
*/
|
|
431
|
-
'willBePermanent'
|
|
439
|
+
'willBePermanent': boolean;
|
|
432
440
|
/**
|
|
433
441
|
* Resolved duration in seconds — null if permanent or a WARNING
|
|
434
442
|
*/
|
|
@@ -436,15 +444,15 @@ export interface AdminPunishmentEvaluation {
|
|
|
436
444
|
/**
|
|
437
445
|
* Number of existing punishments on this target
|
|
438
446
|
*/
|
|
439
|
-
'previousPunishmentCount'
|
|
447
|
+
'previousPunishmentCount': number;
|
|
440
448
|
/**
|
|
441
449
|
* True when the target is an IP address (connection punishment) rather than a player UUID
|
|
442
450
|
*/
|
|
443
|
-
'isConnectionTarget'
|
|
451
|
+
'isConnectionTarget': boolean;
|
|
444
452
|
/**
|
|
445
453
|
* The effective punishment type that will be applied — may differ from the requested type if escalated to BAN at threshold
|
|
446
454
|
*/
|
|
447
|
-
'effectiveType'
|
|
455
|
+
'effectiveType': PunishmentType;
|
|
448
456
|
}
|
|
449
457
|
export interface AdminPunishmentListItem {
|
|
450
458
|
'id': number;
|
|
@@ -467,15 +475,15 @@ export interface AdminPunishmentSearchResponse {
|
|
|
467
475
|
/**
|
|
468
476
|
* Search kind — PLAYER for UUID/username searches, IP for IP address searches
|
|
469
477
|
*/
|
|
470
|
-
'kind'
|
|
478
|
+
'kind': SearchKind;
|
|
471
479
|
/**
|
|
472
480
|
* Matching players — only populated when kind=\'player\'
|
|
473
481
|
*/
|
|
474
|
-
'players'
|
|
482
|
+
'players': Array<AdminPlayerSearchResult>;
|
|
475
483
|
/**
|
|
476
484
|
* Matching IP addresses with their associated players — only populated when kind=\'ip\'
|
|
477
485
|
*/
|
|
478
|
-
'ipResults'
|
|
486
|
+
'ipResults': Array<AdminIpSearchResult>;
|
|
479
487
|
}
|
|
480
488
|
/**
|
|
481
489
|
* A target for a punishment — either a player UUID or an IP address (mutually exclusive)
|
|
@@ -497,11 +505,11 @@ export interface AdminUsernameHistoryEntry {
|
|
|
497
505
|
/**
|
|
498
506
|
* The username at this point in time
|
|
499
507
|
*/
|
|
500
|
-
'username'
|
|
508
|
+
'username': string;
|
|
501
509
|
/**
|
|
502
510
|
* When this username was first observed (ISO-8601)
|
|
503
511
|
*/
|
|
504
|
-
'changedAt'
|
|
512
|
+
'changedAt': string;
|
|
505
513
|
}
|
|
506
514
|
export interface ChatMessageDTO {
|
|
507
515
|
'id': number;
|
|
@@ -541,23 +549,23 @@ export interface ConnectionGetConnectionDetailsResponse {
|
|
|
541
549
|
/**
|
|
542
550
|
* The analyzed IPv4 address
|
|
543
551
|
*/
|
|
544
|
-
'ipAddress'
|
|
552
|
+
'ipAddress': string;
|
|
545
553
|
/**
|
|
546
554
|
* Approximate geographic location of the IP address. Returns \'Local, N/A\' for localhost or private IPs.
|
|
547
555
|
*/
|
|
548
|
-
'approximateLocation'
|
|
556
|
+
'approximateLocation': string;
|
|
549
557
|
/**
|
|
550
558
|
* Confidence score representing the percentage of VPN detection services that flagged this IP as suspicious. Range: 0.0 (clean) to 100.0 (definitely VPN/proxy).
|
|
551
559
|
*/
|
|
552
|
-
'percentPositive'
|
|
560
|
+
'percentPositive': number;
|
|
553
561
|
/**
|
|
554
562
|
* Total number of VPN detection services successfully queried during the last check.
|
|
555
563
|
*/
|
|
556
|
-
'numberOfChecks'
|
|
564
|
+
'numberOfChecks': number;
|
|
557
565
|
/**
|
|
558
566
|
* Indicates if this IP address has been administratively bypassed.
|
|
559
567
|
*/
|
|
560
|
-
'isBypassed'
|
|
568
|
+
'isBypassed': boolean;
|
|
561
569
|
/**
|
|
562
570
|
* Expiration timestamp for the bypass (ISO-8601 format). Null if not bypassed or bypass is permanent.
|
|
563
571
|
*/
|
|
@@ -565,7 +573,7 @@ export interface ConnectionGetConnectionDetailsResponse {
|
|
|
565
573
|
/**
|
|
566
574
|
* Results from each VPN detection service that checked this IP address
|
|
567
575
|
*/
|
|
568
|
-
'results'
|
|
576
|
+
'results': Array<AdminConnectionCheckResult>;
|
|
569
577
|
/**
|
|
570
578
|
* Player information associated with this connection. Only populated when \'associate_uuid\' query parameter is provided.
|
|
571
579
|
*/
|
|
@@ -573,7 +581,7 @@ export interface ConnectionGetConnectionDetailsResponse {
|
|
|
573
581
|
/**
|
|
574
582
|
* Combined list of active punishments for both the IP address and player UUID (if provided). Only includes non-expired punishments.
|
|
575
583
|
*/
|
|
576
|
-
'punishments'
|
|
584
|
+
'punishments': Array<PunishmentGetPunishmentResponse>;
|
|
577
585
|
/**
|
|
578
586
|
* Join enforcement result. Only populated when \'associate_uuid\' query parameter is provided. Contains the final allow/deny decision and a formatted kick message if denied.
|
|
579
587
|
*/
|
|
@@ -623,19 +631,19 @@ export interface PlayerGetPlayerInformation {
|
|
|
623
631
|
/**
|
|
624
632
|
* Indicates whether this is the player\'s first time joining the server.
|
|
625
633
|
*/
|
|
626
|
-
'firstJoin'
|
|
634
|
+
'firstJoin': boolean;
|
|
627
635
|
/**
|
|
628
636
|
* Timestamp of when the player first connected to the server (ISO-8601 format).
|
|
629
637
|
*/
|
|
630
|
-
'firstLogin'
|
|
638
|
+
'firstLogin': string;
|
|
631
639
|
/**
|
|
632
640
|
* Raw punishment score calculated as: SUM((base_weight × severity/10)). Used for tracking overall punishment severity.
|
|
633
641
|
*/
|
|
634
|
-
'punishmentPointsRaw'
|
|
642
|
+
'punishmentPointsRaw': number;
|
|
635
643
|
/**
|
|
636
644
|
* Punishment score as a percentage (0-100). When >100% before applying a new punishment, the new punishment should be made permanent.
|
|
637
645
|
*/
|
|
638
|
-
'punishmentPointsPercent'
|
|
646
|
+
'punishmentPointsPercent': number;
|
|
639
647
|
}
|
|
640
648
|
/**
|
|
641
649
|
* Punishment information including reason, type, creator, and expiration
|
|
@@ -644,11 +652,11 @@ export interface PunishmentGetPunishmentResponse {
|
|
|
644
652
|
/**
|
|
645
653
|
* Unique identifier for the punishment
|
|
646
654
|
*/
|
|
647
|
-
'id'
|
|
655
|
+
'id': number;
|
|
648
656
|
/**
|
|
649
657
|
* Reason for the punishment, shown to the punished player
|
|
650
658
|
*/
|
|
651
|
-
'reason'
|
|
659
|
+
'reason': string;
|
|
652
660
|
/**
|
|
653
661
|
* Internal administrator notes — not shown to the punished player
|
|
654
662
|
*/
|
|
@@ -656,15 +664,15 @@ export interface PunishmentGetPunishmentResponse {
|
|
|
656
664
|
/**
|
|
657
665
|
* Type of punishment
|
|
658
666
|
*/
|
|
659
|
-
'type'
|
|
667
|
+
'type': PunishmentType;
|
|
660
668
|
/**
|
|
661
669
|
* Severity level (1=Minor, 2=Moderate, 3=Severe, 4=Critical)
|
|
662
670
|
*/
|
|
663
|
-
'severity'
|
|
671
|
+
'severity': number;
|
|
664
672
|
/**
|
|
665
673
|
* Username or identifier of the person who created this punishment
|
|
666
674
|
*/
|
|
667
|
-
'createdBy'
|
|
675
|
+
'createdBy': string;
|
|
668
676
|
/**
|
|
669
677
|
* Timestamp when the punishment expires (ISO-8601 format). Null for permanent punishments.
|
|
670
678
|
*/
|
|
@@ -672,7 +680,7 @@ export interface PunishmentGetPunishmentResponse {
|
|
|
672
680
|
/**
|
|
673
681
|
* Timestamp when the punishment was created (ISO-8601 format)
|
|
674
682
|
*/
|
|
675
|
-
'createdAt'
|
|
683
|
+
'createdAt': string;
|
|
676
684
|
}
|
|
677
685
|
/**
|
|
678
686
|
* Response containing punishment severity durations for each type
|
|
@@ -681,7 +689,7 @@ export interface PunishmentSeveritiesResponse {
|
|
|
681
689
|
/**
|
|
682
690
|
* List of punishment types with their severity durations
|
|
683
691
|
*/
|
|
684
|
-
'punishmentTypes'
|
|
692
|
+
'punishmentTypes': Array<PunishmentSeveritiesResponsePunishmentTypeInfo>;
|
|
685
693
|
}
|
|
686
694
|
/**
|
|
687
695
|
* Punishment type with severity information
|
|
@@ -690,11 +698,11 @@ export interface PunishmentSeveritiesResponsePunishmentTypeInfo {
|
|
|
690
698
|
/**
|
|
691
699
|
* Type of punishment
|
|
692
700
|
*/
|
|
693
|
-
'type'
|
|
701
|
+
'type': PunishmentType;
|
|
694
702
|
/**
|
|
695
703
|
* List of severity levels with durations
|
|
696
704
|
*/
|
|
697
|
-
'severities'
|
|
705
|
+
'severities': Array<PunishmentSeveritiesResponseSeverityInfo>;
|
|
698
706
|
}
|
|
699
707
|
/**
|
|
700
708
|
* Severity level with duration information
|
|
@@ -703,11 +711,11 @@ export interface PunishmentSeveritiesResponseSeverityInfo {
|
|
|
703
711
|
/**
|
|
704
712
|
* Severity level
|
|
705
713
|
*/
|
|
706
|
-
'severity'
|
|
714
|
+
'severity': number;
|
|
707
715
|
/**
|
|
708
716
|
* Duration in seconds (0 means no duration)
|
|
709
717
|
*/
|
|
710
|
-
'durationSeconds'
|
|
718
|
+
'durationSeconds': number;
|
|
711
719
|
}
|
|
712
720
|
export declare const PunishmentTargetType: {
|
|
713
721
|
readonly Player: "PLAYER";
|
package/dist/api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Reborn API
|
|
6
6
|
* The Reborn API serves as the central backend for the platform, orchestrating secure communication between game clients and data services. This API supports two authentication methods: - **OAuth 2.0 Client Credentials**: For programmatic API access - **Discord SSO Bearer Token**: For admin endpoints requiring Discord authentication
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 3.
|
|
8
|
+
* The version of the OpenAPI document: 3.2.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/base.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Reborn API
|
|
3
3
|
* The Reborn API serves as the central backend for the platform, orchestrating secure communication between game clients and data services. This API supports two authentication methods: - **OAuth 2.0 Client Credentials**: For programmatic API access - **Discord SSO Bearer Token**: For admin endpoints requiring Discord authentication
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.
|
|
5
|
+
* The version of the OpenAPI document: 3.2.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/base.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Reborn API
|
|
6
6
|
* The Reborn API serves as the central backend for the platform, orchestrating secure communication between game clients and data services. This API supports two authentication methods: - **OAuth 2.0 Client Credentials**: For programmatic API access - **Discord SSO Bearer Token**: For admin endpoints requiring Discord authentication
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 3.
|
|
8
|
+
* The version of the OpenAPI document: 3.2.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/common.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Reborn API
|
|
3
3
|
* The Reborn API serves as the central backend for the platform, orchestrating secure communication between game clients and data services. This API supports two authentication methods: - **OAuth 2.0 Client Credentials**: For programmatic API access - **Discord SSO Bearer Token**: For admin endpoints requiring Discord authentication
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.
|
|
5
|
+
* The version of the OpenAPI document: 3.2.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/common.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Reborn API
|
|
6
6
|
* The Reborn API serves as the central backend for the platform, orchestrating secure communication between game clients and data services. This API supports two authentication methods: - **OAuth 2.0 Client Credentials**: For programmatic API access - **Discord SSO Bearer Token**: For admin endpoints requiring Discord authentication
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 3.
|
|
8
|
+
* The version of the OpenAPI document: 3.2.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/configuration.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Reborn API
|
|
3
3
|
* The Reborn API serves as the central backend for the platform, orchestrating secure communication between game clients and data services. This API supports two authentication methods: - **OAuth 2.0 Client Credentials**: For programmatic API access - **Discord SSO Bearer Token**: For admin endpoints requiring Discord authentication
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.
|
|
5
|
+
* The version of the OpenAPI document: 3.2.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|