@mittwald/api-client 0.0.0-development-38105fd-20260708 → 0.0.0-development-d575ea2-20260713
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 +6 -8
- package/dist/esm/generated/v2/client.js +12 -10
- package/dist/esm/generated/v2/descriptors.js +36 -30
- package/dist/esm/generated/v3-next/client-react.js +6 -8
- package/dist/esm/generated/v3-next/client.js +12 -10
- package/dist/esm/generated/v3-next/descriptors.js +36 -30
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +58 -62
- package/dist/types/generated/v2/client.d.ts +423 -277
- package/dist/types/generated/v2/descriptors.d.ts +13 -11
- package/dist/types/generated/v2/types.d.ts +541 -433
- package/dist/types/generated/v3-next/client-react.d.ts +58 -62
- package/dist/types/generated/v3-next/client.d.ts +423 -277
- package/dist/types/generated/v3-next/descriptors.d.ts +13 -11
- package/dist/types/generated/v3-next/types.d.ts +541 -433
- package/dist/types/version.d.ts +1 -1
- package/package.json +4 -4
|
@@ -8,6 +8,10 @@ const buildAiHostingApi = (baseClient) => ({
|
|
|
8
8
|
customerGetKey: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetKey, baseClient.aiHosting.customerGetKey).getApiResource,
|
|
9
9
|
/** Get a list of currently active models. */
|
|
10
10
|
customerGetDetailedModels: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetDetailedModels, baseClient.aiHosting.customerGetDetailedModels).getApiResource,
|
|
11
|
+
/** Get ai hosting plan and usages of a customer by planId. */
|
|
12
|
+
customerGetPlan: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetPlan, baseClient.aiHosting.customerGetPlan).getApiResource,
|
|
13
|
+
/** Get all ai hosting plans of a customer. */
|
|
14
|
+
customerGetPlans: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetPlans, baseClient.aiHosting.customerGetPlans).getApiResource,
|
|
11
15
|
/** Get ai hosting plan and usages of a customer. Deprecated: use /ai-hostings/{planId} instead. */
|
|
12
16
|
customerGetUsage: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetUsage, baseClient.aiHosting.customerGetUsage).getApiResource,
|
|
13
17
|
/** Get a list of currently active models. */
|
|
@@ -20,10 +24,6 @@ const buildAiHostingApi = (baseClient) => ({
|
|
|
20
24
|
projectGetDetailedModels: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetDetailedModels, baseClient.aiHosting.projectGetDetailedModels).getApiResource,
|
|
21
25
|
/** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
|
|
22
26
|
projectGetUsage: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetUsage, baseClient.aiHosting.projectGetUsage).getApiResource,
|
|
23
|
-
/** Get ai hosting plan and usages of a customer by planId. */
|
|
24
|
-
customerGetPlan: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetPlan, baseClient.aiHosting.customerGetPlan).getApiResource,
|
|
25
|
-
/** Get all ai hosting plans of a customer. */
|
|
26
|
-
customerGetPlans: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetPlans, baseClient.aiHosting.customerGetPlans).getApiResource,
|
|
27
27
|
});
|
|
28
28
|
const buildAppApi = (baseClient) => ({
|
|
29
29
|
/** Get an App. */
|
|
@@ -106,14 +106,12 @@ const buildContainerApi = (baseClient) => ({
|
|
|
106
106
|
listServices: new ApiCallAsyncResourceFactory(descriptors.containerListServices, baseClient.container.listServices).getApiResource,
|
|
107
107
|
/** List Volumes belonging to a Stack. */
|
|
108
108
|
listStackVolumes: new ApiCallAsyncResourceFactory(descriptors.containerListStackVolumes, baseClient.container.listStackVolumes).getApiResource,
|
|
109
|
+
/** List Container Template statistics. */
|
|
110
|
+
listTemplateStatistics: new ApiCallAsyncResourceFactory(descriptors.containerListTemplateStatistics, baseClient.container.listTemplateStatistics).getApiResource,
|
|
109
111
|
/** List Container Templates. */
|
|
110
112
|
listTemplates: new ApiCallAsyncResourceFactory(descriptors.containerListTemplates, baseClient.container.listTemplates).getApiResource,
|
|
111
113
|
/** List Volumes belonging to a Project. */
|
|
112
114
|
listVolumes: new ApiCallAsyncResourceFactory(descriptors.containerListVolumes, baseClient.container.listVolumes).getApiResource,
|
|
113
|
-
/** Get Container Template statistics. */
|
|
114
|
-
getTemplateStatistics: new ApiCallAsyncResourceFactory(descriptors.containerGetTemplateStatistics, baseClient.container.getTemplateStatistics).getApiResource,
|
|
115
|
-
/** Get Container Template statistics by category. */
|
|
116
|
-
getTemplateStatisticsByCategory: new ApiCallAsyncResourceFactory(descriptors.containerGetTemplateStatisticsByCategory, baseClient.container.getTemplateStatisticsByCategory).getApiResource,
|
|
117
115
|
});
|
|
118
116
|
const buildContractApi = (baseClient) => ({
|
|
119
117
|
/** Return the BaseItem of the Contract with the given ID. */
|
|
@@ -20,6 +20,12 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
20
20
|
customerDeleteKey: this.requestFunctionFactory(descriptors.aiHostingCustomerDeleteKey),
|
|
21
21
|
/** Get a list of currently active models. */
|
|
22
22
|
customerGetDetailedModels: this.requestFunctionFactory(descriptors.aiHostingCustomerGetDetailedModels),
|
|
23
|
+
/** Get ai hosting plan and usages of a customer by planId. */
|
|
24
|
+
customerGetPlan: this.requestFunctionFactory(descriptors.aiHostingCustomerGetPlan),
|
|
25
|
+
/** Renames an AI hosting plan. */
|
|
26
|
+
customerUpdatePlan: this.requestFunctionFactory(descriptors.aiHostingCustomerUpdatePlan),
|
|
27
|
+
/** Get all ai hosting plans of a customer. */
|
|
28
|
+
customerGetPlans: this.requestFunctionFactory(descriptors.aiHostingCustomerGetPlans),
|
|
23
29
|
/** Get ai hosting plan and usages of a customer. Deprecated: use /ai-hostings/{planId} instead. */
|
|
24
30
|
customerGetUsage: this.requestFunctionFactory(descriptors.aiHostingCustomerGetUsage),
|
|
25
31
|
/** Get a list of currently active models. */
|
|
@@ -40,10 +46,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
40
46
|
projectGetUsage: this.requestFunctionFactory(descriptors.aiHostingProjectGetUsage),
|
|
41
47
|
/** Links a container with a project licence. */
|
|
42
48
|
projectLinkContainer: this.requestFunctionFactory(descriptors.aiHostingProjectLinkContainer),
|
|
43
|
-
/** Get ai hosting plan and usages of a customer by planId. */
|
|
44
|
-
customerGetPlan: this.requestFunctionFactory(descriptors.aiHostingCustomerGetPlan),
|
|
45
|
-
/** Get all ai hosting plans of a customer. */
|
|
46
|
-
customerGetPlans: this.requestFunctionFactory(descriptors.aiHostingCustomerGetPlans),
|
|
47
49
|
};
|
|
48
50
|
/** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
|
|
49
51
|
app = {
|
|
@@ -138,6 +140,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
138
140
|
};
|
|
139
141
|
/** The container API allows you to manage your stacks, containers, volumes and registries. */
|
|
140
142
|
container = {
|
|
143
|
+
/** Add a component to a Stack. */
|
|
144
|
+
addComponent: this.requestFunctionFactory(descriptors.containerAddComponent),
|
|
141
145
|
/** Call pull-image webhook */
|
|
142
146
|
callPullImageWebhookForService: this.requestFunctionFactory(descriptors.containerCallPullImageWebhookForService),
|
|
143
147
|
/** List Registries belonging to a Project. */
|
|
@@ -182,6 +186,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
182
186
|
listServices: this.requestFunctionFactory(descriptors.containerListServices),
|
|
183
187
|
/** List Volumes belonging to a Stack. */
|
|
184
188
|
listStackVolumes: this.requestFunctionFactory(descriptors.containerListStackVolumes),
|
|
189
|
+
/** List Container Template statistics. */
|
|
190
|
+
listTemplateStatistics: this.requestFunctionFactory(descriptors.containerListTemplateStatistics),
|
|
185
191
|
/** List Container Templates. */
|
|
186
192
|
listTemplates: this.requestFunctionFactory(descriptors.containerListTemplates),
|
|
187
193
|
/** List Volumes belonging to a Project. */
|
|
@@ -200,10 +206,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
200
206
|
startService: this.requestFunctionFactory(descriptors.containerStartService),
|
|
201
207
|
/** Stop a started Service. */
|
|
202
208
|
stopService: this.requestFunctionFactory(descriptors.containerStopService),
|
|
203
|
-
/** Get Container Template statistics. */
|
|
204
|
-
getTemplateStatistics: this.requestFunctionFactory(descriptors.containerGetTemplateStatistics),
|
|
205
|
-
/** Get Container Template statistics by category. */
|
|
206
|
-
getTemplateStatisticsByCategory: this.requestFunctionFactory(descriptors.containerGetTemplateStatisticsByCategory),
|
|
207
209
|
};
|
|
208
210
|
/** The contract API allows you to manage your contracts and orders */
|
|
209
211
|
contract = {
|
|
@@ -722,6 +724,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
722
724
|
migrationRequestMailMigration: this.requestFunctionFactory(descriptors.mailMigrationRequestMailMigration),
|
|
723
725
|
/** Recover emails for a MailAddress from a backup. */
|
|
724
726
|
recoverMailAddressEmails: this.requestFunctionFactory(descriptors.mailRecoverMailAddressEmails),
|
|
727
|
+
/** Request a rate limit change for a MailAddress. */
|
|
728
|
+
requestMailAddressRateLimitChange: this.requestFunctionFactory(descriptors.mailRequestMailAddressRateLimitChange),
|
|
725
729
|
/** Update the description of a DeliveryBox. */
|
|
726
730
|
updateDeliveryBoxDescription: this.requestFunctionFactory(descriptors.mailUpdateDeliveryBoxDescription),
|
|
727
731
|
/** Update the password of a DeliveryBox. */
|
|
@@ -730,8 +734,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
730
734
|
updateMailAddressAddress: this.requestFunctionFactory(descriptors.mailUpdateMailAddressAddress),
|
|
731
735
|
/** Update the catch-all of a MailAddress. */
|
|
732
736
|
updateMailAddressCatchAll: this.requestFunctionFactory(descriptors.mailUpdateMailAddressCatchAll),
|
|
733
|
-
/** Request a rate limit change for a MailAddress. */
|
|
734
|
-
requestMailAddressRateLimitChange: this.requestFunctionFactory(descriptors.mailRequestMailAddressRateLimitChange),
|
|
735
737
|
};
|
|
736
738
|
/** The notification API allows you to manage your notifications. */
|
|
737
739
|
notification = {
|
|
@@ -40,6 +40,24 @@ export const aiHostingCustomerGetDetailedModels = {
|
|
|
40
40
|
method: "GET",
|
|
41
41
|
operationId: "ai-hosting-customer-get-detailed-models",
|
|
42
42
|
};
|
|
43
|
+
/** Get ai hosting plan and usages of a customer by planId. */
|
|
44
|
+
export const aiHostingCustomerGetPlan = {
|
|
45
|
+
path: "/v2/customers/{customerId}/ai-hostings/{planId}",
|
|
46
|
+
method: "GET",
|
|
47
|
+
operationId: "ai-hosting-customer-get-plan",
|
|
48
|
+
};
|
|
49
|
+
/** Renames an AI hosting plan. */
|
|
50
|
+
export const aiHostingCustomerUpdatePlan = {
|
|
51
|
+
path: "/v2/customers/{customerId}/ai-hostings/{planId}",
|
|
52
|
+
method: "PUT",
|
|
53
|
+
operationId: "ai-hosting-customer-update-plan",
|
|
54
|
+
};
|
|
55
|
+
/** Get all ai hosting plans of a customer. */
|
|
56
|
+
export const aiHostingCustomerGetPlans = {
|
|
57
|
+
path: "/v2/customers/{customerId}/ai-hostings",
|
|
58
|
+
method: "GET",
|
|
59
|
+
operationId: "ai-hosting-customer-get-plans",
|
|
60
|
+
};
|
|
43
61
|
/** Get ai hosting plan and usages of a customer. Deprecated: use /ai-hostings/{planId} instead. */
|
|
44
62
|
export const aiHostingCustomerGetUsage = {
|
|
45
63
|
path: "/v2/customers/{customerId}/ai-hosting",
|
|
@@ -346,6 +364,12 @@ export const backupUpdateProjectBackupDescription = {
|
|
|
346
364
|
method: "PATCH",
|
|
347
365
|
operationId: "backup-update-project-backup-description",
|
|
348
366
|
};
|
|
367
|
+
/** Add a component to a Stack. */
|
|
368
|
+
export const containerAddComponent = {
|
|
369
|
+
path: "/v2/stacks/{stackId}/actions/add-component",
|
|
370
|
+
method: "POST",
|
|
371
|
+
operationId: "container-add-component",
|
|
372
|
+
};
|
|
349
373
|
/** Call pull-image webhook */
|
|
350
374
|
export const containerCallPullImageWebhookForService = {
|
|
351
375
|
path: "/v2/stacks/{stackId}/webhooks/pull-image",
|
|
@@ -478,6 +502,12 @@ export const containerListStackVolumes = {
|
|
|
478
502
|
method: "GET",
|
|
479
503
|
operationId: "container-list-stack-volumes",
|
|
480
504
|
};
|
|
505
|
+
/** List Container Template statistics. */
|
|
506
|
+
export const containerListTemplateStatistics = {
|
|
507
|
+
path: "/v2/container-template-statistics",
|
|
508
|
+
method: "GET",
|
|
509
|
+
operationId: "container-list-template-statistics",
|
|
510
|
+
};
|
|
481
511
|
/** List Container Templates. */
|
|
482
512
|
export const containerListTemplates = {
|
|
483
513
|
path: "/v2/container-templates",
|
|
@@ -2050,6 +2080,12 @@ export const mailRecoverMailAddressEmails = {
|
|
|
2050
2080
|
method: "POST",
|
|
2051
2081
|
operationId: "mail-recover-mail-address-emails",
|
|
2052
2082
|
};
|
|
2083
|
+
/** Request a rate limit change for a MailAddress. */
|
|
2084
|
+
export const mailRequestMailAddressRateLimitChange = {
|
|
2085
|
+
path: "/v2/mail-addresses/{mailAddressId}/actions/request-rate-limit-change",
|
|
2086
|
+
method: "POST",
|
|
2087
|
+
operationId: "mail-request-mail-address-rate-limit-change",
|
|
2088
|
+
};
|
|
2053
2089
|
/** Update the description of a DeliveryBox. */
|
|
2054
2090
|
export const mailUpdateDeliveryBoxDescription = {
|
|
2055
2091
|
path: "/v2/delivery-boxes/{deliveryBoxId}/description",
|
|
@@ -2896,33 +2932,3 @@ export const verificationVerifyCompany = {
|
|
|
2896
2932
|
method: "POST",
|
|
2897
2933
|
operationId: "verification-verify-company",
|
|
2898
2934
|
};
|
|
2899
|
-
/** Get Container Template statistics. */
|
|
2900
|
-
export const containerGetTemplateStatistics = {
|
|
2901
|
-
path: "/v2/container-templates/{templateId}/statistics",
|
|
2902
|
-
method: "GET",
|
|
2903
|
-
operationId: "container-get-template-statistics",
|
|
2904
|
-
};
|
|
2905
|
-
/** Get Container Template statistics by category. */
|
|
2906
|
-
export const containerGetTemplateStatisticsByCategory = {
|
|
2907
|
-
path: "/v2/container-template-categories/{category}/statistics",
|
|
2908
|
-
method: "GET",
|
|
2909
|
-
operationId: "container-get-template-statistics-by-category",
|
|
2910
|
-
};
|
|
2911
|
-
/** Get ai hosting plan and usages of a customer by planId. */
|
|
2912
|
-
export const aiHostingCustomerGetPlan = {
|
|
2913
|
-
path: "/v2/customers/{customerId}/ai-hostings/{planId}",
|
|
2914
|
-
method: "GET",
|
|
2915
|
-
operationId: "ai-hosting-customer-get-plan",
|
|
2916
|
-
};
|
|
2917
|
-
/** Get all ai hosting plans of a customer. */
|
|
2918
|
-
export const aiHostingCustomerGetPlans = {
|
|
2919
|
-
path: "/v2/customers/{customerId}/ai-hostings",
|
|
2920
|
-
method: "GET",
|
|
2921
|
-
operationId: "ai-hosting-customer-get-plans",
|
|
2922
|
-
};
|
|
2923
|
-
/** Request a rate limit change for a MailAddress. */
|
|
2924
|
-
export const mailRequestMailAddressRateLimitChange = {
|
|
2925
|
-
path: "/v2/mail-addresses/{mailAddressId}/request-rate-limit-change",
|
|
2926
|
-
method: "POST",
|
|
2927
|
-
operationId: "mail-request-mail-address-rate-limit-change",
|
|
2928
|
-
};
|
|
@@ -8,6 +8,10 @@ const buildAiHostingApi = (baseClient) => ({
|
|
|
8
8
|
customerGetKey: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetKey, baseClient.aiHosting.customerGetKey).getApiResource,
|
|
9
9
|
/** Get a list of currently active models. */
|
|
10
10
|
customerGetDetailedModels: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetDetailedModels, baseClient.aiHosting.customerGetDetailedModels).getApiResource,
|
|
11
|
+
/** Get ai hosting plan and usages of a customer by planId. */
|
|
12
|
+
customerGetPlan: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetPlan, baseClient.aiHosting.customerGetPlan).getApiResource,
|
|
13
|
+
/** Get all ai hosting plans of a customer. */
|
|
14
|
+
customerGetPlans: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetPlans, baseClient.aiHosting.customerGetPlans).getApiResource,
|
|
11
15
|
/** Get ai hosting plan and usages of a customer. Deprecated: use /ai-hostings/{planId} instead. */
|
|
12
16
|
customerGetUsage: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetUsage, baseClient.aiHosting.customerGetUsage).getApiResource,
|
|
13
17
|
/** Get a list of currently active models. */
|
|
@@ -20,10 +24,6 @@ const buildAiHostingApi = (baseClient) => ({
|
|
|
20
24
|
projectGetDetailedModels: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetDetailedModels, baseClient.aiHosting.projectGetDetailedModels).getApiResource,
|
|
21
25
|
/** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
|
|
22
26
|
projectGetUsage: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetUsage, baseClient.aiHosting.projectGetUsage).getApiResource,
|
|
23
|
-
/** Get ai hosting plan and usages of a customer by planId. */
|
|
24
|
-
customerGetPlan: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetPlan, baseClient.aiHosting.customerGetPlan).getApiResource,
|
|
25
|
-
/** Get all ai hosting plans of a customer. */
|
|
26
|
-
customerGetPlans: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetPlans, baseClient.aiHosting.customerGetPlans).getApiResource,
|
|
27
27
|
});
|
|
28
28
|
const buildAppApi = (baseClient) => ({
|
|
29
29
|
/** Get an App. */
|
|
@@ -106,14 +106,12 @@ const buildContainerApi = (baseClient) => ({
|
|
|
106
106
|
listServices: new ApiCallAsyncResourceFactory(descriptors.containerListServices, baseClient.container.listServices).getApiResource,
|
|
107
107
|
/** List Volumes belonging to a Stack. */
|
|
108
108
|
listStackVolumes: new ApiCallAsyncResourceFactory(descriptors.containerListStackVolumes, baseClient.container.listStackVolumes).getApiResource,
|
|
109
|
+
/** List Container Template statistics. */
|
|
110
|
+
listTemplateStatistics: new ApiCallAsyncResourceFactory(descriptors.containerListTemplateStatistics, baseClient.container.listTemplateStatistics).getApiResource,
|
|
109
111
|
/** List Container Templates. */
|
|
110
112
|
listTemplates: new ApiCallAsyncResourceFactory(descriptors.containerListTemplates, baseClient.container.listTemplates).getApiResource,
|
|
111
113
|
/** List Volumes belonging to a Project. */
|
|
112
114
|
listVolumes: new ApiCallAsyncResourceFactory(descriptors.containerListVolumes, baseClient.container.listVolumes).getApiResource,
|
|
113
|
-
/** Get Container Template statistics. */
|
|
114
|
-
getTemplateStatistics: new ApiCallAsyncResourceFactory(descriptors.containerGetTemplateStatistics, baseClient.container.getTemplateStatistics).getApiResource,
|
|
115
|
-
/** Get Container Template statistics by category. */
|
|
116
|
-
getTemplateStatisticsByCategory: new ApiCallAsyncResourceFactory(descriptors.containerGetTemplateStatisticsByCategory, baseClient.container.getTemplateStatisticsByCategory).getApiResource,
|
|
117
115
|
});
|
|
118
116
|
const buildContractApi = (baseClient) => ({
|
|
119
117
|
/** Return the BaseItem of the Contract with the given ID. */
|
|
@@ -20,6 +20,12 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
20
20
|
customerDeleteKey: this.requestFunctionFactory(descriptors.aiHostingCustomerDeleteKey),
|
|
21
21
|
/** Get a list of currently active models. */
|
|
22
22
|
customerGetDetailedModels: this.requestFunctionFactory(descriptors.aiHostingCustomerGetDetailedModels),
|
|
23
|
+
/** Get ai hosting plan and usages of a customer by planId. */
|
|
24
|
+
customerGetPlan: this.requestFunctionFactory(descriptors.aiHostingCustomerGetPlan),
|
|
25
|
+
/** Renames an AI hosting plan. */
|
|
26
|
+
customerUpdatePlan: this.requestFunctionFactory(descriptors.aiHostingCustomerUpdatePlan),
|
|
27
|
+
/** Get all ai hosting plans of a customer. */
|
|
28
|
+
customerGetPlans: this.requestFunctionFactory(descriptors.aiHostingCustomerGetPlans),
|
|
23
29
|
/** Get ai hosting plan and usages of a customer. Deprecated: use /ai-hostings/{planId} instead. */
|
|
24
30
|
customerGetUsage: this.requestFunctionFactory(descriptors.aiHostingCustomerGetUsage),
|
|
25
31
|
/** Get a list of currently active models. */
|
|
@@ -40,10 +46,6 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
40
46
|
projectGetUsage: this.requestFunctionFactory(descriptors.aiHostingProjectGetUsage),
|
|
41
47
|
/** Links a container with a project licence. */
|
|
42
48
|
projectLinkContainer: this.requestFunctionFactory(descriptors.aiHostingProjectLinkContainer),
|
|
43
|
-
/** Get ai hosting plan and usages of a customer by planId. */
|
|
44
|
-
customerGetPlan: this.requestFunctionFactory(descriptors.aiHostingCustomerGetPlan),
|
|
45
|
-
/** Get all ai hosting plans of a customer. */
|
|
46
|
-
customerGetPlans: this.requestFunctionFactory(descriptors.aiHostingCustomerGetPlans),
|
|
47
49
|
};
|
|
48
50
|
/** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
|
|
49
51
|
app = {
|
|
@@ -138,6 +140,8 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
138
140
|
};
|
|
139
141
|
/** The container API allows you to manage your stacks, containers, volumes and registries. */
|
|
140
142
|
container = {
|
|
143
|
+
/** Add a component to a Stack. */
|
|
144
|
+
addComponent: this.requestFunctionFactory(descriptors.containerAddComponent),
|
|
141
145
|
/** Call pull-image webhook */
|
|
142
146
|
callPullImageWebhookForService: this.requestFunctionFactory(descriptors.containerCallPullImageWebhookForService),
|
|
143
147
|
/** List Registries belonging to a Project. */
|
|
@@ -182,6 +186,8 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
182
186
|
listServices: this.requestFunctionFactory(descriptors.containerListServices),
|
|
183
187
|
/** List Volumes belonging to a Stack. */
|
|
184
188
|
listStackVolumes: this.requestFunctionFactory(descriptors.containerListStackVolumes),
|
|
189
|
+
/** List Container Template statistics. */
|
|
190
|
+
listTemplateStatistics: this.requestFunctionFactory(descriptors.containerListTemplateStatistics),
|
|
185
191
|
/** List Container Templates. */
|
|
186
192
|
listTemplates: this.requestFunctionFactory(descriptors.containerListTemplates),
|
|
187
193
|
/** List Volumes belonging to a Project. */
|
|
@@ -200,10 +206,6 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
200
206
|
startService: this.requestFunctionFactory(descriptors.containerStartService),
|
|
201
207
|
/** Stop a started Service. */
|
|
202
208
|
stopService: this.requestFunctionFactory(descriptors.containerStopService),
|
|
203
|
-
/** Get Container Template statistics. */
|
|
204
|
-
getTemplateStatistics: this.requestFunctionFactory(descriptors.containerGetTemplateStatistics),
|
|
205
|
-
/** Get Container Template statistics by category. */
|
|
206
|
-
getTemplateStatisticsByCategory: this.requestFunctionFactory(descriptors.containerGetTemplateStatisticsByCategory),
|
|
207
209
|
};
|
|
208
210
|
/** The contract API allows you to manage your contracts and orders */
|
|
209
211
|
contract = {
|
|
@@ -722,6 +724,8 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
722
724
|
migrationRequestMailMigration: this.requestFunctionFactory(descriptors.mailMigrationRequestMailMigration),
|
|
723
725
|
/** Recover emails for a MailAddress from a backup. */
|
|
724
726
|
recoverMailAddressEmails: this.requestFunctionFactory(descriptors.mailRecoverMailAddressEmails),
|
|
727
|
+
/** Request a rate limit change for a MailAddress. */
|
|
728
|
+
requestMailAddressRateLimitChange: this.requestFunctionFactory(descriptors.mailRequestMailAddressRateLimitChange),
|
|
725
729
|
/** Update the description of a DeliveryBox. */
|
|
726
730
|
updateDeliveryBoxDescription: this.requestFunctionFactory(descriptors.mailUpdateDeliveryBoxDescription),
|
|
727
731
|
/** Update the password of a DeliveryBox. */
|
|
@@ -730,8 +734,6 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
730
734
|
updateMailAddressAddress: this.requestFunctionFactory(descriptors.mailUpdateMailAddressAddress),
|
|
731
735
|
/** Update the catch-all of a MailAddress. */
|
|
732
736
|
updateMailAddressCatchAll: this.requestFunctionFactory(descriptors.mailUpdateMailAddressCatchAll),
|
|
733
|
-
/** Request a rate limit change for a MailAddress. */
|
|
734
|
-
requestMailAddressRateLimitChange: this.requestFunctionFactory(descriptors.mailRequestMailAddressRateLimitChange),
|
|
735
737
|
};
|
|
736
738
|
/** The notification API allows you to manage your notifications. */
|
|
737
739
|
notification = {
|
|
@@ -40,6 +40,24 @@ export const aiHostingCustomerGetDetailedModels = {
|
|
|
40
40
|
method: "GET",
|
|
41
41
|
operationId: "ai-hosting-customer-get-detailed-models",
|
|
42
42
|
};
|
|
43
|
+
/** Get ai hosting plan and usages of a customer by planId. */
|
|
44
|
+
export const aiHostingCustomerGetPlan = {
|
|
45
|
+
path: "/v3-next/customers/{customerId}/ai-hostings/{planId}",
|
|
46
|
+
method: "GET",
|
|
47
|
+
operationId: "ai-hosting-customer-get-plan",
|
|
48
|
+
};
|
|
49
|
+
/** Renames an AI hosting plan. */
|
|
50
|
+
export const aiHostingCustomerUpdatePlan = {
|
|
51
|
+
path: "/v3-next/customers/{customerId}/ai-hostings/{planId}",
|
|
52
|
+
method: "PUT",
|
|
53
|
+
operationId: "ai-hosting-customer-update-plan",
|
|
54
|
+
};
|
|
55
|
+
/** Get all ai hosting plans of a customer. */
|
|
56
|
+
export const aiHostingCustomerGetPlans = {
|
|
57
|
+
path: "/v3-next/customers/{customerId}/ai-hostings",
|
|
58
|
+
method: "GET",
|
|
59
|
+
operationId: "ai-hosting-customer-get-plans",
|
|
60
|
+
};
|
|
43
61
|
/** Get ai hosting plan and usages of a customer. Deprecated: use /ai-hostings/{planId} instead. */
|
|
44
62
|
export const aiHostingCustomerGetUsage = {
|
|
45
63
|
path: "/v3-next/customers/{customerId}/ai-hosting",
|
|
@@ -346,6 +364,12 @@ export const backupUpdateProjectBackupDescription = {
|
|
|
346
364
|
method: "PATCH",
|
|
347
365
|
operationId: "backup-update-project-backup-description",
|
|
348
366
|
};
|
|
367
|
+
/** Add a component to a Stack. */
|
|
368
|
+
export const containerAddComponent = {
|
|
369
|
+
path: "/v3-next/stacks/{stackId}/actions/add-component",
|
|
370
|
+
method: "POST",
|
|
371
|
+
operationId: "container-add-component",
|
|
372
|
+
};
|
|
349
373
|
/** Call pull-image webhook */
|
|
350
374
|
export const containerCallPullImageWebhookForService = {
|
|
351
375
|
path: "/v3-next/stacks/{stackId}/webhooks/pull-image",
|
|
@@ -478,6 +502,12 @@ export const containerListStackVolumes = {
|
|
|
478
502
|
method: "GET",
|
|
479
503
|
operationId: "container-list-stack-volumes",
|
|
480
504
|
};
|
|
505
|
+
/** List Container Template statistics. */
|
|
506
|
+
export const containerListTemplateStatistics = {
|
|
507
|
+
path: "/v3-next/container-template-statistics",
|
|
508
|
+
method: "GET",
|
|
509
|
+
operationId: "container-list-template-statistics",
|
|
510
|
+
};
|
|
481
511
|
/** List Container Templates. */
|
|
482
512
|
export const containerListTemplates = {
|
|
483
513
|
path: "/v3-next/container-templates",
|
|
@@ -2050,6 +2080,12 @@ export const mailRecoverMailAddressEmails = {
|
|
|
2050
2080
|
method: "POST",
|
|
2051
2081
|
operationId: "mail-recover-mail-address-emails",
|
|
2052
2082
|
};
|
|
2083
|
+
/** Request a rate limit change for a MailAddress. */
|
|
2084
|
+
export const mailRequestMailAddressRateLimitChange = {
|
|
2085
|
+
path: "/v3-next/mail-addresses/{mailAddressId}/actions/request-rate-limit-change",
|
|
2086
|
+
method: "POST",
|
|
2087
|
+
operationId: "mail-request-mail-address-rate-limit-change",
|
|
2088
|
+
};
|
|
2053
2089
|
/** Update the description of a DeliveryBox. */
|
|
2054
2090
|
export const mailUpdateDeliveryBoxDescription = {
|
|
2055
2091
|
path: "/v3-next/delivery-boxes/{deliveryBoxId}/description",
|
|
@@ -2896,33 +2932,3 @@ export const verificationVerifyCompany = {
|
|
|
2896
2932
|
method: "POST",
|
|
2897
2933
|
operationId: "verification-verify-company",
|
|
2898
2934
|
};
|
|
2899
|
-
/** Get Container Template statistics. */
|
|
2900
|
-
export const containerGetTemplateStatistics = {
|
|
2901
|
-
path: "/v3-next/container-templates/{templateId}/statistics",
|
|
2902
|
-
method: "GET",
|
|
2903
|
-
operationId: "container-get-template-statistics",
|
|
2904
|
-
};
|
|
2905
|
-
/** Get Container Template statistics by category. */
|
|
2906
|
-
export const containerGetTemplateStatisticsByCategory = {
|
|
2907
|
-
path: "/v3-next/container-template-categories/{category}/statistics",
|
|
2908
|
-
method: "GET",
|
|
2909
|
-
operationId: "container-get-template-statistics-by-category",
|
|
2910
|
-
};
|
|
2911
|
-
/** Get ai hosting plan and usages of a customer by planId. */
|
|
2912
|
-
export const aiHostingCustomerGetPlan = {
|
|
2913
|
-
path: "/v3-next/customers/{customerId}/ai-hostings/{planId}",
|
|
2914
|
-
method: "GET",
|
|
2915
|
-
operationId: "ai-hosting-customer-get-plan",
|
|
2916
|
-
};
|
|
2917
|
-
/** Get all ai hosting plans of a customer. */
|
|
2918
|
-
export const aiHostingCustomerGetPlans = {
|
|
2919
|
-
path: "/v3-next/customers/{customerId}/ai-hostings",
|
|
2920
|
-
method: "GET",
|
|
2921
|
-
operationId: "ai-hosting-customer-get-plans",
|
|
2922
|
-
};
|
|
2923
|
-
/** Request a rate limit change for a MailAddress. */
|
|
2924
|
-
export const mailRequestMailAddressRateLimitChange = {
|
|
2925
|
-
path: "/v3-next/mail-addresses/{mailAddressId}/request-rate-limit-change",
|
|
2926
|
-
method: "POST",
|
|
2927
|
-
operationId: "mail-request-mail-address-rate-limit-change",
|
|
2928
|
-
};
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export const MittwaldAPIClientVersion = '4.410.0';
|
|
@@ -39,6 +39,47 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
39
39
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
40
40
|
} | undefined;
|
|
41
41
|
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingCustomerDetailedModel[]>;
|
|
42
|
+
/** Get ai hosting plan and usages of a customer by planId. */
|
|
43
|
+
customerGetPlan: (conf: {
|
|
44
|
+
customerId: string;
|
|
45
|
+
planId: string;
|
|
46
|
+
headers?: {
|
|
47
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
48
|
+
} | undefined;
|
|
49
|
+
queryParameters?: {
|
|
50
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
51
|
+
topUsageCount?: number | undefined;
|
|
52
|
+
} | undefined;
|
|
53
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
54
|
+
customerId: string;
|
|
55
|
+
deletedAt?: string | undefined;
|
|
56
|
+
keys: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsage;
|
|
57
|
+
modelTermsApprovalRequired: boolean;
|
|
58
|
+
nextTokenReset: string;
|
|
59
|
+
planId?: string | undefined;
|
|
60
|
+
rateLimit: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingRateLimit;
|
|
61
|
+
tokens: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsageBig;
|
|
62
|
+
topUsages?: {
|
|
63
|
+
keyId?: string;
|
|
64
|
+
name: string;
|
|
65
|
+
projectId?: string;
|
|
66
|
+
tokenUsed: number;
|
|
67
|
+
}[] | undefined;
|
|
68
|
+
}>;
|
|
69
|
+
/** Get all ai hosting plans of a customer. */
|
|
70
|
+
customerGetPlans: (conf: {
|
|
71
|
+
customerId: string;
|
|
72
|
+
headers?: {
|
|
73
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
74
|
+
} | undefined;
|
|
75
|
+
queryParameters?: {
|
|
76
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
77
|
+
topUsageCount?: number | undefined;
|
|
78
|
+
} | undefined;
|
|
79
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
80
|
+
modelTermsApprovalRequired: boolean;
|
|
81
|
+
plans: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanOptions[];
|
|
82
|
+
}>;
|
|
42
83
|
/** Get ai hosting plan and usages of a customer. Deprecated: use /ai-hostings/{planId} instead. */
|
|
43
84
|
customerGetUsage: (conf: {
|
|
44
85
|
customerId: string;
|
|
@@ -125,47 +166,6 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
125
166
|
nextTokenReset?: string | undefined;
|
|
126
167
|
projectId: string;
|
|
127
168
|
}>;
|
|
128
|
-
/** Get ai hosting plan and usages of a customer by planId. */
|
|
129
|
-
customerGetPlan: (conf: {
|
|
130
|
-
customerId: string;
|
|
131
|
-
planId: string;
|
|
132
|
-
headers?: {
|
|
133
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
134
|
-
} | undefined;
|
|
135
|
-
queryParameters?: {
|
|
136
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
137
|
-
topUsageCount?: number | undefined;
|
|
138
|
-
} | undefined;
|
|
139
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
140
|
-
customerId: string;
|
|
141
|
-
deletedAt?: string | undefined;
|
|
142
|
-
keys: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsage;
|
|
143
|
-
modelTermsApprovalRequired: boolean;
|
|
144
|
-
nextTokenReset: string;
|
|
145
|
-
planId?: string | undefined;
|
|
146
|
-
rateLimit: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingRateLimit;
|
|
147
|
-
tokens: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsageBig;
|
|
148
|
-
topUsages?: {
|
|
149
|
-
keyId?: string;
|
|
150
|
-
name: string;
|
|
151
|
-
projectId?: string;
|
|
152
|
-
tokenUsed: number;
|
|
153
|
-
}[] | undefined;
|
|
154
|
-
}>;
|
|
155
|
-
/** Get all ai hosting plans of a customer. */
|
|
156
|
-
customerGetPlans: (conf: {
|
|
157
|
-
customerId: string;
|
|
158
|
-
headers?: {
|
|
159
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
160
|
-
} | undefined;
|
|
161
|
-
queryParameters?: {
|
|
162
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
163
|
-
topUsageCount?: number | undefined;
|
|
164
|
-
} | undefined;
|
|
165
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
166
|
-
modelTermsApprovalRequired: boolean;
|
|
167
|
-
plans: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanOptions[];
|
|
168
|
-
}>;
|
|
169
169
|
};
|
|
170
170
|
declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
|
|
171
171
|
/** Get an App. */
|
|
@@ -603,6 +603,7 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
603
603
|
} | undefined;
|
|
604
604
|
queryParameters?: {
|
|
605
605
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
606
|
+
searchTerm?: string | undefined;
|
|
606
607
|
limit?: number | undefined;
|
|
607
608
|
skip?: number | undefined;
|
|
608
609
|
page?: number | undefined;
|
|
@@ -832,6 +833,20 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
832
833
|
page?: number | undefined;
|
|
833
834
|
} | undefined;
|
|
834
835
|
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerVolumeResponse[]>;
|
|
836
|
+
/** List Container Template statistics. */
|
|
837
|
+
listTemplateStatistics: (conf?: {
|
|
838
|
+
headers?: {
|
|
839
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
840
|
+
} | undefined;
|
|
841
|
+
queryParameters?: {
|
|
842
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
843
|
+
templateId?: string | undefined;
|
|
844
|
+
category?: string | undefined;
|
|
845
|
+
} | undefined;
|
|
846
|
+
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
847
|
+
category?: string | undefined;
|
|
848
|
+
templates?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerTemplateStatsResponse[] | undefined;
|
|
849
|
+
}>;
|
|
835
850
|
/** List Container Templates. */
|
|
836
851
|
listTemplates: (conf?: {
|
|
837
852
|
headers?: {
|
|
@@ -864,27 +879,6 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
864
879
|
page?: number | undefined;
|
|
865
880
|
} | undefined;
|
|
866
881
|
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerVolumeResponse[]>;
|
|
867
|
-
/** Get Container Template statistics. */
|
|
868
|
-
getTemplateStatistics: (conf: {
|
|
869
|
-
templateId: string;
|
|
870
|
-
headers?: {
|
|
871
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
872
|
-
} | undefined;
|
|
873
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
874
|
-
id: string;
|
|
875
|
-
installations: number;
|
|
876
|
-
installations30Days: number;
|
|
877
|
-
}>;
|
|
878
|
-
/** Get Container Template statistics by category. */
|
|
879
|
-
getTemplateStatisticsByCategory: (conf: {
|
|
880
|
-
category: string;
|
|
881
|
-
headers?: {
|
|
882
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
883
|
-
} | undefined;
|
|
884
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
885
|
-
category: string;
|
|
886
|
-
templates: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerTemplateStatsResponse[];
|
|
887
|
-
}>;
|
|
888
882
|
};
|
|
889
883
|
declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
|
|
890
884
|
/** Return the BaseItem of the Contract with the given ID. */
|
|
@@ -2979,6 +2973,7 @@ declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2979
2973
|
mailRateLimitId: string;
|
|
2980
2974
|
headers?: {
|
|
2981
2975
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2976
|
+
"x-access-token"?: string | undefined;
|
|
2982
2977
|
} | undefined;
|
|
2983
2978
|
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
2984
2979
|
id: string;
|
|
@@ -3017,6 +3012,7 @@ declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
3017
3012
|
listMailRateLimits: (conf?: {
|
|
3018
3013
|
headers?: {
|
|
3019
3014
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
3015
|
+
"x-access-token"?: string | undefined;
|
|
3020
3016
|
} | undefined;
|
|
3021
3017
|
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MailsystemRateLimit[]>;
|
|
3022
3018
|
/** List mail settings of a Project. */
|