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