@mittwald/api-client 4.392.0 → 4.394.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 +4 -0
- package/dist/esm/generated/v2/client.js +4 -0
- package/dist/esm/generated/v2/descriptors.js +12 -0
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +52 -0
- package/dist/types/generated/v2/client.d.ts +155 -0
- package/dist/types/generated/v2/descriptors.d.ts +4 -0
- package/dist/types/generated/v2/types.d.ts +344 -105
- package/dist/types/version.d.ts +1 -1
- package/package.json +4 -4
|
@@ -92,12 +92,16 @@ const buildContainerApi = (baseClient) => ({
|
|
|
92
92
|
getServiceLogs: new ApiCallAsyncResourceFactory(descriptors.containerGetServiceLogs, baseClient.container.getServiceLogs).getApiResource,
|
|
93
93
|
/** Get a Service belonging to a Stack. */
|
|
94
94
|
getService: new ApiCallAsyncResourceFactory(descriptors.containerGetService, baseClient.container.getService).getApiResource,
|
|
95
|
+
/** Get a Container Template by ID. */
|
|
96
|
+
getTemplate: new ApiCallAsyncResourceFactory(descriptors.containerGetTemplate, baseClient.container.getTemplate).getApiResource,
|
|
95
97
|
/** List Stacks belonging to the executing user. */
|
|
96
98
|
listSelfStacks: new ApiCallAsyncResourceFactory(descriptors.containerListSelfStacks, baseClient.container.listSelfStacks).getApiResource,
|
|
97
99
|
/** List Services belonging to a Project. */
|
|
98
100
|
listServices: new ApiCallAsyncResourceFactory(descriptors.containerListServices, baseClient.container.listServices).getApiResource,
|
|
99
101
|
/** List Volumes belonging to a Stack. */
|
|
100
102
|
listStackVolumes: new ApiCallAsyncResourceFactory(descriptors.containerListStackVolumes, baseClient.container.listStackVolumes).getApiResource,
|
|
103
|
+
/** List Container Templates. */
|
|
104
|
+
listTemplates: new ApiCallAsyncResourceFactory(descriptors.containerListTemplates, baseClient.container.listTemplates).getApiResource,
|
|
101
105
|
/** List Volumes belonging to a Project. */
|
|
102
106
|
listVolumes: new ApiCallAsyncResourceFactory(descriptors.containerListVolumes, baseClient.container.listVolumes).getApiResource,
|
|
103
107
|
});
|
|
@@ -168,12 +168,16 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
168
168
|
getServiceLogs: this.requestFunctionFactory(descriptors.containerGetServiceLogs),
|
|
169
169
|
/** Get a Service belonging to a Stack. */
|
|
170
170
|
getService: this.requestFunctionFactory(descriptors.containerGetService),
|
|
171
|
+
/** Get a Container Template by ID. */
|
|
172
|
+
getTemplate: this.requestFunctionFactory(descriptors.containerGetTemplate),
|
|
171
173
|
/** List Stacks belonging to the executing user. */
|
|
172
174
|
listSelfStacks: this.requestFunctionFactory(descriptors.containerListSelfStacks),
|
|
173
175
|
/** List Services belonging to a Project. */
|
|
174
176
|
listServices: this.requestFunctionFactory(descriptors.containerListServices),
|
|
175
177
|
/** List Volumes belonging to a Stack. */
|
|
176
178
|
listStackVolumes: this.requestFunctionFactory(descriptors.containerListStackVolumes),
|
|
179
|
+
/** List Container Templates. */
|
|
180
|
+
listTemplates: this.requestFunctionFactory(descriptors.containerListTemplates),
|
|
177
181
|
/** List Volumes belonging to a Project. */
|
|
178
182
|
listVolumes: this.requestFunctionFactory(descriptors.containerListVolumes),
|
|
179
183
|
/** Pull image and recreate */
|
|
@@ -448,6 +448,12 @@ export const containerGetService = {
|
|
|
448
448
|
method: "GET",
|
|
449
449
|
operationId: "container-get-service",
|
|
450
450
|
};
|
|
451
|
+
/** Get a Container Template by ID. */
|
|
452
|
+
export const containerGetTemplate = {
|
|
453
|
+
path: "/v2/container-templates/{templateId}",
|
|
454
|
+
method: "GET",
|
|
455
|
+
operationId: "container-get-template",
|
|
456
|
+
};
|
|
451
457
|
/** List Stacks belonging to the executing user. */
|
|
452
458
|
export const containerListSelfStacks = {
|
|
453
459
|
path: "/v2/stacks",
|
|
@@ -466,6 +472,12 @@ export const containerListStackVolumes = {
|
|
|
466
472
|
method: "GET",
|
|
467
473
|
operationId: "container-list-stack-volumes",
|
|
468
474
|
};
|
|
475
|
+
/** List Container Templates. */
|
|
476
|
+
export const containerListTemplates = {
|
|
477
|
+
path: "/v2/container-templates",
|
|
478
|
+
method: "GET",
|
|
479
|
+
operationId: "container-list-templates",
|
|
480
|
+
};
|
|
469
481
|
/** List Volumes belonging to a Project. */
|
|
470
482
|
export const containerListVolumes = {
|
|
471
483
|
path: "/v2/projects/{projectId}/volumes",
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export const MittwaldAPIClientVersion = '4.393.0';
|
|
@@ -668,6 +668,44 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
668
668
|
status: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerServiceStatus;
|
|
669
669
|
statusSetAt: string;
|
|
670
670
|
}>;
|
|
671
|
+
/** Get a Container Template by ID. */
|
|
672
|
+
getTemplate: (conf: {
|
|
673
|
+
templateId: string;
|
|
674
|
+
headers?: {
|
|
675
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
676
|
+
} | undefined;
|
|
677
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
678
|
+
categories: string[];
|
|
679
|
+
description: {
|
|
680
|
+
de: string;
|
|
681
|
+
en: string;
|
|
682
|
+
};
|
|
683
|
+
developer: string;
|
|
684
|
+
domains?: {
|
|
685
|
+
port: string;
|
|
686
|
+
service: string;
|
|
687
|
+
userInput: string;
|
|
688
|
+
}[] | undefined;
|
|
689
|
+
icon: string;
|
|
690
|
+
id: string;
|
|
691
|
+
license?: string | undefined;
|
|
692
|
+
manifestVersion: string;
|
|
693
|
+
name: string;
|
|
694
|
+
repository?: string | undefined;
|
|
695
|
+
tagline: {
|
|
696
|
+
de: string;
|
|
697
|
+
en: string;
|
|
698
|
+
};
|
|
699
|
+
userInputs?: {
|
|
700
|
+
dataSource?: string;
|
|
701
|
+
defaultValue?: string;
|
|
702
|
+
name: string;
|
|
703
|
+
required: boolean;
|
|
704
|
+
validationSchema?: string;
|
|
705
|
+
}[] | undefined;
|
|
706
|
+
version: string;
|
|
707
|
+
website?: string | undefined;
|
|
708
|
+
}>;
|
|
671
709
|
/** List Stacks belonging to the executing user. */
|
|
672
710
|
listSelfStacks: (conf?: {
|
|
673
711
|
headers?: {
|
|
@@ -717,6 +755,20 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
717
755
|
page?: number | undefined;
|
|
718
756
|
} | undefined;
|
|
719
757
|
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerVolumeResponse[]>;
|
|
758
|
+
/** List Container Templates. */
|
|
759
|
+
listTemplates: (conf?: {
|
|
760
|
+
headers?: {
|
|
761
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
762
|
+
} | undefined;
|
|
763
|
+
queryParameters?: {
|
|
764
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
765
|
+
category?: string | undefined;
|
|
766
|
+
searchTerm?: string | undefined;
|
|
767
|
+
limit?: number | undefined;
|
|
768
|
+
skip?: number | undefined;
|
|
769
|
+
page?: number | undefined;
|
|
770
|
+
} | undefined;
|
|
771
|
+
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerTemplate[]>;
|
|
720
772
|
/** List Volumes belonging to a Project. */
|
|
721
773
|
listVolumes: (conf: {
|
|
722
774
|
projectId: string;
|
|
@@ -5081,6 +5081,107 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5081
5081
|
}, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5082
5082
|
[x: string]: unknown;
|
|
5083
5083
|
}, 500, "application/json">>>;
|
|
5084
|
+
/** Get a Container Template by ID. */
|
|
5085
|
+
getTemplate: (request: {
|
|
5086
|
+
templateId: string;
|
|
5087
|
+
headers?: {
|
|
5088
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
5089
|
+
} | undefined;
|
|
5090
|
+
}, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
5091
|
+
headers?: Partial<{
|
|
5092
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5093
|
+
}>;
|
|
5094
|
+
} & {
|
|
5095
|
+
pathParameters: {
|
|
5096
|
+
templateId: string;
|
|
5097
|
+
};
|
|
5098
|
+
}, import("@mittwald/api-client-commons").Response<{
|
|
5099
|
+
categories: string[];
|
|
5100
|
+
description: {
|
|
5101
|
+
de: string;
|
|
5102
|
+
en: string;
|
|
5103
|
+
};
|
|
5104
|
+
developer: string;
|
|
5105
|
+
domains?: {
|
|
5106
|
+
port: string;
|
|
5107
|
+
service: string;
|
|
5108
|
+
userInput: string;
|
|
5109
|
+
}[] | undefined;
|
|
5110
|
+
icon: string;
|
|
5111
|
+
id: string;
|
|
5112
|
+
license?: string | undefined;
|
|
5113
|
+
manifestVersion: string;
|
|
5114
|
+
name: string;
|
|
5115
|
+
repository?: string | undefined;
|
|
5116
|
+
tagline: {
|
|
5117
|
+
de: string;
|
|
5118
|
+
en: string;
|
|
5119
|
+
};
|
|
5120
|
+
userInputs?: {
|
|
5121
|
+
dataSource?: string;
|
|
5122
|
+
defaultValue?: string;
|
|
5123
|
+
name: string;
|
|
5124
|
+
required: boolean;
|
|
5125
|
+
validationSchema?: string;
|
|
5126
|
+
}[] | undefined;
|
|
5127
|
+
version: string;
|
|
5128
|
+
website?: string | undefined;
|
|
5129
|
+
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5130
|
+
[x: string]: unknown;
|
|
5131
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5132
|
+
[x: string]: unknown;
|
|
5133
|
+
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5134
|
+
[x: string]: unknown;
|
|
5135
|
+
}, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5136
|
+
[x: string]: unknown;
|
|
5137
|
+
}, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
5138
|
+
headers?: Partial<{
|
|
5139
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5140
|
+
}>;
|
|
5141
|
+
} & {
|
|
5142
|
+
pathParameters: {
|
|
5143
|
+
templateId: string;
|
|
5144
|
+
};
|
|
5145
|
+
}, import("@mittwald/api-client-commons").Response<{
|
|
5146
|
+
categories: string[];
|
|
5147
|
+
description: {
|
|
5148
|
+
de: string;
|
|
5149
|
+
en: string;
|
|
5150
|
+
};
|
|
5151
|
+
developer: string;
|
|
5152
|
+
domains?: {
|
|
5153
|
+
port: string;
|
|
5154
|
+
service: string;
|
|
5155
|
+
userInput: string;
|
|
5156
|
+
}[] | undefined;
|
|
5157
|
+
icon: string;
|
|
5158
|
+
id: string;
|
|
5159
|
+
license?: string | undefined;
|
|
5160
|
+
manifestVersion: string;
|
|
5161
|
+
name: string;
|
|
5162
|
+
repository?: string | undefined;
|
|
5163
|
+
tagline: {
|
|
5164
|
+
de: string;
|
|
5165
|
+
en: string;
|
|
5166
|
+
};
|
|
5167
|
+
userInputs?: {
|
|
5168
|
+
dataSource?: string;
|
|
5169
|
+
defaultValue?: string;
|
|
5170
|
+
name: string;
|
|
5171
|
+
required: boolean;
|
|
5172
|
+
validationSchema?: string;
|
|
5173
|
+
}[] | undefined;
|
|
5174
|
+
version: string;
|
|
5175
|
+
website?: string | undefined;
|
|
5176
|
+
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5177
|
+
[x: string]: unknown;
|
|
5178
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5179
|
+
[x: string]: unknown;
|
|
5180
|
+
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5181
|
+
[x: string]: unknown;
|
|
5182
|
+
}, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5183
|
+
[x: string]: unknown;
|
|
5184
|
+
}, 500, "application/json">>>;
|
|
5084
5185
|
/** List Stacks belonging to the executing user. */
|
|
5085
5186
|
listSelfStacks: (request?: {
|
|
5086
5187
|
headers?: {
|
|
@@ -5322,6 +5423,60 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5322
5423
|
}, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5323
5424
|
[x: string]: unknown;
|
|
5324
5425
|
}, 500, "application/json">>>;
|
|
5426
|
+
/** List Container Templates. */
|
|
5427
|
+
listTemplates: (request?: {
|
|
5428
|
+
headers?: {
|
|
5429
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
5430
|
+
} | undefined;
|
|
5431
|
+
queryParameters?: {
|
|
5432
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
5433
|
+
category?: string | undefined;
|
|
5434
|
+
searchTerm?: string | undefined;
|
|
5435
|
+
limit?: number | undefined;
|
|
5436
|
+
skip?: number | undefined;
|
|
5437
|
+
page?: number | undefined;
|
|
5438
|
+
} | undefined;
|
|
5439
|
+
} | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
5440
|
+
headers?: Partial<{
|
|
5441
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5442
|
+
}>;
|
|
5443
|
+
} & {
|
|
5444
|
+
queryParameters: {
|
|
5445
|
+
category?: string | undefined;
|
|
5446
|
+
searchTerm?: string | undefined;
|
|
5447
|
+
limit?: number | undefined;
|
|
5448
|
+
skip?: number | undefined;
|
|
5449
|
+
page?: number | undefined;
|
|
5450
|
+
} & Partial<{
|
|
5451
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5452
|
+
}>;
|
|
5453
|
+
}, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerTemplate[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5454
|
+
[x: string]: unknown;
|
|
5455
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5456
|
+
[x: string]: unknown;
|
|
5457
|
+
}, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5458
|
+
[x: string]: unknown;
|
|
5459
|
+
}, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
5460
|
+
headers?: Partial<{
|
|
5461
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5462
|
+
}>;
|
|
5463
|
+
} & {
|
|
5464
|
+
queryParameters: {
|
|
5465
|
+
category?: string | undefined;
|
|
5466
|
+
searchTerm?: string | undefined;
|
|
5467
|
+
limit?: number | undefined;
|
|
5468
|
+
skip?: number | undefined;
|
|
5469
|
+
page?: number | undefined;
|
|
5470
|
+
} & Partial<{
|
|
5471
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5472
|
+
}>;
|
|
5473
|
+
}, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerTemplate[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5474
|
+
[x: string]: unknown;
|
|
5475
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5476
|
+
[x: string]: unknown;
|
|
5477
|
+
}, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5478
|
+
[x: string]: unknown;
|
|
5479
|
+
}, 500, "application/json">>>;
|
|
5325
5480
|
/** List Volumes belonging to a Project. */
|
|
5326
5481
|
listVolumes: (request: {
|
|
5327
5482
|
projectId: string;
|
|
@@ -153,12 +153,16 @@ export declare const containerGetContainerImageConfig: OpenAPIOperation<RequestT
|
|
|
153
153
|
export declare const containerGetServiceLogs: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2StacksStackIdServicesServiceIdLogs.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2StacksStackIdServicesServiceIdLogs.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2StacksStackIdServicesServiceIdLogs.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2StacksStackIdServicesServiceIdLogs.Get.Responses.$200.Content.TextPlain>, 200, "text/plain"> | Response<Simplify<MittwaldAPIV2.Paths.V2StacksStackIdServicesServiceIdLogs.Get.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2StacksStackIdServicesServiceIdLogs.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2StacksStackIdServicesServiceIdLogs.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2StacksStackIdServicesServiceIdLogs.Get.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2StacksStackIdServicesServiceIdLogs.Get.Responses.$503.Content.ApplicationJson>, 503, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2StacksStackIdServicesServiceIdLogs.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
154
154
|
/** Get a Service belonging to a Stack. */
|
|
155
155
|
export declare const containerGetService: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2StacksStackIdServicesServiceId.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2StacksStackIdServicesServiceId.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2StacksStackIdServicesServiceId.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2StacksStackIdServicesServiceId.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2StacksStackIdServicesServiceId.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2StacksStackIdServicesServiceId.Get.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2StacksStackIdServicesServiceId.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2StacksStackIdServicesServiceId.Get.Responses.$412.Content.ApplicationJson>, 412, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2StacksStackIdServicesServiceId.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2StacksStackIdServicesServiceId.Get.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2StacksStackIdServicesServiceId.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
156
|
+
/** Get a Container Template by ID. */
|
|
157
|
+
export declare const containerGetTemplate: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ContainerTemplatesTemplateId.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ContainerTemplatesTemplateId.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ContainerTemplatesTemplateId.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ContainerTemplatesTemplateId.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContainerTemplatesTemplateId.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContainerTemplatesTemplateId.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContainerTemplatesTemplateId.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContainerTemplatesTemplateId.Get.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContainerTemplatesTemplateId.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
156
158
|
/** List Stacks belonging to the executing user. */
|
|
157
159
|
export declare const containerListSelfStacks: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2Stacks.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2Stacks.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2Stacks.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2Stacks.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Stacks.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Stacks.Get.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Stacks.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Stacks.Get.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Stacks.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
158
160
|
/** List Services belonging to a Project. */
|
|
159
161
|
export declare const containerListServices: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdServices.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdServices.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdServices.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdServices.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdServices.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdServices.Get.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdServices.Get.Responses.$412.Content.ApplicationJson>, 412, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdServices.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdServices.Get.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdServices.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
160
162
|
/** List Volumes belonging to a Stack. */
|
|
161
163
|
export declare const containerListStackVolumes: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2StacksStackIdVolumes.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2StacksStackIdVolumes.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2StacksStackIdVolumes.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2StacksStackIdVolumes.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2StacksStackIdVolumes.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2StacksStackIdVolumes.Get.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2StacksStackIdVolumes.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2StacksStackIdVolumes.Get.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2StacksStackIdVolumes.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
164
|
+
/** List Container Templates. */
|
|
165
|
+
export declare const containerListTemplates: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ContainerTemplates.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ContainerTemplates.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ContainerTemplates.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ContainerTemplates.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContainerTemplates.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContainerTemplates.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContainerTemplates.Get.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContainerTemplates.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
162
166
|
/** List Volumes belonging to a Project. */
|
|
163
167
|
export declare const containerListVolumes: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdVolumes.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdVolumes.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdVolumes.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdVolumes.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdVolumes.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdVolumes.Get.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdVolumes.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdVolumes.Get.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdVolumes.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
164
168
|
/** Pull image and recreate */
|
|
@@ -302,6 +302,10 @@ export declare namespace MittwaldAPIV2 {
|
|
|
302
302
|
type RequestData = InferredRequestData<typeof descriptors.containerGetService>;
|
|
303
303
|
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.containerGetService, TStatus>;
|
|
304
304
|
}
|
|
305
|
+
namespace ContainerGetTemplate {
|
|
306
|
+
type RequestData = InferredRequestData<typeof descriptors.containerGetTemplate>;
|
|
307
|
+
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.containerGetTemplate, TStatus>;
|
|
308
|
+
}
|
|
305
309
|
namespace ContainerListSelfStacks {
|
|
306
310
|
type RequestData = InferredRequestData<typeof descriptors.containerListSelfStacks>;
|
|
307
311
|
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.containerListSelfStacks, TStatus>;
|
|
@@ -314,6 +318,10 @@ export declare namespace MittwaldAPIV2 {
|
|
|
314
318
|
type RequestData = InferredRequestData<typeof descriptors.containerListStackVolumes>;
|
|
315
319
|
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.containerListStackVolumes, TStatus>;
|
|
316
320
|
}
|
|
321
|
+
namespace ContainerListTemplates {
|
|
322
|
+
type RequestData = InferredRequestData<typeof descriptors.containerListTemplates>;
|
|
323
|
+
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.containerListTemplates, TStatus>;
|
|
324
|
+
}
|
|
317
325
|
namespace ContainerListVolumes {
|
|
318
326
|
type RequestData = InferredRequestData<typeof descriptors.containerListVolumes>;
|
|
319
327
|
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.containerListVolumes, TStatus>;
|
|
@@ -2856,6 +2864,44 @@ export declare namespace MittwaldAPIV2 {
|
|
|
2856
2864
|
} | null;
|
|
2857
2865
|
volumes?: MittwaldAPIV2.Components.Schemas.ContainerVolumeResponse[];
|
|
2858
2866
|
}
|
|
2867
|
+
interface ContainerTemplate {
|
|
2868
|
+
categories: string[];
|
|
2869
|
+
description: {
|
|
2870
|
+
de: string;
|
|
2871
|
+
en: string;
|
|
2872
|
+
};
|
|
2873
|
+
developer: string;
|
|
2874
|
+
domains?: {
|
|
2875
|
+
port: string;
|
|
2876
|
+
service: string;
|
|
2877
|
+
userInput: string;
|
|
2878
|
+
}[];
|
|
2879
|
+
icon: string;
|
|
2880
|
+
id: string;
|
|
2881
|
+
license?: string;
|
|
2882
|
+
/**
|
|
2883
|
+
* Version of the manifest for this template, e.g. '1.0'
|
|
2884
|
+
*/
|
|
2885
|
+
manifestVersion: string;
|
|
2886
|
+
name: string;
|
|
2887
|
+
repository?: string;
|
|
2888
|
+
tagline: {
|
|
2889
|
+
de: string;
|
|
2890
|
+
en: string;
|
|
2891
|
+
};
|
|
2892
|
+
userInputs?: {
|
|
2893
|
+
dataSource?: string;
|
|
2894
|
+
defaultValue?: string;
|
|
2895
|
+
name: string;
|
|
2896
|
+
required: boolean;
|
|
2897
|
+
validationSchema?: string;
|
|
2898
|
+
}[];
|
|
2899
|
+
/**
|
|
2900
|
+
* Version of the application described by this template, e.g. 'latest'
|
|
2901
|
+
*/
|
|
2902
|
+
version: string;
|
|
2903
|
+
website?: string;
|
|
2904
|
+
}
|
|
2859
2905
|
interface ContainerUpdateRegistry {
|
|
2860
2906
|
credentials?: MittwaldAPIV2.Components.Schemas.ContainerSetRegistryCredentials | null;
|
|
2861
2907
|
description?: string;
|
|
@@ -6342,42 +6388,6 @@ export declare namespace MittwaldAPIV2 {
|
|
|
6342
6388
|
}
|
|
6343
6389
|
type VerificationEmailOrigin = "IS_MITTWALD" | "IS_NOT_MITTWALD" | "COULD_BE_MITTWALD";
|
|
6344
6390
|
type ContainerVolumeSortOrder = "nameAsc" | "nameDesc" | "storageAsc" | "storageDesc";
|
|
6345
|
-
interface ActivitylogAppInstallationDesiredSystemSoftwareSet {
|
|
6346
|
-
changes: {
|
|
6347
|
-
after?: {
|
|
6348
|
-
software: string;
|
|
6349
|
-
softwareVersion: string;
|
|
6350
|
-
updatePolicy: "UPDATE_POLICY_UNSPECIFIED" | "UPDATE_POLICY_NONE" | "UPDATE_POLICY_INHERITED_FROM_APP" | "UPDATE_POLICY_PATCH_LEVEL" | "UPDATE_POLICY_ALL";
|
|
6351
|
-
};
|
|
6352
|
-
before?: {
|
|
6353
|
-
software?: string;
|
|
6354
|
-
softwareVersion?: string;
|
|
6355
|
-
updatePolicy?: "UPDATE_POLICY_UNSPECIFIED" | "UPDATE_POLICY_NONE" | "UPDATE_POLICY_INHERITED_FROM_APP" | "UPDATE_POLICY_PATCH_LEVEL" | "UPDATE_POLICY_ALL";
|
|
6356
|
-
};
|
|
6357
|
-
};
|
|
6358
|
-
name: "app.systemsoftware-set" | "app.systemsoftware-deleted";
|
|
6359
|
-
parameters?: {
|
|
6360
|
-
software: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
|
|
6361
|
-
version: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
|
|
6362
|
-
};
|
|
6363
|
-
}
|
|
6364
|
-
interface ActivitylogParameterProperty {
|
|
6365
|
-
aggregate?: MittwaldAPIV2.Components.Schemas.ActivitylogAggregateReference;
|
|
6366
|
-
name: string;
|
|
6367
|
-
}
|
|
6368
|
-
interface ActivitylogAppInstallationCopyRequested {
|
|
6369
|
-
changes: {
|
|
6370
|
-
after?: {
|
|
6371
|
-
appId: string;
|
|
6372
|
-
sourceAppInstallationId: string;
|
|
6373
|
-
};
|
|
6374
|
-
before?: {
|
|
6375
|
-
appId?: string | null;
|
|
6376
|
-
sourceAppInstallationId?: string | null;
|
|
6377
|
-
};
|
|
6378
|
-
};
|
|
6379
|
-
name: "app.copy-requested";
|
|
6380
|
-
}
|
|
6381
6391
|
interface ActivitylogDnsCnameRecordSet {
|
|
6382
6392
|
changes: {
|
|
6383
6393
|
after?: {
|
|
@@ -6452,6 +6462,101 @@ export declare namespace MittwaldAPIV2 {
|
|
|
6452
6462
|
name: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
|
|
6453
6463
|
};
|
|
6454
6464
|
}
|
|
6465
|
+
interface ActivitylogParameterProperty {
|
|
6466
|
+
aggregate?: MittwaldAPIV2.Components.Schemas.ActivitylogAggregateReference;
|
|
6467
|
+
name: string;
|
|
6468
|
+
}
|
|
6469
|
+
interface ActivitylogAppInstallationDesiredSystemSoftwareSet {
|
|
6470
|
+
changes: {
|
|
6471
|
+
after?: {
|
|
6472
|
+
software: string;
|
|
6473
|
+
softwareVersion: string;
|
|
6474
|
+
updatePolicy: "UPDATE_POLICY_UNSPECIFIED" | "UPDATE_POLICY_NONE" | "UPDATE_POLICY_INHERITED_FROM_APP" | "UPDATE_POLICY_PATCH_LEVEL" | "UPDATE_POLICY_ALL";
|
|
6475
|
+
};
|
|
6476
|
+
before?: {
|
|
6477
|
+
software?: string;
|
|
6478
|
+
softwareVersion?: string;
|
|
6479
|
+
updatePolicy?: "UPDATE_POLICY_UNSPECIFIED" | "UPDATE_POLICY_NONE" | "UPDATE_POLICY_INHERITED_FROM_APP" | "UPDATE_POLICY_PATCH_LEVEL" | "UPDATE_POLICY_ALL";
|
|
6480
|
+
};
|
|
6481
|
+
};
|
|
6482
|
+
name: "app.systemsoftware-set" | "app.systemsoftware-deleted";
|
|
6483
|
+
parameters?: {
|
|
6484
|
+
software: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
|
|
6485
|
+
version: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
|
|
6486
|
+
};
|
|
6487
|
+
}
|
|
6488
|
+
interface ActivitylogAppInstallationCopyRequested {
|
|
6489
|
+
changes: {
|
|
6490
|
+
after?: {
|
|
6491
|
+
appId: string;
|
|
6492
|
+
sourceAppInstallationId: string;
|
|
6493
|
+
};
|
|
6494
|
+
before?: {
|
|
6495
|
+
appId?: string | null;
|
|
6496
|
+
sourceAppInstallationId?: string | null;
|
|
6497
|
+
};
|
|
6498
|
+
};
|
|
6499
|
+
name: "app.copy-requested";
|
|
6500
|
+
}
|
|
6501
|
+
interface ActivitylogDatabaseCreated {
|
|
6502
|
+
changes: {
|
|
6503
|
+
after?: {
|
|
6504
|
+
description: string;
|
|
6505
|
+
name: string;
|
|
6506
|
+
version: string;
|
|
6507
|
+
};
|
|
6508
|
+
before?: {
|
|
6509
|
+
description?: string | null;
|
|
6510
|
+
name?: string | null;
|
|
6511
|
+
version?: string | null;
|
|
6512
|
+
};
|
|
6513
|
+
};
|
|
6514
|
+
name: "database.mysql-created" | "database.redis-created";
|
|
6515
|
+
parameters: {
|
|
6516
|
+
name: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
|
|
6517
|
+
version: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
|
|
6518
|
+
};
|
|
6519
|
+
}
|
|
6520
|
+
interface ActivitylogDatabaseMysqlUserCreated {
|
|
6521
|
+
changes: {
|
|
6522
|
+
after?: {
|
|
6523
|
+
description: string;
|
|
6524
|
+
externalAccess: boolean;
|
|
6525
|
+
name: string;
|
|
6526
|
+
permissions: {};
|
|
6527
|
+
};
|
|
6528
|
+
before?: {
|
|
6529
|
+
description?: string | null;
|
|
6530
|
+
externalAccess?: boolean | null;
|
|
6531
|
+
name?: string | null;
|
|
6532
|
+
permissions?: {} | null;
|
|
6533
|
+
};
|
|
6534
|
+
};
|
|
6535
|
+
name: "database.mysql-user-created";
|
|
6536
|
+
parameters: {
|
|
6537
|
+
databaseName: MittwaldAPIV2.Components.Schemas.ActivitylogLinkedParameterProperty;
|
|
6538
|
+
name: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
|
|
6539
|
+
};
|
|
6540
|
+
}
|
|
6541
|
+
interface ActivitylogAggregateReference {
|
|
6542
|
+
aggregate: string;
|
|
6543
|
+
domain: string;
|
|
6544
|
+
id: string;
|
|
6545
|
+
}
|
|
6546
|
+
interface ActivitylogDnsSrvRecordSet {
|
|
6547
|
+
changes: {
|
|
6548
|
+
after?: {
|
|
6549
|
+
srv: {}[];
|
|
6550
|
+
};
|
|
6551
|
+
before?: {
|
|
6552
|
+
srv: {}[];
|
|
6553
|
+
};
|
|
6554
|
+
};
|
|
6555
|
+
name: "dns.srv-record-set";
|
|
6556
|
+
parameters: {
|
|
6557
|
+
domain: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
|
|
6558
|
+
};
|
|
6559
|
+
}
|
|
6455
6560
|
interface ActivitylogDnsMxRecordSet {
|
|
6456
6561
|
changes: {
|
|
6457
6562
|
after?: {
|
|
@@ -6524,63 +6629,31 @@ export declare namespace MittwaldAPIV2 {
|
|
|
6524
6629
|
domain: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
|
|
6525
6630
|
};
|
|
6526
6631
|
}
|
|
6527
|
-
interface
|
|
6528
|
-
changes: {
|
|
6529
|
-
after?: {
|
|
6530
|
-
description: string;
|
|
6531
|
-
name: string;
|
|
6532
|
-
version: string;
|
|
6533
|
-
};
|
|
6534
|
-
before?: {
|
|
6535
|
-
description?: string | null;
|
|
6536
|
-
name?: string | null;
|
|
6537
|
-
version?: string | null;
|
|
6538
|
-
};
|
|
6539
|
-
};
|
|
6540
|
-
name: "database.mysql-created" | "database.redis-created";
|
|
6541
|
-
parameters: {
|
|
6542
|
-
name: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
|
|
6543
|
-
version: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
|
|
6544
|
-
};
|
|
6545
|
-
}
|
|
6546
|
-
interface ActivitylogDatabaseMysqlUserCreated {
|
|
6632
|
+
interface ActivitylogDatabaseMysqlUserUpdated {
|
|
6547
6633
|
changes: {
|
|
6548
6634
|
after?: {
|
|
6549
6635
|
description: string;
|
|
6550
6636
|
externalAccess: boolean;
|
|
6551
|
-
name: string;
|
|
6552
6637
|
permissions: {};
|
|
6553
6638
|
};
|
|
6554
6639
|
before?: {
|
|
6555
|
-
description
|
|
6556
|
-
externalAccess
|
|
6557
|
-
|
|
6558
|
-
permissions?: {} | null;
|
|
6640
|
+
description: string | null;
|
|
6641
|
+
externalAccess: boolean | null;
|
|
6642
|
+
permissions: {};
|
|
6559
6643
|
};
|
|
6560
6644
|
};
|
|
6561
|
-
name: "database.mysql-user-
|
|
6645
|
+
name: "database.mysql-user-updated";
|
|
6562
6646
|
parameters: {
|
|
6563
6647
|
databaseName: MittwaldAPIV2.Components.Schemas.ActivitylogLinkedParameterProperty;
|
|
6564
6648
|
name: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
|
|
6565
6649
|
};
|
|
6566
6650
|
}
|
|
6567
|
-
interface
|
|
6568
|
-
|
|
6569
|
-
|
|
6570
|
-
id: string;
|
|
6571
|
-
}
|
|
6572
|
-
interface ActivitylogDnsSrvRecordSet {
|
|
6573
|
-
changes: {
|
|
6574
|
-
after?: {
|
|
6575
|
-
srv: {}[];
|
|
6576
|
-
};
|
|
6577
|
-
before?: {
|
|
6578
|
-
srv: {}[];
|
|
6579
|
-
};
|
|
6580
|
-
};
|
|
6581
|
-
name: "dns.srv-record-set";
|
|
6651
|
+
interface ActivitylogDatabaseMysqlUserDeleted {
|
|
6652
|
+
changes: {};
|
|
6653
|
+
name: "database.mysql-user-deleted";
|
|
6582
6654
|
parameters: {
|
|
6583
|
-
|
|
6655
|
+
databaseName: MittwaldAPIV2.Components.Schemas.ActivitylogLinkedParameterProperty;
|
|
6656
|
+
name: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
|
|
6584
6657
|
};
|
|
6585
6658
|
}
|
|
6586
6659
|
interface ActivitylogLogEntry {
|
|
@@ -6610,14 +6683,6 @@ export declare namespace MittwaldAPIV2 {
|
|
|
6610
6683
|
domain: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
|
|
6611
6684
|
};
|
|
6612
6685
|
}
|
|
6613
|
-
interface ActivitylogDatabaseMysqlUserDeleted {
|
|
6614
|
-
changes: {};
|
|
6615
|
-
name: "database.mysql-user-deleted";
|
|
6616
|
-
parameters: {
|
|
6617
|
-
databaseName: MittwaldAPIV2.Components.Schemas.ActivitylogLinkedParameterProperty;
|
|
6618
|
-
name: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
|
|
6619
|
-
};
|
|
6620
|
-
}
|
|
6621
6686
|
/**
|
|
6622
6687
|
* Fallback when no matching action is found
|
|
6623
6688
|
*/
|
|
@@ -6637,25 +6702,6 @@ export declare namespace MittwaldAPIV2 {
|
|
|
6637
6702
|
[k: string]: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
|
|
6638
6703
|
};
|
|
6639
6704
|
}
|
|
6640
|
-
interface ActivitylogDatabaseMysqlUserUpdated {
|
|
6641
|
-
changes: {
|
|
6642
|
-
after?: {
|
|
6643
|
-
description: string;
|
|
6644
|
-
externalAccess: boolean;
|
|
6645
|
-
permissions: {};
|
|
6646
|
-
};
|
|
6647
|
-
before?: {
|
|
6648
|
-
description: string | null;
|
|
6649
|
-
externalAccess: boolean | null;
|
|
6650
|
-
permissions: {};
|
|
6651
|
-
};
|
|
6652
|
-
};
|
|
6653
|
-
name: "database.mysql-user-updated";
|
|
6654
|
-
parameters: {
|
|
6655
|
-
databaseName: MittwaldAPIV2.Components.Schemas.ActivitylogLinkedParameterProperty;
|
|
6656
|
-
name: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
|
|
6657
|
-
};
|
|
6658
|
-
}
|
|
6659
6705
|
interface ProjectProjectListItem {
|
|
6660
6706
|
backupStorageUsageInBytes: number;
|
|
6661
6707
|
backupStorageUsageInBytesSetAt: string;
|
|
@@ -6698,6 +6744,96 @@ export declare namespace MittwaldAPIV2 {
|
|
|
6698
6744
|
isDefaultGroup?: boolean;
|
|
6699
6745
|
name: string;
|
|
6700
6746
|
}
|
|
6747
|
+
type DomainmigrationDNSRecordType = "A" | "AAAA" | "TXT" | "MX" | "CNAME" | "SRV" | "CAA" | "NS";
|
|
6748
|
+
/**
|
|
6749
|
+
* Typed reason a domain cannot be migrated.
|
|
6750
|
+
*/
|
|
6751
|
+
type DomainmigrationDomainNotMigratableReason = "DOMAIN_NOT_MIGRATABLE_REASON_NEED_EPP" | "DOMAIN_NOT_MIGRATABLE_REASON_TLD_NOT_SUPPORTED" | "DOMAIN_NOT_MIGRATABLE_REASON_PREMIUM_DOMAIN" | "DOMAIN_NOT_MIGRATABLE_REASON_REGISTRAR_NOT_SUPPORTED" | "DOMAIN_NOT_MIGRATABLE_REASON_NOT_ORDERABLE" | "DOMAIN_NOT_MIGRATABLE_REASON_INSUFFICIENT_STATE" | "DOMAIN_NOT_MIGRATABLE_REASON_CONTRACT_DATE_OUT_OF_RANGE";
|
|
6752
|
+
interface DomainmigrationNonMigratableDomain {
|
|
6753
|
+
hostname: string;
|
|
6754
|
+
issues: MittwaldAPIV2.Components.Schemas.DomainmigrationDomainNotMigratableReasons;
|
|
6755
|
+
migratable: false;
|
|
6756
|
+
}
|
|
6757
|
+
/**
|
|
6758
|
+
* A non-migratable-domain failure: one selected domain cannot be migrated. type is always DOMAIN_NOT_MIGRATABLE, path is the affected domain, and context.reason carries the typed reason code.
|
|
6759
|
+
*/
|
|
6760
|
+
interface DomainmigrationDomainNotMigratableValidationError {
|
|
6761
|
+
context: {
|
|
6762
|
+
reason: MittwaldAPIV2.Components.Schemas.DomainmigrationDomainNotMigratableReason;
|
|
6763
|
+
[k: string]: string;
|
|
6764
|
+
};
|
|
6765
|
+
message: string;
|
|
6766
|
+
/**
|
|
6767
|
+
* The affected domain.
|
|
6768
|
+
*/
|
|
6769
|
+
path: string;
|
|
6770
|
+
/**
|
|
6771
|
+
* Discriminator for this branch; always DOMAIN_NOT_MIGRATABLE.
|
|
6772
|
+
*/
|
|
6773
|
+
type: "DOMAIN_NOT_MIGRATABLE";
|
|
6774
|
+
}
|
|
6775
|
+
interface DomainmigrationDomainNotMigratableReasons {
|
|
6776
|
+
reasonCodes: MittwaldAPIV2.Components.Schemas.DomainmigrationDomainNotMigratableReason[];
|
|
6777
|
+
}
|
|
6778
|
+
interface DomainmigrationMigratableDomain {
|
|
6779
|
+
hostname: string;
|
|
6780
|
+
migratable: true;
|
|
6781
|
+
migrationData: MittwaldAPIV2.Components.Schemas.DomainmigrationMigrationData;
|
|
6782
|
+
}
|
|
6783
|
+
interface DomainmigrationCheckMigrationResponse {
|
|
6784
|
+
allDomainsMigratable: boolean;
|
|
6785
|
+
domains: (MittwaldAPIV2.Components.Schemas.DomainmigrationMigratableDomain | MittwaldAPIV2.Components.Schemas.DomainmigrationNonMigratableDomain)[];
|
|
6786
|
+
generalIssues?: MittwaldAPIV2.Components.Schemas.DomainmigrationMigrationNotPossibleReasons;
|
|
6787
|
+
generallyPossible: boolean;
|
|
6788
|
+
}
|
|
6789
|
+
interface DomainmigrationSubdomain {
|
|
6790
|
+
dnsRecords: MittwaldAPIV2.Components.Schemas.DomainmigrationDNSRecord[];
|
|
6791
|
+
hostname: string;
|
|
6792
|
+
target?: string;
|
|
6793
|
+
}
|
|
6794
|
+
interface DomainmigrationDNSRecord {
|
|
6795
|
+
name?: string;
|
|
6796
|
+
ttl: number;
|
|
6797
|
+
type: MittwaldAPIV2.Components.Schemas.DomainmigrationDNSRecordType;
|
|
6798
|
+
value: string;
|
|
6799
|
+
}
|
|
6800
|
+
interface DomainmigrationMigrationNotPossibleReasons {
|
|
6801
|
+
customerIsNotAllowedToOrder: boolean;
|
|
6802
|
+
legacyTokenNotAuthorized: boolean;
|
|
6803
|
+
noDomainsInSource: boolean;
|
|
6804
|
+
}
|
|
6805
|
+
interface DomainmigrationMigration {
|
|
6806
|
+
createdAt?: string;
|
|
6807
|
+
domains: {
|
|
6808
|
+
coabData?: {
|
|
6809
|
+
dnsRecords?: MittwaldAPIV2.Components.Schemas.DomainmigrationDNSRecord[];
|
|
6810
|
+
handleData?: {
|
|
6811
|
+
handleFields?: {
|
|
6812
|
+
name: string;
|
|
6813
|
+
value: string;
|
|
6814
|
+
}[];
|
|
6815
|
+
handleRef?: string;
|
|
6816
|
+
};
|
|
6817
|
+
nameservers?: string[];
|
|
6818
|
+
subdomains?: MittwaldAPIV2.Components.Schemas.DomainmigrationSubdomain[];
|
|
6819
|
+
};
|
|
6820
|
+
domain: string;
|
|
6821
|
+
domainId: string;
|
|
6822
|
+
state: "pending" | "succeeded" | "failed";
|
|
6823
|
+
}[];
|
|
6824
|
+
finishedAt?: string;
|
|
6825
|
+
id: string;
|
|
6826
|
+
pAccount: string;
|
|
6827
|
+
projectId: string;
|
|
6828
|
+
}
|
|
6829
|
+
interface DomainmigrationMigrationData {
|
|
6830
|
+
dnsRecords: MittwaldAPIV2.Components.Schemas.DomainmigrationDNSRecord[];
|
|
6831
|
+
/**
|
|
6832
|
+
* Monthly net domain price in EUR cents.
|
|
6833
|
+
*/
|
|
6834
|
+
monthlyPriceCents: number;
|
|
6835
|
+
subdomains: MittwaldAPIV2.Components.Schemas.DomainmigrationSubdomain[];
|
|
6836
|
+
}
|
|
6701
6837
|
interface CommonsAddress {
|
|
6702
6838
|
street: string;
|
|
6703
6839
|
houseNumber: string;
|
|
@@ -10898,6 +11034,59 @@ export declare namespace MittwaldAPIV2 {
|
|
|
10898
11034
|
}
|
|
10899
11035
|
}
|
|
10900
11036
|
}
|
|
11037
|
+
namespace V2ContainerTemplatesTemplateId {
|
|
11038
|
+
namespace Get {
|
|
11039
|
+
namespace Parameters {
|
|
11040
|
+
type Path = {
|
|
11041
|
+
templateId: string;
|
|
11042
|
+
};
|
|
11043
|
+
type Header = {};
|
|
11044
|
+
type Query = {};
|
|
11045
|
+
}
|
|
11046
|
+
namespace Responses {
|
|
11047
|
+
namespace $200 {
|
|
11048
|
+
namespace Content {
|
|
11049
|
+
type ApplicationJson = MittwaldAPIV2.Components.Schemas.ContainerTemplate;
|
|
11050
|
+
}
|
|
11051
|
+
}
|
|
11052
|
+
namespace $400 {
|
|
11053
|
+
namespace Content {
|
|
11054
|
+
interface ApplicationJson {
|
|
11055
|
+
[k: string]: unknown;
|
|
11056
|
+
}
|
|
11057
|
+
}
|
|
11058
|
+
}
|
|
11059
|
+
namespace $404 {
|
|
11060
|
+
namespace Content {
|
|
11061
|
+
interface ApplicationJson {
|
|
11062
|
+
[k: string]: unknown;
|
|
11063
|
+
}
|
|
11064
|
+
}
|
|
11065
|
+
}
|
|
11066
|
+
namespace $429 {
|
|
11067
|
+
namespace Content {
|
|
11068
|
+
interface ApplicationJson {
|
|
11069
|
+
[k: string]: unknown;
|
|
11070
|
+
}
|
|
11071
|
+
}
|
|
11072
|
+
}
|
|
11073
|
+
namespace $500 {
|
|
11074
|
+
namespace Content {
|
|
11075
|
+
interface ApplicationJson {
|
|
11076
|
+
[k: string]: unknown;
|
|
11077
|
+
}
|
|
11078
|
+
}
|
|
11079
|
+
}
|
|
11080
|
+
namespace Default {
|
|
11081
|
+
namespace Content {
|
|
11082
|
+
interface ApplicationJson {
|
|
11083
|
+
[k: string]: unknown;
|
|
11084
|
+
}
|
|
11085
|
+
}
|
|
11086
|
+
}
|
|
11087
|
+
}
|
|
11088
|
+
}
|
|
11089
|
+
}
|
|
10901
11090
|
namespace V2Stacks {
|
|
10902
11091
|
namespace Get {
|
|
10903
11092
|
namespace Parameters {
|
|
@@ -11082,6 +11271,56 @@ export declare namespace MittwaldAPIV2 {
|
|
|
11082
11271
|
}
|
|
11083
11272
|
}
|
|
11084
11273
|
}
|
|
11274
|
+
namespace V2ContainerTemplates {
|
|
11275
|
+
namespace Get {
|
|
11276
|
+
namespace Parameters {
|
|
11277
|
+
type Path = {};
|
|
11278
|
+
type Header = {};
|
|
11279
|
+
type Query = {
|
|
11280
|
+
category?: string;
|
|
11281
|
+
searchTerm?: string;
|
|
11282
|
+
limit?: number;
|
|
11283
|
+
skip?: number;
|
|
11284
|
+
page?: number;
|
|
11285
|
+
};
|
|
11286
|
+
}
|
|
11287
|
+
namespace Responses {
|
|
11288
|
+
namespace $200 {
|
|
11289
|
+
namespace Content {
|
|
11290
|
+
type ApplicationJson = MittwaldAPIV2.Components.Schemas.ContainerTemplate[];
|
|
11291
|
+
}
|
|
11292
|
+
}
|
|
11293
|
+
namespace $400 {
|
|
11294
|
+
namespace Content {
|
|
11295
|
+
interface ApplicationJson {
|
|
11296
|
+
[k: string]: unknown;
|
|
11297
|
+
}
|
|
11298
|
+
}
|
|
11299
|
+
}
|
|
11300
|
+
namespace $429 {
|
|
11301
|
+
namespace Content {
|
|
11302
|
+
interface ApplicationJson {
|
|
11303
|
+
[k: string]: unknown;
|
|
11304
|
+
}
|
|
11305
|
+
}
|
|
11306
|
+
}
|
|
11307
|
+
namespace $500 {
|
|
11308
|
+
namespace Content {
|
|
11309
|
+
interface ApplicationJson {
|
|
11310
|
+
[k: string]: unknown;
|
|
11311
|
+
}
|
|
11312
|
+
}
|
|
11313
|
+
}
|
|
11314
|
+
namespace Default {
|
|
11315
|
+
namespace Content {
|
|
11316
|
+
interface ApplicationJson {
|
|
11317
|
+
[k: string]: unknown;
|
|
11318
|
+
}
|
|
11319
|
+
}
|
|
11320
|
+
}
|
|
11321
|
+
}
|
|
11322
|
+
}
|
|
11323
|
+
}
|
|
11085
11324
|
namespace V2ProjectsProjectIdVolumes {
|
|
11086
11325
|
namespace Get {
|
|
11087
11326
|
namespace Parameters {
|
package/dist/types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export declare const MittwaldAPIClientVersion = '4.393.0';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mittwald/api-client",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.394.0",
|
|
4
4
|
"author": "Mittwald CM Service GmbH & Co. KG <opensource@mittwald.de>",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Auto-generated client for the mittwald API",
|
|
@@ -46,11 +46,11 @@
|
|
|
46
46
|
"test:compile": "run tsc --noEmit"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@mittwald/api-client-commons": "^4.
|
|
49
|
+
"@mittwald/api-client-commons": "^4.394.0",
|
|
50
50
|
"browser-or-node": "^3.0.0"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@mittwald/api-code-generator": "^4.
|
|
53
|
+
"@mittwald/api-code-generator": "^4.394.0",
|
|
54
54
|
"@mittwald/react-use-promise": "^2.6.2",
|
|
55
55
|
"@types/node": "^22.18.11",
|
|
56
56
|
"@types/react": "^18.3.26",
|
|
@@ -80,5 +80,5 @@
|
|
|
80
80
|
"optional": true
|
|
81
81
|
}
|
|
82
82
|
},
|
|
83
|
-
"gitHead": "
|
|
83
|
+
"gitHead": "a972f258c04c212ea1179acc3d134653816fd320"
|
|
84
84
|
}
|