kleisterjs 2.17.0 → 3.0.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/.github/RELEASE +1 -1
- package/.github/workflows/general.yml +2 -2
- package/.github/workflows/openapi.yml +2 -2
- package/.github/workflows/release.yml +2 -2
- package/.openapi-generator/FILES +58 -58
- package/.openapi-generator/VERSION +1 -1
- package/CHANGELOG.md +22 -0
- package/README.md +2 -2
- package/api/auth-api.ts +8 -36
- package/api/fabric-api.ts +12 -50
- package/api/forge-api.ts +12 -50
- package/api/group-api.ts +24 -173
- package/api/minecraft-api.ts +12 -50
- package/api/mod-api.ts +30 -253
- package/api/neoforge-api.ts +12 -50
- package/api/pack-api.ts +30 -223
- package/api/profile-api.ts +0 -13
- package/api/quilt-api.ts +12 -50
- package/api/user-api.ts +24 -173
- package/base.ts +0 -24
- package/common.ts +0 -37
- package/configuration.ts +25 -18
- package/docs/AuthApi.md +2 -2
- package/docs/FabricApi.md +4 -4
- package/docs/ForgeApi.md +4 -4
- package/docs/GroupApi.md +8 -8
- package/docs/MinecraftApi.md +4 -4
- package/docs/ModApi.md +10 -10
- package/docs/NeoforgeApi.md +4 -4
- package/docs/PackApi.md +10 -10
- package/docs/QuiltApi.md +4 -4
- package/docs/UserApi.md +8 -8
- package/flake.lock +44 -40
- package/model/attach-build-to-version-request.ts +0 -15
- package/model/attach-minecraft-to-build-request.ts +0 -15
- package/model/auth-token.ts +0 -15
- package/model/auth-verify.ts +0 -15
- package/model/build-version.ts +0 -32
- package/model/build.ts +0 -102
- package/model/create-build-request.ts +0 -60
- package/model/create-group-request.ts +0 -15
- package/model/create-mod-request.ts +0 -45
- package/model/create-pack-request.ts +0 -25
- package/model/create-user-request.ts +0 -35
- package/model/create-version-request.ts +0 -20
- package/model/delete-group-from-mod-request.ts +0 -10
- package/model/delete-group-from-pack-request.ts +0 -10
- package/model/delete-pack-from-group-request.ts +0 -10
- package/model/delete-pack-from-user-request.ts +0 -10
- package/model/fabric.ts +0 -22
- package/model/forge.ts +0 -27
- package/model/group-mod.ts +0 -37
- package/model/group-pack.ts +0 -37
- package/model/group.ts +0 -27
- package/model/index.ts +29 -29
- package/model/{inline-object20.ts → list-build-versions200-response.ts} +1 -36
- package/model/{inline-object19.ts → list-builds200-response.ts} +1 -31
- package/model/{inline-object10.ts → list-fabric-builds200-response.ts} +1 -31
- package/model/{inline-object9.ts → list-fabrics200-response.ts} +1 -26
- package/model/{inline-object4.ts → list-forge-builds200-response.ts} +1 -31
- package/model/{inline-object3.ts → list-forges200-response.ts} +1 -26
- package/model/{inline-object23.ts → list-group-mods200-response.ts} +1 -31
- package/model/{inline-object24.ts → list-group-packs200-response.ts} +1 -31
- package/model/{inline-object22.ts → list-group-users200-response.ts} +1 -31
- package/model/{inline-object21.ts → list-groups200-response.ts} +1 -26
- package/model/{inline-object2.ts → list-minecraft-builds200-response.ts} +1 -31
- package/model/{inline-object1.ts → list-minecrafts200-response.ts} +1 -26
- package/model/{inline-object13.ts → list-mod-groups200-response.ts} +1 -31
- package/model/{inline-object12.ts → list-mod-users200-response.ts} +1 -31
- package/model/{inline-object11.ts → list-mods200-response.ts} +1 -26
- package/model/{inline-object6.ts → list-neoforge-builds200-response.ts} +1 -31
- package/model/{inline-object5.ts → list-neoforges200-response.ts} +1 -26
- package/model/{inline-object18.ts → list-pack-groups200-response.ts} +1 -31
- package/model/{inline-object17.ts → list-pack-users200-response.ts} +1 -31
- package/model/{inline-object16.ts → list-packs200-response.ts} +1 -26
- package/model/{inline-object.ts → list-providers200-response.ts} +1 -16
- package/model/{inline-object8.ts → list-quilt-builds200-response.ts} +1 -31
- package/model/{inline-object7.ts → list-quilts200-response.ts} +1 -26
- package/model/{inline-object26.ts → list-user-groups200-response.ts} +1 -31
- package/model/{inline-object27.ts → list-user-mods200-response.ts} +1 -31
- package/model/{inline-object28.ts → list-user-packs200-response.ts} +1 -31
- package/model/{inline-object25.ts → list-users200-response.ts} +1 -26
- package/model/{inline-object15.ts → list-version-builds200-response.ts} +1 -36
- package/model/{inline-object14.ts → list-versions200-response.ts} +1 -31
- package/model/login-auth-request.ts +0 -15
- package/model/minecraft.ts +0 -27
- package/model/mod-avatar.ts +0 -22
- package/model/mod.ts +0 -62
- package/model/neoforge.ts +0 -22
- package/model/notification.ts +0 -17
- package/model/pack-avatar.ts +0 -22
- package/model/pack.ts +0 -42
- package/model/permit-group-mod-request.ts +0 -15
- package/model/permit-group-pack-request.ts +0 -15
- package/model/permit-pack-group-request.ts +0 -15
- package/model/permit-pack-user-request.ts +0 -15
- package/model/profile.ts +0 -72
- package/model/provider.ts +0 -22
- package/model/quilt.ts +0 -22
- package/model/redirect-auth-request.ts +0 -10
- package/model/update-profile-request.ts +0 -25
- package/model/update-user-request.ts +0 -35
- package/model/user-auth.ts +0 -22
- package/model/user-group.ts +0 -37
- package/model/user-mod.ts +0 -37
- package/model/user-pack.ts +0 -37
- package/model/user.ts +0 -57
- package/model/validation.ts +0 -12
- package/model/version-file.ts +0 -37
- package/model/version.ts +0 -37
- package/openapi.yml +1 -1
- package/package.json +2 -2
package/.github/RELEASE
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Mon
|
|
1
|
+
Mon Oct 27 08:21:37 UTC 2025
|
package/.openapi-generator/FILES
CHANGED
|
@@ -40,35 +40,35 @@ docs/Group.md
|
|
|
40
40
|
docs/GroupApi.md
|
|
41
41
|
docs/GroupMod.md
|
|
42
42
|
docs/GroupPack.md
|
|
43
|
-
docs/
|
|
44
|
-
docs/
|
|
45
|
-
docs/
|
|
46
|
-
docs/
|
|
47
|
-
docs/
|
|
48
|
-
docs/
|
|
49
|
-
docs/
|
|
50
|
-
docs/
|
|
51
|
-
docs/
|
|
52
|
-
docs/
|
|
53
|
-
docs/
|
|
54
|
-
docs/
|
|
55
|
-
docs/
|
|
56
|
-
docs/
|
|
57
|
-
docs/
|
|
58
|
-
docs/
|
|
59
|
-
docs/
|
|
60
|
-
docs/
|
|
61
|
-
docs/
|
|
62
|
-
docs/
|
|
63
|
-
docs/
|
|
64
|
-
docs/
|
|
65
|
-
docs/
|
|
66
|
-
docs/
|
|
67
|
-
docs/
|
|
68
|
-
docs/
|
|
69
|
-
docs/
|
|
70
|
-
docs/
|
|
71
|
-
docs/
|
|
43
|
+
docs/ListBuildVersions200Response.md
|
|
44
|
+
docs/ListBuilds200Response.md
|
|
45
|
+
docs/ListFabricBuilds200Response.md
|
|
46
|
+
docs/ListFabrics200Response.md
|
|
47
|
+
docs/ListForgeBuilds200Response.md
|
|
48
|
+
docs/ListForges200Response.md
|
|
49
|
+
docs/ListGroupMods200Response.md
|
|
50
|
+
docs/ListGroupPacks200Response.md
|
|
51
|
+
docs/ListGroupUsers200Response.md
|
|
52
|
+
docs/ListGroups200Response.md
|
|
53
|
+
docs/ListMinecraftBuilds200Response.md
|
|
54
|
+
docs/ListMinecrafts200Response.md
|
|
55
|
+
docs/ListModGroups200Response.md
|
|
56
|
+
docs/ListModUsers200Response.md
|
|
57
|
+
docs/ListMods200Response.md
|
|
58
|
+
docs/ListNeoforgeBuilds200Response.md
|
|
59
|
+
docs/ListNeoforges200Response.md
|
|
60
|
+
docs/ListPackGroups200Response.md
|
|
61
|
+
docs/ListPackUsers200Response.md
|
|
62
|
+
docs/ListPacks200Response.md
|
|
63
|
+
docs/ListProviders200Response.md
|
|
64
|
+
docs/ListQuiltBuilds200Response.md
|
|
65
|
+
docs/ListQuilts200Response.md
|
|
66
|
+
docs/ListUserGroups200Response.md
|
|
67
|
+
docs/ListUserMods200Response.md
|
|
68
|
+
docs/ListUserPacks200Response.md
|
|
69
|
+
docs/ListUsers200Response.md
|
|
70
|
+
docs/ListVersionBuilds200Response.md
|
|
71
|
+
docs/ListVersions200Response.md
|
|
72
72
|
docs/LoginAuthRequest.md
|
|
73
73
|
docs/Minecraft.md
|
|
74
74
|
docs/MinecraftApi.md
|
|
@@ -125,35 +125,35 @@ model/group-mod.ts
|
|
|
125
125
|
model/group-pack.ts
|
|
126
126
|
model/group.ts
|
|
127
127
|
model/index.ts
|
|
128
|
-
model/
|
|
129
|
-
model/
|
|
130
|
-
model/
|
|
131
|
-
model/
|
|
132
|
-
model/
|
|
133
|
-
model/
|
|
134
|
-
model/
|
|
135
|
-
model/
|
|
136
|
-
model/
|
|
137
|
-
model/
|
|
138
|
-
model/
|
|
139
|
-
model/
|
|
140
|
-
model/
|
|
141
|
-
model/
|
|
142
|
-
model/
|
|
143
|
-
model/
|
|
144
|
-
model/
|
|
145
|
-
model/
|
|
146
|
-
model/
|
|
147
|
-
model/
|
|
148
|
-
model/
|
|
149
|
-
model/
|
|
150
|
-
model/
|
|
151
|
-
model/
|
|
152
|
-
model/
|
|
153
|
-
model/
|
|
154
|
-
model/
|
|
155
|
-
model/
|
|
156
|
-
model/
|
|
128
|
+
model/list-build-versions200-response.ts
|
|
129
|
+
model/list-builds200-response.ts
|
|
130
|
+
model/list-fabric-builds200-response.ts
|
|
131
|
+
model/list-fabrics200-response.ts
|
|
132
|
+
model/list-forge-builds200-response.ts
|
|
133
|
+
model/list-forges200-response.ts
|
|
134
|
+
model/list-group-mods200-response.ts
|
|
135
|
+
model/list-group-packs200-response.ts
|
|
136
|
+
model/list-group-users200-response.ts
|
|
137
|
+
model/list-groups200-response.ts
|
|
138
|
+
model/list-minecraft-builds200-response.ts
|
|
139
|
+
model/list-minecrafts200-response.ts
|
|
140
|
+
model/list-mod-groups200-response.ts
|
|
141
|
+
model/list-mod-users200-response.ts
|
|
142
|
+
model/list-mods200-response.ts
|
|
143
|
+
model/list-neoforge-builds200-response.ts
|
|
144
|
+
model/list-neoforges200-response.ts
|
|
145
|
+
model/list-pack-groups200-response.ts
|
|
146
|
+
model/list-pack-users200-response.ts
|
|
147
|
+
model/list-packs200-response.ts
|
|
148
|
+
model/list-providers200-response.ts
|
|
149
|
+
model/list-quilt-builds200-response.ts
|
|
150
|
+
model/list-quilts200-response.ts
|
|
151
|
+
model/list-user-groups200-response.ts
|
|
152
|
+
model/list-user-mods200-response.ts
|
|
153
|
+
model/list-user-packs200-response.ts
|
|
154
|
+
model/list-users200-response.ts
|
|
155
|
+
model/list-version-builds200-response.ts
|
|
156
|
+
model/list-versions200-response.ts
|
|
157
157
|
model/login-auth-request.ts
|
|
158
158
|
model/minecraft.ts
|
|
159
159
|
model/mod-avatar.ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
7.
|
|
1
|
+
7.17.0
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [3.0.0](https://github.com/kleister/kleister-js/compare/v2.18.0...v3.0.0) (2025-11-03)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* automated openapi client update ([3564baf](https://github.com/kleister/kleister-js/commit/3564baf875069361aa9634b5b262248310f3a34b))
|
|
9
|
+
* **deps:** update dependency @types/node to 12.11.5 - 24.10 ([#205](https://github.com/kleister/kleister-js/issues/205)) ([3888b48](https://github.com/kleister/kleister-js/commit/3888b489791d975f43cd8a2e48b612e3da5e84a4))
|
|
10
|
+
* **deps:** update dependency @types/node to v24 ([#202](https://github.com/kleister/kleister-js/issues/202)) ([a8f785c](https://github.com/kleister/kleister-js/commit/a8f785c095b7f49b79a9b9d6e22747543e239893))
|
|
11
|
+
* **deps:** update dependency axios to v1.13.0 ([#200](https://github.com/kleister/kleister-js/issues/200)) ([2f9e469](https://github.com/kleister/kleister-js/commit/2f9e469f19a6eb97f71b5e4f22bc20455ff384eb))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Bugfixes
|
|
15
|
+
|
|
16
|
+
* **deps:** update dependency axios to v1.13.1 ([#203](https://github.com/kleister/kleister-js/issues/203)) ([ae9b1ad](https://github.com/kleister/kleister-js/commit/ae9b1ad5cd2b7bab2016e89cda6534271322f453))
|
|
17
|
+
|
|
18
|
+
## [2.18.0](https://github.com/kleister/kleister-js/compare/v2.17.0...v2.18.0) (2025-10-13)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Features
|
|
22
|
+
|
|
23
|
+
* automated openapi client update ([f6a0d11](https://github.com/kleister/kleister-js/commit/f6a0d113ae1b3f96f3454e3da13f2882e90933e4))
|
|
24
|
+
|
|
3
25
|
## [2.17.0](https://github.com/kleister/kleister-js/compare/v2.16.0...v2.17.0) (2025-09-15)
|
|
4
26
|
|
|
5
27
|
|
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@ This repository provides a client SDK for Typescript/Javascript. This SDK is
|
|
|
6
6
|
automatically generated by the [OpenAPI Generator][generator] project:
|
|
7
7
|
|
|
8
8
|
- API version: 1.0.0-alpha1
|
|
9
|
-
- Package version:
|
|
9
|
+
- Package version: 3.0.0
|
|
10
10
|
- Build package: org.openapitools.codegen.languages.TypeScriptAxiosClientCodegen
|
|
11
11
|
|
|
12
12
|
For more information, please visit [https://kleister.eu](https://kleister.eu)
|
|
@@ -39,7 +39,7 @@ the following command within your project directory, after that you can import
|
|
|
39
39
|
it as other libraries:
|
|
40
40
|
|
|
41
41
|
```console
|
|
42
|
-
npm install --save kleisterjs@
|
|
42
|
+
npm install --save kleisterjs@3.0.0
|
|
43
43
|
```
|
|
44
44
|
|
|
45
45
|
### Installation with Git
|
package/api/auth-api.ts
CHANGED
|
@@ -46,7 +46,7 @@ import type { AuthToken } from "../model";
|
|
|
46
46
|
// @ts-ignore
|
|
47
47
|
import type { AuthVerify } from "../model";
|
|
48
48
|
// @ts-ignore
|
|
49
|
-
import type {
|
|
49
|
+
import type { ListProviders200Response } from "../model";
|
|
50
50
|
// @ts-ignore
|
|
51
51
|
import type { LoginAuthRequest } from "../model";
|
|
52
52
|
// @ts-ignore
|
|
@@ -55,7 +55,6 @@ import type { Notification } from "../model";
|
|
|
55
55
|
import type { RedirectAuthRequest } from "../model";
|
|
56
56
|
/**
|
|
57
57
|
* AuthApi - axios parameter creator
|
|
58
|
-
* @export
|
|
59
58
|
*/
|
|
60
59
|
export const AuthApiAxiosParamCreator = function (
|
|
61
60
|
configuration?: Configuration,
|
|
@@ -421,7 +420,6 @@ export const AuthApiAxiosParamCreator = function (
|
|
|
421
420
|
|
|
422
421
|
/**
|
|
423
422
|
* AuthApi - functional programming interface
|
|
424
|
-
* @export
|
|
425
423
|
*/
|
|
426
424
|
export const AuthApiFp = function (configuration?: Configuration) {
|
|
427
425
|
const localVarAxiosParamCreator = AuthApiAxiosParamCreator(configuration);
|
|
@@ -472,7 +470,10 @@ export const AuthApiFp = function (configuration?: Configuration) {
|
|
|
472
470
|
async listProviders(
|
|
473
471
|
options?: RawAxiosRequestConfig,
|
|
474
472
|
): Promise<
|
|
475
|
-
(
|
|
473
|
+
(
|
|
474
|
+
axios?: AxiosInstance,
|
|
475
|
+
basePath?: string,
|
|
476
|
+
) => AxiosPromise<ListProviders200Response>
|
|
476
477
|
> {
|
|
477
478
|
const localVarAxiosArgs =
|
|
478
479
|
await localVarAxiosParamCreator.listProviders(options);
|
|
@@ -634,7 +635,6 @@ export const AuthApiFp = function (configuration?: Configuration) {
|
|
|
634
635
|
|
|
635
636
|
/**
|
|
636
637
|
* AuthApi - factory interface
|
|
637
|
-
* @export
|
|
638
638
|
*/
|
|
639
639
|
export const AuthApiFactory = function (
|
|
640
640
|
configuration?: Configuration,
|
|
@@ -669,7 +669,9 @@ export const AuthApiFactory = function (
|
|
|
669
669
|
* @param {*} [options] Override http request option.
|
|
670
670
|
* @throws {RequiredError}
|
|
671
671
|
*/
|
|
672
|
-
listProviders(
|
|
672
|
+
listProviders(
|
|
673
|
+
options?: RawAxiosRequestConfig,
|
|
674
|
+
): AxiosPromise<ListProviders200Response> {
|
|
673
675
|
return localVarFp
|
|
674
676
|
.listProviders(options)
|
|
675
677
|
.then((request) => request(axios, basePath));
|
|
@@ -746,79 +748,56 @@ export const AuthApiFactory = function (
|
|
|
746
748
|
|
|
747
749
|
/**
|
|
748
750
|
* Request parameters for callbackProvider operation in AuthApi.
|
|
749
|
-
* @export
|
|
750
|
-
* @interface AuthApiCallbackProviderRequest
|
|
751
751
|
*/
|
|
752
752
|
export interface AuthApiCallbackProviderRequest {
|
|
753
753
|
/**
|
|
754
754
|
* An identifier for the auth provider
|
|
755
|
-
* @type {string}
|
|
756
|
-
* @memberof AuthApiCallbackProvider
|
|
757
755
|
*/
|
|
758
756
|
readonly provider: string;
|
|
759
757
|
|
|
760
758
|
/**
|
|
761
759
|
* Auth state
|
|
762
|
-
* @type {string}
|
|
763
|
-
* @memberof AuthApiCallbackProvider
|
|
764
760
|
*/
|
|
765
761
|
readonly state?: string;
|
|
766
762
|
|
|
767
763
|
/**
|
|
768
764
|
* Auth code
|
|
769
|
-
* @type {string}
|
|
770
|
-
* @memberof AuthApiCallbackProvider
|
|
771
765
|
*/
|
|
772
766
|
readonly code?: string;
|
|
773
767
|
}
|
|
774
768
|
|
|
775
769
|
/**
|
|
776
770
|
* Request parameters for loginAuth operation in AuthApi.
|
|
777
|
-
* @export
|
|
778
|
-
* @interface AuthApiLoginAuthRequest
|
|
779
771
|
*/
|
|
780
772
|
export interface AuthApiLoginAuthRequest {
|
|
781
773
|
/**
|
|
782
774
|
* The credentials to authenticate
|
|
783
|
-
* @type {LoginAuthRequest}
|
|
784
|
-
* @memberof AuthApiLoginAuth
|
|
785
775
|
*/
|
|
786
776
|
readonly loginAuthRequest: LoginAuthRequest;
|
|
787
777
|
}
|
|
788
778
|
|
|
789
779
|
/**
|
|
790
780
|
* Request parameters for redirectAuth operation in AuthApi.
|
|
791
|
-
* @export
|
|
792
|
-
* @interface AuthApiRedirectAuthRequest
|
|
793
781
|
*/
|
|
794
782
|
export interface AuthApiRedirectAuthRequest {
|
|
795
783
|
/**
|
|
796
784
|
* The redirect token to authenticate
|
|
797
|
-
* @type {RedirectAuthRequest}
|
|
798
|
-
* @memberof AuthApiRedirectAuth
|
|
799
785
|
*/
|
|
800
786
|
readonly redirectAuthRequest: RedirectAuthRequest;
|
|
801
787
|
}
|
|
802
788
|
|
|
803
789
|
/**
|
|
804
790
|
* Request parameters for requestProvider operation in AuthApi.
|
|
805
|
-
* @export
|
|
806
|
-
* @interface AuthApiRequestProviderRequest
|
|
807
791
|
*/
|
|
808
792
|
export interface AuthApiRequestProviderRequest {
|
|
809
793
|
/**
|
|
810
794
|
* An identifier for the auth provider
|
|
811
|
-
* @type {string}
|
|
812
|
-
* @memberof AuthApiRequestProvider
|
|
813
795
|
*/
|
|
814
796
|
readonly provider: string;
|
|
815
797
|
}
|
|
816
798
|
|
|
817
799
|
/**
|
|
818
800
|
* AuthApi - object-oriented interface
|
|
819
|
-
* @export
|
|
820
|
-
* @class AuthApi
|
|
821
|
-
* @extends {BaseAPI}
|
|
822
801
|
*/
|
|
823
802
|
export class AuthApi extends BaseAPI {
|
|
824
803
|
/**
|
|
@@ -827,7 +806,6 @@ export class AuthApi extends BaseAPI {
|
|
|
827
806
|
* @param {AuthApiCallbackProviderRequest} requestParameters Request parameters.
|
|
828
807
|
* @param {*} [options] Override http request option.
|
|
829
808
|
* @throws {RequiredError}
|
|
830
|
-
* @memberof AuthApi
|
|
831
809
|
*/
|
|
832
810
|
public callbackProvider(
|
|
833
811
|
requestParameters: AuthApiCallbackProviderRequest,
|
|
@@ -848,7 +826,6 @@ export class AuthApi extends BaseAPI {
|
|
|
848
826
|
* @summary Fetch the available auth providers
|
|
849
827
|
* @param {*} [options] Override http request option.
|
|
850
828
|
* @throws {RequiredError}
|
|
851
|
-
* @memberof AuthApi
|
|
852
829
|
*/
|
|
853
830
|
public listProviders(options?: RawAxiosRequestConfig) {
|
|
854
831
|
return AuthApiFp(this.configuration)
|
|
@@ -862,7 +839,6 @@ export class AuthApi extends BaseAPI {
|
|
|
862
839
|
* @param {AuthApiLoginAuthRequest} requestParameters Request parameters.
|
|
863
840
|
* @param {*} [options] Override http request option.
|
|
864
841
|
* @throws {RequiredError}
|
|
865
|
-
* @memberof AuthApi
|
|
866
842
|
*/
|
|
867
843
|
public loginAuth(
|
|
868
844
|
requestParameters: AuthApiLoginAuthRequest,
|
|
@@ -879,7 +855,6 @@ export class AuthApi extends BaseAPI {
|
|
|
879
855
|
* @param {AuthApiRedirectAuthRequest} requestParameters Request parameters.
|
|
880
856
|
* @param {*} [options] Override http request option.
|
|
881
857
|
* @throws {RequiredError}
|
|
882
|
-
* @memberof AuthApi
|
|
883
858
|
*/
|
|
884
859
|
public redirectAuth(
|
|
885
860
|
requestParameters: AuthApiRedirectAuthRequest,
|
|
@@ -895,7 +870,6 @@ export class AuthApi extends BaseAPI {
|
|
|
895
870
|
* @summary Refresh an auth token before it expires
|
|
896
871
|
* @param {*} [options] Override http request option.
|
|
897
872
|
* @throws {RequiredError}
|
|
898
|
-
* @memberof AuthApi
|
|
899
873
|
*/
|
|
900
874
|
public refreshAuth(options?: RawAxiosRequestConfig) {
|
|
901
875
|
return AuthApiFp(this.configuration)
|
|
@@ -909,7 +883,6 @@ export class AuthApi extends BaseAPI {
|
|
|
909
883
|
* @param {AuthApiRequestProviderRequest} requestParameters Request parameters.
|
|
910
884
|
* @param {*} [options] Override http request option.
|
|
911
885
|
* @throws {RequiredError}
|
|
912
|
-
* @memberof AuthApi
|
|
913
886
|
*/
|
|
914
887
|
public requestProvider(
|
|
915
888
|
requestParameters: AuthApiRequestProviderRequest,
|
|
@@ -925,7 +898,6 @@ export class AuthApi extends BaseAPI {
|
|
|
925
898
|
* @summary Verify validity for an authentication token
|
|
926
899
|
* @param {*} [options] Override http request option.
|
|
927
900
|
* @throws {RequiredError}
|
|
928
|
-
* @memberof AuthApi
|
|
929
901
|
*/
|
|
930
902
|
public verifyAuth(options?: RawAxiosRequestConfig) {
|
|
931
903
|
return AuthApiFp(this.configuration)
|
package/api/fabric-api.ts
CHANGED
|
@@ -44,14 +44,13 @@ import {
|
|
|
44
44
|
// @ts-ignore
|
|
45
45
|
import type { AttachMinecraftToBuildRequest } from "../model";
|
|
46
46
|
// @ts-ignore
|
|
47
|
-
import type {
|
|
47
|
+
import type { ListFabricBuilds200Response } from "../model";
|
|
48
48
|
// @ts-ignore
|
|
49
|
-
import type {
|
|
49
|
+
import type { ListFabrics200Response } from "../model";
|
|
50
50
|
// @ts-ignore
|
|
51
51
|
import type { Notification } from "../model";
|
|
52
52
|
/**
|
|
53
53
|
* FabricApi - axios parameter creator
|
|
54
|
-
* @export
|
|
55
54
|
*/
|
|
56
55
|
export const FabricApiAxiosParamCreator = function (
|
|
57
56
|
configuration?: Configuration,
|
|
@@ -419,7 +418,6 @@ export const FabricApiAxiosParamCreator = function (
|
|
|
419
418
|
|
|
420
419
|
/**
|
|
421
420
|
* FabricApi - functional programming interface
|
|
422
|
-
* @export
|
|
423
421
|
*/
|
|
424
422
|
export const FabricApiFp = function (configuration?: Configuration) {
|
|
425
423
|
const localVarAxiosParamCreator = FabricApiAxiosParamCreator(configuration);
|
|
@@ -513,7 +511,10 @@ export const FabricApiFp = function (configuration?: Configuration) {
|
|
|
513
511
|
offset?: number,
|
|
514
512
|
options?: RawAxiosRequestConfig,
|
|
515
513
|
): Promise<
|
|
516
|
-
(
|
|
514
|
+
(
|
|
515
|
+
axios?: AxiosInstance,
|
|
516
|
+
basePath?: string,
|
|
517
|
+
) => AxiosPromise<ListFabricBuilds200Response>
|
|
517
518
|
> {
|
|
518
519
|
const localVarAxiosArgs =
|
|
519
520
|
await localVarAxiosParamCreator.listFabricBuilds(
|
|
@@ -549,7 +550,10 @@ export const FabricApiFp = function (configuration?: Configuration) {
|
|
|
549
550
|
search?: string,
|
|
550
551
|
options?: RawAxiosRequestConfig,
|
|
551
552
|
): Promise<
|
|
552
|
-
(
|
|
553
|
+
(
|
|
554
|
+
axios?: AxiosInstance,
|
|
555
|
+
basePath?: string,
|
|
556
|
+
) => AxiosPromise<ListFabrics200Response>
|
|
553
557
|
> {
|
|
554
558
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listFabrics(
|
|
555
559
|
search,
|
|
@@ -599,7 +603,6 @@ export const FabricApiFp = function (configuration?: Configuration) {
|
|
|
599
603
|
|
|
600
604
|
/**
|
|
601
605
|
* FabricApi - factory interface
|
|
602
|
-
* @export
|
|
603
606
|
*/
|
|
604
607
|
export const FabricApiFactory = function (
|
|
605
608
|
configuration?: Configuration,
|
|
@@ -656,7 +659,7 @@ export const FabricApiFactory = function (
|
|
|
656
659
|
listFabricBuilds(
|
|
657
660
|
requestParameters: FabricApiListFabricBuildsRequest,
|
|
658
661
|
options?: RawAxiosRequestConfig,
|
|
659
|
-
): AxiosPromise<
|
|
662
|
+
): AxiosPromise<ListFabricBuilds200Response> {
|
|
660
663
|
return localVarFp
|
|
661
664
|
.listFabricBuilds(
|
|
662
665
|
requestParameters.fabricId,
|
|
@@ -679,7 +682,7 @@ export const FabricApiFactory = function (
|
|
|
679
682
|
listFabrics(
|
|
680
683
|
requestParameters: FabricApiListFabricsRequest = {},
|
|
681
684
|
options?: RawAxiosRequestConfig,
|
|
682
|
-
): AxiosPromise<
|
|
685
|
+
): AxiosPromise<ListFabrics200Response> {
|
|
683
686
|
return localVarFp
|
|
684
687
|
.listFabrics(requestParameters.search, options)
|
|
685
688
|
.then((request) => request(axios, basePath));
|
|
@@ -700,114 +703,81 @@ export const FabricApiFactory = function (
|
|
|
700
703
|
|
|
701
704
|
/**
|
|
702
705
|
* Request parameters for attachFabricToBuild operation in FabricApi.
|
|
703
|
-
* @export
|
|
704
|
-
* @interface FabricApiAttachFabricToBuildRequest
|
|
705
706
|
*/
|
|
706
707
|
export interface FabricApiAttachFabricToBuildRequest {
|
|
707
708
|
/**
|
|
708
709
|
* A fabric identifier or slug
|
|
709
|
-
* @type {string}
|
|
710
|
-
* @memberof FabricApiAttachFabricToBuild
|
|
711
710
|
*/
|
|
712
711
|
readonly fabricId: string;
|
|
713
712
|
|
|
714
713
|
/**
|
|
715
714
|
* The fabric build data to create or update
|
|
716
|
-
* @type {AttachMinecraftToBuildRequest}
|
|
717
|
-
* @memberof FabricApiAttachFabricToBuild
|
|
718
715
|
*/
|
|
719
716
|
readonly attachMinecraftToBuildRequest: AttachMinecraftToBuildRequest;
|
|
720
717
|
}
|
|
721
718
|
|
|
722
719
|
/**
|
|
723
720
|
* Request parameters for deleteFabricFromBuild operation in FabricApi.
|
|
724
|
-
* @export
|
|
725
|
-
* @interface FabricApiDeleteFabricFromBuildRequest
|
|
726
721
|
*/
|
|
727
722
|
export interface FabricApiDeleteFabricFromBuildRequest {
|
|
728
723
|
/**
|
|
729
724
|
* A fabric identifier or slug
|
|
730
|
-
* @type {string}
|
|
731
|
-
* @memberof FabricApiDeleteFabricFromBuild
|
|
732
725
|
*/
|
|
733
726
|
readonly fabricId: string;
|
|
734
727
|
|
|
735
728
|
/**
|
|
736
729
|
* The fabric build data to create or update
|
|
737
|
-
* @type {AttachMinecraftToBuildRequest}
|
|
738
|
-
* @memberof FabricApiDeleteFabricFromBuild
|
|
739
730
|
*/
|
|
740
731
|
readonly attachMinecraftToBuildRequest: AttachMinecraftToBuildRequest;
|
|
741
732
|
}
|
|
742
733
|
|
|
743
734
|
/**
|
|
744
735
|
* Request parameters for listFabricBuilds operation in FabricApi.
|
|
745
|
-
* @export
|
|
746
|
-
* @interface FabricApiListFabricBuildsRequest
|
|
747
736
|
*/
|
|
748
737
|
export interface FabricApiListFabricBuildsRequest {
|
|
749
738
|
/**
|
|
750
739
|
* A fabric identifier or slug
|
|
751
|
-
* @type {string}
|
|
752
|
-
* @memberof FabricApiListFabricBuilds
|
|
753
740
|
*/
|
|
754
741
|
readonly fabricId: string;
|
|
755
742
|
|
|
756
743
|
/**
|
|
757
744
|
* Search query
|
|
758
|
-
* @type {string}
|
|
759
|
-
* @memberof FabricApiListFabricBuilds
|
|
760
745
|
*/
|
|
761
746
|
readonly search?: string;
|
|
762
747
|
|
|
763
748
|
/**
|
|
764
749
|
* Sorting column
|
|
765
|
-
* @type {string}
|
|
766
|
-
* @memberof FabricApiListFabricBuilds
|
|
767
750
|
*/
|
|
768
751
|
readonly sort?: string;
|
|
769
752
|
|
|
770
753
|
/**
|
|
771
754
|
* Sorting order
|
|
772
|
-
* @type {'asc' | 'desc'}
|
|
773
|
-
* @memberof FabricApiListFabricBuilds
|
|
774
755
|
*/
|
|
775
756
|
readonly order?: ListFabricBuildsOrderEnum;
|
|
776
757
|
|
|
777
758
|
/**
|
|
778
759
|
* Paging limit
|
|
779
|
-
* @type {number}
|
|
780
|
-
* @memberof FabricApiListFabricBuilds
|
|
781
760
|
*/
|
|
782
761
|
readonly limit?: number;
|
|
783
762
|
|
|
784
763
|
/**
|
|
785
764
|
* Paging offset
|
|
786
|
-
* @type {number}
|
|
787
|
-
* @memberof FabricApiListFabricBuilds
|
|
788
765
|
*/
|
|
789
766
|
readonly offset?: number;
|
|
790
767
|
}
|
|
791
768
|
|
|
792
769
|
/**
|
|
793
770
|
* Request parameters for listFabrics operation in FabricApi.
|
|
794
|
-
* @export
|
|
795
|
-
* @interface FabricApiListFabricsRequest
|
|
796
771
|
*/
|
|
797
772
|
export interface FabricApiListFabricsRequest {
|
|
798
773
|
/**
|
|
799
774
|
* Search query
|
|
800
|
-
* @type {string}
|
|
801
|
-
* @memberof FabricApiListFabrics
|
|
802
775
|
*/
|
|
803
776
|
readonly search?: string;
|
|
804
777
|
}
|
|
805
778
|
|
|
806
779
|
/**
|
|
807
780
|
* FabricApi - object-oriented interface
|
|
808
|
-
* @export
|
|
809
|
-
* @class FabricApi
|
|
810
|
-
* @extends {BaseAPI}
|
|
811
781
|
*/
|
|
812
782
|
export class FabricApi extends BaseAPI {
|
|
813
783
|
/**
|
|
@@ -816,7 +786,6 @@ export class FabricApi extends BaseAPI {
|
|
|
816
786
|
* @param {FabricApiAttachFabricToBuildRequest} requestParameters Request parameters.
|
|
817
787
|
* @param {*} [options] Override http request option.
|
|
818
788
|
* @throws {RequiredError}
|
|
819
|
-
* @memberof FabricApi
|
|
820
789
|
*/
|
|
821
790
|
public attachFabricToBuild(
|
|
822
791
|
requestParameters: FabricApiAttachFabricToBuildRequest,
|
|
@@ -837,7 +806,6 @@ export class FabricApi extends BaseAPI {
|
|
|
837
806
|
* @param {FabricApiDeleteFabricFromBuildRequest} requestParameters Request parameters.
|
|
838
807
|
* @param {*} [options] Override http request option.
|
|
839
808
|
* @throws {RequiredError}
|
|
840
|
-
* @memberof FabricApi
|
|
841
809
|
*/
|
|
842
810
|
public deleteFabricFromBuild(
|
|
843
811
|
requestParameters: FabricApiDeleteFabricFromBuildRequest,
|
|
@@ -858,7 +826,6 @@ export class FabricApi extends BaseAPI {
|
|
|
858
826
|
* @param {FabricApiListFabricBuildsRequest} requestParameters Request parameters.
|
|
859
827
|
* @param {*} [options] Override http request option.
|
|
860
828
|
* @throws {RequiredError}
|
|
861
|
-
* @memberof FabricApi
|
|
862
829
|
*/
|
|
863
830
|
public listFabricBuilds(
|
|
864
831
|
requestParameters: FabricApiListFabricBuildsRequest,
|
|
@@ -883,7 +850,6 @@ export class FabricApi extends BaseAPI {
|
|
|
883
850
|
* @param {FabricApiListFabricsRequest} requestParameters Request parameters.
|
|
884
851
|
* @param {*} [options] Override http request option.
|
|
885
852
|
* @throws {RequiredError}
|
|
886
|
-
* @memberof FabricApi
|
|
887
853
|
*/
|
|
888
854
|
public listFabrics(
|
|
889
855
|
requestParameters: FabricApiListFabricsRequest = {},
|
|
@@ -899,7 +865,6 @@ export class FabricApi extends BaseAPI {
|
|
|
899
865
|
* @summary Update the available Fabric versions
|
|
900
866
|
* @param {*} [options] Override http request option.
|
|
901
867
|
* @throws {RequiredError}
|
|
902
|
-
* @memberof FabricApi
|
|
903
868
|
*/
|
|
904
869
|
public updateFabric(options?: RawAxiosRequestConfig) {
|
|
905
870
|
return FabricApiFp(this.configuration)
|
|
@@ -908,9 +873,6 @@ export class FabricApi extends BaseAPI {
|
|
|
908
873
|
}
|
|
909
874
|
}
|
|
910
875
|
|
|
911
|
-
/**
|
|
912
|
-
* @export
|
|
913
|
-
*/
|
|
914
876
|
export const ListFabricBuildsOrderEnum = {
|
|
915
877
|
Asc: "asc",
|
|
916
878
|
Desc: "desc",
|