@keystrokehq/resend 0.1.2 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/add-contact-to-segment.cjs +1 -1
- package/dist/actions/add-contact-to-segment.cjs.map +1 -1
- package/dist/actions/add-contact-to-segment.d.cts +1 -1
- package/dist/actions/add-contact-to-segment.d.mts +1 -1
- package/dist/actions/add-contact-to-segment.mjs +1 -1
- package/dist/actions/add-contact-to-segment.mjs.map +1 -1
- package/dist/actions/cancel-email.cjs +1 -1
- package/dist/actions/cancel-email.cjs.map +1 -1
- package/dist/actions/cancel-email.d.cts +1 -1
- package/dist/actions/cancel-email.d.mts +1 -1
- package/dist/actions/cancel-email.mjs +1 -1
- package/dist/actions/cancel-email.mjs.map +1 -1
- package/dist/actions/create-api-key.cjs +1 -1
- package/dist/actions/create-api-key.cjs.map +1 -1
- package/dist/actions/create-api-key.d.cts +1 -1
- package/dist/actions/create-api-key.d.mts +1 -1
- package/dist/actions/create-api-key.mjs +1 -1
- package/dist/actions/create-api-key.mjs.map +1 -1
- package/dist/actions/create-audience.cjs +1 -1
- package/dist/actions/create-audience.cjs.map +1 -1
- package/dist/actions/create-audience.d.cts +1 -1
- package/dist/actions/create-audience.d.mts +1 -1
- package/dist/actions/create-audience.mjs +1 -1
- package/dist/actions/create-audience.mjs.map +1 -1
- package/dist/actions/create-contact-property.cjs +1 -1
- package/dist/actions/create-contact-property.cjs.map +1 -1
- package/dist/actions/create-contact-property.d.cts +1 -1
- package/dist/actions/create-contact-property.d.mts +1 -1
- package/dist/actions/create-contact-property.mjs +1 -1
- package/dist/actions/create-contact-property.mjs.map +1 -1
- package/dist/actions/create-contact-v2.cjs +4 -4
- package/dist/actions/create-contact-v2.cjs.map +1 -1
- package/dist/actions/create-contact-v2.d.cts +7 -4
- package/dist/actions/create-contact-v2.d.mts +7 -4
- package/dist/actions/create-contact-v2.mjs +4 -4
- package/dist/actions/create-contact-v2.mjs.map +1 -1
- package/dist/actions/create-contact.cjs +1 -1
- package/dist/actions/create-contact.cjs.map +1 -1
- package/dist/actions/create-contact.d.cts +1 -1
- package/dist/actions/create-contact.d.mts +1 -1
- package/dist/actions/create-contact.mjs +1 -1
- package/dist/actions/create-contact.mjs.map +1 -1
- package/dist/actions/create-domain.cjs +3 -3
- package/dist/actions/create-domain.cjs.map +1 -1
- package/dist/actions/create-domain.d.cts +3 -3
- package/dist/actions/create-domain.d.mts +3 -3
- package/dist/actions/create-domain.mjs +3 -3
- package/dist/actions/create-domain.mjs.map +1 -1
- package/dist/actions/create-template.cjs +2 -2
- package/dist/actions/create-template.cjs.map +1 -1
- package/dist/actions/create-template.d.cts +3 -2
- package/dist/actions/create-template.d.mts +3 -2
- package/dist/actions/create-template.mjs +2 -2
- package/dist/actions/create-template.mjs.map +1 -1
- package/dist/actions/create-topic.cjs +1 -1
- package/dist/actions/create-topic.cjs.map +1 -1
- package/dist/actions/create-topic.d.cts +1 -1
- package/dist/actions/create-topic.d.mts +1 -1
- package/dist/actions/create-topic.mjs +1 -1
- package/dist/actions/create-topic.mjs.map +1 -1
- package/dist/actions/create-webhook.cjs +1 -1
- package/dist/actions/create-webhook.cjs.map +1 -1
- package/dist/actions/create-webhook.d.cts +1 -1
- package/dist/actions/create-webhook.d.mts +1 -1
- package/dist/actions/create-webhook.mjs +1 -1
- package/dist/actions/create-webhook.mjs.map +1 -1
- package/dist/actions/delete-api-key.cjs +1 -1
- package/dist/actions/delete-api-key.cjs.map +1 -1
- package/dist/actions/delete-api-key.d.cts +1 -1
- package/dist/actions/delete-api-key.d.mts +1 -1
- package/dist/actions/delete-api-key.mjs +1 -1
- package/dist/actions/delete-api-key.mjs.map +1 -1
- package/dist/actions/delete-audience.cjs +1 -1
- package/dist/actions/delete-audience.cjs.map +1 -1
- package/dist/actions/delete-audience.d.cts +1 -1
- package/dist/actions/delete-audience.d.mts +1 -1
- package/dist/actions/delete-audience.mjs +1 -1
- package/dist/actions/delete-audience.mjs.map +1 -1
- package/dist/actions/delete-contact-by-id.cjs +1 -1
- package/dist/actions/delete-contact-by-id.cjs.map +1 -1
- package/dist/actions/delete-contact-by-id.d.cts +1 -1
- package/dist/actions/delete-contact-by-id.d.mts +1 -1
- package/dist/actions/delete-contact-by-id.mjs +1 -1
- package/dist/actions/delete-contact-by-id.mjs.map +1 -1
- package/dist/actions/delete-contact-property.cjs +1 -1
- package/dist/actions/delete-contact-property.cjs.map +1 -1
- package/dist/actions/delete-contact-property.d.cts +1 -1
- package/dist/actions/delete-contact-property.d.mts +1 -1
- package/dist/actions/delete-contact-property.mjs +1 -1
- package/dist/actions/delete-contact-property.mjs.map +1 -1
- package/dist/actions/delete-contact.cjs +1 -1
- package/dist/actions/delete-contact.cjs.map +1 -1
- package/dist/actions/delete-contact.d.cts +1 -1
- package/dist/actions/delete-contact.d.mts +1 -1
- package/dist/actions/delete-contact.mjs +1 -1
- package/dist/actions/delete-contact.mjs.map +1 -1
- package/dist/actions/delete-domain.cjs +1 -1
- package/dist/actions/delete-domain.cjs.map +1 -1
- package/dist/actions/delete-domain.d.cts +1 -1
- package/dist/actions/delete-domain.d.mts +1 -1
- package/dist/actions/delete-domain.mjs +1 -1
- package/dist/actions/delete-domain.mjs.map +1 -1
- package/dist/actions/delete-segment.cjs +1 -1
- package/dist/actions/delete-segment.cjs.map +1 -1
- package/dist/actions/delete-segment.d.cts +1 -1
- package/dist/actions/delete-segment.d.mts +1 -1
- package/dist/actions/delete-segment.mjs +1 -1
- package/dist/actions/delete-segment.mjs.map +1 -1
- package/dist/actions/delete-template.cjs +1 -1
- package/dist/actions/delete-template.cjs.map +1 -1
- package/dist/actions/delete-template.d.cts +1 -1
- package/dist/actions/delete-template.d.mts +1 -1
- package/dist/actions/delete-template.mjs +1 -1
- package/dist/actions/delete-template.mjs.map +1 -1
- package/dist/actions/delete-topic.cjs +1 -1
- package/dist/actions/delete-topic.cjs.map +1 -1
- package/dist/actions/delete-topic.d.cts +1 -1
- package/dist/actions/delete-topic.d.mts +1 -1
- package/dist/actions/delete-topic.mjs +1 -1
- package/dist/actions/delete-topic.mjs.map +1 -1
- package/dist/actions/delete-webhook.cjs +1 -1
- package/dist/actions/delete-webhook.cjs.map +1 -1
- package/dist/actions/delete-webhook.d.cts +1 -1
- package/dist/actions/delete-webhook.d.mts +1 -1
- package/dist/actions/delete-webhook.mjs +1 -1
- package/dist/actions/delete-webhook.mjs.map +1 -1
- package/dist/actions/duplicate-template.cjs +1 -1
- package/dist/actions/duplicate-template.cjs.map +1 -1
- package/dist/actions/duplicate-template.d.cts +1 -1
- package/dist/actions/duplicate-template.d.mts +1 -1
- package/dist/actions/duplicate-template.mjs +1 -1
- package/dist/actions/duplicate-template.mjs.map +1 -1
- package/dist/actions/get-contact-property.cjs +1 -1
- package/dist/actions/get-contact-property.cjs.map +1 -1
- package/dist/actions/get-contact-property.d.cts +1 -1
- package/dist/actions/get-contact-property.d.mts +1 -1
- package/dist/actions/get-contact-property.mjs +1 -1
- package/dist/actions/get-contact-property.mjs.map +1 -1
- package/dist/actions/get-contact.cjs +2 -2
- package/dist/actions/get-contact.cjs.map +1 -1
- package/dist/actions/get-contact.d.cts +2 -2
- package/dist/actions/get-contact.d.mts +2 -2
- package/dist/actions/get-contact.mjs +2 -2
- package/dist/actions/get-contact.mjs.map +1 -1
- package/dist/actions/get-email-attachment.cjs +1 -1
- package/dist/actions/get-email-attachment.cjs.map +1 -1
- package/dist/actions/get-email-attachment.d.cts +1 -1
- package/dist/actions/get-email-attachment.d.mts +1 -1
- package/dist/actions/get-email-attachment.mjs +1 -1
- package/dist/actions/get-email-attachment.mjs.map +1 -1
- package/dist/actions/get-segment.cjs +1 -1
- package/dist/actions/get-segment.cjs.map +1 -1
- package/dist/actions/get-segment.d.cts +1 -1
- package/dist/actions/get-segment.d.mts +1 -1
- package/dist/actions/get-segment.mjs +1 -1
- package/dist/actions/get-segment.mjs.map +1 -1
- package/dist/actions/get-template.cjs +2 -2
- package/dist/actions/get-template.cjs.map +1 -1
- package/dist/actions/get-template.d.cts +2 -2
- package/dist/actions/get-template.d.mts +2 -2
- package/dist/actions/get-template.mjs +2 -2
- package/dist/actions/get-template.mjs.map +1 -1
- package/dist/actions/get-topic.cjs +1 -1
- package/dist/actions/get-topic.cjs.map +1 -1
- package/dist/actions/get-topic.d.cts +1 -1
- package/dist/actions/get-topic.d.mts +1 -1
- package/dist/actions/get-topic.mjs +1 -1
- package/dist/actions/get-topic.mjs.map +1 -1
- package/dist/actions/get-webhook.cjs +1 -1
- package/dist/actions/get-webhook.cjs.map +1 -1
- package/dist/actions/get-webhook.d.cts +1 -1
- package/dist/actions/get-webhook.d.mts +1 -1
- package/dist/actions/get-webhook.mjs +1 -1
- package/dist/actions/get-webhook.mjs.map +1 -1
- package/dist/actions/list-all-contacts.cjs +2 -2
- package/dist/actions/list-all-contacts.cjs.map +1 -1
- package/dist/actions/list-all-contacts.d.cts +2 -2
- package/dist/actions/list-all-contacts.d.mts +2 -2
- package/dist/actions/list-all-contacts.mjs +2 -2
- package/dist/actions/list-all-contacts.mjs.map +1 -1
- package/dist/actions/list-api-keys.cjs +2 -2
- package/dist/actions/list-api-keys.cjs.map +1 -1
- package/dist/actions/list-api-keys.d.cts +2 -2
- package/dist/actions/list-api-keys.d.mts +2 -2
- package/dist/actions/list-api-keys.mjs +2 -2
- package/dist/actions/list-api-keys.mjs.map +1 -1
- package/dist/actions/list-audiences.cjs +2 -2
- package/dist/actions/list-audiences.cjs.map +1 -1
- package/dist/actions/list-audiences.d.cts +2 -2
- package/dist/actions/list-audiences.d.mts +2 -2
- package/dist/actions/list-audiences.mjs +2 -2
- package/dist/actions/list-audiences.mjs.map +1 -1
- package/dist/actions/list-broadcasts.cjs +2 -2
- package/dist/actions/list-broadcasts.cjs.map +1 -1
- package/dist/actions/list-broadcasts.d.cts +2 -2
- package/dist/actions/list-broadcasts.d.mts +2 -2
- package/dist/actions/list-broadcasts.mjs +2 -2
- package/dist/actions/list-broadcasts.mjs.map +1 -1
- package/dist/actions/list-contact-properties.cjs +2 -2
- package/dist/actions/list-contact-properties.cjs.map +1 -1
- package/dist/actions/list-contact-properties.d.cts +2 -2
- package/dist/actions/list-contact-properties.d.mts +2 -2
- package/dist/actions/list-contact-properties.mjs +2 -2
- package/dist/actions/list-contact-properties.mjs.map +1 -1
- package/dist/actions/list-contact-segments.cjs +2 -2
- package/dist/actions/list-contact-segments.cjs.map +1 -1
- package/dist/actions/list-contact-segments.d.cts +2 -2
- package/dist/actions/list-contact-segments.d.mts +2 -2
- package/dist/actions/list-contact-segments.mjs +2 -2
- package/dist/actions/list-contact-segments.mjs.map +1 -1
- package/dist/actions/list-contact-topics.cjs +2 -2
- package/dist/actions/list-contact-topics.cjs.map +1 -1
- package/dist/actions/list-contact-topics.d.cts +2 -2
- package/dist/actions/list-contact-topics.d.mts +2 -2
- package/dist/actions/list-contact-topics.mjs +2 -2
- package/dist/actions/list-contact-topics.mjs.map +1 -1
- package/dist/actions/list-contacts.cjs +2 -2
- package/dist/actions/list-contacts.cjs.map +1 -1
- package/dist/actions/list-contacts.d.cts +2 -2
- package/dist/actions/list-contacts.d.mts +2 -2
- package/dist/actions/list-contacts.mjs +2 -2
- package/dist/actions/list-contacts.mjs.map +1 -1
- package/dist/actions/list-domains.cjs +2 -2
- package/dist/actions/list-domains.cjs.map +1 -1
- package/dist/actions/list-domains.d.cts +2 -2
- package/dist/actions/list-domains.d.mts +2 -2
- package/dist/actions/list-domains.mjs +2 -2
- package/dist/actions/list-domains.mjs.map +1 -1
- package/dist/actions/list-email-attachments.cjs +2 -2
- package/dist/actions/list-email-attachments.cjs.map +1 -1
- package/dist/actions/list-email-attachments.d.cts +2 -2
- package/dist/actions/list-email-attachments.d.mts +2 -2
- package/dist/actions/list-email-attachments.mjs +2 -2
- package/dist/actions/list-email-attachments.mjs.map +1 -1
- package/dist/actions/list-emails.cjs +2 -2
- package/dist/actions/list-emails.cjs.map +1 -1
- package/dist/actions/list-emails.d.cts +2 -2
- package/dist/actions/list-emails.d.mts +2 -2
- package/dist/actions/list-emails.mjs +2 -2
- package/dist/actions/list-emails.mjs.map +1 -1
- package/dist/actions/list-received-emails.cjs +3 -3
- package/dist/actions/list-received-emails.cjs.map +1 -1
- package/dist/actions/list-received-emails.d.cts +3 -3
- package/dist/actions/list-received-emails.d.mts +3 -3
- package/dist/actions/list-received-emails.mjs +3 -3
- package/dist/actions/list-received-emails.mjs.map +1 -1
- package/dist/actions/list-segments.cjs +2 -2
- package/dist/actions/list-segments.cjs.map +1 -1
- package/dist/actions/list-segments.d.cts +2 -2
- package/dist/actions/list-segments.d.mts +2 -2
- package/dist/actions/list-segments.mjs +2 -2
- package/dist/actions/list-segments.mjs.map +1 -1
- package/dist/actions/list-templates.cjs +2 -2
- package/dist/actions/list-templates.cjs.map +1 -1
- package/dist/actions/list-templates.d.cts +2 -2
- package/dist/actions/list-templates.d.mts +2 -2
- package/dist/actions/list-templates.mjs +2 -2
- package/dist/actions/list-templates.mjs.map +1 -1
- package/dist/actions/list-topics.cjs +2 -2
- package/dist/actions/list-topics.cjs.map +1 -1
- package/dist/actions/list-topics.d.cts +2 -2
- package/dist/actions/list-topics.d.mts +2 -2
- package/dist/actions/list-topics.mjs +2 -2
- package/dist/actions/list-topics.mjs.map +1 -1
- package/dist/actions/list-webhooks.cjs +2 -2
- package/dist/actions/list-webhooks.cjs.map +1 -1
- package/dist/actions/list-webhooks.d.cts +2 -2
- package/dist/actions/list-webhooks.d.mts +2 -2
- package/dist/actions/list-webhooks.mjs +2 -2
- package/dist/actions/list-webhooks.mjs.map +1 -1
- package/dist/actions/publish-template.cjs +1 -1
- package/dist/actions/publish-template.cjs.map +1 -1
- package/dist/actions/publish-template.d.cts +1 -1
- package/dist/actions/publish-template.d.mts +1 -1
- package/dist/actions/publish-template.mjs +1 -1
- package/dist/actions/publish-template.mjs.map +1 -1
- package/dist/actions/remove-contact-from-segment.cjs +1 -1
- package/dist/actions/remove-contact-from-segment.cjs.map +1 -1
- package/dist/actions/remove-contact-from-segment.d.cts +1 -1
- package/dist/actions/remove-contact-from-segment.d.mts +1 -1
- package/dist/actions/remove-contact-from-segment.mjs +1 -1
- package/dist/actions/remove-contact-from-segment.mjs.map +1 -1
- package/dist/actions/retrieve-audience.cjs +1 -1
- package/dist/actions/retrieve-audience.cjs.map +1 -1
- package/dist/actions/retrieve-audience.d.cts +1 -1
- package/dist/actions/retrieve-audience.d.mts +1 -1
- package/dist/actions/retrieve-audience.mjs +1 -1
- package/dist/actions/retrieve-audience.mjs.map +1 -1
- package/dist/actions/retrieve-contact.cjs +1 -1
- package/dist/actions/retrieve-contact.cjs.map +1 -1
- package/dist/actions/retrieve-contact.d.cts +1 -1
- package/dist/actions/retrieve-contact.d.mts +1 -1
- package/dist/actions/retrieve-contact.mjs +1 -1
- package/dist/actions/retrieve-contact.mjs.map +1 -1
- package/dist/actions/retrieve-domain.cjs +1 -1
- package/dist/actions/retrieve-domain.cjs.map +1 -1
- package/dist/actions/retrieve-domain.d.cts +1 -1
- package/dist/actions/retrieve-domain.d.mts +1 -1
- package/dist/actions/retrieve-domain.mjs +1 -1
- package/dist/actions/retrieve-domain.mjs.map +1 -1
- package/dist/actions/retrieve-email.cjs +1 -1
- package/dist/actions/retrieve-email.cjs.map +1 -1
- package/dist/actions/retrieve-email.d.cts +1 -1
- package/dist/actions/retrieve-email.d.mts +1 -1
- package/dist/actions/retrieve-email.mjs +1 -1
- package/dist/actions/retrieve-email.mjs.map +1 -1
- package/dist/actions/send-batch-emails.cjs +4 -4
- package/dist/actions/send-batch-emails.cjs.map +1 -1
- package/dist/actions/send-batch-emails.d.cts +6 -5
- package/dist/actions/send-batch-emails.d.cts.map +1 -1
- package/dist/actions/send-batch-emails.d.mts +6 -5
- package/dist/actions/send-batch-emails.d.mts.map +1 -1
- package/dist/actions/send-batch-emails.mjs +4 -4
- package/dist/actions/send-batch-emails.mjs.map +1 -1
- package/dist/actions/send-email.cjs +2 -2
- package/dist/actions/send-email.cjs.map +1 -1
- package/dist/actions/send-email.d.cts +3 -3
- package/dist/actions/send-email.d.mts +3 -3
- package/dist/actions/send-email.mjs +2 -2
- package/dist/actions/send-email.mjs.map +1 -1
- package/dist/actions/update-broadcast.cjs +1 -1
- package/dist/actions/update-broadcast.cjs.map +1 -1
- package/dist/actions/update-broadcast.d.cts +1 -1
- package/dist/actions/update-broadcast.d.mts +1 -1
- package/dist/actions/update-broadcast.mjs +1 -1
- package/dist/actions/update-broadcast.mjs.map +1 -1
- package/dist/actions/update-contact-property.cjs +1 -1
- package/dist/actions/update-contact-property.cjs.map +1 -1
- package/dist/actions/update-contact-property.d.cts +1 -1
- package/dist/actions/update-contact-property.d.mts +1 -1
- package/dist/actions/update-contact-property.mjs +1 -1
- package/dist/actions/update-contact-property.mjs.map +1 -1
- package/dist/actions/update-contact.cjs +1 -1
- package/dist/actions/update-contact.cjs.map +1 -1
- package/dist/actions/update-contact.d.cts +1 -1
- package/dist/actions/update-contact.d.mts +1 -1
- package/dist/actions/update-contact.mjs +1 -1
- package/dist/actions/update-contact.mjs.map +1 -1
- package/dist/actions/update-domain.cjs +1 -1
- package/dist/actions/update-domain.cjs.map +1 -1
- package/dist/actions/update-domain.d.cts +1 -1
- package/dist/actions/update-domain.d.mts +1 -1
- package/dist/actions/update-domain.mjs +1 -1
- package/dist/actions/update-domain.mjs.map +1 -1
- package/dist/actions/update-email.cjs +1 -1
- package/dist/actions/update-email.cjs.map +1 -1
- package/dist/actions/update-email.d.cts +1 -1
- package/dist/actions/update-email.d.mts +1 -1
- package/dist/actions/update-email.mjs +1 -1
- package/dist/actions/update-email.mjs.map +1 -1
- package/dist/actions/update-template.cjs +2 -2
- package/dist/actions/update-template.cjs.map +1 -1
- package/dist/actions/update-template.d.cts +3 -2
- package/dist/actions/update-template.d.mts +3 -2
- package/dist/actions/update-template.mjs +2 -2
- package/dist/actions/update-template.mjs.map +1 -1
- package/dist/actions/update-topic.cjs +1 -1
- package/dist/actions/update-topic.cjs.map +1 -1
- package/dist/actions/update-topic.d.cts +1 -1
- package/dist/actions/update-topic.d.mts +1 -1
- package/dist/actions/update-topic.mjs +1 -1
- package/dist/actions/update-topic.mjs.map +1 -1
- package/dist/actions/update-webhook.cjs +1 -1
- package/dist/actions/update-webhook.cjs.map +1 -1
- package/dist/actions/update-webhook.d.cts +1 -1
- package/dist/actions/update-webhook.d.mts +1 -1
- package/dist/actions/update-webhook.mjs +1 -1
- package/dist/actions/update-webhook.mjs.map +1 -1
- package/dist/actions/verify-domain.cjs +1 -1
- package/dist/actions/verify-domain.cjs.map +1 -1
- package/dist/actions/verify-domain.d.cts +1 -1
- package/dist/actions/verify-domain.d.mts +1 -1
- package/dist/actions/verify-domain.mjs +1 -1
- package/dist/actions/verify-domain.mjs.map +1 -1
- package/dist/catalog.cjs +1 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +1 -1
- package/dist/catalog.d.mts +1 -1
- package/dist/catalog.mjs +1 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -14,12 +14,12 @@ const ResendListContacts_ContactSchema = zod.z.object({
|
|
|
14
14
|
created_at: zod.z.string().describe("Timestamp of contact creation in ISO 8601 format.").nullable(),
|
|
15
15
|
first_name: zod.z.string().describe("Contact's given name.").nullable().optional(),
|
|
16
16
|
unsubscribed: zod.z.boolean().describe("Indicates subscription status.").nullable()
|
|
17
|
-
}).describe("Contact object representation.");
|
|
17
|
+
}).passthrough().describe("Contact object representation.");
|
|
18
18
|
const ResendListContactsOutput = zod.z.object({
|
|
19
19
|
data: zod.z.array(ResendListContacts_ContactSchema).describe("Collection of contact objects."),
|
|
20
20
|
object: zod.z.string().describe("Identifier indicating this is a list response.").nullable(),
|
|
21
21
|
has_more: zod.z.boolean().describe("Whether additional results are available for pagination.").nullable()
|
|
22
|
-
});
|
|
22
|
+
}).passthrough();
|
|
23
23
|
const resendListContacts = require_action.action("RESEND_LIST_CONTACTS", {
|
|
24
24
|
slug: "resend-list-contacts",
|
|
25
25
|
name: "List Contacts",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-contacts.cjs","names":["z","action"],"sources":["../../src/actions/list-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListContactsInput = z.object({\n after: z.string().describe(\"Cursor ID for forward pagination.\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return. Max: 100.\").optional(),\n before: z.string().describe(\"Cursor ID for backward pagination.\").optional(),\n audienceId: z.string().describe(\"The Audience ID.\"),\n});\nconst ResendListContacts_ContactSchema = z.object({\n id: z.string().describe(\"Unique contact identifier.\").nullable(),\n email: z.string().describe(\"Contact's email address.\").nullable(),\n last_name: z.string().describe(\"Contact's surname.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of contact creation in ISO 8601 format.\").nullable(),\n first_name: z.string().describe(\"Contact's given name.\").nullable().optional(),\n unsubscribed: z.boolean().describe(\"Indicates subscription status.\").nullable(),\n}).describe(\"Contact object representation.\");\nexport const ResendListContactsOutput = z.object({\n data: z.array(ResendListContacts_ContactSchema).describe(\"Collection of contact objects.\"),\n object: z.string().describe(\"Identifier indicating this is a list response.\").nullable(),\n has_more: z.boolean().describe(\"Whether additional results are available for pagination.\").nullable(),\n});\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,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC5F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC3E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;AACpD,CAAC;AACD,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAChE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC9F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,SAAS,gCAAgC;
|
|
1
|
+
{"version":3,"file":"list-contacts.cjs","names":["z","action"],"sources":["../../src/actions/list-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListContactsInput = z.object({\n after: z.string().describe(\"Cursor ID for forward pagination.\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return. Max: 100.\").optional(),\n before: z.string().describe(\"Cursor ID for backward pagination.\").optional(),\n audienceId: z.string().describe(\"The Audience ID.\"),\n});\nconst ResendListContacts_ContactSchema = z.object({\n id: z.string().describe(\"Unique contact identifier.\").nullable(),\n email: z.string().describe(\"Contact's email address.\").nullable(),\n last_name: z.string().describe(\"Contact's surname.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of contact creation in ISO 8601 format.\").nullable(),\n first_name: z.string().describe(\"Contact's given name.\").nullable().optional(),\n unsubscribed: z.boolean().describe(\"Indicates subscription status.\").nullable(),\n}).passthrough().describe(\"Contact object representation.\");\nexport const ResendListContactsOutput = z.object({\n data: z.array(ResendListContacts_ContactSchema).describe(\"Collection of contact objects.\"),\n object: z.string().describe(\"Identifier indicating this is a list response.\").nullable(),\n has_more: z.boolean().describe(\"Whether additional results are available for pagination.\").nullable(),\n}).passthrough();\n\nexport const resendListContacts = action(\"RESEND_LIST_CONTACTS\", {\n slug: \"resend-list-contacts\",\n name: \"List Contacts\",\n description: \"List contacts in Resend.\",\n input: ResendListContactsInput,\n output: ResendListContactsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC5F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC3E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;AACpD,CAAC;AACD,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAChE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC9F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gCAAgC;AAC1D,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,gCAAgC;CACzF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACvF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -15,10 +15,10 @@ declare const ResendListContactsOutput: z.ZodObject<{
|
|
|
15
15
|
created_at: z.ZodNullable<z.ZodString>;
|
|
16
16
|
first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
unsubscribed: z.ZodNullable<z.ZodBoolean>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>>;
|
|
19
19
|
object: z.ZodNullable<z.ZodString>;
|
|
20
20
|
has_more: z.ZodNullable<z.ZodBoolean>;
|
|
21
|
-
}, z.core.$
|
|
21
|
+
}, z.core.$loose>;
|
|
22
22
|
declare const resendListContacts: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
23
|
audienceId: string;
|
|
24
24
|
after?: string | undefined;
|
|
@@ -15,10 +15,10 @@ declare const ResendListContactsOutput: z.ZodObject<{
|
|
|
15
15
|
created_at: z.ZodNullable<z.ZodString>;
|
|
16
16
|
first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
unsubscribed: z.ZodNullable<z.ZodBoolean>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>>;
|
|
19
19
|
object: z.ZodNullable<z.ZodString>;
|
|
20
20
|
has_more: z.ZodNullable<z.ZodBoolean>;
|
|
21
|
-
}, z.core.$
|
|
21
|
+
}, z.core.$loose>;
|
|
22
22
|
declare const resendListContacts: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
23
|
audienceId: string;
|
|
24
24
|
after?: string | undefined;
|
|
@@ -14,7 +14,7 @@ const ResendListContacts_ContactSchema = z.object({
|
|
|
14
14
|
created_at: z.string().describe("Timestamp of contact creation in ISO 8601 format.").nullable(),
|
|
15
15
|
first_name: z.string().describe("Contact's given name.").nullable().optional(),
|
|
16
16
|
unsubscribed: z.boolean().describe("Indicates subscription status.").nullable()
|
|
17
|
-
}).describe("Contact object representation.");
|
|
17
|
+
}).passthrough().describe("Contact object representation.");
|
|
18
18
|
const resendListContacts = action("RESEND_LIST_CONTACTS", {
|
|
19
19
|
slug: "resend-list-contacts",
|
|
20
20
|
name: "List Contacts",
|
|
@@ -24,7 +24,7 @@ const resendListContacts = action("RESEND_LIST_CONTACTS", {
|
|
|
24
24
|
data: z.array(ResendListContacts_ContactSchema).describe("Collection of contact objects."),
|
|
25
25
|
object: z.string().describe("Identifier indicating this is a list response.").nullable(),
|
|
26
26
|
has_more: z.boolean().describe("Whether additional results are available for pagination.").nullable()
|
|
27
|
-
})
|
|
27
|
+
}).passthrough()
|
|
28
28
|
});
|
|
29
29
|
//#endregion
|
|
30
30
|
export { resendListContacts };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-contacts.mjs","names":[],"sources":["../../src/actions/list-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListContactsInput = z.object({\n after: z.string().describe(\"Cursor ID for forward pagination.\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return. Max: 100.\").optional(),\n before: z.string().describe(\"Cursor ID for backward pagination.\").optional(),\n audienceId: z.string().describe(\"The Audience ID.\"),\n});\nconst ResendListContacts_ContactSchema = z.object({\n id: z.string().describe(\"Unique contact identifier.\").nullable(),\n email: z.string().describe(\"Contact's email address.\").nullable(),\n last_name: z.string().describe(\"Contact's surname.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of contact creation in ISO 8601 format.\").nullable(),\n first_name: z.string().describe(\"Contact's given name.\").nullable().optional(),\n unsubscribed: z.boolean().describe(\"Indicates subscription status.\").nullable(),\n}).describe(\"Contact object representation.\");\nexport const ResendListContactsOutput = z.object({\n data: z.array(ResendListContacts_ContactSchema).describe(\"Collection of contact objects.\"),\n object: z.string().describe(\"Identifier indicating this is a list response.\").nullable(),\n has_more: z.boolean().describe(\"Whether additional results are available for pagination.\").nullable(),\n});\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,0BAA0B,EAAE,OAAO;CAC9C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC5F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC3E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;AACpD,CAAC;AACD,MAAM,mCAAmC,EAAE,OAAO;CAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAChE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC9F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,SAAS,gCAAgC;
|
|
1
|
+
{"version":3,"file":"list-contacts.mjs","names":[],"sources":["../../src/actions/list-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListContactsInput = z.object({\n after: z.string().describe(\"Cursor ID for forward pagination.\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return. Max: 100.\").optional(),\n before: z.string().describe(\"Cursor ID for backward pagination.\").optional(),\n audienceId: z.string().describe(\"The Audience ID.\"),\n});\nconst ResendListContacts_ContactSchema = z.object({\n id: z.string().describe(\"Unique contact identifier.\").nullable(),\n email: z.string().describe(\"Contact's email address.\").nullable(),\n last_name: z.string().describe(\"Contact's surname.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of contact creation in ISO 8601 format.\").nullable(),\n first_name: z.string().describe(\"Contact's given name.\").nullable().optional(),\n unsubscribed: z.boolean().describe(\"Indicates subscription status.\").nullable(),\n}).passthrough().describe(\"Contact object representation.\");\nexport const ResendListContactsOutput = z.object({\n data: z.array(ResendListContacts_ContactSchema).describe(\"Collection of contact objects.\"),\n object: z.string().describe(\"Identifier indicating this is a list response.\").nullable(),\n has_more: z.boolean().describe(\"Whether additional results are available for pagination.\").nullable(),\n}).passthrough();\n\nexport const resendListContacts = action(\"RESEND_LIST_CONTACTS\", {\n slug: \"resend-list-contacts\",\n name: \"List Contacts\",\n description: \"List contacts in Resend.\",\n input: ResendListContactsInput,\n output: ResendListContactsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC5F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC3E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;AACpD,CAAC;AACD,MAAM,mCAAmC,EAAE,OAAO;CAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAChE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC9F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gCAAgC;AAO1D,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXsC,EAAE,OAAO;EAC/C,MAAM,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,gCAAgC;EACzF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EACvF,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACtG,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -8,8 +8,8 @@ const ResendListDomains_DomainSchema = zod.z.object({
|
|
|
8
8
|
region: zod.z.string().describe("The region where emails will be sent from.").nullable().optional(),
|
|
9
9
|
status: zod.z.string().describe("The status of the domain.").nullable().optional(),
|
|
10
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() });
|
|
11
|
+
}).passthrough();
|
|
12
|
+
const ResendListDomainsOutput = zod.z.object({ domains: zod.z.array(ResendListDomains_DomainSchema).describe("The list of domains.").nullable().optional() }).passthrough();
|
|
13
13
|
const resendListDomains = require_action.action("RESEND_LIST_DOMAINS", {
|
|
14
14
|
slug: "resend-list-domains",
|
|
15
15
|
name: "List Domains",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-domains.cjs","names":["z","action"],"sources":["../../src/actions/list-domains.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListDomainsInput = z.object({});\nconst ResendListDomains_DomainSchema = z.object({\n id: z.string().describe(\"The id of the domain.\").nullable().optional(),\n name: z.string().describe(\"The name of the domain.\").nullable().optional(),\n region: z.string().describe(\"The region where emails will be sent from.\").nullable().optional(),\n status: z.string().describe(\"The status of the domain.\").nullable().optional(),\n created_at: z.string().describe(\"The creation timestamp of the domain.\").nullable().optional(),\n});\nexport const ResendListDomainsOutput = 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,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC;AACjD,MAAM,iCAAiCA,IAAAA,EAAE,OAAO;CAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC;
|
|
1
|
+
{"version":3,"file":"list-domains.cjs","names":["z","action"],"sources":["../../src/actions/list-domains.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListDomainsInput = z.object({});\nconst ResendListDomains_DomainSchema = z.object({\n id: z.string().describe(\"The id of the domain.\").nullable().optional(),\n name: z.string().describe(\"The name of the domain.\").nullable().optional(),\n region: z.string().describe(\"The region where emails will be sent from.\").nullable().optional(),\n status: z.string().describe(\"The status of the domain.\").nullable().optional(),\n created_at: z.string().describe(\"The creation timestamp of the domain.\").nullable().optional(),\n}).passthrough();\nexport const ResendListDomainsOutput = z.object({\n domains: z.array(ResendListDomains_DomainSchema).describe(\"The list of domains.\").nullable().optional(),\n}).passthrough();\n\nexport const resendListDomains = action(\"RESEND_LIST_DOMAINS\", {\n slug: \"resend-list-domains\",\n name: \"List Domains\",\n description: \"List all domains. Use the returned domain IDs as inputs for tools like RESEND_VERIFY_DOMAIN that require a domain_id.\",\n input: ResendListDomainsInput,\n output: ResendListDomainsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC;AACjD,MAAM,iCAAiCA,IAAAA,EAAE,OAAO;CAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,SAASA,IAAAA,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxG,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -9,8 +9,8 @@ declare const ResendListDomainsOutput: z.ZodObject<{
|
|
|
9
9
|
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
10
|
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
11
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
-
}, z.core.$
|
|
13
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>>>>;
|
|
13
|
+
}, z.core.$loose>;
|
|
14
14
|
declare const resendListDomains: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { resendListDomains };
|
|
@@ -9,8 +9,8 @@ declare const ResendListDomainsOutput: z.ZodObject<{
|
|
|
9
9
|
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
10
|
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
11
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
-
}, z.core.$
|
|
13
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>>>>;
|
|
13
|
+
}, z.core.$loose>;
|
|
14
14
|
declare const resendListDomains: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { resendListDomains };
|
|
@@ -8,13 +8,13 @@ const ResendListDomains_DomainSchema = z.object({
|
|
|
8
8
|
region: z.string().describe("The region where emails will be sent from.").nullable().optional(),
|
|
9
9
|
status: z.string().describe("The status of the domain.").nullable().optional(),
|
|
10
10
|
created_at: z.string().describe("The creation timestamp of the domain.").nullable().optional()
|
|
11
|
-
});
|
|
11
|
+
}).passthrough();
|
|
12
12
|
const resendListDomains = action("RESEND_LIST_DOMAINS", {
|
|
13
13
|
slug: "resend-list-domains",
|
|
14
14
|
name: "List Domains",
|
|
15
15
|
description: "List all domains. Use the returned domain IDs as inputs for tools like RESEND_VERIFY_DOMAIN that require a domain_id.",
|
|
16
16
|
input: ResendListDomainsInput,
|
|
17
|
-
output: z.object({ domains: z.array(ResendListDomains_DomainSchema).describe("The list of domains.").nullable().optional() })
|
|
17
|
+
output: z.object({ domains: z.array(ResendListDomains_DomainSchema).describe("The list of domains.").nullable().optional() }).passthrough()
|
|
18
18
|
});
|
|
19
19
|
//#endregion
|
|
20
20
|
export { resendListDomains };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-domains.mjs","names":[],"sources":["../../src/actions/list-domains.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListDomainsInput = z.object({});\nconst ResendListDomains_DomainSchema = z.object({\n id: z.string().describe(\"The id of the domain.\").nullable().optional(),\n name: z.string().describe(\"The name of the domain.\").nullable().optional(),\n region: z.string().describe(\"The region where emails will be sent from.\").nullable().optional(),\n status: z.string().describe(\"The status of the domain.\").nullable().optional(),\n created_at: z.string().describe(\"The creation timestamp of the domain.\").nullable().optional(),\n});\nexport const ResendListDomainsOutput = 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,yBAAyB,EAAE,OAAO,CAAC,CAAC;AACjD,MAAM,iCAAiC,EAAE,OAAO;CAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC;
|
|
1
|
+
{"version":3,"file":"list-domains.mjs","names":[],"sources":["../../src/actions/list-domains.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListDomainsInput = z.object({});\nconst ResendListDomains_DomainSchema = z.object({\n id: z.string().describe(\"The id of the domain.\").nullable().optional(),\n name: z.string().describe(\"The name of the domain.\").nullable().optional(),\n region: z.string().describe(\"The region where emails will be sent from.\").nullable().optional(),\n status: z.string().describe(\"The status of the domain.\").nullable().optional(),\n created_at: z.string().describe(\"The creation timestamp of the domain.\").nullable().optional(),\n}).passthrough();\nexport const ResendListDomainsOutput = z.object({\n domains: z.array(ResendListDomains_DomainSchema).describe(\"The list of domains.\").nullable().optional(),\n}).passthrough();\n\nexport const resendListDomains = action(\"RESEND_LIST_DOMAINS\", {\n slug: \"resend-list-domains\",\n name: \"List Domains\",\n description: \"List all domains. Use the returned domain IDs as inputs for tools like RESEND_VERIFY_DOMAIN that require a domain_id.\",\n input: ResendListDomainsInput,\n output: ResendListDomainsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyB,EAAE,OAAO,CAAC,CAAC;AACjD,MAAM,iCAAiC,EAAE,OAAO;CAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATqC,EAAE,OAAO,EAC9C,SAAS,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxG,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -16,12 +16,12 @@ const ResendListEmailAttachments_AttachmentSchema = zod.z.object({
|
|
|
16
16
|
content_type: zod.z.string().describe("The MIME type of the attachment (e.g., 'application/pdf', 'image/png').").nullable().optional(),
|
|
17
17
|
download_url: zod.z.string().describe("The URL to download the attachment.").nullable().optional(),
|
|
18
18
|
content_disposition: zod.z.string().describe("The content disposition of the attachment (e.g., 'attachment', 'inline').").nullable().optional()
|
|
19
|
-
});
|
|
19
|
+
}).passthrough();
|
|
20
20
|
const ResendListEmailAttachmentsOutput = zod.z.object({
|
|
21
21
|
data: zod.z.array(ResendListEmailAttachments_AttachmentSchema).describe("Array containing attachment information.").nullable().optional(),
|
|
22
22
|
object: zod.z.string().describe("The type of object, which is 'list'.").nullable().optional(),
|
|
23
23
|
has_more: zod.z.boolean().describe("Indicates if there are more results available for pagination.").nullable().optional()
|
|
24
|
-
});
|
|
24
|
+
}).passthrough();
|
|
25
25
|
const resendListEmailAttachments = require_action.action("RESEND_LIST_EMAIL_ATTACHMENTS", {
|
|
26
26
|
slug: "resend-list-email-attachments",
|
|
27
27
|
name: "List Email Attachments",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-email-attachments.cjs","names":["z","action"],"sources":["../../src/actions/list-email-attachments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListEmailAttachmentsInput = z.object({\n after: z.string().describe(\"Pagination cursor to fetch results after this attachment ID. Cannot be used with 'before'.\").optional(),\n limit: z.number().int().describe(\"Maximum number of attachments to return. Use for pagination.\").optional(),\n before: z.string().describe(\"Pagination cursor to fetch results before this attachment ID. Cannot be used with 'after'.\").optional(),\n email_id: z.string().describe(\"The ID of the email to retrieve attachments from.\"),\n});\nconst ResendListEmailAttachments_AttachmentSchema = z.object({\n id: z.string().describe(\"The unique ID of the attachment.\").nullable().optional(),\n size: z.number().int().describe(\"The size of the attachment in bytes.\").nullable().optional(),\n filename: z.string().describe(\"The filename of the attachment.\").nullable().optional(),\n content_id: z.string().describe(\"The content ID of the attachment, used for inline images.\").nullable().optional(),\n expires_at: z.string().describe(\"The timestamp when the download URL expires.\").nullable().optional(),\n content_type: z.string().describe(\"The MIME type of the attachment (e.g., 'application/pdf', 'image/png').\").nullable().optional(),\n download_url: z.string().describe(\"The URL to download the attachment.\").nullable().optional(),\n content_disposition: z.string().describe(\"The content disposition of the attachment (e.g., 'attachment', 'inline').\").nullable().optional(),\n});\nexport const ResendListEmailAttachmentsOutput = z.object({\n data: z.array(ResendListEmailAttachments_AttachmentSchema).describe(\"Array containing attachment information.\").nullable().optional(),\n object: z.string().describe(\"The type of object, which is 'list'.\").nullable().optional(),\n has_more: z.boolean().describe(\"Indicates if there are more results available for pagination.\").nullable().optional(),\n});\n\nexport const resendListEmailAttachments = action(\"RESEND_LIST_EMAIL_ATTACHMENTS\", {\n slug: \"resend-list-email-attachments\",\n name: \"List Email Attachments\",\n description: \"Tool to retrieve a list of attachments from a sent email. Use when you need to get information about files attached to an email sent via Resend.\",\n input: ResendListEmailAttachmentsInput,\n output: ResendListEmailAttachmentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CAClI,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC1G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CACnI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;AACnF,CAAC;AACD,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5I,CAAC;
|
|
1
|
+
{"version":3,"file":"list-email-attachments.cjs","names":["z","action"],"sources":["../../src/actions/list-email-attachments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListEmailAttachmentsInput = z.object({\n after: z.string().describe(\"Pagination cursor to fetch results after this attachment ID. Cannot be used with 'before'.\").optional(),\n limit: z.number().int().describe(\"Maximum number of attachments to return. Use for pagination.\").optional(),\n before: z.string().describe(\"Pagination cursor to fetch results before this attachment ID. Cannot be used with 'after'.\").optional(),\n email_id: z.string().describe(\"The ID of the email to retrieve attachments from.\"),\n});\nconst ResendListEmailAttachments_AttachmentSchema = z.object({\n id: z.string().describe(\"The unique ID of the attachment.\").nullable().optional(),\n size: z.number().int().describe(\"The size of the attachment in bytes.\").nullable().optional(),\n filename: z.string().describe(\"The filename of the attachment.\").nullable().optional(),\n content_id: z.string().describe(\"The content ID of the attachment, used for inline images.\").nullable().optional(),\n expires_at: z.string().describe(\"The timestamp when the download URL expires.\").nullable().optional(),\n content_type: z.string().describe(\"The MIME type of the attachment (e.g., 'application/pdf', 'image/png').\").nullable().optional(),\n download_url: z.string().describe(\"The URL to download the attachment.\").nullable().optional(),\n content_disposition: z.string().describe(\"The content disposition of the attachment (e.g., 'attachment', 'inline').\").nullable().optional(),\n}).passthrough();\nexport const ResendListEmailAttachmentsOutput = z.object({\n data: z.array(ResendListEmailAttachments_AttachmentSchema).describe(\"Array containing attachment information.\").nullable().optional(),\n object: z.string().describe(\"The type of object, which is 'list'.\").nullable().optional(),\n has_more: z.boolean().describe(\"Indicates if there are more results available for pagination.\").nullable().optional(),\n}).passthrough();\n\nexport const resendListEmailAttachments = action(\"RESEND_LIST_EMAIL_ATTACHMENTS\", {\n slug: \"resend-list-email-attachments\",\n name: \"List Email Attachments\",\n description: \"Tool to retrieve a list of attachments from a sent email. Use when you need to get information about files attached to an email sent via Resend.\",\n input: ResendListEmailAttachmentsInput,\n output: ResendListEmailAttachmentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CAClI,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC1G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CACnI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;AACnF,CAAC;AACD,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5I,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -17,10 +17,10 @@ declare const ResendListEmailAttachmentsOutput: z.ZodObject<{
|
|
|
17
17
|
content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
download_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
19
|
content_disposition: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>>>>;
|
|
21
21
|
object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
has_more: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
23
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>;
|
|
24
24
|
declare const resendListEmailAttachments: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
25
|
email_id: string;
|
|
26
26
|
after?: string | undefined;
|
|
@@ -17,10 +17,10 @@ declare const ResendListEmailAttachmentsOutput: z.ZodObject<{
|
|
|
17
17
|
content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
download_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
19
|
content_disposition: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>>>>;
|
|
21
21
|
object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
has_more: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
23
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>;
|
|
24
24
|
declare const resendListEmailAttachments: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
25
|
email_id: string;
|
|
26
26
|
after?: string | undefined;
|
|
@@ -16,7 +16,7 @@ const ResendListEmailAttachments_AttachmentSchema = z.object({
|
|
|
16
16
|
content_type: z.string().describe("The MIME type of the attachment (e.g., 'application/pdf', 'image/png').").nullable().optional(),
|
|
17
17
|
download_url: z.string().describe("The URL to download the attachment.").nullable().optional(),
|
|
18
18
|
content_disposition: z.string().describe("The content disposition of the attachment (e.g., 'attachment', 'inline').").nullable().optional()
|
|
19
|
-
});
|
|
19
|
+
}).passthrough();
|
|
20
20
|
const resendListEmailAttachments = action("RESEND_LIST_EMAIL_ATTACHMENTS", {
|
|
21
21
|
slug: "resend-list-email-attachments",
|
|
22
22
|
name: "List Email Attachments",
|
|
@@ -26,7 +26,7 @@ const resendListEmailAttachments = action("RESEND_LIST_EMAIL_ATTACHMENTS", {
|
|
|
26
26
|
data: z.array(ResendListEmailAttachments_AttachmentSchema).describe("Array containing attachment information.").nullable().optional(),
|
|
27
27
|
object: z.string().describe("The type of object, which is 'list'.").nullable().optional(),
|
|
28
28
|
has_more: z.boolean().describe("Indicates if there are more results available for pagination.").nullable().optional()
|
|
29
|
-
})
|
|
29
|
+
}).passthrough()
|
|
30
30
|
});
|
|
31
31
|
//#endregion
|
|
32
32
|
export { resendListEmailAttachments };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-email-attachments.mjs","names":[],"sources":["../../src/actions/list-email-attachments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListEmailAttachmentsInput = z.object({\n after: z.string().describe(\"Pagination cursor to fetch results after this attachment ID. Cannot be used with 'before'.\").optional(),\n limit: z.number().int().describe(\"Maximum number of attachments to return. Use for pagination.\").optional(),\n before: z.string().describe(\"Pagination cursor to fetch results before this attachment ID. Cannot be used with 'after'.\").optional(),\n email_id: z.string().describe(\"The ID of the email to retrieve attachments from.\"),\n});\nconst ResendListEmailAttachments_AttachmentSchema = z.object({\n id: z.string().describe(\"The unique ID of the attachment.\").nullable().optional(),\n size: z.number().int().describe(\"The size of the attachment in bytes.\").nullable().optional(),\n filename: z.string().describe(\"The filename of the attachment.\").nullable().optional(),\n content_id: z.string().describe(\"The content ID of the attachment, used for inline images.\").nullable().optional(),\n expires_at: z.string().describe(\"The timestamp when the download URL expires.\").nullable().optional(),\n content_type: z.string().describe(\"The MIME type of the attachment (e.g., 'application/pdf', 'image/png').\").nullable().optional(),\n download_url: z.string().describe(\"The URL to download the attachment.\").nullable().optional(),\n content_disposition: z.string().describe(\"The content disposition of the attachment (e.g., 'attachment', 'inline').\").nullable().optional(),\n});\nexport const ResendListEmailAttachmentsOutput = z.object({\n data: z.array(ResendListEmailAttachments_AttachmentSchema).describe(\"Array containing attachment information.\").nullable().optional(),\n object: z.string().describe(\"The type of object, which is 'list'.\").nullable().optional(),\n has_more: z.boolean().describe(\"Indicates if there are more results available for pagination.\").nullable().optional(),\n});\n\nexport const resendListEmailAttachments = action(\"RESEND_LIST_EMAIL_ATTACHMENTS\", {\n slug: \"resend-list-email-attachments\",\n name: \"List Email Attachments\",\n description: \"Tool to retrieve a list of attachments from a sent email. Use when you need to get information about files attached to an email sent via Resend.\",\n input: ResendListEmailAttachmentsInput,\n output: ResendListEmailAttachmentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO;CACtD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CAClI,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC1G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CACnI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;AACnF,CAAC;AACD,MAAM,8CAA8C,EAAE,OAAO;CAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5I,CAAC;
|
|
1
|
+
{"version":3,"file":"list-email-attachments.mjs","names":[],"sources":["../../src/actions/list-email-attachments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListEmailAttachmentsInput = z.object({\n after: z.string().describe(\"Pagination cursor to fetch results after this attachment ID. Cannot be used with 'before'.\").optional(),\n limit: z.number().int().describe(\"Maximum number of attachments to return. Use for pagination.\").optional(),\n before: z.string().describe(\"Pagination cursor to fetch results before this attachment ID. Cannot be used with 'after'.\").optional(),\n email_id: z.string().describe(\"The ID of the email to retrieve attachments from.\"),\n});\nconst ResendListEmailAttachments_AttachmentSchema = z.object({\n id: z.string().describe(\"The unique ID of the attachment.\").nullable().optional(),\n size: z.number().int().describe(\"The size of the attachment in bytes.\").nullable().optional(),\n filename: z.string().describe(\"The filename of the attachment.\").nullable().optional(),\n content_id: z.string().describe(\"The content ID of the attachment, used for inline images.\").nullable().optional(),\n expires_at: z.string().describe(\"The timestamp when the download URL expires.\").nullable().optional(),\n content_type: z.string().describe(\"The MIME type of the attachment (e.g., 'application/pdf', 'image/png').\").nullable().optional(),\n download_url: z.string().describe(\"The URL to download the attachment.\").nullable().optional(),\n content_disposition: z.string().describe(\"The content disposition of the attachment (e.g., 'attachment', 'inline').\").nullable().optional(),\n}).passthrough();\nexport const ResendListEmailAttachmentsOutput = z.object({\n data: z.array(ResendListEmailAttachments_AttachmentSchema).describe(\"Array containing attachment information.\").nullable().optional(),\n object: z.string().describe(\"The type of object, which is 'list'.\").nullable().optional(),\n has_more: z.boolean().describe(\"Indicates if there are more results available for pagination.\").nullable().optional(),\n}).passthrough();\n\nexport const resendListEmailAttachments = action(\"RESEND_LIST_EMAIL_ATTACHMENTS\", {\n slug: \"resend-list-email-attachments\",\n name: \"List Email Attachments\",\n description: \"Tool to retrieve a list of attachments from a sent email. Use when you need to get information about files attached to an email sent via Resend.\",\n input: ResendListEmailAttachmentsInput,\n output: ResendListEmailAttachmentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO;CACtD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CAClI,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC1G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CACnI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;AACnF,CAAC;AACD,MAAM,8CAA8C,EAAE,OAAO;CAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5I,CAAC,CAAC,CAAC,YAAY;AAOf,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX8C,EAAE,OAAO;EACvD,MAAM,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -19,12 +19,12 @@ const ResendListEmails_EmailSchema = zod.z.object({
|
|
|
19
19
|
created_at: zod.z.string().describe("ISO timestamp of email creation.").nullable().optional(),
|
|
20
20
|
last_event: zod.z.string().describe("Final delivery status (e.g., 'delivered', 'opened').").nullable().optional(),
|
|
21
21
|
scheduled_at: zod.z.string().describe("ISO timestamp if email was scheduled.").nullable().optional()
|
|
22
|
-
});
|
|
22
|
+
}).passthrough();
|
|
23
23
|
const ResendListEmailsOutput = zod.z.object({
|
|
24
24
|
data: zod.z.array(ResendListEmails_EmailSchema).describe("Array containing email information.").nullable().optional(),
|
|
25
25
|
object: zod.z.string().describe("Type of the response object, which is 'list'.").nullable().optional(),
|
|
26
26
|
has_more: zod.z.boolean().describe("Indicates if there are more results available.").nullable().optional()
|
|
27
|
-
});
|
|
27
|
+
}).passthrough();
|
|
28
28
|
const resendListEmails = require_action.action("RESEND_LIST_EMAILS", {
|
|
29
29
|
slug: "resend-list-emails",
|
|
30
30
|
name: "List Emails",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-emails.cjs","names":["z","action"],"sources":["../../src/actions/list-emails.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListEmailsInput = z.object({\n after: z.string().describe(\"Pagination cursor to fetch results after this email ID. Cannot be used with 'before'.\").optional(),\n limit: z.number().int().describe(\"Maximum number of emails to return. Default 20, max 100, min 1.\").optional(),\n before: z.string().describe(\"Pagination cursor to fetch results before this email ID. Cannot be used with 'after'.\").optional(),\n});\nconst ResendListEmails_EmailSchema = z.object({\n cc: z.array(z.string()).describe(\"Carbon copy recipient(s).\").nullable().optional(),\n id: z.string().describe(\"Unique email identifier.\").nullable().optional(),\n to: z.array(z.string()).describe(\"Recipient email address(es).\").nullable().optional(),\n bcc: z.array(z.string()).describe(\"Blind carbon copy recipient(s).\").nullable().optional(),\n from: z.string().describe(\"Sender email address.\").nullable().optional(),\n html: z.string().describe(\"HTML content of the email.\").nullable().optional(),\n text: z.string().describe(\"Plain text content of the email.\").nullable().optional(),\n subject: z.string().describe(\"Email subject line.\").nullable().optional(),\n reply_to: z.array(z.string()).describe(\"Reply-to email address(es).\").nullable().optional(),\n created_at: z.string().describe(\"ISO timestamp of email creation.\").nullable().optional(),\n last_event: z.string().describe(\"Final delivery status (e.g., 'delivered', 'opened').\").nullable().optional(),\n scheduled_at: z.string().describe(\"ISO timestamp if email was scheduled.\").nullable().optional(),\n});\nexport const ResendListEmailsOutput = z.object({\n data: z.array(ResendListEmails_EmailSchema).describe(\"Array containing email information.\").nullable().optional(),\n object: z.string().describe(\"Type of the response object, which is 'list'.\").nullable().optional(),\n has_more: z.boolean().describe(\"Indicates if there are more results available.\").nullable().optional(),\n});\n\nexport const resendListEmails = action(\"RESEND_LIST_EMAILS\", {\n slug: \"resend-list-emails\",\n name: \"List Emails\",\n description: \"Tool to retrieve a list of emails sent by your team. Use when you need to fetch outbound emails from your account. Supports pagination with limit, after, and before parameters.\",\n input: ResendListEmailsInput,\n output: ResendListEmailsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CAC7H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAC7G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;AAChI,CAAC;AACD,MAAM,+BAA+BA,IAAAA,EAAE,OAAO;CAC5C,IAAIA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,IAAIA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,KAAKA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC;
|
|
1
|
+
{"version":3,"file":"list-emails.cjs","names":["z","action"],"sources":["../../src/actions/list-emails.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListEmailsInput = z.object({\n after: z.string().describe(\"Pagination cursor to fetch results after this email ID. Cannot be used with 'before'.\").optional(),\n limit: z.number().int().describe(\"Maximum number of emails to return. Default 20, max 100, min 1.\").optional(),\n before: z.string().describe(\"Pagination cursor to fetch results before this email ID. Cannot be used with 'after'.\").optional(),\n});\nconst ResendListEmails_EmailSchema = z.object({\n cc: z.array(z.string()).describe(\"Carbon copy recipient(s).\").nullable().optional(),\n id: z.string().describe(\"Unique email identifier.\").nullable().optional(),\n to: z.array(z.string()).describe(\"Recipient email address(es).\").nullable().optional(),\n bcc: z.array(z.string()).describe(\"Blind carbon copy recipient(s).\").nullable().optional(),\n from: z.string().describe(\"Sender email address.\").nullable().optional(),\n html: z.string().describe(\"HTML content of the email.\").nullable().optional(),\n text: z.string().describe(\"Plain text content of the email.\").nullable().optional(),\n subject: z.string().describe(\"Email subject line.\").nullable().optional(),\n reply_to: z.array(z.string()).describe(\"Reply-to email address(es).\").nullable().optional(),\n created_at: z.string().describe(\"ISO timestamp of email creation.\").nullable().optional(),\n last_event: z.string().describe(\"Final delivery status (e.g., 'delivered', 'opened').\").nullable().optional(),\n scheduled_at: z.string().describe(\"ISO timestamp if email was scheduled.\").nullable().optional(),\n}).passthrough();\nexport const ResendListEmailsOutput = z.object({\n data: z.array(ResendListEmails_EmailSchema).describe(\"Array containing email information.\").nullable().optional(),\n object: z.string().describe(\"Type of the response object, which is 'list'.\").nullable().optional(),\n has_more: z.boolean().describe(\"Indicates if there are more results available.\").nullable().optional(),\n}).passthrough();\n\nexport const resendListEmails = action(\"RESEND_LIST_EMAILS\", {\n slug: \"resend-list-emails\",\n name: \"List Emails\",\n description: \"Tool to retrieve a list of emails sent by your team. Use when you need to fetch outbound emails from your account. Supports pagination with limit, after, and before parameters.\",\n input: ResendListEmailsInput,\n output: ResendListEmailsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CAC7H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAC7G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;AAChI,CAAC;AACD,MAAM,+BAA+BA,IAAAA,EAAE,OAAO;CAC5C,IAAIA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,IAAIA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,KAAKA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,MAAMA,IAAAA,EAAE,MAAM,4BAA4B,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -20,10 +20,10 @@ declare const ResendListEmailsOutput: z.ZodObject<{
|
|
|
20
20
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
21
|
last_event: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
scheduled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>>>>;
|
|
24
24
|
object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
25
|
has_more: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
26
|
-
}, z.core.$
|
|
26
|
+
}, z.core.$loose>;
|
|
27
27
|
declare const resendListEmails: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
28
28
|
after?: string | undefined;
|
|
29
29
|
limit?: number | undefined;
|
|
@@ -20,10 +20,10 @@ declare const ResendListEmailsOutput: z.ZodObject<{
|
|
|
20
20
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
21
|
last_event: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
scheduled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>>>>;
|
|
24
24
|
object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
25
|
has_more: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
26
|
-
}, z.core.$
|
|
26
|
+
}, z.core.$loose>;
|
|
27
27
|
declare const resendListEmails: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
28
28
|
after?: string | undefined;
|
|
29
29
|
limit?: number | undefined;
|
|
@@ -19,7 +19,7 @@ const ResendListEmails_EmailSchema = z.object({
|
|
|
19
19
|
created_at: z.string().describe("ISO timestamp of email creation.").nullable().optional(),
|
|
20
20
|
last_event: z.string().describe("Final delivery status (e.g., 'delivered', 'opened').").nullable().optional(),
|
|
21
21
|
scheduled_at: z.string().describe("ISO timestamp if email was scheduled.").nullable().optional()
|
|
22
|
-
});
|
|
22
|
+
}).passthrough();
|
|
23
23
|
const resendListEmails = action("RESEND_LIST_EMAILS", {
|
|
24
24
|
slug: "resend-list-emails",
|
|
25
25
|
name: "List Emails",
|
|
@@ -29,7 +29,7 @@ const resendListEmails = action("RESEND_LIST_EMAILS", {
|
|
|
29
29
|
data: z.array(ResendListEmails_EmailSchema).describe("Array containing email information.").nullable().optional(),
|
|
30
30
|
object: z.string().describe("Type of the response object, which is 'list'.").nullable().optional(),
|
|
31
31
|
has_more: z.boolean().describe("Indicates if there are more results available.").nullable().optional()
|
|
32
|
-
})
|
|
32
|
+
}).passthrough()
|
|
33
33
|
});
|
|
34
34
|
//#endregion
|
|
35
35
|
export { resendListEmails };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-emails.mjs","names":[],"sources":["../../src/actions/list-emails.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListEmailsInput = z.object({\n after: z.string().describe(\"Pagination cursor to fetch results after this email ID. Cannot be used with 'before'.\").optional(),\n limit: z.number().int().describe(\"Maximum number of emails to return. Default 20, max 100, min 1.\").optional(),\n before: z.string().describe(\"Pagination cursor to fetch results before this email ID. Cannot be used with 'after'.\").optional(),\n});\nconst ResendListEmails_EmailSchema = z.object({\n cc: z.array(z.string()).describe(\"Carbon copy recipient(s).\").nullable().optional(),\n id: z.string().describe(\"Unique email identifier.\").nullable().optional(),\n to: z.array(z.string()).describe(\"Recipient email address(es).\").nullable().optional(),\n bcc: z.array(z.string()).describe(\"Blind carbon copy recipient(s).\").nullable().optional(),\n from: z.string().describe(\"Sender email address.\").nullable().optional(),\n html: z.string().describe(\"HTML content of the email.\").nullable().optional(),\n text: z.string().describe(\"Plain text content of the email.\").nullable().optional(),\n subject: z.string().describe(\"Email subject line.\").nullable().optional(),\n reply_to: z.array(z.string()).describe(\"Reply-to email address(es).\").nullable().optional(),\n created_at: z.string().describe(\"ISO timestamp of email creation.\").nullable().optional(),\n last_event: z.string().describe(\"Final delivery status (e.g., 'delivered', 'opened').\").nullable().optional(),\n scheduled_at: z.string().describe(\"ISO timestamp if email was scheduled.\").nullable().optional(),\n});\nexport const ResendListEmailsOutput = z.object({\n data: z.array(ResendListEmails_EmailSchema).describe(\"Array containing email information.\").nullable().optional(),\n object: z.string().describe(\"Type of the response object, which is 'list'.\").nullable().optional(),\n has_more: z.boolean().describe(\"Indicates if there are more results available.\").nullable().optional(),\n});\n\nexport const resendListEmails = action(\"RESEND_LIST_EMAILS\", {\n slug: \"resend-list-emails\",\n name: \"List Emails\",\n description: \"Tool to retrieve a list of emails sent by your team. Use when you need to fetch outbound emails from your account. Supports pagination with limit, after, and before parameters.\",\n input: ResendListEmailsInput,\n output: ResendListEmailsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwB,EAAE,OAAO;CAC5C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CAC7H,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAC7G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;AAChI,CAAC;AACD,MAAM,+BAA+B,EAAE,OAAO;CAC5C,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC;
|
|
1
|
+
{"version":3,"file":"list-emails.mjs","names":[],"sources":["../../src/actions/list-emails.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListEmailsInput = z.object({\n after: z.string().describe(\"Pagination cursor to fetch results after this email ID. Cannot be used with 'before'.\").optional(),\n limit: z.number().int().describe(\"Maximum number of emails to return. Default 20, max 100, min 1.\").optional(),\n before: z.string().describe(\"Pagination cursor to fetch results before this email ID. Cannot be used with 'after'.\").optional(),\n});\nconst ResendListEmails_EmailSchema = z.object({\n cc: z.array(z.string()).describe(\"Carbon copy recipient(s).\").nullable().optional(),\n id: z.string().describe(\"Unique email identifier.\").nullable().optional(),\n to: z.array(z.string()).describe(\"Recipient email address(es).\").nullable().optional(),\n bcc: z.array(z.string()).describe(\"Blind carbon copy recipient(s).\").nullable().optional(),\n from: z.string().describe(\"Sender email address.\").nullable().optional(),\n html: z.string().describe(\"HTML content of the email.\").nullable().optional(),\n text: z.string().describe(\"Plain text content of the email.\").nullable().optional(),\n subject: z.string().describe(\"Email subject line.\").nullable().optional(),\n reply_to: z.array(z.string()).describe(\"Reply-to email address(es).\").nullable().optional(),\n created_at: z.string().describe(\"ISO timestamp of email creation.\").nullable().optional(),\n last_event: z.string().describe(\"Final delivery status (e.g., 'delivered', 'opened').\").nullable().optional(),\n scheduled_at: z.string().describe(\"ISO timestamp if email was scheduled.\").nullable().optional(),\n}).passthrough();\nexport const ResendListEmailsOutput = z.object({\n data: z.array(ResendListEmails_EmailSchema).describe(\"Array containing email information.\").nullable().optional(),\n object: z.string().describe(\"Type of the response object, which is 'list'.\").nullable().optional(),\n has_more: z.boolean().describe(\"Indicates if there are more results available.\").nullable().optional(),\n}).passthrough();\n\nexport const resendListEmails = action(\"RESEND_LIST_EMAILS\", {\n slug: \"resend-list-emails\",\n name: \"List Emails\",\n description: \"Tool to retrieve a list of emails sent by your team. Use when you need to fetch outbound emails from your account. Supports pagination with limit, after, and before parameters.\",\n input: ResendListEmailsInput,\n output: ResendListEmailsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwB,EAAE,OAAO;CAC5C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CAC7H,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAC7G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;AAChI,CAAC;AACD,MAAM,+BAA+B,EAAE,OAAO;CAC5C,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY;AAOf,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXoC,EAAE,OAAO;EAC7C,MAAM,EAAE,MAAM,4BAA4B,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -16,13 +16,13 @@ const ResendListReceivedEmails_ReceivedEmailSchema = zod.z.object({
|
|
|
16
16
|
reply_to: zod.z.array(zod.z.string()).describe("The reply-to email addresses.").nullable().optional(),
|
|
17
17
|
created_at: zod.z.string().describe("The creation timestamp of the email.").nullable().optional(),
|
|
18
18
|
message_id: zod.z.string().describe("The message ID of the received email.").nullable().optional(),
|
|
19
|
-
attachments: zod.z.array(zod.z.
|
|
20
|
-
});
|
|
19
|
+
attachments: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("The attachments of the email.").nullable().optional()
|
|
20
|
+
}).passthrough();
|
|
21
21
|
const ResendListReceivedEmailsOutput = zod.z.object({
|
|
22
22
|
data: zod.z.array(ResendListReceivedEmails_ReceivedEmailSchema).describe("Array containing received email information.").nullable().optional(),
|
|
23
23
|
object: zod.z.string().describe("Type of the response object.").nullable().optional(),
|
|
24
24
|
has_more: zod.z.boolean().describe("Indicates if there are more results available.").nullable().optional()
|
|
25
|
-
});
|
|
25
|
+
}).passthrough();
|
|
26
26
|
const resendListReceivedEmails = require_action.action("RESEND_LIST_RECEIVED_EMAILS", {
|
|
27
27
|
slug: "resend-list-received-emails",
|
|
28
28
|
name: "List Received Emails",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-received-emails.cjs","names":["z","action"],"sources":["../../src/actions/list-received-emails.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListReceivedEmailsInput = z.object({\n after: z.string().describe(\"Pagination cursor to fetch results after this email ID. Cannot be used with 'before'.\").optional(),\n limit: z.number().int().describe(\"Maximum number of received emails to return.\").optional(),\n before: z.string().describe(\"Pagination cursor to fetch results before this email ID. Cannot be used with 'after'.\").optional(),\n});\nconst ResendListReceivedEmails_ReceivedEmailSchema = z.object({\n cc: z.array(z.string()).describe(\"The CC recipient email addresses.\").nullable().optional(),\n id: z.string().describe(\"The id of the received email.\").nullable().optional(),\n to: z.array(z.string()).describe(\"The recipient email addresses.\").nullable().optional(),\n bcc: z.array(z.string()).describe(\"The BCC recipient email addresses.\").nullable().optional(),\n from: z.string().describe(\"The sender email address.\").nullable().optional(),\n subject: z.string().describe(\"The subject of the email.\").nullable().optional(),\n reply_to: z.array(z.string()).describe(\"The reply-to email addresses.\").nullable().optional(),\n created_at: z.string().describe(\"The creation timestamp of the email.\").nullable().optional(),\n message_id: z.string().describe(\"The message ID of the received email.\").nullable().optional(),\n attachments: z.array(z.
|
|
1
|
+
{"version":3,"file":"list-received-emails.cjs","names":["z","action"],"sources":["../../src/actions/list-received-emails.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListReceivedEmailsInput = z.object({\n after: z.string().describe(\"Pagination cursor to fetch results after this email ID. Cannot be used with 'before'.\").optional(),\n limit: z.number().int().describe(\"Maximum number of received emails to return.\").optional(),\n before: z.string().describe(\"Pagination cursor to fetch results before this email ID. Cannot be used with 'after'.\").optional(),\n});\nconst ResendListReceivedEmails_ReceivedEmailSchema = z.object({\n cc: z.array(z.string()).describe(\"The CC recipient email addresses.\").nullable().optional(),\n id: z.string().describe(\"The id of the received email.\").nullable().optional(),\n to: z.array(z.string()).describe(\"The recipient email addresses.\").nullable().optional(),\n bcc: z.array(z.string()).describe(\"The BCC recipient email addresses.\").nullable().optional(),\n from: z.string().describe(\"The sender email address.\").nullable().optional(),\n subject: z.string().describe(\"The subject of the email.\").nullable().optional(),\n reply_to: z.array(z.string()).describe(\"The reply-to email addresses.\").nullable().optional(),\n created_at: z.string().describe(\"The creation timestamp of the email.\").nullable().optional(),\n message_id: z.string().describe(\"The message ID of the received email.\").nullable().optional(),\n attachments: z.array(z.record(z.string(), z.unknown())).describe(\"The attachments of the email.\").nullable().optional(),\n}).passthrough();\nexport const ResendListReceivedEmailsOutput = z.object({\n data: z.array(ResendListReceivedEmails_ReceivedEmailSchema).describe(\"Array containing received email information.\").nullable().optional(),\n object: z.string().describe(\"Type of the response object.\").nullable().optional(),\n has_more: z.boolean().describe(\"Indicates if there are more results available.\").nullable().optional(),\n}).passthrough();\n\nexport const resendListReceivedEmails = action(\"RESEND_LIST_RECEIVED_EMAILS\", {\n slug: \"resend-list-received-emails\",\n name: \"List Received Emails\",\n description: \"Tool to retrieve a list of received emails for the authenticated user. Use when you need to fetch incoming emails from the receiving endpoint.\",\n input: ResendListReceivedEmailsInput,\n output: ResendListReceivedEmailsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CAC7H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC1F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;AAChI,CAAC;AACD,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,IAAIA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,KAAKA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -17,11 +17,11 @@ declare const ResendListReceivedEmailsOutput: z.ZodObject<{
|
|
|
17
17
|
reply_to: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
18
18
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
19
|
message_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
-
attachments: z.ZodOptional<z.ZodNullable<z.ZodArray<z.
|
|
21
|
-
}, z.core.$
|
|
20
|
+
attachments: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
21
|
+
}, z.core.$loose>>>>;
|
|
22
22
|
object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
23
|
has_more: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
24
|
-
}, z.core.$
|
|
24
|
+
}, z.core.$loose>;
|
|
25
25
|
declare const resendListReceivedEmails: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
26
26
|
after?: string | undefined;
|
|
27
27
|
limit?: number | undefined;
|
|
@@ -17,11 +17,11 @@ declare const ResendListReceivedEmailsOutput: z.ZodObject<{
|
|
|
17
17
|
reply_to: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
18
18
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
19
|
message_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
-
attachments: z.ZodOptional<z.ZodNullable<z.ZodArray<z.
|
|
21
|
-
}, z.core.$
|
|
20
|
+
attachments: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
21
|
+
}, z.core.$loose>>>>;
|
|
22
22
|
object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
23
|
has_more: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
24
|
-
}, z.core.$
|
|
24
|
+
}, z.core.$loose>;
|
|
25
25
|
declare const resendListReceivedEmails: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
26
26
|
after?: string | undefined;
|
|
27
27
|
limit?: number | undefined;
|
|
@@ -16,8 +16,8 @@ const ResendListReceivedEmails_ReceivedEmailSchema = z.object({
|
|
|
16
16
|
reply_to: z.array(z.string()).describe("The reply-to email addresses.").nullable().optional(),
|
|
17
17
|
created_at: z.string().describe("The creation timestamp of the email.").nullable().optional(),
|
|
18
18
|
message_id: z.string().describe("The message ID of the received email.").nullable().optional(),
|
|
19
|
-
attachments: z.array(z.
|
|
20
|
-
});
|
|
19
|
+
attachments: z.array(z.record(z.string(), z.unknown())).describe("The attachments of the email.").nullable().optional()
|
|
20
|
+
}).passthrough();
|
|
21
21
|
const resendListReceivedEmails = action("RESEND_LIST_RECEIVED_EMAILS", {
|
|
22
22
|
slug: "resend-list-received-emails",
|
|
23
23
|
name: "List Received Emails",
|
|
@@ -27,7 +27,7 @@ const resendListReceivedEmails = action("RESEND_LIST_RECEIVED_EMAILS", {
|
|
|
27
27
|
data: z.array(ResendListReceivedEmails_ReceivedEmailSchema).describe("Array containing received email information.").nullable().optional(),
|
|
28
28
|
object: z.string().describe("Type of the response object.").nullable().optional(),
|
|
29
29
|
has_more: z.boolean().describe("Indicates if there are more results available.").nullable().optional()
|
|
30
|
-
})
|
|
30
|
+
}).passthrough()
|
|
31
31
|
});
|
|
32
32
|
//#endregion
|
|
33
33
|
export { resendListReceivedEmails };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-received-emails.mjs","names":[],"sources":["../../src/actions/list-received-emails.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListReceivedEmailsInput = z.object({\n after: z.string().describe(\"Pagination cursor to fetch results after this email ID. Cannot be used with 'before'.\").optional(),\n limit: z.number().int().describe(\"Maximum number of received emails to return.\").optional(),\n before: z.string().describe(\"Pagination cursor to fetch results before this email ID. Cannot be used with 'after'.\").optional(),\n});\nconst ResendListReceivedEmails_ReceivedEmailSchema = z.object({\n cc: z.array(z.string()).describe(\"The CC recipient email addresses.\").nullable().optional(),\n id: z.string().describe(\"The id of the received email.\").nullable().optional(),\n to: z.array(z.string()).describe(\"The recipient email addresses.\").nullable().optional(),\n bcc: z.array(z.string()).describe(\"The BCC recipient email addresses.\").nullable().optional(),\n from: z.string().describe(\"The sender email address.\").nullable().optional(),\n subject: z.string().describe(\"The subject of the email.\").nullable().optional(),\n reply_to: z.array(z.string()).describe(\"The reply-to email addresses.\").nullable().optional(),\n created_at: z.string().describe(\"The creation timestamp of the email.\").nullable().optional(),\n message_id: z.string().describe(\"The message ID of the received email.\").nullable().optional(),\n attachments: z.array(z.
|
|
1
|
+
{"version":3,"file":"list-received-emails.mjs","names":[],"sources":["../../src/actions/list-received-emails.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListReceivedEmailsInput = z.object({\n after: z.string().describe(\"Pagination cursor to fetch results after this email ID. Cannot be used with 'before'.\").optional(),\n limit: z.number().int().describe(\"Maximum number of received emails to return.\").optional(),\n before: z.string().describe(\"Pagination cursor to fetch results before this email ID. Cannot be used with 'after'.\").optional(),\n});\nconst ResendListReceivedEmails_ReceivedEmailSchema = z.object({\n cc: z.array(z.string()).describe(\"The CC recipient email addresses.\").nullable().optional(),\n id: z.string().describe(\"The id of the received email.\").nullable().optional(),\n to: z.array(z.string()).describe(\"The recipient email addresses.\").nullable().optional(),\n bcc: z.array(z.string()).describe(\"The BCC recipient email addresses.\").nullable().optional(),\n from: z.string().describe(\"The sender email address.\").nullable().optional(),\n subject: z.string().describe(\"The subject of the email.\").nullable().optional(),\n reply_to: z.array(z.string()).describe(\"The reply-to email addresses.\").nullable().optional(),\n created_at: z.string().describe(\"The creation timestamp of the email.\").nullable().optional(),\n message_id: z.string().describe(\"The message ID of the received email.\").nullable().optional(),\n attachments: z.array(z.record(z.string(), z.unknown())).describe(\"The attachments of the email.\").nullable().optional(),\n}).passthrough();\nexport const ResendListReceivedEmailsOutput = z.object({\n data: z.array(ResendListReceivedEmails_ReceivedEmailSchema).describe(\"Array containing received email information.\").nullable().optional(),\n object: z.string().describe(\"Type of the response object.\").nullable().optional(),\n has_more: z.boolean().describe(\"Indicates if there are more results available.\").nullable().optional(),\n}).passthrough();\n\nexport const resendListReceivedEmails = action(\"RESEND_LIST_RECEIVED_EMAILS\", {\n slug: \"resend-list-received-emails\",\n name: \"List Received Emails\",\n description: \"Tool to retrieve a list of received emails for the authenticated user. Use when you need to fetch incoming emails from the receiving endpoint.\",\n input: ResendListReceivedEmailsInput,\n output: ResendListReceivedEmailsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO;CACpD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CAC7H,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC1F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;AAChI,CAAC;AACD,MAAM,+CAA+C,EAAE,OAAO;CAC5D,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,aAAa,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,YAAY;AAOf,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX4C,EAAE,OAAO;EACrD,MAAM,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -11,12 +11,12 @@ const ResendListSegments_SegmentSchema = zod.z.object({
|
|
|
11
11
|
name: zod.z.string().describe("Name of the segment.").nullable().optional(),
|
|
12
12
|
created_at: zod.z.string().describe("Timestamp of segment creation in ISO 8601 format.").nullable().optional(),
|
|
13
13
|
audience_id: zod.z.string().describe("The audience ID this segment belongs to.").nullable().optional()
|
|
14
|
-
}).describe("Segment object representation.");
|
|
14
|
+
}).passthrough().describe("Segment object representation.");
|
|
15
15
|
const ResendListSegmentsOutput = zod.z.object({
|
|
16
16
|
data: zod.z.array(ResendListSegments_SegmentSchema).describe("Array containing segment information.").nullable().optional(),
|
|
17
17
|
object: zod.z.string().describe("Type of the response object, typically 'list'.").nullable().optional(),
|
|
18
18
|
has_more: zod.z.boolean().describe("Indicates if there are more results available for pagination.").nullable().optional()
|
|
19
|
-
});
|
|
19
|
+
}).passthrough();
|
|
20
20
|
const resendListSegments = require_action.action("RESEND_LIST_SEGMENTS", {
|
|
21
21
|
slug: "resend-list-segments",
|
|
22
22
|
name: "List Segments",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-segments.cjs","names":["z","action"],"sources":["../../src/actions/list-segments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListSegmentsInput = z.object({\n after: z.string().describe(\"Return items after this cursor for pagination.\").optional(),\n limit: z.number().int().describe(\"Number of items to return.\").optional(),\n before: z.string().describe(\"Return items before this cursor for pagination.\").optional(),\n});\nconst ResendListSegments_SegmentSchema = z.object({\n id: z.string().describe(\"Unique segment identifier.\").nullable().optional(),\n name: z.string().describe(\"Name of the segment.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of segment creation in ISO 8601 format.\").nullable().optional(),\n audience_id: z.string().describe(\"The audience ID this segment belongs to.\").nullable().optional(),\n}).describe(\"Segment object representation.\");\nexport const ResendListSegmentsOutput = z.object({\n data: z.array(ResendListSegments_SegmentSchema).describe(\"Array containing segment information.\").nullable().optional(),\n object: z.string().describe(\"Type of the response object, typically 'list'.\").nullable().optional(),\n has_more: z.boolean().describe(\"Indicates if there are more results available for pagination.\").nullable().optional(),\n});\n\nexport const resendListSegments = action(\"RESEND_LIST_SEGMENTS\", {\n slug: \"resend-list-segments\",\n name: \"List Segments\",\n description: \"Tool to retrieve a list of segments from Resend. Use when you need to view all available segments for audience management.\",\n input: ResendListSegmentsInput,\n output: ResendListSegmentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACtF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACxE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;AAC1F,CAAC;AACD,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,SAAS,gCAAgC;
|
|
1
|
+
{"version":3,"file":"list-segments.cjs","names":["z","action"],"sources":["../../src/actions/list-segments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListSegmentsInput = z.object({\n after: z.string().describe(\"Return items after this cursor for pagination.\").optional(),\n limit: z.number().int().describe(\"Number of items to return.\").optional(),\n before: z.string().describe(\"Return items before this cursor for pagination.\").optional(),\n});\nconst ResendListSegments_SegmentSchema = z.object({\n id: z.string().describe(\"Unique segment identifier.\").nullable().optional(),\n name: z.string().describe(\"Name of the segment.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of segment creation in ISO 8601 format.\").nullable().optional(),\n audience_id: z.string().describe(\"The audience ID this segment belongs to.\").nullable().optional(),\n}).passthrough().describe(\"Segment object representation.\");\nexport const ResendListSegmentsOutput = z.object({\n data: z.array(ResendListSegments_SegmentSchema).describe(\"Array containing segment information.\").nullable().optional(),\n object: z.string().describe(\"Type of the response object, typically 'list'.\").nullable().optional(),\n has_more: z.boolean().describe(\"Indicates if there are more results available for pagination.\").nullable().optional(),\n}).passthrough();\n\nexport const resendListSegments = action(\"RESEND_LIST_SEGMENTS\", {\n slug: \"resend-list-segments\",\n name: \"List Segments\",\n description: \"Tool to retrieve a list of segments from Resend. Use when you need to view all available segments for audience management.\",\n input: ResendListSegmentsInput,\n output: ResendListSegmentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACtF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACxE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;AAC1F,CAAC;AACD,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gCAAgC;AAC1D,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -12,10 +12,10 @@ declare const ResendListSegmentsOutput: z.ZodObject<{
|
|
|
12
12
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
13
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
audience_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>>>>;
|
|
16
16
|
object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
has_more: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const resendListSegments: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
after?: string | undefined;
|
|
21
21
|
limit?: number | undefined;
|
|
@@ -12,10 +12,10 @@ declare const ResendListSegmentsOutput: z.ZodObject<{
|
|
|
12
12
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
13
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
audience_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>>>>;
|
|
16
16
|
object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
has_more: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const resendListSegments: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
after?: string | undefined;
|
|
21
21
|
limit?: number | undefined;
|