@rebornteam/reborn-api 3.0.1 → 3.2.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 +7 -0
- package/README.md +9 -2
- package/api.ts +230 -149
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +190 -146
- package/dist/api.js +45 -23
- 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 +190 -146
- package/dist/esm/api.js +43 -22
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/AdminApplyPunishmentRequest.md +3 -3
- package/docs/AdminApplyPunishmentResponse.md +1 -1
- package/docs/AdminApplyPunishmentResult.md +6 -6
- package/docs/AdminClientCredentialResponse.md +6 -6
- package/docs/AdminConnectionBypassResponse.md +4 -4
- package/docs/AdminConnectionCheckResult.md +7 -3
- package/docs/AdminCreatePunishmentDraftRequest.md +3 -3
- package/docs/AdminDashboardConnectionResponse.md +2 -2
- package/docs/AdminIpSearchResult.md +2 -2
- package/docs/AdminPagedConnectionResponse.md +5 -5
- package/docs/AdminPagedPlayerResponse.md +5 -5
- package/docs/AdminPagedPunishmentResponse.md +5 -5
- package/docs/AdminPlayerDetailResponse.md +7 -7
- package/docs/AdminPlayerSearchResult.md +1 -1
- package/docs/AdminPlayerSummary.md +6 -6
- package/docs/AdminPunishmentDraftResponse.md +1 -1
- package/docs/AdminPunishmentEvaluation.md +9 -9
- package/docs/AdminPunishmentListItem.md +2 -2
- package/docs/AdminPunishmentSearchResponse.md +3 -3
- package/docs/AdminPunishmentsApi.md +2 -2
- package/docs/AdminUsernameHistoryEntry.md +2 -2
- package/docs/ConnectionGetConnectionDetailsResponse.md +9 -7
- package/docs/ConnectionResult.md +25 -0
- package/docs/ConnectionResultResultCode.md +20 -0
- package/docs/GameType.md +12 -0
- package/docs/PlayerGetPlayerInformation.md +4 -4
- package/docs/PunishmentApi.md +4 -4
- package/docs/PunishmentGetPunishmentResponse.md +6 -6
- package/docs/PunishmentSeveritiesResponse.md +1 -1
- package/docs/PunishmentSeveritiesResponsePunishmentTypeInfo.md +2 -2
- package/docs/PunishmentSeveritiesResponseSeverityInfo.md +2 -2
- package/docs/PunishmentTargetType.md +10 -0
- package/docs/PunishmentType.md +12 -0
- package/docs/Region.md +12 -0
- package/docs/SearchKind.md +11 -0
- package/docs/ServerRegisterRequest.md +2 -2
- package/docs/ServerSessionDTO.md +2 -2
- 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: 3.0
|
|
8
|
+
* The version of the OpenAPI document: 3.2.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -22,32 +22,54 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.
|
|
25
|
+
exports.ServerSessionsApiFactory = exports.ServerSessionsApiFp = exports.ServerSessionsApiAxiosParamCreator = exports.PunishmentApi = exports.PunishmentApiFactory = exports.PunishmentApiFp = exports.PunishmentApiAxiosParamCreator = exports.PlayerApi = exports.PlayerApiFactory = exports.PlayerApiFp = exports.PlayerApiAxiosParamCreator = exports.ConnectionApi = exports.ConnectionApiFactory = exports.ConnectionApiFp = exports.ConnectionApiAxiosParamCreator = exports.ChatApi = exports.ChatApiFactory = exports.ChatApiFp = exports.ChatApiAxiosParamCreator = exports.AuthenticationApi = exports.AuthenticationApiFactory = exports.AuthenticationApiFp = exports.AuthenticationApiAxiosParamCreator = exports.AdminPunishmentsApi = exports.AdminPunishmentsApiFactory = exports.AdminPunishmentsApiFp = exports.AdminPunishmentsApiAxiosParamCreator = exports.AdminPlayersApi = exports.AdminPlayersApiFactory = exports.AdminPlayersApiFp = exports.AdminPlayersApiAxiosParamCreator = exports.AdminDashboardApi = exports.AdminDashboardApiFactory = exports.AdminDashboardApiFp = exports.AdminDashboardApiAxiosParamCreator = exports.AdminConnectionsApi = exports.AdminConnectionsApiFactory = exports.AdminConnectionsApiFp = exports.AdminConnectionsApiAxiosParamCreator = exports.AdminClientCredentialsApi = exports.AdminClientCredentialsApiFactory = exports.AdminClientCredentialsApiFp = exports.AdminClientCredentialsApiAxiosParamCreator = exports.SearchKind = exports.Region = exports.Rank = exports.PunishmentType = exports.PunishmentTargetType = exports.GameType = exports.ConnectionResultResultCode = void 0;
|
|
26
|
+
exports.ServerSessionsApi = void 0;
|
|
26
27
|
const axios_1 = require("axios");
|
|
27
28
|
// Some imports not used depending on template conditions
|
|
28
29
|
// @ts-ignore
|
|
29
30
|
const common_1 = require("./common");
|
|
30
31
|
// @ts-ignore
|
|
31
32
|
const base_1 = require("./base");
|
|
32
|
-
exports.
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
33
|
+
exports.ConnectionResultResultCode = {
|
|
34
|
+
Allowed: 'ALLOWED',
|
|
35
|
+
AllowedBypass: 'ALLOWED_BYPASS',
|
|
36
|
+
AllowedPlayerBypass: 'ALLOWED_PLAYER_BYPASS',
|
|
37
|
+
Banned: 'BANNED',
|
|
38
|
+
VpnDetected: 'VPN_DETECTED',
|
|
39
|
+
VpnRetry: 'VPN_RETRY',
|
|
40
|
+
VpnTempBanned: 'VPN_TEMP_BANNED'
|
|
41
|
+
};
|
|
42
|
+
exports.GameType = {
|
|
43
|
+
Rotj: 'ROTJ',
|
|
44
|
+
Legacy: 'LEGACY',
|
|
45
|
+
Classic: 'CLASSIC'
|
|
46
|
+
};
|
|
47
|
+
exports.PunishmentTargetType = {
|
|
48
|
+
Player: 'PLAYER',
|
|
49
|
+
Connection: 'CONNECTION'
|
|
36
50
|
};
|
|
37
|
-
exports.
|
|
51
|
+
exports.PunishmentType = {
|
|
38
52
|
Ban: 'BAN',
|
|
39
53
|
Mute: 'MUTE',
|
|
40
54
|
Warning: 'WARNING'
|
|
41
55
|
};
|
|
42
|
-
exports.AdminPunishmentSearchResponseKindEnum = {
|
|
43
|
-
Player: 'player',
|
|
44
|
-
Ip: 'ip'
|
|
45
|
-
};
|
|
46
56
|
exports.Rank = {
|
|
47
57
|
Administrator: 'ADMINISTRATOR',
|
|
48
58
|
Moderator: 'MODERATOR',
|
|
49
59
|
Service: 'SERVICE'
|
|
50
60
|
};
|
|
61
|
+
exports.Region = {
|
|
62
|
+
Us: 'US',
|
|
63
|
+
Eu: 'EU',
|
|
64
|
+
Au: 'AU'
|
|
65
|
+
};
|
|
66
|
+
/**
|
|
67
|
+
* Search kind — PLAYER for UUID/username searches, IP for IP address searches
|
|
68
|
+
*/
|
|
69
|
+
exports.SearchKind = {
|
|
70
|
+
Player: 'PLAYER',
|
|
71
|
+
Ip: 'IP'
|
|
72
|
+
};
|
|
51
73
|
/**
|
|
52
74
|
* AdminClientCredentialsApi - axios parameter creator
|
|
53
75
|
*/
|
|
@@ -1311,7 +1333,7 @@ const AdminPunishmentsApiAxiosParamCreator = function (configuration) {
|
|
|
1311
1333
|
* @param {string | null} [uuid] Filter by player UUID
|
|
1312
1334
|
* @param {string | null} [username] Filter by player username (case-insensitive substring match)
|
|
1313
1335
|
* @param {string | null} [ipAddress] Filter by IP address
|
|
1314
|
-
* @param {Array<
|
|
1336
|
+
* @param {Array<PunishmentType> | null} [type] Filter by punishment type. Repeatable.
|
|
1315
1337
|
* @param {number | null} [issuedAfter] Filter punishments issued after this epoch timestamp (ms)
|
|
1316
1338
|
* @param {number | null} [issuedBefore] Filter punishments issued before this epoch timestamp (ms)
|
|
1317
1339
|
* @param {*} [options] Override http request option.
|
|
@@ -1452,7 +1474,7 @@ const AdminPunishmentsApiFp = function (configuration) {
|
|
|
1452
1474
|
* @param {string | null} [uuid] Filter by player UUID
|
|
1453
1475
|
* @param {string | null} [username] Filter by player username (case-insensitive substring match)
|
|
1454
1476
|
* @param {string | null} [ipAddress] Filter by IP address
|
|
1455
|
-
* @param {Array<
|
|
1477
|
+
* @param {Array<PunishmentType> | null} [type] Filter by punishment type. Repeatable.
|
|
1456
1478
|
* @param {number | null} [issuedAfter] Filter punishments issued after this epoch timestamp (ms)
|
|
1457
1479
|
* @param {number | null} [issuedBefore] Filter punishments issued before this epoch timestamp (ms)
|
|
1458
1480
|
* @param {*} [options] Override http request option.
|
|
@@ -1520,7 +1542,7 @@ const AdminPunishmentsApiFactory = function (configuration, basePath, axios) {
|
|
|
1520
1542
|
* @param {string | null} [uuid] Filter by player UUID
|
|
1521
1543
|
* @param {string | null} [username] Filter by player username (case-insensitive substring match)
|
|
1522
1544
|
* @param {string | null} [ipAddress] Filter by IP address
|
|
1523
|
-
* @param {Array<
|
|
1545
|
+
* @param {Array<PunishmentType> | null} [type] Filter by punishment type. Repeatable.
|
|
1524
1546
|
* @param {number | null} [issuedAfter] Filter punishments issued after this epoch timestamp (ms)
|
|
1525
1547
|
* @param {number | null} [issuedBefore] Filter punishments issued before this epoch timestamp (ms)
|
|
1526
1548
|
* @param {*} [options] Override http request option.
|
|
@@ -1574,7 +1596,7 @@ class AdminPunishmentsApi extends base_1.BaseAPI {
|
|
|
1574
1596
|
* @param {string | null} [uuid] Filter by player UUID
|
|
1575
1597
|
* @param {string | null} [username] Filter by player username (case-insensitive substring match)
|
|
1576
1598
|
* @param {string | null} [ipAddress] Filter by IP address
|
|
1577
|
-
* @param {Array<
|
|
1599
|
+
* @param {Array<PunishmentType> | null} [type] Filter by punishment type. Repeatable.
|
|
1578
1600
|
* @param {number | null} [issuedAfter] Filter punishments issued after this epoch timestamp (ms)
|
|
1579
1601
|
* @param {number | null} [issuedBefore] Filter punishments issued before this epoch timestamp (ms)
|
|
1580
1602
|
* @param {*} [options] Override http request option.
|
|
@@ -2426,7 +2448,7 @@ const PunishmentApiAxiosParamCreator = function (configuration) {
|
|
|
2426
2448
|
* @summary Get punishments by player
|
|
2427
2449
|
* @param {string | null} [uuid] Player UUID
|
|
2428
2450
|
* @param {string | null} [username] Player username
|
|
2429
|
-
* @param {Array<
|
|
2451
|
+
* @param {Array<PunishmentType> | null} [type] Filter by punishment types
|
|
2430
2452
|
* @param {number | null} [since] Filter punishments created after this Unix epoch timestamp (milliseconds)
|
|
2431
2453
|
* @param {*} [options] Override http request option.
|
|
2432
2454
|
* @throws {RequiredError}
|
|
@@ -2510,7 +2532,7 @@ const PunishmentApiAxiosParamCreator = function (configuration) {
|
|
|
2510
2532
|
* @param {number | null} [issuedBefore] Filter punishments issued before this epoch timestamp (milliseconds)
|
|
2511
2533
|
* @param {number | null} [expiresAfter] Filter punishments expiring after this epoch timestamp (milliseconds)
|
|
2512
2534
|
* @param {number | null} [expiresBefore] Filter punishments expiring before this epoch timestamp (milliseconds)
|
|
2513
|
-
* @param {Array<
|
|
2535
|
+
* @param {Array<PunishmentType> | null} [type] Filter by punishment types
|
|
2514
2536
|
* @param {string | null} [uuid] Filter by player UUID
|
|
2515
2537
|
* @param {string | null} [ipAddress] Filter by IP address
|
|
2516
2538
|
* @param {*} [options] Override http request option.
|
|
@@ -2599,7 +2621,7 @@ const PunishmentApiFp = function (configuration) {
|
|
|
2599
2621
|
* @summary Get punishments by player
|
|
2600
2622
|
* @param {string | null} [uuid] Player UUID
|
|
2601
2623
|
* @param {string | null} [username] Player username
|
|
2602
|
-
* @param {Array<
|
|
2624
|
+
* @param {Array<PunishmentType> | null} [type] Filter by punishment types
|
|
2603
2625
|
* @param {number | null} [since] Filter punishments created after this Unix epoch timestamp (milliseconds)
|
|
2604
2626
|
* @param {*} [options] Override http request option.
|
|
2605
2627
|
* @throws {RequiredError}
|
|
@@ -2638,7 +2660,7 @@ const PunishmentApiFp = function (configuration) {
|
|
|
2638
2660
|
* @param {number | null} [issuedBefore] Filter punishments issued before this epoch timestamp (milliseconds)
|
|
2639
2661
|
* @param {number | null} [expiresAfter] Filter punishments expiring after this epoch timestamp (milliseconds)
|
|
2640
2662
|
* @param {number | null} [expiresBefore] Filter punishments expiring before this epoch timestamp (milliseconds)
|
|
2641
|
-
* @param {Array<
|
|
2663
|
+
* @param {Array<PunishmentType> | null} [type] Filter by punishment types
|
|
2642
2664
|
* @param {string | null} [uuid] Filter by player UUID
|
|
2643
2665
|
* @param {string | null} [ipAddress] Filter by IP address
|
|
2644
2666
|
* @param {*} [options] Override http request option.
|
|
@@ -2676,7 +2698,7 @@ const PunishmentApiFactory = function (configuration, basePath, axios) {
|
|
|
2676
2698
|
* @summary Get punishments by player
|
|
2677
2699
|
* @param {string | null} [uuid] Player UUID
|
|
2678
2700
|
* @param {string | null} [username] Player username
|
|
2679
|
-
* @param {Array<
|
|
2701
|
+
* @param {Array<PunishmentType> | null} [type] Filter by punishment types
|
|
2680
2702
|
* @param {number | null} [since] Filter punishments created after this Unix epoch timestamp (milliseconds)
|
|
2681
2703
|
* @param {*} [options] Override http request option.
|
|
2682
2704
|
* @throws {RequiredError}
|
|
@@ -2703,7 +2725,7 @@ const PunishmentApiFactory = function (configuration, basePath, axios) {
|
|
|
2703
2725
|
* @param {number | null} [issuedBefore] Filter punishments issued before this epoch timestamp (milliseconds)
|
|
2704
2726
|
* @param {number | null} [expiresAfter] Filter punishments expiring after this epoch timestamp (milliseconds)
|
|
2705
2727
|
* @param {number | null} [expiresBefore] Filter punishments expiring before this epoch timestamp (milliseconds)
|
|
2706
|
-
* @param {Array<
|
|
2728
|
+
* @param {Array<PunishmentType> | null} [type] Filter by punishment types
|
|
2707
2729
|
* @param {string | null} [uuid] Filter by player UUID
|
|
2708
2730
|
* @param {string | null} [ipAddress] Filter by IP address
|
|
2709
2731
|
* @param {*} [options] Override http request option.
|
|
@@ -2733,7 +2755,7 @@ class PunishmentApi extends base_1.BaseAPI {
|
|
|
2733
2755
|
* @summary Get punishments by player
|
|
2734
2756
|
* @param {string | null} [uuid] Player UUID
|
|
2735
2757
|
* @param {string | null} [username] Player username
|
|
2736
|
-
* @param {Array<
|
|
2758
|
+
* @param {Array<PunishmentType> | null} [type] Filter by punishment types
|
|
2737
2759
|
* @param {number | null} [since] Filter punishments created after this Unix epoch timestamp (milliseconds)
|
|
2738
2760
|
* @param {*} [options] Override http request option.
|
|
2739
2761
|
* @throws {RequiredError}
|
|
@@ -2760,7 +2782,7 @@ class PunishmentApi extends base_1.BaseAPI {
|
|
|
2760
2782
|
* @param {number | null} [issuedBefore] Filter punishments issued before this epoch timestamp (milliseconds)
|
|
2761
2783
|
* @param {number | null} [expiresAfter] Filter punishments expiring after this epoch timestamp (milliseconds)
|
|
2762
2784
|
* @param {number | null} [expiresBefore] Filter punishments expiring before this epoch timestamp (milliseconds)
|
|
2763
|
-
* @param {Array<
|
|
2785
|
+
* @param {Array<PunishmentType> | null} [type] Filter by punishment types
|
|
2764
2786
|
* @param {string | null} [uuid] Filter by player UUID
|
|
2765
2787
|
* @param {string | null} [ipAddress] Filter by IP address
|
|
2766
2788
|
* @param {*} [options] Override http request option.
|
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: 3.0
|
|
5
|
+
* The version of the OpenAPI document: 3.2.0
|
|
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: 3.0
|
|
8
|
+
* The version of the OpenAPI document: 3.2.0
|
|
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: 3.0
|
|
5
|
+
* The version of the OpenAPI document: 3.2.0
|
|
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: 3.0
|
|
8
|
+
* The version of the OpenAPI document: 3.2.0
|
|
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: 3.0
|
|
5
|
+
* The version of the OpenAPI document: 3.2.0
|
|
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: 3.0
|
|
7
|
+
* The version of the OpenAPI document: 3.2.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|