@rebornteam/reborn-api 2.9.1 → 3.1.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 (53) hide show
  1. package/.openapi-generator/FILES +8 -0
  2. package/README.md +11 -2
  3. package/api.ts +280 -100
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +197 -97
  8. package/dist/api.js +149 -51
  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 +197 -97
  16. package/dist/esm/api.js +147 -50
  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 +1 -1
  28. package/docs/AdminApplyPunishmentResult.md +1 -1
  29. package/docs/AdminConnectionCheckResult.md +25 -0
  30. package/docs/AdminConnectionsApi.md +59 -0
  31. package/docs/AdminCreatePunishmentDraftRequest.md +1 -1
  32. package/docs/AdminDashboardConnectionResponse.md +2 -0
  33. package/docs/AdminPunishmentEvaluation.md +1 -1
  34. package/docs/AdminPunishmentListItem.md +2 -2
  35. package/docs/AdminPunishmentSearchResponse.md +1 -1
  36. package/docs/AdminPunishmentsApi.md +5 -5
  37. package/docs/ConnectionGetConnectionDetailsResponse.md +11 -7
  38. package/docs/ConnectionResult.md +25 -0
  39. package/docs/ConnectionResultResultCode.md +20 -0
  40. package/docs/GameType.md +12 -0
  41. package/docs/PlayerApi.md +7 -8
  42. package/docs/PlayerGetPlayerInformation.md +4 -4
  43. package/docs/PunishmentApi.md +4 -4
  44. package/docs/PunishmentGetPunishmentResponse.md +1 -1
  45. package/docs/PunishmentSeveritiesResponsePunishmentTypeInfo.md +1 -1
  46. package/docs/PunishmentTargetType.md +10 -0
  47. package/docs/PunishmentType.md +12 -0
  48. package/docs/Region.md +12 -0
  49. package/docs/SearchKind.md +11 -0
  50. package/docs/ServerRegisterRequest.md +2 -2
  51. package/docs/ServerSessionDTO.md +2 -2
  52. package/index.ts +1 -1
  53. 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: 2.9.1
5
+ * The version of the OpenAPI document: 3.1.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -24,7 +24,7 @@ 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
  */
@@ -46,12 +46,6 @@ export interface AdminApplyPunishmentRequest {
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
  */
@@ -76,7 +70,7 @@ export interface AdminApplyPunishmentResult {
76
70
  /**
77
71
  * Punishment type applied
78
72
  */
79
- 'type'?: string;
73
+ 'type'?: PunishmentType;
80
74
  /**
81
75
  * Severity level applied
82
76
  */
@@ -152,6 +146,23 @@ export interface AdminConnectionBypassResponse {
152
146
  */
153
147
  'createdAt'?: string;
154
148
  }
149
+ /**
150
+ * Result from a single VPN detection service for a given IP address
151
+ */
152
+ export interface AdminConnectionCheckResult {
153
+ /**
154
+ * Service identifier
155
+ */
156
+ 'service'?: string;
157
+ /**
158
+ * Whether this service flagged the IP as a VPN, proxy, or Tor exit node
159
+ */
160
+ 'result'?: boolean;
161
+ /**
162
+ * When this check was last performed
163
+ */
164
+ 'checkedAt'?: string;
165
+ }
155
166
  /**
156
167
  * Request to evaluate the impact of a punishment across one or more targets before applying
157
168
  */
@@ -163,7 +174,7 @@ export interface AdminCreatePunishmentDraftRequest {
163
174
  /**
164
175
  * Punishment type
165
176
  */
166
- 'type': AdminCreatePunishmentDraftRequestTypeEnum;
177
+ 'type': PunishmentType;
167
178
  /**
168
179
  * Severity level: 1=Minor, 2=Moderate, 3=Severe, 4=Critical
169
180
  */
@@ -181,12 +192,6 @@ export interface AdminCreatePunishmentDraftRequest {
181
192
  */
182
193
  'forcePermanent'?: boolean;
183
194
  }
184
- export declare const AdminCreatePunishmentDraftRequestTypeEnum: {
185
- readonly Ban: "BAN";
186
- readonly Mute: "MUTE";
187
- readonly Warning: "WARNING";
188
- };
189
- export type AdminCreatePunishmentDraftRequestTypeEnum = typeof AdminCreatePunishmentDraftRequestTypeEnum[keyof typeof AdminCreatePunishmentDraftRequestTypeEnum];
190
195
  export interface AdminDashboardConnectionResponse {
191
196
  'id': number;
192
197
  'ipAddress': string;
@@ -198,6 +203,10 @@ export interface AdminDashboardConnectionResponse {
198
203
  'lastSeen'?: string | null;
199
204
  'percentPositive': number;
200
205
  'numberOfChecks': number;
206
+ /**
207
+ * Results from each VPN detection service for this IP address
208
+ */
209
+ 'results'?: Array<AdminConnectionCheckResult>;
201
210
  }
202
211
  export interface AdminGetDashboardStats {
203
212
  'totalPlayers': number;
@@ -435,18 +444,18 @@ export interface AdminPunishmentEvaluation {
435
444
  /**
436
445
  * The effective punishment type that will be applied — may differ from the requested type if escalated to BAN at threshold
437
446
  */
438
- 'effectiveType'?: string;
447
+ 'effectiveType'?: PunishmentType;
439
448
  }
440
449
  export interface AdminPunishmentListItem {
441
450
  'id': number;
442
451
  'reason': string;
443
452
  'notes'?: string | null;
444
- 'type': string;
453
+ 'type': PunishmentType;
445
454
  'severity': number;
446
455
  'createdBy': string;
447
456
  'expiresAt'?: string | null;
448
457
  'createdAt': string;
449
- 'targetType': string;
458
+ 'targetType': PunishmentTargetType;
450
459
  'targetUuid'?: string | null;
451
460
  'targetUsername'?: string | null;
452
461
  'targetIp'?: string | null;
@@ -456,9 +465,9 @@ export interface AdminPunishmentListItem {
456
465
  */
457
466
  export interface AdminPunishmentSearchResponse {
458
467
  /**
459
- * Search kind — \'player\' for UUID/username searches, \'ip\' for IP address searches
468
+ * Search kind — PLAYER for UUID/username searches, IP for IP address searches
460
469
  */
461
- 'kind'?: AdminPunishmentSearchResponseKindEnum;
470
+ 'kind'?: SearchKind;
462
471
  /**
463
472
  * Matching players — only populated when kind=\'player\'
464
473
  */
@@ -468,11 +477,6 @@ export interface AdminPunishmentSearchResponse {
468
477
  */
469
478
  'ipResults'?: Array<AdminIpSearchResult>;
470
479
  }
471
- export declare const AdminPunishmentSearchResponseKindEnum: {
472
- readonly Player: "player";
473
- readonly Ip: "ip";
474
- };
475
- export type AdminPunishmentSearchResponseKindEnum = typeof AdminPunishmentSearchResponseKindEnum[keyof typeof AdminPunishmentSearchResponseKindEnum];
476
480
  /**
477
481
  * A target for a punishment — either a player UUID or an IP address (mutually exclusive)
478
482
  */
@@ -539,31 +543,60 @@ export interface ConnectionGetConnectionDetailsResponse {
539
543
  */
540
544
  'ipAddress'?: string;
541
545
  /**
542
- * Approximate geographic location of the IP address, typically in \'City, Country\' format. Returns \'Local, N/A\' for localhost or private IPs.
546
+ * Approximate geographic location of the IP address. Returns \'Local, N/A\' for localhost or private IPs.
543
547
  */
544
548
  'approximateLocation'?: string;
545
549
  /**
546
- * 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). Values above 50.0 suggest high probability of VPN usage.
550
+ * 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).
547
551
  */
548
552
  'percentPositive'?: number;
549
553
  /**
550
- * Total number of VPN detection services successfully queried during the last check. Higher numbers indicate more comprehensive analysis.
554
+ * Total number of VPN detection services successfully queried during the last check.
551
555
  */
552
556
  'numberOfChecks'?: number;
553
- 'bypassed'?: boolean;
554
557
  /**
555
- * Expiration timestamp for the bypass (ISO-8601 format). After this time, normal VPN detection rules will apply again. Null if not bypassed or bypass is permanent.
558
+ * Indicates if this IP address has been administratively bypassed.
559
+ */
560
+ 'isBypassed'?: boolean;
561
+ /**
562
+ * Expiration timestamp for the bypass (ISO-8601 format). Null if not bypassed or bypass is permanent.
556
563
  */
557
564
  'bypassedUntil'?: string | null;
558
565
  /**
559
- * Player information associated with this connection. Only populated when \'associate_uuid\' query parameter is provided. Contains first join status and login history.
566
+ * Results from each VPN detection service that checked this IP address
567
+ */
568
+ 'results'?: Array<AdminConnectionCheckResult>;
569
+ /**
570
+ * Player information associated with this connection. Only populated when \'associate_uuid\' query parameter is provided.
560
571
  */
561
572
  'playerInformation'?: PlayerGetPlayerInformation | null;
562
573
  /**
563
574
  * Combined list of active punishments for both the IP address and player UUID (if provided). Only includes non-expired punishments.
564
575
  */
565
576
  'punishments'?: Array<PunishmentGetPunishmentResponse>;
577
+ /**
578
+ * 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
+ */
580
+ 'connectionResult'?: ConnectionResult | null;
581
+ }
582
+ /**
583
+ * 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.
584
+ */
585
+ export interface ConnectionResult {
586
+ 'code': ConnectionResultResultCode;
587
+ 'allowed': boolean;
588
+ 'message'?: string | null;
566
589
  }
590
+ export declare const ConnectionResultResultCode: {
591
+ readonly Allowed: "ALLOWED";
592
+ readonly AllowedBypass: "ALLOWED_BYPASS";
593
+ readonly AllowedPlayerBypass: "ALLOWED_PLAYER_BYPASS";
594
+ readonly Banned: "BANNED";
595
+ readonly VpnDetected: "VPN_DETECTED";
596
+ readonly VpnRetry: "VPN_RETRY";
597
+ readonly VpnTempBanned: "VPN_TEMP_BANNED";
598
+ };
599
+ export type ConnectionResultResultCode = typeof ConnectionResultResultCode[keyof typeof ConnectionResultResultCode];
567
600
  /**
568
601
  * Request to create a connection bypass
569
602
  */
@@ -577,24 +610,30 @@ export interface CreateBypassRequest {
577
610
  */
578
611
  'expiresAtEpoch': number;
579
612
  }
613
+ export declare const GameType: {
614
+ readonly Rotj: "ROTJ";
615
+ readonly Legacy: "LEGACY";
616
+ readonly Classic: "CLASSIC";
617
+ };
618
+ export type GameType = typeof GameType[keyof typeof GameType];
580
619
  /**
581
620
  * Player information including join history, tracking data, and punishment scoring
582
621
  */
583
622
  export interface PlayerGetPlayerInformation {
584
623
  /**
585
- * Timestamp of when the player first connected to the server (ISO-8601 format).
624
+ * Indicates whether this is the player\'s first time joining the server.
586
625
  */
587
- 'firstLogin'?: string;
626
+ 'firstJoin'?: boolean;
588
627
  /**
589
- * Indicates whether this is the player\'s first time joining the server. Useful for triggering welcome messages, tutorials, or first-join rewards.
628
+ * Timestamp of when the player first connected to the server (ISO-8601 format).
590
629
  */
591
- 'firstJoin'?: boolean;
630
+ 'firstLogin'?: string;
592
631
  /**
593
- * Raw punishment score calculated as: SUM((base_weight × severity/10)) where base_weight is 0.10 for WARNING, 0.30 for MUTE, 0.50 for BAN. Severity ranges 1-10. Used for tracking overall punishment severity.
632
+ * Raw punishment score calculated as: SUM((base_weight × severity/10)). Used for tracking overall punishment severity.
594
633
  */
595
634
  'punishmentPointsRaw'?: number;
596
635
  /**
597
- * Punishment score as a percentage (0-100). When this score is >100% BEFORE applying a new punishment, the new punishment should be made permanent. Check this value BEFORE issuing punishment, not after. Calculated as raw_score × 100.
636
+ * Punishment score as a percentage (0-100). When >100% before applying a new punishment, the new punishment should be made permanent.
598
637
  */
599
638
  'punishmentPointsPercent'?: number;
600
639
  }
@@ -615,9 +654,9 @@ export interface PunishmentGetPunishmentResponse {
615
654
  */
616
655
  'notes'?: string | null;
617
656
  /**
618
- * Type of punishment (BAN, MUTE, WARNING)
657
+ * Type of punishment
619
658
  */
620
- 'type'?: string;
659
+ 'type'?: PunishmentType;
621
660
  /**
622
661
  * Severity level (1=Minor, 2=Moderate, 3=Severe, 4=Critical)
623
662
  */
@@ -651,7 +690,7 @@ export interface PunishmentSeveritiesResponsePunishmentTypeInfo {
651
690
  /**
652
691
  * Type of punishment
653
692
  */
654
- 'type'?: string;
693
+ 'type'?: PunishmentType;
655
694
  /**
656
695
  * List of severity levels with durations
657
696
  */
@@ -670,21 +709,46 @@ export interface PunishmentSeveritiesResponseSeverityInfo {
670
709
  */
671
710
  'durationSeconds'?: number;
672
711
  }
712
+ export declare const PunishmentTargetType: {
713
+ readonly Player: "PLAYER";
714
+ readonly Connection: "CONNECTION";
715
+ };
716
+ export type PunishmentTargetType = typeof PunishmentTargetType[keyof typeof PunishmentTargetType];
717
+ export declare const PunishmentType: {
718
+ readonly Ban: "BAN";
719
+ readonly Mute: "MUTE";
720
+ readonly Warning: "WARNING";
721
+ };
722
+ export type PunishmentType = typeof PunishmentType[keyof typeof PunishmentType];
673
723
  export declare const Rank: {
674
724
  readonly Administrator: "ADMINISTRATOR";
675
725
  readonly Moderator: "MODERATOR";
676
726
  readonly Service: "SERVICE";
677
727
  };
678
728
  export type Rank = typeof Rank[keyof typeof Rank];
729
+ export declare const Region: {
730
+ readonly Us: "US";
731
+ readonly Eu: "EU";
732
+ readonly Au: "AU";
733
+ };
734
+ export type Region = typeof Region[keyof typeof Region];
735
+ /**
736
+ * Search kind — PLAYER for UUID/username searches, IP for IP address searches
737
+ */
738
+ export declare const SearchKind: {
739
+ readonly Player: "PLAYER";
740
+ readonly Ip: "IP";
741
+ };
742
+ export type SearchKind = typeof SearchKind[keyof typeof SearchKind];
679
743
  export interface ServerRegisterRequest {
680
- 'region': string;
681
- 'gameType': string;
744
+ 'region': Region;
745
+ 'gameType': GameType;
682
746
  'containerId'?: string | null;
683
747
  }
684
748
  export interface ServerSessionDTO {
685
749
  'id': string;
686
- 'region': string;
687
- 'gameType': string;
750
+ 'region': Region;
751
+ 'gameType': GameType;
688
752
  'instanceName': string;
689
753
  'containerId'?: string | null;
690
754
  'startedAt': string;
@@ -1000,6 +1064,15 @@ export declare const AdminConnectionsApiAxiosParamCreator: (configuration?: Conf
1000
1064
  * @throws {RequiredError}
1001
1065
  */
1002
1066
  listConnections: (createdAfter?: number | null, createdBefore?: number | null, ipAddress?: string | null, uuid?: string | null, isVpn?: boolean | null, page?: number | null, limit?: number | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1067
+ /**
1068
+ * Re-runs one named VPN detection service for a specific connection, persists the updated result, and recalculates the connection\'s overall `percentPositive` and `numberOfChecks` from all stored checks. Returns the refreshed check result including its new `checkedAt` timestamp.
1069
+ * @summary Refresh a single VPN check
1070
+ * @param {number} connectionId
1071
+ * @param {string} service
1072
+ * @param {*} [options] Override http request option.
1073
+ * @throws {RequiredError}
1074
+ */
1075
+ recheckService: (connectionId: number, service: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1003
1076
  };
1004
1077
  /**
1005
1078
  * AdminConnectionsApi - functional programming interface
@@ -1039,6 +1112,15 @@ export declare const AdminConnectionsApiFp: (configuration?: Configuration) => {
1039
1112
  * @throws {RequiredError}
1040
1113
  */
1041
1114
  listConnections(createdAfter?: number | null, createdBefore?: number | null, ipAddress?: string | null, uuid?: string | null, isVpn?: boolean | null, page?: number | null, limit?: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AdminDashboardConnectionResponse>>>;
1115
+ /**
1116
+ * Re-runs one named VPN detection service for a specific connection, persists the updated result, and recalculates the connection\'s overall `percentPositive` and `numberOfChecks` from all stored checks. Returns the refreshed check result including its new `checkedAt` timestamp.
1117
+ * @summary Refresh a single VPN check
1118
+ * @param {number} connectionId
1119
+ * @param {string} service
1120
+ * @param {*} [options] Override http request option.
1121
+ * @throws {RequiredError}
1122
+ */
1123
+ recheckService(connectionId: number, service: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminConnectionCheckResult>>;
1042
1124
  };
1043
1125
  /**
1044
1126
  * AdminConnectionsApi - factory interface
@@ -1078,6 +1160,15 @@ export declare const AdminConnectionsApiFactory: (configuration?: Configuration,
1078
1160
  * @throws {RequiredError}
1079
1161
  */
1080
1162
  listConnections(createdAfter?: number | null, createdBefore?: number | null, ipAddress?: string | null, uuid?: string | null, isVpn?: boolean | null, page?: number | null, limit?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<Array<AdminDashboardConnectionResponse>>;
1163
+ /**
1164
+ * Re-runs one named VPN detection service for a specific connection, persists the updated result, and recalculates the connection\'s overall `percentPositive` and `numberOfChecks` from all stored checks. Returns the refreshed check result including its new `checkedAt` timestamp.
1165
+ * @summary Refresh a single VPN check
1166
+ * @param {number} connectionId
1167
+ * @param {string} service
1168
+ * @param {*} [options] Override http request option.
1169
+ * @throws {RequiredError}
1170
+ */
1171
+ recheckService(connectionId: number, service: string, options?: RawAxiosRequestConfig): AxiosPromise<AdminConnectionCheckResult>;
1081
1172
  };
1082
1173
  /**
1083
1174
  * AdminConnectionsApi - object-oriented interface
@@ -1117,6 +1208,15 @@ export declare class AdminConnectionsApi extends BaseAPI {
1117
1208
  * @throws {RequiredError}
1118
1209
  */
1119
1210
  listConnections(createdAfter?: number | null, createdBefore?: number | null, ipAddress?: string | null, uuid?: string | null, isVpn?: boolean | null, page?: number | null, limit?: number | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AdminDashboardConnectionResponse[], any, {}>>;
1211
+ /**
1212
+ * Re-runs one named VPN detection service for a specific connection, persists the updated result, and recalculates the connection\'s overall `percentPositive` and `numberOfChecks` from all stored checks. Returns the refreshed check result including its new `checkedAt` timestamp.
1213
+ * @summary Refresh a single VPN check
1214
+ * @param {number} connectionId
1215
+ * @param {string} service
1216
+ * @param {*} [options] Override http request option.
1217
+ * @throws {RequiredError}
1218
+ */
1219
+ recheckService(connectionId: number, service: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AdminConnectionCheckResult, any, {}>>;
1120
1220
  }
1121
1221
  /**
1122
1222
  * AdminDashboardApi - axios parameter creator
@@ -1263,7 +1363,7 @@ export declare class AdminPlayersApi extends BaseAPI {
1263
1363
  */
1264
1364
  export declare const AdminPunishmentsApiAxiosParamCreator: (configuration?: Configuration) => {
1265
1365
  /**
1266
- * Apply a punishment to one or more targets. Player targets are linked via player_punishment; IP targets are linked via connection_punishment. The authenticated user is recorded as the issuer.
1366
+ * Apply a punishment to one or more targets. The authenticated user is recorded as the issuer.
1267
1367
  * @summary Apply punishment
1268
1368
  * @param {AdminApplyPunishmentRequest} adminApplyPunishmentRequest
1269
1369
  * @param {*} [options] Override http request option.
@@ -1271,7 +1371,7 @@ export declare const AdminPunishmentsApiAxiosParamCreator: (configuration?: Conf
1271
1371
  */
1272
1372
  applyPunishment: (adminApplyPunishmentRequest: AdminApplyPunishmentRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1273
1373
  /**
1274
- * Preview the impact of a punishment across one or more targets. Returns current score, points to add, projected new score, and affected players per target. No changes are made.
1374
+ * Preview the impact of a punishment across one or more targets. No changes are made.
1275
1375
  * @summary Evaluate punishment impact
1276
1376
  * @param {AdminCreatePunishmentDraftRequest} adminCreatePunishmentDraftRequest
1277
1377
  * @param {*} [options] Override http request option.
@@ -1286,15 +1386,15 @@ export declare const AdminPunishmentsApiAxiosParamCreator: (configuration?: Conf
1286
1386
  * @param {string | null} [uuid] Filter by player UUID
1287
1387
  * @param {string | null} [username] Filter by player username (case-insensitive substring match)
1288
1388
  * @param {string | null} [ipAddress] Filter by IP address
1289
- * @param {Array<string> | null} [type] Filter by punishment type (BAN, MUTE, WARNING). Repeatable.
1389
+ * @param {Array<PunishmentType> | null} [type] Filter by punishment type. Repeatable.
1290
1390
  * @param {number | null} [issuedAfter] Filter punishments issued after this epoch timestamp (ms)
1291
1391
  * @param {number | null} [issuedBefore] Filter punishments issued before this epoch timestamp (ms)
1292
1392
  * @param {*} [options] Override http request option.
1293
1393
  * @throws {RequiredError}
1294
1394
  */
1295
- 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>;
1395
+ 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>;
1296
1396
  /**
1297
- * Search for players by UUID or username, or look up all players associated with an IP address. Used to populate the target table before issuing a punishment.
1397
+ * Search for players by UUID or username, or look up all players associated with an IP address.
1298
1398
  * @summary Search punishment targets
1299
1399
  * @param {string} q UUID, username, or partial/full IP address to search for
1300
1400
  * @param {*} [options] Override http request option.
@@ -1307,7 +1407,7 @@ export declare const AdminPunishmentsApiAxiosParamCreator: (configuration?: Conf
1307
1407
  */
1308
1408
  export declare const AdminPunishmentsApiFp: (configuration?: Configuration) => {
1309
1409
  /**
1310
- * Apply a punishment to one or more targets. Player targets are linked via player_punishment; IP targets are linked via connection_punishment. The authenticated user is recorded as the issuer.
1410
+ * Apply a punishment to one or more targets. The authenticated user is recorded as the issuer.
1311
1411
  * @summary Apply punishment
1312
1412
  * @param {AdminApplyPunishmentRequest} adminApplyPunishmentRequest
1313
1413
  * @param {*} [options] Override http request option.
@@ -1315,7 +1415,7 @@ export declare const AdminPunishmentsApiFp: (configuration?: Configuration) => {
1315
1415
  */
1316
1416
  applyPunishment(adminApplyPunishmentRequest: AdminApplyPunishmentRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminApplyPunishmentResponse>>;
1317
1417
  /**
1318
- * Preview the impact of a punishment across one or more targets. Returns current score, points to add, projected new score, and affected players per target. No changes are made.
1418
+ * Preview the impact of a punishment across one or more targets. No changes are made.
1319
1419
  * @summary Evaluate punishment impact
1320
1420
  * @param {AdminCreatePunishmentDraftRequest} adminCreatePunishmentDraftRequest
1321
1421
  * @param {*} [options] Override http request option.
@@ -1330,15 +1430,15 @@ export declare const AdminPunishmentsApiFp: (configuration?: Configuration) => {
1330
1430
  * @param {string | null} [uuid] Filter by player UUID
1331
1431
  * @param {string | null} [username] Filter by player username (case-insensitive substring match)
1332
1432
  * @param {string | null} [ipAddress] Filter by IP address
1333
- * @param {Array<string> | null} [type] Filter by punishment type (BAN, MUTE, WARNING). Repeatable.
1433
+ * @param {Array<PunishmentType> | null} [type] Filter by punishment type. Repeatable.
1334
1434
  * @param {number | null} [issuedAfter] Filter punishments issued after this epoch timestamp (ms)
1335
1435
  * @param {number | null} [issuedBefore] Filter punishments issued before this epoch timestamp (ms)
1336
1436
  * @param {*} [options] Override http request option.
1337
1437
  * @throws {RequiredError}
1338
1438
  */
1339
- 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>>;
1439
+ 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>>;
1340
1440
  /**
1341
- * Search for players by UUID or username, or look up all players associated with an IP address. Used to populate the target table before issuing a punishment.
1441
+ * Search for players by UUID or username, or look up all players associated with an IP address.
1342
1442
  * @summary Search punishment targets
1343
1443
  * @param {string} q UUID, username, or partial/full IP address to search for
1344
1444
  * @param {*} [options] Override http request option.
@@ -1351,7 +1451,7 @@ export declare const AdminPunishmentsApiFp: (configuration?: Configuration) => {
1351
1451
  */
1352
1452
  export declare const AdminPunishmentsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1353
1453
  /**
1354
- * Apply a punishment to one or more targets. Player targets are linked via player_punishment; IP targets are linked via connection_punishment. The authenticated user is recorded as the issuer.
1454
+ * Apply a punishment to one or more targets. The authenticated user is recorded as the issuer.
1355
1455
  * @summary Apply punishment
1356
1456
  * @param {AdminApplyPunishmentRequest} adminApplyPunishmentRequest
1357
1457
  * @param {*} [options] Override http request option.
@@ -1359,7 +1459,7 @@ export declare const AdminPunishmentsApiFactory: (configuration?: Configuration,
1359
1459
  */
1360
1460
  applyPunishment(adminApplyPunishmentRequest: AdminApplyPunishmentRequest, options?: RawAxiosRequestConfig): AxiosPromise<AdminApplyPunishmentResponse>;
1361
1461
  /**
1362
- * Preview the impact of a punishment across one or more targets. Returns current score, points to add, projected new score, and affected players per target. No changes are made.
1462
+ * Preview the impact of a punishment across one or more targets. No changes are made.
1363
1463
  * @summary Evaluate punishment impact
1364
1464
  * @param {AdminCreatePunishmentDraftRequest} adminCreatePunishmentDraftRequest
1365
1465
  * @param {*} [options] Override http request option.
@@ -1374,15 +1474,15 @@ export declare const AdminPunishmentsApiFactory: (configuration?: Configuration,
1374
1474
  * @param {string | null} [uuid] Filter by player UUID
1375
1475
  * @param {string | null} [username] Filter by player username (case-insensitive substring match)
1376
1476
  * @param {string | null} [ipAddress] Filter by IP address
1377
- * @param {Array<string> | null} [type] Filter by punishment type (BAN, MUTE, WARNING). Repeatable.
1477
+ * @param {Array<PunishmentType> | null} [type] Filter by punishment type. Repeatable.
1378
1478
  * @param {number | null} [issuedAfter] Filter punishments issued after this epoch timestamp (ms)
1379
1479
  * @param {number | null} [issuedBefore] Filter punishments issued before this epoch timestamp (ms)
1380
1480
  * @param {*} [options] Override http request option.
1381
1481
  * @throws {RequiredError}
1382
1482
  */
1383
- 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>;
1483
+ 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>;
1384
1484
  /**
1385
- * Search for players by UUID or username, or look up all players associated with an IP address. Used to populate the target table before issuing a punishment.
1485
+ * Search for players by UUID or username, or look up all players associated with an IP address.
1386
1486
  * @summary Search punishment targets
1387
1487
  * @param {string} q UUID, username, or partial/full IP address to search for
1388
1488
  * @param {*} [options] Override http request option.
@@ -1395,7 +1495,7 @@ export declare const AdminPunishmentsApiFactory: (configuration?: Configuration,
1395
1495
  */
1396
1496
  export declare class AdminPunishmentsApi extends BaseAPI {
1397
1497
  /**
1398
- * Apply a punishment to one or more targets. Player targets are linked via player_punishment; IP targets are linked via connection_punishment. The authenticated user is recorded as the issuer.
1498
+ * Apply a punishment to one or more targets. The authenticated user is recorded as the issuer.
1399
1499
  * @summary Apply punishment
1400
1500
  * @param {AdminApplyPunishmentRequest} adminApplyPunishmentRequest
1401
1501
  * @param {*} [options] Override http request option.
@@ -1403,7 +1503,7 @@ export declare class AdminPunishmentsApi extends BaseAPI {
1403
1503
  */
1404
1504
  applyPunishment(adminApplyPunishmentRequest: AdminApplyPunishmentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AdminApplyPunishmentResponse, any, {}>>;
1405
1505
  /**
1406
- * Preview the impact of a punishment across one or more targets. Returns current score, points to add, projected new score, and affected players per target. No changes are made.
1506
+ * Preview the impact of a punishment across one or more targets. No changes are made.
1407
1507
  * @summary Evaluate punishment impact
1408
1508
  * @param {AdminCreatePunishmentDraftRequest} adminCreatePunishmentDraftRequest
1409
1509
  * @param {*} [options] Override http request option.
@@ -1418,15 +1518,15 @@ export declare class AdminPunishmentsApi extends BaseAPI {
1418
1518
  * @param {string | null} [uuid] Filter by player UUID
1419
1519
  * @param {string | null} [username] Filter by player username (case-insensitive substring match)
1420
1520
  * @param {string | null} [ipAddress] Filter by IP address
1421
- * @param {Array<string> | null} [type] Filter by punishment type (BAN, MUTE, WARNING). Repeatable.
1521
+ * @param {Array<PunishmentType> | null} [type] Filter by punishment type. Repeatable.
1422
1522
  * @param {number | null} [issuedAfter] Filter punishments issued after this epoch timestamp (ms)
1423
1523
  * @param {number | null} [issuedBefore] Filter punishments issued before this epoch timestamp (ms)
1424
1524
  * @param {*} [options] Override http request option.
1425
1525
  * @throws {RequiredError}
1426
1526
  */
1427
- 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, {}>>;
1527
+ 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, {}>>;
1428
1528
  /**
1429
- * Search for players by UUID or username, or look up all players associated with an IP address. Used to populate the target table before issuing a punishment.
1529
+ * Search for players by UUID or username, or look up all players associated with an IP address.
1430
1530
  * @summary Search punishment targets
1431
1531
  * @param {string} q UUID, username, or partial/full IP address to search for
1432
1532
  * @param {*} [options] Override http request option.
@@ -1743,17 +1843,17 @@ export declare class ConnectionApi extends BaseAPI {
1743
1843
  */
1744
1844
  export declare const PlayerApiAxiosParamCreator: (configuration?: Configuration) => {
1745
1845
  /**
1746
- * Retrieves player information by their Minecraft UUID. Returns whether this is the player\'s first join and their first login timestamp. This endpoint is useful for tracking player join history and implementing first-join rewards or tutorials.
1846
+ * Retrieves player information by Minecraft UUID including first join status and login timestamp.
1747
1847
  * @summary Get player information
1748
- * @param {string} uuid The Minecraft player UUID (with or without dashes)
1848
+ * @param {string} uuid
1749
1849
  * @param {*} [options] Override http request option.
1750
1850
  * @throws {RequiredError}
1751
1851
  */
1752
1852
  getPlayer1: (uuid: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1753
1853
  /**
1754
- * Accepts a list of player UUIDs and returns a map of `uuid → username` for those that have a recorded username. UUIDs with no username record (e.g. players who have never joined) are omitted from the response. Used by the web UI to display player names in the chat log.
1854
+ * Accepts a list of player UUIDs and returns a map of `uuid → username` for those that have a recorded username. UUIDs with no username record are omitted from the response.
1755
1855
  * @summary Batch resolve UUIDs to usernames
1756
- * @param {Array<string>} uuids List of player UUIDs to resolve (repeatable query param)
1856
+ * @param {Array<string>} uuids List of player UUIDs to resolve
1757
1857
  * @param {*} [options] Override http request option.
1758
1858
  * @throws {RequiredError}
1759
1859
  */
@@ -1764,17 +1864,17 @@ export declare const PlayerApiAxiosParamCreator: (configuration?: Configuration)
1764
1864
  */
1765
1865
  export declare const PlayerApiFp: (configuration?: Configuration) => {
1766
1866
  /**
1767
- * Retrieves player information by their Minecraft UUID. Returns whether this is the player\'s first join and their first login timestamp. This endpoint is useful for tracking player join history and implementing first-join rewards or tutorials.
1867
+ * Retrieves player information by Minecraft UUID including first join status and login timestamp.
1768
1868
  * @summary Get player information
1769
- * @param {string} uuid The Minecraft player UUID (with or without dashes)
1869
+ * @param {string} uuid
1770
1870
  * @param {*} [options] Override http request option.
1771
1871
  * @throws {RequiredError}
1772
1872
  */
1773
1873
  getPlayer1(uuid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlayerGetPlayerInformation>>;
1774
1874
  /**
1775
- * Accepts a list of player UUIDs and returns a map of `uuid → username` for those that have a recorded username. UUIDs with no username record (e.g. players who have never joined) are omitted from the response. Used by the web UI to display player names in the chat log.
1875
+ * Accepts a list of player UUIDs and returns a map of `uuid → username` for those that have a recorded username. UUIDs with no username record are omitted from the response.
1776
1876
  * @summary Batch resolve UUIDs to usernames
1777
- * @param {Array<string>} uuids List of player UUIDs to resolve (repeatable query param)
1877
+ * @param {Array<string>} uuids List of player UUIDs to resolve
1778
1878
  * @param {*} [options] Override http request option.
1779
1879
  * @throws {RequiredError}
1780
1880
  */
@@ -1785,17 +1885,17 @@ export declare const PlayerApiFp: (configuration?: Configuration) => {
1785
1885
  */
1786
1886
  export declare const PlayerApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1787
1887
  /**
1788
- * Retrieves player information by their Minecraft UUID. Returns whether this is the player\'s first join and their first login timestamp. This endpoint is useful for tracking player join history and implementing first-join rewards or tutorials.
1888
+ * Retrieves player information by Minecraft UUID including first join status and login timestamp.
1789
1889
  * @summary Get player information
1790
- * @param {string} uuid The Minecraft player UUID (with or without dashes)
1890
+ * @param {string} uuid
1791
1891
  * @param {*} [options] Override http request option.
1792
1892
  * @throws {RequiredError}
1793
1893
  */
1794
1894
  getPlayer1(uuid: string, options?: RawAxiosRequestConfig): AxiosPromise<PlayerGetPlayerInformation>;
1795
1895
  /**
1796
- * Accepts a list of player UUIDs and returns a map of `uuid → username` for those that have a recorded username. UUIDs with no username record (e.g. players who have never joined) are omitted from the response. Used by the web UI to display player names in the chat log.
1896
+ * Accepts a list of player UUIDs and returns a map of `uuid → username` for those that have a recorded username. UUIDs with no username record are omitted from the response.
1797
1897
  * @summary Batch resolve UUIDs to usernames
1798
- * @param {Array<string>} uuids List of player UUIDs to resolve (repeatable query param)
1898
+ * @param {Array<string>} uuids List of player UUIDs to resolve
1799
1899
  * @param {*} [options] Override http request option.
1800
1900
  * @throws {RequiredError}
1801
1901
  */
@@ -1806,17 +1906,17 @@ export declare const PlayerApiFactory: (configuration?: Configuration, basePath?
1806
1906
  */
1807
1907
  export declare class PlayerApi extends BaseAPI {
1808
1908
  /**
1809
- * Retrieves player information by their Minecraft UUID. Returns whether this is the player\'s first join and their first login timestamp. This endpoint is useful for tracking player join history and implementing first-join rewards or tutorials.
1909
+ * Retrieves player information by Minecraft UUID including first join status and login timestamp.
1810
1910
  * @summary Get player information
1811
- * @param {string} uuid The Minecraft player UUID (with or without dashes)
1911
+ * @param {string} uuid
1812
1912
  * @param {*} [options] Override http request option.
1813
1913
  * @throws {RequiredError}
1814
1914
  */
1815
1915
  getPlayer1(uuid: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PlayerGetPlayerInformation, any, {}>>;
1816
1916
  /**
1817
- * Accepts a list of player UUIDs and returns a map of `uuid → username` for those that have a recorded username. UUIDs with no username record (e.g. players who have never joined) are omitted from the response. Used by the web UI to display player names in the chat log.
1917
+ * Accepts a list of player UUIDs and returns a map of `uuid → username` for those that have a recorded username. UUIDs with no username record are omitted from the response.
1818
1918
  * @summary Batch resolve UUIDs to usernames
1819
- * @param {Array<string>} uuids List of player UUIDs to resolve (repeatable query param)
1919
+ * @param {Array<string>} uuids List of player UUIDs to resolve
1820
1920
  * @param {*} [options] Override http request option.
1821
1921
  * @throws {RequiredError}
1822
1922
  */
@@ -1838,12 +1938,12 @@ export declare const PunishmentApiAxiosParamCreator: (configuration?: Configurat
1838
1938
  * @summary Get punishments by player
1839
1939
  * @param {string | null} [uuid] Player UUID
1840
1940
  * @param {string | null} [username] Player username
1841
- * @param {Array<string> | null} [type] Filter by punishment types
1941
+ * @param {Array<PunishmentType> | null} [type] Filter by punishment types
1842
1942
  * @param {number | null} [since] Filter punishments created after this Unix epoch timestamp (milliseconds)
1843
1943
  * @param {*} [options] Override http request option.
1844
1944
  * @throws {RequiredError}
1845
1945
  */
1846
- getPunishments1: (uuid?: string | null, username?: string | null, type?: Array<string> | null, since?: number | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1946
+ getPunishments1: (uuid?: string | null, username?: string | null, type?: Array<PunishmentType> | null, since?: number | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1847
1947
  /**
1848
1948
  * Retrieve all active punishments associated with an IP address
1849
1949
  * @summary Get punishments by IP address
@@ -1861,13 +1961,13 @@ export declare const PunishmentApiAxiosParamCreator: (configuration?: Configurat
1861
1961
  * @param {number | null} [issuedBefore] Filter punishments issued before this epoch timestamp (milliseconds)
1862
1962
  * @param {number | null} [expiresAfter] Filter punishments expiring after this epoch timestamp (milliseconds)
1863
1963
  * @param {number | null} [expiresBefore] Filter punishments expiring before this epoch timestamp (milliseconds)
1864
- * @param {Array<string> | null} [type] Filter by punishment types
1964
+ * @param {Array<PunishmentType> | null} [type] Filter by punishment types
1865
1965
  * @param {string | null} [uuid] Filter by player UUID
1866
1966
  * @param {string | null} [ipAddress] Filter by IP address
1867
1967
  * @param {*} [options] Override http request option.
1868
1968
  * @throws {RequiredError}
1869
1969
  */
1870
- 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>;
1970
+ 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>;
1871
1971
  };
1872
1972
  /**
1873
1973
  * PunishmentApi - functional programming interface
@@ -1885,12 +1985,12 @@ export declare const PunishmentApiFp: (configuration?: Configuration) => {
1885
1985
  * @summary Get punishments by player
1886
1986
  * @param {string | null} [uuid] Player UUID
1887
1987
  * @param {string | null} [username] Player username
1888
- * @param {Array<string> | null} [type] Filter by punishment types
1988
+ * @param {Array<PunishmentType> | null} [type] Filter by punishment types
1889
1989
  * @param {number | null} [since] Filter punishments created after this Unix epoch timestamp (milliseconds)
1890
1990
  * @param {*} [options] Override http request option.
1891
1991
  * @throws {RequiredError}
1892
1992
  */
1893
- getPunishments1(uuid?: string | null, username?: string | null, type?: Array<string> | null, since?: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PunishmentGetPunishmentResponse>>>;
1993
+ getPunishments1(uuid?: string | null, username?: string | null, type?: Array<PunishmentType> | null, since?: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PunishmentGetPunishmentResponse>>>;
1894
1994
  /**
1895
1995
  * Retrieve all active punishments associated with an IP address
1896
1996
  * @summary Get punishments by IP address
@@ -1908,13 +2008,13 @@ export declare const PunishmentApiFp: (configuration?: Configuration) => {
1908
2008
  * @param {number | null} [issuedBefore] Filter punishments issued before this epoch timestamp (milliseconds)
1909
2009
  * @param {number | null} [expiresAfter] Filter punishments expiring after this epoch timestamp (milliseconds)
1910
2010
  * @param {number | null} [expiresBefore] Filter punishments expiring before this epoch timestamp (milliseconds)
1911
- * @param {Array<string> | null} [type] Filter by punishment types
2011
+ * @param {Array<PunishmentType> | null} [type] Filter by punishment types
1912
2012
  * @param {string | null} [uuid] Filter by player UUID
1913
2013
  * @param {string | null} [ipAddress] Filter by IP address
1914
2014
  * @param {*} [options] Override http request option.
1915
2015
  * @throws {RequiredError}
1916
2016
  */
1917
- 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>>>;
2017
+ 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>>>;
1918
2018
  };
1919
2019
  /**
1920
2020
  * PunishmentApi - factory interface
@@ -1932,12 +2032,12 @@ export declare const PunishmentApiFactory: (configuration?: Configuration, baseP
1932
2032
  * @summary Get punishments by player
1933
2033
  * @param {string | null} [uuid] Player UUID
1934
2034
  * @param {string | null} [username] Player username
1935
- * @param {Array<string> | null} [type] Filter by punishment types
2035
+ * @param {Array<PunishmentType> | null} [type] Filter by punishment types
1936
2036
  * @param {number | null} [since] Filter punishments created after this Unix epoch timestamp (milliseconds)
1937
2037
  * @param {*} [options] Override http request option.
1938
2038
  * @throws {RequiredError}
1939
2039
  */
1940
- getPunishments1(uuid?: string | null, username?: string | null, type?: Array<string> | null, since?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<Array<PunishmentGetPunishmentResponse>>;
2040
+ getPunishments1(uuid?: string | null, username?: string | null, type?: Array<PunishmentType> | null, since?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<Array<PunishmentGetPunishmentResponse>>;
1941
2041
  /**
1942
2042
  * Retrieve all active punishments associated with an IP address
1943
2043
  * @summary Get punishments by IP address
@@ -1955,13 +2055,13 @@ export declare const PunishmentApiFactory: (configuration?: Configuration, baseP
1955
2055
  * @param {number | null} [issuedBefore] Filter punishments issued before this epoch timestamp (milliseconds)
1956
2056
  * @param {number | null} [expiresAfter] Filter punishments expiring after this epoch timestamp (milliseconds)
1957
2057
  * @param {number | null} [expiresBefore] Filter punishments expiring before this epoch timestamp (milliseconds)
1958
- * @param {Array<string> | null} [type] Filter by punishment types
2058
+ * @param {Array<PunishmentType> | null} [type] Filter by punishment types
1959
2059
  * @param {string | null} [uuid] Filter by player UUID
1960
2060
  * @param {string | null} [ipAddress] Filter by IP address
1961
2061
  * @param {*} [options] Override http request option.
1962
2062
  * @throws {RequiredError}
1963
2063
  */
1964
- 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>>;
2064
+ 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>>;
1965
2065
  };
1966
2066
  /**
1967
2067
  * PunishmentApi - object-oriented interface
@@ -1979,12 +2079,12 @@ export declare class PunishmentApi extends BaseAPI {
1979
2079
  * @summary Get punishments by player
1980
2080
  * @param {string | null} [uuid] Player UUID
1981
2081
  * @param {string | null} [username] Player username
1982
- * @param {Array<string> | null} [type] Filter by punishment types
2082
+ * @param {Array<PunishmentType> | null} [type] Filter by punishment types
1983
2083
  * @param {number | null} [since] Filter punishments created after this Unix epoch timestamp (milliseconds)
1984
2084
  * @param {*} [options] Override http request option.
1985
2085
  * @throws {RequiredError}
1986
2086
  */
1987
- getPunishments1(uuid?: string | null, username?: string | null, type?: Array<string> | null, since?: number | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PunishmentGetPunishmentResponse[], any, {}>>;
2087
+ getPunishments1(uuid?: string | null, username?: string | null, type?: Array<PunishmentType> | null, since?: number | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PunishmentGetPunishmentResponse[], any, {}>>;
1988
2088
  /**
1989
2089
  * Retrieve all active punishments associated with an IP address
1990
2090
  * @summary Get punishments by IP address
@@ -2002,13 +2102,13 @@ export declare class PunishmentApi extends BaseAPI {
2002
2102
  * @param {number | null} [issuedBefore] Filter punishments issued before this epoch timestamp (milliseconds)
2003
2103
  * @param {number | null} [expiresAfter] Filter punishments expiring after this epoch timestamp (milliseconds)
2004
2104
  * @param {number | null} [expiresBefore] Filter punishments expiring before this epoch timestamp (milliseconds)
2005
- * @param {Array<string> | null} [type] Filter by punishment types
2105
+ * @param {Array<PunishmentType> | null} [type] Filter by punishment types
2006
2106
  * @param {string | null} [uuid] Filter by player UUID
2007
2107
  * @param {string | null} [ipAddress] Filter by IP address
2008
2108
  * @param {*} [options] Override http request option.
2009
2109
  * @throws {RequiredError}
2010
2110
  */
2011
- 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, {}>>;
2111
+ 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, {}>>;
2012
2112
  }
2013
2113
  /**
2014
2114
  * ServerSessionsApi - axios parameter creator