@rebornteam/reborn-api 2.6.4 → 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.
@@ -32,11 +32,14 @@ docs/AdminPunishmentSearchResponse.md
32
32
  docs/AdminPunishmentTarget.md
33
33
  docs/AdminPunishmentsApi.md
34
34
  docs/AdminUsernameHistoryEntry.md
35
+ docs/AuthenticationApi.md
36
+ docs/ChatApi.md
37
+ docs/ChatMessageDTO.md
38
+ docs/ChatMessageRequest.md
35
39
  docs/ClientCredentialRequest.md
36
40
  docs/ConnectionApi.md
37
41
  docs/ConnectionGetConnectionDetailsResponse.md
38
42
  docs/CreateBypassRequest.md
39
- docs/DefaultApi.md
40
43
  docs/PlayerApi.md
41
44
  docs/PlayerGetPlayerInformation.md
42
45
  docs/PunishmentApi.md
@@ -44,6 +47,10 @@ docs/PunishmentGetPunishmentResponse.md
44
47
  docs/PunishmentSeveritiesResponse.md
45
48
  docs/PunishmentSeveritiesResponsePunishmentTypeInfo.md
46
49
  docs/PunishmentSeveritiesResponseSeverityInfo.md
50
+ docs/ServerRegisterRequest.md
51
+ docs/ServerSessionDTO.md
52
+ docs/ServerSessionsApi.md
53
+ docs/TokenRequest.md
47
54
  docs/UpdateClientRequest.md
48
55
  git_push.sh
49
56
  index.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @rebornteam/reborn-api@2.6.4
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.6.4 --save
39
+ npm install @rebornteam/reborn-api@2.7.0 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -68,14 +68,23 @@ Class | Method | HTTP request | Description
68
68
  *AdminPunishmentsApi* | [**createDraft**](docs/AdminPunishmentsApi.md#createdraft) | **POST** /admin/punishment/draft | Evaluate punishment impact
69
69
  *AdminPunishmentsApi* | [**getPunishments**](docs/AdminPunishmentsApi.md#getpunishments) | **GET** /admin/punishment | List punishments
70
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
71
76
  *ConnectionApi* | [**getConnectionDetails**](docs/ConnectionApi.md#getconnectiondetails) | **GET** /v1/connection/get-connection-details/{ip} | Check Connection and Detect VPN/Proxy
72
- *DefaultApi* | [**callback**](docs/DefaultApi.md#callback) | **GET** /auth/discord/callback |
73
- *DefaultApi* | [**initiateLogin**](docs/DefaultApi.md#initiatelogin) | **GET** /auth/discord |
74
- *PlayerApi* | [**getPlayer1**](docs/PlayerApi.md#getplayer1) | **GET** /v1/player/{uuid} | Get Player Information
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
75
79
  *PunishmentApi* | [**getPunishmentSeverities**](docs/PunishmentApi.md#getpunishmentseverities) | **GET** /v1/punishment/severities | Get punishment severities
76
80
  *PunishmentApi* | [**getPunishments1**](docs/PunishmentApi.md#getpunishments1) | **GET** /v1/punishment | Get punishments by player
77
81
  *PunishmentApi* | [**getPunishmentsByIp**](docs/PunishmentApi.md#getpunishmentsbyip) | **GET** /v1/punishment/ip | Get punishments by IP address
78
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
79
88
 
80
89
 
81
90
  ### Documentation For Models
@@ -101,6 +110,8 @@ Class | Method | HTTP request | Description
101
110
  - [AdminPunishmentSearchResponse](docs/AdminPunishmentSearchResponse.md)
102
111
  - [AdminPunishmentTarget](docs/AdminPunishmentTarget.md)
103
112
  - [AdminUsernameHistoryEntry](docs/AdminUsernameHistoryEntry.md)
113
+ - [ChatMessageDTO](docs/ChatMessageDTO.md)
114
+ - [ChatMessageRequest](docs/ChatMessageRequest.md)
104
115
  - [ClientCredentialRequest](docs/ClientCredentialRequest.md)
105
116
  - [ConnectionGetConnectionDetailsResponse](docs/ConnectionGetConnectionDetailsResponse.md)
106
117
  - [CreateBypassRequest](docs/CreateBypassRequest.md)
@@ -109,6 +120,9 @@ Class | Method | HTTP request | Description
109
120
  - [PunishmentSeveritiesResponse](docs/PunishmentSeveritiesResponse.md)
110
121
  - [PunishmentSeveritiesResponsePunishmentTypeInfo](docs/PunishmentSeveritiesResponsePunishmentTypeInfo.md)
111
122
  - [PunishmentSeveritiesResponseSeverityInfo](docs/PunishmentSeveritiesResponseSeverityInfo.md)
123
+ - [ServerRegisterRequest](docs/ServerRegisterRequest.md)
124
+ - [ServerSessionDTO](docs/ServerSessionDTO.md)
125
+ - [TokenRequest](docs/TokenRequest.md)
112
126
  - [UpdateClientRequest](docs/UpdateClientRequest.md)
113
127
 
114
128