@keystrokehq/resend 0.0.16 → 0.1.2
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 +17 -0
- package/dist/actions/add-contact-to-segment.d.cts.map +1 -0
- package/dist/actions/add-contact-to-segment.d.mts +17 -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 +16 -0
- package/dist/actions/cancel-email.d.cts.map +1 -0
- package/dist/actions/cancel-email.d.mts +16 -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 +23 -0
- package/dist/actions/create-api-key.d.cts.map +1 -0
- package/dist/actions/create-api-key.d.mts +23 -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 +17 -0
- package/dist/actions/create-audience.d.cts.map +1 -0
- package/dist/actions/create-audience.d.mts +17 -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 +23 -0
- package/dist/actions/create-contact-property.d.cts.map +1 -0
- package/dist/actions/create-contact-property.d.mts +23 -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 +47 -0
- package/dist/actions/create-contact-v2.d.cts.map +1 -0
- package/dist/actions/create-contact-v2.d.mts +47 -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 +24 -0
- package/dist/actions/create-contact.d.cts.map +1 -0
- package/dist/actions/create-contact.d.mts +24 -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 +39 -0
- package/dist/actions/create-domain.d.cts.map +1 -0
- package/dist/actions/create-domain.d.mts +39 -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 +41 -0
- package/dist/actions/create-template.d.cts.map +1 -0
- package/dist/actions/create-template.d.mts +41 -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 +28 -0
- package/dist/actions/create-topic.d.cts.map +1 -0
- package/dist/actions/create-topic.d.mts +28 -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 +19 -0
- package/dist/actions/create-webhook.d.cts.map +1 -0
- package/dist/actions/create-webhook.d.mts +19 -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 +17 -0
- package/dist/actions/delete-api-key.d.cts.map +1 -0
- package/dist/actions/delete-api-key.d.mts +17 -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 +16 -0
- package/dist/actions/delete-audience.d.cts.map +1 -0
- package/dist/actions/delete-audience.d.mts +16 -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 +17 -0
- package/dist/actions/delete-contact-by-id.d.cts.map +1 -0
- package/dist/actions/delete-contact-by-id.d.mts +17 -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 +17 -0
- package/dist/actions/delete-contact-property.d.cts.map +1 -0
- package/dist/actions/delete-contact-property.d.mts +17 -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 +21 -0
- package/dist/actions/delete-contact.d.cts.map +1 -0
- package/dist/actions/delete-contact.d.mts +21 -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 +17 -0
- package/dist/actions/delete-domain.d.cts.map +1 -0
- package/dist/actions/delete-domain.d.mts +17 -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 +17 -0
- package/dist/actions/delete-segment.d.cts.map +1 -0
- package/dist/actions/delete-segment.d.mts +17 -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 +17 -0
- package/dist/actions/delete-template.d.cts.map +1 -0
- package/dist/actions/delete-template.d.mts +17 -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 +17 -0
- package/dist/actions/delete-topic.d.cts.map +1 -0
- package/dist/actions/delete-topic.d.mts +17 -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 +17 -0
- package/dist/actions/delete-webhook.d.cts.map +1 -0
- package/dist/actions/delete-webhook.d.mts +17 -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 +16 -0
- package/dist/actions/duplicate-template.d.cts.map +1 -0
- package/dist/actions/duplicate-template.d.mts +16 -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 +20 -0
- package/dist/actions/get-contact-property.d.cts.map +1 -0
- package/dist/actions/get-contact-property.d.mts +20 -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 +22 -0
- package/dist/actions/get-contact.d.cts.map +1 -0
- package/dist/actions/get-contact.d.mts +22 -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 +28 -0
- package/dist/actions/get-email-attachment.d.cts.map +1 -0
- package/dist/actions/get-email-attachment.d.mts +28 -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 +20 -0
- package/dist/actions/get-segment.d.cts.map +1 -0
- package/dist/actions/get-segment.d.mts +20 -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 +40 -0
- package/dist/actions/get-template.d.cts.map +1 -0
- package/dist/actions/get-template.d.mts +40 -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 +19 -0
- package/dist/actions/get-topic.d.cts.map +1 -0
- package/dist/actions/get-topic.d.mts +19 -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 +21 -0
- package/dist/actions/get-webhook.d.cts.map +1 -0
- package/dist/actions/get-webhook.d.mts +21 -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 +28 -0
- package/dist/actions/list-all-contacts.d.cts.map +1 -0
- package/dist/actions/list-all-contacts.d.mts +28 -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 +25 -0
- package/dist/actions/list-api-keys.d.cts.map +1 -0
- package/dist/actions/list-api-keys.d.mts +25 -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 +25 -0
- package/dist/actions/list-audiences.d.cts.map +1 -0
- package/dist/actions/list-audiences.d.mts +25 -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 +28 -0
- package/dist/actions/list-broadcasts.d.cts.map +1 -0
- package/dist/actions/list-broadcasts.d.mts +28 -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 +27 -0
- package/dist/actions/list-contact-properties.d.cts.map +1 -0
- package/dist/actions/list-contact-properties.d.mts +27 -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 +27 -0
- package/dist/actions/list-contact-segments.d.cts.map +1 -0
- package/dist/actions/list-contact-segments.d.mts +27 -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 +28 -0
- package/dist/actions/list-contact-topics.d.cts.map +1 -0
- package/dist/actions/list-contact-topics.d.mts +28 -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 +30 -0
- package/dist/actions/list-contacts.d.cts.map +1 -0
- package/dist/actions/list-contacts.d.mts +30 -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 +17 -0
- package/dist/actions/list-domains.d.cts.map +1 -0
- package/dist/actions/list-domains.d.mts +17 -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 +32 -0
- package/dist/actions/list-email-attachments.d.cts.map +1 -0
- package/dist/actions/list-email-attachments.d.mts +32 -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 +34 -0
- package/dist/actions/list-emails.d.cts.map +1 -0
- package/dist/actions/list-emails.d.mts +34 -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 +32 -0
- package/dist/actions/list-received-emails.d.cts.map +1 -0
- package/dist/actions/list-received-emails.d.mts +32 -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 +26 -0
- package/dist/actions/list-segments.d.cts.map +1 -0
- package/dist/actions/list-segments.d.mts +26 -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 +29 -0
- package/dist/actions/list-templates.d.cts.map +1 -0
- package/dist/actions/list-templates.d.mts +29 -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 +26 -0
- package/dist/actions/list-topics.d.cts.map +1 -0
- package/dist/actions/list-topics.d.mts +26 -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 +27 -0
- package/dist/actions/list-webhooks.d.cts.map +1 -0
- package/dist/actions/list-webhooks.d.mts +27 -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 +16 -0
- package/dist/actions/publish-template.d.cts.map +1 -0
- package/dist/actions/publish-template.d.mts +16 -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 +18 -0
- package/dist/actions/remove-contact-from-segment.d.cts.map +1 -0
- package/dist/actions/remove-contact-from-segment.d.mts +18 -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 +18 -0
- package/dist/actions/retrieve-audience.d.cts.map +1 -0
- package/dist/actions/retrieve-audience.d.mts +18 -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 +23 -0
- package/dist/actions/retrieve-contact.d.cts.map +1 -0
- package/dist/actions/retrieve-contact.d.mts +23 -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 +20 -0
- package/dist/actions/retrieve-domain.d.cts.map +1 -0
- package/dist/actions/retrieve-domain.d.mts +20 -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 +26 -0
- package/dist/actions/retrieve-email.d.cts.map +1 -0
- package/dist/actions/retrieve-email.d.mts +26 -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 +41 -0
- package/dist/actions/send-batch-emails.d.cts.map +1 -0
- package/dist/actions/send-batch-emails.d.mts +41 -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 +36 -0
- package/dist/actions/send-email.d.cts.map +1 -0
- package/dist/actions/send-email.d.mts +36 -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 +34 -0
- package/dist/actions/update-broadcast.d.cts.map +1 -0
- package/dist/actions/update-broadcast.d.mts +34 -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 +18 -0
- package/dist/actions/update-contact-property.d.cts.map +1 -0
- package/dist/actions/update-contact-property.d.mts +18 -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 +22 -0
- package/dist/actions/update-contact.d.cts.map +1 -0
- package/dist/actions/update-contact.d.mts +22 -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 +29 -0
- package/dist/actions/update-domain.d.cts.map +1 -0
- package/dist/actions/update-domain.d.mts +29 -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 +18 -0
- package/dist/actions/update-email.d.cts.map +1 -0
- package/dist/actions/update-email.d.mts +18 -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 +40 -0
- package/dist/actions/update-template.d.cts.map +1 -0
- package/dist/actions/update-template.d.mts +40 -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 +18 -0
- package/dist/actions/update-topic.d.cts.map +1 -0
- package/dist/actions/update-topic.d.mts +18 -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 +25 -0
- package/dist/actions/update-webhook.d.cts.map +1 -0
- package/dist/actions/update-webhook.d.mts +25 -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 +16 -0
- package/dist/actions/verify-domain.d.cts.map +1 -0
- package/dist/actions/verify-domain.d.mts +16 -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 +21 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +22 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +22 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +21 -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
package/README.md
CHANGED
|
@@ -1,80 +1,17 @@
|
|
|
1
1
|
# @keystrokehq/resend
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Keystroke-managed integration.
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
| Subpath | Contents |
|
|
10
|
-
|---------|----------|
|
|
11
|
-
| `@keystrokehq/resend` | Re-exports credential sets, operations, and schemas |
|
|
12
|
-
| `@keystrokehq/resend/credential-sets` | `resendCredentialSet`, `ResendCredentials` |
|
|
13
|
-
| `@keystrokehq/resend/operations` | 66 `Operation` primitives (one file per operation under `src/operations/`) |
|
|
14
|
-
| `@keystrokehq/resend/schemas` | Shared Zod schemas, webhook event envelopes, domain response shapes |
|
|
15
|
-
|
|
16
|
-
Internal helpers live under `src/utils/` (`createResendClient`, Svix webhook verification). They are not public package exports.
|
|
17
|
-
|
|
18
|
-
## Credentials
|
|
19
|
-
|
|
20
|
-
Single user credential set id: **`resend`**.
|
|
21
|
-
|
|
22
|
-
Required:
|
|
23
|
-
|
|
24
|
-
- `RESEND_API_KEY` — API key from the Resend dashboard (`re_…` prefix).
|
|
25
|
-
|
|
26
|
-
Optional:
|
|
27
|
-
|
|
28
|
-
- `RESEND_WEBHOOK_SIGNING_SECRETS` — map of `{ endpointId: whsec_… }` per webhook endpoint. Populate when registering webhooks (`create-resend-webhook` returns a signing secret) so inbound Svix payloads can be verified at runtime.
|
|
29
|
-
|
|
30
|
-
There is no OAuth flow. API keys are team-scoped.
|
|
31
|
-
|
|
32
|
-
## Quickstart
|
|
5
|
+
**App:** `resend`
|
|
6
|
+
**Version:** `20260615_00`
|
|
7
|
+
**Actions:** 62
|
|
33
8
|
|
|
34
9
|
```ts
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import { resendWebhookEventSchema } from '@keystrokehq/resend/schemas';
|
|
38
|
-
```
|
|
10
|
+
import { defineAgent } from "@keystrokehq/keystroke/agent";
|
|
11
|
+
import { resendAddContactToSegment } from "@keystrokehq/resend/actions";
|
|
39
12
|
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|--------|------:|
|
|
46
|
-
| emails (sent) | 8 |
|
|
47
|
-
| emails (receiving) | 4 |
|
|
48
|
-
| broadcasts | 6 |
|
|
49
|
-
| contacts | 10 |
|
|
50
|
-
| contact-properties | 5 |
|
|
51
|
-
| segments | 5 |
|
|
52
|
-
| templates | 7 |
|
|
53
|
-
| topics | 5 |
|
|
54
|
-
| domains | 6 |
|
|
55
|
-
| api-keys | 3 |
|
|
56
|
-
| webhooks (endpoint CRUD) | 5 |
|
|
57
|
-
| logs | 2 |
|
|
58
|
-
|
|
59
|
-
Webhook **endpoint CRUD** lives in `./operations`. Event payload schemas live in `./schemas` (`events.ts`). Svix verification helpers are internal (`src/utils/verification.ts`).
|
|
60
|
-
|
|
61
|
-
## Safety model
|
|
62
|
-
|
|
63
|
-
Writes and deletes default to `needsApproval: true`. Read-only list/retrieve operations do not.
|
|
64
|
-
|
|
65
|
-
## Caveats
|
|
66
|
-
|
|
67
|
-
- **User-Agent is mandatory.** Missing `User-Agent` returns HTTP 403 (error code 1010). The internal client sets one automatically.
|
|
68
|
-
- **Rate limit.** Default 5 req/s per team — implement backoff or use `Idempotency-Key` on send operations.
|
|
69
|
-
- **React rendering is not server-side.** Pass rendered HTML via `html`; the SDK `react` field is not accepted.
|
|
70
|
-
- **Signing-secret rotation.** Create a new webhook, store both secrets in `RESEND_WEBHOOK_SIGNING_SECRETS`, then delete the old endpoint.
|
|
71
|
-
|
|
72
|
-
## References
|
|
73
|
-
|
|
74
|
-
- API docs: <https://resend.com/docs/api-reference/introduction>
|
|
75
|
-
- Webhook events: <https://resend.com/docs/dashboard/webhooks/event-types>
|
|
76
|
-
- Webhook verification: <https://resend.com/docs/webhooks/verify-webhooks-requests>
|
|
77
|
-
|
|
78
|
-
## License
|
|
79
|
-
|
|
80
|
-
MIT
|
|
13
|
+
export default defineAgent({
|
|
14
|
+
key: "resend-agent",
|
|
15
|
+
tools: [resendAddContactToSegment],
|
|
16
|
+
});
|
|
17
|
+
```
|
package/dist/action.cjs
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
const require_app = require("./app.cjs");
|
|
2
|
+
const require_execute = require("./execute.cjs");
|
|
3
|
+
require("zod");
|
|
4
|
+
//#region src/action.ts
|
|
5
|
+
/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */
|
|
6
|
+
function action(tool, def) {
|
|
7
|
+
return require_app.resend.action({
|
|
8
|
+
slug: def.slug,
|
|
9
|
+
name: def.name,
|
|
10
|
+
description: def.description,
|
|
11
|
+
input: def.input,
|
|
12
|
+
output: def.output,
|
|
13
|
+
async run(input) {
|
|
14
|
+
return def.output.parse(await require_execute.executeResendTool(tool, input));
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
//#endregion
|
|
19
|
+
exports.action = action;
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=action.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"action.cjs","names":["resend","executeResendTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { resend } from \"./app\";\nimport { executeResendTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return resend.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeResendTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,OAAO,OAAO;EACnB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,kBAAkB,MAAM,KAAgC,CAAC;EACzF;CACF,CAAC;AACH"}
|
package/dist/action.mjs
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { resend } from "./app.mjs";
|
|
2
|
+
import { executeResendTool } from "./execute.mjs";
|
|
3
|
+
import "zod";
|
|
4
|
+
//#region src/action.ts
|
|
5
|
+
/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */
|
|
6
|
+
function action(tool, def) {
|
|
7
|
+
return resend.action({
|
|
8
|
+
slug: def.slug,
|
|
9
|
+
name: def.name,
|
|
10
|
+
description: def.description,
|
|
11
|
+
input: def.input,
|
|
12
|
+
output: def.output,
|
|
13
|
+
async run(input) {
|
|
14
|
+
return def.output.parse(await executeResendTool(tool, input));
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
//#endregion
|
|
19
|
+
export { action };
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=action.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { resend } from \"./app\";\nimport { executeResendTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return resend.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeResendTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,OAAO,OAAO;EACnB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,kBAAkB,MAAM,KAAgC,CAAC;EACzF;CACF,CAAC;AACH"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/add-contact-to-segment.ts
|
|
4
|
+
const ResendAddContactToSegmentInput = zod.z.object({
|
|
5
|
+
contact_id: zod.z.string().describe("The ID of the contact to add to the segment."),
|
|
6
|
+
segment_id: zod.z.string().describe("The ID of the segment to add the contact to.")
|
|
7
|
+
});
|
|
8
|
+
const ResendAddContactToSegmentOutput = zod.z.object({ id: zod.z.string().describe("The segment ID that the contact was added to.").nullable().optional() });
|
|
9
|
+
const resendAddContactToSegment = require_action.action("RESEND_ADD_CONTACT_TO_SEGMENT", {
|
|
10
|
+
slug: "resend-add-contact-to-segment",
|
|
11
|
+
name: "Add Contact To Segment",
|
|
12
|
+
description: "Add an existing contact to a segment in Resend. Use when you need to organize contacts into specific segments for targeted communication.",
|
|
13
|
+
input: ResendAddContactToSegmentInput,
|
|
14
|
+
output: ResendAddContactToSegmentOutput
|
|
15
|
+
});
|
|
16
|
+
//#endregion
|
|
17
|
+
exports.resendAddContactToSegment = resendAddContactToSegment;
|
|
18
|
+
|
|
19
|
+
//# sourceMappingURL=add-contact-to-segment.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"add-contact-to-segment.cjs","names":["z","action"],"sources":["../../src/actions/add-contact-to-segment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendAddContactToSegmentInput = z.object({\n contact_id: z.string().describe(\"The ID of the contact to add to the segment.\"),\n segment_id: z.string().describe(\"The ID of the segment to add the contact to.\"),\n});\nexport const ResendAddContactToSegmentOutput = z.object({\n id: z.string().describe(\"The segment ID that the contact was added to.\").nullable().optional(),\n});\n\nexport const resendAddContactToSegment = action(\"RESEND_ADD_CONTACT_TO_SEGMENT\", {\n slug: \"resend-add-contact-to-segment\",\n name: \"Add Contact To Segment\",\n description: \"Add an existing contact to a segment in Resend. Use when you need to organize contacts into specific segments for targeted communication.\",\n input: ResendAddContactToSegmentInput,\n output: ResendAddContactToSegmentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC9E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;AAChF,CAAC;AACD,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC/F,CAAC;AAED,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/add-contact-to-segment.d.ts
|
|
4
|
+
declare const ResendAddContactToSegmentInput: z.ZodObject<{
|
|
5
|
+
contact_id: z.ZodString;
|
|
6
|
+
segment_id: z.ZodString;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const ResendAddContactToSegmentOutput: z.ZodObject<{
|
|
9
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
declare const resendAddContactToSegment: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
|
+
contact_id: string;
|
|
13
|
+
segment_id: string;
|
|
14
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
15
|
+
//#endregion
|
|
16
|
+
export { resendAddContactToSegment };
|
|
17
|
+
//# sourceMappingURL=add-contact-to-segment.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"add-contact-to-segment.d.cts","names":[],"sources":["../../src/actions/add-contact-to-segment.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAI9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAI/B,yBAAA,gCAAyB,wBAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/add-contact-to-segment.d.ts
|
|
4
|
+
declare const ResendAddContactToSegmentInput: z.ZodObject<{
|
|
5
|
+
contact_id: z.ZodString;
|
|
6
|
+
segment_id: z.ZodString;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const ResendAddContactToSegmentOutput: z.ZodObject<{
|
|
9
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
declare const resendAddContactToSegment: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
|
+
contact_id: string;
|
|
13
|
+
segment_id: string;
|
|
14
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
15
|
+
//#endregion
|
|
16
|
+
export { resendAddContactToSegment };
|
|
17
|
+
//# sourceMappingURL=add-contact-to-segment.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"add-contact-to-segment.d.mts","names":[],"sources":["../../src/actions/add-contact-to-segment.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAI9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAI/B,yBAAA,gCAAyB,wBAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const resendAddContactToSegment = action("RESEND_ADD_CONTACT_TO_SEGMENT", {
|
|
4
|
+
slug: "resend-add-contact-to-segment",
|
|
5
|
+
name: "Add Contact To Segment",
|
|
6
|
+
description: "Add an existing contact to a segment in Resend. Use when you need to organize contacts into specific segments for targeted communication.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
contact_id: z.string().describe("The ID of the contact to add to the segment."),
|
|
9
|
+
segment_id: z.string().describe("The ID of the segment to add the contact to.")
|
|
10
|
+
}),
|
|
11
|
+
output: z.object({ id: z.string().describe("The segment ID that the contact was added to.").nullable().optional() })
|
|
12
|
+
});
|
|
13
|
+
//#endregion
|
|
14
|
+
export { resendAddContactToSegment };
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=add-contact-to-segment.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"add-contact-to-segment.mjs","names":[],"sources":["../../src/actions/add-contact-to-segment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendAddContactToSegmentInput = z.object({\n contact_id: z.string().describe(\"The ID of the contact to add to the segment.\"),\n segment_id: z.string().describe(\"The ID of the segment to add the contact to.\"),\n});\nexport const ResendAddContactToSegmentOutput = z.object({\n id: z.string().describe(\"The segment ID that the contact was added to.\").nullable().optional(),\n});\n\nexport const resendAddContactToSegment = action(\"RESEND_ADD_CONTACT_TO_SEGMENT\", {\n slug: \"resend-add-contact-to-segment\",\n name: \"Add Contact To Segment\",\n description: \"Add an existing contact to a segment in Resend. Use when you need to organize contacts into specific segments for targeted communication.\",\n input: ResendAddContactToSegmentInput,\n output: ResendAddContactToSegmentOutput,\n});\n"],"mappings":";;AAYA,MAAa,4BAA4B,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ4C,EAAE,OAAO;EACrD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;EAC9E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAChF,CASS;CACP,QAT6C,EAAE,OAAO,EACtD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC/F,CAOU;AACV,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/cancel-email.ts
|
|
4
|
+
const ResendCancelEmailInput = zod.z.object({ id: zod.z.string().describe("The id of the email to cancel.") });
|
|
5
|
+
const ResendCancelEmailOutput = zod.z.object({
|
|
6
|
+
id: zod.z.string().describe("The id of the email that was canceled.").nullable().optional(),
|
|
7
|
+
object: zod.z.string().describe("The type of object, which is 'email'.").nullable().optional()
|
|
8
|
+
});
|
|
9
|
+
const resendCancelEmail = require_action.action("RESEND_CANCEL_EMAIL", {
|
|
10
|
+
slug: "resend-cancel-email",
|
|
11
|
+
name: "Cancel Email",
|
|
12
|
+
description: "Cancel a scheduled email.",
|
|
13
|
+
input: ResendCancelEmailInput,
|
|
14
|
+
output: ResendCancelEmailOutput
|
|
15
|
+
});
|
|
16
|
+
//#endregion
|
|
17
|
+
exports.resendCancelEmail = resendCancelEmail;
|
|
18
|
+
|
|
19
|
+
//# sourceMappingURL=cancel-email.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cancel-email.cjs","names":["z","action"],"sources":["../../src/actions/cancel-email.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendCancelEmailInput = z.object({\n id: z.string().describe(\"The id of the email to cancel.\"),\n});\nexport const ResendCancelEmailOutput = z.object({\n id: z.string().describe(\"The id of the email that was canceled.\").nullable().optional(),\n object: z.string().describe(\"The type of object, which is 'email'.\").nullable().optional(),\n});\n\nexport const resendCancelEmail = action(\"RESEND_CANCEL_EMAIL\", {\n slug: \"resend-cancel-email\",\n name: \"Cancel Email\",\n description: \"Cancel a scheduled email.\",\n input: ResendCancelEmailInput,\n output: ResendCancelEmailOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,EAC1D,CAAC;AACD,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC;AAED,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/cancel-email.d.ts
|
|
4
|
+
declare const ResendCancelEmailInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const ResendCancelEmailOutput: z.ZodObject<{
|
|
8
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
|
+
object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
declare const resendCancelEmail: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
|
+
id: string;
|
|
13
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
14
|
+
//#endregion
|
|
15
|
+
export { resendCancelEmail };
|
|
16
|
+
//# sourceMappingURL=cancel-email.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cancel-email.d.cts","names":[],"sources":["../../src/actions/cancel-email.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAGtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAKvB,iBAAA,gCAAiB,wBAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/cancel-email.d.ts
|
|
4
|
+
declare const ResendCancelEmailInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const ResendCancelEmailOutput: z.ZodObject<{
|
|
8
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
|
+
object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
declare const resendCancelEmail: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
|
+
id: string;
|
|
13
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
14
|
+
//#endregion
|
|
15
|
+
export { resendCancelEmail };
|
|
16
|
+
//# sourceMappingURL=cancel-email.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cancel-email.d.mts","names":[],"sources":["../../src/actions/cancel-email.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAGtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAKvB,iBAAA,gCAAiB,wBAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const resendCancelEmail = action("RESEND_CANCEL_EMAIL", {
|
|
4
|
+
slug: "resend-cancel-email",
|
|
5
|
+
name: "Cancel Email",
|
|
6
|
+
description: "Cancel a scheduled email.",
|
|
7
|
+
input: z.object({ id: z.string().describe("The id of the email to cancel.") }),
|
|
8
|
+
output: z.object({
|
|
9
|
+
id: z.string().describe("The id of the email that was canceled.").nullable().optional(),
|
|
10
|
+
object: z.string().describe("The type of object, which is 'email'.").nullable().optional()
|
|
11
|
+
})
|
|
12
|
+
});
|
|
13
|
+
//#endregion
|
|
14
|
+
export { resendCancelEmail };
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=cancel-email.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cancel-email.mjs","names":[],"sources":["../../src/actions/cancel-email.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendCancelEmailInput = z.object({\n id: z.string().describe(\"The id of the email to cancel.\"),\n});\nexport const ResendCancelEmailOutput = z.object({\n id: z.string().describe(\"The id of the email that was canceled.\").nullable().optional(),\n object: z.string().describe(\"The type of object, which is 'email'.\").nullable().optional(),\n});\n\nexport const resendCancelEmail = action(\"RESEND_CANCEL_EMAIL\", {\n slug: \"resend-cancel-email\",\n name: \"Cancel Email\",\n description: \"Cancel a scheduled email.\",\n input: ResendCancelEmailInput,\n output: ResendCancelEmailOutput,\n});\n"],"mappings":";;AAYA,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZoC,EAAE,OAAO,EAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,EAC1D,CAUS;CACP,QAVqC,EAAE,OAAO;EAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,CAOU;AACV,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/create-api-key.ts
|
|
4
|
+
const ResendCreateApiKeyInput = zod.z.object({
|
|
5
|
+
name: zod.z.string().describe("The API key name. Maximum 50 characters."),
|
|
6
|
+
domain_id: zod.z.string().describe("Restrict an API key to send emails only from a specific domain. Only used when the permission is 'sending_access'.").optional(),
|
|
7
|
+
permission: zod.z.enum(["full_access", "sending_access"]).describe("API key permission levels.").optional()
|
|
8
|
+
});
|
|
9
|
+
const ResendCreateApiKeyOutput = zod.z.object({
|
|
10
|
+
id: zod.z.string().describe("The ID of the API key.").nullable().optional(),
|
|
11
|
+
token: zod.z.string().describe("The token of the API key.").nullable().optional()
|
|
12
|
+
});
|
|
13
|
+
const resendCreateApiKey = require_action.action("RESEND_CREATE_API_KEY", {
|
|
14
|
+
slug: "resend-create-api-key",
|
|
15
|
+
name: "Create API Key",
|
|
16
|
+
description: "Create a new API key to authenticate communications with Resend. Use when you need to generate a new authentication token for API access.",
|
|
17
|
+
input: ResendCreateApiKeyInput,
|
|
18
|
+
output: ResendCreateApiKeyOutput
|
|
19
|
+
});
|
|
20
|
+
//#endregion
|
|
21
|
+
exports.resendCreateApiKey = resendCreateApiKey;
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=create-api-key.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-api-key.cjs","names":["z","action"],"sources":["../../src/actions/create-api-key.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendCreateApiKeyInput = z.object({\n name: z.string().describe(\"The API key name. Maximum 50 characters.\"),\n domain_id: z.string().describe(\"Restrict an API key to send emails only from a specific domain. Only used when the permission is 'sending_access'.\").optional(),\n permission: z.enum([\"full_access\", \"sending_access\"]).describe(\"API key permission levels.\").optional(),\n});\nexport const ResendCreateApiKeyOutput = z.object({\n id: z.string().describe(\"The ID of the API key.\").nullable().optional(),\n token: z.string().describe(\"The token of the API key.\").nullable().optional(),\n});\n\nexport const resendCreateApiKey = action(\"RESEND_CREATE_API_KEY\", {\n slug: \"resend-create-api-key\",\n name: \"Create API Key\",\n description: \"Create a new API key to authenticate communications with Resend. Use when you need to generate a new authentication token for API access.\",\n input: ResendCreateApiKeyInput,\n output: ResendCreateApiKeyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CACpE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;CAC9J,YAAYA,IAAAA,EAAE,KAAK,CAAC,eAAe,gBAAgB,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;AACxG,CAAC;AACD,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9E,CAAC;AAED,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/create-api-key.d.ts
|
|
4
|
+
declare const ResendCreateApiKeyInput: z.ZodObject<{
|
|
5
|
+
name: z.ZodString;
|
|
6
|
+
domain_id: z.ZodOptional<z.ZodString>;
|
|
7
|
+
permission: z.ZodOptional<z.ZodEnum<{
|
|
8
|
+
full_access: "full_access";
|
|
9
|
+
sending_access: "sending_access";
|
|
10
|
+
}>>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
declare const ResendCreateApiKeyOutput: z.ZodObject<{
|
|
13
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
}, z.core.$strip>;
|
|
16
|
+
declare const resendCreateApiKey: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
|
+
name: string;
|
|
18
|
+
domain_id?: string | undefined;
|
|
19
|
+
permission?: "full_access" | "sending_access" | undefined;
|
|
20
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
21
|
+
//#endregion
|
|
22
|
+
export { resendCreateApiKey };
|
|
23
|
+
//# sourceMappingURL=create-api-key.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-api-key.d.cts","names":[],"sources":["../../src/actions/create-api-key.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;cAKvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAKxB,kBAAA,gCAAkB,wBAAA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/create-api-key.d.ts
|
|
4
|
+
declare const ResendCreateApiKeyInput: z.ZodObject<{
|
|
5
|
+
name: z.ZodString;
|
|
6
|
+
domain_id: z.ZodOptional<z.ZodString>;
|
|
7
|
+
permission: z.ZodOptional<z.ZodEnum<{
|
|
8
|
+
full_access: "full_access";
|
|
9
|
+
sending_access: "sending_access";
|
|
10
|
+
}>>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
declare const ResendCreateApiKeyOutput: z.ZodObject<{
|
|
13
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
}, z.core.$strip>;
|
|
16
|
+
declare const resendCreateApiKey: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
|
+
name: string;
|
|
18
|
+
domain_id?: string | undefined;
|
|
19
|
+
permission?: "full_access" | "sending_access" | undefined;
|
|
20
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
21
|
+
//#endregion
|
|
22
|
+
export { resendCreateApiKey };
|
|
23
|
+
//# sourceMappingURL=create-api-key.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-api-key.d.mts","names":[],"sources":["../../src/actions/create-api-key.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;cAKvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAKxB,kBAAA,gCAAkB,wBAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const resendCreateApiKey = action("RESEND_CREATE_API_KEY", {
|
|
4
|
+
slug: "resend-create-api-key",
|
|
5
|
+
name: "Create API Key",
|
|
6
|
+
description: "Create a new API key to authenticate communications with Resend. Use when you need to generate a new authentication token for API access.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
name: z.string().describe("The API key name. Maximum 50 characters."),
|
|
9
|
+
domain_id: z.string().describe("Restrict an API key to send emails only from a specific domain. Only used when the permission is 'sending_access'.").optional(),
|
|
10
|
+
permission: z.enum(["full_access", "sending_access"]).describe("API key permission levels.").optional()
|
|
11
|
+
}),
|
|
12
|
+
output: z.object({
|
|
13
|
+
id: z.string().describe("The ID of the API key.").nullable().optional(),
|
|
14
|
+
token: z.string().describe("The token of the API key.").nullable().optional()
|
|
15
|
+
})
|
|
16
|
+
});
|
|
17
|
+
//#endregion
|
|
18
|
+
export { resendCreateApiKey };
|
|
19
|
+
|
|
20
|
+
//# sourceMappingURL=create-api-key.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-api-key.mjs","names":[],"sources":["../../src/actions/create-api-key.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendCreateApiKeyInput = z.object({\n name: z.string().describe(\"The API key name. Maximum 50 characters.\"),\n domain_id: z.string().describe(\"Restrict an API key to send emails only from a specific domain. Only used when the permission is 'sending_access'.\").optional(),\n permission: z.enum([\"full_access\", \"sending_access\"]).describe(\"API key permission levels.\").optional(),\n});\nexport const ResendCreateApiKeyOutput = z.object({\n id: z.string().describe(\"The ID of the API key.\").nullable().optional(),\n token: z.string().describe(\"The token of the API key.\").nullable().optional(),\n});\n\nexport const resendCreateApiKey = action(\"RESEND_CREATE_API_KEY\", {\n slug: \"resend-create-api-key\",\n name: \"Create API Key\",\n description: \"Create a new API key to authenticate communications with Resend. Use when you need to generate a new authentication token for API access.\",\n input: ResendCreateApiKeyInput,\n output: ResendCreateApiKeyOutput,\n});\n"],"mappings":";;AAcA,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdqC,EAAE,OAAO;EAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;EACpE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;EAC9J,YAAY,EAAE,KAAK,CAAC,eAAe,gBAAgB,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACxG,CAUS;CACP,QAVsC,EAAE,OAAO;EAC/C,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;CAC9E,CAOU;AACV,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/create-audience.ts
|
|
4
|
+
const ResendCreateAudienceInput = zod.z.object({ name: zod.z.string().describe("The name of the audience you want to create.") });
|
|
5
|
+
const ResendCreateAudienceOutput = zod.z.object({
|
|
6
|
+
id: zod.z.string().describe("The id of the created audience.").nullable().optional(),
|
|
7
|
+
name: zod.z.string().describe("The name of the audience.").nullable().optional(),
|
|
8
|
+
object: zod.z.string().default("audience").describe("The type of object, which is 'audience'.").nullable().optional()
|
|
9
|
+
});
|
|
10
|
+
const resendCreateAudience = require_action.action("RESEND_CREATE_AUDIENCE", {
|
|
11
|
+
slug: "resend-create-audience",
|
|
12
|
+
name: "Create Audience",
|
|
13
|
+
description: "Create a list of contacts.",
|
|
14
|
+
input: ResendCreateAudienceInput,
|
|
15
|
+
output: ResendCreateAudienceOutput
|
|
16
|
+
});
|
|
17
|
+
//#endregion
|
|
18
|
+
exports.resendCreateAudience = resendCreateAudience;
|
|
19
|
+
|
|
20
|
+
//# sourceMappingURL=create-audience.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-audience.cjs","names":["z","action"],"sources":["../../src/actions/create-audience.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendCreateAudienceInput = z.object({\n name: z.string().describe(\"The name of the audience you want to create.\"),\n});\nexport const ResendCreateAudienceOutput = z.object({\n id: z.string().describe(\"The id of the created audience.\").nullable().optional(),\n name: z.string().describe(\"The name of the audience.\").nullable().optional(),\n object: z.string().default(\"audience\").describe(\"The type of object, which is 'audience'.\").nullable().optional(),\n});\n\nexport const resendCreateAudience = action(\"RESEND_CREATE_AUDIENCE\", {\n slug: \"resend-create-audience\",\n name: \"Create Audience\",\n description: \"Create a list of contacts.\",\n input: ResendCreateAudienceInput,\n output: ResendCreateAudienceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,EAC1E,CAAC;AACD,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,UAAU,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC;AAED,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/create-audience.d.ts
|
|
4
|
+
declare const ResendCreateAudienceInput: z.ZodObject<{
|
|
5
|
+
name: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const ResendCreateAudienceOutput: z.ZodObject<{
|
|
8
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
object: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
declare const resendCreateAudience: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
|
+
name: string;
|
|
14
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
15
|
+
//#endregion
|
|
16
|
+
export { resendCreateAudience };
|
|
17
|
+
//# sourceMappingURL=create-audience.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-audience.d.cts","names":[],"sources":["../../src/actions/create-audience.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cAM1B,oBAAA,gCAAoB,wBAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/create-audience.d.ts
|
|
4
|
+
declare const ResendCreateAudienceInput: z.ZodObject<{
|
|
5
|
+
name: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const ResendCreateAudienceOutput: z.ZodObject<{
|
|
8
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
object: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
declare const resendCreateAudience: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
|
+
name: string;
|
|
14
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
15
|
+
//#endregion
|
|
16
|
+
export { resendCreateAudience };
|
|
17
|
+
//# sourceMappingURL=create-audience.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-audience.d.mts","names":[],"sources":["../../src/actions/create-audience.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cAM1B,oBAAA,gCAAoB,wBAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const resendCreateAudience = action("RESEND_CREATE_AUDIENCE", {
|
|
4
|
+
slug: "resend-create-audience",
|
|
5
|
+
name: "Create Audience",
|
|
6
|
+
description: "Create a list of contacts.",
|
|
7
|
+
input: z.object({ name: z.string().describe("The name of the audience you want to create.") }),
|
|
8
|
+
output: z.object({
|
|
9
|
+
id: z.string().describe("The id of the created audience.").nullable().optional(),
|
|
10
|
+
name: z.string().describe("The name of the audience.").nullable().optional(),
|
|
11
|
+
object: z.string().default("audience").describe("The type of object, which is 'audience'.").nullable().optional()
|
|
12
|
+
})
|
|
13
|
+
});
|
|
14
|
+
//#endregion
|
|
15
|
+
export { resendCreateAudience };
|
|
16
|
+
|
|
17
|
+
//# sourceMappingURL=create-audience.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-audience.mjs","names":[],"sources":["../../src/actions/create-audience.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendCreateAudienceInput = z.object({\n name: z.string().describe(\"The name of the audience you want to create.\"),\n});\nexport const ResendCreateAudienceOutput = z.object({\n id: z.string().describe(\"The id of the created audience.\").nullable().optional(),\n name: z.string().describe(\"The name of the audience.\").nullable().optional(),\n object: z.string().default(\"audience\").describe(\"The type of object, which is 'audience'.\").nullable().optional(),\n});\n\nexport const resendCreateAudience = action(\"RESEND_CREATE_AUDIENCE\", {\n slug: \"resend-create-audience\",\n name: \"Create Audience\",\n description: \"Create a list of contacts.\",\n input: ResendCreateAudienceInput,\n output: ResendCreateAudienceOutput,\n});\n"],"mappings":";;AAaA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbuC,EAAE,OAAO,EAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,EAC1E,CAWS;CACP,QAXwC,EAAE,OAAO;EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3E,QAAQ,EAAE,OAAO,CAAC,CAAC,QAAQ,UAAU,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,CAOU;AACV,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/create-contact-property.ts
|
|
4
|
+
const ResendCreateContactPropertyInput = zod.z.object({
|
|
5
|
+
key: zod.z.string().describe("The key of the contact property. Must be alphanumeric and underscore only, max 50 characters. Case sensitive."),
|
|
6
|
+
type: zod.z.enum(["string", "number"]).describe("The type of the contact property."),
|
|
7
|
+
fallbackValue: zod.z.string().describe("The fallback value for the property. Must match the type of the property.").optional()
|
|
8
|
+
});
|
|
9
|
+
const ResendCreateContactPropertyOutput = zod.z.object({
|
|
10
|
+
id: zod.z.string().describe("The ID of the contact property.").nullable().optional(),
|
|
11
|
+
object: zod.z.string().describe("The object type of the response.").nullable().optional()
|
|
12
|
+
});
|
|
13
|
+
const resendCreateContactProperty = require_action.action("RESEND_CREATE_CONTACT_PROPERTY", {
|
|
14
|
+
slug: "resend-create-contact-property",
|
|
15
|
+
name: "Create Contact Property",
|
|
16
|
+
description: "Tool to create a new contact property in Resend. Use when you need to define custom fields for contacts.",
|
|
17
|
+
input: ResendCreateContactPropertyInput,
|
|
18
|
+
output: ResendCreateContactPropertyOutput
|
|
19
|
+
});
|
|
20
|
+
//#endregion
|
|
21
|
+
exports.resendCreateContactProperty = resendCreateContactProperty;
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=create-contact-property.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-contact-property.cjs","names":["z","action"],"sources":["../../src/actions/create-contact-property.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendCreateContactPropertyInput = z.object({\n key: z.string().describe(\"The key of the contact property. Must be alphanumeric and underscore only, max 50 characters. Case sensitive.\"),\n type: z.enum([\"string\", \"number\"]).describe(\"The type of the contact property.\"),\n fallbackValue: z.string().describe(\"The fallback value for the property. Must match the type of the property.\").optional(),\n});\nexport const ResendCreateContactPropertyOutput = z.object({\n id: z.string().describe(\"The ID of the contact property.\").nullable().optional(),\n object: z.string().describe(\"The object type of the response.\").nullable().optional(),\n});\n\nexport const resendCreateContactProperty = action(\"RESEND_CREATE_CONTACT_PROPERTY\", {\n slug: \"resend-create-contact-property\",\n name: \"Create Contact Property\",\n description: \"Tool to create a new contact property in Resend. Use when you need to define custom fields for contacts.\",\n input: ResendCreateContactPropertyInput,\n output: ResendCreateContactPropertyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G;CACxI,MAAMA,IAAAA,EAAE,KAAK,CAAC,UAAU,QAAQ,CAAC,CAAC,CAAC,SAAS,mCAAmC;CAC/E,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;AAC3H,CAAC;AACD,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC;AAED,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/create-contact-property.d.ts
|
|
4
|
+
declare const ResendCreateContactPropertyInput: z.ZodObject<{
|
|
5
|
+
key: z.ZodString;
|
|
6
|
+
type: z.ZodEnum<{
|
|
7
|
+
string: "string";
|
|
8
|
+
number: "number";
|
|
9
|
+
}>;
|
|
10
|
+
fallbackValue: z.ZodOptional<z.ZodString>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
declare const ResendCreateContactPropertyOutput: z.ZodObject<{
|
|
13
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
}, z.core.$strip>;
|
|
16
|
+
declare const resendCreateContactProperty: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
|
+
key: string;
|
|
18
|
+
type: "string" | "number";
|
|
19
|
+
fallbackValue?: string | undefined;
|
|
20
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
21
|
+
//#endregion
|
|
22
|
+
export { resendCreateContactProperty };
|
|
23
|
+
//# sourceMappingURL=create-contact-property.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-contact-property.d.cts","names":[],"sources":["../../src/actions/create-contact-property.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;cAKhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;cAKjC,2BAAA,gCAA2B,wBAAA"}
|