@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/api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Reborn API
|
|
6
6
|
* 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
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 3.0.1
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -707,6 +707,43 @@ const AdminConnectionsApiAxiosParamCreator = function (configuration) {
|
|
|
707
707
|
options: localVarRequestOptions,
|
|
708
708
|
};
|
|
709
709
|
}),
|
|
710
|
+
/**
|
|
711
|
+
* 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.
|
|
712
|
+
* @summary Refresh a single VPN check
|
|
713
|
+
* @param {number} connectionId
|
|
714
|
+
* @param {string} service
|
|
715
|
+
* @param {*} [options] Override http request option.
|
|
716
|
+
* @throws {RequiredError}
|
|
717
|
+
*/
|
|
718
|
+
recheckService: (connectionId_1, service_1, ...args_1) => __awaiter(this, [connectionId_1, service_1, ...args_1], void 0, function* (connectionId, service, options = {}) {
|
|
719
|
+
// verify required parameter 'connectionId' is not null or undefined
|
|
720
|
+
(0, common_1.assertParamExists)('recheckService', 'connectionId', connectionId);
|
|
721
|
+
// verify required parameter 'service' is not null or undefined
|
|
722
|
+
(0, common_1.assertParamExists)('recheckService', 'service', service);
|
|
723
|
+
const localVarPath = `/admin/connection/{connectionId}/recheck/{service}`
|
|
724
|
+
.replace(`{${"connectionId"}}`, encodeURIComponent(String(connectionId)))
|
|
725
|
+
.replace(`{${"service"}}`, encodeURIComponent(String(service)));
|
|
726
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
727
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
728
|
+
let baseOptions;
|
|
729
|
+
if (configuration) {
|
|
730
|
+
baseOptions = configuration.baseOptions;
|
|
731
|
+
}
|
|
732
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
733
|
+
const localVarHeaderParameter = {};
|
|
734
|
+
const localVarQueryParameter = {};
|
|
735
|
+
// authentication DiscordAuth required
|
|
736
|
+
// http bearer authentication required
|
|
737
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
738
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
739
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
740
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
741
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
742
|
+
return {
|
|
743
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
744
|
+
options: localVarRequestOptions,
|
|
745
|
+
};
|
|
746
|
+
}),
|
|
710
747
|
};
|
|
711
748
|
};
|
|
712
749
|
exports.AdminConnectionsApiAxiosParamCreator = AdminConnectionsApiAxiosParamCreator;
|
|
@@ -774,6 +811,23 @@ const AdminConnectionsApiFp = function (configuration) {
|
|
|
774
811
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
775
812
|
});
|
|
776
813
|
},
|
|
814
|
+
/**
|
|
815
|
+
* 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.
|
|
816
|
+
* @summary Refresh a single VPN check
|
|
817
|
+
* @param {number} connectionId
|
|
818
|
+
* @param {string} service
|
|
819
|
+
* @param {*} [options] Override http request option.
|
|
820
|
+
* @throws {RequiredError}
|
|
821
|
+
*/
|
|
822
|
+
recheckService(connectionId, service, options) {
|
|
823
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
824
|
+
var _a, _b, _c;
|
|
825
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.recheckService(connectionId, service, options);
|
|
826
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
827
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AdminConnectionsApi.recheckService']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
828
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
829
|
+
});
|
|
830
|
+
},
|
|
777
831
|
};
|
|
778
832
|
};
|
|
779
833
|
exports.AdminConnectionsApiFp = AdminConnectionsApiFp;
|
|
@@ -823,6 +877,17 @@ const AdminConnectionsApiFactory = function (configuration, basePath, axios) {
|
|
|
823
877
|
listConnections(createdAfter, createdBefore, ipAddress, uuid, isVpn, page, limit, options) {
|
|
824
878
|
return localVarFp.listConnections(createdAfter, createdBefore, ipAddress, uuid, isVpn, page, limit, options).then((request) => request(axios, basePath));
|
|
825
879
|
},
|
|
880
|
+
/**
|
|
881
|
+
* 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.
|
|
882
|
+
* @summary Refresh a single VPN check
|
|
883
|
+
* @param {number} connectionId
|
|
884
|
+
* @param {string} service
|
|
885
|
+
* @param {*} [options] Override http request option.
|
|
886
|
+
* @throws {RequiredError}
|
|
887
|
+
*/
|
|
888
|
+
recheckService(connectionId, service, options) {
|
|
889
|
+
return localVarFp.recheckService(connectionId, service, options).then((request) => request(axios, basePath));
|
|
890
|
+
},
|
|
826
891
|
};
|
|
827
892
|
};
|
|
828
893
|
exports.AdminConnectionsApiFactory = AdminConnectionsApiFactory;
|
|
@@ -870,6 +935,17 @@ class AdminConnectionsApi extends base_1.BaseAPI {
|
|
|
870
935
|
listConnections(createdAfter, createdBefore, ipAddress, uuid, isVpn, page, limit, options) {
|
|
871
936
|
return (0, exports.AdminConnectionsApiFp)(this.configuration).listConnections(createdAfter, createdBefore, ipAddress, uuid, isVpn, page, limit, options).then((request) => request(this.axios, this.basePath));
|
|
872
937
|
}
|
|
938
|
+
/**
|
|
939
|
+
* 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.
|
|
940
|
+
* @summary Refresh a single VPN check
|
|
941
|
+
* @param {number} connectionId
|
|
942
|
+
* @param {string} service
|
|
943
|
+
* @param {*} [options] Override http request option.
|
|
944
|
+
* @throws {RequiredError}
|
|
945
|
+
*/
|
|
946
|
+
recheckService(connectionId, service, options) {
|
|
947
|
+
return (0, exports.AdminConnectionsApiFp)(this.configuration).recheckService(connectionId, service, options).then((request) => request(this.axios, this.basePath));
|
|
948
|
+
}
|
|
873
949
|
}
|
|
874
950
|
exports.AdminConnectionsApi = AdminConnectionsApi;
|
|
875
951
|
/**
|
|
@@ -1160,7 +1236,7 @@ exports.AdminPlayersApi = AdminPlayersApi;
|
|
|
1160
1236
|
const AdminPunishmentsApiAxiosParamCreator = function (configuration) {
|
|
1161
1237
|
return {
|
|
1162
1238
|
/**
|
|
1163
|
-
* Apply a punishment to one or more targets.
|
|
1239
|
+
* Apply a punishment to one or more targets. The authenticated user is recorded as the issuer.
|
|
1164
1240
|
* @summary Apply punishment
|
|
1165
1241
|
* @param {AdminApplyPunishmentRequest} adminApplyPunishmentRequest
|
|
1166
1242
|
* @param {*} [options] Override http request option.
|
|
@@ -1194,7 +1270,7 @@ const AdminPunishmentsApiAxiosParamCreator = function (configuration) {
|
|
|
1194
1270
|
};
|
|
1195
1271
|
}),
|
|
1196
1272
|
/**
|
|
1197
|
-
* Preview the impact of a punishment across one or more targets.
|
|
1273
|
+
* Preview the impact of a punishment across one or more targets. No changes are made.
|
|
1198
1274
|
* @summary Evaluate punishment impact
|
|
1199
1275
|
* @param {AdminCreatePunishmentDraftRequest} adminCreatePunishmentDraftRequest
|
|
1200
1276
|
* @param {*} [options] Override http request option.
|
|
@@ -1293,7 +1369,7 @@ const AdminPunishmentsApiAxiosParamCreator = function (configuration) {
|
|
|
1293
1369
|
};
|
|
1294
1370
|
}),
|
|
1295
1371
|
/**
|
|
1296
|
-
* Search for players by UUID or username, or look up all players associated with an IP address.
|
|
1372
|
+
* Search for players by UUID or username, or look up all players associated with an IP address.
|
|
1297
1373
|
* @summary Search punishment targets
|
|
1298
1374
|
* @param {string} q UUID, username, or partial/full IP address to search for
|
|
1299
1375
|
* @param {*} [options] Override http request option.
|
|
@@ -1337,7 +1413,7 @@ const AdminPunishmentsApiFp = function (configuration) {
|
|
|
1337
1413
|
const localVarAxiosParamCreator = (0, exports.AdminPunishmentsApiAxiosParamCreator)(configuration);
|
|
1338
1414
|
return {
|
|
1339
1415
|
/**
|
|
1340
|
-
* Apply a punishment to one or more targets.
|
|
1416
|
+
* Apply a punishment to one or more targets. The authenticated user is recorded as the issuer.
|
|
1341
1417
|
* @summary Apply punishment
|
|
1342
1418
|
* @param {AdminApplyPunishmentRequest} adminApplyPunishmentRequest
|
|
1343
1419
|
* @param {*} [options] Override http request option.
|
|
@@ -1353,7 +1429,7 @@ const AdminPunishmentsApiFp = function (configuration) {
|
|
|
1353
1429
|
});
|
|
1354
1430
|
},
|
|
1355
1431
|
/**
|
|
1356
|
-
* Preview the impact of a punishment across one or more targets.
|
|
1432
|
+
* Preview the impact of a punishment across one or more targets. No changes are made.
|
|
1357
1433
|
* @summary Evaluate punishment impact
|
|
1358
1434
|
* @param {AdminCreatePunishmentDraftRequest} adminCreatePunishmentDraftRequest
|
|
1359
1435
|
* @param {*} [options] Override http request option.
|
|
@@ -1392,7 +1468,7 @@ const AdminPunishmentsApiFp = function (configuration) {
|
|
|
1392
1468
|
});
|
|
1393
1469
|
},
|
|
1394
1470
|
/**
|
|
1395
|
-
* Search for players by UUID or username, or look up all players associated with an IP address.
|
|
1471
|
+
* Search for players by UUID or username, or look up all players associated with an IP address.
|
|
1396
1472
|
* @summary Search punishment targets
|
|
1397
1473
|
* @param {string} q UUID, username, or partial/full IP address to search for
|
|
1398
1474
|
* @param {*} [options] Override http request option.
|
|
@@ -1417,7 +1493,7 @@ const AdminPunishmentsApiFactory = function (configuration, basePath, axios) {
|
|
|
1417
1493
|
const localVarFp = (0, exports.AdminPunishmentsApiFp)(configuration);
|
|
1418
1494
|
return {
|
|
1419
1495
|
/**
|
|
1420
|
-
* Apply a punishment to one or more targets.
|
|
1496
|
+
* Apply a punishment to one or more targets. The authenticated user is recorded as the issuer.
|
|
1421
1497
|
* @summary Apply punishment
|
|
1422
1498
|
* @param {AdminApplyPunishmentRequest} adminApplyPunishmentRequest
|
|
1423
1499
|
* @param {*} [options] Override http request option.
|
|
@@ -1427,7 +1503,7 @@ const AdminPunishmentsApiFactory = function (configuration, basePath, axios) {
|
|
|
1427
1503
|
return localVarFp.applyPunishment(adminApplyPunishmentRequest, options).then((request) => request(axios, basePath));
|
|
1428
1504
|
},
|
|
1429
1505
|
/**
|
|
1430
|
-
* Preview the impact of a punishment across one or more targets.
|
|
1506
|
+
* Preview the impact of a punishment across one or more targets. No changes are made.
|
|
1431
1507
|
* @summary Evaluate punishment impact
|
|
1432
1508
|
* @param {AdminCreatePunishmentDraftRequest} adminCreatePunishmentDraftRequest
|
|
1433
1509
|
* @param {*} [options] Override http request option.
|
|
@@ -1454,7 +1530,7 @@ const AdminPunishmentsApiFactory = function (configuration, basePath, axios) {
|
|
|
1454
1530
|
return localVarFp.getPunishments(page, limit, uuid, username, ipAddress, type, issuedAfter, issuedBefore, options).then((request) => request(axios, basePath));
|
|
1455
1531
|
},
|
|
1456
1532
|
/**
|
|
1457
|
-
* Search for players by UUID or username, or look up all players associated with an IP address.
|
|
1533
|
+
* Search for players by UUID or username, or look up all players associated with an IP address.
|
|
1458
1534
|
* @summary Search punishment targets
|
|
1459
1535
|
* @param {string} q UUID, username, or partial/full IP address to search for
|
|
1460
1536
|
* @param {*} [options] Override http request option.
|
|
@@ -1471,7 +1547,7 @@ exports.AdminPunishmentsApiFactory = AdminPunishmentsApiFactory;
|
|
|
1471
1547
|
*/
|
|
1472
1548
|
class AdminPunishmentsApi extends base_1.BaseAPI {
|
|
1473
1549
|
/**
|
|
1474
|
-
* Apply a punishment to one or more targets.
|
|
1550
|
+
* Apply a punishment to one or more targets. The authenticated user is recorded as the issuer.
|
|
1475
1551
|
* @summary Apply punishment
|
|
1476
1552
|
* @param {AdminApplyPunishmentRequest} adminApplyPunishmentRequest
|
|
1477
1553
|
* @param {*} [options] Override http request option.
|
|
@@ -1481,7 +1557,7 @@ class AdminPunishmentsApi extends base_1.BaseAPI {
|
|
|
1481
1557
|
return (0, exports.AdminPunishmentsApiFp)(this.configuration).applyPunishment(adminApplyPunishmentRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1482
1558
|
}
|
|
1483
1559
|
/**
|
|
1484
|
-
* Preview the impact of a punishment across one or more targets.
|
|
1560
|
+
* Preview the impact of a punishment across one or more targets. No changes are made.
|
|
1485
1561
|
* @summary Evaluate punishment impact
|
|
1486
1562
|
* @param {AdminCreatePunishmentDraftRequest} adminCreatePunishmentDraftRequest
|
|
1487
1563
|
* @param {*} [options] Override http request option.
|
|
@@ -1508,7 +1584,7 @@ class AdminPunishmentsApi extends base_1.BaseAPI {
|
|
|
1508
1584
|
return (0, exports.AdminPunishmentsApiFp)(this.configuration).getPunishments(page, limit, uuid, username, ipAddress, type, issuedAfter, issuedBefore, options).then((request) => request(this.axios, this.basePath));
|
|
1509
1585
|
}
|
|
1510
1586
|
/**
|
|
1511
|
-
* Search for players by UUID or username, or look up all players associated with an IP address.
|
|
1587
|
+
* Search for players by UUID or username, or look up all players associated with an IP address.
|
|
1512
1588
|
* @summary Search punishment targets
|
|
1513
1589
|
* @param {string} q UUID, username, or partial/full IP address to search for
|
|
1514
1590
|
* @param {*} [options] Override http request option.
|
|
@@ -2145,9 +2221,9 @@ exports.ConnectionApi = ConnectionApi;
|
|
|
2145
2221
|
const PlayerApiAxiosParamCreator = function (configuration) {
|
|
2146
2222
|
return {
|
|
2147
2223
|
/**
|
|
2148
|
-
* Retrieves player information by
|
|
2224
|
+
* Retrieves player information by Minecraft UUID including first join status and login timestamp.
|
|
2149
2225
|
* @summary Get player information
|
|
2150
|
-
* @param {string} uuid
|
|
2226
|
+
* @param {string} uuid
|
|
2151
2227
|
* @param {*} [options] Override http request option.
|
|
2152
2228
|
* @throws {RequiredError}
|
|
2153
2229
|
*/
|
|
@@ -2178,9 +2254,9 @@ const PlayerApiAxiosParamCreator = function (configuration) {
|
|
|
2178
2254
|
};
|
|
2179
2255
|
}),
|
|
2180
2256
|
/**
|
|
2181
|
-
* 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
|
|
2257
|
+
* 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.
|
|
2182
2258
|
* @summary Batch resolve UUIDs to usernames
|
|
2183
|
-
* @param {Array<string>} uuids List of player UUIDs to resolve
|
|
2259
|
+
* @param {Array<string>} uuids List of player UUIDs to resolve
|
|
2184
2260
|
* @param {*} [options] Override http request option.
|
|
2185
2261
|
* @throws {RequiredError}
|
|
2186
2262
|
*/
|
|
@@ -2222,9 +2298,9 @@ const PlayerApiFp = function (configuration) {
|
|
|
2222
2298
|
const localVarAxiosParamCreator = (0, exports.PlayerApiAxiosParamCreator)(configuration);
|
|
2223
2299
|
return {
|
|
2224
2300
|
/**
|
|
2225
|
-
* Retrieves player information by
|
|
2301
|
+
* Retrieves player information by Minecraft UUID including first join status and login timestamp.
|
|
2226
2302
|
* @summary Get player information
|
|
2227
|
-
* @param {string} uuid
|
|
2303
|
+
* @param {string} uuid
|
|
2228
2304
|
* @param {*} [options] Override http request option.
|
|
2229
2305
|
* @throws {RequiredError}
|
|
2230
2306
|
*/
|
|
@@ -2238,9 +2314,9 @@ const PlayerApiFp = function (configuration) {
|
|
|
2238
2314
|
});
|
|
2239
2315
|
},
|
|
2240
2316
|
/**
|
|
2241
|
-
* 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
|
|
2317
|
+
* 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.
|
|
2242
2318
|
* @summary Batch resolve UUIDs to usernames
|
|
2243
|
-
* @param {Array<string>} uuids List of player UUIDs to resolve
|
|
2319
|
+
* @param {Array<string>} uuids List of player UUIDs to resolve
|
|
2244
2320
|
* @param {*} [options] Override http request option.
|
|
2245
2321
|
* @throws {RequiredError}
|
|
2246
2322
|
*/
|
|
@@ -2263,9 +2339,9 @@ const PlayerApiFactory = function (configuration, basePath, axios) {
|
|
|
2263
2339
|
const localVarFp = (0, exports.PlayerApiFp)(configuration);
|
|
2264
2340
|
return {
|
|
2265
2341
|
/**
|
|
2266
|
-
* Retrieves player information by
|
|
2342
|
+
* Retrieves player information by Minecraft UUID including first join status and login timestamp.
|
|
2267
2343
|
* @summary Get player information
|
|
2268
|
-
* @param {string} uuid
|
|
2344
|
+
* @param {string} uuid
|
|
2269
2345
|
* @param {*} [options] Override http request option.
|
|
2270
2346
|
* @throws {RequiredError}
|
|
2271
2347
|
*/
|
|
@@ -2273,9 +2349,9 @@ const PlayerApiFactory = function (configuration, basePath, axios) {
|
|
|
2273
2349
|
return localVarFp.getPlayer1(uuid, options).then((request) => request(axios, basePath));
|
|
2274
2350
|
},
|
|
2275
2351
|
/**
|
|
2276
|
-
* 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
|
|
2352
|
+
* 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.
|
|
2277
2353
|
* @summary Batch resolve UUIDs to usernames
|
|
2278
|
-
* @param {Array<string>} uuids List of player UUIDs to resolve
|
|
2354
|
+
* @param {Array<string>} uuids List of player UUIDs to resolve
|
|
2279
2355
|
* @param {*} [options] Override http request option.
|
|
2280
2356
|
* @throws {RequiredError}
|
|
2281
2357
|
*/
|
|
@@ -2290,9 +2366,9 @@ exports.PlayerApiFactory = PlayerApiFactory;
|
|
|
2290
2366
|
*/
|
|
2291
2367
|
class PlayerApi extends base_1.BaseAPI {
|
|
2292
2368
|
/**
|
|
2293
|
-
* Retrieves player information by
|
|
2369
|
+
* Retrieves player information by Minecraft UUID including first join status and login timestamp.
|
|
2294
2370
|
* @summary Get player information
|
|
2295
|
-
* @param {string} uuid
|
|
2371
|
+
* @param {string} uuid
|
|
2296
2372
|
* @param {*} [options] Override http request option.
|
|
2297
2373
|
* @throws {RequiredError}
|
|
2298
2374
|
*/
|
|
@@ -2300,9 +2376,9 @@ class PlayerApi extends base_1.BaseAPI {
|
|
|
2300
2376
|
return (0, exports.PlayerApiFp)(this.configuration).getPlayer1(uuid, options).then((request) => request(this.axios, this.basePath));
|
|
2301
2377
|
}
|
|
2302
2378
|
/**
|
|
2303
|
-
* 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
|
|
2379
|
+
* 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.
|
|
2304
2380
|
* @summary Batch resolve UUIDs to usernames
|
|
2305
|
-
* @param {Array<string>} uuids List of player UUIDs to resolve
|
|
2381
|
+
* @param {Array<string>} uuids List of player UUIDs to resolve
|
|
2306
2382
|
* @param {*} [options] Override http request option.
|
|
2307
2383
|
* @throws {RequiredError}
|
|
2308
2384
|
*/
|
package/dist/base.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).
|
package/dist/base.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Reborn API
|
|
6
6
|
* 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
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 3.0.1
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/common.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).
|
package/dist/common.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Reborn API
|
|
6
6
|
* 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
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 3.0.1
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/configuration.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).
|
package/dist/configuration.js
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:
|
|
7
|
+
* The version of the OpenAPI document: 3.0.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|