@rebornteam/reborn-api 2.9.1 → 3.0.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 +148 -41
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +105 -41
- package/dist/api.js +105 -29
- 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 +105 -41
- package/dist/esm/api.js +105 -29
- 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/AdminConnectionCheckResult.md +25 -0
- package/docs/AdminConnectionsApi.md +59 -0
- package/docs/AdminDashboardConnectionResponse.md +2 -0
- package/docs/AdminPunishmentsApi.md +3 -3
- package/docs/ConnectionGetConnectionDetailsResponse.md +9 -7
- package/docs/PlayerApi.md +7 -8
- package/docs/PlayerGetPlayerInformation.md +4 -4
- package/index.ts +1 -1
- package/package.json +1 -1
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:
|
|
5
|
+
* The version of the OpenAPI document: 3.0.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -152,6 +152,23 @@ export interface AdminConnectionBypassResponse {
|
|
|
152
152
|
*/
|
|
153
153
|
'createdAt'?: string;
|
|
154
154
|
}
|
|
155
|
+
/**
|
|
156
|
+
* Result from a single VPN detection service for a given IP address
|
|
157
|
+
*/
|
|
158
|
+
export interface AdminConnectionCheckResult {
|
|
159
|
+
/**
|
|
160
|
+
* Service identifier
|
|
161
|
+
*/
|
|
162
|
+
'service'?: string;
|
|
163
|
+
/**
|
|
164
|
+
* Whether this service flagged the IP as a VPN, proxy, or Tor exit node
|
|
165
|
+
*/
|
|
166
|
+
'result'?: boolean;
|
|
167
|
+
/**
|
|
168
|
+
* When this check was last performed
|
|
169
|
+
*/
|
|
170
|
+
'checkedAt'?: string;
|
|
171
|
+
}
|
|
155
172
|
/**
|
|
156
173
|
* Request to evaluate the impact of a punishment across one or more targets before applying
|
|
157
174
|
*/
|
|
@@ -198,6 +215,10 @@ export interface AdminDashboardConnectionResponse {
|
|
|
198
215
|
'lastSeen'?: string | null;
|
|
199
216
|
'percentPositive': number;
|
|
200
217
|
'numberOfChecks': number;
|
|
218
|
+
/**
|
|
219
|
+
* Results from each VPN detection service for this IP address
|
|
220
|
+
*/
|
|
221
|
+
'results'?: Array<AdminConnectionCheckResult>;
|
|
201
222
|
}
|
|
202
223
|
export interface AdminGetDashboardStats {
|
|
203
224
|
'totalPlayers': number;
|
|
@@ -539,24 +560,31 @@ export interface ConnectionGetConnectionDetailsResponse {
|
|
|
539
560
|
*/
|
|
540
561
|
'ipAddress'?: string;
|
|
541
562
|
/**
|
|
542
|
-
* Approximate geographic location of the IP address
|
|
563
|
+
* Approximate geographic location of the IP address. Returns \'Local, N/A\' for localhost or private IPs.
|
|
543
564
|
*/
|
|
544
565
|
'approximateLocation'?: string;
|
|
545
566
|
/**
|
|
546
|
-
* 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).
|
|
567
|
+
* 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).
|
|
547
568
|
*/
|
|
548
569
|
'percentPositive'?: number;
|
|
549
570
|
/**
|
|
550
|
-
* Total number of VPN detection services successfully queried during the last check.
|
|
571
|
+
* Total number of VPN detection services successfully queried during the last check.
|
|
551
572
|
*/
|
|
552
573
|
'numberOfChecks'?: number;
|
|
553
|
-
'bypassed'?: boolean;
|
|
554
574
|
/**
|
|
555
|
-
*
|
|
575
|
+
* Indicates if this IP address has been administratively bypassed.
|
|
576
|
+
*/
|
|
577
|
+
'isBypassed'?: boolean;
|
|
578
|
+
/**
|
|
579
|
+
* Expiration timestamp for the bypass (ISO-8601 format). Null if not bypassed or bypass is permanent.
|
|
556
580
|
*/
|
|
557
581
|
'bypassedUntil'?: string | null;
|
|
558
582
|
/**
|
|
559
|
-
*
|
|
583
|
+
* Results from each VPN detection service that checked this IP address
|
|
584
|
+
*/
|
|
585
|
+
'results'?: Array<AdminConnectionCheckResult>;
|
|
586
|
+
/**
|
|
587
|
+
* Player information associated with this connection. Only populated when \'associate_uuid\' query parameter is provided.
|
|
560
588
|
*/
|
|
561
589
|
'playerInformation'?: PlayerGetPlayerInformation | null;
|
|
562
590
|
/**
|
|
@@ -582,19 +610,19 @@ export interface CreateBypassRequest {
|
|
|
582
610
|
*/
|
|
583
611
|
export interface PlayerGetPlayerInformation {
|
|
584
612
|
/**
|
|
585
|
-
*
|
|
613
|
+
* Indicates whether this is the player\'s first time joining the server.
|
|
586
614
|
*/
|
|
587
|
-
'
|
|
615
|
+
'firstJoin'?: boolean;
|
|
588
616
|
/**
|
|
589
|
-
*
|
|
617
|
+
* Timestamp of when the player first connected to the server (ISO-8601 format).
|
|
590
618
|
*/
|
|
591
|
-
'
|
|
619
|
+
'firstLogin'?: string;
|
|
592
620
|
/**
|
|
593
|
-
* Raw punishment score calculated as: SUM((base_weight × severity/10))
|
|
621
|
+
* Raw punishment score calculated as: SUM((base_weight × severity/10)). Used for tracking overall punishment severity.
|
|
594
622
|
*/
|
|
595
623
|
'punishmentPointsRaw'?: number;
|
|
596
624
|
/**
|
|
597
|
-
* Punishment score as a percentage (0-100). When
|
|
625
|
+
* Punishment score as a percentage (0-100). When >100% before applying a new punishment, the new punishment should be made permanent.
|
|
598
626
|
*/
|
|
599
627
|
'punishmentPointsPercent'?: number;
|
|
600
628
|
}
|
|
@@ -1000,6 +1028,15 @@ export declare const AdminConnectionsApiAxiosParamCreator: (configuration?: Conf
|
|
|
1000
1028
|
* @throws {RequiredError}
|
|
1001
1029
|
*/
|
|
1002
1030
|
listConnections: (createdAfter?: number | null, createdBefore?: number | null, ipAddress?: string | null, uuid?: string | null, isVpn?: boolean | null, page?: number | null, limit?: number | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1031
|
+
/**
|
|
1032
|
+
* Re-runs one named VPN detection service for a specific connection, persists the updated result, and recalculates the connection\'s overall `percentPositive` and `numberOfChecks` from all stored checks. Returns the refreshed check result including its new `checkedAt` timestamp.
|
|
1033
|
+
* @summary Refresh a single VPN check
|
|
1034
|
+
* @param {number} connectionId
|
|
1035
|
+
* @param {string} service
|
|
1036
|
+
* @param {*} [options] Override http request option.
|
|
1037
|
+
* @throws {RequiredError}
|
|
1038
|
+
*/
|
|
1039
|
+
recheckService: (connectionId: number, service: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1003
1040
|
};
|
|
1004
1041
|
/**
|
|
1005
1042
|
* AdminConnectionsApi - functional programming interface
|
|
@@ -1039,6 +1076,15 @@ export declare const AdminConnectionsApiFp: (configuration?: Configuration) => {
|
|
|
1039
1076
|
* @throws {RequiredError}
|
|
1040
1077
|
*/
|
|
1041
1078
|
listConnections(createdAfter?: number | null, createdBefore?: number | null, ipAddress?: string | null, uuid?: string | null, isVpn?: boolean | null, page?: number | null, limit?: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AdminDashboardConnectionResponse>>>;
|
|
1079
|
+
/**
|
|
1080
|
+
* Re-runs one named VPN detection service for a specific connection, persists the updated result, and recalculates the connection\'s overall `percentPositive` and `numberOfChecks` from all stored checks. Returns the refreshed check result including its new `checkedAt` timestamp.
|
|
1081
|
+
* @summary Refresh a single VPN check
|
|
1082
|
+
* @param {number} connectionId
|
|
1083
|
+
* @param {string} service
|
|
1084
|
+
* @param {*} [options] Override http request option.
|
|
1085
|
+
* @throws {RequiredError}
|
|
1086
|
+
*/
|
|
1087
|
+
recheckService(connectionId: number, service: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminConnectionCheckResult>>;
|
|
1042
1088
|
};
|
|
1043
1089
|
/**
|
|
1044
1090
|
* AdminConnectionsApi - factory interface
|
|
@@ -1078,6 +1124,15 @@ export declare const AdminConnectionsApiFactory: (configuration?: Configuration,
|
|
|
1078
1124
|
* @throws {RequiredError}
|
|
1079
1125
|
*/
|
|
1080
1126
|
listConnections(createdAfter?: number | null, createdBefore?: number | null, ipAddress?: string | null, uuid?: string | null, isVpn?: boolean | null, page?: number | null, limit?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<Array<AdminDashboardConnectionResponse>>;
|
|
1127
|
+
/**
|
|
1128
|
+
* Re-runs one named VPN detection service for a specific connection, persists the updated result, and recalculates the connection\'s overall `percentPositive` and `numberOfChecks` from all stored checks. Returns the refreshed check result including its new `checkedAt` timestamp.
|
|
1129
|
+
* @summary Refresh a single VPN check
|
|
1130
|
+
* @param {number} connectionId
|
|
1131
|
+
* @param {string} service
|
|
1132
|
+
* @param {*} [options] Override http request option.
|
|
1133
|
+
* @throws {RequiredError}
|
|
1134
|
+
*/
|
|
1135
|
+
recheckService(connectionId: number, service: string, options?: RawAxiosRequestConfig): AxiosPromise<AdminConnectionCheckResult>;
|
|
1081
1136
|
};
|
|
1082
1137
|
/**
|
|
1083
1138
|
* AdminConnectionsApi - object-oriented interface
|
|
@@ -1117,6 +1172,15 @@ export declare class AdminConnectionsApi extends BaseAPI {
|
|
|
1117
1172
|
* @throws {RequiredError}
|
|
1118
1173
|
*/
|
|
1119
1174
|
listConnections(createdAfter?: number | null, createdBefore?: number | null, ipAddress?: string | null, uuid?: string | null, isVpn?: boolean | null, page?: number | null, limit?: number | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AdminDashboardConnectionResponse[], any, {}>>;
|
|
1175
|
+
/**
|
|
1176
|
+
* Re-runs one named VPN detection service for a specific connection, persists the updated result, and recalculates the connection\'s overall `percentPositive` and `numberOfChecks` from all stored checks. Returns the refreshed check result including its new `checkedAt` timestamp.
|
|
1177
|
+
* @summary Refresh a single VPN check
|
|
1178
|
+
* @param {number} connectionId
|
|
1179
|
+
* @param {string} service
|
|
1180
|
+
* @param {*} [options] Override http request option.
|
|
1181
|
+
* @throws {RequiredError}
|
|
1182
|
+
*/
|
|
1183
|
+
recheckService(connectionId: number, service: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AdminConnectionCheckResult, any, {}>>;
|
|
1120
1184
|
}
|
|
1121
1185
|
/**
|
|
1122
1186
|
* AdminDashboardApi - axios parameter creator
|
|
@@ -1263,7 +1327,7 @@ export declare class AdminPlayersApi extends BaseAPI {
|
|
|
1263
1327
|
*/
|
|
1264
1328
|
export declare const AdminPunishmentsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
1265
1329
|
/**
|
|
1266
|
-
* Apply a punishment to one or more targets.
|
|
1330
|
+
* Apply a punishment to one or more targets. The authenticated user is recorded as the issuer.
|
|
1267
1331
|
* @summary Apply punishment
|
|
1268
1332
|
* @param {AdminApplyPunishmentRequest} adminApplyPunishmentRequest
|
|
1269
1333
|
* @param {*} [options] Override http request option.
|
|
@@ -1271,7 +1335,7 @@ export declare const AdminPunishmentsApiAxiosParamCreator: (configuration?: Conf
|
|
|
1271
1335
|
*/
|
|
1272
1336
|
applyPunishment: (adminApplyPunishmentRequest: AdminApplyPunishmentRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1273
1337
|
/**
|
|
1274
|
-
* Preview the impact of a punishment across one or more targets.
|
|
1338
|
+
* Preview the impact of a punishment across one or more targets. No changes are made.
|
|
1275
1339
|
* @summary Evaluate punishment impact
|
|
1276
1340
|
* @param {AdminCreatePunishmentDraftRequest} adminCreatePunishmentDraftRequest
|
|
1277
1341
|
* @param {*} [options] Override http request option.
|
|
@@ -1294,7 +1358,7 @@ export declare const AdminPunishmentsApiAxiosParamCreator: (configuration?: Conf
|
|
|
1294
1358
|
*/
|
|
1295
1359
|
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>;
|
|
1296
1360
|
/**
|
|
1297
|
-
* Search for players by UUID or username, or look up all players associated with an IP address.
|
|
1361
|
+
* Search for players by UUID or username, or look up all players associated with an IP address.
|
|
1298
1362
|
* @summary Search punishment targets
|
|
1299
1363
|
* @param {string} q UUID, username, or partial/full IP address to search for
|
|
1300
1364
|
* @param {*} [options] Override http request option.
|
|
@@ -1307,7 +1371,7 @@ export declare const AdminPunishmentsApiAxiosParamCreator: (configuration?: Conf
|
|
|
1307
1371
|
*/
|
|
1308
1372
|
export declare const AdminPunishmentsApiFp: (configuration?: Configuration) => {
|
|
1309
1373
|
/**
|
|
1310
|
-
* Apply a punishment to one or more targets.
|
|
1374
|
+
* Apply a punishment to one or more targets. The authenticated user is recorded as the issuer.
|
|
1311
1375
|
* @summary Apply punishment
|
|
1312
1376
|
* @param {AdminApplyPunishmentRequest} adminApplyPunishmentRequest
|
|
1313
1377
|
* @param {*} [options] Override http request option.
|
|
@@ -1315,7 +1379,7 @@ export declare const AdminPunishmentsApiFp: (configuration?: Configuration) => {
|
|
|
1315
1379
|
*/
|
|
1316
1380
|
applyPunishment(adminApplyPunishmentRequest: AdminApplyPunishmentRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminApplyPunishmentResponse>>;
|
|
1317
1381
|
/**
|
|
1318
|
-
* Preview the impact of a punishment across one or more targets.
|
|
1382
|
+
* Preview the impact of a punishment across one or more targets. No changes are made.
|
|
1319
1383
|
* @summary Evaluate punishment impact
|
|
1320
1384
|
* @param {AdminCreatePunishmentDraftRequest} adminCreatePunishmentDraftRequest
|
|
1321
1385
|
* @param {*} [options] Override http request option.
|
|
@@ -1338,7 +1402,7 @@ export declare const AdminPunishmentsApiFp: (configuration?: Configuration) => {
|
|
|
1338
1402
|
*/
|
|
1339
1403
|
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>>;
|
|
1340
1404
|
/**
|
|
1341
|
-
* Search for players by UUID or username, or look up all players associated with an IP address.
|
|
1405
|
+
* Search for players by UUID or username, or look up all players associated with an IP address.
|
|
1342
1406
|
* @summary Search punishment targets
|
|
1343
1407
|
* @param {string} q UUID, username, or partial/full IP address to search for
|
|
1344
1408
|
* @param {*} [options] Override http request option.
|
|
@@ -1351,7 +1415,7 @@ export declare const AdminPunishmentsApiFp: (configuration?: Configuration) => {
|
|
|
1351
1415
|
*/
|
|
1352
1416
|
export declare const AdminPunishmentsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
1353
1417
|
/**
|
|
1354
|
-
* Apply a punishment to one or more targets.
|
|
1418
|
+
* Apply a punishment to one or more targets. The authenticated user is recorded as the issuer.
|
|
1355
1419
|
* @summary Apply punishment
|
|
1356
1420
|
* @param {AdminApplyPunishmentRequest} adminApplyPunishmentRequest
|
|
1357
1421
|
* @param {*} [options] Override http request option.
|
|
@@ -1359,7 +1423,7 @@ export declare const AdminPunishmentsApiFactory: (configuration?: Configuration,
|
|
|
1359
1423
|
*/
|
|
1360
1424
|
applyPunishment(adminApplyPunishmentRequest: AdminApplyPunishmentRequest, options?: RawAxiosRequestConfig): AxiosPromise<AdminApplyPunishmentResponse>;
|
|
1361
1425
|
/**
|
|
1362
|
-
* Preview the impact of a punishment across one or more targets.
|
|
1426
|
+
* Preview the impact of a punishment across one or more targets. No changes are made.
|
|
1363
1427
|
* @summary Evaluate punishment impact
|
|
1364
1428
|
* @param {AdminCreatePunishmentDraftRequest} adminCreatePunishmentDraftRequest
|
|
1365
1429
|
* @param {*} [options] Override http request option.
|
|
@@ -1382,7 +1446,7 @@ export declare const AdminPunishmentsApiFactory: (configuration?: Configuration,
|
|
|
1382
1446
|
*/
|
|
1383
1447
|
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>;
|
|
1384
1448
|
/**
|
|
1385
|
-
* Search for players by UUID or username, or look up all players associated with an IP address.
|
|
1449
|
+
* Search for players by UUID or username, or look up all players associated with an IP address.
|
|
1386
1450
|
* @summary Search punishment targets
|
|
1387
1451
|
* @param {string} q UUID, username, or partial/full IP address to search for
|
|
1388
1452
|
* @param {*} [options] Override http request option.
|
|
@@ -1395,7 +1459,7 @@ export declare const AdminPunishmentsApiFactory: (configuration?: Configuration,
|
|
|
1395
1459
|
*/
|
|
1396
1460
|
export declare class AdminPunishmentsApi extends BaseAPI {
|
|
1397
1461
|
/**
|
|
1398
|
-
* Apply a punishment to one or more targets.
|
|
1462
|
+
* Apply a punishment to one or more targets. The authenticated user is recorded as the issuer.
|
|
1399
1463
|
* @summary Apply punishment
|
|
1400
1464
|
* @param {AdminApplyPunishmentRequest} adminApplyPunishmentRequest
|
|
1401
1465
|
* @param {*} [options] Override http request option.
|
|
@@ -1403,7 +1467,7 @@ export declare class AdminPunishmentsApi extends BaseAPI {
|
|
|
1403
1467
|
*/
|
|
1404
1468
|
applyPunishment(adminApplyPunishmentRequest: AdminApplyPunishmentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AdminApplyPunishmentResponse, any, {}>>;
|
|
1405
1469
|
/**
|
|
1406
|
-
* Preview the impact of a punishment across one or more targets.
|
|
1470
|
+
* Preview the impact of a punishment across one or more targets. No changes are made.
|
|
1407
1471
|
* @summary Evaluate punishment impact
|
|
1408
1472
|
* @param {AdminCreatePunishmentDraftRequest} adminCreatePunishmentDraftRequest
|
|
1409
1473
|
* @param {*} [options] Override http request option.
|
|
@@ -1426,7 +1490,7 @@ export declare class AdminPunishmentsApi extends BaseAPI {
|
|
|
1426
1490
|
*/
|
|
1427
1491
|
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, {}>>;
|
|
1428
1492
|
/**
|
|
1429
|
-
* Search for players by UUID or username, or look up all players associated with an IP address.
|
|
1493
|
+
* Search for players by UUID or username, or look up all players associated with an IP address.
|
|
1430
1494
|
* @summary Search punishment targets
|
|
1431
1495
|
* @param {string} q UUID, username, or partial/full IP address to search for
|
|
1432
1496
|
* @param {*} [options] Override http request option.
|
|
@@ -1743,17 +1807,17 @@ export declare class ConnectionApi extends BaseAPI {
|
|
|
1743
1807
|
*/
|
|
1744
1808
|
export declare const PlayerApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
1745
1809
|
/**
|
|
1746
|
-
* Retrieves player information by
|
|
1810
|
+
* Retrieves player information by Minecraft UUID including first join status and login timestamp.
|
|
1747
1811
|
* @summary Get player information
|
|
1748
|
-
* @param {string} uuid
|
|
1812
|
+
* @param {string} uuid
|
|
1749
1813
|
* @param {*} [options] Override http request option.
|
|
1750
1814
|
* @throws {RequiredError}
|
|
1751
1815
|
*/
|
|
1752
1816
|
getPlayer1: (uuid: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1753
1817
|
/**
|
|
1754
|
-
* Accepts a list of player UUIDs and returns a map of `uuid → username` for those that have a recorded username. UUIDs with no username record
|
|
1818
|
+
* Accepts a list of player UUIDs and returns a map of `uuid → username` for those that have a recorded username. UUIDs with no username record are omitted from the response.
|
|
1755
1819
|
* @summary Batch resolve UUIDs to usernames
|
|
1756
|
-
* @param {Array<string>} uuids List of player UUIDs to resolve
|
|
1820
|
+
* @param {Array<string>} uuids List of player UUIDs to resolve
|
|
1757
1821
|
* @param {*} [options] Override http request option.
|
|
1758
1822
|
* @throws {RequiredError}
|
|
1759
1823
|
*/
|
|
@@ -1764,17 +1828,17 @@ export declare const PlayerApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
1764
1828
|
*/
|
|
1765
1829
|
export declare const PlayerApiFp: (configuration?: Configuration) => {
|
|
1766
1830
|
/**
|
|
1767
|
-
* Retrieves player information by
|
|
1831
|
+
* Retrieves player information by Minecraft UUID including first join status and login timestamp.
|
|
1768
1832
|
* @summary Get player information
|
|
1769
|
-
* @param {string} uuid
|
|
1833
|
+
* @param {string} uuid
|
|
1770
1834
|
* @param {*} [options] Override http request option.
|
|
1771
1835
|
* @throws {RequiredError}
|
|
1772
1836
|
*/
|
|
1773
1837
|
getPlayer1(uuid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlayerGetPlayerInformation>>;
|
|
1774
1838
|
/**
|
|
1775
|
-
* Accepts a list of player UUIDs and returns a map of `uuid → username` for those that have a recorded username. UUIDs with no username record
|
|
1839
|
+
* Accepts a list of player UUIDs and returns a map of `uuid → username` for those that have a recorded username. UUIDs with no username record are omitted from the response.
|
|
1776
1840
|
* @summary Batch resolve UUIDs to usernames
|
|
1777
|
-
* @param {Array<string>} uuids List of player UUIDs to resolve
|
|
1841
|
+
* @param {Array<string>} uuids List of player UUIDs to resolve
|
|
1778
1842
|
* @param {*} [options] Override http request option.
|
|
1779
1843
|
* @throws {RequiredError}
|
|
1780
1844
|
*/
|
|
@@ -1785,17 +1849,17 @@ export declare const PlayerApiFp: (configuration?: Configuration) => {
|
|
|
1785
1849
|
*/
|
|
1786
1850
|
export declare const PlayerApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
1787
1851
|
/**
|
|
1788
|
-
* Retrieves player information by
|
|
1852
|
+
* Retrieves player information by Minecraft UUID including first join status and login timestamp.
|
|
1789
1853
|
* @summary Get player information
|
|
1790
|
-
* @param {string} uuid
|
|
1854
|
+
* @param {string} uuid
|
|
1791
1855
|
* @param {*} [options] Override http request option.
|
|
1792
1856
|
* @throws {RequiredError}
|
|
1793
1857
|
*/
|
|
1794
1858
|
getPlayer1(uuid: string, options?: RawAxiosRequestConfig): AxiosPromise<PlayerGetPlayerInformation>;
|
|
1795
1859
|
/**
|
|
1796
|
-
* Accepts a list of player UUIDs and returns a map of `uuid → username` for those that have a recorded username. UUIDs with no username record
|
|
1860
|
+
* Accepts a list of player UUIDs and returns a map of `uuid → username` for those that have a recorded username. UUIDs with no username record are omitted from the response.
|
|
1797
1861
|
* @summary Batch resolve UUIDs to usernames
|
|
1798
|
-
* @param {Array<string>} uuids List of player UUIDs to resolve
|
|
1862
|
+
* @param {Array<string>} uuids List of player UUIDs to resolve
|
|
1799
1863
|
* @param {*} [options] Override http request option.
|
|
1800
1864
|
* @throws {RequiredError}
|
|
1801
1865
|
*/
|
|
@@ -1806,17 +1870,17 @@ export declare const PlayerApiFactory: (configuration?: Configuration, basePath?
|
|
|
1806
1870
|
*/
|
|
1807
1871
|
export declare class PlayerApi extends BaseAPI {
|
|
1808
1872
|
/**
|
|
1809
|
-
* Retrieves player information by
|
|
1873
|
+
* Retrieves player information by Minecraft UUID including first join status and login timestamp.
|
|
1810
1874
|
* @summary Get player information
|
|
1811
|
-
* @param {string} uuid
|
|
1875
|
+
* @param {string} uuid
|
|
1812
1876
|
* @param {*} [options] Override http request option.
|
|
1813
1877
|
* @throws {RequiredError}
|
|
1814
1878
|
*/
|
|
1815
1879
|
getPlayer1(uuid: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PlayerGetPlayerInformation, any, {}>>;
|
|
1816
1880
|
/**
|
|
1817
|
-
* Accepts a list of player UUIDs and returns a map of `uuid → username` for those that have a recorded username. UUIDs with no username record
|
|
1881
|
+
* Accepts a list of player UUIDs and returns a map of `uuid → username` for those that have a recorded username. UUIDs with no username record are omitted from the response.
|
|
1818
1882
|
* @summary Batch resolve UUIDs to usernames
|
|
1819
|
-
* @param {Array<string>} uuids List of player UUIDs to resolve
|
|
1883
|
+
* @param {Array<string>} uuids List of player UUIDs to resolve
|
|
1820
1884
|
* @param {*} [options] Override http request option.
|
|
1821
1885
|
* @throws {RequiredError}
|
|
1822
1886
|
*/
|