@rebornteam/reborn-api 2.6.0 → 2.7.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 +19 -5
- package/README.md +33 -11
- package/api.ts +1572 -588
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +776 -248
- package/dist/api.js +1264 -467
- 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 +776 -248
- package/dist/esm/api.js +1243 -454
- 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 +33 -0
- package/docs/AdminApplyPunishmentResponse.md +21 -0
- package/docs/AdminApplyPunishmentResult.md +33 -0
- package/docs/AdminCreatePunishmentDraftRequest.md +31 -0
- package/docs/AdminIpSearchResult.md +23 -0
- package/docs/AdminPagedPunishmentResponse.md +1 -1
- package/docs/AdminPlayerSearchResult.md +23 -0
- package/docs/AdminPunishmentDraftResponse.md +21 -0
- package/docs/AdminPunishmentEvaluation.md +39 -0
- package/docs/AdminPunishmentListItem.md +42 -0
- package/docs/AdminPunishmentSearchResponse.md +25 -0
- package/docs/AdminPunishmentTarget.md +23 -0
- package/docs/AdminPunishmentsApi.md +168 -2
- package/docs/AuthenticationApi.md +167 -0
- package/docs/ChatApi.md +121 -0
- package/docs/ChatMessageDTO.md +30 -0
- package/docs/ChatMessageRequest.md +26 -0
- package/docs/PlayerApi.md +56 -3
- package/docs/PunishmentApi.md +0 -106
- package/docs/PunishmentGetPunishmentResponse.md +5 -3
- package/docs/ServerRegisterRequest.md +24 -0
- package/docs/ServerSessionDTO.md +36 -0
- package/docs/ServerSessionsApi.md +261 -0
- package/docs/TokenRequest.md +24 -0
- package/index.ts +1 -1
- package/package.json +1 -1
- package/docs/ApplyPunishmentRequest.md +0 -31
- package/docs/ApplyPunishmentResponse.md +0 -33
- package/docs/CreatePunishmentDraftRequest.md +0 -29
- package/docs/DefaultApi.md +0 -105
- package/docs/PunishmentDraftResponse.md +0 -39
package/.openapi-generator/FILES
CHANGED
|
@@ -6,37 +6,51 @@ api.ts
|
|
|
6
6
|
base.ts
|
|
7
7
|
common.ts
|
|
8
8
|
configuration.ts
|
|
9
|
+
docs/AdminApplyPunishmentRequest.md
|
|
10
|
+
docs/AdminApplyPunishmentResponse.md
|
|
11
|
+
docs/AdminApplyPunishmentResult.md
|
|
9
12
|
docs/AdminClientCredentialResponse.md
|
|
10
13
|
docs/AdminClientCredentialsApi.md
|
|
11
14
|
docs/AdminConnectionBypassResponse.md
|
|
12
15
|
docs/AdminConnectionsApi.md
|
|
16
|
+
docs/AdminCreatePunishmentDraftRequest.md
|
|
13
17
|
docs/AdminDashboardApi.md
|
|
14
18
|
docs/AdminDashboardConnectionResponse.md
|
|
15
19
|
docs/AdminGetDashboardStats.md
|
|
20
|
+
docs/AdminIpSearchResult.md
|
|
16
21
|
docs/AdminPagedConnectionResponse.md
|
|
17
22
|
docs/AdminPagedPlayerResponse.md
|
|
18
23
|
docs/AdminPagedPunishmentResponse.md
|
|
19
24
|
docs/AdminPlayerDetailResponse.md
|
|
25
|
+
docs/AdminPlayerSearchResult.md
|
|
20
26
|
docs/AdminPlayerSummary.md
|
|
21
27
|
docs/AdminPlayersApi.md
|
|
28
|
+
docs/AdminPunishmentDraftResponse.md
|
|
29
|
+
docs/AdminPunishmentEvaluation.md
|
|
30
|
+
docs/AdminPunishmentListItem.md
|
|
31
|
+
docs/AdminPunishmentSearchResponse.md
|
|
32
|
+
docs/AdminPunishmentTarget.md
|
|
22
33
|
docs/AdminPunishmentsApi.md
|
|
23
34
|
docs/AdminUsernameHistoryEntry.md
|
|
24
|
-
docs/
|
|
25
|
-
docs/
|
|
35
|
+
docs/AuthenticationApi.md
|
|
36
|
+
docs/ChatApi.md
|
|
37
|
+
docs/ChatMessageDTO.md
|
|
38
|
+
docs/ChatMessageRequest.md
|
|
26
39
|
docs/ClientCredentialRequest.md
|
|
27
40
|
docs/ConnectionApi.md
|
|
28
41
|
docs/ConnectionGetConnectionDetailsResponse.md
|
|
29
42
|
docs/CreateBypassRequest.md
|
|
30
|
-
docs/CreatePunishmentDraftRequest.md
|
|
31
|
-
docs/DefaultApi.md
|
|
32
43
|
docs/PlayerApi.md
|
|
33
44
|
docs/PlayerGetPlayerInformation.md
|
|
34
45
|
docs/PunishmentApi.md
|
|
35
|
-
docs/PunishmentDraftResponse.md
|
|
36
46
|
docs/PunishmentGetPunishmentResponse.md
|
|
37
47
|
docs/PunishmentSeveritiesResponse.md
|
|
38
48
|
docs/PunishmentSeveritiesResponsePunishmentTypeInfo.md
|
|
39
49
|
docs/PunishmentSeveritiesResponseSeverityInfo.md
|
|
50
|
+
docs/ServerRegisterRequest.md
|
|
51
|
+
docs/ServerSessionDTO.md
|
|
52
|
+
docs/ServerSessionsApi.md
|
|
53
|
+
docs/TokenRequest.md
|
|
40
54
|
docs/UpdateClientRequest.md
|
|
41
55
|
git_push.sh
|
|
42
56
|
index.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @rebornteam/reborn-api@2.
|
|
1
|
+
## @rebornteam/reborn-api@2.7.0
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @rebornteam/reborn-api@2.
|
|
39
|
+
npm install @rebornteam/reborn-api@2.7.0 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -64,43 +64,65 @@ Class | Method | HTTP request | Description
|
|
|
64
64
|
*AdminDashboardApi* | [**dashboardStats**](docs/AdminDashboardApi.md#dashboardstats) | **GET** /admin/dashboard | Get dashboard statistics
|
|
65
65
|
*AdminPlayersApi* | [**getPlayer**](docs/AdminPlayersApi.md#getplayer) | **GET** /admin/player/{uuid} | Get player detail
|
|
66
66
|
*AdminPlayersApi* | [**listPlayers**](docs/AdminPlayersApi.md#listplayers) | **GET** /admin/player | List players
|
|
67
|
+
*AdminPunishmentsApi* | [**applyPunishment**](docs/AdminPunishmentsApi.md#applypunishment) | **POST** /admin/punishment/apply | Apply punishment
|
|
68
|
+
*AdminPunishmentsApi* | [**createDraft**](docs/AdminPunishmentsApi.md#createdraft) | **POST** /admin/punishment/draft | Evaluate punishment impact
|
|
67
69
|
*AdminPunishmentsApi* | [**getPunishments**](docs/AdminPunishmentsApi.md#getpunishments) | **GET** /admin/punishment | List punishments
|
|
70
|
+
*AdminPunishmentsApi* | [**searchTargets**](docs/AdminPunishmentsApi.md#searchtargets) | **GET** /admin/punishment/search | Search punishment targets
|
|
71
|
+
*AuthenticationApi* | [**callback**](docs/AuthenticationApi.md#callback) | **GET** /auth/discord/callback | Discord - OAuth2 callback
|
|
72
|
+
*AuthenticationApi* | [**initiateLogin**](docs/AuthenticationApi.md#initiatelogin) | **GET** /auth/discord | Discord - Initiate login
|
|
73
|
+
*AuthenticationApi* | [**token**](docs/AuthenticationApi.md#token) | **POST** /oauth/token | Service - Exchange client credentials for token
|
|
74
|
+
*ChatApi* | [**history**](docs/ChatApi.md#history) | **GET** /v1/chat | Get chat history
|
|
75
|
+
*ChatApi* | [**ingest**](docs/ChatApi.md#ingest) | **POST** /v1/chat | Ingest a chat message
|
|
68
76
|
*ConnectionApi* | [**getConnectionDetails**](docs/ConnectionApi.md#getconnectiondetails) | **GET** /v1/connection/get-connection-details/{ip} | Check Connection and Detect VPN/Proxy
|
|
69
|
-
*
|
|
70
|
-
*
|
|
71
|
-
*PlayerApi* | [**getPlayer1**](docs/PlayerApi.md#getplayer1) | **GET** /v1/player/{uuid} | Get Player Information
|
|
72
|
-
*PunishmentApi* | [**applyPunishment**](docs/PunishmentApi.md#applypunishment) | **POST** /v1/punishment/apply | Apply a punishment
|
|
73
|
-
*PunishmentApi* | [**createPunishmentDraft**](docs/PunishmentApi.md#createpunishmentdraft) | **POST** /v1/punishment/draft | Create a punishment draft
|
|
77
|
+
*PlayerApi* | [**getPlayer1**](docs/PlayerApi.md#getplayer1) | **GET** /v1/player/{uuid} | Get player information
|
|
78
|
+
*PlayerApi* | [**getUsernames**](docs/PlayerApi.md#getusernames) | **GET** /v1/player/usernames | Batch resolve UUIDs to usernames
|
|
74
79
|
*PunishmentApi* | [**getPunishmentSeverities**](docs/PunishmentApi.md#getpunishmentseverities) | **GET** /v1/punishment/severities | Get punishment severities
|
|
75
80
|
*PunishmentApi* | [**getPunishments1**](docs/PunishmentApi.md#getpunishments1) | **GET** /v1/punishment | Get punishments by player
|
|
76
81
|
*PunishmentApi* | [**getPunishmentsByIp**](docs/PunishmentApi.md#getpunishmentsbyip) | **GET** /v1/punishment/ip | Get punishments by IP address
|
|
77
82
|
*PunishmentApi* | [**getRecentPunishments**](docs/PunishmentApi.md#getrecentpunishments) | **GET** /v1/punishment/recent | List recent punishments
|
|
83
|
+
*ServerSessionsApi* | [**heartbeat**](docs/ServerSessionsApi.md#heartbeat) | **PUT** /v1/servers/{id}/heartbeat | Send a heartbeat
|
|
84
|
+
*ServerSessionsApi* | [**listAll**](docs/ServerSessionsApi.md#listall) | **GET** /v1/servers/history | List all server sessions
|
|
85
|
+
*ServerSessionsApi* | [**listOnline**](docs/ServerSessionsApi.md#listonline) | **GET** /v1/servers | List online server sessions
|
|
86
|
+
*ServerSessionsApi* | [**markOffline**](docs/ServerSessionsApi.md#markoffline) | **PUT** /v1/servers/{id}/offline | Mark a session offline
|
|
87
|
+
*ServerSessionsApi* | [**register**](docs/ServerSessionsApi.md#register) | **POST** /v1/servers | Register a server session
|
|
78
88
|
|
|
79
89
|
|
|
80
90
|
### Documentation For Models
|
|
81
91
|
|
|
92
|
+
- [AdminApplyPunishmentRequest](docs/AdminApplyPunishmentRequest.md)
|
|
93
|
+
- [AdminApplyPunishmentResponse](docs/AdminApplyPunishmentResponse.md)
|
|
94
|
+
- [AdminApplyPunishmentResult](docs/AdminApplyPunishmentResult.md)
|
|
82
95
|
- [AdminClientCredentialResponse](docs/AdminClientCredentialResponse.md)
|
|
83
96
|
- [AdminConnectionBypassResponse](docs/AdminConnectionBypassResponse.md)
|
|
97
|
+
- [AdminCreatePunishmentDraftRequest](docs/AdminCreatePunishmentDraftRequest.md)
|
|
84
98
|
- [AdminDashboardConnectionResponse](docs/AdminDashboardConnectionResponse.md)
|
|
85
99
|
- [AdminGetDashboardStats](docs/AdminGetDashboardStats.md)
|
|
100
|
+
- [AdminIpSearchResult](docs/AdminIpSearchResult.md)
|
|
86
101
|
- [AdminPagedConnectionResponse](docs/AdminPagedConnectionResponse.md)
|
|
87
102
|
- [AdminPagedPlayerResponse](docs/AdminPagedPlayerResponse.md)
|
|
88
103
|
- [AdminPagedPunishmentResponse](docs/AdminPagedPunishmentResponse.md)
|
|
89
104
|
- [AdminPlayerDetailResponse](docs/AdminPlayerDetailResponse.md)
|
|
105
|
+
- [AdminPlayerSearchResult](docs/AdminPlayerSearchResult.md)
|
|
90
106
|
- [AdminPlayerSummary](docs/AdminPlayerSummary.md)
|
|
107
|
+
- [AdminPunishmentDraftResponse](docs/AdminPunishmentDraftResponse.md)
|
|
108
|
+
- [AdminPunishmentEvaluation](docs/AdminPunishmentEvaluation.md)
|
|
109
|
+
- [AdminPunishmentListItem](docs/AdminPunishmentListItem.md)
|
|
110
|
+
- [AdminPunishmentSearchResponse](docs/AdminPunishmentSearchResponse.md)
|
|
111
|
+
- [AdminPunishmentTarget](docs/AdminPunishmentTarget.md)
|
|
91
112
|
- [AdminUsernameHistoryEntry](docs/AdminUsernameHistoryEntry.md)
|
|
92
|
-
- [
|
|
93
|
-
- [
|
|
113
|
+
- [ChatMessageDTO](docs/ChatMessageDTO.md)
|
|
114
|
+
- [ChatMessageRequest](docs/ChatMessageRequest.md)
|
|
94
115
|
- [ClientCredentialRequest](docs/ClientCredentialRequest.md)
|
|
95
116
|
- [ConnectionGetConnectionDetailsResponse](docs/ConnectionGetConnectionDetailsResponse.md)
|
|
96
117
|
- [CreateBypassRequest](docs/CreateBypassRequest.md)
|
|
97
|
-
- [CreatePunishmentDraftRequest](docs/CreatePunishmentDraftRequest.md)
|
|
98
118
|
- [PlayerGetPlayerInformation](docs/PlayerGetPlayerInformation.md)
|
|
99
|
-
- [PunishmentDraftResponse](docs/PunishmentDraftResponse.md)
|
|
100
119
|
- [PunishmentGetPunishmentResponse](docs/PunishmentGetPunishmentResponse.md)
|
|
101
120
|
- [PunishmentSeveritiesResponse](docs/PunishmentSeveritiesResponse.md)
|
|
102
121
|
- [PunishmentSeveritiesResponsePunishmentTypeInfo](docs/PunishmentSeveritiesResponsePunishmentTypeInfo.md)
|
|
103
122
|
- [PunishmentSeveritiesResponseSeverityInfo](docs/PunishmentSeveritiesResponseSeverityInfo.md)
|
|
123
|
+
- [ServerRegisterRequest](docs/ServerRegisterRequest.md)
|
|
124
|
+
- [ServerSessionDTO](docs/ServerSessionDTO.md)
|
|
125
|
+
- [TokenRequest](docs/TokenRequest.md)
|
|
104
126
|
- [UpdateClientRequest](docs/UpdateClientRequest.md)
|
|
105
127
|
|
|
106
128
|
|