@rebornteam/reborn-api 3.1.0 → 3.2.1
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 +1 -0
- package/README.md +4 -2
- package/api.ts +185 -95
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +148 -95
- package/dist/api.js +63 -1
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +148 -95
- package/dist/esm/api.js +63 -1
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/AdminApplyPunishmentRequest.md +2 -2
- package/docs/AdminApplyPunishmentResponse.md +1 -1
- package/docs/AdminApplyPunishmentResult.md +6 -6
- package/docs/AdminBackfillLocationResponse.md +25 -0
- package/docs/AdminClientCredentialResponse.md +6 -6
- package/docs/AdminConnectionBypassResponse.md +4 -4
- package/docs/AdminConnectionCheckResult.md +7 -3
- package/docs/AdminConnectionsApi.md +47 -0
- package/docs/AdminCreatePunishmentDraftRequest.md +2 -2
- package/docs/AdminDashboardConnectionResponse.md +2 -2
- package/docs/AdminIpSearchResult.md +2 -2
- package/docs/AdminPagedConnectionResponse.md +5 -5
- package/docs/AdminPagedPlayerResponse.md +5 -5
- package/docs/AdminPagedPunishmentResponse.md +5 -5
- package/docs/AdminPlayerDetailResponse.md +7 -7
- package/docs/AdminPlayerSearchResult.md +1 -1
- package/docs/AdminPlayerSummary.md +6 -6
- package/docs/AdminPunishmentDraftResponse.md +1 -1
- package/docs/AdminPunishmentEvaluation.md +9 -9
- package/docs/AdminPunishmentSearchResponse.md +3 -3
- package/docs/AdminUsernameHistoryEntry.md +2 -2
- package/docs/ConnectionGetConnectionDetailsResponse.md +7 -7
- package/docs/PlayerGetPlayerInformation.md +4 -4
- package/docs/PunishmentGetPunishmentResponse.md +6 -6
- package/docs/PunishmentSeveritiesResponse.md +1 -1
- package/docs/PunishmentSeveritiesResponsePunishmentTypeInfo.md +2 -2
- package/docs/PunishmentSeveritiesResponseSeverityInfo.md +2 -2
- package/index.ts +1 -1
- package/package.json +1 -1
|
@@ -6,15 +6,15 @@ Comprehensive connection analysis response including VPN detection, geolocation,
|
|
|
6
6
|
|
|
7
7
|
Name | Type | Description | Notes
|
|
8
8
|
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**ipAddress** | **string** | The analyzed IPv4 address | [
|
|
10
|
-
**approximateLocation** | **string** | Approximate geographic location of the IP address. Returns \'Local, N/A\' for localhost or private IPs. | [
|
|
11
|
-
**percentPositive** | **number** | 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). | [
|
|
12
|
-
**numberOfChecks** | **number** | Total number of VPN detection services successfully queried during the last check. | [
|
|
13
|
-
**isBypassed** | **boolean** | Indicates if this IP address has been administratively bypassed. | [
|
|
9
|
+
**ipAddress** | **string** | The analyzed IPv4 address | [default to undefined]
|
|
10
|
+
**approximateLocation** | **string** | Approximate geographic location of the IP address. Returns \'Local, N/A\' for localhost or private IPs. | [default to undefined]
|
|
11
|
+
**percentPositive** | **number** | 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). | [default to undefined]
|
|
12
|
+
**numberOfChecks** | **number** | Total number of VPN detection services successfully queried during the last check. | [default to undefined]
|
|
13
|
+
**isBypassed** | **boolean** | Indicates if this IP address has been administratively bypassed. | [default to undefined]
|
|
14
14
|
**bypassedUntil** | **string** | Expiration timestamp for the bypass (ISO-8601 format). Null if not bypassed or bypass is permanent. | [optional] [default to undefined]
|
|
15
|
-
**results** | [**Array<AdminConnectionCheckResult>**](AdminConnectionCheckResult.md) | Results from each VPN detection service that checked this IP address | [
|
|
15
|
+
**results** | [**Array<AdminConnectionCheckResult>**](AdminConnectionCheckResult.md) | Results from each VPN detection service that checked this IP address | [default to undefined]
|
|
16
16
|
**playerInformation** | [**PlayerGetPlayerInformation**](PlayerGetPlayerInformation.md) | Player information associated with this connection. Only populated when \'associate_uuid\' query parameter is provided. | [optional] [default to undefined]
|
|
17
|
-
**punishments** | [**Array<PunishmentGetPunishmentResponse>**](PunishmentGetPunishmentResponse.md) | Combined list of active punishments for both the IP address and player UUID (if provided). Only includes non-expired punishments. | [
|
|
17
|
+
**punishments** | [**Array<PunishmentGetPunishmentResponse>**](PunishmentGetPunishmentResponse.md) | Combined list of active punishments for both the IP address and player UUID (if provided). Only includes non-expired punishments. | [default to undefined]
|
|
18
18
|
**connectionResult** | [**ConnectionResult**](ConnectionResult.md) | 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. | [optional] [default to undefined]
|
|
19
19
|
|
|
20
20
|
## Example
|
|
@@ -6,10 +6,10 @@ Player information including join history, tracking data, and punishment scoring
|
|
|
6
6
|
|
|
7
7
|
Name | Type | Description | Notes
|
|
8
8
|
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**firstJoin** | **boolean** | Indicates whether this is the player\'s first time joining the server. | [
|
|
10
|
-
**firstLogin** | **string** | Timestamp of when the player first connected to the server (ISO-8601 format). | [
|
|
11
|
-
**punishmentPointsRaw** | **number** | Raw punishment score calculated as: SUM((base_weight × severity/10)). Used for tracking overall punishment severity. | [
|
|
12
|
-
**punishmentPointsPercent** | **number** | Punishment score as a percentage (0-100). When >100% before applying a new punishment, the new punishment should be made permanent. | [
|
|
9
|
+
**firstJoin** | **boolean** | Indicates whether this is the player\'s first time joining the server. | [default to undefined]
|
|
10
|
+
**firstLogin** | **string** | Timestamp of when the player first connected to the server (ISO-8601 format). | [default to undefined]
|
|
11
|
+
**punishmentPointsRaw** | **number** | Raw punishment score calculated as: SUM((base_weight × severity/10)). Used for tracking overall punishment severity. | [default to undefined]
|
|
12
|
+
**punishmentPointsPercent** | **number** | Punishment score as a percentage (0-100). When >100% before applying a new punishment, the new punishment should be made permanent. | [default to undefined]
|
|
13
13
|
|
|
14
14
|
## Example
|
|
15
15
|
|
|
@@ -6,14 +6,14 @@ Punishment information including reason, type, creator, and expiration
|
|
|
6
6
|
|
|
7
7
|
Name | Type | Description | Notes
|
|
8
8
|
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**id** | **number** | Unique identifier for the punishment | [
|
|
10
|
-
**reason** | **string** | Reason for the punishment, shown to the punished player | [
|
|
9
|
+
**id** | **number** | Unique identifier for the punishment | [default to undefined]
|
|
10
|
+
**reason** | **string** | Reason for the punishment, shown to the punished player | [default to undefined]
|
|
11
11
|
**notes** | **string** | Internal administrator notes — not shown to the punished player | [optional] [default to undefined]
|
|
12
|
-
**type** | [**PunishmentType**](PunishmentType.md) | Type of punishment | [
|
|
13
|
-
**severity** | **number** | Severity level (1=Minor, 2=Moderate, 3=Severe, 4=Critical) | [
|
|
14
|
-
**createdBy** | **string** | Username or identifier of the person who created this punishment | [
|
|
12
|
+
**type** | [**PunishmentType**](PunishmentType.md) | Type of punishment | [default to undefined]
|
|
13
|
+
**severity** | **number** | Severity level (1=Minor, 2=Moderate, 3=Severe, 4=Critical) | [default to undefined]
|
|
14
|
+
**createdBy** | **string** | Username or identifier of the person who created this punishment | [default to undefined]
|
|
15
15
|
**expiresAt** | **string** | Timestamp when the punishment expires (ISO-8601 format). Null for permanent punishments. | [optional] [default to undefined]
|
|
16
|
-
**createdAt** | **string** | Timestamp when the punishment was created (ISO-8601 format) | [
|
|
16
|
+
**createdAt** | **string** | Timestamp when the punishment was created (ISO-8601 format) | [default to undefined]
|
|
17
17
|
|
|
18
18
|
## Example
|
|
19
19
|
|
|
@@ -6,7 +6,7 @@ Response containing punishment severity durations for each type
|
|
|
6
6
|
|
|
7
7
|
Name | Type | Description | Notes
|
|
8
8
|
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**punishmentTypes** | [**Array<PunishmentSeveritiesResponsePunishmentTypeInfo>**](PunishmentSeveritiesResponsePunishmentTypeInfo.md) | List of punishment types with their severity durations | [
|
|
9
|
+
**punishmentTypes** | [**Array<PunishmentSeveritiesResponsePunishmentTypeInfo>**](PunishmentSeveritiesResponsePunishmentTypeInfo.md) | List of punishment types with their severity durations | [default to undefined]
|
|
10
10
|
|
|
11
11
|
## Example
|
|
12
12
|
|
|
@@ -6,8 +6,8 @@ Punishment type with severity information
|
|
|
6
6
|
|
|
7
7
|
Name | Type | Description | Notes
|
|
8
8
|
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**type** | [**PunishmentType**](PunishmentType.md) | Type of punishment | [
|
|
10
|
-
**severities** | [**Array<PunishmentSeveritiesResponseSeverityInfo>**](PunishmentSeveritiesResponseSeverityInfo.md) | List of severity levels with durations | [
|
|
9
|
+
**type** | [**PunishmentType**](PunishmentType.md) | Type of punishment | [default to undefined]
|
|
10
|
+
**severities** | [**Array<PunishmentSeveritiesResponseSeverityInfo>**](PunishmentSeveritiesResponseSeverityInfo.md) | List of severity levels with durations | [default to undefined]
|
|
11
11
|
|
|
12
12
|
## Example
|
|
13
13
|
|
|
@@ -6,8 +6,8 @@ Severity level with duration information
|
|
|
6
6
|
|
|
7
7
|
Name | Type | Description | Notes
|
|
8
8
|
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**severity** | **number** | Severity level | [
|
|
10
|
-
**durationSeconds** | **number** | Duration in seconds (0 means no duration) | [
|
|
9
|
+
**severity** | **number** | Severity level | [default to undefined]
|
|
10
|
+
**durationSeconds** | **number** | Duration in seconds (0 means no duration) | [default to undefined]
|
|
11
11
|
|
|
12
12
|
## Example
|
|
13
13
|
|
package/index.ts
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.1
|
|
7
|
+
* The version of the OpenAPI document: 3.2.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|