@keystrokehq/mailtrap 0.1.0
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/README.md +17 -0
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/clean-inbox.cjs +50 -0
- package/dist/actions/clean-inbox.cjs.map +1 -0
- package/dist/actions/clean-inbox.d.cts +9 -0
- package/dist/actions/clean-inbox.d.cts.map +1 -0
- package/dist/actions/clean-inbox.d.mts +9 -0
- package/dist/actions/clean-inbox.d.mts.map +1 -0
- package/dist/actions/clean-inbox.mjs +49 -0
- package/dist/actions/clean-inbox.mjs.map +1 -0
- package/dist/actions/create-contact-event.cjs +26 -0
- package/dist/actions/create-contact-event.cjs.map +1 -0
- package/dist/actions/create-contact-event.d.cts +9 -0
- package/dist/actions/create-contact-event.d.cts.map +1 -0
- package/dist/actions/create-contact-event.d.mts +9 -0
- package/dist/actions/create-contact-event.d.mts.map +1 -0
- package/dist/actions/create-contact-event.mjs +23 -0
- package/dist/actions/create-contact-event.mjs.map +1 -0
- package/dist/actions/create-contact-export.cjs +34 -0
- package/dist/actions/create-contact-export.cjs.map +1 -0
- package/dist/actions/create-contact-export.d.cts +9 -0
- package/dist/actions/create-contact-export.d.cts.map +1 -0
- package/dist/actions/create-contact-export.d.mts +9 -0
- package/dist/actions/create-contact-export.d.mts.map +1 -0
- package/dist/actions/create-contact-export.mjs +33 -0
- package/dist/actions/create-contact-export.mjs.map +1 -0
- package/dist/actions/create-contact-field.cjs +32 -0
- package/dist/actions/create-contact-field.cjs.map +1 -0
- package/dist/actions/create-contact-field.d.cts +9 -0
- package/dist/actions/create-contact-field.d.cts.map +1 -0
- package/dist/actions/create-contact-field.d.mts +9 -0
- package/dist/actions/create-contact-field.d.mts.map +1 -0
- package/dist/actions/create-contact-field.mjs +29 -0
- package/dist/actions/create-contact-field.mjs.map +1 -0
- package/dist/actions/create-contact-list.cjs +22 -0
- package/dist/actions/create-contact-list.cjs.map +1 -0
- package/dist/actions/create-contact-list.d.cts +9 -0
- package/dist/actions/create-contact-list.d.cts.map +1 -0
- package/dist/actions/create-contact-list.d.mts +9 -0
- package/dist/actions/create-contact-list.d.mts.map +1 -0
- package/dist/actions/create-contact-list.mjs +19 -0
- package/dist/actions/create-contact-list.mjs.map +1 -0
- package/dist/actions/create-contact.cjs +35 -0
- package/dist/actions/create-contact.cjs.map +1 -0
- package/dist/actions/create-contact.d.cts +9 -0
- package/dist/actions/create-contact.d.cts.map +1 -0
- package/dist/actions/create-contact.d.mts +9 -0
- package/dist/actions/create-contact.d.mts.map +1 -0
- package/dist/actions/create-contact.mjs +34 -0
- package/dist/actions/create-contact.mjs.map +1 -0
- package/dist/actions/create-email-template.cjs +35 -0
- package/dist/actions/create-email-template.cjs.map +1 -0
- package/dist/actions/create-email-template.d.cts +9 -0
- package/dist/actions/create-email-template.d.cts.map +1 -0
- package/dist/actions/create-email-template.d.mts +9 -0
- package/dist/actions/create-email-template.d.mts.map +1 -0
- package/dist/actions/create-email-template.mjs +32 -0
- package/dist/actions/create-email-template.mjs.map +1 -0
- package/dist/actions/create-sending-domain.cjs +59 -0
- package/dist/actions/create-sending-domain.cjs.map +1 -0
- package/dist/actions/create-sending-domain.d.cts +9 -0
- package/dist/actions/create-sending-domain.d.cts.map +1 -0
- package/dist/actions/create-sending-domain.d.mts +9 -0
- package/dist/actions/create-sending-domain.d.mts.map +1 -0
- package/dist/actions/create-sending-domain.mjs +58 -0
- package/dist/actions/create-sending-domain.mjs.map +1 -0
- package/dist/actions/delete-contact-field.cjs +22 -0
- package/dist/actions/delete-contact-field.cjs.map +1 -0
- package/dist/actions/delete-contact-field.d.cts +9 -0
- package/dist/actions/delete-contact-field.d.cts.map +1 -0
- package/dist/actions/delete-contact-field.d.mts +9 -0
- package/dist/actions/delete-contact-field.d.mts.map +1 -0
- package/dist/actions/delete-contact-field.mjs +19 -0
- package/dist/actions/delete-contact-field.mjs.map +1 -0
- package/dist/actions/delete-contact-list.cjs +19 -0
- package/dist/actions/delete-contact-list.cjs.map +1 -0
- package/dist/actions/delete-contact-list.d.cts +9 -0
- package/dist/actions/delete-contact-list.d.cts.map +1 -0
- package/dist/actions/delete-contact-list.d.mts +9 -0
- package/dist/actions/delete-contact-list.d.mts.map +1 -0
- package/dist/actions/delete-contact-list.mjs +16 -0
- package/dist/actions/delete-contact-list.mjs.map +1 -0
- package/dist/actions/delete-contact.cjs +19 -0
- package/dist/actions/delete-contact.cjs.map +1 -0
- package/dist/actions/delete-contact.d.cts +9 -0
- package/dist/actions/delete-contact.d.cts.map +1 -0
- package/dist/actions/delete-contact.d.mts +9 -0
- package/dist/actions/delete-contact.d.mts.map +1 -0
- package/dist/actions/delete-contact.mjs +16 -0
- package/dist/actions/delete-contact.mjs.map +1 -0
- package/dist/actions/delete-email-template.cjs +19 -0
- package/dist/actions/delete-email-template.cjs.map +1 -0
- package/dist/actions/delete-email-template.d.cts +9 -0
- package/dist/actions/delete-email-template.d.cts.map +1 -0
- package/dist/actions/delete-email-template.d.mts +9 -0
- package/dist/actions/delete-email-template.d.mts.map +1 -0
- package/dist/actions/delete-email-template.mjs +16 -0
- package/dist/actions/delete-email-template.mjs.map +1 -0
- package/dist/actions/delete-project.cjs +19 -0
- package/dist/actions/delete-project.cjs.map +1 -0
- package/dist/actions/delete-project.d.cts +9 -0
- package/dist/actions/delete-project.d.cts.map +1 -0
- package/dist/actions/delete-project.d.mts +9 -0
- package/dist/actions/delete-project.d.mts.map +1 -0
- package/dist/actions/delete-project.mjs +16 -0
- package/dist/actions/delete-project.mjs.map +1 -0
- package/dist/actions/delete-sending-domain.cjs +19 -0
- package/dist/actions/delete-sending-domain.cjs.map +1 -0
- package/dist/actions/delete-sending-domain.d.cts +9 -0
- package/dist/actions/delete-sending-domain.d.cts.map +1 -0
- package/dist/actions/delete-sending-domain.d.mts +9 -0
- package/dist/actions/delete-sending-domain.d.mts.map +1 -0
- package/dist/actions/delete-sending-domain.mjs +16 -0
- package/dist/actions/delete-sending-domain.mjs.map +1 -0
- package/dist/actions/get-billing-usage.cjs +37 -0
- package/dist/actions/get-billing-usage.cjs.map +1 -0
- package/dist/actions/get-billing-usage.d.cts +9 -0
- package/dist/actions/get-billing-usage.d.cts.map +1 -0
- package/dist/actions/get-billing-usage.d.mts +9 -0
- package/dist/actions/get-billing-usage.d.mts.map +1 -0
- package/dist/actions/get-billing-usage.mjs +36 -0
- package/dist/actions/get-billing-usage.mjs.map +1 -0
- package/dist/actions/get-contact-export.cjs +30 -0
- package/dist/actions/get-contact-export.cjs.map +1 -0
- package/dist/actions/get-contact-export.d.cts +9 -0
- package/dist/actions/get-contact-export.d.cts.map +1 -0
- package/dist/actions/get-contact-export.d.mts +9 -0
- package/dist/actions/get-contact-export.d.mts.map +1 -0
- package/dist/actions/get-contact-export.mjs +29 -0
- package/dist/actions/get-contact-export.mjs.map +1 -0
- package/dist/actions/get-contact-field.cjs +24 -0
- package/dist/actions/get-contact-field.cjs.map +1 -0
- package/dist/actions/get-contact-field.d.cts +9 -0
- package/dist/actions/get-contact-field.d.cts.map +1 -0
- package/dist/actions/get-contact-field.d.mts +9 -0
- package/dist/actions/get-contact-field.d.mts.map +1 -0
- package/dist/actions/get-contact-field.mjs +21 -0
- package/dist/actions/get-contact-field.mjs.map +1 -0
- package/dist/actions/get-contact-import.cjs +31 -0
- package/dist/actions/get-contact-import.cjs.map +1 -0
- package/dist/actions/get-contact-import.d.cts +9 -0
- package/dist/actions/get-contact-import.d.cts.map +1 -0
- package/dist/actions/get-contact-import.d.mts +9 -0
- package/dist/actions/get-contact-import.d.mts.map +1 -0
- package/dist/actions/get-contact-import.mjs +30 -0
- package/dist/actions/get-contact-import.mjs.map +1 -0
- package/dist/actions/get-contact-list.cjs +22 -0
- package/dist/actions/get-contact-list.cjs.map +1 -0
- package/dist/actions/get-contact-list.d.cts +9 -0
- package/dist/actions/get-contact-list.d.cts.map +1 -0
- package/dist/actions/get-contact-list.d.mts +9 -0
- package/dist/actions/get-contact-list.d.mts.map +1 -0
- package/dist/actions/get-contact-list.mjs +19 -0
- package/dist/actions/get-contact-list.mjs.map +1 -0
- package/dist/actions/get-contact.cjs +28 -0
- package/dist/actions/get-contact.cjs.map +1 -0
- package/dist/actions/get-contact.d.cts +9 -0
- package/dist/actions/get-contact.d.cts.map +1 -0
- package/dist/actions/get-contact.d.mts +9 -0
- package/dist/actions/get-contact.d.mts.map +1 -0
- package/dist/actions/get-contact.mjs +27 -0
- package/dist/actions/get-contact.mjs.map +1 -0
- package/dist/actions/get-email-template.cjs +29 -0
- package/dist/actions/get-email-template.cjs.map +1 -0
- package/dist/actions/get-email-template.d.cts +9 -0
- package/dist/actions/get-email-template.d.cts.map +1 -0
- package/dist/actions/get-email-template.d.mts +9 -0
- package/dist/actions/get-email-template.d.mts.map +1 -0
- package/dist/actions/get-email-template.mjs +26 -0
- package/dist/actions/get-email-template.mjs.map +1 -0
- package/dist/actions/get-inbox.cjs +50 -0
- package/dist/actions/get-inbox.cjs.map +1 -0
- package/dist/actions/get-inbox.d.cts +9 -0
- package/dist/actions/get-inbox.d.cts.map +1 -0
- package/dist/actions/get-inbox.d.mts +9 -0
- package/dist/actions/get-inbox.d.mts.map +1 -0
- package/dist/actions/get-inbox.mjs +49 -0
- package/dist/actions/get-inbox.mjs.map +1 -0
- package/dist/actions/get-message-html.cjs +23 -0
- package/dist/actions/get-message-html.cjs.map +1 -0
- package/dist/actions/get-message-html.d.cts +9 -0
- package/dist/actions/get-message-html.d.cts.map +1 -0
- package/dist/actions/get-message-html.d.mts +9 -0
- package/dist/actions/get-message-html.d.mts.map +1 -0
- package/dist/actions/get-message-html.mjs +20 -0
- package/dist/actions/get-message-html.mjs.map +1 -0
- package/dist/actions/get-permission-resources.cjs +36 -0
- package/dist/actions/get-permission-resources.cjs.map +1 -0
- package/dist/actions/get-permission-resources.d.cts +9 -0
- package/dist/actions/get-permission-resources.d.cts.map +1 -0
- package/dist/actions/get-permission-resources.d.mts +9 -0
- package/dist/actions/get-permission-resources.d.mts.map +1 -0
- package/dist/actions/get-permission-resources.mjs +35 -0
- package/dist/actions/get-permission-resources.mjs.map +1 -0
- package/dist/actions/get-project.cjs +67 -0
- package/dist/actions/get-project.cjs.map +1 -0
- package/dist/actions/get-project.d.cts +9 -0
- package/dist/actions/get-project.d.cts.map +1 -0
- package/dist/actions/get-project.d.mts +9 -0
- package/dist/actions/get-project.d.mts.map +1 -0
- package/dist/actions/get-project.mjs +66 -0
- package/dist/actions/get-project.mjs.map +1 -0
- package/dist/actions/get-sending-domain.cjs +59 -0
- package/dist/actions/get-sending-domain.cjs.map +1 -0
- package/dist/actions/get-sending-domain.d.cts +9 -0
- package/dist/actions/get-sending-domain.d.cts.map +1 -0
- package/dist/actions/get-sending-domain.d.mts +9 -0
- package/dist/actions/get-sending-domain.d.mts.map +1 -0
- package/dist/actions/get-sending-domain.mjs +58 -0
- package/dist/actions/get-sending-domain.mjs.map +1 -0
- package/dist/actions/get-sending-stats-by-categories.cjs +40 -0
- package/dist/actions/get-sending-stats-by-categories.cjs.map +1 -0
- package/dist/actions/get-sending-stats-by-categories.d.cts +9 -0
- package/dist/actions/get-sending-stats-by-categories.d.cts.map +1 -0
- package/dist/actions/get-sending-stats-by-categories.d.mts +9 -0
- package/dist/actions/get-sending-stats-by-categories.d.mts.map +1 -0
- package/dist/actions/get-sending-stats-by-categories.mjs +39 -0
- package/dist/actions/get-sending-stats-by-categories.mjs.map +1 -0
- package/dist/actions/get-sending-stats-by-date.cjs +40 -0
- package/dist/actions/get-sending-stats-by-date.cjs.map +1 -0
- package/dist/actions/get-sending-stats-by-date.d.cts +9 -0
- package/dist/actions/get-sending-stats-by-date.d.cts.map +1 -0
- package/dist/actions/get-sending-stats-by-date.d.mts +9 -0
- package/dist/actions/get-sending-stats-by-date.d.mts.map +1 -0
- package/dist/actions/get-sending-stats-by-date.mjs +39 -0
- package/dist/actions/get-sending-stats-by-date.mjs.map +1 -0
- package/dist/actions/get-sending-stats-by-domains.cjs +40 -0
- package/dist/actions/get-sending-stats-by-domains.cjs.map +1 -0
- package/dist/actions/get-sending-stats-by-domains.d.cts +9 -0
- package/dist/actions/get-sending-stats-by-domains.d.cts.map +1 -0
- package/dist/actions/get-sending-stats-by-domains.d.mts +9 -0
- package/dist/actions/get-sending-stats-by-domains.d.mts.map +1 -0
- package/dist/actions/get-sending-stats-by-domains.mjs +39 -0
- package/dist/actions/get-sending-stats-by-domains.mjs.map +1 -0
- package/dist/actions/get-sending-stats-by-esp.cjs +40 -0
- package/dist/actions/get-sending-stats-by-esp.cjs.map +1 -0
- package/dist/actions/get-sending-stats-by-esp.d.cts +9 -0
- package/dist/actions/get-sending-stats-by-esp.d.cts.map +1 -0
- package/dist/actions/get-sending-stats-by-esp.d.mts +9 -0
- package/dist/actions/get-sending-stats-by-esp.d.mts.map +1 -0
- package/dist/actions/get-sending-stats-by-esp.mjs +39 -0
- package/dist/actions/get-sending-stats-by-esp.mjs.map +1 -0
- package/dist/actions/get-sending-stats.cjs +35 -0
- package/dist/actions/get-sending-stats.cjs.map +1 -0
- package/dist/actions/get-sending-stats.d.cts +9 -0
- package/dist/actions/get-sending-stats.d.cts.map +1 -0
- package/dist/actions/get-sending-stats.d.mts +9 -0
- package/dist/actions/get-sending-stats.d.mts.map +1 -0
- package/dist/actions/get-sending-stats.mjs +32 -0
- package/dist/actions/get-sending-stats.mjs.map +1 -0
- package/dist/actions/import-contacts.cjs +30 -0
- package/dist/actions/import-contacts.cjs.map +1 -0
- package/dist/actions/import-contacts.d.cts +9 -0
- package/dist/actions/import-contacts.d.cts.map +1 -0
- package/dist/actions/import-contacts.d.mts +9 -0
- package/dist/actions/import-contacts.d.mts.map +1 -0
- package/dist/actions/import-contacts.mjs +27 -0
- package/dist/actions/import-contacts.mjs.map +1 -0
- package/dist/actions/index.cjs +99 -0
- package/dist/actions/index.d.cts +50 -0
- package/dist/actions/index.d.mts +50 -0
- package/dist/actions/index.mjs +50 -0
- package/dist/actions/list-accounts.cjs +21 -0
- package/dist/actions/list-accounts.cjs.map +1 -0
- package/dist/actions/list-accounts.d.cts +9 -0
- package/dist/actions/list-accounts.d.cts.map +1 -0
- package/dist/actions/list-accounts.d.mts +9 -0
- package/dist/actions/list-accounts.d.mts.map +1 -0
- package/dist/actions/list-accounts.mjs +20 -0
- package/dist/actions/list-accounts.mjs.map +1 -0
- package/dist/actions/list-contact-fields.cjs +29 -0
- package/dist/actions/list-contact-fields.cjs.map +1 -0
- package/dist/actions/list-contact-fields.d.cts +9 -0
- package/dist/actions/list-contact-fields.d.cts.map +1 -0
- package/dist/actions/list-contact-fields.d.mts +9 -0
- package/dist/actions/list-contact-fields.d.mts.map +1 -0
- package/dist/actions/list-contact-fields.mjs +28 -0
- package/dist/actions/list-contact-fields.mjs.map +1 -0
- package/dist/actions/list-contact-lists.cjs +20 -0
- package/dist/actions/list-contact-lists.cjs.map +1 -0
- package/dist/actions/list-contact-lists.d.cts +9 -0
- package/dist/actions/list-contact-lists.d.cts.map +1 -0
- package/dist/actions/list-contact-lists.d.mts +9 -0
- package/dist/actions/list-contact-lists.d.mts.map +1 -0
- package/dist/actions/list-contact-lists.mjs +19 -0
- package/dist/actions/list-contact-lists.mjs.map +1 -0
- package/dist/actions/list-email-templates.cjs +27 -0
- package/dist/actions/list-email-templates.cjs.map +1 -0
- package/dist/actions/list-email-templates.d.cts +9 -0
- package/dist/actions/list-email-templates.d.cts.map +1 -0
- package/dist/actions/list-email-templates.d.mts +9 -0
- package/dist/actions/list-email-templates.d.mts.map +1 -0
- package/dist/actions/list-email-templates.mjs +26 -0
- package/dist/actions/list-email-templates.mjs.map +1 -0
- package/dist/actions/list-inboxes.cjs +53 -0
- package/dist/actions/list-inboxes.cjs.map +1 -0
- package/dist/actions/list-inboxes.d.cts +9 -0
- package/dist/actions/list-inboxes.d.cts.map +1 -0
- package/dist/actions/list-inboxes.d.mts +9 -0
- package/dist/actions/list-inboxes.d.mts.map +1 -0
- package/dist/actions/list-inboxes.mjs +52 -0
- package/dist/actions/list-inboxes.mjs.map +1 -0
- package/dist/actions/list-messages.cjs +65 -0
- package/dist/actions/list-messages.cjs.map +1 -0
- package/dist/actions/list-messages.d.cts +9 -0
- package/dist/actions/list-messages.d.cts.map +1 -0
- package/dist/actions/list-messages.d.mts +9 -0
- package/dist/actions/list-messages.d.mts.map +1 -0
- package/dist/actions/list-messages.mjs +64 -0
- package/dist/actions/list-messages.mjs.map +1 -0
- package/dist/actions/list-projects.cjs +57 -0
- package/dist/actions/list-projects.cjs.map +1 -0
- package/dist/actions/list-projects.d.cts +9 -0
- package/dist/actions/list-projects.d.cts.map +1 -0
- package/dist/actions/list-projects.d.mts +9 -0
- package/dist/actions/list-projects.d.mts.map +1 -0
- package/dist/actions/list-projects.mjs +56 -0
- package/dist/actions/list-projects.mjs.map +1 -0
- package/dist/actions/list-sending-domains.cjs +46 -0
- package/dist/actions/list-sending-domains.cjs.map +1 -0
- package/dist/actions/list-sending-domains.d.cts +9 -0
- package/dist/actions/list-sending-domains.d.cts.map +1 -0
- package/dist/actions/list-sending-domains.d.mts +9 -0
- package/dist/actions/list-sending-domains.d.mts.map +1 -0
- package/dist/actions/list-sending-domains.mjs +45 -0
- package/dist/actions/list-sending-domains.mjs.map +1 -0
- package/dist/actions/list-suppressions.cjs +33 -0
- package/dist/actions/list-suppressions.cjs.map +1 -0
- package/dist/actions/list-suppressions.d.cts +9 -0
- package/dist/actions/list-suppressions.d.cts.map +1 -0
- package/dist/actions/list-suppressions.d.mts +9 -0
- package/dist/actions/list-suppressions.d.mts.map +1 -0
- package/dist/actions/list-suppressions.mjs +32 -0
- package/dist/actions/list-suppressions.mjs.map +1 -0
- package/dist/actions/mark-inbox-as-read.cjs +54 -0
- package/dist/actions/mark-inbox-as-read.cjs.map +1 -0
- package/dist/actions/mark-inbox-as-read.d.cts +9 -0
- package/dist/actions/mark-inbox-as-read.d.cts.map +1 -0
- package/dist/actions/mark-inbox-as-read.d.mts +9 -0
- package/dist/actions/mark-inbox-as-read.d.mts.map +1 -0
- package/dist/actions/mark-inbox-as-read.mjs +53 -0
- package/dist/actions/mark-inbox-as-read.mjs.map +1 -0
- package/dist/actions/reset-inbox-credentials.cjs +54 -0
- package/dist/actions/reset-inbox-credentials.cjs.map +1 -0
- package/dist/actions/reset-inbox-credentials.d.cts +9 -0
- package/dist/actions/reset-inbox-credentials.d.cts.map +1 -0
- package/dist/actions/reset-inbox-credentials.d.mts +9 -0
- package/dist/actions/reset-inbox-credentials.d.mts.map +1 -0
- package/dist/actions/reset-inbox-credentials.mjs +53 -0
- package/dist/actions/reset-inbox-credentials.mjs.map +1 -0
- package/dist/actions/update-contact-field.cjs +33 -0
- package/dist/actions/update-contact-field.cjs.map +1 -0
- package/dist/actions/update-contact-field.d.cts +9 -0
- package/dist/actions/update-contact-field.d.cts.map +1 -0
- package/dist/actions/update-contact-field.d.mts +9 -0
- package/dist/actions/update-contact-field.d.mts.map +1 -0
- package/dist/actions/update-contact-field.mjs +32 -0
- package/dist/actions/update-contact-field.mjs.map +1 -0
- package/dist/actions/update-contact-list.cjs +23 -0
- package/dist/actions/update-contact-list.cjs.map +1 -0
- package/dist/actions/update-contact-list.d.cts +9 -0
- package/dist/actions/update-contact-list.d.cts.map +1 -0
- package/dist/actions/update-contact-list.d.mts +9 -0
- package/dist/actions/update-contact-list.d.mts.map +1 -0
- package/dist/actions/update-contact-list.mjs +20 -0
- package/dist/actions/update-contact-list.mjs.map +1 -0
- package/dist/actions/update-contact.cjs +38 -0
- package/dist/actions/update-contact.cjs.map +1 -0
- package/dist/actions/update-contact.d.cts +9 -0
- package/dist/actions/update-contact.d.cts.map +1 -0
- package/dist/actions/update-contact.d.mts +9 -0
- package/dist/actions/update-contact.d.mts.map +1 -0
- package/dist/actions/update-contact.mjs +37 -0
- package/dist/actions/update-contact.mjs.map +1 -0
- package/dist/actions/update-email-template.cjs +36 -0
- package/dist/actions/update-email-template.cjs.map +1 -0
- package/dist/actions/update-email-template.d.cts +9 -0
- package/dist/actions/update-email-template.d.cts.map +1 -0
- package/dist/actions/update-email-template.d.mts +9 -0
- package/dist/actions/update-email-template.d.mts.map +1 -0
- package/dist/actions/update-email-template.mjs +33 -0
- package/dist/actions/update-email-template.mjs.map +1 -0
- package/dist/actions/update-inbox.cjs +58 -0
- package/dist/actions/update-inbox.cjs.map +1 -0
- package/dist/actions/update-inbox.d.cts +9 -0
- package/dist/actions/update-inbox.d.cts.map +1 -0
- package/dist/actions/update-inbox.d.mts +9 -0
- package/dist/actions/update-inbox.d.mts.map +1 -0
- package/dist/actions/update-inbox.mjs +57 -0
- package/dist/actions/update-inbox.mjs.map +1 -0
- package/dist/actions/update-project.cjs +68 -0
- package/dist/actions/update-project.cjs.map +1 -0
- package/dist/actions/update-project.d.cts +9 -0
- package/dist/actions/update-project.d.cts.map +1 -0
- package/dist/actions/update-project.d.mts +9 -0
- package/dist/actions/update-project.d.mts.map +1 -0
- package/dist/actions/update-project.mjs +67 -0
- package/dist/actions/update-project.mjs.map +1 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +104 -0
- package/dist/index.d.cts +52 -0
- package/dist/index.d.mts +52 -0
- package/dist/index.mjs +53 -0
- package/package.json +49 -0
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-contact-export.ts
|
|
4
|
+
const MailtrapGetContactExportInput = z.object({
|
|
5
|
+
export_id: z.number().int().describe("Unique Contact Export ID to retrieve."),
|
|
6
|
+
account_id: z.number().int().describe("Unique account ID for the Mailtrap account.")
|
|
7
|
+
}).describe("Request model for getting a contact export status.");
|
|
8
|
+
const MailtrapGetContactExport_ExportStatusSchema = z.enum([
|
|
9
|
+
"created",
|
|
10
|
+
"started",
|
|
11
|
+
"finished"
|
|
12
|
+
]).describe("Status of the contact export.");
|
|
13
|
+
const mailtrapGetContactExport = action("MAILTRAP_GET_CONTACT_EXPORT", {
|
|
14
|
+
slug: "mailtrap-get-contact-export",
|
|
15
|
+
name: "Get Contact Export",
|
|
16
|
+
description: "Tool to retrieve the status of a contact export. Use when you need to check the progress of an export or download the exported contacts file.",
|
|
17
|
+
input: MailtrapGetContactExportInput,
|
|
18
|
+
output: z.object({
|
|
19
|
+
id: z.number().int().describe("Unique ID of the contact export.").nullable().optional(),
|
|
20
|
+
url: z.string().describe("The URL of the exported contacts file. Only available when the export is finished.").nullable().optional(),
|
|
21
|
+
status: MailtrapGetContactExport_ExportStatusSchema.nullable().optional(),
|
|
22
|
+
created_at: z.string().describe("ISO 8601 timestamp when the export was created.").nullable().optional(),
|
|
23
|
+
updated_at: z.string().describe("ISO 8601 timestamp when the export was last updated.").nullable().optional()
|
|
24
|
+
}).describe("Response model for contact export status.")
|
|
25
|
+
});
|
|
26
|
+
//#endregion
|
|
27
|
+
export { mailtrapGetContactExport };
|
|
28
|
+
|
|
29
|
+
//# sourceMappingURL=get-contact-export.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-contact-export.mjs","names":[],"sources":["../../src/actions/get-contact-export.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapGetContactExportInput: z.ZodTypeAny = z.object({\n export_id: z.number().int().describe(\"Unique Contact Export ID to retrieve.\"),\n account_id: z.number().int().describe(\"Unique account ID for the Mailtrap account.\"),\n}).describe(\"Request model for getting a contact export status.\");\nconst MailtrapGetContactExport_ExportStatusSchema: z.ZodTypeAny = z.enum([\"created\", \"started\", \"finished\"]).describe(\"Status of the contact export.\");\nexport const MailtrapGetContactExportOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique ID of the contact export.\").nullable().optional(),\n url: z.string().describe(\"The URL of the exported contacts file. Only available when the export is finished.\").nullable().optional(),\n status: MailtrapGetContactExport_ExportStatusSchema.nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the export was created.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the export was last updated.\").nullable().optional(),\n}).describe(\"Response model for contact export status.\");\n\nexport const mailtrapGetContactExport = action(\"MAILTRAP_GET_CONTACT_EXPORT\", {\n slug: \"mailtrap-get-contact-export\",\n name: \"Get Contact Export\",\n description: \"Tool to retrieve the status of a contact export. Use when you need to check the progress of an export or download the exported contacts file.\",\n input: MailtrapGetContactExportInput,\n output: MailtrapGetContactExportOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8C,EAAE,OAAO;CAClE,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC;CAC5E,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;AACrF,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,8CAA4D,EAAE,KAAK;CAAC;CAAW;CAAW;AAAU,CAAC,CAAC,CAAC,SAAS,+BAA+B;AASrJ,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb0D,EAAE,OAAO;EACnE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnI,QAAQ,4CAA4C,SAAS,CAAC,CAAC,SAAS;EACxE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,CAAC,CAAC,CAAC,SAAS,2CAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-contact-field.ts
|
|
4
|
+
const MailtrapGetContactFieldInput = zod.z.object({
|
|
5
|
+
field_id: zod.z.number().int().describe("Unique Contact Field ID"),
|
|
6
|
+
account_id: zod.z.number().int().describe("Unique account ID")
|
|
7
|
+
}).describe("Request schema for getting a contact field by ID.");
|
|
8
|
+
const MailtrapGetContactFieldOutput = zod.z.object({
|
|
9
|
+
id: zod.z.number().int().describe("The unique identifier of the contact field").nullable().optional(),
|
|
10
|
+
name: zod.z.string().describe("The name of the contact field").nullable().optional(),
|
|
11
|
+
data_type: zod.z.string().describe("The data type of the field: text, integer, float, boolean, or date").nullable().optional(),
|
|
12
|
+
merge_tag: zod.z.string().describe("Personalize your campaigns by adding a merge tag. This field will be replaced with unique contact details for each recipient.").nullable().optional()
|
|
13
|
+
}).describe("Response schema containing contact field details.");
|
|
14
|
+
const mailtrapGetContactField = require_action.action("MAILTRAP_GET_CONTACT_FIELD", {
|
|
15
|
+
slug: "mailtrap-get-contact-field",
|
|
16
|
+
name: "Get Contact Field",
|
|
17
|
+
description: "Tool to retrieve contact field details by field ID. Use when you need to get information about a specific custom field in your contacts.",
|
|
18
|
+
input: MailtrapGetContactFieldInput,
|
|
19
|
+
output: MailtrapGetContactFieldOutput
|
|
20
|
+
});
|
|
21
|
+
//#endregion
|
|
22
|
+
exports.mailtrapGetContactField = mailtrapGetContactField;
|
|
23
|
+
|
|
24
|
+
//# sourceMappingURL=get-contact-field.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-contact-field.cjs","names":["z","action"],"sources":["../../src/actions/get-contact-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapGetContactFieldInput: z.ZodTypeAny = z.object({\n field_id: z.number().int().describe(\"Unique Contact Field ID\"),\n account_id: z.number().int().describe(\"Unique account ID\"),\n}).describe(\"Request schema for getting a contact field by ID.\");\nexport const MailtrapGetContactFieldOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"The unique identifier of the contact field\").nullable().optional(),\n name: z.string().describe(\"The name of the contact field\").nullable().optional(),\n data_type: z.string().describe(\"The data type of the field: text, integer, float, boolean, or date\").nullable().optional(),\n merge_tag: z.string().describe(\"Personalize your campaigns by adding a merge tag. This field will be replaced with unique contact details for each recipient.\").nullable().optional(),\n}).describe(\"Response schema containing contact field details.\");\n\nexport const mailtrapGetContactField = action(\"MAILTRAP_GET_CONTACT_FIELD\", {\n slug: \"mailtrap-get-contact-field\",\n name: \"Get Contact Field\",\n description: \"Tool to retrieve contact field details by field ID. Use when you need to get information about a specific custom field in your contacts.\",\n input: MailtrapGetContactFieldInput,\n output: MailtrapGetContactFieldOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB;CAC7D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB;AAC3D,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtL,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAE/D,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-contact-field.d.ts
|
|
4
|
+
declare const MailtrapGetContactFieldInput: z.ZodTypeAny;
|
|
5
|
+
declare const MailtrapGetContactFieldOutput: z.ZodTypeAny;
|
|
6
|
+
declare const mailtrapGetContactField: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { mailtrapGetContactField };
|
|
9
|
+
//# sourceMappingURL=get-contact-field.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-contact-field.d.cts","names":[],"sources":["../../src/actions/get-contact-field.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAGmB;AAAA,cACnD,6BAAA,EAA+B,CAAA,CAAE,UAKkB;AAAA,cAEnD,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-contact-field.d.ts
|
|
4
|
+
declare const MailtrapGetContactFieldInput: z.ZodTypeAny;
|
|
5
|
+
declare const MailtrapGetContactFieldOutput: z.ZodTypeAny;
|
|
6
|
+
declare const mailtrapGetContactField: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { mailtrapGetContactField };
|
|
9
|
+
//# sourceMappingURL=get-contact-field.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-contact-field.d.mts","names":[],"sources":["../../src/actions/get-contact-field.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAGmB;AAAA,cACnD,6BAAA,EAA+B,CAAA,CAAE,UAKkB;AAAA,cAEnD,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const mailtrapGetContactField = action("MAILTRAP_GET_CONTACT_FIELD", {
|
|
4
|
+
slug: "mailtrap-get-contact-field",
|
|
5
|
+
name: "Get Contact Field",
|
|
6
|
+
description: "Tool to retrieve contact field details by field ID. Use when you need to get information about a specific custom field in your contacts.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
field_id: z.number().int().describe("Unique Contact Field ID"),
|
|
9
|
+
account_id: z.number().int().describe("Unique account ID")
|
|
10
|
+
}).describe("Request schema for getting a contact field by ID."),
|
|
11
|
+
output: z.object({
|
|
12
|
+
id: z.number().int().describe("The unique identifier of the contact field").nullable().optional(),
|
|
13
|
+
name: z.string().describe("The name of the contact field").nullable().optional(),
|
|
14
|
+
data_type: z.string().describe("The data type of the field: text, integer, float, boolean, or date").nullable().optional(),
|
|
15
|
+
merge_tag: z.string().describe("Personalize your campaigns by adding a merge tag. This field will be replaced with unique contact details for each recipient.").nullable().optional()
|
|
16
|
+
}).describe("Response schema containing contact field details.")
|
|
17
|
+
});
|
|
18
|
+
//#endregion
|
|
19
|
+
export { mailtrapGetContactField };
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=get-contact-field.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-contact-field.mjs","names":[],"sources":["../../src/actions/get-contact-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapGetContactFieldInput: z.ZodTypeAny = z.object({\n field_id: z.number().int().describe(\"Unique Contact Field ID\"),\n account_id: z.number().int().describe(\"Unique account ID\"),\n}).describe(\"Request schema for getting a contact field by ID.\");\nexport const MailtrapGetContactFieldOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"The unique identifier of the contact field\").nullable().optional(),\n name: z.string().describe(\"The name of the contact field\").nullable().optional(),\n data_type: z.string().describe(\"The data type of the field: text, integer, float, boolean, or date\").nullable().optional(),\n merge_tag: z.string().describe(\"Personalize your campaigns by adding a merge tag. This field will be replaced with unique contact details for each recipient.\").nullable().optional(),\n}).describe(\"Response schema containing contact field details.\");\n\nexport const mailtrapGetContactField = action(\"MAILTRAP_GET_CONTACT_FIELD\", {\n slug: \"mailtrap-get-contact-field\",\n name: \"Get Contact Field\",\n description: \"Tool to retrieve contact field details by field ID. Use when you need to get information about a specific custom field in your contacts.\",\n input: MailtrapGetContactFieldInput,\n output: MailtrapGetContactFieldOutput,\n});\n"],"mappings":";;AAeA,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfwD,EAAE,OAAO;EACjE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB;EAC7D,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB;CAC3D,CAAC,CAAC,CAAC,SAAS,mDAYH;CACP,QAZyD,EAAE,OAAO;EAClE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtL,CAAC,CAAC,CAAC,SAAS,mDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-contact-import.ts
|
|
4
|
+
const MailtrapGetContactImportInput = zod.z.object({
|
|
5
|
+
import_id: zod.z.number().int().describe("Unique Contact Import ID for the import operation to retrieve."),
|
|
6
|
+
account_id: zod.z.number().int().describe("Unique account ID for the Mailtrap account.")
|
|
7
|
+
}).describe("Request model for retrieving the status of a contact import operation.");
|
|
8
|
+
const MailtrapGetContactImport_ContactImportStatusSchema = zod.z.enum([
|
|
9
|
+
"created",
|
|
10
|
+
"started",
|
|
11
|
+
"finished",
|
|
12
|
+
"failed"
|
|
13
|
+
]).describe("Status values for contact import operations.");
|
|
14
|
+
const MailtrapGetContactImportOutput = zod.z.object({
|
|
15
|
+
id: zod.z.number().int().describe("Unique identifier for the contact import operation."),
|
|
16
|
+
status: MailtrapGetContactImport_ContactImportStatusSchema.nullable(),
|
|
17
|
+
created_contacts_count: zod.z.number().int().describe("Number of new contacts created during import. Only provided when status is 'finished'.").nullable().optional(),
|
|
18
|
+
updated_contacts_count: zod.z.number().int().describe("Number of existing contacts updated during import. Only provided when status is 'finished'.").nullable().optional(),
|
|
19
|
+
contacts_over_limit_count: zod.z.number().int().describe("Number of contacts that exceeded the account limit. Only provided when status is 'finished'.").nullable().optional()
|
|
20
|
+
}).describe("Response model for contact import status.\n\nFields like contacts_over_limit_count, created_contacts_count, and\nupdated_contacts_count are only provided when status is 'finished'.");
|
|
21
|
+
const mailtrapGetContactImport = require_action.action("MAILTRAP_GET_CONTACT_IMPORT", {
|
|
22
|
+
slug: "mailtrap-get-contact-import",
|
|
23
|
+
name: "Get Contact Import Status",
|
|
24
|
+
description: "Tool to retrieve the status of a contact import operation. Use when you need to check the progress or completion status of a contact import. Use after initiating a contact import to monitor its status and retrieve statistics once finished.",
|
|
25
|
+
input: MailtrapGetContactImportInput,
|
|
26
|
+
output: MailtrapGetContactImportOutput
|
|
27
|
+
});
|
|
28
|
+
//#endregion
|
|
29
|
+
exports.mailtrapGetContactImport = mailtrapGetContactImport;
|
|
30
|
+
|
|
31
|
+
//# sourceMappingURL=get-contact-import.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-contact-import.cjs","names":["z","action"],"sources":["../../src/actions/get-contact-import.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapGetContactImportInput: z.ZodTypeAny = z.object({\n import_id: z.number().int().describe(\"Unique Contact Import ID for the import operation to retrieve.\"),\n account_id: z.number().int().describe(\"Unique account ID for the Mailtrap account.\"),\n}).describe(\"Request model for retrieving the status of a contact import operation.\");\nconst MailtrapGetContactImport_ContactImportStatusSchema: z.ZodTypeAny = z.enum([\"created\", \"started\", \"finished\", \"failed\"]).describe(\"Status values for contact import operations.\");\nexport const MailtrapGetContactImportOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier for the contact import operation.\"),\n status: MailtrapGetContactImport_ContactImportStatusSchema.nullable(),\n created_contacts_count: z.number().int().describe(\"Number of new contacts created during import. Only provided when status is 'finished'.\").nullable().optional(),\n updated_contacts_count: z.number().int().describe(\"Number of existing contacts updated during import. Only provided when status is 'finished'.\").nullable().optional(),\n contacts_over_limit_count: z.number().int().describe(\"Number of contacts that exceeded the account limit. Only provided when status is 'finished'.\").nullable().optional(),\n}).describe(\"Response model for contact import status.\\n\\nFields like contacts_over_limit_count, created_contacts_count, and\\nupdated_contacts_count are only provided when status is 'finished'.\");\n\nexport const mailtrapGetContactImport = action(\"MAILTRAP_GET_CONTACT_IMPORT\", {\n slug: \"mailtrap-get-contact-import\",\n name: \"Get Contact Import Status\",\n description: \"Tool to retrieve the status of a contact import operation. Use when you need to check the progress or completion status of a contact import. Use after initiating a contact import to monitor its status and retrieve statistics once finished.\",\n input: MailtrapGetContactImportInput,\n output: MailtrapGetContactImportOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE;CACrG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;AACrF,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAM,qDAAmEA,IAAAA,EAAE,KAAK;CAAC;CAAW;CAAW;CAAY;AAAQ,CAAC,CAAC,CAAC,SAAS,8CAA8C;AACrL,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD;CACnF,QAAQ,mDAAmD,SAAS;CACpE,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChK,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrK,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3K,CAAC,CAAC,CAAC,SAAS,sLAAsL;AAElM,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-contact-import.d.ts
|
|
4
|
+
declare const MailtrapGetContactImportInput: z.ZodTypeAny;
|
|
5
|
+
declare const MailtrapGetContactImportOutput: z.ZodTypeAny;
|
|
6
|
+
declare const mailtrapGetContactImport: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { mailtrapGetContactImport };
|
|
9
|
+
//# sourceMappingURL=get-contact-import.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-contact-import.d.cts","names":[],"sources":["../../src/actions/get-contact-import.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAGuC;AAAA,cAExE,8BAAA,EAAgC,CAAA,CAAE,UAMoJ;AAAA,cAEtL,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-contact-import.d.ts
|
|
4
|
+
declare const MailtrapGetContactImportInput: z.ZodTypeAny;
|
|
5
|
+
declare const MailtrapGetContactImportOutput: z.ZodTypeAny;
|
|
6
|
+
declare const mailtrapGetContactImport: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { mailtrapGetContactImport };
|
|
9
|
+
//# sourceMappingURL=get-contact-import.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-contact-import.d.mts","names":[],"sources":["../../src/actions/get-contact-import.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAGuC;AAAA,cAExE,8BAAA,EAAgC,CAAA,CAAE,UAMoJ;AAAA,cAEtL,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-contact-import.ts
|
|
4
|
+
const MailtrapGetContactImportInput = z.object({
|
|
5
|
+
import_id: z.number().int().describe("Unique Contact Import ID for the import operation to retrieve."),
|
|
6
|
+
account_id: z.number().int().describe("Unique account ID for the Mailtrap account.")
|
|
7
|
+
}).describe("Request model for retrieving the status of a contact import operation.");
|
|
8
|
+
const MailtrapGetContactImport_ContactImportStatusSchema = z.enum([
|
|
9
|
+
"created",
|
|
10
|
+
"started",
|
|
11
|
+
"finished",
|
|
12
|
+
"failed"
|
|
13
|
+
]).describe("Status values for contact import operations.");
|
|
14
|
+
const mailtrapGetContactImport = action("MAILTRAP_GET_CONTACT_IMPORT", {
|
|
15
|
+
slug: "mailtrap-get-contact-import",
|
|
16
|
+
name: "Get Contact Import Status",
|
|
17
|
+
description: "Tool to retrieve the status of a contact import operation. Use when you need to check the progress or completion status of a contact import. Use after initiating a contact import to monitor its status and retrieve statistics once finished.",
|
|
18
|
+
input: MailtrapGetContactImportInput,
|
|
19
|
+
output: z.object({
|
|
20
|
+
id: z.number().int().describe("Unique identifier for the contact import operation."),
|
|
21
|
+
status: MailtrapGetContactImport_ContactImportStatusSchema.nullable(),
|
|
22
|
+
created_contacts_count: z.number().int().describe("Number of new contacts created during import. Only provided when status is 'finished'.").nullable().optional(),
|
|
23
|
+
updated_contacts_count: z.number().int().describe("Number of existing contacts updated during import. Only provided when status is 'finished'.").nullable().optional(),
|
|
24
|
+
contacts_over_limit_count: z.number().int().describe("Number of contacts that exceeded the account limit. Only provided when status is 'finished'.").nullable().optional()
|
|
25
|
+
}).describe("Response model for contact import status.\n\nFields like contacts_over_limit_count, created_contacts_count, and\nupdated_contacts_count are only provided when status is 'finished'.")
|
|
26
|
+
});
|
|
27
|
+
//#endregion
|
|
28
|
+
export { mailtrapGetContactImport };
|
|
29
|
+
|
|
30
|
+
//# sourceMappingURL=get-contact-import.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-contact-import.mjs","names":[],"sources":["../../src/actions/get-contact-import.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapGetContactImportInput: z.ZodTypeAny = z.object({\n import_id: z.number().int().describe(\"Unique Contact Import ID for the import operation to retrieve.\"),\n account_id: z.number().int().describe(\"Unique account ID for the Mailtrap account.\"),\n}).describe(\"Request model for retrieving the status of a contact import operation.\");\nconst MailtrapGetContactImport_ContactImportStatusSchema: z.ZodTypeAny = z.enum([\"created\", \"started\", \"finished\", \"failed\"]).describe(\"Status values for contact import operations.\");\nexport const MailtrapGetContactImportOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier for the contact import operation.\"),\n status: MailtrapGetContactImport_ContactImportStatusSchema.nullable(),\n created_contacts_count: z.number().int().describe(\"Number of new contacts created during import. Only provided when status is 'finished'.\").nullable().optional(),\n updated_contacts_count: z.number().int().describe(\"Number of existing contacts updated during import. Only provided when status is 'finished'.\").nullable().optional(),\n contacts_over_limit_count: z.number().int().describe(\"Number of contacts that exceeded the account limit. Only provided when status is 'finished'.\").nullable().optional(),\n}).describe(\"Response model for contact import status.\\n\\nFields like contacts_over_limit_count, created_contacts_count, and\\nupdated_contacts_count are only provided when status is 'finished'.\");\n\nexport const mailtrapGetContactImport = action(\"MAILTRAP_GET_CONTACT_IMPORT\", {\n slug: \"mailtrap-get-contact-import\",\n name: \"Get Contact Import Status\",\n description: \"Tool to retrieve the status of a contact import operation. Use when you need to check the progress or completion status of a contact import. Use after initiating a contact import to monitor its status and retrieve statistics once finished.\",\n input: MailtrapGetContactImportInput,\n output: MailtrapGetContactImportOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8C,EAAE,OAAO;CAClE,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE;CACrG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;AACrF,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAM,qDAAmE,EAAE,KAAK;CAAC;CAAW;CAAW;CAAY;AAAQ,CAAC,CAAC,CAAC,SAAS,8CAA8C;AASrL,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb0D,EAAE,OAAO;EACnE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD;EACnF,QAAQ,mDAAmD,SAAS;EACpE,wBAAwB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChK,wBAAwB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrK,2BAA2B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3K,CAAC,CAAC,CAAC,SAAS,sLAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-contact-list.ts
|
|
4
|
+
const MailtrapGetContactListInput = zod.z.object({
|
|
5
|
+
list_id: zod.z.number().int().describe("Unique list ID"),
|
|
6
|
+
account_id: zod.z.number().int().describe("Unique account ID")
|
|
7
|
+
}).describe("Request model for retrieving a contact list by ID.");
|
|
8
|
+
const MailtrapGetContactListOutput = zod.z.object({
|
|
9
|
+
id: zod.z.number().int().describe("Unique identifier of the contact list").nullable().optional(),
|
|
10
|
+
name: zod.z.string().describe("Name of the contact list (max 255 characters)").nullable().optional()
|
|
11
|
+
}).describe("Response model containing contact list details.");
|
|
12
|
+
const mailtrapGetContactList = require_action.action("MAILTRAP_GET_CONTACT_LIST", {
|
|
13
|
+
slug: "mailtrap-get-contact-list",
|
|
14
|
+
name: "Get Contact List",
|
|
15
|
+
description: "Tool to retrieve a specific contact list by its ID. Use when you need to fetch details about a contact list in a Mailtrap account.",
|
|
16
|
+
input: MailtrapGetContactListInput,
|
|
17
|
+
output: MailtrapGetContactListOutput
|
|
18
|
+
});
|
|
19
|
+
//#endregion
|
|
20
|
+
exports.mailtrapGetContactList = mailtrapGetContactList;
|
|
21
|
+
|
|
22
|
+
//# sourceMappingURL=get-contact-list.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-contact-list.cjs","names":["z","action"],"sources":["../../src/actions/get-contact-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapGetContactListInput: z.ZodTypeAny = z.object({\n list_id: z.number().int().describe(\"Unique list ID\"),\n account_id: z.number().int().describe(\"Unique account ID\"),\n}).describe(\"Request model for retrieving a contact list by ID.\");\nexport const MailtrapGetContactListOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact list\").nullable().optional(),\n name: z.string().describe(\"Name of the contact list (max 255 characters)\").nullable().optional(),\n}).describe(\"Response model containing contact list details.\");\n\nexport const mailtrapGetContactList = action(\"MAILTRAP_GET_CONTACT_LIST\", {\n slug: \"mailtrap-get-contact-list\",\n name: \"Get Contact List\",\n description: \"Tool to retrieve a specific contact list by its ID. Use when you need to fetch details about a contact list in a Mailtrap account.\",\n input: MailtrapGetContactListInput,\n output: MailtrapGetContactListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gBAAgB;CACnD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB;AAC3D,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAE7D,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-contact-list.d.ts
|
|
4
|
+
declare const MailtrapGetContactListInput: z.ZodTypeAny;
|
|
5
|
+
declare const MailtrapGetContactListOutput: z.ZodTypeAny;
|
|
6
|
+
declare const mailtrapGetContactList: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { mailtrapGetContactList };
|
|
9
|
+
//# sourceMappingURL=get-contact-list.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-contact-list.d.cts","names":[],"sources":["../../src/actions/get-contact-list.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAGqB;AAAA,cACpD,4BAAA,EAA8B,CAAA,CAAE,UAGiB;AAAA,cAEjD,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-contact-list.d.ts
|
|
4
|
+
declare const MailtrapGetContactListInput: z.ZodTypeAny;
|
|
5
|
+
declare const MailtrapGetContactListOutput: z.ZodTypeAny;
|
|
6
|
+
declare const mailtrapGetContactList: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { mailtrapGetContactList };
|
|
9
|
+
//# sourceMappingURL=get-contact-list.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-contact-list.d.mts","names":[],"sources":["../../src/actions/get-contact-list.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAGqB;AAAA,cACpD,4BAAA,EAA8B,CAAA,CAAE,UAGiB;AAAA,cAEjD,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const mailtrapGetContactList = action("MAILTRAP_GET_CONTACT_LIST", {
|
|
4
|
+
slug: "mailtrap-get-contact-list",
|
|
5
|
+
name: "Get Contact List",
|
|
6
|
+
description: "Tool to retrieve a specific contact list by its ID. Use when you need to fetch details about a contact list in a Mailtrap account.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
list_id: z.number().int().describe("Unique list ID"),
|
|
9
|
+
account_id: z.number().int().describe("Unique account ID")
|
|
10
|
+
}).describe("Request model for retrieving a contact list by ID."),
|
|
11
|
+
output: z.object({
|
|
12
|
+
id: z.number().int().describe("Unique identifier of the contact list").nullable().optional(),
|
|
13
|
+
name: z.string().describe("Name of the contact list (max 255 characters)").nullable().optional()
|
|
14
|
+
}).describe("Response model containing contact list details.")
|
|
15
|
+
});
|
|
16
|
+
//#endregion
|
|
17
|
+
export { mailtrapGetContactList };
|
|
18
|
+
|
|
19
|
+
//# sourceMappingURL=get-contact-list.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-contact-list.mjs","names":[],"sources":["../../src/actions/get-contact-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapGetContactListInput: z.ZodTypeAny = z.object({\n list_id: z.number().int().describe(\"Unique list ID\"),\n account_id: z.number().int().describe(\"Unique account ID\"),\n}).describe(\"Request model for retrieving a contact list by ID.\");\nexport const MailtrapGetContactListOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact list\").nullable().optional(),\n name: z.string().describe(\"Name of the contact list (max 255 characters)\").nullable().optional(),\n}).describe(\"Response model containing contact list details.\");\n\nexport const mailtrapGetContactList = action(\"MAILTRAP_GET_CONTACT_LIST\", {\n slug: \"mailtrap-get-contact-list\",\n name: \"Get Contact List\",\n description: \"Tool to retrieve a specific contact list by its ID. Use when you need to fetch details about a contact list in a Mailtrap account.\",\n input: MailtrapGetContactListInput,\n output: MailtrapGetContactListOutput,\n});\n"],"mappings":";;AAaA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbuD,EAAE,OAAO;EAChE,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gBAAgB;EACnD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB;CAC3D,CAAC,CAAC,CAAC,SAAS,oDAUH;CACP,QAVwD,EAAE,OAAO;EACjE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,CAAC,CAAC,CAAC,SAAS,iDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-contact.ts
|
|
4
|
+
const MailtrapGetContactInput = zod.z.object({
|
|
5
|
+
account_id: zod.z.number().int().describe("Unique account ID for the Mailtrap account"),
|
|
6
|
+
contact_identifier: zod.z.string().describe("Contact UUID or Email address to identify the contact")
|
|
7
|
+
}).describe("Request model for retrieving a contact from Mailtrap.");
|
|
8
|
+
const MailtrapGetContact_ContactDataSchema = zod.z.object({
|
|
9
|
+
id: zod.z.string().describe("Unique identifier of the contact").nullable().optional(),
|
|
10
|
+
email: zod.z.string().describe("Email address of the contact").nullable().optional(),
|
|
11
|
+
fields: zod.z.object({}).describe("Object of custom fields in the format: field_merge_tag: string | integer | float | boolean | date string (ISO-8601 format)").nullable().optional(),
|
|
12
|
+
status: zod.z.string().describe("Status of the contact: 'subscribed' if email was NOT in suppression list, 'unsubscribed' otherwise").nullable().optional(),
|
|
13
|
+
list_ids: zod.z.array(zod.z.number().int()).describe("List of mailing list IDs the contact is subscribed to").nullable().optional(),
|
|
14
|
+
created_at: zod.z.number().int().describe("Timestamp in milliseconds when the contact was created").nullable().optional(),
|
|
15
|
+
updated_at: zod.z.number().int().describe("Timestamp in milliseconds when the contact was last updated").nullable().optional()
|
|
16
|
+
}).describe("Contact data returned by the Mailtrap API.");
|
|
17
|
+
const MailtrapGetContactOutput = zod.z.object({ data: MailtrapGetContact_ContactDataSchema.nullable().optional() }).describe("Response model for retrieving a contact from Mailtrap.");
|
|
18
|
+
const mailtrapGetContact = require_action.action("MAILTRAP_GET_CONTACT", {
|
|
19
|
+
slug: "mailtrap-get-contact",
|
|
20
|
+
name: "Get Contact",
|
|
21
|
+
description: "Tool to retrieve a contact by UUID or email address from Mailtrap. Use when you need to fetch details of a specific contact including their subscription status, lists, and custom fields.",
|
|
22
|
+
input: MailtrapGetContactInput,
|
|
23
|
+
output: MailtrapGetContactOutput
|
|
24
|
+
});
|
|
25
|
+
//#endregion
|
|
26
|
+
exports.mailtrapGetContact = mailtrapGetContact;
|
|
27
|
+
|
|
28
|
+
//# sourceMappingURL=get-contact.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-contact.cjs","names":["z","action"],"sources":["../../src/actions/get-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapGetContactInput: z.ZodTypeAny = z.object({\n account_id: z.number().int().describe(\"Unique account ID for the Mailtrap account\"),\n contact_identifier: z.string().describe(\"Contact UUID or Email address to identify the contact\"),\n}).describe(\"Request model for retrieving a contact from Mailtrap.\");\nconst MailtrapGetContact_ContactDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the contact\").nullable().optional(),\n email: z.string().describe(\"Email address of the contact\").nullable().optional(),\n fields: z.object({}).describe(\"Object of custom fields in the format: field_merge_tag: string | integer | float | boolean | date string (ISO-8601 format)\").nullable().optional(),\n status: z.string().describe(\"Status of the contact: 'subscribed' if email was NOT in suppression list, 'unsubscribed' otherwise\").nullable().optional(),\n list_ids: z.array(z.number().int()).describe(\"List of mailing list IDs the contact is subscribed to\").nullable().optional(),\n created_at: z.number().int().describe(\"Timestamp in milliseconds when the contact was created\").nullable().optional(),\n updated_at: z.number().int().describe(\"Timestamp in milliseconds when the contact was last updated\").nullable().optional(),\n}).describe(\"Contact data returned by the Mailtrap API.\");\nexport const MailtrapGetContactOutput: z.ZodTypeAny = z.object({\n data: MailtrapGetContact_ContactDataSchema.nullable().optional(),\n}).describe(\"Response model for retrieving a contact from Mailtrap.\");\n\nexport const mailtrapGetContact = action(\"MAILTRAP_GET_CONTACT\", {\n slug: \"mailtrap-get-contact\",\n name: \"Get Contact\",\n description: \"Tool to retrieve a contact by UUID or email address from Mailtrap. Use when you need to fetch details of a specific contact including their subscription status, lists, and custom fields.\",\n input: MailtrapGetContactInput,\n output: MailtrapGetContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwCA,IAAAA,EAAE,OAAO;CAC5D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C;CAClF,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;AACjG,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,uCAAqDA,IAAAA,EAAE,OAAO;CAClE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,4HAA4H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChL,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtJ,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAa,2BAAyCA,IAAAA,EAAE,OAAO,EAC7D,MAAM,qCAAqC,SAAS,CAAC,CAAC,SAAS,EACjE,CAAC,CAAC,CAAC,SAAS,wDAAwD;AAEpE,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-contact.d.ts
|
|
4
|
+
declare const MailtrapGetContactInput: z.ZodTypeAny;
|
|
5
|
+
declare const MailtrapGetContactOutput: z.ZodTypeAny;
|
|
6
|
+
declare const mailtrapGetContact: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { mailtrapGetContact };
|
|
9
|
+
//# sourceMappingURL=get-contact.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-contact.d.cts","names":[],"sources":["../../src/actions/get-contact.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAG4B;AAAA,cAUvD,wBAAA,EAA0B,CAAA,CAAE,UAE4B;AAAA,cAExD,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-contact.d.ts
|
|
4
|
+
declare const MailtrapGetContactInput: z.ZodTypeAny;
|
|
5
|
+
declare const MailtrapGetContactOutput: z.ZodTypeAny;
|
|
6
|
+
declare const mailtrapGetContact: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { mailtrapGetContact };
|
|
9
|
+
//# sourceMappingURL=get-contact.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-contact.d.mts","names":[],"sources":["../../src/actions/get-contact.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAG4B;AAAA,cAUvD,wBAAA,EAA0B,CAAA,CAAE,UAE4B;AAAA,cAExD,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-contact.ts
|
|
4
|
+
const MailtrapGetContactInput = z.object({
|
|
5
|
+
account_id: z.number().int().describe("Unique account ID for the Mailtrap account"),
|
|
6
|
+
contact_identifier: z.string().describe("Contact UUID or Email address to identify the contact")
|
|
7
|
+
}).describe("Request model for retrieving a contact from Mailtrap.");
|
|
8
|
+
const MailtrapGetContact_ContactDataSchema = z.object({
|
|
9
|
+
id: z.string().describe("Unique identifier of the contact").nullable().optional(),
|
|
10
|
+
email: z.string().describe("Email address of the contact").nullable().optional(),
|
|
11
|
+
fields: z.object({}).describe("Object of custom fields in the format: field_merge_tag: string | integer | float | boolean | date string (ISO-8601 format)").nullable().optional(),
|
|
12
|
+
status: z.string().describe("Status of the contact: 'subscribed' if email was NOT in suppression list, 'unsubscribed' otherwise").nullable().optional(),
|
|
13
|
+
list_ids: z.array(z.number().int()).describe("List of mailing list IDs the contact is subscribed to").nullable().optional(),
|
|
14
|
+
created_at: z.number().int().describe("Timestamp in milliseconds when the contact was created").nullable().optional(),
|
|
15
|
+
updated_at: z.number().int().describe("Timestamp in milliseconds when the contact was last updated").nullable().optional()
|
|
16
|
+
}).describe("Contact data returned by the Mailtrap API.");
|
|
17
|
+
const mailtrapGetContact = action("MAILTRAP_GET_CONTACT", {
|
|
18
|
+
slug: "mailtrap-get-contact",
|
|
19
|
+
name: "Get Contact",
|
|
20
|
+
description: "Tool to retrieve a contact by UUID or email address from Mailtrap. Use when you need to fetch details of a specific contact including their subscription status, lists, and custom fields.",
|
|
21
|
+
input: MailtrapGetContactInput,
|
|
22
|
+
output: z.object({ data: MailtrapGetContact_ContactDataSchema.nullable().optional() }).describe("Response model for retrieving a contact from Mailtrap.")
|
|
23
|
+
});
|
|
24
|
+
//#endregion
|
|
25
|
+
export { mailtrapGetContact };
|
|
26
|
+
|
|
27
|
+
//# sourceMappingURL=get-contact.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-contact.mjs","names":[],"sources":["../../src/actions/get-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapGetContactInput: z.ZodTypeAny = z.object({\n account_id: z.number().int().describe(\"Unique account ID for the Mailtrap account\"),\n contact_identifier: z.string().describe(\"Contact UUID or Email address to identify the contact\"),\n}).describe(\"Request model for retrieving a contact from Mailtrap.\");\nconst MailtrapGetContact_ContactDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the contact\").nullable().optional(),\n email: z.string().describe(\"Email address of the contact\").nullable().optional(),\n fields: z.object({}).describe(\"Object of custom fields in the format: field_merge_tag: string | integer | float | boolean | date string (ISO-8601 format)\").nullable().optional(),\n status: z.string().describe(\"Status of the contact: 'subscribed' if email was NOT in suppression list, 'unsubscribed' otherwise\").nullable().optional(),\n list_ids: z.array(z.number().int()).describe(\"List of mailing list IDs the contact is subscribed to\").nullable().optional(),\n created_at: z.number().int().describe(\"Timestamp in milliseconds when the contact was created\").nullable().optional(),\n updated_at: z.number().int().describe(\"Timestamp in milliseconds when the contact was last updated\").nullable().optional(),\n}).describe(\"Contact data returned by the Mailtrap API.\");\nexport const MailtrapGetContactOutput: z.ZodTypeAny = z.object({\n data: MailtrapGetContact_ContactDataSchema.nullable().optional(),\n}).describe(\"Response model for retrieving a contact from Mailtrap.\");\n\nexport const mailtrapGetContact = action(\"MAILTRAP_GET_CONTACT\", {\n slug: \"mailtrap-get-contact\",\n name: \"Get Contact\",\n description: \"Tool to retrieve a contact by UUID or email address from Mailtrap. Use when you need to fetch details of a specific contact including their subscription status, lists, and custom fields.\",\n input: MailtrapGetContactInput,\n output: MailtrapGetContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwC,EAAE,OAAO;CAC5D,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C;CAClF,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;AACjG,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,uCAAqD,EAAE,OAAO;CAClE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,QAAQ,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,4HAA4H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChL,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtJ,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAKxD,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAToD,EAAE,OAAO,EAC7D,MAAM,qCAAqC,SAAS,CAAC,CAAC,SAAS,EACjE,CAAC,CAAC,CAAC,SAAS,wDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-email-template.ts
|
|
4
|
+
const MailtrapGetEmailTemplateInput = zod.z.object({
|
|
5
|
+
account_id: zod.z.number().int().describe("Account ID"),
|
|
6
|
+
email_template_id: zod.z.number().int().describe("Email template ID")
|
|
7
|
+
}).describe("Request model for getting an email template.");
|
|
8
|
+
const MailtrapGetEmailTemplateOutput = zod.z.object({
|
|
9
|
+
id: zod.z.number().int().describe("Email template ID").nullable().optional(),
|
|
10
|
+
name: zod.z.string().describe("Name of the email template (max 255 characters)").nullable().optional(),
|
|
11
|
+
uuid: zod.z.string().describe("Unique identifier for the email template in UUID format").nullable().optional(),
|
|
12
|
+
subject: zod.z.string().describe("Email subject line (max 255 characters)").nullable().optional(),
|
|
13
|
+
category: zod.z.string().describe("Category or type of the email template (max 255 characters)").nullable().optional(),
|
|
14
|
+
body_html: zod.z.string().describe("HTML body content of the email template").nullable().optional(),
|
|
15
|
+
body_text: zod.z.string().describe("Plain text body content of the email template").nullable().optional(),
|
|
16
|
+
created_at: zod.z.string().describe("Timestamp when the template was created (ISO 8601 format)").nullable().optional(),
|
|
17
|
+
updated_at: zod.z.string().describe("Timestamp when the template was last updated (ISO 8601 format)").nullable().optional()
|
|
18
|
+
}).describe("Response model containing email template attributes.");
|
|
19
|
+
const mailtrapGetEmailTemplate = require_action.action("MAILTRAP_GET_EMAIL_TEMPLATE", {
|
|
20
|
+
slug: "mailtrap-get-email-template",
|
|
21
|
+
name: "Get Email Template",
|
|
22
|
+
description: "Tool to retrieve details of a specific email template by ID. Use when you need to fetch template content, metadata, or configuration for an existing email template.",
|
|
23
|
+
input: MailtrapGetEmailTemplateInput,
|
|
24
|
+
output: MailtrapGetEmailTemplateOutput
|
|
25
|
+
});
|
|
26
|
+
//#endregion
|
|
27
|
+
exports.mailtrapGetEmailTemplate = mailtrapGetEmailTemplate;
|
|
28
|
+
|
|
29
|
+
//# sourceMappingURL=get-email-template.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-email-template.cjs","names":["z","action"],"sources":["../../src/actions/get-email-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapGetEmailTemplateInput: z.ZodTypeAny = z.object({\n account_id: z.number().int().describe(\"Account ID\"),\n email_template_id: z.number().int().describe(\"Email template ID\"),\n}).describe(\"Request model for getting an email template.\");\nexport const MailtrapGetEmailTemplateOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Email template ID\").nullable().optional(),\n name: z.string().describe(\"Name of the email template (max 255 characters)\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier for the email template in UUID format\").nullable().optional(),\n subject: z.string().describe(\"Email subject line (max 255 characters)\").nullable().optional(),\n category: z.string().describe(\"Category or type of the email template (max 255 characters)\").nullable().optional(),\n body_html: z.string().describe(\"HTML body content of the email template\").nullable().optional(),\n body_text: z.string().describe(\"Plain text body content of the email template\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the template was created (ISO 8601 format)\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the template was last updated (ISO 8601 format)\").nullable().optional(),\n}).describe(\"Response model containing email template attributes.\");\n\nexport const mailtrapGetEmailTemplate = action(\"MAILTRAP_GET_EMAIL_TEMPLATE\", {\n slug: \"mailtrap-get-email-template\",\n name: \"Get Email Template\",\n description: \"Tool to retrieve details of a specific email template by ID. Use when you need to fetch template content, metadata, or configuration for an existing email template.\",\n input: MailtrapGetEmailTemplateInput,\n output: MailtrapGetEmailTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,YAAY;CAClD,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB;AAClE,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAElE,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-email-template.d.ts
|
|
4
|
+
declare const MailtrapGetEmailTemplateInput: z.ZodTypeAny;
|
|
5
|
+
declare const MailtrapGetEmailTemplateOutput: z.ZodTypeAny;
|
|
6
|
+
declare const mailtrapGetEmailTemplate: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { mailtrapGetEmailTemplate };
|
|
9
|
+
//# sourceMappingURL=get-email-template.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-email-template.d.cts","names":[],"sources":["../../src/actions/get-email-template.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAGa;AAAA,cAC9C,8BAAA,EAAgC,CAAA,CAAE,UAUoB;AAAA,cAEtD,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-email-template.d.ts
|
|
4
|
+
declare const MailtrapGetEmailTemplateInput: z.ZodTypeAny;
|
|
5
|
+
declare const MailtrapGetEmailTemplateOutput: z.ZodTypeAny;
|
|
6
|
+
declare const mailtrapGetEmailTemplate: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { mailtrapGetEmailTemplate };
|
|
9
|
+
//# sourceMappingURL=get-email-template.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-email-template.d.mts","names":[],"sources":["../../src/actions/get-email-template.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAGa;AAAA,cAC9C,8BAAA,EAAgC,CAAA,CAAE,UAUoB;AAAA,cAEtD,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const mailtrapGetEmailTemplate = action("MAILTRAP_GET_EMAIL_TEMPLATE", {
|
|
4
|
+
slug: "mailtrap-get-email-template",
|
|
5
|
+
name: "Get Email Template",
|
|
6
|
+
description: "Tool to retrieve details of a specific email template by ID. Use when you need to fetch template content, metadata, or configuration for an existing email template.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
account_id: z.number().int().describe("Account ID"),
|
|
9
|
+
email_template_id: z.number().int().describe("Email template ID")
|
|
10
|
+
}).describe("Request model for getting an email template."),
|
|
11
|
+
output: z.object({
|
|
12
|
+
id: z.number().int().describe("Email template ID").nullable().optional(),
|
|
13
|
+
name: z.string().describe("Name of the email template (max 255 characters)").nullable().optional(),
|
|
14
|
+
uuid: z.string().describe("Unique identifier for the email template in UUID format").nullable().optional(),
|
|
15
|
+
subject: z.string().describe("Email subject line (max 255 characters)").nullable().optional(),
|
|
16
|
+
category: z.string().describe("Category or type of the email template (max 255 characters)").nullable().optional(),
|
|
17
|
+
body_html: z.string().describe("HTML body content of the email template").nullable().optional(),
|
|
18
|
+
body_text: z.string().describe("Plain text body content of the email template").nullable().optional(),
|
|
19
|
+
created_at: z.string().describe("Timestamp when the template was created (ISO 8601 format)").nullable().optional(),
|
|
20
|
+
updated_at: z.string().describe("Timestamp when the template was last updated (ISO 8601 format)").nullable().optional()
|
|
21
|
+
}).describe("Response model containing email template attributes.")
|
|
22
|
+
});
|
|
23
|
+
//#endregion
|
|
24
|
+
export { mailtrapGetEmailTemplate };
|
|
25
|
+
|
|
26
|
+
//# sourceMappingURL=get-email-template.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-email-template.mjs","names":[],"sources":["../../src/actions/get-email-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapGetEmailTemplateInput: z.ZodTypeAny = z.object({\n account_id: z.number().int().describe(\"Account ID\"),\n email_template_id: z.number().int().describe(\"Email template ID\"),\n}).describe(\"Request model for getting an email template.\");\nexport const MailtrapGetEmailTemplateOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Email template ID\").nullable().optional(),\n name: z.string().describe(\"Name of the email template (max 255 characters)\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier for the email template in UUID format\").nullable().optional(),\n subject: z.string().describe(\"Email subject line (max 255 characters)\").nullable().optional(),\n category: z.string().describe(\"Category or type of the email template (max 255 characters)\").nullable().optional(),\n body_html: z.string().describe(\"HTML body content of the email template\").nullable().optional(),\n body_text: z.string().describe(\"Plain text body content of the email template\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the template was created (ISO 8601 format)\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the template was last updated (ISO 8601 format)\").nullable().optional(),\n}).describe(\"Response model containing email template attributes.\");\n\nexport const mailtrapGetEmailTemplate = action(\"MAILTRAP_GET_EMAIL_TEMPLATE\", {\n slug: \"mailtrap-get-email-template\",\n name: \"Get Email Template\",\n description: \"Tool to retrieve details of a specific email template by ID. Use when you need to fetch template content, metadata, or configuration for an existing email template.\",\n input: MailtrapGetEmailTemplateInput,\n output: MailtrapGetEmailTemplateOutput,\n});\n"],"mappings":";;AAoBA,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApByD,EAAE,OAAO;EAClE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,YAAY;EAClD,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB;CAClE,CAAC,CAAC,CAAC,SAAS,8CAiBH;CACP,QAjB0D,EAAE,OAAO;EACnE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,CAAC,CAAC,CAAC,SAAS,sDAOF;AACV,CAAC"}
|