@mittwald/api-client 0.0.0-development-6372ff8-20260818 → 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 +12 -10
- package/dist/esm/generated/v2/client.js +22 -20
- package/dist/esm/generated/v2/descriptors.js +62 -56
- package/dist/esm/generated/v3-next/client-react.js +12 -10
- package/dist/esm/generated/v3-next/client.js +22 -20
- package/dist/esm/generated/v3-next/descriptors.js +62 -56
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +97 -80
- package/dist/types/generated/v2/client.d.ts +599 -540
- package/dist/types/generated/v2/descriptors.d.ts +22 -20
- package/dist/types/generated/v2/types.d.ts +595 -532
- package/dist/types/generated/v3-next/client-react.d.ts +97 -80
- package/dist/types/generated/v3-next/client.d.ts +599 -540
- package/dist/types/generated/v3-next/descriptors.d.ts +22 -20
- package/dist/types/generated/v3-next/types.d.ts +595 -532
- 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,8 @@ 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
|
|
24
|
-
|
|
25
|
-
/** Get all ai hosting plans of a customer. */
|
|
26
|
-
customerGetPlans: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetPlans, baseClient.aiHosting.customerGetPlans).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. */
|
|
@@ -322,8 +326,6 @@ const buildDomainApi = (baseClient) => ({
|
|
|
322
326
|
sslGetCertificate: new ApiCallAsyncResourceFactory(descriptors.sslGetCertificate, baseClient.domain.sslGetCertificate).getApiResource,
|
|
323
327
|
/** List Certificates belonging to a Project or an Ingress. */
|
|
324
328
|
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,
|
|
327
329
|
});
|
|
328
330
|
const buildFileApi = (baseClient) => ({
|
|
329
331
|
/** Get a File's meta. */
|
|
@@ -12,6 +12,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
12
12
|
customerGetKeys: this.requestFunctionFactory(descriptors.aiHostingCustomerGetKeys),
|
|
13
13
|
/** Creates a new key. */
|
|
14
14
|
customerCreateKey: this.requestFunctionFactory(descriptors.aiHostingCustomerCreateKey),
|
|
15
|
+
/** Creates an AI hosting profile and accepts the current model terms. */
|
|
16
|
+
customerDeclareProfile: this.requestFunctionFactory(descriptors.aiHostingCustomerDeclareProfile),
|
|
15
17
|
/** Get a key of a customer. */
|
|
16
18
|
customerGetKey: this.requestFunctionFactory(descriptors.aiHostingCustomerGetKey),
|
|
17
19
|
/** Update a key for a customer. */
|
|
@@ -20,6 +22,12 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
20
22
|
customerDeleteKey: this.requestFunctionFactory(descriptors.aiHostingCustomerDeleteKey),
|
|
21
23
|
/** Get a list of currently active models. */
|
|
22
24
|
customerGetDetailedModels: this.requestFunctionFactory(descriptors.aiHostingCustomerGetDetailedModels),
|
|
25
|
+
/** Get ai hosting plan and usages of a customer by planId. */
|
|
26
|
+
customerGetPlan: this.requestFunctionFactory(descriptors.aiHostingCustomerGetPlan),
|
|
27
|
+
/** Renames an AI hosting plan. */
|
|
28
|
+
customerUpdatePlan: this.requestFunctionFactory(descriptors.aiHostingCustomerUpdatePlan),
|
|
29
|
+
/** Get all ai hosting plans of a customer. */
|
|
30
|
+
customerGetPlans: this.requestFunctionFactory(descriptors.aiHostingCustomerGetPlans),
|
|
23
31
|
/** Get ai hosting plan and usages of a customer. Deprecated: use /ai-hostings/{planId} instead. */
|
|
24
32
|
customerGetUsage: this.requestFunctionFactory(descriptors.aiHostingCustomerGetUsage),
|
|
25
33
|
/** Get a list of currently active models. */
|
|
@@ -40,14 +48,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
40
48
|
projectGetUsage: this.requestFunctionFactory(descriptors.aiHostingProjectGetUsage),
|
|
41
49
|
/** Links a container with a project licence. */
|
|
42
50
|
projectLinkContainer: this.requestFunctionFactory(descriptors.aiHostingProjectLinkContainer),
|
|
43
|
-
/** Get ai hosting
|
|
44
|
-
|
|
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),
|
|
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),
|
|
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),
|
|
560
568
|
/** Get a DNSZone. */
|
|
561
569
|
dnsGetDnsZone: this.requestFunctionFactory(descriptors.dnsGetDnsZone),
|
|
562
570
|
/** Delete a DNSZone. */
|
|
563
571
|
dnsDeleteDnsZone: this.requestFunctionFactory(descriptors.dnsDeleteDnsZone),
|
|
572
|
+
/** Get the status of a DNS zone-file import job. */
|
|
573
|
+
dnsGetDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsGetDnsZoneFileImport),
|
|
564
574
|
/** Get a zone file for a DNSZone. */
|
|
565
575
|
dnsGetZoneFile: this.requestFunctionFactory(descriptors.dnsGetZoneFile),
|
|
566
|
-
/**
|
|
567
|
-
|
|
568
|
-
/** Create a DNSZone for a domain in a Project. */
|
|
569
|
-
dnsCreateProjectDnsZone: this.requestFunctionFactory(descriptors.dnsCreateProjectDnsZone),
|
|
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. */
|
|
@@ -651,12 +659,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
651
659
|
sslListCertificates: this.requestFunctionFactory(descriptors.sslListCertificates),
|
|
652
660
|
/** Update the certificate of a CertificateRequest. */
|
|
653
661
|
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),
|
|
660
662
|
};
|
|
661
663
|
/** The mail API allows you to manage your mail accounts. */
|
|
662
664
|
mail = {
|
|
@@ -16,6 +16,12 @@ export const aiHostingCustomerCreateKey = {
|
|
|
16
16
|
method: "POST",
|
|
17
17
|
operationId: "ai-hosting-customer-create-key",
|
|
18
18
|
};
|
|
19
|
+
/** Creates an AI hosting profile and accepts the current model terms. */
|
|
20
|
+
export const aiHostingCustomerDeclareProfile = {
|
|
21
|
+
path: "/v2/customers/{customerId}/ai-hostings/profile",
|
|
22
|
+
method: "POST",
|
|
23
|
+
operationId: "ai-hosting-customer-declare-profile",
|
|
24
|
+
};
|
|
19
25
|
/** Get a key of a customer. */
|
|
20
26
|
export const aiHostingCustomerGetKey = {
|
|
21
27
|
path: "/v2/customers/{customerId}/ai-hosting-keys/{keyId}",
|
|
@@ -40,6 +46,24 @@ export const aiHostingCustomerGetDetailedModels = {
|
|
|
40
46
|
method: "GET",
|
|
41
47
|
operationId: "ai-hosting-customer-get-detailed-models",
|
|
42
48
|
};
|
|
49
|
+
/** Get ai hosting plan and usages of a customer by planId. */
|
|
50
|
+
export const aiHostingCustomerGetPlan = {
|
|
51
|
+
path: "/v2/customers/{customerId}/ai-hostings/{planId}",
|
|
52
|
+
method: "GET",
|
|
53
|
+
operationId: "ai-hosting-customer-get-plan",
|
|
54
|
+
};
|
|
55
|
+
/** Renames an AI hosting plan. */
|
|
56
|
+
export const aiHostingCustomerUpdatePlan = {
|
|
57
|
+
path: "/v2/customers/{customerId}/ai-hostings/{planId}",
|
|
58
|
+
method: "PUT",
|
|
59
|
+
operationId: "ai-hosting-customer-update-plan",
|
|
60
|
+
};
|
|
61
|
+
/** Get all ai hosting plans of a customer. */
|
|
62
|
+
export const aiHostingCustomerGetPlans = {
|
|
63
|
+
path: "/v2/customers/{customerId}/ai-hostings",
|
|
64
|
+
method: "GET",
|
|
65
|
+
operationId: "ai-hosting-customer-get-plans",
|
|
66
|
+
};
|
|
43
67
|
/** Get ai hosting plan and usages of a customer. Deprecated: use /ai-hostings/{planId} instead. */
|
|
44
68
|
export const aiHostingCustomerGetUsage = {
|
|
45
69
|
path: "/v2/customers/{customerId}/ai-hosting",
|
|
@@ -442,6 +466,12 @@ export const containerGetTemplate = {
|
|
|
442
466
|
method: "GET",
|
|
443
467
|
operationId: "container-get-template",
|
|
444
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
|
+
};
|
|
445
475
|
/** List Stacks belonging to the executing user. */
|
|
446
476
|
export const containerListSelfStacks = {
|
|
447
477
|
path: "/v2/stacks",
|
|
@@ -1204,6 +1234,24 @@ export const userUpdateAccount = {
|
|
|
1204
1234
|
method: "PUT",
|
|
1205
1235
|
operationId: "user-update-account",
|
|
1206
1236
|
};
|
|
1237
|
+
/** Start a server-side DNS zone-file import for a Project. */
|
|
1238
|
+
export const dnsCreateDnsZoneFileImport = {
|
|
1239
|
+
path: "/v2/projects/{projectId}/dns-zone-imports",
|
|
1240
|
+
method: "POST",
|
|
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",
|
|
1254
|
+
};
|
|
1207
1255
|
/** Get a DNSZone. */
|
|
1208
1256
|
export const dnsGetDnsZone = {
|
|
1209
1257
|
path: "/v2/dns-zones/{dnsZoneId}",
|
|
@@ -1216,23 +1264,23 @@ export const dnsDeleteDnsZone = {
|
|
|
1216
1264
|
method: "DELETE",
|
|
1217
1265
|
operationId: "dns-delete-dns-zone",
|
|
1218
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
|
+
};
|
|
1219
1273
|
/** Get a zone file for a DNSZone. */
|
|
1220
1274
|
export const dnsGetZoneFile = {
|
|
1221
1275
|
path: "/v2/dns-zones/{dnsZoneId}/zone-file",
|
|
1222
1276
|
method: "GET",
|
|
1223
1277
|
operationId: "dns-get-zone-file",
|
|
1224
1278
|
};
|
|
1225
|
-
/**
|
|
1226
|
-
export const
|
|
1227
|
-
path: "/v2/projects/{projectId}/dns-zones",
|
|
1228
|
-
method: "GET",
|
|
1229
|
-
operationId: "dns-list-dns-zones",
|
|
1230
|
-
};
|
|
1231
|
-
/** Create a DNSZone for a domain in a Project. */
|
|
1232
|
-
export const dnsCreateProjectDnsZone = {
|
|
1233
|
-
path: "/v2/projects/{projectId}/dns-zones",
|
|
1279
|
+
/** Preview a DNS zone-file import for a Project. */
|
|
1280
|
+
export const dnsPreviewProjectDnsZoneFileImport = {
|
|
1281
|
+
path: "/v2/projects/{projectId}/dns-zones/import-preview",
|
|
1234
1282
|
method: "POST",
|
|
1235
|
-
operationId: "dns-
|
|
1283
|
+
operationId: "dns-preview-project-dns-zone-file-import",
|
|
1236
1284
|
};
|
|
1237
1285
|
/** Set a record set on a DNSZone to managed. */
|
|
1238
1286
|
export const dnsSetRecordSetManaged = {
|
|
@@ -2842,51 +2890,9 @@ export const verificationVerifyCompany = {
|
|
|
2842
2890
|
method: "POST",
|
|
2843
2891
|
operationId: "verification-verify-company",
|
|
2844
2892
|
};
|
|
2845
|
-
/**
|
|
2846
|
-
export const
|
|
2847
|
-
path: "/v2/
|
|
2893
|
+
/** Get all ai hosting plans and usages of a project. */
|
|
2894
|
+
export const aiHostingProjectGetPlans = {
|
|
2895
|
+
path: "/v2/projects/{projectId}/ai-hostings",
|
|
2848
2896
|
method: "GET",
|
|
2849
|
-
operationId: "
|
|
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",
|
|
2897
|
+
operationId: "ai-hosting-project-get-plans",
|
|
2892
2898
|
};
|
|
@@ -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,8 @@ 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
|
|
24
|
-
|
|
25
|
-
/** Get all ai hosting plans of a customer. */
|
|
26
|
-
customerGetPlans: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetPlans, baseClient.aiHosting.customerGetPlans).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. */
|
|
@@ -322,8 +326,6 @@ const buildDomainApi = (baseClient) => ({
|
|
|
322
326
|
sslGetCertificate: new ApiCallAsyncResourceFactory(descriptors.sslGetCertificate, baseClient.domain.sslGetCertificate).getApiResource,
|
|
323
327
|
/** List Certificates belonging to a Project or an Ingress. */
|
|
324
328
|
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,
|
|
327
329
|
});
|
|
328
330
|
const buildFileApi = (baseClient) => ({
|
|
329
331
|
/** Get a File's meta. */
|
|
@@ -12,6 +12,8 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
12
12
|
customerGetKeys: this.requestFunctionFactory(descriptors.aiHostingCustomerGetKeys),
|
|
13
13
|
/** Creates a new key. */
|
|
14
14
|
customerCreateKey: this.requestFunctionFactory(descriptors.aiHostingCustomerCreateKey),
|
|
15
|
+
/** Creates an AI hosting profile and accepts the current model terms. */
|
|
16
|
+
customerDeclareProfile: this.requestFunctionFactory(descriptors.aiHostingCustomerDeclareProfile),
|
|
15
17
|
/** Get a key of a customer. */
|
|
16
18
|
customerGetKey: this.requestFunctionFactory(descriptors.aiHostingCustomerGetKey),
|
|
17
19
|
/** Update a key for a customer. */
|
|
@@ -20,6 +22,12 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
20
22
|
customerDeleteKey: this.requestFunctionFactory(descriptors.aiHostingCustomerDeleteKey),
|
|
21
23
|
/** Get a list of currently active models. */
|
|
22
24
|
customerGetDetailedModels: this.requestFunctionFactory(descriptors.aiHostingCustomerGetDetailedModels),
|
|
25
|
+
/** Get ai hosting plan and usages of a customer by planId. */
|
|
26
|
+
customerGetPlan: this.requestFunctionFactory(descriptors.aiHostingCustomerGetPlan),
|
|
27
|
+
/** Renames an AI hosting plan. */
|
|
28
|
+
customerUpdatePlan: this.requestFunctionFactory(descriptors.aiHostingCustomerUpdatePlan),
|
|
29
|
+
/** Get all ai hosting plans of a customer. */
|
|
30
|
+
customerGetPlans: this.requestFunctionFactory(descriptors.aiHostingCustomerGetPlans),
|
|
23
31
|
/** Get ai hosting plan and usages of a customer. Deprecated: use /ai-hostings/{planId} instead. */
|
|
24
32
|
customerGetUsage: this.requestFunctionFactory(descriptors.aiHostingCustomerGetUsage),
|
|
25
33
|
/** Get a list of currently active models. */
|
|
@@ -40,14 +48,8 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
40
48
|
projectGetUsage: this.requestFunctionFactory(descriptors.aiHostingProjectGetUsage),
|
|
41
49
|
/** Links a container with a project licence. */
|
|
42
50
|
projectLinkContainer: this.requestFunctionFactory(descriptors.aiHostingProjectLinkContainer),
|
|
43
|
-
/** Get ai hosting
|
|
44
|
-
|
|
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),
|
|
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),
|
|
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),
|
|
560
568
|
/** Get a DNSZone. */
|
|
561
569
|
dnsGetDnsZone: this.requestFunctionFactory(descriptors.dnsGetDnsZone),
|
|
562
570
|
/** Delete a DNSZone. */
|
|
563
571
|
dnsDeleteDnsZone: this.requestFunctionFactory(descriptors.dnsDeleteDnsZone),
|
|
572
|
+
/** Get the status of a DNS zone-file import job. */
|
|
573
|
+
dnsGetDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsGetDnsZoneFileImport),
|
|
564
574
|
/** Get a zone file for a DNSZone. */
|
|
565
575
|
dnsGetZoneFile: this.requestFunctionFactory(descriptors.dnsGetZoneFile),
|
|
566
|
-
/**
|
|
567
|
-
|
|
568
|
-
/** Create a DNSZone for a domain in a Project. */
|
|
569
|
-
dnsCreateProjectDnsZone: this.requestFunctionFactory(descriptors.dnsCreateProjectDnsZone),
|
|
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. */
|
|
@@ -651,12 +659,6 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
651
659
|
sslListCertificates: this.requestFunctionFactory(descriptors.sslListCertificates),
|
|
652
660
|
/** Update the certificate of a CertificateRequest. */
|
|
653
661
|
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),
|
|
660
662
|
};
|
|
661
663
|
/** The mail API allows you to manage your mail accounts. */
|
|
662
664
|
mail = {
|