@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.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-contact-topics.d.ts
|
|
@@ -17,24 +19,7 @@ declare const ResendListContactTopicsOutput: z.ZodObject<{
|
|
|
17
19
|
object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
20
|
has_more: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
19
21
|
}, z.core.$loose>;
|
|
20
|
-
declare const resendListContactTopics:
|
|
21
|
-
contact_id: string;
|
|
22
|
-
after?: string | undefined;
|
|
23
|
-
limit?: number | undefined;
|
|
24
|
-
before?: 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 resendListContactTopics: AppAction<typeof ResendListContactTopicsInput, typeof ResendListContactTopicsOutput, typeof resend.credential>;
|
|
38
23
|
//#endregion
|
|
39
24
|
export { resendListContactTopics };
|
|
40
25
|
//# sourceMappingURL=list-contact-topics.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-contact-topics.d.mts","names":[],"sources":["../../src/actions/list-contact-topics.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-contact-topics.d.mts","names":[],"sources":["../../src/actions/list-contact-topics.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;cAY5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;cAM7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-contact-topics.mjs","names":[],"sources":["../../src/actions/list-contact-topics.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListContactTopicsInput = z.object({\n after: z.string().describe(\"Cursor ID for forward pagination.\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return. Max: 100.\").optional(),\n before: z.string().describe(\"Cursor ID for backward pagination.\").optional(),\n contact_id: z.string().describe(\"The ID of the contact.\"),\n});\nconst ResendListContactTopics_TopicSubscriptionSchema = z.object({\n id: z.string().describe(\"Unique identifier for the topic.\").nullable().optional(),\n name: z.string().describe(\"Topic display name.\").nullable().optional(),\n description: z.string().describe(\"Explanation of topic content.\").nullable().optional(),\n subscription: z.string().describe(\"Subscription status (e.g., 'opt_in', 'opt_out').\").nullable().optional(),\n}).passthrough().describe(\"Topic subscription object representation.\");\nexport const ResendListContactTopicsOutput = z.object({\n data: z.array(ResendListContactTopics_TopicSubscriptionSchema).describe(\"Collection of topic subscription objects.\").nullable().optional(),\n object: z.string().describe(\"Identifies response type as 'list'.\").nullable().optional(),\n has_more: z.boolean().describe(\"Indicates if additional paginated results exist.\").nullable().optional(),\n}).passthrough();\n\nexport const resendListContactTopics = action(\"RESEND_LIST_CONTACT_TOPICS\", {\n slug: \"resend-list-contact-topics\",\n name: \"List Contact Topics\",\n description: \"Retrieve a list of topic subscriptions for a contact in Resend. Use when you need to check which topics a specific contact is subscribed to.\",\n input: ResendListContactTopicsInput,\n output: ResendListContactTopicsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-contact-topics.mjs","names":[],"sources":["../../src/actions/list-contact-topics.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 ResendListContactTopicsInput = z.object({\n after: z.string().describe(\"Cursor ID for forward pagination.\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return. Max: 100.\").optional(),\n before: z.string().describe(\"Cursor ID for backward pagination.\").optional(),\n contact_id: z.string().describe(\"The ID of the contact.\"),\n});\nconst ResendListContactTopics_TopicSubscriptionSchema = z.object({\n id: z.string().describe(\"Unique identifier for the topic.\").nullable().optional(),\n name: z.string().describe(\"Topic display name.\").nullable().optional(),\n description: z.string().describe(\"Explanation of topic content.\").nullable().optional(),\n subscription: z.string().describe(\"Subscription status (e.g., 'opt_in', 'opt_out').\").nullable().optional(),\n}).passthrough().describe(\"Topic subscription object representation.\");\nexport const ResendListContactTopicsOutput = z.object({\n data: z.array(ResendListContactTopics_TopicSubscriptionSchema).describe(\"Collection of topic subscription objects.\").nullable().optional(),\n object: z.string().describe(\"Identifies response type as 'list'.\").nullable().optional(),\n has_more: z.boolean().describe(\"Indicates if additional paginated results exist.\").nullable().optional(),\n}).passthrough();\n\nexport const resendListContactTopics: AppAction<\n typeof ResendListContactTopicsInput,\n typeof ResendListContactTopicsOutput,\n typeof resend.credential\n> = action(\"RESEND_LIST_CONTACT_TOPICS\", {\n slug: \"resend-list-contact-topics\",\n name: \"List Contact Topics\",\n description: \"Retrieve a list of topic subscriptions for a contact in Resend. Use when you need to check which topics a specific contact is subscribed to.\",\n input: ResendListContactTopicsInput,\n output: ResendListContactTopicsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+B,EAAE,OAAO;CACnD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC5F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC3E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;AAC1D,CAAC;AACD,MAAM,kDAAkD,EAAE,OAAO;CAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAOrE,MAAa,0BAIT,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAf2C,EAAE,OAAO;EACpD,MAAM,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-contacts.cjs","names":["z","action"],"sources":["../../src/actions/list-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListContactsInput = z.object({\n after: z.string().describe(\"Cursor ID for forward pagination.\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return. Max: 100.\").optional(),\n before: z.string().describe(\"Cursor ID for backward pagination.\").optional(),\n audienceId: z.string().describe(\"The Audience ID.\"),\n});\nconst ResendListContacts_ContactSchema = z.object({\n id: z.string().describe(\"Unique contact identifier.\").nullable(),\n email: z.string().describe(\"Contact's email address.\").nullable(),\n last_name: z.string().describe(\"Contact's surname.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of contact creation in ISO 8601 format.\").nullable(),\n first_name: z.string().describe(\"Contact's given name.\").nullable().optional(),\n unsubscribed: z.boolean().describe(\"Indicates subscription status.\").nullable(),\n}).passthrough().describe(\"Contact object representation.\");\nexport const ResendListContactsOutput = z.object({\n data: z.array(ResendListContacts_ContactSchema).describe(\"Collection of contact objects.\"),\n object: z.string().describe(\"Identifier indicating this is a list response.\").nullable(),\n has_more: z.boolean().describe(\"Whether additional results are available for pagination.\").nullable(),\n}).passthrough();\n\nexport const resendListContacts = action(\"RESEND_LIST_CONTACTS\", {\n slug: \"resend-list-contacts\",\n name: \"List Contacts\",\n description: \"List contacts in Resend.\",\n input: ResendListContactsInput,\n output: ResendListContactsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-contacts.cjs","names":["z","action"],"sources":["../../src/actions/list-contacts.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 ResendListContactsInput = z.object({\n after: z.string().describe(\"Cursor ID for forward pagination.\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return. Max: 100.\").optional(),\n before: z.string().describe(\"Cursor ID for backward pagination.\").optional(),\n audienceId: z.string().describe(\"The Audience ID.\"),\n});\nconst ResendListContacts_ContactSchema = z.object({\n id: z.string().describe(\"Unique contact identifier.\").nullable(),\n email: z.string().describe(\"Contact's email address.\").nullable(),\n last_name: z.string().describe(\"Contact's surname.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of contact creation in ISO 8601 format.\").nullable(),\n first_name: z.string().describe(\"Contact's given name.\").nullable().optional(),\n unsubscribed: z.boolean().describe(\"Indicates subscription status.\").nullable(),\n}).passthrough().describe(\"Contact object representation.\");\nexport const ResendListContactsOutput = z.object({\n data: z.array(ResendListContacts_ContactSchema).describe(\"Collection of contact objects.\"),\n object: z.string().describe(\"Identifier indicating this is a list response.\").nullable(),\n has_more: z.boolean().describe(\"Whether additional results are available for pagination.\").nullable(),\n}).passthrough();\n\nexport const resendListContacts: AppAction<\n typeof ResendListContactsInput,\n typeof ResendListContactsOutput,\n typeof resend.credential\n> = action(\"RESEND_LIST_CONTACTS\", {\n slug: \"resend-list-contacts\",\n name: \"List Contacts\",\n description: \"List contacts in Resend.\",\n input: ResendListContactsInput,\n output: ResendListContactsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC5F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC3E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;AACpD,CAAC;AACD,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAChE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC9F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gCAAgC;AAC1D,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,gCAAgC;CACzF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACvF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AACtG,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/list-contacts.d.ts
|
|
@@ -19,24 +21,7 @@ declare const ResendListContactsOutput: z.ZodObject<{
|
|
|
19
21
|
object: z.ZodNullable<z.ZodString>;
|
|
20
22
|
has_more: z.ZodNullable<z.ZodBoolean>;
|
|
21
23
|
}, z.core.$loose>;
|
|
22
|
-
declare const resendListContacts:
|
|
23
|
-
audienceId: string;
|
|
24
|
-
after?: string | undefined;
|
|
25
|
-
limit?: number | undefined;
|
|
26
|
-
before?: string | undefined;
|
|
27
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<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>>]>, readonly [import("@keystrokehq/shared").Credential<"resend", z.ZodObject<{
|
|
34
|
-
connectionId: z.ZodString;
|
|
35
|
-
entityId: z.ZodString;
|
|
36
|
-
instanceId: z.ZodString;
|
|
37
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
38
|
-
generic_api_key: z.ZodString;
|
|
39
|
-
}, z.core.$strip>>]>;
|
|
24
|
+
declare const resendListContacts: AppAction<typeof ResendListContactsInput, typeof ResendListContactsOutput, typeof resend.credential>;
|
|
40
25
|
//#endregion
|
|
41
26
|
export { resendListContacts };
|
|
42
27
|
//# sourceMappingURL=list-contacts.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-contacts.d.cts","names":[],"sources":["../../src/actions/list-contacts.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-contacts.d.cts","names":[],"sources":["../../src/actions/list-contacts.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;cAcvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAMxB,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/list-contacts.d.ts
|
|
@@ -19,24 +21,7 @@ declare const ResendListContactsOutput: z.ZodObject<{
|
|
|
19
21
|
object: z.ZodNullable<z.ZodString>;
|
|
20
22
|
has_more: z.ZodNullable<z.ZodBoolean>;
|
|
21
23
|
}, z.core.$loose>;
|
|
22
|
-
declare const resendListContacts:
|
|
23
|
-
audienceId: string;
|
|
24
|
-
after?: string | undefined;
|
|
25
|
-
limit?: number | undefined;
|
|
26
|
-
before?: string | undefined;
|
|
27
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<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>>]>, readonly [import("@keystrokehq/shared").Credential<"resend", z.ZodObject<{
|
|
34
|
-
connectionId: z.ZodString;
|
|
35
|
-
entityId: z.ZodString;
|
|
36
|
-
instanceId: z.ZodString;
|
|
37
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
38
|
-
generic_api_key: z.ZodString;
|
|
39
|
-
}, z.core.$strip>>]>;
|
|
24
|
+
declare const resendListContacts: AppAction<typeof ResendListContactsInput, typeof ResendListContactsOutput, typeof resend.credential>;
|
|
40
25
|
//#endregion
|
|
41
26
|
export { resendListContacts };
|
|
42
27
|
//# sourceMappingURL=list-contacts.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-contacts.d.mts","names":[],"sources":["../../src/actions/list-contacts.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-contacts.d.mts","names":[],"sources":["../../src/actions/list-contacts.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;cAcvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAMxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-contacts.mjs","names":[],"sources":["../../src/actions/list-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListContactsInput = z.object({\n after: z.string().describe(\"Cursor ID for forward pagination.\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return. Max: 100.\").optional(),\n before: z.string().describe(\"Cursor ID for backward pagination.\").optional(),\n audienceId: z.string().describe(\"The Audience ID.\"),\n});\nconst ResendListContacts_ContactSchema = z.object({\n id: z.string().describe(\"Unique contact identifier.\").nullable(),\n email: z.string().describe(\"Contact's email address.\").nullable(),\n last_name: z.string().describe(\"Contact's surname.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of contact creation in ISO 8601 format.\").nullable(),\n first_name: z.string().describe(\"Contact's given name.\").nullable().optional(),\n unsubscribed: z.boolean().describe(\"Indicates subscription status.\").nullable(),\n}).passthrough().describe(\"Contact object representation.\");\nexport const ResendListContactsOutput = z.object({\n data: z.array(ResendListContacts_ContactSchema).describe(\"Collection of contact objects.\"),\n object: z.string().describe(\"Identifier indicating this is a list response.\").nullable(),\n has_more: z.boolean().describe(\"Whether additional results are available for pagination.\").nullable(),\n}).passthrough();\n\nexport const resendListContacts = action(\"RESEND_LIST_CONTACTS\", {\n slug: \"resend-list-contacts\",\n name: \"List Contacts\",\n description: \"List contacts in Resend.\",\n input: ResendListContactsInput,\n output: ResendListContactsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-contacts.mjs","names":[],"sources":["../../src/actions/list-contacts.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 ResendListContactsInput = z.object({\n after: z.string().describe(\"Cursor ID for forward pagination.\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return. Max: 100.\").optional(),\n before: z.string().describe(\"Cursor ID for backward pagination.\").optional(),\n audienceId: z.string().describe(\"The Audience ID.\"),\n});\nconst ResendListContacts_ContactSchema = z.object({\n id: z.string().describe(\"Unique contact identifier.\").nullable(),\n email: z.string().describe(\"Contact's email address.\").nullable(),\n last_name: z.string().describe(\"Contact's surname.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of contact creation in ISO 8601 format.\").nullable(),\n first_name: z.string().describe(\"Contact's given name.\").nullable().optional(),\n unsubscribed: z.boolean().describe(\"Indicates subscription status.\").nullable(),\n}).passthrough().describe(\"Contact object representation.\");\nexport const ResendListContactsOutput = z.object({\n data: z.array(ResendListContacts_ContactSchema).describe(\"Collection of contact objects.\"),\n object: z.string().describe(\"Identifier indicating this is a list response.\").nullable(),\n has_more: z.boolean().describe(\"Whether additional results are available for pagination.\").nullable(),\n}).passthrough();\n\nexport const resendListContacts: AppAction<\n typeof ResendListContactsInput,\n typeof ResendListContactsOutput,\n typeof resend.credential\n> = action(\"RESEND_LIST_CONTACTS\", {\n slug: \"resend-list-contacts\",\n name: \"List Contacts\",\n description: \"List contacts in Resend.\",\n input: ResendListContactsInput,\n output: ResendListContactsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC5F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC3E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;AACpD,CAAC;AACD,MAAM,mCAAmC,EAAE,OAAO;CAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAChE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC9F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gCAAgC;AAO1D,MAAa,qBAIT,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAfsC,EAAE,OAAO;EAC/C,MAAM,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,gCAAgC;EACzF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EACvF,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACtG,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-domains.cjs","names":["z","action"],"sources":["../../src/actions/list-domains.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListDomainsInput = z.object({});\nconst ResendListDomains_DomainSchema = z.object({\n id: z.string().describe(\"The id of the domain.\").nullable().optional(),\n name: z.string().describe(\"The name of the 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.\").nullable().optional(),\n created_at: z.string().describe(\"The creation timestamp of the domain.\").nullable().optional(),\n}).passthrough();\nexport const ResendListDomainsOutput = z.object({\n domains: z.array(ResendListDomains_DomainSchema).describe(\"The list of domains.\").nullable().optional(),\n}).passthrough();\n\nexport const resendListDomains = action(\"RESEND_LIST_DOMAINS\", {\n slug: \"resend-list-domains\",\n name: \"List Domains\",\n description: \"List all domains. Use the returned domain IDs as inputs for tools like RESEND_VERIFY_DOMAIN that require a domain_id.\",\n input: ResendListDomainsInput,\n output: ResendListDomainsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-domains.cjs","names":["z","action"],"sources":["../../src/actions/list-domains.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 ResendListDomainsInput = z.object({});\nconst ResendListDomains_DomainSchema = z.object({\n id: z.string().describe(\"The id of the domain.\").nullable().optional(),\n name: z.string().describe(\"The name of the 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.\").nullable().optional(),\n created_at: z.string().describe(\"The creation timestamp of the domain.\").nullable().optional(),\n}).passthrough();\nexport const ResendListDomainsOutput = z.object({\n domains: z.array(ResendListDomains_DomainSchema).describe(\"The list of domains.\").nullable().optional(),\n}).passthrough();\n\nexport const resendListDomains: AppAction<\n typeof ResendListDomainsInput,\n typeof ResendListDomainsOutput,\n typeof resend.credential\n> = action(\"RESEND_LIST_DOMAINS\", {\n slug: \"resend-list-domains\",\n name: \"List Domains\",\n description: \"List all domains. Use the returned domain IDs as inputs for tools like RESEND_VERIFY_DOMAIN that require a domain_id.\",\n input: ResendListDomainsInput,\n output: ResendListDomainsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC;AACjD,MAAM,iCAAiCA,IAAAA,EAAE,OAAO;CAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,SAASA,IAAAA,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxG,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/list-domains.d.ts
|
|
@@ -11,19 +13,7 @@ declare const ResendListDomainsOutput: z.ZodObject<{
|
|
|
11
13
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
14
|
}, z.core.$loose>>>>;
|
|
13
15
|
}, z.core.$loose>;
|
|
14
|
-
declare const resendListDomains:
|
|
15
|
-
connectionId: z.ZodString;
|
|
16
|
-
entityId: z.ZodString;
|
|
17
|
-
instanceId: z.ZodString;
|
|
18
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19
|
-
generic_api_key: z.ZodString;
|
|
20
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"resend", z.ZodObject<{
|
|
21
|
-
connectionId: z.ZodString;
|
|
22
|
-
entityId: z.ZodString;
|
|
23
|
-
instanceId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
-
generic_api_key: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>;
|
|
16
|
+
declare const resendListDomains: AppAction<typeof ResendListDomainsInput, typeof ResendListDomainsOutput, typeof resend.credential>;
|
|
27
17
|
//#endregion
|
|
28
18
|
export { resendListDomains };
|
|
29
19
|
//# sourceMappingURL=list-domains.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-domains.d.cts","names":[],"sources":["../../src/actions/list-domains.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-domains.d.cts","names":[],"sources":["../../src/actions/list-domains.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAQtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;cAIvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,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/list-domains.d.ts
|
|
@@ -11,19 +13,7 @@ declare const ResendListDomainsOutput: z.ZodObject<{
|
|
|
11
13
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
14
|
}, z.core.$loose>>>>;
|
|
13
15
|
}, z.core.$loose>;
|
|
14
|
-
declare const resendListDomains:
|
|
15
|
-
connectionId: z.ZodString;
|
|
16
|
-
entityId: z.ZodString;
|
|
17
|
-
instanceId: z.ZodString;
|
|
18
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19
|
-
generic_api_key: z.ZodString;
|
|
20
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"resend", z.ZodObject<{
|
|
21
|
-
connectionId: z.ZodString;
|
|
22
|
-
entityId: z.ZodString;
|
|
23
|
-
instanceId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
-
generic_api_key: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>;
|
|
16
|
+
declare const resendListDomains: AppAction<typeof ResendListDomainsInput, typeof ResendListDomainsOutput, typeof resend.credential>;
|
|
27
17
|
//#endregion
|
|
28
18
|
export { resendListDomains };
|
|
29
19
|
//# sourceMappingURL=list-domains.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-domains.d.mts","names":[],"sources":["../../src/actions/list-domains.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-domains.d.mts","names":[],"sources":["../../src/actions/list-domains.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAQtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;cAIvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-domains.mjs","names":[],"sources":["../../src/actions/list-domains.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListDomainsInput = z.object({});\nconst ResendListDomains_DomainSchema = z.object({\n id: z.string().describe(\"The id of the domain.\").nullable().optional(),\n name: z.string().describe(\"The name of the 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.\").nullable().optional(),\n created_at: z.string().describe(\"The creation timestamp of the domain.\").nullable().optional(),\n}).passthrough();\nexport const ResendListDomainsOutput = z.object({\n domains: z.array(ResendListDomains_DomainSchema).describe(\"The list of domains.\").nullable().optional(),\n}).passthrough();\n\nexport const resendListDomains = action(\"RESEND_LIST_DOMAINS\", {\n slug: \"resend-list-domains\",\n name: \"List Domains\",\n description: \"List all domains. Use the returned domain IDs as inputs for tools like RESEND_VERIFY_DOMAIN that require a domain_id.\",\n input: ResendListDomainsInput,\n output: ResendListDomainsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-domains.mjs","names":[],"sources":["../../src/actions/list-domains.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 ResendListDomainsInput = z.object({});\nconst ResendListDomains_DomainSchema = z.object({\n id: z.string().describe(\"The id of the domain.\").nullable().optional(),\n name: z.string().describe(\"The name of the 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.\").nullable().optional(),\n created_at: z.string().describe(\"The creation timestamp of the domain.\").nullable().optional(),\n}).passthrough();\nexport const ResendListDomainsOutput = z.object({\n domains: z.array(ResendListDomains_DomainSchema).describe(\"The list of domains.\").nullable().optional(),\n}).passthrough();\n\nexport const resendListDomains: AppAction<\n typeof ResendListDomainsInput,\n typeof ResendListDomainsOutput,\n typeof resend.credential\n> = action(\"RESEND_LIST_DOMAINS\", {\n slug: \"resend-list-domains\",\n name: \"List Domains\",\n description: \"List all domains. Use the returned domain IDs as inputs for tools like RESEND_VERIFY_DOMAIN that require a domain_id.\",\n input: ResendListDomainsInput,\n output: ResendListDomainsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyB,EAAE,OAAO,CAAC,CAAC;AACjD,MAAM,iCAAiC,EAAE,OAAO;CAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,oBAIT,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbqC,EAAE,OAAO,EAC9C,SAAS,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxG,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-email-attachments.cjs","names":["z","action"],"sources":["../../src/actions/list-email-attachments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListEmailAttachmentsInput = z.object({\n after: z.string().describe(\"Pagination cursor to fetch results after this attachment ID. Cannot be used with 'before'.\").optional(),\n limit: z.number().int().describe(\"Maximum number of attachments to return. Use for pagination.\").optional(),\n before: z.string().describe(\"Pagination cursor to fetch results before this attachment ID. Cannot be used with 'after'.\").optional(),\n email_id: z.string().describe(\"The ID of the email to retrieve attachments from.\"),\n});\nconst ResendListEmailAttachments_AttachmentSchema = z.object({\n id: z.string().describe(\"The unique ID of the attachment.\").nullable().optional(),\n size: z.number().int().describe(\"The size of the attachment in bytes.\").nullable().optional(),\n filename: z.string().describe(\"The filename of the attachment.\").nullable().optional(),\n content_id: z.string().describe(\"The content ID of the attachment, used for inline images.\").nullable().optional(),\n expires_at: z.string().describe(\"The timestamp when the download URL expires.\").nullable().optional(),\n content_type: z.string().describe(\"The MIME type of the attachment (e.g., 'application/pdf', 'image/png').\").nullable().optional(),\n download_url: z.string().describe(\"The URL to download the attachment.\").nullable().optional(),\n content_disposition: z.string().describe(\"The content disposition of the attachment (e.g., 'attachment', 'inline').\").nullable().optional(),\n}).passthrough();\nexport const ResendListEmailAttachmentsOutput = z.object({\n data: z.array(ResendListEmailAttachments_AttachmentSchema).describe(\"Array containing attachment information.\").nullable().optional(),\n object: z.string().describe(\"The type of object, which is 'list'.\").nullable().optional(),\n has_more: z.boolean().describe(\"Indicates if there are more results available for pagination.\").nullable().optional(),\n}).passthrough();\n\nexport const resendListEmailAttachments = action(\"RESEND_LIST_EMAIL_ATTACHMENTS\", {\n slug: \"resend-list-email-attachments\",\n name: \"List Email Attachments\",\n description: \"Tool to retrieve a list of attachments from a sent email. Use when you need to get information about files attached to an email sent via Resend.\",\n input: ResendListEmailAttachmentsInput,\n output: ResendListEmailAttachmentsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-email-attachments.cjs","names":["z","action"],"sources":["../../src/actions/list-email-attachments.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 ResendListEmailAttachmentsInput = z.object({\n after: z.string().describe(\"Pagination cursor to fetch results after this attachment ID. Cannot be used with 'before'.\").optional(),\n limit: z.number().int().describe(\"Maximum number of attachments to return. Use for pagination.\").optional(),\n before: z.string().describe(\"Pagination cursor to fetch results before this attachment ID. Cannot be used with 'after'.\").optional(),\n email_id: z.string().describe(\"The ID of the email to retrieve attachments from.\"),\n});\nconst ResendListEmailAttachments_AttachmentSchema = z.object({\n id: z.string().describe(\"The unique ID of the attachment.\").nullable().optional(),\n size: z.number().int().describe(\"The size of the attachment in bytes.\").nullable().optional(),\n filename: z.string().describe(\"The filename of the attachment.\").nullable().optional(),\n content_id: z.string().describe(\"The content ID of the attachment, used for inline images.\").nullable().optional(),\n expires_at: z.string().describe(\"The timestamp when the download URL expires.\").nullable().optional(),\n content_type: z.string().describe(\"The MIME type of the attachment (e.g., 'application/pdf', 'image/png').\").nullable().optional(),\n download_url: z.string().describe(\"The URL to download the attachment.\").nullable().optional(),\n content_disposition: z.string().describe(\"The content disposition of the attachment (e.g., 'attachment', 'inline').\").nullable().optional(),\n}).passthrough();\nexport const ResendListEmailAttachmentsOutput = z.object({\n data: z.array(ResendListEmailAttachments_AttachmentSchema).describe(\"Array containing attachment information.\").nullable().optional(),\n object: z.string().describe(\"The type of object, which is 'list'.\").nullable().optional(),\n has_more: z.boolean().describe(\"Indicates if there are more results available for pagination.\").nullable().optional(),\n}).passthrough();\n\nexport const resendListEmailAttachments: AppAction<\n typeof ResendListEmailAttachmentsInput,\n typeof ResendListEmailAttachmentsOutput,\n typeof resend.credential\n> = action(\"RESEND_LIST_EMAIL_ATTACHMENTS\", {\n slug: \"resend-list-email-attachments\",\n name: \"List Email Attachments\",\n description: \"Tool to retrieve a list of attachments from a sent email. Use when you need to get information about files attached to an email sent via Resend.\",\n input: ResendListEmailAttachmentsInput,\n output: ResendListEmailAttachmentsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CAClI,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC1G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CACnI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;AACnF,CAAC;AACD,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5I,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,6BAITC,eAAAA,OAAO,iCAAiC;CAC1C,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/list-email-attachments.d.ts
|
|
@@ -21,24 +23,7 @@ declare const ResendListEmailAttachmentsOutput: z.ZodObject<{
|
|
|
21
23
|
object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
24
|
has_more: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
23
25
|
}, z.core.$loose>;
|
|
24
|
-
declare const resendListEmailAttachments:
|
|
25
|
-
email_id: string;
|
|
26
|
-
after?: string | undefined;
|
|
27
|
-
limit?: number | undefined;
|
|
28
|
-
before?: string | undefined;
|
|
29
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"resend", z.ZodObject<{
|
|
30
|
-
connectionId: z.ZodString;
|
|
31
|
-
entityId: z.ZodString;
|
|
32
|
-
instanceId: z.ZodString;
|
|
33
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
34
|
-
generic_api_key: z.ZodString;
|
|
35
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"resend", z.ZodObject<{
|
|
36
|
-
connectionId: z.ZodString;
|
|
37
|
-
entityId: z.ZodString;
|
|
38
|
-
instanceId: z.ZodString;
|
|
39
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
40
|
-
generic_api_key: z.ZodString;
|
|
41
|
-
}, z.core.$strip>>]>;
|
|
26
|
+
declare const resendListEmailAttachments: AppAction<typeof ResendListEmailAttachmentsInput, typeof ResendListEmailAttachmentsOutput, typeof resend.credential>;
|
|
42
27
|
//#endregion
|
|
43
28
|
export { resendListEmailAttachments };
|
|
44
29
|
//# sourceMappingURL=list-email-attachments.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-email-attachments.d.cts","names":[],"sources":["../../src/actions/list-email-attachments.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-email-attachments.d.cts","names":[],"sources":["../../src/actions/list-email-attachments.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;cAgB/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAMhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,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/list-email-attachments.d.ts
|
|
@@ -21,24 +23,7 @@ declare const ResendListEmailAttachmentsOutput: z.ZodObject<{
|
|
|
21
23
|
object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
24
|
has_more: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
23
25
|
}, z.core.$loose>;
|
|
24
|
-
declare const resendListEmailAttachments:
|
|
25
|
-
email_id: string;
|
|
26
|
-
after?: string | undefined;
|
|
27
|
-
limit?: number | undefined;
|
|
28
|
-
before?: string | undefined;
|
|
29
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"resend", z.ZodObject<{
|
|
30
|
-
connectionId: z.ZodString;
|
|
31
|
-
entityId: z.ZodString;
|
|
32
|
-
instanceId: z.ZodString;
|
|
33
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
34
|
-
generic_api_key: z.ZodString;
|
|
35
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"resend", z.ZodObject<{
|
|
36
|
-
connectionId: z.ZodString;
|
|
37
|
-
entityId: z.ZodString;
|
|
38
|
-
instanceId: z.ZodString;
|
|
39
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
40
|
-
generic_api_key: z.ZodString;
|
|
41
|
-
}, z.core.$strip>>]>;
|
|
26
|
+
declare const resendListEmailAttachments: AppAction<typeof ResendListEmailAttachmentsInput, typeof ResendListEmailAttachmentsOutput, typeof resend.credential>;
|
|
42
27
|
//#endregion
|
|
43
28
|
export { resendListEmailAttachments };
|
|
44
29
|
//# sourceMappingURL=list-email-attachments.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-email-attachments.d.mts","names":[],"sources":["../../src/actions/list-email-attachments.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-email-attachments.d.mts","names":[],"sources":["../../src/actions/list-email-attachments.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;cAgB/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAMhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-email-attachments.mjs","names":[],"sources":["../../src/actions/list-email-attachments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListEmailAttachmentsInput = z.object({\n after: z.string().describe(\"Pagination cursor to fetch results after this attachment ID. Cannot be used with 'before'.\").optional(),\n limit: z.number().int().describe(\"Maximum number of attachments to return. Use for pagination.\").optional(),\n before: z.string().describe(\"Pagination cursor to fetch results before this attachment ID. Cannot be used with 'after'.\").optional(),\n email_id: z.string().describe(\"The ID of the email to retrieve attachments from.\"),\n});\nconst ResendListEmailAttachments_AttachmentSchema = z.object({\n id: z.string().describe(\"The unique ID of the attachment.\").nullable().optional(),\n size: z.number().int().describe(\"The size of the attachment in bytes.\").nullable().optional(),\n filename: z.string().describe(\"The filename of the attachment.\").nullable().optional(),\n content_id: z.string().describe(\"The content ID of the attachment, used for inline images.\").nullable().optional(),\n expires_at: z.string().describe(\"The timestamp when the download URL expires.\").nullable().optional(),\n content_type: z.string().describe(\"The MIME type of the attachment (e.g., 'application/pdf', 'image/png').\").nullable().optional(),\n download_url: z.string().describe(\"The URL to download the attachment.\").nullable().optional(),\n content_disposition: z.string().describe(\"The content disposition of the attachment (e.g., 'attachment', 'inline').\").nullable().optional(),\n}).passthrough();\nexport const ResendListEmailAttachmentsOutput = z.object({\n data: z.array(ResendListEmailAttachments_AttachmentSchema).describe(\"Array containing attachment information.\").nullable().optional(),\n object: z.string().describe(\"The type of object, which is 'list'.\").nullable().optional(),\n has_more: z.boolean().describe(\"Indicates if there are more results available for pagination.\").nullable().optional(),\n}).passthrough();\n\nexport const resendListEmailAttachments = action(\"RESEND_LIST_EMAIL_ATTACHMENTS\", {\n slug: \"resend-list-email-attachments\",\n name: \"List Email Attachments\",\n description: \"Tool to retrieve a list of attachments from a sent email. Use when you need to get information about files attached to an email sent via Resend.\",\n input: ResendListEmailAttachmentsInput,\n output: ResendListEmailAttachmentsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-email-attachments.mjs","names":[],"sources":["../../src/actions/list-email-attachments.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 ResendListEmailAttachmentsInput = z.object({\n after: z.string().describe(\"Pagination cursor to fetch results after this attachment ID. Cannot be used with 'before'.\").optional(),\n limit: z.number().int().describe(\"Maximum number of attachments to return. Use for pagination.\").optional(),\n before: z.string().describe(\"Pagination cursor to fetch results before this attachment ID. Cannot be used with 'after'.\").optional(),\n email_id: z.string().describe(\"The ID of the email to retrieve attachments from.\"),\n});\nconst ResendListEmailAttachments_AttachmentSchema = z.object({\n id: z.string().describe(\"The unique ID of the attachment.\").nullable().optional(),\n size: z.number().int().describe(\"The size of the attachment in bytes.\").nullable().optional(),\n filename: z.string().describe(\"The filename of the attachment.\").nullable().optional(),\n content_id: z.string().describe(\"The content ID of the attachment, used for inline images.\").nullable().optional(),\n expires_at: z.string().describe(\"The timestamp when the download URL expires.\").nullable().optional(),\n content_type: z.string().describe(\"The MIME type of the attachment (e.g., 'application/pdf', 'image/png').\").nullable().optional(),\n download_url: z.string().describe(\"The URL to download the attachment.\").nullable().optional(),\n content_disposition: z.string().describe(\"The content disposition of the attachment (e.g., 'attachment', 'inline').\").nullable().optional(),\n}).passthrough();\nexport const ResendListEmailAttachmentsOutput = z.object({\n data: z.array(ResendListEmailAttachments_AttachmentSchema).describe(\"Array containing attachment information.\").nullable().optional(),\n object: z.string().describe(\"The type of object, which is 'list'.\").nullable().optional(),\n has_more: z.boolean().describe(\"Indicates if there are more results available for pagination.\").nullable().optional(),\n}).passthrough();\n\nexport const resendListEmailAttachments: AppAction<\n typeof ResendListEmailAttachmentsInput,\n typeof ResendListEmailAttachmentsOutput,\n typeof resend.credential\n> = action(\"RESEND_LIST_EMAIL_ATTACHMENTS\", {\n slug: \"resend-list-email-attachments\",\n name: \"List Email Attachments\",\n description: \"Tool to retrieve a list of attachments from a sent email. Use when you need to get information about files attached to an email sent via Resend.\",\n input: ResendListEmailAttachmentsInput,\n output: ResendListEmailAttachmentsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkC,EAAE,OAAO;CACtD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CAClI,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC1G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CACnI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;AACnF,CAAC;AACD,MAAM,8CAA8C,EAAE,OAAO;CAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5I,CAAC,CAAC,CAAC,YAAY;AAOf,MAAa,6BAIT,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAf8C,EAAE,OAAO;EACvD,MAAM,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-emails.cjs","names":["z","action"],"sources":["../../src/actions/list-emails.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListEmailsInput = z.object({\n after: z.string().describe(\"Pagination cursor to fetch results after this email ID. Cannot be used with 'before'.\").optional(),\n limit: z.number().int().describe(\"Maximum number of emails to return. Default 20, max 100, min 1.\").optional(),\n before: z.string().describe(\"Pagination cursor to fetch results before this email ID. Cannot be used with 'after'.\").optional(),\n});\nconst ResendListEmails_EmailSchema = z.object({\n cc: z.array(z.string()).describe(\"Carbon copy recipient(s).\").nullable().optional(),\n id: z.string().describe(\"Unique email identifier.\").nullable().optional(),\n to: z.array(z.string()).describe(\"Recipient email address(es).\").nullable().optional(),\n bcc: z.array(z.string()).describe(\"Blind carbon copy recipient(s).\").nullable().optional(),\n from: z.string().describe(\"Sender email address.\").nullable().optional(),\n html: z.string().describe(\"HTML content of the email.\").nullable().optional(),\n text: z.string().describe(\"Plain text content of the email.\").nullable().optional(),\n subject: z.string().describe(\"Email subject line.\").nullable().optional(),\n reply_to: z.array(z.string()).describe(\"Reply-to email address(es).\").nullable().optional(),\n created_at: z.string().describe(\"ISO timestamp of email creation.\").nullable().optional(),\n last_event: z.string().describe(\"Final delivery status (e.g., 'delivered', 'opened').\").nullable().optional(),\n scheduled_at: z.string().describe(\"ISO timestamp if email was scheduled.\").nullable().optional(),\n}).passthrough();\nexport const ResendListEmailsOutput = z.object({\n data: z.array(ResendListEmails_EmailSchema).describe(\"Array containing email information.\").nullable().optional(),\n object: z.string().describe(\"Type of the response object, which is 'list'.\").nullable().optional(),\n has_more: z.boolean().describe(\"Indicates if there are more results available.\").nullable().optional(),\n}).passthrough();\n\nexport const resendListEmails = action(\"RESEND_LIST_EMAILS\", {\n slug: \"resend-list-emails\",\n name: \"List Emails\",\n description: \"Tool to retrieve a list of emails sent by your team. Use when you need to fetch outbound emails from your account. Supports pagination with limit, after, and before parameters.\",\n input: ResendListEmailsInput,\n output: ResendListEmailsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-emails.cjs","names":["z","action"],"sources":["../../src/actions/list-emails.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 ResendListEmailsInput = z.object({\n after: z.string().describe(\"Pagination cursor to fetch results after this email ID. Cannot be used with 'before'.\").optional(),\n limit: z.number().int().describe(\"Maximum number of emails to return. Default 20, max 100, min 1.\").optional(),\n before: z.string().describe(\"Pagination cursor to fetch results before this email ID. Cannot be used with 'after'.\").optional(),\n});\nconst ResendListEmails_EmailSchema = z.object({\n cc: z.array(z.string()).describe(\"Carbon copy recipient(s).\").nullable().optional(),\n id: z.string().describe(\"Unique email identifier.\").nullable().optional(),\n to: z.array(z.string()).describe(\"Recipient email address(es).\").nullable().optional(),\n bcc: z.array(z.string()).describe(\"Blind carbon copy recipient(s).\").nullable().optional(),\n from: z.string().describe(\"Sender email address.\").nullable().optional(),\n html: z.string().describe(\"HTML content of the email.\").nullable().optional(),\n text: z.string().describe(\"Plain text content of the email.\").nullable().optional(),\n subject: z.string().describe(\"Email subject line.\").nullable().optional(),\n reply_to: z.array(z.string()).describe(\"Reply-to email address(es).\").nullable().optional(),\n created_at: z.string().describe(\"ISO timestamp of email creation.\").nullable().optional(),\n last_event: z.string().describe(\"Final delivery status (e.g., 'delivered', 'opened').\").nullable().optional(),\n scheduled_at: z.string().describe(\"ISO timestamp if email was scheduled.\").nullable().optional(),\n}).passthrough();\nexport const ResendListEmailsOutput = z.object({\n data: z.array(ResendListEmails_EmailSchema).describe(\"Array containing email information.\").nullable().optional(),\n object: z.string().describe(\"Type of the response object, which is 'list'.\").nullable().optional(),\n has_more: z.boolean().describe(\"Indicates if there are more results available.\").nullable().optional(),\n}).passthrough();\n\nexport const resendListEmails: AppAction<\n typeof ResendListEmailsInput,\n typeof ResendListEmailsOutput,\n typeof resend.credential\n> = action(\"RESEND_LIST_EMAILS\", {\n slug: \"resend-list-emails\",\n name: \"List Emails\",\n description: \"Tool to retrieve a list of emails sent by your team. Use when you need to fetch outbound emails from your account. Supports pagination with limit, after, and before parameters.\",\n input: ResendListEmailsInput,\n output: ResendListEmailsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CAC7H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAC7G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;AAChI,CAAC;AACD,MAAM,+BAA+BA,IAAAA,EAAE,OAAO;CAC5C,IAAIA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,IAAIA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,KAAKA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,MAAMA,IAAAA,EAAE,MAAM,4BAA4B,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,mBAITC,eAAAA,OAAO,sBAAsB;CAC/B,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/list-emails.d.ts
|
|
@@ -24,23 +26,7 @@ declare const ResendListEmailsOutput: z.ZodObject<{
|
|
|
24
26
|
object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
27
|
has_more: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
26
28
|
}, z.core.$loose>;
|
|
27
|
-
declare const resendListEmails:
|
|
28
|
-
after?: string | undefined;
|
|
29
|
-
limit?: number | undefined;
|
|
30
|
-
before?: string | undefined;
|
|
31
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<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>>]>, readonly [import("@keystrokehq/shared").Credential<"resend", z.ZodObject<{
|
|
38
|
-
connectionId: z.ZodString;
|
|
39
|
-
entityId: z.ZodString;
|
|
40
|
-
instanceId: z.ZodString;
|
|
41
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
42
|
-
generic_api_key: z.ZodString;
|
|
43
|
-
}, z.core.$strip>>]>;
|
|
29
|
+
declare const resendListEmails: AppAction<typeof ResendListEmailsInput, typeof ResendListEmailsOutput, typeof resend.credential>;
|
|
44
30
|
//#endregion
|
|
45
31
|
export { resendListEmails };
|
|
46
32
|
//# sourceMappingURL=list-emails.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-emails.d.cts","names":[],"sources":["../../src/actions/list-emails.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-emails.d.cts","names":[],"sources":["../../src/actions/list-emails.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;cAmBrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAMtB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,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/list-emails.d.ts
|
|
@@ -24,23 +26,7 @@ declare const ResendListEmailsOutput: z.ZodObject<{
|
|
|
24
26
|
object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
27
|
has_more: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
26
28
|
}, z.core.$loose>;
|
|
27
|
-
declare const resendListEmails:
|
|
28
|
-
after?: string | undefined;
|
|
29
|
-
limit?: number | undefined;
|
|
30
|
-
before?: string | undefined;
|
|
31
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<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>>]>, readonly [import("@keystrokehq/shared").Credential<"resend", z.ZodObject<{
|
|
38
|
-
connectionId: z.ZodString;
|
|
39
|
-
entityId: z.ZodString;
|
|
40
|
-
instanceId: z.ZodString;
|
|
41
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
42
|
-
generic_api_key: z.ZodString;
|
|
43
|
-
}, z.core.$strip>>]>;
|
|
29
|
+
declare const resendListEmails: AppAction<typeof ResendListEmailsInput, typeof ResendListEmailsOutput, typeof resend.credential>;
|
|
44
30
|
//#endregion
|
|
45
31
|
export { resendListEmails };
|
|
46
32
|
//# sourceMappingURL=list-emails.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-emails.d.mts","names":[],"sources":["../../src/actions/list-emails.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-emails.d.mts","names":[],"sources":["../../src/actions/list-emails.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;cAmBrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAMtB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-emails.mjs","names":[],"sources":["../../src/actions/list-emails.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListEmailsInput = z.object({\n after: z.string().describe(\"Pagination cursor to fetch results after this email ID. Cannot be used with 'before'.\").optional(),\n limit: z.number().int().describe(\"Maximum number of emails to return. Default 20, max 100, min 1.\").optional(),\n before: z.string().describe(\"Pagination cursor to fetch results before this email ID. Cannot be used with 'after'.\").optional(),\n});\nconst ResendListEmails_EmailSchema = z.object({\n cc: z.array(z.string()).describe(\"Carbon copy recipient(s).\").nullable().optional(),\n id: z.string().describe(\"Unique email identifier.\").nullable().optional(),\n to: z.array(z.string()).describe(\"Recipient email address(es).\").nullable().optional(),\n bcc: z.array(z.string()).describe(\"Blind carbon copy recipient(s).\").nullable().optional(),\n from: z.string().describe(\"Sender email address.\").nullable().optional(),\n html: z.string().describe(\"HTML content of the email.\").nullable().optional(),\n text: z.string().describe(\"Plain text content of the email.\").nullable().optional(),\n subject: z.string().describe(\"Email subject line.\").nullable().optional(),\n reply_to: z.array(z.string()).describe(\"Reply-to email address(es).\").nullable().optional(),\n created_at: z.string().describe(\"ISO timestamp of email creation.\").nullable().optional(),\n last_event: z.string().describe(\"Final delivery status (e.g., 'delivered', 'opened').\").nullable().optional(),\n scheduled_at: z.string().describe(\"ISO timestamp if email was scheduled.\").nullable().optional(),\n}).passthrough();\nexport const ResendListEmailsOutput = z.object({\n data: z.array(ResendListEmails_EmailSchema).describe(\"Array containing email information.\").nullable().optional(),\n object: z.string().describe(\"Type of the response object, which is 'list'.\").nullable().optional(),\n has_more: z.boolean().describe(\"Indicates if there are more results available.\").nullable().optional(),\n}).passthrough();\n\nexport const resendListEmails = action(\"RESEND_LIST_EMAILS\", {\n slug: \"resend-list-emails\",\n name: \"List Emails\",\n description: \"Tool to retrieve a list of emails sent by your team. Use when you need to fetch outbound emails from your account. Supports pagination with limit, after, and before parameters.\",\n input: ResendListEmailsInput,\n output: ResendListEmailsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-emails.mjs","names":[],"sources":["../../src/actions/list-emails.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 ResendListEmailsInput = z.object({\n after: z.string().describe(\"Pagination cursor to fetch results after this email ID. Cannot be used with 'before'.\").optional(),\n limit: z.number().int().describe(\"Maximum number of emails to return. Default 20, max 100, min 1.\").optional(),\n before: z.string().describe(\"Pagination cursor to fetch results before this email ID. Cannot be used with 'after'.\").optional(),\n});\nconst ResendListEmails_EmailSchema = z.object({\n cc: z.array(z.string()).describe(\"Carbon copy recipient(s).\").nullable().optional(),\n id: z.string().describe(\"Unique email identifier.\").nullable().optional(),\n to: z.array(z.string()).describe(\"Recipient email address(es).\").nullable().optional(),\n bcc: z.array(z.string()).describe(\"Blind carbon copy recipient(s).\").nullable().optional(),\n from: z.string().describe(\"Sender email address.\").nullable().optional(),\n html: z.string().describe(\"HTML content of the email.\").nullable().optional(),\n text: z.string().describe(\"Plain text content of the email.\").nullable().optional(),\n subject: z.string().describe(\"Email subject line.\").nullable().optional(),\n reply_to: z.array(z.string()).describe(\"Reply-to email address(es).\").nullable().optional(),\n created_at: z.string().describe(\"ISO timestamp of email creation.\").nullable().optional(),\n last_event: z.string().describe(\"Final delivery status (e.g., 'delivered', 'opened').\").nullable().optional(),\n scheduled_at: z.string().describe(\"ISO timestamp if email was scheduled.\").nullable().optional(),\n}).passthrough();\nexport const ResendListEmailsOutput = z.object({\n data: z.array(ResendListEmails_EmailSchema).describe(\"Array containing email information.\").nullable().optional(),\n object: z.string().describe(\"Type of the response object, which is 'list'.\").nullable().optional(),\n has_more: z.boolean().describe(\"Indicates if there are more results available.\").nullable().optional(),\n}).passthrough();\n\nexport const resendListEmails: AppAction<\n typeof ResendListEmailsInput,\n typeof ResendListEmailsOutput,\n typeof resend.credential\n> = action(\"RESEND_LIST_EMAILS\", {\n slug: \"resend-list-emails\",\n name: \"List Emails\",\n description: \"Tool to retrieve a list of emails sent by your team. Use when you need to fetch outbound emails from your account. Supports pagination with limit, after, and before parameters.\",\n input: ResendListEmailsInput,\n output: ResendListEmailsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wBAAwB,EAAE,OAAO;CAC5C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CAC7H,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAC7G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;AAChI,CAAC;AACD,MAAM,+BAA+B,EAAE,OAAO;CAC5C,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY;AAOf,MAAa,mBAIT,OAAO,sBAAsB;CAC/B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAfoC,EAAE,OAAO;EAC7C,MAAM,EAAE,MAAM,4BAA4B,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-received-emails.cjs","names":["z","action"],"sources":["../../src/actions/list-received-emails.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListReceivedEmailsInput = z.object({\n after: z.string().describe(\"Pagination cursor to fetch results after this email ID. Cannot be used with 'before'.\").optional(),\n limit: z.number().int().describe(\"Maximum number of received emails to return.\").optional(),\n before: z.string().describe(\"Pagination cursor to fetch results before this email ID. Cannot be used with 'after'.\").optional(),\n});\nconst ResendListReceivedEmails_ReceivedEmailSchema = 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 received 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 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 message_id: z.string().describe(\"The message ID of the received email.\").nullable().optional(),\n attachments: z.array(z.record(z.string(), z.unknown())).describe(\"The attachments of the email.\").nullable().optional(),\n}).passthrough();\nexport const ResendListReceivedEmailsOutput = z.object({\n data: z.array(ResendListReceivedEmails_ReceivedEmailSchema).describe(\"Array containing received email information.\").nullable().optional(),\n object: z.string().describe(\"Type of the response object.\").nullable().optional(),\n has_more: z.boolean().describe(\"Indicates if there are more results available.\").nullable().optional(),\n}).passthrough();\n\nexport const resendListReceivedEmails = action(\"RESEND_LIST_RECEIVED_EMAILS\", {\n slug: \"resend-list-received-emails\",\n name: \"List Received Emails\",\n description: \"Tool to retrieve a list of received emails for the authenticated user. Use when you need to fetch incoming emails from the receiving endpoint.\",\n input: ResendListReceivedEmailsInput,\n output: ResendListReceivedEmailsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-received-emails.cjs","names":["z","action"],"sources":["../../src/actions/list-received-emails.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 ResendListReceivedEmailsInput = z.object({\n after: z.string().describe(\"Pagination cursor to fetch results after this email ID. Cannot be used with 'before'.\").optional(),\n limit: z.number().int().describe(\"Maximum number of received emails to return.\").optional(),\n before: z.string().describe(\"Pagination cursor to fetch results before this email ID. Cannot be used with 'after'.\").optional(),\n});\nconst ResendListReceivedEmails_ReceivedEmailSchema = 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 received 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 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 message_id: z.string().describe(\"The message ID of the received email.\").nullable().optional(),\n attachments: z.array(z.record(z.string(), z.unknown())).describe(\"The attachments of the email.\").nullable().optional(),\n}).passthrough();\nexport const ResendListReceivedEmailsOutput = z.object({\n data: z.array(ResendListReceivedEmails_ReceivedEmailSchema).describe(\"Array containing received email information.\").nullable().optional(),\n object: z.string().describe(\"Type of the response object.\").nullable().optional(),\n has_more: z.boolean().describe(\"Indicates if there are more results available.\").nullable().optional(),\n}).passthrough();\n\nexport const resendListReceivedEmails: AppAction<\n typeof ResendListReceivedEmailsInput,\n typeof ResendListReceivedEmailsOutput,\n typeof resend.credential\n> = action(\"RESEND_LIST_RECEIVED_EMAILS\", {\n slug: \"resend-list-received-emails\",\n name: \"List Received Emails\",\n description: \"Tool to retrieve a list of received emails for the authenticated user. Use when you need to fetch incoming emails from the receiving endpoint.\",\n input: ResendListReceivedEmailsInput,\n output: ResendListReceivedEmailsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CAC7H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC1F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;AAChI,CAAC;AACD,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,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,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,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,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,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,2BAITC,eAAAA,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|