@mittwald/api-client 0.0.0-development-8335166-20260625 → 0.0.0-experimental-dev-9ded0ba9-20260706
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 +0 -10
- package/dist/esm/generated/v2/client.js +2 -24
- package/dist/esm/generated/v2/descriptors.js +6 -72
- package/dist/esm/generated/v3-next/client-react.js +559 -0
- package/dist/esm/generated/v3-next/client.js +1026 -0
- package/dist/esm/generated/v3-next/descriptors.js +2838 -0
- package/dist/esm/generated/v3-next/types.js +1 -0
- package/dist/esm/v2/index.js +2 -0
- package/dist/esm/v3-next/default.js +38 -0
- package/dist/esm/v3-next/index.js +2 -0
- package/dist/esm/v3-next/react.js +3 -0
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +0 -59
- package/dist/types/generated/v2/client.d.ts +65 -683
- package/dist/types/generated/v2/descriptors.d.ts +2 -24
- package/dist/types/generated/v2/types.d.ts +216 -695
- package/dist/types/generated/v3-next/client-react.d.ts +3788 -0
- package/dist/types/generated/v3-next/client.d.ts +31301 -0
- package/dist/types/generated/v3-next/descriptors.d.ts +951 -0
- package/dist/types/generated/v3-next/types.d.ts +31389 -0
- package/dist/types/v2/index.d.ts +3 -0
- package/dist/types/v3-next/default.d.ts +12 -0
- package/dist/types/v3-next/index.d.ts +3 -0
- package/dist/types/v3-next/react.d.ts +3 -0
- package/dist/types/version.d.ts +1 -1
- package/package.json +35 -10
- package/LICENSE +0 -21
|
@@ -296,8 +296,6 @@ const buildDomainApi = (baseClient) => ({
|
|
|
296
296
|
listTldContactSchemas: new ApiCallAsyncResourceFactory(descriptors.domainListTldContactSchemas, baseClient.domain.listTldContactSchemas).getApiResource,
|
|
297
297
|
/** List TLDs. */
|
|
298
298
|
listTlds: new ApiCallAsyncResourceFactory(descriptors.domainListTlds, baseClient.domain.listTlds).getApiResource,
|
|
299
|
-
/** List Domain-Migrations belonging to a pAccount. */
|
|
300
|
-
migrationListMigrationsByPaccount: new ApiCallAsyncResourceFactory(descriptors.domainMigrationListMigrationsByPaccount, baseClient.domain.migrationListMigrationsByPaccount).getApiResource,
|
|
301
299
|
/** List Domain-Migrations belonging to a Project. */
|
|
302
300
|
migrationListMigrationsByProjectId: new ApiCallAsyncResourceFactory(descriptors.domainMigrationListMigrationsByProjectId, baseClient.domain.migrationListMigrationsByProjectId).getApiResource,
|
|
303
301
|
/** Suggest a list of domains based on a prompt using AI. */
|
|
@@ -362,20 +360,12 @@ const buildMailApi = (baseClient) => ({
|
|
|
362
360
|
getDeliveryBox: new ApiCallAsyncResourceFactory(descriptors.mailGetDeliveryBox, baseClient.mail.getDeliveryBox).getApiResource,
|
|
363
361
|
/** Get a MailAddress. */
|
|
364
362
|
getMailAddress: new ApiCallAsyncResourceFactory(descriptors.mailGetMailAddress, baseClient.mail.getMailAddress).getApiResource,
|
|
365
|
-
/** Get a Mail RateLimit. */
|
|
366
|
-
getMailRateLimit: new ApiCallAsyncResourceFactory(descriptors.mailGetMailRateLimit, baseClient.mail.getMailRateLimit).getApiResource,
|
|
367
363
|
/** List backups belonging to a MailAddress. */
|
|
368
364
|
listBackupsForMailAddress: new ApiCallAsyncResourceFactory(descriptors.mailListBackupsForMailAddress, baseClient.mail.listBackupsForMailAddress).getApiResource,
|
|
369
365
|
/** List MailAddresses. */
|
|
370
366
|
listMailAddressesForUser: new ApiCallAsyncResourceFactory(descriptors.mailListMailAddressesForUser, baseClient.mail.listMailAddressesForUser).getApiResource,
|
|
371
|
-
/** List Mail RateLimits. */
|
|
372
|
-
listMailRateLimits: new ApiCallAsyncResourceFactory(descriptors.mailListMailRateLimits, baseClient.mail.listMailRateLimits).getApiResource,
|
|
373
367
|
/** List mail settings of a Project. */
|
|
374
368
|
listProjectMailSettings: new ApiCallAsyncResourceFactory(descriptors.mailListProjectMailSettings, baseClient.mail.listProjectMailSettings).getApiResource,
|
|
375
|
-
/** Get a Migration. */
|
|
376
|
-
migrationGetMigration: new ApiCallAsyncResourceFactory(descriptors.mailMigrationGetMigration, baseClient.mail.migrationGetMigration).getApiResource,
|
|
377
|
-
/** List Migrations belonging to a Project in customer center or mStudio. */
|
|
378
|
-
migrationListMigrations: new ApiCallAsyncResourceFactory(descriptors.mailMigrationListMigrations, baseClient.mail.migrationListMigrations).getApiResource,
|
|
379
369
|
});
|
|
380
370
|
const buildMiscApi = (baseClient) => ({
|
|
381
371
|
/** List valid time zones. */
|
|
@@ -85,10 +85,10 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
85
85
|
requestAppinstallationCopy: this.requestFunctionFactory(descriptors.appRequestAppinstallationCopy),
|
|
86
86
|
/** Get runtime status belonging to an AppInstallation. */
|
|
87
87
|
retrieveStatus: this.requestFunctionFactory(descriptors.appRetrieveStatus),
|
|
88
|
-
/** Create linkage between an AppInstallation and DatabaseUsers. */
|
|
89
|
-
setDatabaseUsers: this.requestFunctionFactory(descriptors.appSetDatabaseUsers),
|
|
90
88
|
/** Remove linkage between an AppInstallation and a Database. */
|
|
91
89
|
unlinkDatabase: this.requestFunctionFactory(descriptors.appUnlinkDatabase),
|
|
90
|
+
/** Create linkage between an AppInstallation and DatabaseUsers. */
|
|
91
|
+
setDatabaseUsers: this.requestFunctionFactory(descriptors.appSetDatabaseUsers),
|
|
92
92
|
};
|
|
93
93
|
/** The article API allows you to read article information. */
|
|
94
94
|
article = {
|
|
@@ -605,14 +605,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
605
605
|
listTldContactSchemas: this.requestFunctionFactory(descriptors.domainListTldContactSchemas),
|
|
606
606
|
/** List TLDs. */
|
|
607
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),
|
|
612
608
|
/** List Domain-Migrations belonging to a Project. */
|
|
613
609
|
migrationListMigrationsByProjectId: this.requestFunctionFactory(descriptors.domainMigrationListMigrationsByProjectId),
|
|
614
|
-
/** Order a Domain-Migration from a pAccount into a Project. */
|
|
615
|
-
migrationOrderDomainMigration: this.requestFunctionFactory(descriptors.domainMigrationOrderDomainMigration),
|
|
616
610
|
/** Resends a Contact-Verification email. */
|
|
617
611
|
resendContactVerificationEmail: this.requestFunctionFactory(descriptors.domainResendContactVerificationEmail),
|
|
618
612
|
/** Resend a Domain email. */
|
|
@@ -657,8 +651,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
657
651
|
sslReplaceCertificate: this.requestFunctionFactory(descriptors.sslReplaceCertificate),
|
|
658
652
|
/** List Certificates belonging to a Project or an Ingress. */
|
|
659
653
|
sslListCertificates: this.requestFunctionFactory(descriptors.sslListCertificates),
|
|
660
|
-
/** Update the certificate of a CertificateRequest. */
|
|
661
|
-
sslSetCertificateRequestCertificate: this.requestFunctionFactory(descriptors.sslSetCertificateRequestCertificate),
|
|
662
654
|
};
|
|
663
655
|
/** The mail API allows you to manage your mail accounts. */
|
|
664
656
|
mail = {
|
|
@@ -692,28 +684,14 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
692
684
|
deleteMailAddress: this.requestFunctionFactory(descriptors.mailDeleteMailAddress),
|
|
693
685
|
/** Disable the mail-archive of a MailAddress. */
|
|
694
686
|
disableMailArchive: this.requestFunctionFactory(descriptors.mailDisableMailArchive),
|
|
695
|
-
/** Get a Mail RateLimit. */
|
|
696
|
-
getMailRateLimit: this.requestFunctionFactory(descriptors.mailGetMailRateLimit),
|
|
697
687
|
/** List backups belonging to a MailAddress. */
|
|
698
688
|
listBackupsForMailAddress: this.requestFunctionFactory(descriptors.mailListBackupsForMailAddress),
|
|
699
689
|
/** List MailAddresses. */
|
|
700
690
|
listMailAddressesForUser: this.requestFunctionFactory(descriptors.mailListMailAddressesForUser),
|
|
701
|
-
/** List Mail RateLimits. */
|
|
702
|
-
listMailRateLimits: this.requestFunctionFactory(descriptors.mailListMailRateLimits),
|
|
703
691
|
/** List mail settings of a Project. */
|
|
704
692
|
listProjectMailSettings: this.requestFunctionFactory(descriptors.mailListProjectMailSettings),
|
|
705
|
-
/** Check if a Migration between two projects is possible. */
|
|
706
|
-
migrationCheckMigrationIsPossible: this.requestFunctionFactory(descriptors.mailMigrationCheckMigrationIsPossible),
|
|
707
|
-
/** Get a Migration. */
|
|
708
|
-
migrationGetMigration: this.requestFunctionFactory(descriptors.mailMigrationGetMigration),
|
|
709
|
-
/** List Migrations belonging to a Project in customer center or mStudio. */
|
|
710
|
-
migrationListMigrations: this.requestFunctionFactory(descriptors.mailMigrationListMigrations),
|
|
711
|
-
/** Request a Mail Migration between two projects. */
|
|
712
|
-
migrationRequestMailMigration: this.requestFunctionFactory(descriptors.mailMigrationRequestMailMigration),
|
|
713
693
|
/** Recover emails for a MailAddress from a backup. */
|
|
714
694
|
recoverMailAddressEmails: this.requestFunctionFactory(descriptors.mailRecoverMailAddressEmails),
|
|
715
|
-
/** Request a rate limit change for a MailAddress. */
|
|
716
|
-
requestMailAddressRateLimitChange: this.requestFunctionFactory(descriptors.mailRequestMailAddressRateLimitChange),
|
|
717
695
|
/** Update the description of a DeliveryBox. */
|
|
718
696
|
updateDeliveryBoxDescription: this.requestFunctionFactory(descriptors.mailUpdateDeliveryBoxDescription),
|
|
719
697
|
/** Update the password of a DeliveryBox. */
|
|
@@ -226,18 +226,18 @@ export const appRetrieveStatus = {
|
|
|
226
226
|
method: "GET",
|
|
227
227
|
operationId: "app-retrieve-status",
|
|
228
228
|
};
|
|
229
|
-
/** Create linkage between an AppInstallation and DatabaseUsers. */
|
|
230
|
-
export const appSetDatabaseUsers = {
|
|
231
|
-
path: "/v2/app-installations/{appInstallationId}/databases/{databaseId}/users",
|
|
232
|
-
method: "PUT",
|
|
233
|
-
operationId: "app-set-database-users",
|
|
234
|
-
};
|
|
235
229
|
/** Remove linkage between an AppInstallation and a Database. */
|
|
236
230
|
export const appUnlinkDatabase = {
|
|
237
231
|
path: "/v2/app-installations/{appInstallationId}/databases/{databaseId}",
|
|
238
232
|
method: "DELETE",
|
|
239
233
|
operationId: "app-unlink-database",
|
|
240
234
|
};
|
|
235
|
+
/** Create linkage between an AppInstallation and DatabaseUsers. */
|
|
236
|
+
export const appSetDatabaseUsers = {
|
|
237
|
+
path: "/v2/app-installations/{appInstallationId}/databases/{databaseId}/users",
|
|
238
|
+
method: "PUT",
|
|
239
|
+
operationId: "app-set-database-users",
|
|
240
|
+
};
|
|
241
241
|
/** Get an Article. */
|
|
242
242
|
export const articleGetArticle = {
|
|
243
243
|
path: "/v2/articles/{articleId}",
|
|
@@ -1378,30 +1378,12 @@ export const domainListTlds = {
|
|
|
1378
1378
|
method: "GET",
|
|
1379
1379
|
operationId: "domain-list-tlds",
|
|
1380
1380
|
};
|
|
1381
|
-
/** Check if a Domain-Migration from a pAccount into a Project is possible. */
|
|
1382
|
-
export const domainMigrationCheckMigrationIsPossible = {
|
|
1383
|
-
path: "/v2/domain-migrations/actions/possibility-check",
|
|
1384
|
-
method: "POST",
|
|
1385
|
-
operationId: "domain-migration-check-migration-is-possible",
|
|
1386
|
-
};
|
|
1387
|
-
/** List Domain-Migrations belonging to a pAccount. */
|
|
1388
|
-
export const domainMigrationListMigrationsByPaccount = {
|
|
1389
|
-
path: "/v2/p-accounts/{pAccount}/domain-migrations",
|
|
1390
|
-
method: "GET",
|
|
1391
|
-
operationId: "domain-migration-list-migrations-by-p-account",
|
|
1392
|
-
};
|
|
1393
1381
|
/** List Domain-Migrations belonging to a Project. */
|
|
1394
1382
|
export const domainMigrationListMigrationsByProjectId = {
|
|
1395
1383
|
path: "/v2/projects/{projectId}/domain-migrations",
|
|
1396
1384
|
method: "GET",
|
|
1397
1385
|
operationId: "domain-migration-list-migrations-by-project-id",
|
|
1398
1386
|
};
|
|
1399
|
-
/** Order a Domain-Migration from a pAccount into a Project. */
|
|
1400
|
-
export const domainMigrationOrderDomainMigration = {
|
|
1401
|
-
path: "/v2/domain-migrations",
|
|
1402
|
-
method: "POST",
|
|
1403
|
-
operationId: "domain-migration-order-domain-migration",
|
|
1404
|
-
};
|
|
1405
1387
|
/** Resends a Contact-Verification email. */
|
|
1406
1388
|
export const domainResendContactVerificationEmail = {
|
|
1407
1389
|
path: "/v2/contact-verifications/{contactVerificationId}/actions/resend-contact-verification-email",
|
|
@@ -1984,12 +1966,6 @@ export const mailDisableMailArchive = {
|
|
|
1984
1966
|
method: "DELETE",
|
|
1985
1967
|
operationId: "mail-disable-mail-archive",
|
|
1986
1968
|
};
|
|
1987
|
-
/** Get a Mail RateLimit. */
|
|
1988
|
-
export const mailGetMailRateLimit = {
|
|
1989
|
-
path: "/v2/mail-rate-limits/{mailRateLimitId}",
|
|
1990
|
-
method: "GET",
|
|
1991
|
-
operationId: "mail-get-mail-rate-limit",
|
|
1992
|
-
};
|
|
1993
1969
|
/** List backups belonging to a MailAddress. */
|
|
1994
1970
|
export const mailListBackupsForMailAddress = {
|
|
1995
1971
|
path: "/v2/mail-addresses/{mailAddressId}/backups",
|
|
@@ -2002,54 +1978,18 @@ export const mailListMailAddressesForUser = {
|
|
|
2002
1978
|
method: "GET",
|
|
2003
1979
|
operationId: "mail-list-mail-addresses-for-user",
|
|
2004
1980
|
};
|
|
2005
|
-
/** List Mail RateLimits. */
|
|
2006
|
-
export const mailListMailRateLimits = {
|
|
2007
|
-
path: "/v2/mail-rate-limits",
|
|
2008
|
-
method: "GET",
|
|
2009
|
-
operationId: "mail-list-mail-rate-limits",
|
|
2010
|
-
};
|
|
2011
1981
|
/** List mail settings of a Project. */
|
|
2012
1982
|
export const mailListProjectMailSettings = {
|
|
2013
1983
|
path: "/v2/projects/{projectId}/mail-settings",
|
|
2014
1984
|
method: "GET",
|
|
2015
1985
|
operationId: "mail-list-project-mail-settings",
|
|
2016
1986
|
};
|
|
2017
|
-
/** Check if a Migration between two projects is possible. */
|
|
2018
|
-
export const mailMigrationCheckMigrationIsPossible = {
|
|
2019
|
-
path: "/v2/mail-migrations/actions/possibility-check",
|
|
2020
|
-
method: "POST",
|
|
2021
|
-
operationId: "mail-migration-check-migration-is-possible",
|
|
2022
|
-
};
|
|
2023
|
-
/** Get a Migration. */
|
|
2024
|
-
export const mailMigrationGetMigration = {
|
|
2025
|
-
path: "/v2/mail-migrations/{migrationId}",
|
|
2026
|
-
method: "GET",
|
|
2027
|
-
operationId: "mail-migration-get-migration",
|
|
2028
|
-
};
|
|
2029
|
-
/** List Migrations belonging to a Project in customer center or mStudio. */
|
|
2030
|
-
export const mailMigrationListMigrations = {
|
|
2031
|
-
path: "/v2/mail-migrations",
|
|
2032
|
-
method: "GET",
|
|
2033
|
-
operationId: "mail-migration-list-migrations",
|
|
2034
|
-
};
|
|
2035
|
-
/** Request a Mail Migration between two projects. */
|
|
2036
|
-
export const mailMigrationRequestMailMigration = {
|
|
2037
|
-
path: "/v2/mail-migrations/actions/request",
|
|
2038
|
-
method: "POST",
|
|
2039
|
-
operationId: "mail-migration-request-mail-migration",
|
|
2040
|
-
};
|
|
2041
1987
|
/** Recover emails for a MailAddress from a backup. */
|
|
2042
1988
|
export const mailRecoverMailAddressEmails = {
|
|
2043
1989
|
path: "/v2/mail-addresses/{mailAddressId}/backups/{backupId}/recovery",
|
|
2044
1990
|
method: "POST",
|
|
2045
1991
|
operationId: "mail-recover-mail-address-emails",
|
|
2046
1992
|
};
|
|
2047
|
-
/** Request a rate limit change for a MailAddress. */
|
|
2048
|
-
export const mailRequestMailAddressRateLimitChange = {
|
|
2049
|
-
path: "/v2/mail-addresses/{mailAddressId}/request-rate-limit-change",
|
|
2050
|
-
method: "POST",
|
|
2051
|
-
operationId: "mail-request-mail-address-rate-limit-change",
|
|
2052
|
-
};
|
|
2053
1993
|
/** Update the description of a DeliveryBox. */
|
|
2054
1994
|
export const mailUpdateDeliveryBoxDescription = {
|
|
2055
1995
|
path: "/v2/delivery-boxes/{deliveryBoxId}/description",
|
|
@@ -2536,12 +2476,6 @@ export const sslListCertificates = {
|
|
|
2536
2476
|
method: "GET",
|
|
2537
2477
|
operationId: "ssl-list-certificates",
|
|
2538
2478
|
};
|
|
2539
|
-
/** Update the certificate of a CertificateRequest. */
|
|
2540
|
-
export const sslSetCertificateRequestCertificate = {
|
|
2541
|
-
path: "/v2/certificate-requests/{certificateRequestId}/certificate",
|
|
2542
|
-
method: "PATCH",
|
|
2543
|
-
operationId: "ssl-set-certificate-request-certificate",
|
|
2544
|
-
};
|
|
2545
2479
|
/** Get storage space Statistics belonging to a Project. */
|
|
2546
2480
|
export const storagespaceGetProjectStatistics = {
|
|
2547
2481
|
path: "/v2/projects/{projectId}/storage-space-statistics",
|