@mittwald/api-client 0.0.0-development-1eef98f-20260826 → 0.0.0-development-f13d74a-20260826
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 +3 -17
- package/dist/esm/generated/v2/client.js +5 -43
- package/dist/esm/generated/v2/descriptors.js +11 -125
- package/dist/esm/generated/v3-next/client-react.js +7 -21
- package/dist/esm/generated/v3-next/client.js +9 -47
- package/dist/esm/generated/v3-next/descriptors.js +17 -131
- package/dist/types/generated/v2/client-react.d.ts +14 -150
- package/dist/types/generated/v2/client.d.ts +154 -1389
- package/dist/types/generated/v2/descriptors.d.ts +5 -43
- package/dist/types/generated/v2/types.d.ts +562 -1880
- package/dist/types/generated/v3-next/client-react.d.ts +37 -170
- package/dist/types/generated/v3-next/client.d.ts +185 -1419
- package/dist/types/generated/v3-next/descriptors.d.ts +9 -47
- package/dist/types/generated/v3-next/types.d.ts +491 -1897
- package/package.json +4 -4
|
@@ -4,15 +4,11 @@ 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,
|
|
9
7
|
/** Get a key of a customer. */
|
|
10
8
|
customerGetKey: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetKey, baseClient.aiHosting.customerGetKey).getApiResource,
|
|
11
9
|
/** Get a list of currently active models. */
|
|
12
10
|
customerGetDetailedModels: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetDetailedModels, baseClient.aiHosting.customerGetDetailedModels).getApiResource,
|
|
13
|
-
/** Get ai hosting plan and usages of a customer
|
|
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. */
|
|
11
|
+
/** Get ai hosting plan and usages of a customer. */
|
|
16
12
|
customerGetUsage: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetUsage, baseClient.aiHosting.customerGetUsage).getApiResource,
|
|
17
13
|
/** Get a list of currently active models. */
|
|
18
14
|
getModels: new ApiCallAsyncResourceFactory(descriptors.aiHostingGetModels, baseClient.aiHosting.getModels).getApiResource,
|
|
@@ -22,14 +18,10 @@ const buildAiHostingApi = (baseClient) => ({
|
|
|
22
18
|
projectGetKey: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetKey, baseClient.aiHosting.projectGetKey).getApiResource,
|
|
23
19
|
/** Get a list of currently active models. */
|
|
24
20
|
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,
|
|
27
21
|
/** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
|
|
28
22
|
projectGetUsage: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetUsage, baseClient.aiHosting.projectGetUsage).getApiResource,
|
|
29
23
|
});
|
|
30
24
|
const buildAppApi = (baseClient) => ({
|
|
31
|
-
/** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
|
|
32
|
-
getAppInstallationSystemSoftware: new ApiCallAsyncResourceFactory(descriptors.appGetAppInstallationSystemSoftware, baseClient.app.getAppInstallationSystemSoftware).getApiResource,
|
|
33
25
|
/** Get an App. */
|
|
34
26
|
getApp: new ApiCallAsyncResourceFactory(descriptors.appGetApp, baseClient.app.getApp).getApiResource,
|
|
35
27
|
/** Get an AppInstallation. */
|
|
@@ -58,6 +50,8 @@ const buildAppApi = (baseClient) => ({
|
|
|
58
50
|
listUpdateCandidatesForAppversion: new ApiCallAsyncResourceFactory(descriptors.appListUpdateCandidatesForAppversion, baseClient.app.listUpdateCandidatesForAppversion).getApiResource,
|
|
59
51
|
/** Get runtime status belonging to an AppInstallation. */
|
|
60
52
|
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,
|
|
61
55
|
});
|
|
62
56
|
const buildArticleApi = (baseClient) => ({
|
|
63
57
|
/** Get an Article. */
|
|
@@ -306,8 +300,6 @@ const buildDomainApi = (baseClient) => ({
|
|
|
306
300
|
listTldContactSchemas: new ApiCallAsyncResourceFactory(descriptors.domainListTldContactSchemas, baseClient.domain.listTldContactSchemas).getApiResource,
|
|
307
301
|
/** List TLDs. */
|
|
308
302
|
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,
|
|
311
303
|
/** List Domain-Migrations belonging to a Project. */
|
|
312
304
|
migrationListMigrationsByProjectId: new ApiCallAsyncResourceFactory(descriptors.domainMigrationListMigrationsByProjectId, baseClient.domain.migrationListMigrationsByProjectId).getApiResource,
|
|
313
305
|
/** Suggest a list of domains based on a prompt using AI. */
|
|
@@ -324,8 +316,6 @@ const buildDomainApi = (baseClient) => ({
|
|
|
324
316
|
sslGetCertificate: new ApiCallAsyncResourceFactory(descriptors.sslGetCertificate, baseClient.domain.sslGetCertificate).getApiResource,
|
|
325
317
|
/** List Certificates belonging to a Project or an Ingress. */
|
|
326
318
|
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,
|
|
329
319
|
});
|
|
330
320
|
const buildFileApi = (baseClient) => ({
|
|
331
321
|
/** Get a File's meta. */
|
|
@@ -384,10 +374,6 @@ const buildMailApi = (baseClient) => ({
|
|
|
384
374
|
listMailRateLimits: new ApiCallAsyncResourceFactory(descriptors.mailListMailRateLimits, baseClient.mail.listMailRateLimits).getApiResource,
|
|
385
375
|
/** List mail settings of a Project. */
|
|
386
376
|
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,
|
|
391
377
|
});
|
|
392
378
|
const buildMiscApi = (baseClient) => ({
|
|
393
379
|
/** List valid time zones. */
|
|
@@ -12,10 +12,6 @@ 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),
|
|
19
15
|
/** Get a key of a customer. */
|
|
20
16
|
customerGetKey: this.requestFunctionFactory(descriptors.aiHostingCustomerGetKey),
|
|
21
17
|
/** Update a key for a customer. */
|
|
@@ -24,11 +20,7 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
24
20
|
customerDeleteKey: this.requestFunctionFactory(descriptors.aiHostingCustomerDeleteKey),
|
|
25
21
|
/** Get a list of currently active models. */
|
|
26
22
|
customerGetDetailedModels: this.requestFunctionFactory(descriptors.aiHostingCustomerGetDetailedModels),
|
|
27
|
-
/** Get ai hosting plan and usages of a customer
|
|
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. */
|
|
23
|
+
/** Get ai hosting plan and usages of a customer. */
|
|
32
24
|
customerGetUsage: this.requestFunctionFactory(descriptors.aiHostingCustomerGetUsage),
|
|
33
25
|
/** Get a list of currently active models. */
|
|
34
26
|
getModels: this.requestFunctionFactory(descriptors.aiHostingGetModels),
|
|
@@ -44,8 +36,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
44
36
|
projectDeleteKey: this.requestFunctionFactory(descriptors.aiHostingProjectDeleteKey),
|
|
45
37
|
/** Get a list of currently active models. */
|
|
46
38
|
projectGetDetailedModels: this.requestFunctionFactory(descriptors.aiHostingProjectGetDetailedModels),
|
|
47
|
-
/** Get all ai hosting plans and usages of a project. */
|
|
48
|
-
projectGetPlans: this.requestFunctionFactory(descriptors.aiHostingProjectGetPlans),
|
|
49
39
|
/** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
|
|
50
40
|
projectGetUsage: this.requestFunctionFactory(descriptors.aiHostingProjectGetUsage),
|
|
51
41
|
/** Links a container with a project licence. */
|
|
@@ -53,8 +43,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
53
43
|
};
|
|
54
44
|
/** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
|
|
55
45
|
app = {
|
|
56
|
-
/** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
|
|
57
|
-
getAppInstallationSystemSoftware: this.requestFunctionFactory(descriptors.appGetAppInstallationSystemSoftware),
|
|
58
46
|
/** Get an App. */
|
|
59
47
|
getApp: this.requestFunctionFactory(descriptors.appGetApp),
|
|
60
48
|
/** Get an AppInstallation. */
|
|
@@ -93,12 +81,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
93
81
|
retrieveStatus: this.requestFunctionFactory(descriptors.appRetrieveStatus),
|
|
94
82
|
/** Remove linkage between an AppInstallation and a Database. */
|
|
95
83
|
unlinkDatabase: this.requestFunctionFactory(descriptors.appUnlinkDatabase),
|
|
96
|
-
/**
|
|
97
|
-
|
|
98
|
-
/** Promote a staging AppInstallation. */
|
|
99
|
-
promoteAppinstallationStaging: this.requestFunctionFactory(descriptors.appPromoteAppinstallationStaging),
|
|
100
|
-
/** Request a staging for an AppInstallation. */
|
|
101
|
-
requestAppinstallationStaging: this.requestFunctionFactory(descriptors.appRequestAppinstallationStaging),
|
|
84
|
+
/** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
|
|
85
|
+
getAppInstallationSystemSoftware: this.requestFunctionFactory(descriptors.appGetAppInstallationSystemSoftware),
|
|
102
86
|
};
|
|
103
87
|
/** The article API allows you to read article information. */
|
|
104
88
|
article = {
|
|
@@ -565,6 +549,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
565
549
|
ingressUpdateIngressPaths: this.requestFunctionFactory(descriptors.ingressUpdateIngressPaths),
|
|
566
550
|
/** Update the tls settings of an Ingress. */
|
|
567
551
|
ingressUpdateIngressTls: this.requestFunctionFactory(descriptors.ingressUpdateIngressTls),
|
|
552
|
+
/** Create a DNSZone. */
|
|
553
|
+
dnsCreateDnsZone: this.requestFunctionFactory(descriptors.dnsCreateDnsZone),
|
|
568
554
|
/** Get a DNSZone. */
|
|
569
555
|
dnsGetDnsZone: this.requestFunctionFactory(descriptors.dnsGetDnsZone),
|
|
570
556
|
/** Delete a DNSZone. */
|
|
@@ -573,8 +559,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
573
559
|
dnsGetZoneFile: this.requestFunctionFactory(descriptors.dnsGetZoneFile),
|
|
574
560
|
/** List DNSZones belonging to a Project. */
|
|
575
561
|
dnsListDnsZones: this.requestFunctionFactory(descriptors.dnsListDnsZones),
|
|
576
|
-
/** Create a DNSZone for a domain in a Project. */
|
|
577
|
-
dnsCreateProjectDnsZone: this.requestFunctionFactory(descriptors.dnsCreateProjectDnsZone),
|
|
578
562
|
/** Set a record set on a DNSZone to managed. */
|
|
579
563
|
dnsSetRecordSetManaged: this.requestFunctionFactory(descriptors.dnsSetRecordSetManaged),
|
|
580
564
|
/** Update a record set on a DNSZone. */
|
|
@@ -605,14 +589,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
605
589
|
listTldContactSchemas: this.requestFunctionFactory(descriptors.domainListTldContactSchemas),
|
|
606
590
|
/** List TLDs. */
|
|
607
591
|
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),
|
|
612
592
|
/** List Domain-Migrations belonging to a Project. */
|
|
613
593
|
migrationListMigrationsByProjectId: this.requestFunctionFactory(descriptors.domainMigrationListMigrationsByProjectId),
|
|
614
|
-
/** Order a Domain-Migration from a pAccount into a Project. */
|
|
615
|
-
migrationOrderDomainMigration: this.requestFunctionFactory(descriptors.domainMigrationOrderDomainMigration),
|
|
616
594
|
/** Resends a Contact-Verification email. */
|
|
617
595
|
resendContactVerificationEmail: this.requestFunctionFactory(descriptors.domainResendContactVerificationEmail),
|
|
618
596
|
/** Resend a Domain email. */
|
|
@@ -657,14 +635,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
657
635
|
sslReplaceCertificate: this.requestFunctionFactory(descriptors.sslReplaceCertificate),
|
|
658
636
|
/** List Certificates belonging to a Project or an Ingress. */
|
|
659
637
|
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),
|
|
668
638
|
};
|
|
669
639
|
/** The mail API allows you to manage your mail accounts. */
|
|
670
640
|
mail = {
|
|
@@ -708,14 +678,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
708
678
|
listMailRateLimits: this.requestFunctionFactory(descriptors.mailListMailRateLimits),
|
|
709
679
|
/** List mail settings of a Project. */
|
|
710
680
|
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),
|
|
719
681
|
/** Recover emails for a MailAddress from a backup. */
|
|
720
682
|
recoverMailAddressEmails: this.requestFunctionFactory(descriptors.mailRecoverMailAddressEmails),
|
|
721
683
|
/** Request a rate limit change for a MailAddress. */
|
|
@@ -16,18 +16,6 @@ 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
|
-
};
|
|
31
19
|
/** Get a key of a customer. */
|
|
32
20
|
export const aiHostingCustomerGetKey = {
|
|
33
21
|
path: "/v2/customers/{customerId}/ai-hosting-keys/{keyId}",
|
|
@@ -52,19 +40,7 @@ export const aiHostingCustomerGetDetailedModels = {
|
|
|
52
40
|
method: "GET",
|
|
53
41
|
operationId: "ai-hosting-customer-get-detailed-models",
|
|
54
42
|
};
|
|
55
|
-
/** Get ai hosting plan and usages of a customer
|
|
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. */
|
|
43
|
+
/** Get ai hosting plan and usages of a customer. */
|
|
68
44
|
export const aiHostingCustomerGetUsage = {
|
|
69
45
|
path: "/v2/customers/{customerId}/ai-hosting",
|
|
70
46
|
method: "GET",
|
|
@@ -112,12 +88,6 @@ export const aiHostingProjectGetDetailedModels = {
|
|
|
112
88
|
method: "GET",
|
|
113
89
|
operationId: "ai-hosting-project-get-detailed-models",
|
|
114
90
|
};
|
|
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
|
-
};
|
|
121
91
|
/** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
|
|
122
92
|
export const aiHostingProjectGetUsage = {
|
|
123
93
|
path: "/v2/projects/{projectId}/ai-hosting",
|
|
@@ -130,12 +100,6 @@ export const aiHostingProjectLinkContainer = {
|
|
|
130
100
|
method: "POST",
|
|
131
101
|
operationId: "ai-hosting-project-link-container",
|
|
132
102
|
};
|
|
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
|
-
};
|
|
139
103
|
/** Get an App. */
|
|
140
104
|
export const appGetApp = {
|
|
141
105
|
path: "/v2/apps/{appId}",
|
|
@@ -1240,6 +1204,12 @@ export const userUpdateAccount = {
|
|
|
1240
1204
|
method: "PUT",
|
|
1241
1205
|
operationId: "user-update-account",
|
|
1242
1206
|
};
|
|
1207
|
+
/** Create a DNSZone. */
|
|
1208
|
+
export const dnsCreateDnsZone = {
|
|
1209
|
+
path: "/v2/dns-zones",
|
|
1210
|
+
method: "POST",
|
|
1211
|
+
operationId: "dns-create-dns-zone",
|
|
1212
|
+
};
|
|
1243
1213
|
/** Get a DNSZone. */
|
|
1244
1214
|
export const dnsGetDnsZone = {
|
|
1245
1215
|
path: "/v2/dns-zones/{dnsZoneId}",
|
|
@@ -1264,12 +1234,6 @@ export const dnsListDnsZones = {
|
|
|
1264
1234
|
method: "GET",
|
|
1265
1235
|
operationId: "dns-list-dns-zones",
|
|
1266
1236
|
};
|
|
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
|
-
};
|
|
1273
1237
|
/** Set a record set on a DNSZone to managed. */
|
|
1274
1238
|
export const dnsSetRecordSetManaged = {
|
|
1275
1239
|
path: "/v2/dns-zones/{dnsZoneId}/record-sets/{recordSet}/actions/set-managed",
|
|
@@ -1360,30 +1324,12 @@ export const domainListTlds = {
|
|
|
1360
1324
|
method: "GET",
|
|
1361
1325
|
operationId: "domain-list-tlds",
|
|
1362
1326
|
};
|
|
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
|
-
};
|
|
1375
1327
|
/** List Domain-Migrations belonging to a Project. */
|
|
1376
1328
|
export const domainMigrationListMigrationsByProjectId = {
|
|
1377
1329
|
path: "/v2/projects/{projectId}/domain-migrations",
|
|
1378
1330
|
method: "GET",
|
|
1379
1331
|
operationId: "domain-migration-list-migrations-by-project-id",
|
|
1380
1332
|
};
|
|
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
|
-
};
|
|
1387
1333
|
/** Resends a Contact-Verification email. */
|
|
1388
1334
|
export const domainResendContactVerificationEmail = {
|
|
1389
1335
|
path: "/v2/contact-verifications/{contactVerificationId}/actions/resend-contact-verification-email",
|
|
@@ -1996,30 +1942,6 @@ export const mailListProjectMailSettings = {
|
|
|
1996
1942
|
method: "GET",
|
|
1997
1943
|
operationId: "mail-list-project-mail-settings",
|
|
1998
1944
|
};
|
|
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
|
-
};
|
|
2023
1945
|
/** Recover emails for a MailAddress from a backup. */
|
|
2024
1946
|
export const mailRecoverMailAddressEmails = {
|
|
2025
1947
|
path: "/v2/mail-addresses/{mailAddressId}/backups/{backupId}/recovery",
|
|
@@ -2518,12 +2440,6 @@ export const sslListCertificates = {
|
|
|
2518
2440
|
method: "GET",
|
|
2519
2441
|
operationId: "ssl-list-certificates",
|
|
2520
2442
|
};
|
|
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
|
-
};
|
|
2527
2443
|
/** Get storage space Statistics belonging to a Project. */
|
|
2528
2444
|
export const storagespaceGetProjectStatistics = {
|
|
2529
2445
|
path: "/v2/projects/{projectId}/storage-space-statistics",
|
|
@@ -2878,39 +2794,9 @@ export const verificationVerifyCompany = {
|
|
|
2878
2794
|
method: "POST",
|
|
2879
2795
|
operationId: "verification-verify-company",
|
|
2880
2796
|
};
|
|
2881
|
-
/** Get the
|
|
2882
|
-
export const
|
|
2883
|
-
path: "/v2/
|
|
2797
|
+
/** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
|
|
2798
|
+
export const appGetAppInstallationSystemSoftware = {
|
|
2799
|
+
path: "/v2/app-installations/{appInstallationId}/system-software",
|
|
2884
2800
|
method: "GET",
|
|
2885
|
-
operationId: "
|
|
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",
|
|
2801
|
+
operationId: "app-get-app-installation-system-software",
|
|
2916
2802
|
};
|
|
@@ -4,15 +4,11 @@ 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,
|
|
9
7
|
/** Get a key of a customer. */
|
|
10
8
|
customerGetKey: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetKey, baseClient.aiHosting.customerGetKey).getApiResource,
|
|
11
9
|
/** Get a list of currently active models. */
|
|
12
10
|
customerGetDetailedModels: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetDetailedModels, baseClient.aiHosting.customerGetDetailedModels).getApiResource,
|
|
13
|
-
/** Get ai hosting plan and usages of a customer
|
|
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. */
|
|
11
|
+
/** Get ai hosting plan and usages of a customer. */
|
|
16
12
|
customerGetUsage: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetUsage, baseClient.aiHosting.customerGetUsage).getApiResource,
|
|
17
13
|
/** Get a list of currently active models. */
|
|
18
14
|
getModels: new ApiCallAsyncResourceFactory(descriptors.aiHostingGetModels, baseClient.aiHosting.getModels).getApiResource,
|
|
@@ -22,14 +18,10 @@ const buildAiHostingApi = (baseClient) => ({
|
|
|
22
18
|
projectGetKey: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetKey, baseClient.aiHosting.projectGetKey).getApiResource,
|
|
23
19
|
/** Get a list of currently active models. */
|
|
24
20
|
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,
|
|
27
21
|
/** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
|
|
28
22
|
projectGetUsage: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetUsage, baseClient.aiHosting.projectGetUsage).getApiResource,
|
|
29
23
|
});
|
|
30
24
|
const buildAppApi = (baseClient) => ({
|
|
31
|
-
/** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
|
|
32
|
-
getAppInstallationSystemSoftware: new ApiCallAsyncResourceFactory(descriptors.appGetAppInstallationSystemSoftware, baseClient.app.getAppInstallationSystemSoftware).getApiResource,
|
|
33
25
|
/** Get an App. */
|
|
34
26
|
getApp: new ApiCallAsyncResourceFactory(descriptors.appGetApp, baseClient.app.getApp).getApiResource,
|
|
35
27
|
/** Get an AppInstallation. */
|
|
@@ -58,6 +50,8 @@ const buildAppApi = (baseClient) => ({
|
|
|
58
50
|
listUpdateCandidatesForAppversion: new ApiCallAsyncResourceFactory(descriptors.appListUpdateCandidatesForAppversion, baseClient.app.listUpdateCandidatesForAppversion).getApiResource,
|
|
59
51
|
/** Get runtime status belonging to an AppInstallation. */
|
|
60
52
|
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,
|
|
61
55
|
});
|
|
62
56
|
const buildArticleApi = (baseClient) => ({
|
|
63
57
|
/** Get an Article. */
|
|
@@ -286,16 +280,16 @@ const buildDatabaseApi = (baseClient) => ({
|
|
|
286
280
|
listRedisVersions: new ApiCallAsyncResourceFactory(descriptors.databaseListRedisVersions, baseClient.database.listRedisVersions).getApiResource,
|
|
287
281
|
});
|
|
288
282
|
const buildDomainApi = (baseClient) => ({
|
|
289
|
-
/** List
|
|
290
|
-
|
|
283
|
+
/** List Domains */
|
|
284
|
+
listDomains: new ApiCallAsyncResourceFactory(descriptors.domainListDomains, baseClient.domain.listDomains).getApiResource,
|
|
291
285
|
/** Get a DNSZone. */
|
|
292
286
|
dnsGetDnsZone: new ApiCallAsyncResourceFactory(descriptors.dnsGetDnsZone, baseClient.domain.dnsGetDnsZone).getApiResource,
|
|
293
287
|
/** Get a zone file for a DNSZone. */
|
|
294
288
|
dnsGetZoneFile: new ApiCallAsyncResourceFactory(descriptors.dnsGetZoneFile, baseClient.domain.dnsGetZoneFile).getApiResource,
|
|
295
289
|
/** List DNSZones belonging to a Project. */
|
|
296
290
|
dnsListDnsZones: new ApiCallAsyncResourceFactory(descriptors.dnsListDnsZones, baseClient.domain.dnsListDnsZones).getApiResource,
|
|
297
|
-
/** Get a
|
|
298
|
-
|
|
291
|
+
/** Get a Domain. */
|
|
292
|
+
getDomain: new ApiCallAsyncResourceFactory(descriptors.domainGetDomain, baseClient.domain.getDomain).getApiResource,
|
|
299
293
|
/** Get a Contact-Verification. */
|
|
300
294
|
getContactVerification: new ApiCallAsyncResourceFactory(descriptors.domainGetContactVerification, baseClient.domain.getContactVerification).getApiResource,
|
|
301
295
|
/** Get the latest screenshot's FileReference belonging to a Domain. */
|
|
@@ -306,8 +300,6 @@ const buildDomainApi = (baseClient) => ({
|
|
|
306
300
|
listTldContactSchemas: new ApiCallAsyncResourceFactory(descriptors.domainListTldContactSchemas, baseClient.domain.listTldContactSchemas).getApiResource,
|
|
307
301
|
/** List TLDs. */
|
|
308
302
|
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,
|
|
311
303
|
/** List Domain-Migrations belonging to a Project. */
|
|
312
304
|
migrationListMigrationsByProjectId: new ApiCallAsyncResourceFactory(descriptors.domainMigrationListMigrationsByProjectId, baseClient.domain.migrationListMigrationsByProjectId).getApiResource,
|
|
313
305
|
/** Suggest a list of domains based on a prompt using AI. */
|
|
@@ -324,8 +316,6 @@ const buildDomainApi = (baseClient) => ({
|
|
|
324
316
|
sslGetCertificate: new ApiCallAsyncResourceFactory(descriptors.sslGetCertificate, baseClient.domain.sslGetCertificate).getApiResource,
|
|
325
317
|
/** List Certificates belonging to a Project or an Ingress. */
|
|
326
318
|
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,
|
|
329
319
|
});
|
|
330
320
|
const buildFileApi = (baseClient) => ({
|
|
331
321
|
/** Get a File's meta. */
|
|
@@ -384,10 +374,6 @@ const buildMailApi = (baseClient) => ({
|
|
|
384
374
|
listMailRateLimits: new ApiCallAsyncResourceFactory(descriptors.mailListMailRateLimits, baseClient.mail.listMailRateLimits).getApiResource,
|
|
385
375
|
/** List mail settings of a Project. */
|
|
386
376
|
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,
|
|
391
377
|
});
|
|
392
378
|
const buildMiscApi = (baseClient) => ({
|
|
393
379
|
/** List valid time zones. */
|
|
@@ -12,10 +12,6 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
12
12
|
customerGetKeys: this.requestFunctionFactory(descriptors.aiHostingCustomerGetKeys),
|
|
13
13
|
/** Creates a new key. */
|
|
14
14
|
customerCreateKey: this.requestFunctionFactory(descriptors.aiHostingCustomerCreateKey),
|
|
15
|
-
/** 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),
|
|
19
15
|
/** Get a key of a customer. */
|
|
20
16
|
customerGetKey: this.requestFunctionFactory(descriptors.aiHostingCustomerGetKey),
|
|
21
17
|
/** Update a key for a customer. */
|
|
@@ -24,11 +20,7 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
24
20
|
customerDeleteKey: this.requestFunctionFactory(descriptors.aiHostingCustomerDeleteKey),
|
|
25
21
|
/** Get a list of currently active models. */
|
|
26
22
|
customerGetDetailedModels: this.requestFunctionFactory(descriptors.aiHostingCustomerGetDetailedModels),
|
|
27
|
-
/** Get ai hosting plan and usages of a customer
|
|
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. */
|
|
23
|
+
/** Get ai hosting plan and usages of a customer. */
|
|
32
24
|
customerGetUsage: this.requestFunctionFactory(descriptors.aiHostingCustomerGetUsage),
|
|
33
25
|
/** Get a list of currently active models. */
|
|
34
26
|
getModels: this.requestFunctionFactory(descriptors.aiHostingGetModels),
|
|
@@ -44,8 +36,6 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
44
36
|
projectDeleteKey: this.requestFunctionFactory(descriptors.aiHostingProjectDeleteKey),
|
|
45
37
|
/** Get a list of currently active models. */
|
|
46
38
|
projectGetDetailedModels: this.requestFunctionFactory(descriptors.aiHostingProjectGetDetailedModels),
|
|
47
|
-
/** Get all ai hosting plans and usages of a project. */
|
|
48
|
-
projectGetPlans: this.requestFunctionFactory(descriptors.aiHostingProjectGetPlans),
|
|
49
39
|
/** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
|
|
50
40
|
projectGetUsage: this.requestFunctionFactory(descriptors.aiHostingProjectGetUsage),
|
|
51
41
|
/** Links a container with a project licence. */
|
|
@@ -53,8 +43,6 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
53
43
|
};
|
|
54
44
|
/** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
|
|
55
45
|
app = {
|
|
56
|
-
/** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
|
|
57
|
-
getAppInstallationSystemSoftware: this.requestFunctionFactory(descriptors.appGetAppInstallationSystemSoftware),
|
|
58
46
|
/** Get an App. */
|
|
59
47
|
getApp: this.requestFunctionFactory(descriptors.appGetApp),
|
|
60
48
|
/** Get an AppInstallation. */
|
|
@@ -93,12 +81,8 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
93
81
|
retrieveStatus: this.requestFunctionFactory(descriptors.appRetrieveStatus),
|
|
94
82
|
/** Remove linkage between an AppInstallation and a Database. */
|
|
95
83
|
unlinkDatabase: this.requestFunctionFactory(descriptors.appUnlinkDatabase),
|
|
96
|
-
/**
|
|
97
|
-
|
|
98
|
-
/** Promote a staging AppInstallation. */
|
|
99
|
-
promoteAppinstallationStaging: this.requestFunctionFactory(descriptors.appPromoteAppinstallationStaging),
|
|
100
|
-
/** Request a staging for an AppInstallation. */
|
|
101
|
-
requestAppinstallationStaging: this.requestFunctionFactory(descriptors.appRequestAppinstallationStaging),
|
|
84
|
+
/** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
|
|
85
|
+
getAppInstallationSystemSoftware: this.requestFunctionFactory(descriptors.appGetAppInstallationSystemSoftware),
|
|
102
86
|
};
|
|
103
87
|
/** The article API allows you to read article information. */
|
|
104
88
|
article = {
|
|
@@ -557,14 +541,16 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
557
541
|
};
|
|
558
542
|
/** The domain API allows you to manage your domains, DNS records, SSL certificates and ingress resources. */
|
|
559
543
|
domain = {
|
|
560
|
-
/** List
|
|
561
|
-
|
|
544
|
+
/** List Domains */
|
|
545
|
+
listDomains: this.requestFunctionFactory(descriptors.domainListDomains),
|
|
562
546
|
/** Update the nameservers of a Domain. */
|
|
563
547
|
updateDomainNameservers: this.requestFunctionFactory(descriptors.domainUpdateDomainNameservers),
|
|
564
548
|
/** Update the paths of an Ingress. */
|
|
565
549
|
ingressUpdateIngressPaths: this.requestFunctionFactory(descriptors.ingressUpdateIngressPaths),
|
|
566
550
|
/** Update the tls settings of an Ingress. */
|
|
567
551
|
ingressUpdateIngressTls: this.requestFunctionFactory(descriptors.ingressUpdateIngressTls),
|
|
552
|
+
/** Create a DNSZone. */
|
|
553
|
+
dnsCreateDnsZone: this.requestFunctionFactory(descriptors.dnsCreateDnsZone),
|
|
568
554
|
/** Get a DNSZone. */
|
|
569
555
|
dnsGetDnsZone: this.requestFunctionFactory(descriptors.dnsGetDnsZone),
|
|
570
556
|
/** Delete a DNSZone. */
|
|
@@ -573,8 +559,6 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
573
559
|
dnsGetZoneFile: this.requestFunctionFactory(descriptors.dnsGetZoneFile),
|
|
574
560
|
/** List DNSZones belonging to a Project. */
|
|
575
561
|
dnsListDnsZones: this.requestFunctionFactory(descriptors.dnsListDnsZones),
|
|
576
|
-
/** Create a DNSZone for a domain in a Project. */
|
|
577
|
-
dnsCreateProjectDnsZone: this.requestFunctionFactory(descriptors.dnsCreateProjectDnsZone),
|
|
578
562
|
/** Set a record set on a DNSZone to managed. */
|
|
579
563
|
dnsSetRecordSetManaged: this.requestFunctionFactory(descriptors.dnsSetRecordSetManaged),
|
|
580
564
|
/** Update a record set on a DNSZone. */
|
|
@@ -591,8 +575,8 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
591
575
|
checkDomainTransferability: this.requestFunctionFactory(descriptors.domainCheckDomainTransferability),
|
|
592
576
|
/** Create an auth code for a Domains transfer-out process. */
|
|
593
577
|
createDomainAuthCode: this.requestFunctionFactory(descriptors.domainCreateDomainAuthCode),
|
|
594
|
-
/** Get a
|
|
595
|
-
|
|
578
|
+
/** Get a Domain. */
|
|
579
|
+
getDomain: this.requestFunctionFactory(descriptors.domainGetDomain),
|
|
596
580
|
/** Delete a Domain. */
|
|
597
581
|
deleteDomain: this.requestFunctionFactory(descriptors.domainDeleteDomain),
|
|
598
582
|
/** Get a Contact-Verification. */
|
|
@@ -605,14 +589,8 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
605
589
|
listTldContactSchemas: this.requestFunctionFactory(descriptors.domainListTldContactSchemas),
|
|
606
590
|
/** List TLDs. */
|
|
607
591
|
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),
|
|
612
592
|
/** List Domain-Migrations belonging to a Project. */
|
|
613
593
|
migrationListMigrationsByProjectId: this.requestFunctionFactory(descriptors.domainMigrationListMigrationsByProjectId),
|
|
614
|
-
/** Order a Domain-Migration from a pAccount into a Project. */
|
|
615
|
-
migrationOrderDomainMigration: this.requestFunctionFactory(descriptors.domainMigrationOrderDomainMigration),
|
|
616
594
|
/** Resends a Contact-Verification email. */
|
|
617
595
|
resendContactVerificationEmail: this.requestFunctionFactory(descriptors.domainResendContactVerificationEmail),
|
|
618
596
|
/** Resend a Domain email. */
|
|
@@ -657,14 +635,6 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
657
635
|
sslReplaceCertificate: this.requestFunctionFactory(descriptors.sslReplaceCertificate),
|
|
658
636
|
/** List Certificates belonging to a Project or an Ingress. */
|
|
659
637
|
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),
|
|
668
638
|
};
|
|
669
639
|
/** The mail API allows you to manage your mail accounts. */
|
|
670
640
|
mail = {
|
|
@@ -708,14 +678,6 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
708
678
|
listMailRateLimits: this.requestFunctionFactory(descriptors.mailListMailRateLimits),
|
|
709
679
|
/** List mail settings of a Project. */
|
|
710
680
|
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),
|
|
719
681
|
/** Recover emails for a MailAddress from a backup. */
|
|
720
682
|
recoverMailAddressEmails: this.requestFunctionFactory(descriptors.mailRecoverMailAddressEmails),
|
|
721
683
|
/** Request a rate limit change for a MailAddress. */
|