@rebornteam/reborn-api 2.5.1 → 2.6.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 +9 -0
- package/README.md +18 -6
- package/api.ts +881 -67
- package/base.ts +2 -2
- package/common.ts +2 -2
- package/configuration.ts +2 -2
- package/dist/api.d.ts +480 -10
- package/dist/api.js +639 -38
- package/dist/base.d.ts +2 -2
- package/dist/base.js +2 -2
- package/dist/common.d.ts +2 -2
- package/dist/common.js +2 -2
- package/dist/configuration.d.ts +2 -2
- package/dist/configuration.js +2 -2
- package/dist/esm/api.d.ts +480 -10
- package/dist/esm/api.js +626 -37
- package/dist/esm/base.d.ts +2 -2
- package/dist/esm/base.js +2 -2
- package/dist/esm/common.d.ts +2 -2
- package/dist/esm/common.js +2 -2
- package/dist/esm/configuration.d.ts +2 -2
- package/dist/esm/configuration.js +2 -2
- package/dist/esm/index.d.ts +2 -2
- package/dist/esm/index.js +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/docs/AdminClientCredentialResponse.md +2 -0
- package/docs/AdminClientCredentialsApi.md +17 -17
- package/docs/AdminConnectionsApi.md +70 -4
- package/docs/AdminDashboardApi.md +2 -2
- package/docs/AdminPagedConnectionResponse.md +29 -0
- package/docs/AdminPagedPlayerResponse.md +29 -0
- package/docs/AdminPagedPunishmentResponse.md +29 -0
- package/docs/AdminPlayerDetailResponse.md +37 -0
- package/docs/AdminPlayerSummary.md +35 -0
- package/docs/AdminPlayersApi.md +122 -0
- package/docs/AdminPunishmentsApi.md +82 -0
- package/docs/AdminUsernameHistoryEntry.md +23 -0
- package/docs/ClientCredentialRequest.md +2 -0
- package/docs/ConnectionApi.md +1 -1
- package/docs/DefaultApi.md +105 -0
- package/docs/PlayerApi.md +5 -5
- package/docs/PunishmentApi.md +10 -10
- package/index.ts +2 -2
- package/package.json +2 -2
package/base.ts
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Reborn API
|
|
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 - **
|
|
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: 2.
|
|
7
|
+
* The version of the OpenAPI document: 2.6.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/common.ts
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Reborn API
|
|
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 - **
|
|
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: 2.
|
|
7
|
+
* The version of the OpenAPI document: 2.6.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/configuration.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/**
|
|
3
3
|
* Reborn API
|
|
4
|
-
* 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 - **
|
|
4
|
+
* 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
|
|
5
5
|
*
|
|
6
|
-
* The version of the OpenAPI document: 2.
|
|
6
|
+
* The version of the OpenAPI document: 2.6.0
|
|
7
7
|
*
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/api.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Reborn API
|
|
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 - **
|
|
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.
|
|
5
|
+
* The version of the OpenAPI document: 2.6.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -45,6 +45,10 @@ export interface AdminClientCredentialResponse {
|
|
|
45
45
|
* Timestamp when the credential was created (ISO-8601 format)
|
|
46
46
|
*/
|
|
47
47
|
'createdAt'?: string;
|
|
48
|
+
/**
|
|
49
|
+
* Timestamp when the credential expires (ISO-8601 format). Null means the credential never expires.
|
|
50
|
+
*/
|
|
51
|
+
'expiresAt'?: string | null;
|
|
48
52
|
}
|
|
49
53
|
/**
|
|
50
54
|
* Connection bypass response
|
|
@@ -84,6 +88,172 @@ export interface AdminGetDashboardStats {
|
|
|
84
88
|
'totalConnections': number;
|
|
85
89
|
'totalClients': number;
|
|
86
90
|
}
|
|
91
|
+
/**
|
|
92
|
+
* Paginated connection list response
|
|
93
|
+
*/
|
|
94
|
+
export interface AdminPagedConnectionResponse {
|
|
95
|
+
/**
|
|
96
|
+
* Connections on the current page
|
|
97
|
+
*/
|
|
98
|
+
'data'?: Array<AdminDashboardConnectionResponse>;
|
|
99
|
+
/**
|
|
100
|
+
* Total number of connections matching the filters
|
|
101
|
+
*/
|
|
102
|
+
'total'?: number;
|
|
103
|
+
/**
|
|
104
|
+
* Current page (1-indexed)
|
|
105
|
+
*/
|
|
106
|
+
'page'?: number;
|
|
107
|
+
/**
|
|
108
|
+
* Page size
|
|
109
|
+
*/
|
|
110
|
+
'limit'?: number;
|
|
111
|
+
/**
|
|
112
|
+
* Total number of pages
|
|
113
|
+
*/
|
|
114
|
+
'totalPages'?: number;
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* Paginated player list response
|
|
118
|
+
*/
|
|
119
|
+
export interface AdminPagedPlayerResponse {
|
|
120
|
+
/**
|
|
121
|
+
* Players on the current page
|
|
122
|
+
*/
|
|
123
|
+
'data'?: Array<AdminPlayerSummary>;
|
|
124
|
+
/**
|
|
125
|
+
* Total number of players matching the search filter
|
|
126
|
+
*/
|
|
127
|
+
'total'?: number;
|
|
128
|
+
/**
|
|
129
|
+
* Current page (1-indexed)
|
|
130
|
+
*/
|
|
131
|
+
'page'?: number;
|
|
132
|
+
/**
|
|
133
|
+
* Page size
|
|
134
|
+
*/
|
|
135
|
+
'limit'?: number;
|
|
136
|
+
/**
|
|
137
|
+
* Total number of pages
|
|
138
|
+
*/
|
|
139
|
+
'totalPages'?: number;
|
|
140
|
+
}
|
|
141
|
+
/**
|
|
142
|
+
* Paginated punishment list response
|
|
143
|
+
*/
|
|
144
|
+
export interface AdminPagedPunishmentResponse {
|
|
145
|
+
/**
|
|
146
|
+
* Punishments on the current page
|
|
147
|
+
*/
|
|
148
|
+
'data'?: Array<PunishmentGetPunishmentResponse>;
|
|
149
|
+
/**
|
|
150
|
+
* Total number of punishments matching the filters
|
|
151
|
+
*/
|
|
152
|
+
'total'?: number;
|
|
153
|
+
/**
|
|
154
|
+
* Current page (1-indexed)
|
|
155
|
+
*/
|
|
156
|
+
'page'?: number;
|
|
157
|
+
/**
|
|
158
|
+
* Page size
|
|
159
|
+
*/
|
|
160
|
+
'limit'?: number;
|
|
161
|
+
/**
|
|
162
|
+
* Total number of pages
|
|
163
|
+
*/
|
|
164
|
+
'totalPages'?: number;
|
|
165
|
+
}
|
|
166
|
+
/**
|
|
167
|
+
* Full player detail including punishment history and all known usernames
|
|
168
|
+
*/
|
|
169
|
+
export interface AdminPlayerDetailResponse {
|
|
170
|
+
/**
|
|
171
|
+
* Internal player ID
|
|
172
|
+
*/
|
|
173
|
+
'id'?: number;
|
|
174
|
+
/**
|
|
175
|
+
* Player Minecraft UUID
|
|
176
|
+
*/
|
|
177
|
+
'uuid'?: string;
|
|
178
|
+
/**
|
|
179
|
+
* Most recently seen username
|
|
180
|
+
*/
|
|
181
|
+
'username'?: string | null;
|
|
182
|
+
/**
|
|
183
|
+
* Whether this player still has first-join status
|
|
184
|
+
*/
|
|
185
|
+
'firstJoin'?: boolean;
|
|
186
|
+
/**
|
|
187
|
+
* Timestamp of first connection (ISO-8601)
|
|
188
|
+
*/
|
|
189
|
+
'firstLogin'?: string;
|
|
190
|
+
/**
|
|
191
|
+
* Timestamp of most recent connection (ISO-8601)
|
|
192
|
+
*/
|
|
193
|
+
'lastUsedAt'?: string | null;
|
|
194
|
+
/**
|
|
195
|
+
* Raw punishment score
|
|
196
|
+
*/
|
|
197
|
+
'punishmentPointsRaw'?: number;
|
|
198
|
+
/**
|
|
199
|
+
* Punishment score as a percentage
|
|
200
|
+
*/
|
|
201
|
+
'punishmentPointsPercent'?: number;
|
|
202
|
+
/**
|
|
203
|
+
* All usernames this player has used, newest first
|
|
204
|
+
*/
|
|
205
|
+
'usernameHistory'?: Array<AdminUsernameHistoryEntry>;
|
|
206
|
+
}
|
|
207
|
+
/**
|
|
208
|
+
* Summary of a player record, used in list views
|
|
209
|
+
*/
|
|
210
|
+
export interface AdminPlayerSummary {
|
|
211
|
+
/**
|
|
212
|
+
* Internal player ID
|
|
213
|
+
*/
|
|
214
|
+
'id'?: number;
|
|
215
|
+
/**
|
|
216
|
+
* Player Minecraft UUID
|
|
217
|
+
*/
|
|
218
|
+
'uuid'?: string;
|
|
219
|
+
/**
|
|
220
|
+
* Most recently seen username, null if never recorded
|
|
221
|
+
*/
|
|
222
|
+
'username'?: string | null;
|
|
223
|
+
/**
|
|
224
|
+
* Whether this player still has first-join status
|
|
225
|
+
*/
|
|
226
|
+
'firstJoin'?: boolean;
|
|
227
|
+
/**
|
|
228
|
+
* Timestamp of first connection (ISO-8601)
|
|
229
|
+
*/
|
|
230
|
+
'firstLogin'?: string;
|
|
231
|
+
/**
|
|
232
|
+
* Timestamp of most recent connection (ISO-8601)
|
|
233
|
+
*/
|
|
234
|
+
'lastUsedAt'?: string | null;
|
|
235
|
+
/**
|
|
236
|
+
* Raw punishment score (sum of weighted punishment values)
|
|
237
|
+
*/
|
|
238
|
+
'punishmentPointsRaw'?: number;
|
|
239
|
+
/**
|
|
240
|
+
* Punishment score as a percentage. Values above 100 indicate future punishments should be permanent.
|
|
241
|
+
*/
|
|
242
|
+
'punishmentPointsPercent'?: number;
|
|
243
|
+
}
|
|
244
|
+
/**
|
|
245
|
+
* A single entry in a player\'s username history
|
|
246
|
+
*/
|
|
247
|
+
export interface AdminUsernameHistoryEntry {
|
|
248
|
+
/**
|
|
249
|
+
* The username at this point in time
|
|
250
|
+
*/
|
|
251
|
+
'username'?: string;
|
|
252
|
+
/**
|
|
253
|
+
* When this username was first observed (ISO-8601)
|
|
254
|
+
*/
|
|
255
|
+
'changedAt'?: string;
|
|
256
|
+
}
|
|
87
257
|
/**
|
|
88
258
|
* Request to apply a punishment to a player
|
|
89
259
|
*/
|
|
@@ -158,6 +328,10 @@ export interface ClientCredentialRequest {
|
|
|
158
328
|
* Optional description of the client\'s purpose
|
|
159
329
|
*/
|
|
160
330
|
'description'?: string;
|
|
331
|
+
/**
|
|
332
|
+
* Optional expiration timestamp (ISO-8601). Null means the credential never expires.
|
|
333
|
+
*/
|
|
334
|
+
'expiresAt'?: string | null;
|
|
161
335
|
}
|
|
162
336
|
/**
|
|
163
337
|
* Comprehensive connection analysis response including VPN detection, geolocation, bypass status, and optional player information
|
|
@@ -634,6 +808,18 @@ export declare const AdminConnectionsApiAxiosParamCreator: (configuration?: Conf
|
|
|
634
808
|
* @throws {RequiredError}
|
|
635
809
|
*/
|
|
636
810
|
createBypass: (createBypassRequest: CreateBypassRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
811
|
+
/**
|
|
812
|
+
* Returns a paginated list of all connections with a total count. Supports filtering by IP address, UUID, and VPN status.
|
|
813
|
+
* @summary List all connections (paginated)
|
|
814
|
+
* @param {string | null} [ipAddress] Filter by IP address
|
|
815
|
+
* @param {string | null} [uuid] Filter by player UUID
|
|
816
|
+
* @param {boolean | null} [isVpn] Filter by VPN status
|
|
817
|
+
* @param {number | null} [page] Page number (1-indexed)
|
|
818
|
+
* @param {number | null} [limit] Page size
|
|
819
|
+
* @param {*} [options] Override http request option.
|
|
820
|
+
* @throws {RequiredError}
|
|
821
|
+
*/
|
|
822
|
+
listAllConnections: (ipAddress?: string | null, uuid?: string | null, isVpn?: boolean | null, page?: number | null, limit?: number | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
637
823
|
/**
|
|
638
824
|
* Returns a list of recent connections with VPN detection status, bypass information, and associated player data. Optionally filter by epoch timestamp (seconds since Unix epoch).
|
|
639
825
|
* @summary List recent connections
|
|
@@ -661,6 +847,18 @@ export declare const AdminConnectionsApiFp: (configuration?: Configuration) => {
|
|
|
661
847
|
* @throws {RequiredError}
|
|
662
848
|
*/
|
|
663
849
|
createBypass(createBypassRequest: CreateBypassRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminConnectionBypassResponse>>;
|
|
850
|
+
/**
|
|
851
|
+
* Returns a paginated list of all connections with a total count. Supports filtering by IP address, UUID, and VPN status.
|
|
852
|
+
* @summary List all connections (paginated)
|
|
853
|
+
* @param {string | null} [ipAddress] Filter by IP address
|
|
854
|
+
* @param {string | null} [uuid] Filter by player UUID
|
|
855
|
+
* @param {boolean | null} [isVpn] Filter by VPN status
|
|
856
|
+
* @param {number | null} [page] Page number (1-indexed)
|
|
857
|
+
* @param {number | null} [limit] Page size
|
|
858
|
+
* @param {*} [options] Override http request option.
|
|
859
|
+
* @throws {RequiredError}
|
|
860
|
+
*/
|
|
861
|
+
listAllConnections(ipAddress?: string | null, uuid?: string | null, isVpn?: boolean | null, page?: number | null, limit?: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminPagedConnectionResponse>>;
|
|
664
862
|
/**
|
|
665
863
|
* Returns a list of recent connections with VPN detection status, bypass information, and associated player data. Optionally filter by epoch timestamp (seconds since Unix epoch).
|
|
666
864
|
* @summary List recent connections
|
|
@@ -688,6 +886,18 @@ export declare const AdminConnectionsApiFactory: (configuration?: Configuration,
|
|
|
688
886
|
* @throws {RequiredError}
|
|
689
887
|
*/
|
|
690
888
|
createBypass(createBypassRequest: CreateBypassRequest, options?: RawAxiosRequestConfig): AxiosPromise<AdminConnectionBypassResponse>;
|
|
889
|
+
/**
|
|
890
|
+
* Returns a paginated list of all connections with a total count. Supports filtering by IP address, UUID, and VPN status.
|
|
891
|
+
* @summary List all connections (paginated)
|
|
892
|
+
* @param {string | null} [ipAddress] Filter by IP address
|
|
893
|
+
* @param {string | null} [uuid] Filter by player UUID
|
|
894
|
+
* @param {boolean | null} [isVpn] Filter by VPN status
|
|
895
|
+
* @param {number | null} [page] Page number (1-indexed)
|
|
896
|
+
* @param {number | null} [limit] Page size
|
|
897
|
+
* @param {*} [options] Override http request option.
|
|
898
|
+
* @throws {RequiredError}
|
|
899
|
+
*/
|
|
900
|
+
listAllConnections(ipAddress?: string | null, uuid?: string | null, isVpn?: boolean | null, page?: number | null, limit?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<AdminPagedConnectionResponse>;
|
|
691
901
|
/**
|
|
692
902
|
* Returns a list of recent connections with VPN detection status, bypass information, and associated player data. Optionally filter by epoch timestamp (seconds since Unix epoch).
|
|
693
903
|
* @summary List recent connections
|
|
@@ -715,6 +925,18 @@ export declare class AdminConnectionsApi extends BaseAPI {
|
|
|
715
925
|
* @throws {RequiredError}
|
|
716
926
|
*/
|
|
717
927
|
createBypass(createBypassRequest: CreateBypassRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AdminConnectionBypassResponse, any, {}>>;
|
|
928
|
+
/**
|
|
929
|
+
* Returns a paginated list of all connections with a total count. Supports filtering by IP address, UUID, and VPN status.
|
|
930
|
+
* @summary List all connections (paginated)
|
|
931
|
+
* @param {string | null} [ipAddress] Filter by IP address
|
|
932
|
+
* @param {string | null} [uuid] Filter by player UUID
|
|
933
|
+
* @param {boolean | null} [isVpn] Filter by VPN status
|
|
934
|
+
* @param {number | null} [page] Page number (1-indexed)
|
|
935
|
+
* @param {number | null} [limit] Page size
|
|
936
|
+
* @param {*} [options] Override http request option.
|
|
937
|
+
* @throws {RequiredError}
|
|
938
|
+
*/
|
|
939
|
+
listAllConnections(ipAddress?: string | null, uuid?: string | null, isVpn?: boolean | null, page?: number | null, limit?: number | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AdminPagedConnectionResponse, any, {}>>;
|
|
718
940
|
/**
|
|
719
941
|
* Returns a list of recent connections with VPN detection status, bypass information, and associated player data. Optionally filter by epoch timestamp (seconds since Unix epoch).
|
|
720
942
|
* @summary List recent connections
|
|
@@ -778,6 +1000,178 @@ export declare class AdminDashboardApi extends BaseAPI {
|
|
|
778
1000
|
*/
|
|
779
1001
|
dashboardStats(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AdminGetDashboardStats, any, {}>>;
|
|
780
1002
|
}
|
|
1003
|
+
/**
|
|
1004
|
+
* AdminPlayersApi - axios parameter creator
|
|
1005
|
+
*/
|
|
1006
|
+
export declare const AdminPlayersApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
1007
|
+
/**
|
|
1008
|
+
* Returns full detail for a single player including all known usernames and punishment scoring.
|
|
1009
|
+
* @summary Get player detail
|
|
1010
|
+
* @param {string} uuid Player Minecraft UUID
|
|
1011
|
+
* @param {*} [options] Override http request option.
|
|
1012
|
+
* @throws {RequiredError}
|
|
1013
|
+
*/
|
|
1014
|
+
getPlayer: (uuid: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1015
|
+
/**
|
|
1016
|
+
* Returns up to 500 players ordered by most recently seen. Optionally filter by UUID or username substring.
|
|
1017
|
+
* @summary List players
|
|
1018
|
+
* @param {number} page Page number (1-indexed)
|
|
1019
|
+
* @param {number} limit Page size
|
|
1020
|
+
* @param {string | null} [search] Optional search string matched against UUID or username (case-insensitive substring)
|
|
1021
|
+
* @param {*} [options] Override http request option.
|
|
1022
|
+
* @throws {RequiredError}
|
|
1023
|
+
*/
|
|
1024
|
+
listPlayers: (page: number, limit: number, search?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1025
|
+
};
|
|
1026
|
+
/**
|
|
1027
|
+
* AdminPlayersApi - functional programming interface
|
|
1028
|
+
*/
|
|
1029
|
+
export declare const AdminPlayersApiFp: (configuration?: Configuration) => {
|
|
1030
|
+
/**
|
|
1031
|
+
* Returns full detail for a single player including all known usernames and punishment scoring.
|
|
1032
|
+
* @summary Get player detail
|
|
1033
|
+
* @param {string} uuid Player Minecraft UUID
|
|
1034
|
+
* @param {*} [options] Override http request option.
|
|
1035
|
+
* @throws {RequiredError}
|
|
1036
|
+
*/
|
|
1037
|
+
getPlayer(uuid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminPlayerDetailResponse>>;
|
|
1038
|
+
/**
|
|
1039
|
+
* Returns up to 500 players ordered by most recently seen. Optionally filter by UUID or username substring.
|
|
1040
|
+
* @summary List players
|
|
1041
|
+
* @param {number} page Page number (1-indexed)
|
|
1042
|
+
* @param {number} limit Page size
|
|
1043
|
+
* @param {string | null} [search] Optional search string matched against UUID or username (case-insensitive substring)
|
|
1044
|
+
* @param {*} [options] Override http request option.
|
|
1045
|
+
* @throws {RequiredError}
|
|
1046
|
+
*/
|
|
1047
|
+
listPlayers(page: number, limit: number, search?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminPagedPlayerResponse>>;
|
|
1048
|
+
};
|
|
1049
|
+
/**
|
|
1050
|
+
* AdminPlayersApi - factory interface
|
|
1051
|
+
*/
|
|
1052
|
+
export declare const AdminPlayersApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
1053
|
+
/**
|
|
1054
|
+
* Returns full detail for a single player including all known usernames and punishment scoring.
|
|
1055
|
+
* @summary Get player detail
|
|
1056
|
+
* @param {string} uuid Player Minecraft UUID
|
|
1057
|
+
* @param {*} [options] Override http request option.
|
|
1058
|
+
* @throws {RequiredError}
|
|
1059
|
+
*/
|
|
1060
|
+
getPlayer(uuid: string, options?: RawAxiosRequestConfig): AxiosPromise<AdminPlayerDetailResponse>;
|
|
1061
|
+
/**
|
|
1062
|
+
* Returns up to 500 players ordered by most recently seen. Optionally filter by UUID or username substring.
|
|
1063
|
+
* @summary List players
|
|
1064
|
+
* @param {number} page Page number (1-indexed)
|
|
1065
|
+
* @param {number} limit Page size
|
|
1066
|
+
* @param {string | null} [search] Optional search string matched against UUID or username (case-insensitive substring)
|
|
1067
|
+
* @param {*} [options] Override http request option.
|
|
1068
|
+
* @throws {RequiredError}
|
|
1069
|
+
*/
|
|
1070
|
+
listPlayers(page: number, limit: number, search?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<AdminPagedPlayerResponse>;
|
|
1071
|
+
};
|
|
1072
|
+
/**
|
|
1073
|
+
* AdminPlayersApi - object-oriented interface
|
|
1074
|
+
*/
|
|
1075
|
+
export declare class AdminPlayersApi extends BaseAPI {
|
|
1076
|
+
/**
|
|
1077
|
+
* Returns full detail for a single player including all known usernames and punishment scoring.
|
|
1078
|
+
* @summary Get player detail
|
|
1079
|
+
* @param {string} uuid Player Minecraft UUID
|
|
1080
|
+
* @param {*} [options] Override http request option.
|
|
1081
|
+
* @throws {RequiredError}
|
|
1082
|
+
*/
|
|
1083
|
+
getPlayer(uuid: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AdminPlayerDetailResponse, any, {}>>;
|
|
1084
|
+
/**
|
|
1085
|
+
* Returns up to 500 players ordered by most recently seen. Optionally filter by UUID or username substring.
|
|
1086
|
+
* @summary List players
|
|
1087
|
+
* @param {number} page Page number (1-indexed)
|
|
1088
|
+
* @param {number} limit Page size
|
|
1089
|
+
* @param {string | null} [search] Optional search string matched against UUID or username (case-insensitive substring)
|
|
1090
|
+
* @param {*} [options] Override http request option.
|
|
1091
|
+
* @throws {RequiredError}
|
|
1092
|
+
*/
|
|
1093
|
+
listPlayers(page: number, limit: number, search?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AdminPagedPlayerResponse, any, {}>>;
|
|
1094
|
+
}
|
|
1095
|
+
/**
|
|
1096
|
+
* AdminPunishmentsApi - axios parameter creator
|
|
1097
|
+
*/
|
|
1098
|
+
export declare const AdminPunishmentsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
1099
|
+
/**
|
|
1100
|
+
* Returns a paginated list of punishments with optional filtering by player UUID, username, IP address, type, and date range.
|
|
1101
|
+
* @summary List punishments
|
|
1102
|
+
* @param {number} page Page number (1-indexed)
|
|
1103
|
+
* @param {number} limit Page size
|
|
1104
|
+
* @param {string | null} [uuid] Filter by player UUID
|
|
1105
|
+
* @param {string | null} [username] Filter by player username (case-insensitive substring match)
|
|
1106
|
+
* @param {string | null} [ipAddress] Filter by IP address
|
|
1107
|
+
* @param {Array<string> | null} [type] Filter by punishment type (BAN, MUTE, KICK, WARNING). Repeatable.
|
|
1108
|
+
* @param {number | null} [issuedAfter] Filter punishments issued after this epoch timestamp (ms)
|
|
1109
|
+
* @param {number | null} [issuedBefore] Filter punishments issued before this epoch timestamp (ms)
|
|
1110
|
+
* @param {*} [options] Override http request option.
|
|
1111
|
+
* @throws {RequiredError}
|
|
1112
|
+
*/
|
|
1113
|
+
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>;
|
|
1114
|
+
};
|
|
1115
|
+
/**
|
|
1116
|
+
* AdminPunishmentsApi - functional programming interface
|
|
1117
|
+
*/
|
|
1118
|
+
export declare const AdminPunishmentsApiFp: (configuration?: Configuration) => {
|
|
1119
|
+
/**
|
|
1120
|
+
* Returns a paginated list of punishments with optional filtering by player UUID, username, IP address, type, and date range.
|
|
1121
|
+
* @summary List punishments
|
|
1122
|
+
* @param {number} page Page number (1-indexed)
|
|
1123
|
+
* @param {number} limit Page size
|
|
1124
|
+
* @param {string | null} [uuid] Filter by player UUID
|
|
1125
|
+
* @param {string | null} [username] Filter by player username (case-insensitive substring match)
|
|
1126
|
+
* @param {string | null} [ipAddress] Filter by IP address
|
|
1127
|
+
* @param {Array<string> | null} [type] Filter by punishment type (BAN, MUTE, KICK, WARNING). Repeatable.
|
|
1128
|
+
* @param {number | null} [issuedAfter] Filter punishments issued after this epoch timestamp (ms)
|
|
1129
|
+
* @param {number | null} [issuedBefore] Filter punishments issued before this epoch timestamp (ms)
|
|
1130
|
+
* @param {*} [options] Override http request option.
|
|
1131
|
+
* @throws {RequiredError}
|
|
1132
|
+
*/
|
|
1133
|
+
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>>;
|
|
1134
|
+
};
|
|
1135
|
+
/**
|
|
1136
|
+
* AdminPunishmentsApi - factory interface
|
|
1137
|
+
*/
|
|
1138
|
+
export declare const AdminPunishmentsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
1139
|
+
/**
|
|
1140
|
+
* Returns a paginated list of punishments with optional filtering by player UUID, username, IP address, type, and date range.
|
|
1141
|
+
* @summary List punishments
|
|
1142
|
+
* @param {number} page Page number (1-indexed)
|
|
1143
|
+
* @param {number} limit Page size
|
|
1144
|
+
* @param {string | null} [uuid] Filter by player UUID
|
|
1145
|
+
* @param {string | null} [username] Filter by player username (case-insensitive substring match)
|
|
1146
|
+
* @param {string | null} [ipAddress] Filter by IP address
|
|
1147
|
+
* @param {Array<string> | null} [type] Filter by punishment type (BAN, MUTE, KICK, WARNING). Repeatable.
|
|
1148
|
+
* @param {number | null} [issuedAfter] Filter punishments issued after this epoch timestamp (ms)
|
|
1149
|
+
* @param {number | null} [issuedBefore] Filter punishments issued before this epoch timestamp (ms)
|
|
1150
|
+
* @param {*} [options] Override http request option.
|
|
1151
|
+
* @throws {RequiredError}
|
|
1152
|
+
*/
|
|
1153
|
+
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>;
|
|
1154
|
+
};
|
|
1155
|
+
/**
|
|
1156
|
+
* AdminPunishmentsApi - object-oriented interface
|
|
1157
|
+
*/
|
|
1158
|
+
export declare class AdminPunishmentsApi extends BaseAPI {
|
|
1159
|
+
/**
|
|
1160
|
+
* Returns a paginated list of punishments with optional filtering by player UUID, username, IP address, type, and date range.
|
|
1161
|
+
* @summary List punishments
|
|
1162
|
+
* @param {number} page Page number (1-indexed)
|
|
1163
|
+
* @param {number} limit Page size
|
|
1164
|
+
* @param {string | null} [uuid] Filter by player UUID
|
|
1165
|
+
* @param {string | null} [username] Filter by player username (case-insensitive substring match)
|
|
1166
|
+
* @param {string | null} [ipAddress] Filter by IP address
|
|
1167
|
+
* @param {Array<string> | null} [type] Filter by punishment type (BAN, MUTE, KICK, WARNING). Repeatable.
|
|
1168
|
+
* @param {number | null} [issuedAfter] Filter punishments issued after this epoch timestamp (ms)
|
|
1169
|
+
* @param {number | null} [issuedBefore] Filter punishments issued before this epoch timestamp (ms)
|
|
1170
|
+
* @param {*} [options] Override http request option.
|
|
1171
|
+
* @throws {RequiredError}
|
|
1172
|
+
*/
|
|
1173
|
+
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, {}>>;
|
|
1174
|
+
}
|
|
781
1175
|
/**
|
|
782
1176
|
* ConnectionApi - axios parameter creator
|
|
783
1177
|
*/
|
|
@@ -838,6 +1232,82 @@ export declare class ConnectionApi extends BaseAPI {
|
|
|
838
1232
|
*/
|
|
839
1233
|
getConnectionDetails(ip: string, forceRecheck: boolean, associateUuid?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ConnectionGetConnectionDetailsResponse, any, {}>>;
|
|
840
1234
|
}
|
|
1235
|
+
/**
|
|
1236
|
+
* DefaultApi - axios parameter creator
|
|
1237
|
+
*/
|
|
1238
|
+
export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
1239
|
+
/**
|
|
1240
|
+
*
|
|
1241
|
+
* @param {string | null} [code]
|
|
1242
|
+
* @param {string | null} [error]
|
|
1243
|
+
* @param {*} [options] Override http request option.
|
|
1244
|
+
* @throws {RequiredError}
|
|
1245
|
+
*/
|
|
1246
|
+
callback: (code?: string | null, error?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1247
|
+
/**
|
|
1248
|
+
*
|
|
1249
|
+
* @param {*} [options] Override http request option.
|
|
1250
|
+
* @throws {RequiredError}
|
|
1251
|
+
*/
|
|
1252
|
+
initiateLogin: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1253
|
+
};
|
|
1254
|
+
/**
|
|
1255
|
+
* DefaultApi - functional programming interface
|
|
1256
|
+
*/
|
|
1257
|
+
export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
1258
|
+
/**
|
|
1259
|
+
*
|
|
1260
|
+
* @param {string | null} [code]
|
|
1261
|
+
* @param {string | null} [error]
|
|
1262
|
+
* @param {*} [options] Override http request option.
|
|
1263
|
+
* @throws {RequiredError}
|
|
1264
|
+
*/
|
|
1265
|
+
callback(code?: string | null, error?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
1266
|
+
/**
|
|
1267
|
+
*
|
|
1268
|
+
* @param {*} [options] Override http request option.
|
|
1269
|
+
* @throws {RequiredError}
|
|
1270
|
+
*/
|
|
1271
|
+
initiateLogin(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
1272
|
+
};
|
|
1273
|
+
/**
|
|
1274
|
+
* DefaultApi - factory interface
|
|
1275
|
+
*/
|
|
1276
|
+
export declare const DefaultApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
1277
|
+
/**
|
|
1278
|
+
*
|
|
1279
|
+
* @param {string | null} [code]
|
|
1280
|
+
* @param {string | null} [error]
|
|
1281
|
+
* @param {*} [options] Override http request option.
|
|
1282
|
+
* @throws {RequiredError}
|
|
1283
|
+
*/
|
|
1284
|
+
callback(code?: string | null, error?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
1285
|
+
/**
|
|
1286
|
+
*
|
|
1287
|
+
* @param {*} [options] Override http request option.
|
|
1288
|
+
* @throws {RequiredError}
|
|
1289
|
+
*/
|
|
1290
|
+
initiateLogin(options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
1291
|
+
};
|
|
1292
|
+
/**
|
|
1293
|
+
* DefaultApi - object-oriented interface
|
|
1294
|
+
*/
|
|
1295
|
+
export declare class DefaultApi extends BaseAPI {
|
|
1296
|
+
/**
|
|
1297
|
+
*
|
|
1298
|
+
* @param {string | null} [code]
|
|
1299
|
+
* @param {string | null} [error]
|
|
1300
|
+
* @param {*} [options] Override http request option.
|
|
1301
|
+
* @throws {RequiredError}
|
|
1302
|
+
*/
|
|
1303
|
+
callback(code?: string | null, error?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
|
|
1304
|
+
/**
|
|
1305
|
+
*
|
|
1306
|
+
* @param {*} [options] Override http request option.
|
|
1307
|
+
* @throws {RequiredError}
|
|
1308
|
+
*/
|
|
1309
|
+
initiateLogin(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
|
|
1310
|
+
}
|
|
841
1311
|
/**
|
|
842
1312
|
* PlayerApi - axios parameter creator
|
|
843
1313
|
*/
|
|
@@ -849,7 +1319,7 @@ export declare const PlayerApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
849
1319
|
* @param {*} [options] Override http request option.
|
|
850
1320
|
* @throws {RequiredError}
|
|
851
1321
|
*/
|
|
852
|
-
|
|
1322
|
+
getPlayer1: (uuid: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
853
1323
|
};
|
|
854
1324
|
/**
|
|
855
1325
|
* PlayerApi - functional programming interface
|
|
@@ -862,7 +1332,7 @@ export declare const PlayerApiFp: (configuration?: Configuration) => {
|
|
|
862
1332
|
* @param {*} [options] Override http request option.
|
|
863
1333
|
* @throws {RequiredError}
|
|
864
1334
|
*/
|
|
865
|
-
|
|
1335
|
+
getPlayer1(uuid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlayerGetPlayerInformation>>;
|
|
866
1336
|
};
|
|
867
1337
|
/**
|
|
868
1338
|
* PlayerApi - factory interface
|
|
@@ -875,7 +1345,7 @@ export declare const PlayerApiFactory: (configuration?: Configuration, basePath?
|
|
|
875
1345
|
* @param {*} [options] Override http request option.
|
|
876
1346
|
* @throws {RequiredError}
|
|
877
1347
|
*/
|
|
878
|
-
|
|
1348
|
+
getPlayer1(uuid: string, options?: RawAxiosRequestConfig): AxiosPromise<PlayerGetPlayerInformation>;
|
|
879
1349
|
};
|
|
880
1350
|
/**
|
|
881
1351
|
* PlayerApi - object-oriented interface
|
|
@@ -888,7 +1358,7 @@ export declare class PlayerApi extends BaseAPI {
|
|
|
888
1358
|
* @param {*} [options] Override http request option.
|
|
889
1359
|
* @throws {RequiredError}
|
|
890
1360
|
*/
|
|
891
|
-
|
|
1361
|
+
getPlayer1(uuid: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PlayerGetPlayerInformation, any, {}>>;
|
|
892
1362
|
}
|
|
893
1363
|
/**
|
|
894
1364
|
* PunishmentApi - axios parameter creator
|
|
@@ -927,7 +1397,7 @@ export declare const PunishmentApiAxiosParamCreator: (configuration?: Configurat
|
|
|
927
1397
|
* @param {*} [options] Override http request option.
|
|
928
1398
|
* @throws {RequiredError}
|
|
929
1399
|
*/
|
|
930
|
-
|
|
1400
|
+
getPunishments1: (uuid?: string | null, username?: string | null, type?: Array<string> | null, since?: number | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
931
1401
|
/**
|
|
932
1402
|
* Retrieve all active punishments associated with an IP address
|
|
933
1403
|
* @summary Get punishments by IP address
|
|
@@ -990,7 +1460,7 @@ export declare const PunishmentApiFp: (configuration?: Configuration) => {
|
|
|
990
1460
|
* @param {*} [options] Override http request option.
|
|
991
1461
|
* @throws {RequiredError}
|
|
992
1462
|
*/
|
|
993
|
-
|
|
1463
|
+
getPunishments1(uuid?: string | null, username?: string | null, type?: Array<string> | null, since?: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PunishmentGetPunishmentResponse>>>;
|
|
994
1464
|
/**
|
|
995
1465
|
* Retrieve all active punishments associated with an IP address
|
|
996
1466
|
* @summary Get punishments by IP address
|
|
@@ -1053,7 +1523,7 @@ export declare const PunishmentApiFactory: (configuration?: Configuration, baseP
|
|
|
1053
1523
|
* @param {*} [options] Override http request option.
|
|
1054
1524
|
* @throws {RequiredError}
|
|
1055
1525
|
*/
|
|
1056
|
-
|
|
1526
|
+
getPunishments1(uuid?: string | null, username?: string | null, type?: Array<string> | null, since?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<Array<PunishmentGetPunishmentResponse>>;
|
|
1057
1527
|
/**
|
|
1058
1528
|
* Retrieve all active punishments associated with an IP address
|
|
1059
1529
|
* @summary Get punishments by IP address
|
|
@@ -1116,7 +1586,7 @@ export declare class PunishmentApi extends BaseAPI {
|
|
|
1116
1586
|
* @param {*} [options] Override http request option.
|
|
1117
1587
|
* @throws {RequiredError}
|
|
1118
1588
|
*/
|
|
1119
|
-
|
|
1589
|
+
getPunishments1(uuid?: string | null, username?: string | null, type?: Array<string> | null, since?: number | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PunishmentGetPunishmentResponse[], any, {}>>;
|
|
1120
1590
|
/**
|
|
1121
1591
|
* Retrieve all active punishments associated with an IP address
|
|
1122
1592
|
* @summary Get punishments by IP address
|