@keystrokehq/resend 0.1.4 → 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 -4
- package/dist/actions/add-contact-to-segment.d.cts.map +1 -1
- package/dist/actions/add-contact-to-segment.d.mts +3 -4
- 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 -3
- package/dist/actions/cancel-email.d.cts.map +1 -1
- package/dist/actions/cancel-email.d.mts +3 -3
- 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 -5
- package/dist/actions/create-api-key.d.cts.map +1 -1
- package/dist/actions/create-api-key.d.mts +3 -5
- 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 -3
- package/dist/actions/create-audience.d.cts.map +1 -1
- package/dist/actions/create-audience.d.mts +3 -3
- 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 -5
- package/dist/actions/create-contact-property.d.cts.map +1 -1
- package/dist/actions/create-contact-property.d.mts +3 -5
- 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 -20
- package/dist/actions/create-contact-v2.d.cts.map +1 -1
- package/dist/actions/create-contact-v2.d.mts +3 -20
- 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 -7
- package/dist/actions/create-contact.d.cts.map +1 -1
- package/dist/actions/create-contact.d.mts +3 -7
- 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 -4
- package/dist/actions/create-domain.d.cts.map +1 -1
- package/dist/actions/create-domain.d.mts +3 -4
- 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 -15
- package/dist/actions/create-template.d.cts.map +1 -1
- package/dist/actions/create-template.d.mts +3 -15
- 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 -6
- package/dist/actions/create-topic.d.cts.map +1 -1
- package/dist/actions/create-topic.d.mts +3 -6
- 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 -4
- package/dist/actions/create-webhook.d.cts.map +1 -1
- package/dist/actions/create-webhook.d.mts +3 -4
- 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 -3
- package/dist/actions/delete-api-key.d.cts.map +1 -1
- package/dist/actions/delete-api-key.d.mts +3 -3
- 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 -3
- package/dist/actions/delete-audience.d.cts.map +1 -1
- package/dist/actions/delete-audience.d.mts +3 -3
- 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 -3
- package/dist/actions/delete-contact-by-id.d.cts.map +1 -1
- package/dist/actions/delete-contact-by-id.d.mts +3 -3
- 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 -3
- package/dist/actions/delete-contact-property.d.cts.map +1 -1
- package/dist/actions/delete-contact-property.d.mts +3 -3
- 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 -5
- package/dist/actions/delete-contact.d.cts.map +1 -1
- package/dist/actions/delete-contact.d.mts +3 -5
- 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 -3
- package/dist/actions/delete-domain.d.cts.map +1 -1
- package/dist/actions/delete-domain.d.mts +3 -3
- 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 -3
- package/dist/actions/delete-segment.d.cts.map +1 -1
- package/dist/actions/delete-segment.d.mts +3 -3
- 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 -3
- package/dist/actions/delete-template.d.cts.map +1 -1
- package/dist/actions/delete-template.d.mts +3 -3
- 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 -3
- package/dist/actions/delete-topic.d.cts.map +1 -1
- package/dist/actions/delete-topic.d.mts +3 -3
- 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 -3
- package/dist/actions/delete-webhook.d.cts.map +1 -1
- package/dist/actions/delete-webhook.d.mts +3 -3
- 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 -3
- package/dist/actions/duplicate-template.d.cts.map +1 -1
- package/dist/actions/duplicate-template.d.mts +3 -3
- 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 -3
- package/dist/actions/get-contact-property.d.cts.map +1 -1
- package/dist/actions/get-contact-property.d.mts +3 -3
- 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 -3
- package/dist/actions/get-contact.d.cts.map +1 -1
- package/dist/actions/get-contact.d.mts +3 -3
- 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 -4
- package/dist/actions/get-email-attachment.d.cts.map +1 -1
- package/dist/actions/get-email-attachment.d.mts +3 -4
- 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 -3
- package/dist/actions/get-segment.d.cts.map +1 -1
- package/dist/actions/get-segment.d.mts +3 -3
- 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 -3
- package/dist/actions/get-template.d.cts.map +1 -1
- package/dist/actions/get-template.d.mts +3 -3
- 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 -3
- package/dist/actions/get-topic.d.cts.map +1 -1
- package/dist/actions/get-topic.d.mts +3 -3
- 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 -3
- package/dist/actions/get-webhook.d.cts.map +1 -1
- package/dist/actions/get-webhook.d.mts +3 -3
- 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 -5
- package/dist/actions/list-all-contacts.d.cts.map +1 -1
- package/dist/actions/list-all-contacts.d.mts +3 -5
- 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 -5
- package/dist/actions/list-api-keys.d.cts.map +1 -1
- package/dist/actions/list-api-keys.d.mts +3 -5
- 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 -5
- package/dist/actions/list-audiences.d.cts.map +1 -1
- package/dist/actions/list-audiences.d.mts +3 -5
- 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 -5
- package/dist/actions/list-broadcasts.d.cts.map +1 -1
- package/dist/actions/list-broadcasts.d.mts +3 -5
- 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 -5
- package/dist/actions/list-contact-properties.d.cts.map +1 -1
- package/dist/actions/list-contact-properties.d.mts +3 -5
- 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 -6
- package/dist/actions/list-contact-segments.d.cts.map +1 -1
- package/dist/actions/list-contact-segments.d.mts +3 -6
- 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 -6
- package/dist/actions/list-contact-topics.d.cts.map +1 -1
- package/dist/actions/list-contact-topics.d.mts +3 -6
- 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 -6
- package/dist/actions/list-contacts.d.cts.map +1 -1
- package/dist/actions/list-contacts.d.mts +3 -6
- 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 -1
- package/dist/actions/list-domains.d.cts.map +1 -1
- package/dist/actions/list-domains.d.mts +3 -1
- 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 -6
- package/dist/actions/list-email-attachments.d.cts.map +1 -1
- package/dist/actions/list-email-attachments.d.mts +3 -6
- 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 -5
- package/dist/actions/list-emails.d.cts.map +1 -1
- package/dist/actions/list-emails.d.mts +3 -5
- 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 -5
- package/dist/actions/list-received-emails.d.cts.map +1 -1
- package/dist/actions/list-received-emails.d.mts +3 -5
- 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 -5
- package/dist/actions/list-segments.d.cts.map +1 -1
- package/dist/actions/list-segments.d.mts +3 -5
- 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 -5
- package/dist/actions/list-templates.d.cts.map +1 -1
- package/dist/actions/list-templates.d.mts +3 -5
- 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 -5
- package/dist/actions/list-topics.d.cts.map +1 -1
- package/dist/actions/list-topics.d.mts +3 -5
- 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 -5
- package/dist/actions/list-webhooks.d.cts.map +1 -1
- package/dist/actions/list-webhooks.d.mts +3 -5
- 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 -3
- package/dist/actions/publish-template.d.cts.map +1 -1
- package/dist/actions/publish-template.d.mts +3 -3
- 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 -4
- package/dist/actions/remove-contact-from-segment.d.cts.map +1 -1
- package/dist/actions/remove-contact-from-segment.d.mts +3 -4
- 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 -3
- package/dist/actions/retrieve-audience.d.cts.map +1 -1
- package/dist/actions/retrieve-audience.d.mts +3 -3
- 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 -4
- package/dist/actions/retrieve-contact.d.cts.map +1 -1
- package/dist/actions/retrieve-contact.d.mts +3 -4
- 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 -3
- package/dist/actions/retrieve-domain.d.cts.map +1 -1
- package/dist/actions/retrieve-domain.d.mts +3 -3
- 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 -3
- package/dist/actions/retrieve-email.d.cts.map +1 -1
- package/dist/actions/retrieve-email.d.mts +3 -3
- 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 -16
- package/dist/actions/send-batch-emails.d.cts.map +1 -1
- package/dist/actions/send-batch-emails.d.mts +3 -16
- 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 -13
- package/dist/actions/send-email.d.cts.map +1 -1
- package/dist/actions/send-email.d.mts +3 -13
- 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 -12
- package/dist/actions/update-broadcast.d.cts.map +1 -1
- package/dist/actions/update-broadcast.d.mts +3 -12
- 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 -4
- package/dist/actions/update-contact-property.d.cts.map +1 -1
- package/dist/actions/update-contact-property.d.mts +3 -4
- 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 -6
- package/dist/actions/update-contact.d.cts.map +1 -1
- package/dist/actions/update-contact.d.mts +3 -6
- 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 -6
- package/dist/actions/update-domain.d.cts.map +1 -1
- package/dist/actions/update-domain.d.mts +3 -6
- 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 -4
- package/dist/actions/update-email.d.cts.map +1 -1
- package/dist/actions/update-email.d.mts +3 -4
- 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 -16
- package/dist/actions/update-template.d.cts.map +1 -1
- package/dist/actions/update-template.d.mts +3 -16
- 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 -4
- package/dist/actions/update-topic.d.cts.map +1 -1
- package/dist/actions/update-topic.d.mts +3 -4
- 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 -6
- package/dist/actions/update-webhook.d.cts.map +1 -1
- package/dist/actions/update-webhook.d.mts +3 -6
- 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 -3
- package/dist/actions/verify-domain.d.cts.map +1 -1
- package/dist/actions/verify-domain.d.mts +3 -3
- 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 +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +7 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +7 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -2
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { resend } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-domains.d.ts
|
|
@@ -11,7 +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:
|
|
16
|
+
declare const resendListDomains: AppAction<typeof ResendListDomainsInput, typeof ResendListDomainsOutput, typeof resend.credential>;
|
|
15
17
|
//#endregion
|
|
16
18
|
export { resendListDomains };
|
|
17
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,7 +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:
|
|
16
|
+
declare const resendListDomains: AppAction<typeof ResendListDomainsInput, typeof ResendListDomainsOutput, typeof resend.credential>;
|
|
15
17
|
//#endregion
|
|
16
18
|
export { resendListDomains };
|
|
17
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,12 +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]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
26
|
+
declare const resendListEmailAttachments: AppAction<typeof ResendListEmailAttachmentsInput, typeof ResendListEmailAttachmentsOutput, typeof resend.credential>;
|
|
30
27
|
//#endregion
|
|
31
28
|
export { resendListEmailAttachments };
|
|
32
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,12 +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]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
26
|
+
declare const resendListEmailAttachments: AppAction<typeof ResendListEmailAttachmentsInput, typeof ResendListEmailAttachmentsOutput, typeof resend.credential>;
|
|
30
27
|
//#endregion
|
|
31
28
|
export { resendListEmailAttachments };
|
|
32
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,11 +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]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
29
|
+
declare const resendListEmails: AppAction<typeof ResendListEmailsInput, typeof ResendListEmailsOutput, typeof resend.credential>;
|
|
32
30
|
//#endregion
|
|
33
31
|
export { resendListEmails };
|
|
34
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,11 +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]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
29
|
+
declare const resendListEmails: AppAction<typeof ResendListEmailsInput, typeof ResendListEmailsOutput, typeof resend.credential>;
|
|
32
30
|
//#endregion
|
|
33
31
|
export { resendListEmails };
|
|
34
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"}
|
|
@@ -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-received-emails.d.ts
|
|
@@ -22,11 +24,7 @@ declare const ResendListReceivedEmailsOutput: z.ZodObject<{
|
|
|
22
24
|
object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
25
|
has_more: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
24
26
|
}, z.core.$loose>;
|
|
25
|
-
declare const resendListReceivedEmails:
|
|
26
|
-
after?: string | undefined;
|
|
27
|
-
limit?: number | undefined;
|
|
28
|
-
before?: string | undefined;
|
|
29
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
27
|
+
declare const resendListReceivedEmails: AppAction<typeof ResendListReceivedEmailsInput, typeof ResendListReceivedEmailsOutput, typeof resend.credential>;
|
|
30
28
|
//#endregion
|
|
31
29
|
export { resendListReceivedEmails };
|
|
32
30
|
//# sourceMappingURL=list-received-emails.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-received-emails.d.cts","names":[],"sources":["../../src/actions/list-received-emails.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-received-emails.d.cts","names":[],"sources":["../../src/actions/list-received-emails.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;cAiB7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAM9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,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-received-emails.d.ts
|
|
@@ -22,11 +24,7 @@ declare const ResendListReceivedEmailsOutput: z.ZodObject<{
|
|
|
22
24
|
object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
25
|
has_more: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
24
26
|
}, z.core.$loose>;
|
|
25
|
-
declare const resendListReceivedEmails:
|
|
26
|
-
after?: string | undefined;
|
|
27
|
-
limit?: number | undefined;
|
|
28
|
-
before?: string | undefined;
|
|
29
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
27
|
+
declare const resendListReceivedEmails: AppAction<typeof ResendListReceivedEmailsInput, typeof ResendListReceivedEmailsOutput, typeof resend.credential>;
|
|
30
28
|
//#endregion
|
|
31
29
|
export { resendListReceivedEmails };
|
|
32
30
|
//# sourceMappingURL=list-received-emails.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-received-emails.d.mts","names":[],"sources":["../../src/actions/list-received-emails.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-received-emails.d.mts","names":[],"sources":["../../src/actions/list-received-emails.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;cAiB7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAM9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-received-emails.mjs","names":[],"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.mjs","names":[],"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,gCAAgC,EAAE,OAAO;CACpD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CAC7H,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC1F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;AAChI,CAAC;AACD,MAAM,+CAA+C,EAAE,OAAO;CAC5D,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,aAAa,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,YAAY;AAOf,MAAa,2BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAf4C,EAAE,OAAO;EACrD,MAAM,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,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-segments.cjs","names":["z","action"],"sources":["../../src/actions/list-segments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListSegmentsInput = z.object({\n after: z.string().describe(\"Return items after this cursor for pagination.\").optional(),\n limit: z.number().int().describe(\"Number of items to return.\").optional(),\n before: z.string().describe(\"Return items before this cursor for pagination.\").optional(),\n});\nconst ResendListSegments_SegmentSchema = z.object({\n id: z.string().describe(\"Unique segment identifier.\").nullable().optional(),\n name: z.string().describe(\"Name of the segment.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of segment creation in ISO 8601 format.\").nullable().optional(),\n audience_id: z.string().describe(\"The audience ID this segment belongs to.\").nullable().optional(),\n}).passthrough().describe(\"Segment object representation.\");\nexport const ResendListSegmentsOutput = z.object({\n data: z.array(ResendListSegments_SegmentSchema).describe(\"Array containing segment information.\").nullable().optional(),\n object: z.string().describe(\"Type of the response object, typically '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 resendListSegments = action(\"RESEND_LIST_SEGMENTS\", {\n slug: \"resend-list-segments\",\n name: \"List Segments\",\n description: \"Tool to retrieve a list of segments from Resend. Use when you need to view all available segments for audience management.\",\n input: ResendListSegmentsInput,\n output: ResendListSegmentsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-segments.cjs","names":["z","action"],"sources":["../../src/actions/list-segments.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 ResendListSegmentsInput = z.object({\n after: z.string().describe(\"Return items after this cursor for pagination.\").optional(),\n limit: z.number().int().describe(\"Number of items to return.\").optional(),\n before: z.string().describe(\"Return items before this cursor for pagination.\").optional(),\n});\nconst ResendListSegments_SegmentSchema = z.object({\n id: z.string().describe(\"Unique segment identifier.\").nullable().optional(),\n name: z.string().describe(\"Name of the segment.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of segment creation in ISO 8601 format.\").nullable().optional(),\n audience_id: z.string().describe(\"The audience ID this segment belongs to.\").nullable().optional(),\n}).passthrough().describe(\"Segment object representation.\");\nexport const ResendListSegmentsOutput = z.object({\n data: z.array(ResendListSegments_SegmentSchema).describe(\"Array containing segment information.\").nullable().optional(),\n object: z.string().describe(\"Type of the response object, typically '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 resendListSegments: AppAction<\n typeof ResendListSegmentsInput,\n typeof ResendListSegmentsOutput,\n typeof resend.credential\n> = action(\"RESEND_LIST_SEGMENTS\", {\n slug: \"resend-list-segments\",\n name: \"List Segments\",\n description: \"Tool to retrieve a list of segments from Resend. Use when you need to view all available segments for audience management.\",\n input: ResendListSegmentsInput,\n output: ResendListSegmentsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACtF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACxE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;AAC1F,CAAC;AACD,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gCAAgC;AAC1D,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,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-segments.d.ts
|
|
@@ -16,11 +18,7 @@ declare const ResendListSegmentsOutput: z.ZodObject<{
|
|
|
16
18
|
object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
19
|
has_more: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
18
20
|
}, z.core.$loose>;
|
|
19
|
-
declare const resendListSegments:
|
|
20
|
-
after?: string | undefined;
|
|
21
|
-
limit?: number | undefined;
|
|
22
|
-
before?: string | undefined;
|
|
23
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
21
|
+
declare const resendListSegments: AppAction<typeof ResendListSegmentsInput, typeof ResendListSegmentsOutput, typeof resend.credential>;
|
|
24
22
|
//#endregion
|
|
25
23
|
export { resendListSegments };
|
|
26
24
|
//# sourceMappingURL=list-segments.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-segments.d.cts","names":[],"sources":["../../src/actions/list-segments.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-segments.d.cts","names":[],"sources":["../../src/actions/list-segments.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;cAWvB,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-segments.d.ts
|
|
@@ -16,11 +18,7 @@ declare const ResendListSegmentsOutput: z.ZodObject<{
|
|
|
16
18
|
object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
19
|
has_more: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
18
20
|
}, z.core.$loose>;
|
|
19
|
-
declare const resendListSegments:
|
|
20
|
-
after?: string | undefined;
|
|
21
|
-
limit?: number | undefined;
|
|
22
|
-
before?: string | undefined;
|
|
23
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
21
|
+
declare const resendListSegments: AppAction<typeof ResendListSegmentsInput, typeof ResendListSegmentsOutput, typeof resend.credential>;
|
|
24
22
|
//#endregion
|
|
25
23
|
export { resendListSegments };
|
|
26
24
|
//# sourceMappingURL=list-segments.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-segments.d.mts","names":[],"sources":["../../src/actions/list-segments.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-segments.d.mts","names":[],"sources":["../../src/actions/list-segments.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;cAWvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;cAMxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-segments.mjs","names":[],"sources":["../../src/actions/list-segments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListSegmentsInput = z.object({\n after: z.string().describe(\"Return items after this cursor for pagination.\").optional(),\n limit: z.number().int().describe(\"Number of items to return.\").optional(),\n before: z.string().describe(\"Return items before this cursor for pagination.\").optional(),\n});\nconst ResendListSegments_SegmentSchema = z.object({\n id: z.string().describe(\"Unique segment identifier.\").nullable().optional(),\n name: z.string().describe(\"Name of the segment.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of segment creation in ISO 8601 format.\").nullable().optional(),\n audience_id: z.string().describe(\"The audience ID this segment belongs to.\").nullable().optional(),\n}).passthrough().describe(\"Segment object representation.\");\nexport const ResendListSegmentsOutput = z.object({\n data: z.array(ResendListSegments_SegmentSchema).describe(\"Array containing segment information.\").nullable().optional(),\n object: z.string().describe(\"Type of the response object, typically '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 resendListSegments = action(\"RESEND_LIST_SEGMENTS\", {\n slug: \"resend-list-segments\",\n name: \"List Segments\",\n description: \"Tool to retrieve a list of segments from Resend. Use when you need to view all available segments for audience management.\",\n input: ResendListSegmentsInput,\n output: ResendListSegmentsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-segments.mjs","names":[],"sources":["../../src/actions/list-segments.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 ResendListSegmentsInput = z.object({\n after: z.string().describe(\"Return items after this cursor for pagination.\").optional(),\n limit: z.number().int().describe(\"Number of items to return.\").optional(),\n before: z.string().describe(\"Return items before this cursor for pagination.\").optional(),\n});\nconst ResendListSegments_SegmentSchema = z.object({\n id: z.string().describe(\"Unique segment identifier.\").nullable().optional(),\n name: z.string().describe(\"Name of the segment.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of segment creation in ISO 8601 format.\").nullable().optional(),\n audience_id: z.string().describe(\"The audience ID this segment belongs to.\").nullable().optional(),\n}).passthrough().describe(\"Segment object representation.\");\nexport const ResendListSegmentsOutput = z.object({\n data: z.array(ResendListSegments_SegmentSchema).describe(\"Array containing segment information.\").nullable().optional(),\n object: z.string().describe(\"Type of the response object, typically '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 resendListSegments: AppAction<\n typeof ResendListSegmentsInput,\n typeof ResendListSegmentsOutput,\n typeof resend.credential\n> = action(\"RESEND_LIST_SEGMENTS\", {\n slug: \"resend-list-segments\",\n name: \"List Segments\",\n description: \"Tool to retrieve a list of segments from Resend. Use when you need to view all available segments for audience management.\",\n input: ResendListSegmentsInput,\n output: ResendListSegmentsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACtF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACxE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;AAC1F,CAAC;AACD,MAAM,mCAAmC,EAAE,OAAO;CAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnG,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,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,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-templates.cjs","names":["z","action"],"sources":["../../src/actions/list-templates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListTemplatesInput = z.object({\n after: z.string().describe(\"Return items after this cursor.\").optional(),\n limit: z.number().int().describe(\"Number of items to return.\").optional(),\n before: z.string().describe(\"Return items before this cursor.\").optional(),\n});\nconst ResendListTemplates_TemplateSchema = z.object({\n id: z.string().describe(\"The unique identifier of the template.\").nullable().optional(),\n name: z.string().describe(\"The name of the template.\").nullable().optional(),\n alias: z.string().describe(\"The alias of the template.\").nullable().optional(),\n status: z.string().describe(\"The status of the template.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of template creation.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp of last template update.\").nullable().optional(),\n published_at: z.string().describe(\"Timestamp when template was published.\").nullable().optional(),\n}).passthrough().describe(\"Template object representation.\");\nexport const ResendListTemplatesOutput = z.object({\n data: z.array(ResendListTemplates_TemplateSchema).describe(\"Array containing templates 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 templates to retrieve.\").nullable().optional(),\n}).passthrough();\n\nexport const resendListTemplates = action(\"RESEND_LIST_TEMPLATES\", {\n slug: \"resend-list-templates\",\n name: \"List Templates\",\n description: \"Tool to retrieve a list of templates from Resend. Use when you need to get all available templates with optional pagination support.\",\n input: ResendListTemplatesInput,\n output: ResendListTemplatesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-templates.cjs","names":["z","action"],"sources":["../../src/actions/list-templates.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 ResendListTemplatesInput = z.object({\n after: z.string().describe(\"Return items after this cursor.\").optional(),\n limit: z.number().int().describe(\"Number of items to return.\").optional(),\n before: z.string().describe(\"Return items before this cursor.\").optional(),\n});\nconst ResendListTemplates_TemplateSchema = z.object({\n id: z.string().describe(\"The unique identifier of the template.\").nullable().optional(),\n name: z.string().describe(\"The name of the template.\").nullable().optional(),\n alias: z.string().describe(\"The alias of the template.\").nullable().optional(),\n status: z.string().describe(\"The status of the template.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of template creation.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp of last template update.\").nullable().optional(),\n published_at: z.string().describe(\"Timestamp when template was published.\").nullable().optional(),\n}).passthrough().describe(\"Template object representation.\");\nexport const ResendListTemplatesOutput = z.object({\n data: z.array(ResendListTemplates_TemplateSchema).describe(\"Array containing templates 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 templates to retrieve.\").nullable().optional(),\n}).passthrough();\n\nexport const resendListTemplates: AppAction<\n typeof ResendListTemplatesInput,\n typeof ResendListTemplatesOutput,\n typeof resend.credential\n> = action(\"RESEND_LIST_TEMPLATES\", {\n slug: \"resend-list-templates\",\n name: \"List Templates\",\n description: \"Tool to retrieve a list of templates from Resend. Use when you need to get all available templates with optional pagination support.\",\n input: ResendListTemplatesInput,\n output: ResendListTemplatesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACvE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACxE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AAC3E,CAAC;AACD,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iCAAiC;AAC3D,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,sBAITC,eAAAA,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { resend } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-templates.d.ts
|
|
@@ -19,11 +21,7 @@ declare const ResendListTemplatesOutput: z.ZodObject<{
|
|
|
19
21
|
object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
22
|
has_more: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
21
23
|
}, z.core.$loose>;
|
|
22
|
-
declare const resendListTemplates:
|
|
23
|
-
after?: string | undefined;
|
|
24
|
-
limit?: number | undefined;
|
|
25
|
-
before?: string | undefined;
|
|
26
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
24
|
+
declare const resendListTemplates: AppAction<typeof ResendListTemplatesInput, typeof ResendListTemplatesOutput, typeof resend.credential>;
|
|
27
25
|
//#endregion
|
|
28
26
|
export { resendListTemplates };
|
|
29
27
|
//# sourceMappingURL=list-templates.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-templates.d.cts","names":[],"sources":["../../src/actions/list-templates.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-templates.d.cts","names":[],"sources":["../../src/actions/list-templates.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;cAcxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAMzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { resend } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-templates.d.ts
|
|
@@ -19,11 +21,7 @@ declare const ResendListTemplatesOutput: z.ZodObject<{
|
|
|
19
21
|
object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
22
|
has_more: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
21
23
|
}, z.core.$loose>;
|
|
22
|
-
declare const resendListTemplates:
|
|
23
|
-
after?: string | undefined;
|
|
24
|
-
limit?: number | undefined;
|
|
25
|
-
before?: string | undefined;
|
|
26
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
24
|
+
declare const resendListTemplates: AppAction<typeof ResendListTemplatesInput, typeof ResendListTemplatesOutput, typeof resend.credential>;
|
|
27
25
|
//#endregion
|
|
28
26
|
export { resendListTemplates };
|
|
29
27
|
//# sourceMappingURL=list-templates.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-templates.d.mts","names":[],"sources":["../../src/actions/list-templates.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-templates.d.mts","names":[],"sources":["../../src/actions/list-templates.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;cAcxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAMzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,MAAA,CAAO,UAAA"}
|