@rebornteam/reborn-api 3.0.1 → 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.
Files changed (65) hide show
  1. package/.openapi-generator/FILES +7 -0
  2. package/README.md +9 -2
  3. package/api.ts +230 -149
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +190 -146
  8. package/dist/api.js +45 -23
  9. package/dist/base.d.ts +1 -1
  10. package/dist/base.js +1 -1
  11. package/dist/common.d.ts +1 -1
  12. package/dist/common.js +1 -1
  13. package/dist/configuration.d.ts +1 -1
  14. package/dist/configuration.js +1 -1
  15. package/dist/esm/api.d.ts +190 -146
  16. package/dist/esm/api.js +43 -22
  17. package/dist/esm/base.d.ts +1 -1
  18. package/dist/esm/base.js +1 -1
  19. package/dist/esm/common.d.ts +1 -1
  20. package/dist/esm/common.js +1 -1
  21. package/dist/esm/configuration.d.ts +1 -1
  22. package/dist/esm/configuration.js +1 -1
  23. package/dist/esm/index.d.ts +1 -1
  24. package/dist/esm/index.js +1 -1
  25. package/dist/index.d.ts +1 -1
  26. package/dist/index.js +1 -1
  27. package/docs/AdminApplyPunishmentRequest.md +3 -3
  28. package/docs/AdminApplyPunishmentResponse.md +1 -1
  29. package/docs/AdminApplyPunishmentResult.md +6 -6
  30. package/docs/AdminClientCredentialResponse.md +6 -6
  31. package/docs/AdminConnectionBypassResponse.md +4 -4
  32. package/docs/AdminConnectionCheckResult.md +7 -3
  33. package/docs/AdminCreatePunishmentDraftRequest.md +3 -3
  34. package/docs/AdminDashboardConnectionResponse.md +2 -2
  35. package/docs/AdminIpSearchResult.md +2 -2
  36. package/docs/AdminPagedConnectionResponse.md +5 -5
  37. package/docs/AdminPagedPlayerResponse.md +5 -5
  38. package/docs/AdminPagedPunishmentResponse.md +5 -5
  39. package/docs/AdminPlayerDetailResponse.md +7 -7
  40. package/docs/AdminPlayerSearchResult.md +1 -1
  41. package/docs/AdminPlayerSummary.md +6 -6
  42. package/docs/AdminPunishmentDraftResponse.md +1 -1
  43. package/docs/AdminPunishmentEvaluation.md +9 -9
  44. package/docs/AdminPunishmentListItem.md +2 -2
  45. package/docs/AdminPunishmentSearchResponse.md +3 -3
  46. package/docs/AdminPunishmentsApi.md +2 -2
  47. package/docs/AdminUsernameHistoryEntry.md +2 -2
  48. package/docs/ConnectionGetConnectionDetailsResponse.md +9 -7
  49. package/docs/ConnectionResult.md +25 -0
  50. package/docs/ConnectionResultResultCode.md +20 -0
  51. package/docs/GameType.md +12 -0
  52. package/docs/PlayerGetPlayerInformation.md +4 -4
  53. package/docs/PunishmentApi.md +4 -4
  54. package/docs/PunishmentGetPunishmentResponse.md +6 -6
  55. package/docs/PunishmentSeveritiesResponse.md +1 -1
  56. package/docs/PunishmentSeveritiesResponsePunishmentTypeInfo.md +2 -2
  57. package/docs/PunishmentSeveritiesResponseSeverityInfo.md +2 -2
  58. package/docs/PunishmentTargetType.md +10 -0
  59. package/docs/PunishmentType.md +12 -0
  60. package/docs/Region.md +12 -0
  61. package/docs/SearchKind.md +11 -0
  62. package/docs/ServerRegisterRequest.md +2 -2
  63. package/docs/ServerSessionDTO.md +2 -2
  64. package/index.ts +1 -1
  65. package/package.json +1 -1
package/dist/esm/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.0.1
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).
@@ -24,11 +24,11 @@ export interface AdminApplyPunishmentRequest {
24
24
  /**
25
25
  * Punishment type
26
26
  */
27
- 'type': AdminApplyPunishmentRequestTypeEnum;
27
+ 'type': PunishmentType;
28
28
  /**
29
29
  * Severity level: 1=Minor, 2=Moderate, 3=Severe, 4=Critical
30
30
  */
31
- 'severity'?: number;
31
+ 'severity': number;
32
32
  /**
33
33
  * Reason for the punishment
34
34
  */
@@ -40,18 +40,12 @@ export interface AdminApplyPunishmentRequest {
40
40
  /**
41
41
  * Force the punishment to be permanent regardless of the target\'s current score
42
42
  */
43
- 'forcePermanent'?: boolean;
43
+ 'forcePermanent': boolean;
44
44
  /**
45
45
  * Internal notes visible only to administrators — not shown to the punished player
46
46
  */
47
47
  'notes'?: string | null;
48
48
  }
49
- export declare const AdminApplyPunishmentRequestTypeEnum: {
50
- readonly Ban: "BAN";
51
- readonly Mute: "MUTE";
52
- readonly Warning: "WARNING";
53
- };
54
- export type AdminApplyPunishmentRequestTypeEnum = typeof AdminApplyPunishmentRequestTypeEnum[keyof typeof AdminApplyPunishmentRequestTypeEnum];
55
49
  /**
56
50
  * Batch punishment apply result — one result per target
57
51
  */
@@ -59,7 +53,7 @@ export interface AdminApplyPunishmentResponse {
59
53
  /**
60
54
  * Ordered list of results, one per target in the request
61
55
  */
62
- 'results'?: Array<AdminApplyPunishmentResult>;
56
+ 'results': Array<AdminApplyPunishmentResult>;
63
57
  }
64
58
  /**
65
59
  * Result of applying a punishment to a single target
@@ -68,27 +62,27 @@ export interface AdminApplyPunishmentResult {
68
62
  /**
69
63
  * The target this result applies to
70
64
  */
71
- 'target'?: AdminPunishmentTarget;
65
+ 'target': AdminPunishmentTarget;
72
66
  /**
73
67
  * ID of the created punishment record
74
68
  */
75
- 'punishmentId'?: number;
69
+ 'punishmentId': number;
76
70
  /**
77
71
  * Punishment type applied
78
72
  */
79
- 'type'?: string;
73
+ 'type': PunishmentType;
80
74
  /**
81
75
  * Severity level applied
82
76
  */
83
- 'severity'?: number;
77
+ 'severity': number;
84
78
  /**
85
79
  * Updated punishment score after applying
86
80
  */
87
- 'newScore'?: number;
81
+ 'newScore': number;
88
82
  /**
89
83
  * Whether the punishment was made permanent
90
84
  */
91
- 'isPermanent'?: boolean;
85
+ 'isPermanent': boolean;
92
86
  /**
93
87
  * When the punishment expires — null if permanent or a WARNING
94
88
  */
@@ -101,11 +95,11 @@ export interface AdminClientCredentialResponse {
101
95
  /**
102
96
  * Unique identifier for the client credential
103
97
  */
104
- 'id'?: number;
98
+ 'id': number;
105
99
  /**
106
100
  * Client ID used for authentication
107
101
  */
108
- 'clientId'?: string;
102
+ 'clientId': string;
109
103
  /**
110
104
  * Client secret (only returned on generation/rotation, null otherwise)
111
105
  */
@@ -113,19 +107,19 @@ export interface AdminClientCredentialResponse {
113
107
  /**
114
108
  * Human-readable name for the client
115
109
  */
116
- 'name'?: string;
110
+ 'name': string;
117
111
  /**
118
112
  * Optional description of the client\'s purpose
119
113
  */
120
- 'description'?: string;
114
+ 'description': string;
121
115
  /**
122
116
  * Whether the client credential is currently enabled
123
117
  */
124
- 'enabled'?: boolean;
118
+ 'enabled': boolean;
125
119
  /**
126
120
  * Timestamp when the credential was created (ISO-8601 format)
127
121
  */
128
- 'createdAt'?: string;
122
+ 'createdAt': string;
129
123
  /**
130
124
  * Timestamp when the credential expires (ISO-8601 format). Null means the credential never expires.
131
125
  */
@@ -138,19 +132,19 @@ export interface AdminConnectionBypassResponse {
138
132
  /**
139
133
  * Unique identifier for the bypass
140
134
  */
141
- 'id'?: number;
135
+ 'id': number;
142
136
  /**
143
137
  * IP address that is bypassed
144
138
  */
145
- 'ipAddress'?: string;
139
+ 'ipAddress': string;
146
140
  /**
147
141
  * Timestamp when the bypass expires (ISO-8601 format)
148
142
  */
149
- 'expiresAt'?: string;
143
+ 'expiresAt': string;
150
144
  /**
151
145
  * Timestamp when the bypass was created (ISO-8601 format)
152
146
  */
153
- 'createdAt'?: string;
147
+ 'createdAt': string;
154
148
  }
155
149
  /**
156
150
  * Result from a single VPN detection service for a given IP address
@@ -159,15 +153,23 @@ export interface AdminConnectionCheckResult {
159
153
  /**
160
154
  * Service identifier
161
155
  */
162
- 'service'?: string;
156
+ 'service': string;
163
157
  /**
164
158
  * Whether this service flagged the IP as a VPN, proxy, or Tor exit node
165
159
  */
166
- 'result'?: boolean;
160
+ 'result': boolean;
167
161
  /**
168
162
  * When this check was last performed
169
163
  */
170
- 'checkedAt'?: string;
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;
171
173
  }
172
174
  /**
173
175
  * Request to evaluate the impact of a punishment across one or more targets before applying
@@ -180,11 +182,11 @@ export interface AdminCreatePunishmentDraftRequest {
180
182
  /**
181
183
  * Punishment type
182
184
  */
183
- 'type': AdminCreatePunishmentDraftRequestTypeEnum;
185
+ 'type': PunishmentType;
184
186
  /**
185
187
  * Severity level: 1=Minor, 2=Moderate, 3=Severe, 4=Critical
186
188
  */
187
- 'severity'?: number;
189
+ 'severity': number;
188
190
  /**
189
191
  * Reason for the punishment (not used in evaluation, required for apply)
190
192
  */
@@ -196,18 +198,12 @@ export interface AdminCreatePunishmentDraftRequest {
196
198
  /**
197
199
  * Force the punishment to be permanent regardless of the target\'s current score
198
200
  */
199
- 'forcePermanent'?: boolean;
201
+ 'forcePermanent': boolean;
200
202
  }
201
- export declare const AdminCreatePunishmentDraftRequestTypeEnum: {
202
- readonly Ban: "BAN";
203
- readonly Mute: "MUTE";
204
- readonly Warning: "WARNING";
205
- };
206
- export type AdminCreatePunishmentDraftRequestTypeEnum = typeof AdminCreatePunishmentDraftRequestTypeEnum[keyof typeof AdminCreatePunishmentDraftRequestTypeEnum];
207
203
  export interface AdminDashboardConnectionResponse {
208
204
  'id': number;
209
205
  'ipAddress': string;
210
- 'location': string;
206
+ 'location'?: string | null;
211
207
  'isVpn': boolean;
212
208
  'isBypassed': boolean;
213
209
  'bypassExpiresAt'?: string | null;
@@ -218,7 +214,7 @@ export interface AdminDashboardConnectionResponse {
218
214
  /**
219
215
  * Results from each VPN detection service for this IP address
220
216
  */
221
- 'results'?: Array<AdminConnectionCheckResult>;
217
+ 'results': Array<AdminConnectionCheckResult>;
222
218
  }
223
219
  export interface AdminGetDashboardStats {
224
220
  'totalPlayers': number;
@@ -232,11 +228,11 @@ export interface AdminIpSearchResult {
232
228
  /**
233
229
  * IP address
234
230
  */
235
- 'ipAddress'?: string;
231
+ 'ipAddress': string;
236
232
  /**
237
233
  * Players ever seen on this IP
238
234
  */
239
- 'players'?: Array<AdminPlayerSearchResult>;
235
+ 'players': Array<AdminPlayerSearchResult>;
240
236
  }
241
237
  /**
242
238
  * Paginated connection list response
@@ -245,23 +241,23 @@ export interface AdminPagedConnectionResponse {
245
241
  /**
246
242
  * Connections on the current page
247
243
  */
248
- 'data'?: Array<AdminDashboardConnectionResponse>;
244
+ 'data': Array<AdminDashboardConnectionResponse>;
249
245
  /**
250
246
  * Total number of connections matching the filters
251
247
  */
252
- 'total'?: number;
248
+ 'total': number;
253
249
  /**
254
250
  * Current page (1-indexed)
255
251
  */
256
- 'page'?: number;
252
+ 'page': number;
257
253
  /**
258
254
  * Page size
259
255
  */
260
- 'limit'?: number;
256
+ 'limit': number;
261
257
  /**
262
258
  * Total number of pages
263
259
  */
264
- 'totalPages'?: number;
260
+ 'totalPages': number;
265
261
  }
266
262
  /**
267
263
  * Paginated player list response
@@ -270,23 +266,23 @@ export interface AdminPagedPlayerResponse {
270
266
  /**
271
267
  * Players on the current page
272
268
  */
273
- 'data'?: Array<AdminPlayerSummary>;
269
+ 'data': Array<AdminPlayerSummary>;
274
270
  /**
275
271
  * Total number of players matching the search filter
276
272
  */
277
- 'total'?: number;
273
+ 'total': number;
278
274
  /**
279
275
  * Current page (1-indexed)
280
276
  */
281
- 'page'?: number;
277
+ 'page': number;
282
278
  /**
283
279
  * Page size
284
280
  */
285
- 'limit'?: number;
281
+ 'limit': number;
286
282
  /**
287
283
  * Total number of pages
288
284
  */
289
- 'totalPages'?: number;
285
+ 'totalPages': number;
290
286
  }
291
287
  /**
292
288
  * Paginated punishment list response
@@ -295,23 +291,23 @@ export interface AdminPagedPunishmentResponse {
295
291
  /**
296
292
  * Punishments on the current page
297
293
  */
298
- 'data'?: Array<AdminPunishmentListItem>;
294
+ 'data': Array<AdminPunishmentListItem>;
299
295
  /**
300
296
  * Total number of punishments matching the filters
301
297
  */
302
- 'total'?: number;
298
+ 'total': number;
303
299
  /**
304
300
  * Current page (1-indexed)
305
301
  */
306
- 'page'?: number;
302
+ 'page': number;
307
303
  /**
308
304
  * Page size
309
305
  */
310
- 'limit'?: number;
306
+ 'limit': number;
311
307
  /**
312
308
  * Total number of pages
313
309
  */
314
- 'totalPages'?: number;
310
+ 'totalPages': number;
315
311
  }
316
312
  /**
317
313
  * Full player detail including punishment history and all known usernames
@@ -320,11 +316,11 @@ export interface AdminPlayerDetailResponse {
320
316
  /**
321
317
  * Internal player ID
322
318
  */
323
- 'id'?: number;
319
+ 'id': number;
324
320
  /**
325
321
  * Player Minecraft UUID
326
322
  */
327
- 'uuid'?: string;
323
+ 'uuid': string;
328
324
  /**
329
325
  * Most recently seen username
330
326
  */
@@ -332,11 +328,11 @@ export interface AdminPlayerDetailResponse {
332
328
  /**
333
329
  * Whether this player still has first-join status
334
330
  */
335
- 'firstJoin'?: boolean;
331
+ 'firstJoin': boolean;
336
332
  /**
337
333
  * Timestamp of first connection (ISO-8601)
338
334
  */
339
- 'firstLogin'?: string;
335
+ 'firstLogin': string;
340
336
  /**
341
337
  * Timestamp of most recent connection (ISO-8601)
342
338
  */
@@ -344,15 +340,15 @@ export interface AdminPlayerDetailResponse {
344
340
  /**
345
341
  * Raw punishment score
346
342
  */
347
- 'punishmentPointsRaw'?: number;
343
+ 'punishmentPointsRaw': number;
348
344
  /**
349
345
  * Punishment score as a percentage
350
346
  */
351
- 'punishmentPointsPercent'?: number;
347
+ 'punishmentPointsPercent': number;
352
348
  /**
353
349
  * All usernames this player has used, newest first
354
350
  */
355
- 'usernameHistory'?: Array<AdminUsernameHistoryEntry>;
351
+ 'usernameHistory': Array<AdminUsernameHistoryEntry>;
356
352
  }
357
353
  /**
358
354
  * Lightweight player reference used in search results and punishment evaluations
@@ -361,7 +357,7 @@ export interface AdminPlayerSearchResult {
361
357
  /**
362
358
  * Player Minecraft UUID
363
359
  */
364
- 'uuid'?: string;
360
+ 'uuid': string;
365
361
  /**
366
362
  * Most recently seen username, null if never recorded
367
363
  */
@@ -374,11 +370,11 @@ export interface AdminPlayerSummary {
374
370
  /**
375
371
  * Internal player ID
376
372
  */
377
- 'id'?: number;
373
+ 'id': number;
378
374
  /**
379
375
  * Player Minecraft UUID
380
376
  */
381
- 'uuid'?: string;
377
+ 'uuid': string;
382
378
  /**
383
379
  * Most recently seen username, null if never recorded
384
380
  */
@@ -386,11 +382,11 @@ export interface AdminPlayerSummary {
386
382
  /**
387
383
  * Whether this player still has first-join status
388
384
  */
389
- 'firstJoin'?: boolean;
385
+ 'firstJoin': boolean;
390
386
  /**
391
387
  * Timestamp of first connection (ISO-8601)
392
388
  */
393
- 'firstLogin'?: string;
389
+ 'firstLogin': string;
394
390
  /**
395
391
  * Timestamp of most recent connection (ISO-8601)
396
392
  */
@@ -398,11 +394,11 @@ export interface AdminPlayerSummary {
398
394
  /**
399
395
  * Raw punishment score (sum of weighted punishment values)
400
396
  */
401
- 'punishmentPointsRaw'?: number;
397
+ 'punishmentPointsRaw': number;
402
398
  /**
403
399
  * Punishment score as a percentage. Values above 100 indicate future punishments should be permanent.
404
400
  */
405
- 'punishmentPointsPercent'?: number;
401
+ 'punishmentPointsPercent': number;
406
402
  }
407
403
  /**
408
404
  * Batch punishment draft — one evaluation per target
@@ -411,7 +407,7 @@ export interface AdminPunishmentDraftResponse {
411
407
  /**
412
408
  * Ordered list of evaluations, one per target in the request
413
409
  */
414
- 'evaluations'?: Array<AdminPunishmentEvaluation>;
410
+ 'evaluations': Array<AdminPunishmentEvaluation>;
415
411
  }
416
412
  /**
417
413
  * Evaluation of a punishment\'s impact on a single target
@@ -420,27 +416,27 @@ export interface AdminPunishmentEvaluation {
420
416
  /**
421
417
  * The target this evaluation applies to
422
418
  */
423
- 'target'?: AdminPunishmentTarget;
419
+ 'target': AdminPunishmentTarget;
424
420
  /**
425
421
  * Players affected — one player for UUID targets, all players on the IP for connection targets
426
422
  */
427
- 'affectedPlayers'?: Array<AdminPlayerSearchResult>;
423
+ 'affectedPlayers': Array<AdminPlayerSearchResult>;
428
424
  /**
429
425
  * Current punishment score before applying this punishment (0–100+)
430
426
  */
431
- 'currentScore'?: number;
427
+ 'currentScore': number;
432
428
  /**
433
429
  * Points this punishment would add to the score
434
430
  */
435
- 'pointsToAdd'?: number;
431
+ 'pointsToAdd': number;
436
432
  /**
437
433
  * Projected score after applying this punishment
438
434
  */
439
- 'newScore'?: number;
435
+ 'newScore': number;
440
436
  /**
441
437
  * Whether this punishment would be permanent based on the current score threshold
442
438
  */
443
- 'willBePermanent'?: boolean;
439
+ 'willBePermanent': boolean;
444
440
  /**
445
441
  * Resolved duration in seconds — null if permanent or a WARNING
446
442
  */
@@ -448,26 +444,26 @@ export interface AdminPunishmentEvaluation {
448
444
  /**
449
445
  * Number of existing punishments on this target
450
446
  */
451
- 'previousPunishmentCount'?: number;
447
+ 'previousPunishmentCount': number;
452
448
  /**
453
449
  * True when the target is an IP address (connection punishment) rather than a player UUID
454
450
  */
455
- 'isConnectionTarget'?: boolean;
451
+ 'isConnectionTarget': boolean;
456
452
  /**
457
453
  * The effective punishment type that will be applied — may differ from the requested type if escalated to BAN at threshold
458
454
  */
459
- 'effectiveType'?: string;
455
+ 'effectiveType': PunishmentType;
460
456
  }
461
457
  export interface AdminPunishmentListItem {
462
458
  'id': number;
463
459
  'reason': string;
464
460
  'notes'?: string | null;
465
- 'type': string;
461
+ 'type': PunishmentType;
466
462
  'severity': number;
467
463
  'createdBy': string;
468
464
  'expiresAt'?: string | null;
469
465
  'createdAt': string;
470
- 'targetType': string;
466
+ 'targetType': PunishmentTargetType;
471
467
  'targetUuid'?: string | null;
472
468
  'targetUsername'?: string | null;
473
469
  'targetIp'?: string | null;
@@ -477,23 +473,18 @@ export interface AdminPunishmentListItem {
477
473
  */
478
474
  export interface AdminPunishmentSearchResponse {
479
475
  /**
480
- * Search kind — \'player\' for UUID/username searches, \'ip\' for IP address searches
476
+ * Search kind — PLAYER for UUID/username searches, IP for IP address searches
481
477
  */
482
- 'kind'?: AdminPunishmentSearchResponseKindEnum;
478
+ 'kind': SearchKind;
483
479
  /**
484
480
  * Matching players — only populated when kind=\'player\'
485
481
  */
486
- 'players'?: Array<AdminPlayerSearchResult>;
482
+ 'players': Array<AdminPlayerSearchResult>;
487
483
  /**
488
484
  * Matching IP addresses with their associated players — only populated when kind=\'ip\'
489
485
  */
490
- 'ipResults'?: Array<AdminIpSearchResult>;
486
+ 'ipResults': Array<AdminIpSearchResult>;
491
487
  }
492
- export declare const AdminPunishmentSearchResponseKindEnum: {
493
- readonly Player: "player";
494
- readonly Ip: "ip";
495
- };
496
- export type AdminPunishmentSearchResponseKindEnum = typeof AdminPunishmentSearchResponseKindEnum[keyof typeof AdminPunishmentSearchResponseKindEnum];
497
488
  /**
498
489
  * A target for a punishment — either a player UUID or an IP address (mutually exclusive)
499
490
  */
@@ -514,11 +505,11 @@ export interface AdminUsernameHistoryEntry {
514
505
  /**
515
506
  * The username at this point in time
516
507
  */
517
- 'username'?: string;
508
+ 'username': string;
518
509
  /**
519
510
  * When this username was first observed (ISO-8601)
520
511
  */
521
- 'changedAt'?: string;
512
+ 'changedAt': string;
522
513
  }
523
514
  export interface ChatMessageDTO {
524
515
  'id': number;
@@ -558,23 +549,23 @@ export interface ConnectionGetConnectionDetailsResponse {
558
549
  /**
559
550
  * The analyzed IPv4 address
560
551
  */
561
- 'ipAddress'?: string;
552
+ 'ipAddress': string;
562
553
  /**
563
554
  * Approximate geographic location of the IP address. Returns \'Local, N/A\' for localhost or private IPs.
564
555
  */
565
- 'approximateLocation'?: string;
556
+ 'approximateLocation': string;
566
557
  /**
567
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).
568
559
  */
569
- 'percentPositive'?: number;
560
+ 'percentPositive': number;
570
561
  /**
571
562
  * Total number of VPN detection services successfully queried during the last check.
572
563
  */
573
- 'numberOfChecks'?: number;
564
+ 'numberOfChecks': number;
574
565
  /**
575
566
  * Indicates if this IP address has been administratively bypassed.
576
567
  */
577
- 'isBypassed'?: boolean;
568
+ 'isBypassed': boolean;
578
569
  /**
579
570
  * Expiration timestamp for the bypass (ISO-8601 format). Null if not bypassed or bypass is permanent.
580
571
  */
@@ -582,7 +573,7 @@ export interface ConnectionGetConnectionDetailsResponse {
582
573
  /**
583
574
  * Results from each VPN detection service that checked this IP address
584
575
  */
585
- 'results'?: Array<AdminConnectionCheckResult>;
576
+ 'results': Array<AdminConnectionCheckResult>;
586
577
  /**
587
578
  * Player information associated with this connection. Only populated when \'associate_uuid\' query parameter is provided.
588
579
  */
@@ -590,8 +581,30 @@ export interface ConnectionGetConnectionDetailsResponse {
590
581
  /**
591
582
  * Combined list of active punishments for both the IP address and player UUID (if provided). Only includes non-expired punishments.
592
583
  */
593
- 'punishments'?: Array<PunishmentGetPunishmentResponse>;
584
+ 'punishments': Array<PunishmentGetPunishmentResponse>;
585
+ /**
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.
587
+ */
588
+ 'connectionResult'?: ConnectionResult | null;
589
+ }
590
+ /**
591
+ * 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.
592
+ */
593
+ export interface ConnectionResult {
594
+ 'code': ConnectionResultResultCode;
595
+ 'allowed': boolean;
596
+ 'message'?: string | null;
594
597
  }
598
+ export declare const ConnectionResultResultCode: {
599
+ readonly Allowed: "ALLOWED";
600
+ readonly AllowedBypass: "ALLOWED_BYPASS";
601
+ readonly AllowedPlayerBypass: "ALLOWED_PLAYER_BYPASS";
602
+ readonly Banned: "BANNED";
603
+ readonly VpnDetected: "VPN_DETECTED";
604
+ readonly VpnRetry: "VPN_RETRY";
605
+ readonly VpnTempBanned: "VPN_TEMP_BANNED";
606
+ };
607
+ export type ConnectionResultResultCode = typeof ConnectionResultResultCode[keyof typeof ConnectionResultResultCode];
595
608
  /**
596
609
  * Request to create a connection bypass
597
610
  */
@@ -605,6 +618,12 @@ export interface CreateBypassRequest {
605
618
  */
606
619
  'expiresAtEpoch': number;
607
620
  }
621
+ export declare const GameType: {
622
+ readonly Rotj: "ROTJ";
623
+ readonly Legacy: "LEGACY";
624
+ readonly Classic: "CLASSIC";
625
+ };
626
+ export type GameType = typeof GameType[keyof typeof GameType];
608
627
  /**
609
628
  * Player information including join history, tracking data, and punishment scoring
610
629
  */
@@ -612,19 +631,19 @@ export interface PlayerGetPlayerInformation {
612
631
  /**
613
632
  * Indicates whether this is the player\'s first time joining the server.
614
633
  */
615
- 'firstJoin'?: boolean;
634
+ 'firstJoin': boolean;
616
635
  /**
617
636
  * Timestamp of when the player first connected to the server (ISO-8601 format).
618
637
  */
619
- 'firstLogin'?: string;
638
+ 'firstLogin': string;
620
639
  /**
621
640
  * Raw punishment score calculated as: SUM((base_weight × severity/10)). Used for tracking overall punishment severity.
622
641
  */
623
- 'punishmentPointsRaw'?: number;
642
+ 'punishmentPointsRaw': number;
624
643
  /**
625
644
  * Punishment score as a percentage (0-100). When >100% before applying a new punishment, the new punishment should be made permanent.
626
645
  */
627
- 'punishmentPointsPercent'?: number;
646
+ 'punishmentPointsPercent': number;
628
647
  }
629
648
  /**
630
649
  * Punishment information including reason, type, creator, and expiration
@@ -633,27 +652,27 @@ export interface PunishmentGetPunishmentResponse {
633
652
  /**
634
653
  * Unique identifier for the punishment
635
654
  */
636
- 'id'?: number;
655
+ 'id': number;
637
656
  /**
638
657
  * Reason for the punishment, shown to the punished player
639
658
  */
640
- 'reason'?: string;
659
+ 'reason': string;
641
660
  /**
642
661
  * Internal administrator notes — not shown to the punished player
643
662
  */
644
663
  'notes'?: string | null;
645
664
  /**
646
- * Type of punishment (BAN, MUTE, WARNING)
665
+ * Type of punishment
647
666
  */
648
- 'type'?: string;
667
+ 'type': PunishmentType;
649
668
  /**
650
669
  * Severity level (1=Minor, 2=Moderate, 3=Severe, 4=Critical)
651
670
  */
652
- 'severity'?: number;
671
+ 'severity': number;
653
672
  /**
654
673
  * Username or identifier of the person who created this punishment
655
674
  */
656
- 'createdBy'?: string;
675
+ 'createdBy': string;
657
676
  /**
658
677
  * Timestamp when the punishment expires (ISO-8601 format). Null for permanent punishments.
659
678
  */
@@ -661,7 +680,7 @@ export interface PunishmentGetPunishmentResponse {
661
680
  /**
662
681
  * Timestamp when the punishment was created (ISO-8601 format)
663
682
  */
664
- 'createdAt'?: string;
683
+ 'createdAt': string;
665
684
  }
666
685
  /**
667
686
  * Response containing punishment severity durations for each type
@@ -670,7 +689,7 @@ export interface PunishmentSeveritiesResponse {
670
689
  /**
671
690
  * List of punishment types with their severity durations
672
691
  */
673
- 'punishmentTypes'?: Array<PunishmentSeveritiesResponsePunishmentTypeInfo>;
692
+ 'punishmentTypes': Array<PunishmentSeveritiesResponsePunishmentTypeInfo>;
674
693
  }
675
694
  /**
676
695
  * Punishment type with severity information
@@ -679,11 +698,11 @@ export interface PunishmentSeveritiesResponsePunishmentTypeInfo {
679
698
  /**
680
699
  * Type of punishment
681
700
  */
682
- 'type'?: string;
701
+ 'type': PunishmentType;
683
702
  /**
684
703
  * List of severity levels with durations
685
704
  */
686
- 'severities'?: Array<PunishmentSeveritiesResponseSeverityInfo>;
705
+ 'severities': Array<PunishmentSeveritiesResponseSeverityInfo>;
687
706
  }
688
707
  /**
689
708
  * Severity level with duration information
@@ -692,27 +711,52 @@ export interface PunishmentSeveritiesResponseSeverityInfo {
692
711
  /**
693
712
  * Severity level
694
713
  */
695
- 'severity'?: number;
714
+ 'severity': number;
696
715
  /**
697
716
  * Duration in seconds (0 means no duration)
698
717
  */
699
- 'durationSeconds'?: number;
718
+ 'durationSeconds': number;
700
719
  }
720
+ export declare const PunishmentTargetType: {
721
+ readonly Player: "PLAYER";
722
+ readonly Connection: "CONNECTION";
723
+ };
724
+ export type PunishmentTargetType = typeof PunishmentTargetType[keyof typeof PunishmentTargetType];
725
+ export declare const PunishmentType: {
726
+ readonly Ban: "BAN";
727
+ readonly Mute: "MUTE";
728
+ readonly Warning: "WARNING";
729
+ };
730
+ export type PunishmentType = typeof PunishmentType[keyof typeof PunishmentType];
701
731
  export declare const Rank: {
702
732
  readonly Administrator: "ADMINISTRATOR";
703
733
  readonly Moderator: "MODERATOR";
704
734
  readonly Service: "SERVICE";
705
735
  };
706
736
  export type Rank = typeof Rank[keyof typeof Rank];
737
+ export declare const Region: {
738
+ readonly Us: "US";
739
+ readonly Eu: "EU";
740
+ readonly Au: "AU";
741
+ };
742
+ export type Region = typeof Region[keyof typeof Region];
743
+ /**
744
+ * Search kind — PLAYER for UUID/username searches, IP for IP address searches
745
+ */
746
+ export declare const SearchKind: {
747
+ readonly Player: "PLAYER";
748
+ readonly Ip: "IP";
749
+ };
750
+ export type SearchKind = typeof SearchKind[keyof typeof SearchKind];
707
751
  export interface ServerRegisterRequest {
708
- 'region': string;
709
- 'gameType': string;
752
+ 'region': Region;
753
+ 'gameType': GameType;
710
754
  'containerId'?: string | null;
711
755
  }
712
756
  export interface ServerSessionDTO {
713
757
  'id': string;
714
- 'region': string;
715
- 'gameType': string;
758
+ 'region': Region;
759
+ 'gameType': GameType;
716
760
  'instanceName': string;
717
761
  'containerId'?: string | null;
718
762
  'startedAt': string;
@@ -1350,13 +1394,13 @@ export declare const AdminPunishmentsApiAxiosParamCreator: (configuration?: Conf
1350
1394
  * @param {string | null} [uuid] Filter by player UUID
1351
1395
  * @param {string | null} [username] Filter by player username (case-insensitive substring match)
1352
1396
  * @param {string | null} [ipAddress] Filter by IP address
1353
- * @param {Array<string> | null} [type] Filter by punishment type (BAN, MUTE, WARNING). Repeatable.
1397
+ * @param {Array<PunishmentType> | null} [type] Filter by punishment type. Repeatable.
1354
1398
  * @param {number | null} [issuedAfter] Filter punishments issued after this epoch timestamp (ms)
1355
1399
  * @param {number | null} [issuedBefore] Filter punishments issued before this epoch timestamp (ms)
1356
1400
  * @param {*} [options] Override http request option.
1357
1401
  * @throws {RequiredError}
1358
1402
  */
1359
- getPunishments: (page: number, limit: number, uuid?: string | null, username?: string | null, ipAddress?: string | null, type?: Array<string> | null, issuedAfter?: number | null, issuedBefore?: number | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1403
+ getPunishments: (page: number, limit: number, uuid?: string | null, username?: string | null, ipAddress?: string | null, type?: Array<PunishmentType> | null, issuedAfter?: number | null, issuedBefore?: number | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1360
1404
  /**
1361
1405
  * Search for players by UUID or username, or look up all players associated with an IP address.
1362
1406
  * @summary Search punishment targets
@@ -1394,13 +1438,13 @@ export declare const AdminPunishmentsApiFp: (configuration?: Configuration) => {
1394
1438
  * @param {string | null} [uuid] Filter by player UUID
1395
1439
  * @param {string | null} [username] Filter by player username (case-insensitive substring match)
1396
1440
  * @param {string | null} [ipAddress] Filter by IP address
1397
- * @param {Array<string> | null} [type] Filter by punishment type (BAN, MUTE, WARNING). Repeatable.
1441
+ * @param {Array<PunishmentType> | null} [type] Filter by punishment type. Repeatable.
1398
1442
  * @param {number | null} [issuedAfter] Filter punishments issued after this epoch timestamp (ms)
1399
1443
  * @param {number | null} [issuedBefore] Filter punishments issued before this epoch timestamp (ms)
1400
1444
  * @param {*} [options] Override http request option.
1401
1445
  * @throws {RequiredError}
1402
1446
  */
1403
- getPunishments(page: number, limit: number, uuid?: string | null, username?: string | null, ipAddress?: string | null, type?: Array<string> | null, issuedAfter?: number | null, issuedBefore?: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminPagedPunishmentResponse>>;
1447
+ getPunishments(page: number, limit: number, uuid?: string | null, username?: string | null, ipAddress?: string | null, type?: Array<PunishmentType> | null, issuedAfter?: number | null, issuedBefore?: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminPagedPunishmentResponse>>;
1404
1448
  /**
1405
1449
  * Search for players by UUID or username, or look up all players associated with an IP address.
1406
1450
  * @summary Search punishment targets
@@ -1438,13 +1482,13 @@ export declare const AdminPunishmentsApiFactory: (configuration?: Configuration,
1438
1482
  * @param {string | null} [uuid] Filter by player UUID
1439
1483
  * @param {string | null} [username] Filter by player username (case-insensitive substring match)
1440
1484
  * @param {string | null} [ipAddress] Filter by IP address
1441
- * @param {Array<string> | null} [type] Filter by punishment type (BAN, MUTE, WARNING). Repeatable.
1485
+ * @param {Array<PunishmentType> | null} [type] Filter by punishment type. Repeatable.
1442
1486
  * @param {number | null} [issuedAfter] Filter punishments issued after this epoch timestamp (ms)
1443
1487
  * @param {number | null} [issuedBefore] Filter punishments issued before this epoch timestamp (ms)
1444
1488
  * @param {*} [options] Override http request option.
1445
1489
  * @throws {RequiredError}
1446
1490
  */
1447
- getPunishments(page: number, limit: number, uuid?: string | null, username?: string | null, ipAddress?: string | null, type?: Array<string> | null, issuedAfter?: number | null, issuedBefore?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<AdminPagedPunishmentResponse>;
1491
+ getPunishments(page: number, limit: number, uuid?: string | null, username?: string | null, ipAddress?: string | null, type?: Array<PunishmentType> | null, issuedAfter?: number | null, issuedBefore?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<AdminPagedPunishmentResponse>;
1448
1492
  /**
1449
1493
  * Search for players by UUID or username, or look up all players associated with an IP address.
1450
1494
  * @summary Search punishment targets
@@ -1482,13 +1526,13 @@ export declare class AdminPunishmentsApi extends BaseAPI {
1482
1526
  * @param {string | null} [uuid] Filter by player UUID
1483
1527
  * @param {string | null} [username] Filter by player username (case-insensitive substring match)
1484
1528
  * @param {string | null} [ipAddress] Filter by IP address
1485
- * @param {Array<string> | null} [type] Filter by punishment type (BAN, MUTE, WARNING). Repeatable.
1529
+ * @param {Array<PunishmentType> | null} [type] Filter by punishment type. Repeatable.
1486
1530
  * @param {number | null} [issuedAfter] Filter punishments issued after this epoch timestamp (ms)
1487
1531
  * @param {number | null} [issuedBefore] Filter punishments issued before this epoch timestamp (ms)
1488
1532
  * @param {*} [options] Override http request option.
1489
1533
  * @throws {RequiredError}
1490
1534
  */
1491
- getPunishments(page: number, limit: number, uuid?: string | null, username?: string | null, ipAddress?: string | null, type?: Array<string> | null, issuedAfter?: number | null, issuedBefore?: number | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AdminPagedPunishmentResponse, any, {}>>;
1535
+ getPunishments(page: number, limit: number, uuid?: string | null, username?: string | null, ipAddress?: string | null, type?: Array<PunishmentType> | null, issuedAfter?: number | null, issuedBefore?: number | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AdminPagedPunishmentResponse, any, {}>>;
1492
1536
  /**
1493
1537
  * Search for players by UUID or username, or look up all players associated with an IP address.
1494
1538
  * @summary Search punishment targets
@@ -1902,12 +1946,12 @@ export declare const PunishmentApiAxiosParamCreator: (configuration?: Configurat
1902
1946
  * @summary Get punishments by player
1903
1947
  * @param {string | null} [uuid] Player UUID
1904
1948
  * @param {string | null} [username] Player username
1905
- * @param {Array<string> | null} [type] Filter by punishment types
1949
+ * @param {Array<PunishmentType> | null} [type] Filter by punishment types
1906
1950
  * @param {number | null} [since] Filter punishments created after this Unix epoch timestamp (milliseconds)
1907
1951
  * @param {*} [options] Override http request option.
1908
1952
  * @throws {RequiredError}
1909
1953
  */
1910
- getPunishments1: (uuid?: string | null, username?: string | null, type?: Array<string> | null, since?: number | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1954
+ getPunishments1: (uuid?: string | null, username?: string | null, type?: Array<PunishmentType> | null, since?: number | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1911
1955
  /**
1912
1956
  * Retrieve all active punishments associated with an IP address
1913
1957
  * @summary Get punishments by IP address
@@ -1925,13 +1969,13 @@ export declare const PunishmentApiAxiosParamCreator: (configuration?: Configurat
1925
1969
  * @param {number | null} [issuedBefore] Filter punishments issued before this epoch timestamp (milliseconds)
1926
1970
  * @param {number | null} [expiresAfter] Filter punishments expiring after this epoch timestamp (milliseconds)
1927
1971
  * @param {number | null} [expiresBefore] Filter punishments expiring before this epoch timestamp (milliseconds)
1928
- * @param {Array<string> | null} [type] Filter by punishment types
1972
+ * @param {Array<PunishmentType> | null} [type] Filter by punishment types
1929
1973
  * @param {string | null} [uuid] Filter by player UUID
1930
1974
  * @param {string | null} [ipAddress] Filter by IP address
1931
1975
  * @param {*} [options] Override http request option.
1932
1976
  * @throws {RequiredError}
1933
1977
  */
1934
- getRecentPunishments: (limit: number, page: number, issuedAfter?: number | null, issuedBefore?: number | null, expiresAfter?: number | null, expiresBefore?: number | null, type?: Array<string> | null, uuid?: string | null, ipAddress?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1978
+ getRecentPunishments: (limit: number, page: number, issuedAfter?: number | null, issuedBefore?: number | null, expiresAfter?: number | null, expiresBefore?: number | null, type?: Array<PunishmentType> | null, uuid?: string | null, ipAddress?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1935
1979
  };
1936
1980
  /**
1937
1981
  * PunishmentApi - functional programming interface
@@ -1949,12 +1993,12 @@ export declare const PunishmentApiFp: (configuration?: Configuration) => {
1949
1993
  * @summary Get punishments by player
1950
1994
  * @param {string | null} [uuid] Player UUID
1951
1995
  * @param {string | null} [username] Player username
1952
- * @param {Array<string> | null} [type] Filter by punishment types
1996
+ * @param {Array<PunishmentType> | null} [type] Filter by punishment types
1953
1997
  * @param {number | null} [since] Filter punishments created after this Unix epoch timestamp (milliseconds)
1954
1998
  * @param {*} [options] Override http request option.
1955
1999
  * @throws {RequiredError}
1956
2000
  */
1957
- getPunishments1(uuid?: string | null, username?: string | null, type?: Array<string> | null, since?: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PunishmentGetPunishmentResponse>>>;
2001
+ getPunishments1(uuid?: string | null, username?: string | null, type?: Array<PunishmentType> | null, since?: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PunishmentGetPunishmentResponse>>>;
1958
2002
  /**
1959
2003
  * Retrieve all active punishments associated with an IP address
1960
2004
  * @summary Get punishments by IP address
@@ -1972,13 +2016,13 @@ export declare const PunishmentApiFp: (configuration?: Configuration) => {
1972
2016
  * @param {number | null} [issuedBefore] Filter punishments issued before this epoch timestamp (milliseconds)
1973
2017
  * @param {number | null} [expiresAfter] Filter punishments expiring after this epoch timestamp (milliseconds)
1974
2018
  * @param {number | null} [expiresBefore] Filter punishments expiring before this epoch timestamp (milliseconds)
1975
- * @param {Array<string> | null} [type] Filter by punishment types
2019
+ * @param {Array<PunishmentType> | null} [type] Filter by punishment types
1976
2020
  * @param {string | null} [uuid] Filter by player UUID
1977
2021
  * @param {string | null} [ipAddress] Filter by IP address
1978
2022
  * @param {*} [options] Override http request option.
1979
2023
  * @throws {RequiredError}
1980
2024
  */
1981
- getRecentPunishments(limit: number, page: number, issuedAfter?: number | null, issuedBefore?: number | null, expiresAfter?: number | null, expiresBefore?: number | null, type?: Array<string> | null, uuid?: string | null, ipAddress?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PunishmentGetPunishmentResponse>>>;
2025
+ getRecentPunishments(limit: number, page: number, issuedAfter?: number | null, issuedBefore?: number | null, expiresAfter?: number | null, expiresBefore?: number | null, type?: Array<PunishmentType> | null, uuid?: string | null, ipAddress?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PunishmentGetPunishmentResponse>>>;
1982
2026
  };
1983
2027
  /**
1984
2028
  * PunishmentApi - factory interface
@@ -1996,12 +2040,12 @@ export declare const PunishmentApiFactory: (configuration?: Configuration, baseP
1996
2040
  * @summary Get punishments by player
1997
2041
  * @param {string | null} [uuid] Player UUID
1998
2042
  * @param {string | null} [username] Player username
1999
- * @param {Array<string> | null} [type] Filter by punishment types
2043
+ * @param {Array<PunishmentType> | null} [type] Filter by punishment types
2000
2044
  * @param {number | null} [since] Filter punishments created after this Unix epoch timestamp (milliseconds)
2001
2045
  * @param {*} [options] Override http request option.
2002
2046
  * @throws {RequiredError}
2003
2047
  */
2004
- getPunishments1(uuid?: string | null, username?: string | null, type?: Array<string> | null, since?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<Array<PunishmentGetPunishmentResponse>>;
2048
+ getPunishments1(uuid?: string | null, username?: string | null, type?: Array<PunishmentType> | null, since?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<Array<PunishmentGetPunishmentResponse>>;
2005
2049
  /**
2006
2050
  * Retrieve all active punishments associated with an IP address
2007
2051
  * @summary Get punishments by IP address
@@ -2019,13 +2063,13 @@ export declare const PunishmentApiFactory: (configuration?: Configuration, baseP
2019
2063
  * @param {number | null} [issuedBefore] Filter punishments issued before this epoch timestamp (milliseconds)
2020
2064
  * @param {number | null} [expiresAfter] Filter punishments expiring after this epoch timestamp (milliseconds)
2021
2065
  * @param {number | null} [expiresBefore] Filter punishments expiring before this epoch timestamp (milliseconds)
2022
- * @param {Array<string> | null} [type] Filter by punishment types
2066
+ * @param {Array<PunishmentType> | null} [type] Filter by punishment types
2023
2067
  * @param {string | null} [uuid] Filter by player UUID
2024
2068
  * @param {string | null} [ipAddress] Filter by IP address
2025
2069
  * @param {*} [options] Override http request option.
2026
2070
  * @throws {RequiredError}
2027
2071
  */
2028
- getRecentPunishments(limit: number, page: number, issuedAfter?: number | null, issuedBefore?: number | null, expiresAfter?: number | null, expiresBefore?: number | null, type?: Array<string> | null, uuid?: string | null, ipAddress?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<Array<PunishmentGetPunishmentResponse>>;
2072
+ getRecentPunishments(limit: number, page: number, issuedAfter?: number | null, issuedBefore?: number | null, expiresAfter?: number | null, expiresBefore?: number | null, type?: Array<PunishmentType> | null, uuid?: string | null, ipAddress?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<Array<PunishmentGetPunishmentResponse>>;
2029
2073
  };
2030
2074
  /**
2031
2075
  * PunishmentApi - object-oriented interface
@@ -2043,12 +2087,12 @@ export declare class PunishmentApi extends BaseAPI {
2043
2087
  * @summary Get punishments by player
2044
2088
  * @param {string | null} [uuid] Player UUID
2045
2089
  * @param {string | null} [username] Player username
2046
- * @param {Array<string> | null} [type] Filter by punishment types
2090
+ * @param {Array<PunishmentType> | null} [type] Filter by punishment types
2047
2091
  * @param {number | null} [since] Filter punishments created after this Unix epoch timestamp (milliseconds)
2048
2092
  * @param {*} [options] Override http request option.
2049
2093
  * @throws {RequiredError}
2050
2094
  */
2051
- getPunishments1(uuid?: string | null, username?: string | null, type?: Array<string> | null, since?: number | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PunishmentGetPunishmentResponse[], any, {}>>;
2095
+ getPunishments1(uuid?: string | null, username?: string | null, type?: Array<PunishmentType> | null, since?: number | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PunishmentGetPunishmentResponse[], any, {}>>;
2052
2096
  /**
2053
2097
  * Retrieve all active punishments associated with an IP address
2054
2098
  * @summary Get punishments by IP address
@@ -2066,13 +2110,13 @@ export declare class PunishmentApi extends BaseAPI {
2066
2110
  * @param {number | null} [issuedBefore] Filter punishments issued before this epoch timestamp (milliseconds)
2067
2111
  * @param {number | null} [expiresAfter] Filter punishments expiring after this epoch timestamp (milliseconds)
2068
2112
  * @param {number | null} [expiresBefore] Filter punishments expiring before this epoch timestamp (milliseconds)
2069
- * @param {Array<string> | null} [type] Filter by punishment types
2113
+ * @param {Array<PunishmentType> | null} [type] Filter by punishment types
2070
2114
  * @param {string | null} [uuid] Filter by player UUID
2071
2115
  * @param {string | null} [ipAddress] Filter by IP address
2072
2116
  * @param {*} [options] Override http request option.
2073
2117
  * @throws {RequiredError}
2074
2118
  */
2075
- getRecentPunishments(limit: number, page: number, issuedAfter?: number | null, issuedBefore?: number | null, expiresAfter?: number | null, expiresBefore?: number | null, type?: Array<string> | null, uuid?: string | null, ipAddress?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PunishmentGetPunishmentResponse[], any, {}>>;
2119
+ getRecentPunishments(limit: number, page: number, issuedAfter?: number | null, issuedBefore?: number | null, expiresAfter?: number | null, expiresBefore?: number | null, type?: Array<PunishmentType> | null, uuid?: string | null, ipAddress?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PunishmentGetPunishmentResponse[], any, {}>>;
2076
2120
  }
2077
2121
  /**
2078
2122
  * ServerSessionsApi - axios parameter creator