@mittwald/api-client 0.0.0-development-de8b283-20260817 → 0.0.0-development-18fc15b-20260819
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 +14 -6
- package/dist/esm/generated/v2/descriptors.js +37 -13
- package/dist/esm/generated/v3-next/client-react.js +8 -4
- package/dist/esm/generated/v3-next/client.js +14 -6
- package/dist/esm/generated/v3-next/descriptors.js +37 -13
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +66 -24
- package/dist/types/generated/v2/client.d.ts +356 -91
- package/dist/types/generated/v2/descriptors.d.ts +14 -6
- package/dist/types/generated/v2/types.d.ts +324 -40
- package/dist/types/generated/v3-next/client-react.d.ts +66 -24
- package/dist/types/generated/v3-next/client.d.ts +356 -91
- package/dist/types/generated/v3-next/descriptors.d.ts +14 -6
- package/dist/types/generated/v3-next/types.d.ts +324 -40
- package/dist/types/version.d.ts +1 -1
- package/package.json +4 -4
|
@@ -24,6 +24,8 @@ const buildAiHostingApi = (baseClient) => ({
|
|
|
24
24
|
projectGetDetailedModels: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetDetailedModels, baseClient.aiHosting.projectGetDetailedModels).getApiResource,
|
|
25
25
|
/** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
|
|
26
26
|
projectGetUsage: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetUsage, baseClient.aiHosting.projectGetUsage).getApiResource,
|
|
27
|
+
/** Get all ai hosting plans and usages of a project. */
|
|
28
|
+
projectGetPlans: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetPlans, baseClient.aiHosting.projectGetPlans).getApiResource,
|
|
27
29
|
});
|
|
28
30
|
const buildAppApi = (baseClient) => ({
|
|
29
31
|
/** Get an App. */
|
|
@@ -100,6 +102,8 @@ const buildContainerApi = (baseClient) => ({
|
|
|
100
102
|
getTemplateAsset: new ApiCallAsyncResourceFactory(descriptors.containerGetTemplateAsset, baseClient.container.getTemplateAsset).getApiResource,
|
|
101
103
|
/** Get a Container Template by ID. */
|
|
102
104
|
getTemplate: new ApiCallAsyncResourceFactory(descriptors.containerGetTemplate, baseClient.container.getTemplate).getApiResource,
|
|
105
|
+
/** List Services the executing user has access to. */
|
|
106
|
+
listAccessibleServices: new ApiCallAsyncResourceFactory(descriptors.containerListAccessibleServices, baseClient.container.listAccessibleServices).getApiResource,
|
|
103
107
|
/** List Stacks belonging to the executing user. */
|
|
104
108
|
listSelfStacks: new ApiCallAsyncResourceFactory(descriptors.containerListSelfStacks, baseClient.container.listSelfStacks).getApiResource,
|
|
105
109
|
/** List Services belonging to a Project. */
|
|
@@ -110,8 +114,6 @@ const buildContainerApi = (baseClient) => ({
|
|
|
110
114
|
listTemplates: new ApiCallAsyncResourceFactory(descriptors.containerListTemplates, baseClient.container.listTemplates).getApiResource,
|
|
111
115
|
/** List Volumes belonging to a Project. */
|
|
112
116
|
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,
|
|
115
117
|
});
|
|
116
118
|
const buildContractApi = (baseClient) => ({
|
|
117
119
|
/** Return the BaseItem of the Contract with the given ID. */
|
|
@@ -286,12 +288,14 @@ const buildDatabaseApi = (baseClient) => ({
|
|
|
286
288
|
const buildDomainApi = (baseClient) => ({
|
|
287
289
|
/** List Domains */
|
|
288
290
|
listDomains: new ApiCallAsyncResourceFactory(descriptors.domainListDomains, baseClient.domain.listDomains).getApiResource,
|
|
291
|
+
/** List DNSZones belonging to a Project. */
|
|
292
|
+
dnsListDnsZones: new ApiCallAsyncResourceFactory(descriptors.dnsListDnsZones, baseClient.domain.dnsListDnsZones).getApiResource,
|
|
289
293
|
/** Get a DNSZone. */
|
|
290
294
|
dnsGetDnsZone: new ApiCallAsyncResourceFactory(descriptors.dnsGetDnsZone, baseClient.domain.dnsGetDnsZone).getApiResource,
|
|
295
|
+
/** Get the status of a DNS zone-file import job. */
|
|
296
|
+
dnsGetDnsZoneFileImport: new ApiCallAsyncResourceFactory(descriptors.dnsGetDnsZoneFileImport, baseClient.domain.dnsGetDnsZoneFileImport).getApiResource,
|
|
291
297
|
/** Get a zone file for a DNSZone. */
|
|
292
298
|
dnsGetZoneFile: new ApiCallAsyncResourceFactory(descriptors.dnsGetZoneFile, baseClient.domain.dnsGetZoneFile).getApiResource,
|
|
293
|
-
/** List DNSZones belonging to a Project. */
|
|
294
|
-
dnsListDnsZones: new ApiCallAsyncResourceFactory(descriptors.dnsListDnsZones, baseClient.domain.dnsListDnsZones).getApiResource,
|
|
295
299
|
/** Get a Domain. */
|
|
296
300
|
getDomain: new ApiCallAsyncResourceFactory(descriptors.domainGetDomain, baseClient.domain.getDomain).getApiResource,
|
|
297
301
|
/** Get a Contact-Verification. */
|
|
@@ -48,6 +48,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
48
48
|
projectGetUsage: this.requestFunctionFactory(descriptors.aiHostingProjectGetUsage),
|
|
49
49
|
/** Links a container with a project licence. */
|
|
50
50
|
projectLinkContainer: this.requestFunctionFactory(descriptors.aiHostingProjectLinkContainer),
|
|
51
|
+
/** Get all ai hosting plans and usages of a project. */
|
|
52
|
+
projectGetPlans: this.requestFunctionFactory(descriptors.aiHostingProjectGetPlans),
|
|
51
53
|
};
|
|
52
54
|
/** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
|
|
53
55
|
app = {
|
|
@@ -174,6 +176,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
174
176
|
getTemplateAsset: this.requestFunctionFactory(descriptors.containerGetTemplateAsset),
|
|
175
177
|
/** Get a Container Template by ID. */
|
|
176
178
|
getTemplate: this.requestFunctionFactory(descriptors.containerGetTemplate),
|
|
179
|
+
/** List Services the executing user has access to. */
|
|
180
|
+
listAccessibleServices: this.requestFunctionFactory(descriptors.containerListAccessibleServices),
|
|
177
181
|
/** List Stacks belonging to the executing user. */
|
|
178
182
|
listSelfStacks: this.requestFunctionFactory(descriptors.containerListSelfStacks),
|
|
179
183
|
/** List Services belonging to a Project. */
|
|
@@ -196,8 +200,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
196
200
|
startService: this.requestFunctionFactory(descriptors.containerStartService),
|
|
197
201
|
/** Stop a started Service. */
|
|
198
202
|
stopService: this.requestFunctionFactory(descriptors.containerStopService),
|
|
199
|
-
/** List Services the executing user has access to. */
|
|
200
|
-
listAccessibleServices: this.requestFunctionFactory(descriptors.containerListAccessibleServices),
|
|
201
203
|
};
|
|
202
204
|
/** The contract API allows you to manage your contracts and orders */
|
|
203
205
|
contract = {
|
|
@@ -557,16 +559,22 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
557
559
|
ingressUpdateIngressPaths: this.requestFunctionFactory(descriptors.ingressUpdateIngressPaths),
|
|
558
560
|
/** Update the tls settings of an Ingress. */
|
|
559
561
|
ingressUpdateIngressTls: this.requestFunctionFactory(descriptors.ingressUpdateIngressTls),
|
|
560
|
-
/**
|
|
561
|
-
|
|
562
|
+
/** Start a server-side DNS zone-file import for a Project. */
|
|
563
|
+
dnsCreateDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsCreateDnsZoneFileImport),
|
|
564
|
+
/** List DNSZones belonging to a Project. */
|
|
565
|
+
dnsListDnsZones: this.requestFunctionFactory(descriptors.dnsListDnsZones),
|
|
566
|
+
/** Create a DNSZone for a domain in a Project. */
|
|
567
|
+
dnsCreateProjectDnsZone: this.requestFunctionFactory(descriptors.dnsCreateProjectDnsZone),
|
|
562
568
|
/** Get a DNSZone. */
|
|
563
569
|
dnsGetDnsZone: this.requestFunctionFactory(descriptors.dnsGetDnsZone),
|
|
564
570
|
/** Delete a DNSZone. */
|
|
565
571
|
dnsDeleteDnsZone: this.requestFunctionFactory(descriptors.dnsDeleteDnsZone),
|
|
572
|
+
/** Get the status of a DNS zone-file import job. */
|
|
573
|
+
dnsGetDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsGetDnsZoneFileImport),
|
|
566
574
|
/** Get a zone file for a DNSZone. */
|
|
567
575
|
dnsGetZoneFile: this.requestFunctionFactory(descriptors.dnsGetZoneFile),
|
|
568
|
-
/**
|
|
569
|
-
|
|
576
|
+
/** Preview a DNS zone-file import for a Project. */
|
|
577
|
+
dnsPreviewProjectDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsPreviewProjectDnsZoneFileImport),
|
|
570
578
|
/** Set a record set on a DNSZone to managed. */
|
|
571
579
|
dnsSetRecordSetManaged: this.requestFunctionFactory(descriptors.dnsSetRecordSetManaged),
|
|
572
580
|
/** Update a record set on a DNSZone. */
|
|
@@ -466,6 +466,12 @@ export const containerGetTemplate = {
|
|
|
466
466
|
method: "GET",
|
|
467
467
|
operationId: "container-get-template",
|
|
468
468
|
};
|
|
469
|
+
/** List Services the executing user has access to. */
|
|
470
|
+
export const containerListAccessibleServices = {
|
|
471
|
+
path: "/v2/services",
|
|
472
|
+
method: "GET",
|
|
473
|
+
operationId: "container-list-accessible-services",
|
|
474
|
+
};
|
|
469
475
|
/** List Stacks belonging to the executing user. */
|
|
470
476
|
export const containerListSelfStacks = {
|
|
471
477
|
path: "/v2/stacks",
|
|
@@ -1228,11 +1234,23 @@ export const userUpdateAccount = {
|
|
|
1228
1234
|
method: "PUT",
|
|
1229
1235
|
operationId: "user-update-account",
|
|
1230
1236
|
};
|
|
1231
|
-
/**
|
|
1232
|
-
export const
|
|
1233
|
-
path: "/v2/dns-
|
|
1237
|
+
/** Start a server-side DNS zone-file import for a Project. */
|
|
1238
|
+
export const dnsCreateDnsZoneFileImport = {
|
|
1239
|
+
path: "/v2/projects/{projectId}/dns-zone-imports",
|
|
1234
1240
|
method: "POST",
|
|
1235
|
-
operationId: "dns-create-dns-zone",
|
|
1241
|
+
operationId: "dns-create-dns-zone-file-import",
|
|
1242
|
+
};
|
|
1243
|
+
/** List DNSZones belonging to a Project. */
|
|
1244
|
+
export const dnsListDnsZones = {
|
|
1245
|
+
path: "/v2/projects/{projectId}/dns-zones",
|
|
1246
|
+
method: "GET",
|
|
1247
|
+
operationId: "dns-list-dns-zones",
|
|
1248
|
+
};
|
|
1249
|
+
/** Create a DNSZone for a domain in a Project. */
|
|
1250
|
+
export const dnsCreateProjectDnsZone = {
|
|
1251
|
+
path: "/v2/projects/{projectId}/dns-zones",
|
|
1252
|
+
method: "POST",
|
|
1253
|
+
operationId: "dns-create-project-dns-zone",
|
|
1236
1254
|
};
|
|
1237
1255
|
/** Get a DNSZone. */
|
|
1238
1256
|
export const dnsGetDnsZone = {
|
|
@@ -1246,17 +1264,23 @@ export const dnsDeleteDnsZone = {
|
|
|
1246
1264
|
method: "DELETE",
|
|
1247
1265
|
operationId: "dns-delete-dns-zone",
|
|
1248
1266
|
};
|
|
1267
|
+
/** Get the status of a DNS zone-file import job. */
|
|
1268
|
+
export const dnsGetDnsZoneFileImport = {
|
|
1269
|
+
path: "/v2/dns-zone-imports/{zoneFileImportId}",
|
|
1270
|
+
method: "GET",
|
|
1271
|
+
operationId: "dns-get-dns-zone-file-import",
|
|
1272
|
+
};
|
|
1249
1273
|
/** Get a zone file for a DNSZone. */
|
|
1250
1274
|
export const dnsGetZoneFile = {
|
|
1251
1275
|
path: "/v2/dns-zones/{dnsZoneId}/zone-file",
|
|
1252
1276
|
method: "GET",
|
|
1253
1277
|
operationId: "dns-get-zone-file",
|
|
1254
1278
|
};
|
|
1255
|
-
/**
|
|
1256
|
-
export const
|
|
1257
|
-
path: "/v2/projects/{projectId}/dns-zones",
|
|
1258
|
-
method: "
|
|
1259
|
-
operationId: "dns-
|
|
1279
|
+
/** Preview a DNS zone-file import for a Project. */
|
|
1280
|
+
export const dnsPreviewProjectDnsZoneFileImport = {
|
|
1281
|
+
path: "/v2/projects/{projectId}/dns-zones/import-preview",
|
|
1282
|
+
method: "POST",
|
|
1283
|
+
operationId: "dns-preview-project-dns-zone-file-import",
|
|
1260
1284
|
};
|
|
1261
1285
|
/** Set a record set on a DNSZone to managed. */
|
|
1262
1286
|
export const dnsSetRecordSetManaged = {
|
|
@@ -2866,9 +2890,9 @@ export const verificationVerifyCompany = {
|
|
|
2866
2890
|
method: "POST",
|
|
2867
2891
|
operationId: "verification-verify-company",
|
|
2868
2892
|
};
|
|
2869
|
-
/**
|
|
2870
|
-
export const
|
|
2871
|
-
path: "/v2/
|
|
2893
|
+
/** Get all ai hosting plans and usages of a project. */
|
|
2894
|
+
export const aiHostingProjectGetPlans = {
|
|
2895
|
+
path: "/v2/projects/{projectId}/ai-hostings",
|
|
2872
2896
|
method: "GET",
|
|
2873
|
-
operationId: "
|
|
2897
|
+
operationId: "ai-hosting-project-get-plans",
|
|
2874
2898
|
};
|
|
@@ -24,6 +24,8 @@ const buildAiHostingApi = (baseClient) => ({
|
|
|
24
24
|
projectGetDetailedModels: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetDetailedModels, baseClient.aiHosting.projectGetDetailedModels).getApiResource,
|
|
25
25
|
/** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
|
|
26
26
|
projectGetUsage: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetUsage, baseClient.aiHosting.projectGetUsage).getApiResource,
|
|
27
|
+
/** Get all ai hosting plans and usages of a project. */
|
|
28
|
+
projectGetPlans: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetPlans, baseClient.aiHosting.projectGetPlans).getApiResource,
|
|
27
29
|
});
|
|
28
30
|
const buildAppApi = (baseClient) => ({
|
|
29
31
|
/** Get an App. */
|
|
@@ -100,6 +102,8 @@ const buildContainerApi = (baseClient) => ({
|
|
|
100
102
|
getTemplateAsset: new ApiCallAsyncResourceFactory(descriptors.containerGetTemplateAsset, baseClient.container.getTemplateAsset).getApiResource,
|
|
101
103
|
/** Get a Container Template by ID. */
|
|
102
104
|
getTemplate: new ApiCallAsyncResourceFactory(descriptors.containerGetTemplate, baseClient.container.getTemplate).getApiResource,
|
|
105
|
+
/** List Services the executing user has access to. */
|
|
106
|
+
listAccessibleServices: new ApiCallAsyncResourceFactory(descriptors.containerListAccessibleServices, baseClient.container.listAccessibleServices).getApiResource,
|
|
103
107
|
/** List Stacks belonging to the executing user. */
|
|
104
108
|
listSelfStacks: new ApiCallAsyncResourceFactory(descriptors.containerListSelfStacks, baseClient.container.listSelfStacks).getApiResource,
|
|
105
109
|
/** List Services belonging to a Project. */
|
|
@@ -110,8 +114,6 @@ const buildContainerApi = (baseClient) => ({
|
|
|
110
114
|
listTemplates: new ApiCallAsyncResourceFactory(descriptors.containerListTemplates, baseClient.container.listTemplates).getApiResource,
|
|
111
115
|
/** List Volumes belonging to a Project. */
|
|
112
116
|
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,
|
|
115
117
|
});
|
|
116
118
|
const buildContractApi = (baseClient) => ({
|
|
117
119
|
/** Return the BaseItem of the Contract with the given ID. */
|
|
@@ -286,12 +288,14 @@ const buildDatabaseApi = (baseClient) => ({
|
|
|
286
288
|
const buildDomainApi = (baseClient) => ({
|
|
287
289
|
/** List domains. */
|
|
288
290
|
serviceNextListDomains: new ApiCallAsyncResourceFactory(descriptors.domainServiceNextListDomains, baseClient.domain.serviceNextListDomains).getApiResource,
|
|
291
|
+
/** List DNSZones belonging to a Project. */
|
|
292
|
+
dnsListDnsZones: new ApiCallAsyncResourceFactory(descriptors.dnsListDnsZones, baseClient.domain.dnsListDnsZones).getApiResource,
|
|
289
293
|
/** Get a DNSZone. */
|
|
290
294
|
dnsGetDnsZone: new ApiCallAsyncResourceFactory(descriptors.dnsGetDnsZone, baseClient.domain.dnsGetDnsZone).getApiResource,
|
|
295
|
+
/** Get the status of a DNS zone-file import job. */
|
|
296
|
+
dnsGetDnsZoneFileImport: new ApiCallAsyncResourceFactory(descriptors.dnsGetDnsZoneFileImport, baseClient.domain.dnsGetDnsZoneFileImport).getApiResource,
|
|
291
297
|
/** Get a zone file for a DNSZone. */
|
|
292
298
|
dnsGetZoneFile: new ApiCallAsyncResourceFactory(descriptors.dnsGetZoneFile, baseClient.domain.dnsGetZoneFile).getApiResource,
|
|
293
|
-
/** List DNSZones belonging to a Project. */
|
|
294
|
-
dnsListDnsZones: new ApiCallAsyncResourceFactory(descriptors.dnsListDnsZones, baseClient.domain.dnsListDnsZones).getApiResource,
|
|
295
299
|
/** Get a domain. */
|
|
296
300
|
serviceNextGetDomain: new ApiCallAsyncResourceFactory(descriptors.domainServiceNextGetDomain, baseClient.domain.serviceNextGetDomain).getApiResource,
|
|
297
301
|
/** Get a Contact-Verification. */
|
|
@@ -48,6 +48,8 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
48
48
|
projectGetUsage: this.requestFunctionFactory(descriptors.aiHostingProjectGetUsage),
|
|
49
49
|
/** Links a container with a project licence. */
|
|
50
50
|
projectLinkContainer: this.requestFunctionFactory(descriptors.aiHostingProjectLinkContainer),
|
|
51
|
+
/** Get all ai hosting plans and usages of a project. */
|
|
52
|
+
projectGetPlans: this.requestFunctionFactory(descriptors.aiHostingProjectGetPlans),
|
|
51
53
|
};
|
|
52
54
|
/** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
|
|
53
55
|
app = {
|
|
@@ -174,6 +176,8 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
174
176
|
getTemplateAsset: this.requestFunctionFactory(descriptors.containerGetTemplateAsset),
|
|
175
177
|
/** Get a Container Template by ID. */
|
|
176
178
|
getTemplate: this.requestFunctionFactory(descriptors.containerGetTemplate),
|
|
179
|
+
/** List Services the executing user has access to. */
|
|
180
|
+
listAccessibleServices: this.requestFunctionFactory(descriptors.containerListAccessibleServices),
|
|
177
181
|
/** List Stacks belonging to the executing user. */
|
|
178
182
|
listSelfStacks: this.requestFunctionFactory(descriptors.containerListSelfStacks),
|
|
179
183
|
/** List Services belonging to a Project. */
|
|
@@ -196,8 +200,6 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
196
200
|
startService: this.requestFunctionFactory(descriptors.containerStartService),
|
|
197
201
|
/** Stop a started Service. */
|
|
198
202
|
stopService: this.requestFunctionFactory(descriptors.containerStopService),
|
|
199
|
-
/** List Services the executing user has access to. */
|
|
200
|
-
listAccessibleServices: this.requestFunctionFactory(descriptors.containerListAccessibleServices),
|
|
201
203
|
};
|
|
202
204
|
/** The contract API allows you to manage your contracts and orders */
|
|
203
205
|
contract = {
|
|
@@ -557,16 +559,22 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
557
559
|
ingressUpdateIngressPaths: this.requestFunctionFactory(descriptors.ingressUpdateIngressPaths),
|
|
558
560
|
/** Update the tls settings of an Ingress. */
|
|
559
561
|
ingressUpdateIngressTls: this.requestFunctionFactory(descriptors.ingressUpdateIngressTls),
|
|
560
|
-
/**
|
|
561
|
-
|
|
562
|
+
/** Start a server-side DNS zone-file import for a Project. */
|
|
563
|
+
dnsCreateDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsCreateDnsZoneFileImport),
|
|
564
|
+
/** List DNSZones belonging to a Project. */
|
|
565
|
+
dnsListDnsZones: this.requestFunctionFactory(descriptors.dnsListDnsZones),
|
|
566
|
+
/** Create a DNSZone for a domain in a Project. */
|
|
567
|
+
dnsCreateProjectDnsZone: this.requestFunctionFactory(descriptors.dnsCreateProjectDnsZone),
|
|
562
568
|
/** Get a DNSZone. */
|
|
563
569
|
dnsGetDnsZone: this.requestFunctionFactory(descriptors.dnsGetDnsZone),
|
|
564
570
|
/** Delete a DNSZone. */
|
|
565
571
|
dnsDeleteDnsZone: this.requestFunctionFactory(descriptors.dnsDeleteDnsZone),
|
|
572
|
+
/** Get the status of a DNS zone-file import job. */
|
|
573
|
+
dnsGetDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsGetDnsZoneFileImport),
|
|
566
574
|
/** Get a zone file for a DNSZone. */
|
|
567
575
|
dnsGetZoneFile: this.requestFunctionFactory(descriptors.dnsGetZoneFile),
|
|
568
|
-
/**
|
|
569
|
-
|
|
576
|
+
/** Preview a DNS zone-file import for a Project. */
|
|
577
|
+
dnsPreviewProjectDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsPreviewProjectDnsZoneFileImport),
|
|
570
578
|
/** Set a record set on a DNSZone to managed. */
|
|
571
579
|
dnsSetRecordSetManaged: this.requestFunctionFactory(descriptors.dnsSetRecordSetManaged),
|
|
572
580
|
/** Update a record set on a DNSZone. */
|
|
@@ -466,6 +466,12 @@ export const containerGetTemplate = {
|
|
|
466
466
|
method: "GET",
|
|
467
467
|
operationId: "container-get-template",
|
|
468
468
|
};
|
|
469
|
+
/** List Services the executing user has access to. */
|
|
470
|
+
export const containerListAccessibleServices = {
|
|
471
|
+
path: "/v3-next/services",
|
|
472
|
+
method: "GET",
|
|
473
|
+
operationId: "container-list-accessible-services",
|
|
474
|
+
};
|
|
469
475
|
/** List Stacks belonging to the executing user. */
|
|
470
476
|
export const containerListSelfStacks = {
|
|
471
477
|
path: "/v3-next/stacks",
|
|
@@ -1228,11 +1234,23 @@ export const userUpdateAccount = {
|
|
|
1228
1234
|
method: "PUT",
|
|
1229
1235
|
operationId: "user-update-account",
|
|
1230
1236
|
};
|
|
1231
|
-
/**
|
|
1232
|
-
export const
|
|
1233
|
-
path: "/v3-next/dns-
|
|
1237
|
+
/** Start a server-side DNS zone-file import for a Project. */
|
|
1238
|
+
export const dnsCreateDnsZoneFileImport = {
|
|
1239
|
+
path: "/v3-next/projects/{projectId}/dns-zone-imports",
|
|
1234
1240
|
method: "POST",
|
|
1235
|
-
operationId: "dns-create-dns-zone",
|
|
1241
|
+
operationId: "dns-create-dns-zone-file-import",
|
|
1242
|
+
};
|
|
1243
|
+
/** List DNSZones belonging to a Project. */
|
|
1244
|
+
export const dnsListDnsZones = {
|
|
1245
|
+
path: "/v3-next/projects/{projectId}/dns-zones",
|
|
1246
|
+
method: "GET",
|
|
1247
|
+
operationId: "dns-list-dns-zones",
|
|
1248
|
+
};
|
|
1249
|
+
/** Create a DNSZone for a domain in a Project. */
|
|
1250
|
+
export const dnsCreateProjectDnsZone = {
|
|
1251
|
+
path: "/v3-next/projects/{projectId}/dns-zones",
|
|
1252
|
+
method: "POST",
|
|
1253
|
+
operationId: "dns-create-project-dns-zone",
|
|
1236
1254
|
};
|
|
1237
1255
|
/** Get a DNSZone. */
|
|
1238
1256
|
export const dnsGetDnsZone = {
|
|
@@ -1246,17 +1264,23 @@ export const dnsDeleteDnsZone = {
|
|
|
1246
1264
|
method: "DELETE",
|
|
1247
1265
|
operationId: "dns-delete-dns-zone",
|
|
1248
1266
|
};
|
|
1267
|
+
/** Get the status of a DNS zone-file import job. */
|
|
1268
|
+
export const dnsGetDnsZoneFileImport = {
|
|
1269
|
+
path: "/v3-next/dns-zone-imports/{zoneFileImportId}",
|
|
1270
|
+
method: "GET",
|
|
1271
|
+
operationId: "dns-get-dns-zone-file-import",
|
|
1272
|
+
};
|
|
1249
1273
|
/** Get a zone file for a DNSZone. */
|
|
1250
1274
|
export const dnsGetZoneFile = {
|
|
1251
1275
|
path: "/v3-next/dns-zones/{dnsZoneId}/zone-file",
|
|
1252
1276
|
method: "GET",
|
|
1253
1277
|
operationId: "dns-get-zone-file",
|
|
1254
1278
|
};
|
|
1255
|
-
/**
|
|
1256
|
-
export const
|
|
1257
|
-
path: "/v3-next/projects/{projectId}/dns-zones",
|
|
1258
|
-
method: "
|
|
1259
|
-
operationId: "dns-
|
|
1279
|
+
/** Preview a DNS zone-file import for a Project. */
|
|
1280
|
+
export const dnsPreviewProjectDnsZoneFileImport = {
|
|
1281
|
+
path: "/v3-next/projects/{projectId}/dns-zones/import-preview",
|
|
1282
|
+
method: "POST",
|
|
1283
|
+
operationId: "dns-preview-project-dns-zone-file-import",
|
|
1260
1284
|
};
|
|
1261
1285
|
/** Set a record set on a DNSZone to managed. */
|
|
1262
1286
|
export const dnsSetRecordSetManaged = {
|
|
@@ -2866,9 +2890,9 @@ export const verificationVerifyCompany = {
|
|
|
2866
2890
|
method: "POST",
|
|
2867
2891
|
operationId: "verification-verify-company",
|
|
2868
2892
|
};
|
|
2869
|
-
/**
|
|
2870
|
-
export const
|
|
2871
|
-
path: "/v3-next/
|
|
2893
|
+
/** Get all ai hosting plans and usages of a project. */
|
|
2894
|
+
export const aiHostingProjectGetPlans = {
|
|
2895
|
+
path: "/v3-next/projects/{projectId}/ai-hostings",
|
|
2872
2896
|
method: "GET",
|
|
2873
|
-
operationId: "
|
|
2897
|
+
operationId: "ai-hosting-project-get-plans",
|
|
2874
2898
|
};
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '
|
|
1
|
+
export const MittwaldAPIClientVersion = '0.0.0-development-6372ff8-20260818';
|
|
@@ -169,6 +169,23 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
169
169
|
nextTokenReset?: string | undefined;
|
|
170
170
|
projectId: string;
|
|
171
171
|
}>;
|
|
172
|
+
/** Get all ai hosting plans and usages of a project. */
|
|
173
|
+
projectGetPlans: (conf: {
|
|
174
|
+
projectId: string;
|
|
175
|
+
headers?: {
|
|
176
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
177
|
+
} | undefined;
|
|
178
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
179
|
+
modelTermsApprovalRequired: boolean;
|
|
180
|
+
plans: {
|
|
181
|
+
description?: string;
|
|
182
|
+
keys: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsage;
|
|
183
|
+
modelTermsApprovalRequired: boolean;
|
|
184
|
+
nextTokenReset?: string;
|
|
185
|
+
planId: string;
|
|
186
|
+
projectId: string;
|
|
187
|
+
}[];
|
|
188
|
+
}>;
|
|
172
189
|
};
|
|
173
190
|
declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
|
|
174
191
|
/** Get an App. */
|
|
@@ -800,6 +817,21 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
800
817
|
version: string;
|
|
801
818
|
website?: string | undefined;
|
|
802
819
|
}>;
|
|
820
|
+
/** List Services the executing user has access to. */
|
|
821
|
+
listAccessibleServices: (conf?: {
|
|
822
|
+
headers?: {
|
|
823
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
824
|
+
"x-access-token"?: string | undefined;
|
|
825
|
+
} | undefined;
|
|
826
|
+
queryParameters?: {
|
|
827
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
828
|
+
searchTerm?: string | undefined;
|
|
829
|
+
sortOrder?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerServiceSortOrder | undefined;
|
|
830
|
+
limit?: number | undefined;
|
|
831
|
+
skip?: number | undefined;
|
|
832
|
+
page?: number | undefined;
|
|
833
|
+
} | undefined;
|
|
834
|
+
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerServiceResponse[]>;
|
|
803
835
|
/** List Stacks belonging to the executing user. */
|
|
804
836
|
listSelfStacks: (conf?: {
|
|
805
837
|
headers?: {
|
|
@@ -882,21 +914,6 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
882
914
|
page?: number | undefined;
|
|
883
915
|
} | undefined;
|
|
884
916
|
}) => 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[]>;
|
|
900
917
|
};
|
|
901
918
|
declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
|
|
902
919
|
/** Return the BaseItem of the Contract with the given ID. */
|
|
@@ -1414,6 +1431,7 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1414
1431
|
extensionId?: string | undefined;
|
|
1415
1432
|
searchTerm?: string | undefined;
|
|
1416
1433
|
anchor?: string | undefined;
|
|
1434
|
+
hasAcceptedAllScopes?: boolean | undefined;
|
|
1417
1435
|
limit?: number | undefined;
|
|
1418
1436
|
skip?: number | undefined;
|
|
1419
1437
|
page?: number | undefined;
|
|
@@ -1451,6 +1469,7 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1451
1469
|
nextScheduledWebhookExecution?: string | undefined;
|
|
1452
1470
|
pendingInstallation: boolean;
|
|
1453
1471
|
pendingRemoval: boolean;
|
|
1472
|
+
scopeChangeAcceptanceDeadline?: string | undefined;
|
|
1454
1473
|
variantKey?: string | undefined;
|
|
1455
1474
|
webhookExecutionHalted: boolean;
|
|
1456
1475
|
}>;
|
|
@@ -1571,6 +1590,7 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1571
1590
|
nextScheduledWebhookExecution?: string | undefined;
|
|
1572
1591
|
pendingInstallation: boolean;
|
|
1573
1592
|
pendingRemoval: boolean;
|
|
1593
|
+
scopeChangeAcceptanceDeadline?: string | undefined;
|
|
1574
1594
|
variantKey?: string | undefined;
|
|
1575
1595
|
webhookExecutionHalted: boolean;
|
|
1576
1596
|
}>;
|
|
@@ -1605,6 +1625,7 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1605
1625
|
nextScheduledWebhookExecution?: string | undefined;
|
|
1606
1626
|
pendingInstallation: boolean;
|
|
1607
1627
|
pendingRemoval: boolean;
|
|
1628
|
+
scopeChangeAcceptanceDeadline?: string | undefined;
|
|
1608
1629
|
variantKey?: string | undefined;
|
|
1609
1630
|
webhookExecutionHalted: boolean;
|
|
1610
1631
|
}>;
|
|
@@ -1691,7 +1712,7 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1691
1712
|
limit?: number | undefined;
|
|
1692
1713
|
skip?: number | undefined;
|
|
1693
1714
|
page?: number | undefined;
|
|
1694
|
-
sort?: "name" | "pricing.priceInCents" |
|
|
1715
|
+
sort?: "name" | "pricing.priceInCents" | undefined;
|
|
1695
1716
|
order?: "asc" | "desc" | undefined;
|
|
1696
1717
|
} | undefined;
|
|
1697
1718
|
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtension[]>;
|
|
@@ -2285,6 +2306,14 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2285
2306
|
page?: number | undefined;
|
|
2286
2307
|
} | undefined;
|
|
2287
2308
|
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.DomainDomain[]>;
|
|
2309
|
+
/** List DNSZones belonging to a Project. */
|
|
2310
|
+
dnsListDnsZones: (conf: {
|
|
2311
|
+
projectId: string;
|
|
2312
|
+
headers?: {
|
|
2313
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2314
|
+
"x-access-token"?: string | undefined;
|
|
2315
|
+
} | undefined;
|
|
2316
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.DnsZone[]>;
|
|
2288
2317
|
/** Get a DNSZone. */
|
|
2289
2318
|
dnsGetDnsZone: (conf: {
|
|
2290
2319
|
dnsZoneId: string;
|
|
@@ -2304,22 +2333,35 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2304
2333
|
txt: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordTXT;
|
|
2305
2334
|
};
|
|
2306
2335
|
}>;
|
|
2307
|
-
/** Get a zone
|
|
2308
|
-
|
|
2309
|
-
|
|
2336
|
+
/** Get the status of a DNS zone-file import job. */
|
|
2337
|
+
dnsGetDnsZoneFileImport: (conf: {
|
|
2338
|
+
zoneFileImportId: string;
|
|
2310
2339
|
headers?: {
|
|
2311
2340
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2312
2341
|
"x-access-token"?: string | undefined;
|
|
2313
2342
|
} | undefined;
|
|
2314
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2343
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
2344
|
+
failedZones?: {
|
|
2345
|
+
error?: string;
|
|
2346
|
+
name?: string;
|
|
2347
|
+
}[] | undefined;
|
|
2348
|
+
id?: string | undefined;
|
|
2349
|
+
importedZones?: string[] | undefined;
|
|
2350
|
+
projectId?: string | undefined;
|
|
2351
|
+
skippedZones?: {
|
|
2352
|
+
name?: string;
|
|
2353
|
+
reason?: string;
|
|
2354
|
+
}[] | undefined;
|
|
2355
|
+
status?: string | undefined;
|
|
2356
|
+
}>;
|
|
2357
|
+
/** Get a zone file for a DNSZone. */
|
|
2358
|
+
dnsGetZoneFile: (conf: {
|
|
2359
|
+
dnsZoneId: string;
|
|
2318
2360
|
headers?: {
|
|
2319
2361
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2320
2362
|
"x-access-token"?: string | undefined;
|
|
2321
2363
|
} | undefined;
|
|
2322
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<
|
|
2364
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<string>;
|
|
2323
2365
|
/** Get a Domain. */
|
|
2324
2366
|
getDomain: (conf: {
|
|
2325
2367
|
domainId: string;
|