@mittwald/api-client 0.0.0-development-585bae3-20250905 → 0.0.0-development-3b1e80f-20250909
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 +10 -10
- package/dist/esm/generated/v2/client.js +55 -53
- package/dist/esm/generated/v2/descriptors.js +132 -126
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +75 -59
- package/dist/types/generated/v2/client.d.ts +3552 -3463
- package/dist/types/generated/v2/descriptors.d.ts +44 -42
- package/dist/types/generated/v2/types.d.ts +4301 -4226
- package/dist/types/version.d.ts +1 -1
- package/package.json +4 -4
|
@@ -296,22 +296,22 @@ const buildLeadFyndrApi = (baseClient) => ({
|
|
|
296
296
|
leadfyndrListUnlockedLeads: new ApiCallAsyncResourceFactory(descriptors.leadfyndrListUnlockedLeads, baseClient.leadFyndr.leadfyndrListUnlockedLeads).getApiResource,
|
|
297
297
|
});
|
|
298
298
|
const buildMailApi = (baseClient) => ({
|
|
299
|
-
/**
|
|
300
|
-
|
|
301
|
-
/** List
|
|
302
|
-
|
|
299
|
+
/** Get a Migration. */
|
|
300
|
+
migrationGetMigration: new ApiCallAsyncResourceFactory(descriptors.mailMigrationGetMigration, baseClient.mail.migrationGetMigration).getApiResource,
|
|
301
|
+
/** List Migrations belonging to a Project in customer center or mStudio. */
|
|
302
|
+
migrationListMigrations: new ApiCallAsyncResourceFactory(descriptors.mailMigrationListMigrations, baseClient.mail.migrationListMigrations).getApiResource,
|
|
303
303
|
/** Get a DeliveryBox. */
|
|
304
304
|
getDeliveryBox: new ApiCallAsyncResourceFactory(descriptors.mailGetDeliveryBox, baseClient.mail.getDeliveryBox).getApiResource,
|
|
305
|
-
/** Get a MailAddress. */
|
|
306
|
-
getMailAddress: new ApiCallAsyncResourceFactory(descriptors.mailGetMailAddress, baseClient.mail.getMailAddress).getApiResource,
|
|
307
305
|
/** List backups belonging to a MailAddress. */
|
|
308
306
|
listBackupsForMailAddress: new ApiCallAsyncResourceFactory(descriptors.mailListBackupsForMailAddress, baseClient.mail.listBackupsForMailAddress).getApiResource,
|
|
307
|
+
/** List MailAddresses belonging to a Project. */
|
|
308
|
+
listMailAddresses: new ApiCallAsyncResourceFactory(descriptors.mailListMailAddresses, baseClient.mail.listMailAddresses).getApiResource,
|
|
309
|
+
/** List DeliveryBoxes belonging to a Project. */
|
|
310
|
+
listDeliveryBoxes: new ApiCallAsyncResourceFactory(descriptors.mailListDeliveryBoxes, baseClient.mail.listDeliveryBoxes).getApiResource,
|
|
311
|
+
/** Get a MailAddress. */
|
|
312
|
+
getMailAddress: new ApiCallAsyncResourceFactory(descriptors.mailGetMailAddress, baseClient.mail.getMailAddress).getApiResource,
|
|
309
313
|
/** List mail settings of a Project. */
|
|
310
314
|
listProjectMailSettings: new ApiCallAsyncResourceFactory(descriptors.mailListProjectMailSettings, baseClient.mail.listProjectMailSettings).getApiResource,
|
|
311
|
-
/** Get a Migration. */
|
|
312
|
-
migrationGetMigration: new ApiCallAsyncResourceFactory(descriptors.mailMigrationGetMigration, baseClient.mail.migrationGetMigration).getApiResource,
|
|
313
|
-
/** List Migrations belonging to a Project in customer center or mStudio. */
|
|
314
|
-
migrationListMigrations: new ApiCallAsyncResourceFactory(descriptors.mailMigrationListMigrations, baseClient.mail.migrationListMigrations).getApiResource,
|
|
315
315
|
});
|
|
316
316
|
const buildMiscApi = (baseClient) => ({
|
|
317
317
|
/** Get a list of currently active llm models. */
|
|
@@ -567,59 +567,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
567
567
|
/** Update the certificate of a CertificateRequest. */
|
|
568
568
|
sslSetCertificateRequestCertificate: this.requestFunctionFactory(descriptors.sslSetCertificateRequestCertificate),
|
|
569
569
|
};
|
|
570
|
-
/** The mail API allows you to manage your mail accounts. */
|
|
571
|
-
mail = {
|
|
572
|
-
/** Update the autoresponder of a MailAddress. */
|
|
573
|
-
updateMailAddressAutoresponder: this.requestFunctionFactory(descriptors.mailUpdateMailAddressAutoresponder),
|
|
574
|
-
/** Update the forward addresses of a MailAddresses. */
|
|
575
|
-
updateMailAddressForwardAddresses: this.requestFunctionFactory(descriptors.mailUpdateMailAddressForwardAddresses),
|
|
576
|
-
/** Update the password for a MailAddress. */
|
|
577
|
-
updateMailAddressPassword: this.requestFunctionFactory(descriptors.mailUpdateMailAddressPassword),
|
|
578
|
-
/** Update the quota of a MailAddress. */
|
|
579
|
-
updateMailAddressQuota: this.requestFunctionFactory(descriptors.mailUpdateMailAddressQuota),
|
|
580
|
-
/** Update the spam protection of a MailAddress. */
|
|
581
|
-
updateMailAddressSpamProtection: this.requestFunctionFactory(descriptors.mailUpdateMailAddressSpamProtection),
|
|
582
|
-
/** List DeliveryBoxes belonging to a Project. */
|
|
583
|
-
listDeliveryBoxes: this.requestFunctionFactory(descriptors.mailListDeliveryBoxes),
|
|
584
|
-
/** Create a DeliveryBox. */
|
|
585
|
-
createDeliverybox: this.requestFunctionFactory(descriptors.mailCreateDeliverybox),
|
|
586
|
-
/** List MailAddresses belonging to a Project. */
|
|
587
|
-
listMailAddresses: this.requestFunctionFactory(descriptors.mailListMailAddresses),
|
|
588
|
-
/** Create a MailAddress. */
|
|
589
|
-
createMailAddress: this.requestFunctionFactory(descriptors.mailCreateMailAddress),
|
|
590
|
-
/** Get a DeliveryBox. */
|
|
591
|
-
getDeliveryBox: this.requestFunctionFactory(descriptors.mailGetDeliveryBox),
|
|
592
|
-
/** Delete a DeliveryBox. */
|
|
593
|
-
deleteDeliveryBox: this.requestFunctionFactory(descriptors.mailDeleteDeliveryBox),
|
|
594
|
-
/** Get a MailAddress. */
|
|
595
|
-
getMailAddress: this.requestFunctionFactory(descriptors.mailGetMailAddress),
|
|
596
|
-
/** Delete a MailAddress. */
|
|
597
|
-
deleteMailAddress: this.requestFunctionFactory(descriptors.mailDeleteMailAddress),
|
|
598
|
-
/** List backups belonging to a MailAddress. */
|
|
599
|
-
listBackupsForMailAddress: this.requestFunctionFactory(descriptors.mailListBackupsForMailAddress),
|
|
600
|
-
/** List mail settings of a Project. */
|
|
601
|
-
listProjectMailSettings: this.requestFunctionFactory(descriptors.mailListProjectMailSettings),
|
|
602
|
-
/** Check if a Migration between two projects is possible. */
|
|
603
|
-
migrationCheckMigrationIsPossible: this.requestFunctionFactory(descriptors.mailMigrationCheckMigrationIsPossible),
|
|
604
|
-
/** Get a Migration. */
|
|
605
|
-
migrationGetMigration: this.requestFunctionFactory(descriptors.mailMigrationGetMigration),
|
|
606
|
-
/** List Migrations belonging to a Project in customer center or mStudio. */
|
|
607
|
-
migrationListMigrations: this.requestFunctionFactory(descriptors.mailMigrationListMigrations),
|
|
608
|
-
/** Request a Mail Migration between two projects. */
|
|
609
|
-
migrationRequestMailMigration: this.requestFunctionFactory(descriptors.mailMigrationRequestMailMigration),
|
|
610
|
-
/** Recover emails for a MailAddress from a backup. */
|
|
611
|
-
recoverMailAddressEmails: this.requestFunctionFactory(descriptors.mailRecoverMailAddressEmails),
|
|
612
|
-
/** Update the description of a DeliveryBox. */
|
|
613
|
-
updateDeliveryBoxDescription: this.requestFunctionFactory(descriptors.mailUpdateDeliveryBoxDescription),
|
|
614
|
-
/** Update the password of a DeliveryBox. */
|
|
615
|
-
updateDeliveryBoxPassword: this.requestFunctionFactory(descriptors.mailUpdateDeliveryBoxPassword),
|
|
616
|
-
/** Update a MailAddress. */
|
|
617
|
-
updateMailAddressAddress: this.requestFunctionFactory(descriptors.mailUpdateMailAddressAddress),
|
|
618
|
-
/** Update the catch-all of a MailAddress. */
|
|
619
|
-
updateMailAddressCatchAll: this.requestFunctionFactory(descriptors.mailUpdateMailAddressCatchAll),
|
|
620
|
-
/** Update a mail setting of a Project. */
|
|
621
|
-
updateProjectMailSetting: this.requestFunctionFactory(descriptors.mailUpdateProjectMailSetting),
|
|
622
|
-
};
|
|
623
570
|
/** The notification API allows you to manage your notifications. */
|
|
624
571
|
notification = {
|
|
625
572
|
/** Subscribe a user to the mStudio newsletter. */
|
|
@@ -790,6 +737,61 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
790
737
|
/** Removes a reservation on a unlocked lead for the given customerId. */
|
|
791
738
|
leadfyndrRemoveUnlockedLeadReservation: this.requestFunctionFactory(descriptors.leadfyndrRemoveUnlockedLeadReservation),
|
|
792
739
|
};
|
|
740
|
+
/** The mail API allows you to manage your mail accounts. */
|
|
741
|
+
mail = {
|
|
742
|
+
/** Check if a Migration between two projects is possible. */
|
|
743
|
+
migrationCheckMigrationIsPossible: this.requestFunctionFactory(descriptors.mailMigrationCheckMigrationIsPossible),
|
|
744
|
+
/** Get a Migration. */
|
|
745
|
+
migrationGetMigration: this.requestFunctionFactory(descriptors.mailMigrationGetMigration),
|
|
746
|
+
/** List Migrations belonging to a Project in customer center or mStudio. */
|
|
747
|
+
migrationListMigrations: this.requestFunctionFactory(descriptors.mailMigrationListMigrations),
|
|
748
|
+
/** Request a Mail Migration between two projects. */
|
|
749
|
+
migrationRequestMailMigration: this.requestFunctionFactory(descriptors.mailMigrationRequestMailMigration),
|
|
750
|
+
/** Get a DeliveryBox. */
|
|
751
|
+
getDeliveryBox: this.requestFunctionFactory(descriptors.mailGetDeliveryBox),
|
|
752
|
+
/** Delete a DeliveryBox. */
|
|
753
|
+
deleteDeliveryBox: this.requestFunctionFactory(descriptors.mailDeleteDeliveryBox),
|
|
754
|
+
/** Disable a MailAddress Archive. */
|
|
755
|
+
disableMailArchive: this.requestFunctionFactory(descriptors.mailDisableMailArchive),
|
|
756
|
+
/** List backups belonging to a MailAddress. */
|
|
757
|
+
listBackupsForMailAddress: this.requestFunctionFactory(descriptors.mailListBackupsForMailAddress),
|
|
758
|
+
/** Update the quota of a MailAddress. */
|
|
759
|
+
updateMailAddressQuota: this.requestFunctionFactory(descriptors.mailUpdateMailAddressQuota),
|
|
760
|
+
/** Update a MailAddress. */
|
|
761
|
+
updateMailAddressAddress: this.requestFunctionFactory(descriptors.mailUpdateMailAddressAddress),
|
|
762
|
+
/** Update the forward addresses of a MailAddresses. */
|
|
763
|
+
updateMailAddressForwardAddresses: this.requestFunctionFactory(descriptors.mailUpdateMailAddressForwardAddresses),
|
|
764
|
+
/** Recover emails for a MailAddress from a backup. */
|
|
765
|
+
recoverMailAddressEmails: this.requestFunctionFactory(descriptors.mailRecoverMailAddressEmails),
|
|
766
|
+
/** List MailAddresses belonging to a Project. */
|
|
767
|
+
listMailAddresses: this.requestFunctionFactory(descriptors.mailListMailAddresses),
|
|
768
|
+
/** Create a MailAddress. */
|
|
769
|
+
createMailAddress: this.requestFunctionFactory(descriptors.mailCreateMailAddress),
|
|
770
|
+
/** Update the password for a MailAddress. */
|
|
771
|
+
updateMailAddressPassword: this.requestFunctionFactory(descriptors.mailUpdateMailAddressPassword),
|
|
772
|
+
/** Update the spam protection of a MailAddress. */
|
|
773
|
+
updateMailAddressSpamProtection: this.requestFunctionFactory(descriptors.mailUpdateMailAddressSpamProtection),
|
|
774
|
+
/** List DeliveryBoxes belonging to a Project. */
|
|
775
|
+
listDeliveryBoxes: this.requestFunctionFactory(descriptors.mailListDeliveryBoxes),
|
|
776
|
+
/** Create a DeliveryBox. */
|
|
777
|
+
createDeliverybox: this.requestFunctionFactory(descriptors.mailCreateDeliverybox),
|
|
778
|
+
/** Update the password of a DeliveryBox. */
|
|
779
|
+
updateDeliveryBoxPassword: this.requestFunctionFactory(descriptors.mailUpdateDeliveryBoxPassword),
|
|
780
|
+
/** Update the autoresponder of a MailAddress. */
|
|
781
|
+
updateMailAddressAutoresponder: this.requestFunctionFactory(descriptors.mailUpdateMailAddressAutoresponder),
|
|
782
|
+
/** Get a MailAddress. */
|
|
783
|
+
getMailAddress: this.requestFunctionFactory(descriptors.mailGetMailAddress),
|
|
784
|
+
/** Delete a MailAddress. */
|
|
785
|
+
deleteMailAddress: this.requestFunctionFactory(descriptors.mailDeleteMailAddress),
|
|
786
|
+
/** Update a mail setting of a Project. */
|
|
787
|
+
updateProjectMailSetting: this.requestFunctionFactory(descriptors.mailUpdateProjectMailSetting),
|
|
788
|
+
/** Update the description of a DeliveryBox. */
|
|
789
|
+
updateDeliveryBoxDescription: this.requestFunctionFactory(descriptors.mailUpdateDeliveryBoxDescription),
|
|
790
|
+
/** Update the catch-all of a MailAddress. */
|
|
791
|
+
updateMailAddressCatchAll: this.requestFunctionFactory(descriptors.mailUpdateMailAddressCatchAll),
|
|
792
|
+
/** List mail settings of a Project. */
|
|
793
|
+
listProjectMailSettings: this.requestFunctionFactory(descriptors.mailListProjectMailSettings),
|
|
794
|
+
};
|
|
793
795
|
/** API endpoints that are not related to any specific API domain */
|
|
794
796
|
misc = {
|
|
795
797
|
/** Get a list of currently active llm models. */
|
|
@@ -1018,36 +1018,6 @@ export const ingressUpdateIngressTls = {
|
|
|
1018
1018
|
method: "PATCH",
|
|
1019
1019
|
operationId: "ingress-update-ingress-tls",
|
|
1020
1020
|
};
|
|
1021
|
-
/** Update the autoresponder of a MailAddress. */
|
|
1022
|
-
export const mailUpdateMailAddressAutoresponder = {
|
|
1023
|
-
path: "/v2/mail-addresses/{mailAddressId}/autoresponder",
|
|
1024
|
-
method: "PATCH",
|
|
1025
|
-
operationId: "mail-update-mail-address-autoresponder",
|
|
1026
|
-
};
|
|
1027
|
-
/** Update the forward addresses of a MailAddresses. */
|
|
1028
|
-
export const mailUpdateMailAddressForwardAddresses = {
|
|
1029
|
-
path: "/v2/mail-addresses/{mailAddressId}/forward-addresses",
|
|
1030
|
-
method: "PATCH",
|
|
1031
|
-
operationId: "mail-update-mail-address-forward-addresses",
|
|
1032
|
-
};
|
|
1033
|
-
/** Update the password for a MailAddress. */
|
|
1034
|
-
export const mailUpdateMailAddressPassword = {
|
|
1035
|
-
path: "/v2/mail-addresses/{mailAddressId}/password",
|
|
1036
|
-
method: "PATCH",
|
|
1037
|
-
operationId: "mail-update-mail-address-password",
|
|
1038
|
-
};
|
|
1039
|
-
/** Update the quota of a MailAddress. */
|
|
1040
|
-
export const mailUpdateMailAddressQuota = {
|
|
1041
|
-
path: "/v2/mail-addresses/{mailAddressId}/quota",
|
|
1042
|
-
method: "PATCH",
|
|
1043
|
-
operationId: "mail-update-mail-address-quota",
|
|
1044
|
-
};
|
|
1045
|
-
/** Update the spam protection of a MailAddress. */
|
|
1046
|
-
export const mailUpdateMailAddressSpamProtection = {
|
|
1047
|
-
path: "/v2/mail-addresses/{mailAddressId}/spam-protection",
|
|
1048
|
-
method: "PATCH",
|
|
1049
|
-
operationId: "mail-update-mail-address-spam-protection",
|
|
1050
|
-
};
|
|
1051
1021
|
/** Subscribe a user to the mStudio newsletter. */
|
|
1052
1022
|
export const newsletterSubscribeUser = {
|
|
1053
1023
|
path: "/v2/newsletter-subscriptions",
|
|
@@ -1618,66 +1588,6 @@ export const leadfyndrRemoveUnlockedLeadReservation = {
|
|
|
1618
1588
|
method: "DELETE",
|
|
1619
1589
|
operationId: "leadfyndr-remove-unlocked-lead-reservation",
|
|
1620
1590
|
};
|
|
1621
|
-
/** List DeliveryBoxes belonging to a Project. */
|
|
1622
|
-
export const mailListDeliveryBoxes = {
|
|
1623
|
-
path: "/v2/projects/{projectId}/delivery-boxes",
|
|
1624
|
-
method: "GET",
|
|
1625
|
-
operationId: "mail-list-delivery-boxes",
|
|
1626
|
-
};
|
|
1627
|
-
/** Create a DeliveryBox. */
|
|
1628
|
-
export const mailCreateDeliverybox = {
|
|
1629
|
-
path: "/v2/projects/{projectId}/delivery-boxes",
|
|
1630
|
-
method: "POST",
|
|
1631
|
-
operationId: "mail-create-deliverybox",
|
|
1632
|
-
};
|
|
1633
|
-
/** List MailAddresses belonging to a Project. */
|
|
1634
|
-
export const mailListMailAddresses = {
|
|
1635
|
-
path: "/v2/projects/{projectId}/mail-addresses",
|
|
1636
|
-
method: "GET",
|
|
1637
|
-
operationId: "mail-list-mail-addresses",
|
|
1638
|
-
};
|
|
1639
|
-
/** Create a MailAddress. */
|
|
1640
|
-
export const mailCreateMailAddress = {
|
|
1641
|
-
path: "/v2/projects/{projectId}/mail-addresses",
|
|
1642
|
-
method: "POST",
|
|
1643
|
-
operationId: "mail-create-mail-address",
|
|
1644
|
-
};
|
|
1645
|
-
/** Get a DeliveryBox. */
|
|
1646
|
-
export const mailGetDeliveryBox = {
|
|
1647
|
-
path: "/v2/delivery-boxes/{deliveryBoxId}",
|
|
1648
|
-
method: "GET",
|
|
1649
|
-
operationId: "mail-get-delivery-box",
|
|
1650
|
-
};
|
|
1651
|
-
/** Delete a DeliveryBox. */
|
|
1652
|
-
export const mailDeleteDeliveryBox = {
|
|
1653
|
-
path: "/v2/delivery-boxes/{deliveryBoxId}",
|
|
1654
|
-
method: "DELETE",
|
|
1655
|
-
operationId: "mail-delete-delivery-box",
|
|
1656
|
-
};
|
|
1657
|
-
/** Get a MailAddress. */
|
|
1658
|
-
export const mailGetMailAddress = {
|
|
1659
|
-
path: "/v2/mail-addresses/{mailAddressId}",
|
|
1660
|
-
method: "GET",
|
|
1661
|
-
operationId: "mail-get-mail-address",
|
|
1662
|
-
};
|
|
1663
|
-
/** Delete a MailAddress. */
|
|
1664
|
-
export const mailDeleteMailAddress = {
|
|
1665
|
-
path: "/v2/mail-addresses/{mailAddressId}",
|
|
1666
|
-
method: "DELETE",
|
|
1667
|
-
operationId: "mail-delete-mail-address",
|
|
1668
|
-
};
|
|
1669
|
-
/** List backups belonging to a MailAddress. */
|
|
1670
|
-
export const mailListBackupsForMailAddress = {
|
|
1671
|
-
path: "/v2/mail-addresses/{mailAddressId}/backups",
|
|
1672
|
-
method: "GET",
|
|
1673
|
-
operationId: "mail-list-backups-for-mail-address",
|
|
1674
|
-
};
|
|
1675
|
-
/** List mail settings of a Project. */
|
|
1676
|
-
export const mailListProjectMailSettings = {
|
|
1677
|
-
path: "/v2/projects/{projectId}/mail-settings",
|
|
1678
|
-
method: "GET",
|
|
1679
|
-
operationId: "mail-list-project-mail-settings",
|
|
1680
|
-
};
|
|
1681
1591
|
/** Check if a Migration between two projects is possible. */
|
|
1682
1592
|
export const mailMigrationCheckMigrationIsPossible = {
|
|
1683
1593
|
path: "/v2/mail-migrations/actions/possibility-check",
|
|
@@ -1702,42 +1612,6 @@ export const mailMigrationRequestMailMigration = {
|
|
|
1702
1612
|
method: "POST",
|
|
1703
1613
|
operationId: "mail-migration-request-mail-migration",
|
|
1704
1614
|
};
|
|
1705
|
-
/** Recover emails for a MailAddress from a backup. */
|
|
1706
|
-
export const mailRecoverMailAddressEmails = {
|
|
1707
|
-
path: "/v2/mail-addresses/{mailAddressId}/backups/{backupId}/recovery",
|
|
1708
|
-
method: "POST",
|
|
1709
|
-
operationId: "mail-recover-mail-address-emails",
|
|
1710
|
-
};
|
|
1711
|
-
/** Update the description of a DeliveryBox. */
|
|
1712
|
-
export const mailUpdateDeliveryBoxDescription = {
|
|
1713
|
-
path: "/v2/delivery-boxes/{deliveryBoxId}/description",
|
|
1714
|
-
method: "PATCH",
|
|
1715
|
-
operationId: "mail-update-delivery-box-description",
|
|
1716
|
-
};
|
|
1717
|
-
/** Update the password of a DeliveryBox. */
|
|
1718
|
-
export const mailUpdateDeliveryBoxPassword = {
|
|
1719
|
-
path: "/v2/delivery-boxes/{deliveryBoxId}/password",
|
|
1720
|
-
method: "PATCH",
|
|
1721
|
-
operationId: "mail-update-delivery-box-password",
|
|
1722
|
-
};
|
|
1723
|
-
/** Update a MailAddress. */
|
|
1724
|
-
export const mailUpdateMailAddressAddress = {
|
|
1725
|
-
path: "/v2/mail-addresses/{mailAddressId}/address",
|
|
1726
|
-
method: "PATCH",
|
|
1727
|
-
operationId: "mail-update-mail-address-address",
|
|
1728
|
-
};
|
|
1729
|
-
/** Update the catch-all of a MailAddress. */
|
|
1730
|
-
export const mailUpdateMailAddressCatchAll = {
|
|
1731
|
-
path: "/v2/mail-addresses/{mailAddressId}/catch-all",
|
|
1732
|
-
method: "PATCH",
|
|
1733
|
-
operationId: "mail-update-mail-address-catch-all",
|
|
1734
|
-
};
|
|
1735
|
-
/** Update a mail setting of a Project. */
|
|
1736
|
-
export const mailUpdateProjectMailSetting = {
|
|
1737
|
-
path: "/v2/projects/{projectId}/mail-settings/{mailSetting}",
|
|
1738
|
-
method: "PATCH",
|
|
1739
|
-
operationId: "mail-update-project-mail-setting",
|
|
1740
|
-
};
|
|
1741
1615
|
/** Get payment method details */
|
|
1742
1616
|
export const marketplaceCustomerGetPaymentMethod = {
|
|
1743
1617
|
path: "/v2/customers/{customerId}/payment-method",
|
|
@@ -2572,3 +2446,135 @@ export const verificationVerifyCompany = {
|
|
|
2572
2446
|
method: "POST",
|
|
2573
2447
|
operationId: "verification-verify-company",
|
|
2574
2448
|
};
|
|
2449
|
+
/** Get a DeliveryBox. */
|
|
2450
|
+
export const mailGetDeliveryBox = {
|
|
2451
|
+
path: "/v2/delivery-boxes/{deliveryBoxId}",
|
|
2452
|
+
method: "GET",
|
|
2453
|
+
operationId: "mail-get-delivery-box",
|
|
2454
|
+
};
|
|
2455
|
+
/** Delete a DeliveryBox. */
|
|
2456
|
+
export const mailDeleteDeliveryBox = {
|
|
2457
|
+
path: "/v2/delivery-boxes/{deliveryBoxId}",
|
|
2458
|
+
method: "DELETE",
|
|
2459
|
+
operationId: "mail-delete-delivery-box",
|
|
2460
|
+
};
|
|
2461
|
+
/** Disable a MailAddress Archive. */
|
|
2462
|
+
export const mailDisableMailArchive = {
|
|
2463
|
+
path: "/v2/mail-archive/{mailArchiveId}",
|
|
2464
|
+
method: "DELETE",
|
|
2465
|
+
operationId: "mail-disable-mail-archive",
|
|
2466
|
+
};
|
|
2467
|
+
/** List backups belonging to a MailAddress. */
|
|
2468
|
+
export const mailListBackupsForMailAddress = {
|
|
2469
|
+
path: "/v2/mail-addresses/{mailAddressId}/backups",
|
|
2470
|
+
method: "GET",
|
|
2471
|
+
operationId: "mail-list-backups-for-mail-address",
|
|
2472
|
+
};
|
|
2473
|
+
/** Update the quota of a MailAddress. */
|
|
2474
|
+
export const mailUpdateMailAddressQuota = {
|
|
2475
|
+
path: "/v2/mail-addresses/{mailAddressId}/quota",
|
|
2476
|
+
method: "PATCH",
|
|
2477
|
+
operationId: "mail-update-mail-address-quota",
|
|
2478
|
+
};
|
|
2479
|
+
/** Update a MailAddress. */
|
|
2480
|
+
export const mailUpdateMailAddressAddress = {
|
|
2481
|
+
path: "/v2/mail-addresses/{mailAddressId}/address",
|
|
2482
|
+
method: "PATCH",
|
|
2483
|
+
operationId: "mail-update-mail-address-address",
|
|
2484
|
+
};
|
|
2485
|
+
/** Update the forward addresses of a MailAddresses. */
|
|
2486
|
+
export const mailUpdateMailAddressForwardAddresses = {
|
|
2487
|
+
path: "/v2/mail-addresses/{mailAddressId}/forward-addresses",
|
|
2488
|
+
method: "PATCH",
|
|
2489
|
+
operationId: "mail-update-mail-address-forward-addresses",
|
|
2490
|
+
};
|
|
2491
|
+
/** Recover emails for a MailAddress from a backup. */
|
|
2492
|
+
export const mailRecoverMailAddressEmails = {
|
|
2493
|
+
path: "/v2/mail-addresses/{mailAddressId}/backups/{backupId}/recovery",
|
|
2494
|
+
method: "POST",
|
|
2495
|
+
operationId: "mail-recover-mail-address-emails",
|
|
2496
|
+
};
|
|
2497
|
+
/** List MailAddresses belonging to a Project. */
|
|
2498
|
+
export const mailListMailAddresses = {
|
|
2499
|
+
path: "/v2/projects/{projectId}/mail-addresses",
|
|
2500
|
+
method: "GET",
|
|
2501
|
+
operationId: "mail-list-mail-addresses",
|
|
2502
|
+
};
|
|
2503
|
+
/** Create a MailAddress. */
|
|
2504
|
+
export const mailCreateMailAddress = {
|
|
2505
|
+
path: "/v2/projects/{projectId}/mail-addresses",
|
|
2506
|
+
method: "POST",
|
|
2507
|
+
operationId: "mail-create-mail-address",
|
|
2508
|
+
};
|
|
2509
|
+
/** Update the password for a MailAddress. */
|
|
2510
|
+
export const mailUpdateMailAddressPassword = {
|
|
2511
|
+
path: "/v2/mail-addresses/{mailAddressId}/password",
|
|
2512
|
+
method: "PATCH",
|
|
2513
|
+
operationId: "mail-update-mail-address-password",
|
|
2514
|
+
};
|
|
2515
|
+
/** Update the spam protection of a MailAddress. */
|
|
2516
|
+
export const mailUpdateMailAddressSpamProtection = {
|
|
2517
|
+
path: "/v2/mail-addresses/{mailAddressId}/spam-protection",
|
|
2518
|
+
method: "PATCH",
|
|
2519
|
+
operationId: "mail-update-mail-address-spam-protection",
|
|
2520
|
+
};
|
|
2521
|
+
/** List DeliveryBoxes belonging to a Project. */
|
|
2522
|
+
export const mailListDeliveryBoxes = {
|
|
2523
|
+
path: "/v2/projects/{projectId}/delivery-boxes",
|
|
2524
|
+
method: "GET",
|
|
2525
|
+
operationId: "mail-list-delivery-boxes",
|
|
2526
|
+
};
|
|
2527
|
+
/** Create a DeliveryBox. */
|
|
2528
|
+
export const mailCreateDeliverybox = {
|
|
2529
|
+
path: "/v2/projects/{projectId}/delivery-boxes",
|
|
2530
|
+
method: "POST",
|
|
2531
|
+
operationId: "mail-create-deliverybox",
|
|
2532
|
+
};
|
|
2533
|
+
/** Update the password of a DeliveryBox. */
|
|
2534
|
+
export const mailUpdateDeliveryBoxPassword = {
|
|
2535
|
+
path: "/v2/delivery-boxes/{deliveryBoxId}/password",
|
|
2536
|
+
method: "PATCH",
|
|
2537
|
+
operationId: "mail-update-delivery-box-password",
|
|
2538
|
+
};
|
|
2539
|
+
/** Update the autoresponder of a MailAddress. */
|
|
2540
|
+
export const mailUpdateMailAddressAutoresponder = {
|
|
2541
|
+
path: "/v2/mail-addresses/{mailAddressId}/autoresponder",
|
|
2542
|
+
method: "PATCH",
|
|
2543
|
+
operationId: "mail-update-mail-address-autoresponder",
|
|
2544
|
+
};
|
|
2545
|
+
/** Get a MailAddress. */
|
|
2546
|
+
export const mailGetMailAddress = {
|
|
2547
|
+
path: "/v2/mail-addresses/{mailAddressId}",
|
|
2548
|
+
method: "GET",
|
|
2549
|
+
operationId: "mail-get-mail-address",
|
|
2550
|
+
};
|
|
2551
|
+
/** Delete a MailAddress. */
|
|
2552
|
+
export const mailDeleteMailAddress = {
|
|
2553
|
+
path: "/v2/mail-addresses/{mailAddressId}",
|
|
2554
|
+
method: "DELETE",
|
|
2555
|
+
operationId: "mail-delete-mail-address",
|
|
2556
|
+
};
|
|
2557
|
+
/** Update a mail setting of a Project. */
|
|
2558
|
+
export const mailUpdateProjectMailSetting = {
|
|
2559
|
+
path: "/v2/projects/{projectId}/mail-settings/{mailSetting}",
|
|
2560
|
+
method: "PATCH",
|
|
2561
|
+
operationId: "mail-update-project-mail-setting",
|
|
2562
|
+
};
|
|
2563
|
+
/** Update the description of a DeliveryBox. */
|
|
2564
|
+
export const mailUpdateDeliveryBoxDescription = {
|
|
2565
|
+
path: "/v2/delivery-boxes/{deliveryBoxId}/description",
|
|
2566
|
+
method: "PATCH",
|
|
2567
|
+
operationId: "mail-update-delivery-box-description",
|
|
2568
|
+
};
|
|
2569
|
+
/** Update the catch-all of a MailAddress. */
|
|
2570
|
+
export const mailUpdateMailAddressCatchAll = {
|
|
2571
|
+
path: "/v2/mail-addresses/{mailAddressId}/catch-all",
|
|
2572
|
+
method: "PATCH",
|
|
2573
|
+
operationId: "mail-update-mail-address-catch-all",
|
|
2574
|
+
};
|
|
2575
|
+
/** List mail settings of a Project. */
|
|
2576
|
+
export const mailListProjectMailSettings = {
|
|
2577
|
+
path: "/v2/projects/{projectId}/mail-settings",
|
|
2578
|
+
method: "GET",
|
|
2579
|
+
operationId: "mail-list-project-mail-settings",
|
|
2580
|
+
};
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export const MittwaldAPIClientVersion = '4.218.0';
|
|
@@ -1004,6 +1004,7 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1004
1004
|
contextId?: string | undefined;
|
|
1005
1005
|
extensionId?: string | undefined;
|
|
1006
1006
|
searchTerm?: string | undefined;
|
|
1007
|
+
anchor?: string | undefined;
|
|
1007
1008
|
limit?: number | undefined;
|
|
1008
1009
|
skip?: number | undefined;
|
|
1009
1010
|
page?: number | undefined;
|
|
@@ -1033,6 +1034,9 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1033
1034
|
extensionId: string;
|
|
1034
1035
|
extensionName: string;
|
|
1035
1036
|
extensionSubTitle?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceSubTitle | undefined;
|
|
1037
|
+
frontendFragments?: {
|
|
1038
|
+
[k: string]: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceFrontendFragment;
|
|
1039
|
+
} | undefined;
|
|
1036
1040
|
id: string;
|
|
1037
1041
|
pendingInstallation: boolean;
|
|
1038
1042
|
pendingRemoval: boolean;
|
|
@@ -1133,6 +1137,9 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1133
1137
|
extensionId: string;
|
|
1134
1138
|
extensionName: string;
|
|
1135
1139
|
extensionSubTitle?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceSubTitle | undefined;
|
|
1140
|
+
frontendFragments?: {
|
|
1141
|
+
[k: string]: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceFrontendFragment;
|
|
1142
|
+
} | undefined;
|
|
1136
1143
|
id: string;
|
|
1137
1144
|
pendingInstallation: boolean;
|
|
1138
1145
|
pendingRemoval: boolean;
|
|
@@ -1160,6 +1167,9 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1160
1167
|
extensionId: string;
|
|
1161
1168
|
extensionName: string;
|
|
1162
1169
|
extensionSubTitle?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceSubTitle | undefined;
|
|
1170
|
+
frontendFragments?: {
|
|
1171
|
+
[k: string]: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceFrontendFragment;
|
|
1172
|
+
} | undefined;
|
|
1163
1173
|
id: string;
|
|
1164
1174
|
pendingInstallation: boolean;
|
|
1165
1175
|
pendingRemoval: boolean;
|
|
@@ -2291,21 +2301,61 @@ declare const buildLeadFyndrApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2291
2301
|
}>;
|
|
2292
2302
|
};
|
|
2293
2303
|
declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
|
|
2294
|
-
/**
|
|
2295
|
-
|
|
2296
|
-
|
|
2304
|
+
/** Get a Migration. */
|
|
2305
|
+
migrationGetMigration: (conf: {
|
|
2306
|
+
migrationId: string;
|
|
2297
2307
|
headers?: {
|
|
2298
2308
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2299
2309
|
"x-access-token"?: string | undefined;
|
|
2300
2310
|
} | undefined;
|
|
2311
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
2312
|
+
aborted: boolean;
|
|
2313
|
+
addresses: import("./types.js").MittwaldAPIV2.Components.Schemas.MailmigrationMigrationMailAddress[];
|
|
2314
|
+
finalizers: import("./types.js").MittwaldAPIV2.Components.Schemas.MailmigrationMigrationFinalizeJob;
|
|
2315
|
+
finished: boolean;
|
|
2316
|
+
id: string;
|
|
2317
|
+
mailboxes: import("./types.js").MittwaldAPIV2.Components.Schemas.MailmigrationMigrationMailbox[];
|
|
2318
|
+
sourceCoabProjectId: string;
|
|
2319
|
+
targetNexusProjectId: string;
|
|
2320
|
+
}>;
|
|
2321
|
+
/** List Migrations belonging to a Project in customer center or mStudio. */
|
|
2322
|
+
migrationListMigrations: (conf: {
|
|
2323
|
+
headers: {
|
|
2324
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2325
|
+
Authorization: string;
|
|
2326
|
+
"x-access-token"?: string | undefined;
|
|
2327
|
+
};
|
|
2301
2328
|
queryParameters?: {
|
|
2302
2329
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2303
|
-
|
|
2304
|
-
|
|
2305
|
-
skip?: number | undefined;
|
|
2306
|
-
page?: number | undefined;
|
|
2330
|
+
pAccountName?: string | undefined;
|
|
2331
|
+
projectId?: string | undefined;
|
|
2307
2332
|
} | undefined;
|
|
2308
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.
|
|
2333
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MailmigrationMigration[]>;
|
|
2334
|
+
/** Get a DeliveryBox. */
|
|
2335
|
+
getDeliveryBox: (conf: {
|
|
2336
|
+
deliveryBoxId: string;
|
|
2337
|
+
headers?: {
|
|
2338
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2339
|
+
"x-access-token"?: string | undefined;
|
|
2340
|
+
} | undefined;
|
|
2341
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
2342
|
+
authenticationEnabled: boolean;
|
|
2343
|
+
description: string;
|
|
2344
|
+
id: string;
|
|
2345
|
+
name: string;
|
|
2346
|
+
passwordUpdatedAt: string;
|
|
2347
|
+
projectId: string;
|
|
2348
|
+
sendingEnabled: boolean;
|
|
2349
|
+
updatedAt: string;
|
|
2350
|
+
}>;
|
|
2351
|
+
/** List backups belonging to a MailAddress. */
|
|
2352
|
+
listBackupsForMailAddress: (conf: {
|
|
2353
|
+
mailAddressId: string;
|
|
2354
|
+
headers?: {
|
|
2355
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2356
|
+
"x-access-token"?: string | undefined;
|
|
2357
|
+
} | undefined;
|
|
2358
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MailMailAddressBackup[]>;
|
|
2309
2359
|
/** List MailAddresses belonging to a Project. */
|
|
2310
2360
|
listMailAddresses: (conf: {
|
|
2311
2361
|
projectId: string;
|
|
@@ -2319,6 +2369,7 @@ declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2319
2369
|
forwardAddress?: boolean | undefined;
|
|
2320
2370
|
catchAll?: boolean | undefined;
|
|
2321
2371
|
autoResponder?: boolean | undefined;
|
|
2372
|
+
mailArchive?: boolean | undefined;
|
|
2322
2373
|
limit?: number | undefined;
|
|
2323
2374
|
skip?: number | undefined;
|
|
2324
2375
|
page?: number | undefined;
|
|
@@ -2326,23 +2377,21 @@ declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2326
2377
|
order?: ("asc" | "desc")[] | undefined;
|
|
2327
2378
|
} | undefined;
|
|
2328
2379
|
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MailMailAddress[]>;
|
|
2329
|
-
/**
|
|
2330
|
-
|
|
2331
|
-
|
|
2380
|
+
/** List DeliveryBoxes belonging to a Project. */
|
|
2381
|
+
listDeliveryBoxes: (conf: {
|
|
2382
|
+
projectId: string;
|
|
2332
2383
|
headers?: {
|
|
2333
2384
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2334
2385
|
"x-access-token"?: string | undefined;
|
|
2335
2386
|
} | undefined;
|
|
2336
|
-
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
updatedAt: string;
|
|
2345
|
-
}>;
|
|
2387
|
+
queryParameters?: {
|
|
2388
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2389
|
+
search?: string | undefined;
|
|
2390
|
+
limit?: number | undefined;
|
|
2391
|
+
skip?: number | undefined;
|
|
2392
|
+
page?: number | undefined;
|
|
2393
|
+
} | undefined;
|
|
2394
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MailDeliverybox[]>;
|
|
2346
2395
|
/** Get a MailAddress. */
|
|
2347
2396
|
getMailAddress: (conf: {
|
|
2348
2397
|
mailAddressId: string;
|
|
@@ -2352,6 +2401,11 @@ declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2352
2401
|
} | undefined;
|
|
2353
2402
|
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
2354
2403
|
address: string;
|
|
2404
|
+
archive: {
|
|
2405
|
+
active: boolean;
|
|
2406
|
+
quota: number;
|
|
2407
|
+
usedBytes: number;
|
|
2408
|
+
};
|
|
2355
2409
|
autoResponder: {
|
|
2356
2410
|
active: boolean;
|
|
2357
2411
|
expiresAt?: string;
|
|
@@ -2385,14 +2439,6 @@ declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2385
2439
|
receivingDisabled: boolean;
|
|
2386
2440
|
updatedAt: string;
|
|
2387
2441
|
}>;
|
|
2388
|
-
/** List backups belonging to a MailAddress. */
|
|
2389
|
-
listBackupsForMailAddress: (conf: {
|
|
2390
|
-
mailAddressId: string;
|
|
2391
|
-
headers?: {
|
|
2392
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2393
|
-
"x-access-token"?: string | undefined;
|
|
2394
|
-
} | undefined;
|
|
2395
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MailMailAddressBackup[]>;
|
|
2396
2442
|
/** List mail settings of a Project. */
|
|
2397
2443
|
listProjectMailSettings: (conf: {
|
|
2398
2444
|
projectId: string;
|
|
@@ -2405,36 +2451,6 @@ declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2405
2451
|
projectId: string;
|
|
2406
2452
|
whitelist: string[];
|
|
2407
2453
|
}>;
|
|
2408
|
-
/** Get a Migration. */
|
|
2409
|
-
migrationGetMigration: (conf: {
|
|
2410
|
-
migrationId: string;
|
|
2411
|
-
headers?: {
|
|
2412
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2413
|
-
"x-access-token"?: string | undefined;
|
|
2414
|
-
} | undefined;
|
|
2415
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
2416
|
-
aborted: boolean;
|
|
2417
|
-
addresses: import("./types.js").MittwaldAPIV2.Components.Schemas.MailmigrationMigrationMailAddress[];
|
|
2418
|
-
finalizers: import("./types.js").MittwaldAPIV2.Components.Schemas.MailmigrationMigrationFinalizeJob;
|
|
2419
|
-
finished: boolean;
|
|
2420
|
-
id: string;
|
|
2421
|
-
mailboxes: import("./types.js").MittwaldAPIV2.Components.Schemas.MailmigrationMigrationMailbox[];
|
|
2422
|
-
sourceCoabProjectId: string;
|
|
2423
|
-
targetNexusProjectId: string;
|
|
2424
|
-
}>;
|
|
2425
|
-
/** List Migrations belonging to a Project in customer center or mStudio. */
|
|
2426
|
-
migrationListMigrations: (conf: {
|
|
2427
|
-
headers: {
|
|
2428
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2429
|
-
Authorization: string;
|
|
2430
|
-
"x-access-token"?: string | undefined;
|
|
2431
|
-
};
|
|
2432
|
-
queryParameters?: {
|
|
2433
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2434
|
-
pAccountName?: string | undefined;
|
|
2435
|
-
projectId?: string | undefined;
|
|
2436
|
-
} | undefined;
|
|
2437
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MailmigrationMigration[]>;
|
|
2438
2454
|
};
|
|
2439
2455
|
declare const buildMiscApi: (baseClient: MittwaldAPIV2Client) => {
|
|
2440
2456
|
/** Get a list of currently active llm models. */
|