kleisterjs 2.5.1 → 2.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/RELEASE +1 -1
- package/.github/workflows/flake.yml +1 -1
- package/.github/workflows/general.yml +1 -1
- package/.github/workflows/openapi.yml +1 -1
- package/.github/workflows/release.yml +1 -1
- package/.openapi-generator/FILES +56 -55
- package/CHANGELOG.md +12 -0
- package/README.md +2 -2
- package/api/auth-api.ts +251 -147
- package/api/fabric-api.ts +47 -67
- package/api/forge-api.ts +47 -67
- package/api/{team-api.ts → group-api.ts} +921 -936
- package/api/minecraft-api.ts +44 -67
- package/api/mod-api.ts +1016 -461
- package/api/neoforge-api.ts +47 -67
- package/api/pack-api.ts +378 -419
- package/api/profile-api.ts +18 -21
- package/api/quilt-api.ts +48 -68
- package/api/user-api.ts +554 -580
- package/api.ts +1 -1
- package/flake.lock +9 -9
- package/model/attach-build-to-version-request.ts +33 -0
- package/model/attach-minecraft-to-build-request.ts +33 -0
- package/model/build.ts +0 -6
- package/model/create-build-request.ts +87 -0
- package/model/{quilt-build-params.ts → create-group-request.ts} +7 -7
- package/model/{pack-icon.ts → create-mod-request.ts} +19 -25
- package/model/create-pack-request.ts +45 -0
- package/model/create-user-request.ts +57 -0
- package/model/create-version-request.ts +39 -0
- package/model/delete-group-from-mod-request.ts +27 -0
- package/model/delete-group-from-pack-request.ts +27 -0
- package/model/delete-pack-from-group-request.ts +27 -0
- package/model/delete-pack-from-user-request.ts +27 -0
- package/model/{team-mod.ts → group-mod.ts} +19 -19
- package/model/{team-pack.ts → group-pack.ts} +19 -19
- package/model/{team.ts → group.ts} +8 -8
- package/model/index.ts +55 -54
- package/model/{build-versions.ts → list-build-versions200-response.ts} +25 -13
- package/model/{builds.ts → list-builds200-response.ts} +20 -8
- package/model/{fabric-builds.ts → list-fabric-builds200-response.ts} +22 -10
- package/model/{fabrics.ts → list-fabrics200-response.ts} +19 -7
- package/model/{forge-builds.ts → list-forge-builds200-response.ts} +22 -10
- package/model/{forges.ts → list-forges200-response.ts} +19 -7
- package/model/list-group-mods200-response.ts +58 -0
- package/model/list-group-packs200-response.ts +58 -0
- package/model/list-group-users200-response.ts +58 -0
- package/model/list-groups200-response.ts +49 -0
- package/model/{minecraft-builds.ts → list-minecraft-builds200-response.ts} +22 -10
- package/model/{minecrafts.ts → list-minecrafts200-response.ts} +19 -7
- package/model/{mod-teams.ts → list-mod-groups200-response.ts} +25 -13
- package/model/{mod-users.ts → list-mod-users200-response.ts} +22 -10
- package/model/{mods.ts → list-mods200-response.ts} +19 -7
- package/model/{neoforge-builds.ts → list-neoforge-builds200-response.ts} +22 -10
- package/model/{neoforges.ts → list-neoforges200-response.ts} +19 -7
- package/model/{pack-teams.ts → list-pack-groups200-response.ts} +25 -13
- package/model/{pack-users.ts → list-pack-users200-response.ts} +22 -10
- package/model/{packs.ts → list-packs200-response.ts} +19 -7
- package/model/{providers.ts → list-providers200-response.ts} +7 -7
- package/model/{quilt-builds.ts → list-quilt-builds200-response.ts} +22 -10
- package/model/{quilts.ts → list-quilts200-response.ts} +19 -7
- package/model/{user-teams.ts → list-user-groups200-response.ts} +24 -12
- package/model/{user-mods.ts → list-user-mods200-response.ts} +22 -10
- package/model/{user-packs.ts → list-user-packs200-response.ts} +22 -10
- package/model/{users.ts → list-users200-response.ts} +19 -7
- package/model/{version-builds.ts → list-version-builds200-response.ts} +25 -13
- package/model/{versions.ts → list-versions200-response.ts} +20 -8
- package/model/{auth-login.ts → login-auth-request.ts} +4 -4
- package/model/mod-avatar.ts +45 -0
- package/model/mod.ts +10 -0
- package/model/pack-avatar.ts +45 -0
- package/model/pack.ts +3 -21
- package/model/{build-version-params.ts → permit-group-mod-request.ts} +6 -6
- package/model/{forge-build-params.ts → permit-group-pack-request.ts} +6 -6
- package/model/{fabric-build-params.ts → permit-pack-group-request.ts} +7 -7
- package/model/permit-pack-user-request.ts +33 -0
- package/model/profile.ts +9 -9
- package/model/redirect-auth-request.ts +27 -0
- package/model/update-profile-request.ts +45 -0
- package/model/update-user-request.ts +57 -0
- package/model/{user-team.ts → user-group.ts} +19 -19
- package/model/version-file.ts +0 -12
- package/model/version.ts +0 -6
- package/openapi.yml +1 -1
- package/package.json +1 -1
- package/model/minecraft-build-params.ts +0 -33
- package/model/mod-team-params.ts +0 -42
- package/model/mod-user-params.ts +0 -42
- package/model/neoforge-build-params.ts +0 -33
- package/model/pack-back.ts +0 -75
- package/model/pack-logo.ts +0 -75
- package/model/pack-team-params.ts +0 -42
- package/model/pack-user-params.ts +0 -42
- package/model/team-mod-params.ts +0 -42
- package/model/team-mods.ts +0 -46
- package/model/team-pack-params.ts +0 -42
- package/model/team-packs.ts +0 -46
- package/model/team-user-params.ts +0 -42
- package/model/team-users.ts +0 -46
- package/model/teams.ts +0 -37
- package/model/user-mod-params.ts +0 -42
- package/model/user-pack-params.ts +0 -42
- package/model/user-team-params.ts +0 -42
- package/model/version-build-params.ts +0 -33
package/api/minecraft-api.ts
CHANGED
|
@@ -42,11 +42,11 @@ import {
|
|
|
42
42
|
operationServerMap,
|
|
43
43
|
} from "../base";
|
|
44
44
|
// @ts-ignore
|
|
45
|
-
import type {
|
|
45
|
+
import type { AttachMinecraftToBuildRequest } from "../model";
|
|
46
46
|
// @ts-ignore
|
|
47
|
-
import type {
|
|
47
|
+
import type { ListMinecraftBuilds200Response } from "../model";
|
|
48
48
|
// @ts-ignore
|
|
49
|
-
import type {
|
|
49
|
+
import type { ListMinecrafts200Response } from "../model";
|
|
50
50
|
// @ts-ignore
|
|
51
51
|
import type { Notification } from "../model";
|
|
52
52
|
/**
|
|
@@ -61,22 +61,22 @@ export const MinecraftApiAxiosParamCreator = function (
|
|
|
61
61
|
*
|
|
62
62
|
* @summary Attach a build to a Minecraft version
|
|
63
63
|
* @param {string} minecraftId A minecraft identifier or slug
|
|
64
|
-
* @param {
|
|
64
|
+
* @param {AttachMinecraftToBuildRequest} attachMinecraftToBuildRequest The minecraft build data to create or update
|
|
65
65
|
* @param {*} [options] Override http request option.
|
|
66
66
|
* @throws {RequiredError}
|
|
67
67
|
*/
|
|
68
68
|
attachMinecraftToBuild: async (
|
|
69
69
|
minecraftId: string,
|
|
70
|
-
|
|
70
|
+
attachMinecraftToBuildRequest: AttachMinecraftToBuildRequest,
|
|
71
71
|
options: RawAxiosRequestConfig = {},
|
|
72
72
|
): Promise<RequestArgs> => {
|
|
73
73
|
// verify required parameter 'minecraftId' is not null or undefined
|
|
74
74
|
assertParamExists("attachMinecraftToBuild", "minecraftId", minecraftId);
|
|
75
|
-
// verify required parameter '
|
|
75
|
+
// verify required parameter 'attachMinecraftToBuildRequest' is not null or undefined
|
|
76
76
|
assertParamExists(
|
|
77
77
|
"attachMinecraftToBuild",
|
|
78
|
-
"
|
|
79
|
-
|
|
78
|
+
"attachMinecraftToBuildRequest",
|
|
79
|
+
attachMinecraftToBuildRequest,
|
|
80
80
|
);
|
|
81
81
|
const localVarPath = `/minecraft/{minecraft_id}/builds`.replace(
|
|
82
82
|
`{${"minecraft_id"}}`,
|
|
@@ -97,9 +97,6 @@ export const MinecraftApiAxiosParamCreator = function (
|
|
|
97
97
|
const localVarHeaderParameter = {} as any;
|
|
98
98
|
const localVarQueryParameter = {} as any;
|
|
99
99
|
|
|
100
|
-
// authentication Cookie required
|
|
101
|
-
await setApiKeyToObject(localVarHeaderParameter, "Cookie", configuration);
|
|
102
|
-
|
|
103
100
|
// authentication Basic required
|
|
104
101
|
// http basic authentication required
|
|
105
102
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
@@ -126,7 +123,7 @@ export const MinecraftApiAxiosParamCreator = function (
|
|
|
126
123
|
...options.headers,
|
|
127
124
|
};
|
|
128
125
|
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
129
|
-
|
|
126
|
+
attachMinecraftToBuildRequest,
|
|
130
127
|
localVarRequestOptions,
|
|
131
128
|
configuration,
|
|
132
129
|
);
|
|
@@ -140,22 +137,22 @@ export const MinecraftApiAxiosParamCreator = function (
|
|
|
140
137
|
*
|
|
141
138
|
* @summary Unlink a build from a Minecraft version
|
|
142
139
|
* @param {string} minecraftId A minecraft identifier or slug
|
|
143
|
-
* @param {
|
|
140
|
+
* @param {AttachMinecraftToBuildRequest} attachMinecraftToBuildRequest The minecraft build data to create or update
|
|
144
141
|
* @param {*} [options] Override http request option.
|
|
145
142
|
* @throws {RequiredError}
|
|
146
143
|
*/
|
|
147
144
|
deleteMinecraftFromBuild: async (
|
|
148
145
|
minecraftId: string,
|
|
149
|
-
|
|
146
|
+
attachMinecraftToBuildRequest: AttachMinecraftToBuildRequest,
|
|
150
147
|
options: RawAxiosRequestConfig = {},
|
|
151
148
|
): Promise<RequestArgs> => {
|
|
152
149
|
// verify required parameter 'minecraftId' is not null or undefined
|
|
153
150
|
assertParamExists("deleteMinecraftFromBuild", "minecraftId", minecraftId);
|
|
154
|
-
// verify required parameter '
|
|
151
|
+
// verify required parameter 'attachMinecraftToBuildRequest' is not null or undefined
|
|
155
152
|
assertParamExists(
|
|
156
153
|
"deleteMinecraftFromBuild",
|
|
157
|
-
"
|
|
158
|
-
|
|
154
|
+
"attachMinecraftToBuildRequest",
|
|
155
|
+
attachMinecraftToBuildRequest,
|
|
159
156
|
);
|
|
160
157
|
const localVarPath = `/minecraft/{minecraft_id}/builds`.replace(
|
|
161
158
|
`{${"minecraft_id"}}`,
|
|
@@ -176,9 +173,6 @@ export const MinecraftApiAxiosParamCreator = function (
|
|
|
176
173
|
const localVarHeaderParameter = {} as any;
|
|
177
174
|
const localVarQueryParameter = {} as any;
|
|
178
175
|
|
|
179
|
-
// authentication Cookie required
|
|
180
|
-
await setApiKeyToObject(localVarHeaderParameter, "Cookie", configuration);
|
|
181
|
-
|
|
182
176
|
// authentication Basic required
|
|
183
177
|
// http basic authentication required
|
|
184
178
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
@@ -205,7 +199,7 @@ export const MinecraftApiAxiosParamCreator = function (
|
|
|
205
199
|
...options.headers,
|
|
206
200
|
};
|
|
207
201
|
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
208
|
-
|
|
202
|
+
attachMinecraftToBuildRequest,
|
|
209
203
|
localVarRequestOptions,
|
|
210
204
|
configuration,
|
|
211
205
|
);
|
|
@@ -220,7 +214,7 @@ export const MinecraftApiAxiosParamCreator = function (
|
|
|
220
214
|
* @summary Fetch the builds attached to a Minecraft version
|
|
221
215
|
* @param {string} minecraftId A minecraft identifier or slug
|
|
222
216
|
* @param {string} [search] Search query
|
|
223
|
-
* @param {
|
|
217
|
+
* @param {string} [sort] Sorting column
|
|
224
218
|
* @param {ListMinecraftBuildsOrderEnum} [order] Sorting order
|
|
225
219
|
* @param {number} [limit] Paging limit
|
|
226
220
|
* @param {number} [offset] Paging offset
|
|
@@ -230,7 +224,7 @@ export const MinecraftApiAxiosParamCreator = function (
|
|
|
230
224
|
listMinecraftBuilds: async (
|
|
231
225
|
minecraftId: string,
|
|
232
226
|
search?: string,
|
|
233
|
-
sort?:
|
|
227
|
+
sort?: string,
|
|
234
228
|
order?: ListMinecraftBuildsOrderEnum,
|
|
235
229
|
limit?: number,
|
|
236
230
|
offset?: number,
|
|
@@ -257,9 +251,6 @@ export const MinecraftApiAxiosParamCreator = function (
|
|
|
257
251
|
const localVarHeaderParameter = {} as any;
|
|
258
252
|
const localVarQueryParameter = {} as any;
|
|
259
253
|
|
|
260
|
-
// authentication Cookie required
|
|
261
|
-
await setApiKeyToObject(localVarHeaderParameter, "Cookie", configuration);
|
|
262
|
-
|
|
263
254
|
// authentication Basic required
|
|
264
255
|
// http basic authentication required
|
|
265
256
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
@@ -336,9 +327,6 @@ export const MinecraftApiAxiosParamCreator = function (
|
|
|
336
327
|
const localVarHeaderParameter = {} as any;
|
|
337
328
|
const localVarQueryParameter = {} as any;
|
|
338
329
|
|
|
339
|
-
// authentication Cookie required
|
|
340
|
-
await setApiKeyToObject(localVarHeaderParameter, "Cookie", configuration);
|
|
341
|
-
|
|
342
330
|
// authentication Basic required
|
|
343
331
|
// http basic authentication required
|
|
344
332
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
@@ -397,9 +385,6 @@ export const MinecraftApiAxiosParamCreator = function (
|
|
|
397
385
|
const localVarHeaderParameter = {} as any;
|
|
398
386
|
const localVarQueryParameter = {} as any;
|
|
399
387
|
|
|
400
|
-
// authentication Cookie required
|
|
401
|
-
await setApiKeyToObject(localVarHeaderParameter, "Cookie", configuration);
|
|
402
|
-
|
|
403
388
|
// authentication Basic required
|
|
404
389
|
// http basic authentication required
|
|
405
390
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
@@ -444,13 +429,13 @@ export const MinecraftApiFp = function (configuration?: Configuration) {
|
|
|
444
429
|
*
|
|
445
430
|
* @summary Attach a build to a Minecraft version
|
|
446
431
|
* @param {string} minecraftId A minecraft identifier or slug
|
|
447
|
-
* @param {
|
|
432
|
+
* @param {AttachMinecraftToBuildRequest} attachMinecraftToBuildRequest The minecraft build data to create or update
|
|
448
433
|
* @param {*} [options] Override http request option.
|
|
449
434
|
* @throws {RequiredError}
|
|
450
435
|
*/
|
|
451
436
|
async attachMinecraftToBuild(
|
|
452
437
|
minecraftId: string,
|
|
453
|
-
|
|
438
|
+
attachMinecraftToBuildRequest: AttachMinecraftToBuildRequest,
|
|
454
439
|
options?: RawAxiosRequestConfig,
|
|
455
440
|
): Promise<
|
|
456
441
|
(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Notification>
|
|
@@ -458,7 +443,7 @@ export const MinecraftApiFp = function (configuration?: Configuration) {
|
|
|
458
443
|
const localVarAxiosArgs =
|
|
459
444
|
await localVarAxiosParamCreator.attachMinecraftToBuild(
|
|
460
445
|
minecraftId,
|
|
461
|
-
|
|
446
|
+
attachMinecraftToBuildRequest,
|
|
462
447
|
options,
|
|
463
448
|
);
|
|
464
449
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
@@ -478,13 +463,13 @@ export const MinecraftApiFp = function (configuration?: Configuration) {
|
|
|
478
463
|
*
|
|
479
464
|
* @summary Unlink a build from a Minecraft version
|
|
480
465
|
* @param {string} minecraftId A minecraft identifier or slug
|
|
481
|
-
* @param {
|
|
466
|
+
* @param {AttachMinecraftToBuildRequest} attachMinecraftToBuildRequest The minecraft build data to create or update
|
|
482
467
|
* @param {*} [options] Override http request option.
|
|
483
468
|
* @throws {RequiredError}
|
|
484
469
|
*/
|
|
485
470
|
async deleteMinecraftFromBuild(
|
|
486
471
|
minecraftId: string,
|
|
487
|
-
|
|
472
|
+
attachMinecraftToBuildRequest: AttachMinecraftToBuildRequest,
|
|
488
473
|
options?: RawAxiosRequestConfig,
|
|
489
474
|
): Promise<
|
|
490
475
|
(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Notification>
|
|
@@ -492,7 +477,7 @@ export const MinecraftApiFp = function (configuration?: Configuration) {
|
|
|
492
477
|
const localVarAxiosArgs =
|
|
493
478
|
await localVarAxiosParamCreator.deleteMinecraftFromBuild(
|
|
494
479
|
minecraftId,
|
|
495
|
-
|
|
480
|
+
attachMinecraftToBuildRequest,
|
|
496
481
|
options,
|
|
497
482
|
);
|
|
498
483
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
@@ -513,7 +498,7 @@ export const MinecraftApiFp = function (configuration?: Configuration) {
|
|
|
513
498
|
* @summary Fetch the builds attached to a Minecraft version
|
|
514
499
|
* @param {string} minecraftId A minecraft identifier or slug
|
|
515
500
|
* @param {string} [search] Search query
|
|
516
|
-
* @param {
|
|
501
|
+
* @param {string} [sort] Sorting column
|
|
517
502
|
* @param {ListMinecraftBuildsOrderEnum} [order] Sorting order
|
|
518
503
|
* @param {number} [limit] Paging limit
|
|
519
504
|
* @param {number} [offset] Paging offset
|
|
@@ -523,7 +508,7 @@ export const MinecraftApiFp = function (configuration?: Configuration) {
|
|
|
523
508
|
async listMinecraftBuilds(
|
|
524
509
|
minecraftId: string,
|
|
525
510
|
search?: string,
|
|
526
|
-
sort?:
|
|
511
|
+
sort?: string,
|
|
527
512
|
order?: ListMinecraftBuildsOrderEnum,
|
|
528
513
|
limit?: number,
|
|
529
514
|
offset?: number,
|
|
@@ -532,7 +517,7 @@ export const MinecraftApiFp = function (configuration?: Configuration) {
|
|
|
532
517
|
(
|
|
533
518
|
axios?: AxiosInstance,
|
|
534
519
|
basePath?: string,
|
|
535
|
-
) => AxiosPromise<
|
|
520
|
+
) => AxiosPromise<ListMinecraftBuilds200Response>
|
|
536
521
|
> {
|
|
537
522
|
const localVarAxiosArgs =
|
|
538
523
|
await localVarAxiosParamCreator.listMinecraftBuilds(
|
|
@@ -568,7 +553,10 @@ export const MinecraftApiFp = function (configuration?: Configuration) {
|
|
|
568
553
|
search?: string,
|
|
569
554
|
options?: RawAxiosRequestConfig,
|
|
570
555
|
): Promise<
|
|
571
|
-
(
|
|
556
|
+
(
|
|
557
|
+
axios?: AxiosInstance,
|
|
558
|
+
basePath?: string,
|
|
559
|
+
) => AxiosPromise<ListMinecrafts200Response>
|
|
572
560
|
> {
|
|
573
561
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listMinecrafts(
|
|
574
562
|
search,
|
|
@@ -641,7 +629,7 @@ export const MinecraftApiFactory = function (
|
|
|
641
629
|
return localVarFp
|
|
642
630
|
.attachMinecraftToBuild(
|
|
643
631
|
requestParameters.minecraftId,
|
|
644
|
-
requestParameters.
|
|
632
|
+
requestParameters.attachMinecraftToBuildRequest,
|
|
645
633
|
options,
|
|
646
634
|
)
|
|
647
635
|
.then((request) => request(axios, basePath));
|
|
@@ -660,7 +648,7 @@ export const MinecraftApiFactory = function (
|
|
|
660
648
|
return localVarFp
|
|
661
649
|
.deleteMinecraftFromBuild(
|
|
662
650
|
requestParameters.minecraftId,
|
|
663
|
-
requestParameters.
|
|
651
|
+
requestParameters.attachMinecraftToBuildRequest,
|
|
664
652
|
options,
|
|
665
653
|
)
|
|
666
654
|
.then((request) => request(axios, basePath));
|
|
@@ -675,7 +663,7 @@ export const MinecraftApiFactory = function (
|
|
|
675
663
|
listMinecraftBuilds(
|
|
676
664
|
requestParameters: MinecraftApiListMinecraftBuildsRequest,
|
|
677
665
|
options?: RawAxiosRequestConfig,
|
|
678
|
-
): AxiosPromise<
|
|
666
|
+
): AxiosPromise<ListMinecraftBuilds200Response> {
|
|
679
667
|
return localVarFp
|
|
680
668
|
.listMinecraftBuilds(
|
|
681
669
|
requestParameters.minecraftId,
|
|
@@ -698,7 +686,7 @@ export const MinecraftApiFactory = function (
|
|
|
698
686
|
listMinecrafts(
|
|
699
687
|
requestParameters: MinecraftApiListMinecraftsRequest = {},
|
|
700
688
|
options?: RawAxiosRequestConfig,
|
|
701
|
-
): AxiosPromise<
|
|
689
|
+
): AxiosPromise<ListMinecrafts200Response> {
|
|
702
690
|
return localVarFp
|
|
703
691
|
.listMinecrafts(requestParameters.search, options)
|
|
704
692
|
.then((request) => request(axios, basePath));
|
|
@@ -733,11 +721,11 @@ export interface MinecraftApiAttachMinecraftToBuildRequest {
|
|
|
733
721
|
readonly minecraftId: string;
|
|
734
722
|
|
|
735
723
|
/**
|
|
736
|
-
* The build data to
|
|
737
|
-
* @type {
|
|
724
|
+
* The minecraft build data to create or update
|
|
725
|
+
* @type {AttachMinecraftToBuildRequest}
|
|
738
726
|
* @memberof MinecraftApiAttachMinecraftToBuild
|
|
739
727
|
*/
|
|
740
|
-
readonly
|
|
728
|
+
readonly attachMinecraftToBuildRequest: AttachMinecraftToBuildRequest;
|
|
741
729
|
}
|
|
742
730
|
|
|
743
731
|
/**
|
|
@@ -754,11 +742,11 @@ export interface MinecraftApiDeleteMinecraftFromBuildRequest {
|
|
|
754
742
|
readonly minecraftId: string;
|
|
755
743
|
|
|
756
744
|
/**
|
|
757
|
-
* The build data to
|
|
758
|
-
* @type {
|
|
745
|
+
* The minecraft build data to create or update
|
|
746
|
+
* @type {AttachMinecraftToBuildRequest}
|
|
759
747
|
* @memberof MinecraftApiDeleteMinecraftFromBuild
|
|
760
748
|
*/
|
|
761
|
-
readonly
|
|
749
|
+
readonly attachMinecraftToBuildRequest: AttachMinecraftToBuildRequest;
|
|
762
750
|
}
|
|
763
751
|
|
|
764
752
|
/**
|
|
@@ -783,10 +771,10 @@ export interface MinecraftApiListMinecraftBuildsRequest {
|
|
|
783
771
|
|
|
784
772
|
/**
|
|
785
773
|
* Sorting column
|
|
786
|
-
* @type {
|
|
774
|
+
* @type {string}
|
|
787
775
|
* @memberof MinecraftApiListMinecraftBuilds
|
|
788
776
|
*/
|
|
789
|
-
readonly sort?:
|
|
777
|
+
readonly sort?: string;
|
|
790
778
|
|
|
791
779
|
/**
|
|
792
780
|
* Sorting order
|
|
@@ -846,7 +834,7 @@ export class MinecraftApi extends BaseAPI {
|
|
|
846
834
|
return MinecraftApiFp(this.configuration)
|
|
847
835
|
.attachMinecraftToBuild(
|
|
848
836
|
requestParameters.minecraftId,
|
|
849
|
-
requestParameters.
|
|
837
|
+
requestParameters.attachMinecraftToBuildRequest,
|
|
850
838
|
options,
|
|
851
839
|
)
|
|
852
840
|
.then((request) => request(this.axios, this.basePath));
|
|
@@ -867,7 +855,7 @@ export class MinecraftApi extends BaseAPI {
|
|
|
867
855
|
return MinecraftApiFp(this.configuration)
|
|
868
856
|
.deleteMinecraftFromBuild(
|
|
869
857
|
requestParameters.minecraftId,
|
|
870
|
-
requestParameters.
|
|
858
|
+
requestParameters.attachMinecraftToBuildRequest,
|
|
871
859
|
options,
|
|
872
860
|
)
|
|
873
861
|
.then((request) => request(this.axios, this.basePath));
|
|
@@ -929,17 +917,6 @@ export class MinecraftApi extends BaseAPI {
|
|
|
929
917
|
}
|
|
930
918
|
}
|
|
931
919
|
|
|
932
|
-
/**
|
|
933
|
-
* @export
|
|
934
|
-
*/
|
|
935
|
-
export const ListMinecraftBuildsSortEnum = {
|
|
936
|
-
BuildName: "build_name",
|
|
937
|
-
BuildPublic: "build_public",
|
|
938
|
-
PackSlug: "pack_slug",
|
|
939
|
-
PackName: "pack_name",
|
|
940
|
-
} as const;
|
|
941
|
-
export type ListMinecraftBuildsSortEnum =
|
|
942
|
-
(typeof ListMinecraftBuildsSortEnum)[keyof typeof ListMinecraftBuildsSortEnum];
|
|
943
920
|
/**
|
|
944
921
|
* @export
|
|
945
922
|
*/
|