@mittwald/api-client 0.0.0-development-0cc8aa7-20260904 → 0.0.0-development-2348cf1-20260908
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 -6
- package/dist/esm/generated/v2/client.js +14 -10
- package/dist/esm/generated/v2/descriptors.js +40 -28
- package/dist/esm/generated/v3-next/client-react.js +8 -6
- package/dist/esm/generated/v3-next/client.js +14 -10
- package/dist/esm/generated/v3-next/descriptors.js +40 -28
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +89 -46
- package/dist/types/generated/v2/client.d.ts +383 -262
- package/dist/types/generated/v2/descriptors.d.ts +14 -10
- package/dist/types/generated/v2/types.d.ts +331 -265
- package/dist/types/generated/v3-next/client-react.d.ts +89 -46
- package/dist/types/generated/v3-next/client.d.ts +383 -262
- package/dist/types/generated/v3-next/descriptors.d.ts +14 -10
- package/dist/types/generated/v3-next/types.d.ts +331 -265
- 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. */
|
|
@@ -290,16 +294,12 @@ const buildDatabaseApi = (baseClient) => ({
|
|
|
290
294
|
const buildDomainApi = (baseClient) => ({
|
|
291
295
|
/** List Domains */
|
|
292
296
|
listDomains: new ApiCallAsyncResourceFactory(descriptors.domainListDomains, baseClient.domain.listDomains).getApiResource,
|
|
293
|
-
/** List DNS zone-file import jobs belonging to a Project. */
|
|
294
|
-
dnsListDnsZoneFileImports: new ApiCallAsyncResourceFactory(descriptors.dnsListDnsZoneFileImports, baseClient.domain.dnsListDnsZoneFileImports).getApiResource,
|
|
295
|
-
/** List DNSZones belonging to a Project. */
|
|
296
|
-
dnsListDnsZones: new ApiCallAsyncResourceFactory(descriptors.dnsListDnsZones, baseClient.domain.dnsListDnsZones).getApiResource,
|
|
297
297
|
/** Get a DNSZone. */
|
|
298
298
|
dnsGetDnsZone: new ApiCallAsyncResourceFactory(descriptors.dnsGetDnsZone, baseClient.domain.dnsGetDnsZone).getApiResource,
|
|
299
|
-
/** Get the status of a DNS zone-file import job. */
|
|
300
|
-
dnsGetDnsZoneFileImport: new ApiCallAsyncResourceFactory(descriptors.dnsGetDnsZoneFileImport, baseClient.domain.dnsGetDnsZoneFileImport).getApiResource,
|
|
301
299
|
/** Get a zone file for a DNSZone. */
|
|
302
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,
|
|
303
303
|
/** Get a Domain. */
|
|
304
304
|
getDomain: new ApiCallAsyncResourceFactory(descriptors.domainGetDomain, baseClient.domain.getDomain).getApiResource,
|
|
305
305
|
/** Get a Contact-Verification. */
|
|
@@ -438,6 +438,8 @@ const buildUserApi = (baseClient) => ({
|
|
|
438
438
|
getPollStatus: new ApiCallAsyncResourceFactory(descriptors.userGetPollStatus, baseClient.user.getPollStatus).getApiResource,
|
|
439
439
|
/** Get a specific session. */
|
|
440
440
|
getSession: new ApiCallAsyncResourceFactory(descriptors.userGetSession, baseClient.user.getSession).getApiResource,
|
|
441
|
+
/** Submitted feedback of the given user. */
|
|
442
|
+
getSpotlightInfo: new ApiCallAsyncResourceFactory(descriptors.userGetSpotlightInfo, baseClient.user.getSpotlightInfo).getApiResource,
|
|
441
443
|
/** Get profile information for a user. */
|
|
442
444
|
getUser: new ApiCallAsyncResourceFactory(descriptors.userGetUser, baseClient.user.getUser).getApiResource,
|
|
443
445
|
/** Submitted feedback of the given user. */
|
|
@@ -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. */
|
|
@@ -569,22 +573,16 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
569
573
|
ingressUpdateIngressPaths: this.requestFunctionFactory(descriptors.ingressUpdateIngressPaths),
|
|
570
574
|
/** Update the tls settings of an Ingress. */
|
|
571
575
|
ingressUpdateIngressTls: this.requestFunctionFactory(descriptors.ingressUpdateIngressTls),
|
|
572
|
-
/**
|
|
573
|
-
|
|
574
|
-
/** Import a DNS zone file into a Project, or preview it with dry-run. */
|
|
575
|
-
dnsCreateDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsCreateDnsZoneFileImport),
|
|
576
|
-
/** List DNSZones belonging to a Project. */
|
|
577
|
-
dnsListDnsZones: this.requestFunctionFactory(descriptors.dnsListDnsZones),
|
|
578
|
-
/** Create a DNSZone for a domain in a Project. */
|
|
579
|
-
dnsCreateProjectDnsZone: this.requestFunctionFactory(descriptors.dnsCreateProjectDnsZone),
|
|
576
|
+
/** Create a DNSZone. */
|
|
577
|
+
dnsCreateDnsZone: this.requestFunctionFactory(descriptors.dnsCreateDnsZone),
|
|
580
578
|
/** Get a DNSZone. */
|
|
581
579
|
dnsGetDnsZone: this.requestFunctionFactory(descriptors.dnsGetDnsZone),
|
|
582
580
|
/** Delete a DNSZone. */
|
|
583
581
|
dnsDeleteDnsZone: this.requestFunctionFactory(descriptors.dnsDeleteDnsZone),
|
|
584
|
-
/** Get the status of a DNS zone-file import job. */
|
|
585
|
-
dnsGetDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsGetDnsZoneFileImport),
|
|
586
582
|
/** Get a zone file for a DNSZone. */
|
|
587
583
|
dnsGetZoneFile: this.requestFunctionFactory(descriptors.dnsGetZoneFile),
|
|
584
|
+
/** List DNSZones belonging to a Project. */
|
|
585
|
+
dnsListDnsZones: this.requestFunctionFactory(descriptors.dnsListDnsZones),
|
|
588
586
|
/** Set a record set on a DNSZone to managed. */
|
|
589
587
|
dnsSetRecordSetManaged: this.requestFunctionFactory(descriptors.dnsSetRecordSetManaged),
|
|
590
588
|
/** Update a record set on a DNSZone. */
|
|
@@ -822,6 +820,10 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
822
820
|
getSession: this.requestFunctionFactory(descriptors.userGetSession),
|
|
823
821
|
/** Terminate a specific Session. */
|
|
824
822
|
terminateSession: this.requestFunctionFactory(descriptors.userTerminateSession),
|
|
823
|
+
/** Submitted feedback of the given user. */
|
|
824
|
+
getSpotlightInfo: this.requestFunctionFactory(descriptors.userGetSpotlightInfo),
|
|
825
|
+
/** Submit your usage of the spotlight. */
|
|
826
|
+
spotlightUsage: this.requestFunctionFactory(descriptors.userSpotlightUsage),
|
|
825
827
|
/** Get profile information for a user. */
|
|
826
828
|
getUser: this.requestFunctionFactory(descriptors.userGetUser),
|
|
827
829
|
/** Change personal information. */
|
|
@@ -852,6 +854,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
852
854
|
removeAvatar: this.requestFunctionFactory(descriptors.userRemoveAvatar),
|
|
853
855
|
/** Resend the Email-Address verification email. */
|
|
854
856
|
resendVerificationEmail: this.requestFunctionFactory(descriptors.userResendVerificationEmail),
|
|
857
|
+
/** Submit your spotlight usage. */
|
|
858
|
+
spotlightFeedback: this.requestFunctionFactory(descriptors.userSpotlightFeedback),
|
|
855
859
|
/** Request a support code. */
|
|
856
860
|
supportCodeRequest: this.requestFunctionFactory(descriptors.userSupportCodeRequest),
|
|
857
861
|
/** Verify an added Email-Address. */
|
|
@@ -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",
|
|
1282
|
-
method: "POST",
|
|
1283
|
-
operationId: "dns-create-dns-zone-file-import",
|
|
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",
|
|
1285
|
+
/** Create a DNSZone. */
|
|
1286
|
+
export const dnsCreateDnsZone = {
|
|
1287
|
+
path: "/v2/dns-zones",
|
|
1294
1288
|
method: "POST",
|
|
1295
|
-
operationId: "dns-create-
|
|
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",
|
|
@@ -2794,6 +2788,18 @@ export const userTerminateSession = {
|
|
|
2794
2788
|
method: "DELETE",
|
|
2795
2789
|
operationId: "user-terminate-session",
|
|
2796
2790
|
};
|
|
2791
|
+
/** Submitted feedback of the given user. */
|
|
2792
|
+
export const userGetSpotlightInfo = {
|
|
2793
|
+
path: "/v2/users/self/spotlights/{spotlightId}",
|
|
2794
|
+
method: "GET",
|
|
2795
|
+
operationId: "user-get-spotlight-info",
|
|
2796
|
+
};
|
|
2797
|
+
/** Submit your usage of the spotlight. */
|
|
2798
|
+
export const userSpotlightUsage = {
|
|
2799
|
+
path: "/v2/users/self/spotlights/{spotlightId}",
|
|
2800
|
+
method: "POST",
|
|
2801
|
+
operationId: "user-spotlight-usage",
|
|
2802
|
+
};
|
|
2797
2803
|
/** Get profile information for a user. */
|
|
2798
2804
|
export const userGetUser = {
|
|
2799
2805
|
path: "/v2/users/{userId}",
|
|
@@ -2884,6 +2890,12 @@ export const userResendVerificationEmail = {
|
|
|
2884
2890
|
method: "POST",
|
|
2885
2891
|
operationId: "user-resend-verification-email",
|
|
2886
2892
|
};
|
|
2893
|
+
/** Submit your spotlight usage. */
|
|
2894
|
+
export const userSpotlightFeedback = {
|
|
2895
|
+
path: "/v2/users/self/spotlights/{spotlightId}/feedback",
|
|
2896
|
+
method: "POST",
|
|
2897
|
+
operationId: "user-spotlight-feedback",
|
|
2898
|
+
};
|
|
2887
2899
|
/** Request a support code. */
|
|
2888
2900
|
export const userSupportCodeRequest = {
|
|
2889
2901
|
path: "/v2/users/self/credentials/support-code",
|
|
@@ -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. */
|
|
@@ -290,16 +294,12 @@ const buildDatabaseApi = (baseClient) => ({
|
|
|
290
294
|
const buildDomainApi = (baseClient) => ({
|
|
291
295
|
/** List domains. */
|
|
292
296
|
serviceNextListDomains: new ApiCallAsyncResourceFactory(descriptors.domainServiceNextListDomains, baseClient.domain.serviceNextListDomains).getApiResource,
|
|
293
|
-
/** List DNS zone-file import jobs belonging to a Project. */
|
|
294
|
-
dnsListDnsZoneFileImports: new ApiCallAsyncResourceFactory(descriptors.dnsListDnsZoneFileImports, baseClient.domain.dnsListDnsZoneFileImports).getApiResource,
|
|
295
|
-
/** List DNSZones belonging to a Project. */
|
|
296
|
-
dnsListDnsZones: new ApiCallAsyncResourceFactory(descriptors.dnsListDnsZones, baseClient.domain.dnsListDnsZones).getApiResource,
|
|
297
297
|
/** Get a DNSZone. */
|
|
298
298
|
dnsGetDnsZone: new ApiCallAsyncResourceFactory(descriptors.dnsGetDnsZone, baseClient.domain.dnsGetDnsZone).getApiResource,
|
|
299
|
-
/** Get the status of a DNS zone-file import job. */
|
|
300
|
-
dnsGetDnsZoneFileImport: new ApiCallAsyncResourceFactory(descriptors.dnsGetDnsZoneFileImport, baseClient.domain.dnsGetDnsZoneFileImport).getApiResource,
|
|
301
299
|
/** Get a zone file for a DNSZone. */
|
|
302
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,
|
|
303
303
|
/** Get a domain. */
|
|
304
304
|
serviceNextGetDomain: new ApiCallAsyncResourceFactory(descriptors.domainServiceNextGetDomain, baseClient.domain.serviceNextGetDomain).getApiResource,
|
|
305
305
|
/** Get a Contact-Verification. */
|
|
@@ -438,6 +438,8 @@ const buildUserApi = (baseClient) => ({
|
|
|
438
438
|
getPollStatus: new ApiCallAsyncResourceFactory(descriptors.userGetPollStatus, baseClient.user.getPollStatus).getApiResource,
|
|
439
439
|
/** Get a specific session. */
|
|
440
440
|
getSession: new ApiCallAsyncResourceFactory(descriptors.userGetSession, baseClient.user.getSession).getApiResource,
|
|
441
|
+
/** Submitted feedback of the given user. */
|
|
442
|
+
getSpotlightInfo: new ApiCallAsyncResourceFactory(descriptors.userGetSpotlightInfo, baseClient.user.getSpotlightInfo).getApiResource,
|
|
441
443
|
/** Get profile information for a user. */
|
|
442
444
|
getUser: new ApiCallAsyncResourceFactory(descriptors.userGetUser, baseClient.user.getUser).getApiResource,
|
|
443
445
|
/** Submitted feedback of the given user. */
|
|
@@ -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. */
|
|
@@ -569,22 +573,16 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
569
573
|
ingressUpdateIngressPaths: this.requestFunctionFactory(descriptors.ingressUpdateIngressPaths),
|
|
570
574
|
/** Update the tls settings of an Ingress. */
|
|
571
575
|
ingressUpdateIngressTls: this.requestFunctionFactory(descriptors.ingressUpdateIngressTls),
|
|
572
|
-
/**
|
|
573
|
-
|
|
574
|
-
/** Import a DNS zone file into a Project, or preview it with dry-run. */
|
|
575
|
-
dnsCreateDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsCreateDnsZoneFileImport),
|
|
576
|
-
/** List DNSZones belonging to a Project. */
|
|
577
|
-
dnsListDnsZones: this.requestFunctionFactory(descriptors.dnsListDnsZones),
|
|
578
|
-
/** Create a DNSZone for a domain in a Project. */
|
|
579
|
-
dnsCreateProjectDnsZone: this.requestFunctionFactory(descriptors.dnsCreateProjectDnsZone),
|
|
576
|
+
/** Create a DNSZone. */
|
|
577
|
+
dnsCreateDnsZone: this.requestFunctionFactory(descriptors.dnsCreateDnsZone),
|
|
580
578
|
/** Get a DNSZone. */
|
|
581
579
|
dnsGetDnsZone: this.requestFunctionFactory(descriptors.dnsGetDnsZone),
|
|
582
580
|
/** Delete a DNSZone. */
|
|
583
581
|
dnsDeleteDnsZone: this.requestFunctionFactory(descriptors.dnsDeleteDnsZone),
|
|
584
|
-
/** Get the status of a DNS zone-file import job. */
|
|
585
|
-
dnsGetDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsGetDnsZoneFileImport),
|
|
586
582
|
/** Get a zone file for a DNSZone. */
|
|
587
583
|
dnsGetZoneFile: this.requestFunctionFactory(descriptors.dnsGetZoneFile),
|
|
584
|
+
/** List DNSZones belonging to a Project. */
|
|
585
|
+
dnsListDnsZones: this.requestFunctionFactory(descriptors.dnsListDnsZones),
|
|
588
586
|
/** Set a record set on a DNSZone to managed. */
|
|
589
587
|
dnsSetRecordSetManaged: this.requestFunctionFactory(descriptors.dnsSetRecordSetManaged),
|
|
590
588
|
/** Update a record set on a DNSZone. */
|
|
@@ -822,6 +820,10 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
822
820
|
getSession: this.requestFunctionFactory(descriptors.userGetSession),
|
|
823
821
|
/** Terminate a specific Session. */
|
|
824
822
|
terminateSession: this.requestFunctionFactory(descriptors.userTerminateSession),
|
|
823
|
+
/** Submitted feedback of the given user. */
|
|
824
|
+
getSpotlightInfo: this.requestFunctionFactory(descriptors.userGetSpotlightInfo),
|
|
825
|
+
/** Submit your usage of the spotlight. */
|
|
826
|
+
spotlightUsage: this.requestFunctionFactory(descriptors.userSpotlightUsage),
|
|
825
827
|
/** Get profile information for a user. */
|
|
826
828
|
getUser: this.requestFunctionFactory(descriptors.userGetUser),
|
|
827
829
|
/** Change personal information. */
|
|
@@ -852,6 +854,8 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
852
854
|
removeAvatar: this.requestFunctionFactory(descriptors.userRemoveAvatar),
|
|
853
855
|
/** Resend the Email-Address verification email. */
|
|
854
856
|
resendVerificationEmail: this.requestFunctionFactory(descriptors.userResendVerificationEmail),
|
|
857
|
+
/** Submit your spotlight usage. */
|
|
858
|
+
spotlightFeedback: this.requestFunctionFactory(descriptors.userSpotlightFeedback),
|
|
855
859
|
/** Request a support code. */
|
|
856
860
|
supportCodeRequest: this.requestFunctionFactory(descriptors.userSupportCodeRequest),
|
|
857
861
|
/** Verify an added Email-Address. */
|
|
@@ -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",
|
|
1282
|
-
method: "POST",
|
|
1283
|
-
operationId: "dns-create-dns-zone-file-import",
|
|
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",
|
|
1285
|
+
/** Create a DNSZone. */
|
|
1286
|
+
export const dnsCreateDnsZone = {
|
|
1287
|
+
path: "/v3-next/dns-zones",
|
|
1294
1288
|
method: "POST",
|
|
1295
|
-
operationId: "dns-create-
|
|
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",
|
|
@@ -2794,6 +2788,18 @@ export const userTerminateSession = {
|
|
|
2794
2788
|
method: "DELETE",
|
|
2795
2789
|
operationId: "user-terminate-session",
|
|
2796
2790
|
};
|
|
2791
|
+
/** Submitted feedback of the given user. */
|
|
2792
|
+
export const userGetSpotlightInfo = {
|
|
2793
|
+
path: "/v3-next/users/self/spotlights/{spotlightId}",
|
|
2794
|
+
method: "GET",
|
|
2795
|
+
operationId: "user-get-spotlight-info",
|
|
2796
|
+
};
|
|
2797
|
+
/** Submit your usage of the spotlight. */
|
|
2798
|
+
export const userSpotlightUsage = {
|
|
2799
|
+
path: "/v3-next/users/self/spotlights/{spotlightId}",
|
|
2800
|
+
method: "POST",
|
|
2801
|
+
operationId: "user-spotlight-usage",
|
|
2802
|
+
};
|
|
2797
2803
|
/** Get profile information for a user. */
|
|
2798
2804
|
export const userGetUser = {
|
|
2799
2805
|
path: "/v3-next/users/{userId}",
|
|
@@ -2884,6 +2890,12 @@ export const userResendVerificationEmail = {
|
|
|
2884
2890
|
method: "POST",
|
|
2885
2891
|
operationId: "user-resend-verification-email",
|
|
2886
2892
|
};
|
|
2893
|
+
/** Submit your spotlight usage. */
|
|
2894
|
+
export const userSpotlightFeedback = {
|
|
2895
|
+
path: "/v3-next/users/self/spotlights/{spotlightId}/feedback",
|
|
2896
|
+
method: "POST",
|
|
2897
|
+
operationId: "user-spotlight-feedback",
|
|
2898
|
+
};
|
|
2887
2899
|
/** Request a support code. */
|
|
2888
2900
|
export const userSupportCodeRequest = {
|
|
2889
2901
|
path: "/v3-next/users/self/credentials/support-code",
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export const MittwaldAPIClientVersion = '4.458.0';
|
|
@@ -94,6 +94,74 @@ 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
|
+
detailed?: boolean | 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
|
+
detailed?: {
|
|
139
|
+
[k: string]: {
|
|
140
|
+
byKey?: {
|
|
141
|
+
[k: string]: {
|
|
142
|
+
byModel?: {
|
|
143
|
+
[k: string]: number;
|
|
144
|
+
};
|
|
145
|
+
tokens?: number;
|
|
146
|
+
};
|
|
147
|
+
};
|
|
148
|
+
};
|
|
149
|
+
} | undefined;
|
|
150
|
+
keys: {
|
|
151
|
+
id: string;
|
|
152
|
+
name: string;
|
|
153
|
+
}[];
|
|
154
|
+
modelShare: {
|
|
155
|
+
model: string;
|
|
156
|
+
tokens: number;
|
|
157
|
+
}[];
|
|
158
|
+
planId: string;
|
|
159
|
+
timeframe: {
|
|
160
|
+
end: string;
|
|
161
|
+
start: string;
|
|
162
|
+
};
|
|
163
|
+
totalTokens: number;
|
|
164
|
+
}>;
|
|
97
165
|
/** Get a list of keys of a project. */
|
|
98
166
|
projectGetKeys: (conf: {
|
|
99
167
|
projectId: string;
|
|
@@ -2095,7 +2163,7 @@ declare const buildCustomerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2095
2163
|
owner?: import("./types.js").MittwaldAPIV2.Components.Schemas.CustomerContact | undefined;
|
|
2096
2164
|
projectCount: number;
|
|
2097
2165
|
vatId?: string | undefined;
|
|
2098
|
-
vatIdValidationState?: "valid" | "invalid" | "pending" | "unspecified" | undefined;
|
|
2166
|
+
vatIdValidationState?: "valid" | "invalid" | "pending" | "unsupported" | "unspecified" | undefined;
|
|
2099
2167
|
}>;
|
|
2100
2168
|
/** Get a CustomerInvite by token. */
|
|
2101
2169
|
getCustomerTokenInvite: (conf: {
|
|
@@ -2330,30 +2398,6 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2330
2398
|
page?: number | undefined;
|
|
2331
2399
|
} | undefined;
|
|
2332
2400
|
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.DomainDomain[]>;
|
|
2333
|
-
/** List DNS zone-file import jobs belonging to a Project. */
|
|
2334
|
-
dnsListDnsZoneFileImports: (conf: {
|
|
2335
|
-
projectId: string;
|
|
2336
|
-
headers?: {
|
|
2337
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2338
|
-
"x-access-token"?: string | undefined;
|
|
2339
|
-
} | undefined;
|
|
2340
|
-
queryParameters?: {
|
|
2341
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2342
|
-
limit?: number | undefined;
|
|
2343
|
-
skip?: number | undefined;
|
|
2344
|
-
page?: number | undefined;
|
|
2345
|
-
sort?: "createdAt" | undefined;
|
|
2346
|
-
order?: "asc" | "desc" | undefined;
|
|
2347
|
-
} | undefined;
|
|
2348
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.DnsZoneFileImport[]>;
|
|
2349
|
-
/** List DNSZones belonging to a Project. */
|
|
2350
|
-
dnsListDnsZones: (conf: {
|
|
2351
|
-
projectId: string;
|
|
2352
|
-
headers?: {
|
|
2353
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2354
|
-
"x-access-token"?: string | undefined;
|
|
2355
|
-
} | undefined;
|
|
2356
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.DnsZone[]>;
|
|
2357
2401
|
/** Get a DNSZone. */
|
|
2358
2402
|
dnsGetDnsZone: (conf: {
|
|
2359
2403
|
dnsZoneId: string;
|
|
@@ -2373,36 +2417,22 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2373
2417
|
txt: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordTXT;
|
|
2374
2418
|
};
|
|
2375
2419
|
}>;
|
|
2376
|
-
/** Get
|
|
2377
|
-
|
|
2378
|
-
|
|
2420
|
+
/** Get a zone file for a DNSZone. */
|
|
2421
|
+
dnsGetZoneFile: (conf: {
|
|
2422
|
+
dnsZoneId: string;
|
|
2379
2423
|
headers?: {
|
|
2380
2424
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2381
2425
|
"x-access-token"?: string | undefined;
|
|
2382
2426
|
} | undefined;
|
|
2383
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<
|
|
2384
|
-
|
|
2385
|
-
|
|
2386
|
-
error: string;
|
|
2387
|
-
name: string;
|
|
2388
|
-
}[];
|
|
2389
|
-
id: string;
|
|
2390
|
-
importedZones: string[];
|
|
2427
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<string>;
|
|
2428
|
+
/** List DNSZones belonging to a Project. */
|
|
2429
|
+
dnsListDnsZones: (conf: {
|
|
2391
2430
|
projectId: string;
|
|
2392
|
-
skippedZones: {
|
|
2393
|
-
name: string;
|
|
2394
|
-
reason: string;
|
|
2395
|
-
}[];
|
|
2396
|
-
status: "running" | "succeeded" | "failed" | "completedWithErrors";
|
|
2397
|
-
}>;
|
|
2398
|
-
/** Get a zone file for a DNSZone. */
|
|
2399
|
-
dnsGetZoneFile: (conf: {
|
|
2400
|
-
dnsZoneId: string;
|
|
2401
2431
|
headers?: {
|
|
2402
2432
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2403
2433
|
"x-access-token"?: string | undefined;
|
|
2404
2434
|
} | undefined;
|
|
2405
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<
|
|
2435
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.DnsZone[]>;
|
|
2406
2436
|
/** Get a Domain. */
|
|
2407
2437
|
getDomain: (conf: {
|
|
2408
2438
|
domainId: string;
|
|
@@ -3423,6 +3453,19 @@ declare const buildUserApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
3423
3453
|
location?: import("./types.js").MittwaldAPIV2.Components.Schemas.SignupLocation | undefined;
|
|
3424
3454
|
tokenId: string;
|
|
3425
3455
|
}>;
|
|
3456
|
+
/** Submitted feedback of the given user. */
|
|
3457
|
+
getSpotlightInfo: (conf: {
|
|
3458
|
+
spotlightId: string;
|
|
3459
|
+
headers?: {
|
|
3460
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
3461
|
+
"x-access-token"?: string | undefined;
|
|
3462
|
+
} | undefined;
|
|
3463
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
3464
|
+
acknowledged: boolean;
|
|
3465
|
+
decision?: import("./types.js").MittwaldAPIV2.Components.Schemas.UserUserFeedbackSpotlightDecision | undefined;
|
|
3466
|
+
spotlightId: string;
|
|
3467
|
+
used: boolean;
|
|
3468
|
+
}>;
|
|
3426
3469
|
/** Get profile information for a user. */
|
|
3427
3470
|
getUser: (conf: {
|
|
3428
3471
|
userId: string;
|