@mittwald/api-client 0.0.0-development-f927bdb-20260730 → 0.0.0-development-6372ff8-20260818
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 +8 -4
- package/dist/esm/generated/v2/client.js +18 -8
- package/dist/esm/generated/v2/descriptors.js +54 -24
- package/dist/esm/generated/v3-next/client-react.js +8 -4
- package/dist/esm/generated/v3-next/client.js +18 -8
- package/dist/esm/generated/v3-next/descriptors.js +54 -24
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +85 -44
- package/dist/types/generated/v2/client.d.ts +677 -357
- package/dist/types/generated/v2/descriptors.d.ts +19 -9
- package/dist/types/generated/v2/types.d.ts +742 -342
- package/dist/types/generated/v3-next/client-react.d.ts +85 -44
- package/dist/types/generated/v3-next/client.d.ts +675 -355
- package/dist/types/generated/v3-next/descriptors.d.ts +19 -9
- package/dist/types/generated/v3-next/types.d.ts +742 -342
- package/dist/types/version.d.ts +1 -1
- package/package.json +4 -4
|
@@ -8,10 +8,6 @@ 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,
|
|
15
11
|
/** Get ai hosting plan and usages of a customer. Deprecated: use /ai-hostings/{planId} instead. */
|
|
16
12
|
customerGetUsage: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetUsage, baseClient.aiHosting.customerGetUsage).getApiResource,
|
|
17
13
|
/** Get a list of currently active models. */
|
|
@@ -24,6 +20,10 @@ const buildAiHostingApi = (baseClient) => ({
|
|
|
24
20
|
projectGetDetailedModels: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetDetailedModels, baseClient.aiHosting.projectGetDetailedModels).getApiResource,
|
|
25
21
|
/** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
|
|
26
22
|
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. */
|
|
@@ -110,6 +110,8 @@ const buildContainerApi = (baseClient) => ({
|
|
|
110
110
|
listTemplates: new ApiCallAsyncResourceFactory(descriptors.containerListTemplates, baseClient.container.listTemplates).getApiResource,
|
|
111
111
|
/** List Volumes belonging to a Project. */
|
|
112
112
|
listVolumes: new ApiCallAsyncResourceFactory(descriptors.containerListVolumes, baseClient.container.listVolumes).getApiResource,
|
|
113
|
+
/** List Services the executing user has access to. */
|
|
114
|
+
listAccessibleServices: new ApiCallAsyncResourceFactory(descriptors.containerListAccessibleServices, baseClient.container.listAccessibleServices).getApiResource,
|
|
113
115
|
});
|
|
114
116
|
const buildContractApi = (baseClient) => ({
|
|
115
117
|
/** Return the BaseItem of the Contract with the given ID. */
|
|
@@ -320,6 +322,8 @@ const buildDomainApi = (baseClient) => ({
|
|
|
320
322
|
sslGetCertificate: new ApiCallAsyncResourceFactory(descriptors.sslGetCertificate, baseClient.domain.sslGetCertificate).getApiResource,
|
|
321
323
|
/** List Certificates belonging to a Project or an Ingress. */
|
|
322
324
|
sslListCertificates: new ApiCallAsyncResourceFactory(descriptors.sslListCertificates, baseClient.domain.sslListCertificates).getApiResource,
|
|
325
|
+
/** Get the status of a DNS zone-file import job. */
|
|
326
|
+
dnsGetDnsZoneFileImport: new ApiCallAsyncResourceFactory(descriptors.dnsGetDnsZoneFileImport, baseClient.domain.dnsGetDnsZoneFileImport).getApiResource,
|
|
323
327
|
});
|
|
324
328
|
const buildFileApi = (baseClient) => ({
|
|
325
329
|
/** Get a File's meta. */
|
|
@@ -20,12 +20,6 @@ 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),
|
|
29
23
|
/** Get ai hosting plan and usages of a customer. Deprecated: use /ai-hostings/{planId} instead. */
|
|
30
24
|
customerGetUsage: this.requestFunctionFactory(descriptors.aiHostingCustomerGetUsage),
|
|
31
25
|
/** Get a list of currently active models. */
|
|
@@ -46,6 +40,14 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
46
40
|
projectGetUsage: this.requestFunctionFactory(descriptors.aiHostingProjectGetUsage),
|
|
47
41
|
/** Links a container with a project licence. */
|
|
48
42
|
projectLinkContainer: this.requestFunctionFactory(descriptors.aiHostingProjectLinkContainer),
|
|
43
|
+
/** Get ai hosting plan and usages of a customer by planId. */
|
|
44
|
+
customerGetPlan: this.requestFunctionFactory(descriptors.aiHostingCustomerGetPlan),
|
|
45
|
+
/** Renames an AI hosting plan. */
|
|
46
|
+
customerUpdatePlan: this.requestFunctionFactory(descriptors.aiHostingCustomerUpdatePlan),
|
|
47
|
+
/** Get all ai hosting plans of a customer. */
|
|
48
|
+
customerGetPlans: this.requestFunctionFactory(descriptors.aiHostingCustomerGetPlans),
|
|
49
|
+
/** Creates an AI hosting profile and accepts the current model terms. */
|
|
50
|
+
customerDeclareProfile: this.requestFunctionFactory(descriptors.aiHostingCustomerDeclareProfile),
|
|
49
51
|
};
|
|
50
52
|
/** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
|
|
51
53
|
app = {
|
|
@@ -194,6 +196,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
194
196
|
startService: this.requestFunctionFactory(descriptors.containerStartService),
|
|
195
197
|
/** Stop a started Service. */
|
|
196
198
|
stopService: this.requestFunctionFactory(descriptors.containerStopService),
|
|
199
|
+
/** List Services the executing user has access to. */
|
|
200
|
+
listAccessibleServices: this.requestFunctionFactory(descriptors.containerListAccessibleServices),
|
|
197
201
|
};
|
|
198
202
|
/** The contract API allows you to manage your contracts and orders */
|
|
199
203
|
contract = {
|
|
@@ -553,8 +557,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
553
557
|
ingressUpdateIngressPaths: this.requestFunctionFactory(descriptors.ingressUpdateIngressPaths),
|
|
554
558
|
/** Update the tls settings of an Ingress. */
|
|
555
559
|
ingressUpdateIngressTls: this.requestFunctionFactory(descriptors.ingressUpdateIngressTls),
|
|
556
|
-
/** Create a DNSZone. */
|
|
557
|
-
dnsCreateDnsZone: this.requestFunctionFactory(descriptors.dnsCreateDnsZone),
|
|
558
560
|
/** Get a DNSZone. */
|
|
559
561
|
dnsGetDnsZone: this.requestFunctionFactory(descriptors.dnsGetDnsZone),
|
|
560
562
|
/** Delete a DNSZone. */
|
|
@@ -563,6 +565,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
563
565
|
dnsGetZoneFile: this.requestFunctionFactory(descriptors.dnsGetZoneFile),
|
|
564
566
|
/** List DNSZones belonging to a Project. */
|
|
565
567
|
dnsListDnsZones: this.requestFunctionFactory(descriptors.dnsListDnsZones),
|
|
568
|
+
/** Create a DNSZone for a domain in a Project. */
|
|
569
|
+
dnsCreateProjectDnsZone: this.requestFunctionFactory(descriptors.dnsCreateProjectDnsZone),
|
|
566
570
|
/** Set a record set on a DNSZone to managed. */
|
|
567
571
|
dnsSetRecordSetManaged: this.requestFunctionFactory(descriptors.dnsSetRecordSetManaged),
|
|
568
572
|
/** Update a record set on a DNSZone. */
|
|
@@ -647,6 +651,12 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
647
651
|
sslListCertificates: this.requestFunctionFactory(descriptors.sslListCertificates),
|
|
648
652
|
/** Update the certificate of a CertificateRequest. */
|
|
649
653
|
sslSetCertificateRequestCertificate: this.requestFunctionFactory(descriptors.sslSetCertificateRequestCertificate),
|
|
654
|
+
/** Get the status of a DNS zone-file import job. */
|
|
655
|
+
dnsGetDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsGetDnsZoneFileImport),
|
|
656
|
+
/** Start a server-side DNS zone-file import for a Project. */
|
|
657
|
+
dnsCreateDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsCreateDnsZoneFileImport),
|
|
658
|
+
/** Preview a DNS zone-file import for a Project. */
|
|
659
|
+
dnsPreviewProjectDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsPreviewProjectDnsZoneFileImport),
|
|
650
660
|
};
|
|
651
661
|
/** The mail API allows you to manage your mail accounts. */
|
|
652
662
|
mail = {
|
|
@@ -40,24 +40,6 @@ 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
|
-
};
|
|
61
43
|
/** Get ai hosting plan and usages of a customer. Deprecated: use /ai-hostings/{planId} instead. */
|
|
62
44
|
export const aiHostingCustomerGetUsage = {
|
|
63
45
|
path: "/v2/customers/{customerId}/ai-hosting",
|
|
@@ -1222,12 +1204,6 @@ export const userUpdateAccount = {
|
|
|
1222
1204
|
method: "PUT",
|
|
1223
1205
|
operationId: "user-update-account",
|
|
1224
1206
|
};
|
|
1225
|
-
/** Create a DNSZone. */
|
|
1226
|
-
export const dnsCreateDnsZone = {
|
|
1227
|
-
path: "/v2/dns-zones",
|
|
1228
|
-
method: "POST",
|
|
1229
|
-
operationId: "dns-create-dns-zone",
|
|
1230
|
-
};
|
|
1231
1207
|
/** Get a DNSZone. */
|
|
1232
1208
|
export const dnsGetDnsZone = {
|
|
1233
1209
|
path: "/v2/dns-zones/{dnsZoneId}",
|
|
@@ -1252,6 +1228,12 @@ export const dnsListDnsZones = {
|
|
|
1252
1228
|
method: "GET",
|
|
1253
1229
|
operationId: "dns-list-dns-zones",
|
|
1254
1230
|
};
|
|
1231
|
+
/** Create a DNSZone for a domain in a Project. */
|
|
1232
|
+
export const dnsCreateProjectDnsZone = {
|
|
1233
|
+
path: "/v2/projects/{projectId}/dns-zones",
|
|
1234
|
+
method: "POST",
|
|
1235
|
+
operationId: "dns-create-project-dns-zone",
|
|
1236
|
+
};
|
|
1255
1237
|
/** Set a record set on a DNSZone to managed. */
|
|
1256
1238
|
export const dnsSetRecordSetManaged = {
|
|
1257
1239
|
path: "/v2/dns-zones/{dnsZoneId}/record-sets/{recordSet}/actions/set-managed",
|
|
@@ -2860,3 +2842,51 @@ export const verificationVerifyCompany = {
|
|
|
2860
2842
|
method: "POST",
|
|
2861
2843
|
operationId: "verification-verify-company",
|
|
2862
2844
|
};
|
|
2845
|
+
/** List Services the executing user has access to. */
|
|
2846
|
+
export const containerListAccessibleServices = {
|
|
2847
|
+
path: "/v2/services",
|
|
2848
|
+
method: "GET",
|
|
2849
|
+
operationId: "container-list-accessible-services",
|
|
2850
|
+
};
|
|
2851
|
+
/** Get ai hosting plan and usages of a customer by planId. */
|
|
2852
|
+
export const aiHostingCustomerGetPlan = {
|
|
2853
|
+
path: "/v2/customers/{customerId}/ai-hostings/{planId}",
|
|
2854
|
+
method: "GET",
|
|
2855
|
+
operationId: "ai-hosting-customer-get-plan",
|
|
2856
|
+
};
|
|
2857
|
+
/** Renames an AI hosting plan. */
|
|
2858
|
+
export const aiHostingCustomerUpdatePlan = {
|
|
2859
|
+
path: "/v2/customers/{customerId}/ai-hostings/{planId}",
|
|
2860
|
+
method: "PUT",
|
|
2861
|
+
operationId: "ai-hosting-customer-update-plan",
|
|
2862
|
+
};
|
|
2863
|
+
/** Get all ai hosting plans of a customer. */
|
|
2864
|
+
export const aiHostingCustomerGetPlans = {
|
|
2865
|
+
path: "/v2/customers/{customerId}/ai-hostings",
|
|
2866
|
+
method: "GET",
|
|
2867
|
+
operationId: "ai-hosting-customer-get-plans",
|
|
2868
|
+
};
|
|
2869
|
+
/** Creates an AI hosting profile and accepts the current model terms. */
|
|
2870
|
+
export const aiHostingCustomerDeclareProfile = {
|
|
2871
|
+
path: "/v2/customers/{customerId}/ai-hostings/profile",
|
|
2872
|
+
method: "POST",
|
|
2873
|
+
operationId: "ai-hosting-customer-declare-profile",
|
|
2874
|
+
};
|
|
2875
|
+
/** Get the status of a DNS zone-file import job. */
|
|
2876
|
+
export const dnsGetDnsZoneFileImport = {
|
|
2877
|
+
path: "/v2/dns-zone-imports/{zoneFileImportId}",
|
|
2878
|
+
method: "GET",
|
|
2879
|
+
operationId: "dns-get-dns-zone-file-import",
|
|
2880
|
+
};
|
|
2881
|
+
/** Start a server-side DNS zone-file import for a Project. */
|
|
2882
|
+
export const dnsCreateDnsZoneFileImport = {
|
|
2883
|
+
path: "/v2/projects/{projectId}/dns-zone-imports",
|
|
2884
|
+
method: "POST",
|
|
2885
|
+
operationId: "dns-create-dns-zone-file-import",
|
|
2886
|
+
};
|
|
2887
|
+
/** Preview a DNS zone-file import for a Project. */
|
|
2888
|
+
export const dnsPreviewProjectDnsZoneFileImport = {
|
|
2889
|
+
path: "/v2/projects/{projectId}/dns-zones/import-preview",
|
|
2890
|
+
method: "POST",
|
|
2891
|
+
operationId: "dns-preview-project-dns-zone-file-import",
|
|
2892
|
+
};
|
|
@@ -8,10 +8,6 @@ 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,
|
|
15
11
|
/** Get ai hosting plan and usages of a customer. Deprecated: use /ai-hostings/{planId} instead. */
|
|
16
12
|
customerGetUsage: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetUsage, baseClient.aiHosting.customerGetUsage).getApiResource,
|
|
17
13
|
/** Get a list of currently active models. */
|
|
@@ -24,6 +20,10 @@ const buildAiHostingApi = (baseClient) => ({
|
|
|
24
20
|
projectGetDetailedModels: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetDetailedModels, baseClient.aiHosting.projectGetDetailedModels).getApiResource,
|
|
25
21
|
/** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
|
|
26
22
|
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. */
|
|
@@ -110,6 +110,8 @@ const buildContainerApi = (baseClient) => ({
|
|
|
110
110
|
listTemplates: new ApiCallAsyncResourceFactory(descriptors.containerListTemplates, baseClient.container.listTemplates).getApiResource,
|
|
111
111
|
/** List Volumes belonging to a Project. */
|
|
112
112
|
listVolumes: new ApiCallAsyncResourceFactory(descriptors.containerListVolumes, baseClient.container.listVolumes).getApiResource,
|
|
113
|
+
/** List Services the executing user has access to. */
|
|
114
|
+
listAccessibleServices: new ApiCallAsyncResourceFactory(descriptors.containerListAccessibleServices, baseClient.container.listAccessibleServices).getApiResource,
|
|
113
115
|
});
|
|
114
116
|
const buildContractApi = (baseClient) => ({
|
|
115
117
|
/** Return the BaseItem of the Contract with the given ID. */
|
|
@@ -320,6 +322,8 @@ const buildDomainApi = (baseClient) => ({
|
|
|
320
322
|
sslGetCertificate: new ApiCallAsyncResourceFactory(descriptors.sslGetCertificate, baseClient.domain.sslGetCertificate).getApiResource,
|
|
321
323
|
/** List Certificates belonging to a Project or an Ingress. */
|
|
322
324
|
sslListCertificates: new ApiCallAsyncResourceFactory(descriptors.sslListCertificates, baseClient.domain.sslListCertificates).getApiResource,
|
|
325
|
+
/** Get the status of a DNS zone-file import job. */
|
|
326
|
+
dnsGetDnsZoneFileImport: new ApiCallAsyncResourceFactory(descriptors.dnsGetDnsZoneFileImport, baseClient.domain.dnsGetDnsZoneFileImport).getApiResource,
|
|
323
327
|
});
|
|
324
328
|
const buildFileApi = (baseClient) => ({
|
|
325
329
|
/** Get a File's meta. */
|
|
@@ -20,12 +20,6 @@ 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),
|
|
29
23
|
/** Get ai hosting plan and usages of a customer. Deprecated: use /ai-hostings/{planId} instead. */
|
|
30
24
|
customerGetUsage: this.requestFunctionFactory(descriptors.aiHostingCustomerGetUsage),
|
|
31
25
|
/** Get a list of currently active models. */
|
|
@@ -46,6 +40,14 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
46
40
|
projectGetUsage: this.requestFunctionFactory(descriptors.aiHostingProjectGetUsage),
|
|
47
41
|
/** Links a container with a project licence. */
|
|
48
42
|
projectLinkContainer: this.requestFunctionFactory(descriptors.aiHostingProjectLinkContainer),
|
|
43
|
+
/** Get ai hosting plan and usages of a customer by planId. */
|
|
44
|
+
customerGetPlan: this.requestFunctionFactory(descriptors.aiHostingCustomerGetPlan),
|
|
45
|
+
/** Renames an AI hosting plan. */
|
|
46
|
+
customerUpdatePlan: this.requestFunctionFactory(descriptors.aiHostingCustomerUpdatePlan),
|
|
47
|
+
/** Get all ai hosting plans of a customer. */
|
|
48
|
+
customerGetPlans: this.requestFunctionFactory(descriptors.aiHostingCustomerGetPlans),
|
|
49
|
+
/** Creates an AI hosting profile and accepts the current model terms. */
|
|
50
|
+
customerDeclareProfile: this.requestFunctionFactory(descriptors.aiHostingCustomerDeclareProfile),
|
|
49
51
|
};
|
|
50
52
|
/** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
|
|
51
53
|
app = {
|
|
@@ -194,6 +196,8 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
194
196
|
startService: this.requestFunctionFactory(descriptors.containerStartService),
|
|
195
197
|
/** Stop a started Service. */
|
|
196
198
|
stopService: this.requestFunctionFactory(descriptors.containerStopService),
|
|
199
|
+
/** List Services the executing user has access to. */
|
|
200
|
+
listAccessibleServices: this.requestFunctionFactory(descriptors.containerListAccessibleServices),
|
|
197
201
|
};
|
|
198
202
|
/** The contract API allows you to manage your contracts and orders */
|
|
199
203
|
contract = {
|
|
@@ -553,8 +557,6 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
553
557
|
ingressUpdateIngressPaths: this.requestFunctionFactory(descriptors.ingressUpdateIngressPaths),
|
|
554
558
|
/** Update the tls settings of an Ingress. */
|
|
555
559
|
ingressUpdateIngressTls: this.requestFunctionFactory(descriptors.ingressUpdateIngressTls),
|
|
556
|
-
/** Create a DNSZone. */
|
|
557
|
-
dnsCreateDnsZone: this.requestFunctionFactory(descriptors.dnsCreateDnsZone),
|
|
558
560
|
/** Get a DNSZone. */
|
|
559
561
|
dnsGetDnsZone: this.requestFunctionFactory(descriptors.dnsGetDnsZone),
|
|
560
562
|
/** Delete a DNSZone. */
|
|
@@ -563,6 +565,8 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
563
565
|
dnsGetZoneFile: this.requestFunctionFactory(descriptors.dnsGetZoneFile),
|
|
564
566
|
/** List DNSZones belonging to a Project. */
|
|
565
567
|
dnsListDnsZones: this.requestFunctionFactory(descriptors.dnsListDnsZones),
|
|
568
|
+
/** Create a DNSZone for a domain in a Project. */
|
|
569
|
+
dnsCreateProjectDnsZone: this.requestFunctionFactory(descriptors.dnsCreateProjectDnsZone),
|
|
566
570
|
/** Set a record set on a DNSZone to managed. */
|
|
567
571
|
dnsSetRecordSetManaged: this.requestFunctionFactory(descriptors.dnsSetRecordSetManaged),
|
|
568
572
|
/** Update a record set on a DNSZone. */
|
|
@@ -647,6 +651,12 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
647
651
|
sslListCertificates: this.requestFunctionFactory(descriptors.sslListCertificates),
|
|
648
652
|
/** Update the certificate of a CertificateRequest. */
|
|
649
653
|
sslSetCertificateRequestCertificate: this.requestFunctionFactory(descriptors.sslSetCertificateRequestCertificate),
|
|
654
|
+
/** Get the status of a DNS zone-file import job. */
|
|
655
|
+
dnsGetDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsGetDnsZoneFileImport),
|
|
656
|
+
/** Start a server-side DNS zone-file import for a Project. */
|
|
657
|
+
dnsCreateDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsCreateDnsZoneFileImport),
|
|
658
|
+
/** Preview a DNS zone-file import for a Project. */
|
|
659
|
+
dnsPreviewProjectDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsPreviewProjectDnsZoneFileImport),
|
|
650
660
|
};
|
|
651
661
|
/** The mail API allows you to manage your mail accounts. */
|
|
652
662
|
mail = {
|
|
@@ -40,24 +40,6 @@ 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
|
-
};
|
|
61
43
|
/** Get ai hosting plan and usages of a customer. Deprecated: use /ai-hostings/{planId} instead. */
|
|
62
44
|
export const aiHostingCustomerGetUsage = {
|
|
63
45
|
path: "/v3-next/customers/{customerId}/ai-hosting",
|
|
@@ -1222,12 +1204,6 @@ export const userUpdateAccount = {
|
|
|
1222
1204
|
method: "PUT",
|
|
1223
1205
|
operationId: "user-update-account",
|
|
1224
1206
|
};
|
|
1225
|
-
/** Create a DNSZone. */
|
|
1226
|
-
export const dnsCreateDnsZone = {
|
|
1227
|
-
path: "/v3-next/dns-zones",
|
|
1228
|
-
method: "POST",
|
|
1229
|
-
operationId: "dns-create-dns-zone",
|
|
1230
|
-
};
|
|
1231
1207
|
/** Get a DNSZone. */
|
|
1232
1208
|
export const dnsGetDnsZone = {
|
|
1233
1209
|
path: "/v3-next/dns-zones/{dnsZoneId}",
|
|
@@ -1252,6 +1228,12 @@ export const dnsListDnsZones = {
|
|
|
1252
1228
|
method: "GET",
|
|
1253
1229
|
operationId: "dns-list-dns-zones",
|
|
1254
1230
|
};
|
|
1231
|
+
/** Create a DNSZone for a domain in a Project. */
|
|
1232
|
+
export const dnsCreateProjectDnsZone = {
|
|
1233
|
+
path: "/v3-next/projects/{projectId}/dns-zones",
|
|
1234
|
+
method: "POST",
|
|
1235
|
+
operationId: "dns-create-project-dns-zone",
|
|
1236
|
+
};
|
|
1255
1237
|
/** Set a record set on a DNSZone to managed. */
|
|
1256
1238
|
export const dnsSetRecordSetManaged = {
|
|
1257
1239
|
path: "/v3-next/dns-zones/{dnsZoneId}/record-sets/{recordSet}/actions/set-managed",
|
|
@@ -2860,3 +2842,51 @@ export const verificationVerifyCompany = {
|
|
|
2860
2842
|
method: "POST",
|
|
2861
2843
|
operationId: "verification-verify-company",
|
|
2862
2844
|
};
|
|
2845
|
+
/** List Services the executing user has access to. */
|
|
2846
|
+
export const containerListAccessibleServices = {
|
|
2847
|
+
path: "/v3-next/services",
|
|
2848
|
+
method: "GET",
|
|
2849
|
+
operationId: "container-list-accessible-services",
|
|
2850
|
+
};
|
|
2851
|
+
/** Get ai hosting plan and usages of a customer by planId. */
|
|
2852
|
+
export const aiHostingCustomerGetPlan = {
|
|
2853
|
+
path: "/v3-next/customers/{customerId}/ai-hostings/{planId}",
|
|
2854
|
+
method: "GET",
|
|
2855
|
+
operationId: "ai-hosting-customer-get-plan",
|
|
2856
|
+
};
|
|
2857
|
+
/** Renames an AI hosting plan. */
|
|
2858
|
+
export const aiHostingCustomerUpdatePlan = {
|
|
2859
|
+
path: "/v3-next/customers/{customerId}/ai-hostings/{planId}",
|
|
2860
|
+
method: "PUT",
|
|
2861
|
+
operationId: "ai-hosting-customer-update-plan",
|
|
2862
|
+
};
|
|
2863
|
+
/** Get all ai hosting plans of a customer. */
|
|
2864
|
+
export const aiHostingCustomerGetPlans = {
|
|
2865
|
+
path: "/v3-next/customers/{customerId}/ai-hostings",
|
|
2866
|
+
method: "GET",
|
|
2867
|
+
operationId: "ai-hosting-customer-get-plans",
|
|
2868
|
+
};
|
|
2869
|
+
/** Creates an AI hosting profile and accepts the current model terms. */
|
|
2870
|
+
export const aiHostingCustomerDeclareProfile = {
|
|
2871
|
+
path: "/v3-next/customers/{customerId}/ai-hostings/profile",
|
|
2872
|
+
method: "POST",
|
|
2873
|
+
operationId: "ai-hosting-customer-declare-profile",
|
|
2874
|
+
};
|
|
2875
|
+
/** Get the status of a DNS zone-file import job. */
|
|
2876
|
+
export const dnsGetDnsZoneFileImport = {
|
|
2877
|
+
path: "/v3-next/dns-zone-imports/{zoneFileImportId}",
|
|
2878
|
+
method: "GET",
|
|
2879
|
+
operationId: "dns-get-dns-zone-file-import",
|
|
2880
|
+
};
|
|
2881
|
+
/** Start a server-side DNS zone-file import for a Project. */
|
|
2882
|
+
export const dnsCreateDnsZoneFileImport = {
|
|
2883
|
+
path: "/v3-next/projects/{projectId}/dns-zone-imports",
|
|
2884
|
+
method: "POST",
|
|
2885
|
+
operationId: "dns-create-dns-zone-file-import",
|
|
2886
|
+
};
|
|
2887
|
+
/** Preview a DNS zone-file import for a Project. */
|
|
2888
|
+
export const dnsPreviewProjectDnsZoneFileImport = {
|
|
2889
|
+
path: "/v3-next/projects/{projectId}/dns-zones/import-preview",
|
|
2890
|
+
method: "POST",
|
|
2891
|
+
operationId: "dns-preview-project-dns-zone-file-import",
|
|
2892
|
+
};
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export const MittwaldAPIClientVersion = '4.442.0';
|
|
@@ -39,48 +39,6 @@ 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
|
-
}>;
|
|
84
42
|
/** Get ai hosting plan and usages of a customer. Deprecated: use /ai-hostings/{planId} instead. */
|
|
85
43
|
customerGetUsage: (conf: {
|
|
86
44
|
customerId: string;
|
|
@@ -94,9 +52,9 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
94
52
|
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
95
53
|
customerId: string;
|
|
96
54
|
deletedAt?: string | undefined;
|
|
55
|
+
description: string;
|
|
97
56
|
keys: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsage;
|
|
98
57
|
modelTermsApprovalRequired: boolean;
|
|
99
|
-
name?: string | undefined;
|
|
100
58
|
nextTokenReset: string;
|
|
101
59
|
planId?: string | undefined;
|
|
102
60
|
rateLimit: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingRateLimit;
|
|
@@ -163,12 +121,54 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
163
121
|
planId?: string | undefined;
|
|
164
122
|
} | undefined;
|
|
165
123
|
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
124
|
+
description?: string | undefined;
|
|
166
125
|
keys: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsage;
|
|
167
126
|
modelTermsApprovalRequired: boolean;
|
|
168
|
-
name?: string | undefined;
|
|
169
127
|
nextTokenReset?: string | undefined;
|
|
170
128
|
projectId: string;
|
|
171
129
|
}>;
|
|
130
|
+
/** Get ai hosting plan and usages of a customer by planId. */
|
|
131
|
+
customerGetPlan: (conf: {
|
|
132
|
+
customerId: string;
|
|
133
|
+
planId: string;
|
|
134
|
+
headers?: {
|
|
135
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
136
|
+
} | undefined;
|
|
137
|
+
queryParameters?: {
|
|
138
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
139
|
+
topUsageCount?: number | undefined;
|
|
140
|
+
} | undefined;
|
|
141
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
142
|
+
customerId: string;
|
|
143
|
+
deletedAt?: string | undefined;
|
|
144
|
+
description: string;
|
|
145
|
+
keys: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsage;
|
|
146
|
+
modelTermsApprovalRequired: boolean;
|
|
147
|
+
nextTokenReset: string;
|
|
148
|
+
planId?: string | undefined;
|
|
149
|
+
rateLimit: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingRateLimit;
|
|
150
|
+
tokens: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsageBig;
|
|
151
|
+
topUsages?: {
|
|
152
|
+
keyId?: string;
|
|
153
|
+
name: string;
|
|
154
|
+
projectId?: string;
|
|
155
|
+
tokenUsed: number;
|
|
156
|
+
}[] | undefined;
|
|
157
|
+
}>;
|
|
158
|
+
/** Get all ai hosting plans of a customer. */
|
|
159
|
+
customerGetPlans: (conf: {
|
|
160
|
+
customerId: string;
|
|
161
|
+
headers?: {
|
|
162
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
163
|
+
} | undefined;
|
|
164
|
+
queryParameters?: {
|
|
165
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
166
|
+
topUsageCount?: number | undefined;
|
|
167
|
+
} | undefined;
|
|
168
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
169
|
+
modelTermsApprovalRequired: boolean;
|
|
170
|
+
plans: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanOptions[];
|
|
171
|
+
}>;
|
|
172
172
|
};
|
|
173
173
|
declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
|
|
174
174
|
/** Get an App. */
|
|
@@ -882,6 +882,21 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
882
882
|
page?: number | undefined;
|
|
883
883
|
} | undefined;
|
|
884
884
|
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerVolumeResponse[]>;
|
|
885
|
+
/** List Services the executing user has access to. */
|
|
886
|
+
listAccessibleServices: (conf?: {
|
|
887
|
+
headers?: {
|
|
888
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
889
|
+
"x-access-token"?: string | undefined;
|
|
890
|
+
} | undefined;
|
|
891
|
+
queryParameters?: {
|
|
892
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
893
|
+
searchTerm?: string | undefined;
|
|
894
|
+
sortOrder?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerServiceSortOrder | undefined;
|
|
895
|
+
limit?: number | undefined;
|
|
896
|
+
skip?: number | undefined;
|
|
897
|
+
page?: number | undefined;
|
|
898
|
+
} | undefined;
|
|
899
|
+
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerServiceResponse[]>;
|
|
885
900
|
};
|
|
886
901
|
declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
|
|
887
902
|
/** Return the BaseItem of the Contract with the given ID. */
|
|
@@ -1399,6 +1414,7 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1399
1414
|
extensionId?: string | undefined;
|
|
1400
1415
|
searchTerm?: string | undefined;
|
|
1401
1416
|
anchor?: string | undefined;
|
|
1417
|
+
hasAcceptedAllScopes?: boolean | undefined;
|
|
1402
1418
|
limit?: number | undefined;
|
|
1403
1419
|
skip?: number | undefined;
|
|
1404
1420
|
page?: number | undefined;
|
|
@@ -1436,6 +1452,7 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1436
1452
|
nextScheduledWebhookExecution?: string | undefined;
|
|
1437
1453
|
pendingInstallation: boolean;
|
|
1438
1454
|
pendingRemoval: boolean;
|
|
1455
|
+
scopeChangeAcceptanceDeadline?: string | undefined;
|
|
1439
1456
|
variantKey?: string | undefined;
|
|
1440
1457
|
webhookExecutionHalted: boolean;
|
|
1441
1458
|
}>;
|
|
@@ -1556,6 +1573,7 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1556
1573
|
nextScheduledWebhookExecution?: string | undefined;
|
|
1557
1574
|
pendingInstallation: boolean;
|
|
1558
1575
|
pendingRemoval: boolean;
|
|
1576
|
+
scopeChangeAcceptanceDeadline?: string | undefined;
|
|
1559
1577
|
variantKey?: string | undefined;
|
|
1560
1578
|
webhookExecutionHalted: boolean;
|
|
1561
1579
|
}>;
|
|
@@ -1590,6 +1608,7 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1590
1608
|
nextScheduledWebhookExecution?: string | undefined;
|
|
1591
1609
|
pendingInstallation: boolean;
|
|
1592
1610
|
pendingRemoval: boolean;
|
|
1611
|
+
scopeChangeAcceptanceDeadline?: string | undefined;
|
|
1593
1612
|
variantKey?: string | undefined;
|
|
1594
1613
|
webhookExecutionHalted: boolean;
|
|
1595
1614
|
}>;
|
|
@@ -2528,6 +2547,27 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2528
2547
|
ingressId?: string | undefined;
|
|
2529
2548
|
} | undefined;
|
|
2530
2549
|
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.SslCertificate[]>;
|
|
2550
|
+
/** Get the status of a DNS zone-file import job. */
|
|
2551
|
+
dnsGetDnsZoneFileImport: (conf: {
|
|
2552
|
+
zoneFileImportId: string;
|
|
2553
|
+
headers?: {
|
|
2554
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2555
|
+
"x-access-token"?: string | undefined;
|
|
2556
|
+
} | undefined;
|
|
2557
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
2558
|
+
failedZones?: {
|
|
2559
|
+
error?: string;
|
|
2560
|
+
name?: string;
|
|
2561
|
+
}[] | undefined;
|
|
2562
|
+
id?: string | undefined;
|
|
2563
|
+
importedZones?: string[] | undefined;
|
|
2564
|
+
projectId?: string | undefined;
|
|
2565
|
+
skippedZones?: {
|
|
2566
|
+
name?: string;
|
|
2567
|
+
reason?: string;
|
|
2568
|
+
}[] | undefined;
|
|
2569
|
+
status?: string | undefined;
|
|
2570
|
+
}>;
|
|
2531
2571
|
};
|
|
2532
2572
|
declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
|
|
2533
2573
|
/** Get a File's meta. */
|
|
@@ -2547,6 +2587,7 @@ declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2547
2587
|
id: string;
|
|
2548
2588
|
mimeType: string;
|
|
2549
2589
|
name: string;
|
|
2590
|
+
shortId: string;
|
|
2550
2591
|
sizeInBytes: number;
|
|
2551
2592
|
type: string;
|
|
2552
2593
|
}>;
|