@rebornteam/reborn-api 3.0.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.
- package/.openapi-generator/FILES +7 -0
- package/README.md +9 -2
- package/api.ts +133 -60
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +93 -57
- package/dist/api.js +45 -23
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +93 -57
- package/dist/esm/api.js +43 -22
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/AdminApplyPunishmentRequest.md +1 -1
- package/docs/AdminApplyPunishmentResult.md +1 -1
- package/docs/AdminCreatePunishmentDraftRequest.md +1 -1
- package/docs/AdminPunishmentEvaluation.md +1 -1
- package/docs/AdminPunishmentListItem.md +2 -2
- package/docs/AdminPunishmentSearchResponse.md +1 -1
- package/docs/AdminPunishmentsApi.md +2 -2
- package/docs/ConnectionGetConnectionDetailsResponse.md +2 -0
- package/docs/ConnectionResult.md +25 -0
- package/docs/ConnectionResultResultCode.md +20 -0
- package/docs/GameType.md +12 -0
- package/docs/PunishmentApi.md +4 -4
- package/docs/PunishmentGetPunishmentResponse.md +1 -1
- package/docs/PunishmentSeveritiesResponsePunishmentTypeInfo.md +1 -1
- package/docs/PunishmentTargetType.md +10 -0
- package/docs/PunishmentType.md +12 -0
- package/docs/Region.md +12 -0
- package/docs/SearchKind.md +11 -0
- package/docs/ServerRegisterRequest.md +2 -2
- package/docs/ServerSessionDTO.md +2 -2
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/configuration.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Reborn API
|
|
5
5
|
* 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
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 3.0
|
|
7
|
+
* The version of the OpenAPI document: 3.1.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
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
|
|
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':
|
|
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'?:
|
|
73
|
+
'type'?: PunishmentType;
|
|
80
74
|
/**
|
|
81
75
|
* Severity level applied
|
|
82
76
|
*/
|
|
@@ -180,7 +174,7 @@ export interface AdminCreatePunishmentDraftRequest {
|
|
|
180
174
|
/**
|
|
181
175
|
* Punishment type
|
|
182
176
|
*/
|
|
183
|
-
'type':
|
|
177
|
+
'type': PunishmentType;
|
|
184
178
|
/**
|
|
185
179
|
* Severity level: 1=Minor, 2=Moderate, 3=Severe, 4=Critical
|
|
186
180
|
*/
|
|
@@ -198,12 +192,6 @@ export interface AdminCreatePunishmentDraftRequest {
|
|
|
198
192
|
*/
|
|
199
193
|
'forcePermanent'?: boolean;
|
|
200
194
|
}
|
|
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
195
|
export interface AdminDashboardConnectionResponse {
|
|
208
196
|
'id': number;
|
|
209
197
|
'ipAddress': string;
|
|
@@ -456,18 +444,18 @@ export interface AdminPunishmentEvaluation {
|
|
|
456
444
|
/**
|
|
457
445
|
* The effective punishment type that will be applied — may differ from the requested type if escalated to BAN at threshold
|
|
458
446
|
*/
|
|
459
|
-
'effectiveType'?:
|
|
447
|
+
'effectiveType'?: PunishmentType;
|
|
460
448
|
}
|
|
461
449
|
export interface AdminPunishmentListItem {
|
|
462
450
|
'id': number;
|
|
463
451
|
'reason': string;
|
|
464
452
|
'notes'?: string | null;
|
|
465
|
-
'type':
|
|
453
|
+
'type': PunishmentType;
|
|
466
454
|
'severity': number;
|
|
467
455
|
'createdBy': string;
|
|
468
456
|
'expiresAt'?: string | null;
|
|
469
457
|
'createdAt': string;
|
|
470
|
-
'targetType':
|
|
458
|
+
'targetType': PunishmentTargetType;
|
|
471
459
|
'targetUuid'?: string | null;
|
|
472
460
|
'targetUsername'?: string | null;
|
|
473
461
|
'targetIp'?: string | null;
|
|
@@ -477,9 +465,9 @@ export interface AdminPunishmentListItem {
|
|
|
477
465
|
*/
|
|
478
466
|
export interface AdminPunishmentSearchResponse {
|
|
479
467
|
/**
|
|
480
|
-
* Search kind —
|
|
468
|
+
* Search kind — PLAYER for UUID/username searches, IP for IP address searches
|
|
481
469
|
*/
|
|
482
|
-
'kind'?:
|
|
470
|
+
'kind'?: SearchKind;
|
|
483
471
|
/**
|
|
484
472
|
* Matching players — only populated when kind=\'player\'
|
|
485
473
|
*/
|
|
@@ -489,11 +477,6 @@ export interface AdminPunishmentSearchResponse {
|
|
|
489
477
|
*/
|
|
490
478
|
'ipResults'?: Array<AdminIpSearchResult>;
|
|
491
479
|
}
|
|
492
|
-
export declare const AdminPunishmentSearchResponseKindEnum: {
|
|
493
|
-
readonly Player: "player";
|
|
494
|
-
readonly Ip: "ip";
|
|
495
|
-
};
|
|
496
|
-
export type AdminPunishmentSearchResponseKindEnum = typeof AdminPunishmentSearchResponseKindEnum[keyof typeof AdminPunishmentSearchResponseKindEnum];
|
|
497
480
|
/**
|
|
498
481
|
* A target for a punishment — either a player UUID or an IP address (mutually exclusive)
|
|
499
482
|
*/
|
|
@@ -591,7 +574,29 @@ export interface ConnectionGetConnectionDetailsResponse {
|
|
|
591
574
|
* Combined list of active punishments for both the IP address and player UUID (if provided). Only includes non-expired punishments.
|
|
592
575
|
*/
|
|
593
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;
|
|
594
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];
|
|
595
600
|
/**
|
|
596
601
|
* Request to create a connection bypass
|
|
597
602
|
*/
|
|
@@ -605,6 +610,12 @@ export interface CreateBypassRequest {
|
|
|
605
610
|
*/
|
|
606
611
|
'expiresAtEpoch': number;
|
|
607
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];
|
|
608
619
|
/**
|
|
609
620
|
* Player information including join history, tracking data, and punishment scoring
|
|
610
621
|
*/
|
|
@@ -643,9 +654,9 @@ export interface PunishmentGetPunishmentResponse {
|
|
|
643
654
|
*/
|
|
644
655
|
'notes'?: string | null;
|
|
645
656
|
/**
|
|
646
|
-
* Type of punishment
|
|
657
|
+
* Type of punishment
|
|
647
658
|
*/
|
|
648
|
-
'type'?:
|
|
659
|
+
'type'?: PunishmentType;
|
|
649
660
|
/**
|
|
650
661
|
* Severity level (1=Minor, 2=Moderate, 3=Severe, 4=Critical)
|
|
651
662
|
*/
|
|
@@ -679,7 +690,7 @@ export interface PunishmentSeveritiesResponsePunishmentTypeInfo {
|
|
|
679
690
|
/**
|
|
680
691
|
* Type of punishment
|
|
681
692
|
*/
|
|
682
|
-
'type'?:
|
|
693
|
+
'type'?: PunishmentType;
|
|
683
694
|
/**
|
|
684
695
|
* List of severity levels with durations
|
|
685
696
|
*/
|
|
@@ -698,21 +709,46 @@ export interface PunishmentSeveritiesResponseSeverityInfo {
|
|
|
698
709
|
*/
|
|
699
710
|
'durationSeconds'?: number;
|
|
700
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];
|
|
701
723
|
export declare const Rank: {
|
|
702
724
|
readonly Administrator: "ADMINISTRATOR";
|
|
703
725
|
readonly Moderator: "MODERATOR";
|
|
704
726
|
readonly Service: "SERVICE";
|
|
705
727
|
};
|
|
706
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];
|
|
707
743
|
export interface ServerRegisterRequest {
|
|
708
|
-
'region':
|
|
709
|
-
'gameType':
|
|
744
|
+
'region': Region;
|
|
745
|
+
'gameType': GameType;
|
|
710
746
|
'containerId'?: string | null;
|
|
711
747
|
}
|
|
712
748
|
export interface ServerSessionDTO {
|
|
713
749
|
'id': string;
|
|
714
|
-
'region':
|
|
715
|
-
'gameType':
|
|
750
|
+
'region': Region;
|
|
751
|
+
'gameType': GameType;
|
|
716
752
|
'instanceName': string;
|
|
717
753
|
'containerId'?: string | null;
|
|
718
754
|
'startedAt': string;
|
|
@@ -1350,13 +1386,13 @@ export declare const AdminPunishmentsApiAxiosParamCreator: (configuration?: Conf
|
|
|
1350
1386
|
* @param {string | null} [uuid] Filter by player UUID
|
|
1351
1387
|
* @param {string | null} [username] Filter by player username (case-insensitive substring match)
|
|
1352
1388
|
* @param {string | null} [ipAddress] Filter by IP address
|
|
1353
|
-
* @param {Array<
|
|
1389
|
+
* @param {Array<PunishmentType> | null} [type] Filter by punishment type. Repeatable.
|
|
1354
1390
|
* @param {number | null} [issuedAfter] Filter punishments issued after this epoch timestamp (ms)
|
|
1355
1391
|
* @param {number | null} [issuedBefore] Filter punishments issued before this epoch timestamp (ms)
|
|
1356
1392
|
* @param {*} [options] Override http request option.
|
|
1357
1393
|
* @throws {RequiredError}
|
|
1358
1394
|
*/
|
|
1359
|
-
getPunishments: (page: number, limit: number, uuid?: string | null, username?: string | null, ipAddress?: string | null, type?: Array<
|
|
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>;
|
|
1360
1396
|
/**
|
|
1361
1397
|
* Search for players by UUID or username, or look up all players associated with an IP address.
|
|
1362
1398
|
* @summary Search punishment targets
|
|
@@ -1394,13 +1430,13 @@ export declare const AdminPunishmentsApiFp: (configuration?: Configuration) => {
|
|
|
1394
1430
|
* @param {string | null} [uuid] Filter by player UUID
|
|
1395
1431
|
* @param {string | null} [username] Filter by player username (case-insensitive substring match)
|
|
1396
1432
|
* @param {string | null} [ipAddress] Filter by IP address
|
|
1397
|
-
* @param {Array<
|
|
1433
|
+
* @param {Array<PunishmentType> | null} [type] Filter by punishment type. Repeatable.
|
|
1398
1434
|
* @param {number | null} [issuedAfter] Filter punishments issued after this epoch timestamp (ms)
|
|
1399
1435
|
* @param {number | null} [issuedBefore] Filter punishments issued before this epoch timestamp (ms)
|
|
1400
1436
|
* @param {*} [options] Override http request option.
|
|
1401
1437
|
* @throws {RequiredError}
|
|
1402
1438
|
*/
|
|
1403
|
-
getPunishments(page: number, limit: number, uuid?: string | null, username?: string | null, ipAddress?: string | null, type?: Array<
|
|
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>>;
|
|
1404
1440
|
/**
|
|
1405
1441
|
* Search for players by UUID or username, or look up all players associated with an IP address.
|
|
1406
1442
|
* @summary Search punishment targets
|
|
@@ -1438,13 +1474,13 @@ export declare const AdminPunishmentsApiFactory: (configuration?: Configuration,
|
|
|
1438
1474
|
* @param {string | null} [uuid] Filter by player UUID
|
|
1439
1475
|
* @param {string | null} [username] Filter by player username (case-insensitive substring match)
|
|
1440
1476
|
* @param {string | null} [ipAddress] Filter by IP address
|
|
1441
|
-
* @param {Array<
|
|
1477
|
+
* @param {Array<PunishmentType> | null} [type] Filter by punishment type. Repeatable.
|
|
1442
1478
|
* @param {number | null} [issuedAfter] Filter punishments issued after this epoch timestamp (ms)
|
|
1443
1479
|
* @param {number | null} [issuedBefore] Filter punishments issued before this epoch timestamp (ms)
|
|
1444
1480
|
* @param {*} [options] Override http request option.
|
|
1445
1481
|
* @throws {RequiredError}
|
|
1446
1482
|
*/
|
|
1447
|
-
getPunishments(page: number, limit: number, uuid?: string | null, username?: string | null, ipAddress?: string | null, type?: Array<
|
|
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>;
|
|
1448
1484
|
/**
|
|
1449
1485
|
* Search for players by UUID or username, or look up all players associated with an IP address.
|
|
1450
1486
|
* @summary Search punishment targets
|
|
@@ -1482,13 +1518,13 @@ export declare class AdminPunishmentsApi extends BaseAPI {
|
|
|
1482
1518
|
* @param {string | null} [uuid] Filter by player UUID
|
|
1483
1519
|
* @param {string | null} [username] Filter by player username (case-insensitive substring match)
|
|
1484
1520
|
* @param {string | null} [ipAddress] Filter by IP address
|
|
1485
|
-
* @param {Array<
|
|
1521
|
+
* @param {Array<PunishmentType> | null} [type] Filter by punishment type. Repeatable.
|
|
1486
1522
|
* @param {number | null} [issuedAfter] Filter punishments issued after this epoch timestamp (ms)
|
|
1487
1523
|
* @param {number | null} [issuedBefore] Filter punishments issued before this epoch timestamp (ms)
|
|
1488
1524
|
* @param {*} [options] Override http request option.
|
|
1489
1525
|
* @throws {RequiredError}
|
|
1490
1526
|
*/
|
|
1491
|
-
getPunishments(page: number, limit: number, uuid?: string | null, username?: string | null, ipAddress?: string | null, type?: Array<
|
|
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, {}>>;
|
|
1492
1528
|
/**
|
|
1493
1529
|
* Search for players by UUID or username, or look up all players associated with an IP address.
|
|
1494
1530
|
* @summary Search punishment targets
|
|
@@ -1902,12 +1938,12 @@ export declare const PunishmentApiAxiosParamCreator: (configuration?: Configurat
|
|
|
1902
1938
|
* @summary Get punishments by player
|
|
1903
1939
|
* @param {string | null} [uuid] Player UUID
|
|
1904
1940
|
* @param {string | null} [username] Player username
|
|
1905
|
-
* @param {Array<
|
|
1941
|
+
* @param {Array<PunishmentType> | null} [type] Filter by punishment types
|
|
1906
1942
|
* @param {number | null} [since] Filter punishments created after this Unix epoch timestamp (milliseconds)
|
|
1907
1943
|
* @param {*} [options] Override http request option.
|
|
1908
1944
|
* @throws {RequiredError}
|
|
1909
1945
|
*/
|
|
1910
|
-
getPunishments1: (uuid?: string | null, username?: string | null, type?: Array<
|
|
1946
|
+
getPunishments1: (uuid?: string | null, username?: string | null, type?: Array<PunishmentType> | null, since?: number | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1911
1947
|
/**
|
|
1912
1948
|
* Retrieve all active punishments associated with an IP address
|
|
1913
1949
|
* @summary Get punishments by IP address
|
|
@@ -1925,13 +1961,13 @@ export declare const PunishmentApiAxiosParamCreator: (configuration?: Configurat
|
|
|
1925
1961
|
* @param {number | null} [issuedBefore] Filter punishments issued before this epoch timestamp (milliseconds)
|
|
1926
1962
|
* @param {number | null} [expiresAfter] Filter punishments expiring after this epoch timestamp (milliseconds)
|
|
1927
1963
|
* @param {number | null} [expiresBefore] Filter punishments expiring before this epoch timestamp (milliseconds)
|
|
1928
|
-
* @param {Array<
|
|
1964
|
+
* @param {Array<PunishmentType> | null} [type] Filter by punishment types
|
|
1929
1965
|
* @param {string | null} [uuid] Filter by player UUID
|
|
1930
1966
|
* @param {string | null} [ipAddress] Filter by IP address
|
|
1931
1967
|
* @param {*} [options] Override http request option.
|
|
1932
1968
|
* @throws {RequiredError}
|
|
1933
1969
|
*/
|
|
1934
|
-
getRecentPunishments: (limit: number, page: number, issuedAfter?: number | null, issuedBefore?: number | null, expiresAfter?: number | null, expiresBefore?: number | null, type?: Array<
|
|
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>;
|
|
1935
1971
|
};
|
|
1936
1972
|
/**
|
|
1937
1973
|
* PunishmentApi - functional programming interface
|
|
@@ -1949,12 +1985,12 @@ export declare const PunishmentApiFp: (configuration?: Configuration) => {
|
|
|
1949
1985
|
* @summary Get punishments by player
|
|
1950
1986
|
* @param {string | null} [uuid] Player UUID
|
|
1951
1987
|
* @param {string | null} [username] Player username
|
|
1952
|
-
* @param {Array<
|
|
1988
|
+
* @param {Array<PunishmentType> | null} [type] Filter by punishment types
|
|
1953
1989
|
* @param {number | null} [since] Filter punishments created after this Unix epoch timestamp (milliseconds)
|
|
1954
1990
|
* @param {*} [options] Override http request option.
|
|
1955
1991
|
* @throws {RequiredError}
|
|
1956
1992
|
*/
|
|
1957
|
-
getPunishments1(uuid?: string | null, username?: string | null, type?: Array<
|
|
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>>>;
|
|
1958
1994
|
/**
|
|
1959
1995
|
* Retrieve all active punishments associated with an IP address
|
|
1960
1996
|
* @summary Get punishments by IP address
|
|
@@ -1972,13 +2008,13 @@ export declare const PunishmentApiFp: (configuration?: Configuration) => {
|
|
|
1972
2008
|
* @param {number | null} [issuedBefore] Filter punishments issued before this epoch timestamp (milliseconds)
|
|
1973
2009
|
* @param {number | null} [expiresAfter] Filter punishments expiring after this epoch timestamp (milliseconds)
|
|
1974
2010
|
* @param {number | null} [expiresBefore] Filter punishments expiring before this epoch timestamp (milliseconds)
|
|
1975
|
-
* @param {Array<
|
|
2011
|
+
* @param {Array<PunishmentType> | null} [type] Filter by punishment types
|
|
1976
2012
|
* @param {string | null} [uuid] Filter by player UUID
|
|
1977
2013
|
* @param {string | null} [ipAddress] Filter by IP address
|
|
1978
2014
|
* @param {*} [options] Override http request option.
|
|
1979
2015
|
* @throws {RequiredError}
|
|
1980
2016
|
*/
|
|
1981
|
-
getRecentPunishments(limit: number, page: number, issuedAfter?: number | null, issuedBefore?: number | null, expiresAfter?: number | null, expiresBefore?: number | null, type?: Array<
|
|
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>>>;
|
|
1982
2018
|
};
|
|
1983
2019
|
/**
|
|
1984
2020
|
* PunishmentApi - factory interface
|
|
@@ -1996,12 +2032,12 @@ export declare const PunishmentApiFactory: (configuration?: Configuration, baseP
|
|
|
1996
2032
|
* @summary Get punishments by player
|
|
1997
2033
|
* @param {string | null} [uuid] Player UUID
|
|
1998
2034
|
* @param {string | null} [username] Player username
|
|
1999
|
-
* @param {Array<
|
|
2035
|
+
* @param {Array<PunishmentType> | null} [type] Filter by punishment types
|
|
2000
2036
|
* @param {number | null} [since] Filter punishments created after this Unix epoch timestamp (milliseconds)
|
|
2001
2037
|
* @param {*} [options] Override http request option.
|
|
2002
2038
|
* @throws {RequiredError}
|
|
2003
2039
|
*/
|
|
2004
|
-
getPunishments1(uuid?: string | null, username?: string | null, type?: Array<
|
|
2040
|
+
getPunishments1(uuid?: string | null, username?: string | null, type?: Array<PunishmentType> | null, since?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<Array<PunishmentGetPunishmentResponse>>;
|
|
2005
2041
|
/**
|
|
2006
2042
|
* Retrieve all active punishments associated with an IP address
|
|
2007
2043
|
* @summary Get punishments by IP address
|
|
@@ -2019,13 +2055,13 @@ export declare const PunishmentApiFactory: (configuration?: Configuration, baseP
|
|
|
2019
2055
|
* @param {number | null} [issuedBefore] Filter punishments issued before this epoch timestamp (milliseconds)
|
|
2020
2056
|
* @param {number | null} [expiresAfter] Filter punishments expiring after this epoch timestamp (milliseconds)
|
|
2021
2057
|
* @param {number | null} [expiresBefore] Filter punishments expiring before this epoch timestamp (milliseconds)
|
|
2022
|
-
* @param {Array<
|
|
2058
|
+
* @param {Array<PunishmentType> | null} [type] Filter by punishment types
|
|
2023
2059
|
* @param {string | null} [uuid] Filter by player UUID
|
|
2024
2060
|
* @param {string | null} [ipAddress] Filter by IP address
|
|
2025
2061
|
* @param {*} [options] Override http request option.
|
|
2026
2062
|
* @throws {RequiredError}
|
|
2027
2063
|
*/
|
|
2028
|
-
getRecentPunishments(limit: number, page: number, issuedAfter?: number | null, issuedBefore?: number | null, expiresAfter?: number | null, expiresBefore?: number | null, type?: Array<
|
|
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>>;
|
|
2029
2065
|
};
|
|
2030
2066
|
/**
|
|
2031
2067
|
* PunishmentApi - object-oriented interface
|
|
@@ -2043,12 +2079,12 @@ export declare class PunishmentApi extends BaseAPI {
|
|
|
2043
2079
|
* @summary Get punishments by player
|
|
2044
2080
|
* @param {string | null} [uuid] Player UUID
|
|
2045
2081
|
* @param {string | null} [username] Player username
|
|
2046
|
-
* @param {Array<
|
|
2082
|
+
* @param {Array<PunishmentType> | null} [type] Filter by punishment types
|
|
2047
2083
|
* @param {number | null} [since] Filter punishments created after this Unix epoch timestamp (milliseconds)
|
|
2048
2084
|
* @param {*} [options] Override http request option.
|
|
2049
2085
|
* @throws {RequiredError}
|
|
2050
2086
|
*/
|
|
2051
|
-
getPunishments1(uuid?: string | null, username?: string | null, type?: Array<
|
|
2087
|
+
getPunishments1(uuid?: string | null, username?: string | null, type?: Array<PunishmentType> | null, since?: number | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PunishmentGetPunishmentResponse[], any, {}>>;
|
|
2052
2088
|
/**
|
|
2053
2089
|
* Retrieve all active punishments associated with an IP address
|
|
2054
2090
|
* @summary Get punishments by IP address
|
|
@@ -2066,13 +2102,13 @@ export declare class PunishmentApi extends BaseAPI {
|
|
|
2066
2102
|
* @param {number | null} [issuedBefore] Filter punishments issued before this epoch timestamp (milliseconds)
|
|
2067
2103
|
* @param {number | null} [expiresAfter] Filter punishments expiring after this epoch timestamp (milliseconds)
|
|
2068
2104
|
* @param {number | null} [expiresBefore] Filter punishments expiring before this epoch timestamp (milliseconds)
|
|
2069
|
-
* @param {Array<
|
|
2105
|
+
* @param {Array<PunishmentType> | null} [type] Filter by punishment types
|
|
2070
2106
|
* @param {string | null} [uuid] Filter by player UUID
|
|
2071
2107
|
* @param {string | null} [ipAddress] Filter by IP address
|
|
2072
2108
|
* @param {*} [options] Override http request option.
|
|
2073
2109
|
* @throws {RequiredError}
|
|
2074
2110
|
*/
|
|
2075
|
-
getRecentPunishments(limit: number, page: number, issuedAfter?: number | null, issuedBefore?: number | null, expiresAfter?: number | null, expiresBefore?: number | null, type?: Array<
|
|
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, {}>>;
|
|
2076
2112
|
}
|
|
2077
2113
|
/**
|
|
2078
2114
|
* ServerSessionsApi - axios parameter creator
|
package/dist/esm/api.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Reborn API
|
|
5
5
|
* 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
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 3.0
|
|
7
|
+
* The version of the OpenAPI document: 3.1.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -26,25 +26,46 @@ import globalAxios from 'axios';
|
|
|
26
26
|
import { DUMMY_BASE_URL, assertParamExists, setBearerAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';
|
|
27
27
|
// @ts-ignore
|
|
28
28
|
import { BASE_PATH, COLLECTION_FORMATS, BaseAPI, operationServerMap } from './base';
|
|
29
|
-
export const
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
29
|
+
export const ConnectionResultResultCode = {
|
|
30
|
+
Allowed: 'ALLOWED',
|
|
31
|
+
AllowedBypass: 'ALLOWED_BYPASS',
|
|
32
|
+
AllowedPlayerBypass: 'ALLOWED_PLAYER_BYPASS',
|
|
33
|
+
Banned: 'BANNED',
|
|
34
|
+
VpnDetected: 'VPN_DETECTED',
|
|
35
|
+
VpnRetry: 'VPN_RETRY',
|
|
36
|
+
VpnTempBanned: 'VPN_TEMP_BANNED'
|
|
37
|
+
};
|
|
38
|
+
export const GameType = {
|
|
39
|
+
Rotj: 'ROTJ',
|
|
40
|
+
Legacy: 'LEGACY',
|
|
41
|
+
Classic: 'CLASSIC'
|
|
42
|
+
};
|
|
43
|
+
export const PunishmentTargetType = {
|
|
44
|
+
Player: 'PLAYER',
|
|
45
|
+
Connection: 'CONNECTION'
|
|
33
46
|
};
|
|
34
|
-
export const
|
|
47
|
+
export const PunishmentType = {
|
|
35
48
|
Ban: 'BAN',
|
|
36
49
|
Mute: 'MUTE',
|
|
37
50
|
Warning: 'WARNING'
|
|
38
51
|
};
|
|
39
|
-
export const AdminPunishmentSearchResponseKindEnum = {
|
|
40
|
-
Player: 'player',
|
|
41
|
-
Ip: 'ip'
|
|
42
|
-
};
|
|
43
52
|
export const Rank = {
|
|
44
53
|
Administrator: 'ADMINISTRATOR',
|
|
45
54
|
Moderator: 'MODERATOR',
|
|
46
55
|
Service: 'SERVICE'
|
|
47
56
|
};
|
|
57
|
+
export const Region = {
|
|
58
|
+
Us: 'US',
|
|
59
|
+
Eu: 'EU',
|
|
60
|
+
Au: 'AU'
|
|
61
|
+
};
|
|
62
|
+
/**
|
|
63
|
+
* Search kind — PLAYER for UUID/username searches, IP for IP address searches
|
|
64
|
+
*/
|
|
65
|
+
export const SearchKind = {
|
|
66
|
+
Player: 'PLAYER',
|
|
67
|
+
Ip: 'IP'
|
|
68
|
+
};
|
|
48
69
|
/**
|
|
49
70
|
* AdminClientCredentialsApi - axios parameter creator
|
|
50
71
|
*/
|
|
@@ -1292,7 +1313,7 @@ export const AdminPunishmentsApiAxiosParamCreator = function (configuration) {
|
|
|
1292
1313
|
* @param {string | null} [uuid] Filter by player UUID
|
|
1293
1314
|
* @param {string | null} [username] Filter by player username (case-insensitive substring match)
|
|
1294
1315
|
* @param {string | null} [ipAddress] Filter by IP address
|
|
1295
|
-
* @param {Array<
|
|
1316
|
+
* @param {Array<PunishmentType> | null} [type] Filter by punishment type. Repeatable.
|
|
1296
1317
|
* @param {number | null} [issuedAfter] Filter punishments issued after this epoch timestamp (ms)
|
|
1297
1318
|
* @param {number | null} [issuedBefore] Filter punishments issued before this epoch timestamp (ms)
|
|
1298
1319
|
* @param {*} [options] Override http request option.
|
|
@@ -1432,7 +1453,7 @@ export const AdminPunishmentsApiFp = function (configuration) {
|
|
|
1432
1453
|
* @param {string | null} [uuid] Filter by player UUID
|
|
1433
1454
|
* @param {string | null} [username] Filter by player username (case-insensitive substring match)
|
|
1434
1455
|
* @param {string | null} [ipAddress] Filter by IP address
|
|
1435
|
-
* @param {Array<
|
|
1456
|
+
* @param {Array<PunishmentType> | null} [type] Filter by punishment type. Repeatable.
|
|
1436
1457
|
* @param {number | null} [issuedAfter] Filter punishments issued after this epoch timestamp (ms)
|
|
1437
1458
|
* @param {number | null} [issuedBefore] Filter punishments issued before this epoch timestamp (ms)
|
|
1438
1459
|
* @param {*} [options] Override http request option.
|
|
@@ -1499,7 +1520,7 @@ export const AdminPunishmentsApiFactory = function (configuration, basePath, axi
|
|
|
1499
1520
|
* @param {string | null} [uuid] Filter by player UUID
|
|
1500
1521
|
* @param {string | null} [username] Filter by player username (case-insensitive substring match)
|
|
1501
1522
|
* @param {string | null} [ipAddress] Filter by IP address
|
|
1502
|
-
* @param {Array<
|
|
1523
|
+
* @param {Array<PunishmentType> | null} [type] Filter by punishment type. Repeatable.
|
|
1503
1524
|
* @param {number | null} [issuedAfter] Filter punishments issued after this epoch timestamp (ms)
|
|
1504
1525
|
* @param {number | null} [issuedBefore] Filter punishments issued before this epoch timestamp (ms)
|
|
1505
1526
|
* @param {*} [options] Override http request option.
|
|
@@ -1552,7 +1573,7 @@ export class AdminPunishmentsApi extends BaseAPI {
|
|
|
1552
1573
|
* @param {string | null} [uuid] Filter by player UUID
|
|
1553
1574
|
* @param {string | null} [username] Filter by player username (case-insensitive substring match)
|
|
1554
1575
|
* @param {string | null} [ipAddress] Filter by IP address
|
|
1555
|
-
* @param {Array<
|
|
1576
|
+
* @param {Array<PunishmentType> | null} [type] Filter by punishment type. Repeatable.
|
|
1556
1577
|
* @param {number | null} [issuedAfter] Filter punishments issued after this epoch timestamp (ms)
|
|
1557
1578
|
* @param {number | null} [issuedBefore] Filter punishments issued before this epoch timestamp (ms)
|
|
1558
1579
|
* @param {*} [options] Override http request option.
|
|
@@ -2387,7 +2408,7 @@ export const PunishmentApiAxiosParamCreator = function (configuration) {
|
|
|
2387
2408
|
* @summary Get punishments by player
|
|
2388
2409
|
* @param {string | null} [uuid] Player UUID
|
|
2389
2410
|
* @param {string | null} [username] Player username
|
|
2390
|
-
* @param {Array<
|
|
2411
|
+
* @param {Array<PunishmentType> | null} [type] Filter by punishment types
|
|
2391
2412
|
* @param {number | null} [since] Filter punishments created after this Unix epoch timestamp (milliseconds)
|
|
2392
2413
|
* @param {*} [options] Override http request option.
|
|
2393
2414
|
* @throws {RequiredError}
|
|
@@ -2471,7 +2492,7 @@ export const PunishmentApiAxiosParamCreator = function (configuration) {
|
|
|
2471
2492
|
* @param {number | null} [issuedBefore] Filter punishments issued before this epoch timestamp (milliseconds)
|
|
2472
2493
|
* @param {number | null} [expiresAfter] Filter punishments expiring after this epoch timestamp (milliseconds)
|
|
2473
2494
|
* @param {number | null} [expiresBefore] Filter punishments expiring before this epoch timestamp (milliseconds)
|
|
2474
|
-
* @param {Array<
|
|
2495
|
+
* @param {Array<PunishmentType> | null} [type] Filter by punishment types
|
|
2475
2496
|
* @param {string | null} [uuid] Filter by player UUID
|
|
2476
2497
|
* @param {string | null} [ipAddress] Filter by IP address
|
|
2477
2498
|
* @param {*} [options] Override http request option.
|
|
@@ -2559,7 +2580,7 @@ export const PunishmentApiFp = function (configuration) {
|
|
|
2559
2580
|
* @summary Get punishments by player
|
|
2560
2581
|
* @param {string | null} [uuid] Player UUID
|
|
2561
2582
|
* @param {string | null} [username] Player username
|
|
2562
|
-
* @param {Array<
|
|
2583
|
+
* @param {Array<PunishmentType> | null} [type] Filter by punishment types
|
|
2563
2584
|
* @param {number | null} [since] Filter punishments created after this Unix epoch timestamp (milliseconds)
|
|
2564
2585
|
* @param {*} [options] Override http request option.
|
|
2565
2586
|
* @throws {RequiredError}
|
|
@@ -2598,7 +2619,7 @@ export const PunishmentApiFp = function (configuration) {
|
|
|
2598
2619
|
* @param {number | null} [issuedBefore] Filter punishments issued before this epoch timestamp (milliseconds)
|
|
2599
2620
|
* @param {number | null} [expiresAfter] Filter punishments expiring after this epoch timestamp (milliseconds)
|
|
2600
2621
|
* @param {number | null} [expiresBefore] Filter punishments expiring before this epoch timestamp (milliseconds)
|
|
2601
|
-
* @param {Array<
|
|
2622
|
+
* @param {Array<PunishmentType> | null} [type] Filter by punishment types
|
|
2602
2623
|
* @param {string | null} [uuid] Filter by player UUID
|
|
2603
2624
|
* @param {string | null} [ipAddress] Filter by IP address
|
|
2604
2625
|
* @param {*} [options] Override http request option.
|
|
@@ -2635,7 +2656,7 @@ export const PunishmentApiFactory = function (configuration, basePath, axios) {
|
|
|
2635
2656
|
* @summary Get punishments by player
|
|
2636
2657
|
* @param {string | null} [uuid] Player UUID
|
|
2637
2658
|
* @param {string | null} [username] Player username
|
|
2638
|
-
* @param {Array<
|
|
2659
|
+
* @param {Array<PunishmentType> | null} [type] Filter by punishment types
|
|
2639
2660
|
* @param {number | null} [since] Filter punishments created after this Unix epoch timestamp (milliseconds)
|
|
2640
2661
|
* @param {*} [options] Override http request option.
|
|
2641
2662
|
* @throws {RequiredError}
|
|
@@ -2662,7 +2683,7 @@ export const PunishmentApiFactory = function (configuration, basePath, axios) {
|
|
|
2662
2683
|
* @param {number | null} [issuedBefore] Filter punishments issued before this epoch timestamp (milliseconds)
|
|
2663
2684
|
* @param {number | null} [expiresAfter] Filter punishments expiring after this epoch timestamp (milliseconds)
|
|
2664
2685
|
* @param {number | null} [expiresBefore] Filter punishments expiring before this epoch timestamp (milliseconds)
|
|
2665
|
-
* @param {Array<
|
|
2686
|
+
* @param {Array<PunishmentType> | null} [type] Filter by punishment types
|
|
2666
2687
|
* @param {string | null} [uuid] Filter by player UUID
|
|
2667
2688
|
* @param {string | null} [ipAddress] Filter by IP address
|
|
2668
2689
|
* @param {*} [options] Override http request option.
|
|
@@ -2691,7 +2712,7 @@ export class PunishmentApi extends BaseAPI {
|
|
|
2691
2712
|
* @summary Get punishments by player
|
|
2692
2713
|
* @param {string | null} [uuid] Player UUID
|
|
2693
2714
|
* @param {string | null} [username] Player username
|
|
2694
|
-
* @param {Array<
|
|
2715
|
+
* @param {Array<PunishmentType> | null} [type] Filter by punishment types
|
|
2695
2716
|
* @param {number | null} [since] Filter punishments created after this Unix epoch timestamp (milliseconds)
|
|
2696
2717
|
* @param {*} [options] Override http request option.
|
|
2697
2718
|
* @throws {RequiredError}
|
|
@@ -2718,7 +2739,7 @@ export class PunishmentApi extends BaseAPI {
|
|
|
2718
2739
|
* @param {number | null} [issuedBefore] Filter punishments issued before this epoch timestamp (milliseconds)
|
|
2719
2740
|
* @param {number | null} [expiresAfter] Filter punishments expiring after this epoch timestamp (milliseconds)
|
|
2720
2741
|
* @param {number | null} [expiresBefore] Filter punishments expiring before this epoch timestamp (milliseconds)
|
|
2721
|
-
* @param {Array<
|
|
2742
|
+
* @param {Array<PunishmentType> | null} [type] Filter by punishment types
|
|
2722
2743
|
* @param {string | null} [uuid] Filter by player UUID
|
|
2723
2744
|
* @param {string | null} [ipAddress] Filter by IP address
|
|
2724
2745
|
* @param {*} [options] Override http request option.
|
package/dist/esm/base.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Reborn API
|
|
3
3
|
* The Reborn API serves as the central backend for the platform, orchestrating secure communication between game clients and data services. This API supports two authentication methods: - **OAuth 2.0 Client Credentials**: For programmatic API access - **Discord SSO Bearer Token**: For admin endpoints requiring Discord authentication
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.0
|
|
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).
|
package/dist/esm/base.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Reborn API
|
|
5
5
|
* 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
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 3.0
|
|
7
|
+
* The version of the OpenAPI document: 3.1.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/common.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Reborn API
|
|
3
3
|
* The Reborn API serves as the central backend for the platform, orchestrating secure communication between game clients and data services. This API supports two authentication methods: - **OAuth 2.0 Client Credentials**: For programmatic API access - **Discord SSO Bearer Token**: For admin endpoints requiring Discord authentication
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.0
|
|
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).
|
package/dist/esm/common.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Reborn API
|
|
5
5
|
* 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
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 3.0
|
|
7
|
+
* The version of the OpenAPI document: 3.1.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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
|
|
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).
|