@keystrokehq/mailtrap 0.1.4 → 0.1.6
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 +1 -0
- package/dist/actions/clean-inbox.cjs.map +1 -1
- package/dist/actions/clean-inbox.d.cts +3 -4
- package/dist/actions/clean-inbox.d.cts.map +1 -1
- package/dist/actions/clean-inbox.d.mts +3 -4
- package/dist/actions/clean-inbox.d.mts.map +1 -1
- package/dist/actions/clean-inbox.mjs +1 -0
- package/dist/actions/clean-inbox.mjs.map +1 -1
- package/dist/actions/create-contact-event.cjs +1 -0
- package/dist/actions/create-contact-event.cjs.map +1 -1
- package/dist/actions/create-contact-event.d.cts +3 -6
- package/dist/actions/create-contact-event.d.cts.map +1 -1
- package/dist/actions/create-contact-event.d.mts +3 -6
- package/dist/actions/create-contact-event.d.mts.map +1 -1
- package/dist/actions/create-contact-event.mjs +1 -0
- package/dist/actions/create-contact-event.mjs.map +1 -1
- package/dist/actions/create-contact-export.cjs +1 -0
- package/dist/actions/create-contact-export.cjs.map +1 -1
- package/dist/actions/create-contact-export.d.cts +3 -9
- package/dist/actions/create-contact-export.d.cts.map +1 -1
- package/dist/actions/create-contact-export.d.mts +3 -9
- package/dist/actions/create-contact-export.d.mts.map +1 -1
- package/dist/actions/create-contact-export.mjs +1 -0
- package/dist/actions/create-contact-export.mjs.map +1 -1
- package/dist/actions/create-contact-field.cjs +1 -0
- package/dist/actions/create-contact-field.cjs.map +1 -1
- package/dist/actions/create-contact-field.d.cts +3 -6
- package/dist/actions/create-contact-field.d.cts.map +1 -1
- package/dist/actions/create-contact-field.d.mts +3 -6
- package/dist/actions/create-contact-field.d.mts.map +1 -1
- package/dist/actions/create-contact-field.mjs +1 -0
- package/dist/actions/create-contact-field.mjs.map +1 -1
- package/dist/actions/create-contact-list.cjs +1 -0
- package/dist/actions/create-contact-list.cjs.map +1 -1
- package/dist/actions/create-contact-list.d.cts +3 -4
- package/dist/actions/create-contact-list.d.cts.map +1 -1
- package/dist/actions/create-contact-list.d.mts +3 -4
- package/dist/actions/create-contact-list.d.mts.map +1 -1
- package/dist/actions/create-contact-list.mjs +1 -0
- package/dist/actions/create-contact-list.mjs.map +1 -1
- package/dist/actions/create-contact.cjs +1 -0
- package/dist/actions/create-contact.cjs.map +1 -1
- package/dist/actions/create-contact.d.cts +3 -11
- package/dist/actions/create-contact.d.cts.map +1 -1
- package/dist/actions/create-contact.d.mts +3 -11
- package/dist/actions/create-contact.d.mts.map +1 -1
- package/dist/actions/create-contact.mjs +1 -0
- package/dist/actions/create-contact.mjs.map +1 -1
- package/dist/actions/create-email-template.cjs +1 -0
- package/dist/actions/create-email-template.cjs.map +1 -1
- package/dist/actions/create-email-template.d.cts +3 -10
- package/dist/actions/create-email-template.d.cts.map +1 -1
- package/dist/actions/create-email-template.d.mts +3 -10
- package/dist/actions/create-email-template.d.mts.map +1 -1
- package/dist/actions/create-email-template.mjs +1 -0
- package/dist/actions/create-email-template.mjs.map +1 -1
- package/dist/actions/create-sending-domain.cjs +1 -0
- package/dist/actions/create-sending-domain.cjs.map +1 -1
- package/dist/actions/create-sending-domain.d.cts +3 -6
- package/dist/actions/create-sending-domain.d.cts.map +1 -1
- package/dist/actions/create-sending-domain.d.mts +3 -6
- package/dist/actions/create-sending-domain.d.mts.map +1 -1
- package/dist/actions/create-sending-domain.mjs +1 -0
- package/dist/actions/create-sending-domain.mjs.map +1 -1
- package/dist/actions/delete-contact-field.cjs +1 -0
- package/dist/actions/delete-contact-field.cjs.map +1 -1
- package/dist/actions/delete-contact-field.d.cts +3 -4
- package/dist/actions/delete-contact-field.d.cts.map +1 -1
- package/dist/actions/delete-contact-field.d.mts +3 -4
- package/dist/actions/delete-contact-field.d.mts.map +1 -1
- package/dist/actions/delete-contact-field.mjs +1 -0
- package/dist/actions/delete-contact-field.mjs.map +1 -1
- package/dist/actions/delete-contact-list.cjs +1 -0
- package/dist/actions/delete-contact-list.cjs.map +1 -1
- package/dist/actions/delete-contact-list.d.cts +3 -4
- package/dist/actions/delete-contact-list.d.cts.map +1 -1
- package/dist/actions/delete-contact-list.d.mts +3 -4
- package/dist/actions/delete-contact-list.d.mts.map +1 -1
- package/dist/actions/delete-contact-list.mjs +1 -0
- package/dist/actions/delete-contact-list.mjs.map +1 -1
- package/dist/actions/delete-contact.cjs +1 -0
- package/dist/actions/delete-contact.cjs.map +1 -1
- package/dist/actions/delete-contact.d.cts +3 -4
- package/dist/actions/delete-contact.d.cts.map +1 -1
- package/dist/actions/delete-contact.d.mts +3 -4
- package/dist/actions/delete-contact.d.mts.map +1 -1
- package/dist/actions/delete-contact.mjs +1 -0
- package/dist/actions/delete-contact.mjs.map +1 -1
- package/dist/actions/delete-email-template.cjs +1 -0
- package/dist/actions/delete-email-template.cjs.map +1 -1
- package/dist/actions/delete-email-template.d.cts +3 -4
- package/dist/actions/delete-email-template.d.cts.map +1 -1
- package/dist/actions/delete-email-template.d.mts +3 -4
- package/dist/actions/delete-email-template.d.mts.map +1 -1
- package/dist/actions/delete-email-template.mjs +1 -0
- package/dist/actions/delete-email-template.mjs.map +1 -1
- package/dist/actions/delete-project.cjs +1 -0
- package/dist/actions/delete-project.cjs.map +1 -1
- package/dist/actions/delete-project.d.cts +3 -4
- package/dist/actions/delete-project.d.cts.map +1 -1
- package/dist/actions/delete-project.d.mts +3 -4
- package/dist/actions/delete-project.d.mts.map +1 -1
- package/dist/actions/delete-project.mjs +1 -0
- package/dist/actions/delete-project.mjs.map +1 -1
- package/dist/actions/delete-sending-domain.cjs +1 -0
- package/dist/actions/delete-sending-domain.cjs.map +1 -1
- package/dist/actions/delete-sending-domain.d.cts +3 -4
- package/dist/actions/delete-sending-domain.d.cts.map +1 -1
- package/dist/actions/delete-sending-domain.d.mts +3 -4
- package/dist/actions/delete-sending-domain.d.mts.map +1 -1
- package/dist/actions/delete-sending-domain.mjs +1 -0
- package/dist/actions/delete-sending-domain.mjs.map +1 -1
- package/dist/actions/get-billing-usage.cjs +1 -0
- package/dist/actions/get-billing-usage.cjs.map +1 -1
- package/dist/actions/get-billing-usage.d.cts +3 -3
- package/dist/actions/get-billing-usage.d.cts.map +1 -1
- package/dist/actions/get-billing-usage.d.mts +3 -3
- package/dist/actions/get-billing-usage.d.mts.map +1 -1
- package/dist/actions/get-billing-usage.mjs +1 -0
- package/dist/actions/get-billing-usage.mjs.map +1 -1
- package/dist/actions/get-contact-export.cjs +1 -0
- package/dist/actions/get-contact-export.cjs.map +1 -1
- package/dist/actions/get-contact-export.d.cts +3 -4
- package/dist/actions/get-contact-export.d.cts.map +1 -1
- package/dist/actions/get-contact-export.d.mts +3 -4
- package/dist/actions/get-contact-export.d.mts.map +1 -1
- package/dist/actions/get-contact-export.mjs +1 -0
- package/dist/actions/get-contact-export.mjs.map +1 -1
- package/dist/actions/get-contact-field.cjs +1 -0
- package/dist/actions/get-contact-field.cjs.map +1 -1
- package/dist/actions/get-contact-field.d.cts +3 -4
- package/dist/actions/get-contact-field.d.cts.map +1 -1
- package/dist/actions/get-contact-field.d.mts +3 -4
- package/dist/actions/get-contact-field.d.mts.map +1 -1
- package/dist/actions/get-contact-field.mjs +1 -0
- package/dist/actions/get-contact-field.mjs.map +1 -1
- package/dist/actions/get-contact-import.cjs +1 -0
- package/dist/actions/get-contact-import.cjs.map +1 -1
- package/dist/actions/get-contact-import.d.cts +3 -4
- package/dist/actions/get-contact-import.d.cts.map +1 -1
- package/dist/actions/get-contact-import.d.mts +3 -4
- package/dist/actions/get-contact-import.d.mts.map +1 -1
- package/dist/actions/get-contact-import.mjs +1 -0
- package/dist/actions/get-contact-import.mjs.map +1 -1
- package/dist/actions/get-contact-list.cjs +1 -0
- package/dist/actions/get-contact-list.cjs.map +1 -1
- package/dist/actions/get-contact-list.d.cts +3 -4
- package/dist/actions/get-contact-list.d.cts.map +1 -1
- package/dist/actions/get-contact-list.d.mts +3 -4
- package/dist/actions/get-contact-list.d.mts.map +1 -1
- package/dist/actions/get-contact-list.mjs +1 -0
- package/dist/actions/get-contact-list.mjs.map +1 -1
- package/dist/actions/get-contact.cjs +1 -0
- package/dist/actions/get-contact.cjs.map +1 -1
- package/dist/actions/get-contact.d.cts +3 -4
- package/dist/actions/get-contact.d.cts.map +1 -1
- package/dist/actions/get-contact.d.mts +3 -4
- package/dist/actions/get-contact.d.mts.map +1 -1
- package/dist/actions/get-contact.mjs +1 -0
- package/dist/actions/get-contact.mjs.map +1 -1
- package/dist/actions/get-email-template.cjs +1 -0
- package/dist/actions/get-email-template.cjs.map +1 -1
- package/dist/actions/get-email-template.d.cts +3 -4
- package/dist/actions/get-email-template.d.cts.map +1 -1
- package/dist/actions/get-email-template.d.mts +3 -4
- package/dist/actions/get-email-template.d.mts.map +1 -1
- package/dist/actions/get-email-template.mjs +1 -0
- package/dist/actions/get-email-template.mjs.map +1 -1
- package/dist/actions/get-inbox.cjs +1 -0
- package/dist/actions/get-inbox.cjs.map +1 -1
- package/dist/actions/get-inbox.d.cts +3 -4
- package/dist/actions/get-inbox.d.cts.map +1 -1
- package/dist/actions/get-inbox.d.mts +3 -4
- package/dist/actions/get-inbox.d.mts.map +1 -1
- package/dist/actions/get-inbox.mjs +1 -0
- package/dist/actions/get-inbox.mjs.map +1 -1
- package/dist/actions/get-message-html.cjs +1 -0
- package/dist/actions/get-message-html.cjs.map +1 -1
- package/dist/actions/get-message-html.d.cts +3 -5
- package/dist/actions/get-message-html.d.cts.map +1 -1
- package/dist/actions/get-message-html.d.mts +3 -5
- package/dist/actions/get-message-html.d.mts.map +1 -1
- package/dist/actions/get-message-html.mjs +1 -0
- package/dist/actions/get-message-html.mjs.map +1 -1
- package/dist/actions/get-permission-resources.cjs +1 -0
- package/dist/actions/get-permission-resources.cjs.map +1 -1
- package/dist/actions/get-permission-resources.d.cts +3 -3
- package/dist/actions/get-permission-resources.d.cts.map +1 -1
- package/dist/actions/get-permission-resources.d.mts +3 -3
- package/dist/actions/get-permission-resources.d.mts.map +1 -1
- package/dist/actions/get-permission-resources.mjs +1 -0
- package/dist/actions/get-permission-resources.mjs.map +1 -1
- package/dist/actions/get-project.cjs +1 -0
- package/dist/actions/get-project.cjs.map +1 -1
- package/dist/actions/get-project.d.cts +3 -4
- package/dist/actions/get-project.d.cts.map +1 -1
- package/dist/actions/get-project.d.mts +3 -4
- package/dist/actions/get-project.d.mts.map +1 -1
- package/dist/actions/get-project.mjs +1 -0
- package/dist/actions/get-project.mjs.map +1 -1
- package/dist/actions/get-sending-domain.cjs +1 -0
- package/dist/actions/get-sending-domain.cjs.map +1 -1
- package/dist/actions/get-sending-domain.d.cts +3 -4
- package/dist/actions/get-sending-domain.d.cts.map +1 -1
- package/dist/actions/get-sending-domain.d.mts +3 -4
- package/dist/actions/get-sending-domain.d.mts.map +1 -1
- package/dist/actions/get-sending-domain.mjs +1 -0
- package/dist/actions/get-sending-domain.mjs.map +1 -1
- package/dist/actions/get-sending-stats-by-categories.cjs +1 -0
- package/dist/actions/get-sending-stats-by-categories.cjs.map +1 -1
- package/dist/actions/get-sending-stats-by-categories.d.cts +3 -9
- package/dist/actions/get-sending-stats-by-categories.d.cts.map +1 -1
- package/dist/actions/get-sending-stats-by-categories.d.mts +3 -9
- package/dist/actions/get-sending-stats-by-categories.d.mts.map +1 -1
- package/dist/actions/get-sending-stats-by-categories.mjs +1 -0
- package/dist/actions/get-sending-stats-by-categories.mjs.map +1 -1
- package/dist/actions/get-sending-stats-by-date.cjs +1 -0
- package/dist/actions/get-sending-stats-by-date.cjs.map +1 -1
- package/dist/actions/get-sending-stats-by-date.d.cts +3 -9
- package/dist/actions/get-sending-stats-by-date.d.cts.map +1 -1
- package/dist/actions/get-sending-stats-by-date.d.mts +3 -9
- package/dist/actions/get-sending-stats-by-date.d.mts.map +1 -1
- package/dist/actions/get-sending-stats-by-date.mjs +1 -0
- package/dist/actions/get-sending-stats-by-date.mjs.map +1 -1
- package/dist/actions/get-sending-stats-by-domains.cjs +1 -0
- package/dist/actions/get-sending-stats-by-domains.cjs.map +1 -1
- package/dist/actions/get-sending-stats-by-domains.d.cts +3 -9
- package/dist/actions/get-sending-stats-by-domains.d.cts.map +1 -1
- package/dist/actions/get-sending-stats-by-domains.d.mts +3 -9
- package/dist/actions/get-sending-stats-by-domains.d.mts.map +1 -1
- package/dist/actions/get-sending-stats-by-domains.mjs +1 -0
- package/dist/actions/get-sending-stats-by-domains.mjs.map +1 -1
- package/dist/actions/get-sending-stats-by-esp.cjs +1 -0
- package/dist/actions/get-sending-stats-by-esp.cjs.map +1 -1
- package/dist/actions/get-sending-stats-by-esp.d.cts +3 -9
- package/dist/actions/get-sending-stats-by-esp.d.cts.map +1 -1
- package/dist/actions/get-sending-stats-by-esp.d.mts +3 -9
- package/dist/actions/get-sending-stats-by-esp.d.mts.map +1 -1
- package/dist/actions/get-sending-stats-by-esp.mjs +1 -0
- package/dist/actions/get-sending-stats-by-esp.mjs.map +1 -1
- package/dist/actions/get-sending-stats.cjs +1 -0
- package/dist/actions/get-sending-stats.cjs.map +1 -1
- package/dist/actions/get-sending-stats.d.cts +3 -9
- package/dist/actions/get-sending-stats.d.cts.map +1 -1
- package/dist/actions/get-sending-stats.d.mts +3 -9
- package/dist/actions/get-sending-stats.d.mts.map +1 -1
- package/dist/actions/get-sending-stats.mjs +1 -0
- package/dist/actions/get-sending-stats.mjs.map +1 -1
- package/dist/actions/import-contacts.cjs +1 -0
- package/dist/actions/import-contacts.cjs.map +1 -1
- package/dist/actions/import-contacts.d.cts +3 -10
- package/dist/actions/import-contacts.d.cts.map +1 -1
- package/dist/actions/import-contacts.d.mts +3 -10
- package/dist/actions/import-contacts.d.mts.map +1 -1
- package/dist/actions/import-contacts.mjs +1 -0
- package/dist/actions/import-contacts.mjs.map +1 -1
- package/dist/actions/list-accounts.cjs +1 -0
- package/dist/actions/list-accounts.cjs.map +1 -1
- package/dist/actions/list-accounts.d.cts +3 -1
- package/dist/actions/list-accounts.d.cts.map +1 -1
- package/dist/actions/list-accounts.d.mts +3 -1
- package/dist/actions/list-accounts.d.mts.map +1 -1
- package/dist/actions/list-accounts.mjs +1 -0
- package/dist/actions/list-accounts.mjs.map +1 -1
- package/dist/actions/list-contact-fields.cjs +1 -0
- package/dist/actions/list-contact-fields.cjs.map +1 -1
- package/dist/actions/list-contact-fields.d.cts +3 -3
- package/dist/actions/list-contact-fields.d.cts.map +1 -1
- package/dist/actions/list-contact-fields.d.mts +3 -3
- package/dist/actions/list-contact-fields.d.mts.map +1 -1
- package/dist/actions/list-contact-fields.mjs +1 -0
- package/dist/actions/list-contact-fields.mjs.map +1 -1
- package/dist/actions/list-contact-lists.cjs +1 -0
- package/dist/actions/list-contact-lists.cjs.map +1 -1
- package/dist/actions/list-contact-lists.d.cts +3 -3
- package/dist/actions/list-contact-lists.d.cts.map +1 -1
- package/dist/actions/list-contact-lists.d.mts +3 -3
- package/dist/actions/list-contact-lists.d.mts.map +1 -1
- package/dist/actions/list-contact-lists.mjs +1 -0
- package/dist/actions/list-contact-lists.mjs.map +1 -1
- package/dist/actions/list-email-templates.cjs +1 -0
- package/dist/actions/list-email-templates.cjs.map +1 -1
- package/dist/actions/list-email-templates.d.cts +3 -3
- package/dist/actions/list-email-templates.d.cts.map +1 -1
- package/dist/actions/list-email-templates.d.mts +3 -3
- package/dist/actions/list-email-templates.d.mts.map +1 -1
- package/dist/actions/list-email-templates.mjs +1 -0
- package/dist/actions/list-email-templates.mjs.map +1 -1
- package/dist/actions/list-inboxes.cjs +1 -0
- package/dist/actions/list-inboxes.cjs.map +1 -1
- package/dist/actions/list-inboxes.d.cts +3 -3
- package/dist/actions/list-inboxes.d.cts.map +1 -1
- package/dist/actions/list-inboxes.d.mts +3 -3
- package/dist/actions/list-inboxes.d.mts.map +1 -1
- package/dist/actions/list-inboxes.mjs +1 -0
- package/dist/actions/list-inboxes.mjs.map +1 -1
- package/dist/actions/list-messages.cjs +1 -0
- package/dist/actions/list-messages.cjs.map +1 -1
- package/dist/actions/list-messages.d.cts +3 -7
- package/dist/actions/list-messages.d.cts.map +1 -1
- package/dist/actions/list-messages.d.mts +3 -7
- package/dist/actions/list-messages.d.mts.map +1 -1
- package/dist/actions/list-messages.mjs +1 -0
- package/dist/actions/list-messages.mjs.map +1 -1
- package/dist/actions/list-projects.cjs +1 -0
- package/dist/actions/list-projects.cjs.map +1 -1
- package/dist/actions/list-projects.d.cts +3 -3
- package/dist/actions/list-projects.d.cts.map +1 -1
- package/dist/actions/list-projects.d.mts +3 -3
- package/dist/actions/list-projects.d.mts.map +1 -1
- package/dist/actions/list-projects.mjs +1 -0
- package/dist/actions/list-projects.mjs.map +1 -1
- package/dist/actions/list-sending-domains.cjs +1 -0
- package/dist/actions/list-sending-domains.cjs.map +1 -1
- package/dist/actions/list-sending-domains.d.cts +3 -3
- package/dist/actions/list-sending-domains.d.cts.map +1 -1
- package/dist/actions/list-sending-domains.d.mts +3 -3
- package/dist/actions/list-sending-domains.d.mts.map +1 -1
- package/dist/actions/list-sending-domains.mjs +1 -0
- package/dist/actions/list-sending-domains.mjs.map +1 -1
- package/dist/actions/list-suppressions.cjs +1 -0
- package/dist/actions/list-suppressions.cjs.map +1 -1
- package/dist/actions/list-suppressions.d.cts +3 -6
- package/dist/actions/list-suppressions.d.cts.map +1 -1
- package/dist/actions/list-suppressions.d.mts +3 -6
- package/dist/actions/list-suppressions.d.mts.map +1 -1
- package/dist/actions/list-suppressions.mjs +1 -0
- package/dist/actions/list-suppressions.mjs.map +1 -1
- package/dist/actions/mark-inbox-as-read.cjs +1 -0
- package/dist/actions/mark-inbox-as-read.cjs.map +1 -1
- package/dist/actions/mark-inbox-as-read.d.cts +3 -4
- package/dist/actions/mark-inbox-as-read.d.cts.map +1 -1
- package/dist/actions/mark-inbox-as-read.d.mts +3 -4
- package/dist/actions/mark-inbox-as-read.d.mts.map +1 -1
- package/dist/actions/mark-inbox-as-read.mjs +1 -0
- package/dist/actions/mark-inbox-as-read.mjs.map +1 -1
- package/dist/actions/reset-inbox-credentials.cjs +1 -0
- package/dist/actions/reset-inbox-credentials.cjs.map +1 -1
- package/dist/actions/reset-inbox-credentials.d.cts +3 -4
- package/dist/actions/reset-inbox-credentials.d.cts.map +1 -1
- package/dist/actions/reset-inbox-credentials.d.mts +3 -4
- package/dist/actions/reset-inbox-credentials.d.mts.map +1 -1
- package/dist/actions/reset-inbox-credentials.mjs +1 -0
- package/dist/actions/reset-inbox-credentials.mjs.map +1 -1
- package/dist/actions/update-contact-field.cjs +1 -0
- package/dist/actions/update-contact-field.cjs.map +1 -1
- package/dist/actions/update-contact-field.d.cts +3 -6
- package/dist/actions/update-contact-field.d.cts.map +1 -1
- package/dist/actions/update-contact-field.d.mts +3 -6
- package/dist/actions/update-contact-field.d.mts.map +1 -1
- package/dist/actions/update-contact-field.mjs +1 -0
- package/dist/actions/update-contact-field.mjs.map +1 -1
- package/dist/actions/update-contact-list.cjs +1 -0
- package/dist/actions/update-contact-list.cjs.map +1 -1
- package/dist/actions/update-contact-list.d.cts +3 -5
- package/dist/actions/update-contact-list.d.cts.map +1 -1
- package/dist/actions/update-contact-list.d.mts +3 -5
- package/dist/actions/update-contact-list.d.mts.map +1 -1
- package/dist/actions/update-contact-list.mjs +1 -0
- package/dist/actions/update-contact-list.mjs.map +1 -1
- package/dist/actions/update-contact.cjs +1 -0
- package/dist/actions/update-contact.cjs.map +1 -1
- package/dist/actions/update-contact.d.cts +3 -11
- package/dist/actions/update-contact.d.cts.map +1 -1
- package/dist/actions/update-contact.d.mts +3 -11
- package/dist/actions/update-contact.d.mts.map +1 -1
- package/dist/actions/update-contact.mjs +1 -0
- package/dist/actions/update-contact.mjs.map +1 -1
- package/dist/actions/update-email-template.cjs +1 -0
- package/dist/actions/update-email-template.cjs.map +1 -1
- package/dist/actions/update-email-template.d.cts +3 -11
- package/dist/actions/update-email-template.d.cts.map +1 -1
- package/dist/actions/update-email-template.d.mts +3 -11
- package/dist/actions/update-email-template.d.mts.map +1 -1
- package/dist/actions/update-email-template.mjs +1 -0
- package/dist/actions/update-email-template.mjs.map +1 -1
- package/dist/actions/update-inbox.cjs +1 -0
- package/dist/actions/update-inbox.cjs.map +1 -1
- package/dist/actions/update-inbox.d.cts +3 -8
- package/dist/actions/update-inbox.d.cts.map +1 -1
- package/dist/actions/update-inbox.d.mts +3 -8
- package/dist/actions/update-inbox.d.mts.map +1 -1
- package/dist/actions/update-inbox.mjs +1 -0
- package/dist/actions/update-inbox.mjs.map +1 -1
- package/dist/actions/update-project.cjs +1 -0
- package/dist/actions/update-project.cjs.map +1 -1
- package/dist/actions/update-project.d.cts +3 -7
- package/dist/actions/update-project.d.cts.map +1 -1
- package/dist/actions/update-project.d.mts +3 -7
- package/dist/actions/update-project.d.mts.map +1 -1
- package/dist/actions/update-project.mjs +1 -0
- package/dist/actions/update-project.mjs.map +1 -1
- package/dist/app.cjs +9 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +8 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +8 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +6 -2
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-messages.cjs","names":["z","action"],"sources":["../../src/actions/list-messages.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapListMessagesInput = z.object({\n page: z.number().int().describe(\"Page number for pagination (30 messages per page). Use this for offset-based pagination.\").optional(),\n search: z.string().describe(\"Filter emails by subject, to_email, or to_name (case insensitive). Use this to search for specific messages.\").optional(),\n last_id: z.number().int().describe(\"Get messages with ID less than this value for cursor-based pagination. Alternative to page parameter.\").optional(),\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 listing messages in a Mailtrap inbox\");\nconst MailtrapListMessages_SmtpDataSchema = z.object({\n client_ip: z.string().describe(\"Client IP address that sent the email\").nullable().optional(),\n mail_from_addr: z.string().describe(\"Mail from address used in SMTP transaction\").nullable().optional(),\n}).passthrough().describe(\"SMTP data details\");\nconst MailtrapListMessages_SmtpInformationSchema = z.object({\n ok: z.boolean().describe(\"Whether SMTP information was successfully retrieved\").nullable().optional(),\n data: MailtrapListMessages_SmtpDataSchema.nullable().optional(),\n}).passthrough().describe(\"SMTP information for the message\");\nconst MailtrapListMessages_BlacklistReportEntrySchema = z.object({\n url: z.string().describe(\"URL of the blacklist service\").nullable().optional(),\n name: z.string().describe(\"Name of the blacklist service\").nullable().optional(),\n in_black_list: z.boolean().describe(\"Whether the sender is in this blacklist\").nullable().optional(),\n}).passthrough().describe(\"Individual blacklist report entry\");\nconst MailtrapListMessages_BlacklistsReportInfoSchema = z.object({\n ip: z.string().describe(\"IP address that was checked\").nullable().optional(),\n domain: z.string().describe(\"Domain that was checked\").nullable().optional(),\n report: z.array(MailtrapListMessages_BlacklistReportEntrySchema).describe(\"List of blacklist check results\").nullable().optional(),\n result: z.string().describe(\"Result status of the blacklist check (e.g., 'success')\").nullable().optional(),\n}).passthrough().describe(\"Blacklist report information\");\nconst MailtrapListMessages_MessageSchema = z.object({\n id: z.number().int().describe(\"Unique message ID\").nullable(),\n is_read: z.boolean().describe(\"Whether the message has been read\").nullable().optional(),\n sent_at: z.string().describe(\"Timestamp when the message was sent\").nullable().optional(),\n subject: z.string().describe(\"Email subject line\").nullable().optional(),\n to_name: z.string().describe(\"Recipient name\").nullable().optional(),\n inbox_id: z.number().int().describe(\"ID of the inbox containing this message\").nullable().optional(),\n raw_path: z.string().describe(\"API path to retrieve the raw email\").nullable().optional(),\n to_email: z.string().describe(\"Recipient email address\").nullable().optional(),\n txt_path: z.string().describe(\"API path to retrieve the text body\").nullable().optional(),\n from_name: z.string().describe(\"Sender name\").nullable().optional(),\n html_path: z.string().describe(\"API path to retrieve the HTML body\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the message was created in Mailtrap\").nullable().optional(),\n email_size: z.number().int().describe(\"Total size of the email in bytes\").nullable().optional(),\n from_email: z.string().describe(\"Sender email address\").nullable().optional(),\n human_size: z.string().describe(\"Human-readable size of the email (e.g., '2.5 KB')\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the message was last updated\").nullable().optional(),\n download_path: z.string().describe(\"API path to download the email\").nullable().optional(),\n html_body_size: z.number().int().describe(\"Size of the HTML body in bytes\").nullable().optional(),\n text_body_size: z.number().int().describe(\"Size of the text body in bytes\").nullable().optional(),\n html_source_path: z.string().describe(\"API path to retrieve the HTML source\").nullable().optional(),\n smtp_information: MailtrapListMessages_SmtpInformationSchema.nullable().optional(),\n blacklists_report_info: MailtrapListMessages_BlacklistsReportInfoSchema.nullable().optional(),\n}).passthrough().describe(\"Mailtrap message object\");\nexport const MailtrapListMessagesOutput = z.object({\n messages: z.array(MailtrapListMessages_MessageSchema).describe(\"List of messages in the inbox. Returns up to 30 messages per request.\"),\n}).passthrough().describe(\"Response model for listing messages in a Mailtrap inbox\");\n\nexport const mailtrapListMessages = action(\"MAILTRAP_LIST_MESSAGES\", {\n slug: \"mailtrap-list-messages\",\n name: \"List Messages in Inbox\",\n description: \"Tool to get messages from a Mailtrap inbox. Use when you need to retrieve emails from a specific inbox, with support for search filtering and pagination. Returns up to 30 messages per request.\",\n input: MailtrapListMessagesInput,\n output: MailtrapListMessagesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-messages.cjs","names":["z","action"],"sources":["../../src/actions/list-messages.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mailtrap } from \"../app\";\n\nexport const MailtrapListMessagesInput = z.object({\n page: z.number().int().describe(\"Page number for pagination (30 messages per page). Use this for offset-based pagination.\").optional(),\n search: z.string().describe(\"Filter emails by subject, to_email, or to_name (case insensitive). Use this to search for specific messages.\").optional(),\n last_id: z.number().int().describe(\"Get messages with ID less than this value for cursor-based pagination. Alternative to page parameter.\").optional(),\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 listing messages in a Mailtrap inbox\");\nconst MailtrapListMessages_SmtpDataSchema = z.object({\n client_ip: z.string().describe(\"Client IP address that sent the email\").nullable().optional(),\n mail_from_addr: z.string().describe(\"Mail from address used in SMTP transaction\").nullable().optional(),\n}).passthrough().describe(\"SMTP data details\");\nconst MailtrapListMessages_SmtpInformationSchema = z.object({\n ok: z.boolean().describe(\"Whether SMTP information was successfully retrieved\").nullable().optional(),\n data: MailtrapListMessages_SmtpDataSchema.nullable().optional(),\n}).passthrough().describe(\"SMTP information for the message\");\nconst MailtrapListMessages_BlacklistReportEntrySchema = z.object({\n url: z.string().describe(\"URL of the blacklist service\").nullable().optional(),\n name: z.string().describe(\"Name of the blacklist service\").nullable().optional(),\n in_black_list: z.boolean().describe(\"Whether the sender is in this blacklist\").nullable().optional(),\n}).passthrough().describe(\"Individual blacklist report entry\");\nconst MailtrapListMessages_BlacklistsReportInfoSchema = z.object({\n ip: z.string().describe(\"IP address that was checked\").nullable().optional(),\n domain: z.string().describe(\"Domain that was checked\").nullable().optional(),\n report: z.array(MailtrapListMessages_BlacklistReportEntrySchema).describe(\"List of blacklist check results\").nullable().optional(),\n result: z.string().describe(\"Result status of the blacklist check (e.g., 'success')\").nullable().optional(),\n}).passthrough().describe(\"Blacklist report information\");\nconst MailtrapListMessages_MessageSchema = z.object({\n id: z.number().int().describe(\"Unique message ID\").nullable(),\n is_read: z.boolean().describe(\"Whether the message has been read\").nullable().optional(),\n sent_at: z.string().describe(\"Timestamp when the message was sent\").nullable().optional(),\n subject: z.string().describe(\"Email subject line\").nullable().optional(),\n to_name: z.string().describe(\"Recipient name\").nullable().optional(),\n inbox_id: z.number().int().describe(\"ID of the inbox containing this message\").nullable().optional(),\n raw_path: z.string().describe(\"API path to retrieve the raw email\").nullable().optional(),\n to_email: z.string().describe(\"Recipient email address\").nullable().optional(),\n txt_path: z.string().describe(\"API path to retrieve the text body\").nullable().optional(),\n from_name: z.string().describe(\"Sender name\").nullable().optional(),\n html_path: z.string().describe(\"API path to retrieve the HTML body\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the message was created in Mailtrap\").nullable().optional(),\n email_size: z.number().int().describe(\"Total size of the email in bytes\").nullable().optional(),\n from_email: z.string().describe(\"Sender email address\").nullable().optional(),\n human_size: z.string().describe(\"Human-readable size of the email (e.g., '2.5 KB')\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the message was last updated\").nullable().optional(),\n download_path: z.string().describe(\"API path to download the email\").nullable().optional(),\n html_body_size: z.number().int().describe(\"Size of the HTML body in bytes\").nullable().optional(),\n text_body_size: z.number().int().describe(\"Size of the text body in bytes\").nullable().optional(),\n html_source_path: z.string().describe(\"API path to retrieve the HTML source\").nullable().optional(),\n smtp_information: MailtrapListMessages_SmtpInformationSchema.nullable().optional(),\n blacklists_report_info: MailtrapListMessages_BlacklistsReportInfoSchema.nullable().optional(),\n}).passthrough().describe(\"Mailtrap message object\");\nexport const MailtrapListMessagesOutput = z.object({\n messages: z.array(MailtrapListMessages_MessageSchema).describe(\"List of messages in the inbox. Returns up to 30 messages per request.\"),\n}).passthrough().describe(\"Response model for listing messages in a Mailtrap inbox\");\n\nexport const mailtrapListMessages: AppAction<\n typeof MailtrapListMessagesInput,\n typeof MailtrapListMessagesOutput,\n typeof mailtrap.credential\n> = action(\"MAILTRAP_LIST_MESSAGES\", {\n slug: \"mailtrap-list-messages\",\n name: \"List Messages in Inbox\",\n description: \"Tool to get messages from a Mailtrap inbox. Use when you need to retrieve emails from a specific inbox, with support for search filtering and pagination. Returns up to 30 messages per request.\",\n input: MailtrapListMessagesInput,\n output: MailtrapListMessagesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA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AE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,kBAAkB,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACjF,wBAAwB,gDAAgD,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yBAAyB;AACnD,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,UAAUA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,uEAAuE,EACxI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAEnF,MAAa,uBAITC,eAAAA,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { mailtrap } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-messages.d.ts
|
|
@@ -49,13 +51,7 @@ declare const MailtrapListMessagesOutput: z.ZodObject<{
|
|
|
49
51
|
}, z.core.$loose>>>;
|
|
50
52
|
}, z.core.$loose>>;
|
|
51
53
|
}, z.core.$loose>;
|
|
52
|
-
declare const mailtrapListMessages:
|
|
53
|
-
inbox_id: number;
|
|
54
|
-
account_id: number;
|
|
55
|
-
page?: number | undefined;
|
|
56
|
-
search?: string | undefined;
|
|
57
|
-
last_id?: number | undefined;
|
|
58
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
54
|
+
declare const mailtrapListMessages: AppAction<typeof MailtrapListMessagesInput, typeof MailtrapListMessagesOutput, typeof mailtrap.credential>;
|
|
59
55
|
//#endregion
|
|
60
56
|
export { mailtrapListMessages };
|
|
61
57
|
//# sourceMappingURL=list-messages.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-messages.d.cts","names":[],"sources":["../../src/actions/list-messages.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-messages.d.cts","names":[],"sources":["../../src/actions/list-messages.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;cAkDzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAI1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { mailtrap } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-messages.d.ts
|
|
@@ -49,13 +51,7 @@ declare const MailtrapListMessagesOutput: z.ZodObject<{
|
|
|
49
51
|
}, z.core.$loose>>>;
|
|
50
52
|
}, z.core.$loose>>;
|
|
51
53
|
}, z.core.$loose>;
|
|
52
|
-
declare const mailtrapListMessages:
|
|
53
|
-
inbox_id: number;
|
|
54
|
-
account_id: number;
|
|
55
|
-
page?: number | undefined;
|
|
56
|
-
search?: string | undefined;
|
|
57
|
-
last_id?: number | undefined;
|
|
58
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
54
|
+
declare const mailtrapListMessages: AppAction<typeof MailtrapListMessagesInput, typeof MailtrapListMessagesOutput, typeof mailtrap.credential>;
|
|
59
55
|
//#endregion
|
|
60
56
|
export { mailtrapListMessages };
|
|
61
57
|
//# sourceMappingURL=list-messages.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-messages.d.mts","names":[],"sources":["../../src/actions/list-messages.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-messages.d.mts","names":[],"sources":["../../src/actions/list-messages.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;cAkDzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAI1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-messages.mjs","names":[],"sources":["../../src/actions/list-messages.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapListMessagesInput = z.object({\n page: z.number().int().describe(\"Page number for pagination (30 messages per page). Use this for offset-based pagination.\").optional(),\n search: z.string().describe(\"Filter emails by subject, to_email, or to_name (case insensitive). Use this to search for specific messages.\").optional(),\n last_id: z.number().int().describe(\"Get messages with ID less than this value for cursor-based pagination. Alternative to page parameter.\").optional(),\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 listing messages in a Mailtrap inbox\");\nconst MailtrapListMessages_SmtpDataSchema = z.object({\n client_ip: z.string().describe(\"Client IP address that sent the email\").nullable().optional(),\n mail_from_addr: z.string().describe(\"Mail from address used in SMTP transaction\").nullable().optional(),\n}).passthrough().describe(\"SMTP data details\");\nconst MailtrapListMessages_SmtpInformationSchema = z.object({\n ok: z.boolean().describe(\"Whether SMTP information was successfully retrieved\").nullable().optional(),\n data: MailtrapListMessages_SmtpDataSchema.nullable().optional(),\n}).passthrough().describe(\"SMTP information for the message\");\nconst MailtrapListMessages_BlacklistReportEntrySchema = z.object({\n url: z.string().describe(\"URL of the blacklist service\").nullable().optional(),\n name: z.string().describe(\"Name of the blacklist service\").nullable().optional(),\n in_black_list: z.boolean().describe(\"Whether the sender is in this blacklist\").nullable().optional(),\n}).passthrough().describe(\"Individual blacklist report entry\");\nconst MailtrapListMessages_BlacklistsReportInfoSchema = z.object({\n ip: z.string().describe(\"IP address that was checked\").nullable().optional(),\n domain: z.string().describe(\"Domain that was checked\").nullable().optional(),\n report: z.array(MailtrapListMessages_BlacklistReportEntrySchema).describe(\"List of blacklist check results\").nullable().optional(),\n result: z.string().describe(\"Result status of the blacklist check (e.g., 'success')\").nullable().optional(),\n}).passthrough().describe(\"Blacklist report information\");\nconst MailtrapListMessages_MessageSchema = z.object({\n id: z.number().int().describe(\"Unique message ID\").nullable(),\n is_read: z.boolean().describe(\"Whether the message has been read\").nullable().optional(),\n sent_at: z.string().describe(\"Timestamp when the message was sent\").nullable().optional(),\n subject: z.string().describe(\"Email subject line\").nullable().optional(),\n to_name: z.string().describe(\"Recipient name\").nullable().optional(),\n inbox_id: z.number().int().describe(\"ID of the inbox containing this message\").nullable().optional(),\n raw_path: z.string().describe(\"API path to retrieve the raw email\").nullable().optional(),\n to_email: z.string().describe(\"Recipient email address\").nullable().optional(),\n txt_path: z.string().describe(\"API path to retrieve the text body\").nullable().optional(),\n from_name: z.string().describe(\"Sender name\").nullable().optional(),\n html_path: z.string().describe(\"API path to retrieve the HTML body\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the message was created in Mailtrap\").nullable().optional(),\n email_size: z.number().int().describe(\"Total size of the email in bytes\").nullable().optional(),\n from_email: z.string().describe(\"Sender email address\").nullable().optional(),\n human_size: z.string().describe(\"Human-readable size of the email (e.g., '2.5 KB')\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the message was last updated\").nullable().optional(),\n download_path: z.string().describe(\"API path to download the email\").nullable().optional(),\n html_body_size: z.number().int().describe(\"Size of the HTML body in bytes\").nullable().optional(),\n text_body_size: z.number().int().describe(\"Size of the text body in bytes\").nullable().optional(),\n html_source_path: z.string().describe(\"API path to retrieve the HTML source\").nullable().optional(),\n smtp_information: MailtrapListMessages_SmtpInformationSchema.nullable().optional(),\n blacklists_report_info: MailtrapListMessages_BlacklistsReportInfoSchema.nullable().optional(),\n}).passthrough().describe(\"Mailtrap message object\");\nexport const MailtrapListMessagesOutput = z.object({\n messages: z.array(MailtrapListMessages_MessageSchema).describe(\"List of messages in the inbox. Returns up to 30 messages per request.\"),\n}).passthrough().describe(\"Response model for listing messages in a Mailtrap inbox\");\n\nexport const mailtrapListMessages = action(\"MAILTRAP_LIST_MESSAGES\", {\n slug: \"mailtrap-list-messages\",\n name: \"List Messages in Inbox\",\n description: \"Tool to get messages from a Mailtrap inbox. Use when you need to retrieve emails from a specific inbox, with support for search filtering and pagination. Returns up to 30 messages per request.\",\n input: MailtrapListMessagesInput,\n output: MailtrapListMessagesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-messages.mjs","names":[],"sources":["../../src/actions/list-messages.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mailtrap } from \"../app\";\n\nexport const MailtrapListMessagesInput = z.object({\n page: z.number().int().describe(\"Page number for pagination (30 messages per page). Use this for offset-based pagination.\").optional(),\n search: z.string().describe(\"Filter emails by subject, to_email, or to_name (case insensitive). Use this to search for specific messages.\").optional(),\n last_id: z.number().int().describe(\"Get messages with ID less than this value for cursor-based pagination. Alternative to page parameter.\").optional(),\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 listing messages in a Mailtrap inbox\");\nconst MailtrapListMessages_SmtpDataSchema = z.object({\n client_ip: z.string().describe(\"Client IP address that sent the email\").nullable().optional(),\n mail_from_addr: z.string().describe(\"Mail from address used in SMTP transaction\").nullable().optional(),\n}).passthrough().describe(\"SMTP data details\");\nconst MailtrapListMessages_SmtpInformationSchema = z.object({\n ok: z.boolean().describe(\"Whether SMTP information was successfully retrieved\").nullable().optional(),\n data: MailtrapListMessages_SmtpDataSchema.nullable().optional(),\n}).passthrough().describe(\"SMTP information for the message\");\nconst MailtrapListMessages_BlacklistReportEntrySchema = z.object({\n url: z.string().describe(\"URL of the blacklist service\").nullable().optional(),\n name: z.string().describe(\"Name of the blacklist service\").nullable().optional(),\n in_black_list: z.boolean().describe(\"Whether the sender is in this blacklist\").nullable().optional(),\n}).passthrough().describe(\"Individual blacklist report entry\");\nconst MailtrapListMessages_BlacklistsReportInfoSchema = z.object({\n ip: z.string().describe(\"IP address that was checked\").nullable().optional(),\n domain: z.string().describe(\"Domain that was checked\").nullable().optional(),\n report: z.array(MailtrapListMessages_BlacklistReportEntrySchema).describe(\"List of blacklist check results\").nullable().optional(),\n result: z.string().describe(\"Result status of the blacklist check (e.g., 'success')\").nullable().optional(),\n}).passthrough().describe(\"Blacklist report information\");\nconst MailtrapListMessages_MessageSchema = z.object({\n id: z.number().int().describe(\"Unique message ID\").nullable(),\n is_read: z.boolean().describe(\"Whether the message has been read\").nullable().optional(),\n sent_at: z.string().describe(\"Timestamp when the message was sent\").nullable().optional(),\n subject: z.string().describe(\"Email subject line\").nullable().optional(),\n to_name: z.string().describe(\"Recipient name\").nullable().optional(),\n inbox_id: z.number().int().describe(\"ID of the inbox containing this message\").nullable().optional(),\n raw_path: z.string().describe(\"API path to retrieve the raw email\").nullable().optional(),\n to_email: z.string().describe(\"Recipient email address\").nullable().optional(),\n txt_path: z.string().describe(\"API path to retrieve the text body\").nullable().optional(),\n from_name: z.string().describe(\"Sender name\").nullable().optional(),\n html_path: z.string().describe(\"API path to retrieve the HTML body\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the message was created in Mailtrap\").nullable().optional(),\n email_size: z.number().int().describe(\"Total size of the email in bytes\").nullable().optional(),\n from_email: z.string().describe(\"Sender email address\").nullable().optional(),\n human_size: z.string().describe(\"Human-readable size of the email (e.g., '2.5 KB')\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the message was last updated\").nullable().optional(),\n download_path: z.string().describe(\"API path to download the email\").nullable().optional(),\n html_body_size: z.number().int().describe(\"Size of the HTML body in bytes\").nullable().optional(),\n text_body_size: z.number().int().describe(\"Size of the text body in bytes\").nullable().optional(),\n html_source_path: z.string().describe(\"API path to retrieve the HTML source\").nullable().optional(),\n smtp_information: MailtrapListMessages_SmtpInformationSchema.nullable().optional(),\n blacklists_report_info: MailtrapListMessages_BlacklistsReportInfoSchema.nullable().optional(),\n}).passthrough().describe(\"Mailtrap message object\");\nexport const MailtrapListMessagesOutput = z.object({\n messages: z.array(MailtrapListMessages_MessageSchema).describe(\"List of messages in the inbox. Returns up to 30 messages per request.\"),\n}).passthrough().describe(\"Response model for listing messages in a Mailtrap inbox\");\n\nexport const mailtrapListMessages: AppAction<\n typeof MailtrapListMessagesInput,\n typeof MailtrapListMessagesOutput,\n typeof mailtrap.credential\n> = action(\"MAILTRAP_LIST_MESSAGES\", {\n slug: \"mailtrap-list-messages\",\n name: \"List Messages in Inbox\",\n description: \"Tool to get messages from a Mailtrap inbox. Use when you need to retrieve emails from a specific inbox, with support for search filtering and pagination. Returns up to 30 messages per request.\",\n input: MailtrapListMessagesInput,\n output: MailtrapListMessagesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4B,EAAE,OAAO;CAChD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACrI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;CACrJ,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;CACrJ,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;CACpF,YAAY,EAAE,OAAO,CAAC,CA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"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapListProjectsInput = z.object({\n account_id: z.number().int().describe(\"Unique account ID to list projects for\"),\n}).describe(\"Request model for listing projects.\");\nconst MailtrapListProjects_InboxItemSchema = z.object({\n id: z.number().int().describe(\"Inbox ID\").nullable().optional(),\n name: z.string().describe(\"Inbox name\").nullable().optional(),\n used: z.boolean().describe(\"Whether inbox has been used\").nullable().optional(),\n domain: z.string().describe(\"Inbox domain\").nullable().optional(),\n status: z.string().describe(\"Inbox status\").nullable().optional(),\n max_size: z.number().int().describe(\"Maximum size for the inbox\").nullable().optional(),\n password: z.string().describe(\"Inbox password\").nullable().optional(),\n username: z.string().describe(\"Inbox username\").nullable().optional(),\n pop3_ports: z.array(z.number().int()).describe(\"Available POP3 ports\").nullable().optional(),\n project_id: z.number().int().describe(\"Associated project ID\").nullable().optional(),\n smtp_ports: z.array(z.number().int()).describe(\"Available SMTP ports\").nullable().optional(),\n pop3_domain: z.string().describe(\"POP3 domain\").nullable().optional(),\n email_domain: z.string().describe(\"Email domain\").nullable().optional(),\n emails_count: z.number().int().describe(\"Count of emails\").nullable().optional(),\n email_username: z.string().describe(\"Email username\").nullable().optional(),\n max_message_size: z.number().int().describe(\"Maximum message size\").nullable().optional(),\n emails_unread_count: z.number().int().describe(\"Count of unread emails\").nullable().optional(),\n sent_messages_count: z.number().int().describe(\"Count of sent messages\").nullable().optional(),\n last_message_sent_at: z.string().describe(\"Timestamp of last message sent\").nullable().optional(),\n email_username_enabled: z.boolean().describe(\"Whether email username is enabled\").nullable().optional(),\n forwarded_messages_count: z.number().int().describe(\"Count of forwarded messages\").nullable().optional(),\n forward_from_email_address: z.string().describe(\"Email address for forwarding\").nullable().optional(),\n}).passthrough().describe(\"Inbox item within a project.\");\nconst MailtrapListProjects_ProjectPermissionsSchema = z.object({\n can_read: z.boolean().describe(\"Whether the user can read the project\").nullable(),\n can_leave: z.boolean().describe(\"Whether the user can leave the project\").nullable(),\n can_update: z.boolean().describe(\"Whether the user can update the project\").nullable(),\n can_destroy: z.boolean().describe(\"Whether the user can destroy the project\").nullable(),\n}).passthrough().describe(\"Permissions for a project.\");\nconst MailtrapListProjects_ProjectShareLinksSchema = z.object({\n admin: z.string().describe(\"Admin share link for the project\").nullable().optional(),\n viewer: z.string().describe(\"Viewer share link for the project\").nullable().optional(),\n}).passthrough().describe(\"Share links for a project.\");\nconst MailtrapListProjects_ProjectSchema = z.object({\n id: z.number().int().describe(\"Unique project ID\").nullable(),\n name: z.string().describe(\"Project name\").nullable(),\n inboxes: z.array(MailtrapListProjects_InboxItemSchema).describe(\"List of inboxes within this project\").nullable().optional(),\n permissions: MailtrapListProjects_ProjectPermissionsSchema.nullable(),\n share_links: MailtrapListProjects_ProjectShareLinksSchema.nullable().optional(),\n}).passthrough().describe(\"Mailtrap project information.\");\nexport const MailtrapListProjectsOutput = z.object({\n projects: z.array(MailtrapListProjects_ProjectSchema).describe(\"List of projects with their attributes and inboxes\"),\n}).passthrough().describe(\"Response model containing list of projects.\");\n\nexport const mailtrapListProjects = action(\"MAILTRAP_LIST_PROJECTS\", {\n slug: \"mailtrap-list-projects\",\n name: \"List Projects\",\n description: \"Tool to get a list of projects for a Mailtrap account. Use when you need to retrieve all projects and their associated inboxes for a specific account. Returns project attributes, permissions, and nested inbox information.\",\n input: MailtrapListProjectsInput,\n output: MailtrapListProjectsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-projects.cjs","names":["z","action"],"sources":["../../src/actions/list-projects.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mailtrap } from \"../app\";\n\nexport const MailtrapListProjectsInput = z.object({\n account_id: z.number().int().describe(\"Unique account ID to list projects for\"),\n}).describe(\"Request model for listing projects.\");\nconst MailtrapListProjects_InboxItemSchema = z.object({\n id: z.number().int().describe(\"Inbox ID\").nullable().optional(),\n name: z.string().describe(\"Inbox name\").nullable().optional(),\n used: z.boolean().describe(\"Whether inbox has been used\").nullable().optional(),\n domain: z.string().describe(\"Inbox domain\").nullable().optional(),\n status: z.string().describe(\"Inbox status\").nullable().optional(),\n max_size: z.number().int().describe(\"Maximum size for the inbox\").nullable().optional(),\n password: z.string().describe(\"Inbox password\").nullable().optional(),\n username: z.string().describe(\"Inbox username\").nullable().optional(),\n pop3_ports: z.array(z.number().int()).describe(\"Available POP3 ports\").nullable().optional(),\n project_id: z.number().int().describe(\"Associated project ID\").nullable().optional(),\n smtp_ports: z.array(z.number().int()).describe(\"Available SMTP ports\").nullable().optional(),\n pop3_domain: z.string().describe(\"POP3 domain\").nullable().optional(),\n email_domain: z.string().describe(\"Email domain\").nullable().optional(),\n emails_count: z.number().int().describe(\"Count of emails\").nullable().optional(),\n email_username: z.string().describe(\"Email username\").nullable().optional(),\n max_message_size: z.number().int().describe(\"Maximum message size\").nullable().optional(),\n emails_unread_count: z.number().int().describe(\"Count of unread emails\").nullable().optional(),\n sent_messages_count: z.number().int().describe(\"Count of sent messages\").nullable().optional(),\n last_message_sent_at: z.string().describe(\"Timestamp of last message sent\").nullable().optional(),\n email_username_enabled: z.boolean().describe(\"Whether email username is enabled\").nullable().optional(),\n forwarded_messages_count: z.number().int().describe(\"Count of forwarded messages\").nullable().optional(),\n forward_from_email_address: z.string().describe(\"Email address for forwarding\").nullable().optional(),\n}).passthrough().describe(\"Inbox item within a project.\");\nconst MailtrapListProjects_ProjectPermissionsSchema = z.object({\n can_read: z.boolean().describe(\"Whether the user can read the project\").nullable(),\n can_leave: z.boolean().describe(\"Whether the user can leave the project\").nullable(),\n can_update: z.boolean().describe(\"Whether the user can update the project\").nullable(),\n can_destroy: z.boolean().describe(\"Whether the user can destroy the project\").nullable(),\n}).passthrough().describe(\"Permissions for a project.\");\nconst MailtrapListProjects_ProjectShareLinksSchema = z.object({\n admin: z.string().describe(\"Admin share link for the project\").nullable().optional(),\n viewer: z.string().describe(\"Viewer share link for the project\").nullable().optional(),\n}).passthrough().describe(\"Share links for a project.\");\nconst MailtrapListProjects_ProjectSchema = z.object({\n id: z.number().int().describe(\"Unique project ID\").nullable(),\n name: z.string().describe(\"Project name\").nullable(),\n inboxes: z.array(MailtrapListProjects_InboxItemSchema).describe(\"List of inboxes within this project\").nullable().optional(),\n permissions: MailtrapListProjects_ProjectPermissionsSchema.nullable(),\n share_links: MailtrapListProjects_ProjectShareLinksSchema.nullable().optional(),\n}).passthrough().describe(\"Mailtrap project information.\");\nexport const MailtrapListProjectsOutput = z.object({\n projects: z.array(MailtrapListProjects_ProjectSchema).describe(\"List of projects with their attributes and inboxes\"),\n}).passthrough().describe(\"Response model containing list of projects.\");\n\nexport const mailtrapListProjects: AppAction<\n typeof MailtrapListProjectsInput,\n typeof MailtrapListProjectsOutput,\n typeof mailtrap.credential\n> = action(\"MAILTRAP_LIST_PROJECTS\", {\n slug: \"mailtrap-list-projects\",\n name: \"List Projects\",\n description: \"Tool to get a list of projects for a Mailtrap account. Use when you need to retrieve all projects and their associated inboxes for a specific account. Returns project attributes, permissions, and nested inbox information.\",\n input: MailtrapListProjectsInput,\n output: MailtrapListProjectsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,EAChF,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,UAAU,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5D,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAA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C,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4BAA4B;AACtD,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4BAA4B;AACtD,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CACnD,SAASA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,aAAa,8CAA8C,SAAS;CACpE,aAAa,6CAA6C,SAAS,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B;AACzD,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,UAAUA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,oDAAoD,EACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,uBAITC,eAAAA,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { mailtrap } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-projects.d.ts
|
|
@@ -44,9 +46,7 @@ declare const MailtrapListProjectsOutput: z.ZodObject<{
|
|
|
44
46
|
}, z.core.$loose>>>;
|
|
45
47
|
}, z.core.$loose>>;
|
|
46
48
|
}, z.core.$loose>;
|
|
47
|
-
declare const mailtrapListProjects:
|
|
48
|
-
account_id: number;
|
|
49
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
49
|
+
declare const mailtrapListProjects: AppAction<typeof MailtrapListProjectsInput, typeof MailtrapListProjectsOutput, typeof mailtrap.credential>;
|
|
50
50
|
//#endregion
|
|
51
51
|
export { mailtrapListProjects };
|
|
52
52
|
//# sourceMappingURL=list-projects.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-projects.d.cts","names":[],"sources":["../../src/actions/list-projects.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-projects.d.cts","names":[],"sources":["../../src/actions/list-projects.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cA4CzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAI1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { mailtrap } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-projects.d.ts
|
|
@@ -44,9 +46,7 @@ declare const MailtrapListProjectsOutput: z.ZodObject<{
|
|
|
44
46
|
}, z.core.$loose>>>;
|
|
45
47
|
}, z.core.$loose>>;
|
|
46
48
|
}, z.core.$loose>;
|
|
47
|
-
declare const mailtrapListProjects:
|
|
48
|
-
account_id: number;
|
|
49
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
49
|
+
declare const mailtrapListProjects: AppAction<typeof MailtrapListProjectsInput, typeof MailtrapListProjectsOutput, typeof mailtrap.credential>;
|
|
50
50
|
//#endregion
|
|
51
51
|
export { mailtrapListProjects };
|
|
52
52
|
//# sourceMappingURL=list-projects.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-projects.d.mts","names":[],"sources":["../../src/actions/list-projects.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-projects.d.mts","names":[],"sources":["../../src/actions/list-projects.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cA4CzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAI1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-projects.mjs","names":[],"sources":["../../src/actions/list-projects.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapListProjectsInput = z.object({\n account_id: z.number().int().describe(\"Unique account ID to list projects for\"),\n}).describe(\"Request model for listing projects.\");\nconst MailtrapListProjects_InboxItemSchema = z.object({\n id: z.number().int().describe(\"Inbox ID\").nullable().optional(),\n name: z.string().describe(\"Inbox name\").nullable().optional(),\n used: z.boolean().describe(\"Whether inbox has been used\").nullable().optional(),\n domain: z.string().describe(\"Inbox domain\").nullable().optional(),\n status: z.string().describe(\"Inbox status\").nullable().optional(),\n max_size: z.number().int().describe(\"Maximum size for the inbox\").nullable().optional(),\n password: z.string().describe(\"Inbox password\").nullable().optional(),\n username: z.string().describe(\"Inbox username\").nullable().optional(),\n pop3_ports: z.array(z.number().int()).describe(\"Available POP3 ports\").nullable().optional(),\n project_id: z.number().int().describe(\"Associated project ID\").nullable().optional(),\n smtp_ports: z.array(z.number().int()).describe(\"Available SMTP ports\").nullable().optional(),\n pop3_domain: z.string().describe(\"POP3 domain\").nullable().optional(),\n email_domain: z.string().describe(\"Email domain\").nullable().optional(),\n emails_count: z.number().int().describe(\"Count of emails\").nullable().optional(),\n email_username: z.string().describe(\"Email username\").nullable().optional(),\n max_message_size: z.number().int().describe(\"Maximum message size\").nullable().optional(),\n emails_unread_count: z.number().int().describe(\"Count of unread emails\").nullable().optional(),\n sent_messages_count: z.number().int().describe(\"Count of sent messages\").nullable().optional(),\n last_message_sent_at: z.string().describe(\"Timestamp of last message sent\").nullable().optional(),\n email_username_enabled: z.boolean().describe(\"Whether email username is enabled\").nullable().optional(),\n forwarded_messages_count: z.number().int().describe(\"Count of forwarded messages\").nullable().optional(),\n forward_from_email_address: z.string().describe(\"Email address for forwarding\").nullable().optional(),\n}).passthrough().describe(\"Inbox item within a project.\");\nconst MailtrapListProjects_ProjectPermissionsSchema = z.object({\n can_read: z.boolean().describe(\"Whether the user can read the project\").nullable(),\n can_leave: z.boolean().describe(\"Whether the user can leave the project\").nullable(),\n can_update: z.boolean().describe(\"Whether the user can update the project\").nullable(),\n can_destroy: z.boolean().describe(\"Whether the user can destroy the project\").nullable(),\n}).passthrough().describe(\"Permissions for a project.\");\nconst MailtrapListProjects_ProjectShareLinksSchema = z.object({\n admin: z.string().describe(\"Admin share link for the project\").nullable().optional(),\n viewer: z.string().describe(\"Viewer share link for the project\").nullable().optional(),\n}).passthrough().describe(\"Share links for a project.\");\nconst MailtrapListProjects_ProjectSchema = z.object({\n id: z.number().int().describe(\"Unique project ID\").nullable(),\n name: z.string().describe(\"Project name\").nullable(),\n inboxes: z.array(MailtrapListProjects_InboxItemSchema).describe(\"List of inboxes within this project\").nullable().optional(),\n permissions: MailtrapListProjects_ProjectPermissionsSchema.nullable(),\n share_links: MailtrapListProjects_ProjectShareLinksSchema.nullable().optional(),\n}).passthrough().describe(\"Mailtrap project information.\");\nexport const MailtrapListProjectsOutput = z.object({\n projects: z.array(MailtrapListProjects_ProjectSchema).describe(\"List of projects with their attributes and inboxes\"),\n}).passthrough().describe(\"Response model containing list of projects.\");\n\nexport const mailtrapListProjects = action(\"MAILTRAP_LIST_PROJECTS\", {\n slug: \"mailtrap-list-projects\",\n name: \"List Projects\",\n description: \"Tool to get a list of projects for a Mailtrap account. Use when you need to retrieve all projects and their associated inboxes for a specific account. Returns project attributes, permissions, and nested inbox information.\",\n input: MailtrapListProjectsInput,\n output: MailtrapListProjectsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-projects.mjs","names":[],"sources":["../../src/actions/list-projects.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mailtrap } from \"../app\";\n\nexport const MailtrapListProjectsInput = z.object({\n account_id: z.number().int().describe(\"Unique account ID to list projects for\"),\n}).describe(\"Request model for listing projects.\");\nconst MailtrapListProjects_InboxItemSchema = z.object({\n id: z.number().int().describe(\"Inbox ID\").nullable().optional(),\n name: z.string().describe(\"Inbox name\").nullable().optional(),\n used: z.boolean().describe(\"Whether inbox has been used\").nullable().optional(),\n domain: z.string().describe(\"Inbox domain\").nullable().optional(),\n status: z.string().describe(\"Inbox status\").nullable().optional(),\n max_size: z.number().int().describe(\"Maximum size for the inbox\").nullable().optional(),\n password: z.string().describe(\"Inbox password\").nullable().optional(),\n username: z.string().describe(\"Inbox username\").nullable().optional(),\n pop3_ports: z.array(z.number().int()).describe(\"Available POP3 ports\").nullable().optional(),\n project_id: z.number().int().describe(\"Associated project ID\").nullable().optional(),\n smtp_ports: z.array(z.number().int()).describe(\"Available SMTP ports\").nullable().optional(),\n pop3_domain: z.string().describe(\"POP3 domain\").nullable().optional(),\n email_domain: z.string().describe(\"Email domain\").nullable().optional(),\n emails_count: z.number().int().describe(\"Count of emails\").nullable().optional(),\n email_username: z.string().describe(\"Email username\").nullable().optional(),\n max_message_size: z.number().int().describe(\"Maximum message size\").nullable().optional(),\n emails_unread_count: z.number().int().describe(\"Count of unread emails\").nullable().optional(),\n sent_messages_count: z.number().int().describe(\"Count of sent messages\").nullable().optional(),\n last_message_sent_at: z.string().describe(\"Timestamp of last message sent\").nullable().optional(),\n email_username_enabled: z.boolean().describe(\"Whether email username is enabled\").nullable().optional(),\n forwarded_messages_count: z.number().int().describe(\"Count of forwarded messages\").nullable().optional(),\n forward_from_email_address: z.string().describe(\"Email address for forwarding\").nullable().optional(),\n}).passthrough().describe(\"Inbox item within a project.\");\nconst MailtrapListProjects_ProjectPermissionsSchema = z.object({\n can_read: z.boolean().describe(\"Whether the user can read the project\").nullable(),\n can_leave: z.boolean().describe(\"Whether the user can leave the project\").nullable(),\n can_update: z.boolean().describe(\"Whether the user can update the project\").nullable(),\n can_destroy: z.boolean().describe(\"Whether the user can destroy the project\").nullable(),\n}).passthrough().describe(\"Permissions for a project.\");\nconst MailtrapListProjects_ProjectShareLinksSchema = z.object({\n admin: z.string().describe(\"Admin share link for the project\").nullable().optional(),\n viewer: z.string().describe(\"Viewer share link for the project\").nullable().optional(),\n}).passthrough().describe(\"Share links for a project.\");\nconst MailtrapListProjects_ProjectSchema = z.object({\n id: z.number().int().describe(\"Unique project ID\").nullable(),\n name: z.string().describe(\"Project name\").nullable(),\n inboxes: z.array(MailtrapListProjects_InboxItemSchema).describe(\"List of inboxes within this project\").nullable().optional(),\n permissions: MailtrapListProjects_ProjectPermissionsSchema.nullable(),\n share_links: MailtrapListProjects_ProjectShareLinksSchema.nullable().optional(),\n}).passthrough().describe(\"Mailtrap project information.\");\nexport const MailtrapListProjectsOutput = z.object({\n projects: z.array(MailtrapListProjects_ProjectSchema).describe(\"List of projects with their attributes and inboxes\"),\n}).passthrough().describe(\"Response model containing list of projects.\");\n\nexport const mailtrapListProjects: AppAction<\n typeof MailtrapListProjectsInput,\n typeof MailtrapListProjectsOutput,\n typeof mailtrap.credential\n> = action(\"MAILTRAP_LIST_PROJECTS\", {\n slug: \"mailtrap-list-projects\",\n name: \"List Projects\",\n description: \"Tool to get a list of projects for a Mailtrap account. Use when you need to retrieve all projects and their associated inboxes for a specific account. Returns project attributes, permissions, and nested inbox information.\",\n input: MailtrapListProjectsInput,\n output: MailtrapListProjectsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4B,EAAE,OAAO,EAChD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,EAChF,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAM,uCAAuC,EAAE,OAAO;CACpD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,UAAU,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5D,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CA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AM;CACN,aAAa;CACb,OAAO;CACP,QAbwC,EAAE,OAAO,EACjD,UAAU,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,oDAAoD,EACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-sending-domains.cjs","names":["z","action"],"sources":["../../src/actions/list-sending-domains.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapListSendingDomainsInput = z.object({\n account_id: z.number().int().describe(\"Account ID to list sending domains for\"),\n}).describe(\"Request model for listing sending domains.\");\nconst MailtrapListSendingDomains_DnsRecordSchema = z.object({\n key: z.string().describe(\"The type of DNS record (verification, spf, dkim1, dkim2, dmarc, link_verification)\").nullable().optional(),\n name: z.string().describe(\"The DNS record name to be configured\").nullable().optional(),\n type: z.string().describe(\"The DNS record type (CNAME, TXT)\").nullable().optional(),\n value: z.string().describe(\"The value to be set for this DNS record\").nullable().optional(),\n domain: z.string().describe(\"The domain name for this DNS record\").nullable().optional(),\n status: z.string().describe(\"The verification status of this DNS record (pass, fail, pending)\").nullable().optional(),\n}).passthrough().describe(\"DNS record for domain verification and configuration.\");\nconst MailtrapListSendingDomains_PermissionsSchema = z.object({\n can_read: z.boolean().describe(\"Whether the domain can be read\").nullable().optional(),\n can_update: z.boolean().describe(\"Whether the domain can be updated\").nullable().optional(),\n can_destroy: z.boolean().describe(\"Whether the domain can be deleted\").nullable().optional(),\n}).passthrough().describe(\"Permission settings for the sending domain.\");\nconst MailtrapListSendingDomains_SendingDomainSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the sending domain\").nullable().optional(),\n demo: z.boolean().describe(\"Whether this is a demo domain\").nullable().optional(),\n dns_records: z.array(MailtrapListSendingDomains_DnsRecordSchema).describe(\"List of DNS records required for domain verification and configuration\").nullable().optional(),\n domain_name: z.string().describe(\"The domain name configured for sending\").nullable().optional(),\n permissions: MailtrapListSendingDomains_PermissionsSchema.nullable().optional(),\n dns_verified: z.boolean().describe(\"Whether the domain's DNS records have been verified\").nullable().optional(),\n dns_verified_at: z.string().describe(\"Timestamp when DNS verification was completed (ISO 8601 format)\").nullable().optional(),\n compliance_status: z.string().describe(\"The compliance status of the domain (compliant, non_compliant)\").nullable().optional(),\n alert_recipient_email: z.string().describe(\"Email address to receive domain health alerts\").nullable().optional(),\n health_alerts_enabled: z.boolean().describe(\"Whether health alerts are enabled\").nullable().optional(),\n open_tracking_enabled: z.boolean().describe(\"Whether open tracking is enabled for emails\").nullable().optional(),\n click_tracking_enabled: z.boolean().describe(\"Whether click tracking is enabled for emails\").nullable().optional(),\n critical_alerts_enabled: z.boolean().describe(\"Whether critical alerts are enabled\").nullable().optional(),\n auto_unsubscribe_link_enabled: z.boolean().describe(\"Whether automatic unsubscribe links are enabled\").nullable().optional(),\n custom_domain_tracking_enabled: z.boolean().describe(\"Whether custom domain tracking is enabled\").nullable().optional(),\n}).passthrough().describe(\"Sending domain with configuration and DNS verification details.\");\nexport const MailtrapListSendingDomainsOutput = z.object({\n data: z.array(MailtrapListSendingDomains_SendingDomainSchema).describe(\"List of sending domains configured for the account\").nullable().optional(),\n}).passthrough().describe(\"Response model containing list of sending domains.\");\n\nexport const mailtrapListSendingDomains = action(\"MAILTRAP_LIST_SENDING_DOMAINS\", {\n slug: \"mailtrap-list-sending-domains\",\n name: \"List Sending Domains\",\n description: \"Tool to list all sending domains for a Mailtrap account. Use when you need to retrieve configured domains for email sending.\",\n input: MailtrapListSendingDomainsInput,\n output: MailtrapListSendingDomainsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-sending-domains.cjs","names":["z","action"],"sources":["../../src/actions/list-sending-domains.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mailtrap } from \"../app\";\n\nexport const MailtrapListSendingDomainsInput = z.object({\n account_id: z.number().int().describe(\"Account ID to list sending domains for\"),\n}).describe(\"Request model for listing sending domains.\");\nconst MailtrapListSendingDomains_DnsRecordSchema = z.object({\n key: z.string().describe(\"The type of DNS record (verification, spf, dkim1, dkim2, dmarc, link_verification)\").nullable().optional(),\n name: z.string().describe(\"The DNS record name to be configured\").nullable().optional(),\n type: z.string().describe(\"The DNS record type (CNAME, TXT)\").nullable().optional(),\n value: z.string().describe(\"The value to be set for this DNS record\").nullable().optional(),\n domain: z.string().describe(\"The domain name for this DNS record\").nullable().optional(),\n status: z.string().describe(\"The verification status of this DNS record (pass, fail, pending)\").nullable().optional(),\n}).passthrough().describe(\"DNS record for domain verification and configuration.\");\nconst MailtrapListSendingDomains_PermissionsSchema = z.object({\n can_read: z.boolean().describe(\"Whether the domain can be read\").nullable().optional(),\n can_update: z.boolean().describe(\"Whether the domain can be updated\").nullable().optional(),\n can_destroy: z.boolean().describe(\"Whether the domain can be deleted\").nullable().optional(),\n}).passthrough().describe(\"Permission settings for the sending domain.\");\nconst MailtrapListSendingDomains_SendingDomainSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the sending domain\").nullable().optional(),\n demo: z.boolean().describe(\"Whether this is a demo domain\").nullable().optional(),\n dns_records: z.array(MailtrapListSendingDomains_DnsRecordSchema).describe(\"List of DNS records required for domain verification and configuration\").nullable().optional(),\n domain_name: z.string().describe(\"The domain name configured for sending\").nullable().optional(),\n permissions: MailtrapListSendingDomains_PermissionsSchema.nullable().optional(),\n dns_verified: z.boolean().describe(\"Whether the domain's DNS records have been verified\").nullable().optional(),\n dns_verified_at: z.string().describe(\"Timestamp when DNS verification was completed (ISO 8601 format)\").nullable().optional(),\n compliance_status: z.string().describe(\"The compliance status of the domain (compliant, non_compliant)\").nullable().optional(),\n alert_recipient_email: z.string().describe(\"Email address to receive domain health alerts\").nullable().optional(),\n health_alerts_enabled: z.boolean().describe(\"Whether health alerts are enabled\").nullable().optional(),\n open_tracking_enabled: z.boolean().describe(\"Whether open tracking is enabled for emails\").nullable().optional(),\n click_tracking_enabled: z.boolean().describe(\"Whether click tracking is enabled for emails\").nullable().optional(),\n critical_alerts_enabled: z.boolean().describe(\"Whether critical alerts are enabled\").nullable().optional(),\n auto_unsubscribe_link_enabled: z.boolean().describe(\"Whether automatic unsubscribe links are enabled\").nullable().optional(),\n custom_domain_tracking_enabled: z.boolean().describe(\"Whether custom domain tracking is enabled\").nullable().optional(),\n}).passthrough().describe(\"Sending domain with configuration and DNS verification details.\");\nexport const MailtrapListSendingDomainsOutput = z.object({\n data: z.array(MailtrapListSendingDomains_SendingDomainSchema).describe(\"List of sending domains configured for the account\").nullable().optional(),\n}).passthrough().describe(\"Response model containing list of sending domains.\");\n\nexport const mailtrapListSendingDomains: AppAction<\n typeof MailtrapListSendingDomainsInput,\n typeof MailtrapListSendingDomainsOutput,\n typeof mailtrap.credential\n> = action(\"MAILTRAP_LIST_SENDING_DOMAINS\", {\n slug: \"mailtrap-list-sending-domains\",\n name: \"List Sending Domains\",\n description: \"Tool to list all sending domains for a Mailtrap account. Use when you need to retrieve configured domains for email sending.\",\n input: MailtrapListSendingDomainsInput,\n output: MailtrapListSendingDomainsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,EAChF,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,OAAO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D;AAE9E,MAAa,6BAITC,eAAAA,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { mailtrap } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-sending-domains.d.ts
|
|
@@ -34,9 +36,7 @@ declare const MailtrapListSendingDomainsOutput: z.ZodObject<{
|
|
|
34
36
|
custom_domain_tracking_enabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
35
37
|
}, z.core.$loose>>>>;
|
|
36
38
|
}, z.core.$loose>;
|
|
37
|
-
declare const mailtrapListSendingDomains:
|
|
38
|
-
account_id: number;
|
|
39
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
39
|
+
declare const mailtrapListSendingDomains: AppAction<typeof MailtrapListSendingDomainsInput, typeof MailtrapListSendingDomainsOutput, typeof mailtrap.credential>;
|
|
40
40
|
//#endregion
|
|
41
41
|
export { mailtrapListSendingDomains };
|
|
42
42
|
//# sourceMappingURL=list-sending-domains.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-sending-domains.d.cts","names":[],"sources":["../../src/actions/list-sending-domains.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-sending-domains.d.cts","names":[],"sources":["../../src/actions/list-sending-domains.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAiC/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { mailtrap } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-sending-domains.d.ts
|
|
@@ -34,9 +36,7 @@ declare const MailtrapListSendingDomainsOutput: z.ZodObject<{
|
|
|
34
36
|
custom_domain_tracking_enabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
35
37
|
}, z.core.$loose>>>>;
|
|
36
38
|
}, z.core.$loose>;
|
|
37
|
-
declare const mailtrapListSendingDomains:
|
|
38
|
-
account_id: number;
|
|
39
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
39
|
+
declare const mailtrapListSendingDomains: AppAction<typeof MailtrapListSendingDomainsInput, typeof MailtrapListSendingDomainsOutput, typeof mailtrap.credential>;
|
|
40
40
|
//#endregion
|
|
41
41
|
export { mailtrapListSendingDomains };
|
|
42
42
|
//# sourceMappingURL=list-sending-domains.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-sending-domains.d.mts","names":[],"sources":["../../src/actions/list-sending-domains.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-sending-domains.d.mts","names":[],"sources":["../../src/actions/list-sending-domains.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAiC/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-sending-domains.mjs","names":[],"sources":["../../src/actions/list-sending-domains.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapListSendingDomainsInput = z.object({\n account_id: z.number().int().describe(\"Account ID to list sending domains for\"),\n}).describe(\"Request model for listing sending domains.\");\nconst MailtrapListSendingDomains_DnsRecordSchema = z.object({\n key: z.string().describe(\"The type of DNS record (verification, spf, dkim1, dkim2, dmarc, link_verification)\").nullable().optional(),\n name: z.string().describe(\"The DNS record name to be configured\").nullable().optional(),\n type: z.string().describe(\"The DNS record type (CNAME, TXT)\").nullable().optional(),\n value: z.string().describe(\"The value to be set for this DNS record\").nullable().optional(),\n domain: z.string().describe(\"The domain name for this DNS record\").nullable().optional(),\n status: z.string().describe(\"The verification status of this DNS record (pass, fail, pending)\").nullable().optional(),\n}).passthrough().describe(\"DNS record for domain verification and configuration.\");\nconst MailtrapListSendingDomains_PermissionsSchema = z.object({\n can_read: z.boolean().describe(\"Whether the domain can be read\").nullable().optional(),\n can_update: z.boolean().describe(\"Whether the domain can be updated\").nullable().optional(),\n can_destroy: z.boolean().describe(\"Whether the domain can be deleted\").nullable().optional(),\n}).passthrough().describe(\"Permission settings for the sending domain.\");\nconst MailtrapListSendingDomains_SendingDomainSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the sending domain\").nullable().optional(),\n demo: z.boolean().describe(\"Whether this is a demo domain\").nullable().optional(),\n dns_records: z.array(MailtrapListSendingDomains_DnsRecordSchema).describe(\"List of DNS records required for domain verification and configuration\").nullable().optional(),\n domain_name: z.string().describe(\"The domain name configured for sending\").nullable().optional(),\n permissions: MailtrapListSendingDomains_PermissionsSchema.nullable().optional(),\n dns_verified: z.boolean().describe(\"Whether the domain's DNS records have been verified\").nullable().optional(),\n dns_verified_at: z.string().describe(\"Timestamp when DNS verification was completed (ISO 8601 format)\").nullable().optional(),\n compliance_status: z.string().describe(\"The compliance status of the domain (compliant, non_compliant)\").nullable().optional(),\n alert_recipient_email: z.string().describe(\"Email address to receive domain health alerts\").nullable().optional(),\n health_alerts_enabled: z.boolean().describe(\"Whether health alerts are enabled\").nullable().optional(),\n open_tracking_enabled: z.boolean().describe(\"Whether open tracking is enabled for emails\").nullable().optional(),\n click_tracking_enabled: z.boolean().describe(\"Whether click tracking is enabled for emails\").nullable().optional(),\n critical_alerts_enabled: z.boolean().describe(\"Whether critical alerts are enabled\").nullable().optional(),\n auto_unsubscribe_link_enabled: z.boolean().describe(\"Whether automatic unsubscribe links are enabled\").nullable().optional(),\n custom_domain_tracking_enabled: z.boolean().describe(\"Whether custom domain tracking is enabled\").nullable().optional(),\n}).passthrough().describe(\"Sending domain with configuration and DNS verification details.\");\nexport const MailtrapListSendingDomainsOutput = z.object({\n data: z.array(MailtrapListSendingDomains_SendingDomainSchema).describe(\"List of sending domains configured for the account\").nullable().optional(),\n}).passthrough().describe(\"Response model containing list of sending domains.\");\n\nexport const mailtrapListSendingDomains = action(\"MAILTRAP_LIST_SENDING_DOMAINS\", {\n slug: \"mailtrap-list-sending-domains\",\n name: \"List Sending Domains\",\n description: \"Tool to list all sending domains for a Mailtrap account. Use when you need to retrieve configured domains for email sending.\",\n input: MailtrapListSendingDomainsInput,\n output: MailtrapListSendingDomainsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-sending-domains.mjs","names":[],"sources":["../../src/actions/list-sending-domains.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mailtrap } from \"../app\";\n\nexport const MailtrapListSendingDomainsInput = z.object({\n account_id: z.number().int().describe(\"Account ID to list sending domains for\"),\n}).describe(\"Request model for listing sending domains.\");\nconst MailtrapListSendingDomains_DnsRecordSchema = z.object({\n key: z.string().describe(\"The type of DNS record (verification, spf, dkim1, dkim2, dmarc, link_verification)\").nullable().optional(),\n name: z.string().describe(\"The DNS record name to be configured\").nullable().optional(),\n type: z.string().describe(\"The DNS record type (CNAME, TXT)\").nullable().optional(),\n value: z.string().describe(\"The value to be set for this DNS record\").nullable().optional(),\n domain: z.string().describe(\"The domain name for this DNS record\").nullable().optional(),\n status: z.string().describe(\"The verification status of this DNS record (pass, fail, pending)\").nullable().optional(),\n}).passthrough().describe(\"DNS record for domain verification and configuration.\");\nconst MailtrapListSendingDomains_PermissionsSchema = z.object({\n can_read: z.boolean().describe(\"Whether the domain can be read\").nullable().optional(),\n can_update: z.boolean().describe(\"Whether the domain can be updated\").nullable().optional(),\n can_destroy: z.boolean().describe(\"Whether the domain can be deleted\").nullable().optional(),\n}).passthrough().describe(\"Permission settings for the sending domain.\");\nconst MailtrapListSendingDomains_SendingDomainSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the sending domain\").nullable().optional(),\n demo: z.boolean().describe(\"Whether this is a demo domain\").nullable().optional(),\n dns_records: z.array(MailtrapListSendingDomains_DnsRecordSchema).describe(\"List of DNS records required for domain verification and configuration\").nullable().optional(),\n domain_name: z.string().describe(\"The domain name configured for sending\").nullable().optional(),\n permissions: MailtrapListSendingDomains_PermissionsSchema.nullable().optional(),\n dns_verified: z.boolean().describe(\"Whether the domain's DNS records have been verified\").nullable().optional(),\n dns_verified_at: z.string().describe(\"Timestamp when DNS verification was completed (ISO 8601 format)\").nullable().optional(),\n compliance_status: z.string().describe(\"The compliance status of the domain (compliant, non_compliant)\").nullable().optional(),\n alert_recipient_email: z.string().describe(\"Email address to receive domain health alerts\").nullable().optional(),\n health_alerts_enabled: z.boolean().describe(\"Whether health alerts are enabled\").nullable().optional(),\n open_tracking_enabled: z.boolean().describe(\"Whether open tracking is enabled for emails\").nullable().optional(),\n click_tracking_enabled: z.boolean().describe(\"Whether click tracking is enabled for emails\").nullable().optional(),\n critical_alerts_enabled: z.boolean().describe(\"Whether critical alerts are enabled\").nullable().optional(),\n auto_unsubscribe_link_enabled: z.boolean().describe(\"Whether automatic unsubscribe links are enabled\").nullable().optional(),\n custom_domain_tracking_enabled: z.boolean().describe(\"Whether custom domain tracking is enabled\").nullable().optional(),\n}).passthrough().describe(\"Sending domain with configuration and DNS verification details.\");\nexport const MailtrapListSendingDomainsOutput = z.object({\n data: z.array(MailtrapListSendingDomains_SendingDomainSchema).describe(\"List of sending domains configured for the account\").nullable().optional(),\n}).passthrough().describe(\"Response model containing list of sending domains.\");\n\nexport const mailtrapListSendingDomains: AppAction<\n typeof MailtrapListSendingDomainsInput,\n typeof MailtrapListSendingDomainsOutput,\n typeof mailtrap.credential\n> = action(\"MAILTRAP_LIST_SENDING_DOMAINS\", {\n slug: \"mailtrap-list-sending-domains\",\n name: \"List Sending Domains\",\n description: \"Tool to list all sending domains for a Mailtrap account. Use when you need to retrieve configured domains for email sending.\",\n input: MailtrapListSendingDomainsInput,\n output: MailtrapListSendingDomainsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkC,EAAE,OAAO,EACtD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,EAChF,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,6CAA6C,EAAE,OAAO;CAC1D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AACjF,MAAM,+CAA+C,EAAE,OAAO;CAC5D,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,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AC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,wBAAwB,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,yBAAyB,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,+BAA+B,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,gCAAgC,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAAiE;AAK3F,MAAa,6BAIT,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb8C,EAAE,OAAO,EACvD,MAAM,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACnJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-suppressions.cjs","names":["z","action"],"sources":["../../src/actions/list-suppressions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapListSuppressionsInput = z.object({\n email: z.string().describe(\"Search for a specific email address. Use this to check if a particular email is suppressed.\").optional(),\n end_time: z.string().describe(\"Search emails suppressed before this timestamp in ISO 8601 format (e.g., 2025-12-31T23:59:59Z).\").optional(),\n account_id: z.number().int().describe(\"Account ID to list suppressions for. This is your Mailtrap account identifier.\"),\n start_time: z.string().describe(\"Search emails suppressed after this timestamp in ISO 8601 format (e.g., 2025-01-01T00:00:00Z).\").optional(),\n});\nconst MailtrapListSuppressions_SuppressionReasonSchema = z.enum([\"bounce\", \"complaint\", \"unsubscribe\", \"manual\"]);\nconst MailtrapListSuppressions_SuppressionItemSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the suppression record\").nullable(),\n email: z.string().describe(\"Email address that is suppressed\").nullable(),\n reason: MailtrapListSuppressions_SuppressionReasonSchema.nullable(),\n created_at: z.string().describe(\"Timestamp when the suppression was created in ISO 8601 format\").nullable(),\n}).passthrough().describe(\"Individual suppression record.\");\nexport const MailtrapListSuppressionsOutput = z.object({\n suppressions: z.array(MailtrapListSuppressions_SuppressionItemSchema).describe(\"List of suppression records for the account\").nullable().optional(),\n}).passthrough().describe(\"Response containing list of suppressed email addresses.\");\n\nexport const mailtrapListSuppressions = action(\"MAILTRAP_LIST_SUPPRESSIONS\", {\n slug: \"mailtrap-list-suppressions\",\n name: \"List Email Suppressions\",\n description: \"Tool to list suppressed email addresses for a Mailtrap account. Use when you need to view which emails are blocked from receiving messages due to bounces, complaints, unsubscribes, or manual suppression.\",\n input: MailtrapListSuppressionsInput,\n output: MailtrapListSuppressionsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-suppressions.cjs","names":["z","action"],"sources":["../../src/actions/list-suppressions.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mailtrap } from \"../app\";\n\nexport const MailtrapListSuppressionsInput = z.object({\n email: z.string().describe(\"Search for a specific email address. Use this to check if a particular email is suppressed.\").optional(),\n end_time: z.string().describe(\"Search emails suppressed before this timestamp in ISO 8601 format (e.g., 2025-12-31T23:59:59Z).\").optional(),\n account_id: z.number().int().describe(\"Account ID to list suppressions for. This is your Mailtrap account identifier.\"),\n start_time: z.string().describe(\"Search emails suppressed after this timestamp in ISO 8601 format (e.g., 2025-01-01T00:00:00Z).\").optional(),\n});\nconst MailtrapListSuppressions_SuppressionReasonSchema = z.enum([\"bounce\", \"complaint\", \"unsubscribe\", \"manual\"]);\nconst MailtrapListSuppressions_SuppressionItemSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the suppression record\").nullable(),\n email: z.string().describe(\"Email address that is suppressed\").nullable(),\n reason: MailtrapListSuppressions_SuppressionReasonSchema.nullable(),\n created_at: z.string().describe(\"Timestamp when the suppression was created in ISO 8601 format\").nullable(),\n}).passthrough().describe(\"Individual suppression record.\");\nexport const MailtrapListSuppressionsOutput = z.object({\n suppressions: z.array(MailtrapListSuppressions_SuppressionItemSchema).describe(\"List of suppression records for the account\").nullable().optional(),\n}).passthrough().describe(\"Response containing list of suppressed email addresses.\");\n\nexport const mailtrapListSuppressions: AppAction<\n typeof MailtrapListSuppressionsInput,\n typeof MailtrapListSuppressionsOutput,\n typeof mailtrap.credential\n> = action(\"MAILTRAP_LIST_SUPPRESSIONS\", {\n slug: \"mailtrap-list-suppressions\",\n name: \"List Email Suppressions\",\n description: \"Tool to list suppressed email addresses for a Mailtrap account. Use when you need to view which emails are blocked from receiving messages due to bounces, complaints, unsubscribes, or manual suppression.\",\n input: MailtrapListSuppressionsInput,\n output: MailtrapListSuppressionsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;CACnI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CAC1I,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gFAAgF;CACtH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;AAC7I,CAAC;AACD,MAAM,mDAAmDA,IAAAA,EAAE,KAAK;CAAC;CAAU;CAAa;CAAe;AAAQ,CAAC;AAChH,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACvF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACxE,QAAQ,iDAAiD,SAAS;CAClE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gCAAgC;AAC1D,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,cAAcA,IAAAA,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAEnF,MAAa,2BAITC,eAAAA,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { mailtrap } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-suppressions.d.ts
|
|
@@ -20,12 +22,7 @@ declare const MailtrapListSuppressionsOutput: z.ZodObject<{
|
|
|
20
22
|
created_at: z.ZodNullable<z.ZodString>;
|
|
21
23
|
}, z.core.$loose>>>>;
|
|
22
24
|
}, z.core.$loose>;
|
|
23
|
-
declare const mailtrapListSuppressions:
|
|
24
|
-
account_id: number;
|
|
25
|
-
email?: string | undefined;
|
|
26
|
-
end_time?: string | undefined;
|
|
27
|
-
start_time?: string | undefined;
|
|
28
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
25
|
+
declare const mailtrapListSuppressions: AppAction<typeof MailtrapListSuppressionsInput, typeof MailtrapListSuppressionsOutput, typeof mailtrap.credential>;
|
|
29
26
|
//#endregion
|
|
30
27
|
export { mailtrapListSuppressions };
|
|
31
28
|
//# sourceMappingURL=list-suppressions.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-suppressions.d.cts","names":[],"sources":["../../src/actions/list-suppressions.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-suppressions.d.cts","names":[],"sources":["../../src/actions/list-suppressions.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;cAa7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAI9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { mailtrap } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-suppressions.d.ts
|
|
@@ -20,12 +22,7 @@ declare const MailtrapListSuppressionsOutput: z.ZodObject<{
|
|
|
20
22
|
created_at: z.ZodNullable<z.ZodString>;
|
|
21
23
|
}, z.core.$loose>>>>;
|
|
22
24
|
}, z.core.$loose>;
|
|
23
|
-
declare const mailtrapListSuppressions:
|
|
24
|
-
account_id: number;
|
|
25
|
-
email?: string | undefined;
|
|
26
|
-
end_time?: string | undefined;
|
|
27
|
-
start_time?: string | undefined;
|
|
28
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
25
|
+
declare const mailtrapListSuppressions: AppAction<typeof MailtrapListSuppressionsInput, typeof MailtrapListSuppressionsOutput, typeof mailtrap.credential>;
|
|
29
26
|
//#endregion
|
|
30
27
|
export { mailtrapListSuppressions };
|
|
31
28
|
//# sourceMappingURL=list-suppressions.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-suppressions.d.mts","names":[],"sources":["../../src/actions/list-suppressions.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-suppressions.d.mts","names":[],"sources":["../../src/actions/list-suppressions.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;cAa7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAI9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-suppressions.mjs","names":[],"sources":["../../src/actions/list-suppressions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapListSuppressionsInput = z.object({\n email: z.string().describe(\"Search for a specific email address. Use this to check if a particular email is suppressed.\").optional(),\n end_time: z.string().describe(\"Search emails suppressed before this timestamp in ISO 8601 format (e.g., 2025-12-31T23:59:59Z).\").optional(),\n account_id: z.number().int().describe(\"Account ID to list suppressions for. This is your Mailtrap account identifier.\"),\n start_time: z.string().describe(\"Search emails suppressed after this timestamp in ISO 8601 format (e.g., 2025-01-01T00:00:00Z).\").optional(),\n});\nconst MailtrapListSuppressions_SuppressionReasonSchema = z.enum([\"bounce\", \"complaint\", \"unsubscribe\", \"manual\"]);\nconst MailtrapListSuppressions_SuppressionItemSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the suppression record\").nullable(),\n email: z.string().describe(\"Email address that is suppressed\").nullable(),\n reason: MailtrapListSuppressions_SuppressionReasonSchema.nullable(),\n created_at: z.string().describe(\"Timestamp when the suppression was created in ISO 8601 format\").nullable(),\n}).passthrough().describe(\"Individual suppression record.\");\nexport const MailtrapListSuppressionsOutput = z.object({\n suppressions: z.array(MailtrapListSuppressions_SuppressionItemSchema).describe(\"List of suppression records for the account\").nullable().optional(),\n}).passthrough().describe(\"Response containing list of suppressed email addresses.\");\n\nexport const mailtrapListSuppressions = action(\"MAILTRAP_LIST_SUPPRESSIONS\", {\n slug: \"mailtrap-list-suppressions\",\n name: \"List Email Suppressions\",\n description: \"Tool to list suppressed email addresses for a Mailtrap account. Use when you need to view which emails are blocked from receiving messages due to bounces, complaints, unsubscribes, or manual suppression.\",\n input: MailtrapListSuppressionsInput,\n output: MailtrapListSuppressionsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-suppressions.mjs","names":[],"sources":["../../src/actions/list-suppressions.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mailtrap } from \"../app\";\n\nexport const MailtrapListSuppressionsInput = z.object({\n email: z.string().describe(\"Search for a specific email address. Use this to check if a particular email is suppressed.\").optional(),\n end_time: z.string().describe(\"Search emails suppressed before this timestamp in ISO 8601 format (e.g., 2025-12-31T23:59:59Z).\").optional(),\n account_id: z.number().int().describe(\"Account ID to list suppressions for. This is your Mailtrap account identifier.\"),\n start_time: z.string().describe(\"Search emails suppressed after this timestamp in ISO 8601 format (e.g., 2025-01-01T00:00:00Z).\").optional(),\n});\nconst MailtrapListSuppressions_SuppressionReasonSchema = z.enum([\"bounce\", \"complaint\", \"unsubscribe\", \"manual\"]);\nconst MailtrapListSuppressions_SuppressionItemSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the suppression record\").nullable(),\n email: z.string().describe(\"Email address that is suppressed\").nullable(),\n reason: MailtrapListSuppressions_SuppressionReasonSchema.nullable(),\n created_at: z.string().describe(\"Timestamp when the suppression was created in ISO 8601 format\").nullable(),\n}).passthrough().describe(\"Individual suppression record.\");\nexport const MailtrapListSuppressionsOutput = z.object({\n suppressions: z.array(MailtrapListSuppressions_SuppressionItemSchema).describe(\"List of suppression records for the account\").nullable().optional(),\n}).passthrough().describe(\"Response containing list of suppressed email addresses.\");\n\nexport const mailtrapListSuppressions: AppAction<\n typeof MailtrapListSuppressionsInput,\n typeof MailtrapListSuppressionsOutput,\n typeof mailtrap.credential\n> = action(\"MAILTRAP_LIST_SUPPRESSIONS\", {\n slug: \"mailtrap-list-suppressions\",\n name: \"List Email Suppressions\",\n description: \"Tool to list suppressed email addresses for a Mailtrap account. Use when you need to view which emails are blocked from receiving messages due to bounces, complaints, unsubscribes, or manual suppression.\",\n input: MailtrapListSuppressionsInput,\n output: MailtrapListSuppressionsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgC,EAAE,OAAO;CACpD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;CACnI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CAC1I,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gFAAgF;CACtH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;AAC7I,CAAC;AACD,MAAM,mDAAmD,EAAE,KAAK;CAAC;CAAU;CAAa;CAAe;AAAQ,CAAC;AAChH,MAAM,iDAAiD,EAAE,OAAO;CAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACvF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACxE,QAAQ,iDAAiD,SAAS;CAClE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gCAAgC;AAK1D,MAAa,2BAIT,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb4C,EAAE,OAAO,EACrD,cAAc,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mark-inbox-as-read.cjs","names":["z","action"],"sources":["../../src/actions/mark-inbox-as-read.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapMarkInboxAsReadInput = 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 marking all messages in an inbox as read.\");\nconst MailtrapMarkInboxAsRead_InboxPermissionsSchema = z.object({\n can_read: z.boolean().describe(\"Whether the inbox can be read\").nullable(),\n can_leave: z.boolean().describe(\"Whether the user can leave the inbox\").nullable(),\n can_update: z.boolean().describe(\"Whether the inbox can be updated\").nullable(),\n can_destroy: z.boolean().describe(\"Whether the inbox can be destroyed\").nullable(),\n}).passthrough().describe(\"Permissions for the inbox.\");\nexport const MailtrapMarkInboxAsReadOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the inbox\").nullable(),\n name: z.string().describe(\"Name of the inbox\").nullable(),\n used: z.boolean().describe(\"Whether the inbox is being used\").nullable(),\n domain: z.string().describe(\"Domain for the inbox\").nullable(),\n status: z.enum([\"active\", \"inactive\", \"pending\"]).describe(\"Status of the inbox\").nullable(),\n max_size: z.number().int().describe(\"Maximum size for the inbox\").nullable(),\n password: z.string().describe(\"Password is only available if you have admin permissions for the inbox\").nullable().optional(),\n username: z.string().describe(\"Username for 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\"),\n project_id: z.number().int().describe(\"Project ID associated with the inbox\").nullable(),\n smtp_ports: z.array(z.number().int()).describe(\"List of SMTP ports\"),\n permissions: MailtrapMarkInboxAsRead_InboxPermissionsSchema.nullable(),\n pop3_domain: z.string().describe(\"POP3 domain for the inbox\").nullable(),\n email_domain: z.string().describe(\"Email domain for the inbox\").nullable(),\n emails_count: z.number().int().describe(\"Total count 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 in bytes\").nullable(),\n emails_unread_count: z.number().int().describe(\"Count of unread emails in the inbox. Should be 0 after marking all as read\").nullable(),\n sent_messages_count: z.number().int().describe(\"Count of sent messages\").nullable(),\n last_message_sent_at: z.string().describe(\"Timestamp of the last message sent\").nullable().optional(),\n email_username_enabled: z.boolean().describe(\"Whether email username is enabled\").nullable(),\n forwarded_messages_count: z.number().int().describe(\"Count of forwarded messages\").nullable(),\n forward_from_email_address: z.string().describe(\"Email address to forward from\").nullable(),\n}).passthrough().describe(\"Response model containing updated inbox attributes after marking all messages as read.\");\n\nexport const mailtrapMarkInboxAsRead = action(\"MAILTRAP_MARK_INBOX_AS_READ\", {\n slug: \"mailtrap-mark-inbox-as-read\",\n name: \"Mark Inbox as Read\",\n description: \"Tool to mark all messages in a Mailtrap inbox as read. Use when you need to mark all unread messages as read in a specific inbox.\",\n input: MailtrapMarkInboxAsReadInput,\n output: MailtrapMarkInboxAsReadOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"mark-inbox-as-read.cjs","names":["z","action"],"sources":["../../src/actions/mark-inbox-as-read.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mailtrap } from \"../app\";\n\nexport const MailtrapMarkInboxAsReadInput = 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 marking all messages in an inbox as read.\");\nconst MailtrapMarkInboxAsRead_InboxPermissionsSchema = z.object({\n can_read: z.boolean().describe(\"Whether the inbox can be read\").nullable(),\n can_leave: z.boolean().describe(\"Whether the user can leave the inbox\").nullable(),\n can_update: z.boolean().describe(\"Whether the inbox can be updated\").nullable(),\n can_destroy: z.boolean().describe(\"Whether the inbox can be destroyed\").nullable(),\n}).passthrough().describe(\"Permissions for the inbox.\");\nexport const MailtrapMarkInboxAsReadOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the inbox\").nullable(),\n name: z.string().describe(\"Name of the inbox\").nullable(),\n used: z.boolean().describe(\"Whether the inbox is being used\").nullable(),\n domain: z.string().describe(\"Domain for the inbox\").nullable(),\n status: z.enum([\"active\", \"inactive\", \"pending\"]).describe(\"Status of the inbox\").nullable(),\n max_size: z.number().int().describe(\"Maximum size for the inbox\").nullable(),\n password: z.string().describe(\"Password is only available if you have admin permissions for the inbox\").nullable().optional(),\n username: z.string().describe(\"Username for 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\"),\n project_id: z.number().int().describe(\"Project ID associated with the inbox\").nullable(),\n smtp_ports: z.array(z.number().int()).describe(\"List of SMTP ports\"),\n permissions: MailtrapMarkInboxAsRead_InboxPermissionsSchema.nullable(),\n pop3_domain: z.string().describe(\"POP3 domain for the inbox\").nullable(),\n email_domain: z.string().describe(\"Email domain for the inbox\").nullable(),\n emails_count: z.number().int().describe(\"Total count 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 in bytes\").nullable(),\n emails_unread_count: z.number().int().describe(\"Count of unread emails in the inbox. Should be 0 after marking all as read\").nullable(),\n sent_messages_count: z.number().int().describe(\"Count of sent messages\").nullable(),\n last_message_sent_at: z.string().describe(\"Timestamp of the last message sent\").nullable().optional(),\n email_username_enabled: z.boolean().describe(\"Whether email username is enabled\").nullable(),\n forwarded_messages_count: z.number().int().describe(\"Count of forwarded messages\").nullable(),\n forward_from_email_address: z.string().describe(\"Email address to forward from\").nullable(),\n}).passthrough().describe(\"Response model containing updated inbox attributes after marking all messages as read.\");\n\nexport const mailtrapMarkInboxAsRead: AppAction<\n typeof MailtrapMarkInboxAsReadInput,\n typeof MailtrapMarkInboxAsReadOutput,\n typeof mailtrap.credential\n> = action(\"MAILTRAP_MARK_INBOX_AS_READ\", {\n slug: \"mailtrap-mark-inbox-as-read\",\n name: \"Mark Inbox as Read\",\n description: \"Tool to mark all messages in a Mailtrap inbox as read. Use when you need to mark all unread messages as read in a specific inbox.\",\n input: MailtrapMarkInboxAsReadInput,\n output: MailtrapMarkInboxAsReadOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;CACpF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD;AAC5F,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACzE,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACjF,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC9E,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4BAA4B;AACtD,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACxD,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS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