@keystrokehq/resend 0.0.16 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -74
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/add-contact-to-segment.cjs +19 -0
- package/dist/actions/add-contact-to-segment.cjs.map +1 -0
- package/dist/actions/add-contact-to-segment.d.cts +9 -0
- package/dist/actions/add-contact-to-segment.d.cts.map +1 -0
- package/dist/actions/add-contact-to-segment.d.mts +9 -0
- package/dist/actions/add-contact-to-segment.d.mts.map +1 -0
- package/dist/actions/add-contact-to-segment.mjs +16 -0
- package/dist/actions/add-contact-to-segment.mjs.map +1 -0
- package/dist/actions/cancel-email.cjs +19 -0
- package/dist/actions/cancel-email.cjs.map +1 -0
- package/dist/actions/cancel-email.d.cts +9 -0
- package/dist/actions/cancel-email.d.cts.map +1 -0
- package/dist/actions/cancel-email.d.mts +9 -0
- package/dist/actions/cancel-email.d.mts.map +1 -0
- package/dist/actions/cancel-email.mjs +16 -0
- package/dist/actions/cancel-email.mjs.map +1 -0
- package/dist/actions/create-api-key.cjs +23 -0
- package/dist/actions/create-api-key.cjs.map +1 -0
- package/dist/actions/create-api-key.d.cts +9 -0
- package/dist/actions/create-api-key.d.cts.map +1 -0
- package/dist/actions/create-api-key.d.mts +9 -0
- package/dist/actions/create-api-key.d.mts.map +1 -0
- package/dist/actions/create-api-key.mjs +20 -0
- package/dist/actions/create-api-key.mjs.map +1 -0
- package/dist/actions/create-audience.cjs +20 -0
- package/dist/actions/create-audience.cjs.map +1 -0
- package/dist/actions/create-audience.d.cts +9 -0
- package/dist/actions/create-audience.d.cts.map +1 -0
- package/dist/actions/create-audience.d.mts +9 -0
- package/dist/actions/create-audience.d.mts.map +1 -0
- package/dist/actions/create-audience.mjs +17 -0
- package/dist/actions/create-audience.mjs.map +1 -0
- package/dist/actions/create-contact-property.cjs +23 -0
- package/dist/actions/create-contact-property.cjs.map +1 -0
- package/dist/actions/create-contact-property.d.cts +9 -0
- package/dist/actions/create-contact-property.d.cts.map +1 -0
- package/dist/actions/create-contact-property.d.mts +9 -0
- package/dist/actions/create-contact-property.d.mts.map +1 -0
- package/dist/actions/create-contact-property.mjs +20 -0
- package/dist/actions/create-contact-property.mjs.map +1 -0
- package/dist/actions/create-contact-v2.cjs +33 -0
- package/dist/actions/create-contact-v2.cjs.map +1 -0
- package/dist/actions/create-contact-v2.d.cts +9 -0
- package/dist/actions/create-contact-v2.d.cts.map +1 -0
- package/dist/actions/create-contact-v2.d.mts +9 -0
- package/dist/actions/create-contact-v2.d.mts.map +1 -0
- package/dist/actions/create-contact-v2.mjs +30 -0
- package/dist/actions/create-contact-v2.mjs.map +1 -0
- package/dist/actions/create-contact.cjs +25 -0
- package/dist/actions/create-contact.cjs.map +1 -0
- package/dist/actions/create-contact.d.cts +9 -0
- package/dist/actions/create-contact.d.cts.map +1 -0
- package/dist/actions/create-contact.d.mts +9 -0
- package/dist/actions/create-contact.d.mts.map +1 -0
- package/dist/actions/create-contact.mjs +22 -0
- package/dist/actions/create-contact.mjs.map +1 -0
- package/dist/actions/create-domain.cjs +45 -0
- package/dist/actions/create-domain.cjs.map +1 -0
- package/dist/actions/create-domain.d.cts +9 -0
- package/dist/actions/create-domain.d.cts.map +1 -0
- package/dist/actions/create-domain.d.mts +9 -0
- package/dist/actions/create-domain.d.mts.map +1 -0
- package/dist/actions/create-domain.mjs +44 -0
- package/dist/actions/create-domain.mjs.map +1 -0
- package/dist/actions/create-template.cjs +36 -0
- package/dist/actions/create-template.cjs.map +1 -0
- package/dist/actions/create-template.d.cts +9 -0
- package/dist/actions/create-template.d.cts.map +1 -0
- package/dist/actions/create-template.d.mts +9 -0
- package/dist/actions/create-template.d.mts.map +1 -0
- package/dist/actions/create-template.mjs +33 -0
- package/dist/actions/create-template.mjs.map +1 -0
- package/dist/actions/create-topic.cjs +24 -0
- package/dist/actions/create-topic.cjs.map +1 -0
- package/dist/actions/create-topic.d.cts +9 -0
- package/dist/actions/create-topic.d.cts.map +1 -0
- package/dist/actions/create-topic.d.mts +9 -0
- package/dist/actions/create-topic.d.mts.map +1 -0
- package/dist/actions/create-topic.mjs +21 -0
- package/dist/actions/create-topic.mjs.map +1 -0
- package/dist/actions/create-webhook.cjs +23 -0
- package/dist/actions/create-webhook.cjs.map +1 -0
- package/dist/actions/create-webhook.d.cts +9 -0
- package/dist/actions/create-webhook.d.cts.map +1 -0
- package/dist/actions/create-webhook.d.mts +9 -0
- package/dist/actions/create-webhook.d.mts.map +1 -0
- package/dist/actions/create-webhook.mjs +20 -0
- package/dist/actions/create-webhook.mjs.map +1 -0
- package/dist/actions/delete-api-key.cjs +20 -0
- package/dist/actions/delete-api-key.cjs.map +1 -0
- package/dist/actions/delete-api-key.d.cts +9 -0
- package/dist/actions/delete-api-key.d.cts.map +1 -0
- package/dist/actions/delete-api-key.d.mts +9 -0
- package/dist/actions/delete-api-key.d.mts.map +1 -0
- package/dist/actions/delete-api-key.mjs +17 -0
- package/dist/actions/delete-api-key.mjs.map +1 -0
- package/dist/actions/delete-audience.cjs +19 -0
- package/dist/actions/delete-audience.cjs.map +1 -0
- package/dist/actions/delete-audience.d.cts +9 -0
- package/dist/actions/delete-audience.d.cts.map +1 -0
- package/dist/actions/delete-audience.d.mts +9 -0
- package/dist/actions/delete-audience.d.mts.map +1 -0
- package/dist/actions/delete-audience.mjs +16 -0
- package/dist/actions/delete-audience.mjs.map +1 -0
- package/dist/actions/delete-contact-by-id.cjs +20 -0
- package/dist/actions/delete-contact-by-id.cjs.map +1 -0
- package/dist/actions/delete-contact-by-id.d.cts +9 -0
- package/dist/actions/delete-contact-by-id.d.cts.map +1 -0
- package/dist/actions/delete-contact-by-id.d.mts +9 -0
- package/dist/actions/delete-contact-by-id.d.mts.map +1 -0
- package/dist/actions/delete-contact-by-id.mjs +17 -0
- package/dist/actions/delete-contact-by-id.mjs.map +1 -0
- package/dist/actions/delete-contact-property.cjs +20 -0
- package/dist/actions/delete-contact-property.cjs.map +1 -0
- package/dist/actions/delete-contact-property.d.cts +9 -0
- package/dist/actions/delete-contact-property.d.cts.map +1 -0
- package/dist/actions/delete-contact-property.d.mts +9 -0
- package/dist/actions/delete-contact-property.d.mts.map +1 -0
- package/dist/actions/delete-contact-property.mjs +17 -0
- package/dist/actions/delete-contact-property.mjs.map +1 -0
- package/dist/actions/delete-contact.cjs +24 -0
- package/dist/actions/delete-contact.cjs.map +1 -0
- package/dist/actions/delete-contact.d.cts +9 -0
- package/dist/actions/delete-contact.d.cts.map +1 -0
- package/dist/actions/delete-contact.d.mts +9 -0
- package/dist/actions/delete-contact.d.mts.map +1 -0
- package/dist/actions/delete-contact.mjs +21 -0
- package/dist/actions/delete-contact.mjs.map +1 -0
- package/dist/actions/delete-domain.cjs +20 -0
- package/dist/actions/delete-domain.cjs.map +1 -0
- package/dist/actions/delete-domain.d.cts +9 -0
- package/dist/actions/delete-domain.d.cts.map +1 -0
- package/dist/actions/delete-domain.d.mts +9 -0
- package/dist/actions/delete-domain.d.mts.map +1 -0
- package/dist/actions/delete-domain.mjs +17 -0
- package/dist/actions/delete-domain.mjs.map +1 -0
- package/dist/actions/delete-segment.cjs +20 -0
- package/dist/actions/delete-segment.cjs.map +1 -0
- package/dist/actions/delete-segment.d.cts +9 -0
- package/dist/actions/delete-segment.d.cts.map +1 -0
- package/dist/actions/delete-segment.d.mts +9 -0
- package/dist/actions/delete-segment.d.mts.map +1 -0
- package/dist/actions/delete-segment.mjs +17 -0
- package/dist/actions/delete-segment.mjs.map +1 -0
- package/dist/actions/delete-template.cjs +20 -0
- package/dist/actions/delete-template.cjs.map +1 -0
- package/dist/actions/delete-template.d.cts +9 -0
- package/dist/actions/delete-template.d.cts.map +1 -0
- package/dist/actions/delete-template.d.mts +9 -0
- package/dist/actions/delete-template.d.mts.map +1 -0
- package/dist/actions/delete-template.mjs +17 -0
- package/dist/actions/delete-template.mjs.map +1 -0
- package/dist/actions/delete-topic.cjs +20 -0
- package/dist/actions/delete-topic.cjs.map +1 -0
- package/dist/actions/delete-topic.d.cts +9 -0
- package/dist/actions/delete-topic.d.cts.map +1 -0
- package/dist/actions/delete-topic.d.mts +9 -0
- package/dist/actions/delete-topic.d.mts.map +1 -0
- package/dist/actions/delete-topic.mjs +17 -0
- package/dist/actions/delete-topic.mjs.map +1 -0
- package/dist/actions/delete-webhook.cjs +20 -0
- package/dist/actions/delete-webhook.cjs.map +1 -0
- package/dist/actions/delete-webhook.d.cts +9 -0
- package/dist/actions/delete-webhook.d.cts.map +1 -0
- package/dist/actions/delete-webhook.d.mts +9 -0
- package/dist/actions/delete-webhook.d.mts.map +1 -0
- package/dist/actions/delete-webhook.mjs +17 -0
- package/dist/actions/delete-webhook.mjs.map +1 -0
- package/dist/actions/duplicate-template.cjs +19 -0
- package/dist/actions/duplicate-template.cjs.map +1 -0
- package/dist/actions/duplicate-template.d.cts +9 -0
- package/dist/actions/duplicate-template.d.cts.map +1 -0
- package/dist/actions/duplicate-template.d.mts +9 -0
- package/dist/actions/duplicate-template.d.mts.map +1 -0
- package/dist/actions/duplicate-template.mjs +16 -0
- package/dist/actions/duplicate-template.mjs.map +1 -0
- package/dist/actions/get-contact-property.cjs +23 -0
- package/dist/actions/get-contact-property.cjs.map +1 -0
- package/dist/actions/get-contact-property.d.cts +9 -0
- package/dist/actions/get-contact-property.d.cts.map +1 -0
- package/dist/actions/get-contact-property.d.mts +9 -0
- package/dist/actions/get-contact-property.d.mts.map +1 -0
- package/dist/actions/get-contact-property.mjs +20 -0
- package/dist/actions/get-contact-property.mjs.map +1 -0
- package/dist/actions/get-contact.cjs +25 -0
- package/dist/actions/get-contact.cjs.map +1 -0
- package/dist/actions/get-contact.d.cts +9 -0
- package/dist/actions/get-contact.d.cts.map +1 -0
- package/dist/actions/get-contact.d.mts +9 -0
- package/dist/actions/get-contact.d.mts.map +1 -0
- package/dist/actions/get-contact.mjs +22 -0
- package/dist/actions/get-contact.mjs.map +1 -0
- package/dist/actions/get-email-attachment.cjs +30 -0
- package/dist/actions/get-email-attachment.cjs.map +1 -0
- package/dist/actions/get-email-attachment.d.cts +9 -0
- package/dist/actions/get-email-attachment.d.cts.map +1 -0
- package/dist/actions/get-email-attachment.d.mts +9 -0
- package/dist/actions/get-email-attachment.d.mts.map +1 -0
- package/dist/actions/get-email-attachment.mjs +29 -0
- package/dist/actions/get-email-attachment.mjs.map +1 -0
- package/dist/actions/get-segment.cjs +23 -0
- package/dist/actions/get-segment.cjs.map +1 -0
- package/dist/actions/get-segment.d.cts +9 -0
- package/dist/actions/get-segment.d.cts.map +1 -0
- package/dist/actions/get-segment.d.mts +9 -0
- package/dist/actions/get-segment.d.mts.map +1 -0
- package/dist/actions/get-segment.mjs +20 -0
- package/dist/actions/get-segment.mjs.map +1 -0
- package/dist/actions/get-template.cjs +47 -0
- package/dist/actions/get-template.cjs.map +1 -0
- package/dist/actions/get-template.d.cts +9 -0
- package/dist/actions/get-template.d.cts.map +1 -0
- package/dist/actions/get-template.d.mts +9 -0
- package/dist/actions/get-template.d.mts.map +1 -0
- package/dist/actions/get-template.mjs +46 -0
- package/dist/actions/get-template.mjs.map +1 -0
- package/dist/actions/get-topic.cjs +22 -0
- package/dist/actions/get-topic.cjs.map +1 -0
- package/dist/actions/get-topic.d.cts +9 -0
- package/dist/actions/get-topic.d.cts.map +1 -0
- package/dist/actions/get-topic.d.mts +9 -0
- package/dist/actions/get-topic.d.mts.map +1 -0
- package/dist/actions/get-topic.mjs +19 -0
- package/dist/actions/get-topic.mjs.map +1 -0
- package/dist/actions/get-webhook.cjs +24 -0
- package/dist/actions/get-webhook.cjs.map +1 -0
- package/dist/actions/get-webhook.d.cts +9 -0
- package/dist/actions/get-webhook.d.cts.map +1 -0
- package/dist/actions/get-webhook.d.mts +9 -0
- package/dist/actions/get-webhook.d.mts.map +1 -0
- package/dist/actions/get-webhook.mjs +21 -0
- package/dist/actions/get-webhook.mjs.map +1 -0
- package/dist/actions/index.cjs +125 -0
- package/dist/actions/index.d.cts +63 -0
- package/dist/actions/index.d.mts +63 -0
- package/dist/actions/index.mjs +63 -0
- package/dist/actions/list-all-contacts.cjs +32 -0
- package/dist/actions/list-all-contacts.cjs.map +1 -0
- package/dist/actions/list-all-contacts.d.cts +9 -0
- package/dist/actions/list-all-contacts.d.cts.map +1 -0
- package/dist/actions/list-all-contacts.d.mts +9 -0
- package/dist/actions/list-all-contacts.d.mts.map +1 -0
- package/dist/actions/list-all-contacts.mjs +31 -0
- package/dist/actions/list-all-contacts.mjs.map +1 -0
- package/dist/actions/list-api-keys.cjs +29 -0
- package/dist/actions/list-api-keys.cjs.map +1 -0
- package/dist/actions/list-api-keys.d.cts +9 -0
- package/dist/actions/list-api-keys.d.cts.map +1 -0
- package/dist/actions/list-api-keys.d.mts +9 -0
- package/dist/actions/list-api-keys.d.mts.map +1 -0
- package/dist/actions/list-api-keys.mjs +28 -0
- package/dist/actions/list-api-keys.mjs.map +1 -0
- package/dist/actions/list-audiences.cjs +29 -0
- package/dist/actions/list-audiences.cjs.map +1 -0
- package/dist/actions/list-audiences.d.cts +9 -0
- package/dist/actions/list-audiences.d.cts.map +1 -0
- package/dist/actions/list-audiences.d.mts +9 -0
- package/dist/actions/list-audiences.d.mts.map +1 -0
- package/dist/actions/list-audiences.mjs +28 -0
- package/dist/actions/list-audiences.mjs.map +1 -0
- package/dist/actions/list-broadcasts.cjs +32 -0
- package/dist/actions/list-broadcasts.cjs.map +1 -0
- package/dist/actions/list-broadcasts.d.cts +9 -0
- package/dist/actions/list-broadcasts.d.cts.map +1 -0
- package/dist/actions/list-broadcasts.d.mts +9 -0
- package/dist/actions/list-broadcasts.d.mts.map +1 -0
- package/dist/actions/list-broadcasts.mjs +31 -0
- package/dist/actions/list-broadcasts.mjs.map +1 -0
- package/dist/actions/list-contact-properties.cjs +31 -0
- package/dist/actions/list-contact-properties.cjs.map +1 -0
- package/dist/actions/list-contact-properties.d.cts +9 -0
- package/dist/actions/list-contact-properties.d.cts.map +1 -0
- package/dist/actions/list-contact-properties.d.mts +9 -0
- package/dist/actions/list-contact-properties.d.mts.map +1 -0
- package/dist/actions/list-contact-properties.mjs +30 -0
- package/dist/actions/list-contact-properties.mjs.map +1 -0
- package/dist/actions/list-contact-segments.cjs +30 -0
- package/dist/actions/list-contact-segments.cjs.map +1 -0
- package/dist/actions/list-contact-segments.d.cts +9 -0
- package/dist/actions/list-contact-segments.d.cts.map +1 -0
- package/dist/actions/list-contact-segments.d.mts +9 -0
- package/dist/actions/list-contact-segments.d.mts.map +1 -0
- package/dist/actions/list-contact-segments.mjs +29 -0
- package/dist/actions/list-contact-segments.mjs.map +1 -0
- package/dist/actions/list-contact-topics.cjs +31 -0
- package/dist/actions/list-contact-topics.cjs.map +1 -0
- package/dist/actions/list-contact-topics.d.cts +9 -0
- package/dist/actions/list-contact-topics.d.cts.map +1 -0
- package/dist/actions/list-contact-topics.d.mts +9 -0
- package/dist/actions/list-contact-topics.d.mts.map +1 -0
- package/dist/actions/list-contact-topics.mjs +30 -0
- package/dist/actions/list-contact-topics.mjs.map +1 -0
- package/dist/actions/list-contacts.cjs +33 -0
- package/dist/actions/list-contacts.cjs.map +1 -0
- package/dist/actions/list-contacts.d.cts +9 -0
- package/dist/actions/list-contacts.d.cts.map +1 -0
- package/dist/actions/list-contacts.d.mts +9 -0
- package/dist/actions/list-contacts.d.mts.map +1 -0
- package/dist/actions/list-contacts.mjs +32 -0
- package/dist/actions/list-contacts.mjs.map +1 -0
- package/dist/actions/list-domains.cjs +23 -0
- package/dist/actions/list-domains.cjs.map +1 -0
- package/dist/actions/list-domains.d.cts +9 -0
- package/dist/actions/list-domains.d.cts.map +1 -0
- package/dist/actions/list-domains.d.mts +9 -0
- package/dist/actions/list-domains.d.mts.map +1 -0
- package/dist/actions/list-domains.mjs +22 -0
- package/dist/actions/list-domains.mjs.map +1 -0
- package/dist/actions/list-email-attachments.cjs +35 -0
- package/dist/actions/list-email-attachments.cjs.map +1 -0
- package/dist/actions/list-email-attachments.d.cts +9 -0
- package/dist/actions/list-email-attachments.d.cts.map +1 -0
- package/dist/actions/list-email-attachments.d.mts +9 -0
- package/dist/actions/list-email-attachments.d.mts.map +1 -0
- package/dist/actions/list-email-attachments.mjs +34 -0
- package/dist/actions/list-email-attachments.mjs.map +1 -0
- package/dist/actions/list-emails.cjs +38 -0
- package/dist/actions/list-emails.cjs.map +1 -0
- package/dist/actions/list-emails.d.cts +9 -0
- package/dist/actions/list-emails.d.cts.map +1 -0
- package/dist/actions/list-emails.d.mts +9 -0
- package/dist/actions/list-emails.d.mts.map +1 -0
- package/dist/actions/list-emails.mjs +37 -0
- package/dist/actions/list-emails.mjs.map +1 -0
- package/dist/actions/list-received-emails.cjs +36 -0
- package/dist/actions/list-received-emails.cjs.map +1 -0
- package/dist/actions/list-received-emails.d.cts +9 -0
- package/dist/actions/list-received-emails.d.cts.map +1 -0
- package/dist/actions/list-received-emails.d.mts +9 -0
- package/dist/actions/list-received-emails.d.mts.map +1 -0
- package/dist/actions/list-received-emails.mjs +35 -0
- package/dist/actions/list-received-emails.mjs.map +1 -0
- package/dist/actions/list-segments.cjs +30 -0
- package/dist/actions/list-segments.cjs.map +1 -0
- package/dist/actions/list-segments.d.cts +9 -0
- package/dist/actions/list-segments.d.cts.map +1 -0
- package/dist/actions/list-segments.d.mts +9 -0
- package/dist/actions/list-segments.d.mts.map +1 -0
- package/dist/actions/list-segments.mjs +29 -0
- package/dist/actions/list-segments.mjs.map +1 -0
- package/dist/actions/list-templates.cjs +33 -0
- package/dist/actions/list-templates.cjs.map +1 -0
- package/dist/actions/list-templates.d.cts +9 -0
- package/dist/actions/list-templates.d.cts.map +1 -0
- package/dist/actions/list-templates.d.mts +9 -0
- package/dist/actions/list-templates.d.mts.map +1 -0
- package/dist/actions/list-templates.mjs +32 -0
- package/dist/actions/list-templates.mjs.map +1 -0
- package/dist/actions/list-topics.cjs +30 -0
- package/dist/actions/list-topics.cjs.map +1 -0
- package/dist/actions/list-topics.d.cts +9 -0
- package/dist/actions/list-topics.d.cts.map +1 -0
- package/dist/actions/list-topics.d.mts +9 -0
- package/dist/actions/list-topics.d.mts.map +1 -0
- package/dist/actions/list-topics.mjs +29 -0
- package/dist/actions/list-topics.mjs.map +1 -0
- package/dist/actions/list-webhooks.cjs +31 -0
- package/dist/actions/list-webhooks.cjs.map +1 -0
- package/dist/actions/list-webhooks.d.cts +9 -0
- package/dist/actions/list-webhooks.d.cts.map +1 -0
- package/dist/actions/list-webhooks.d.mts +9 -0
- package/dist/actions/list-webhooks.d.mts.map +1 -0
- package/dist/actions/list-webhooks.mjs +30 -0
- package/dist/actions/list-webhooks.mjs.map +1 -0
- package/dist/actions/publish-template.cjs +19 -0
- package/dist/actions/publish-template.cjs.map +1 -0
- package/dist/actions/publish-template.d.cts +9 -0
- package/dist/actions/publish-template.d.cts.map +1 -0
- package/dist/actions/publish-template.d.mts +9 -0
- package/dist/actions/publish-template.d.mts.map +1 -0
- package/dist/actions/publish-template.mjs +16 -0
- package/dist/actions/publish-template.mjs.map +1 -0
- package/dist/actions/remove-contact-from-segment.cjs +22 -0
- package/dist/actions/remove-contact-from-segment.cjs.map +1 -0
- package/dist/actions/remove-contact-from-segment.d.cts +9 -0
- package/dist/actions/remove-contact-from-segment.d.cts.map +1 -0
- package/dist/actions/remove-contact-from-segment.d.mts +9 -0
- package/dist/actions/remove-contact-from-segment.d.mts.map +1 -0
- package/dist/actions/remove-contact-from-segment.mjs +19 -0
- package/dist/actions/remove-contact-from-segment.mjs.map +1 -0
- package/dist/actions/retrieve-audience.cjs +21 -0
- package/dist/actions/retrieve-audience.cjs.map +1 -0
- package/dist/actions/retrieve-audience.d.cts +9 -0
- package/dist/actions/retrieve-audience.d.cts.map +1 -0
- package/dist/actions/retrieve-audience.d.mts +9 -0
- package/dist/actions/retrieve-audience.d.mts.map +1 -0
- package/dist/actions/retrieve-audience.mjs +18 -0
- package/dist/actions/retrieve-audience.mjs.map +1 -0
- package/dist/actions/retrieve-contact.cjs +27 -0
- package/dist/actions/retrieve-contact.cjs.map +1 -0
- package/dist/actions/retrieve-contact.d.cts +9 -0
- package/dist/actions/retrieve-contact.d.cts.map +1 -0
- package/dist/actions/retrieve-contact.d.mts +9 -0
- package/dist/actions/retrieve-contact.d.mts.map +1 -0
- package/dist/actions/retrieve-contact.mjs +24 -0
- package/dist/actions/retrieve-contact.mjs.map +1 -0
- package/dist/actions/retrieve-domain.cjs +23 -0
- package/dist/actions/retrieve-domain.cjs.map +1 -0
- package/dist/actions/retrieve-domain.d.cts +9 -0
- package/dist/actions/retrieve-domain.d.cts.map +1 -0
- package/dist/actions/retrieve-domain.d.mts +9 -0
- package/dist/actions/retrieve-domain.d.mts.map +1 -0
- package/dist/actions/retrieve-domain.mjs +20 -0
- package/dist/actions/retrieve-domain.mjs.map +1 -0
- package/dist/actions/retrieve-email.cjs +29 -0
- package/dist/actions/retrieve-email.cjs.map +1 -0
- package/dist/actions/retrieve-email.d.cts +9 -0
- package/dist/actions/retrieve-email.d.cts.map +1 -0
- package/dist/actions/retrieve-email.d.mts +9 -0
- package/dist/actions/retrieve-email.d.mts.map +1 -0
- package/dist/actions/retrieve-email.mjs +26 -0
- package/dist/actions/retrieve-email.mjs.map +1 -0
- package/dist/actions/send-batch-emails.cjs +31 -0
- package/dist/actions/send-batch-emails.cjs.map +1 -0
- package/dist/actions/send-batch-emails.d.cts +9 -0
- package/dist/actions/send-batch-emails.d.cts.map +1 -0
- package/dist/actions/send-batch-emails.d.mts +9 -0
- package/dist/actions/send-batch-emails.d.mts.map +1 -0
- package/dist/actions/send-batch-emails.mjs +30 -0
- package/dist/actions/send-batch-emails.mjs.map +1 -0
- package/dist/actions/send-email.cjs +31 -0
- package/dist/actions/send-email.cjs.map +1 -0
- package/dist/actions/send-email.d.cts +9 -0
- package/dist/actions/send-email.d.cts.map +1 -0
- package/dist/actions/send-email.d.mts +9 -0
- package/dist/actions/send-email.d.mts.map +1 -0
- package/dist/actions/send-email.mjs +28 -0
- package/dist/actions/send-email.mjs.map +1 -0
- package/dist/actions/update-broadcast.cjs +30 -0
- package/dist/actions/update-broadcast.cjs.map +1 -0
- package/dist/actions/update-broadcast.d.cts +9 -0
- package/dist/actions/update-broadcast.d.cts.map +1 -0
- package/dist/actions/update-broadcast.d.mts +9 -0
- package/dist/actions/update-broadcast.d.mts.map +1 -0
- package/dist/actions/update-broadcast.mjs +27 -0
- package/dist/actions/update-broadcast.mjs.map +1 -0
- package/dist/actions/update-contact-property.cjs +26 -0
- package/dist/actions/update-contact-property.cjs.map +1 -0
- package/dist/actions/update-contact-property.d.cts +9 -0
- package/dist/actions/update-contact-property.d.cts.map +1 -0
- package/dist/actions/update-contact-property.d.mts +9 -0
- package/dist/actions/update-contact-property.d.mts.map +1 -0
- package/dist/actions/update-contact-property.mjs +23 -0
- package/dist/actions/update-contact-property.mjs.map +1 -0
- package/dist/actions/update-contact.cjs +24 -0
- package/dist/actions/update-contact.cjs.map +1 -0
- package/dist/actions/update-contact.d.cts +9 -0
- package/dist/actions/update-contact.d.cts.map +1 -0
- package/dist/actions/update-contact.d.mts +9 -0
- package/dist/actions/update-contact.d.mts.map +1 -0
- package/dist/actions/update-contact.mjs +21 -0
- package/dist/actions/update-contact.mjs.map +1 -0
- package/dist/actions/update-domain.cjs +28 -0
- package/dist/actions/update-domain.cjs.map +1 -0
- package/dist/actions/update-domain.d.cts +9 -0
- package/dist/actions/update-domain.d.cts.map +1 -0
- package/dist/actions/update-domain.d.mts +9 -0
- package/dist/actions/update-domain.d.mts.map +1 -0
- package/dist/actions/update-domain.mjs +25 -0
- package/dist/actions/update-domain.mjs.map +1 -0
- package/dist/actions/update-email.cjs +22 -0
- package/dist/actions/update-email.cjs.map +1 -0
- package/dist/actions/update-email.d.cts +9 -0
- package/dist/actions/update-email.d.cts.map +1 -0
- package/dist/actions/update-email.d.mts +9 -0
- package/dist/actions/update-email.d.mts.map +1 -0
- package/dist/actions/update-email.mjs +19 -0
- package/dist/actions/update-email.mjs.map +1 -0
- package/dist/actions/update-template.cjs +38 -0
- package/dist/actions/update-template.cjs.map +1 -0
- package/dist/actions/update-template.d.cts +9 -0
- package/dist/actions/update-template.d.cts.map +1 -0
- package/dist/actions/update-template.d.mts +9 -0
- package/dist/actions/update-template.d.mts.map +1 -0
- package/dist/actions/update-template.mjs +35 -0
- package/dist/actions/update-template.mjs.map +1 -0
- package/dist/actions/update-topic.cjs +22 -0
- package/dist/actions/update-topic.cjs.map +1 -0
- package/dist/actions/update-topic.d.cts +9 -0
- package/dist/actions/update-topic.d.cts.map +1 -0
- package/dist/actions/update-topic.d.mts +9 -0
- package/dist/actions/update-topic.d.mts.map +1 -0
- package/dist/actions/update-topic.mjs +19 -0
- package/dist/actions/update-topic.mjs.map +1 -0
- package/dist/actions/update-webhook.cjs +24 -0
- package/dist/actions/update-webhook.cjs.map +1 -0
- package/dist/actions/update-webhook.d.cts +9 -0
- package/dist/actions/update-webhook.d.cts.map +1 -0
- package/dist/actions/update-webhook.d.mts +9 -0
- package/dist/actions/update-webhook.d.mts.map +1 -0
- package/dist/actions/update-webhook.mjs +21 -0
- package/dist/actions/update-webhook.mjs.map +1 -0
- package/dist/actions/verify-domain.cjs +19 -0
- package/dist/actions/verify-domain.cjs.map +1 -0
- package/dist/actions/verify-domain.d.cts +9 -0
- package/dist/actions/verify-domain.d.cts.map +1 -0
- package/dist/actions/verify-domain.d.mts +9 -0
- package/dist/actions/verify-domain.d.mts.map +1 -0
- package/dist/actions/verify-domain.mjs +16 -0
- package/dist/actions/verify-domain.mjs.map +1 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +130 -0
- package/dist/index.d.cts +65 -0
- package/dist/index.d.mts +65 -4
- package/dist/index.mjs +66 -5
- package/package.json +31 -53
- package/LICENSE +0 -21
- package/dist/credential-sets/index.d.mts +0 -2
- package/dist/credential-sets/index.mjs +0 -3
- package/dist/emails-DNEKKuhw.mjs +0 -590
- package/dist/operations/index.d.mts +0 -2
- package/dist/operations/index.mjs +0 -3
- package/dist/resend.credential-set-BVQIXE4k.mjs +0 -18
- package/dist/resend.credential-set-CO_XYnvV.d.mts +0 -16
- package/dist/schemas/index.d.mts +0 -1292
- package/dist/schemas/index.mjs +0 -3
- package/dist/verify-resend-domain.operation-BusUhEql.d.mts +0 -1818
- package/dist/verify-resend-domain.operation-ClVQJYPC.mjs +0 -1481
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/list-broadcasts.ts
|
|
4
|
+
const ResendListBroadcastsInput = z.object({
|
|
5
|
+
after: z.string().describe("The ID after which we'll retrieve more broadcasts (for pagination). This ID will not be included in the returned list. Cannot be used with the before parameter.").optional(),
|
|
6
|
+
limit: z.number().int().describe("Number of broadcasts to retrieve. If not provided, all broadcasts will be returned.").optional(),
|
|
7
|
+
before: z.string().describe("The ID before which we'll retrieve more broadcasts (for pagination). This ID will not be included in the returned list. Cannot be used with the after parameter.").optional()
|
|
8
|
+
});
|
|
9
|
+
const ResendListBroadcasts_BroadcastSchema = z.object({
|
|
10
|
+
id: z.string().describe("Unique broadcast identifier.").nullable().optional(),
|
|
11
|
+
name: z.string().describe("Name of the broadcast.").nullable().optional(),
|
|
12
|
+
status: z.string().describe("Status of the broadcast.").nullable().optional(),
|
|
13
|
+
sent_at: z.string().describe("Timestamp when the broadcast was sent.").nullable().optional(),
|
|
14
|
+
created_at: z.string().describe("Timestamp of broadcast creation.").nullable().optional(),
|
|
15
|
+
audience_id: z.string().describe("ID of the audience associated with the broadcast.").nullable().optional(),
|
|
16
|
+
scheduled_at: z.string().describe("Timestamp when the broadcast is scheduled to be sent.").nullable().optional()
|
|
17
|
+
}).describe("Broadcast object representation.");
|
|
18
|
+
const resendListBroadcasts = action("RESEND_LIST_BROADCASTS", {
|
|
19
|
+
slug: "resend-list-broadcasts",
|
|
20
|
+
name: "List Broadcasts",
|
|
21
|
+
description: "Tool to retrieve a list of broadcasts. Use when you need to fetch all broadcasts or paginate through them.",
|
|
22
|
+
input: ResendListBroadcastsInput,
|
|
23
|
+
output: z.object({
|
|
24
|
+
data: z.array(ResendListBroadcasts_BroadcastSchema).describe("Array containing broadcast information.").nullable().optional(),
|
|
25
|
+
object: z.string().describe("Type of the response object.").nullable().optional()
|
|
26
|
+
})
|
|
27
|
+
});
|
|
28
|
+
//#endregion
|
|
29
|
+
export { resendListBroadcasts };
|
|
30
|
+
|
|
31
|
+
//# sourceMappingURL=list-broadcasts.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-broadcasts.mjs","names":[],"sources":["../../src/actions/list-broadcasts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListBroadcastsInput: z.ZodTypeAny = z.object({\n after: z.string().describe(\"The ID after which we'll retrieve more broadcasts (for pagination). This ID will not be included in the returned list. Cannot be used with the before parameter.\").optional(),\n limit: z.number().int().describe(\"Number of broadcasts to retrieve. If not provided, all broadcasts will be returned.\").optional(),\n before: z.string().describe(\"The ID before which we'll retrieve more broadcasts (for pagination). This ID will not be included in the returned list. Cannot be used with the after parameter.\").optional(),\n});\nconst ResendListBroadcasts_BroadcastSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique broadcast identifier.\").nullable().optional(),\n name: z.string().describe(\"Name of the broadcast.\").nullable().optional(),\n status: z.string().describe(\"Status of the broadcast.\").nullable().optional(),\n sent_at: z.string().describe(\"Timestamp when the broadcast was sent.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of broadcast creation.\").nullable().optional(),\n audience_id: z.string().describe(\"ID of the audience associated with the broadcast.\").nullable().optional(),\n scheduled_at: z.string().describe(\"Timestamp when the broadcast is scheduled to be sent.\").nullable().optional(),\n}).describe(\"Broadcast object representation.\");\nexport const ResendListBroadcastsOutput: z.ZodTypeAny = z.object({\n data: z.array(ResendListBroadcasts_BroadcastSchema).describe(\"Array containing broadcast information.\").nullable().optional(),\n object: z.string().describe(\"Type of the response object.\").nullable().optional(),\n});\n\nexport const resendListBroadcasts = action(\"RESEND_LIST_BROADCASTS\", {\n slug: \"resend-list-broadcasts\",\n name: \"List Broadcasts\",\n description: \"Tool to retrieve a list of broadcasts. Use when you need to fetch all broadcasts or paginate through them.\",\n input: ResendListBroadcastsInput,\n output: ResendListBroadcastsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0C,EAAE,OAAO;CAC9D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kKAAkK,CAAC,CAAC,SAAS;CACxM,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CACjI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kKAAkK,CAAC,CAAC,SAAS;AAC3M,CAAC;AACD,MAAM,uCAAqD,EAAE,OAAO;CAClE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAM9C,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVsD,EAAE,OAAO;EAC/D,MAAM,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5H,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,CAOU;AACV,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/list-contact-properties.ts
|
|
4
|
+
const ResendListContactPropertiesInput = zod.z.object({
|
|
5
|
+
after: zod.z.string().describe("Return items after this cursor.").optional(),
|
|
6
|
+
limit: zod.z.number().int().describe("Number of items to return.").optional(),
|
|
7
|
+
before: zod.z.string().describe("Return items before this cursor.").optional()
|
|
8
|
+
});
|
|
9
|
+
const ResendListContactProperties_ContactPropertySchema = zod.z.object({
|
|
10
|
+
id: zod.z.string().describe("Unique contact property identifier.").nullable().optional(),
|
|
11
|
+
name: zod.z.string().describe("Name of the contact property.").nullable().optional(),
|
|
12
|
+
type: zod.z.string().describe("Type of the contact property.").nullable().optional(),
|
|
13
|
+
created_at: zod.z.string().describe("Timestamp of property creation in ISO 8601 format.").nullable().optional(),
|
|
14
|
+
description: zod.z.string().describe("Description of the contact property.").nullable().optional()
|
|
15
|
+
}).describe("Contact property object representation.");
|
|
16
|
+
const ResendListContactPropertiesOutput = zod.z.object({
|
|
17
|
+
data: zod.z.array(ResendListContactProperties_ContactPropertySchema).describe("Array containing contact property information.").nullable().optional(),
|
|
18
|
+
object: zod.z.string().describe("Type of the response object.").nullable().optional(),
|
|
19
|
+
has_more: zod.z.boolean().describe("Indicates if there are more results available.").nullable().optional()
|
|
20
|
+
});
|
|
21
|
+
const resendListContactProperties = require_action.action("RESEND_LIST_CONTACT_PROPERTIES", {
|
|
22
|
+
slug: "resend-list-contact-properties",
|
|
23
|
+
name: "List Contact Properties",
|
|
24
|
+
description: "Tool to retrieve a list of contact properties from Resend. Use when you need to view available contact property definitions.",
|
|
25
|
+
input: ResendListContactPropertiesInput,
|
|
26
|
+
output: ResendListContactPropertiesOutput
|
|
27
|
+
});
|
|
28
|
+
//#endregion
|
|
29
|
+
exports.resendListContactProperties = resendListContactProperties;
|
|
30
|
+
|
|
31
|
+
//# sourceMappingURL=list-contact-properties.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-contact-properties.cjs","names":["z","action"],"sources":["../../src/actions/list-contact-properties.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListContactPropertiesInput: z.ZodTypeAny = 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 ResendListContactProperties_ContactPropertySchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique contact property identifier.\").nullable().optional(),\n name: z.string().describe(\"Name of the contact property.\").nullable().optional(),\n type: z.string().describe(\"Type of the contact property.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of property creation in ISO 8601 format.\").nullable().optional(),\n description: z.string().describe(\"Description of the contact property.\").nullable().optional(),\n}).describe(\"Contact property object representation.\");\nexport const ResendListContactPropertiesOutput: z.ZodTypeAny = z.object({\n data: z.array(ResendListContactProperties_ContactPropertySchema).describe(\"Array containing contact property 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});\n\nexport const resendListContactProperties = action(\"RESEND_LIST_CONTACT_PROPERTIES\", {\n slug: \"resend-list-contact-properties\",\n name: \"List Contact Properties\",\n description: \"Tool to retrieve a list of contact properties from Resend. Use when you need to view available contact property definitions.\",\n input: ResendListContactPropertiesInput,\n output: ResendListContactPropertiesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,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,oDAAkEA,IAAAA,EAAE,OAAO;CAC/E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAa,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,MAAMA,IAAAA,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChJ,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;AAED,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-contact-properties.d.ts
|
|
4
|
+
declare const ResendListContactPropertiesInput: z.ZodTypeAny;
|
|
5
|
+
declare const ResendListContactPropertiesOutput: z.ZodTypeAny;
|
|
6
|
+
declare const resendListContactProperties: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { resendListContactProperties };
|
|
9
|
+
//# sourceMappingURL=list-contact-properties.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-contact-properties.d.cts","names":[],"sources":["../../src/actions/list-contact-properties.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAI/C;AAAA,cAQW,iCAAA,EAAmC,CAAA,CAAE,UAIhD;AAAA,cAEW,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-contact-properties.d.ts
|
|
4
|
+
declare const ResendListContactPropertiesInput: z.ZodTypeAny;
|
|
5
|
+
declare const ResendListContactPropertiesOutput: z.ZodTypeAny;
|
|
6
|
+
declare const resendListContactProperties: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { resendListContactProperties };
|
|
9
|
+
//# sourceMappingURL=list-contact-properties.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-contact-properties.d.mts","names":[],"sources":["../../src/actions/list-contact-properties.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAI/C;AAAA,cAQW,iCAAA,EAAmC,CAAA,CAAE,UAIhD;AAAA,cAEW,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/list-contact-properties.ts
|
|
4
|
+
const ResendListContactPropertiesInput = z.object({
|
|
5
|
+
after: z.string().describe("Return items after this cursor.").optional(),
|
|
6
|
+
limit: z.number().int().describe("Number of items to return.").optional(),
|
|
7
|
+
before: z.string().describe("Return items before this cursor.").optional()
|
|
8
|
+
});
|
|
9
|
+
const ResendListContactProperties_ContactPropertySchema = z.object({
|
|
10
|
+
id: z.string().describe("Unique contact property identifier.").nullable().optional(),
|
|
11
|
+
name: z.string().describe("Name of the contact property.").nullable().optional(),
|
|
12
|
+
type: z.string().describe("Type of the contact property.").nullable().optional(),
|
|
13
|
+
created_at: z.string().describe("Timestamp of property creation in ISO 8601 format.").nullable().optional(),
|
|
14
|
+
description: z.string().describe("Description of the contact property.").nullable().optional()
|
|
15
|
+
}).describe("Contact property object representation.");
|
|
16
|
+
const resendListContactProperties = action("RESEND_LIST_CONTACT_PROPERTIES", {
|
|
17
|
+
slug: "resend-list-contact-properties",
|
|
18
|
+
name: "List Contact Properties",
|
|
19
|
+
description: "Tool to retrieve a list of contact properties from Resend. Use when you need to view available contact property definitions.",
|
|
20
|
+
input: ResendListContactPropertiesInput,
|
|
21
|
+
output: z.object({
|
|
22
|
+
data: z.array(ResendListContactProperties_ContactPropertySchema).describe("Array containing contact property information.").nullable().optional(),
|
|
23
|
+
object: z.string().describe("Type of the response object.").nullable().optional(),
|
|
24
|
+
has_more: z.boolean().describe("Indicates if there are more results available.").nullable().optional()
|
|
25
|
+
})
|
|
26
|
+
});
|
|
27
|
+
//#endregion
|
|
28
|
+
export { resendListContactProperties };
|
|
29
|
+
|
|
30
|
+
//# sourceMappingURL=list-contact-properties.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-contact-properties.mjs","names":[],"sources":["../../src/actions/list-contact-properties.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListContactPropertiesInput: z.ZodTypeAny = 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 ResendListContactProperties_ContactPropertySchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique contact property identifier.\").nullable().optional(),\n name: z.string().describe(\"Name of the contact property.\").nullable().optional(),\n type: z.string().describe(\"Type of the contact property.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of property creation in ISO 8601 format.\").nullable().optional(),\n description: z.string().describe(\"Description of the contact property.\").nullable().optional(),\n}).describe(\"Contact property object representation.\");\nexport const ResendListContactPropertiesOutput: z.ZodTypeAny = z.object({\n data: z.array(ResendListContactProperties_ContactPropertySchema).describe(\"Array containing contact property 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});\n\nexport const resendListContactProperties = action(\"RESEND_LIST_CONTACT_PROPERTIES\", {\n slug: \"resend-list-contact-properties\",\n name: \"List Contact Properties\",\n description: \"Tool to retrieve a list of contact properties from Resend. Use when you need to view available contact property definitions.\",\n input: ResendListContactPropertiesInput,\n output: ResendListContactPropertiesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiD,EAAE,OAAO;CACrE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACvE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACxE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AAC3E,CAAC;AACD,MAAM,oDAAkE,EAAE,OAAO;CAC/E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,SAAS,yCAAyC;AAOrD,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX6D,EAAE,OAAO;EACtE,MAAM,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChJ,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,CAOU;AACV,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/list-contact-segments.ts
|
|
4
|
+
const ResendListContactSegmentsInput = zod.z.object({
|
|
5
|
+
id: zod.z.string().describe("The ID of the contact."),
|
|
6
|
+
after: zod.z.string().describe("Cursor ID for forward pagination.").optional(),
|
|
7
|
+
limit: zod.z.number().int().describe("Maximum number of results to return. Max: 100.").optional(),
|
|
8
|
+
before: zod.z.string().describe("Cursor ID for backward pagination.").optional()
|
|
9
|
+
});
|
|
10
|
+
const ResendListContactSegments_SegmentSchema = zod.z.object({
|
|
11
|
+
id: zod.z.string().describe("Unique segment identifier."),
|
|
12
|
+
name: zod.z.string().describe("Display name of the segment."),
|
|
13
|
+
created_at: zod.z.string().describe("Timestamp of segment creation in ISO 8601 format.")
|
|
14
|
+
}).describe("Segment object representation.");
|
|
15
|
+
const ResendListContactSegmentsOutput = zod.z.object({
|
|
16
|
+
data: zod.z.array(ResendListContactSegments_SegmentSchema).describe("Collection of segment objects that the contact belongs to."),
|
|
17
|
+
object: zod.z.string().describe("Identifier indicating this is a list response."),
|
|
18
|
+
has_more: zod.z.boolean().describe("Whether additional results are available for pagination.")
|
|
19
|
+
});
|
|
20
|
+
const resendListContactSegments = require_action.action("RESEND_LIST_CONTACT_SEGMENTS", {
|
|
21
|
+
slug: "resend-list-contact-segments",
|
|
22
|
+
name: "List Contact Segments",
|
|
23
|
+
description: "Retrieve a list of segments that a contact is part of. Use when you need to determine which segments a specific contact belongs to.",
|
|
24
|
+
input: ResendListContactSegmentsInput,
|
|
25
|
+
output: ResendListContactSegmentsOutput
|
|
26
|
+
});
|
|
27
|
+
//#endregion
|
|
28
|
+
exports.resendListContactSegments = resendListContactSegments;
|
|
29
|
+
|
|
30
|
+
//# sourceMappingURL=list-contact-segments.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-contact-segments.cjs","names":["z","action"],"sources":["../../src/actions/list-contact-segments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListContactSegmentsInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The ID of the contact.\"),\n after: z.string().describe(\"Cursor ID for forward pagination.\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return. Max: 100.\").optional(),\n before: z.string().describe(\"Cursor ID for backward pagination.\").optional(),\n});\nconst ResendListContactSegments_SegmentSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique segment identifier.\"),\n name: z.string().describe(\"Display name of the segment.\"),\n created_at: z.string().describe(\"Timestamp of segment creation in ISO 8601 format.\"),\n}).describe(\"Segment object representation.\");\nexport const ResendListContactSegmentsOutput: z.ZodTypeAny = z.object({\n data: z.array(ResendListContactSegments_SegmentSchema).describe(\"Collection of segment objects that the contact belongs to.\"),\n object: z.string().describe(\"Identifier indicating this is a list response.\"),\n has_more: z.boolean().describe(\"Whether additional results are available for pagination.\"),\n});\n\nexport const resendListContactSegments = action(\"RESEND_LIST_CONTACT_SEGMENTS\", {\n slug: \"resend-list-contact-segments\",\n name: \"List Contact Segments\",\n description: \"Retrieve a list of segments that a contact is part of. Use when you need to determine which segments a specific contact belongs to.\",\n input: ResendListContactSegmentsInput,\n output: ResendListContactSegmentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CAChD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC5F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AAC7E,CAAC;AACD,MAAM,0CAAwDA,IAAAA,EAAE,OAAO;CACrE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACxD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;AACrF,CAAC,CAAC,CAAC,SAAS,gCAAgC;AAC5C,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,MAAMA,IAAAA,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,4DAA4D;CAC5H,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAC5E,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D;AAC3F,CAAC;AAED,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-contact-segments.d.ts
|
|
4
|
+
declare const ResendListContactSegmentsInput: z.ZodTypeAny;
|
|
5
|
+
declare const ResendListContactSegmentsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const resendListContactSegments: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { resendListContactSegments };
|
|
9
|
+
//# sourceMappingURL=list-contact-segments.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-contact-segments.d.cts","names":[],"sources":["../../src/actions/list-contact-segments.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAK7C;AAAA,cAMW,+BAAA,EAAiC,CAAA,CAAE,UAI9C;AAAA,cAEW,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-contact-segments.d.ts
|
|
4
|
+
declare const ResendListContactSegmentsInput: z.ZodTypeAny;
|
|
5
|
+
declare const ResendListContactSegmentsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const resendListContactSegments: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { resendListContactSegments };
|
|
9
|
+
//# sourceMappingURL=list-contact-segments.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-contact-segments.d.mts","names":[],"sources":["../../src/actions/list-contact-segments.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAK7C;AAAA,cAMW,+BAAA,EAAiC,CAAA,CAAE,UAI9C;AAAA,cAEW,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/list-contact-segments.ts
|
|
4
|
+
const ResendListContactSegmentsInput = z.object({
|
|
5
|
+
id: z.string().describe("The ID of the contact."),
|
|
6
|
+
after: z.string().describe("Cursor ID for forward pagination.").optional(),
|
|
7
|
+
limit: z.number().int().describe("Maximum number of results to return. Max: 100.").optional(),
|
|
8
|
+
before: z.string().describe("Cursor ID for backward pagination.").optional()
|
|
9
|
+
});
|
|
10
|
+
const ResendListContactSegments_SegmentSchema = z.object({
|
|
11
|
+
id: z.string().describe("Unique segment identifier."),
|
|
12
|
+
name: z.string().describe("Display name of the segment."),
|
|
13
|
+
created_at: z.string().describe("Timestamp of segment creation in ISO 8601 format.")
|
|
14
|
+
}).describe("Segment object representation.");
|
|
15
|
+
const resendListContactSegments = action("RESEND_LIST_CONTACT_SEGMENTS", {
|
|
16
|
+
slug: "resend-list-contact-segments",
|
|
17
|
+
name: "List Contact Segments",
|
|
18
|
+
description: "Retrieve a list of segments that a contact is part of. Use when you need to determine which segments a specific contact belongs to.",
|
|
19
|
+
input: ResendListContactSegmentsInput,
|
|
20
|
+
output: z.object({
|
|
21
|
+
data: z.array(ResendListContactSegments_SegmentSchema).describe("Collection of segment objects that the contact belongs to."),
|
|
22
|
+
object: z.string().describe("Identifier indicating this is a list response."),
|
|
23
|
+
has_more: z.boolean().describe("Whether additional results are available for pagination.")
|
|
24
|
+
})
|
|
25
|
+
});
|
|
26
|
+
//#endregion
|
|
27
|
+
export { resendListContactSegments };
|
|
28
|
+
|
|
29
|
+
//# sourceMappingURL=list-contact-segments.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-contact-segments.mjs","names":[],"sources":["../../src/actions/list-contact-segments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListContactSegmentsInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The ID of the contact.\"),\n after: z.string().describe(\"Cursor ID for forward pagination.\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return. Max: 100.\").optional(),\n before: z.string().describe(\"Cursor ID for backward pagination.\").optional(),\n});\nconst ResendListContactSegments_SegmentSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique segment identifier.\"),\n name: z.string().describe(\"Display name of the segment.\"),\n created_at: z.string().describe(\"Timestamp of segment creation in ISO 8601 format.\"),\n}).describe(\"Segment object representation.\");\nexport const ResendListContactSegmentsOutput: z.ZodTypeAny = z.object({\n data: z.array(ResendListContactSegments_SegmentSchema).describe(\"Collection of segment objects that the contact belongs to.\"),\n object: z.string().describe(\"Identifier indicating this is a list response.\"),\n has_more: z.boolean().describe(\"Whether additional results are available for pagination.\"),\n});\n\nexport const resendListContactSegments = action(\"RESEND_LIST_CONTACT_SEGMENTS\", {\n slug: \"resend-list-contact-segments\",\n name: \"List Contact Segments\",\n description: \"Retrieve a list of segments that a contact is part of. Use when you need to determine which segments a specific contact belongs to.\",\n input: ResendListContactSegmentsInput,\n output: ResendListContactSegmentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+C,EAAE,OAAO;CACnE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CAChD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC5F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AAC7E,CAAC;AACD,MAAM,0CAAwD,EAAE,OAAO;CACrE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACxD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;AACrF,CAAC,CAAC,CAAC,SAAS,gCAAgC;AAO5C,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX2D,EAAE,OAAO;EACpE,MAAM,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,4DAA4D;EAC5H,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;EAC5E,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D;CAC3F,CAOU;AACV,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/list-contact-topics.ts
|
|
4
|
+
const ResendListContactTopicsInput = zod.z.object({
|
|
5
|
+
after: zod.z.string().describe("Cursor ID for forward pagination.").optional(),
|
|
6
|
+
limit: zod.z.number().int().describe("Maximum number of results to return. Max: 100.").optional(),
|
|
7
|
+
before: zod.z.string().describe("Cursor ID for backward pagination.").optional(),
|
|
8
|
+
contact_id: zod.z.string().describe("The ID of the contact.")
|
|
9
|
+
});
|
|
10
|
+
const ResendListContactTopics_TopicSubscriptionSchema = zod.z.object({
|
|
11
|
+
id: zod.z.string().describe("Unique identifier for the topic.").nullable().optional(),
|
|
12
|
+
name: zod.z.string().describe("Topic display name.").nullable().optional(),
|
|
13
|
+
description: zod.z.string().describe("Explanation of topic content.").nullable().optional(),
|
|
14
|
+
subscription: zod.z.string().describe("Subscription status (e.g., 'opt_in', 'opt_out').").nullable().optional()
|
|
15
|
+
}).describe("Topic subscription object representation.");
|
|
16
|
+
const ResendListContactTopicsOutput = zod.z.object({
|
|
17
|
+
data: zod.z.array(ResendListContactTopics_TopicSubscriptionSchema).describe("Collection of topic subscription objects.").nullable().optional(),
|
|
18
|
+
object: zod.z.string().describe("Identifies response type as 'list'.").nullable().optional(),
|
|
19
|
+
has_more: zod.z.boolean().describe("Indicates if additional paginated results exist.").nullable().optional()
|
|
20
|
+
});
|
|
21
|
+
const resendListContactTopics = require_action.action("RESEND_LIST_CONTACT_TOPICS", {
|
|
22
|
+
slug: "resend-list-contact-topics",
|
|
23
|
+
name: "List Contact Topics",
|
|
24
|
+
description: "Retrieve a list of topic subscriptions for a contact in Resend. Use when you need to check which topics a specific contact is subscribed to.",
|
|
25
|
+
input: ResendListContactTopicsInput,
|
|
26
|
+
output: ResendListContactTopicsOutput
|
|
27
|
+
});
|
|
28
|
+
//#endregion
|
|
29
|
+
exports.resendListContactTopics = resendListContactTopics;
|
|
30
|
+
|
|
31
|
+
//# sourceMappingURL=list-contact-topics.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-contact-topics.cjs","names":["z","action"],"sources":["../../src/actions/list-contact-topics.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListContactTopicsInput: z.ZodTypeAny = z.object({\n after: z.string().describe(\"Cursor ID for forward pagination.\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return. Max: 100.\").optional(),\n before: z.string().describe(\"Cursor ID for backward pagination.\").optional(),\n contact_id: z.string().describe(\"The ID of the contact.\"),\n});\nconst ResendListContactTopics_TopicSubscriptionSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the topic.\").nullable().optional(),\n name: z.string().describe(\"Topic display name.\").nullable().optional(),\n description: z.string().describe(\"Explanation of topic content.\").nullable().optional(),\n subscription: z.string().describe(\"Subscription status (e.g., 'opt_in', 'opt_out').\").nullable().optional(),\n}).describe(\"Topic subscription object representation.\");\nexport const ResendListContactTopicsOutput: z.ZodTypeAny = z.object({\n data: z.array(ResendListContactTopics_TopicSubscriptionSchema).describe(\"Collection of topic subscription objects.\").nullable().optional(),\n object: z.string().describe(\"Identifies response type as 'list'.\").nullable().optional(),\n has_more: z.boolean().describe(\"Indicates if additional paginated results exist.\").nullable().optional(),\n});\n\nexport const resendListContactTopics = action(\"RESEND_LIST_CONTACT_TOPICS\", {\n slug: \"resend-list-contact-topics\",\n name: \"List Contact Topics\",\n description: \"Retrieve a list of topic subscriptions for a contact in Resend. Use when you need to check which topics a specific contact is subscribed to.\",\n input: ResendListContactTopicsInput,\n output: ResendListContactTopicsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC5F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC3E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;AAC1D,CAAC;AACD,MAAM,kDAAgEA,IAAAA,EAAE,OAAO;CAC7E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,MAAMA,IAAAA,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC;AAED,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-contact-topics.d.ts
|
|
4
|
+
declare const ResendListContactTopicsInput: z.ZodTypeAny;
|
|
5
|
+
declare const ResendListContactTopicsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const resendListContactTopics: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { resendListContactTopics };
|
|
9
|
+
//# sourceMappingURL=list-contact-topics.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-contact-topics.d.cts","names":[],"sources":["../../src/actions/list-contact-topics.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAK3C;AAAA,cAOW,6BAAA,EAA+B,CAAA,CAAE,UAI5C;AAAA,cAEW,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-contact-topics.d.ts
|
|
4
|
+
declare const ResendListContactTopicsInput: z.ZodTypeAny;
|
|
5
|
+
declare const ResendListContactTopicsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const resendListContactTopics: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { resendListContactTopics };
|
|
9
|
+
//# sourceMappingURL=list-contact-topics.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-contact-topics.d.mts","names":[],"sources":["../../src/actions/list-contact-topics.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAK3C;AAAA,cAOW,6BAAA,EAA+B,CAAA,CAAE,UAI5C;AAAA,cAEW,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/list-contact-topics.ts
|
|
4
|
+
const ResendListContactTopicsInput = z.object({
|
|
5
|
+
after: z.string().describe("Cursor ID for forward pagination.").optional(),
|
|
6
|
+
limit: z.number().int().describe("Maximum number of results to return. Max: 100.").optional(),
|
|
7
|
+
before: z.string().describe("Cursor ID for backward pagination.").optional(),
|
|
8
|
+
contact_id: z.string().describe("The ID of the contact.")
|
|
9
|
+
});
|
|
10
|
+
const ResendListContactTopics_TopicSubscriptionSchema = z.object({
|
|
11
|
+
id: z.string().describe("Unique identifier for the topic.").nullable().optional(),
|
|
12
|
+
name: z.string().describe("Topic display name.").nullable().optional(),
|
|
13
|
+
description: z.string().describe("Explanation of topic content.").nullable().optional(),
|
|
14
|
+
subscription: z.string().describe("Subscription status (e.g., 'opt_in', 'opt_out').").nullable().optional()
|
|
15
|
+
}).describe("Topic subscription object representation.");
|
|
16
|
+
const resendListContactTopics = action("RESEND_LIST_CONTACT_TOPICS", {
|
|
17
|
+
slug: "resend-list-contact-topics",
|
|
18
|
+
name: "List Contact Topics",
|
|
19
|
+
description: "Retrieve a list of topic subscriptions for a contact in Resend. Use when you need to check which topics a specific contact is subscribed to.",
|
|
20
|
+
input: ResendListContactTopicsInput,
|
|
21
|
+
output: z.object({
|
|
22
|
+
data: z.array(ResendListContactTopics_TopicSubscriptionSchema).describe("Collection of topic subscription objects.").nullable().optional(),
|
|
23
|
+
object: z.string().describe("Identifies response type as 'list'.").nullable().optional(),
|
|
24
|
+
has_more: z.boolean().describe("Indicates if additional paginated results exist.").nullable().optional()
|
|
25
|
+
})
|
|
26
|
+
});
|
|
27
|
+
//#endregion
|
|
28
|
+
export { resendListContactTopics };
|
|
29
|
+
|
|
30
|
+
//# sourceMappingURL=list-contact-topics.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-contact-topics.mjs","names":[],"sources":["../../src/actions/list-contact-topics.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListContactTopicsInput: z.ZodTypeAny = z.object({\n after: z.string().describe(\"Cursor ID for forward pagination.\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return. Max: 100.\").optional(),\n before: z.string().describe(\"Cursor ID for backward pagination.\").optional(),\n contact_id: z.string().describe(\"The ID of the contact.\"),\n});\nconst ResendListContactTopics_TopicSubscriptionSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the topic.\").nullable().optional(),\n name: z.string().describe(\"Topic display name.\").nullable().optional(),\n description: z.string().describe(\"Explanation of topic content.\").nullable().optional(),\n subscription: z.string().describe(\"Subscription status (e.g., 'opt_in', 'opt_out').\").nullable().optional(),\n}).describe(\"Topic subscription object representation.\");\nexport const ResendListContactTopicsOutput: z.ZodTypeAny = z.object({\n data: z.array(ResendListContactTopics_TopicSubscriptionSchema).describe(\"Collection of topic subscription objects.\").nullable().optional(),\n object: z.string().describe(\"Identifies response type as 'list'.\").nullable().optional(),\n has_more: z.boolean().describe(\"Indicates if additional paginated results exist.\").nullable().optional(),\n});\n\nexport const resendListContactTopics = action(\"RESEND_LIST_CONTACT_TOPICS\", {\n slug: \"resend-list-contact-topics\",\n name: \"List Contact Topics\",\n description: \"Retrieve a list of topic subscriptions for a contact in Resend. Use when you need to check which topics a specific contact is subscribed to.\",\n input: ResendListContactTopicsInput,\n output: ResendListContactTopicsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6C,EAAE,OAAO;CACjE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC5F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC3E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;AAC1D,CAAC;AACD,MAAM,kDAAgE,EAAE,OAAO;CAC7E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAOvD,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXyD,EAAE,OAAO;EAClE,MAAM,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,CAOU;AACV,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/list-contacts.ts
|
|
4
|
+
const ResendListContactsInput = zod.z.object({
|
|
5
|
+
after: zod.z.string().describe("Cursor ID for forward pagination.").optional(),
|
|
6
|
+
limit: zod.z.number().int().describe("Maximum number of results to return. Max: 100.").optional(),
|
|
7
|
+
before: zod.z.string().describe("Cursor ID for backward pagination.").optional(),
|
|
8
|
+
audienceId: zod.z.string().describe("The Audience ID.")
|
|
9
|
+
});
|
|
10
|
+
const ResendListContacts_ContactSchema = zod.z.object({
|
|
11
|
+
id: zod.z.string().describe("Unique contact identifier."),
|
|
12
|
+
email: zod.z.string().describe("Contact's email address."),
|
|
13
|
+
last_name: zod.z.string().describe("Contact's surname.").nullable().optional(),
|
|
14
|
+
created_at: zod.z.string().describe("Timestamp of contact creation in ISO 8601 format."),
|
|
15
|
+
first_name: zod.z.string().describe("Contact's given name.").nullable().optional(),
|
|
16
|
+
unsubscribed: zod.z.boolean().describe("Indicates subscription status.")
|
|
17
|
+
}).describe("Contact object representation.");
|
|
18
|
+
const ResendListContactsOutput = zod.z.object({
|
|
19
|
+
data: zod.z.array(ResendListContacts_ContactSchema).describe("Collection of contact objects."),
|
|
20
|
+
object: zod.z.string().describe("Identifier indicating this is a list response."),
|
|
21
|
+
has_more: zod.z.boolean().describe("Whether additional results are available for pagination.")
|
|
22
|
+
});
|
|
23
|
+
const resendListContacts = require_action.action("RESEND_LIST_CONTACTS", {
|
|
24
|
+
slug: "resend-list-contacts",
|
|
25
|
+
name: "List Contacts",
|
|
26
|
+
description: "List contacts in Resend.",
|
|
27
|
+
input: ResendListContactsInput,
|
|
28
|
+
output: ResendListContactsOutput
|
|
29
|
+
});
|
|
30
|
+
//#endregion
|
|
31
|
+
exports.resendListContacts = resendListContacts;
|
|
32
|
+
|
|
33
|
+
//# sourceMappingURL=list-contacts.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-contacts.cjs","names":["z","action"],"sources":["../../src/actions/list-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListContactsInput: z.ZodTypeAny = z.object({\n after: z.string().describe(\"Cursor ID for forward pagination.\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return. Max: 100.\").optional(),\n before: z.string().describe(\"Cursor ID for backward pagination.\").optional(),\n audienceId: z.string().describe(\"The Audience ID.\"),\n});\nconst ResendListContacts_ContactSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique contact identifier.\"),\n email: z.string().describe(\"Contact's email address.\"),\n last_name: z.string().describe(\"Contact's surname.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of contact creation in ISO 8601 format.\"),\n first_name: z.string().describe(\"Contact's given name.\").nullable().optional(),\n unsubscribed: z.boolean().describe(\"Indicates subscription status.\"),\n}).describe(\"Contact object representation.\");\nexport const ResendListContactsOutput: z.ZodTypeAny = z.object({\n data: z.array(ResendListContacts_ContactSchema).describe(\"Collection of contact objects.\"),\n object: z.string().describe(\"Identifier indicating this is a list response.\"),\n has_more: z.boolean().describe(\"Whether additional results are available for pagination.\"),\n});\n\nexport const resendListContacts = action(\"RESEND_LIST_CONTACTS\", {\n slug: \"resend-list-contacts\",\n name: \"List Contacts\",\n description: \"List contacts in Resend.\",\n input: ResendListContactsInput,\n output: ResendListContactsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwCA,IAAAA,EAAE,OAAO;CAC5D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC5F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC3E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;AACpD,CAAC;AACD,MAAM,mCAAiDA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACpD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACrD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CACnF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC;AACrE,CAAC,CAAC,CAAC,SAAS,gCAAgC;AAC5C,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,gCAAgC;CACzF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAC5E,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D;AAC3F,CAAC;AAED,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-contacts.d.ts
|
|
4
|
+
declare const ResendListContactsInput: z.ZodTypeAny;
|
|
5
|
+
declare const ResendListContactsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const resendListContacts: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { resendListContacts };
|
|
9
|
+
//# sourceMappingURL=list-contacts.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-contacts.d.cts","names":[],"sources":["../../src/actions/list-contacts.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAKtC;AAAA,cASW,wBAAA,EAA0B,CAAA,CAAE,UAIvC;AAAA,cAEW,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-contacts.d.ts
|
|
4
|
+
declare const ResendListContactsInput: z.ZodTypeAny;
|
|
5
|
+
declare const ResendListContactsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const resendListContacts: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { resendListContacts };
|
|
9
|
+
//# sourceMappingURL=list-contacts.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-contacts.d.mts","names":[],"sources":["../../src/actions/list-contacts.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAKtC;AAAA,cASW,wBAAA,EAA0B,CAAA,CAAE,UAIvC;AAAA,cAEW,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/list-contacts.ts
|
|
4
|
+
const ResendListContactsInput = z.object({
|
|
5
|
+
after: z.string().describe("Cursor ID for forward pagination.").optional(),
|
|
6
|
+
limit: z.number().int().describe("Maximum number of results to return. Max: 100.").optional(),
|
|
7
|
+
before: z.string().describe("Cursor ID for backward pagination.").optional(),
|
|
8
|
+
audienceId: z.string().describe("The Audience ID.")
|
|
9
|
+
});
|
|
10
|
+
const ResendListContacts_ContactSchema = z.object({
|
|
11
|
+
id: z.string().describe("Unique contact identifier."),
|
|
12
|
+
email: z.string().describe("Contact's email address."),
|
|
13
|
+
last_name: z.string().describe("Contact's surname.").nullable().optional(),
|
|
14
|
+
created_at: z.string().describe("Timestamp of contact creation in ISO 8601 format."),
|
|
15
|
+
first_name: z.string().describe("Contact's given name.").nullable().optional(),
|
|
16
|
+
unsubscribed: z.boolean().describe("Indicates subscription status.")
|
|
17
|
+
}).describe("Contact object representation.");
|
|
18
|
+
const resendListContacts = action("RESEND_LIST_CONTACTS", {
|
|
19
|
+
slug: "resend-list-contacts",
|
|
20
|
+
name: "List Contacts",
|
|
21
|
+
description: "List contacts in Resend.",
|
|
22
|
+
input: ResendListContactsInput,
|
|
23
|
+
output: z.object({
|
|
24
|
+
data: z.array(ResendListContacts_ContactSchema).describe("Collection of contact objects."),
|
|
25
|
+
object: z.string().describe("Identifier indicating this is a list response."),
|
|
26
|
+
has_more: z.boolean().describe("Whether additional results are available for pagination.")
|
|
27
|
+
})
|
|
28
|
+
});
|
|
29
|
+
//#endregion
|
|
30
|
+
export { resendListContacts };
|
|
31
|
+
|
|
32
|
+
//# sourceMappingURL=list-contacts.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-contacts.mjs","names":[],"sources":["../../src/actions/list-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListContactsInput: z.ZodTypeAny = z.object({\n after: z.string().describe(\"Cursor ID for forward pagination.\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return. Max: 100.\").optional(),\n before: z.string().describe(\"Cursor ID for backward pagination.\").optional(),\n audienceId: z.string().describe(\"The Audience ID.\"),\n});\nconst ResendListContacts_ContactSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique contact identifier.\"),\n email: z.string().describe(\"Contact's email address.\"),\n last_name: z.string().describe(\"Contact's surname.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of contact creation in ISO 8601 format.\"),\n first_name: z.string().describe(\"Contact's given name.\").nullable().optional(),\n unsubscribed: z.boolean().describe(\"Indicates subscription status.\"),\n}).describe(\"Contact object representation.\");\nexport const ResendListContactsOutput: z.ZodTypeAny = z.object({\n data: z.array(ResendListContacts_ContactSchema).describe(\"Collection of contact objects.\"),\n object: z.string().describe(\"Identifier indicating this is a list response.\"),\n has_more: z.boolean().describe(\"Whether additional results are available for pagination.\"),\n});\n\nexport const resendListContacts = action(\"RESEND_LIST_CONTACTS\", {\n slug: \"resend-list-contacts\",\n name: \"List Contacts\",\n description: \"List contacts in Resend.\",\n input: ResendListContactsInput,\n output: ResendListContactsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwC,EAAE,OAAO;CAC5D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC5F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC3E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;AACpD,CAAC;AACD,MAAM,mCAAiD,EAAE,OAAO;CAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACpD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACrD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CACnF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC;AACrE,CAAC,CAAC,CAAC,SAAS,gCAAgC;AAO5C,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXoD,EAAE,OAAO;EAC7D,MAAM,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,gCAAgC;EACzF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;EAC5E,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D;CAC3F,CAOU;AACV,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/list-domains.ts
|
|
4
|
+
const ResendListDomainsInput = zod.z.object({});
|
|
5
|
+
const ResendListDomains_DomainSchema = zod.z.object({
|
|
6
|
+
id: zod.z.string().describe("The id of the domain.").nullable().optional(),
|
|
7
|
+
name: zod.z.string().describe("The name of the domain.").nullable().optional(),
|
|
8
|
+
region: zod.z.string().describe("The region where emails will be sent from.").nullable().optional(),
|
|
9
|
+
status: zod.z.string().describe("The status of the domain.").nullable().optional(),
|
|
10
|
+
created_at: zod.z.string().describe("The creation timestamp of the domain.").nullable().optional()
|
|
11
|
+
});
|
|
12
|
+
const ResendListDomainsOutput = zod.z.object({ domains: zod.z.array(ResendListDomains_DomainSchema).describe("The list of domains.").nullable().optional() });
|
|
13
|
+
const resendListDomains = require_action.action("RESEND_LIST_DOMAINS", {
|
|
14
|
+
slug: "resend-list-domains",
|
|
15
|
+
name: "List Domains",
|
|
16
|
+
description: "List all domains. Use the returned domain IDs as inputs for tools like RESEND_VERIFY_DOMAIN that require a domain_id.",
|
|
17
|
+
input: ResendListDomainsInput,
|
|
18
|
+
output: ResendListDomainsOutput
|
|
19
|
+
});
|
|
20
|
+
//#endregion
|
|
21
|
+
exports.resendListDomains = resendListDomains;
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=list-domains.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-domains.cjs","names":["z","action"],"sources":["../../src/actions/list-domains.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListDomainsInput: z.ZodTypeAny = z.object({});\nconst ResendListDomains_DomainSchema: z.ZodTypeAny = 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});\nexport const ResendListDomainsOutput: z.ZodTypeAny = z.object({\n domains: z.array(ResendListDomains_DomainSchema).describe(\"The list of domains.\").nullable().optional(),\n});\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":";;;AAIA,MAAa,yBAAuCA,IAAAA,EAAE,OAAO,CAAC,CAAC;AAC/D,MAAM,iCAA+CA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC;AACD,MAAa,0BAAwCA,IAAAA,EAAE,OAAO,EAC5D,SAASA,IAAAA,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxG,CAAC;AAED,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-domains.d.ts
|
|
4
|
+
declare const ResendListDomainsInput: z.ZodTypeAny;
|
|
5
|
+
declare const ResendListDomainsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const resendListDomains: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { resendListDomains };
|
|
9
|
+
//# sourceMappingURL=list-domains.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-domains.d.cts","names":[],"sources":["../../src/actions/list-domains.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAAyB;AAAA,cAQnD,uBAAA,EAAyB,CAAA,CAAE,UAEtC;AAAA,cAEW,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-domains.d.ts
|
|
4
|
+
declare const ResendListDomainsInput: z.ZodTypeAny;
|
|
5
|
+
declare const ResendListDomainsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const resendListDomains: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { resendListDomains };
|
|
9
|
+
//# sourceMappingURL=list-domains.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-domains.d.mts","names":[],"sources":["../../src/actions/list-domains.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAAyB;AAAA,cAQnD,uBAAA,EAAyB,CAAA,CAAE,UAEtC;AAAA,cAEW,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/list-domains.ts
|
|
4
|
+
const ResendListDomainsInput = z.object({});
|
|
5
|
+
const ResendListDomains_DomainSchema = z.object({
|
|
6
|
+
id: z.string().describe("The id of the domain.").nullable().optional(),
|
|
7
|
+
name: z.string().describe("The name of the domain.").nullable().optional(),
|
|
8
|
+
region: z.string().describe("The region where emails will be sent from.").nullable().optional(),
|
|
9
|
+
status: z.string().describe("The status of the domain.").nullable().optional(),
|
|
10
|
+
created_at: z.string().describe("The creation timestamp of the domain.").nullable().optional()
|
|
11
|
+
});
|
|
12
|
+
const resendListDomains = action("RESEND_LIST_DOMAINS", {
|
|
13
|
+
slug: "resend-list-domains",
|
|
14
|
+
name: "List Domains",
|
|
15
|
+
description: "List all domains. Use the returned domain IDs as inputs for tools like RESEND_VERIFY_DOMAIN that require a domain_id.",
|
|
16
|
+
input: ResendListDomainsInput,
|
|
17
|
+
output: z.object({ domains: z.array(ResendListDomains_DomainSchema).describe("The list of domains.").nullable().optional() })
|
|
18
|
+
});
|
|
19
|
+
//#endregion
|
|
20
|
+
export { resendListDomains };
|
|
21
|
+
|
|
22
|
+
//# sourceMappingURL=list-domains.mjs.map
|
|
@@ -0,0 +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.ZodTypeAny = z.object({});\nconst ResendListDomains_DomainSchema: z.ZodTypeAny = 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});\nexport const ResendListDomainsOutput: z.ZodTypeAny = z.object({\n domains: z.array(ResendListDomains_DomainSchema).describe(\"The list of domains.\").nullable().optional(),\n});\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":";;;AAIA,MAAa,yBAAuC,EAAE,OAAO,CAAC,CAAC;AAC/D,MAAM,iCAA+C,EAAE,OAAO;CAC5D,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;AAKD,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATmD,EAAE,OAAO,EAC5D,SAAS,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxG,CAOU;AACV,CAAC"}
|