@keystrokehq/resend 0.0.16 → 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 +11 -74
- 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/add-contact-to-segment.cjs +19 -0
- package/dist/actions/add-contact-to-segment.cjs.map +1 -0
- package/dist/actions/add-contact-to-segment.d.cts +9 -0
- package/dist/actions/add-contact-to-segment.d.cts.map +1 -0
- package/dist/actions/add-contact-to-segment.d.mts +9 -0
- package/dist/actions/add-contact-to-segment.d.mts.map +1 -0
- package/dist/actions/add-contact-to-segment.mjs +16 -0
- package/dist/actions/add-contact-to-segment.mjs.map +1 -0
- package/dist/actions/cancel-email.cjs +19 -0
- package/dist/actions/cancel-email.cjs.map +1 -0
- package/dist/actions/cancel-email.d.cts +9 -0
- package/dist/actions/cancel-email.d.cts.map +1 -0
- package/dist/actions/cancel-email.d.mts +9 -0
- package/dist/actions/cancel-email.d.mts.map +1 -0
- package/dist/actions/cancel-email.mjs +16 -0
- package/dist/actions/cancel-email.mjs.map +1 -0
- package/dist/actions/create-api-key.cjs +23 -0
- package/dist/actions/create-api-key.cjs.map +1 -0
- package/dist/actions/create-api-key.d.cts +9 -0
- package/dist/actions/create-api-key.d.cts.map +1 -0
- package/dist/actions/create-api-key.d.mts +9 -0
- package/dist/actions/create-api-key.d.mts.map +1 -0
- package/dist/actions/create-api-key.mjs +20 -0
- package/dist/actions/create-api-key.mjs.map +1 -0
- package/dist/actions/create-audience.cjs +20 -0
- package/dist/actions/create-audience.cjs.map +1 -0
- package/dist/actions/create-audience.d.cts +9 -0
- package/dist/actions/create-audience.d.cts.map +1 -0
- package/dist/actions/create-audience.d.mts +9 -0
- package/dist/actions/create-audience.d.mts.map +1 -0
- package/dist/actions/create-audience.mjs +17 -0
- package/dist/actions/create-audience.mjs.map +1 -0
- package/dist/actions/create-contact-property.cjs +23 -0
- package/dist/actions/create-contact-property.cjs.map +1 -0
- package/dist/actions/create-contact-property.d.cts +9 -0
- package/dist/actions/create-contact-property.d.cts.map +1 -0
- package/dist/actions/create-contact-property.d.mts +9 -0
- package/dist/actions/create-contact-property.d.mts.map +1 -0
- package/dist/actions/create-contact-property.mjs +20 -0
- package/dist/actions/create-contact-property.mjs.map +1 -0
- package/dist/actions/create-contact-v2.cjs +33 -0
- package/dist/actions/create-contact-v2.cjs.map +1 -0
- package/dist/actions/create-contact-v2.d.cts +9 -0
- package/dist/actions/create-contact-v2.d.cts.map +1 -0
- package/dist/actions/create-contact-v2.d.mts +9 -0
- package/dist/actions/create-contact-v2.d.mts.map +1 -0
- package/dist/actions/create-contact-v2.mjs +30 -0
- package/dist/actions/create-contact-v2.mjs.map +1 -0
- package/dist/actions/create-contact.cjs +25 -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 +22 -0
- package/dist/actions/create-contact.mjs.map +1 -0
- package/dist/actions/create-domain.cjs +45 -0
- package/dist/actions/create-domain.cjs.map +1 -0
- package/dist/actions/create-domain.d.cts +9 -0
- package/dist/actions/create-domain.d.cts.map +1 -0
- package/dist/actions/create-domain.d.mts +9 -0
- package/dist/actions/create-domain.d.mts.map +1 -0
- package/dist/actions/create-domain.mjs +44 -0
- package/dist/actions/create-domain.mjs.map +1 -0
- package/dist/actions/create-template.cjs +36 -0
- package/dist/actions/create-template.cjs.map +1 -0
- package/dist/actions/create-template.d.cts +9 -0
- package/dist/actions/create-template.d.cts.map +1 -0
- package/dist/actions/create-template.d.mts +9 -0
- package/dist/actions/create-template.d.mts.map +1 -0
- package/dist/actions/create-template.mjs +33 -0
- package/dist/actions/create-template.mjs.map +1 -0
- package/dist/actions/create-topic.cjs +24 -0
- package/dist/actions/create-topic.cjs.map +1 -0
- package/dist/actions/create-topic.d.cts +9 -0
- package/dist/actions/create-topic.d.cts.map +1 -0
- package/dist/actions/create-topic.d.mts +9 -0
- package/dist/actions/create-topic.d.mts.map +1 -0
- package/dist/actions/create-topic.mjs +21 -0
- package/dist/actions/create-topic.mjs.map +1 -0
- package/dist/actions/create-webhook.cjs +23 -0
- package/dist/actions/create-webhook.cjs.map +1 -0
- package/dist/actions/create-webhook.d.cts +9 -0
- package/dist/actions/create-webhook.d.cts.map +1 -0
- package/dist/actions/create-webhook.d.mts +9 -0
- package/dist/actions/create-webhook.d.mts.map +1 -0
- package/dist/actions/create-webhook.mjs +20 -0
- package/dist/actions/create-webhook.mjs.map +1 -0
- package/dist/actions/delete-api-key.cjs +20 -0
- package/dist/actions/delete-api-key.cjs.map +1 -0
- package/dist/actions/delete-api-key.d.cts +9 -0
- package/dist/actions/delete-api-key.d.cts.map +1 -0
- package/dist/actions/delete-api-key.d.mts +9 -0
- package/dist/actions/delete-api-key.d.mts.map +1 -0
- package/dist/actions/delete-api-key.mjs +17 -0
- package/dist/actions/delete-api-key.mjs.map +1 -0
- package/dist/actions/delete-audience.cjs +19 -0
- package/dist/actions/delete-audience.cjs.map +1 -0
- package/dist/actions/delete-audience.d.cts +9 -0
- package/dist/actions/delete-audience.d.cts.map +1 -0
- package/dist/actions/delete-audience.d.mts +9 -0
- package/dist/actions/delete-audience.d.mts.map +1 -0
- package/dist/actions/delete-audience.mjs +16 -0
- package/dist/actions/delete-audience.mjs.map +1 -0
- package/dist/actions/delete-contact-by-id.cjs +20 -0
- package/dist/actions/delete-contact-by-id.cjs.map +1 -0
- package/dist/actions/delete-contact-by-id.d.cts +9 -0
- package/dist/actions/delete-contact-by-id.d.cts.map +1 -0
- package/dist/actions/delete-contact-by-id.d.mts +9 -0
- package/dist/actions/delete-contact-by-id.d.mts.map +1 -0
- package/dist/actions/delete-contact-by-id.mjs +17 -0
- package/dist/actions/delete-contact-by-id.mjs.map +1 -0
- package/dist/actions/delete-contact-property.cjs +20 -0
- package/dist/actions/delete-contact-property.cjs.map +1 -0
- package/dist/actions/delete-contact-property.d.cts +9 -0
- package/dist/actions/delete-contact-property.d.cts.map +1 -0
- package/dist/actions/delete-contact-property.d.mts +9 -0
- package/dist/actions/delete-contact-property.d.mts.map +1 -0
- package/dist/actions/delete-contact-property.mjs +17 -0
- package/dist/actions/delete-contact-property.mjs.map +1 -0
- package/dist/actions/delete-contact.cjs +24 -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 +21 -0
- package/dist/actions/delete-contact.mjs.map +1 -0
- package/dist/actions/delete-domain.cjs +20 -0
- package/dist/actions/delete-domain.cjs.map +1 -0
- package/dist/actions/delete-domain.d.cts +9 -0
- package/dist/actions/delete-domain.d.cts.map +1 -0
- package/dist/actions/delete-domain.d.mts +9 -0
- package/dist/actions/delete-domain.d.mts.map +1 -0
- package/dist/actions/delete-domain.mjs +17 -0
- package/dist/actions/delete-domain.mjs.map +1 -0
- package/dist/actions/delete-segment.cjs +20 -0
- package/dist/actions/delete-segment.cjs.map +1 -0
- package/dist/actions/delete-segment.d.cts +9 -0
- package/dist/actions/delete-segment.d.cts.map +1 -0
- package/dist/actions/delete-segment.d.mts +9 -0
- package/dist/actions/delete-segment.d.mts.map +1 -0
- package/dist/actions/delete-segment.mjs +17 -0
- package/dist/actions/delete-segment.mjs.map +1 -0
- package/dist/actions/delete-template.cjs +20 -0
- package/dist/actions/delete-template.cjs.map +1 -0
- package/dist/actions/delete-template.d.cts +9 -0
- package/dist/actions/delete-template.d.cts.map +1 -0
- package/dist/actions/delete-template.d.mts +9 -0
- package/dist/actions/delete-template.d.mts.map +1 -0
- package/dist/actions/delete-template.mjs +17 -0
- package/dist/actions/delete-template.mjs.map +1 -0
- package/dist/actions/delete-topic.cjs +20 -0
- package/dist/actions/delete-topic.cjs.map +1 -0
- package/dist/actions/delete-topic.d.cts +9 -0
- package/dist/actions/delete-topic.d.cts.map +1 -0
- package/dist/actions/delete-topic.d.mts +9 -0
- package/dist/actions/delete-topic.d.mts.map +1 -0
- package/dist/actions/delete-topic.mjs +17 -0
- package/dist/actions/delete-topic.mjs.map +1 -0
- package/dist/actions/delete-webhook.cjs +20 -0
- package/dist/actions/delete-webhook.cjs.map +1 -0
- package/dist/actions/delete-webhook.d.cts +9 -0
- package/dist/actions/delete-webhook.d.cts.map +1 -0
- package/dist/actions/delete-webhook.d.mts +9 -0
- package/dist/actions/delete-webhook.d.mts.map +1 -0
- package/dist/actions/delete-webhook.mjs +17 -0
- package/dist/actions/delete-webhook.mjs.map +1 -0
- package/dist/actions/duplicate-template.cjs +19 -0
- package/dist/actions/duplicate-template.cjs.map +1 -0
- package/dist/actions/duplicate-template.d.cts +9 -0
- package/dist/actions/duplicate-template.d.cts.map +1 -0
- package/dist/actions/duplicate-template.d.mts +9 -0
- package/dist/actions/duplicate-template.d.mts.map +1 -0
- package/dist/actions/duplicate-template.mjs +16 -0
- package/dist/actions/duplicate-template.mjs.map +1 -0
- package/dist/actions/get-contact-property.cjs +23 -0
- package/dist/actions/get-contact-property.cjs.map +1 -0
- package/dist/actions/get-contact-property.d.cts +9 -0
- package/dist/actions/get-contact-property.d.cts.map +1 -0
- package/dist/actions/get-contact-property.d.mts +9 -0
- package/dist/actions/get-contact-property.d.mts.map +1 -0
- package/dist/actions/get-contact-property.mjs +20 -0
- package/dist/actions/get-contact-property.mjs.map +1 -0
- package/dist/actions/get-contact.cjs +25 -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 +22 -0
- package/dist/actions/get-contact.mjs.map +1 -0
- package/dist/actions/get-email-attachment.cjs +30 -0
- package/dist/actions/get-email-attachment.cjs.map +1 -0
- package/dist/actions/get-email-attachment.d.cts +9 -0
- package/dist/actions/get-email-attachment.d.cts.map +1 -0
- package/dist/actions/get-email-attachment.d.mts +9 -0
- package/dist/actions/get-email-attachment.d.mts.map +1 -0
- package/dist/actions/get-email-attachment.mjs +29 -0
- package/dist/actions/get-email-attachment.mjs.map +1 -0
- package/dist/actions/get-segment.cjs +23 -0
- package/dist/actions/get-segment.cjs.map +1 -0
- package/dist/actions/get-segment.d.cts +9 -0
- package/dist/actions/get-segment.d.cts.map +1 -0
- package/dist/actions/get-segment.d.mts +9 -0
- package/dist/actions/get-segment.d.mts.map +1 -0
- package/dist/actions/get-segment.mjs +20 -0
- package/dist/actions/get-segment.mjs.map +1 -0
- package/dist/actions/get-template.cjs +47 -0
- package/dist/actions/get-template.cjs.map +1 -0
- package/dist/actions/get-template.d.cts +9 -0
- package/dist/actions/get-template.d.cts.map +1 -0
- package/dist/actions/get-template.d.mts +9 -0
- package/dist/actions/get-template.d.mts.map +1 -0
- package/dist/actions/get-template.mjs +46 -0
- package/dist/actions/get-template.mjs.map +1 -0
- package/dist/actions/get-topic.cjs +22 -0
- package/dist/actions/get-topic.cjs.map +1 -0
- package/dist/actions/get-topic.d.cts +9 -0
- package/dist/actions/get-topic.d.cts.map +1 -0
- package/dist/actions/get-topic.d.mts +9 -0
- package/dist/actions/get-topic.d.mts.map +1 -0
- package/dist/actions/get-topic.mjs +19 -0
- package/dist/actions/get-topic.mjs.map +1 -0
- package/dist/actions/get-webhook.cjs +24 -0
- package/dist/actions/get-webhook.cjs.map +1 -0
- package/dist/actions/get-webhook.d.cts +9 -0
- package/dist/actions/get-webhook.d.cts.map +1 -0
- package/dist/actions/get-webhook.d.mts +9 -0
- package/dist/actions/get-webhook.d.mts.map +1 -0
- package/dist/actions/get-webhook.mjs +21 -0
- package/dist/actions/get-webhook.mjs.map +1 -0
- package/dist/actions/index.cjs +125 -0
- package/dist/actions/index.d.cts +63 -0
- package/dist/actions/index.d.mts +63 -0
- package/dist/actions/index.mjs +63 -0
- package/dist/actions/list-all-contacts.cjs +32 -0
- package/dist/actions/list-all-contacts.cjs.map +1 -0
- package/dist/actions/list-all-contacts.d.cts +9 -0
- package/dist/actions/list-all-contacts.d.cts.map +1 -0
- package/dist/actions/list-all-contacts.d.mts +9 -0
- package/dist/actions/list-all-contacts.d.mts.map +1 -0
- package/dist/actions/list-all-contacts.mjs +31 -0
- package/dist/actions/list-all-contacts.mjs.map +1 -0
- package/dist/actions/list-api-keys.cjs +29 -0
- package/dist/actions/list-api-keys.cjs.map +1 -0
- package/dist/actions/list-api-keys.d.cts +9 -0
- package/dist/actions/list-api-keys.d.cts.map +1 -0
- package/dist/actions/list-api-keys.d.mts +9 -0
- package/dist/actions/list-api-keys.d.mts.map +1 -0
- package/dist/actions/list-api-keys.mjs +28 -0
- package/dist/actions/list-api-keys.mjs.map +1 -0
- package/dist/actions/list-audiences.cjs +29 -0
- package/dist/actions/list-audiences.cjs.map +1 -0
- package/dist/actions/list-audiences.d.cts +9 -0
- package/dist/actions/list-audiences.d.cts.map +1 -0
- package/dist/actions/list-audiences.d.mts +9 -0
- package/dist/actions/list-audiences.d.mts.map +1 -0
- package/dist/actions/list-audiences.mjs +28 -0
- package/dist/actions/list-audiences.mjs.map +1 -0
- package/dist/actions/list-broadcasts.cjs +32 -0
- package/dist/actions/list-broadcasts.cjs.map +1 -0
- package/dist/actions/list-broadcasts.d.cts +9 -0
- package/dist/actions/list-broadcasts.d.cts.map +1 -0
- package/dist/actions/list-broadcasts.d.mts +9 -0
- package/dist/actions/list-broadcasts.d.mts.map +1 -0
- package/dist/actions/list-broadcasts.mjs +31 -0
- package/dist/actions/list-broadcasts.mjs.map +1 -0
- package/dist/actions/list-contact-properties.cjs +31 -0
- package/dist/actions/list-contact-properties.cjs.map +1 -0
- package/dist/actions/list-contact-properties.d.cts +9 -0
- package/dist/actions/list-contact-properties.d.cts.map +1 -0
- package/dist/actions/list-contact-properties.d.mts +9 -0
- package/dist/actions/list-contact-properties.d.mts.map +1 -0
- package/dist/actions/list-contact-properties.mjs +30 -0
- package/dist/actions/list-contact-properties.mjs.map +1 -0
- package/dist/actions/list-contact-segments.cjs +30 -0
- package/dist/actions/list-contact-segments.cjs.map +1 -0
- package/dist/actions/list-contact-segments.d.cts +9 -0
- package/dist/actions/list-contact-segments.d.cts.map +1 -0
- package/dist/actions/list-contact-segments.d.mts +9 -0
- package/dist/actions/list-contact-segments.d.mts.map +1 -0
- package/dist/actions/list-contact-segments.mjs +29 -0
- package/dist/actions/list-contact-segments.mjs.map +1 -0
- package/dist/actions/list-contact-topics.cjs +31 -0
- package/dist/actions/list-contact-topics.cjs.map +1 -0
- package/dist/actions/list-contact-topics.d.cts +9 -0
- package/dist/actions/list-contact-topics.d.cts.map +1 -0
- package/dist/actions/list-contact-topics.d.mts +9 -0
- package/dist/actions/list-contact-topics.d.mts.map +1 -0
- package/dist/actions/list-contact-topics.mjs +30 -0
- package/dist/actions/list-contact-topics.mjs.map +1 -0
- package/dist/actions/list-contacts.cjs +33 -0
- package/dist/actions/list-contacts.cjs.map +1 -0
- package/dist/actions/list-contacts.d.cts +9 -0
- package/dist/actions/list-contacts.d.cts.map +1 -0
- package/dist/actions/list-contacts.d.mts +9 -0
- package/dist/actions/list-contacts.d.mts.map +1 -0
- package/dist/actions/list-contacts.mjs +32 -0
- package/dist/actions/list-contacts.mjs.map +1 -0
- package/dist/actions/list-domains.cjs +23 -0
- package/dist/actions/list-domains.cjs.map +1 -0
- package/dist/actions/list-domains.d.cts +9 -0
- package/dist/actions/list-domains.d.cts.map +1 -0
- package/dist/actions/list-domains.d.mts +9 -0
- package/dist/actions/list-domains.d.mts.map +1 -0
- package/dist/actions/list-domains.mjs +22 -0
- package/dist/actions/list-domains.mjs.map +1 -0
- package/dist/actions/list-email-attachments.cjs +35 -0
- package/dist/actions/list-email-attachments.cjs.map +1 -0
- package/dist/actions/list-email-attachments.d.cts +9 -0
- package/dist/actions/list-email-attachments.d.cts.map +1 -0
- package/dist/actions/list-email-attachments.d.mts +9 -0
- package/dist/actions/list-email-attachments.d.mts.map +1 -0
- package/dist/actions/list-email-attachments.mjs +34 -0
- package/dist/actions/list-email-attachments.mjs.map +1 -0
- package/dist/actions/list-emails.cjs +38 -0
- package/dist/actions/list-emails.cjs.map +1 -0
- package/dist/actions/list-emails.d.cts +9 -0
- package/dist/actions/list-emails.d.cts.map +1 -0
- package/dist/actions/list-emails.d.mts +9 -0
- package/dist/actions/list-emails.d.mts.map +1 -0
- package/dist/actions/list-emails.mjs +37 -0
- package/dist/actions/list-emails.mjs.map +1 -0
- package/dist/actions/list-received-emails.cjs +36 -0
- package/dist/actions/list-received-emails.cjs.map +1 -0
- package/dist/actions/list-received-emails.d.cts +9 -0
- package/dist/actions/list-received-emails.d.cts.map +1 -0
- package/dist/actions/list-received-emails.d.mts +9 -0
- package/dist/actions/list-received-emails.d.mts.map +1 -0
- package/dist/actions/list-received-emails.mjs +35 -0
- package/dist/actions/list-received-emails.mjs.map +1 -0
- package/dist/actions/list-segments.cjs +30 -0
- package/dist/actions/list-segments.cjs.map +1 -0
- package/dist/actions/list-segments.d.cts +9 -0
- package/dist/actions/list-segments.d.cts.map +1 -0
- package/dist/actions/list-segments.d.mts +9 -0
- package/dist/actions/list-segments.d.mts.map +1 -0
- package/dist/actions/list-segments.mjs +29 -0
- package/dist/actions/list-segments.mjs.map +1 -0
- package/dist/actions/list-templates.cjs +33 -0
- package/dist/actions/list-templates.cjs.map +1 -0
- package/dist/actions/list-templates.d.cts +9 -0
- package/dist/actions/list-templates.d.cts.map +1 -0
- package/dist/actions/list-templates.d.mts +9 -0
- package/dist/actions/list-templates.d.mts.map +1 -0
- package/dist/actions/list-templates.mjs +32 -0
- package/dist/actions/list-templates.mjs.map +1 -0
- package/dist/actions/list-topics.cjs +30 -0
- package/dist/actions/list-topics.cjs.map +1 -0
- package/dist/actions/list-topics.d.cts +9 -0
- package/dist/actions/list-topics.d.cts.map +1 -0
- package/dist/actions/list-topics.d.mts +9 -0
- package/dist/actions/list-topics.d.mts.map +1 -0
- package/dist/actions/list-topics.mjs +29 -0
- package/dist/actions/list-topics.mjs.map +1 -0
- package/dist/actions/list-webhooks.cjs +31 -0
- package/dist/actions/list-webhooks.cjs.map +1 -0
- package/dist/actions/list-webhooks.d.cts +9 -0
- package/dist/actions/list-webhooks.d.cts.map +1 -0
- package/dist/actions/list-webhooks.d.mts +9 -0
- package/dist/actions/list-webhooks.d.mts.map +1 -0
- package/dist/actions/list-webhooks.mjs +30 -0
- package/dist/actions/list-webhooks.mjs.map +1 -0
- package/dist/actions/publish-template.cjs +19 -0
- package/dist/actions/publish-template.cjs.map +1 -0
- package/dist/actions/publish-template.d.cts +9 -0
- package/dist/actions/publish-template.d.cts.map +1 -0
- package/dist/actions/publish-template.d.mts +9 -0
- package/dist/actions/publish-template.d.mts.map +1 -0
- package/dist/actions/publish-template.mjs +16 -0
- package/dist/actions/publish-template.mjs.map +1 -0
- package/dist/actions/remove-contact-from-segment.cjs +22 -0
- package/dist/actions/remove-contact-from-segment.cjs.map +1 -0
- package/dist/actions/remove-contact-from-segment.d.cts +9 -0
- package/dist/actions/remove-contact-from-segment.d.cts.map +1 -0
- package/dist/actions/remove-contact-from-segment.d.mts +9 -0
- package/dist/actions/remove-contact-from-segment.d.mts.map +1 -0
- package/dist/actions/remove-contact-from-segment.mjs +19 -0
- package/dist/actions/remove-contact-from-segment.mjs.map +1 -0
- package/dist/actions/retrieve-audience.cjs +21 -0
- package/dist/actions/retrieve-audience.cjs.map +1 -0
- package/dist/actions/retrieve-audience.d.cts +9 -0
- package/dist/actions/retrieve-audience.d.cts.map +1 -0
- package/dist/actions/retrieve-audience.d.mts +9 -0
- package/dist/actions/retrieve-audience.d.mts.map +1 -0
- package/dist/actions/retrieve-audience.mjs +18 -0
- package/dist/actions/retrieve-audience.mjs.map +1 -0
- package/dist/actions/retrieve-contact.cjs +27 -0
- package/dist/actions/retrieve-contact.cjs.map +1 -0
- package/dist/actions/retrieve-contact.d.cts +9 -0
- package/dist/actions/retrieve-contact.d.cts.map +1 -0
- package/dist/actions/retrieve-contact.d.mts +9 -0
- package/dist/actions/retrieve-contact.d.mts.map +1 -0
- package/dist/actions/retrieve-contact.mjs +24 -0
- package/dist/actions/retrieve-contact.mjs.map +1 -0
- package/dist/actions/retrieve-domain.cjs +23 -0
- package/dist/actions/retrieve-domain.cjs.map +1 -0
- package/dist/actions/retrieve-domain.d.cts +9 -0
- package/dist/actions/retrieve-domain.d.cts.map +1 -0
- package/dist/actions/retrieve-domain.d.mts +9 -0
- package/dist/actions/retrieve-domain.d.mts.map +1 -0
- package/dist/actions/retrieve-domain.mjs +20 -0
- package/dist/actions/retrieve-domain.mjs.map +1 -0
- package/dist/actions/retrieve-email.cjs +29 -0
- package/dist/actions/retrieve-email.cjs.map +1 -0
- package/dist/actions/retrieve-email.d.cts +9 -0
- package/dist/actions/retrieve-email.d.cts.map +1 -0
- package/dist/actions/retrieve-email.d.mts +9 -0
- package/dist/actions/retrieve-email.d.mts.map +1 -0
- package/dist/actions/retrieve-email.mjs +26 -0
- package/dist/actions/retrieve-email.mjs.map +1 -0
- package/dist/actions/send-batch-emails.cjs +31 -0
- package/dist/actions/send-batch-emails.cjs.map +1 -0
- package/dist/actions/send-batch-emails.d.cts +9 -0
- package/dist/actions/send-batch-emails.d.cts.map +1 -0
- package/dist/actions/send-batch-emails.d.mts +9 -0
- package/dist/actions/send-batch-emails.d.mts.map +1 -0
- package/dist/actions/send-batch-emails.mjs +30 -0
- package/dist/actions/send-batch-emails.mjs.map +1 -0
- package/dist/actions/send-email.cjs +31 -0
- package/dist/actions/send-email.cjs.map +1 -0
- package/dist/actions/send-email.d.cts +9 -0
- package/dist/actions/send-email.d.cts.map +1 -0
- package/dist/actions/send-email.d.mts +9 -0
- package/dist/actions/send-email.d.mts.map +1 -0
- package/dist/actions/send-email.mjs +28 -0
- package/dist/actions/send-email.mjs.map +1 -0
- package/dist/actions/update-broadcast.cjs +30 -0
- package/dist/actions/update-broadcast.cjs.map +1 -0
- package/dist/actions/update-broadcast.d.cts +9 -0
- package/dist/actions/update-broadcast.d.cts.map +1 -0
- package/dist/actions/update-broadcast.d.mts +9 -0
- package/dist/actions/update-broadcast.d.mts.map +1 -0
- package/dist/actions/update-broadcast.mjs +27 -0
- package/dist/actions/update-broadcast.mjs.map +1 -0
- package/dist/actions/update-contact-property.cjs +26 -0
- package/dist/actions/update-contact-property.cjs.map +1 -0
- package/dist/actions/update-contact-property.d.cts +9 -0
- package/dist/actions/update-contact-property.d.cts.map +1 -0
- package/dist/actions/update-contact-property.d.mts +9 -0
- package/dist/actions/update-contact-property.d.mts.map +1 -0
- package/dist/actions/update-contact-property.mjs +23 -0
- package/dist/actions/update-contact-property.mjs.map +1 -0
- package/dist/actions/update-contact.cjs +24 -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 +21 -0
- package/dist/actions/update-contact.mjs.map +1 -0
- package/dist/actions/update-domain.cjs +28 -0
- package/dist/actions/update-domain.cjs.map +1 -0
- package/dist/actions/update-domain.d.cts +9 -0
- package/dist/actions/update-domain.d.cts.map +1 -0
- package/dist/actions/update-domain.d.mts +9 -0
- package/dist/actions/update-domain.d.mts.map +1 -0
- package/dist/actions/update-domain.mjs +25 -0
- package/dist/actions/update-domain.mjs.map +1 -0
- package/dist/actions/update-email.cjs +22 -0
- package/dist/actions/update-email.cjs.map +1 -0
- package/dist/actions/update-email.d.cts +9 -0
- package/dist/actions/update-email.d.cts.map +1 -0
- package/dist/actions/update-email.d.mts +9 -0
- package/dist/actions/update-email.d.mts.map +1 -0
- package/dist/actions/update-email.mjs +19 -0
- package/dist/actions/update-email.mjs.map +1 -0
- package/dist/actions/update-template.cjs +38 -0
- package/dist/actions/update-template.cjs.map +1 -0
- package/dist/actions/update-template.d.cts +9 -0
- package/dist/actions/update-template.d.cts.map +1 -0
- package/dist/actions/update-template.d.mts +9 -0
- package/dist/actions/update-template.d.mts.map +1 -0
- package/dist/actions/update-template.mjs +35 -0
- package/dist/actions/update-template.mjs.map +1 -0
- package/dist/actions/update-topic.cjs +22 -0
- package/dist/actions/update-topic.cjs.map +1 -0
- package/dist/actions/update-topic.d.cts +9 -0
- package/dist/actions/update-topic.d.cts.map +1 -0
- package/dist/actions/update-topic.d.mts +9 -0
- package/dist/actions/update-topic.d.mts.map +1 -0
- package/dist/actions/update-topic.mjs +19 -0
- package/dist/actions/update-topic.mjs.map +1 -0
- package/dist/actions/update-webhook.cjs +24 -0
- package/dist/actions/update-webhook.cjs.map +1 -0
- package/dist/actions/update-webhook.d.cts +9 -0
- package/dist/actions/update-webhook.d.cts.map +1 -0
- package/dist/actions/update-webhook.d.mts +9 -0
- package/dist/actions/update-webhook.d.mts.map +1 -0
- package/dist/actions/update-webhook.mjs +21 -0
- package/dist/actions/update-webhook.mjs.map +1 -0
- package/dist/actions/verify-domain.cjs +19 -0
- package/dist/actions/verify-domain.cjs.map +1 -0
- package/dist/actions/verify-domain.d.cts +9 -0
- package/dist/actions/verify-domain.d.cts.map +1 -0
- package/dist/actions/verify-domain.d.mts +9 -0
- package/dist/actions/verify-domain.d.mts.map +1 -0
- package/dist/actions/verify-domain.mjs +16 -0
- package/dist/actions/verify-domain.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 +130 -0
- package/dist/index.d.cts +65 -0
- package/dist/index.d.mts +65 -4
- package/dist/index.mjs +66 -5
- package/package.json +31 -53
- package/LICENSE +0 -21
- package/dist/credential-sets/index.d.mts +0 -2
- package/dist/credential-sets/index.mjs +0 -3
- package/dist/emails-DNEKKuhw.mjs +0 -590
- package/dist/operations/index.d.mts +0 -2
- package/dist/operations/index.mjs +0 -3
- package/dist/resend.credential-set-BVQIXE4k.mjs +0 -18
- package/dist/resend.credential-set-CO_XYnvV.d.mts +0 -16
- package/dist/schemas/index.d.mts +0 -1292
- package/dist/schemas/index.mjs +0 -3
- package/dist/verify-resend-domain.operation-BusUhEql.d.mts +0 -1818
- package/dist/verify-resend-domain.operation-ClVQJYPC.mjs +0 -1481
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const resendRetrieveContact = action("RESEND_RETRIEVE_CONTACT", {
|
|
4
|
+
slug: "resend-retrieve-contact",
|
|
5
|
+
name: "Retrieve Contact",
|
|
6
|
+
description: "Retrieve a contact in Resend.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
id: z.string().describe("The Contact ID."),
|
|
9
|
+
audienceId: z.string().describe("The Audience ID.")
|
|
10
|
+
}),
|
|
11
|
+
output: z.object({
|
|
12
|
+
id: z.string().describe("The id of the contact.").nullable().optional(),
|
|
13
|
+
email: z.string().describe("The email of the contact.").nullable().optional(),
|
|
14
|
+
object: z.string().describe("The type of object, which is 'contact'.").nullable().optional(),
|
|
15
|
+
last_name: z.string().describe("The last name of the contact.").nullable().optional(),
|
|
16
|
+
created_at: z.string().describe("The creation timestamp of the contact.").nullable().optional(),
|
|
17
|
+
first_name: z.string().describe("The first name of the contact.").nullable().optional(),
|
|
18
|
+
unsubscribed: z.boolean().describe("The subscription status.").nullable().optional()
|
|
19
|
+
})
|
|
20
|
+
});
|
|
21
|
+
//#endregion
|
|
22
|
+
export { resendRetrieveContact };
|
|
23
|
+
|
|
24
|
+
//# sourceMappingURL=retrieve-contact.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"retrieve-contact.mjs","names":[],"sources":["../../src/actions/retrieve-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendRetrieveContactInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The Contact ID.\"),\n audienceId: z.string().describe(\"The Audience ID.\"),\n});\nexport const ResendRetrieveContactOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The id of the contact.\").nullable().optional(),\n email: z.string().describe(\"The email of the contact.\").nullable().optional(),\n object: z.string().describe(\"The type of object, which is 'contact'.\").nullable().optional(),\n last_name: z.string().describe(\"The last name of the contact.\").nullable().optional(),\n created_at: z.string().describe(\"The creation timestamp of the contact.\").nullable().optional(),\n first_name: z.string().describe(\"The first name of the contact.\").nullable().optional(),\n unsubscribed: z.boolean().describe(\"The subscription status.\").nullable().optional(),\n});\n\nexport const resendRetrieveContact = action(\"RESEND_RETRIEVE_CONTACT\", {\n slug: \"resend-retrieve-contact\",\n name: \"Retrieve Contact\",\n description: \"Retrieve a contact in Resend.\",\n input: ResendRetrieveContactInput,\n output: ResendRetrieveContactOutput,\n});\n"],"mappings":";;AAkBA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBsD,EAAE,OAAO;EAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB;EACzC,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CACpD,CAeS;CACP,QAfuD,EAAE,OAAO;EAChE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,CAOU;AACV,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/retrieve-domain.ts
|
|
4
|
+
const ResendRetrieveDomainInput = zod.z.object({ domain_id: zod.z.string().describe("The id of the domain to retrieve.") });
|
|
5
|
+
const ResendRetrieveDomainOutput = zod.z.object({
|
|
6
|
+
id: zod.z.string().describe("The id of the created domain.").nullable().optional(),
|
|
7
|
+
name: zod.z.string().describe("The name of the created domain.").nullable().optional(),
|
|
8
|
+
region: zod.z.string().describe("The region where emails will be sent from.").nullable().optional(),
|
|
9
|
+
status: zod.z.string().describe("The status of the domain creation.").nullable().optional(),
|
|
10
|
+
records: zod.z.array(zod.z.unknown()).describe("The DNS records associated with the domain.").nullable().optional(),
|
|
11
|
+
created_at: zod.z.string().describe("The creation timestamp of the domain.").nullable().optional()
|
|
12
|
+
});
|
|
13
|
+
const resendRetrieveDomain = require_action.action("RESEND_RETRIEVE_DOMAIN", {
|
|
14
|
+
slug: "resend-retrieve-domain",
|
|
15
|
+
name: "Retrieve Domain",
|
|
16
|
+
description: "Retrieve a single domain.",
|
|
17
|
+
input: ResendRetrieveDomainInput,
|
|
18
|
+
output: ResendRetrieveDomainOutput
|
|
19
|
+
});
|
|
20
|
+
//#endregion
|
|
21
|
+
exports.resendRetrieveDomain = resendRetrieveDomain;
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=retrieve-domain.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"retrieve-domain.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-domain.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendRetrieveDomainInput: z.ZodTypeAny = z.object({\n domain_id: z.string().describe(\"The id of the domain to retrieve.\"),\n});\nexport const ResendRetrieveDomainOutput: z.ZodTypeAny = 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});\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":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO,EAC9D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,EACpE,CAAC;AACD,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC;AAED,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,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/retrieve-domain.d.ts
|
|
4
|
+
declare const ResendRetrieveDomainInput: z.ZodTypeAny;
|
|
5
|
+
declare const ResendRetrieveDomainOutput: z.ZodTypeAny;
|
|
6
|
+
declare const resendRetrieveDomain: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { resendRetrieveDomain };
|
|
9
|
+
//# sourceMappingURL=retrieve-domain.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"retrieve-domain.d.cts","names":[],"sources":["../../src/actions/retrieve-domain.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAExC;AAAA,cACW,0BAAA,EAA4B,CAAA,CAAE,UAOzC;AAAA,cAEW,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/retrieve-domain.d.ts
|
|
4
|
+
declare const ResendRetrieveDomainInput: z.ZodTypeAny;
|
|
5
|
+
declare const ResendRetrieveDomainOutput: z.ZodTypeAny;
|
|
6
|
+
declare const resendRetrieveDomain: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { resendRetrieveDomain };
|
|
9
|
+
//# sourceMappingURL=retrieve-domain.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"retrieve-domain.d.mts","names":[],"sources":["../../src/actions/retrieve-domain.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAExC;AAAA,cACW,0BAAA,EAA4B,CAAA,CAAE,UAOzC;AAAA,cAEW,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const resendRetrieveDomain = action("RESEND_RETRIEVE_DOMAIN", {
|
|
4
|
+
slug: "resend-retrieve-domain",
|
|
5
|
+
name: "Retrieve Domain",
|
|
6
|
+
description: "Retrieve a single domain.",
|
|
7
|
+
input: z.object({ domain_id: z.string().describe("The id of the domain to retrieve.") }),
|
|
8
|
+
output: z.object({
|
|
9
|
+
id: z.string().describe("The id of the created domain.").nullable().optional(),
|
|
10
|
+
name: z.string().describe("The name of the created domain.").nullable().optional(),
|
|
11
|
+
region: z.string().describe("The region where emails will be sent from.").nullable().optional(),
|
|
12
|
+
status: z.string().describe("The status of the domain creation.").nullable().optional(),
|
|
13
|
+
records: z.array(z.unknown()).describe("The DNS records associated with the domain.").nullable().optional(),
|
|
14
|
+
created_at: z.string().describe("The creation timestamp of the domain.").nullable().optional()
|
|
15
|
+
})
|
|
16
|
+
});
|
|
17
|
+
//#endregion
|
|
18
|
+
export { resendRetrieveDomain };
|
|
19
|
+
|
|
20
|
+
//# sourceMappingURL=retrieve-domain.mjs.map
|
|
@@ -0,0 +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: z.ZodTypeAny = z.object({\n domain_id: z.string().describe(\"The id of the domain to retrieve.\"),\n});\nexport const ResendRetrieveDomainOutput: z.ZodTypeAny = 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});\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,OAhBqD,EAAE,OAAO,EAC9D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,EACpE,CAcS;CACP,QAdsD,EAAE,OAAO;EAC/D,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,CAOU;AACV,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/retrieve-email.ts
|
|
4
|
+
const ResendRetrieveEmailInput = zod.z.object({ email_id: zod.z.string().describe("The id of the email to retrieve.") });
|
|
5
|
+
const ResendRetrieveEmailOutput = zod.z.object({
|
|
6
|
+
cc: zod.z.array(zod.z.string()).describe("The CC recipient email addresses.").nullable().optional(),
|
|
7
|
+
id: zod.z.string().describe("The id of the email.").nullable().optional(),
|
|
8
|
+
to: zod.z.array(zod.z.string()).describe("The recipient email addresses.").nullable().optional(),
|
|
9
|
+
bcc: zod.z.array(zod.z.string()).describe("The BCC recipient email addresses.").nullable().optional(),
|
|
10
|
+
from: zod.z.string().describe("The sender email address.").nullable().optional(),
|
|
11
|
+
html: zod.z.string().describe("The HTML content of the email.").nullable().optional(),
|
|
12
|
+
text: zod.z.string().describe("The plain text content of the email.").nullable().optional(),
|
|
13
|
+
object: zod.z.string().describe("The type of object, which is 'email'.").nullable().optional(),
|
|
14
|
+
subject: zod.z.string().describe("The subject of the email.").nullable().optional(),
|
|
15
|
+
reply_to: zod.z.array(zod.z.string()).describe("The reply-to email addresses.").nullable().optional(),
|
|
16
|
+
created_at: zod.z.string().describe("The creation timestamp of the email.").nullable().optional(),
|
|
17
|
+
last_event: zod.z.string().describe("The last event of the email.").nullable().optional()
|
|
18
|
+
});
|
|
19
|
+
const resendRetrieveEmail = require_action.action("RESEND_RETRIEVE_EMAIL", {
|
|
20
|
+
slug: "resend-retrieve-email",
|
|
21
|
+
name: "Retrieve Email",
|
|
22
|
+
description: "Retrieve a single email.",
|
|
23
|
+
input: ResendRetrieveEmailInput,
|
|
24
|
+
output: ResendRetrieveEmailOutput
|
|
25
|
+
});
|
|
26
|
+
//#endregion
|
|
27
|
+
exports.resendRetrieveEmail = resendRetrieveEmail;
|
|
28
|
+
|
|
29
|
+
//# sourceMappingURL=retrieve-email.cjs.map
|
|
@@ -0,0 +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: z.ZodTypeAny = z.object({\n email_id: z.string().describe(\"The id of the email to retrieve.\"),\n});\nexport const ResendRetrieveEmailOutput: z.ZodTypeAny = 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});\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,2BAAyCA,IAAAA,EAAE,OAAO,EAC7D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,EAClE,CAAC;AACD,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,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;AAED,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,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/retrieve-email.d.ts
|
|
4
|
+
declare const ResendRetrieveEmailInput: z.ZodTypeAny;
|
|
5
|
+
declare const ResendRetrieveEmailOutput: z.ZodTypeAny;
|
|
6
|
+
declare const resendRetrieveEmail: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { resendRetrieveEmail };
|
|
9
|
+
//# sourceMappingURL=retrieve-email.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"retrieve-email.d.cts","names":[],"sources":["../../src/actions/retrieve-email.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAEvC;AAAA,cACW,yBAAA,EAA2B,CAAA,CAAE,UAaxC;AAAA,cAEW,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/retrieve-email.d.ts
|
|
4
|
+
declare const ResendRetrieveEmailInput: z.ZodTypeAny;
|
|
5
|
+
declare const ResendRetrieveEmailOutput: z.ZodTypeAny;
|
|
6
|
+
declare const resendRetrieveEmail: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { resendRetrieveEmail };
|
|
9
|
+
//# sourceMappingURL=retrieve-email.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"retrieve-email.d.mts","names":[],"sources":["../../src/actions/retrieve-email.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAEvC;AAAA,cACW,yBAAA,EAA2B,CAAA,CAAE,UAaxC;AAAA,cAEW,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const resendRetrieveEmail = action("RESEND_RETRIEVE_EMAIL", {
|
|
4
|
+
slug: "resend-retrieve-email",
|
|
5
|
+
name: "Retrieve Email",
|
|
6
|
+
description: "Retrieve a single email.",
|
|
7
|
+
input: z.object({ email_id: z.string().describe("The id of the email to retrieve.") }),
|
|
8
|
+
output: z.object({
|
|
9
|
+
cc: z.array(z.string()).describe("The CC recipient email addresses.").nullable().optional(),
|
|
10
|
+
id: z.string().describe("The id of the email.").nullable().optional(),
|
|
11
|
+
to: z.array(z.string()).describe("The recipient email addresses.").nullable().optional(),
|
|
12
|
+
bcc: z.array(z.string()).describe("The BCC recipient email addresses.").nullable().optional(),
|
|
13
|
+
from: z.string().describe("The sender email address.").nullable().optional(),
|
|
14
|
+
html: z.string().describe("The HTML content of the email.").nullable().optional(),
|
|
15
|
+
text: z.string().describe("The plain text content of the email.").nullable().optional(),
|
|
16
|
+
object: z.string().describe("The type of object, which is 'email'.").nullable().optional(),
|
|
17
|
+
subject: z.string().describe("The subject of the email.").nullable().optional(),
|
|
18
|
+
reply_to: z.array(z.string()).describe("The reply-to email addresses.").nullable().optional(),
|
|
19
|
+
created_at: z.string().describe("The creation timestamp of the email.").nullable().optional(),
|
|
20
|
+
last_event: z.string().describe("The last event of the email.").nullable().optional()
|
|
21
|
+
})
|
|
22
|
+
});
|
|
23
|
+
//#endregion
|
|
24
|
+
export { resendRetrieveEmail };
|
|
25
|
+
|
|
26
|
+
//# sourceMappingURL=retrieve-email.mjs.map
|
|
@@ -0,0 +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: z.ZodTypeAny = z.object({\n email_id: z.string().describe(\"The id of the email to retrieve.\"),\n});\nexport const ResendRetrieveEmailOutput: z.ZodTypeAny = 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});\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,OAtBoD,EAAE,OAAO,EAC7D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,EAClE,CAoBS;CACP,QApBqD,EAAE,OAAO;EAC9D,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,CAOU;AACV,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/send-batch-emails.ts
|
|
4
|
+
const ResendSendBatchEmailsInput = zod.z.object({
|
|
5
|
+
emails: zod.z.array(zod.z.object({
|
|
6
|
+
cc: zod.z.union([zod.z.string(), zod.z.array(zod.z.string())]).optional(),
|
|
7
|
+
to: zod.z.union([zod.z.string(), zod.z.array(zod.z.string())]),
|
|
8
|
+
bcc: zod.z.union([zod.z.string(), zod.z.array(zod.z.string())]).optional(),
|
|
9
|
+
from: zod.z.string().describe("Sender email address. To include a name, use the format 'Your Name <sender@domain.com>'."),
|
|
10
|
+
html: zod.z.string().describe("The HTML version of the message. At least one of 'html' or 'text' must be provided.").optional(),
|
|
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.object({}).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
|
+
subject: zod.z.string().describe("Email subject."),
|
|
14
|
+
reply_to: zod.z.union([zod.z.string(), zod.z.array(zod.z.string())]).optional(),
|
|
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."),
|
|
17
|
+
"Idempotency-Key": zod.z.string().describe("A unique identifier for the request to ensure emails are only sent once.").optional()
|
|
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.");
|
|
21
|
+
const resendSendBatchEmails = require_action.action("RESEND_SEND_BATCH_EMAILS", {
|
|
22
|
+
slug: "resend-send-batch-emails",
|
|
23
|
+
name: "Send Batch Emails",
|
|
24
|
+
description: "Trigger up to 100 batch emails at once. Use when you need to send multiple emails in a single API request.",
|
|
25
|
+
input: ResendSendBatchEmailsInput,
|
|
26
|
+
output: ResendSendBatchEmailsOutput
|
|
27
|
+
});
|
|
28
|
+
//#endregion
|
|
29
|
+
exports.resendSendBatchEmails = resendSendBatchEmails;
|
|
30
|
+
|
|
31
|
+
//# sourceMappingURL=send-batch-emails.cjs.map
|
|
@@ -0,0 +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: z.ZodTypeAny = 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.object({}).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}).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.ZodTypeAny = z.object({\n id: z.string().describe(\"The id of the sent email.\").nullable().optional(),\n}).describe(\"Individual email ID in batch response.\");\nexport const ResendSendBatchEmailsOutput: z.ZodTypeAny = z.object({\n data: z.array(ResendSendBatchEmails_BatchEmailIdResponseSchema).describe(\"List of email IDs for the batch sent emails.\").nullable().optional(),\n}).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,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,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,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,4HAA4H,CAAC,CAAC,SAAS;EACtK,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,SAAS,qCAAqC,CAAC,CAAC,CAAC,SAAS,qEAAqE;CAChI,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,mDAAiEA,IAAAA,EAAE,OAAO,EAC9E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC3E,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAa,8BAA4CA,IAAAA,EAAE,OAAO,EAChE,MAAMA,IAAAA,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC/I,CAAC,CAAC,CAAC,SAAS,yCAAyC;AAErD,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,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/send-batch-emails.d.ts
|
|
4
|
+
declare const ResendSendBatchEmailsInput: z.ZodTypeAny;
|
|
5
|
+
declare const ResendSendBatchEmailsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const resendSendBatchEmails: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { resendSendBatchEmails };
|
|
9
|
+
//# sourceMappingURL=send-batch-emails.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"send-batch-emails.d.cts","names":[],"sources":["../../src/actions/send-batch-emails.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAcW;AAAA,cAIzC,2BAAA,EAA6B,CAAA,CAAE,UAEU;AAAA,cAEzC,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/send-batch-emails.d.ts
|
|
4
|
+
declare const ResendSendBatchEmailsInput: z.ZodTypeAny;
|
|
5
|
+
declare const ResendSendBatchEmailsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const resendSendBatchEmails: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { resendSendBatchEmails };
|
|
9
|
+
//# sourceMappingURL=send-batch-emails.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"send-batch-emails.d.mts","names":[],"sources":["../../src/actions/send-batch-emails.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAcW;AAAA,cAIzC,2BAAA,EAA6B,CAAA,CAAE,UAEU;AAAA,cAEzC,qBAAA,gCAAqB,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/send-batch-emails.ts
|
|
4
|
+
const ResendSendBatchEmailsInput = z.object({
|
|
5
|
+
emails: z.array(z.object({
|
|
6
|
+
cc: z.union([z.string(), z.array(z.string())]).optional(),
|
|
7
|
+
to: z.union([z.string(), z.array(z.string())]),
|
|
8
|
+
bcc: z.union([z.string(), z.array(z.string())]).optional(),
|
|
9
|
+
from: z.string().describe("Sender email address. To include a name, use the format 'Your Name <sender@domain.com>'."),
|
|
10
|
+
html: z.string().describe("The HTML version of the message. At least one of 'html' or 'text' must be provided.").optional(),
|
|
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.object({}).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
|
+
subject: z.string().describe("Email subject."),
|
|
14
|
+
reply_to: z.union([z.string(), z.array(z.string())]).optional(),
|
|
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."),
|
|
17
|
+
"Idempotency-Key": z.string().describe("A unique identifier for the request to ensure emails are only sent once.").optional()
|
|
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.");
|
|
20
|
+
const resendSendBatchEmails = action("RESEND_SEND_BATCH_EMAILS", {
|
|
21
|
+
slug: "resend-send-batch-emails",
|
|
22
|
+
name: "Send Batch Emails",
|
|
23
|
+
description: "Trigger up to 100 batch emails at once. Use when you need to send multiple emails in a single API request.",
|
|
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.")
|
|
26
|
+
});
|
|
27
|
+
//#endregion
|
|
28
|
+
export { resendSendBatchEmails };
|
|
29
|
+
|
|
30
|
+
//# sourceMappingURL=send-batch-emails.mjs.map
|
|
@@ -0,0 +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: z.ZodTypeAny = 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.object({}).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}).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.ZodTypeAny = z.object({\n id: z.string().describe(\"The id of the sent email.\").nullable().optional(),\n}).describe(\"Individual email ID in batch response.\");\nexport const ResendSendBatchEmailsOutput: z.ZodTypeAny = z.object({\n data: z.array(ResendSendBatchEmails_BatchEmailIdResponseSchema).describe(\"List of email IDs for the batch sent emails.\").nullable().optional(),\n}).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,6BAA2C,EAAE,OAAO;CAC/D,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,CAAC,CAAC,CAAC,CAAC,SAAS,4HAA4H,CAAC,CAAC,SAAS;EACtK,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,SAAS,qCAAqC,CAAC,CAAC,CAAC,SAAS,qEAAqE;CAChI,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,mDAAiE,EAAE,OAAO,EAC9E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC3E,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAKpD,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATuD,EAAE,OAAO,EAChE,MAAM,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC/I,CAAC,CAAC,CAAC,SAAS,yCAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/send-email.ts
|
|
4
|
+
const ResendSendEmailInput = zod.z.object({
|
|
5
|
+
cc: zod.z.union([zod.z.string(), zod.z.array(zod.z.string())]).optional(),
|
|
6
|
+
to: zod.z.union([zod.z.string(), zod.z.array(zod.z.string())]),
|
|
7
|
+
bcc: zod.z.union([zod.z.string(), zod.z.array(zod.z.string())]).optional(),
|
|
8
|
+
from: zod.z.string().describe("Sender email address. To include a name, use the format 'Your Name <sender@domain.com>'."),
|
|
9
|
+
html: zod.z.string().describe("The HTML version of the message. At least one of 'html' or 'text' must be provided.").optional(),
|
|
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
|
+
react: zod.z.string().describe("The React version of the message. Only available in the Node.js SDK.").optional(),
|
|
12
|
+
headers: zod.z.object({}).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
|
+
subject: zod.z.string().describe("Email subject."),
|
|
14
|
+
reply_to: zod.z.union([zod.z.string(), zod.z.array(zod.z.string())]).optional(),
|
|
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
|
+
});
|
|
17
|
+
const ResendSendEmailOutput = zod.z.object({
|
|
18
|
+
id: zod.z.string().describe("The id of the sent email.").nullable().optional(),
|
|
19
|
+
object: zod.z.string().describe("The type of object, which is 'email'.").nullable().optional()
|
|
20
|
+
});
|
|
21
|
+
const resendSendEmail = require_action.action("RESEND_SEND_EMAIL", {
|
|
22
|
+
slug: "resend-send-email",
|
|
23
|
+
name: "Send Email",
|
|
24
|
+
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`.",
|
|
25
|
+
input: ResendSendEmailInput,
|
|
26
|
+
output: ResendSendEmailOutput
|
|
27
|
+
});
|
|
28
|
+
//#endregion
|
|
29
|
+
exports.resendSendEmail = resendSendEmail;
|
|
30
|
+
|
|
31
|
+
//# sourceMappingURL=send-email.cjs.map
|
|
@@ -0,0 +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: z.ZodTypeAny = 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.object({}).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.ZodTypeAny = 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});\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,uBAAqCA,IAAAA,EAAE,OAAO;CACzD,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,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0JAA0J,CAAC,CAAC,SAAS;CACpM,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,wBAAsCA,IAAAA,EAAE,OAAO;CAC1D,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;AAED,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,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/send-email.d.ts
|
|
4
|
+
declare const ResendSendEmailInput: z.ZodTypeAny;
|
|
5
|
+
declare const ResendSendEmailOutput: z.ZodTypeAny;
|
|
6
|
+
declare const resendSendEmail: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { resendSendEmail };
|
|
9
|
+
//# sourceMappingURL=send-email.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"send-email.d.cts","names":[],"sources":["../../src/actions/send-email.ts"],"mappings":";;;cAIa,oBAAA,EAAsB,CAAA,CAAE,UAYnC;AAAA,cACW,qBAAA,EAAuB,CAAA,CAAE,UAGpC;AAAA,cAEW,eAAA,gCAAe,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/send-email.d.ts
|
|
4
|
+
declare const ResendSendEmailInput: z.ZodTypeAny;
|
|
5
|
+
declare const ResendSendEmailOutput: z.ZodTypeAny;
|
|
6
|
+
declare const resendSendEmail: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { resendSendEmail };
|
|
9
|
+
//# sourceMappingURL=send-email.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"send-email.d.mts","names":[],"sources":["../../src/actions/send-email.ts"],"mappings":";;;cAIa,oBAAA,EAAsB,CAAA,CAAE,UAYnC;AAAA,cACW,qBAAA,EAAuB,CAAA,CAAE,UAGpC;AAAA,cAEW,eAAA,gCAAe,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const resendSendEmail = action("RESEND_SEND_EMAIL", {
|
|
4
|
+
slug: "resend-send-email",
|
|
5
|
+
name: "Send Email",
|
|
6
|
+
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`.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
cc: z.union([z.string(), z.array(z.string())]).optional(),
|
|
9
|
+
to: z.union([z.string(), z.array(z.string())]),
|
|
10
|
+
bcc: z.union([z.string(), z.array(z.string())]).optional(),
|
|
11
|
+
from: z.string().describe("Sender email address. To include a name, use the format 'Your Name <sender@domain.com>'."),
|
|
12
|
+
html: z.string().describe("The HTML version of the message. At least one of 'html' or 'text' must be provided.").optional(),
|
|
13
|
+
text: z.string().describe("The plain text version of the message. At least one of 'html' or 'text' must be provided.").optional(),
|
|
14
|
+
react: z.string().describe("The React version of the message. Only available in the Node.js SDK.").optional(),
|
|
15
|
+
headers: z.object({}).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
|
+
subject: z.string().describe("Email subject."),
|
|
17
|
+
reply_to: z.union([z.string(), z.array(z.string())]).optional(),
|
|
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()
|
|
19
|
+
}),
|
|
20
|
+
output: z.object({
|
|
21
|
+
id: z.string().describe("The id of the sent email.").nullable().optional(),
|
|
22
|
+
object: z.string().describe("The type of object, which is 'email'.").nullable().optional()
|
|
23
|
+
})
|
|
24
|
+
});
|
|
25
|
+
//#endregion
|
|
26
|
+
export { resendSendEmail };
|
|
27
|
+
|
|
28
|
+
//# sourceMappingURL=send-email.mjs.map
|
|
@@ -0,0 +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: z.ZodTypeAny = 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.object({}).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.ZodTypeAny = 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});\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,OAtBgD,EAAE,OAAO;EACzD,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,CAAC,CAAC,CAAC,CAAC,SAAS,0JAA0J,CAAC,CAAC,SAAS;EACpM,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,QAViD,EAAE,OAAO;EAC1D,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,CAOU;AACV,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/update-broadcast.ts
|
|
4
|
+
const ResendUpdateBroadcastInput = zod.z.object({
|
|
5
|
+
id: zod.z.string().describe("The Broadcast ID to update."),
|
|
6
|
+
from: zod.z.string().describe("The email address of the sender.").optional(),
|
|
7
|
+
html: zod.z.string().describe("The HTML version of the message.").optional(),
|
|
8
|
+
name: zod.z.string().describe("Name of the broadcast.").optional(),
|
|
9
|
+
text: zod.z.string().describe("The plain text version of the message.").optional(),
|
|
10
|
+
subject: zod.z.string().describe("The subject line of the email.").optional(),
|
|
11
|
+
reply_to: zod.z.array(zod.z.string()).describe("The email addresses to which replies should be sent.").optional(),
|
|
12
|
+
segment_id: zod.z.string().describe("Unique identifier of the segment this broadcast will be sent to.").optional(),
|
|
13
|
+
audience_id: zod.z.string().describe("Unique identifier of the audience this broadcast will be sent to.").optional(),
|
|
14
|
+
preview_text: zod.z.string().describe("The preview text of the email.").optional()
|
|
15
|
+
});
|
|
16
|
+
const ResendUpdateBroadcastOutput = zod.z.object({
|
|
17
|
+
id: zod.z.string().describe("The ID of the broadcast.").nullable().optional(),
|
|
18
|
+
object: zod.z.string().describe("The object type of the response.").nullable().optional()
|
|
19
|
+
});
|
|
20
|
+
const resendUpdateBroadcast = require_action.action("RESEND_UPDATE_BROADCAST", {
|
|
21
|
+
slug: "resend-update-broadcast",
|
|
22
|
+
name: "Update Broadcast",
|
|
23
|
+
description: "Update an existing broadcast in Resend. Use when you need to modify broadcast details like name, subject, content, or recipients.",
|
|
24
|
+
input: ResendUpdateBroadcastInput,
|
|
25
|
+
output: ResendUpdateBroadcastOutput
|
|
26
|
+
});
|
|
27
|
+
//#endregion
|
|
28
|
+
exports.resendUpdateBroadcast = resendUpdateBroadcast;
|
|
29
|
+
|
|
30
|
+
//# sourceMappingURL=update-broadcast.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-broadcast.cjs","names":["z","action"],"sources":["../../src/actions/update-broadcast.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendUpdateBroadcastInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The Broadcast ID to update.\"),\n from: z.string().describe(\"The email address of the sender.\").optional(),\n html: z.string().describe(\"The HTML version of the message.\").optional(),\n name: z.string().describe(\"Name of the broadcast.\").optional(),\n text: z.string().describe(\"The plain text version of the message.\").optional(),\n subject: z.string().describe(\"The subject line of the email.\").optional(),\n reply_to: z.array(z.string()).describe(\"The email addresses to which replies should be sent.\").optional(),\n segment_id: z.string().describe(\"Unique identifier of the segment this broadcast will be sent to.\").optional(),\n audience_id: z.string().describe(\"Unique identifier of the audience this broadcast will be sent to.\").optional(),\n preview_text: z.string().describe(\"The preview text of the email.\").optional(),\n});\nexport const ResendUpdateBroadcastOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The ID of the broadcast.\").nullable().optional(),\n object: z.string().describe(\"The object type of the response.\").nullable().optional(),\n});\n\nexport const resendUpdateBroadcast = action(\"RESEND_UPDATE_BROADCAST\", {\n slug: \"resend-update-broadcast\",\n name: \"Update Broadcast\",\n description: \"Update an existing broadcast in Resend. Use when you need to modify broadcast details like name, subject, content, or recipients.\",\n input: ResendUpdateBroadcastInput,\n output: ResendUpdateBroadcastOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC7E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACxE,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACxG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC7G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CAC/G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AAC/E,CAAC;AACD,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC;AAED,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,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/update-broadcast.d.ts
|
|
4
|
+
declare const ResendUpdateBroadcastInput: z.ZodTypeAny;
|
|
5
|
+
declare const ResendUpdateBroadcastOutput: z.ZodTypeAny;
|
|
6
|
+
declare const resendUpdateBroadcast: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { resendUpdateBroadcast };
|
|
9
|
+
//# sourceMappingURL=update-broadcast.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-broadcast.d.cts","names":[],"sources":["../../src/actions/update-broadcast.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAWzC;AAAA,cACW,2BAAA,EAA6B,CAAA,CAAE,UAG1C;AAAA,cAEW,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/update-broadcast.d.ts
|
|
4
|
+
declare const ResendUpdateBroadcastInput: z.ZodTypeAny;
|
|
5
|
+
declare const ResendUpdateBroadcastOutput: z.ZodTypeAny;
|
|
6
|
+
declare const resendUpdateBroadcast: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { resendUpdateBroadcast };
|
|
9
|
+
//# sourceMappingURL=update-broadcast.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-broadcast.d.mts","names":[],"sources":["../../src/actions/update-broadcast.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAWzC;AAAA,cACW,2BAAA,EAA6B,CAAA,CAAE,UAG1C;AAAA,cAEW,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const resendUpdateBroadcast = action("RESEND_UPDATE_BROADCAST", {
|
|
4
|
+
slug: "resend-update-broadcast",
|
|
5
|
+
name: "Update Broadcast",
|
|
6
|
+
description: "Update an existing broadcast in Resend. Use when you need to modify broadcast details like name, subject, content, or recipients.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
id: z.string().describe("The Broadcast ID to update."),
|
|
9
|
+
from: z.string().describe("The email address of the sender.").optional(),
|
|
10
|
+
html: z.string().describe("The HTML version of the message.").optional(),
|
|
11
|
+
name: z.string().describe("Name of the broadcast.").optional(),
|
|
12
|
+
text: z.string().describe("The plain text version of the message.").optional(),
|
|
13
|
+
subject: z.string().describe("The subject line of the email.").optional(),
|
|
14
|
+
reply_to: z.array(z.string()).describe("The email addresses to which replies should be sent.").optional(),
|
|
15
|
+
segment_id: z.string().describe("Unique identifier of the segment this broadcast will be sent to.").optional(),
|
|
16
|
+
audience_id: z.string().describe("Unique identifier of the audience this broadcast will be sent to.").optional(),
|
|
17
|
+
preview_text: z.string().describe("The preview text of the email.").optional()
|
|
18
|
+
}),
|
|
19
|
+
output: z.object({
|
|
20
|
+
id: z.string().describe("The ID of the broadcast.").nullable().optional(),
|
|
21
|
+
object: z.string().describe("The object type of the response.").nullable().optional()
|
|
22
|
+
})
|
|
23
|
+
});
|
|
24
|
+
//#endregion
|
|
25
|
+
export { resendUpdateBroadcast };
|
|
26
|
+
|
|
27
|
+
//# sourceMappingURL=update-broadcast.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-broadcast.mjs","names":[],"sources":["../../src/actions/update-broadcast.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendUpdateBroadcastInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The Broadcast ID to update.\"),\n from: z.string().describe(\"The email address of the sender.\").optional(),\n html: z.string().describe(\"The HTML version of the message.\").optional(),\n name: z.string().describe(\"Name of the broadcast.\").optional(),\n text: z.string().describe(\"The plain text version of the message.\").optional(),\n subject: z.string().describe(\"The subject line of the email.\").optional(),\n reply_to: z.array(z.string()).describe(\"The email addresses to which replies should be sent.\").optional(),\n segment_id: z.string().describe(\"Unique identifier of the segment this broadcast will be sent to.\").optional(),\n audience_id: z.string().describe(\"Unique identifier of the audience this broadcast will be sent to.\").optional(),\n preview_text: z.string().describe(\"The preview text of the email.\").optional(),\n});\nexport const ResendUpdateBroadcastOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The ID of the broadcast.\").nullable().optional(),\n object: z.string().describe(\"The object type of the response.\").nullable().optional(),\n});\n\nexport const resendUpdateBroadcast = action(\"RESEND_UPDATE_BROADCAST\", {\n slug: \"resend-update-broadcast\",\n name: \"Update Broadcast\",\n description: \"Update an existing broadcast in Resend. Use when you need to modify broadcast details like name, subject, content, or recipients.\",\n input: ResendUpdateBroadcastInput,\n output: ResendUpdateBroadcastOutput,\n});\n"],"mappings":";;AAqBA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArBsD,EAAE,OAAO;EAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;EACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EAC7E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACxE,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EACxG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;EAC7G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;EAC/G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC/E,CAUS;CACP,QAVuD,EAAE,OAAO;EAChE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,CAOU;AACV,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/update-contact-property.ts
|
|
4
|
+
const ResendUpdateContactPropertyInput = zod.z.object({
|
|
5
|
+
fallback_value: zod.z.union([
|
|
6
|
+
zod.z.string(),
|
|
7
|
+
zod.z.number().int(),
|
|
8
|
+
zod.z.number()
|
|
9
|
+
]).optional(),
|
|
10
|
+
contact_property_id: zod.z.string().describe("The Contact Property ID to update.")
|
|
11
|
+
});
|
|
12
|
+
const ResendUpdateContactPropertyOutput = zod.z.object({
|
|
13
|
+
id: zod.z.string().describe("The ID of the contact property.").nullable().optional(),
|
|
14
|
+
object: zod.z.string().describe("The object type, which is 'contact_property'.").nullable().optional()
|
|
15
|
+
});
|
|
16
|
+
const resendUpdateContactProperty = require_action.action("RESEND_UPDATE_CONTACT_PROPERTY", {
|
|
17
|
+
slug: "resend-update-contact-property",
|
|
18
|
+
name: "Update Contact Property",
|
|
19
|
+
description: "Update an existing contact property in Resend. Only the fallback_value can be updated; the key and type fields cannot be changed after creation.",
|
|
20
|
+
input: ResendUpdateContactPropertyInput,
|
|
21
|
+
output: ResendUpdateContactPropertyOutput
|
|
22
|
+
});
|
|
23
|
+
//#endregion
|
|
24
|
+
exports.resendUpdateContactProperty = resendUpdateContactProperty;
|
|
25
|
+
|
|
26
|
+
//# sourceMappingURL=update-contact-property.cjs.map
|