@mittwald/api-client 4.390.0 → 4.392.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/dist/esm/generated/v2/client-react.js +2 -2
- package/dist/esm/generated/v2/client.js +6 -2
- package/dist/esm/generated/v2/descriptors.js +18 -6
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +20 -20
- package/dist/types/generated/v2/client.d.ts +285 -104
- package/dist/types/generated/v2/descriptors.d.ts +6 -2
- package/dist/types/generated/v2/types.d.ts +330 -183
- package/dist/types/version.d.ts +1 -1
- package/package.json +4 -4
|
@@ -78,6 +78,8 @@ const buildContainerApi = (baseClient) => ({
|
|
|
78
78
|
callPullImageWebhookForService: new ApiCallAsyncResourceFactory(descriptors.containerCallPullImageWebhookForService, baseClient.container.callPullImageWebhookForService).getApiResource,
|
|
79
79
|
/** List Registries belonging to a Project. */
|
|
80
80
|
listRegistries: new ApiCallAsyncResourceFactory(descriptors.containerListRegistries, baseClient.container.listRegistries).getApiResource,
|
|
81
|
+
/** List Stacks belonging to a Project. */
|
|
82
|
+
listStacks: new ApiCallAsyncResourceFactory(descriptors.containerListStacks, baseClient.container.listStacks).getApiResource,
|
|
81
83
|
/** Get a Stack. */
|
|
82
84
|
getStack: new ApiCallAsyncResourceFactory(descriptors.containerGetStack, baseClient.container.getStack).getApiResource,
|
|
83
85
|
/** Get a Registry. */
|
|
@@ -96,8 +98,6 @@ const buildContainerApi = (baseClient) => ({
|
|
|
96
98
|
listServices: new ApiCallAsyncResourceFactory(descriptors.containerListServices, baseClient.container.listServices).getApiResource,
|
|
97
99
|
/** List Volumes belonging to a Stack. */
|
|
98
100
|
listStackVolumes: new ApiCallAsyncResourceFactory(descriptors.containerListStackVolumes, baseClient.container.listStackVolumes).getApiResource,
|
|
99
|
-
/** List Stacks belonging to a Project. */
|
|
100
|
-
listStacks: new ApiCallAsyncResourceFactory(descriptors.containerListStacks, baseClient.container.listStacks).getApiResource,
|
|
101
101
|
/** List Volumes belonging to a Project. */
|
|
102
102
|
listVolumes: new ApiCallAsyncResourceFactory(descriptors.containerListVolumes, baseClient.container.listVolumes).getApiResource,
|
|
103
103
|
});
|
|
@@ -140,10 +140,16 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
140
140
|
listRegistries: this.requestFunctionFactory(descriptors.containerListRegistries),
|
|
141
141
|
/** Create a Registry. */
|
|
142
142
|
createRegistry: this.requestFunctionFactory(descriptors.containerCreateRegistry),
|
|
143
|
+
/** List Stacks belonging to a Project. */
|
|
144
|
+
listStacks: this.requestFunctionFactory(descriptors.containerListStacks),
|
|
145
|
+
/** Create a Stack. */
|
|
146
|
+
createStack: this.requestFunctionFactory(descriptors.containerCreateStack),
|
|
143
147
|
/** Get a Stack. */
|
|
144
148
|
getStack: this.requestFunctionFactory(descriptors.containerGetStack),
|
|
145
149
|
/** Declaratively create, update or delete Services or Volumes belonging to a Stack. */
|
|
146
150
|
declareStack: this.requestFunctionFactory(descriptors.containerDeclareStack),
|
|
151
|
+
/** Delete a Stack. */
|
|
152
|
+
deleteStack: this.requestFunctionFactory(descriptors.containerDeleteStack),
|
|
147
153
|
/** Create, update or delete Services or Volumes belonging to a Stack. */
|
|
148
154
|
updateStack: this.requestFunctionFactory(descriptors.containerUpdateStack),
|
|
149
155
|
/** Get a Registry. */
|
|
@@ -168,8 +174,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
168
174
|
listServices: this.requestFunctionFactory(descriptors.containerListServices),
|
|
169
175
|
/** List Volumes belonging to a Stack. */
|
|
170
176
|
listStackVolumes: this.requestFunctionFactory(descriptors.containerListStackVolumes),
|
|
171
|
-
/** List Stacks belonging to a Project. */
|
|
172
|
-
listStacks: this.requestFunctionFactory(descriptors.containerListStacks),
|
|
173
177
|
/** List Volumes belonging to a Project. */
|
|
174
178
|
listVolumes: this.requestFunctionFactory(descriptors.containerListVolumes),
|
|
175
179
|
/** Pull image and recreate */
|
|
@@ -364,6 +364,18 @@ export const containerCreateRegistry = {
|
|
|
364
364
|
method: "POST",
|
|
365
365
|
operationId: "container-create-registry",
|
|
366
366
|
};
|
|
367
|
+
/** List Stacks belonging to a Project. */
|
|
368
|
+
export const containerListStacks = {
|
|
369
|
+
path: "/v2/projects/{projectId}/stacks",
|
|
370
|
+
method: "GET",
|
|
371
|
+
operationId: "container-list-stacks",
|
|
372
|
+
};
|
|
373
|
+
/** Create a Stack. */
|
|
374
|
+
export const containerCreateStack = {
|
|
375
|
+
path: "/v2/projects/{projectId}/stacks",
|
|
376
|
+
method: "POST",
|
|
377
|
+
operationId: "container-create-stack",
|
|
378
|
+
};
|
|
367
379
|
/** Get a Stack. */
|
|
368
380
|
export const containerGetStack = {
|
|
369
381
|
path: "/v2/stacks/{stackId}",
|
|
@@ -376,6 +388,12 @@ export const containerDeclareStack = {
|
|
|
376
388
|
method: "PUT",
|
|
377
389
|
operationId: "container-declare-stack",
|
|
378
390
|
};
|
|
391
|
+
/** Delete a Stack. */
|
|
392
|
+
export const containerDeleteStack = {
|
|
393
|
+
path: "/v2/stacks/{stackId}",
|
|
394
|
+
method: "DELETE",
|
|
395
|
+
operationId: "container-delete-stack",
|
|
396
|
+
};
|
|
379
397
|
/** Create, update or delete Services or Volumes belonging to a Stack. */
|
|
380
398
|
export const containerUpdateStack = {
|
|
381
399
|
path: "/v2/stacks/{stackId}",
|
|
@@ -448,12 +466,6 @@ export const containerListStackVolumes = {
|
|
|
448
466
|
method: "GET",
|
|
449
467
|
operationId: "container-list-stack-volumes",
|
|
450
468
|
};
|
|
451
|
-
/** List Stacks belonging to a Project. */
|
|
452
|
-
export const containerListStacks = {
|
|
453
|
-
path: "/v2/projects/{projectId}/stacks",
|
|
454
|
-
method: "GET",
|
|
455
|
-
operationId: "container-list-stacks",
|
|
456
|
-
};
|
|
457
469
|
/** List Volumes belonging to a Project. */
|
|
458
470
|
export const containerListVolumes = {
|
|
459
471
|
path: "/v2/projects/{projectId}/volumes",
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export const MittwaldAPIClientVersion = '4.391.0';
|
|
@@ -538,6 +538,20 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
538
538
|
page?: number | undefined;
|
|
539
539
|
} | undefined;
|
|
540
540
|
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerRegistry[]>;
|
|
541
|
+
/** List Stacks belonging to a Project. */
|
|
542
|
+
listStacks: (conf: {
|
|
543
|
+
projectId: string;
|
|
544
|
+
headers?: {
|
|
545
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
546
|
+
"x-access-token"?: string | undefined;
|
|
547
|
+
} | undefined;
|
|
548
|
+
queryParameters?: {
|
|
549
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
550
|
+
limit?: number | undefined;
|
|
551
|
+
skip?: number | undefined;
|
|
552
|
+
page?: number | undefined;
|
|
553
|
+
} | undefined;
|
|
554
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerStackResponse[]>;
|
|
541
555
|
/** Get a Stack. */
|
|
542
556
|
getStack: (conf: {
|
|
543
557
|
stackId: string;
|
|
@@ -703,20 +717,6 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
703
717
|
page?: number | undefined;
|
|
704
718
|
} | undefined;
|
|
705
719
|
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerVolumeResponse[]>;
|
|
706
|
-
/** List Stacks belonging to a Project. */
|
|
707
|
-
listStacks: (conf: {
|
|
708
|
-
projectId: string;
|
|
709
|
-
headers?: {
|
|
710
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
711
|
-
"x-access-token"?: string | undefined;
|
|
712
|
-
} | undefined;
|
|
713
|
-
queryParameters?: {
|
|
714
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
715
|
-
limit?: number | undefined;
|
|
716
|
-
skip?: number | undefined;
|
|
717
|
-
page?: number | undefined;
|
|
718
|
-
} | undefined;
|
|
719
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerStackResponse[]>;
|
|
720
720
|
/** List Volumes belonging to a Project. */
|
|
721
721
|
listVolumes: (conf: {
|
|
722
722
|
projectId: string;
|
|
@@ -1628,7 +1628,13 @@ declare const buildConversationApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1628
1628
|
category?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationCategory | undefined;
|
|
1629
1629
|
conversationId: string;
|
|
1630
1630
|
createdAt: string;
|
|
1631
|
+
createdBy?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationUser | undefined;
|
|
1632
|
+
lastMessage?: {
|
|
1633
|
+
createdAt: string;
|
|
1634
|
+
createdBy?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationUser;
|
|
1635
|
+
} | undefined;
|
|
1631
1636
|
lastMessageAt?: string | undefined;
|
|
1637
|
+
lastMessageBy?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationUser | undefined;
|
|
1632
1638
|
mainUser: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationUser;
|
|
1633
1639
|
notificationRoles?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationNotificationRole[] | undefined;
|
|
1634
1640
|
relatedTo?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationRelatedAggregateReference | undefined;
|
|
@@ -1638,12 +1644,6 @@ declare const buildConversationApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1638
1644
|
status: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationStatus;
|
|
1639
1645
|
title: string;
|
|
1640
1646
|
visibility: "shared" | "private";
|
|
1641
|
-
createdBy?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationUser | undefined;
|
|
1642
|
-
lastMessage?: {
|
|
1643
|
-
createdAt: string;
|
|
1644
|
-
createdBy?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationUser;
|
|
1645
|
-
} | undefined;
|
|
1646
|
-
lastMessageBy?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationUser | undefined;
|
|
1647
1647
|
}>;
|
|
1648
1648
|
/** Request an access token for the File belonging to the Conversation. */
|
|
1649
1649
|
getFileAccessToken: (conf: {
|
|
@@ -3868,6 +3868,202 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
3868
3868
|
}, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
3869
3869
|
[x: string]: unknown;
|
|
3870
3870
|
}, 500, "application/json">>>;
|
|
3871
|
+
/** List Stacks belonging to a Project. */
|
|
3872
|
+
listStacks: (request: {
|
|
3873
|
+
projectId: string;
|
|
3874
|
+
headers?: {
|
|
3875
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
3876
|
+
"x-access-token"?: string | undefined;
|
|
3877
|
+
} | undefined;
|
|
3878
|
+
queryParameters?: {
|
|
3879
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
3880
|
+
limit?: number | undefined;
|
|
3881
|
+
skip?: number | undefined;
|
|
3882
|
+
page?: number | undefined;
|
|
3883
|
+
} | undefined;
|
|
3884
|
+
}, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
3885
|
+
headers?: Partial<{
|
|
3886
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
3887
|
+
}>;
|
|
3888
|
+
} & {
|
|
3889
|
+
pathParameters: {
|
|
3890
|
+
projectId: string;
|
|
3891
|
+
};
|
|
3892
|
+
} & {
|
|
3893
|
+
queryParameters: {
|
|
3894
|
+
limit?: number | undefined;
|
|
3895
|
+
skip?: number | undefined;
|
|
3896
|
+
page?: number | undefined;
|
|
3897
|
+
} & Partial<{
|
|
3898
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
3899
|
+
}>;
|
|
3900
|
+
} & {
|
|
3901
|
+
headers: {
|
|
3902
|
+
"x-access-token"?: string | undefined;
|
|
3903
|
+
} & Partial<{
|
|
3904
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
3905
|
+
}>;
|
|
3906
|
+
}, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerStackResponse[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
3907
|
+
[x: string]: unknown;
|
|
3908
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
3909
|
+
[x: string]: unknown;
|
|
3910
|
+
}, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
3911
|
+
[x: string]: unknown;
|
|
3912
|
+
}, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
3913
|
+
[x: string]: unknown;
|
|
3914
|
+
}, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
3915
|
+
headers?: Partial<{
|
|
3916
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
3917
|
+
}>;
|
|
3918
|
+
} & {
|
|
3919
|
+
pathParameters: {
|
|
3920
|
+
projectId: string;
|
|
3921
|
+
};
|
|
3922
|
+
} & {
|
|
3923
|
+
queryParameters: {
|
|
3924
|
+
limit?: number | undefined;
|
|
3925
|
+
skip?: number | undefined;
|
|
3926
|
+
page?: number | undefined;
|
|
3927
|
+
} & Partial<{
|
|
3928
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
3929
|
+
}>;
|
|
3930
|
+
} & {
|
|
3931
|
+
headers: {
|
|
3932
|
+
"x-access-token"?: string | undefined;
|
|
3933
|
+
} & Partial<{
|
|
3934
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
3935
|
+
}>;
|
|
3936
|
+
}, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerStackResponse[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
3937
|
+
[x: string]: unknown;
|
|
3938
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
3939
|
+
[x: string]: unknown;
|
|
3940
|
+
}, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
3941
|
+
[x: string]: unknown;
|
|
3942
|
+
}, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
3943
|
+
[x: string]: unknown;
|
|
3944
|
+
}, 500, "application/json">>>;
|
|
3945
|
+
/** Create a Stack. */
|
|
3946
|
+
createStack: (request: {
|
|
3947
|
+
data: {
|
|
3948
|
+
description: string;
|
|
3949
|
+
templateConfig?: {
|
|
3950
|
+
templateId: string;
|
|
3951
|
+
userInputs?: {
|
|
3952
|
+
name: string;
|
|
3953
|
+
value: string;
|
|
3954
|
+
}[] | undefined;
|
|
3955
|
+
} | undefined;
|
|
3956
|
+
};
|
|
3957
|
+
projectId: string;
|
|
3958
|
+
headers?: {
|
|
3959
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
3960
|
+
"x-access-token"?: string | undefined;
|
|
3961
|
+
} | undefined;
|
|
3962
|
+
}, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
3963
|
+
data: {
|
|
3964
|
+
description: string;
|
|
3965
|
+
templateConfig?: {
|
|
3966
|
+
templateId: string;
|
|
3967
|
+
userInputs?: {
|
|
3968
|
+
name: string;
|
|
3969
|
+
value: string;
|
|
3970
|
+
}[];
|
|
3971
|
+
} | undefined;
|
|
3972
|
+
};
|
|
3973
|
+
} & {
|
|
3974
|
+
pathParameters: {
|
|
3975
|
+
projectId: string;
|
|
3976
|
+
};
|
|
3977
|
+
} & {
|
|
3978
|
+
headers?: Partial<{
|
|
3979
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
3980
|
+
}>;
|
|
3981
|
+
} & {
|
|
3982
|
+
headers: {
|
|
3983
|
+
"x-access-token"?: string | undefined;
|
|
3984
|
+
} & Partial<{
|
|
3985
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
3986
|
+
}>;
|
|
3987
|
+
}, import("@mittwald/api-client-commons").Response<{
|
|
3988
|
+
description: string;
|
|
3989
|
+
disabled: boolean;
|
|
3990
|
+
id: string;
|
|
3991
|
+
prefix: string;
|
|
3992
|
+
projectId: string;
|
|
3993
|
+
services?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerServiceResponse[] | undefined;
|
|
3994
|
+
templateId?: string | undefined;
|
|
3995
|
+
updateSchedule?: {
|
|
3996
|
+
cron: string;
|
|
3997
|
+
timezone?: string;
|
|
3998
|
+
} | null | undefined;
|
|
3999
|
+
volumes?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerVolumeResponse[] | undefined;
|
|
4000
|
+
}, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
4001
|
+
[x: string]: unknown;
|
|
4002
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
4003
|
+
[x: string]: unknown;
|
|
4004
|
+
}, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
4005
|
+
[x: string]: unknown;
|
|
4006
|
+
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
4007
|
+
[x: string]: unknown;
|
|
4008
|
+
}, 409, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
4009
|
+
[x: string]: unknown;
|
|
4010
|
+
}, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
4011
|
+
[x: string]: unknown;
|
|
4012
|
+
}, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
4013
|
+
[x: string]: unknown;
|
|
4014
|
+
}, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
4015
|
+
data: {
|
|
4016
|
+
description: string;
|
|
4017
|
+
templateConfig?: {
|
|
4018
|
+
templateId: string;
|
|
4019
|
+
userInputs?: {
|
|
4020
|
+
name: string;
|
|
4021
|
+
value: string;
|
|
4022
|
+
}[];
|
|
4023
|
+
} | undefined;
|
|
4024
|
+
};
|
|
4025
|
+
} & {
|
|
4026
|
+
pathParameters: {
|
|
4027
|
+
projectId: string;
|
|
4028
|
+
};
|
|
4029
|
+
} & {
|
|
4030
|
+
headers?: Partial<{
|
|
4031
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
4032
|
+
}>;
|
|
4033
|
+
} & {
|
|
4034
|
+
headers: {
|
|
4035
|
+
"x-access-token"?: string | undefined;
|
|
4036
|
+
} & Partial<{
|
|
4037
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
4038
|
+
}>;
|
|
4039
|
+
}, import("@mittwald/api-client-commons").Response<{
|
|
4040
|
+
description: string;
|
|
4041
|
+
disabled: boolean;
|
|
4042
|
+
id: string;
|
|
4043
|
+
prefix: string;
|
|
4044
|
+
projectId: string;
|
|
4045
|
+
services?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerServiceResponse[] | undefined;
|
|
4046
|
+
templateId?: string | undefined;
|
|
4047
|
+
updateSchedule?: {
|
|
4048
|
+
cron: string;
|
|
4049
|
+
timezone?: string;
|
|
4050
|
+
} | null | undefined;
|
|
4051
|
+
volumes?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerVolumeResponse[] | undefined;
|
|
4052
|
+
}, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
4053
|
+
[x: string]: unknown;
|
|
4054
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
4055
|
+
[x: string]: unknown;
|
|
4056
|
+
}, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
4057
|
+
[x: string]: unknown;
|
|
4058
|
+
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
4059
|
+
[x: string]: unknown;
|
|
4060
|
+
}, 409, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
4061
|
+
[x: string]: unknown;
|
|
4062
|
+
}, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
4063
|
+
[x: string]: unknown;
|
|
4064
|
+
}, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
4065
|
+
[x: string]: unknown;
|
|
4066
|
+
}, 500, "application/json">>>;
|
|
3871
4067
|
/** Get a Stack. */
|
|
3872
4068
|
getStack: (request: {
|
|
3873
4069
|
stackId: string;
|
|
@@ -4078,10 +4274,67 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
4078
4274
|
}, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
4079
4275
|
[x: string]: unknown;
|
|
4080
4276
|
}, 500, "application/json">>>;
|
|
4277
|
+
/** Delete a Stack. */
|
|
4278
|
+
deleteStack: (request: {
|
|
4279
|
+
stackId: string;
|
|
4280
|
+
headers?: {
|
|
4281
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
4282
|
+
"x-access-token"?: string | undefined;
|
|
4283
|
+
} | undefined;
|
|
4284
|
+
}, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
4285
|
+
headers?: Partial<{
|
|
4286
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
4287
|
+
}>;
|
|
4288
|
+
} & {
|
|
4289
|
+
pathParameters: {
|
|
4290
|
+
stackId: string;
|
|
4291
|
+
};
|
|
4292
|
+
} & {
|
|
4293
|
+
headers: {
|
|
4294
|
+
"x-access-token"?: string | undefined;
|
|
4295
|
+
} & Partial<{
|
|
4296
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
4297
|
+
}>;
|
|
4298
|
+
}, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
|
|
4299
|
+
[x: string]: unknown;
|
|
4300
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
4301
|
+
[x: string]: unknown;
|
|
4302
|
+
}, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
4303
|
+
[x: string]: unknown;
|
|
4304
|
+
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
4305
|
+
[x: string]: unknown;
|
|
4306
|
+
}, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
4307
|
+
[x: string]: unknown;
|
|
4308
|
+
}, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
4309
|
+
headers?: Partial<{
|
|
4310
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
4311
|
+
}>;
|
|
4312
|
+
} & {
|
|
4313
|
+
pathParameters: {
|
|
4314
|
+
stackId: string;
|
|
4315
|
+
};
|
|
4316
|
+
} & {
|
|
4317
|
+
headers: {
|
|
4318
|
+
"x-access-token"?: string | undefined;
|
|
4319
|
+
} & Partial<{
|
|
4320
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
4321
|
+
}>;
|
|
4322
|
+
}, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
|
|
4323
|
+
[x: string]: unknown;
|
|
4324
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
4325
|
+
[x: string]: unknown;
|
|
4326
|
+
}, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
4327
|
+
[x: string]: unknown;
|
|
4328
|
+
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
4329
|
+
[x: string]: unknown;
|
|
4330
|
+
}, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
4331
|
+
[x: string]: unknown;
|
|
4332
|
+
}, 500, "application/json">>>;
|
|
4081
4333
|
/** Create, update or delete Services or Volumes belonging to a Stack. */
|
|
4082
4334
|
updateStack: (request: {
|
|
4083
4335
|
stackId: string;
|
|
4084
4336
|
data?: {
|
|
4337
|
+
description?: string | undefined;
|
|
4085
4338
|
services?: {
|
|
4086
4339
|
[x: string]: {
|
|
4087
4340
|
command?: string[] | undefined;
|
|
@@ -4123,6 +4376,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
4123
4376
|
} | undefined;
|
|
4124
4377
|
}, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
4125
4378
|
data: {
|
|
4379
|
+
description?: string | undefined;
|
|
4126
4380
|
services?: {
|
|
4127
4381
|
[k: string]: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerServiceRequest;
|
|
4128
4382
|
} | undefined;
|
|
@@ -4171,6 +4425,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
4171
4425
|
[x: string]: unknown;
|
|
4172
4426
|
}, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
4173
4427
|
data: {
|
|
4428
|
+
description?: string | undefined;
|
|
4174
4429
|
services?: {
|
|
4175
4430
|
[k: string]: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerServiceRequest;
|
|
4176
4431
|
} | undefined;
|
|
@@ -5067,80 +5322,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5067
5322
|
}, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5068
5323
|
[x: string]: unknown;
|
|
5069
5324
|
}, 500, "application/json">>>;
|
|
5070
|
-
/** List Stacks belonging to a Project. */
|
|
5071
|
-
listStacks: (request: {
|
|
5072
|
-
projectId: string;
|
|
5073
|
-
headers?: {
|
|
5074
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
5075
|
-
"x-access-token"?: string | undefined;
|
|
5076
|
-
} | undefined;
|
|
5077
|
-
queryParameters?: {
|
|
5078
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
5079
|
-
limit?: number | undefined;
|
|
5080
|
-
skip?: number | undefined;
|
|
5081
|
-
page?: number | undefined;
|
|
5082
|
-
} | undefined;
|
|
5083
|
-
}, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
5084
|
-
headers?: Partial<{
|
|
5085
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5086
|
-
}>;
|
|
5087
|
-
} & {
|
|
5088
|
-
pathParameters: {
|
|
5089
|
-
projectId: string;
|
|
5090
|
-
};
|
|
5091
|
-
} & {
|
|
5092
|
-
queryParameters: {
|
|
5093
|
-
limit?: number | undefined;
|
|
5094
|
-
skip?: number | undefined;
|
|
5095
|
-
page?: number | undefined;
|
|
5096
|
-
} & Partial<{
|
|
5097
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5098
|
-
}>;
|
|
5099
|
-
} & {
|
|
5100
|
-
headers: {
|
|
5101
|
-
"x-access-token"?: string | undefined;
|
|
5102
|
-
} & Partial<{
|
|
5103
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5104
|
-
}>;
|
|
5105
|
-
}, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerStackResponse[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5106
|
-
[x: string]: unknown;
|
|
5107
|
-
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5108
|
-
[x: string]: unknown;
|
|
5109
|
-
}, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5110
|
-
[x: string]: unknown;
|
|
5111
|
-
}, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5112
|
-
[x: string]: unknown;
|
|
5113
|
-
}, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
5114
|
-
headers?: Partial<{
|
|
5115
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5116
|
-
}>;
|
|
5117
|
-
} & {
|
|
5118
|
-
pathParameters: {
|
|
5119
|
-
projectId: string;
|
|
5120
|
-
};
|
|
5121
|
-
} & {
|
|
5122
|
-
queryParameters: {
|
|
5123
|
-
limit?: number | undefined;
|
|
5124
|
-
skip?: number | undefined;
|
|
5125
|
-
page?: number | undefined;
|
|
5126
|
-
} & Partial<{
|
|
5127
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5128
|
-
}>;
|
|
5129
|
-
} & {
|
|
5130
|
-
headers: {
|
|
5131
|
-
"x-access-token"?: string | undefined;
|
|
5132
|
-
} & Partial<{
|
|
5133
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5134
|
-
}>;
|
|
5135
|
-
}, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerStackResponse[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5136
|
-
[x: string]: unknown;
|
|
5137
|
-
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5138
|
-
[x: string]: unknown;
|
|
5139
|
-
}, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5140
|
-
[x: string]: unknown;
|
|
5141
|
-
}, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5142
|
-
[x: string]: unknown;
|
|
5143
|
-
}, 500, "application/json">>>;
|
|
5144
5325
|
/** List Volumes belonging to a Project. */
|
|
5145
5326
|
listVolumes: (request: {
|
|
5146
5327
|
projectId: string;
|
|
@@ -12855,18 +13036,16 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
12855
13036
|
conversationId: string;
|
|
12856
13037
|
};
|
|
12857
13038
|
}, import("@mittwald/api-client-commons").Response<{
|
|
12858
|
-
[x: string]: unknown;
|
|
12859
|
-
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
12860
|
-
[x: string]: unknown;
|
|
12861
|
-
}, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
12862
|
-
[x: string]: unknown;
|
|
12863
|
-
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
12864
|
-
[x: string]: unknown;
|
|
12865
|
-
}, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
12866
13039
|
category?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationCategory | undefined;
|
|
12867
13040
|
conversationId: string;
|
|
12868
13041
|
createdAt: string;
|
|
13042
|
+
createdBy?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationUser | undefined;
|
|
13043
|
+
lastMessage?: {
|
|
13044
|
+
createdAt: string;
|
|
13045
|
+
createdBy?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationUser;
|
|
13046
|
+
} | undefined;
|
|
12869
13047
|
lastMessageAt?: string | undefined;
|
|
13048
|
+
lastMessageBy?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationUser | undefined;
|
|
12870
13049
|
mainUser: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationUser;
|
|
12871
13050
|
notificationRoles?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationNotificationRole[] | undefined;
|
|
12872
13051
|
relatedTo?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationRelatedAggregateReference | undefined;
|
|
@@ -12876,13 +13055,15 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
12876
13055
|
status: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationStatus;
|
|
12877
13056
|
title: string;
|
|
12878
13057
|
visibility: "shared" | "private";
|
|
12879
|
-
|
|
12880
|
-
|
|
12881
|
-
|
|
12882
|
-
|
|
12883
|
-
|
|
12884
|
-
|
|
12885
|
-
},
|
|
13058
|
+
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
13059
|
+
[x: string]: unknown;
|
|
13060
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
13061
|
+
[x: string]: unknown;
|
|
13062
|
+
}, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
13063
|
+
[x: string]: unknown;
|
|
13064
|
+
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
13065
|
+
[x: string]: unknown;
|
|
13066
|
+
}, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
12886
13067
|
headers?: Partial<{
|
|
12887
13068
|
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
12888
13069
|
}>;
|
|
@@ -12891,18 +13072,16 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
12891
13072
|
conversationId: string;
|
|
12892
13073
|
};
|
|
12893
13074
|
}, import("@mittwald/api-client-commons").Response<{
|
|
12894
|
-
[x: string]: unknown;
|
|
12895
|
-
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
12896
|
-
[x: string]: unknown;
|
|
12897
|
-
}, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
12898
|
-
[x: string]: unknown;
|
|
12899
|
-
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
12900
|
-
[x: string]: unknown;
|
|
12901
|
-
}, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
12902
13075
|
category?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationCategory | undefined;
|
|
12903
13076
|
conversationId: string;
|
|
12904
13077
|
createdAt: string;
|
|
13078
|
+
createdBy?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationUser | undefined;
|
|
13079
|
+
lastMessage?: {
|
|
13080
|
+
createdAt: string;
|
|
13081
|
+
createdBy?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationUser;
|
|
13082
|
+
} | undefined;
|
|
12905
13083
|
lastMessageAt?: string | undefined;
|
|
13084
|
+
lastMessageBy?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationUser | undefined;
|
|
12906
13085
|
mainUser: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationUser;
|
|
12907
13086
|
notificationRoles?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationNotificationRole[] | undefined;
|
|
12908
13087
|
relatedTo?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationRelatedAggregateReference | undefined;
|
|
@@ -12912,13 +13091,15 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
12912
13091
|
status: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationStatus;
|
|
12913
13092
|
title: string;
|
|
12914
13093
|
visibility: "shared" | "private";
|
|
12915
|
-
|
|
12916
|
-
|
|
12917
|
-
|
|
12918
|
-
|
|
12919
|
-
|
|
12920
|
-
|
|
12921
|
-
},
|
|
13094
|
+
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
13095
|
+
[x: string]: unknown;
|
|
13096
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
13097
|
+
[x: string]: unknown;
|
|
13098
|
+
}, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
13099
|
+
[x: string]: unknown;
|
|
13100
|
+
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
13101
|
+
[x: string]: unknown;
|
|
13102
|
+
}, 429, "application/json">>>;
|
|
12922
13103
|
/** Update the basic properties of the conversation. */
|
|
12923
13104
|
updateConversation: (request: {
|
|
12924
13105
|
conversationId: string;
|