@keystrokehq/mailtrap 0.1.0 → 0.1.3
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/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/clean-inbox.cjs +25 -25
- package/dist/actions/clean-inbox.cjs.map +1 -1
- package/dist/actions/clean-inbox.d.cts +39 -3
- package/dist/actions/clean-inbox.d.cts.map +1 -1
- package/dist/actions/clean-inbox.d.mts +39 -3
- package/dist/actions/clean-inbox.d.mts.map +1 -1
- package/dist/actions/clean-inbox.mjs +25 -25
- package/dist/actions/clean-inbox.mjs.map +1 -1
- package/dist/actions/create-contact-event.cjs +3 -3
- package/dist/actions/create-contact-event.cjs.map +1 -1
- package/dist/actions/create-contact-event.d.cts +18 -3
- package/dist/actions/create-contact-event.d.cts.map +1 -1
- package/dist/actions/create-contact-event.d.mts +18 -3
- package/dist/actions/create-contact-event.d.mts.map +1 -1
- package/dist/actions/create-contact-event.mjs +3 -3
- package/dist/actions/create-contact-event.mjs.map +1 -1
- package/dist/actions/create-contact-export.cjs +2 -2
- package/dist/actions/create-contact-export.cjs.map +1 -1
- package/dist/actions/create-contact-export.d.cts +28 -3
- package/dist/actions/create-contact-export.d.cts.map +1 -1
- package/dist/actions/create-contact-export.d.mts +28 -3
- package/dist/actions/create-contact-export.d.mts.map +1 -1
- package/dist/actions/create-contact-export.mjs +2 -2
- package/dist/actions/create-contact-export.mjs.map +1 -1
- package/dist/actions/create-contact-field.cjs +1 -1
- package/dist/actions/create-contact-field.cjs.map +1 -1
- package/dist/actions/create-contact-field.d.cts +24 -3
- package/dist/actions/create-contact-field.d.cts.map +1 -1
- package/dist/actions/create-contact-field.d.mts +24 -3
- package/dist/actions/create-contact-field.d.mts.map +1 -1
- package/dist/actions/create-contact-field.mjs +1 -1
- package/dist/actions/create-contact-field.mjs.map +1 -1
- package/dist/actions/create-contact-list.cjs +3 -3
- package/dist/actions/create-contact-list.cjs.map +1 -1
- package/dist/actions/create-contact-list.d.cts +12 -3
- package/dist/actions/create-contact-list.d.cts.map +1 -1
- package/dist/actions/create-contact-list.d.mts +12 -3
- package/dist/actions/create-contact-list.d.mts.map +1 -1
- package/dist/actions/create-contact-list.mjs +3 -3
- package/dist/actions/create-contact-list.mjs.map +1 -1
- package/dist/actions/create-contact.cjs +4 -4
- package/dist/actions/create-contact.cjs.map +1 -1
- package/dist/actions/create-contact.d.cts +33 -3
- package/dist/actions/create-contact.d.cts.map +1 -1
- package/dist/actions/create-contact.d.mts +33 -3
- package/dist/actions/create-contact.d.mts.map +1 -1
- package/dist/actions/create-contact.mjs +4 -4
- package/dist/actions/create-contact.mjs.map +1 -1
- package/dist/actions/create-email-template.cjs +1 -1
- package/dist/actions/create-email-template.cjs.map +1 -1
- package/dist/actions/create-email-template.d.cts +31 -3
- package/dist/actions/create-email-template.d.cts.map +1 -1
- package/dist/actions/create-email-template.d.mts +31 -3
- package/dist/actions/create-email-template.d.mts.map +1 -1
- package/dist/actions/create-email-template.mjs +1 -1
- package/dist/actions/create-email-template.mjs.map +1 -1
- package/dist/actions/create-sending-domain.cjs +22 -22
- package/dist/actions/create-sending-domain.cjs.map +1 -1
- package/dist/actions/create-sending-domain.d.cts +50 -3
- package/dist/actions/create-sending-domain.d.cts.map +1 -1
- package/dist/actions/create-sending-domain.d.mts +50 -3
- package/dist/actions/create-sending-domain.d.mts.map +1 -1
- package/dist/actions/create-sending-domain.mjs +22 -22
- package/dist/actions/create-sending-domain.mjs.map +1 -1
- package/dist/actions/delete-contact-field.cjs +3 -3
- package/dist/actions/delete-contact-field.cjs.map +1 -1
- package/dist/actions/delete-contact-field.d.cts +12 -3
- package/dist/actions/delete-contact-field.d.cts.map +1 -1
- package/dist/actions/delete-contact-field.d.mts +12 -3
- package/dist/actions/delete-contact-field.d.mts.map +1 -1
- package/dist/actions/delete-contact-field.mjs +3 -3
- package/dist/actions/delete-contact-field.mjs.map +1 -1
- package/dist/actions/delete-contact-list.cjs +1 -1
- package/dist/actions/delete-contact-list.cjs.map +1 -1
- package/dist/actions/delete-contact-list.d.cts +11 -3
- package/dist/actions/delete-contact-list.d.cts.map +1 -1
- package/dist/actions/delete-contact-list.d.mts +11 -3
- package/dist/actions/delete-contact-list.d.mts.map +1 -1
- package/dist/actions/delete-contact-list.mjs +1 -1
- package/dist/actions/delete-contact-list.mjs.map +1 -1
- package/dist/actions/delete-contact.cjs +1 -1
- package/dist/actions/delete-contact.cjs.map +1 -1
- package/dist/actions/delete-contact.d.cts +11 -3
- package/dist/actions/delete-contact.d.cts.map +1 -1
- package/dist/actions/delete-contact.d.mts +11 -3
- package/dist/actions/delete-contact.d.mts.map +1 -1
- package/dist/actions/delete-contact.mjs +1 -1
- package/dist/actions/delete-contact.mjs.map +1 -1
- package/dist/actions/delete-email-template.cjs +1 -1
- package/dist/actions/delete-email-template.cjs.map +1 -1
- package/dist/actions/delete-email-template.d.cts +11 -3
- package/dist/actions/delete-email-template.d.cts.map +1 -1
- package/dist/actions/delete-email-template.d.mts +11 -3
- package/dist/actions/delete-email-template.d.mts.map +1 -1
- package/dist/actions/delete-email-template.mjs +1 -1
- package/dist/actions/delete-email-template.mjs.map +1 -1
- package/dist/actions/delete-project.cjs +1 -1
- package/dist/actions/delete-project.cjs.map +1 -1
- package/dist/actions/delete-project.d.cts +11 -3
- package/dist/actions/delete-project.d.cts.map +1 -1
- package/dist/actions/delete-project.d.mts +11 -3
- package/dist/actions/delete-project.d.mts.map +1 -1
- package/dist/actions/delete-project.mjs +1 -1
- package/dist/actions/delete-project.mjs.map +1 -1
- package/dist/actions/delete-sending-domain.cjs +1 -1
- package/dist/actions/delete-sending-domain.cjs.map +1 -1
- package/dist/actions/delete-sending-domain.d.cts +9 -3
- package/dist/actions/delete-sending-domain.d.cts.map +1 -1
- package/dist/actions/delete-sending-domain.d.mts +9 -3
- package/dist/actions/delete-sending-domain.d.mts.map +1 -1
- package/dist/actions/delete-sending-domain.mjs +1 -1
- package/dist/actions/delete-sending-domain.mjs.map +1 -1
- package/dist/actions/get-billing-usage.cjs +6 -6
- package/dist/actions/get-billing-usage.cjs.map +1 -1
- package/dist/actions/get-billing-usage.d.cts +42 -3
- package/dist/actions/get-billing-usage.d.cts.map +1 -1
- package/dist/actions/get-billing-usage.d.mts +42 -3
- package/dist/actions/get-billing-usage.d.mts.map +1 -1
- package/dist/actions/get-billing-usage.mjs +6 -6
- package/dist/actions/get-billing-usage.mjs.map +1 -1
- package/dist/actions/get-contact-export.cjs +1 -1
- package/dist/actions/get-contact-export.cjs.map +1 -1
- package/dist/actions/get-contact-export.d.cts +19 -3
- package/dist/actions/get-contact-export.d.cts.map +1 -1
- package/dist/actions/get-contact-export.d.mts +19 -3
- package/dist/actions/get-contact-export.d.mts.map +1 -1
- package/dist/actions/get-contact-export.mjs +1 -1
- package/dist/actions/get-contact-export.mjs.map +1 -1
- package/dist/actions/get-contact-field.cjs +1 -1
- package/dist/actions/get-contact-field.cjs.map +1 -1
- package/dist/actions/get-contact-field.d.cts +14 -3
- package/dist/actions/get-contact-field.d.cts.map +1 -1
- package/dist/actions/get-contact-field.d.mts +14 -3
- package/dist/actions/get-contact-field.d.mts.map +1 -1
- package/dist/actions/get-contact-field.mjs +1 -1
- package/dist/actions/get-contact-field.mjs.map +1 -1
- package/dist/actions/get-contact-import.cjs +2 -2
- package/dist/actions/get-contact-import.cjs.map +1 -1
- package/dist/actions/get-contact-import.d.cts +20 -3
- package/dist/actions/get-contact-import.d.cts.map +1 -1
- package/dist/actions/get-contact-import.d.mts +20 -3
- package/dist/actions/get-contact-import.d.mts.map +1 -1
- package/dist/actions/get-contact-import.mjs +2 -2
- package/dist/actions/get-contact-import.mjs.map +1 -1
- package/dist/actions/get-contact-list.cjs +1 -1
- package/dist/actions/get-contact-list.cjs.map +1 -1
- package/dist/actions/get-contact-list.d.cts +12 -3
- package/dist/actions/get-contact-list.d.cts.map +1 -1
- package/dist/actions/get-contact-list.d.mts +12 -3
- package/dist/actions/get-contact-list.d.mts.map +1 -1
- package/dist/actions/get-contact-list.mjs +1 -1
- package/dist/actions/get-contact-list.mjs.map +1 -1
- package/dist/actions/get-contact.cjs +3 -3
- package/dist/actions/get-contact.cjs.map +1 -1
- package/dist/actions/get-contact.d.cts +19 -3
- package/dist/actions/get-contact.d.cts.map +1 -1
- package/dist/actions/get-contact.d.mts +19 -3
- package/dist/actions/get-contact.d.mts.map +1 -1
- package/dist/actions/get-contact.mjs +3 -3
- package/dist/actions/get-contact.mjs.map +1 -1
- package/dist/actions/get-email-template.cjs +1 -1
- package/dist/actions/get-email-template.cjs.map +1 -1
- package/dist/actions/get-email-template.d.cts +19 -3
- package/dist/actions/get-email-template.d.cts.map +1 -1
- package/dist/actions/get-email-template.d.mts +19 -3
- package/dist/actions/get-email-template.d.mts.map +1 -1
- package/dist/actions/get-email-template.mjs +1 -1
- package/dist/actions/get-email-template.mjs.map +1 -1
- package/dist/actions/get-inbox.cjs +25 -25
- package/dist/actions/get-inbox.cjs.map +1 -1
- package/dist/actions/get-inbox.d.cts +39 -3
- package/dist/actions/get-inbox.d.cts.map +1 -1
- package/dist/actions/get-inbox.d.mts +39 -3
- package/dist/actions/get-inbox.d.mts.map +1 -1
- package/dist/actions/get-inbox.mjs +25 -25
- package/dist/actions/get-inbox.mjs.map +1 -1
- package/dist/actions/get-message-html.cjs +3 -3
- package/dist/actions/get-message-html.cjs.map +1 -1
- package/dist/actions/get-message-html.d.cts +14 -3
- package/dist/actions/get-message-html.d.cts.map +1 -1
- package/dist/actions/get-message-html.d.mts +14 -3
- package/dist/actions/get-message-html.d.mts.map +1 -1
- package/dist/actions/get-message-html.mjs +3 -3
- package/dist/actions/get-message-html.mjs.map +1 -1
- package/dist/actions/get-permission-resources.cjs +16 -16
- package/dist/actions/get-permission-resources.cjs.map +1 -1
- package/dist/actions/get-permission-resources.d.cts +26 -3
- package/dist/actions/get-permission-resources.d.cts.map +1 -1
- package/dist/actions/get-permission-resources.d.mts +26 -3
- package/dist/actions/get-permission-resources.d.mts.map +1 -1
- package/dist/actions/get-permission-resources.mjs +16 -16
- package/dist/actions/get-permission-resources.mjs.map +1 -1
- package/dist/actions/get-project.cjs +34 -34
- package/dist/actions/get-project.cjs.map +1 -1
- package/dist/actions/get-project.d.cts +53 -3
- package/dist/actions/get-project.d.cts.map +1 -1
- package/dist/actions/get-project.d.mts +53 -3
- package/dist/actions/get-project.d.mts.map +1 -1
- package/dist/actions/get-project.mjs +34 -34
- package/dist/actions/get-project.mjs.map +1 -1
- package/dist/actions/get-sending-domain.cjs +3 -3
- package/dist/actions/get-sending-domain.cjs.map +1 -1
- package/dist/actions/get-sending-domain.d.cts +46 -3
- package/dist/actions/get-sending-domain.d.cts.map +1 -1
- package/dist/actions/get-sending-domain.d.mts +46 -3
- package/dist/actions/get-sending-domain.d.mts.map +1 -1
- package/dist/actions/get-sending-domain.mjs +3 -3
- package/dist/actions/get-sending-domain.mjs.map +1 -1
- package/dist/actions/get-sending-stats-by-categories.cjs +4 -4
- package/dist/actions/get-sending-stats-by-categories.cjs.map +1 -1
- package/dist/actions/get-sending-stats-by-categories.d.cts +35 -3
- package/dist/actions/get-sending-stats-by-categories.d.cts.map +1 -1
- package/dist/actions/get-sending-stats-by-categories.d.mts +35 -3
- package/dist/actions/get-sending-stats-by-categories.d.mts.map +1 -1
- package/dist/actions/get-sending-stats-by-categories.mjs +4 -4
- package/dist/actions/get-sending-stats-by-categories.mjs.map +1 -1
- package/dist/actions/get-sending-stats-by-date.cjs +4 -4
- package/dist/actions/get-sending-stats-by-date.cjs.map +1 -1
- package/dist/actions/get-sending-stats-by-date.d.cts +35 -3
- package/dist/actions/get-sending-stats-by-date.d.cts.map +1 -1
- package/dist/actions/get-sending-stats-by-date.d.mts +35 -3
- package/dist/actions/get-sending-stats-by-date.d.mts.map +1 -1
- package/dist/actions/get-sending-stats-by-date.mjs +4 -4
- package/dist/actions/get-sending-stats-by-date.mjs.map +1 -1
- package/dist/actions/get-sending-stats-by-domains.cjs +4 -4
- package/dist/actions/get-sending-stats-by-domains.cjs.map +1 -1
- package/dist/actions/get-sending-stats-by-domains.d.cts +35 -3
- package/dist/actions/get-sending-stats-by-domains.d.cts.map +1 -1
- package/dist/actions/get-sending-stats-by-domains.d.mts +35 -3
- package/dist/actions/get-sending-stats-by-domains.d.mts.map +1 -1
- package/dist/actions/get-sending-stats-by-domains.mjs +4 -4
- package/dist/actions/get-sending-stats-by-domains.mjs.map +1 -1
- package/dist/actions/get-sending-stats-by-esp.cjs +3 -3
- package/dist/actions/get-sending-stats-by-esp.cjs.map +1 -1
- package/dist/actions/get-sending-stats-by-esp.d.cts +35 -3
- package/dist/actions/get-sending-stats-by-esp.d.cts.map +1 -1
- package/dist/actions/get-sending-stats-by-esp.d.mts +35 -3
- package/dist/actions/get-sending-stats-by-esp.d.mts.map +1 -1
- package/dist/actions/get-sending-stats-by-esp.mjs +3 -3
- package/dist/actions/get-sending-stats-by-esp.mjs.map +1 -1
- package/dist/actions/get-sending-stats.cjs +1 -1
- package/dist/actions/get-sending-stats.cjs.map +1 -1
- package/dist/actions/get-sending-stats.d.cts +30 -3
- package/dist/actions/get-sending-stats.d.cts.map +1 -1
- package/dist/actions/get-sending-stats.d.mts +30 -3
- package/dist/actions/get-sending-stats.d.mts.map +1 -1
- package/dist/actions/get-sending-stats.mjs +1 -1
- package/dist/actions/get-sending-stats.mjs.map +1 -1
- package/dist/actions/import-contacts.cjs +2 -2
- package/dist/actions/import-contacts.cjs.map +1 -1
- package/dist/actions/import-contacts.d.cts +26 -3
- package/dist/actions/import-contacts.d.cts.map +1 -1
- package/dist/actions/import-contacts.d.mts +26 -3
- package/dist/actions/import-contacts.d.mts.map +1 -1
- package/dist/actions/import-contacts.mjs +2 -2
- package/dist/actions/import-contacts.mjs.map +1 -1
- package/dist/actions/list-accounts.cjs +4 -4
- package/dist/actions/list-accounts.cjs.map +1 -1
- package/dist/actions/list-accounts.d.cts +9 -3
- package/dist/actions/list-accounts.d.cts.map +1 -1
- package/dist/actions/list-accounts.d.mts +9 -3
- package/dist/actions/list-accounts.d.mts.map +1 -1
- package/dist/actions/list-accounts.mjs +4 -4
- package/dist/actions/list-accounts.mjs.map +1 -1
- package/dist/actions/list-contact-fields.cjs +2 -2
- package/dist/actions/list-contact-fields.cjs.map +1 -1
- package/dist/actions/list-contact-fields.d.cts +20 -3
- package/dist/actions/list-contact-fields.d.cts.map +1 -1
- package/dist/actions/list-contact-fields.d.mts +20 -3
- package/dist/actions/list-contact-fields.d.mts.map +1 -1
- package/dist/actions/list-contact-fields.mjs +2 -2
- package/dist/actions/list-contact-fields.mjs.map +1 -1
- package/dist/actions/list-contact-lists.cjs +4 -4
- package/dist/actions/list-contact-lists.cjs.map +1 -1
- package/dist/actions/list-contact-lists.d.cts +12 -3
- package/dist/actions/list-contact-lists.d.cts.map +1 -1
- package/dist/actions/list-contact-lists.d.mts +12 -3
- package/dist/actions/list-contact-lists.d.mts.map +1 -1
- package/dist/actions/list-contact-lists.mjs +4 -4
- package/dist/actions/list-contact-lists.mjs.map +1 -1
- package/dist/actions/list-email-templates.cjs +2 -2
- package/dist/actions/list-email-templates.cjs.map +1 -1
- package/dist/actions/list-email-templates.d.cts +19 -3
- package/dist/actions/list-email-templates.d.cts.map +1 -1
- package/dist/actions/list-email-templates.d.mts +19 -3
- package/dist/actions/list-email-templates.d.mts.map +1 -1
- package/dist/actions/list-email-templates.mjs +2 -2
- package/dist/actions/list-email-templates.mjs.map +1 -1
- package/dist/actions/list-inboxes.cjs +25 -25
- package/dist/actions/list-inboxes.cjs.map +1 -1
- package/dist/actions/list-inboxes.d.cts +43 -3
- package/dist/actions/list-inboxes.d.cts.map +1 -1
- package/dist/actions/list-inboxes.d.mts +43 -3
- package/dist/actions/list-inboxes.d.mts.map +1 -1
- package/dist/actions/list-inboxes.mjs +25 -25
- package/dist/actions/list-inboxes.mjs.map +1 -1
- package/dist/actions/list-messages.cjs +7 -7
- package/dist/actions/list-messages.cjs.map +1 -1
- package/dist/actions/list-messages.d.cts +55 -3
- package/dist/actions/list-messages.d.cts.map +1 -1
- package/dist/actions/list-messages.d.mts +55 -3
- package/dist/actions/list-messages.d.mts.map +1 -1
- package/dist/actions/list-messages.mjs +7 -7
- package/dist/actions/list-messages.mjs.map +1 -1
- package/dist/actions/list-projects.cjs +11 -11
- package/dist/actions/list-projects.cjs.map +1 -1
- package/dist/actions/list-projects.d.cts +46 -3
- package/dist/actions/list-projects.d.cts.map +1 -1
- package/dist/actions/list-projects.d.mts +46 -3
- package/dist/actions/list-projects.d.mts.map +1 -1
- package/dist/actions/list-projects.mjs +11 -11
- package/dist/actions/list-projects.mjs.map +1 -1
- package/dist/actions/list-sending-domains.cjs +4 -4
- package/dist/actions/list-sending-domains.cjs.map +1 -1
- package/dist/actions/list-sending-domains.d.cts +36 -3
- package/dist/actions/list-sending-domains.d.cts.map +1 -1
- package/dist/actions/list-sending-domains.d.mts +36 -3
- package/dist/actions/list-sending-domains.d.mts.map +1 -1
- package/dist/actions/list-sending-domains.mjs +4 -4
- package/dist/actions/list-sending-domains.mjs.map +1 -1
- package/dist/actions/list-suppressions.cjs +5 -5
- package/dist/actions/list-suppressions.cjs.map +1 -1
- package/dist/actions/list-suppressions.d.cts +25 -3
- package/dist/actions/list-suppressions.d.cts.map +1 -1
- package/dist/actions/list-suppressions.d.mts +25 -3
- package/dist/actions/list-suppressions.d.mts.map +1 -1
- package/dist/actions/list-suppressions.mjs +5 -5
- package/dist/actions/list-suppressions.mjs.map +1 -1
- package/dist/actions/mark-inbox-as-read.cjs +25 -25
- package/dist/actions/mark-inbox-as-read.cjs.map +1 -1
- package/dist/actions/mark-inbox-as-read.d.cts +43 -3
- package/dist/actions/mark-inbox-as-read.d.cts.map +1 -1
- package/dist/actions/mark-inbox-as-read.d.mts +43 -3
- package/dist/actions/mark-inbox-as-read.d.mts.map +1 -1
- package/dist/actions/mark-inbox-as-read.mjs +25 -25
- package/dist/actions/mark-inbox-as-read.mjs.map +1 -1
- package/dist/actions/reset-inbox-credentials.cjs +25 -25
- package/dist/actions/reset-inbox-credentials.cjs.map +1 -1
- package/dist/actions/reset-inbox-credentials.d.cts +43 -3
- package/dist/actions/reset-inbox-credentials.d.cts.map +1 -1
- package/dist/actions/reset-inbox-credentials.d.mts +43 -3
- package/dist/actions/reset-inbox-credentials.d.mts.map +1 -1
- package/dist/actions/reset-inbox-credentials.mjs +25 -25
- package/dist/actions/reset-inbox-credentials.mjs.map +1 -1
- package/dist/actions/update-contact-field.cjs +1 -1
- package/dist/actions/update-contact-field.cjs.map +1 -1
- package/dist/actions/update-contact-field.d.cts +24 -3
- package/dist/actions/update-contact-field.d.cts.map +1 -1
- package/dist/actions/update-contact-field.d.mts +24 -3
- package/dist/actions/update-contact-field.d.mts.map +1 -1
- package/dist/actions/update-contact-field.mjs +1 -1
- package/dist/actions/update-contact-field.mjs.map +1 -1
- package/dist/actions/update-contact-list.cjs +3 -3
- package/dist/actions/update-contact-list.cjs.map +1 -1
- package/dist/actions/update-contact-list.d.cts +14 -3
- package/dist/actions/update-contact-list.d.cts.map +1 -1
- package/dist/actions/update-contact-list.d.mts +14 -3
- package/dist/actions/update-contact-list.d.mts.map +1 -1
- package/dist/actions/update-contact-list.mjs +3 -3
- package/dist/actions/update-contact-list.mjs.map +1 -1
- package/dist/actions/update-contact.cjs +4 -4
- package/dist/actions/update-contact.cjs.map +1 -1
- package/dist/actions/update-contact.d.cts +40 -3
- package/dist/actions/update-contact.d.cts.map +1 -1
- package/dist/actions/update-contact.d.mts +40 -3
- package/dist/actions/update-contact.d.mts.map +1 -1
- package/dist/actions/update-contact.mjs +4 -4
- package/dist/actions/update-contact.mjs.map +1 -1
- package/dist/actions/update-email-template.cjs +1 -1
- package/dist/actions/update-email-template.cjs.map +1 -1
- package/dist/actions/update-email-template.d.cts +33 -3
- package/dist/actions/update-email-template.d.cts.map +1 -1
- package/dist/actions/update-email-template.d.mts +33 -3
- package/dist/actions/update-email-template.d.mts.map +1 -1
- package/dist/actions/update-email-template.mjs +1 -1
- package/dist/actions/update-email-template.mjs.map +1 -1
- package/dist/actions/update-inbox.cjs +25 -25
- package/dist/actions/update-inbox.cjs.map +1 -1
- package/dist/actions/update-inbox.d.cts +51 -3
- package/dist/actions/update-inbox.d.cts.map +1 -1
- package/dist/actions/update-inbox.d.mts +51 -3
- package/dist/actions/update-inbox.d.mts.map +1 -1
- package/dist/actions/update-inbox.mjs +25 -25
- package/dist/actions/update-inbox.mjs.map +1 -1
- package/dist/actions/update-project.cjs +36 -36
- package/dist/actions/update-project.cjs.map +1 -1
- package/dist/actions/update-project.d.cts +59 -3
- package/dist/actions/update-project.d.cts.map +1 -1
- package/dist/actions/update-project.d.mts +59 -3
- package/dist/actions/update-project.d.mts.map +1 -1
- package/dist/actions/update-project.mjs +36 -36
- package/dist/actions/update-project.mjs.map +1 -1
- package/dist/catalog.cjs +14 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +13 -0
- package/dist/catalog.d.mts +13 -0
- package/dist/catalog.mjs +14 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-contact-list.mjs","names":[],"sources":["../../src/actions/get-contact-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapGetContactListInput
|
|
1
|
+
{"version":3,"file":"get-contact-list.mjs","names":[],"sources":["../../src/actions/get-contact-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapGetContactListInput = z.object({\n list_id: z.number().int().describe(\"Unique list ID\"),\n account_id: z.number().int().describe(\"Unique account ID\"),\n}).describe(\"Request model for retrieving a contact list by ID.\");\nexport const MailtrapGetContactListOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact list\").nullable().optional(),\n name: z.string().describe(\"Name of the contact list (max 255 characters)\").nullable().optional(),\n}).passthrough().describe(\"Response model containing contact list details.\");\n\nexport const mailtrapGetContactList = action(\"MAILTRAP_GET_CONTACT_LIST\", {\n slug: \"mailtrap-get-contact-list\",\n name: \"Get Contact List\",\n description: \"Tool to retrieve a specific contact list by its ID. Use when you need to fetch details about a contact list in a Mailtrap account.\",\n input: MailtrapGetContactListInput,\n output: MailtrapGetContactListOutput,\n});\n"],"mappings":";;AAaA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbyC,EAAE,OAAO;EAClD,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gBAAgB;EACnD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB;CAC3D,CAAC,CAAC,CAAC,SAAS,oDAUH;CACP,QAV0C,EAAE,OAAO;EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAOhB;AACV,CAAC"}
|
|
@@ -8,13 +8,13 @@ const MailtrapGetContactInput = zod.z.object({
|
|
|
8
8
|
const MailtrapGetContact_ContactDataSchema = zod.z.object({
|
|
9
9
|
id: zod.z.string().describe("Unique identifier of the contact").nullable().optional(),
|
|
10
10
|
email: zod.z.string().describe("Email address of the contact").nullable().optional(),
|
|
11
|
-
fields: zod.z.
|
|
11
|
+
fields: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Object of custom fields in the format: field_merge_tag: string | integer | float | boolean | date string (ISO-8601 format)").nullable().optional(),
|
|
12
12
|
status: zod.z.string().describe("Status of the contact: 'subscribed' if email was NOT in suppression list, 'unsubscribed' otherwise").nullable().optional(),
|
|
13
13
|
list_ids: zod.z.array(zod.z.number().int()).describe("List of mailing list IDs the contact is subscribed to").nullable().optional(),
|
|
14
14
|
created_at: zod.z.number().int().describe("Timestamp in milliseconds when the contact was created").nullable().optional(),
|
|
15
15
|
updated_at: zod.z.number().int().describe("Timestamp in milliseconds when the contact was last updated").nullable().optional()
|
|
16
|
-
}).describe("Contact data returned by the Mailtrap API.");
|
|
17
|
-
const MailtrapGetContactOutput = zod.z.object({ data: MailtrapGetContact_ContactDataSchema.nullable().optional() }).describe("Response model for retrieving a contact from Mailtrap.");
|
|
16
|
+
}).passthrough().describe("Contact data returned by the Mailtrap API.");
|
|
17
|
+
const MailtrapGetContactOutput = zod.z.object({ data: MailtrapGetContact_ContactDataSchema.nullable().optional() }).passthrough().describe("Response model for retrieving a contact from Mailtrap.");
|
|
18
18
|
const mailtrapGetContact = require_action.action("MAILTRAP_GET_CONTACT", {
|
|
19
19
|
slug: "mailtrap-get-contact",
|
|
20
20
|
name: "Get Contact",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-contact.cjs","names":["z","action"],"sources":["../../src/actions/get-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapGetContactInput
|
|
1
|
+
{"version":3,"file":"get-contact.cjs","names":["z","action"],"sources":["../../src/actions/get-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapGetContactInput = z.object({\n account_id: z.number().int().describe(\"Unique account ID for the Mailtrap account\"),\n contact_identifier: z.string().describe(\"Contact UUID or Email address to identify the contact\"),\n}).describe(\"Request model for retrieving a contact from Mailtrap.\");\nconst MailtrapGetContact_ContactDataSchema = z.object({\n id: z.string().describe(\"Unique identifier of the contact\").nullable().optional(),\n email: z.string().describe(\"Email address of the contact\").nullable().optional(),\n fields: z.record(z.string(), z.unknown()).describe(\"Object of custom fields in the format: field_merge_tag: string | integer | float | boolean | date string (ISO-8601 format)\").nullable().optional(),\n status: z.string().describe(\"Status of the contact: 'subscribed' if email was NOT in suppression list, 'unsubscribed' otherwise\").nullable().optional(),\n list_ids: z.array(z.number().int()).describe(\"List of mailing list IDs the contact is subscribed to\").nullable().optional(),\n created_at: z.number().int().describe(\"Timestamp in milliseconds when the contact was created\").nullable().optional(),\n updated_at: z.number().int().describe(\"Timestamp in milliseconds when the contact was last updated\").nullable().optional(),\n}).passthrough().describe(\"Contact data returned by the Mailtrap API.\");\nexport const MailtrapGetContactOutput = z.object({\n data: MailtrapGetContact_ContactDataSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for retrieving a contact from Mailtrap.\");\n\nexport const mailtrapGetContact = action(\"MAILTRAP_GET_CONTACT\", {\n slug: \"mailtrap-get-contact\",\n name: \"Get Contact\",\n description: \"Tool to retrieve a contact by UUID or email address from Mailtrap. Use when you need to fetch details of a specific contact including their subscription status, lists, and custom fields.\",\n input: MailtrapGetContactInput,\n output: MailtrapGetContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C;CAClF,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;AACjG,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4HAA4H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrM,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtJ,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,MAAM,qCAAqC,SAAS,CAAC,CAAC,SAAS,EACjE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAElF,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,25 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-contact.d.ts
|
|
4
|
-
declare const MailtrapGetContactInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MailtrapGetContactInput: z.ZodObject<{
|
|
5
|
+
account_id: z.ZodNumber;
|
|
6
|
+
contact_identifier: z.ZodString;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const MailtrapGetContactOutput: z.ZodObject<{
|
|
9
|
+
data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
10
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
fields: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
13
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
list_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
|
|
15
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
17
|
+
}, z.core.$loose>>>;
|
|
18
|
+
}, z.core.$loose>;
|
|
19
|
+
declare const mailtrapGetContact: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
|
+
account_id: number;
|
|
21
|
+
contact_identifier: string;
|
|
22
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
23
|
//#endregion
|
|
8
24
|
export { mailtrapGetContact };
|
|
9
25
|
//# sourceMappingURL=get-contact.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-contact.d.cts","names":[],"sources":["../../src/actions/get-contact.ts"],"mappings":";;;cAIa,uBAAA,
|
|
1
|
+
{"version":3,"file":"get-contact.d.cts","names":[],"sources":["../../src/actions/get-contact.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAavB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;cAIxB,kBAAA,gCAAkB,wBAAA"}
|
|
@@ -1,9 +1,25 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-contact.d.ts
|
|
4
|
-
declare const MailtrapGetContactInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MailtrapGetContactInput: z.ZodObject<{
|
|
5
|
+
account_id: z.ZodNumber;
|
|
6
|
+
contact_identifier: z.ZodString;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const MailtrapGetContactOutput: z.ZodObject<{
|
|
9
|
+
data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
10
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
fields: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
13
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
list_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
|
|
15
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
17
|
+
}, z.core.$loose>>>;
|
|
18
|
+
}, z.core.$loose>;
|
|
19
|
+
declare const mailtrapGetContact: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
|
+
account_id: number;
|
|
21
|
+
contact_identifier: string;
|
|
22
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
23
|
//#endregion
|
|
8
24
|
export { mailtrapGetContact };
|
|
9
25
|
//# sourceMappingURL=get-contact.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-contact.d.mts","names":[],"sources":["../../src/actions/get-contact.ts"],"mappings":";;;cAIa,uBAAA,
|
|
1
|
+
{"version":3,"file":"get-contact.d.mts","names":[],"sources":["../../src/actions/get-contact.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAavB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;cAIxB,kBAAA,gCAAkB,wBAAA"}
|
|
@@ -8,18 +8,18 @@ const MailtrapGetContactInput = z.object({
|
|
|
8
8
|
const MailtrapGetContact_ContactDataSchema = z.object({
|
|
9
9
|
id: z.string().describe("Unique identifier of the contact").nullable().optional(),
|
|
10
10
|
email: z.string().describe("Email address of the contact").nullable().optional(),
|
|
11
|
-
fields: z.
|
|
11
|
+
fields: z.record(z.string(), z.unknown()).describe("Object of custom fields in the format: field_merge_tag: string | integer | float | boolean | date string (ISO-8601 format)").nullable().optional(),
|
|
12
12
|
status: z.string().describe("Status of the contact: 'subscribed' if email was NOT in suppression list, 'unsubscribed' otherwise").nullable().optional(),
|
|
13
13
|
list_ids: z.array(z.number().int()).describe("List of mailing list IDs the contact is subscribed to").nullable().optional(),
|
|
14
14
|
created_at: z.number().int().describe("Timestamp in milliseconds when the contact was created").nullable().optional(),
|
|
15
15
|
updated_at: z.number().int().describe("Timestamp in milliseconds when the contact was last updated").nullable().optional()
|
|
16
|
-
}).describe("Contact data returned by the Mailtrap API.");
|
|
16
|
+
}).passthrough().describe("Contact data returned by the Mailtrap API.");
|
|
17
17
|
const mailtrapGetContact = action("MAILTRAP_GET_CONTACT", {
|
|
18
18
|
slug: "mailtrap-get-contact",
|
|
19
19
|
name: "Get Contact",
|
|
20
20
|
description: "Tool to retrieve a contact by UUID or email address from Mailtrap. Use when you need to fetch details of a specific contact including their subscription status, lists, and custom fields.",
|
|
21
21
|
input: MailtrapGetContactInput,
|
|
22
|
-
output: z.object({ data: MailtrapGetContact_ContactDataSchema.nullable().optional() }).describe("Response model for retrieving a contact from Mailtrap.")
|
|
22
|
+
output: z.object({ data: MailtrapGetContact_ContactDataSchema.nullable().optional() }).passthrough().describe("Response model for retrieving a contact from Mailtrap.")
|
|
23
23
|
});
|
|
24
24
|
//#endregion
|
|
25
25
|
export { mailtrapGetContact };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-contact.mjs","names":[],"sources":["../../src/actions/get-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapGetContactInput
|
|
1
|
+
{"version":3,"file":"get-contact.mjs","names":[],"sources":["../../src/actions/get-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapGetContactInput = z.object({\n account_id: z.number().int().describe(\"Unique account ID for the Mailtrap account\"),\n contact_identifier: z.string().describe(\"Contact UUID or Email address to identify the contact\"),\n}).describe(\"Request model for retrieving a contact from Mailtrap.\");\nconst MailtrapGetContact_ContactDataSchema = z.object({\n id: z.string().describe(\"Unique identifier of the contact\").nullable().optional(),\n email: z.string().describe(\"Email address of the contact\").nullable().optional(),\n fields: z.record(z.string(), z.unknown()).describe(\"Object of custom fields in the format: field_merge_tag: string | integer | float | boolean | date string (ISO-8601 format)\").nullable().optional(),\n status: z.string().describe(\"Status of the contact: 'subscribed' if email was NOT in suppression list, 'unsubscribed' otherwise\").nullable().optional(),\n list_ids: z.array(z.number().int()).describe(\"List of mailing list IDs the contact is subscribed to\").nullable().optional(),\n created_at: z.number().int().describe(\"Timestamp in milliseconds when the contact was created\").nullable().optional(),\n updated_at: z.number().int().describe(\"Timestamp in milliseconds when the contact was last updated\").nullable().optional(),\n}).passthrough().describe(\"Contact data returned by the Mailtrap API.\");\nexport const MailtrapGetContactOutput = z.object({\n data: MailtrapGetContact_ContactDataSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for retrieving a contact from Mailtrap.\");\n\nexport const mailtrapGetContact = action(\"MAILTRAP_GET_CONTACT\", {\n slug: \"mailtrap-get-contact\",\n name: \"Get Contact\",\n description: \"Tool to retrieve a contact by UUID or email address from Mailtrap. Use when you need to fetch details of a specific contact including their subscription status, lists, and custom fields.\",\n input: MailtrapGetContactInput,\n output: MailtrapGetContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C;CAClF,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;AACjG,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,uCAAuC,EAAE,OAAO;CACpD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4HAA4H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrM,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtJ,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAKtE,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATsC,EAAE,OAAO,EAC/C,MAAM,qCAAqC,SAAS,CAAC,CAAC,SAAS,EACjE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAOhB;AACV,CAAC"}
|
|
@@ -15,7 +15,7 @@ const MailtrapGetEmailTemplateOutput = zod.z.object({
|
|
|
15
15
|
body_text: zod.z.string().describe("Plain text body content of the email template").nullable().optional(),
|
|
16
16
|
created_at: zod.z.string().describe("Timestamp when the template was created (ISO 8601 format)").nullable().optional(),
|
|
17
17
|
updated_at: zod.z.string().describe("Timestamp when the template was last updated (ISO 8601 format)").nullable().optional()
|
|
18
|
-
}).describe("Response model containing email template attributes.");
|
|
18
|
+
}).passthrough().describe("Response model containing email template attributes.");
|
|
19
19
|
const mailtrapGetEmailTemplate = require_action.action("MAILTRAP_GET_EMAIL_TEMPLATE", {
|
|
20
20
|
slug: "mailtrap-get-email-template",
|
|
21
21
|
name: "Get Email Template",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-email-template.cjs","names":["z","action"],"sources":["../../src/actions/get-email-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapGetEmailTemplateInput
|
|
1
|
+
{"version":3,"file":"get-email-template.cjs","names":["z","action"],"sources":["../../src/actions/get-email-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapGetEmailTemplateInput = z.object({\n account_id: z.number().int().describe(\"Account ID\"),\n email_template_id: z.number().int().describe(\"Email template ID\"),\n}).describe(\"Request model for getting an email template.\");\nexport const MailtrapGetEmailTemplateOutput = z.object({\n id: z.number().int().describe(\"Email template ID\").nullable().optional(),\n name: z.string().describe(\"Name of the email template (max 255 characters)\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier for the email template in UUID format\").nullable().optional(),\n subject: z.string().describe(\"Email subject line (max 255 characters)\").nullable().optional(),\n category: z.string().describe(\"Category or type of the email template (max 255 characters)\").nullable().optional(),\n body_html: z.string().describe(\"HTML body content of the email template\").nullable().optional(),\n body_text: z.string().describe(\"Plain text body content of the email template\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the template was created (ISO 8601 format)\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the template was last updated (ISO 8601 format)\").nullable().optional(),\n}).passthrough().describe(\"Response model containing email template attributes.\");\n\nexport const mailtrapGetEmailTemplate = action(\"MAILTRAP_GET_EMAIL_TEMPLATE\", {\n slug: \"mailtrap-get-email-template\",\n name: \"Get Email Template\",\n description: \"Tool to retrieve details of a specific email template by ID. Use when you need to fetch template content, metadata, or configuration for an existing email template.\",\n input: MailtrapGetEmailTemplateInput,\n output: MailtrapGetEmailTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,YAAY;CAClD,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB;AAClE,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,25 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-email-template.d.ts
|
|
4
|
-
declare const MailtrapGetEmailTemplateInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MailtrapGetEmailTemplateInput: z.ZodObject<{
|
|
5
|
+
account_id: z.ZodNumber;
|
|
6
|
+
email_template_id: z.ZodNumber;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const MailtrapGetEmailTemplateOutput: z.ZodObject<{
|
|
9
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
10
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
subject: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
body_html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
body_text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
}, z.core.$loose>;
|
|
19
|
+
declare const mailtrapGetEmailTemplate: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
|
+
account_id: number;
|
|
21
|
+
email_template_id: number;
|
|
22
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
23
|
//#endregion
|
|
8
24
|
export { mailtrapGetEmailTemplate };
|
|
9
25
|
//# sourceMappingURL=get-email-template.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-email-template.d.cts","names":[],"sources":["../../src/actions/get-email-template.ts"],"mappings":";;;cAIa,6BAAA,
|
|
1
|
+
{"version":3,"file":"get-email-template.d.cts","names":[],"sources":["../../src/actions/get-email-template.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAI7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;cAY9B,wBAAA,gCAAwB,wBAAA"}
|
|
@@ -1,9 +1,25 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-email-template.d.ts
|
|
4
|
-
declare const MailtrapGetEmailTemplateInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MailtrapGetEmailTemplateInput: z.ZodObject<{
|
|
5
|
+
account_id: z.ZodNumber;
|
|
6
|
+
email_template_id: z.ZodNumber;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const MailtrapGetEmailTemplateOutput: z.ZodObject<{
|
|
9
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
10
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
subject: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
body_html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
body_text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
}, z.core.$loose>;
|
|
19
|
+
declare const mailtrapGetEmailTemplate: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
|
+
account_id: number;
|
|
21
|
+
email_template_id: number;
|
|
22
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
23
|
//#endregion
|
|
8
24
|
export { mailtrapGetEmailTemplate };
|
|
9
25
|
//# sourceMappingURL=get-email-template.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-email-template.d.mts","names":[],"sources":["../../src/actions/get-email-template.ts"],"mappings":";;;cAIa,6BAAA,
|
|
1
|
+
{"version":3,"file":"get-email-template.d.mts","names":[],"sources":["../../src/actions/get-email-template.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAI7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;cAY9B,wBAAA,gCAAwB,wBAAA"}
|
|
@@ -18,7 +18,7 @@ const mailtrapGetEmailTemplate = action("MAILTRAP_GET_EMAIL_TEMPLATE", {
|
|
|
18
18
|
body_text: z.string().describe("Plain text body content of the email template").nullable().optional(),
|
|
19
19
|
created_at: z.string().describe("Timestamp when the template was created (ISO 8601 format)").nullable().optional(),
|
|
20
20
|
updated_at: z.string().describe("Timestamp when the template was last updated (ISO 8601 format)").nullable().optional()
|
|
21
|
-
}).describe("Response model containing email template attributes.")
|
|
21
|
+
}).passthrough().describe("Response model containing email template attributes.")
|
|
22
22
|
});
|
|
23
23
|
//#endregion
|
|
24
24
|
export { mailtrapGetEmailTemplate };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-email-template.mjs","names":[],"sources":["../../src/actions/get-email-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapGetEmailTemplateInput
|
|
1
|
+
{"version":3,"file":"get-email-template.mjs","names":[],"sources":["../../src/actions/get-email-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapGetEmailTemplateInput = z.object({\n account_id: z.number().int().describe(\"Account ID\"),\n email_template_id: z.number().int().describe(\"Email template ID\"),\n}).describe(\"Request model for getting an email template.\");\nexport const MailtrapGetEmailTemplateOutput = z.object({\n id: z.number().int().describe(\"Email template ID\").nullable().optional(),\n name: z.string().describe(\"Name of the email template (max 255 characters)\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier for the email template in UUID format\").nullable().optional(),\n subject: z.string().describe(\"Email subject line (max 255 characters)\").nullable().optional(),\n category: z.string().describe(\"Category or type of the email template (max 255 characters)\").nullable().optional(),\n body_html: z.string().describe(\"HTML body content of the email template\").nullable().optional(),\n body_text: z.string().describe(\"Plain text body content of the email template\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the template was created (ISO 8601 format)\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the template was last updated (ISO 8601 format)\").nullable().optional(),\n}).passthrough().describe(\"Response model containing email template attributes.\");\n\nexport const mailtrapGetEmailTemplate = action(\"MAILTRAP_GET_EMAIL_TEMPLATE\", {\n slug: \"mailtrap-get-email-template\",\n name: \"Get Email Template\",\n description: \"Tool to retrieve details of a specific email template by ID. Use when you need to fetch template content, metadata, or configuration for an existing email template.\",\n input: MailtrapGetEmailTemplateInput,\n output: MailtrapGetEmailTemplateOutput,\n});\n"],"mappings":";;AAoBA,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApB2C,EAAE,OAAO;EACpD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,YAAY;EAClD,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB;CAClE,CAAC,CAAC,CAAC,SAAS,8CAiBH;CACP,QAjB4C,EAAE,OAAO;EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAOhB;AACV,CAAC"}
|
|
@@ -6,37 +6,37 @@ const MailtrapGetInboxInput = zod.z.object({
|
|
|
6
6
|
account_id: zod.z.number().int().describe("Unique account ID to identify the Mailtrap account.")
|
|
7
7
|
}).describe("Request model for retrieving inbox attributes from Mailtrap.");
|
|
8
8
|
const MailtrapGetInbox_InboxPermissionsSchema = zod.z.object({
|
|
9
|
-
can_read: zod.z.boolean().describe("Whether the token has permission to read the inbox."),
|
|
10
|
-
can_leave: zod.z.boolean().describe("Whether the token has permission to leave the inbox."),
|
|
11
|
-
can_update: zod.z.boolean().describe("Whether the token has permission to update the inbox."),
|
|
12
|
-
can_destroy: zod.z.boolean().describe("Whether the token has permission to destroy the inbox.")
|
|
13
|
-
}).describe("Permissions model for inbox operations.");
|
|
9
|
+
can_read: zod.z.boolean().describe("Whether the token has permission to read the inbox.").nullable(),
|
|
10
|
+
can_leave: zod.z.boolean().describe("Whether the token has permission to leave the inbox.").nullable(),
|
|
11
|
+
can_update: zod.z.boolean().describe("Whether the token has permission to update the inbox.").nullable(),
|
|
12
|
+
can_destroy: zod.z.boolean().describe("Whether the token has permission to destroy the inbox.").nullable()
|
|
13
|
+
}).passthrough().describe("Permissions model for inbox operations.");
|
|
14
14
|
const MailtrapGetInboxOutput = zod.z.object({
|
|
15
|
-
id: zod.z.number().int().describe("Unique identifier for the inbox."),
|
|
16
|
-
name: zod.z.string().describe("Name of the inbox."),
|
|
17
|
-
used: zod.z.boolean().describe("Whether the inbox has been used."),
|
|
18
|
-
domain: zod.z.string().describe("Domain for the inbox."),
|
|
19
|
-
status: zod.z.string().describe("Current status of the inbox (active, inactive, or pending)."),
|
|
20
|
-
max_size: zod.z.number().int().describe("Maximum size limit for the inbox in bytes."),
|
|
15
|
+
id: zod.z.number().int().describe("Unique identifier for the inbox.").nullable(),
|
|
16
|
+
name: zod.z.string().describe("Name of the inbox.").nullable(),
|
|
17
|
+
used: zod.z.boolean().describe("Whether the inbox has been used.").nullable(),
|
|
18
|
+
domain: zod.z.string().describe("Domain for the inbox.").nullable(),
|
|
19
|
+
status: zod.z.string().describe("Current status of the inbox (active, inactive, or pending).").nullable(),
|
|
20
|
+
max_size: zod.z.number().int().describe("Maximum size limit for the inbox in bytes.").nullable(),
|
|
21
21
|
password: zod.z.string().describe("Password for accessing the inbox. Only available if you have admin permissions.").nullable().optional(),
|
|
22
|
-
username: zod.z.string().describe("Username for accessing the inbox."),
|
|
23
|
-
api_domain: zod.z.string().describe("API domain for the inbox."),
|
|
22
|
+
username: zod.z.string().describe("Username for accessing the inbox.").nullable(),
|
|
23
|
+
api_domain: zod.z.string().describe("API domain for the inbox.").nullable(),
|
|
24
24
|
pop3_ports: zod.z.array(zod.z.number().int()).describe("List of POP3 ports available for the inbox."),
|
|
25
|
-
project_id: zod.z.number().int().describe("ID of the project this inbox belongs to."),
|
|
25
|
+
project_id: zod.z.number().int().describe("ID of the project this inbox belongs to.").nullable(),
|
|
26
26
|
smtp_ports: zod.z.array(zod.z.number().int()).describe("List of SMTP ports available for the inbox."),
|
|
27
27
|
permissions: MailtrapGetInbox_InboxPermissionsSchema.nullable(),
|
|
28
|
-
pop3_domain: zod.z.string().describe("POP3 domain for accessing the inbox."),
|
|
29
|
-
email_domain: zod.z.string().describe("Email domain for the inbox."),
|
|
30
|
-
emails_count: zod.z.number().int().describe("Total number of emails in the inbox."),
|
|
31
|
-
email_username: zod.z.string().describe("Email username for the inbox."),
|
|
32
|
-
max_message_size: zod.z.number().int().describe("Maximum message size allowed in bytes."),
|
|
33
|
-
emails_unread_count: zod.z.number().int().describe("Number of unread emails in the inbox."),
|
|
34
|
-
sent_messages_count: zod.z.number().int().describe("Total number of sent messages from the inbox."),
|
|
28
|
+
pop3_domain: zod.z.string().describe("POP3 domain for accessing the inbox.").nullable(),
|
|
29
|
+
email_domain: zod.z.string().describe("Email domain for the inbox.").nullable(),
|
|
30
|
+
emails_count: zod.z.number().int().describe("Total number of emails in the inbox.").nullable(),
|
|
31
|
+
email_username: zod.z.string().describe("Email username for the inbox.").nullable(),
|
|
32
|
+
max_message_size: zod.z.number().int().describe("Maximum message size allowed in bytes.").nullable(),
|
|
33
|
+
emails_unread_count: zod.z.number().int().describe("Number of unread emails in the inbox.").nullable(),
|
|
34
|
+
sent_messages_count: zod.z.number().int().describe("Total number of sent messages from the inbox.").nullable(),
|
|
35
35
|
last_message_sent_at: zod.z.string().describe("Timestamp of the last message sent. Null if no messages have been sent.").nullable().optional(),
|
|
36
|
-
email_username_enabled: zod.z.boolean().describe("Whether the email username is enabled."),
|
|
37
|
-
forwarded_messages_count: zod.z.number().int().describe("Total number of forwarded messages."),
|
|
38
|
-
forward_from_email_address: zod.z.string().describe("Email address from which messages are forwarded.")
|
|
39
|
-
}).describe("Response model containing inbox attributes from Mailtrap.");
|
|
36
|
+
email_username_enabled: zod.z.boolean().describe("Whether the email username is enabled.").nullable(),
|
|
37
|
+
forwarded_messages_count: zod.z.number().int().describe("Total number of forwarded messages.").nullable(),
|
|
38
|
+
forward_from_email_address: zod.z.string().describe("Email address from which messages are forwarded.").nullable()
|
|
39
|
+
}).passthrough().describe("Response model containing inbox attributes from Mailtrap.");
|
|
40
40
|
const mailtrapGetInbox = require_action.action("MAILTRAP_GET_INBOX", {
|
|
41
41
|
slug: "mailtrap-get-inbox",
|
|
42
42
|
name: "Get Inbox Attributes",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-inbox.cjs","names":["z","action"],"sources":["../../src/actions/get-inbox.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapGetInboxInput
|
|
1
|
+
{"version":3,"file":"get-inbox.cjs","names":["z","action"],"sources":["../../src/actions/get-inbox.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapGetInboxInput = z.object({\n inbox_id: z.number().int().describe(\"Unique inbox ID to identify the specific inbox.\"),\n account_id: z.number().int().describe(\"Unique account ID to identify the Mailtrap account.\"),\n}).describe(\"Request model for retrieving inbox attributes from Mailtrap.\");\nconst MailtrapGetInbox_InboxPermissionsSchema = z.object({\n can_read: z.boolean().describe(\"Whether the token has permission to read the inbox.\").nullable(),\n can_leave: z.boolean().describe(\"Whether the token has permission to leave the inbox.\").nullable(),\n can_update: z.boolean().describe(\"Whether the token has permission to update the inbox.\").nullable(),\n can_destroy: z.boolean().describe(\"Whether the token has permission to destroy the inbox.\").nullable(),\n}).passthrough().describe(\"Permissions model for inbox operations.\");\nexport const MailtrapGetInboxOutput = z.object({\n id: z.number().int().describe(\"Unique identifier for the inbox.\").nullable(),\n name: z.string().describe(\"Name of the inbox.\").nullable(),\n used: z.boolean().describe(\"Whether the inbox has been used.\").nullable(),\n domain: z.string().describe(\"Domain for the inbox.\").nullable(),\n status: z.string().describe(\"Current status of the inbox (active, inactive, or pending).\").nullable(),\n max_size: z.number().int().describe(\"Maximum size limit for the inbox in bytes.\").nullable(),\n password: z.string().describe(\"Password for accessing the inbox. Only available if you have admin permissions.\").nullable().optional(),\n username: z.string().describe(\"Username for accessing the inbox.\").nullable(),\n api_domain: z.string().describe(\"API domain for the inbox.\").nullable(),\n pop3_ports: z.array(z.number().int()).describe(\"List of POP3 ports available for the inbox.\"),\n project_id: z.number().int().describe(\"ID of the project this inbox belongs to.\").nullable(),\n smtp_ports: z.array(z.number().int()).describe(\"List of SMTP ports available for the inbox.\"),\n permissions: MailtrapGetInbox_InboxPermissionsSchema.nullable(),\n pop3_domain: z.string().describe(\"POP3 domain for accessing the inbox.\").nullable(),\n email_domain: z.string().describe(\"Email domain for the inbox.\").nullable(),\n emails_count: z.number().int().describe(\"Total number of emails in the inbox.\").nullable(),\n email_username: z.string().describe(\"Email username for the inbox.\").nullable(),\n max_message_size: z.number().int().describe(\"Maximum message size allowed in bytes.\").nullable(),\n emails_unread_count: z.number().int().describe(\"Number of unread emails in the inbox.\").nullable(),\n sent_messages_count: z.number().int().describe(\"Total number of sent messages from the inbox.\").nullable(),\n last_message_sent_at: z.string().describe(\"Timestamp of the last message sent. Null if no messages have been sent.\").nullable().optional(),\n email_username_enabled: z.boolean().describe(\"Whether the email username is enabled.\").nullable(),\n forwarded_messages_count: z.number().int().describe(\"Total number of forwarded messages.\").nullable(),\n forward_from_email_address: z.string().describe(\"Email address from which messages are forwarded.\").nullable(),\n}).passthrough().describe(\"Response model containing inbox attributes from Mailtrap.\");\n\nexport const mailtrapGetInbox = action(\"MAILTRAP_GET_INBOX\", {\n slug: \"mailtrap-get-inbox\",\n name: \"Get Inbox Attributes\",\n description: \"Tool to retrieve inbox attributes from Mailtrap. Use when you need to get details about a specific inbox including its configuration, statistics, and permissions.\",\n input: MailtrapGetInboxInput,\n output: MailtrapGetInboxOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD;CACrF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD;AAC7F,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC/F,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACjG,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACnG,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AACnE,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC3E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CACzD,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACxE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC9D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACpG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC3F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC5E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACtE,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,6CAA6C;CAC5F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC3F,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,6CAA6C;CAC5F,aAAa,wCAAwC,SAAS;CAC9D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAClF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAC1E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACzF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC9E,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC/F,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACjG,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACzG,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,wBAAwBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAChG,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACpG,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AAErF,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,45 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-inbox.d.ts
|
|
4
|
-
declare const MailtrapGetInboxInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MailtrapGetInboxInput: z.ZodObject<{
|
|
5
|
+
inbox_id: z.ZodNumber;
|
|
6
|
+
account_id: z.ZodNumber;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const MailtrapGetInboxOutput: z.ZodObject<{
|
|
9
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
10
|
+
name: z.ZodNullable<z.ZodString>;
|
|
11
|
+
used: z.ZodNullable<z.ZodBoolean>;
|
|
12
|
+
domain: z.ZodNullable<z.ZodString>;
|
|
13
|
+
status: z.ZodNullable<z.ZodString>;
|
|
14
|
+
max_size: z.ZodNullable<z.ZodNumber>;
|
|
15
|
+
password: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
username: z.ZodNullable<z.ZodString>;
|
|
17
|
+
api_domain: z.ZodNullable<z.ZodString>;
|
|
18
|
+
pop3_ports: z.ZodArray<z.ZodNumber>;
|
|
19
|
+
project_id: z.ZodNullable<z.ZodNumber>;
|
|
20
|
+
smtp_ports: z.ZodArray<z.ZodNumber>;
|
|
21
|
+
permissions: z.ZodNullable<z.ZodObject<{
|
|
22
|
+
can_read: z.ZodNullable<z.ZodBoolean>;
|
|
23
|
+
can_leave: z.ZodNullable<z.ZodBoolean>;
|
|
24
|
+
can_update: z.ZodNullable<z.ZodBoolean>;
|
|
25
|
+
can_destroy: z.ZodNullable<z.ZodBoolean>;
|
|
26
|
+
}, z.core.$loose>>;
|
|
27
|
+
pop3_domain: z.ZodNullable<z.ZodString>;
|
|
28
|
+
email_domain: z.ZodNullable<z.ZodString>;
|
|
29
|
+
emails_count: z.ZodNullable<z.ZodNumber>;
|
|
30
|
+
email_username: z.ZodNullable<z.ZodString>;
|
|
31
|
+
max_message_size: z.ZodNullable<z.ZodNumber>;
|
|
32
|
+
emails_unread_count: z.ZodNullable<z.ZodNumber>;
|
|
33
|
+
sent_messages_count: z.ZodNullable<z.ZodNumber>;
|
|
34
|
+
last_message_sent_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
|
+
email_username_enabled: z.ZodNullable<z.ZodBoolean>;
|
|
36
|
+
forwarded_messages_count: z.ZodNullable<z.ZodNumber>;
|
|
37
|
+
forward_from_email_address: z.ZodNullable<z.ZodString>;
|
|
38
|
+
}, z.core.$loose>;
|
|
39
|
+
declare const mailtrapGetInbox: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
40
|
+
inbox_id: number;
|
|
41
|
+
account_id: number;
|
|
42
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
43
|
//#endregion
|
|
8
44
|
export { mailtrapGetInbox };
|
|
9
45
|
//# sourceMappingURL=get-inbox.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-inbox.d.cts","names":[],"sources":["../../src/actions/get-inbox.ts"],"mappings":";;;cAIa,qBAAA,
|
|
1
|
+
{"version":3,"file":"get-inbox.d.cts","names":[],"sources":["../../src/actions/get-inbox.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;cAUrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA2BtB,gBAAA,gCAAgB,wBAAA"}
|
|
@@ -1,9 +1,45 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-inbox.d.ts
|
|
4
|
-
declare const MailtrapGetInboxInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MailtrapGetInboxInput: z.ZodObject<{
|
|
5
|
+
inbox_id: z.ZodNumber;
|
|
6
|
+
account_id: z.ZodNumber;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const MailtrapGetInboxOutput: z.ZodObject<{
|
|
9
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
10
|
+
name: z.ZodNullable<z.ZodString>;
|
|
11
|
+
used: z.ZodNullable<z.ZodBoolean>;
|
|
12
|
+
domain: z.ZodNullable<z.ZodString>;
|
|
13
|
+
status: z.ZodNullable<z.ZodString>;
|
|
14
|
+
max_size: z.ZodNullable<z.ZodNumber>;
|
|
15
|
+
password: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
username: z.ZodNullable<z.ZodString>;
|
|
17
|
+
api_domain: z.ZodNullable<z.ZodString>;
|
|
18
|
+
pop3_ports: z.ZodArray<z.ZodNumber>;
|
|
19
|
+
project_id: z.ZodNullable<z.ZodNumber>;
|
|
20
|
+
smtp_ports: z.ZodArray<z.ZodNumber>;
|
|
21
|
+
permissions: z.ZodNullable<z.ZodObject<{
|
|
22
|
+
can_read: z.ZodNullable<z.ZodBoolean>;
|
|
23
|
+
can_leave: z.ZodNullable<z.ZodBoolean>;
|
|
24
|
+
can_update: z.ZodNullable<z.ZodBoolean>;
|
|
25
|
+
can_destroy: z.ZodNullable<z.ZodBoolean>;
|
|
26
|
+
}, z.core.$loose>>;
|
|
27
|
+
pop3_domain: z.ZodNullable<z.ZodString>;
|
|
28
|
+
email_domain: z.ZodNullable<z.ZodString>;
|
|
29
|
+
emails_count: z.ZodNullable<z.ZodNumber>;
|
|
30
|
+
email_username: z.ZodNullable<z.ZodString>;
|
|
31
|
+
max_message_size: z.ZodNullable<z.ZodNumber>;
|
|
32
|
+
emails_unread_count: z.ZodNullable<z.ZodNumber>;
|
|
33
|
+
sent_messages_count: z.ZodNullable<z.ZodNumber>;
|
|
34
|
+
last_message_sent_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
|
+
email_username_enabled: z.ZodNullable<z.ZodBoolean>;
|
|
36
|
+
forwarded_messages_count: z.ZodNullable<z.ZodNumber>;
|
|
37
|
+
forward_from_email_address: z.ZodNullable<z.ZodString>;
|
|
38
|
+
}, z.core.$loose>;
|
|
39
|
+
declare const mailtrapGetInbox: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
40
|
+
inbox_id: number;
|
|
41
|
+
account_id: number;
|
|
42
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
43
|
//#endregion
|
|
8
44
|
export { mailtrapGetInbox };
|
|
9
45
|
//# sourceMappingURL=get-inbox.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-inbox.d.mts","names":[],"sources":["../../src/actions/get-inbox.ts"],"mappings":";;;cAIa,qBAAA,
|
|
1
|
+
{"version":3,"file":"get-inbox.d.mts","names":[],"sources":["../../src/actions/get-inbox.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;cAUrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA2BtB,gBAAA,gCAAgB,wBAAA"}
|
|
@@ -6,42 +6,42 @@ const MailtrapGetInboxInput = z.object({
|
|
|
6
6
|
account_id: z.number().int().describe("Unique account ID to identify the Mailtrap account.")
|
|
7
7
|
}).describe("Request model for retrieving inbox attributes from Mailtrap.");
|
|
8
8
|
const MailtrapGetInbox_InboxPermissionsSchema = z.object({
|
|
9
|
-
can_read: z.boolean().describe("Whether the token has permission to read the inbox."),
|
|
10
|
-
can_leave: z.boolean().describe("Whether the token has permission to leave the inbox."),
|
|
11
|
-
can_update: z.boolean().describe("Whether the token has permission to update the inbox."),
|
|
12
|
-
can_destroy: z.boolean().describe("Whether the token has permission to destroy the inbox.")
|
|
13
|
-
}).describe("Permissions model for inbox operations.");
|
|
9
|
+
can_read: z.boolean().describe("Whether the token has permission to read the inbox.").nullable(),
|
|
10
|
+
can_leave: z.boolean().describe("Whether the token has permission to leave the inbox.").nullable(),
|
|
11
|
+
can_update: z.boolean().describe("Whether the token has permission to update the inbox.").nullable(),
|
|
12
|
+
can_destroy: z.boolean().describe("Whether the token has permission to destroy the inbox.").nullable()
|
|
13
|
+
}).passthrough().describe("Permissions model for inbox operations.");
|
|
14
14
|
const mailtrapGetInbox = action("MAILTRAP_GET_INBOX", {
|
|
15
15
|
slug: "mailtrap-get-inbox",
|
|
16
16
|
name: "Get Inbox Attributes",
|
|
17
17
|
description: "Tool to retrieve inbox attributes from Mailtrap. Use when you need to get details about a specific inbox including its configuration, statistics, and permissions.",
|
|
18
18
|
input: MailtrapGetInboxInput,
|
|
19
19
|
output: z.object({
|
|
20
|
-
id: z.number().int().describe("Unique identifier for the inbox."),
|
|
21
|
-
name: z.string().describe("Name of the inbox."),
|
|
22
|
-
used: z.boolean().describe("Whether the inbox has been used."),
|
|
23
|
-
domain: z.string().describe("Domain for the inbox."),
|
|
24
|
-
status: z.string().describe("Current status of the inbox (active, inactive, or pending)."),
|
|
25
|
-
max_size: z.number().int().describe("Maximum size limit for the inbox in bytes."),
|
|
20
|
+
id: z.number().int().describe("Unique identifier for the inbox.").nullable(),
|
|
21
|
+
name: z.string().describe("Name of the inbox.").nullable(),
|
|
22
|
+
used: z.boolean().describe("Whether the inbox has been used.").nullable(),
|
|
23
|
+
domain: z.string().describe("Domain for the inbox.").nullable(),
|
|
24
|
+
status: z.string().describe("Current status of the inbox (active, inactive, or pending).").nullable(),
|
|
25
|
+
max_size: z.number().int().describe("Maximum size limit for the inbox in bytes.").nullable(),
|
|
26
26
|
password: z.string().describe("Password for accessing the inbox. Only available if you have admin permissions.").nullable().optional(),
|
|
27
|
-
username: z.string().describe("Username for accessing the inbox."),
|
|
28
|
-
api_domain: z.string().describe("API domain for the inbox."),
|
|
27
|
+
username: z.string().describe("Username for accessing the inbox.").nullable(),
|
|
28
|
+
api_domain: z.string().describe("API domain for the inbox.").nullable(),
|
|
29
29
|
pop3_ports: z.array(z.number().int()).describe("List of POP3 ports available for the inbox."),
|
|
30
|
-
project_id: z.number().int().describe("ID of the project this inbox belongs to."),
|
|
30
|
+
project_id: z.number().int().describe("ID of the project this inbox belongs to.").nullable(),
|
|
31
31
|
smtp_ports: z.array(z.number().int()).describe("List of SMTP ports available for the inbox."),
|
|
32
32
|
permissions: MailtrapGetInbox_InboxPermissionsSchema.nullable(),
|
|
33
|
-
pop3_domain: z.string().describe("POP3 domain for accessing the inbox."),
|
|
34
|
-
email_domain: z.string().describe("Email domain for the inbox."),
|
|
35
|
-
emails_count: z.number().int().describe("Total number of emails in the inbox."),
|
|
36
|
-
email_username: z.string().describe("Email username for the inbox."),
|
|
37
|
-
max_message_size: z.number().int().describe("Maximum message size allowed in bytes."),
|
|
38
|
-
emails_unread_count: z.number().int().describe("Number of unread emails in the inbox."),
|
|
39
|
-
sent_messages_count: z.number().int().describe("Total number of sent messages from the inbox."),
|
|
33
|
+
pop3_domain: z.string().describe("POP3 domain for accessing the inbox.").nullable(),
|
|
34
|
+
email_domain: z.string().describe("Email domain for the inbox.").nullable(),
|
|
35
|
+
emails_count: z.number().int().describe("Total number of emails in the inbox.").nullable(),
|
|
36
|
+
email_username: z.string().describe("Email username for the inbox.").nullable(),
|
|
37
|
+
max_message_size: z.number().int().describe("Maximum message size allowed in bytes.").nullable(),
|
|
38
|
+
emails_unread_count: z.number().int().describe("Number of unread emails in the inbox.").nullable(),
|
|
39
|
+
sent_messages_count: z.number().int().describe("Total number of sent messages from the inbox.").nullable(),
|
|
40
40
|
last_message_sent_at: z.string().describe("Timestamp of the last message sent. Null if no messages have been sent.").nullable().optional(),
|
|
41
|
-
email_username_enabled: z.boolean().describe("Whether the email username is enabled."),
|
|
42
|
-
forwarded_messages_count: z.number().int().describe("Total number of forwarded messages."),
|
|
43
|
-
forward_from_email_address: z.string().describe("Email address from which messages are forwarded.")
|
|
44
|
-
}).describe("Response model containing inbox attributes from Mailtrap.")
|
|
41
|
+
email_username_enabled: z.boolean().describe("Whether the email username is enabled.").nullable(),
|
|
42
|
+
forwarded_messages_count: z.number().int().describe("Total number of forwarded messages.").nullable(),
|
|
43
|
+
forward_from_email_address: z.string().describe("Email address from which messages are forwarded.").nullable()
|
|
44
|
+
}).passthrough().describe("Response model containing inbox attributes from Mailtrap.")
|
|
45
45
|
});
|
|
46
46
|
//#endregion
|
|
47
47
|
export { mailtrapGetInbox };
|