@mittwald/api-client 0.0.0-development-d78fbd1-20260907 → 0.0.0-development-a0108d5-20260909
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/generated/v2/client-react.js +6 -10
- package/dist/esm/generated/v2/client.js +8 -14
- package/dist/esm/generated/v2/descriptors.js +22 -40
- package/dist/esm/generated/v3-next/client-react.js +6 -10
- package/dist/esm/generated/v3-next/client.js +8 -14
- package/dist/esm/generated/v3-next/descriptors.js +22 -40
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +64 -115
- package/dist/types/generated/v2/client.d.ts +215 -482
- package/dist/types/generated/v2/descriptors.d.ts +8 -14
- package/dist/types/generated/v2/types.d.ts +276 -531
- package/dist/types/generated/v3-next/client-react.d.ts +64 -114
- package/dist/types/generated/v3-next/client.d.ts +213 -478
- package/dist/types/generated/v3-next/descriptors.d.ts +8 -14
- package/dist/types/generated/v3-next/types.d.ts +276 -531
- package/dist/types/version.d.ts +1 -1
- package/package.json +6 -6
|
@@ -14,6 +14,10 @@ const buildAiHostingApi = (baseClient) => ({
|
|
|
14
14
|
customerGetPlan: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetPlan, baseClient.aiHosting.customerGetPlan).getApiResource,
|
|
15
15
|
/** Get a list of currently active models. */
|
|
16
16
|
getModels: new ApiCallAsyncResourceFactory(descriptors.aiHostingGetModels, baseClient.aiHosting.getModels).getApiResource,
|
|
17
|
+
/** List the contract months of an ai hosting plan. */
|
|
18
|
+
planGetBillingPeriods: new ApiCallAsyncResourceFactory(descriptors.aiHostingPlanGetBillingPeriods, baseClient.aiHosting.planGetBillingPeriods).getApiResource,
|
|
19
|
+
/** Get aggregated token usage statistics for an ai hosting plan of a customer. */
|
|
20
|
+
planGetUsageStats: new ApiCallAsyncResourceFactory(descriptors.aiHostingPlanGetUsageStats, baseClient.aiHosting.planGetUsageStats).getApiResource,
|
|
17
21
|
/** Get a list of keys of a project. */
|
|
18
22
|
projectGetKeys: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetKeys, baseClient.aiHosting.projectGetKeys).getApiResource,
|
|
19
23
|
/** Get a key of a project. */
|
|
@@ -24,10 +28,6 @@ const buildAiHostingApi = (baseClient) => ({
|
|
|
24
28
|
projectGetPlan: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetPlan, baseClient.aiHosting.projectGetPlan).getApiResource,
|
|
25
29
|
/** Get all ai hosting plans and usages of a project. */
|
|
26
30
|
projectGetPlans: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetPlans, baseClient.aiHosting.projectGetPlans).getApiResource,
|
|
27
|
-
/** List the contract months of an ai hosting plan. */
|
|
28
|
-
planGetBillingPeriods: new ApiCallAsyncResourceFactory(descriptors.aiHostingPlanGetBillingPeriods, baseClient.aiHosting.planGetBillingPeriods).getApiResource,
|
|
29
|
-
/** Get aggregated token usage statistics for an ai hosting plan of a customer. */
|
|
30
|
-
planGetUsageStats: new ApiCallAsyncResourceFactory(descriptors.aiHostingPlanGetUsageStats, baseClient.aiHosting.planGetUsageStats).getApiResource,
|
|
31
31
|
});
|
|
32
32
|
const buildAppApi = (baseClient) => ({
|
|
33
33
|
/** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
|
|
@@ -294,16 +294,12 @@ const buildDatabaseApi = (baseClient) => ({
|
|
|
294
294
|
const buildDomainApi = (baseClient) => ({
|
|
295
295
|
/** List Domains */
|
|
296
296
|
listDomains: new ApiCallAsyncResourceFactory(descriptors.domainListDomains, baseClient.domain.listDomains).getApiResource,
|
|
297
|
-
/** List DNS zone-file import jobs belonging to a Project. */
|
|
298
|
-
dnsListDnsZoneFileImports: new ApiCallAsyncResourceFactory(descriptors.dnsListDnsZoneFileImports, baseClient.domain.dnsListDnsZoneFileImports).getApiResource,
|
|
299
|
-
/** List DNSZones belonging to a Project. */
|
|
300
|
-
dnsListDnsZones: new ApiCallAsyncResourceFactory(descriptors.dnsListDnsZones, baseClient.domain.dnsListDnsZones).getApiResource,
|
|
301
297
|
/** Get a DNSZone. */
|
|
302
298
|
dnsGetDnsZone: new ApiCallAsyncResourceFactory(descriptors.dnsGetDnsZone, baseClient.domain.dnsGetDnsZone).getApiResource,
|
|
303
|
-
/** Get the status of a DNS zone-file import job. */
|
|
304
|
-
dnsGetDnsZoneFileImport: new ApiCallAsyncResourceFactory(descriptors.dnsGetDnsZoneFileImport, baseClient.domain.dnsGetDnsZoneFileImport).getApiResource,
|
|
305
299
|
/** Get a zone file for a DNSZone. */
|
|
306
300
|
dnsGetZoneFile: new ApiCallAsyncResourceFactory(descriptors.dnsGetZoneFile, baseClient.domain.dnsGetZoneFile).getApiResource,
|
|
301
|
+
/** List DNSZones belonging to a Project. */
|
|
302
|
+
dnsListDnsZones: new ApiCallAsyncResourceFactory(descriptors.dnsListDnsZones, baseClient.domain.dnsListDnsZones).getApiResource,
|
|
307
303
|
/** Get a Domain. */
|
|
308
304
|
getDomain: new ApiCallAsyncResourceFactory(descriptors.domainGetDomain, baseClient.domain.getDomain).getApiResource,
|
|
309
305
|
/** Get a Contact-Verification. */
|
|
@@ -30,6 +30,10 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
30
30
|
customerUpdatePlan: this.requestFunctionFactory(descriptors.aiHostingCustomerUpdatePlan),
|
|
31
31
|
/** Get a list of currently active models. */
|
|
32
32
|
getModels: this.requestFunctionFactory(descriptors.aiHostingGetModels),
|
|
33
|
+
/** List the contract months of an ai hosting plan. */
|
|
34
|
+
planGetBillingPeriods: this.requestFunctionFactory(descriptors.aiHostingPlanGetBillingPeriods),
|
|
35
|
+
/** Get aggregated token usage statistics for an ai hosting plan of a customer. */
|
|
36
|
+
planGetUsageStats: this.requestFunctionFactory(descriptors.aiHostingPlanGetUsageStats),
|
|
33
37
|
/** Get a list of keys of a project. */
|
|
34
38
|
projectGetKeys: this.requestFunctionFactory(descriptors.aiHostingProjectGetKeys),
|
|
35
39
|
/** Creates a new key for a project. */
|
|
@@ -48,10 +52,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
48
52
|
projectGetPlans: this.requestFunctionFactory(descriptors.aiHostingProjectGetPlans),
|
|
49
53
|
/** Links a container with a project licence. */
|
|
50
54
|
projectLinkContainer: this.requestFunctionFactory(descriptors.aiHostingProjectLinkContainer),
|
|
51
|
-
/** List the contract months of an ai hosting plan. */
|
|
52
|
-
planGetBillingPeriods: this.requestFunctionFactory(descriptors.aiHostingPlanGetBillingPeriods),
|
|
53
|
-
/** Get aggregated token usage statistics for an ai hosting plan of a customer. */
|
|
54
|
-
planGetUsageStats: this.requestFunctionFactory(descriptors.aiHostingPlanGetUsageStats),
|
|
55
55
|
};
|
|
56
56
|
/** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
|
|
57
57
|
app = {
|
|
@@ -573,22 +573,16 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
573
573
|
ingressUpdateIngressPaths: this.requestFunctionFactory(descriptors.ingressUpdateIngressPaths),
|
|
574
574
|
/** Update the tls settings of an Ingress. */
|
|
575
575
|
ingressUpdateIngressTls: this.requestFunctionFactory(descriptors.ingressUpdateIngressTls),
|
|
576
|
-
/**
|
|
577
|
-
|
|
578
|
-
/** Import a DNS zone file into a Project, or preview it with dry-run. */
|
|
579
|
-
dnsCreateDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsCreateDnsZoneFileImport),
|
|
580
|
-
/** List DNSZones belonging to a Project. */
|
|
581
|
-
dnsListDnsZones: this.requestFunctionFactory(descriptors.dnsListDnsZones),
|
|
582
|
-
/** Create a DNSZone for a domain in a Project. */
|
|
583
|
-
dnsCreateProjectDnsZone: this.requestFunctionFactory(descriptors.dnsCreateProjectDnsZone),
|
|
576
|
+
/** Create a DNSZone. */
|
|
577
|
+
dnsCreateDnsZone: this.requestFunctionFactory(descriptors.dnsCreateDnsZone),
|
|
584
578
|
/** Get a DNSZone. */
|
|
585
579
|
dnsGetDnsZone: this.requestFunctionFactory(descriptors.dnsGetDnsZone),
|
|
586
580
|
/** Delete a DNSZone. */
|
|
587
581
|
dnsDeleteDnsZone: this.requestFunctionFactory(descriptors.dnsDeleteDnsZone),
|
|
588
|
-
/** Get the status of a DNS zone-file import job. */
|
|
589
|
-
dnsGetDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsGetDnsZoneFileImport),
|
|
590
582
|
/** Get a zone file for a DNSZone. */
|
|
591
583
|
dnsGetZoneFile: this.requestFunctionFactory(descriptors.dnsGetZoneFile),
|
|
584
|
+
/** List DNSZones belonging to a Project. */
|
|
585
|
+
dnsListDnsZones: this.requestFunctionFactory(descriptors.dnsListDnsZones),
|
|
592
586
|
/** Set a record set on a DNSZone to managed. */
|
|
593
587
|
dnsSetRecordSetManaged: this.requestFunctionFactory(descriptors.dnsSetRecordSetManaged),
|
|
594
588
|
/** Update a record set on a DNSZone. */
|
|
@@ -70,6 +70,18 @@ export const aiHostingGetModels = {
|
|
|
70
70
|
method: "GET",
|
|
71
71
|
operationId: "ai-hosting-get-models",
|
|
72
72
|
};
|
|
73
|
+
/** List the contract months of an ai hosting plan. */
|
|
74
|
+
export const aiHostingPlanGetBillingPeriods = {
|
|
75
|
+
path: "/v2/customers/{customerId}/ai-hostings/{planId}/billing-periods",
|
|
76
|
+
method: "GET",
|
|
77
|
+
operationId: "ai-hosting-plan-get-billing-periods",
|
|
78
|
+
};
|
|
79
|
+
/** Get aggregated token usage statistics for an ai hosting plan of a customer. */
|
|
80
|
+
export const aiHostingPlanGetUsageStats = {
|
|
81
|
+
path: "/v2/customers/{customerId}/ai-hostings/{planId}/usage",
|
|
82
|
+
method: "GET",
|
|
83
|
+
operationId: "ai-hosting-plan-get-usage-stats",
|
|
84
|
+
};
|
|
73
85
|
/** Get a list of keys of a project. */
|
|
74
86
|
export const aiHostingProjectGetKeys = {
|
|
75
87
|
path: "/v2/projects/{projectId}/ai-hosting-keys",
|
|
@@ -1270,29 +1282,11 @@ export const userUpdateAccount = {
|
|
|
1270
1282
|
method: "PUT",
|
|
1271
1283
|
operationId: "user-update-account",
|
|
1272
1284
|
};
|
|
1273
|
-
/**
|
|
1274
|
-
export const
|
|
1275
|
-
path: "/v2/
|
|
1276
|
-
method: "GET",
|
|
1277
|
-
operationId: "dns-list-dns-zone-file-imports",
|
|
1278
|
-
};
|
|
1279
|
-
/** Import a DNS zone file into a Project, or preview it with dry-run. */
|
|
1280
|
-
export const dnsCreateDnsZoneFileImport = {
|
|
1281
|
-
path: "/v2/projects/{projectId}/dns-zone-imports",
|
|
1285
|
+
/** Create a DNSZone. */
|
|
1286
|
+
export const dnsCreateDnsZone = {
|
|
1287
|
+
path: "/v2/dns-zones",
|
|
1282
1288
|
method: "POST",
|
|
1283
|
-
operationId: "dns-create-dns-zone
|
|
1284
|
-
};
|
|
1285
|
-
/** List DNSZones belonging to a Project. */
|
|
1286
|
-
export const dnsListDnsZones = {
|
|
1287
|
-
path: "/v2/projects/{projectId}/dns-zones",
|
|
1288
|
-
method: "GET",
|
|
1289
|
-
operationId: "dns-list-dns-zones",
|
|
1290
|
-
};
|
|
1291
|
-
/** Create a DNSZone for a domain in a Project. */
|
|
1292
|
-
export const dnsCreateProjectDnsZone = {
|
|
1293
|
-
path: "/v2/projects/{projectId}/dns-zones",
|
|
1294
|
-
method: "POST",
|
|
1295
|
-
operationId: "dns-create-project-dns-zone",
|
|
1289
|
+
operationId: "dns-create-dns-zone",
|
|
1296
1290
|
};
|
|
1297
1291
|
/** Get a DNSZone. */
|
|
1298
1292
|
export const dnsGetDnsZone = {
|
|
@@ -1306,18 +1300,18 @@ export const dnsDeleteDnsZone = {
|
|
|
1306
1300
|
method: "DELETE",
|
|
1307
1301
|
operationId: "dns-delete-dns-zone",
|
|
1308
1302
|
};
|
|
1309
|
-
/** Get the status of a DNS zone-file import job. */
|
|
1310
|
-
export const dnsGetDnsZoneFileImport = {
|
|
1311
|
-
path: "/v2/dns-zone-imports/{zoneFileImportId}",
|
|
1312
|
-
method: "GET",
|
|
1313
|
-
operationId: "dns-get-dns-zone-file-import",
|
|
1314
|
-
};
|
|
1315
1303
|
/** Get a zone file for a DNSZone. */
|
|
1316
1304
|
export const dnsGetZoneFile = {
|
|
1317
1305
|
path: "/v2/dns-zones/{dnsZoneId}/zone-file",
|
|
1318
1306
|
method: "GET",
|
|
1319
1307
|
operationId: "dns-get-zone-file",
|
|
1320
1308
|
};
|
|
1309
|
+
/** List DNSZones belonging to a Project. */
|
|
1310
|
+
export const dnsListDnsZones = {
|
|
1311
|
+
path: "/v2/projects/{projectId}/dns-zones",
|
|
1312
|
+
method: "GET",
|
|
1313
|
+
operationId: "dns-list-dns-zones",
|
|
1314
|
+
};
|
|
1321
1315
|
/** Set a record set on a DNSZone to managed. */
|
|
1322
1316
|
export const dnsSetRecordSetManaged = {
|
|
1323
1317
|
path: "/v2/dns-zones/{dnsZoneId}/record-sets/{recordSet}/actions/set-managed",
|
|
@@ -2944,15 +2938,3 @@ export const verificationVerifyCompany = {
|
|
|
2944
2938
|
method: "POST",
|
|
2945
2939
|
operationId: "verification-verify-company",
|
|
2946
2940
|
};
|
|
2947
|
-
/** List the contract months of an ai hosting plan. */
|
|
2948
|
-
export const aiHostingPlanGetBillingPeriods = {
|
|
2949
|
-
path: "/v2/customers/{customerId}/ai-hostings/{planId}/billing-periods",
|
|
2950
|
-
method: "GET",
|
|
2951
|
-
operationId: "ai-hosting-plan-get-billing-periods",
|
|
2952
|
-
};
|
|
2953
|
-
/** Get aggregated token usage statistics for an ai hosting plan of a customer. */
|
|
2954
|
-
export const aiHostingPlanGetUsageStats = {
|
|
2955
|
-
path: "/v2/customers/{customerId}/ai-hostings/{planId}/usage",
|
|
2956
|
-
method: "GET",
|
|
2957
|
-
operationId: "ai-hosting-plan-get-usage-stats",
|
|
2958
|
-
};
|
|
@@ -14,6 +14,10 @@ const buildAiHostingApi = (baseClient) => ({
|
|
|
14
14
|
customerGetPlan: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetPlan, baseClient.aiHosting.customerGetPlan).getApiResource,
|
|
15
15
|
/** Get a list of currently active models. */
|
|
16
16
|
getModels: new ApiCallAsyncResourceFactory(descriptors.aiHostingGetModels, baseClient.aiHosting.getModels).getApiResource,
|
|
17
|
+
/** List the contract months of an ai hosting plan. */
|
|
18
|
+
planGetBillingPeriods: new ApiCallAsyncResourceFactory(descriptors.aiHostingPlanGetBillingPeriods, baseClient.aiHosting.planGetBillingPeriods).getApiResource,
|
|
19
|
+
/** Get aggregated token usage statistics for an ai hosting plan of a customer. */
|
|
20
|
+
planGetUsageStats: new ApiCallAsyncResourceFactory(descriptors.aiHostingPlanGetUsageStats, baseClient.aiHosting.planGetUsageStats).getApiResource,
|
|
17
21
|
/** Get a list of keys of a project. */
|
|
18
22
|
projectGetKeys: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetKeys, baseClient.aiHosting.projectGetKeys).getApiResource,
|
|
19
23
|
/** Get a key of a project. */
|
|
@@ -24,10 +28,6 @@ const buildAiHostingApi = (baseClient) => ({
|
|
|
24
28
|
projectGetPlan: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetPlan, baseClient.aiHosting.projectGetPlan).getApiResource,
|
|
25
29
|
/** Get all ai hosting plans and usages of a project. */
|
|
26
30
|
projectGetPlans: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetPlans, baseClient.aiHosting.projectGetPlans).getApiResource,
|
|
27
|
-
/** List the contract months of an ai hosting plan. */
|
|
28
|
-
planGetBillingPeriods: new ApiCallAsyncResourceFactory(descriptors.aiHostingPlanGetBillingPeriods, baseClient.aiHosting.planGetBillingPeriods).getApiResource,
|
|
29
|
-
/** Get aggregated token usage statistics for an ai hosting plan of a customer. */
|
|
30
|
-
planGetUsageStats: new ApiCallAsyncResourceFactory(descriptors.aiHostingPlanGetUsageStats, baseClient.aiHosting.planGetUsageStats).getApiResource,
|
|
31
31
|
});
|
|
32
32
|
const buildAppApi = (baseClient) => ({
|
|
33
33
|
/** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
|
|
@@ -294,16 +294,12 @@ const buildDatabaseApi = (baseClient) => ({
|
|
|
294
294
|
const buildDomainApi = (baseClient) => ({
|
|
295
295
|
/** List domains. */
|
|
296
296
|
serviceNextListDomains: new ApiCallAsyncResourceFactory(descriptors.domainServiceNextListDomains, baseClient.domain.serviceNextListDomains).getApiResource,
|
|
297
|
-
/** List DNS zone-file import jobs belonging to a Project. */
|
|
298
|
-
dnsListDnsZoneFileImports: new ApiCallAsyncResourceFactory(descriptors.dnsListDnsZoneFileImports, baseClient.domain.dnsListDnsZoneFileImports).getApiResource,
|
|
299
|
-
/** List DNSZones belonging to a Project. */
|
|
300
|
-
dnsListDnsZones: new ApiCallAsyncResourceFactory(descriptors.dnsListDnsZones, baseClient.domain.dnsListDnsZones).getApiResource,
|
|
301
297
|
/** Get a DNSZone. */
|
|
302
298
|
dnsGetDnsZone: new ApiCallAsyncResourceFactory(descriptors.dnsGetDnsZone, baseClient.domain.dnsGetDnsZone).getApiResource,
|
|
303
|
-
/** Get the status of a DNS zone-file import job. */
|
|
304
|
-
dnsGetDnsZoneFileImport: new ApiCallAsyncResourceFactory(descriptors.dnsGetDnsZoneFileImport, baseClient.domain.dnsGetDnsZoneFileImport).getApiResource,
|
|
305
299
|
/** Get a zone file for a DNSZone. */
|
|
306
300
|
dnsGetZoneFile: new ApiCallAsyncResourceFactory(descriptors.dnsGetZoneFile, baseClient.domain.dnsGetZoneFile).getApiResource,
|
|
301
|
+
/** List DNSZones belonging to a Project. */
|
|
302
|
+
dnsListDnsZones: new ApiCallAsyncResourceFactory(descriptors.dnsListDnsZones, baseClient.domain.dnsListDnsZones).getApiResource,
|
|
307
303
|
/** Get a domain. */
|
|
308
304
|
serviceNextGetDomain: new ApiCallAsyncResourceFactory(descriptors.domainServiceNextGetDomain, baseClient.domain.serviceNextGetDomain).getApiResource,
|
|
309
305
|
/** Get a Contact-Verification. */
|
|
@@ -30,6 +30,10 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
30
30
|
customerUpdatePlan: this.requestFunctionFactory(descriptors.aiHostingCustomerUpdatePlan),
|
|
31
31
|
/** Get a list of currently active models. */
|
|
32
32
|
getModels: this.requestFunctionFactory(descriptors.aiHostingGetModels),
|
|
33
|
+
/** List the contract months of an ai hosting plan. */
|
|
34
|
+
planGetBillingPeriods: this.requestFunctionFactory(descriptors.aiHostingPlanGetBillingPeriods),
|
|
35
|
+
/** Get aggregated token usage statistics for an ai hosting plan of a customer. */
|
|
36
|
+
planGetUsageStats: this.requestFunctionFactory(descriptors.aiHostingPlanGetUsageStats),
|
|
33
37
|
/** Get a list of keys of a project. */
|
|
34
38
|
projectGetKeys: this.requestFunctionFactory(descriptors.aiHostingProjectGetKeys),
|
|
35
39
|
/** Creates a new key for a project. */
|
|
@@ -48,10 +52,6 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
48
52
|
projectGetPlans: this.requestFunctionFactory(descriptors.aiHostingProjectGetPlans),
|
|
49
53
|
/** Links a container with a project licence. */
|
|
50
54
|
projectLinkContainer: this.requestFunctionFactory(descriptors.aiHostingProjectLinkContainer),
|
|
51
|
-
/** List the contract months of an ai hosting plan. */
|
|
52
|
-
planGetBillingPeriods: this.requestFunctionFactory(descriptors.aiHostingPlanGetBillingPeriods),
|
|
53
|
-
/** Get aggregated token usage statistics for an ai hosting plan of a customer. */
|
|
54
|
-
planGetUsageStats: this.requestFunctionFactory(descriptors.aiHostingPlanGetUsageStats),
|
|
55
55
|
};
|
|
56
56
|
/** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
|
|
57
57
|
app = {
|
|
@@ -573,22 +573,16 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
573
573
|
ingressUpdateIngressPaths: this.requestFunctionFactory(descriptors.ingressUpdateIngressPaths),
|
|
574
574
|
/** Update the tls settings of an Ingress. */
|
|
575
575
|
ingressUpdateIngressTls: this.requestFunctionFactory(descriptors.ingressUpdateIngressTls),
|
|
576
|
-
/**
|
|
577
|
-
|
|
578
|
-
/** Import a DNS zone file into a Project, or preview it with dry-run. */
|
|
579
|
-
dnsCreateDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsCreateDnsZoneFileImport),
|
|
580
|
-
/** List DNSZones belonging to a Project. */
|
|
581
|
-
dnsListDnsZones: this.requestFunctionFactory(descriptors.dnsListDnsZones),
|
|
582
|
-
/** Create a DNSZone for a domain in a Project. */
|
|
583
|
-
dnsCreateProjectDnsZone: this.requestFunctionFactory(descriptors.dnsCreateProjectDnsZone),
|
|
576
|
+
/** Create a DNSZone. */
|
|
577
|
+
dnsCreateDnsZone: this.requestFunctionFactory(descriptors.dnsCreateDnsZone),
|
|
584
578
|
/** Get a DNSZone. */
|
|
585
579
|
dnsGetDnsZone: this.requestFunctionFactory(descriptors.dnsGetDnsZone),
|
|
586
580
|
/** Delete a DNSZone. */
|
|
587
581
|
dnsDeleteDnsZone: this.requestFunctionFactory(descriptors.dnsDeleteDnsZone),
|
|
588
|
-
/** Get the status of a DNS zone-file import job. */
|
|
589
|
-
dnsGetDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsGetDnsZoneFileImport),
|
|
590
582
|
/** Get a zone file for a DNSZone. */
|
|
591
583
|
dnsGetZoneFile: this.requestFunctionFactory(descriptors.dnsGetZoneFile),
|
|
584
|
+
/** List DNSZones belonging to a Project. */
|
|
585
|
+
dnsListDnsZones: this.requestFunctionFactory(descriptors.dnsListDnsZones),
|
|
592
586
|
/** Set a record set on a DNSZone to managed. */
|
|
593
587
|
dnsSetRecordSetManaged: this.requestFunctionFactory(descriptors.dnsSetRecordSetManaged),
|
|
594
588
|
/** Update a record set on a DNSZone. */
|
|
@@ -70,6 +70,18 @@ export const aiHostingGetModels = {
|
|
|
70
70
|
method: "GET",
|
|
71
71
|
operationId: "ai-hosting-get-models",
|
|
72
72
|
};
|
|
73
|
+
/** List the contract months of an ai hosting plan. */
|
|
74
|
+
export const aiHostingPlanGetBillingPeriods = {
|
|
75
|
+
path: "/v3-next/customers/{customerId}/ai-hostings/{planId}/billing-periods",
|
|
76
|
+
method: "GET",
|
|
77
|
+
operationId: "ai-hosting-plan-get-billing-periods",
|
|
78
|
+
};
|
|
79
|
+
/** Get aggregated token usage statistics for an ai hosting plan of a customer. */
|
|
80
|
+
export const aiHostingPlanGetUsageStats = {
|
|
81
|
+
path: "/v3-next/customers/{customerId}/ai-hostings/{planId}/usage",
|
|
82
|
+
method: "GET",
|
|
83
|
+
operationId: "ai-hosting-plan-get-usage-stats",
|
|
84
|
+
};
|
|
73
85
|
/** Get a list of keys of a project. */
|
|
74
86
|
export const aiHostingProjectGetKeys = {
|
|
75
87
|
path: "/v3-next/projects/{projectId}/ai-hosting-keys",
|
|
@@ -1270,29 +1282,11 @@ export const userUpdateAccount = {
|
|
|
1270
1282
|
method: "PUT",
|
|
1271
1283
|
operationId: "user-update-account",
|
|
1272
1284
|
};
|
|
1273
|
-
/**
|
|
1274
|
-
export const
|
|
1275
|
-
path: "/v3-next/
|
|
1276
|
-
method: "GET",
|
|
1277
|
-
operationId: "dns-list-dns-zone-file-imports",
|
|
1278
|
-
};
|
|
1279
|
-
/** Import a DNS zone file into a Project, or preview it with dry-run. */
|
|
1280
|
-
export const dnsCreateDnsZoneFileImport = {
|
|
1281
|
-
path: "/v3-next/projects/{projectId}/dns-zone-imports",
|
|
1285
|
+
/** Create a DNSZone. */
|
|
1286
|
+
export const dnsCreateDnsZone = {
|
|
1287
|
+
path: "/v3-next/dns-zones",
|
|
1282
1288
|
method: "POST",
|
|
1283
|
-
operationId: "dns-create-dns-zone
|
|
1284
|
-
};
|
|
1285
|
-
/** List DNSZones belonging to a Project. */
|
|
1286
|
-
export const dnsListDnsZones = {
|
|
1287
|
-
path: "/v3-next/projects/{projectId}/dns-zones",
|
|
1288
|
-
method: "GET",
|
|
1289
|
-
operationId: "dns-list-dns-zones",
|
|
1290
|
-
};
|
|
1291
|
-
/** Create a DNSZone for a domain in a Project. */
|
|
1292
|
-
export const dnsCreateProjectDnsZone = {
|
|
1293
|
-
path: "/v3-next/projects/{projectId}/dns-zones",
|
|
1294
|
-
method: "POST",
|
|
1295
|
-
operationId: "dns-create-project-dns-zone",
|
|
1289
|
+
operationId: "dns-create-dns-zone",
|
|
1296
1290
|
};
|
|
1297
1291
|
/** Get a DNSZone. */
|
|
1298
1292
|
export const dnsGetDnsZone = {
|
|
@@ -1306,18 +1300,18 @@ export const dnsDeleteDnsZone = {
|
|
|
1306
1300
|
method: "DELETE",
|
|
1307
1301
|
operationId: "dns-delete-dns-zone",
|
|
1308
1302
|
};
|
|
1309
|
-
/** Get the status of a DNS zone-file import job. */
|
|
1310
|
-
export const dnsGetDnsZoneFileImport = {
|
|
1311
|
-
path: "/v3-next/dns-zone-imports/{zoneFileImportId}",
|
|
1312
|
-
method: "GET",
|
|
1313
|
-
operationId: "dns-get-dns-zone-file-import",
|
|
1314
|
-
};
|
|
1315
1303
|
/** Get a zone file for a DNSZone. */
|
|
1316
1304
|
export const dnsGetZoneFile = {
|
|
1317
1305
|
path: "/v3-next/dns-zones/{dnsZoneId}/zone-file",
|
|
1318
1306
|
method: "GET",
|
|
1319
1307
|
operationId: "dns-get-zone-file",
|
|
1320
1308
|
};
|
|
1309
|
+
/** List DNSZones belonging to a Project. */
|
|
1310
|
+
export const dnsListDnsZones = {
|
|
1311
|
+
path: "/v3-next/projects/{projectId}/dns-zones",
|
|
1312
|
+
method: "GET",
|
|
1313
|
+
operationId: "dns-list-dns-zones",
|
|
1314
|
+
};
|
|
1321
1315
|
/** Set a record set on a DNSZone to managed. */
|
|
1322
1316
|
export const dnsSetRecordSetManaged = {
|
|
1323
1317
|
path: "/v3-next/dns-zones/{dnsZoneId}/record-sets/{recordSet}/actions/set-managed",
|
|
@@ -2944,15 +2938,3 @@ export const verificationVerifyCompany = {
|
|
|
2944
2938
|
method: "POST",
|
|
2945
2939
|
operationId: "verification-verify-company",
|
|
2946
2940
|
};
|
|
2947
|
-
/** List the contract months of an ai hosting plan. */
|
|
2948
|
-
export const aiHostingPlanGetBillingPeriods = {
|
|
2949
|
-
path: "/v3-next/customers/{customerId}/ai-hostings/{planId}/billing-periods",
|
|
2950
|
-
method: "GET",
|
|
2951
|
-
operationId: "ai-hosting-plan-get-billing-periods",
|
|
2952
|
-
};
|
|
2953
|
-
/** Get aggregated token usage statistics for an ai hosting plan of a customer. */
|
|
2954
|
-
export const aiHostingPlanGetUsageStats = {
|
|
2955
|
-
path: "/v3-next/customers/{customerId}/ai-hostings/{planId}/usage",
|
|
2956
|
-
method: "GET",
|
|
2957
|
-
operationId: "ai-hosting-plan-get-usage-stats",
|
|
2958
|
-
};
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export const MittwaldAPIClientVersion = '4.460.0';
|
|
@@ -94,6 +94,62 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
94
94
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
95
95
|
} | undefined;
|
|
96
96
|
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingModel[]>;
|
|
97
|
+
/** List the contract months of an ai hosting plan. */
|
|
98
|
+
planGetBillingPeriods: (conf: {
|
|
99
|
+
customerId: string;
|
|
100
|
+
planId: string;
|
|
101
|
+
headers?: {
|
|
102
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
103
|
+
} | undefined;
|
|
104
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
105
|
+
customerId: string;
|
|
106
|
+
nextTokenReset?: string | undefined;
|
|
107
|
+
periods: {
|
|
108
|
+
end: string;
|
|
109
|
+
isCurrent: boolean;
|
|
110
|
+
shortenedByUpgrade: boolean;
|
|
111
|
+
start: string;
|
|
112
|
+
tokenLimit: number;
|
|
113
|
+
}[];
|
|
114
|
+
planId: string;
|
|
115
|
+
}>;
|
|
116
|
+
/** Get aggregated token usage statistics for an ai hosting plan of a customer. */
|
|
117
|
+
planGetUsageStats: (conf: {
|
|
118
|
+
queryParameters: {
|
|
119
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
120
|
+
startDate: string;
|
|
121
|
+
endDate: string;
|
|
122
|
+
keyId?: string | undefined;
|
|
123
|
+
};
|
|
124
|
+
customerId: string;
|
|
125
|
+
planId: string;
|
|
126
|
+
headers?: {
|
|
127
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
128
|
+
} | undefined;
|
|
129
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
130
|
+
customerId: string;
|
|
131
|
+
daily: {
|
|
132
|
+
byKey: {
|
|
133
|
+
[k: string]: number;
|
|
134
|
+
};
|
|
135
|
+
date: string;
|
|
136
|
+
totalTokens: number;
|
|
137
|
+
}[];
|
|
138
|
+
keys: {
|
|
139
|
+
id: string;
|
|
140
|
+
name: string;
|
|
141
|
+
}[];
|
|
142
|
+
modelShare: {
|
|
143
|
+
model: string;
|
|
144
|
+
tokens: number;
|
|
145
|
+
}[];
|
|
146
|
+
planId: string;
|
|
147
|
+
timeframe: {
|
|
148
|
+
end: string;
|
|
149
|
+
start: string;
|
|
150
|
+
};
|
|
151
|
+
totalTokens: number;
|
|
152
|
+
}>;
|
|
97
153
|
/** Get a list of keys of a project. */
|
|
98
154
|
projectGetKeys: (conf: {
|
|
99
155
|
projectId: string;
|
|
@@ -167,74 +223,6 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
167
223
|
modelTermsApprovalRequired: boolean;
|
|
168
224
|
plans: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingProjectPlan[];
|
|
169
225
|
}>;
|
|
170
|
-
/** List the contract months of an ai hosting plan. */
|
|
171
|
-
planGetBillingPeriods: (conf: {
|
|
172
|
-
customerId: string;
|
|
173
|
-
planId: string;
|
|
174
|
-
headers?: {
|
|
175
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
176
|
-
} | undefined;
|
|
177
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
178
|
-
customerId: string;
|
|
179
|
-
nextTokenReset?: string | undefined;
|
|
180
|
-
periods: {
|
|
181
|
-
end: string;
|
|
182
|
-
isCurrent: boolean;
|
|
183
|
-
shortenedByUpgrade: boolean;
|
|
184
|
-
start: string;
|
|
185
|
-
tokenLimit: number;
|
|
186
|
-
}[];
|
|
187
|
-
planId: string;
|
|
188
|
-
}>;
|
|
189
|
-
/** Get aggregated token usage statistics for an ai hosting plan of a customer. */
|
|
190
|
-
planGetUsageStats: (conf: {
|
|
191
|
-
queryParameters: {
|
|
192
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
193
|
-
startDate: string;
|
|
194
|
-
endDate: string;
|
|
195
|
-
detailed?: boolean | undefined;
|
|
196
|
-
};
|
|
197
|
-
customerId: string;
|
|
198
|
-
planId: string;
|
|
199
|
-
headers?: {
|
|
200
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
201
|
-
} | undefined;
|
|
202
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
203
|
-
customerId: string;
|
|
204
|
-
daily: {
|
|
205
|
-
byKey: {
|
|
206
|
-
[k: string]: number;
|
|
207
|
-
};
|
|
208
|
-
date: string;
|
|
209
|
-
totalTokens: number;
|
|
210
|
-
}[];
|
|
211
|
-
detailed?: {
|
|
212
|
-
[k: string]: {
|
|
213
|
-
byKey?: {
|
|
214
|
-
[k: string]: {
|
|
215
|
-
byModel?: {
|
|
216
|
-
[k: string]: number;
|
|
217
|
-
};
|
|
218
|
-
tokens?: number;
|
|
219
|
-
};
|
|
220
|
-
};
|
|
221
|
-
};
|
|
222
|
-
} | undefined;
|
|
223
|
-
keys: {
|
|
224
|
-
id: string;
|
|
225
|
-
name: string;
|
|
226
|
-
}[];
|
|
227
|
-
modelShare: {
|
|
228
|
-
model: string;
|
|
229
|
-
tokens: number;
|
|
230
|
-
}[];
|
|
231
|
-
planId: string;
|
|
232
|
-
timeframe: {
|
|
233
|
-
end: string;
|
|
234
|
-
start: string;
|
|
235
|
-
};
|
|
236
|
-
totalTokens: number;
|
|
237
|
-
}>;
|
|
238
226
|
};
|
|
239
227
|
declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
|
|
240
228
|
/** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
|
|
@@ -2163,7 +2151,7 @@ declare const buildCustomerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2163
2151
|
owner?: import("./types.js").MittwaldAPIV2.Components.Schemas.CustomerContact | undefined;
|
|
2164
2152
|
projectCount: number;
|
|
2165
2153
|
vatId?: string | undefined;
|
|
2166
|
-
vatIdValidationState?: "valid" | "invalid" | "pending" | "unspecified" | undefined;
|
|
2154
|
+
vatIdValidationState?: "valid" | "invalid" | "pending" | "unsupported" | "unspecified" | undefined;
|
|
2167
2155
|
}>;
|
|
2168
2156
|
/** Get a CustomerInvite by token. */
|
|
2169
2157
|
getCustomerTokenInvite: (conf: {
|
|
@@ -2398,30 +2386,6 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2398
2386
|
page?: number | undefined;
|
|
2399
2387
|
} | undefined;
|
|
2400
2388
|
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.DomainDomain[]>;
|
|
2401
|
-
/** List DNS zone-file import jobs belonging to a Project. */
|
|
2402
|
-
dnsListDnsZoneFileImports: (conf: {
|
|
2403
|
-
projectId: string;
|
|
2404
|
-
headers?: {
|
|
2405
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2406
|
-
"x-access-token"?: string | undefined;
|
|
2407
|
-
} | undefined;
|
|
2408
|
-
queryParameters?: {
|
|
2409
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2410
|
-
limit?: number | undefined;
|
|
2411
|
-
skip?: number | undefined;
|
|
2412
|
-
page?: number | undefined;
|
|
2413
|
-
sort?: "createdAt" | undefined;
|
|
2414
|
-
order?: "asc" | "desc" | undefined;
|
|
2415
|
-
} | undefined;
|
|
2416
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.DnsZoneFileImport[]>;
|
|
2417
|
-
/** List DNSZones belonging to a Project. */
|
|
2418
|
-
dnsListDnsZones: (conf: {
|
|
2419
|
-
projectId: string;
|
|
2420
|
-
headers?: {
|
|
2421
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2422
|
-
"x-access-token"?: string | undefined;
|
|
2423
|
-
} | undefined;
|
|
2424
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.DnsZone[]>;
|
|
2425
2389
|
/** Get a DNSZone. */
|
|
2426
2390
|
dnsGetDnsZone: (conf: {
|
|
2427
2391
|
dnsZoneId: string;
|
|
@@ -2441,36 +2405,22 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2441
2405
|
txt: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordTXT;
|
|
2442
2406
|
};
|
|
2443
2407
|
}>;
|
|
2444
|
-
/** Get
|
|
2445
|
-
|
|
2446
|
-
|
|
2408
|
+
/** Get a zone file for a DNSZone. */
|
|
2409
|
+
dnsGetZoneFile: (conf: {
|
|
2410
|
+
dnsZoneId: string;
|
|
2447
2411
|
headers?: {
|
|
2448
2412
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2449
2413
|
"x-access-token"?: string | undefined;
|
|
2450
2414
|
} | undefined;
|
|
2451
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<
|
|
2452
|
-
|
|
2453
|
-
|
|
2454
|
-
error: string;
|
|
2455
|
-
name: string;
|
|
2456
|
-
}[];
|
|
2457
|
-
id: string;
|
|
2458
|
-
importedZones: string[];
|
|
2415
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<string>;
|
|
2416
|
+
/** List DNSZones belonging to a Project. */
|
|
2417
|
+
dnsListDnsZones: (conf: {
|
|
2459
2418
|
projectId: string;
|
|
2460
|
-
skippedZones: {
|
|
2461
|
-
name: string;
|
|
2462
|
-
reason: string;
|
|
2463
|
-
}[];
|
|
2464
|
-
status: "running" | "succeeded" | "failed" | "completedWithErrors";
|
|
2465
|
-
}>;
|
|
2466
|
-
/** Get a zone file for a DNSZone. */
|
|
2467
|
-
dnsGetZoneFile: (conf: {
|
|
2468
|
-
dnsZoneId: string;
|
|
2469
2419
|
headers?: {
|
|
2470
2420
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2471
2421
|
"x-access-token"?: string | undefined;
|
|
2472
2422
|
} | undefined;
|
|
2473
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<
|
|
2423
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.DnsZone[]>;
|
|
2474
2424
|
/** Get a Domain. */
|
|
2475
2425
|
getDomain: (conf: {
|
|
2476
2426
|
domainId: string;
|
|
@@ -2481,7 +2431,6 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2481
2431
|
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
2482
2432
|
authCode?: import("./types.js").MittwaldAPIV2.Components.Schemas.DomainAuthCode | undefined;
|
|
2483
2433
|
authCode2?: import("./types.js").MittwaldAPIV2.Components.Schemas.DomainAuthCode2 | undefined;
|
|
2484
|
-
authInfo2CreatedAt?: string | undefined;
|
|
2485
2434
|
connected: boolean;
|
|
2486
2435
|
contactHash?: string | undefined;
|
|
2487
2436
|
deleted: boolean;
|