@mittwald/api-client 0.0.0-development-3b1e80f-20250909 → 0.0.0-development-a7ffc6b-20250910
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 -55
- package/dist/esm/generated/v2/descriptors.js +132 -132
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +59 -59
- package/dist/types/generated/v2/client.d.ts +3524 -3524
- package/dist/types/generated/v2/descriptors.d.ts +44 -44
- package/dist/types/generated/v2/types.d.ts +4192 -4191
- 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
|
-
/** 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
|
-
/** Get a DeliveryBox. */
|
|
304
|
-
getDeliveryBox: new ApiCallAsyncResourceFactory(descriptors.mailGetDeliveryBox, baseClient.mail.getDeliveryBox).getApiResource,
|
|
305
|
-
/** List backups belonging to a MailAddress. */
|
|
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
299
|
/** List DeliveryBoxes belonging to a Project. */
|
|
310
300
|
listDeliveryBoxes: new ApiCallAsyncResourceFactory(descriptors.mailListDeliveryBoxes, baseClient.mail.listDeliveryBoxes).getApiResource,
|
|
301
|
+
/** List MailAddresses belonging to a Project. */
|
|
302
|
+
listMailAddresses: new ApiCallAsyncResourceFactory(descriptors.mailListMailAddresses, baseClient.mail.listMailAddresses).getApiResource,
|
|
303
|
+
/** Get a DeliveryBox. */
|
|
304
|
+
getDeliveryBox: new ApiCallAsyncResourceFactory(descriptors.mailGetDeliveryBox, baseClient.mail.getDeliveryBox).getApiResource,
|
|
311
305
|
/** Get a MailAddress. */
|
|
312
306
|
getMailAddress: new ApiCallAsyncResourceFactory(descriptors.mailGetMailAddress, baseClient.mail.getMailAddress).getApiResource,
|
|
307
|
+
/** List backups belonging to a MailAddress. */
|
|
308
|
+
listBackupsForMailAddress: new ApiCallAsyncResourceFactory(descriptors.mailListBackupsForMailAddress, baseClient.mail.listBackupsForMailAddress).getApiResource,
|
|
313
309
|
/** List mail settings of a Project. */
|
|
314
310
|
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,6 +567,61 @@ 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
|
+
/** Disable a MailAddress Archive. */
|
|
599
|
+
disableMailArchive: this.requestFunctionFactory(descriptors.mailDisableMailArchive),
|
|
600
|
+
/** List backups belonging to a MailAddress. */
|
|
601
|
+
listBackupsForMailAddress: this.requestFunctionFactory(descriptors.mailListBackupsForMailAddress),
|
|
602
|
+
/** List mail settings of a Project. */
|
|
603
|
+
listProjectMailSettings: this.requestFunctionFactory(descriptors.mailListProjectMailSettings),
|
|
604
|
+
/** Check if a Migration between two projects is possible. */
|
|
605
|
+
migrationCheckMigrationIsPossible: this.requestFunctionFactory(descriptors.mailMigrationCheckMigrationIsPossible),
|
|
606
|
+
/** Get a Migration. */
|
|
607
|
+
migrationGetMigration: this.requestFunctionFactory(descriptors.mailMigrationGetMigration),
|
|
608
|
+
/** List Migrations belonging to a Project in customer center or mStudio. */
|
|
609
|
+
migrationListMigrations: this.requestFunctionFactory(descriptors.mailMigrationListMigrations),
|
|
610
|
+
/** Request a Mail Migration between two projects. */
|
|
611
|
+
migrationRequestMailMigration: this.requestFunctionFactory(descriptors.mailMigrationRequestMailMigration),
|
|
612
|
+
/** Recover emails for a MailAddress from a backup. */
|
|
613
|
+
recoverMailAddressEmails: this.requestFunctionFactory(descriptors.mailRecoverMailAddressEmails),
|
|
614
|
+
/** Update the description of a DeliveryBox. */
|
|
615
|
+
updateDeliveryBoxDescription: this.requestFunctionFactory(descriptors.mailUpdateDeliveryBoxDescription),
|
|
616
|
+
/** Update the password of a DeliveryBox. */
|
|
617
|
+
updateDeliveryBoxPassword: this.requestFunctionFactory(descriptors.mailUpdateDeliveryBoxPassword),
|
|
618
|
+
/** Update a MailAddress. */
|
|
619
|
+
updateMailAddressAddress: this.requestFunctionFactory(descriptors.mailUpdateMailAddressAddress),
|
|
620
|
+
/** Update the catch-all of a MailAddress. */
|
|
621
|
+
updateMailAddressCatchAll: this.requestFunctionFactory(descriptors.mailUpdateMailAddressCatchAll),
|
|
622
|
+
/** Update a mail setting of a Project. */
|
|
623
|
+
updateProjectMailSetting: this.requestFunctionFactory(descriptors.mailUpdateProjectMailSetting),
|
|
624
|
+
};
|
|
570
625
|
/** The notification API allows you to manage your notifications. */
|
|
571
626
|
notification = {
|
|
572
627
|
/** Subscribe a user to the mStudio newsletter. */
|
|
@@ -737,61 +792,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
737
792
|
/** Removes a reservation on a unlocked lead for the given customerId. */
|
|
738
793
|
leadfyndrRemoveUnlockedLeadReservation: this.requestFunctionFactory(descriptors.leadfyndrRemoveUnlockedLeadReservation),
|
|
739
794
|
};
|
|
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
|
-
};
|
|
795
795
|
/** API endpoints that are not related to any specific API domain */
|
|
796
796
|
misc = {
|
|
797
797
|
/** Get a list of currently active llm models. */
|
|
@@ -1018,6 +1018,36 @@ 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
|
+
};
|
|
1021
1051
|
/** Subscribe a user to the mStudio newsletter. */
|
|
1022
1052
|
export const newsletterSubscribeUser = {
|
|
1023
1053
|
path: "/v2/newsletter-subscriptions",
|
|
@@ -1588,6 +1618,72 @@ export const leadfyndrRemoveUnlockedLeadReservation = {
|
|
|
1588
1618
|
method: "DELETE",
|
|
1589
1619
|
operationId: "leadfyndr-remove-unlocked-lead-reservation",
|
|
1590
1620
|
};
|
|
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
|
+
/** Disable a MailAddress Archive. */
|
|
1670
|
+
export const mailDisableMailArchive = {
|
|
1671
|
+
path: "/v2/mail-archive/{mailArchiveId}",
|
|
1672
|
+
method: "DELETE",
|
|
1673
|
+
operationId: "mail-disable-mail-archive",
|
|
1674
|
+
};
|
|
1675
|
+
/** List backups belonging to a MailAddress. */
|
|
1676
|
+
export const mailListBackupsForMailAddress = {
|
|
1677
|
+
path: "/v2/mail-addresses/{mailAddressId}/backups",
|
|
1678
|
+
method: "GET",
|
|
1679
|
+
operationId: "mail-list-backups-for-mail-address",
|
|
1680
|
+
};
|
|
1681
|
+
/** List mail settings of a Project. */
|
|
1682
|
+
export const mailListProjectMailSettings = {
|
|
1683
|
+
path: "/v2/projects/{projectId}/mail-settings",
|
|
1684
|
+
method: "GET",
|
|
1685
|
+
operationId: "mail-list-project-mail-settings",
|
|
1686
|
+
};
|
|
1591
1687
|
/** Check if a Migration between two projects is possible. */
|
|
1592
1688
|
export const mailMigrationCheckMigrationIsPossible = {
|
|
1593
1689
|
path: "/v2/mail-migrations/actions/possibility-check",
|
|
@@ -1612,6 +1708,42 @@ export const mailMigrationRequestMailMigration = {
|
|
|
1612
1708
|
method: "POST",
|
|
1613
1709
|
operationId: "mail-migration-request-mail-migration",
|
|
1614
1710
|
};
|
|
1711
|
+
/** Recover emails for a MailAddress from a backup. */
|
|
1712
|
+
export const mailRecoverMailAddressEmails = {
|
|
1713
|
+
path: "/v2/mail-addresses/{mailAddressId}/backups/{backupId}/recovery",
|
|
1714
|
+
method: "POST",
|
|
1715
|
+
operationId: "mail-recover-mail-address-emails",
|
|
1716
|
+
};
|
|
1717
|
+
/** Update the description of a DeliveryBox. */
|
|
1718
|
+
export const mailUpdateDeliveryBoxDescription = {
|
|
1719
|
+
path: "/v2/delivery-boxes/{deliveryBoxId}/description",
|
|
1720
|
+
method: "PATCH",
|
|
1721
|
+
operationId: "mail-update-delivery-box-description",
|
|
1722
|
+
};
|
|
1723
|
+
/** Update the password of a DeliveryBox. */
|
|
1724
|
+
export const mailUpdateDeliveryBoxPassword = {
|
|
1725
|
+
path: "/v2/delivery-boxes/{deliveryBoxId}/password",
|
|
1726
|
+
method: "PATCH",
|
|
1727
|
+
operationId: "mail-update-delivery-box-password",
|
|
1728
|
+
};
|
|
1729
|
+
/** Update a MailAddress. */
|
|
1730
|
+
export const mailUpdateMailAddressAddress = {
|
|
1731
|
+
path: "/v2/mail-addresses/{mailAddressId}/address",
|
|
1732
|
+
method: "PATCH",
|
|
1733
|
+
operationId: "mail-update-mail-address-address",
|
|
1734
|
+
};
|
|
1735
|
+
/** Update the catch-all of a MailAddress. */
|
|
1736
|
+
export const mailUpdateMailAddressCatchAll = {
|
|
1737
|
+
path: "/v2/mail-addresses/{mailAddressId}/catch-all",
|
|
1738
|
+
method: "PATCH",
|
|
1739
|
+
operationId: "mail-update-mail-address-catch-all",
|
|
1740
|
+
};
|
|
1741
|
+
/** Update a mail setting of a Project. */
|
|
1742
|
+
export const mailUpdateProjectMailSetting = {
|
|
1743
|
+
path: "/v2/projects/{projectId}/mail-settings/{mailSetting}",
|
|
1744
|
+
method: "PATCH",
|
|
1745
|
+
operationId: "mail-update-project-mail-setting",
|
|
1746
|
+
};
|
|
1615
1747
|
/** Get payment method details */
|
|
1616
1748
|
export const marketplaceCustomerGetPaymentMethod = {
|
|
1617
1749
|
path: "/v2/customers/{customerId}/payment-method",
|
|
@@ -2446,135 +2578,3 @@ export const verificationVerifyCompany = {
|
|
|
2446
2578
|
method: "POST",
|
|
2447
2579
|
operationId: "verification-verify-company",
|
|
2448
2580
|
};
|
|
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.220.0';
|
|
@@ -2301,61 +2301,21 @@ declare const buildLeadFyndrApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2301
2301
|
}>;
|
|
2302
2302
|
};
|
|
2303
2303
|
declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
|
|
2304
|
-
/**
|
|
2305
|
-
|
|
2306
|
-
|
|
2304
|
+
/** List DeliveryBoxes belonging to a Project. */
|
|
2305
|
+
listDeliveryBoxes: (conf: {
|
|
2306
|
+
projectId: string;
|
|
2307
2307
|
headers?: {
|
|
2308
2308
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2309
2309
|
"x-access-token"?: string | undefined;
|
|
2310
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
|
-
};
|
|
2328
2311
|
queryParameters?: {
|
|
2329
2312
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2330
|
-
|
|
2331
|
-
|
|
2332
|
-
|
|
2333
|
-
|
|
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;
|
|
2313
|
+
search?: string | undefined;
|
|
2314
|
+
limit?: number | undefined;
|
|
2315
|
+
skip?: number | undefined;
|
|
2316
|
+
page?: number | undefined;
|
|
2357
2317
|
} | undefined;
|
|
2358
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.
|
|
2318
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MailDeliverybox[]>;
|
|
2359
2319
|
/** List MailAddresses belonging to a Project. */
|
|
2360
2320
|
listMailAddresses: (conf: {
|
|
2361
2321
|
projectId: string;
|
|
@@ -2377,21 +2337,23 @@ declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2377
2337
|
order?: ("asc" | "desc")[] | undefined;
|
|
2378
2338
|
} | undefined;
|
|
2379
2339
|
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MailMailAddress[]>;
|
|
2380
|
-
/**
|
|
2381
|
-
|
|
2382
|
-
|
|
2340
|
+
/** Get a DeliveryBox. */
|
|
2341
|
+
getDeliveryBox: (conf: {
|
|
2342
|
+
deliveryBoxId: string;
|
|
2383
2343
|
headers?: {
|
|
2384
2344
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2385
2345
|
"x-access-token"?: string | undefined;
|
|
2386
2346
|
} | undefined;
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
|
|
2392
|
-
|
|
2393
|
-
|
|
2394
|
-
|
|
2347
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
2348
|
+
authenticationEnabled: boolean;
|
|
2349
|
+
description: string;
|
|
2350
|
+
id: string;
|
|
2351
|
+
name: string;
|
|
2352
|
+
passwordUpdatedAt: string;
|
|
2353
|
+
projectId: string;
|
|
2354
|
+
sendingEnabled: boolean;
|
|
2355
|
+
updatedAt: string;
|
|
2356
|
+
}>;
|
|
2395
2357
|
/** Get a MailAddress. */
|
|
2396
2358
|
getMailAddress: (conf: {
|
|
2397
2359
|
mailAddressId: string;
|
|
@@ -2439,6 +2401,14 @@ declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2439
2401
|
receivingDisabled: boolean;
|
|
2440
2402
|
updatedAt: string;
|
|
2441
2403
|
}>;
|
|
2404
|
+
/** List backups belonging to a MailAddress. */
|
|
2405
|
+
listBackupsForMailAddress: (conf: {
|
|
2406
|
+
mailAddressId: string;
|
|
2407
|
+
headers?: {
|
|
2408
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2409
|
+
"x-access-token"?: string | undefined;
|
|
2410
|
+
} | undefined;
|
|
2411
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MailMailAddressBackup[]>;
|
|
2442
2412
|
/** List mail settings of a Project. */
|
|
2443
2413
|
listProjectMailSettings: (conf: {
|
|
2444
2414
|
projectId: string;
|
|
@@ -2451,6 +2421,36 @@ declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2451
2421
|
projectId: string;
|
|
2452
2422
|
whitelist: string[];
|
|
2453
2423
|
}>;
|
|
2424
|
+
/** Get a Migration. */
|
|
2425
|
+
migrationGetMigration: (conf: {
|
|
2426
|
+
migrationId: string;
|
|
2427
|
+
headers?: {
|
|
2428
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2429
|
+
"x-access-token"?: string | undefined;
|
|
2430
|
+
} | undefined;
|
|
2431
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
2432
|
+
aborted: boolean;
|
|
2433
|
+
addresses: import("./types.js").MittwaldAPIV2.Components.Schemas.MailmigrationMigrationMailAddress[];
|
|
2434
|
+
finalizers: import("./types.js").MittwaldAPIV2.Components.Schemas.MailmigrationMigrationFinalizeJob;
|
|
2435
|
+
finished: boolean;
|
|
2436
|
+
id: string;
|
|
2437
|
+
mailboxes: import("./types.js").MittwaldAPIV2.Components.Schemas.MailmigrationMigrationMailbox[];
|
|
2438
|
+
sourceCoabProjectId: string;
|
|
2439
|
+
targetNexusProjectId: string;
|
|
2440
|
+
}>;
|
|
2441
|
+
/** List Migrations belonging to a Project in customer center or mStudio. */
|
|
2442
|
+
migrationListMigrations: (conf: {
|
|
2443
|
+
headers: {
|
|
2444
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2445
|
+
Authorization: string;
|
|
2446
|
+
"x-access-token"?: string | undefined;
|
|
2447
|
+
};
|
|
2448
|
+
queryParameters?: {
|
|
2449
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2450
|
+
pAccountName?: string | undefined;
|
|
2451
|
+
projectId?: string | undefined;
|
|
2452
|
+
} | undefined;
|
|
2453
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MailmigrationMigration[]>;
|
|
2454
2454
|
};
|
|
2455
2455
|
declare const buildMiscApi: (baseClient: MittwaldAPIV2Client) => {
|
|
2456
2456
|
/** Get a list of currently active llm models. */
|