@mittwald/api-client 0.0.0-development-38105fd-20260708 → 0.0.0-development-53640b8-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 +61 -62
- package/dist/types/generated/v2/client.d.ts +429 -277
- package/dist/types/generated/v2/descriptors.d.ts +13 -11
- package/dist/types/generated/v2/types.d.ts +543 -433
- package/dist/types/generated/v3-next/client-react.d.ts +61 -62
- package/dist/types/generated/v3-next/client.d.ts +429 -277
- package/dist/types/generated/v3-next/descriptors.d.ts +13 -11
- package/dist/types/generated/v3-next/types.d.ts +543 -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 = '
|
|
1
|
+
export const MittwaldAPIClientVersion = '0.0.0-development-d575ea2-20260713';
|
|
@@ -39,6 +39,48 @@ 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
|
+
name?: string | undefined;
|
|
59
|
+
nextTokenReset: string;
|
|
60
|
+
planId?: string | undefined;
|
|
61
|
+
rateLimit: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingRateLimit;
|
|
62
|
+
tokens: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsageBig;
|
|
63
|
+
topUsages?: {
|
|
64
|
+
keyId?: string;
|
|
65
|
+
name: string;
|
|
66
|
+
projectId?: string;
|
|
67
|
+
tokenUsed: number;
|
|
68
|
+
}[] | undefined;
|
|
69
|
+
}>;
|
|
70
|
+
/** Get all ai hosting plans of a customer. */
|
|
71
|
+
customerGetPlans: (conf: {
|
|
72
|
+
customerId: string;
|
|
73
|
+
headers?: {
|
|
74
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
75
|
+
} | undefined;
|
|
76
|
+
queryParameters?: {
|
|
77
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
78
|
+
topUsageCount?: number | undefined;
|
|
79
|
+
} | undefined;
|
|
80
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
81
|
+
modelTermsApprovalRequired: boolean;
|
|
82
|
+
plans: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanOptions[];
|
|
83
|
+
}>;
|
|
42
84
|
/** Get ai hosting plan and usages of a customer. Deprecated: use /ai-hostings/{planId} instead. */
|
|
43
85
|
customerGetUsage: (conf: {
|
|
44
86
|
customerId: string;
|
|
@@ -54,6 +96,7 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
54
96
|
deletedAt?: string | undefined;
|
|
55
97
|
keys: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsage;
|
|
56
98
|
modelTermsApprovalRequired: boolean;
|
|
99
|
+
name?: string | undefined;
|
|
57
100
|
nextTokenReset: string;
|
|
58
101
|
planId?: string | undefined;
|
|
59
102
|
rateLimit: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingRateLimit;
|
|
@@ -122,50 +165,10 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
122
165
|
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
123
166
|
keys: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsage;
|
|
124
167
|
modelTermsApprovalRequired: boolean;
|
|
168
|
+
name?: string | undefined;
|
|
125
169
|
nextTokenReset?: string | undefined;
|
|
126
170
|
projectId: string;
|
|
127
171
|
}>;
|
|
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
172
|
};
|
|
170
173
|
declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
|
|
171
174
|
/** Get an App. */
|
|
@@ -603,6 +606,7 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
603
606
|
} | undefined;
|
|
604
607
|
queryParameters?: {
|
|
605
608
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
609
|
+
searchTerm?: string | undefined;
|
|
606
610
|
limit?: number | undefined;
|
|
607
611
|
skip?: number | undefined;
|
|
608
612
|
page?: number | undefined;
|
|
@@ -832,6 +836,20 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
832
836
|
page?: number | undefined;
|
|
833
837
|
} | undefined;
|
|
834
838
|
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerVolumeResponse[]>;
|
|
839
|
+
/** List Container Template statistics. */
|
|
840
|
+
listTemplateStatistics: (conf?: {
|
|
841
|
+
headers?: {
|
|
842
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
843
|
+
} | undefined;
|
|
844
|
+
queryParameters?: {
|
|
845
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
846
|
+
templateId?: string | undefined;
|
|
847
|
+
category?: string | undefined;
|
|
848
|
+
} | undefined;
|
|
849
|
+
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
850
|
+
category?: string | undefined;
|
|
851
|
+
templates?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerTemplateStatsResponse[] | undefined;
|
|
852
|
+
}>;
|
|
835
853
|
/** List Container Templates. */
|
|
836
854
|
listTemplates: (conf?: {
|
|
837
855
|
headers?: {
|
|
@@ -864,27 +882,6 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
864
882
|
page?: number | undefined;
|
|
865
883
|
} | undefined;
|
|
866
884
|
}) => 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
885
|
};
|
|
889
886
|
declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
|
|
890
887
|
/** Return the BaseItem of the Contract with the given ID. */
|
|
@@ -2979,6 +2976,7 @@ declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2979
2976
|
mailRateLimitId: string;
|
|
2980
2977
|
headers?: {
|
|
2981
2978
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2979
|
+
"x-access-token"?: string | undefined;
|
|
2982
2980
|
} | undefined;
|
|
2983
2981
|
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
2984
2982
|
id: string;
|
|
@@ -3017,6 +3015,7 @@ declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
3017
3015
|
listMailRateLimits: (conf?: {
|
|
3018
3016
|
headers?: {
|
|
3019
3017
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
3018
|
+
"x-access-token"?: string | undefined;
|
|
3020
3019
|
} | undefined;
|
|
3021
3020
|
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MailsystemRateLimit[]>;
|
|
3022
3021
|
/** List mail settings of a Project. */
|