@keystrokehq/resend 0.0.16 → 0.1.2
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 +17 -0
- package/dist/actions/add-contact-to-segment.d.cts.map +1 -0
- package/dist/actions/add-contact-to-segment.d.mts +17 -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 +16 -0
- package/dist/actions/cancel-email.d.cts.map +1 -0
- package/dist/actions/cancel-email.d.mts +16 -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 +23 -0
- package/dist/actions/create-api-key.d.cts.map +1 -0
- package/dist/actions/create-api-key.d.mts +23 -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 +17 -0
- package/dist/actions/create-audience.d.cts.map +1 -0
- package/dist/actions/create-audience.d.mts +17 -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 +23 -0
- package/dist/actions/create-contact-property.d.cts.map +1 -0
- package/dist/actions/create-contact-property.d.mts +23 -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 +47 -0
- package/dist/actions/create-contact-v2.d.cts.map +1 -0
- package/dist/actions/create-contact-v2.d.mts +47 -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 +24 -0
- package/dist/actions/create-contact.d.cts.map +1 -0
- package/dist/actions/create-contact.d.mts +24 -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 +39 -0
- package/dist/actions/create-domain.d.cts.map +1 -0
- package/dist/actions/create-domain.d.mts +39 -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 +41 -0
- package/dist/actions/create-template.d.cts.map +1 -0
- package/dist/actions/create-template.d.mts +41 -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 +28 -0
- package/dist/actions/create-topic.d.cts.map +1 -0
- package/dist/actions/create-topic.d.mts +28 -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 +19 -0
- package/dist/actions/create-webhook.d.cts.map +1 -0
- package/dist/actions/create-webhook.d.mts +19 -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 +17 -0
- package/dist/actions/delete-api-key.d.cts.map +1 -0
- package/dist/actions/delete-api-key.d.mts +17 -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 +16 -0
- package/dist/actions/delete-audience.d.cts.map +1 -0
- package/dist/actions/delete-audience.d.mts +16 -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 +17 -0
- package/dist/actions/delete-contact-by-id.d.cts.map +1 -0
- package/dist/actions/delete-contact-by-id.d.mts +17 -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 +17 -0
- package/dist/actions/delete-contact-property.d.cts.map +1 -0
- package/dist/actions/delete-contact-property.d.mts +17 -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 +21 -0
- package/dist/actions/delete-contact.d.cts.map +1 -0
- package/dist/actions/delete-contact.d.mts +21 -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 +17 -0
- package/dist/actions/delete-domain.d.cts.map +1 -0
- package/dist/actions/delete-domain.d.mts +17 -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 +17 -0
- package/dist/actions/delete-segment.d.cts.map +1 -0
- package/dist/actions/delete-segment.d.mts +17 -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 +17 -0
- package/dist/actions/delete-template.d.cts.map +1 -0
- package/dist/actions/delete-template.d.mts +17 -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 +17 -0
- package/dist/actions/delete-topic.d.cts.map +1 -0
- package/dist/actions/delete-topic.d.mts +17 -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 +17 -0
- package/dist/actions/delete-webhook.d.cts.map +1 -0
- package/dist/actions/delete-webhook.d.mts +17 -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 +16 -0
- package/dist/actions/duplicate-template.d.cts.map +1 -0
- package/dist/actions/duplicate-template.d.mts +16 -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 +20 -0
- package/dist/actions/get-contact-property.d.cts.map +1 -0
- package/dist/actions/get-contact-property.d.mts +20 -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 +22 -0
- package/dist/actions/get-contact.d.cts.map +1 -0
- package/dist/actions/get-contact.d.mts +22 -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 +28 -0
- package/dist/actions/get-email-attachment.d.cts.map +1 -0
- package/dist/actions/get-email-attachment.d.mts +28 -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 +20 -0
- package/dist/actions/get-segment.d.cts.map +1 -0
- package/dist/actions/get-segment.d.mts +20 -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 +40 -0
- package/dist/actions/get-template.d.cts.map +1 -0
- package/dist/actions/get-template.d.mts +40 -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 +19 -0
- package/dist/actions/get-topic.d.cts.map +1 -0
- package/dist/actions/get-topic.d.mts +19 -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 +21 -0
- package/dist/actions/get-webhook.d.cts.map +1 -0
- package/dist/actions/get-webhook.d.mts +21 -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 +28 -0
- package/dist/actions/list-all-contacts.d.cts.map +1 -0
- package/dist/actions/list-all-contacts.d.mts +28 -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 +25 -0
- package/dist/actions/list-api-keys.d.cts.map +1 -0
- package/dist/actions/list-api-keys.d.mts +25 -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 +25 -0
- package/dist/actions/list-audiences.d.cts.map +1 -0
- package/dist/actions/list-audiences.d.mts +25 -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 +28 -0
- package/dist/actions/list-broadcasts.d.cts.map +1 -0
- package/dist/actions/list-broadcasts.d.mts +28 -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 +27 -0
- package/dist/actions/list-contact-properties.d.cts.map +1 -0
- package/dist/actions/list-contact-properties.d.mts +27 -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 +27 -0
- package/dist/actions/list-contact-segments.d.cts.map +1 -0
- package/dist/actions/list-contact-segments.d.mts +27 -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 +28 -0
- package/dist/actions/list-contact-topics.d.cts.map +1 -0
- package/dist/actions/list-contact-topics.d.mts +28 -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 +30 -0
- package/dist/actions/list-contacts.d.cts.map +1 -0
- package/dist/actions/list-contacts.d.mts +30 -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 +17 -0
- package/dist/actions/list-domains.d.cts.map +1 -0
- package/dist/actions/list-domains.d.mts +17 -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 +32 -0
- package/dist/actions/list-email-attachments.d.cts.map +1 -0
- package/dist/actions/list-email-attachments.d.mts +32 -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 +34 -0
- package/dist/actions/list-emails.d.cts.map +1 -0
- package/dist/actions/list-emails.d.mts +34 -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 +32 -0
- package/dist/actions/list-received-emails.d.cts.map +1 -0
- package/dist/actions/list-received-emails.d.mts +32 -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 +26 -0
- package/dist/actions/list-segments.d.cts.map +1 -0
- package/dist/actions/list-segments.d.mts +26 -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 +29 -0
- package/dist/actions/list-templates.d.cts.map +1 -0
- package/dist/actions/list-templates.d.mts +29 -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 +26 -0
- package/dist/actions/list-topics.d.cts.map +1 -0
- package/dist/actions/list-topics.d.mts +26 -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 +27 -0
- package/dist/actions/list-webhooks.d.cts.map +1 -0
- package/dist/actions/list-webhooks.d.mts +27 -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 +16 -0
- package/dist/actions/publish-template.d.cts.map +1 -0
- package/dist/actions/publish-template.d.mts +16 -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 +18 -0
- package/dist/actions/remove-contact-from-segment.d.cts.map +1 -0
- package/dist/actions/remove-contact-from-segment.d.mts +18 -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 +18 -0
- package/dist/actions/retrieve-audience.d.cts.map +1 -0
- package/dist/actions/retrieve-audience.d.mts +18 -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 +23 -0
- package/dist/actions/retrieve-contact.d.cts.map +1 -0
- package/dist/actions/retrieve-contact.d.mts +23 -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 +20 -0
- package/dist/actions/retrieve-domain.d.cts.map +1 -0
- package/dist/actions/retrieve-domain.d.mts +20 -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 +26 -0
- package/dist/actions/retrieve-email.d.cts.map +1 -0
- package/dist/actions/retrieve-email.d.mts +26 -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 +41 -0
- package/dist/actions/send-batch-emails.d.cts.map +1 -0
- package/dist/actions/send-batch-emails.d.mts +41 -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 +36 -0
- package/dist/actions/send-email.d.cts.map +1 -0
- package/dist/actions/send-email.d.mts +36 -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 +34 -0
- package/dist/actions/update-broadcast.d.cts.map +1 -0
- package/dist/actions/update-broadcast.d.mts +34 -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 +18 -0
- package/dist/actions/update-contact-property.d.cts.map +1 -0
- package/dist/actions/update-contact-property.d.mts +18 -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 +22 -0
- package/dist/actions/update-contact.d.cts.map +1 -0
- package/dist/actions/update-contact.d.mts +22 -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 +29 -0
- package/dist/actions/update-domain.d.cts.map +1 -0
- package/dist/actions/update-domain.d.mts +29 -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 +18 -0
- package/dist/actions/update-email.d.cts.map +1 -0
- package/dist/actions/update-email.d.mts +18 -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 +40 -0
- package/dist/actions/update-template.d.cts.map +1 -0
- package/dist/actions/update-template.d.mts +40 -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 +18 -0
- package/dist/actions/update-topic.d.cts.map +1 -0
- package/dist/actions/update-topic.d.mts +18 -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 +25 -0
- package/dist/actions/update-webhook.d.cts.map +1 -0
- package/dist/actions/update-webhook.d.mts +25 -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 +16 -0
- package/dist/actions/verify-domain.d.cts.map +1 -0
- package/dist/actions/verify-domain.d.mts +16 -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 +21 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +22 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +22 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +21 -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,29 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/list-audiences.ts
|
|
4
|
+
const ResendListAudiencesInput = 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
|
+
});
|
|
9
|
+
const ResendListAudiences_AudienceSchema = zod.z.object({
|
|
10
|
+
id: zod.z.string().describe("The id of the audience.").nullable().optional(),
|
|
11
|
+
name: zod.z.string().describe("The name of the audience.").nullable().optional(),
|
|
12
|
+
created_at: zod.z.string().describe("The creation timestamp of the audience.").nullable().optional()
|
|
13
|
+
});
|
|
14
|
+
const ResendListAudiencesOutput = zod.z.object({
|
|
15
|
+
data: zod.z.array(ResendListAudiences_AudienceSchema).describe("The list of audiences.").nullable().optional(),
|
|
16
|
+
object: zod.z.string().default("list").describe("The type of object, which is 'list'.").nullable().optional(),
|
|
17
|
+
has_more: zod.z.boolean().default(false).describe("Whether additional results are available for pagination.").nullable().optional()
|
|
18
|
+
});
|
|
19
|
+
const resendListAudiences = require_action.action("RESEND_LIST_AUDIENCES", {
|
|
20
|
+
slug: "resend-list-audiences",
|
|
21
|
+
name: "List Audiences",
|
|
22
|
+
description: "List all audiences.",
|
|
23
|
+
input: ResendListAudiencesInput,
|
|
24
|
+
output: ResendListAudiencesOutput
|
|
25
|
+
});
|
|
26
|
+
//#endregion
|
|
27
|
+
exports.resendListAudiences = resendListAudiences;
|
|
28
|
+
|
|
29
|
+
//# sourceMappingURL=list-audiences.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-audiences.cjs","names":["z","action"],"sources":["../../src/actions/list-audiences.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListAudiencesInput = 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});\nconst ResendListAudiences_AudienceSchema = z.object({\n id: z.string().describe(\"The id of the audience.\").nullable().optional(),\n name: z.string().describe(\"The name of the audience.\").nullable().optional(),\n created_at: z.string().describe(\"The creation timestamp of the audience.\").nullable().optional(),\n});\nexport const ResendListAudiencesOutput = z.object({\n data: z.array(ResendListAudiences_AudienceSchema).describe(\"The list of audiences.\").nullable().optional(),\n object: z.string().default(\"list\").describe(\"The type of object, which is 'list'.\").nullable().optional(),\n has_more: z.boolean().default(false).describe(\"Whether additional results are available for pagination.\").nullable().optional(),\n});\n\nexport const resendListAudiences = action(\"RESEND_LIST_AUDIENCES\", {\n slug: \"resend-list-audiences\",\n name: \"List Audiences\",\n description: \"List all audiences.\",\n input: ResendListAudiencesInput,\n output: ResendListAudiencesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,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,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC;AACD,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChI,CAAC;AAED,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-audiences.d.ts
|
|
4
|
+
declare const ResendListAudiencesInput: z.ZodObject<{
|
|
5
|
+
after: z.ZodOptional<z.ZodString>;
|
|
6
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
before: z.ZodOptional<z.ZodString>;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const ResendListAudiencesOutput: z.ZodObject<{
|
|
10
|
+
data: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
11
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
}, z.core.$strip>>>>;
|
|
15
|
+
object: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
|
|
16
|
+
has_more: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
17
|
+
}, z.core.$strip>;
|
|
18
|
+
declare const resendListAudiences: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
|
+
after?: string | undefined;
|
|
20
|
+
limit?: number | undefined;
|
|
21
|
+
before?: string | undefined;
|
|
22
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
23
|
+
//#endregion
|
|
24
|
+
export { resendListAudiences };
|
|
25
|
+
//# sourceMappingURL=list-audiences.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-audiences.d.cts","names":[],"sources":["../../src/actions/list-audiences.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;cAUxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;cAMzB,mBAAA,gCAAmB,wBAAA"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-audiences.d.ts
|
|
4
|
+
declare const ResendListAudiencesInput: z.ZodObject<{
|
|
5
|
+
after: z.ZodOptional<z.ZodString>;
|
|
6
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
before: z.ZodOptional<z.ZodString>;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const ResendListAudiencesOutput: z.ZodObject<{
|
|
10
|
+
data: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
11
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
}, z.core.$strip>>>>;
|
|
15
|
+
object: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
|
|
16
|
+
has_more: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
17
|
+
}, z.core.$strip>;
|
|
18
|
+
declare const resendListAudiences: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
|
+
after?: string | undefined;
|
|
20
|
+
limit?: number | undefined;
|
|
21
|
+
before?: string | undefined;
|
|
22
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
23
|
+
//#endregion
|
|
24
|
+
export { resendListAudiences };
|
|
25
|
+
//# sourceMappingURL=list-audiences.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-audiences.d.mts","names":[],"sources":["../../src/actions/list-audiences.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;cAUxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;cAMzB,mBAAA,gCAAmB,wBAAA"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/list-audiences.ts
|
|
4
|
+
const ResendListAudiencesInput = 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
|
+
});
|
|
9
|
+
const ResendListAudiences_AudienceSchema = z.object({
|
|
10
|
+
id: z.string().describe("The id of the audience.").nullable().optional(),
|
|
11
|
+
name: z.string().describe("The name of the audience.").nullable().optional(),
|
|
12
|
+
created_at: z.string().describe("The creation timestamp of the audience.").nullable().optional()
|
|
13
|
+
});
|
|
14
|
+
const resendListAudiences = action("RESEND_LIST_AUDIENCES", {
|
|
15
|
+
slug: "resend-list-audiences",
|
|
16
|
+
name: "List Audiences",
|
|
17
|
+
description: "List all audiences.",
|
|
18
|
+
input: ResendListAudiencesInput,
|
|
19
|
+
output: z.object({
|
|
20
|
+
data: z.array(ResendListAudiences_AudienceSchema).describe("The list of audiences.").nullable().optional(),
|
|
21
|
+
object: z.string().default("list").describe("The type of object, which is 'list'.").nullable().optional(),
|
|
22
|
+
has_more: z.boolean().default(false).describe("Whether additional results are available for pagination.").nullable().optional()
|
|
23
|
+
})
|
|
24
|
+
});
|
|
25
|
+
//#endregion
|
|
26
|
+
export { resendListAudiences };
|
|
27
|
+
|
|
28
|
+
//# sourceMappingURL=list-audiences.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-audiences.mjs","names":[],"sources":["../../src/actions/list-audiences.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListAudiencesInput = 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});\nconst ResendListAudiences_AudienceSchema = z.object({\n id: z.string().describe(\"The id of the audience.\").nullable().optional(),\n name: z.string().describe(\"The name of the audience.\").nullable().optional(),\n created_at: z.string().describe(\"The creation timestamp of the audience.\").nullable().optional(),\n});\nexport const ResendListAudiencesOutput = z.object({\n data: z.array(ResendListAudiences_AudienceSchema).describe(\"The list of audiences.\").nullable().optional(),\n object: z.string().default(\"list\").describe(\"The type of object, which is 'list'.\").nullable().optional(),\n has_more: z.boolean().default(false).describe(\"Whether additional results are available for pagination.\").nullable().optional(),\n});\n\nexport const resendListAudiences = action(\"RESEND_LIST_AUDIENCES\", {\n slug: \"resend-list-audiences\",\n name: \"List Audiences\",\n description: \"List all audiences.\",\n input: ResendListAudiencesInput,\n output: ResendListAudiencesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,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,qCAAqC,EAAE,OAAO;CAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC;AAOD,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXuC,EAAE,OAAO;EAChD,MAAM,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,QAAQ,EAAE,OAAO,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,UAAU,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,CAOU;AACV,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/list-broadcasts.ts
|
|
4
|
+
const ResendListBroadcastsInput = zod.z.object({
|
|
5
|
+
after: zod.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: zod.z.number().int().describe("Number of broadcasts to retrieve. If not provided, all broadcasts will be returned.").optional(),
|
|
7
|
+
before: zod.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 = zod.z.object({
|
|
10
|
+
id: zod.z.string().describe("Unique broadcast identifier.").nullable().optional(),
|
|
11
|
+
name: zod.z.string().describe("Name of the broadcast.").nullable().optional(),
|
|
12
|
+
status: zod.z.string().describe("Status of the broadcast.").nullable().optional(),
|
|
13
|
+
sent_at: zod.z.string().describe("Timestamp when the broadcast was sent.").nullable().optional(),
|
|
14
|
+
created_at: zod.z.string().describe("Timestamp of broadcast creation.").nullable().optional(),
|
|
15
|
+
audience_id: zod.z.string().describe("ID of the audience associated with the broadcast.").nullable().optional(),
|
|
16
|
+
scheduled_at: zod.z.string().describe("Timestamp when the broadcast is scheduled to be sent.").nullable().optional()
|
|
17
|
+
}).describe("Broadcast object representation.");
|
|
18
|
+
const ResendListBroadcastsOutput = zod.z.object({
|
|
19
|
+
data: zod.z.array(ResendListBroadcasts_BroadcastSchema).describe("Array containing broadcast information.").nullable().optional(),
|
|
20
|
+
object: zod.z.string().describe("Type of the response object.").nullable().optional()
|
|
21
|
+
});
|
|
22
|
+
const resendListBroadcasts = require_action.action("RESEND_LIST_BROADCASTS", {
|
|
23
|
+
slug: "resend-list-broadcasts",
|
|
24
|
+
name: "List Broadcasts",
|
|
25
|
+
description: "Tool to retrieve a list of broadcasts. Use when you need to fetch all broadcasts or paginate through them.",
|
|
26
|
+
input: ResendListBroadcastsInput,
|
|
27
|
+
output: ResendListBroadcastsOutput
|
|
28
|
+
});
|
|
29
|
+
//#endregion
|
|
30
|
+
exports.resendListBroadcasts = resendListBroadcasts;
|
|
31
|
+
|
|
32
|
+
//# sourceMappingURL=list-broadcasts.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-broadcasts.cjs","names":["z","action"],"sources":["../../src/actions/list-broadcasts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListBroadcastsInput = 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.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.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,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kKAAkK,CAAC,CAAC,SAAS;CACxM,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CACjI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kKAAkK,CAAC,CAAC,SAAS;AAC3M,CAAC;AACD,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAC9C,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClF,CAAC;AAED,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-broadcasts.d.ts
|
|
4
|
+
declare const ResendListBroadcastsInput: z.ZodObject<{
|
|
5
|
+
after: z.ZodOptional<z.ZodString>;
|
|
6
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
before: z.ZodOptional<z.ZodString>;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const ResendListBroadcastsOutput: z.ZodObject<{
|
|
10
|
+
data: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
11
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
sent_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
audience_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
scheduled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
}, z.core.$strip>>>>;
|
|
19
|
+
object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
}, z.core.$strip>;
|
|
21
|
+
declare const resendListBroadcasts: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
22
|
+
after?: string | undefined;
|
|
23
|
+
limit?: number | undefined;
|
|
24
|
+
before?: string | undefined;
|
|
25
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
26
|
+
//#endregion
|
|
27
|
+
export { resendListBroadcasts };
|
|
28
|
+
//# sourceMappingURL=list-broadcasts.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-broadcasts.d.cts","names":[],"sources":["../../src/actions/list-broadcasts.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;cAczB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAK1B,oBAAA,gCAAoB,wBAAA"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-broadcasts.d.ts
|
|
4
|
+
declare const ResendListBroadcastsInput: z.ZodObject<{
|
|
5
|
+
after: z.ZodOptional<z.ZodString>;
|
|
6
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
before: z.ZodOptional<z.ZodString>;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const ResendListBroadcastsOutput: z.ZodObject<{
|
|
10
|
+
data: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
11
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
sent_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
audience_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
scheduled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
}, z.core.$strip>>>>;
|
|
19
|
+
object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
}, z.core.$strip>;
|
|
21
|
+
declare const resendListBroadcasts: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
22
|
+
after?: string | undefined;
|
|
23
|
+
limit?: number | undefined;
|
|
24
|
+
before?: string | undefined;
|
|
25
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
26
|
+
//#endregion
|
|
27
|
+
export { resendListBroadcasts };
|
|
28
|
+
//# sourceMappingURL=list-broadcasts.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-broadcasts.d.mts","names":[],"sources":["../../src/actions/list-broadcasts.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;cAczB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAK1B,oBAAA,gCAAoB,wBAAA"}
|
|
@@ -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.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.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.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,4BAA4B,EAAE,OAAO;CAChD,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,uCAAuC,EAAE,OAAO;CACpD,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,QAVwC,EAAE,OAAO;EACjD,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.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.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.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,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,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,oDAAoDA,IAAAA,EAAE,OAAO;CACjE,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,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,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,27 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-contact-properties.d.ts
|
|
4
|
+
declare const ResendListContactPropertiesInput: z.ZodObject<{
|
|
5
|
+
after: z.ZodOptional<z.ZodString>;
|
|
6
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
before: z.ZodOptional<z.ZodString>;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const ResendListContactPropertiesOutput: z.ZodObject<{
|
|
10
|
+
data: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
11
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
}, z.core.$strip>>>>;
|
|
17
|
+
object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
has_more: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
19
|
+
}, z.core.$strip>;
|
|
20
|
+
declare const resendListContactProperties: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
21
|
+
after?: string | undefined;
|
|
22
|
+
limit?: number | undefined;
|
|
23
|
+
before?: string | undefined;
|
|
24
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
25
|
+
//#endregion
|
|
26
|
+
export { resendListContactProperties };
|
|
27
|
+
//# 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,EAAgC,CAAA,CAAA,SAAA;;;;;cAYhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;cAMjC,2BAAA,gCAA2B,wBAAA"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-contact-properties.d.ts
|
|
4
|
+
declare const ResendListContactPropertiesInput: z.ZodObject<{
|
|
5
|
+
after: z.ZodOptional<z.ZodString>;
|
|
6
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
before: z.ZodOptional<z.ZodString>;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const ResendListContactPropertiesOutput: z.ZodObject<{
|
|
10
|
+
data: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
11
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
}, z.core.$strip>>>>;
|
|
17
|
+
object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
has_more: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
19
|
+
}, z.core.$strip>;
|
|
20
|
+
declare const resendListContactProperties: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
21
|
+
after?: string | undefined;
|
|
22
|
+
limit?: number | undefined;
|
|
23
|
+
before?: string | undefined;
|
|
24
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
25
|
+
//#endregion
|
|
26
|
+
export { resendListContactProperties };
|
|
27
|
+
//# 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,EAAgC,CAAA,CAAA,SAAA;;;;;cAYhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;cAMjC,2BAAA,gCAA2B,wBAAA"}
|
|
@@ -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.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.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.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,mCAAmC,EAAE,OAAO;CACvD,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,oDAAoD,EAAE,OAAO;CACjE,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,QAX+C,EAAE,OAAO;EACxD,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.").nullable(),
|
|
12
|
+
name: zod.z.string().describe("Display name of the segment.").nullable(),
|
|
13
|
+
created_at: zod.z.string().describe("Timestamp of segment creation in ISO 8601 format.").nullable()
|
|
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.").nullable(),
|
|
18
|
+
has_more: zod.z.boolean().describe("Whether additional results are available for pagination.").nullable()
|
|
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.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.object({\n id: z.string().describe(\"Unique segment identifier.\").nullable(),\n name: z.string().describe(\"Display name of the segment.\").nullable(),\n created_at: z.string().describe(\"Timestamp of segment creation in ISO 8601 format.\").nullable(),\n}).describe(\"Segment object representation.\");\nexport const ResendListContactSegmentsOutput = 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.\").nullable(),\n has_more: z.boolean().describe(\"Whether additional results are available for pagination.\").nullable(),\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,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,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,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACnE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,SAAS,gCAAgC;AAC5C,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,4DAA4D;CAC5H,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACvF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AACtG,CAAC;AAED,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-contact-segments.d.ts
|
|
4
|
+
declare const ResendListContactSegmentsInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
after: z.ZodOptional<z.ZodString>;
|
|
7
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
8
|
+
before: z.ZodOptional<z.ZodString>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const ResendListContactSegmentsOutput: z.ZodObject<{
|
|
11
|
+
data: z.ZodArray<z.ZodObject<{
|
|
12
|
+
id: z.ZodNullable<z.ZodString>;
|
|
13
|
+
name: z.ZodNullable<z.ZodString>;
|
|
14
|
+
created_at: z.ZodNullable<z.ZodString>;
|
|
15
|
+
}, z.core.$strip>>;
|
|
16
|
+
object: z.ZodNullable<z.ZodString>;
|
|
17
|
+
has_more: z.ZodNullable<z.ZodBoolean>;
|
|
18
|
+
}, z.core.$strip>;
|
|
19
|
+
declare const resendListContactSegments: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
|
+
id: string;
|
|
21
|
+
after?: string | undefined;
|
|
22
|
+
limit?: number | undefined;
|
|
23
|
+
before?: string | undefined;
|
|
24
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
25
|
+
//#endregion
|
|
26
|
+
export { resendListContactSegments };
|
|
27
|
+
//# 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,EAA8B,CAAA,CAAA,SAAA;;;;;;cAW9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;cAM/B,yBAAA,gCAAyB,wBAAA"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-contact-segments.d.ts
|
|
4
|
+
declare const ResendListContactSegmentsInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
after: z.ZodOptional<z.ZodString>;
|
|
7
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
8
|
+
before: z.ZodOptional<z.ZodString>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const ResendListContactSegmentsOutput: z.ZodObject<{
|
|
11
|
+
data: z.ZodArray<z.ZodObject<{
|
|
12
|
+
id: z.ZodNullable<z.ZodString>;
|
|
13
|
+
name: z.ZodNullable<z.ZodString>;
|
|
14
|
+
created_at: z.ZodNullable<z.ZodString>;
|
|
15
|
+
}, z.core.$strip>>;
|
|
16
|
+
object: z.ZodNullable<z.ZodString>;
|
|
17
|
+
has_more: z.ZodNullable<z.ZodBoolean>;
|
|
18
|
+
}, z.core.$strip>;
|
|
19
|
+
declare const resendListContactSegments: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
|
+
id: string;
|
|
21
|
+
after?: string | undefined;
|
|
22
|
+
limit?: number | undefined;
|
|
23
|
+
before?: string | undefined;
|
|
24
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
25
|
+
//#endregion
|
|
26
|
+
export { resendListContactSegments };
|
|
27
|
+
//# 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,EAA8B,CAAA,CAAA,SAAA;;;;;;cAW9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;cAM/B,yBAAA,gCAAyB,wBAAA"}
|
|
@@ -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.").nullable(),
|
|
12
|
+
name: z.string().describe("Display name of the segment.").nullable(),
|
|
13
|
+
created_at: z.string().describe("Timestamp of segment creation in ISO 8601 format.").nullable()
|
|
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.").nullable(),
|
|
23
|
+
has_more: z.boolean().describe("Whether additional results are available for pagination.").nullable()
|
|
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.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.object({\n id: z.string().describe(\"Unique segment identifier.\").nullable(),\n name: z.string().describe(\"Display name of the segment.\").nullable(),\n created_at: z.string().describe(\"Timestamp of segment creation in ISO 8601 format.\").nullable(),\n}).describe(\"Segment object representation.\");\nexport const ResendListContactSegmentsOutput = 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.\").nullable(),\n has_more: z.boolean().describe(\"Whether additional results are available for pagination.\").nullable(),\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,iCAAiC,EAAE,OAAO;CACrD,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,0CAA0C,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACnE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,SAAS,gCAAgC;AAO5C,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX6C,EAAE,OAAO;EACtD,MAAM,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,4DAA4D;EAC5H,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EACvF,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACtG,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
|