@mittwald/api-client 0.0.0-development-f13d74a-20260826 → 0.0.0-development-5fdc155-20260827
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 +19 -3
- package/dist/esm/generated/v2/client.js +45 -5
- package/dist/esm/generated/v2/descriptors.js +131 -11
- package/dist/esm/generated/v3-next/client-react.js +23 -7
- package/dist/esm/generated/v3-next/client.js +49 -9
- package/dist/esm/generated/v3-next/descriptors.js +137 -17
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +169 -15
- package/dist/types/generated/v2/client.d.ts +1429 -131
- package/dist/types/generated/v2/descriptors.d.ts +45 -5
- package/dist/types/generated/v2/types.d.ts +1763 -399
- package/dist/types/generated/v3-next/client-react.d.ts +189 -38
- package/dist/types/generated/v3-next/client.d.ts +1465 -168
- package/dist/types/generated/v3-next/descriptors.d.ts +49 -9
- package/dist/types/generated/v3-next/types.d.ts +1780 -328
- package/dist/types/version.d.ts +1 -1
- package/package.json +4 -4
|
@@ -4,11 +4,15 @@ export * from "@mittwald/react-use-promise";
|
|
|
4
4
|
const buildAiHostingApi = (baseClient) => ({
|
|
5
5
|
/** Get a list of already created keys. */
|
|
6
6
|
customerGetKeys: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetKeys, baseClient.aiHosting.customerGetKeys).getApiResource,
|
|
7
|
+
/** Get all ai hosting plans of a customer. */
|
|
8
|
+
customerGetPlans: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetPlans, baseClient.aiHosting.customerGetPlans).getApiResource,
|
|
7
9
|
/** Get a key of a customer. */
|
|
8
10
|
customerGetKey: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetKey, baseClient.aiHosting.customerGetKey).getApiResource,
|
|
9
11
|
/** Get a list of currently active models. */
|
|
10
12
|
customerGetDetailedModels: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetDetailedModels, baseClient.aiHosting.customerGetDetailedModels).getApiResource,
|
|
11
|
-
/** Get ai hosting plan and usages of a customer. */
|
|
13
|
+
/** Get ai hosting plan and usages of a customer by planId. */
|
|
14
|
+
customerGetPlan: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetPlan, baseClient.aiHosting.customerGetPlan).getApiResource,
|
|
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. */
|
|
14
18
|
getModels: new ApiCallAsyncResourceFactory(descriptors.aiHostingGetModels, baseClient.aiHosting.getModels).getApiResource,
|
|
@@ -18,10 +22,14 @@ const buildAiHostingApi = (baseClient) => ({
|
|
|
18
22
|
projectGetKey: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetKey, baseClient.aiHosting.projectGetKey).getApiResource,
|
|
19
23
|
/** Get a list of currently active models. */
|
|
20
24
|
projectGetDetailedModels: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetDetailedModels, baseClient.aiHosting.projectGetDetailedModels).getApiResource,
|
|
25
|
+
/** Get all ai hosting plans and usages of a project. */
|
|
26
|
+
projectGetPlans: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetPlans, baseClient.aiHosting.projectGetPlans).getApiResource,
|
|
21
27
|
/** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
|
|
22
28
|
projectGetUsage: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetUsage, baseClient.aiHosting.projectGetUsage).getApiResource,
|
|
23
29
|
});
|
|
24
30
|
const buildAppApi = (baseClient) => ({
|
|
31
|
+
/** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
|
|
32
|
+
getAppInstallationSystemSoftware: new ApiCallAsyncResourceFactory(descriptors.appGetAppInstallationSystemSoftware, baseClient.app.getAppInstallationSystemSoftware).getApiResource,
|
|
25
33
|
/** Get an App. */
|
|
26
34
|
getApp: new ApiCallAsyncResourceFactory(descriptors.appGetApp, baseClient.app.getApp).getApiResource,
|
|
27
35
|
/** Get an AppInstallation. */
|
|
@@ -50,8 +58,6 @@ const buildAppApi = (baseClient) => ({
|
|
|
50
58
|
listUpdateCandidatesForAppversion: new ApiCallAsyncResourceFactory(descriptors.appListUpdateCandidatesForAppversion, baseClient.app.listUpdateCandidatesForAppversion).getApiResource,
|
|
51
59
|
/** Get runtime status belonging to an AppInstallation. */
|
|
52
60
|
retrieveStatus: new ApiCallAsyncResourceFactory(descriptors.appRetrieveStatus, baseClient.app.retrieveStatus).getApiResource,
|
|
53
|
-
/** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
|
|
54
|
-
getAppInstallationSystemSoftware: new ApiCallAsyncResourceFactory(descriptors.appGetAppInstallationSystemSoftware, baseClient.app.getAppInstallationSystemSoftware).getApiResource,
|
|
55
61
|
});
|
|
56
62
|
const buildArticleApi = (baseClient) => ({
|
|
57
63
|
/** Get an Article. */
|
|
@@ -300,6 +306,8 @@ const buildDomainApi = (baseClient) => ({
|
|
|
300
306
|
listTldContactSchemas: new ApiCallAsyncResourceFactory(descriptors.domainListTldContactSchemas, baseClient.domain.listTldContactSchemas).getApiResource,
|
|
301
307
|
/** List TLDs. */
|
|
302
308
|
listTlds: new ApiCallAsyncResourceFactory(descriptors.domainListTlds, baseClient.domain.listTlds).getApiResource,
|
|
309
|
+
/** List Domain-Migrations belonging to a pAccount. */
|
|
310
|
+
migrationListMigrationsByPaccount: new ApiCallAsyncResourceFactory(descriptors.domainMigrationListMigrationsByPaccount, baseClient.domain.migrationListMigrationsByPaccount).getApiResource,
|
|
303
311
|
/** List Domain-Migrations belonging to a Project. */
|
|
304
312
|
migrationListMigrationsByProjectId: new ApiCallAsyncResourceFactory(descriptors.domainMigrationListMigrationsByProjectId, baseClient.domain.migrationListMigrationsByProjectId).getApiResource,
|
|
305
313
|
/** Suggest a list of domains based on a prompt using AI. */
|
|
@@ -316,6 +324,8 @@ const buildDomainApi = (baseClient) => ({
|
|
|
316
324
|
sslGetCertificate: new ApiCallAsyncResourceFactory(descriptors.sslGetCertificate, baseClient.domain.sslGetCertificate).getApiResource,
|
|
317
325
|
/** List Certificates belonging to a Project or an Ingress. */
|
|
318
326
|
sslListCertificates: new ApiCallAsyncResourceFactory(descriptors.sslListCertificates, baseClient.domain.sslListCertificates).getApiResource,
|
|
327
|
+
/** Get the status of a DNS zone-file import job. */
|
|
328
|
+
dnsGetDnsZoneFileImport: new ApiCallAsyncResourceFactory(descriptors.dnsGetDnsZoneFileImport, baseClient.domain.dnsGetDnsZoneFileImport).getApiResource,
|
|
319
329
|
});
|
|
320
330
|
const buildFileApi = (baseClient) => ({
|
|
321
331
|
/** Get a File's meta. */
|
|
@@ -374,6 +384,10 @@ const buildMailApi = (baseClient) => ({
|
|
|
374
384
|
listMailRateLimits: new ApiCallAsyncResourceFactory(descriptors.mailListMailRateLimits, baseClient.mail.listMailRateLimits).getApiResource,
|
|
375
385
|
/** List mail settings of a Project. */
|
|
376
386
|
listProjectMailSettings: new ApiCallAsyncResourceFactory(descriptors.mailListProjectMailSettings, baseClient.mail.listProjectMailSettings).getApiResource,
|
|
387
|
+
/** Get a Migration. */
|
|
388
|
+
migrationGetMigration: new ApiCallAsyncResourceFactory(descriptors.mailMigrationGetMigration, baseClient.mail.migrationGetMigration).getApiResource,
|
|
389
|
+
/** List Migrations belonging to a Project in customer center or mStudio. */
|
|
390
|
+
migrationListMigrations: new ApiCallAsyncResourceFactory(descriptors.mailMigrationListMigrations, baseClient.mail.migrationListMigrations).getApiResource,
|
|
377
391
|
});
|
|
378
392
|
const buildMiscApi = (baseClient) => ({
|
|
379
393
|
/** List valid time zones. */
|
|
@@ -430,6 +444,8 @@ const buildUserApi = (baseClient) => ({
|
|
|
430
444
|
oauthGetAuthorization: new ApiCallAsyncResourceFactory(descriptors.userOauthGetAuthorization, baseClient.user.oauthGetAuthorization).getApiResource,
|
|
431
445
|
/** Request a support code. */
|
|
432
446
|
supportCodeRequest: new ApiCallAsyncResourceFactory(descriptors.userSupportCodeRequest, baseClient.user.supportCodeRequest).getApiResource,
|
|
447
|
+
/** Submitted feedback of the given user. */
|
|
448
|
+
getSpotlightInfo: new ApiCallAsyncResourceFactory(descriptors.userGetSpotlightInfo, baseClient.user.getSpotlightInfo).getApiResource,
|
|
433
449
|
});
|
|
434
450
|
const buildProjectApi = (baseClient) => ({
|
|
435
451
|
/** List Invites belonging to a Project. */
|
|
@@ -12,6 +12,10 @@ 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
|
+
/** Get all ai hosting plans of a customer. */
|
|
16
|
+
customerGetPlans: this.requestFunctionFactory(descriptors.aiHostingCustomerGetPlans),
|
|
17
|
+
/** Creates an AI hosting profile and accepts the current model terms. */
|
|
18
|
+
customerDeclareProfile: this.requestFunctionFactory(descriptors.aiHostingCustomerDeclareProfile),
|
|
15
19
|
/** Get a key of a customer. */
|
|
16
20
|
customerGetKey: this.requestFunctionFactory(descriptors.aiHostingCustomerGetKey),
|
|
17
21
|
/** Update a key for a customer. */
|
|
@@ -20,7 +24,11 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
20
24
|
customerDeleteKey: this.requestFunctionFactory(descriptors.aiHostingCustomerDeleteKey),
|
|
21
25
|
/** Get a list of currently active models. */
|
|
22
26
|
customerGetDetailedModels: this.requestFunctionFactory(descriptors.aiHostingCustomerGetDetailedModels),
|
|
23
|
-
/** Get ai hosting plan and usages of a customer. */
|
|
27
|
+
/** Get ai hosting plan and usages of a customer by planId. */
|
|
28
|
+
customerGetPlan: this.requestFunctionFactory(descriptors.aiHostingCustomerGetPlan),
|
|
29
|
+
/** Renames an AI hosting plan. */
|
|
30
|
+
customerUpdatePlan: this.requestFunctionFactory(descriptors.aiHostingCustomerUpdatePlan),
|
|
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. */
|
|
26
34
|
getModels: this.requestFunctionFactory(descriptors.aiHostingGetModels),
|
|
@@ -36,6 +44,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
36
44
|
projectDeleteKey: this.requestFunctionFactory(descriptors.aiHostingProjectDeleteKey),
|
|
37
45
|
/** Get a list of currently active models. */
|
|
38
46
|
projectGetDetailedModels: this.requestFunctionFactory(descriptors.aiHostingProjectGetDetailedModels),
|
|
47
|
+
/** Get all ai hosting plans and usages of a project. */
|
|
48
|
+
projectGetPlans: this.requestFunctionFactory(descriptors.aiHostingProjectGetPlans),
|
|
39
49
|
/** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
|
|
40
50
|
projectGetUsage: this.requestFunctionFactory(descriptors.aiHostingProjectGetUsage),
|
|
41
51
|
/** Links a container with a project licence. */
|
|
@@ -43,6 +53,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
43
53
|
};
|
|
44
54
|
/** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
|
|
45
55
|
app = {
|
|
56
|
+
/** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
|
|
57
|
+
getAppInstallationSystemSoftware: this.requestFunctionFactory(descriptors.appGetAppInstallationSystemSoftware),
|
|
46
58
|
/** Get an App. */
|
|
47
59
|
getApp: this.requestFunctionFactory(descriptors.appGetApp),
|
|
48
60
|
/** Get an AppInstallation. */
|
|
@@ -81,8 +93,12 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
81
93
|
retrieveStatus: this.requestFunctionFactory(descriptors.appRetrieveStatus),
|
|
82
94
|
/** Remove linkage between an AppInstallation and a Database. */
|
|
83
95
|
unlinkDatabase: this.requestFunctionFactory(descriptors.appUnlinkDatabase),
|
|
84
|
-
/**
|
|
85
|
-
|
|
96
|
+
/** Detach a staging AppInstallation from its source. */
|
|
97
|
+
detachAppinstallationStaging: this.requestFunctionFactory(descriptors.appDetachAppinstallationStaging),
|
|
98
|
+
/** Promote a staging AppInstallation. */
|
|
99
|
+
promoteAppinstallationStaging: this.requestFunctionFactory(descriptors.appPromoteAppinstallationStaging),
|
|
100
|
+
/** Request a staging for an AppInstallation. */
|
|
101
|
+
requestAppinstallationStaging: this.requestFunctionFactory(descriptors.appRequestAppinstallationStaging),
|
|
86
102
|
};
|
|
87
103
|
/** The article API allows you to read article information. */
|
|
88
104
|
article = {
|
|
@@ -549,8 +565,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
549
565
|
ingressUpdateIngressPaths: this.requestFunctionFactory(descriptors.ingressUpdateIngressPaths),
|
|
550
566
|
/** Update the tls settings of an Ingress. */
|
|
551
567
|
ingressUpdateIngressTls: this.requestFunctionFactory(descriptors.ingressUpdateIngressTls),
|
|
552
|
-
/** Create a DNSZone. */
|
|
553
|
-
dnsCreateDnsZone: this.requestFunctionFactory(descriptors.dnsCreateDnsZone),
|
|
554
568
|
/** Get a DNSZone. */
|
|
555
569
|
dnsGetDnsZone: this.requestFunctionFactory(descriptors.dnsGetDnsZone),
|
|
556
570
|
/** Delete a DNSZone. */
|
|
@@ -559,6 +573,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
559
573
|
dnsGetZoneFile: this.requestFunctionFactory(descriptors.dnsGetZoneFile),
|
|
560
574
|
/** List DNSZones belonging to a Project. */
|
|
561
575
|
dnsListDnsZones: this.requestFunctionFactory(descriptors.dnsListDnsZones),
|
|
576
|
+
/** Create a DNSZone for a domain in a Project. */
|
|
577
|
+
dnsCreateProjectDnsZone: this.requestFunctionFactory(descriptors.dnsCreateProjectDnsZone),
|
|
562
578
|
/** Set a record set on a DNSZone to managed. */
|
|
563
579
|
dnsSetRecordSetManaged: this.requestFunctionFactory(descriptors.dnsSetRecordSetManaged),
|
|
564
580
|
/** Update a record set on a DNSZone. */
|
|
@@ -589,8 +605,14 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
589
605
|
listTldContactSchemas: this.requestFunctionFactory(descriptors.domainListTldContactSchemas),
|
|
590
606
|
/** List TLDs. */
|
|
591
607
|
listTlds: this.requestFunctionFactory(descriptors.domainListTlds),
|
|
608
|
+
/** Check if a Domain-Migration from a pAccount into a Project is possible. */
|
|
609
|
+
migrationCheckMigrationIsPossible: this.requestFunctionFactory(descriptors.domainMigrationCheckMigrationIsPossible),
|
|
610
|
+
/** List Domain-Migrations belonging to a pAccount. */
|
|
611
|
+
migrationListMigrationsByPaccount: this.requestFunctionFactory(descriptors.domainMigrationListMigrationsByPaccount),
|
|
592
612
|
/** List Domain-Migrations belonging to a Project. */
|
|
593
613
|
migrationListMigrationsByProjectId: this.requestFunctionFactory(descriptors.domainMigrationListMigrationsByProjectId),
|
|
614
|
+
/** Order a Domain-Migration from a pAccount into a Project. */
|
|
615
|
+
migrationOrderDomainMigration: this.requestFunctionFactory(descriptors.domainMigrationOrderDomainMigration),
|
|
594
616
|
/** Resends a Contact-Verification email. */
|
|
595
617
|
resendContactVerificationEmail: this.requestFunctionFactory(descriptors.domainResendContactVerificationEmail),
|
|
596
618
|
/** Resend a Domain email. */
|
|
@@ -635,6 +657,14 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
635
657
|
sslReplaceCertificate: this.requestFunctionFactory(descriptors.sslReplaceCertificate),
|
|
636
658
|
/** List Certificates belonging to a Project or an Ingress. */
|
|
637
659
|
sslListCertificates: this.requestFunctionFactory(descriptors.sslListCertificates),
|
|
660
|
+
/** Update the certificate of a CertificateRequest. */
|
|
661
|
+
sslSetCertificateRequestCertificate: this.requestFunctionFactory(descriptors.sslSetCertificateRequestCertificate),
|
|
662
|
+
/** Get the status of a DNS zone-file import job. */
|
|
663
|
+
dnsGetDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsGetDnsZoneFileImport),
|
|
664
|
+
/** Start a server-side DNS zone-file import for a Project. */
|
|
665
|
+
dnsCreateDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsCreateDnsZoneFileImport),
|
|
666
|
+
/** Preview a DNS zone-file import for a Project. */
|
|
667
|
+
dnsPreviewProjectDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsPreviewProjectDnsZoneFileImport),
|
|
638
668
|
};
|
|
639
669
|
/** The mail API allows you to manage your mail accounts. */
|
|
640
670
|
mail = {
|
|
@@ -678,6 +708,14 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
678
708
|
listMailRateLimits: this.requestFunctionFactory(descriptors.mailListMailRateLimits),
|
|
679
709
|
/** List mail settings of a Project. */
|
|
680
710
|
listProjectMailSettings: this.requestFunctionFactory(descriptors.mailListProjectMailSettings),
|
|
711
|
+
/** Check if a Migration between two projects is possible. */
|
|
712
|
+
migrationCheckMigrationIsPossible: this.requestFunctionFactory(descriptors.mailMigrationCheckMigrationIsPossible),
|
|
713
|
+
/** Get a Migration. */
|
|
714
|
+
migrationGetMigration: this.requestFunctionFactory(descriptors.mailMigrationGetMigration),
|
|
715
|
+
/** List Migrations belonging to a Project in customer center or mStudio. */
|
|
716
|
+
migrationListMigrations: this.requestFunctionFactory(descriptors.mailMigrationListMigrations),
|
|
717
|
+
/** Request a Mail Migration between two projects. */
|
|
718
|
+
migrationRequestMailMigration: this.requestFunctionFactory(descriptors.mailMigrationRequestMailMigration),
|
|
681
719
|
/** Recover emails for a MailAddress from a backup. */
|
|
682
720
|
recoverMailAddressEmails: this.requestFunctionFactory(descriptors.mailRecoverMailAddressEmails),
|
|
683
721
|
/** Request a rate limit change for a MailAddress. */
|
|
@@ -818,6 +856,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
818
856
|
verifyPhoneNumber: this.requestFunctionFactory(descriptors.userVerifyPhoneNumber),
|
|
819
857
|
/** Verify your registration. */
|
|
820
858
|
verifyRegistration: this.requestFunctionFactory(descriptors.userVerifyRegistration),
|
|
859
|
+
/** Submitted feedback of the given user. */
|
|
860
|
+
getSpotlightInfo: this.requestFunctionFactory(descriptors.userGetSpotlightInfo),
|
|
821
861
|
};
|
|
822
862
|
/** The file API allows you to manage your files, for example for conversations attachments and avatar uploads. */
|
|
823
863
|
file = {
|
|
@@ -16,6 +16,18 @@ export const aiHostingCustomerCreateKey = {
|
|
|
16
16
|
method: "POST",
|
|
17
17
|
operationId: "ai-hosting-customer-create-key",
|
|
18
18
|
};
|
|
19
|
+
/** Get all ai hosting plans of a customer. */
|
|
20
|
+
export const aiHostingCustomerGetPlans = {
|
|
21
|
+
path: "/v2/customers/{customerId}/ai-hostings",
|
|
22
|
+
method: "GET",
|
|
23
|
+
operationId: "ai-hosting-customer-get-plans",
|
|
24
|
+
};
|
|
25
|
+
/** Creates an AI hosting profile and accepts the current model terms. */
|
|
26
|
+
export const aiHostingCustomerDeclareProfile = {
|
|
27
|
+
path: "/v2/customers/{customerId}/ai-hostings",
|
|
28
|
+
method: "POST",
|
|
29
|
+
operationId: "ai-hosting-customer-declare-profile",
|
|
30
|
+
};
|
|
19
31
|
/** Get a key of a customer. */
|
|
20
32
|
export const aiHostingCustomerGetKey = {
|
|
21
33
|
path: "/v2/customers/{customerId}/ai-hosting-keys/{keyId}",
|
|
@@ -40,7 +52,19 @@ export const aiHostingCustomerGetDetailedModels = {
|
|
|
40
52
|
method: "GET",
|
|
41
53
|
operationId: "ai-hosting-customer-get-detailed-models",
|
|
42
54
|
};
|
|
43
|
-
/** Get ai hosting plan and usages of a customer. */
|
|
55
|
+
/** Get ai hosting plan and usages of a customer by planId. */
|
|
56
|
+
export const aiHostingCustomerGetPlan = {
|
|
57
|
+
path: "/v2/customers/{customerId}/ai-hostings/{planId}",
|
|
58
|
+
method: "GET",
|
|
59
|
+
operationId: "ai-hosting-customer-get-plan",
|
|
60
|
+
};
|
|
61
|
+
/** Renames an AI hosting plan. */
|
|
62
|
+
export const aiHostingCustomerUpdatePlan = {
|
|
63
|
+
path: "/v2/customers/{customerId}/ai-hostings/{planId}",
|
|
64
|
+
method: "PUT",
|
|
65
|
+
operationId: "ai-hosting-customer-update-plan",
|
|
66
|
+
};
|
|
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",
|
|
46
70
|
method: "GET",
|
|
@@ -88,6 +112,12 @@ export const aiHostingProjectGetDetailedModels = {
|
|
|
88
112
|
method: "GET",
|
|
89
113
|
operationId: "ai-hosting-project-get-detailed-models",
|
|
90
114
|
};
|
|
115
|
+
/** Get all ai hosting plans and usages of a project. */
|
|
116
|
+
export const aiHostingProjectGetPlans = {
|
|
117
|
+
path: "/v2/projects/{projectId}/ai-hostings",
|
|
118
|
+
method: "GET",
|
|
119
|
+
operationId: "ai-hosting-project-get-plans",
|
|
120
|
+
};
|
|
91
121
|
/** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
|
|
92
122
|
export const aiHostingProjectGetUsage = {
|
|
93
123
|
path: "/v2/projects/{projectId}/ai-hosting",
|
|
@@ -100,6 +130,12 @@ export const aiHostingProjectLinkContainer = {
|
|
|
100
130
|
method: "POST",
|
|
101
131
|
operationId: "ai-hosting-project-link-container",
|
|
102
132
|
};
|
|
133
|
+
/** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
|
|
134
|
+
export const appGetAppInstallationSystemSoftware = {
|
|
135
|
+
path: "/v2/app-installations/{appInstallationId}/system-software",
|
|
136
|
+
method: "GET",
|
|
137
|
+
operationId: "app-get-app-installation-system-software",
|
|
138
|
+
};
|
|
103
139
|
/** Get an App. */
|
|
104
140
|
export const appGetApp = {
|
|
105
141
|
path: "/v2/apps/{appId}",
|
|
@@ -1204,12 +1240,6 @@ export const userUpdateAccount = {
|
|
|
1204
1240
|
method: "PUT",
|
|
1205
1241
|
operationId: "user-update-account",
|
|
1206
1242
|
};
|
|
1207
|
-
/** Create a DNSZone. */
|
|
1208
|
-
export const dnsCreateDnsZone = {
|
|
1209
|
-
path: "/v2/dns-zones",
|
|
1210
|
-
method: "POST",
|
|
1211
|
-
operationId: "dns-create-dns-zone",
|
|
1212
|
-
};
|
|
1213
1243
|
/** Get a DNSZone. */
|
|
1214
1244
|
export const dnsGetDnsZone = {
|
|
1215
1245
|
path: "/v2/dns-zones/{dnsZoneId}",
|
|
@@ -1234,6 +1264,12 @@ export const dnsListDnsZones = {
|
|
|
1234
1264
|
method: "GET",
|
|
1235
1265
|
operationId: "dns-list-dns-zones",
|
|
1236
1266
|
};
|
|
1267
|
+
/** Create a DNSZone for a domain in a Project. */
|
|
1268
|
+
export const dnsCreateProjectDnsZone = {
|
|
1269
|
+
path: "/v2/projects/{projectId}/dns-zones",
|
|
1270
|
+
method: "POST",
|
|
1271
|
+
operationId: "dns-create-project-dns-zone",
|
|
1272
|
+
};
|
|
1237
1273
|
/** Set a record set on a DNSZone to managed. */
|
|
1238
1274
|
export const dnsSetRecordSetManaged = {
|
|
1239
1275
|
path: "/v2/dns-zones/{dnsZoneId}/record-sets/{recordSet}/actions/set-managed",
|
|
@@ -1324,12 +1360,30 @@ export const domainListTlds = {
|
|
|
1324
1360
|
method: "GET",
|
|
1325
1361
|
operationId: "domain-list-tlds",
|
|
1326
1362
|
};
|
|
1363
|
+
/** Check if a Domain-Migration from a pAccount into a Project is possible. */
|
|
1364
|
+
export const domainMigrationCheckMigrationIsPossible = {
|
|
1365
|
+
path: "/v2/domain-migrations/actions/possibility-check",
|
|
1366
|
+
method: "POST",
|
|
1367
|
+
operationId: "domain-migration-check-migration-is-possible",
|
|
1368
|
+
};
|
|
1369
|
+
/** List Domain-Migrations belonging to a pAccount. */
|
|
1370
|
+
export const domainMigrationListMigrationsByPaccount = {
|
|
1371
|
+
path: "/v2/p-accounts/{pAccount}/domain-migrations",
|
|
1372
|
+
method: "GET",
|
|
1373
|
+
operationId: "domain-migration-list-migrations-by-p-account",
|
|
1374
|
+
};
|
|
1327
1375
|
/** List Domain-Migrations belonging to a Project. */
|
|
1328
1376
|
export const domainMigrationListMigrationsByProjectId = {
|
|
1329
1377
|
path: "/v2/projects/{projectId}/domain-migrations",
|
|
1330
1378
|
method: "GET",
|
|
1331
1379
|
operationId: "domain-migration-list-migrations-by-project-id",
|
|
1332
1380
|
};
|
|
1381
|
+
/** Order a Domain-Migration from a pAccount into a Project. */
|
|
1382
|
+
export const domainMigrationOrderDomainMigration = {
|
|
1383
|
+
path: "/v2/domain-migrations",
|
|
1384
|
+
method: "POST",
|
|
1385
|
+
operationId: "domain-migration-order-domain-migration",
|
|
1386
|
+
};
|
|
1333
1387
|
/** Resends a Contact-Verification email. */
|
|
1334
1388
|
export const domainResendContactVerificationEmail = {
|
|
1335
1389
|
path: "/v2/contact-verifications/{contactVerificationId}/actions/resend-contact-verification-email",
|
|
@@ -1942,6 +1996,30 @@ export const mailListProjectMailSettings = {
|
|
|
1942
1996
|
method: "GET",
|
|
1943
1997
|
operationId: "mail-list-project-mail-settings",
|
|
1944
1998
|
};
|
|
1999
|
+
/** Check if a Migration between two projects is possible. */
|
|
2000
|
+
export const mailMigrationCheckMigrationIsPossible = {
|
|
2001
|
+
path: "/v2/mail-migrations/actions/possibility-check",
|
|
2002
|
+
method: "POST",
|
|
2003
|
+
operationId: "mail-migration-check-migration-is-possible",
|
|
2004
|
+
};
|
|
2005
|
+
/** Get a Migration. */
|
|
2006
|
+
export const mailMigrationGetMigration = {
|
|
2007
|
+
path: "/v2/mail-migrations/{migrationId}",
|
|
2008
|
+
method: "GET",
|
|
2009
|
+
operationId: "mail-migration-get-migration",
|
|
2010
|
+
};
|
|
2011
|
+
/** List Migrations belonging to a Project in customer center or mStudio. */
|
|
2012
|
+
export const mailMigrationListMigrations = {
|
|
2013
|
+
path: "/v2/mail-migrations",
|
|
2014
|
+
method: "GET",
|
|
2015
|
+
operationId: "mail-migration-list-migrations",
|
|
2016
|
+
};
|
|
2017
|
+
/** Request a Mail Migration between two projects. */
|
|
2018
|
+
export const mailMigrationRequestMailMigration = {
|
|
2019
|
+
path: "/v2/mail-migrations/actions/request",
|
|
2020
|
+
method: "POST",
|
|
2021
|
+
operationId: "mail-migration-request-mail-migration",
|
|
2022
|
+
};
|
|
1945
2023
|
/** Recover emails for a MailAddress from a backup. */
|
|
1946
2024
|
export const mailRecoverMailAddressEmails = {
|
|
1947
2025
|
path: "/v2/mail-addresses/{mailAddressId}/backups/{backupId}/recovery",
|
|
@@ -2440,6 +2518,12 @@ export const sslListCertificates = {
|
|
|
2440
2518
|
method: "GET",
|
|
2441
2519
|
operationId: "ssl-list-certificates",
|
|
2442
2520
|
};
|
|
2521
|
+
/** Update the certificate of a CertificateRequest. */
|
|
2522
|
+
export const sslSetCertificateRequestCertificate = {
|
|
2523
|
+
path: "/v2/certificate-requests/{certificateRequestId}/certificate",
|
|
2524
|
+
method: "PATCH",
|
|
2525
|
+
operationId: "ssl-set-certificate-request-certificate",
|
|
2526
|
+
};
|
|
2443
2527
|
/** Get storage space Statistics belonging to a Project. */
|
|
2444
2528
|
export const storagespaceGetProjectStatistics = {
|
|
2445
2529
|
path: "/v2/projects/{projectId}/storage-space-statistics",
|
|
@@ -2794,9 +2878,45 @@ export const verificationVerifyCompany = {
|
|
|
2794
2878
|
method: "POST",
|
|
2795
2879
|
operationId: "verification-verify-company",
|
|
2796
2880
|
};
|
|
2797
|
-
/** Get the
|
|
2798
|
-
export const
|
|
2799
|
-
path: "/v2/
|
|
2881
|
+
/** Get the status of a DNS zone-file import job. */
|
|
2882
|
+
export const dnsGetDnsZoneFileImport = {
|
|
2883
|
+
path: "/v2/dns-zone-imports/{zoneFileImportId}",
|
|
2800
2884
|
method: "GET",
|
|
2801
|
-
operationId: "
|
|
2885
|
+
operationId: "dns-get-dns-zone-file-import",
|
|
2886
|
+
};
|
|
2887
|
+
/** Start a server-side DNS zone-file import for a Project. */
|
|
2888
|
+
export const dnsCreateDnsZoneFileImport = {
|
|
2889
|
+
path: "/v2/projects/{projectId}/dns-zone-imports",
|
|
2890
|
+
method: "POST",
|
|
2891
|
+
operationId: "dns-create-dns-zone-file-import",
|
|
2892
|
+
};
|
|
2893
|
+
/** Preview a DNS zone-file import for a Project. */
|
|
2894
|
+
export const dnsPreviewProjectDnsZoneFileImport = {
|
|
2895
|
+
path: "/v2/projects/{projectId}/dns-zones/import-preview",
|
|
2896
|
+
method: "POST",
|
|
2897
|
+
operationId: "dns-preview-project-dns-zone-file-import",
|
|
2898
|
+
};
|
|
2899
|
+
/** Detach a staging AppInstallation from its source. */
|
|
2900
|
+
export const appDetachAppinstallationStaging = {
|
|
2901
|
+
path: "/v2/app-installations/{appInstallationId}/actions/detach-staging",
|
|
2902
|
+
method: "POST",
|
|
2903
|
+
operationId: "app-detach-appinstallation-staging",
|
|
2904
|
+
};
|
|
2905
|
+
/** Promote a staging AppInstallation. */
|
|
2906
|
+
export const appPromoteAppinstallationStaging = {
|
|
2907
|
+
path: "/v2/app-installations/{appInstallationId}/actions/promote-staging",
|
|
2908
|
+
method: "POST",
|
|
2909
|
+
operationId: "app-promote-appinstallation-staging",
|
|
2910
|
+
};
|
|
2911
|
+
/** Request a staging for an AppInstallation. */
|
|
2912
|
+
export const appRequestAppinstallationStaging = {
|
|
2913
|
+
path: "/v2/app-installations/{appInstallationId}/actions/staging",
|
|
2914
|
+
method: "POST",
|
|
2915
|
+
operationId: "app-request-appinstallation-staging",
|
|
2916
|
+
};
|
|
2917
|
+
/** Submitted feedback of the given user. */
|
|
2918
|
+
export const userGetSpotlightInfo = {
|
|
2919
|
+
path: "/v2/users/self/spotlights/{spotlightId}",
|
|
2920
|
+
method: "GET",
|
|
2921
|
+
operationId: "user-get-spotlight-info",
|
|
2802
2922
|
};
|
|
@@ -4,11 +4,15 @@ export * from "@mittwald/react-use-promise";
|
|
|
4
4
|
const buildAiHostingApi = (baseClient) => ({
|
|
5
5
|
/** Get a list of already created keys. */
|
|
6
6
|
customerGetKeys: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetKeys, baseClient.aiHosting.customerGetKeys).getApiResource,
|
|
7
|
+
/** Get all ai hosting plans of a customer. */
|
|
8
|
+
customerGetPlans: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetPlans, baseClient.aiHosting.customerGetPlans).getApiResource,
|
|
7
9
|
/** Get a key of a customer. */
|
|
8
10
|
customerGetKey: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetKey, baseClient.aiHosting.customerGetKey).getApiResource,
|
|
9
11
|
/** Get a list of currently active models. */
|
|
10
12
|
customerGetDetailedModels: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetDetailedModels, baseClient.aiHosting.customerGetDetailedModels).getApiResource,
|
|
11
|
-
/** Get ai hosting plan and usages of a customer. */
|
|
13
|
+
/** Get ai hosting plan and usages of a customer by planId. */
|
|
14
|
+
customerGetPlan: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetPlan, baseClient.aiHosting.customerGetPlan).getApiResource,
|
|
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. */
|
|
14
18
|
getModels: new ApiCallAsyncResourceFactory(descriptors.aiHostingGetModels, baseClient.aiHosting.getModels).getApiResource,
|
|
@@ -18,10 +22,14 @@ const buildAiHostingApi = (baseClient) => ({
|
|
|
18
22
|
projectGetKey: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetKey, baseClient.aiHosting.projectGetKey).getApiResource,
|
|
19
23
|
/** Get a list of currently active models. */
|
|
20
24
|
projectGetDetailedModels: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetDetailedModels, baseClient.aiHosting.projectGetDetailedModels).getApiResource,
|
|
25
|
+
/** Get all ai hosting plans and usages of a project. */
|
|
26
|
+
projectGetPlans: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetPlans, baseClient.aiHosting.projectGetPlans).getApiResource,
|
|
21
27
|
/** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
|
|
22
28
|
projectGetUsage: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetUsage, baseClient.aiHosting.projectGetUsage).getApiResource,
|
|
23
29
|
});
|
|
24
30
|
const buildAppApi = (baseClient) => ({
|
|
31
|
+
/** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
|
|
32
|
+
getAppInstallationSystemSoftware: new ApiCallAsyncResourceFactory(descriptors.appGetAppInstallationSystemSoftware, baseClient.app.getAppInstallationSystemSoftware).getApiResource,
|
|
25
33
|
/** Get an App. */
|
|
26
34
|
getApp: new ApiCallAsyncResourceFactory(descriptors.appGetApp, baseClient.app.getApp).getApiResource,
|
|
27
35
|
/** Get an AppInstallation. */
|
|
@@ -50,8 +58,6 @@ const buildAppApi = (baseClient) => ({
|
|
|
50
58
|
listUpdateCandidatesForAppversion: new ApiCallAsyncResourceFactory(descriptors.appListUpdateCandidatesForAppversion, baseClient.app.listUpdateCandidatesForAppversion).getApiResource,
|
|
51
59
|
/** Get runtime status belonging to an AppInstallation. */
|
|
52
60
|
retrieveStatus: new ApiCallAsyncResourceFactory(descriptors.appRetrieveStatus, baseClient.app.retrieveStatus).getApiResource,
|
|
53
|
-
/** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
|
|
54
|
-
getAppInstallationSystemSoftware: new ApiCallAsyncResourceFactory(descriptors.appGetAppInstallationSystemSoftware, baseClient.app.getAppInstallationSystemSoftware).getApiResource,
|
|
55
61
|
});
|
|
56
62
|
const buildArticleApi = (baseClient) => ({
|
|
57
63
|
/** Get an Article. */
|
|
@@ -280,16 +286,16 @@ const buildDatabaseApi = (baseClient) => ({
|
|
|
280
286
|
listRedisVersions: new ApiCallAsyncResourceFactory(descriptors.databaseListRedisVersions, baseClient.database.listRedisVersions).getApiResource,
|
|
281
287
|
});
|
|
282
288
|
const buildDomainApi = (baseClient) => ({
|
|
283
|
-
/** List
|
|
284
|
-
|
|
289
|
+
/** List domains. */
|
|
290
|
+
serviceNextListDomains: new ApiCallAsyncResourceFactory(descriptors.domainServiceNextListDomains, baseClient.domain.serviceNextListDomains).getApiResource,
|
|
285
291
|
/** Get a DNSZone. */
|
|
286
292
|
dnsGetDnsZone: new ApiCallAsyncResourceFactory(descriptors.dnsGetDnsZone, baseClient.domain.dnsGetDnsZone).getApiResource,
|
|
287
293
|
/** Get a zone file for a DNSZone. */
|
|
288
294
|
dnsGetZoneFile: new ApiCallAsyncResourceFactory(descriptors.dnsGetZoneFile, baseClient.domain.dnsGetZoneFile).getApiResource,
|
|
289
295
|
/** List DNSZones belonging to a Project. */
|
|
290
296
|
dnsListDnsZones: new ApiCallAsyncResourceFactory(descriptors.dnsListDnsZones, baseClient.domain.dnsListDnsZones).getApiResource,
|
|
291
|
-
/** Get a
|
|
292
|
-
|
|
297
|
+
/** Get a domain. */
|
|
298
|
+
serviceNextGetDomain: new ApiCallAsyncResourceFactory(descriptors.domainServiceNextGetDomain, baseClient.domain.serviceNextGetDomain).getApiResource,
|
|
293
299
|
/** Get a Contact-Verification. */
|
|
294
300
|
getContactVerification: new ApiCallAsyncResourceFactory(descriptors.domainGetContactVerification, baseClient.domain.getContactVerification).getApiResource,
|
|
295
301
|
/** Get the latest screenshot's FileReference belonging to a Domain. */
|
|
@@ -300,6 +306,8 @@ const buildDomainApi = (baseClient) => ({
|
|
|
300
306
|
listTldContactSchemas: new ApiCallAsyncResourceFactory(descriptors.domainListTldContactSchemas, baseClient.domain.listTldContactSchemas).getApiResource,
|
|
301
307
|
/** List TLDs. */
|
|
302
308
|
listTlds: new ApiCallAsyncResourceFactory(descriptors.domainListTlds, baseClient.domain.listTlds).getApiResource,
|
|
309
|
+
/** List Domain-Migrations belonging to a pAccount. */
|
|
310
|
+
migrationListMigrationsByPaccount: new ApiCallAsyncResourceFactory(descriptors.domainMigrationListMigrationsByPaccount, baseClient.domain.migrationListMigrationsByPaccount).getApiResource,
|
|
303
311
|
/** List Domain-Migrations belonging to a Project. */
|
|
304
312
|
migrationListMigrationsByProjectId: new ApiCallAsyncResourceFactory(descriptors.domainMigrationListMigrationsByProjectId, baseClient.domain.migrationListMigrationsByProjectId).getApiResource,
|
|
305
313
|
/** Suggest a list of domains based on a prompt using AI. */
|
|
@@ -316,6 +324,8 @@ const buildDomainApi = (baseClient) => ({
|
|
|
316
324
|
sslGetCertificate: new ApiCallAsyncResourceFactory(descriptors.sslGetCertificate, baseClient.domain.sslGetCertificate).getApiResource,
|
|
317
325
|
/** List Certificates belonging to a Project or an Ingress. */
|
|
318
326
|
sslListCertificates: new ApiCallAsyncResourceFactory(descriptors.sslListCertificates, baseClient.domain.sslListCertificates).getApiResource,
|
|
327
|
+
/** Get the status of a DNS zone-file import job. */
|
|
328
|
+
dnsGetDnsZoneFileImport: new ApiCallAsyncResourceFactory(descriptors.dnsGetDnsZoneFileImport, baseClient.domain.dnsGetDnsZoneFileImport).getApiResource,
|
|
319
329
|
});
|
|
320
330
|
const buildFileApi = (baseClient) => ({
|
|
321
331
|
/** Get a File's meta. */
|
|
@@ -374,6 +384,10 @@ const buildMailApi = (baseClient) => ({
|
|
|
374
384
|
listMailRateLimits: new ApiCallAsyncResourceFactory(descriptors.mailListMailRateLimits, baseClient.mail.listMailRateLimits).getApiResource,
|
|
375
385
|
/** List mail settings of a Project. */
|
|
376
386
|
listProjectMailSettings: new ApiCallAsyncResourceFactory(descriptors.mailListProjectMailSettings, baseClient.mail.listProjectMailSettings).getApiResource,
|
|
387
|
+
/** Get a Migration. */
|
|
388
|
+
migrationGetMigration: new ApiCallAsyncResourceFactory(descriptors.mailMigrationGetMigration, baseClient.mail.migrationGetMigration).getApiResource,
|
|
389
|
+
/** List Migrations belonging to a Project in customer center or mStudio. */
|
|
390
|
+
migrationListMigrations: new ApiCallAsyncResourceFactory(descriptors.mailMigrationListMigrations, baseClient.mail.migrationListMigrations).getApiResource,
|
|
377
391
|
});
|
|
378
392
|
const buildMiscApi = (baseClient) => ({
|
|
379
393
|
/** List valid time zones. */
|
|
@@ -430,6 +444,8 @@ const buildUserApi = (baseClient) => ({
|
|
|
430
444
|
oauthGetAuthorization: new ApiCallAsyncResourceFactory(descriptors.userOauthGetAuthorization, baseClient.user.oauthGetAuthorization).getApiResource,
|
|
431
445
|
/** Request a support code. */
|
|
432
446
|
supportCodeRequest: new ApiCallAsyncResourceFactory(descriptors.userSupportCodeRequest, baseClient.user.supportCodeRequest).getApiResource,
|
|
447
|
+
/** Submitted feedback of the given user. */
|
|
448
|
+
getSpotlightInfo: new ApiCallAsyncResourceFactory(descriptors.userGetSpotlightInfo, baseClient.user.getSpotlightInfo).getApiResource,
|
|
433
449
|
});
|
|
434
450
|
const buildProjectApi = (baseClient) => ({
|
|
435
451
|
/** List Invites belonging to a Project. */
|