@keystrokehq/resend 0.1.0 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/add-contact-to-segment.cjs +1 -1
- package/dist/actions/add-contact-to-segment.cjs.map +1 -1
- package/dist/actions/add-contact-to-segment.d.cts +11 -3
- package/dist/actions/add-contact-to-segment.d.cts.map +1 -1
- package/dist/actions/add-contact-to-segment.d.mts +11 -3
- package/dist/actions/add-contact-to-segment.d.mts.map +1 -1
- package/dist/actions/add-contact-to-segment.mjs +1 -1
- package/dist/actions/add-contact-to-segment.mjs.map +1 -1
- package/dist/actions/cancel-email.cjs +1 -1
- package/dist/actions/cancel-email.cjs.map +1 -1
- package/dist/actions/cancel-email.d.cts +10 -3
- package/dist/actions/cancel-email.d.cts.map +1 -1
- package/dist/actions/cancel-email.d.mts +10 -3
- package/dist/actions/cancel-email.d.mts.map +1 -1
- package/dist/actions/cancel-email.mjs +1 -1
- package/dist/actions/cancel-email.mjs.map +1 -1
- package/dist/actions/create-api-key.cjs +1 -1
- package/dist/actions/create-api-key.cjs.map +1 -1
- package/dist/actions/create-api-key.d.cts +17 -3
- package/dist/actions/create-api-key.d.cts.map +1 -1
- package/dist/actions/create-api-key.d.mts +17 -3
- package/dist/actions/create-api-key.d.mts.map +1 -1
- package/dist/actions/create-api-key.mjs +1 -1
- package/dist/actions/create-api-key.mjs.map +1 -1
- package/dist/actions/create-audience.cjs +1 -1
- package/dist/actions/create-audience.cjs.map +1 -1
- package/dist/actions/create-audience.d.cts +11 -3
- package/dist/actions/create-audience.d.cts.map +1 -1
- package/dist/actions/create-audience.d.mts +11 -3
- package/dist/actions/create-audience.d.mts.map +1 -1
- package/dist/actions/create-audience.mjs +1 -1
- package/dist/actions/create-audience.mjs.map +1 -1
- package/dist/actions/create-contact-property.cjs +1 -1
- package/dist/actions/create-contact-property.cjs.map +1 -1
- package/dist/actions/create-contact-property.d.cts +17 -3
- package/dist/actions/create-contact-property.d.cts.map +1 -1
- package/dist/actions/create-contact-property.d.mts +17 -3
- package/dist/actions/create-contact-property.d.mts.map +1 -1
- package/dist/actions/create-contact-property.mjs +1 -1
- package/dist/actions/create-contact-property.mjs.map +1 -1
- package/dist/actions/create-contact-v2.cjs +4 -4
- package/dist/actions/create-contact-v2.cjs.map +1 -1
- package/dist/actions/create-contact-v2.d.cts +44 -3
- package/dist/actions/create-contact-v2.d.cts.map +1 -1
- package/dist/actions/create-contact-v2.d.mts +44 -3
- package/dist/actions/create-contact-v2.d.mts.map +1 -1
- package/dist/actions/create-contact-v2.mjs +4 -4
- package/dist/actions/create-contact-v2.mjs.map +1 -1
- package/dist/actions/create-contact.cjs +1 -1
- package/dist/actions/create-contact.cjs.map +1 -1
- package/dist/actions/create-contact.d.cts +18 -3
- package/dist/actions/create-contact.d.cts.map +1 -1
- package/dist/actions/create-contact.d.mts +18 -3
- package/dist/actions/create-contact.d.mts.map +1 -1
- package/dist/actions/create-contact.mjs +1 -1
- package/dist/actions/create-contact.mjs.map +1 -1
- package/dist/actions/create-domain.cjs +3 -3
- package/dist/actions/create-domain.cjs.map +1 -1
- package/dist/actions/create-domain.d.cts +33 -3
- package/dist/actions/create-domain.d.cts.map +1 -1
- package/dist/actions/create-domain.d.mts +33 -3
- package/dist/actions/create-domain.d.mts.map +1 -1
- package/dist/actions/create-domain.mjs +3 -3
- package/dist/actions/create-domain.mjs.map +1 -1
- package/dist/actions/create-template.cjs +2 -2
- package/dist/actions/create-template.cjs.map +1 -1
- package/dist/actions/create-template.d.cts +36 -3
- package/dist/actions/create-template.d.cts.map +1 -1
- package/dist/actions/create-template.d.mts +36 -3
- package/dist/actions/create-template.d.mts.map +1 -1
- package/dist/actions/create-template.mjs +2 -2
- package/dist/actions/create-template.mjs.map +1 -1
- package/dist/actions/create-topic.cjs +1 -1
- package/dist/actions/create-topic.cjs.map +1 -1
- package/dist/actions/create-topic.d.cts +22 -3
- package/dist/actions/create-topic.d.cts.map +1 -1
- package/dist/actions/create-topic.d.mts +22 -3
- package/dist/actions/create-topic.d.mts.map +1 -1
- package/dist/actions/create-topic.mjs +1 -1
- package/dist/actions/create-topic.mjs.map +1 -1
- package/dist/actions/create-webhook.cjs +1 -1
- package/dist/actions/create-webhook.cjs.map +1 -1
- package/dist/actions/create-webhook.d.cts +13 -3
- package/dist/actions/create-webhook.d.cts.map +1 -1
- package/dist/actions/create-webhook.d.mts +13 -3
- package/dist/actions/create-webhook.d.mts.map +1 -1
- package/dist/actions/create-webhook.mjs +1 -1
- package/dist/actions/create-webhook.mjs.map +1 -1
- package/dist/actions/delete-api-key.cjs +1 -1
- package/dist/actions/delete-api-key.cjs.map +1 -1
- package/dist/actions/delete-api-key.d.cts +11 -3
- package/dist/actions/delete-api-key.d.cts.map +1 -1
- package/dist/actions/delete-api-key.d.mts +11 -3
- package/dist/actions/delete-api-key.d.mts.map +1 -1
- package/dist/actions/delete-api-key.mjs +1 -1
- package/dist/actions/delete-api-key.mjs.map +1 -1
- package/dist/actions/delete-audience.cjs +1 -1
- package/dist/actions/delete-audience.cjs.map +1 -1
- package/dist/actions/delete-audience.d.cts +10 -3
- package/dist/actions/delete-audience.d.cts.map +1 -1
- package/dist/actions/delete-audience.d.mts +10 -3
- package/dist/actions/delete-audience.d.mts.map +1 -1
- package/dist/actions/delete-audience.mjs +1 -1
- package/dist/actions/delete-audience.mjs.map +1 -1
- package/dist/actions/delete-contact-by-id.cjs +1 -1
- package/dist/actions/delete-contact-by-id.cjs.map +1 -1
- package/dist/actions/delete-contact-by-id.d.cts +11 -3
- package/dist/actions/delete-contact-by-id.d.cts.map +1 -1
- package/dist/actions/delete-contact-by-id.d.mts +11 -3
- package/dist/actions/delete-contact-by-id.d.mts.map +1 -1
- package/dist/actions/delete-contact-by-id.mjs +1 -1
- package/dist/actions/delete-contact-by-id.mjs.map +1 -1
- package/dist/actions/delete-contact-property.cjs +1 -1
- package/dist/actions/delete-contact-property.cjs.map +1 -1
- package/dist/actions/delete-contact-property.d.cts +11 -3
- package/dist/actions/delete-contact-property.d.cts.map +1 -1
- package/dist/actions/delete-contact-property.d.mts +11 -3
- package/dist/actions/delete-contact-property.d.mts.map +1 -1
- package/dist/actions/delete-contact-property.mjs +1 -1
- package/dist/actions/delete-contact-property.mjs.map +1 -1
- package/dist/actions/delete-contact.cjs +1 -1
- package/dist/actions/delete-contact.cjs.map +1 -1
- package/dist/actions/delete-contact.d.cts +15 -3
- package/dist/actions/delete-contact.d.cts.map +1 -1
- package/dist/actions/delete-contact.d.mts +15 -3
- package/dist/actions/delete-contact.d.mts.map +1 -1
- package/dist/actions/delete-contact.mjs +1 -1
- package/dist/actions/delete-contact.mjs.map +1 -1
- package/dist/actions/delete-domain.cjs +1 -1
- package/dist/actions/delete-domain.cjs.map +1 -1
- package/dist/actions/delete-domain.d.cts +11 -3
- package/dist/actions/delete-domain.d.cts.map +1 -1
- package/dist/actions/delete-domain.d.mts +11 -3
- package/dist/actions/delete-domain.d.mts.map +1 -1
- package/dist/actions/delete-domain.mjs +1 -1
- package/dist/actions/delete-domain.mjs.map +1 -1
- package/dist/actions/delete-segment.cjs +1 -1
- package/dist/actions/delete-segment.cjs.map +1 -1
- package/dist/actions/delete-segment.d.cts +11 -3
- package/dist/actions/delete-segment.d.cts.map +1 -1
- package/dist/actions/delete-segment.d.mts +11 -3
- package/dist/actions/delete-segment.d.mts.map +1 -1
- package/dist/actions/delete-segment.mjs +1 -1
- package/dist/actions/delete-segment.mjs.map +1 -1
- package/dist/actions/delete-template.cjs +1 -1
- package/dist/actions/delete-template.cjs.map +1 -1
- package/dist/actions/delete-template.d.cts +11 -3
- package/dist/actions/delete-template.d.cts.map +1 -1
- package/dist/actions/delete-template.d.mts +11 -3
- package/dist/actions/delete-template.d.mts.map +1 -1
- package/dist/actions/delete-template.mjs +1 -1
- package/dist/actions/delete-template.mjs.map +1 -1
- package/dist/actions/delete-topic.cjs +1 -1
- package/dist/actions/delete-topic.cjs.map +1 -1
- package/dist/actions/delete-topic.d.cts +11 -3
- package/dist/actions/delete-topic.d.cts.map +1 -1
- package/dist/actions/delete-topic.d.mts +11 -3
- package/dist/actions/delete-topic.d.mts.map +1 -1
- package/dist/actions/delete-topic.mjs +1 -1
- package/dist/actions/delete-topic.mjs.map +1 -1
- package/dist/actions/delete-webhook.cjs +1 -1
- package/dist/actions/delete-webhook.cjs.map +1 -1
- package/dist/actions/delete-webhook.d.cts +11 -3
- package/dist/actions/delete-webhook.d.cts.map +1 -1
- package/dist/actions/delete-webhook.d.mts +11 -3
- package/dist/actions/delete-webhook.d.mts.map +1 -1
- package/dist/actions/delete-webhook.mjs +1 -1
- package/dist/actions/delete-webhook.mjs.map +1 -1
- package/dist/actions/duplicate-template.cjs +1 -1
- package/dist/actions/duplicate-template.cjs.map +1 -1
- package/dist/actions/duplicate-template.d.cts +10 -3
- package/dist/actions/duplicate-template.d.cts.map +1 -1
- package/dist/actions/duplicate-template.d.mts +10 -3
- package/dist/actions/duplicate-template.d.mts.map +1 -1
- package/dist/actions/duplicate-template.mjs +1 -1
- package/dist/actions/duplicate-template.mjs.map +1 -1
- package/dist/actions/get-contact-property.cjs +1 -1
- package/dist/actions/get-contact-property.cjs.map +1 -1
- package/dist/actions/get-contact-property.d.cts +14 -3
- package/dist/actions/get-contact-property.d.cts.map +1 -1
- package/dist/actions/get-contact-property.d.mts +14 -3
- package/dist/actions/get-contact-property.d.mts.map +1 -1
- package/dist/actions/get-contact-property.mjs +1 -1
- package/dist/actions/get-contact-property.mjs.map +1 -1
- package/dist/actions/get-contact.cjs +2 -2
- package/dist/actions/get-contact.cjs.map +1 -1
- package/dist/actions/get-contact.d.cts +16 -3
- package/dist/actions/get-contact.d.cts.map +1 -1
- package/dist/actions/get-contact.d.mts +16 -3
- package/dist/actions/get-contact.d.mts.map +1 -1
- package/dist/actions/get-contact.mjs +2 -2
- package/dist/actions/get-contact.mjs.map +1 -1
- package/dist/actions/get-email-attachment.cjs +1 -1
- package/dist/actions/get-email-attachment.cjs.map +1 -1
- package/dist/actions/get-email-attachment.d.cts +22 -3
- package/dist/actions/get-email-attachment.d.cts.map +1 -1
- package/dist/actions/get-email-attachment.d.mts +22 -3
- package/dist/actions/get-email-attachment.d.mts.map +1 -1
- package/dist/actions/get-email-attachment.mjs +1 -1
- package/dist/actions/get-email-attachment.mjs.map +1 -1
- package/dist/actions/get-segment.cjs +1 -1
- package/dist/actions/get-segment.cjs.map +1 -1
- package/dist/actions/get-segment.d.cts +14 -3
- package/dist/actions/get-segment.d.cts.map +1 -1
- package/dist/actions/get-segment.d.mts +14 -3
- package/dist/actions/get-segment.d.mts.map +1 -1
- package/dist/actions/get-segment.mjs +1 -1
- package/dist/actions/get-segment.mjs.map +1 -1
- package/dist/actions/get-template.cjs +4 -4
- package/dist/actions/get-template.cjs.map +1 -1
- package/dist/actions/get-template.d.cts +34 -3
- package/dist/actions/get-template.d.cts.map +1 -1
- package/dist/actions/get-template.d.mts +34 -3
- package/dist/actions/get-template.d.mts.map +1 -1
- package/dist/actions/get-template.mjs +4 -4
- package/dist/actions/get-template.mjs.map +1 -1
- package/dist/actions/get-topic.cjs +1 -1
- package/dist/actions/get-topic.cjs.map +1 -1
- package/dist/actions/get-topic.d.cts +13 -3
- package/dist/actions/get-topic.d.cts.map +1 -1
- package/dist/actions/get-topic.d.mts +13 -3
- package/dist/actions/get-topic.d.mts.map +1 -1
- package/dist/actions/get-topic.mjs +1 -1
- package/dist/actions/get-topic.mjs.map +1 -1
- package/dist/actions/get-webhook.cjs +1 -1
- package/dist/actions/get-webhook.cjs.map +1 -1
- package/dist/actions/get-webhook.d.cts +15 -3
- package/dist/actions/get-webhook.d.cts.map +1 -1
- package/dist/actions/get-webhook.d.mts +15 -3
- package/dist/actions/get-webhook.d.mts.map +1 -1
- package/dist/actions/get-webhook.mjs +1 -1
- package/dist/actions/get-webhook.mjs.map +1 -1
- package/dist/actions/list-all-contacts.cjs +8 -8
- package/dist/actions/list-all-contacts.cjs.map +1 -1
- package/dist/actions/list-all-contacts.d.cts +22 -3
- package/dist/actions/list-all-contacts.d.cts.map +1 -1
- package/dist/actions/list-all-contacts.d.mts +22 -3
- package/dist/actions/list-all-contacts.d.mts.map +1 -1
- package/dist/actions/list-all-contacts.mjs +8 -8
- package/dist/actions/list-all-contacts.mjs.map +1 -1
- package/dist/actions/list-api-keys.cjs +2 -2
- package/dist/actions/list-api-keys.cjs.map +1 -1
- package/dist/actions/list-api-keys.d.cts +19 -3
- package/dist/actions/list-api-keys.d.cts.map +1 -1
- package/dist/actions/list-api-keys.d.mts +19 -3
- package/dist/actions/list-api-keys.d.mts.map +1 -1
- package/dist/actions/list-api-keys.mjs +2 -2
- package/dist/actions/list-api-keys.mjs.map +1 -1
- package/dist/actions/list-audiences.cjs +2 -2
- package/dist/actions/list-audiences.cjs.map +1 -1
- package/dist/actions/list-audiences.d.cts +19 -3
- package/dist/actions/list-audiences.d.cts.map +1 -1
- package/dist/actions/list-audiences.d.mts +19 -3
- package/dist/actions/list-audiences.d.mts.map +1 -1
- package/dist/actions/list-audiences.mjs +2 -2
- package/dist/actions/list-audiences.mjs.map +1 -1
- package/dist/actions/list-broadcasts.cjs +2 -2
- package/dist/actions/list-broadcasts.cjs.map +1 -1
- package/dist/actions/list-broadcasts.d.cts +22 -3
- package/dist/actions/list-broadcasts.d.cts.map +1 -1
- package/dist/actions/list-broadcasts.d.mts +22 -3
- package/dist/actions/list-broadcasts.d.mts.map +1 -1
- package/dist/actions/list-broadcasts.mjs +2 -2
- package/dist/actions/list-broadcasts.mjs.map +1 -1
- package/dist/actions/list-contact-properties.cjs +2 -2
- package/dist/actions/list-contact-properties.cjs.map +1 -1
- package/dist/actions/list-contact-properties.d.cts +21 -3
- package/dist/actions/list-contact-properties.d.cts.map +1 -1
- package/dist/actions/list-contact-properties.d.mts +21 -3
- package/dist/actions/list-contact-properties.d.mts.map +1 -1
- package/dist/actions/list-contact-properties.mjs +2 -2
- package/dist/actions/list-contact-properties.mjs.map +1 -1
- package/dist/actions/list-contact-segments.cjs +7 -7
- package/dist/actions/list-contact-segments.cjs.map +1 -1
- package/dist/actions/list-contact-segments.d.cts +21 -3
- package/dist/actions/list-contact-segments.d.cts.map +1 -1
- package/dist/actions/list-contact-segments.d.mts +21 -3
- package/dist/actions/list-contact-segments.d.mts.map +1 -1
- package/dist/actions/list-contact-segments.mjs +7 -7
- package/dist/actions/list-contact-segments.mjs.map +1 -1
- package/dist/actions/list-contact-topics.cjs +2 -2
- package/dist/actions/list-contact-topics.cjs.map +1 -1
- package/dist/actions/list-contact-topics.d.cts +22 -3
- package/dist/actions/list-contact-topics.d.cts.map +1 -1
- package/dist/actions/list-contact-topics.d.mts +22 -3
- package/dist/actions/list-contact-topics.d.mts.map +1 -1
- package/dist/actions/list-contact-topics.mjs +2 -2
- package/dist/actions/list-contact-topics.mjs.map +1 -1
- package/dist/actions/list-contacts.cjs +8 -8
- package/dist/actions/list-contacts.cjs.map +1 -1
- package/dist/actions/list-contacts.d.cts +24 -3
- package/dist/actions/list-contacts.d.cts.map +1 -1
- package/dist/actions/list-contacts.d.mts +24 -3
- package/dist/actions/list-contacts.d.mts.map +1 -1
- package/dist/actions/list-contacts.mjs +8 -8
- package/dist/actions/list-contacts.mjs.map +1 -1
- package/dist/actions/list-domains.cjs +2 -2
- package/dist/actions/list-domains.cjs.map +1 -1
- package/dist/actions/list-domains.d.cts +11 -3
- package/dist/actions/list-domains.d.cts.map +1 -1
- package/dist/actions/list-domains.d.mts +11 -3
- package/dist/actions/list-domains.d.mts.map +1 -1
- package/dist/actions/list-domains.mjs +2 -2
- package/dist/actions/list-domains.mjs.map +1 -1
- package/dist/actions/list-email-attachments.cjs +2 -2
- package/dist/actions/list-email-attachments.cjs.map +1 -1
- package/dist/actions/list-email-attachments.d.cts +26 -3
- package/dist/actions/list-email-attachments.d.cts.map +1 -1
- package/dist/actions/list-email-attachments.d.mts +26 -3
- package/dist/actions/list-email-attachments.d.mts.map +1 -1
- package/dist/actions/list-email-attachments.mjs +2 -2
- package/dist/actions/list-email-attachments.mjs.map +1 -1
- package/dist/actions/list-emails.cjs +2 -2
- package/dist/actions/list-emails.cjs.map +1 -1
- package/dist/actions/list-emails.d.cts +28 -3
- package/dist/actions/list-emails.d.cts.map +1 -1
- package/dist/actions/list-emails.d.mts +28 -3
- package/dist/actions/list-emails.d.mts.map +1 -1
- package/dist/actions/list-emails.mjs +2 -2
- package/dist/actions/list-emails.mjs.map +1 -1
- package/dist/actions/list-received-emails.cjs +3 -3
- package/dist/actions/list-received-emails.cjs.map +1 -1
- package/dist/actions/list-received-emails.d.cts +26 -3
- package/dist/actions/list-received-emails.d.cts.map +1 -1
- package/dist/actions/list-received-emails.d.mts +26 -3
- package/dist/actions/list-received-emails.d.mts.map +1 -1
- package/dist/actions/list-received-emails.mjs +3 -3
- package/dist/actions/list-received-emails.mjs.map +1 -1
- package/dist/actions/list-segments.cjs +2 -2
- package/dist/actions/list-segments.cjs.map +1 -1
- package/dist/actions/list-segments.d.cts +20 -3
- package/dist/actions/list-segments.d.cts.map +1 -1
- package/dist/actions/list-segments.d.mts +20 -3
- package/dist/actions/list-segments.d.mts.map +1 -1
- package/dist/actions/list-segments.mjs +2 -2
- package/dist/actions/list-segments.mjs.map +1 -1
- package/dist/actions/list-templates.cjs +2 -2
- package/dist/actions/list-templates.cjs.map +1 -1
- package/dist/actions/list-templates.d.cts +23 -3
- package/dist/actions/list-templates.d.cts.map +1 -1
- package/dist/actions/list-templates.d.mts +23 -3
- package/dist/actions/list-templates.d.mts.map +1 -1
- package/dist/actions/list-templates.mjs +2 -2
- package/dist/actions/list-templates.mjs.map +1 -1
- package/dist/actions/list-topics.cjs +2 -2
- package/dist/actions/list-topics.cjs.map +1 -1
- package/dist/actions/list-topics.d.cts +20 -3
- package/dist/actions/list-topics.d.cts.map +1 -1
- package/dist/actions/list-topics.d.mts +20 -3
- package/dist/actions/list-topics.d.mts.map +1 -1
- package/dist/actions/list-topics.mjs +2 -2
- package/dist/actions/list-topics.mjs.map +1 -1
- package/dist/actions/list-webhooks.cjs +2 -2
- package/dist/actions/list-webhooks.cjs.map +1 -1
- package/dist/actions/list-webhooks.d.cts +21 -3
- package/dist/actions/list-webhooks.d.cts.map +1 -1
- package/dist/actions/list-webhooks.d.mts +21 -3
- package/dist/actions/list-webhooks.d.mts.map +1 -1
- package/dist/actions/list-webhooks.mjs +2 -2
- package/dist/actions/list-webhooks.mjs.map +1 -1
- package/dist/actions/publish-template.cjs +1 -1
- package/dist/actions/publish-template.cjs.map +1 -1
- package/dist/actions/publish-template.d.cts +10 -3
- package/dist/actions/publish-template.d.cts.map +1 -1
- package/dist/actions/publish-template.d.mts +10 -3
- package/dist/actions/publish-template.d.mts.map +1 -1
- package/dist/actions/publish-template.mjs +1 -1
- package/dist/actions/publish-template.mjs.map +1 -1
- package/dist/actions/remove-contact-from-segment.cjs +1 -1
- package/dist/actions/remove-contact-from-segment.cjs.map +1 -1
- package/dist/actions/remove-contact-from-segment.d.cts +12 -3
- package/dist/actions/remove-contact-from-segment.d.cts.map +1 -1
- package/dist/actions/remove-contact-from-segment.d.mts +12 -3
- package/dist/actions/remove-contact-from-segment.d.mts.map +1 -1
- package/dist/actions/remove-contact-from-segment.mjs +1 -1
- package/dist/actions/remove-contact-from-segment.mjs.map +1 -1
- package/dist/actions/retrieve-audience.cjs +1 -1
- package/dist/actions/retrieve-audience.cjs.map +1 -1
- package/dist/actions/retrieve-audience.d.cts +12 -3
- package/dist/actions/retrieve-audience.d.cts.map +1 -1
- package/dist/actions/retrieve-audience.d.mts +12 -3
- package/dist/actions/retrieve-audience.d.mts.map +1 -1
- package/dist/actions/retrieve-audience.mjs +1 -1
- package/dist/actions/retrieve-audience.mjs.map +1 -1
- package/dist/actions/retrieve-contact.cjs +1 -1
- package/dist/actions/retrieve-contact.cjs.map +1 -1
- package/dist/actions/retrieve-contact.d.cts +17 -3
- package/dist/actions/retrieve-contact.d.cts.map +1 -1
- package/dist/actions/retrieve-contact.d.mts +17 -3
- package/dist/actions/retrieve-contact.d.mts.map +1 -1
- package/dist/actions/retrieve-contact.mjs +1 -1
- package/dist/actions/retrieve-contact.mjs.map +1 -1
- package/dist/actions/retrieve-domain.cjs +1 -1
- package/dist/actions/retrieve-domain.cjs.map +1 -1
- package/dist/actions/retrieve-domain.d.cts +14 -3
- package/dist/actions/retrieve-domain.d.cts.map +1 -1
- package/dist/actions/retrieve-domain.d.mts +14 -3
- package/dist/actions/retrieve-domain.d.mts.map +1 -1
- package/dist/actions/retrieve-domain.mjs +1 -1
- package/dist/actions/retrieve-domain.mjs.map +1 -1
- package/dist/actions/retrieve-email.cjs +1 -1
- package/dist/actions/retrieve-email.cjs.map +1 -1
- package/dist/actions/retrieve-email.d.cts +20 -3
- package/dist/actions/retrieve-email.d.cts.map +1 -1
- package/dist/actions/retrieve-email.d.mts +20 -3
- package/dist/actions/retrieve-email.d.mts.map +1 -1
- package/dist/actions/retrieve-email.mjs +1 -1
- package/dist/actions/retrieve-email.mjs.map +1 -1
- package/dist/actions/send-batch-emails.cjs +4 -4
- package/dist/actions/send-batch-emails.cjs.map +1 -1
- package/dist/actions/send-batch-emails.d.cts +36 -3
- package/dist/actions/send-batch-emails.d.cts.map +1 -1
- package/dist/actions/send-batch-emails.d.mts +36 -3
- package/dist/actions/send-batch-emails.d.mts.map +1 -1
- package/dist/actions/send-batch-emails.mjs +4 -4
- package/dist/actions/send-batch-emails.mjs.map +1 -1
- package/dist/actions/send-email.cjs +2 -2
- package/dist/actions/send-email.cjs.map +1 -1
- package/dist/actions/send-email.d.cts +30 -3
- package/dist/actions/send-email.d.cts.map +1 -1
- package/dist/actions/send-email.d.mts +30 -3
- package/dist/actions/send-email.d.mts.map +1 -1
- package/dist/actions/send-email.mjs +2 -2
- package/dist/actions/send-email.mjs.map +1 -1
- package/dist/actions/update-broadcast.cjs +1 -1
- package/dist/actions/update-broadcast.cjs.map +1 -1
- package/dist/actions/update-broadcast.d.cts +28 -3
- package/dist/actions/update-broadcast.d.cts.map +1 -1
- package/dist/actions/update-broadcast.d.mts +28 -3
- package/dist/actions/update-broadcast.d.mts.map +1 -1
- package/dist/actions/update-broadcast.mjs +1 -1
- package/dist/actions/update-broadcast.mjs.map +1 -1
- package/dist/actions/update-contact-property.cjs +1 -1
- package/dist/actions/update-contact-property.cjs.map +1 -1
- package/dist/actions/update-contact-property.d.cts +12 -3
- package/dist/actions/update-contact-property.d.cts.map +1 -1
- package/dist/actions/update-contact-property.d.mts +12 -3
- package/dist/actions/update-contact-property.d.mts.map +1 -1
- package/dist/actions/update-contact-property.mjs +1 -1
- package/dist/actions/update-contact-property.mjs.map +1 -1
- package/dist/actions/update-contact.cjs +1 -1
- package/dist/actions/update-contact.cjs.map +1 -1
- package/dist/actions/update-contact.d.cts +16 -3
- package/dist/actions/update-contact.d.cts.map +1 -1
- package/dist/actions/update-contact.d.mts +16 -3
- package/dist/actions/update-contact.d.mts.map +1 -1
- package/dist/actions/update-contact.mjs +1 -1
- package/dist/actions/update-contact.mjs.map +1 -1
- package/dist/actions/update-domain.cjs +1 -1
- package/dist/actions/update-domain.cjs.map +1 -1
- package/dist/actions/update-domain.d.cts +23 -3
- package/dist/actions/update-domain.d.cts.map +1 -1
- package/dist/actions/update-domain.d.mts +23 -3
- package/dist/actions/update-domain.d.mts.map +1 -1
- package/dist/actions/update-domain.mjs +1 -1
- package/dist/actions/update-domain.mjs.map +1 -1
- package/dist/actions/update-email.cjs +1 -1
- package/dist/actions/update-email.cjs.map +1 -1
- package/dist/actions/update-email.d.cts +12 -3
- package/dist/actions/update-email.d.cts.map +1 -1
- package/dist/actions/update-email.d.mts +12 -3
- package/dist/actions/update-email.d.mts.map +1 -1
- package/dist/actions/update-email.mjs +1 -1
- package/dist/actions/update-email.mjs.map +1 -1
- package/dist/actions/update-template.cjs +2 -2
- package/dist/actions/update-template.cjs.map +1 -1
- package/dist/actions/update-template.d.cts +35 -3
- package/dist/actions/update-template.d.cts.map +1 -1
- package/dist/actions/update-template.d.mts +35 -3
- package/dist/actions/update-template.d.mts.map +1 -1
- package/dist/actions/update-template.mjs +2 -2
- package/dist/actions/update-template.mjs.map +1 -1
- package/dist/actions/update-topic.cjs +1 -1
- package/dist/actions/update-topic.cjs.map +1 -1
- package/dist/actions/update-topic.d.cts +12 -3
- package/dist/actions/update-topic.d.cts.map +1 -1
- package/dist/actions/update-topic.d.mts +12 -3
- package/dist/actions/update-topic.d.mts.map +1 -1
- package/dist/actions/update-topic.mjs +1 -1
- package/dist/actions/update-topic.mjs.map +1 -1
- package/dist/actions/update-webhook.cjs +1 -1
- package/dist/actions/update-webhook.cjs.map +1 -1
- package/dist/actions/update-webhook.d.cts +19 -3
- package/dist/actions/update-webhook.d.cts.map +1 -1
- package/dist/actions/update-webhook.d.mts +19 -3
- package/dist/actions/update-webhook.d.mts.map +1 -1
- package/dist/actions/update-webhook.mjs +1 -1
- package/dist/actions/update-webhook.mjs.map +1 -1
- package/dist/actions/verify-domain.cjs +1 -1
- package/dist/actions/verify-domain.cjs.map +1 -1
- package/dist/actions/verify-domain.d.cts +10 -3
- package/dist/actions/verify-domain.d.cts.map +1 -1
- package/dist/actions/verify-domain.d.mts +10 -3
- package/dist/actions/verify-domain.d.mts.map +1 -1
- package/dist/actions/verify-domain.mjs +1 -1
- package/dist/actions/verify-domain.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1,9 +1,20 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/retrieve-domain.d.ts
|
|
4
|
-
declare const ResendRetrieveDomainInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ResendRetrieveDomainInput: z.ZodObject<{
|
|
5
|
+
domain_id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const ResendRetrieveDomainOutput: z.ZodObject<{
|
|
8
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
records: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
|
|
13
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
}, z.core.$loose>;
|
|
15
|
+
declare const resendRetrieveDomain: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
|
+
domain_id: string;
|
|
17
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
18
|
//#endregion
|
|
8
19
|
export { resendRetrieveDomain };
|
|
9
20
|
//# sourceMappingURL=retrieve-domain.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-domain.d.cts","names":[],"sources":["../../src/actions/retrieve-domain.ts"],"mappings":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"retrieve-domain.d.cts","names":[],"sources":["../../src/actions/retrieve-domain.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;cAS1B,oBAAA,gCAAoB,wBAAA"}
|
|
@@ -1,9 +1,20 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/retrieve-domain.d.ts
|
|
4
|
-
declare const ResendRetrieveDomainInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ResendRetrieveDomainInput: z.ZodObject<{
|
|
5
|
+
domain_id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const ResendRetrieveDomainOutput: z.ZodObject<{
|
|
8
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
records: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
|
|
13
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
}, z.core.$loose>;
|
|
15
|
+
declare const resendRetrieveDomain: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
|
+
domain_id: string;
|
|
17
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
18
|
//#endregion
|
|
8
19
|
export { resendRetrieveDomain };
|
|
9
20
|
//# sourceMappingURL=retrieve-domain.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-domain.d.mts","names":[],"sources":["../../src/actions/retrieve-domain.ts"],"mappings":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"retrieve-domain.d.mts","names":[],"sources":["../../src/actions/retrieve-domain.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;cAS1B,oBAAA,gCAAoB,wBAAA"}
|
|
@@ -12,7 +12,7 @@ const resendRetrieveDomain = action("RESEND_RETRIEVE_DOMAIN", {
|
|
|
12
12
|
status: z.string().describe("The status of the domain creation.").nullable().optional(),
|
|
13
13
|
records: z.array(z.unknown()).describe("The DNS records associated with the domain.").nullable().optional(),
|
|
14
14
|
created_at: z.string().describe("The creation timestamp of the domain.").nullable().optional()
|
|
15
|
-
})
|
|
15
|
+
}).passthrough()
|
|
16
16
|
});
|
|
17
17
|
//#endregion
|
|
18
18
|
export { resendRetrieveDomain };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-domain.mjs","names":[],"sources":["../../src/actions/retrieve-domain.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendRetrieveDomainInput
|
|
1
|
+
{"version":3,"file":"retrieve-domain.mjs","names":[],"sources":["../../src/actions/retrieve-domain.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendRetrieveDomainInput = z.object({\n domain_id: z.string().describe(\"The id of the domain to retrieve.\"),\n});\nexport const ResendRetrieveDomainOutput = z.object({\n id: z.string().describe(\"The id of the created domain.\").nullable().optional(),\n name: z.string().describe(\"The name of the created domain.\").nullable().optional(),\n region: z.string().describe(\"The region where emails will be sent from.\").nullable().optional(),\n status: z.string().describe(\"The status of the domain creation.\").nullable().optional(),\n records: z.array(z.unknown()).describe(\"The DNS records associated with the domain.\").nullable().optional(),\n created_at: z.string().describe(\"The creation timestamp of the domain.\").nullable().optional(),\n}).passthrough();\n\nexport const resendRetrieveDomain = action(\"RESEND_RETRIEVE_DOMAIN\", {\n slug: \"resend-retrieve-domain\",\n name: \"Retrieve Domain\",\n description: \"Retrieve a single domain.\",\n input: ResendRetrieveDomainInput,\n output: ResendRetrieveDomainOutput,\n});\n"],"mappings":";;AAgBA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBuC,EAAE,OAAO,EAChD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,EACpE,CAcS;CACP,QAdwC,EAAE,OAAO;EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,SAAS,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -15,7 +15,7 @@ const ResendRetrieveEmailOutput = zod.z.object({
|
|
|
15
15
|
reply_to: zod.z.array(zod.z.string()).describe("The reply-to email addresses.").nullable().optional(),
|
|
16
16
|
created_at: zod.z.string().describe("The creation timestamp of the email.").nullable().optional(),
|
|
17
17
|
last_event: zod.z.string().describe("The last event of the email.").nullable().optional()
|
|
18
|
-
});
|
|
18
|
+
}).passthrough();
|
|
19
19
|
const resendRetrieveEmail = require_action.action("RESEND_RETRIEVE_EMAIL", {
|
|
20
20
|
slug: "resend-retrieve-email",
|
|
21
21
|
name: "Retrieve Email",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-email.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-email.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendRetrieveEmailInput
|
|
1
|
+
{"version":3,"file":"retrieve-email.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-email.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendRetrieveEmailInput = z.object({\n email_id: z.string().describe(\"The id of the email to retrieve.\"),\n});\nexport const ResendRetrieveEmailOutput = z.object({\n cc: z.array(z.string()).describe(\"The CC recipient email addresses.\").nullable().optional(),\n id: z.string().describe(\"The id of the email.\").nullable().optional(),\n to: z.array(z.string()).describe(\"The recipient email addresses.\").nullable().optional(),\n bcc: z.array(z.string()).describe(\"The BCC recipient email addresses.\").nullable().optional(),\n from: z.string().describe(\"The sender email address.\").nullable().optional(),\n html: z.string().describe(\"The HTML content of the email.\").nullable().optional(),\n text: z.string().describe(\"The plain text content of the email.\").nullable().optional(),\n object: z.string().describe(\"The type of object, which is 'email'.\").nullable().optional(),\n subject: z.string().describe(\"The subject of the email.\").nullable().optional(),\n reply_to: z.array(z.string()).describe(\"The reply-to email addresses.\").nullable().optional(),\n created_at: z.string().describe(\"The creation timestamp of the email.\").nullable().optional(),\n last_event: z.string().describe(\"The last event of the email.\").nullable().optional(),\n}).passthrough();\n\nexport const resendRetrieveEmail = action(\"RESEND_RETRIEVE_EMAIL\", {\n slug: \"resend-retrieve-email\",\n name: \"Retrieve Email\",\n description: \"Retrieve a single email.\",\n input: ResendRetrieveEmailInput,\n output: ResendRetrieveEmailOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,EAClE,CAAC;AACD,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,IAAIA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,KAAKA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,26 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/retrieve-email.d.ts
|
|
4
|
-
declare const ResendRetrieveEmailInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ResendRetrieveEmailInput: z.ZodObject<{
|
|
5
|
+
email_id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const ResendRetrieveEmailOutput: z.ZodObject<{
|
|
8
|
+
cc: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
9
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
to: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
11
|
+
bcc: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
12
|
+
from: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
subject: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
reply_to: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
18
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
last_event: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
}, z.core.$loose>;
|
|
21
|
+
declare const resendRetrieveEmail: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
22
|
+
email_id: string;
|
|
23
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
24
|
//#endregion
|
|
8
25
|
export { resendRetrieveEmail };
|
|
9
26
|
//# sourceMappingURL=retrieve-email.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-email.d.cts","names":[],"sources":["../../src/actions/retrieve-email.ts"],"mappings":";;;cAIa,wBAAA,
|
|
1
|
+
{"version":3,"file":"retrieve-email.d.cts","names":[],"sources":["../../src/actions/retrieve-email.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAGxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAezB,mBAAA,gCAAmB,wBAAA"}
|
|
@@ -1,9 +1,26 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/retrieve-email.d.ts
|
|
4
|
-
declare const ResendRetrieveEmailInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ResendRetrieveEmailInput: z.ZodObject<{
|
|
5
|
+
email_id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const ResendRetrieveEmailOutput: z.ZodObject<{
|
|
8
|
+
cc: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
9
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
to: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
11
|
+
bcc: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
12
|
+
from: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
subject: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
reply_to: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
18
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
last_event: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
}, z.core.$loose>;
|
|
21
|
+
declare const resendRetrieveEmail: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
22
|
+
email_id: string;
|
|
23
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
24
|
//#endregion
|
|
8
25
|
export { resendRetrieveEmail };
|
|
9
26
|
//# sourceMappingURL=retrieve-email.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-email.d.mts","names":[],"sources":["../../src/actions/retrieve-email.ts"],"mappings":";;;cAIa,wBAAA,
|
|
1
|
+
{"version":3,"file":"retrieve-email.d.mts","names":[],"sources":["../../src/actions/retrieve-email.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAGxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAezB,mBAAA,gCAAmB,wBAAA"}
|
|
@@ -18,7 +18,7 @@ const resendRetrieveEmail = action("RESEND_RETRIEVE_EMAIL", {
|
|
|
18
18
|
reply_to: z.array(z.string()).describe("The reply-to email addresses.").nullable().optional(),
|
|
19
19
|
created_at: z.string().describe("The creation timestamp of the email.").nullable().optional(),
|
|
20
20
|
last_event: z.string().describe("The last event of the email.").nullable().optional()
|
|
21
|
-
})
|
|
21
|
+
}).passthrough()
|
|
22
22
|
});
|
|
23
23
|
//#endregion
|
|
24
24
|
export { resendRetrieveEmail };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-email.mjs","names":[],"sources":["../../src/actions/retrieve-email.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendRetrieveEmailInput
|
|
1
|
+
{"version":3,"file":"retrieve-email.mjs","names":[],"sources":["../../src/actions/retrieve-email.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendRetrieveEmailInput = z.object({\n email_id: z.string().describe(\"The id of the email to retrieve.\"),\n});\nexport const ResendRetrieveEmailOutput = z.object({\n cc: z.array(z.string()).describe(\"The CC recipient email addresses.\").nullable().optional(),\n id: z.string().describe(\"The id of the email.\").nullable().optional(),\n to: z.array(z.string()).describe(\"The recipient email addresses.\").nullable().optional(),\n bcc: z.array(z.string()).describe(\"The BCC recipient email addresses.\").nullable().optional(),\n from: z.string().describe(\"The sender email address.\").nullable().optional(),\n html: z.string().describe(\"The HTML content of the email.\").nullable().optional(),\n text: z.string().describe(\"The plain text content of the email.\").nullable().optional(),\n object: z.string().describe(\"The type of object, which is 'email'.\").nullable().optional(),\n subject: z.string().describe(\"The subject of the email.\").nullable().optional(),\n reply_to: z.array(z.string()).describe(\"The reply-to email addresses.\").nullable().optional(),\n created_at: z.string().describe(\"The creation timestamp of the email.\").nullable().optional(),\n last_event: z.string().describe(\"The last event of the email.\").nullable().optional(),\n}).passthrough();\n\nexport const resendRetrieveEmail = action(\"RESEND_RETRIEVE_EMAIL\", {\n slug: \"resend-retrieve-email\",\n name: \"Retrieve Email\",\n description: \"Retrieve a single email.\",\n input: ResendRetrieveEmailInput,\n output: ResendRetrieveEmailOutput,\n});\n"],"mappings":";;AAsBA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtBsC,EAAE,OAAO,EAC/C,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,EAClE,CAoBS;CACP,QApBuC,EAAE,OAAO;EAChD,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpE,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -9,15 +9,15 @@ const ResendSendBatchEmailsInput = zod.z.object({
|
|
|
9
9
|
from: zod.z.string().describe("Sender email address. To include a name, use the format 'Your Name <sender@domain.com>'."),
|
|
10
10
|
html: zod.z.string().describe("The HTML version of the message. At least one of 'html' or 'text' must be provided.").optional(),
|
|
11
11
|
text: zod.z.string().describe("The plain text version of the message. At least one of 'html' or 'text' must be provided.").optional(),
|
|
12
|
-
headers: zod.z.
|
|
12
|
+
headers: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom headers to add to the email. Must be a dictionary/object with key-value pairs (e.g., {'X-Custom-Header': 'value'}).").optional(),
|
|
13
13
|
subject: zod.z.string().describe("Email subject."),
|
|
14
14
|
reply_to: zod.z.union([zod.z.string(), zod.z.array(zod.z.string())]).optional(),
|
|
15
15
|
scheduled_at: zod.z.string().describe("Schedule email to be sent later. The date should be in ISO 8601 format (e.g., '2024-08-05T11:52:01.858Z').").optional()
|
|
16
|
-
}).describe("Individual email item in the batch.")).describe("List of email items to send in batch. Maximum 100 emails per batch."),
|
|
16
|
+
}).passthrough().describe("Individual email item in the batch.")).describe("List of email items to send in batch. Maximum 100 emails per batch."),
|
|
17
17
|
"Idempotency-Key": zod.z.string().describe("A unique identifier for the request to ensure emails are only sent once.").optional()
|
|
18
18
|
}).describe("Request model for sending batch emails.");
|
|
19
|
-
const ResendSendBatchEmails_BatchEmailIdResponseSchema = zod.z.object({ id: zod.z.string().describe("The id of the sent email.").nullable().optional() }).describe("Individual email ID in batch response.");
|
|
20
|
-
const ResendSendBatchEmailsOutput = zod.z.object({ data: zod.z.array(ResendSendBatchEmails_BatchEmailIdResponseSchema).describe("List of email IDs for the batch sent emails.").nullable().optional() }).describe("Response model for batch email sending.");
|
|
19
|
+
const ResendSendBatchEmails_BatchEmailIdResponseSchema = zod.z.object({ id: zod.z.string().describe("The id of the sent email.").nullable().optional() }).passthrough().describe("Individual email ID in batch response.");
|
|
20
|
+
const ResendSendBatchEmailsOutput = zod.z.object({ data: zod.z.array(ResendSendBatchEmails_BatchEmailIdResponseSchema).describe("List of email IDs for the batch sent emails.").nullable().optional() }).passthrough().describe("Response model for batch email sending.");
|
|
21
21
|
const resendSendBatchEmails = require_action.action("RESEND_SEND_BATCH_EMAILS", {
|
|
22
22
|
slug: "resend-send-batch-emails",
|
|
23
23
|
name: "Send Batch Emails",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"send-batch-emails.cjs","names":["z","action"],"sources":["../../src/actions/send-batch-emails.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendSendBatchEmailsInput
|
|
1
|
+
{"version":3,"file":"send-batch-emails.cjs","names":["z","action"],"sources":["../../src/actions/send-batch-emails.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendSendBatchEmailsInput = z.object({\n emails: z.array(z.object({\n cc: z.union([z.string(), z.array(z.string())]).optional(),\n to: z.union([z.string(), z.array(z.string())]),\n bcc: z.union([z.string(), z.array(z.string())]).optional(),\n from: z.string().describe(\"Sender email address. To include a name, use the format 'Your Name <sender@domain.com>'.\"),\n html: z.string().describe(\"The HTML version of the message. At least one of 'html' or 'text' must be provided.\").optional(),\n text: z.string().describe(\"The plain text version of the message. At least one of 'html' or 'text' must be provided.\").optional(),\n headers: z.record(z.string(), z.unknown()).describe(\"Custom headers to add to the email. Must be a dictionary/object with key-value pairs (e.g., {'X-Custom-Header': 'value'}).\").optional(),\n subject: z.string().describe(\"Email subject.\"),\n reply_to: z.union([z.string(), z.array(z.string())]).optional(),\n scheduled_at: z.string().describe(\"Schedule email to be sent later. The date should be in ISO 8601 format (e.g., '2024-08-05T11:52:01.858Z').\").optional(),\n}).passthrough().describe(\"Individual email item in the batch.\")).describe(\"List of email items to send in batch. Maximum 100 emails per batch.\"),\n \"Idempotency-Key\": z.string().describe(\"A unique identifier for the request to ensure emails are only sent once.\").optional(),\n}).describe(\"Request model for sending batch emails.\");\nconst ResendSendBatchEmails_BatchEmailIdResponseSchema = z.object({\n id: z.string().describe(\"The id of the sent email.\").nullable().optional(),\n}).passthrough().describe(\"Individual email ID in batch response.\");\nexport const ResendSendBatchEmailsOutput = z.object({\n data: z.array(ResendSendBatchEmails_BatchEmailIdResponseSchema).describe(\"List of email IDs for the batch sent emails.\").nullable().optional(),\n}).passthrough().describe(\"Response model for batch email sending.\");\n\nexport const resendSendBatchEmails = action(\"RESEND_SEND_BATCH_EMAILS\", {\n slug: \"resend-send-batch-emails\",\n name: \"Send Batch Emails\",\n description: \"Trigger up to 100 batch emails at once. Use when you need to send multiple emails in a single API request.\",\n input: ResendSendBatchEmailsInput,\n output: ResendSendBatchEmailsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACzB,IAAIA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS;EACxD,IAAIA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC;EAC7C,KAAKA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS;EACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F;EACpH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;EAC1H,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;EAChI,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4HAA4H,CAAC,CAAC,SAAS;EAC3L,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB;EAC7C,UAAUA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS;EAC9D,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;CAC3J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,CAAC,SAAS,qEAAqE;CAC9I,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,mDAAmDA,IAAAA,EAAE,OAAO,EAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,MAAMA,IAAAA,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC/I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAEnE,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,42 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/send-batch-emails.d.ts
|
|
4
|
-
declare const ResendSendBatchEmailsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ResendSendBatchEmailsInput: z.ZodObject<{
|
|
5
|
+
emails: z.ZodArray<z.ZodObject<{
|
|
6
|
+
cc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
7
|
+
to: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
|
|
8
|
+
bcc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
9
|
+
from: z.ZodString;
|
|
10
|
+
html: z.ZodOptional<z.ZodString>;
|
|
11
|
+
text: z.ZodOptional<z.ZodString>;
|
|
12
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
13
|
+
subject: z.ZodString;
|
|
14
|
+
reply_to: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
15
|
+
scheduled_at: z.ZodOptional<z.ZodString>;
|
|
16
|
+
}, z.core.$loose>>;
|
|
17
|
+
"Idempotency-Key": z.ZodOptional<z.ZodString>;
|
|
18
|
+
}, z.core.$strip>;
|
|
19
|
+
declare const ResendSendBatchEmailsOutput: z.ZodObject<{
|
|
20
|
+
data: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
21
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
}, z.core.$loose>>>>;
|
|
23
|
+
}, z.core.$loose>;
|
|
24
|
+
declare const resendSendBatchEmails: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
|
+
emails: {
|
|
26
|
+
[x: string]: unknown;
|
|
27
|
+
to: string | string[];
|
|
28
|
+
from: string;
|
|
29
|
+
subject: string;
|
|
30
|
+
cc?: string | string[] | undefined;
|
|
31
|
+
bcc?: string | string[] | undefined;
|
|
32
|
+
html?: string | undefined;
|
|
33
|
+
text?: string | undefined;
|
|
34
|
+
headers?: Record<string, unknown> | undefined;
|
|
35
|
+
reply_to?: string | string[] | undefined;
|
|
36
|
+
scheduled_at?: string | undefined;
|
|
37
|
+
}[];
|
|
38
|
+
"Idempotency-Key"?: string | undefined;
|
|
39
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
40
|
//#endregion
|
|
8
41
|
export { resendSendBatchEmails };
|
|
9
42
|
//# sourceMappingURL=send-batch-emails.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"send-batch-emails.d.cts","names":[],"sources":["../../src/actions/send-batch-emails.ts"],"mappings":";;;cAIa,0BAAA,
|
|
1
|
+
{"version":3,"file":"send-batch-emails.d.cts","names":[],"sources":["../../src/actions/send-batch-emails.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAkB1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;cAI3B,qBAAA,gCAAqB,wBAAA;;;;;;;;;;cAMhC,MAAA"}
|
|
@@ -1,9 +1,42 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/send-batch-emails.d.ts
|
|
4
|
-
declare const ResendSendBatchEmailsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ResendSendBatchEmailsInput: z.ZodObject<{
|
|
5
|
+
emails: z.ZodArray<z.ZodObject<{
|
|
6
|
+
cc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
7
|
+
to: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
|
|
8
|
+
bcc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
9
|
+
from: z.ZodString;
|
|
10
|
+
html: z.ZodOptional<z.ZodString>;
|
|
11
|
+
text: z.ZodOptional<z.ZodString>;
|
|
12
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
13
|
+
subject: z.ZodString;
|
|
14
|
+
reply_to: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
15
|
+
scheduled_at: z.ZodOptional<z.ZodString>;
|
|
16
|
+
}, z.core.$loose>>;
|
|
17
|
+
"Idempotency-Key": z.ZodOptional<z.ZodString>;
|
|
18
|
+
}, z.core.$strip>;
|
|
19
|
+
declare const ResendSendBatchEmailsOutput: z.ZodObject<{
|
|
20
|
+
data: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
21
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
}, z.core.$loose>>>>;
|
|
23
|
+
}, z.core.$loose>;
|
|
24
|
+
declare const resendSendBatchEmails: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
|
+
emails: {
|
|
26
|
+
[x: string]: unknown;
|
|
27
|
+
to: string | string[];
|
|
28
|
+
from: string;
|
|
29
|
+
subject: string;
|
|
30
|
+
cc?: string | string[] | undefined;
|
|
31
|
+
bcc?: string | string[] | undefined;
|
|
32
|
+
html?: string | undefined;
|
|
33
|
+
text?: string | undefined;
|
|
34
|
+
headers?: Record<string, unknown> | undefined;
|
|
35
|
+
reply_to?: string | string[] | undefined;
|
|
36
|
+
scheduled_at?: string | undefined;
|
|
37
|
+
}[];
|
|
38
|
+
"Idempotency-Key"?: string | undefined;
|
|
39
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
40
|
//#endregion
|
|
8
41
|
export { resendSendBatchEmails };
|
|
9
42
|
//# sourceMappingURL=send-batch-emails.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"send-batch-emails.d.mts","names":[],"sources":["../../src/actions/send-batch-emails.ts"],"mappings":";;;cAIa,0BAAA,
|
|
1
|
+
{"version":3,"file":"send-batch-emails.d.mts","names":[],"sources":["../../src/actions/send-batch-emails.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAkB1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;cAI3B,qBAAA,gCAAqB,wBAAA;;;;;;;;;;cAMhC,MAAA"}
|
|
@@ -9,20 +9,20 @@ const ResendSendBatchEmailsInput = z.object({
|
|
|
9
9
|
from: z.string().describe("Sender email address. To include a name, use the format 'Your Name <sender@domain.com>'."),
|
|
10
10
|
html: z.string().describe("The HTML version of the message. At least one of 'html' or 'text' must be provided.").optional(),
|
|
11
11
|
text: z.string().describe("The plain text version of the message. At least one of 'html' or 'text' must be provided.").optional(),
|
|
12
|
-
headers: z.
|
|
12
|
+
headers: z.record(z.string(), z.unknown()).describe("Custom headers to add to the email. Must be a dictionary/object with key-value pairs (e.g., {'X-Custom-Header': 'value'}).").optional(),
|
|
13
13
|
subject: z.string().describe("Email subject."),
|
|
14
14
|
reply_to: z.union([z.string(), z.array(z.string())]).optional(),
|
|
15
15
|
scheduled_at: z.string().describe("Schedule email to be sent later. The date should be in ISO 8601 format (e.g., '2024-08-05T11:52:01.858Z').").optional()
|
|
16
|
-
}).describe("Individual email item in the batch.")).describe("List of email items to send in batch. Maximum 100 emails per batch."),
|
|
16
|
+
}).passthrough().describe("Individual email item in the batch.")).describe("List of email items to send in batch. Maximum 100 emails per batch."),
|
|
17
17
|
"Idempotency-Key": z.string().describe("A unique identifier for the request to ensure emails are only sent once.").optional()
|
|
18
18
|
}).describe("Request model for sending batch emails.");
|
|
19
|
-
const ResendSendBatchEmails_BatchEmailIdResponseSchema = z.object({ id: z.string().describe("The id of the sent email.").nullable().optional() }).describe("Individual email ID in batch response.");
|
|
19
|
+
const ResendSendBatchEmails_BatchEmailIdResponseSchema = z.object({ id: z.string().describe("The id of the sent email.").nullable().optional() }).passthrough().describe("Individual email ID in batch response.");
|
|
20
20
|
const resendSendBatchEmails = action("RESEND_SEND_BATCH_EMAILS", {
|
|
21
21
|
slug: "resend-send-batch-emails",
|
|
22
22
|
name: "Send Batch Emails",
|
|
23
23
|
description: "Trigger up to 100 batch emails at once. Use when you need to send multiple emails in a single API request.",
|
|
24
24
|
input: ResendSendBatchEmailsInput,
|
|
25
|
-
output: z.object({ data: z.array(ResendSendBatchEmails_BatchEmailIdResponseSchema).describe("List of email IDs for the batch sent emails.").nullable().optional() }).describe("Response model for batch email sending.")
|
|
25
|
+
output: z.object({ data: z.array(ResendSendBatchEmails_BatchEmailIdResponseSchema).describe("List of email IDs for the batch sent emails.").nullable().optional() }).passthrough().describe("Response model for batch email sending.")
|
|
26
26
|
});
|
|
27
27
|
//#endregion
|
|
28
28
|
export { resendSendBatchEmails };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"send-batch-emails.mjs","names":[],"sources":["../../src/actions/send-batch-emails.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendSendBatchEmailsInput
|
|
1
|
+
{"version":3,"file":"send-batch-emails.mjs","names":[],"sources":["../../src/actions/send-batch-emails.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendSendBatchEmailsInput = z.object({\n emails: z.array(z.object({\n cc: z.union([z.string(), z.array(z.string())]).optional(),\n to: z.union([z.string(), z.array(z.string())]),\n bcc: z.union([z.string(), z.array(z.string())]).optional(),\n from: z.string().describe(\"Sender email address. To include a name, use the format 'Your Name <sender@domain.com>'.\"),\n html: z.string().describe(\"The HTML version of the message. At least one of 'html' or 'text' must be provided.\").optional(),\n text: z.string().describe(\"The plain text version of the message. At least one of 'html' or 'text' must be provided.\").optional(),\n headers: z.record(z.string(), z.unknown()).describe(\"Custom headers to add to the email. Must be a dictionary/object with key-value pairs (e.g., {'X-Custom-Header': 'value'}).\").optional(),\n subject: z.string().describe(\"Email subject.\"),\n reply_to: z.union([z.string(), z.array(z.string())]).optional(),\n scheduled_at: z.string().describe(\"Schedule email to be sent later. The date should be in ISO 8601 format (e.g., '2024-08-05T11:52:01.858Z').\").optional(),\n}).passthrough().describe(\"Individual email item in the batch.\")).describe(\"List of email items to send in batch. Maximum 100 emails per batch.\"),\n \"Idempotency-Key\": z.string().describe(\"A unique identifier for the request to ensure emails are only sent once.\").optional(),\n}).describe(\"Request model for sending batch emails.\");\nconst ResendSendBatchEmails_BatchEmailIdResponseSchema = z.object({\n id: z.string().describe(\"The id of the sent email.\").nullable().optional(),\n}).passthrough().describe(\"Individual email ID in batch response.\");\nexport const ResendSendBatchEmailsOutput = z.object({\n data: z.array(ResendSendBatchEmails_BatchEmailIdResponseSchema).describe(\"List of email IDs for the batch sent emails.\").nullable().optional(),\n}).passthrough().describe(\"Response model for batch email sending.\");\n\nexport const resendSendBatchEmails = action(\"RESEND_SEND_BATCH_EMAILS\", {\n slug: \"resend-send-batch-emails\",\n name: \"Send Batch Emails\",\n description: \"Trigger up to 100 batch emails at once. Use when you need to send multiple emails in a single API request.\",\n input: ResendSendBatchEmailsInput,\n output: ResendSendBatchEmailsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO;CACjD,QAAQ,EAAE,MAAM,EAAE,OAAO;EACzB,IAAI,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS;EACxD,IAAI,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;EAC7C,KAAK,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS;EACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F;EACpH,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;EAC1H,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;EAChI,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4HAA4H,CAAC,CAAC,SAAS;EAC3L,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB;EAC7C,UAAU,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS;EAC9D,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;CAC3J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,CAAC,SAAS,qEAAqE;CAC9I,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,mDAAmD,EAAE,OAAO,EAChE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAKlE,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATyC,EAAE,OAAO,EAClD,MAAM,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC/I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAOhB;AACV,CAAC"}
|
|
@@ -9,7 +9,7 @@ const ResendSendEmailInput = zod.z.object({
|
|
|
9
9
|
html: zod.z.string().describe("The HTML version of the message. At least one of 'html' or 'text' must be provided.").optional(),
|
|
10
10
|
text: zod.z.string().describe("The plain text version of the message. At least one of 'html' or 'text' must be provided.").optional(),
|
|
11
11
|
react: zod.z.string().describe("The React version of the message. Only available in the Node.js SDK.").optional(),
|
|
12
|
-
headers: zod.z.
|
|
12
|
+
headers: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom headers to add to the email. Must be a dictionary/object with key-value pairs (e.g., {'X-Custom-Header': 'value'}). Pass None or omit to exclude.").optional(),
|
|
13
13
|
subject: zod.z.string().describe("Email subject."),
|
|
14
14
|
reply_to: zod.z.union([zod.z.string(), zod.z.array(zod.z.string())]).optional(),
|
|
15
15
|
scheduled_at: zod.z.string().describe("Schedule email to be sent later. The date should be in ISO 8601 format (e.g., '2024-08-05T11:52:01.858Z').").optional()
|
|
@@ -17,7 +17,7 @@ const ResendSendEmailInput = zod.z.object({
|
|
|
17
17
|
const ResendSendEmailOutput = zod.z.object({
|
|
18
18
|
id: zod.z.string().describe("The id of the sent email.").nullable().optional(),
|
|
19
19
|
object: zod.z.string().describe("The type of object, which is 'email'.").nullable().optional()
|
|
20
|
-
});
|
|
20
|
+
}).passthrough();
|
|
21
21
|
const resendSendEmail = require_action.action("RESEND_SEND_EMAIL", {
|
|
22
22
|
slug: "resend-send-email",
|
|
23
23
|
name: "Send Email",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"send-email.cjs","names":["z","action"],"sources":["../../src/actions/send-email.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendSendEmailInput
|
|
1
|
+
{"version":3,"file":"send-email.cjs","names":["z","action"],"sources":["../../src/actions/send-email.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendSendEmailInput = z.object({\n cc: z.union([z.string(), z.array(z.string())]).optional(),\n to: z.union([z.string(), z.array(z.string())]),\n bcc: z.union([z.string(), z.array(z.string())]).optional(),\n from: z.string().describe(\"Sender email address. To include a name, use the format 'Your Name <sender@domain.com>'.\"),\n html: z.string().describe(\"The HTML version of the message. At least one of 'html' or 'text' must be provided.\").optional(),\n text: z.string().describe(\"The plain text version of the message. At least one of 'html' or 'text' must be provided.\").optional(),\n react: z.string().describe(\"The React version of the message. Only available in the Node.js SDK.\").optional(),\n headers: z.record(z.string(), z.unknown()).describe(\"Custom headers to add to the email. Must be a dictionary/object with key-value pairs (e.g., {'X-Custom-Header': 'value'}). Pass None or omit to exclude.\").optional(),\n subject: z.string().describe(\"Email subject.\"),\n reply_to: z.union([z.string(), z.array(z.string())]).optional(),\n scheduled_at: z.string().describe(\"Schedule email to be sent later. The date should be in ISO 8601 format (e.g., '2024-08-05T11:52:01.858Z').\").optional(),\n});\nexport const ResendSendEmailOutput = z.object({\n id: z.string().describe(\"The id of the sent email.\").nullable().optional(),\n object: z.string().describe(\"The type of object, which is 'email'.\").nullable().optional(),\n}).passthrough();\n\nexport const resendSendEmail = action(\"RESEND_SEND_EMAIL\", {\n slug: \"resend-send-email\",\n name: \"Send Email\",\n description: \"Send an email using Resend. Confirm recipients and content with the user before invoking — sends are irreversible. All recipients must be listed explicitly via `to`, `cc`, or `bcc`; audience-based sending is unsupported. Render HTML or plain text externally before passing via `html` or `text`.\",\n input: ResendSendEmailInput,\n output: ResendSendEmailOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,IAAIA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS;CACxD,IAAIA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC;CAC7C,KAAKA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F;CACpH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CAC1H,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CAChI,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC5G,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0JAA0J,CAAC,CAAC,SAAS;CACzN,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB;CAC7C,UAAUA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS;CAC9D,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;AAC3J,CAAC;AACD,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,36 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/send-email.d.ts
|
|
4
|
-
declare const ResendSendEmailInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ResendSendEmailInput: z.ZodObject<{
|
|
5
|
+
cc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
6
|
+
to: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
|
|
7
|
+
bcc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
8
|
+
from: z.ZodString;
|
|
9
|
+
html: z.ZodOptional<z.ZodString>;
|
|
10
|
+
text: z.ZodOptional<z.ZodString>;
|
|
11
|
+
react: z.ZodOptional<z.ZodString>;
|
|
12
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
13
|
+
subject: z.ZodString;
|
|
14
|
+
reply_to: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
15
|
+
scheduled_at: z.ZodOptional<z.ZodString>;
|
|
16
|
+
}, z.core.$strip>;
|
|
17
|
+
declare const ResendSendEmailOutput: z.ZodObject<{
|
|
18
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
}, z.core.$loose>;
|
|
21
|
+
declare const resendSendEmail: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
22
|
+
to: string | string[];
|
|
23
|
+
from: string;
|
|
24
|
+
subject: string;
|
|
25
|
+
cc?: string | string[] | undefined;
|
|
26
|
+
bcc?: string | string[] | undefined;
|
|
27
|
+
html?: string | undefined;
|
|
28
|
+
text?: string | undefined;
|
|
29
|
+
react?: string | undefined;
|
|
30
|
+
headers?: Record<string, unknown> | undefined;
|
|
31
|
+
reply_to?: string | string[] | undefined;
|
|
32
|
+
scheduled_at?: string | undefined;
|
|
33
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
34
|
//#endregion
|
|
8
35
|
export { resendSendEmail };
|
|
9
36
|
//# sourceMappingURL=send-email.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"send-email.d.cts","names":[],"sources":["../../src/actions/send-email.ts"],"mappings":";;;cAIa,oBAAA,
|
|
1
|
+
{"version":3,"file":"send-email.d.cts","names":[],"sources":["../../src/actions/send-email.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAapB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;cAKrB,eAAA,gCAAe,wBAAA;;;;;;;;;YAM1B,MAAA"}
|
|
@@ -1,9 +1,36 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/send-email.d.ts
|
|
4
|
-
declare const ResendSendEmailInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ResendSendEmailInput: z.ZodObject<{
|
|
5
|
+
cc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
6
|
+
to: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
|
|
7
|
+
bcc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
8
|
+
from: z.ZodString;
|
|
9
|
+
html: z.ZodOptional<z.ZodString>;
|
|
10
|
+
text: z.ZodOptional<z.ZodString>;
|
|
11
|
+
react: z.ZodOptional<z.ZodString>;
|
|
12
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
13
|
+
subject: z.ZodString;
|
|
14
|
+
reply_to: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
15
|
+
scheduled_at: z.ZodOptional<z.ZodString>;
|
|
16
|
+
}, z.core.$strip>;
|
|
17
|
+
declare const ResendSendEmailOutput: z.ZodObject<{
|
|
18
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
}, z.core.$loose>;
|
|
21
|
+
declare const resendSendEmail: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
22
|
+
to: string | string[];
|
|
23
|
+
from: string;
|
|
24
|
+
subject: string;
|
|
25
|
+
cc?: string | string[] | undefined;
|
|
26
|
+
bcc?: string | string[] | undefined;
|
|
27
|
+
html?: string | undefined;
|
|
28
|
+
text?: string | undefined;
|
|
29
|
+
react?: string | undefined;
|
|
30
|
+
headers?: Record<string, unknown> | undefined;
|
|
31
|
+
reply_to?: string | string[] | undefined;
|
|
32
|
+
scheduled_at?: string | undefined;
|
|
33
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
34
|
//#endregion
|
|
8
35
|
export { resendSendEmail };
|
|
9
36
|
//# sourceMappingURL=send-email.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"send-email.d.mts","names":[],"sources":["../../src/actions/send-email.ts"],"mappings":";;;cAIa,oBAAA,
|
|
1
|
+
{"version":3,"file":"send-email.d.mts","names":[],"sources":["../../src/actions/send-email.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAapB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;cAKrB,eAAA,gCAAe,wBAAA;;;;;;;;;YAM1B,MAAA"}
|
|
@@ -12,7 +12,7 @@ const resendSendEmail = action("RESEND_SEND_EMAIL", {
|
|
|
12
12
|
html: z.string().describe("The HTML version of the message. At least one of 'html' or 'text' must be provided.").optional(),
|
|
13
13
|
text: z.string().describe("The plain text version of the message. At least one of 'html' or 'text' must be provided.").optional(),
|
|
14
14
|
react: z.string().describe("The React version of the message. Only available in the Node.js SDK.").optional(),
|
|
15
|
-
headers: z.
|
|
15
|
+
headers: z.record(z.string(), z.unknown()).describe("Custom headers to add to the email. Must be a dictionary/object with key-value pairs (e.g., {'X-Custom-Header': 'value'}). Pass None or omit to exclude.").optional(),
|
|
16
16
|
subject: z.string().describe("Email subject."),
|
|
17
17
|
reply_to: z.union([z.string(), z.array(z.string())]).optional(),
|
|
18
18
|
scheduled_at: z.string().describe("Schedule email to be sent later. The date should be in ISO 8601 format (e.g., '2024-08-05T11:52:01.858Z').").optional()
|
|
@@ -20,7 +20,7 @@ const resendSendEmail = action("RESEND_SEND_EMAIL", {
|
|
|
20
20
|
output: z.object({
|
|
21
21
|
id: z.string().describe("The id of the sent email.").nullable().optional(),
|
|
22
22
|
object: z.string().describe("The type of object, which is 'email'.").nullable().optional()
|
|
23
|
-
})
|
|
23
|
+
}).passthrough()
|
|
24
24
|
});
|
|
25
25
|
//#endregion
|
|
26
26
|
export { resendSendEmail };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"send-email.mjs","names":[],"sources":["../../src/actions/send-email.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendSendEmailInput
|
|
1
|
+
{"version":3,"file":"send-email.mjs","names":[],"sources":["../../src/actions/send-email.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendSendEmailInput = z.object({\n cc: z.union([z.string(), z.array(z.string())]).optional(),\n to: z.union([z.string(), z.array(z.string())]),\n bcc: z.union([z.string(), z.array(z.string())]).optional(),\n from: z.string().describe(\"Sender email address. To include a name, use the format 'Your Name <sender@domain.com>'.\"),\n html: z.string().describe(\"The HTML version of the message. At least one of 'html' or 'text' must be provided.\").optional(),\n text: z.string().describe(\"The plain text version of the message. At least one of 'html' or 'text' must be provided.\").optional(),\n react: z.string().describe(\"The React version of the message. Only available in the Node.js SDK.\").optional(),\n headers: z.record(z.string(), z.unknown()).describe(\"Custom headers to add to the email. Must be a dictionary/object with key-value pairs (e.g., {'X-Custom-Header': 'value'}). Pass None or omit to exclude.\").optional(),\n subject: z.string().describe(\"Email subject.\"),\n reply_to: z.union([z.string(), z.array(z.string())]).optional(),\n scheduled_at: z.string().describe(\"Schedule email to be sent later. The date should be in ISO 8601 format (e.g., '2024-08-05T11:52:01.858Z').\").optional(),\n});\nexport const ResendSendEmailOutput = z.object({\n id: z.string().describe(\"The id of the sent email.\").nullable().optional(),\n object: z.string().describe(\"The type of object, which is 'email'.\").nullable().optional(),\n}).passthrough();\n\nexport const resendSendEmail = action(\"RESEND_SEND_EMAIL\", {\n slug: \"resend-send-email\",\n name: \"Send Email\",\n description: \"Send an email using Resend. Confirm recipients and content with the user before invoking — sends are irreversible. All recipients must be listed explicitly via `to`, `cc`, or `bcc`; audience-based sending is unsupported. Render HTML or plain text externally before passing via `html` or `text`.\",\n input: ResendSendEmailInput,\n output: ResendSendEmailOutput,\n});\n"],"mappings":";;AAsBA,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtBkC,EAAE,OAAO;EAC3C,IAAI,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS;EACxD,IAAI,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;EAC7C,KAAK,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS;EACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F;EACpH,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;EAC1H,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;EAChI,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;EAC5G,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0JAA0J,CAAC,CAAC,SAAS;EACzN,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB;EAC7C,UAAU,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS;EAC9D,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;CAC3J,CAUS;CACP,QAVmC,EAAE,OAAO;EAC5C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|