@keystrokehq/resend 0.1.5 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/add-contact-to-segment.cjs +1 -0
- package/dist/actions/add-contact-to-segment.cjs.map +1 -1
- package/dist/actions/add-contact-to-segment.d.cts +3 -16
- package/dist/actions/add-contact-to-segment.d.cts.map +1 -1
- package/dist/actions/add-contact-to-segment.d.mts +3 -16
- package/dist/actions/add-contact-to-segment.d.mts.map +1 -1
- package/dist/actions/add-contact-to-segment.mjs +1 -0
- package/dist/actions/add-contact-to-segment.mjs.map +1 -1
- package/dist/actions/cancel-email.cjs +1 -0
- package/dist/actions/cancel-email.cjs.map +1 -1
- package/dist/actions/cancel-email.d.cts +3 -15
- package/dist/actions/cancel-email.d.cts.map +1 -1
- package/dist/actions/cancel-email.d.mts +3 -15
- package/dist/actions/cancel-email.d.mts.map +1 -1
- package/dist/actions/cancel-email.mjs +1 -0
- package/dist/actions/cancel-email.mjs.map +1 -1
- package/dist/actions/create-api-key.cjs +1 -0
- package/dist/actions/create-api-key.cjs.map +1 -1
- package/dist/actions/create-api-key.d.cts +3 -17
- package/dist/actions/create-api-key.d.cts.map +1 -1
- package/dist/actions/create-api-key.d.mts +3 -17
- package/dist/actions/create-api-key.d.mts.map +1 -1
- package/dist/actions/create-api-key.mjs +1 -0
- package/dist/actions/create-api-key.mjs.map +1 -1
- package/dist/actions/create-audience.cjs +1 -0
- package/dist/actions/create-audience.cjs.map +1 -1
- package/dist/actions/create-audience.d.cts +3 -15
- package/dist/actions/create-audience.d.cts.map +1 -1
- package/dist/actions/create-audience.d.mts +3 -15
- package/dist/actions/create-audience.d.mts.map +1 -1
- package/dist/actions/create-audience.mjs +1 -0
- package/dist/actions/create-audience.mjs.map +1 -1
- package/dist/actions/create-contact-property.cjs +1 -0
- package/dist/actions/create-contact-property.cjs.map +1 -1
- package/dist/actions/create-contact-property.d.cts +3 -17
- package/dist/actions/create-contact-property.d.cts.map +1 -1
- package/dist/actions/create-contact-property.d.mts +3 -17
- package/dist/actions/create-contact-property.d.mts.map +1 -1
- package/dist/actions/create-contact-property.mjs +1 -0
- package/dist/actions/create-contact-property.mjs.map +1 -1
- package/dist/actions/create-contact-v2.cjs +1 -0
- package/dist/actions/create-contact-v2.cjs.map +1 -1
- package/dist/actions/create-contact-v2.d.cts +3 -32
- package/dist/actions/create-contact-v2.d.cts.map +1 -1
- package/dist/actions/create-contact-v2.d.mts +3 -32
- package/dist/actions/create-contact-v2.d.mts.map +1 -1
- package/dist/actions/create-contact-v2.mjs +1 -0
- package/dist/actions/create-contact-v2.mjs.map +1 -1
- package/dist/actions/create-contact.cjs +1 -0
- package/dist/actions/create-contact.cjs.map +1 -1
- package/dist/actions/create-contact.d.cts +3 -19
- package/dist/actions/create-contact.d.cts.map +1 -1
- package/dist/actions/create-contact.d.mts +3 -19
- package/dist/actions/create-contact.d.mts.map +1 -1
- package/dist/actions/create-contact.mjs +1 -0
- package/dist/actions/create-contact.mjs.map +1 -1
- package/dist/actions/create-domain.cjs +1 -0
- package/dist/actions/create-domain.cjs.map +1 -1
- package/dist/actions/create-domain.d.cts +3 -16
- package/dist/actions/create-domain.d.cts.map +1 -1
- package/dist/actions/create-domain.d.mts +3 -16
- package/dist/actions/create-domain.d.mts.map +1 -1
- package/dist/actions/create-domain.mjs +1 -0
- package/dist/actions/create-domain.mjs.map +1 -1
- package/dist/actions/create-template.cjs +1 -0
- package/dist/actions/create-template.cjs.map +1 -1
- package/dist/actions/create-template.d.cts +3 -27
- package/dist/actions/create-template.d.cts.map +1 -1
- package/dist/actions/create-template.d.mts +3 -27
- package/dist/actions/create-template.d.mts.map +1 -1
- package/dist/actions/create-template.mjs +1 -0
- package/dist/actions/create-template.mjs.map +1 -1
- package/dist/actions/create-topic.cjs +1 -0
- package/dist/actions/create-topic.cjs.map +1 -1
- package/dist/actions/create-topic.d.cts +3 -18
- package/dist/actions/create-topic.d.cts.map +1 -1
- package/dist/actions/create-topic.d.mts +3 -18
- package/dist/actions/create-topic.d.mts.map +1 -1
- package/dist/actions/create-topic.mjs +1 -0
- package/dist/actions/create-topic.mjs.map +1 -1
- package/dist/actions/create-webhook.cjs +1 -0
- package/dist/actions/create-webhook.cjs.map +1 -1
- package/dist/actions/create-webhook.d.cts +3 -16
- package/dist/actions/create-webhook.d.cts.map +1 -1
- package/dist/actions/create-webhook.d.mts +3 -16
- package/dist/actions/create-webhook.d.mts.map +1 -1
- package/dist/actions/create-webhook.mjs +1 -0
- package/dist/actions/create-webhook.mjs.map +1 -1
- package/dist/actions/delete-api-key.cjs +1 -0
- package/dist/actions/delete-api-key.cjs.map +1 -1
- package/dist/actions/delete-api-key.d.cts +3 -15
- package/dist/actions/delete-api-key.d.cts.map +1 -1
- package/dist/actions/delete-api-key.d.mts +3 -15
- package/dist/actions/delete-api-key.d.mts.map +1 -1
- package/dist/actions/delete-api-key.mjs +1 -0
- package/dist/actions/delete-api-key.mjs.map +1 -1
- package/dist/actions/delete-audience.cjs +1 -0
- package/dist/actions/delete-audience.cjs.map +1 -1
- package/dist/actions/delete-audience.d.cts +3 -15
- package/dist/actions/delete-audience.d.cts.map +1 -1
- package/dist/actions/delete-audience.d.mts +3 -15
- package/dist/actions/delete-audience.d.mts.map +1 -1
- package/dist/actions/delete-audience.mjs +1 -0
- package/dist/actions/delete-audience.mjs.map +1 -1
- package/dist/actions/delete-contact-by-id.cjs +1 -0
- package/dist/actions/delete-contact-by-id.cjs.map +1 -1
- package/dist/actions/delete-contact-by-id.d.cts +3 -15
- package/dist/actions/delete-contact-by-id.d.cts.map +1 -1
- package/dist/actions/delete-contact-by-id.d.mts +3 -15
- package/dist/actions/delete-contact-by-id.d.mts.map +1 -1
- package/dist/actions/delete-contact-by-id.mjs +1 -0
- package/dist/actions/delete-contact-by-id.mjs.map +1 -1
- package/dist/actions/delete-contact-property.cjs +1 -0
- package/dist/actions/delete-contact-property.cjs.map +1 -1
- package/dist/actions/delete-contact-property.d.cts +3 -15
- package/dist/actions/delete-contact-property.d.cts.map +1 -1
- package/dist/actions/delete-contact-property.d.mts +3 -15
- package/dist/actions/delete-contact-property.d.mts.map +1 -1
- package/dist/actions/delete-contact-property.mjs +1 -0
- package/dist/actions/delete-contact-property.mjs.map +1 -1
- package/dist/actions/delete-contact.cjs +1 -0
- package/dist/actions/delete-contact.cjs.map +1 -1
- package/dist/actions/delete-contact.d.cts +3 -17
- package/dist/actions/delete-contact.d.cts.map +1 -1
- package/dist/actions/delete-contact.d.mts +3 -17
- package/dist/actions/delete-contact.d.mts.map +1 -1
- package/dist/actions/delete-contact.mjs +1 -0
- package/dist/actions/delete-contact.mjs.map +1 -1
- package/dist/actions/delete-domain.cjs +1 -0
- package/dist/actions/delete-domain.cjs.map +1 -1
- package/dist/actions/delete-domain.d.cts +3 -15
- package/dist/actions/delete-domain.d.cts.map +1 -1
- package/dist/actions/delete-domain.d.mts +3 -15
- package/dist/actions/delete-domain.d.mts.map +1 -1
- package/dist/actions/delete-domain.mjs +1 -0
- package/dist/actions/delete-domain.mjs.map +1 -1
- package/dist/actions/delete-segment.cjs +1 -0
- package/dist/actions/delete-segment.cjs.map +1 -1
- package/dist/actions/delete-segment.d.cts +3 -15
- package/dist/actions/delete-segment.d.cts.map +1 -1
- package/dist/actions/delete-segment.d.mts +3 -15
- package/dist/actions/delete-segment.d.mts.map +1 -1
- package/dist/actions/delete-segment.mjs +1 -0
- package/dist/actions/delete-segment.mjs.map +1 -1
- package/dist/actions/delete-template.cjs +1 -0
- package/dist/actions/delete-template.cjs.map +1 -1
- package/dist/actions/delete-template.d.cts +3 -15
- package/dist/actions/delete-template.d.cts.map +1 -1
- package/dist/actions/delete-template.d.mts +3 -15
- package/dist/actions/delete-template.d.mts.map +1 -1
- package/dist/actions/delete-template.mjs +1 -0
- package/dist/actions/delete-template.mjs.map +1 -1
- package/dist/actions/delete-topic.cjs +1 -0
- package/dist/actions/delete-topic.cjs.map +1 -1
- package/dist/actions/delete-topic.d.cts +3 -15
- package/dist/actions/delete-topic.d.cts.map +1 -1
- package/dist/actions/delete-topic.d.mts +3 -15
- package/dist/actions/delete-topic.d.mts.map +1 -1
- package/dist/actions/delete-topic.mjs +1 -0
- package/dist/actions/delete-topic.mjs.map +1 -1
- package/dist/actions/delete-webhook.cjs +1 -0
- package/dist/actions/delete-webhook.cjs.map +1 -1
- package/dist/actions/delete-webhook.d.cts +3 -15
- package/dist/actions/delete-webhook.d.cts.map +1 -1
- package/dist/actions/delete-webhook.d.mts +3 -15
- package/dist/actions/delete-webhook.d.mts.map +1 -1
- package/dist/actions/delete-webhook.mjs +1 -0
- package/dist/actions/delete-webhook.mjs.map +1 -1
- package/dist/actions/duplicate-template.cjs +1 -0
- package/dist/actions/duplicate-template.cjs.map +1 -1
- package/dist/actions/duplicate-template.d.cts +3 -15
- package/dist/actions/duplicate-template.d.cts.map +1 -1
- package/dist/actions/duplicate-template.d.mts +3 -15
- package/dist/actions/duplicate-template.d.mts.map +1 -1
- package/dist/actions/duplicate-template.mjs +1 -0
- package/dist/actions/duplicate-template.mjs.map +1 -1
- package/dist/actions/get-contact-property.cjs +1 -0
- package/dist/actions/get-contact-property.cjs.map +1 -1
- package/dist/actions/get-contact-property.d.cts +3 -15
- package/dist/actions/get-contact-property.d.cts.map +1 -1
- package/dist/actions/get-contact-property.d.mts +3 -15
- package/dist/actions/get-contact-property.d.mts.map +1 -1
- package/dist/actions/get-contact-property.mjs +1 -0
- package/dist/actions/get-contact-property.mjs.map +1 -1
- package/dist/actions/get-contact.cjs +1 -0
- package/dist/actions/get-contact.cjs.map +1 -1
- package/dist/actions/get-contact.d.cts +3 -15
- package/dist/actions/get-contact.d.cts.map +1 -1
- package/dist/actions/get-contact.d.mts +3 -15
- package/dist/actions/get-contact.d.mts.map +1 -1
- package/dist/actions/get-contact.mjs +1 -0
- package/dist/actions/get-contact.mjs.map +1 -1
- package/dist/actions/get-email-attachment.cjs +1 -0
- package/dist/actions/get-email-attachment.cjs.map +1 -1
- package/dist/actions/get-email-attachment.d.cts +3 -16
- package/dist/actions/get-email-attachment.d.cts.map +1 -1
- package/dist/actions/get-email-attachment.d.mts +3 -16
- package/dist/actions/get-email-attachment.d.mts.map +1 -1
- package/dist/actions/get-email-attachment.mjs +1 -0
- package/dist/actions/get-email-attachment.mjs.map +1 -1
- package/dist/actions/get-segment.cjs +1 -0
- package/dist/actions/get-segment.cjs.map +1 -1
- package/dist/actions/get-segment.d.cts +3 -15
- package/dist/actions/get-segment.d.cts.map +1 -1
- package/dist/actions/get-segment.d.mts +3 -15
- package/dist/actions/get-segment.d.mts.map +1 -1
- package/dist/actions/get-segment.mjs +1 -0
- package/dist/actions/get-segment.mjs.map +1 -1
- package/dist/actions/get-template.cjs +1 -0
- package/dist/actions/get-template.cjs.map +1 -1
- package/dist/actions/get-template.d.cts +3 -15
- package/dist/actions/get-template.d.cts.map +1 -1
- package/dist/actions/get-template.d.mts +3 -15
- package/dist/actions/get-template.d.mts.map +1 -1
- package/dist/actions/get-template.mjs +1 -0
- package/dist/actions/get-template.mjs.map +1 -1
- package/dist/actions/get-topic.cjs +1 -0
- package/dist/actions/get-topic.cjs.map +1 -1
- package/dist/actions/get-topic.d.cts +3 -15
- package/dist/actions/get-topic.d.cts.map +1 -1
- package/dist/actions/get-topic.d.mts +3 -15
- package/dist/actions/get-topic.d.mts.map +1 -1
- package/dist/actions/get-topic.mjs +1 -0
- package/dist/actions/get-topic.mjs.map +1 -1
- package/dist/actions/get-webhook.cjs +1 -0
- package/dist/actions/get-webhook.cjs.map +1 -1
- package/dist/actions/get-webhook.d.cts +3 -15
- package/dist/actions/get-webhook.d.cts.map +1 -1
- package/dist/actions/get-webhook.d.mts +3 -15
- package/dist/actions/get-webhook.d.mts.map +1 -1
- package/dist/actions/get-webhook.mjs +1 -0
- package/dist/actions/get-webhook.mjs.map +1 -1
- package/dist/actions/list-all-contacts.cjs +1 -0
- package/dist/actions/list-all-contacts.cjs.map +1 -1
- package/dist/actions/list-all-contacts.d.cts +3 -17
- package/dist/actions/list-all-contacts.d.cts.map +1 -1
- package/dist/actions/list-all-contacts.d.mts +3 -17
- package/dist/actions/list-all-contacts.d.mts.map +1 -1
- package/dist/actions/list-all-contacts.mjs +1 -0
- package/dist/actions/list-all-contacts.mjs.map +1 -1
- package/dist/actions/list-api-keys.cjs +1 -0
- package/dist/actions/list-api-keys.cjs.map +1 -1
- package/dist/actions/list-api-keys.d.cts +3 -17
- package/dist/actions/list-api-keys.d.cts.map +1 -1
- package/dist/actions/list-api-keys.d.mts +3 -17
- package/dist/actions/list-api-keys.d.mts.map +1 -1
- package/dist/actions/list-api-keys.mjs +1 -0
- package/dist/actions/list-api-keys.mjs.map +1 -1
- package/dist/actions/list-audiences.cjs +1 -0
- package/dist/actions/list-audiences.cjs.map +1 -1
- package/dist/actions/list-audiences.d.cts +3 -17
- package/dist/actions/list-audiences.d.cts.map +1 -1
- package/dist/actions/list-audiences.d.mts +3 -17
- package/dist/actions/list-audiences.d.mts.map +1 -1
- package/dist/actions/list-audiences.mjs +1 -0
- package/dist/actions/list-audiences.mjs.map +1 -1
- package/dist/actions/list-broadcasts.cjs +1 -0
- package/dist/actions/list-broadcasts.cjs.map +1 -1
- package/dist/actions/list-broadcasts.d.cts +3 -17
- package/dist/actions/list-broadcasts.d.cts.map +1 -1
- package/dist/actions/list-broadcasts.d.mts +3 -17
- package/dist/actions/list-broadcasts.d.mts.map +1 -1
- package/dist/actions/list-broadcasts.mjs +1 -0
- package/dist/actions/list-broadcasts.mjs.map +1 -1
- package/dist/actions/list-contact-properties.cjs +1 -0
- package/dist/actions/list-contact-properties.cjs.map +1 -1
- package/dist/actions/list-contact-properties.d.cts +3 -17
- package/dist/actions/list-contact-properties.d.cts.map +1 -1
- package/dist/actions/list-contact-properties.d.mts +3 -17
- package/dist/actions/list-contact-properties.d.mts.map +1 -1
- package/dist/actions/list-contact-properties.mjs +1 -0
- package/dist/actions/list-contact-properties.mjs.map +1 -1
- package/dist/actions/list-contact-segments.cjs +1 -0
- package/dist/actions/list-contact-segments.cjs.map +1 -1
- package/dist/actions/list-contact-segments.d.cts +3 -18
- package/dist/actions/list-contact-segments.d.cts.map +1 -1
- package/dist/actions/list-contact-segments.d.mts +3 -18
- package/dist/actions/list-contact-segments.d.mts.map +1 -1
- package/dist/actions/list-contact-segments.mjs +1 -0
- package/dist/actions/list-contact-segments.mjs.map +1 -1
- package/dist/actions/list-contact-topics.cjs +1 -0
- package/dist/actions/list-contact-topics.cjs.map +1 -1
- package/dist/actions/list-contact-topics.d.cts +3 -18
- package/dist/actions/list-contact-topics.d.cts.map +1 -1
- package/dist/actions/list-contact-topics.d.mts +3 -18
- package/dist/actions/list-contact-topics.d.mts.map +1 -1
- package/dist/actions/list-contact-topics.mjs +1 -0
- package/dist/actions/list-contact-topics.mjs.map +1 -1
- package/dist/actions/list-contacts.cjs +1 -0
- package/dist/actions/list-contacts.cjs.map +1 -1
- package/dist/actions/list-contacts.d.cts +3 -18
- package/dist/actions/list-contacts.d.cts.map +1 -1
- package/dist/actions/list-contacts.d.mts +3 -18
- package/dist/actions/list-contacts.d.mts.map +1 -1
- package/dist/actions/list-contacts.mjs +1 -0
- package/dist/actions/list-contacts.mjs.map +1 -1
- package/dist/actions/list-domains.cjs +1 -0
- package/dist/actions/list-domains.cjs.map +1 -1
- package/dist/actions/list-domains.d.cts +3 -13
- package/dist/actions/list-domains.d.cts.map +1 -1
- package/dist/actions/list-domains.d.mts +3 -13
- package/dist/actions/list-domains.d.mts.map +1 -1
- package/dist/actions/list-domains.mjs +1 -0
- package/dist/actions/list-domains.mjs.map +1 -1
- package/dist/actions/list-email-attachments.cjs +1 -0
- package/dist/actions/list-email-attachments.cjs.map +1 -1
- package/dist/actions/list-email-attachments.d.cts +3 -18
- package/dist/actions/list-email-attachments.d.cts.map +1 -1
- package/dist/actions/list-email-attachments.d.mts +3 -18
- package/dist/actions/list-email-attachments.d.mts.map +1 -1
- package/dist/actions/list-email-attachments.mjs +1 -0
- package/dist/actions/list-email-attachments.mjs.map +1 -1
- package/dist/actions/list-emails.cjs +1 -0
- package/dist/actions/list-emails.cjs.map +1 -1
- package/dist/actions/list-emails.d.cts +3 -17
- package/dist/actions/list-emails.d.cts.map +1 -1
- package/dist/actions/list-emails.d.mts +3 -17
- package/dist/actions/list-emails.d.mts.map +1 -1
- package/dist/actions/list-emails.mjs +1 -0
- package/dist/actions/list-emails.mjs.map +1 -1
- package/dist/actions/list-received-emails.cjs +1 -0
- package/dist/actions/list-received-emails.cjs.map +1 -1
- package/dist/actions/list-received-emails.d.cts +3 -17
- package/dist/actions/list-received-emails.d.cts.map +1 -1
- package/dist/actions/list-received-emails.d.mts +3 -17
- package/dist/actions/list-received-emails.d.mts.map +1 -1
- package/dist/actions/list-received-emails.mjs +1 -0
- package/dist/actions/list-received-emails.mjs.map +1 -1
- package/dist/actions/list-segments.cjs +1 -0
- package/dist/actions/list-segments.cjs.map +1 -1
- package/dist/actions/list-segments.d.cts +3 -17
- package/dist/actions/list-segments.d.cts.map +1 -1
- package/dist/actions/list-segments.d.mts +3 -17
- package/dist/actions/list-segments.d.mts.map +1 -1
- package/dist/actions/list-segments.mjs +1 -0
- package/dist/actions/list-segments.mjs.map +1 -1
- package/dist/actions/list-templates.cjs +1 -0
- package/dist/actions/list-templates.cjs.map +1 -1
- package/dist/actions/list-templates.d.cts +3 -17
- package/dist/actions/list-templates.d.cts.map +1 -1
- package/dist/actions/list-templates.d.mts +3 -17
- package/dist/actions/list-templates.d.mts.map +1 -1
- package/dist/actions/list-templates.mjs +1 -0
- package/dist/actions/list-templates.mjs.map +1 -1
- package/dist/actions/list-topics.cjs +1 -0
- package/dist/actions/list-topics.cjs.map +1 -1
- package/dist/actions/list-topics.d.cts +3 -17
- package/dist/actions/list-topics.d.cts.map +1 -1
- package/dist/actions/list-topics.d.mts +3 -17
- package/dist/actions/list-topics.d.mts.map +1 -1
- package/dist/actions/list-topics.mjs +1 -0
- package/dist/actions/list-topics.mjs.map +1 -1
- package/dist/actions/list-webhooks.cjs +1 -0
- package/dist/actions/list-webhooks.cjs.map +1 -1
- package/dist/actions/list-webhooks.d.cts +3 -17
- package/dist/actions/list-webhooks.d.cts.map +1 -1
- package/dist/actions/list-webhooks.d.mts +3 -17
- package/dist/actions/list-webhooks.d.mts.map +1 -1
- package/dist/actions/list-webhooks.mjs +1 -0
- package/dist/actions/list-webhooks.mjs.map +1 -1
- package/dist/actions/publish-template.cjs +1 -0
- package/dist/actions/publish-template.cjs.map +1 -1
- package/dist/actions/publish-template.d.cts +3 -15
- package/dist/actions/publish-template.d.cts.map +1 -1
- package/dist/actions/publish-template.d.mts +3 -15
- package/dist/actions/publish-template.d.mts.map +1 -1
- package/dist/actions/publish-template.mjs +1 -0
- package/dist/actions/publish-template.mjs.map +1 -1
- package/dist/actions/remove-contact-from-segment.cjs +1 -0
- package/dist/actions/remove-contact-from-segment.cjs.map +1 -1
- package/dist/actions/remove-contact-from-segment.d.cts +3 -16
- package/dist/actions/remove-contact-from-segment.d.cts.map +1 -1
- package/dist/actions/remove-contact-from-segment.d.mts +3 -16
- package/dist/actions/remove-contact-from-segment.d.mts.map +1 -1
- package/dist/actions/remove-contact-from-segment.mjs +1 -0
- package/dist/actions/remove-contact-from-segment.mjs.map +1 -1
- package/dist/actions/retrieve-audience.cjs +1 -0
- package/dist/actions/retrieve-audience.cjs.map +1 -1
- package/dist/actions/retrieve-audience.d.cts +3 -15
- package/dist/actions/retrieve-audience.d.cts.map +1 -1
- package/dist/actions/retrieve-audience.d.mts +3 -15
- package/dist/actions/retrieve-audience.d.mts.map +1 -1
- package/dist/actions/retrieve-audience.mjs +1 -0
- package/dist/actions/retrieve-audience.mjs.map +1 -1
- package/dist/actions/retrieve-contact.cjs +1 -0
- package/dist/actions/retrieve-contact.cjs.map +1 -1
- package/dist/actions/retrieve-contact.d.cts +3 -16
- package/dist/actions/retrieve-contact.d.cts.map +1 -1
- package/dist/actions/retrieve-contact.d.mts +3 -16
- package/dist/actions/retrieve-contact.d.mts.map +1 -1
- package/dist/actions/retrieve-contact.mjs +1 -0
- package/dist/actions/retrieve-contact.mjs.map +1 -1
- package/dist/actions/retrieve-domain.cjs +1 -0
- package/dist/actions/retrieve-domain.cjs.map +1 -1
- package/dist/actions/retrieve-domain.d.cts +3 -15
- package/dist/actions/retrieve-domain.d.cts.map +1 -1
- package/dist/actions/retrieve-domain.d.mts +3 -15
- package/dist/actions/retrieve-domain.d.mts.map +1 -1
- package/dist/actions/retrieve-domain.mjs +1 -0
- package/dist/actions/retrieve-domain.mjs.map +1 -1
- package/dist/actions/retrieve-email.cjs +1 -0
- package/dist/actions/retrieve-email.cjs.map +1 -1
- package/dist/actions/retrieve-email.d.cts +3 -15
- package/dist/actions/retrieve-email.d.cts.map +1 -1
- package/dist/actions/retrieve-email.d.mts +3 -15
- package/dist/actions/retrieve-email.d.mts.map +1 -1
- package/dist/actions/retrieve-email.mjs +1 -0
- package/dist/actions/retrieve-email.mjs.map +1 -1
- package/dist/actions/send-batch-emails.cjs +1 -0
- package/dist/actions/send-batch-emails.cjs.map +1 -1
- package/dist/actions/send-batch-emails.d.cts +3 -28
- package/dist/actions/send-batch-emails.d.cts.map +1 -1
- package/dist/actions/send-batch-emails.d.mts +3 -28
- package/dist/actions/send-batch-emails.d.mts.map +1 -1
- package/dist/actions/send-batch-emails.mjs +1 -0
- package/dist/actions/send-batch-emails.mjs.map +1 -1
- package/dist/actions/send-email.cjs +1 -0
- package/dist/actions/send-email.cjs.map +1 -1
- package/dist/actions/send-email.d.cts +3 -25
- package/dist/actions/send-email.d.cts.map +1 -1
- package/dist/actions/send-email.d.mts +3 -25
- package/dist/actions/send-email.d.mts.map +1 -1
- package/dist/actions/send-email.mjs +1 -0
- package/dist/actions/send-email.mjs.map +1 -1
- package/dist/actions/update-broadcast.cjs +1 -0
- package/dist/actions/update-broadcast.cjs.map +1 -1
- package/dist/actions/update-broadcast.d.cts +3 -24
- package/dist/actions/update-broadcast.d.cts.map +1 -1
- package/dist/actions/update-broadcast.d.mts +3 -24
- package/dist/actions/update-broadcast.d.mts.map +1 -1
- package/dist/actions/update-broadcast.mjs +1 -0
- package/dist/actions/update-broadcast.mjs.map +1 -1
- package/dist/actions/update-contact-property.cjs +1 -0
- package/dist/actions/update-contact-property.cjs.map +1 -1
- package/dist/actions/update-contact-property.d.cts +3 -16
- package/dist/actions/update-contact-property.d.cts.map +1 -1
- package/dist/actions/update-contact-property.d.mts +3 -16
- package/dist/actions/update-contact-property.d.mts.map +1 -1
- package/dist/actions/update-contact-property.mjs +1 -0
- package/dist/actions/update-contact-property.mjs.map +1 -1
- package/dist/actions/update-contact.cjs +1 -0
- package/dist/actions/update-contact.cjs.map +1 -1
- package/dist/actions/update-contact.d.cts +3 -18
- package/dist/actions/update-contact.d.cts.map +1 -1
- package/dist/actions/update-contact.d.mts +3 -18
- package/dist/actions/update-contact.d.mts.map +1 -1
- package/dist/actions/update-contact.mjs +1 -0
- package/dist/actions/update-contact.mjs.map +1 -1
- package/dist/actions/update-domain.cjs +1 -0
- package/dist/actions/update-domain.cjs.map +1 -1
- package/dist/actions/update-domain.d.cts +3 -18
- package/dist/actions/update-domain.d.cts.map +1 -1
- package/dist/actions/update-domain.d.mts +3 -18
- package/dist/actions/update-domain.d.mts.map +1 -1
- package/dist/actions/update-domain.mjs +1 -0
- package/dist/actions/update-domain.mjs.map +1 -1
- package/dist/actions/update-email.cjs +1 -0
- package/dist/actions/update-email.cjs.map +1 -1
- package/dist/actions/update-email.d.cts +3 -16
- package/dist/actions/update-email.d.cts.map +1 -1
- package/dist/actions/update-email.d.mts +3 -16
- package/dist/actions/update-email.d.mts.map +1 -1
- package/dist/actions/update-email.mjs +1 -0
- package/dist/actions/update-email.mjs.map +1 -1
- package/dist/actions/update-template.cjs +1 -0
- package/dist/actions/update-template.cjs.map +1 -1
- package/dist/actions/update-template.d.cts +3 -28
- package/dist/actions/update-template.d.cts.map +1 -1
- package/dist/actions/update-template.d.mts +3 -28
- package/dist/actions/update-template.d.mts.map +1 -1
- package/dist/actions/update-template.mjs +1 -0
- package/dist/actions/update-template.mjs.map +1 -1
- package/dist/actions/update-topic.cjs +1 -0
- package/dist/actions/update-topic.cjs.map +1 -1
- package/dist/actions/update-topic.d.cts +3 -16
- package/dist/actions/update-topic.d.cts.map +1 -1
- package/dist/actions/update-topic.d.mts +3 -16
- package/dist/actions/update-topic.d.mts.map +1 -1
- package/dist/actions/update-topic.mjs +1 -0
- package/dist/actions/update-topic.mjs.map +1 -1
- package/dist/actions/update-webhook.cjs +1 -0
- package/dist/actions/update-webhook.cjs.map +1 -1
- package/dist/actions/update-webhook.d.cts +3 -18
- package/dist/actions/update-webhook.d.cts.map +1 -1
- package/dist/actions/update-webhook.d.mts +3 -18
- package/dist/actions/update-webhook.d.mts.map +1 -1
- package/dist/actions/update-webhook.mjs +1 -0
- package/dist/actions/update-webhook.mjs.map +1 -1
- package/dist/actions/verify-domain.cjs +1 -0
- package/dist/actions/verify-domain.cjs.map +1 -1
- package/dist/actions/verify-domain.d.cts +3 -15
- package/dist/actions/verify-domain.d.cts.map +1 -1
- package/dist/actions/verify-domain.d.mts +3 -15
- package/dist/actions/verify-domain.d.mts.map +1 -1
- package/dist/actions/verify-domain.mjs +1 -0
- package/dist/actions/verify-domain.mjs.map +1 -1
- package/dist/app.cjs +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { resend } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-contact-v2.d.ts
|
|
@@ -25,38 +27,7 @@ declare const ResendCreateContactV2Output: z.ZodObject<{
|
|
|
25
27
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
28
|
object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
29
|
}, z.core.$loose>;
|
|
28
|
-
declare const resendCreateContactV2:
|
|
29
|
-
email: string;
|
|
30
|
-
topics?: {
|
|
31
|
-
[x: string]: unknown;
|
|
32
|
-
id: string;
|
|
33
|
-
subscription: "opt_in" | "opt_out";
|
|
34
|
-
}[] | undefined;
|
|
35
|
-
segments?: {
|
|
36
|
-
[x: string]: unknown;
|
|
37
|
-
id: string;
|
|
38
|
-
}[] | undefined;
|
|
39
|
-
last_name?: string | undefined;
|
|
40
|
-
first_name?: string | undefined;
|
|
41
|
-
properties?: {
|
|
42
|
-
[x: string]: unknown;
|
|
43
|
-
key: string;
|
|
44
|
-
value: string;
|
|
45
|
-
}[] | undefined;
|
|
46
|
-
unsubscribed?: boolean | undefined;
|
|
47
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"resend", z.ZodObject<{
|
|
48
|
-
connectionId: z.ZodString;
|
|
49
|
-
entityId: z.ZodString;
|
|
50
|
-
instanceId: z.ZodString;
|
|
51
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
52
|
-
generic_api_key: z.ZodString;
|
|
53
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"resend", z.ZodObject<{
|
|
54
|
-
connectionId: z.ZodString;
|
|
55
|
-
entityId: z.ZodString;
|
|
56
|
-
instanceId: z.ZodString;
|
|
57
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
58
|
-
generic_api_key: z.ZodString;
|
|
59
|
-
}, z.core.$strip>>]>;
|
|
30
|
+
declare const resendCreateContactV2: AppAction<typeof ResendCreateContactV2Input, typeof ResendCreateContactV2Output, typeof resend.credential>;
|
|
60
31
|
//#endregion
|
|
61
32
|
export { resendCreateContactV2 };
|
|
62
33
|
//# sourceMappingURL=create-contact-v2.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-contact-v2.d.cts","names":[],"sources":["../../src/actions/create-contact-v2.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-contact-v2.d.cts","names":[],"sources":["../../src/actions/create-contact-v2.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAiB1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAK3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { resend } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-contact-v2.d.ts
|
|
@@ -25,38 +27,7 @@ declare const ResendCreateContactV2Output: z.ZodObject<{
|
|
|
25
27
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
28
|
object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
29
|
}, z.core.$loose>;
|
|
28
|
-
declare const resendCreateContactV2:
|
|
29
|
-
email: string;
|
|
30
|
-
topics?: {
|
|
31
|
-
[x: string]: unknown;
|
|
32
|
-
id: string;
|
|
33
|
-
subscription: "opt_in" | "opt_out";
|
|
34
|
-
}[] | undefined;
|
|
35
|
-
segments?: {
|
|
36
|
-
[x: string]: unknown;
|
|
37
|
-
id: string;
|
|
38
|
-
}[] | undefined;
|
|
39
|
-
last_name?: string | undefined;
|
|
40
|
-
first_name?: string | undefined;
|
|
41
|
-
properties?: {
|
|
42
|
-
[x: string]: unknown;
|
|
43
|
-
key: string;
|
|
44
|
-
value: string;
|
|
45
|
-
}[] | undefined;
|
|
46
|
-
unsubscribed?: boolean | undefined;
|
|
47
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"resend", z.ZodObject<{
|
|
48
|
-
connectionId: z.ZodString;
|
|
49
|
-
entityId: z.ZodString;
|
|
50
|
-
instanceId: z.ZodString;
|
|
51
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
52
|
-
generic_api_key: z.ZodString;
|
|
53
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"resend", z.ZodObject<{
|
|
54
|
-
connectionId: z.ZodString;
|
|
55
|
-
entityId: z.ZodString;
|
|
56
|
-
instanceId: z.ZodString;
|
|
57
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
58
|
-
generic_api_key: z.ZodString;
|
|
59
|
-
}, z.core.$strip>>]>;
|
|
30
|
+
declare const resendCreateContactV2: AppAction<typeof ResendCreateContactV2Input, typeof ResendCreateContactV2Output, typeof resend.credential>;
|
|
60
31
|
//#endregion
|
|
61
32
|
export { resendCreateContactV2 };
|
|
62
33
|
//# sourceMappingURL=create-contact-v2.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-contact-v2.d.mts","names":[],"sources":["../../src/actions/create-contact-v2.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-contact-v2.d.mts","names":[],"sources":["../../src/actions/create-contact-v2.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAiB1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAK3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-contact-v2.mjs","names":[],"sources":["../../src/actions/create-contact-v2.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendCreateContactV2Input = z.object({\n email: z.string().describe(\"The email address of the contact.\"),\n topics: z.array(z.object({\n id: z.string().describe(\"The ID of the topic.\"),\n subscription: z.enum([\"opt_in\", \"opt_out\"]).describe(\"The subscription status for this topic - either 'opt_in' or 'opt_out'.\"),\n}).passthrough().describe(\"Topic subscription preference for the contact.\")).describe(\"List of topic subscriptions with ID and subscription status (opt_in or opt_out).\").optional(),\n segments: z.array(z.object({\n id: z.string().describe(\"The ID of the segment to enroll the contact in.\"),\n}).passthrough().describe(\"Segment to enroll the contact in.\")).describe(\"List of segment IDs to enroll the contact in.\").optional(),\n last_name: z.string().describe(\"The last name of the contact.\").optional(),\n first_name: z.string().describe(\"The first name of the contact.\").optional(),\n properties: z.array(z.object({\n key: z.string().describe(\"The key name for the custom property.\"),\n value: z.string().describe(\"The value for the custom property.\"),\n}).passthrough().describe(\"Custom key-value pair for contact properties.\")).describe(\"Custom key-value pairs for the contact. Each property must have a key and value.\").optional(),\n unsubscribed: z.boolean().describe(\"Contact's global subscription status; when true, the contact opts out of all broadcasts.\").optional(),\n});\nexport const ResendCreateContactV2Output = z.object({\n id: z.string().describe(\"The unique identifier of the created contact.\").nullable().optional(),\n object: z.string().describe(\"The type of object, which is 'contact'.\").nullable().optional(),\n}).passthrough();\n\nexport const resendCreateContactV2 = action(\"RESEND_CREATE_CONTACT_V2\", {\n slug: \"resend-create-contact-v2\",\n name: \"Create Contact V2\",\n description: \"Tool to create a new contact in Resend. Use when you need to add a contact to Resend without specifying an audience.\",\n input: ResendCreateContactV2Input,\n output: ResendCreateContactV2Output,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-contact-v2.mjs","names":[],"sources":["../../src/actions/create-contact-v2.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { resend } from \"../app\";\n\nexport const ResendCreateContactV2Input = z.object({\n email: z.string().describe(\"The email address of the contact.\"),\n topics: z.array(z.object({\n id: z.string().describe(\"The ID of the topic.\"),\n subscription: z.enum([\"opt_in\", \"opt_out\"]).describe(\"The subscription status for this topic - either 'opt_in' or 'opt_out'.\"),\n}).passthrough().describe(\"Topic subscription preference for the contact.\")).describe(\"List of topic subscriptions with ID and subscription status (opt_in or opt_out).\").optional(),\n segments: z.array(z.object({\n id: z.string().describe(\"The ID of the segment to enroll the contact in.\"),\n}).passthrough().describe(\"Segment to enroll the contact in.\")).describe(\"List of segment IDs to enroll the contact in.\").optional(),\n last_name: z.string().describe(\"The last name of the contact.\").optional(),\n first_name: z.string().describe(\"The first name of the contact.\").optional(),\n properties: z.array(z.object({\n key: z.string().describe(\"The key name for the custom property.\"),\n value: z.string().describe(\"The value for the custom property.\"),\n}).passthrough().describe(\"Custom key-value pair for contact properties.\")).describe(\"Custom key-value pairs for the contact. Each property must have a key and value.\").optional(),\n unsubscribed: z.boolean().describe(\"Contact's global subscription status; when true, the contact opts out of all broadcasts.\").optional(),\n});\nexport const ResendCreateContactV2Output = z.object({\n id: z.string().describe(\"The unique identifier of the created contact.\").nullable().optional(),\n object: z.string().describe(\"The type of object, which is 'contact'.\").nullable().optional(),\n}).passthrough();\n\nexport const resendCreateContactV2: AppAction<\n typeof ResendCreateContactV2Input,\n typeof ResendCreateContactV2Output,\n typeof resend.credential\n> = action(\"RESEND_CREATE_CONTACT_V2\", {\n slug: \"resend-create-contact-v2\",\n name: \"Create Contact V2\",\n description: \"Tool to create a new contact in Resend. Use when you need to add a contact to Resend without specifying an audience.\",\n input: ResendCreateContactV2Input,\n output: ResendCreateContactV2Output,\n});\n"],"mappings":";;;AA4BA,MAAa,wBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA9BwC,EAAE,OAAO;EACjD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;EAC9D,QAAQ,EAAE,MAAM,EAAE,OAAO;GACzB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;GAC9C,cAAc,EAAE,KAAK,CAAC,UAAU,SAAS,CAAC,CAAC,CAAC,SAAS,wEAAwE;EAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;EACjL,UAAU,EAAE,MAAM,EAAE,OAAO,EAC3B,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,EAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACjI,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACzE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EAC3E,YAAY,EAAE,MAAM,EAAE,OAAO;GAC7B,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;GAChE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;EACjE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;EAChL,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CAC1I,CAcS;CACP,QAdyC,EAAE,OAAO;EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-contact.cjs","names":["z","action"],"sources":["../../src/actions/create-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendCreateContactInput = z.object({\n email: z.string().describe(\"The email address of the contact. Must be a valid RFC-compliant email address.\"),\n lastName: z.string().describe(\"The last name of the contact.\").optional(),\n firstName: z.string().describe(\"The first name of the contact.\").optional(),\n audienceId: z.string().describe(\"The Audience ID.\"),\n unsubscribed: z.boolean().describe(\"The subscription status.\").optional(),\n});\nexport const ResendCreateContactOutput = z.object({\n id: z.string().describe(\"The id of the created contact.\").nullable().optional(),\n object: z.string().describe(\"The type of object, which is 'contact'.\").nullable().optional(),\n}).passthrough();\n\nexport const resendCreateContact = action(\"RESEND_CREATE_CONTACT\", {\n slug: \"resend-create-contact\",\n name: \"Create Contact\",\n description: \"Create a contact in Resend.\",\n input: ResendCreateContactInput,\n output: ResendCreateContactOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-contact.cjs","names":["z","action"],"sources":["../../src/actions/create-contact.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { resend } from \"../app\";\n\nexport const ResendCreateContactInput = z.object({\n email: z.string().describe(\"The email address of the contact. Must be a valid RFC-compliant email address.\"),\n lastName: z.string().describe(\"The last name of the contact.\").optional(),\n firstName: z.string().describe(\"The first name of the contact.\").optional(),\n audienceId: z.string().describe(\"The Audience ID.\"),\n unsubscribed: z.boolean().describe(\"The subscription status.\").optional(),\n});\nexport const ResendCreateContactOutput = z.object({\n id: z.string().describe(\"The id of the created contact.\").nullable().optional(),\n object: z.string().describe(\"The type of object, which is 'contact'.\").nullable().optional(),\n}).passthrough();\n\nexport const resendCreateContact: AppAction<\n typeof ResendCreateContactInput,\n typeof ResendCreateContactOutput,\n typeof resend.credential\n> = action(\"RESEND_CREATE_CONTACT\", {\n slug: \"resend-create-contact\",\n name: \"Create Contact\",\n description: \"Create a contact in Resend.\",\n input: ResendCreateContactInput,\n output: ResendCreateContactOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF;CAC3G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACxE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC1E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAClD,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;AAC1E,CAAC;AACD,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,sBAITC,eAAAA,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { resend } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-contact.d.ts
|
|
@@ -12,25 +14,7 @@ declare const ResendCreateContactOutput: z.ZodObject<{
|
|
|
12
14
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
15
|
object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const resendCreateContact:
|
|
16
|
-
email: string;
|
|
17
|
-
audienceId: string;
|
|
18
|
-
lastName?: string | undefined;
|
|
19
|
-
firstName?: string | undefined;
|
|
20
|
-
unsubscribed?: boolean | undefined;
|
|
21
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"resend", z.ZodObject<{
|
|
22
|
-
connectionId: z.ZodString;
|
|
23
|
-
entityId: z.ZodString;
|
|
24
|
-
instanceId: z.ZodString;
|
|
25
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
26
|
-
generic_api_key: z.ZodString;
|
|
27
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"resend", z.ZodObject<{
|
|
28
|
-
connectionId: z.ZodString;
|
|
29
|
-
entityId: z.ZodString;
|
|
30
|
-
instanceId: z.ZodString;
|
|
31
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
-
generic_api_key: z.ZodString;
|
|
33
|
-
}, z.core.$strip>>]>;
|
|
17
|
+
declare const resendCreateContact: AppAction<typeof ResendCreateContactInput, typeof ResendCreateContactOutput, typeof resend.credential>;
|
|
34
18
|
//#endregion
|
|
35
19
|
export { resendCreateContact };
|
|
36
20
|
//# sourceMappingURL=create-contact.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-contact.d.cts","names":[],"sources":["../../src/actions/create-contact.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-contact.d.cts","names":[],"sources":["../../src/actions/create-contact.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;cAOxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAKzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { resend } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-contact.d.ts
|
|
@@ -12,25 +14,7 @@ declare const ResendCreateContactOutput: z.ZodObject<{
|
|
|
12
14
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
15
|
object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const resendCreateContact:
|
|
16
|
-
email: string;
|
|
17
|
-
audienceId: string;
|
|
18
|
-
lastName?: string | undefined;
|
|
19
|
-
firstName?: string | undefined;
|
|
20
|
-
unsubscribed?: boolean | undefined;
|
|
21
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"resend", z.ZodObject<{
|
|
22
|
-
connectionId: z.ZodString;
|
|
23
|
-
entityId: z.ZodString;
|
|
24
|
-
instanceId: z.ZodString;
|
|
25
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
26
|
-
generic_api_key: z.ZodString;
|
|
27
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"resend", z.ZodObject<{
|
|
28
|
-
connectionId: z.ZodString;
|
|
29
|
-
entityId: z.ZodString;
|
|
30
|
-
instanceId: z.ZodString;
|
|
31
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
-
generic_api_key: z.ZodString;
|
|
33
|
-
}, z.core.$strip>>]>;
|
|
17
|
+
declare const resendCreateContact: AppAction<typeof ResendCreateContactInput, typeof ResendCreateContactOutput, typeof resend.credential>;
|
|
34
18
|
//#endregion
|
|
35
19
|
export { resendCreateContact };
|
|
36
20
|
//# sourceMappingURL=create-contact.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-contact.d.mts","names":[],"sources":["../../src/actions/create-contact.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-contact.d.mts","names":[],"sources":["../../src/actions/create-contact.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;cAOxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAKzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-contact.mjs","names":[],"sources":["../../src/actions/create-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendCreateContactInput = z.object({\n email: z.string().describe(\"The email address of the contact. Must be a valid RFC-compliant email address.\"),\n lastName: z.string().describe(\"The last name of the contact.\").optional(),\n firstName: z.string().describe(\"The first name of the contact.\").optional(),\n audienceId: z.string().describe(\"The Audience ID.\"),\n unsubscribed: z.boolean().describe(\"The subscription status.\").optional(),\n});\nexport const ResendCreateContactOutput = z.object({\n id: z.string().describe(\"The id of the created contact.\").nullable().optional(),\n object: z.string().describe(\"The type of object, which is 'contact'.\").nullable().optional(),\n}).passthrough();\n\nexport const resendCreateContact = action(\"RESEND_CREATE_CONTACT\", {\n slug: \"resend-create-contact\",\n name: \"Create Contact\",\n description: \"Create a contact in Resend.\",\n input: ResendCreateContactInput,\n output: ResendCreateContactOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-contact.mjs","names":[],"sources":["../../src/actions/create-contact.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { resend } from \"../app\";\n\nexport const ResendCreateContactInput = z.object({\n email: z.string().describe(\"The email address of the contact. Must be a valid RFC-compliant email address.\"),\n lastName: z.string().describe(\"The last name of the contact.\").optional(),\n firstName: z.string().describe(\"The first name of the contact.\").optional(),\n audienceId: z.string().describe(\"The Audience ID.\"),\n unsubscribed: z.boolean().describe(\"The subscription status.\").optional(),\n});\nexport const ResendCreateContactOutput = z.object({\n id: z.string().describe(\"The id of the created contact.\").nullable().optional(),\n object: z.string().describe(\"The type of object, which is 'contact'.\").nullable().optional(),\n}).passthrough();\n\nexport const resendCreateContact: AppAction<\n typeof ResendCreateContactInput,\n typeof ResendCreateContactOutput,\n typeof resend.credential\n> = action(\"RESEND_CREATE_CONTACT\", {\n slug: \"resend-create-contact\",\n name: \"Create Contact\",\n description: \"Create a contact in Resend.\",\n input: ResendCreateContactInput,\n output: ResendCreateContactOutput,\n});\n"],"mappings":";;;AAkBA,MAAa,sBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBsC,EAAE,OAAO;EAC/C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF;EAC3G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACxE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EAC1E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;EAClD,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC1E,CAcS;CACP,QAduC,EAAE,OAAO;EAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-domain.cjs","names":["z","action"],"sources":["../../src/actions/create-domain.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendCreateDomainInput = z.object({\n name: z.string().describe(\"The name of the domain to be created.\"),\n region: z.enum([\"us-east-1\", \"eu-west-1\", \"sa-east-1\", \"ap-northeast-1\"]).default(\"us-east-1\").describe(\"The region where emails will be sent from. Supported values: 'us-east-1', 'eu-west-1', 'sa-east-1'. Unsupported values cause validation errors.\").optional(),\n});\nconst ResendCreateDomain_DnsRecordSchema = z.object({\n ttl: z.string().describe(\"The TTL (time to live) for this record.\").nullable().optional(),\n name: z.string().describe(\"The DNS record name.\").nullable().optional(),\n type: z.string().describe(\"The DNS record type (TXT, MX).\").nullable().optional(),\n value: z.string().describe(\"The DNS record value.\").nullable().optional(),\n record: z.string().describe(\"The type of record (DKIM, SPF).\").nullable().optional(),\n status: z.string().describe(\"The verification status of this record.\").nullable().optional(),\n priority: z.number().int().describe(\"The priority for MX records.\").nullable().optional(),\n}).passthrough().describe(\"DNS record information for domain verification.\");\nconst ResendCreateDomain_DomainCapabilitiesSchema = z.object({\n sending: z.string().describe(\"Whether sending emails is enabled or disabled for this domain.\").nullable().optional(),\n receiving: z.string().describe(\"Whether receiving emails is enabled or disabled for this domain.\").nullable().optional(),\n}).passthrough().describe(\"Domain sending and receiving capabilities.\");\nexport const ResendCreateDomainOutput = 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 (not_started, pending, verified, failed).\").nullable().optional(),\n records: z.array(ResendCreateDomain_DnsRecordSchema).describe(\"The DNS records that need to be configured for domain verification.\").nullable().optional(),\n created_at: z.string().describe(\"The creation timestamp of the domain.\").nullable().optional(),\n capabilities: ResendCreateDomain_DomainCapabilitiesSchema.nullable().optional(),\n}).passthrough();\n\nexport const resendCreateDomain = action(\"RESEND_CREATE_DOMAIN\", {\n slug: \"resend-create-domain\",\n name: \"Create Domain\",\n description: \"Create a domain through the Resend Email API. The domain is created in a pending/unverified state and cannot be used for sending emails until DNS verification is completed.\",\n input: ResendCreateDomainInput,\n output: ResendCreateDomainOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-domain.cjs","names":["z","action"],"sources":["../../src/actions/create-domain.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { resend } from \"../app\";\n\nexport const ResendCreateDomainInput = z.object({\n name: z.string().describe(\"The name of the domain to be created.\"),\n region: z.enum([\"us-east-1\", \"eu-west-1\", \"sa-east-1\", \"ap-northeast-1\"]).default(\"us-east-1\").describe(\"The region where emails will be sent from. Supported values: 'us-east-1', 'eu-west-1', 'sa-east-1'. Unsupported values cause validation errors.\").optional(),\n});\nconst ResendCreateDomain_DnsRecordSchema = z.object({\n ttl: z.string().describe(\"The TTL (time to live) for this record.\").nullable().optional(),\n name: z.string().describe(\"The DNS record name.\").nullable().optional(),\n type: z.string().describe(\"The DNS record type (TXT, MX).\").nullable().optional(),\n value: z.string().describe(\"The DNS record value.\").nullable().optional(),\n record: z.string().describe(\"The type of record (DKIM, SPF).\").nullable().optional(),\n status: z.string().describe(\"The verification status of this record.\").nullable().optional(),\n priority: z.number().int().describe(\"The priority for MX records.\").nullable().optional(),\n}).passthrough().describe(\"DNS record information for domain verification.\");\nconst ResendCreateDomain_DomainCapabilitiesSchema = z.object({\n sending: z.string().describe(\"Whether sending emails is enabled or disabled for this domain.\").nullable().optional(),\n receiving: z.string().describe(\"Whether receiving emails is enabled or disabled for this domain.\").nullable().optional(),\n}).passthrough().describe(\"Domain sending and receiving capabilities.\");\nexport const ResendCreateDomainOutput = 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 (not_started, pending, verified, failed).\").nullable().optional(),\n records: z.array(ResendCreateDomain_DnsRecordSchema).describe(\"The DNS records that need to be configured for domain verification.\").nullable().optional(),\n created_at: z.string().describe(\"The creation timestamp of the domain.\").nullable().optional(),\n capabilities: ResendCreateDomain_DomainCapabilitiesSchema.nullable().optional(),\n}).passthrough();\n\nexport const resendCreateDomain: AppAction<\n typeof ResendCreateDomainInput,\n typeof ResendCreateDomainOutput,\n typeof resend.credential\n> = action(\"RESEND_CREATE_DOMAIN\", {\n slug: \"resend-create-domain\",\n name: \"Create Domain\",\n description: \"Create a domain through the Resend Email API. The domain is created in a pending/unverified state and cannot be used for sending emails until DNS verification is completed.\",\n input: ResendCreateDomainInput,\n output: ResendCreateDomainOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACjE,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAa;EAAa;EAAa;CAAgB,CAAC,CAAC,CAAC,QAAQ,WAAW,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS;AACtQ,CAAC;AACD,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAC3E,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,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,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,SAASA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,cAAc,4CAA4C,SAAS,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,qBAITC,eAAAA,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { resend } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-domain.d.ts
|
|
@@ -30,22 +32,7 @@ declare const ResendCreateDomainOutput: z.ZodObject<{
|
|
|
30
32
|
receiving: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
33
|
}, z.core.$loose>>>;
|
|
32
34
|
}, z.core.$loose>;
|
|
33
|
-
declare const resendCreateDomain:
|
|
34
|
-
name: string;
|
|
35
|
-
region?: "us-east-1" | "eu-west-1" | "sa-east-1" | "ap-northeast-1" | undefined;
|
|
36
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"resend", z.ZodObject<{
|
|
37
|
-
connectionId: z.ZodString;
|
|
38
|
-
entityId: z.ZodString;
|
|
39
|
-
instanceId: z.ZodString;
|
|
40
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
41
|
-
generic_api_key: z.ZodString;
|
|
42
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"resend", z.ZodObject<{
|
|
43
|
-
connectionId: z.ZodString;
|
|
44
|
-
entityId: z.ZodString;
|
|
45
|
-
instanceId: z.ZodString;
|
|
46
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
47
|
-
generic_api_key: z.ZodString;
|
|
48
|
-
}, z.core.$strip>>]>;
|
|
35
|
+
declare const resendCreateDomain: AppAction<typeof ResendCreateDomainInput, typeof ResendCreateDomainOutput, typeof resend.credential>;
|
|
49
36
|
//#endregion
|
|
50
37
|
export { resendCreateDomain };
|
|
51
38
|
//# sourceMappingURL=create-domain.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-domain.d.cts","names":[],"sources":["../../src/actions/create-domain.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-domain.d.cts","names":[],"sources":["../../src/actions/create-domain.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;cAiBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAUxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { resend } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-domain.d.ts
|
|
@@ -30,22 +32,7 @@ declare const ResendCreateDomainOutput: z.ZodObject<{
|
|
|
30
32
|
receiving: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
33
|
}, z.core.$loose>>>;
|
|
32
34
|
}, z.core.$loose>;
|
|
33
|
-
declare const resendCreateDomain:
|
|
34
|
-
name: string;
|
|
35
|
-
region?: "us-east-1" | "eu-west-1" | "sa-east-1" | "ap-northeast-1" | undefined;
|
|
36
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"resend", z.ZodObject<{
|
|
37
|
-
connectionId: z.ZodString;
|
|
38
|
-
entityId: z.ZodString;
|
|
39
|
-
instanceId: z.ZodString;
|
|
40
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
41
|
-
generic_api_key: z.ZodString;
|
|
42
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"resend", z.ZodObject<{
|
|
43
|
-
connectionId: z.ZodString;
|
|
44
|
-
entityId: z.ZodString;
|
|
45
|
-
instanceId: z.ZodString;
|
|
46
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
47
|
-
generic_api_key: z.ZodString;
|
|
48
|
-
}, z.core.$strip>>]>;
|
|
35
|
+
declare const resendCreateDomain: AppAction<typeof ResendCreateDomainInput, typeof ResendCreateDomainOutput, typeof resend.credential>;
|
|
49
36
|
//#endregion
|
|
50
37
|
export { resendCreateDomain };
|
|
51
38
|
//# sourceMappingURL=create-domain.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-domain.d.mts","names":[],"sources":["../../src/actions/create-domain.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-domain.d.mts","names":[],"sources":["../../src/actions/create-domain.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;cAiBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAUxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-domain.mjs","names":[],"sources":["../../src/actions/create-domain.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendCreateDomainInput = z.object({\n name: z.string().describe(\"The name of the domain to be created.\"),\n region: z.enum([\"us-east-1\", \"eu-west-1\", \"sa-east-1\", \"ap-northeast-1\"]).default(\"us-east-1\").describe(\"The region where emails will be sent from. Supported values: 'us-east-1', 'eu-west-1', 'sa-east-1'. Unsupported values cause validation errors.\").optional(),\n});\nconst ResendCreateDomain_DnsRecordSchema = z.object({\n ttl: z.string().describe(\"The TTL (time to live) for this record.\").nullable().optional(),\n name: z.string().describe(\"The DNS record name.\").nullable().optional(),\n type: z.string().describe(\"The DNS record type (TXT, MX).\").nullable().optional(),\n value: z.string().describe(\"The DNS record value.\").nullable().optional(),\n record: z.string().describe(\"The type of record (DKIM, SPF).\").nullable().optional(),\n status: z.string().describe(\"The verification status of this record.\").nullable().optional(),\n priority: z.number().int().describe(\"The priority for MX records.\").nullable().optional(),\n}).passthrough().describe(\"DNS record information for domain verification.\");\nconst ResendCreateDomain_DomainCapabilitiesSchema = z.object({\n sending: z.string().describe(\"Whether sending emails is enabled or disabled for this domain.\").nullable().optional(),\n receiving: z.string().describe(\"Whether receiving emails is enabled or disabled for this domain.\").nullable().optional(),\n}).passthrough().describe(\"Domain sending and receiving capabilities.\");\nexport const ResendCreateDomainOutput = 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 (not_started, pending, verified, failed).\").nullable().optional(),\n records: z.array(ResendCreateDomain_DnsRecordSchema).describe(\"The DNS records that need to be configured for domain verification.\").nullable().optional(),\n created_at: z.string().describe(\"The creation timestamp of the domain.\").nullable().optional(),\n capabilities: ResendCreateDomain_DomainCapabilitiesSchema.nullable().optional(),\n}).passthrough();\n\nexport const resendCreateDomain = action(\"RESEND_CREATE_DOMAIN\", {\n slug: \"resend-create-domain\",\n name: \"Create Domain\",\n description: \"Create a domain through the Resend Email API. The domain is created in a pending/unverified state and cannot be used for sending emails until DNS verification is completed.\",\n input: ResendCreateDomainInput,\n output: ResendCreateDomainOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-domain.mjs","names":[],"sources":["../../src/actions/create-domain.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { resend } from \"../app\";\n\nexport const ResendCreateDomainInput = z.object({\n name: z.string().describe(\"The name of the domain to be created.\"),\n region: z.enum([\"us-east-1\", \"eu-west-1\", \"sa-east-1\", \"ap-northeast-1\"]).default(\"us-east-1\").describe(\"The region where emails will be sent from. Supported values: 'us-east-1', 'eu-west-1', 'sa-east-1'. Unsupported values cause validation errors.\").optional(),\n});\nconst ResendCreateDomain_DnsRecordSchema = z.object({\n ttl: z.string().describe(\"The TTL (time to live) for this record.\").nullable().optional(),\n name: z.string().describe(\"The DNS record name.\").nullable().optional(),\n type: z.string().describe(\"The DNS record type (TXT, MX).\").nullable().optional(),\n value: z.string().describe(\"The DNS record value.\").nullable().optional(),\n record: z.string().describe(\"The type of record (DKIM, SPF).\").nullable().optional(),\n status: z.string().describe(\"The verification status of this record.\").nullable().optional(),\n priority: z.number().int().describe(\"The priority for MX records.\").nullable().optional(),\n}).passthrough().describe(\"DNS record information for domain verification.\");\nconst ResendCreateDomain_DomainCapabilitiesSchema = z.object({\n sending: z.string().describe(\"Whether sending emails is enabled or disabled for this domain.\").nullable().optional(),\n receiving: z.string().describe(\"Whether receiving emails is enabled or disabled for this domain.\").nullable().optional(),\n}).passthrough().describe(\"Domain sending and receiving capabilities.\");\nexport const ResendCreateDomainOutput = 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 (not_started, pending, verified, failed).\").nullable().optional(),\n records: z.array(ResendCreateDomain_DnsRecordSchema).describe(\"The DNS records that need to be configured for domain verification.\").nullable().optional(),\n created_at: z.string().describe(\"The creation timestamp of the domain.\").nullable().optional(),\n capabilities: ResendCreateDomain_DomainCapabilitiesSchema.nullable().optional(),\n}).passthrough();\n\nexport const resendCreateDomain: AppAction<\n typeof ResendCreateDomainInput,\n typeof ResendCreateDomainOutput,\n typeof resend.credential\n> = action(\"RESEND_CREATE_DOMAIN\", {\n slug: \"resend-create-domain\",\n name: \"Create Domain\",\n description: \"Create a domain through the Resend Email API. The domain is created in a pending/unverified state and cannot be used for sending emails until DNS verification is completed.\",\n input: ResendCreateDomainInput,\n output: ResendCreateDomainOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACjE,QAAQ,EAAE,KAAK;EAAC;EAAa;EAAa;EAAa;CAAgB,CAAC,CAAC,CAAC,QAAQ,WAAW,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS;AACtQ,CAAC;AACD,MAAM,qCAAqC,EAAE,OAAO;CAClD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAC3E,MAAM,8CAA8C,EAAE,OAAO;CAC3D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAWtE,MAAa,qBAIT,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAnBsC,EAAE,OAAO;EAC/C,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,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/H,SAAS,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzJ,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,cAAc,4CAA4C,SAAS,CAAC,CAAC,SAAS;CAChF,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-template.cjs","names":["z","action"],"sources":["../../src/actions/create-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendCreateTemplateInput = z.object({\n from: z.string().describe(\"Sender email address. To include a friendly name, use the format 'Your Name <sender@domain.com>'.\").optional(),\n html: z.string().describe(\"The HTML version of the template. Use {{VARIABLE_NAME}} syntax to reference template variables.\"),\n name: z.string().describe(\"The name of the template.\"),\n text: z.string().describe(\"The plain text version of the template. If omitted, Resend will auto-generate from HTML.\").optional(),\n alias: z.string().describe(\"The alias of the template. This is an optional identifier that can be used instead of the template ID.\").optional(),\n subject: z.string().describe(\"Email subject for the template.\").optional(),\n reply_to: z.union([z.string(), z.array(z.string())]).optional(),\n variables: z.array(z.object({\n key: z.string().describe(\"The key of the variable. Recommended to use capitalized format (e.g., PRODUCT_NAME). Reserved names: FIRST_NAME, LAST_NAME, EMAIL, RESEND_UNSUBSCRIBE_URL, contact, this.\"),\n type: z.enum([\"string\", \"number\"]).describe(\"The type of the variable, either 'string' or 'number'.\"),\n fallback_value: z.union([z.string(), z.number().int(), z.number()]).optional(),\n}).passthrough().describe(\"Template variable definition.\")).describe(\"Template variables. Up to 50 variables can be defined per template.\").optional(),\n});\nexport const ResendCreateTemplateOutput = z.object({\n id: z.string().describe(\"The ID of the created template.\").nullable().optional(),\n object: z.string().describe(\"The type of object, which is 'template'.\").nullable().optional(),\n}).passthrough();\n\nexport const resendCreateTemplate = action(\"RESEND_CREATE_TEMPLATE\", {\n slug: \"resend-create-template\",\n name: \"Create Template\",\n description: \"Tool to create a new email template in Resend. Use when you need to define reusable email templates with optional variables.\",\n input: ResendCreateTemplateInput,\n output: ResendCreateTemplateOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-template.cjs","names":["z","action"],"sources":["../../src/actions/create-template.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { resend } from \"../app\";\n\nexport const ResendCreateTemplateInput = z.object({\n from: z.string().describe(\"Sender email address. To include a friendly name, use the format 'Your Name <sender@domain.com>'.\").optional(),\n html: z.string().describe(\"The HTML version of the template. Use {{VARIABLE_NAME}} syntax to reference template variables.\"),\n name: z.string().describe(\"The name of the template.\"),\n text: z.string().describe(\"The plain text version of the template. If omitted, Resend will auto-generate from HTML.\").optional(),\n alias: z.string().describe(\"The alias of the template. This is an optional identifier that can be used instead of the template ID.\").optional(),\n subject: z.string().describe(\"Email subject for the template.\").optional(),\n reply_to: z.union([z.string(), z.array(z.string())]).optional(),\n variables: z.array(z.object({\n key: z.string().describe(\"The key of the variable. Recommended to use capitalized format (e.g., PRODUCT_NAME). Reserved names: FIRST_NAME, LAST_NAME, EMAIL, RESEND_UNSUBSCRIBE_URL, contact, this.\"),\n type: z.enum([\"string\", \"number\"]).describe(\"The type of the variable, either 'string' or 'number'.\"),\n fallback_value: z.union([z.string(), z.number().int(), z.number()]).optional(),\n}).passthrough().describe(\"Template variable definition.\")).describe(\"Template variables. Up to 50 variables can be defined per template.\").optional(),\n});\nexport const ResendCreateTemplateOutput = z.object({\n id: z.string().describe(\"The ID of the created template.\").nullable().optional(),\n object: z.string().describe(\"The type of object, which is 'template'.\").nullable().optional(),\n}).passthrough();\n\nexport const resendCreateTemplate: AppAction<\n typeof ResendCreateTemplateInput,\n typeof ResendCreateTemplateOutput,\n typeof resend.credential\n> = action(\"RESEND_CREATE_TEMPLATE\", {\n slug: \"resend-create-template\",\n name: \"Create Template\",\n description: \"Tool to create a new email template in Resend. Use when you need to define reusable email templates with optional variables.\",\n input: ResendCreateTemplateInput,\n output: ResendCreateTemplateOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;CACxI,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG;CAC3H,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CAC/H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;CAC9I,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACzE,UAAUA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS;CAC9D,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC5B,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2KAA2K;EACpM,MAAMA,IAAAA,EAAE,KAAK,CAAC,UAAU,QAAQ,CAAC,CAAC,CAAC,SAAS,wDAAwD;EACpG,gBAAgBA,IAAAA,EAAE,MAAM;GAACA,IAAAA,EAAE,OAAO;GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;GAAGA,IAAAA,EAAE,OAAO;EAAC,CAAC,CAAC,CAAC,SAAS;CAC/E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;AACrJ,CAAC;AACD,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,uBAITC,eAAAA,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { resend } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-template.d.ts
|
|
@@ -22,33 +24,7 @@ declare const ResendCreateTemplateOutput: z.ZodObject<{
|
|
|
22
24
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
25
|
object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
26
|
}, z.core.$loose>;
|
|
25
|
-
declare const resendCreateTemplate:
|
|
26
|
-
html: string;
|
|
27
|
-
name: string;
|
|
28
|
-
from?: string | undefined;
|
|
29
|
-
text?: string | undefined;
|
|
30
|
-
alias?: string | undefined;
|
|
31
|
-
subject?: string | undefined;
|
|
32
|
-
reply_to?: string | string[] | undefined;
|
|
33
|
-
variables?: {
|
|
34
|
-
[x: string]: unknown;
|
|
35
|
-
key: string;
|
|
36
|
-
type: "string" | "number";
|
|
37
|
-
fallback_value?: string | number | undefined;
|
|
38
|
-
}[] | undefined;
|
|
39
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"resend", z.ZodObject<{
|
|
40
|
-
connectionId: z.ZodString;
|
|
41
|
-
entityId: z.ZodString;
|
|
42
|
-
instanceId: z.ZodString;
|
|
43
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
44
|
-
generic_api_key: z.ZodString;
|
|
45
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"resend", z.ZodObject<{
|
|
46
|
-
connectionId: z.ZodString;
|
|
47
|
-
entityId: z.ZodString;
|
|
48
|
-
instanceId: z.ZodString;
|
|
49
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
50
|
-
generic_api_key: z.ZodString;
|
|
51
|
-
}, z.core.$strip>>]>;
|
|
27
|
+
declare const resendCreateTemplate: AppAction<typeof ResendCreateTemplateInput, typeof ResendCreateTemplateOutput, typeof resend.credential>;
|
|
52
28
|
//#endregion
|
|
53
29
|
export { resendCreateTemplate };
|
|
54
30
|
//# sourceMappingURL=create-template.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-template.d.cts","names":[],"sources":["../../src/actions/create-template.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-template.d.cts","names":[],"sources":["../../src/actions/create-template.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAczB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAK1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { resend } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-template.d.ts
|
|
@@ -22,33 +24,7 @@ declare const ResendCreateTemplateOutput: z.ZodObject<{
|
|
|
22
24
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
25
|
object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
26
|
}, z.core.$loose>;
|
|
25
|
-
declare const resendCreateTemplate:
|
|
26
|
-
html: string;
|
|
27
|
-
name: string;
|
|
28
|
-
from?: string | undefined;
|
|
29
|
-
text?: string | undefined;
|
|
30
|
-
alias?: string | undefined;
|
|
31
|
-
subject?: string | undefined;
|
|
32
|
-
reply_to?: string | string[] | undefined;
|
|
33
|
-
variables?: {
|
|
34
|
-
[x: string]: unknown;
|
|
35
|
-
key: string;
|
|
36
|
-
type: "string" | "number";
|
|
37
|
-
fallback_value?: string | number | undefined;
|
|
38
|
-
}[] | undefined;
|
|
39
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"resend", z.ZodObject<{
|
|
40
|
-
connectionId: z.ZodString;
|
|
41
|
-
entityId: z.ZodString;
|
|
42
|
-
instanceId: z.ZodString;
|
|
43
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
44
|
-
generic_api_key: z.ZodString;
|
|
45
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"resend", z.ZodObject<{
|
|
46
|
-
connectionId: z.ZodString;
|
|
47
|
-
entityId: z.ZodString;
|
|
48
|
-
instanceId: z.ZodString;
|
|
49
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
50
|
-
generic_api_key: z.ZodString;
|
|
51
|
-
}, z.core.$strip>>]>;
|
|
27
|
+
declare const resendCreateTemplate: AppAction<typeof ResendCreateTemplateInput, typeof ResendCreateTemplateOutput, typeof resend.credential>;
|
|
52
28
|
//#endregion
|
|
53
29
|
export { resendCreateTemplate };
|
|
54
30
|
//# sourceMappingURL=create-template.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-template.d.mts","names":[],"sources":["../../src/actions/create-template.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-template.d.mts","names":[],"sources":["../../src/actions/create-template.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAczB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAK1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-template.mjs","names":[],"sources":["../../src/actions/create-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendCreateTemplateInput = z.object({\n from: z.string().describe(\"Sender email address. To include a friendly name, use the format 'Your Name <sender@domain.com>'.\").optional(),\n html: z.string().describe(\"The HTML version of the template. Use {{VARIABLE_NAME}} syntax to reference template variables.\"),\n name: z.string().describe(\"The name of the template.\"),\n text: z.string().describe(\"The plain text version of the template. If omitted, Resend will auto-generate from HTML.\").optional(),\n alias: z.string().describe(\"The alias of the template. This is an optional identifier that can be used instead of the template ID.\").optional(),\n subject: z.string().describe(\"Email subject for the template.\").optional(),\n reply_to: z.union([z.string(), z.array(z.string())]).optional(),\n variables: z.array(z.object({\n key: z.string().describe(\"The key of the variable. Recommended to use capitalized format (e.g., PRODUCT_NAME). Reserved names: FIRST_NAME, LAST_NAME, EMAIL, RESEND_UNSUBSCRIBE_URL, contact, this.\"),\n type: z.enum([\"string\", \"number\"]).describe(\"The type of the variable, either 'string' or 'number'.\"),\n fallback_value: z.union([z.string(), z.number().int(), z.number()]).optional(),\n}).passthrough().describe(\"Template variable definition.\")).describe(\"Template variables. Up to 50 variables can be defined per template.\").optional(),\n});\nexport const ResendCreateTemplateOutput = z.object({\n id: z.string().describe(\"The ID of the created template.\").nullable().optional(),\n object: z.string().describe(\"The type of object, which is 'template'.\").nullable().optional(),\n}).passthrough();\n\nexport const resendCreateTemplate = action(\"RESEND_CREATE_TEMPLATE\", {\n slug: \"resend-create-template\",\n name: \"Create Template\",\n description: \"Tool to create a new email template in Resend. Use when you need to define reusable email templates with optional variables.\",\n input: ResendCreateTemplateInput,\n output: ResendCreateTemplateOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-template.mjs","names":[],"sources":["../../src/actions/create-template.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { resend } from \"../app\";\n\nexport const ResendCreateTemplateInput = z.object({\n from: z.string().describe(\"Sender email address. To include a friendly name, use the format 'Your Name <sender@domain.com>'.\").optional(),\n html: z.string().describe(\"The HTML version of the template. Use {{VARIABLE_NAME}} syntax to reference template variables.\"),\n name: z.string().describe(\"The name of the template.\"),\n text: z.string().describe(\"The plain text version of the template. If omitted, Resend will auto-generate from HTML.\").optional(),\n alias: z.string().describe(\"The alias of the template. This is an optional identifier that can be used instead of the template ID.\").optional(),\n subject: z.string().describe(\"Email subject for the template.\").optional(),\n reply_to: z.union([z.string(), z.array(z.string())]).optional(),\n variables: z.array(z.object({\n key: z.string().describe(\"The key of the variable. Recommended to use capitalized format (e.g., PRODUCT_NAME). Reserved names: FIRST_NAME, LAST_NAME, EMAIL, RESEND_UNSUBSCRIBE_URL, contact, this.\"),\n type: z.enum([\"string\", \"number\"]).describe(\"The type of the variable, either 'string' or 'number'.\"),\n fallback_value: z.union([z.string(), z.number().int(), z.number()]).optional(),\n}).passthrough().describe(\"Template variable definition.\")).describe(\"Template variables. Up to 50 variables can be defined per template.\").optional(),\n});\nexport const ResendCreateTemplateOutput = z.object({\n id: z.string().describe(\"The ID of the created template.\").nullable().optional(),\n object: z.string().describe(\"The type of object, which is 'template'.\").nullable().optional(),\n}).passthrough();\n\nexport const resendCreateTemplate: AppAction<\n typeof ResendCreateTemplateInput,\n typeof ResendCreateTemplateOutput,\n typeof resend.credential\n> = action(\"RESEND_CREATE_TEMPLATE\", {\n slug: \"resend-create-template\",\n name: \"Create Template\",\n description: \"Tool to create a new email template in Resend. Use when you need to define reusable email templates with optional variables.\",\n input: ResendCreateTemplateInput,\n output: ResendCreateTemplateOutput,\n});\n"],"mappings":";;;AAyBA,MAAa,uBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA3BuC,EAAE,OAAO;EAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;EACxI,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG;EAC3H,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;EAC/H,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;EAC9I,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACzE,UAAU,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS;EAC9D,WAAW,EAAE,MAAM,EAAE,OAAO;GAC5B,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2KAA2K;GACpM,MAAM,EAAE,KAAK,CAAC,UAAU,QAAQ,CAAC,CAAC,CAAC,SAAS,wDAAwD;GACpG,gBAAgB,EAAE,MAAM;IAAC,EAAE,OAAO;IAAG,EAAE,OAAO,CAAC,CAAC,IAAI;IAAG,EAAE,OAAO;GAAC,CAAC,CAAC,CAAC,SAAS;EAC/E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CACrJ,CAcS;CACP,QAdwC,EAAE,OAAO;EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-topic.cjs","names":["z","action"],"sources":["../../src/actions/create-topic.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendCreateTopicInput = z.object({\n name: z.string().describe(\"The topic name. Max length is 50 characters.\"),\n visibility: z.enum([\"public\", \"private\"]).describe(\"Topic visibility on the unsubscribe page.\").optional(),\n description: z.string().describe(\"The topic description. Max length is 200 characters.\").optional(),\n defaultSubscription: z.enum([\"opt_in\", \"opt_out\"]).describe(\"The default subscription preference for new contacts. Accepts opt_in or opt_out. This value cannot be modified afterwards.\"),\n});\nexport const ResendCreateTopicOutput = z.object({\n id: z.string().describe(\"The ID of the topic.\").nullable().optional(),\n object: z.string().describe(\"The object type of the response.\").nullable().optional(),\n}).passthrough();\n\nexport const resendCreateTopic = action(\"RESEND_CREATE_TOPIC\", {\n slug: \"resend-create-topic\",\n name: \"Create Topic\",\n description: \"Tool to create a new topic to segment your audience. Use when you need to create a topic for organizing contacts by interests or preferences.\",\n input: ResendCreateTopicInput,\n output: ResendCreateTopicOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-topic.cjs","names":["z","action"],"sources":["../../src/actions/create-topic.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { resend } from \"../app\";\n\nexport const ResendCreateTopicInput = z.object({\n name: z.string().describe(\"The topic name. Max length is 50 characters.\"),\n visibility: z.enum([\"public\", \"private\"]).describe(\"Topic visibility on the unsubscribe page.\").optional(),\n description: z.string().describe(\"The topic description. Max length is 200 characters.\").optional(),\n defaultSubscription: z.enum([\"opt_in\", \"opt_out\"]).describe(\"The default subscription preference for new contacts. Accepts opt_in or opt_out. This value cannot be modified afterwards.\"),\n});\nexport const ResendCreateTopicOutput = z.object({\n id: z.string().describe(\"The ID of the topic.\").nullable().optional(),\n object: z.string().describe(\"The object type of the response.\").nullable().optional(),\n}).passthrough();\n\nexport const resendCreateTopic: AppAction<\n typeof ResendCreateTopicInput,\n typeof ResendCreateTopicOutput,\n typeof resend.credential\n> = action(\"RESEND_CREATE_TOPIC\", {\n slug: \"resend-create-topic\",\n name: \"Create Topic\",\n description: \"Tool to create a new topic to segment your audience. Use when you need to create a topic for organizing contacts by interests or preferences.\",\n input: ResendCreateTopicInput,\n output: ResendCreateTopicOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CACxE,YAAYA,IAAAA,EAAE,KAAK,CAAC,UAAU,SAAS,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACzG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAClG,qBAAqBA,IAAAA,EAAE,KAAK,CAAC,UAAU,SAAS,CAAC,CAAC,CAAC,SAAS,4HAA4H;AAC1L,CAAC;AACD,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,oBAITC,eAAAA,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { resend } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-topic.d.ts
|
|
@@ -17,24 +19,7 @@ declare const ResendCreateTopicOutput: z.ZodObject<{
|
|
|
17
19
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
20
|
object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
21
|
}, z.core.$loose>;
|
|
20
|
-
declare const resendCreateTopic:
|
|
21
|
-
name: string;
|
|
22
|
-
defaultSubscription: "opt_in" | "opt_out";
|
|
23
|
-
visibility?: "public" | "private" | undefined;
|
|
24
|
-
description?: string | undefined;
|
|
25
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"resend", z.ZodObject<{
|
|
26
|
-
connectionId: z.ZodString;
|
|
27
|
-
entityId: z.ZodString;
|
|
28
|
-
instanceId: z.ZodString;
|
|
29
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
30
|
-
generic_api_key: z.ZodString;
|
|
31
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"resend", z.ZodObject<{
|
|
32
|
-
connectionId: z.ZodString;
|
|
33
|
-
entityId: z.ZodString;
|
|
34
|
-
instanceId: z.ZodString;
|
|
35
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
36
|
-
generic_api_key: z.ZodString;
|
|
37
|
-
}, z.core.$strip>>]>;
|
|
22
|
+
declare const resendCreateTopic: AppAction<typeof ResendCreateTopicInput, typeof ResendCreateTopicOutput, typeof resend.credential>;
|
|
38
23
|
//#endregion
|
|
39
24
|
export { resendCreateTopic };
|
|
40
25
|
//# sourceMappingURL=create-topic.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-topic.d.cts","names":[],"sources":["../../src/actions/create-topic.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-topic.d.cts","names":[],"sources":["../../src/actions/create-topic.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAMtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAKvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,MAAA,CAAO,UAAA"}
|