@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-domain.cjs","names":["z","action"],"sources":["../../src/actions/create-domain.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendCreateDomainInput = z.object({\n name: z.string().describe(\"The name of the domain to be created.\"),\n region: z.enum([\"us-east-1\", \"eu-west-1\", \"sa-east-1\", \"ap-northeast-1\"]).default(\"us-east-1\").describe(\"The region where emails will be sent from. Supported values: 'us-east-1', 'eu-west-1', 'sa-east-1'. Unsupported values cause validation errors.\").optional(),\n});\nconst ResendCreateDomain_DnsRecordSchema = z.object({\n ttl: z.string().describe(\"The TTL (time to live) for this record.\").nullable().optional(),\n name: z.string().describe(\"The DNS record name.\").nullable().optional(),\n type: z.string().describe(\"The DNS record type (TXT, MX).\").nullable().optional(),\n value: z.string().describe(\"The DNS record value.\").nullable().optional(),\n record: z.string().describe(\"The type of record (DKIM, SPF).\").nullable().optional(),\n status: z.string().describe(\"The verification status of this record.\").nullable().optional(),\n priority: z.number().int().describe(\"The priority for MX records.\").nullable().optional(),\n}).describe(\"DNS record information for domain verification.\");\nconst ResendCreateDomain_DomainCapabilitiesSchema = z.object({\n sending: z.string().describe(\"Whether sending emails is enabled or disabled for this domain.\").nullable().optional(),\n receiving: z.string().describe(\"Whether receiving emails is enabled or disabled for this domain.\").nullable().optional(),\n}).describe(\"Domain sending and receiving capabilities.\");\nexport const ResendCreateDomainOutput = z.object({\n id: z.string().describe(\"The id of the created domain.\").nullable().optional(),\n name: z.string().describe(\"The name of the created 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 creation (not_started, pending, verified, failed).\").nullable().optional(),\n records: z.array(ResendCreateDomain_DnsRecordSchema).describe(\"The DNS records that need to be configured for domain verification.\").nullable().optional(),\n created_at: z.string().describe(\"The creation timestamp of the domain.\").nullable().optional(),\n capabilities: ResendCreateDomain_DomainCapabilitiesSchema.nullable().optional(),\n});\n\nexport const resendCreateDomain = action(\"RESEND_CREATE_DOMAIN\", {\n slug: \"resend-create-domain\",\n name: \"Create Domain\",\n description: \"Create a domain through the Resend Email API. The domain is created in a pending/unverified state and cannot be used for sending emails until DNS verification is completed.\",\n input: ResendCreateDomainInput,\n output: ResendCreateDomainOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACjE,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAa;EAAa;EAAa;CAAgB,CAAC,CAAC,CAAC,QAAQ,WAAW,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS;AACtQ,CAAC;AACD,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,SAAS,iDAAiD;
|
|
1
|
+
{"version":3,"file":"create-domain.cjs","names":["z","action"],"sources":["../../src/actions/create-domain.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendCreateDomainInput = z.object({\n name: z.string().describe(\"The name of the domain to be created.\"),\n region: z.enum([\"us-east-1\", \"eu-west-1\", \"sa-east-1\", \"ap-northeast-1\"]).default(\"us-east-1\").describe(\"The region where emails will be sent from. Supported values: 'us-east-1', 'eu-west-1', 'sa-east-1'. Unsupported values cause validation errors.\").optional(),\n});\nconst ResendCreateDomain_DnsRecordSchema = z.object({\n ttl: z.string().describe(\"The TTL (time to live) for this record.\").nullable().optional(),\n name: z.string().describe(\"The DNS record name.\").nullable().optional(),\n type: z.string().describe(\"The DNS record type (TXT, MX).\").nullable().optional(),\n value: z.string().describe(\"The DNS record value.\").nullable().optional(),\n record: z.string().describe(\"The type of record (DKIM, SPF).\").nullable().optional(),\n status: z.string().describe(\"The verification status of this record.\").nullable().optional(),\n priority: z.number().int().describe(\"The priority for MX records.\").nullable().optional(),\n}).passthrough().describe(\"DNS record information for domain verification.\");\nconst ResendCreateDomain_DomainCapabilitiesSchema = z.object({\n sending: z.string().describe(\"Whether sending emails is enabled or disabled for this domain.\").nullable().optional(),\n receiving: z.string().describe(\"Whether receiving emails is enabled or disabled for this domain.\").nullable().optional(),\n}).passthrough().describe(\"Domain sending and receiving capabilities.\");\nexport const ResendCreateDomainOutput = z.object({\n id: z.string().describe(\"The id of the created domain.\").nullable().optional(),\n name: z.string().describe(\"The name of the created 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 creation (not_started, pending, verified, failed).\").nullable().optional(),\n records: z.array(ResendCreateDomain_DnsRecordSchema).describe(\"The DNS records that need to be configured for domain verification.\").nullable().optional(),\n created_at: z.string().describe(\"The creation timestamp of the domain.\").nullable().optional(),\n capabilities: ResendCreateDomain_DomainCapabilitiesSchema.nullable().optional(),\n}).passthrough();\n\nexport const resendCreateDomain = action(\"RESEND_CREATE_DOMAIN\", {\n slug: \"resend-create-domain\",\n name: \"Create Domain\",\n description: \"Create a domain through the Resend Email API. The domain is created in a pending/unverified state and cannot be used for sending emails until DNS verification is completed.\",\n input: ResendCreateDomainInput,\n output: ResendCreateDomainOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACjE,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAa;EAAa;EAAa;CAAgB,CAAC,CAAC,CAAC,QAAQ,WAAW,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS;AACtQ,CAAC;AACD,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAC3E,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,SAASA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,cAAc,4CAA4C,SAAS,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -23,13 +23,13 @@ declare const ResendCreateDomainOutput: z.ZodObject<{
|
|
|
23
23
|
record: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
24
|
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
25
|
priority: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
26
|
-
}, z.core.$
|
|
26
|
+
}, z.core.$loose>>>>;
|
|
27
27
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
28
|
capabilities: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
29
29
|
sending: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
30
|
receiving: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
-
}, z.core.$
|
|
32
|
-
}, z.core.$
|
|
31
|
+
}, z.core.$loose>>>;
|
|
32
|
+
}, z.core.$loose>;
|
|
33
33
|
declare const resendCreateDomain: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
34
34
|
name: string;
|
|
35
35
|
region?: "us-east-1" | "eu-west-1" | "sa-east-1" | "ap-northeast-1" | undefined;
|
|
@@ -23,13 +23,13 @@ declare const ResendCreateDomainOutput: z.ZodObject<{
|
|
|
23
23
|
record: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
24
|
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
25
|
priority: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
26
|
-
}, z.core.$
|
|
26
|
+
}, z.core.$loose>>>>;
|
|
27
27
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
28
|
capabilities: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
29
29
|
sending: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
30
|
receiving: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
-
}, z.core.$
|
|
32
|
-
}, z.core.$
|
|
31
|
+
}, z.core.$loose>>>;
|
|
32
|
+
}, z.core.$loose>;
|
|
33
33
|
declare const resendCreateDomain: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
34
34
|
name: string;
|
|
35
35
|
region?: "us-east-1" | "eu-west-1" | "sa-east-1" | "ap-northeast-1" | undefined;
|
|
@@ -18,11 +18,11 @@ const ResendCreateDomain_DnsRecordSchema = z.object({
|
|
|
18
18
|
record: z.string().describe("The type of record (DKIM, SPF).").nullable().optional(),
|
|
19
19
|
status: z.string().describe("The verification status of this record.").nullable().optional(),
|
|
20
20
|
priority: z.number().int().describe("The priority for MX records.").nullable().optional()
|
|
21
|
-
}).describe("DNS record information for domain verification.");
|
|
21
|
+
}).passthrough().describe("DNS record information for domain verification.");
|
|
22
22
|
const ResendCreateDomain_DomainCapabilitiesSchema = z.object({
|
|
23
23
|
sending: z.string().describe("Whether sending emails is enabled or disabled for this domain.").nullable().optional(),
|
|
24
24
|
receiving: z.string().describe("Whether receiving emails is enabled or disabled for this domain.").nullable().optional()
|
|
25
|
-
}).describe("Domain sending and receiving capabilities.");
|
|
25
|
+
}).passthrough().describe("Domain sending and receiving capabilities.");
|
|
26
26
|
const resendCreateDomain = action("RESEND_CREATE_DOMAIN", {
|
|
27
27
|
slug: "resend-create-domain",
|
|
28
28
|
name: "Create Domain",
|
|
@@ -36,7 +36,7 @@ const resendCreateDomain = action("RESEND_CREATE_DOMAIN", {
|
|
|
36
36
|
records: z.array(ResendCreateDomain_DnsRecordSchema).describe("The DNS records that need to be configured for domain verification.").nullable().optional(),
|
|
37
37
|
created_at: z.string().describe("The creation timestamp of the domain.").nullable().optional(),
|
|
38
38
|
capabilities: ResendCreateDomain_DomainCapabilitiesSchema.nullable().optional()
|
|
39
|
-
})
|
|
39
|
+
}).passthrough()
|
|
40
40
|
});
|
|
41
41
|
//#endregion
|
|
42
42
|
export { resendCreateDomain };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-domain.mjs","names":[],"sources":["../../src/actions/create-domain.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendCreateDomainInput = z.object({\n name: z.string().describe(\"The name of the domain to be created.\"),\n region: z.enum([\"us-east-1\", \"eu-west-1\", \"sa-east-1\", \"ap-northeast-1\"]).default(\"us-east-1\").describe(\"The region where emails will be sent from. Supported values: 'us-east-1', 'eu-west-1', 'sa-east-1'. Unsupported values cause validation errors.\").optional(),\n});\nconst ResendCreateDomain_DnsRecordSchema = z.object({\n ttl: z.string().describe(\"The TTL (time to live) for this record.\").nullable().optional(),\n name: z.string().describe(\"The DNS record name.\").nullable().optional(),\n type: z.string().describe(\"The DNS record type (TXT, MX).\").nullable().optional(),\n value: z.string().describe(\"The DNS record value.\").nullable().optional(),\n record: z.string().describe(\"The type of record (DKIM, SPF).\").nullable().optional(),\n status: z.string().describe(\"The verification status of this record.\").nullable().optional(),\n priority: z.number().int().describe(\"The priority for MX records.\").nullable().optional(),\n}).describe(\"DNS record information for domain verification.\");\nconst ResendCreateDomain_DomainCapabilitiesSchema = z.object({\n sending: z.string().describe(\"Whether sending emails is enabled or disabled for this domain.\").nullable().optional(),\n receiving: z.string().describe(\"Whether receiving emails is enabled or disabled for this domain.\").nullable().optional(),\n}).describe(\"Domain sending and receiving capabilities.\");\nexport const ResendCreateDomainOutput = z.object({\n id: z.string().describe(\"The id of the created domain.\").nullable().optional(),\n name: z.string().describe(\"The name of the created 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 creation (not_started, pending, verified, failed).\").nullable().optional(),\n records: z.array(ResendCreateDomain_DnsRecordSchema).describe(\"The DNS records that need to be configured for domain verification.\").nullable().optional(),\n created_at: z.string().describe(\"The creation timestamp of the domain.\").nullable().optional(),\n capabilities: ResendCreateDomain_DomainCapabilitiesSchema.nullable().optional(),\n});\n\nexport const resendCreateDomain = action(\"RESEND_CREATE_DOMAIN\", {\n slug: \"resend-create-domain\",\n name: \"Create Domain\",\n description: \"Create a domain through the Resend Email API. The domain is created in a pending/unverified state and cannot be used for sending emails until DNS verification is completed.\",\n input: ResendCreateDomainInput,\n output: ResendCreateDomainOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACjE,QAAQ,EAAE,KAAK;EAAC;EAAa;EAAa;EAAa;CAAgB,CAAC,CAAC,CAAC,QAAQ,WAAW,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS;AACtQ,CAAC;AACD,MAAM,qCAAqC,EAAE,OAAO;CAClD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,SAAS,iDAAiD;
|
|
1
|
+
{"version":3,"file":"create-domain.mjs","names":[],"sources":["../../src/actions/create-domain.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendCreateDomainInput = z.object({\n name: z.string().describe(\"The name of the domain to be created.\"),\n region: z.enum([\"us-east-1\", \"eu-west-1\", \"sa-east-1\", \"ap-northeast-1\"]).default(\"us-east-1\").describe(\"The region where emails will be sent from. Supported values: 'us-east-1', 'eu-west-1', 'sa-east-1'. Unsupported values cause validation errors.\").optional(),\n});\nconst ResendCreateDomain_DnsRecordSchema = z.object({\n ttl: z.string().describe(\"The TTL (time to live) for this record.\").nullable().optional(),\n name: z.string().describe(\"The DNS record name.\").nullable().optional(),\n type: z.string().describe(\"The DNS record type (TXT, MX).\").nullable().optional(),\n value: z.string().describe(\"The DNS record value.\").nullable().optional(),\n record: z.string().describe(\"The type of record (DKIM, SPF).\").nullable().optional(),\n status: z.string().describe(\"The verification status of this record.\").nullable().optional(),\n priority: z.number().int().describe(\"The priority for MX records.\").nullable().optional(),\n}).passthrough().describe(\"DNS record information for domain verification.\");\nconst ResendCreateDomain_DomainCapabilitiesSchema = z.object({\n sending: z.string().describe(\"Whether sending emails is enabled or disabled for this domain.\").nullable().optional(),\n receiving: z.string().describe(\"Whether receiving emails is enabled or disabled for this domain.\").nullable().optional(),\n}).passthrough().describe(\"Domain sending and receiving capabilities.\");\nexport const ResendCreateDomainOutput = z.object({\n id: z.string().describe(\"The id of the created domain.\").nullable().optional(),\n name: z.string().describe(\"The name of the created 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 creation (not_started, pending, verified, failed).\").nullable().optional(),\n records: z.array(ResendCreateDomain_DnsRecordSchema).describe(\"The DNS records that need to be configured for domain verification.\").nullable().optional(),\n created_at: z.string().describe(\"The creation timestamp of the domain.\").nullable().optional(),\n capabilities: ResendCreateDomain_DomainCapabilitiesSchema.nullable().optional(),\n}).passthrough();\n\nexport const resendCreateDomain = action(\"RESEND_CREATE_DOMAIN\", {\n slug: \"resend-create-domain\",\n name: \"Create Domain\",\n description: \"Create a domain through the Resend Email API. The domain is created in a pending/unverified state and cannot be used for sending emails until DNS verification is completed.\",\n input: ResendCreateDomainInput,\n output: ResendCreateDomainOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACjE,QAAQ,EAAE,KAAK;EAAC;EAAa;EAAa;EAAa;CAAgB,CAAC,CAAC,CAAC,QAAQ,WAAW,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS;AACtQ,CAAC;AACD,MAAM,qCAAqC,EAAE,OAAO;CAClD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAC3E,MAAM,8CAA8C,EAAE,OAAO;CAC3D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAWtE,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAfsC,EAAE,OAAO;EAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/H,SAAS,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzJ,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,cAAc,4CAA4C,SAAS,CAAC,CAAC,SAAS;CAChF,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -17,12 +17,12 @@ const ResendCreateTemplateInput = zod.z.object({
|
|
|
17
17
|
zod.z.number().int(),
|
|
18
18
|
zod.z.number()
|
|
19
19
|
]).optional()
|
|
20
|
-
}).describe("Template variable definition.")).describe("Template variables. Up to 50 variables can be defined per template.").optional()
|
|
20
|
+
}).passthrough().describe("Template variable definition.")).describe("Template variables. Up to 50 variables can be defined per template.").optional()
|
|
21
21
|
});
|
|
22
22
|
const ResendCreateTemplateOutput = zod.z.object({
|
|
23
23
|
id: zod.z.string().describe("The ID of the created template.").nullable().optional(),
|
|
24
24
|
object: zod.z.string().describe("The type of object, which is 'template'.").nullable().optional()
|
|
25
|
-
});
|
|
25
|
+
}).passthrough();
|
|
26
26
|
const resendCreateTemplate = require_action.action("RESEND_CREATE_TEMPLATE", {
|
|
27
27
|
slug: "resend-create-template",
|
|
28
28
|
name: "Create Template",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-template.cjs","names":["z","action"],"sources":["../../src/actions/create-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendCreateTemplateInput = z.object({\n from: z.string().describe(\"Sender email address. To include a friendly name, use the format 'Your Name <sender@domain.com>'.\").optional(),\n html: z.string().describe(\"The HTML version of the template. Use {{VARIABLE_NAME}} syntax to reference template variables.\"),\n name: z.string().describe(\"The name of the template.\"),\n text: z.string().describe(\"The plain text version of the template. If omitted, Resend will auto-generate from HTML.\").optional(),\n alias: z.string().describe(\"The alias of the template. This is an optional identifier that can be used instead of the template ID.\").optional(),\n subject: z.string().describe(\"Email subject for the template.\").optional(),\n reply_to: z.union([z.string(), z.array(z.string())]).optional(),\n variables: z.array(z.object({\n key: z.string().describe(\"The key of the variable. Recommended to use capitalized format (e.g., PRODUCT_NAME). Reserved names: FIRST_NAME, LAST_NAME, EMAIL, RESEND_UNSUBSCRIBE_URL, contact, this.\"),\n type: z.enum([\"string\", \"number\"]).describe(\"The type of the variable, either 'string' or 'number'.\"),\n fallback_value: z.union([z.string(), z.number().int(), z.number()]).optional(),\n}).describe(\"Template variable definition.\")).describe(\"Template variables. Up to 50 variables can be defined per template.\").optional(),\n});\nexport const ResendCreateTemplateOutput = z.object({\n id: z.string().describe(\"The ID of the created template.\").nullable().optional(),\n object: z.string().describe(\"The type of object, which is 'template'.\").nullable().optional(),\n});\n\nexport const resendCreateTemplate = action(\"RESEND_CREATE_TEMPLATE\", {\n slug: \"resend-create-template\",\n name: \"Create Template\",\n description: \"Tool to create a new email template in Resend. Use when you need to define reusable email templates with optional variables.\",\n input: ResendCreateTemplateInput,\n output: ResendCreateTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;CACxI,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG;CAC3H,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CAC/H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;CAC9I,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACzE,UAAUA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS;CAC9D,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC5B,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2KAA2K;EACpM,MAAMA,IAAAA,EAAE,KAAK,CAAC,UAAU,QAAQ,CAAC,CAAC,CAAC,SAAS,wDAAwD;EACpG,gBAAgBA,IAAAA,EAAE,MAAM;GAACA,IAAAA,EAAE,OAAO;GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;GAAGA,IAAAA,EAAE,OAAO;EAAC,CAAC,CAAC,CAAC,SAAS;CAC/E,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;
|
|
1
|
+
{"version":3,"file":"create-template.cjs","names":["z","action"],"sources":["../../src/actions/create-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendCreateTemplateInput = z.object({\n from: z.string().describe(\"Sender email address. To include a friendly name, use the format 'Your Name <sender@domain.com>'.\").optional(),\n html: z.string().describe(\"The HTML version of the template. Use {{VARIABLE_NAME}} syntax to reference template variables.\"),\n name: z.string().describe(\"The name of the template.\"),\n text: z.string().describe(\"The plain text version of the template. If omitted, Resend will auto-generate from HTML.\").optional(),\n alias: z.string().describe(\"The alias of the template. This is an optional identifier that can be used instead of the template ID.\").optional(),\n subject: z.string().describe(\"Email subject for the template.\").optional(),\n reply_to: z.union([z.string(), z.array(z.string())]).optional(),\n variables: z.array(z.object({\n key: z.string().describe(\"The key of the variable. Recommended to use capitalized format (e.g., PRODUCT_NAME). Reserved names: FIRST_NAME, LAST_NAME, EMAIL, RESEND_UNSUBSCRIBE_URL, contact, this.\"),\n type: z.enum([\"string\", \"number\"]).describe(\"The type of the variable, either 'string' or 'number'.\"),\n fallback_value: z.union([z.string(), z.number().int(), z.number()]).optional(),\n}).passthrough().describe(\"Template variable definition.\")).describe(\"Template variables. Up to 50 variables can be defined per template.\").optional(),\n});\nexport const ResendCreateTemplateOutput = z.object({\n id: z.string().describe(\"The ID of the created template.\").nullable().optional(),\n object: z.string().describe(\"The type of object, which is 'template'.\").nullable().optional(),\n}).passthrough();\n\nexport const resendCreateTemplate = action(\"RESEND_CREATE_TEMPLATE\", {\n slug: \"resend-create-template\",\n name: \"Create Template\",\n description: \"Tool to create a new email template in Resend. Use when you need to define reusable email templates with optional variables.\",\n input: ResendCreateTemplateInput,\n output: ResendCreateTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;CACxI,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG;CAC3H,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CAC/H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;CAC9I,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACzE,UAAUA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS;CAC9D,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC5B,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2KAA2K;EACpM,MAAMA,IAAAA,EAAE,KAAK,CAAC,UAAU,QAAQ,CAAC,CAAC,CAAC,SAAS,wDAAwD;EACpG,gBAAgBA,IAAAA,EAAE,MAAM;GAACA,IAAAA,EAAE,OAAO;GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;GAAGA,IAAAA,EAAE,OAAO;EAAC,CAAC,CAAC,CAAC,SAAS;CAC/E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;AACrJ,CAAC;AACD,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -16,12 +16,12 @@ declare const ResendCreateTemplateInput: z.ZodObject<{
|
|
|
16
16
|
number: "number";
|
|
17
17
|
}>;
|
|
18
18
|
fallback_value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber]>>;
|
|
19
|
-
}, z.core.$
|
|
19
|
+
}, z.core.$loose>>>;
|
|
20
20
|
}, z.core.$strip>;
|
|
21
21
|
declare const ResendCreateTemplateOutput: z.ZodObject<{
|
|
22
22
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
23
|
object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
-
}, z.core.$
|
|
24
|
+
}, z.core.$loose>;
|
|
25
25
|
declare const resendCreateTemplate: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
26
26
|
html: string;
|
|
27
27
|
name: string;
|
|
@@ -31,6 +31,7 @@ declare const resendCreateTemplate: import("@keystrokehq/action").WorkflowAction
|
|
|
31
31
|
subject?: string | undefined;
|
|
32
32
|
reply_to?: string | string[] | undefined;
|
|
33
33
|
variables?: {
|
|
34
|
+
[x: string]: unknown;
|
|
34
35
|
key: string;
|
|
35
36
|
type: "string" | "number";
|
|
36
37
|
fallback_value?: string | number | undefined;
|
|
@@ -16,12 +16,12 @@ declare const ResendCreateTemplateInput: z.ZodObject<{
|
|
|
16
16
|
number: "number";
|
|
17
17
|
}>;
|
|
18
18
|
fallback_value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber]>>;
|
|
19
|
-
}, z.core.$
|
|
19
|
+
}, z.core.$loose>>>;
|
|
20
20
|
}, z.core.$strip>;
|
|
21
21
|
declare const ResendCreateTemplateOutput: z.ZodObject<{
|
|
22
22
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
23
|
object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
-
}, z.core.$
|
|
24
|
+
}, z.core.$loose>;
|
|
25
25
|
declare const resendCreateTemplate: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
26
26
|
html: string;
|
|
27
27
|
name: string;
|
|
@@ -31,6 +31,7 @@ declare const resendCreateTemplate: import("@keystrokehq/action").WorkflowAction
|
|
|
31
31
|
subject?: string | undefined;
|
|
32
32
|
reply_to?: string | string[] | undefined;
|
|
33
33
|
variables?: {
|
|
34
|
+
[x: string]: unknown;
|
|
34
35
|
key: string;
|
|
35
36
|
type: "string" | "number";
|
|
36
37
|
fallback_value?: string | number | undefined;
|
|
@@ -20,12 +20,12 @@ const resendCreateTemplate = action("RESEND_CREATE_TEMPLATE", {
|
|
|
20
20
|
z.number().int(),
|
|
21
21
|
z.number()
|
|
22
22
|
]).optional()
|
|
23
|
-
}).describe("Template variable definition.")).describe("Template variables. Up to 50 variables can be defined per template.").optional()
|
|
23
|
+
}).passthrough().describe("Template variable definition.")).describe("Template variables. Up to 50 variables can be defined per template.").optional()
|
|
24
24
|
}),
|
|
25
25
|
output: z.object({
|
|
26
26
|
id: z.string().describe("The ID of the created template.").nullable().optional(),
|
|
27
27
|
object: z.string().describe("The type of object, which is 'template'.").nullable().optional()
|
|
28
|
-
})
|
|
28
|
+
}).passthrough()
|
|
29
29
|
});
|
|
30
30
|
//#endregion
|
|
31
31
|
export { resendCreateTemplate };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-template.mjs","names":[],"sources":["../../src/actions/create-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendCreateTemplateInput = z.object({\n from: z.string().describe(\"Sender email address. To include a friendly name, use the format 'Your Name <sender@domain.com>'.\").optional(),\n html: z.string().describe(\"The HTML version of the template. Use {{VARIABLE_NAME}} syntax to reference template variables.\"),\n name: z.string().describe(\"The name of the template.\"),\n text: z.string().describe(\"The plain text version of the template. If omitted, Resend will auto-generate from HTML.\").optional(),\n alias: z.string().describe(\"The alias of the template. This is an optional identifier that can be used instead of the template ID.\").optional(),\n subject: z.string().describe(\"Email subject for the template.\").optional(),\n reply_to: z.union([z.string(), z.array(z.string())]).optional(),\n variables: z.array(z.object({\n key: z.string().describe(\"The key of the variable. Recommended to use capitalized format (e.g., PRODUCT_NAME). Reserved names: FIRST_NAME, LAST_NAME, EMAIL, RESEND_UNSUBSCRIBE_URL, contact, this.\"),\n type: z.enum([\"string\", \"number\"]).describe(\"The type of the variable, either 'string' or 'number'.\"),\n fallback_value: z.union([z.string(), z.number().int(), z.number()]).optional(),\n}).describe(\"Template variable definition.\")).describe(\"Template variables. Up to 50 variables can be defined per template.\").optional(),\n});\nexport const ResendCreateTemplateOutput = z.object({\n id: z.string().describe(\"The ID of the created template.\").nullable().optional(),\n object: z.string().describe(\"The type of object, which is 'template'.\").nullable().optional(),\n});\n\nexport const resendCreateTemplate = action(\"RESEND_CREATE_TEMPLATE\", {\n slug: \"resend-create-template\",\n name: \"Create Template\",\n description: \"Tool to create a new email template in Resend. Use when you need to define reusable email templates with optional variables.\",\n input: ResendCreateTemplateInput,\n output: ResendCreateTemplateOutput,\n});\n"],"mappings":";;AAuBA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvBuC,EAAE,OAAO;EAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;EACxI,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG;EAC3H,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;EAC/H,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;EAC9I,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACzE,UAAU,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS;EAC9D,WAAW,EAAE,MAAM,EAAE,OAAO;GAC5B,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2KAA2K;GACpM,MAAM,EAAE,KAAK,CAAC,UAAU,QAAQ,CAAC,CAAC,CAAC,SAAS,wDAAwD;GACpG,gBAAgB,EAAE,MAAM;IAAC,EAAE,OAAO;IAAG,EAAE,OAAO,CAAC,CAAC,IAAI;IAAG,EAAE,OAAO;GAAC,CAAC,CAAC,CAAC,SAAS;EAC/E,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;
|
|
1
|
+
{"version":3,"file":"create-template.mjs","names":[],"sources":["../../src/actions/create-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendCreateTemplateInput = z.object({\n from: z.string().describe(\"Sender email address. To include a friendly name, use the format 'Your Name <sender@domain.com>'.\").optional(),\n html: z.string().describe(\"The HTML version of the template. Use {{VARIABLE_NAME}} syntax to reference template variables.\"),\n name: z.string().describe(\"The name of the template.\"),\n text: z.string().describe(\"The plain text version of the template. If omitted, Resend will auto-generate from HTML.\").optional(),\n alias: z.string().describe(\"The alias of the template. This is an optional identifier that can be used instead of the template ID.\").optional(),\n subject: z.string().describe(\"Email subject for the template.\").optional(),\n reply_to: z.union([z.string(), z.array(z.string())]).optional(),\n variables: z.array(z.object({\n key: z.string().describe(\"The key of the variable. Recommended to use capitalized format (e.g., PRODUCT_NAME). Reserved names: FIRST_NAME, LAST_NAME, EMAIL, RESEND_UNSUBSCRIBE_URL, contact, this.\"),\n type: z.enum([\"string\", \"number\"]).describe(\"The type of the variable, either 'string' or 'number'.\"),\n fallback_value: z.union([z.string(), z.number().int(), z.number()]).optional(),\n}).passthrough().describe(\"Template variable definition.\")).describe(\"Template variables. Up to 50 variables can be defined per template.\").optional(),\n});\nexport const ResendCreateTemplateOutput = z.object({\n id: z.string().describe(\"The ID of the created template.\").nullable().optional(),\n object: z.string().describe(\"The type of object, which is 'template'.\").nullable().optional(),\n}).passthrough();\n\nexport const resendCreateTemplate = action(\"RESEND_CREATE_TEMPLATE\", {\n slug: \"resend-create-template\",\n name: \"Create Template\",\n description: \"Tool to create a new email template in Resend. Use when you need to define reusable email templates with optional variables.\",\n input: ResendCreateTemplateInput,\n output: ResendCreateTemplateOutput,\n});\n"],"mappings":";;AAuBA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvBuC,EAAE,OAAO;EAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;EACxI,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG;EAC3H,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;EAC/H,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;EAC9I,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACzE,UAAU,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS;EAC9D,WAAW,EAAE,MAAM,EAAE,OAAO;GAC5B,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2KAA2K;GACpM,MAAM,EAAE,KAAK,CAAC,UAAU,QAAQ,CAAC,CAAC,CAAC,SAAS,wDAAwD;GACpG,gBAAgB,EAAE,MAAM;IAAC,EAAE,OAAO;IAAG,EAAE,OAAO,CAAC,CAAC,IAAI;IAAG,EAAE,OAAO;GAAC,CAAC,CAAC,CAAC,SAAS;EAC/E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CACrJ,CAUS;CACP,QAVwC,EAAE,OAAO;EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -10,7 +10,7 @@ const ResendCreateTopicInput = zod.z.object({
|
|
|
10
10
|
const ResendCreateTopicOutput = zod.z.object({
|
|
11
11
|
id: zod.z.string().describe("The ID of the topic.").nullable().optional(),
|
|
12
12
|
object: zod.z.string().describe("The object type of the response.").nullable().optional()
|
|
13
|
-
});
|
|
13
|
+
}).passthrough();
|
|
14
14
|
const resendCreateTopic = require_action.action("RESEND_CREATE_TOPIC", {
|
|
15
15
|
slug: "resend-create-topic",
|
|
16
16
|
name: "Create Topic",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-topic.cjs","names":["z","action"],"sources":["../../src/actions/create-topic.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendCreateTopicInput = z.object({\n name: z.string().describe(\"The topic name. Max length is 50 characters.\"),\n visibility: z.enum([\"public\", \"private\"]).describe(\"Topic visibility on the unsubscribe page.\").optional(),\n description: z.string().describe(\"The topic description. Max length is 200 characters.\").optional(),\n defaultSubscription: z.enum([\"opt_in\", \"opt_out\"]).describe(\"The default subscription preference for new contacts. Accepts opt_in or opt_out. This value cannot be modified afterwards.\"),\n});\nexport const ResendCreateTopicOutput = z.object({\n id: z.string().describe(\"The ID of the topic.\").nullable().optional(),\n object: z.string().describe(\"The object type of the response.\").nullable().optional(),\n});\n\nexport const resendCreateTopic = action(\"RESEND_CREATE_TOPIC\", {\n slug: \"resend-create-topic\",\n name: \"Create Topic\",\n description: \"Tool to create a new topic to segment your audience. Use when you need to create a topic for organizing contacts by interests or preferences.\",\n input: ResendCreateTopicInput,\n output: ResendCreateTopicOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CACxE,YAAYA,IAAAA,EAAE,KAAK,CAAC,UAAU,SAAS,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACzG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAClG,qBAAqBA,IAAAA,EAAE,KAAK,CAAC,UAAU,SAAS,CAAC,CAAC,CAAC,SAAS,4HAA4H;AAC1L,CAAC;AACD,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC;
|
|
1
|
+
{"version":3,"file":"create-topic.cjs","names":["z","action"],"sources":["../../src/actions/create-topic.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendCreateTopicInput = z.object({\n name: z.string().describe(\"The topic name. Max length is 50 characters.\"),\n visibility: z.enum([\"public\", \"private\"]).describe(\"Topic visibility on the unsubscribe page.\").optional(),\n description: z.string().describe(\"The topic description. Max length is 200 characters.\").optional(),\n defaultSubscription: z.enum([\"opt_in\", \"opt_out\"]).describe(\"The default subscription preference for new contacts. Accepts opt_in or opt_out. This value cannot be modified afterwards.\"),\n});\nexport const ResendCreateTopicOutput = z.object({\n id: z.string().describe(\"The ID of the topic.\").nullable().optional(),\n object: z.string().describe(\"The object type of the response.\").nullable().optional(),\n}).passthrough();\n\nexport const resendCreateTopic = action(\"RESEND_CREATE_TOPIC\", {\n slug: \"resend-create-topic\",\n name: \"Create Topic\",\n description: \"Tool to create a new topic to segment your audience. Use when you need to create a topic for organizing contacts by interests or preferences.\",\n input: ResendCreateTopicInput,\n output: ResendCreateTopicOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CACxE,YAAYA,IAAAA,EAAE,KAAK,CAAC,UAAU,SAAS,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACzG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAClG,qBAAqBA,IAAAA,EAAE,KAAK,CAAC,UAAU,SAAS,CAAC,CAAC,CAAC,SAAS,4HAA4H;AAC1L,CAAC;AACD,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -16,7 +16,7 @@ declare const ResendCreateTopicInput: z.ZodObject<{
|
|
|
16
16
|
declare const ResendCreateTopicOutput: z.ZodObject<{
|
|
17
17
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
-
}, z.core.$
|
|
19
|
+
}, z.core.$loose>;
|
|
20
20
|
declare const resendCreateTopic: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
21
21
|
name: string;
|
|
22
22
|
defaultSubscription: "opt_in" | "opt_out";
|
|
@@ -16,7 +16,7 @@ declare const ResendCreateTopicInput: z.ZodObject<{
|
|
|
16
16
|
declare const ResendCreateTopicOutput: z.ZodObject<{
|
|
17
17
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
-
}, z.core.$
|
|
19
|
+
}, z.core.$loose>;
|
|
20
20
|
declare const resendCreateTopic: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
21
21
|
name: string;
|
|
22
22
|
defaultSubscription: "opt_in" | "opt_out";
|
|
@@ -13,7 +13,7 @@ const resendCreateTopic = action("RESEND_CREATE_TOPIC", {
|
|
|
13
13
|
output: z.object({
|
|
14
14
|
id: z.string().describe("The ID of the topic.").nullable().optional(),
|
|
15
15
|
object: z.string().describe("The object type of the response.").nullable().optional()
|
|
16
|
-
})
|
|
16
|
+
}).passthrough()
|
|
17
17
|
});
|
|
18
18
|
//#endregion
|
|
19
19
|
export { resendCreateTopic };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-topic.mjs","names":[],"sources":["../../src/actions/create-topic.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendCreateTopicInput = z.object({\n name: z.string().describe(\"The topic name. Max length is 50 characters.\"),\n visibility: z.enum([\"public\", \"private\"]).describe(\"Topic visibility on the unsubscribe page.\").optional(),\n description: z.string().describe(\"The topic description. Max length is 200 characters.\").optional(),\n defaultSubscription: z.enum([\"opt_in\", \"opt_out\"]).describe(\"The default subscription preference for new contacts. Accepts opt_in or opt_out. This value cannot be modified afterwards.\"),\n});\nexport const ResendCreateTopicOutput = z.object({\n id: z.string().describe(\"The ID of the topic.\").nullable().optional(),\n object: z.string().describe(\"The object type of the response.\").nullable().optional(),\n});\n\nexport const resendCreateTopic = action(\"RESEND_CREATE_TOPIC\", {\n slug: \"resend-create-topic\",\n name: \"Create Topic\",\n description: \"Tool to create a new topic to segment your audience. Use when you need to create a topic for organizing contacts by interests or preferences.\",\n input: ResendCreateTopicInput,\n output: ResendCreateTopicOutput,\n});\n"],"mappings":";;AAeA,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfoC,EAAE,OAAO;EAC7C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;EACxE,YAAY,EAAE,KAAK,CAAC,UAAU,SAAS,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EACzG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EAClG,qBAAqB,EAAE,KAAK,CAAC,UAAU,SAAS,CAAC,CAAC,CAAC,SAAS,4HAA4H;CAC1L,CAUS;CACP,QAVqC,EAAE,OAAO;EAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,
|
|
1
|
+
{"version":3,"file":"create-topic.mjs","names":[],"sources":["../../src/actions/create-topic.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendCreateTopicInput = z.object({\n name: z.string().describe(\"The topic name. Max length is 50 characters.\"),\n visibility: z.enum([\"public\", \"private\"]).describe(\"Topic visibility on the unsubscribe page.\").optional(),\n description: z.string().describe(\"The topic description. Max length is 200 characters.\").optional(),\n defaultSubscription: z.enum([\"opt_in\", \"opt_out\"]).describe(\"The default subscription preference for new contacts. Accepts opt_in or opt_out. This value cannot be modified afterwards.\"),\n});\nexport const ResendCreateTopicOutput = z.object({\n id: z.string().describe(\"The ID of the topic.\").nullable().optional(),\n object: z.string().describe(\"The object type of the response.\").nullable().optional(),\n}).passthrough();\n\nexport const resendCreateTopic = action(\"RESEND_CREATE_TOPIC\", {\n slug: \"resend-create-topic\",\n name: \"Create Topic\",\n description: \"Tool to create a new topic to segment your audience. Use when you need to create a topic for organizing contacts by interests or preferences.\",\n input: ResendCreateTopicInput,\n output: ResendCreateTopicOutput,\n});\n"],"mappings":";;AAeA,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfoC,EAAE,OAAO;EAC7C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;EACxE,YAAY,EAAE,KAAK,CAAC,UAAU,SAAS,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EACzG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EAClG,qBAAqB,EAAE,KAAK,CAAC,UAAU,SAAS,CAAC,CAAC,CAAC,SAAS,4HAA4H;CAC1L,CAUS;CACP,QAVqC,EAAE,OAAO;EAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -9,7 +9,7 @@ const ResendCreateWebhookOutput = zod.z.object({
|
|
|
9
9
|
id: zod.z.string().describe("The unique identifier of the created webhook.").nullable().optional(),
|
|
10
10
|
object: zod.z.string().describe("The type of object, typically 'webhook'.").nullable().optional(),
|
|
11
11
|
signing_secret: zod.z.string().describe("The secret key used to verify webhook payloads. Store this securely as it won't be shown again.").nullable().optional()
|
|
12
|
-
});
|
|
12
|
+
}).passthrough();
|
|
13
13
|
const resendCreateWebhook = require_action.action("RESEND_CREATE_WEBHOOK", {
|
|
14
14
|
slug: "resend-create-webhook",
|
|
15
15
|
name: "Create Webhook",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-webhook.cjs","names":["z","action"],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendCreateWebhookInput = z.object({\n events: z.array(z.string()).describe(\"Array of event types to subscribe to. Common events include: 'email.sent', 'email.delivered', 'email.delivery_delayed', 'email.complained', 'email.bounced', 'email.opened', 'email.clicked'. Must include at least one event.\"),\n endpoint: z.string().describe(\"The URL where webhook events will be sent. Must be a valid HTTPS endpoint.\"),\n});\nexport const ResendCreateWebhookOutput = z.object({\n id: z.string().describe(\"The unique identifier of the created webhook.\").nullable().optional(),\n object: z.string().describe(\"The type of object, typically 'webhook'.\").nullable().optional(),\n signing_secret: z.string().describe(\"The secret key used to verify webhook payloads. Store this securely as it won't be shown again.\").nullable().optional(),\n});\n\nexport const resendCreateWebhook = action(\"RESEND_CREATE_WEBHOOK\", {\n slug: \"resend-create-webhook\",\n name: \"Create Webhook\",\n description: \"Tool to create a webhook to receive real-time notifications about email events. Use when you need to set up automated notifications for email status changes.\",\n input: ResendCreateWebhookInput,\n output: ResendCreateWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gOAAgO;CACrQ,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E;AAC5G,CAAC;AACD,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7J,CAAC;
|
|
1
|
+
{"version":3,"file":"create-webhook.cjs","names":["z","action"],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendCreateWebhookInput = z.object({\n events: z.array(z.string()).describe(\"Array of event types to subscribe to. Common events include: 'email.sent', 'email.delivered', 'email.delivery_delayed', 'email.complained', 'email.bounced', 'email.opened', 'email.clicked'. Must include at least one event.\"),\n endpoint: z.string().describe(\"The URL where webhook events will be sent. Must be a valid HTTPS endpoint.\"),\n});\nexport const ResendCreateWebhookOutput = z.object({\n id: z.string().describe(\"The unique identifier of the created webhook.\").nullable().optional(),\n object: z.string().describe(\"The type of object, typically 'webhook'.\").nullable().optional(),\n signing_secret: z.string().describe(\"The secret key used to verify webhook payloads. Store this securely as it won't be shown again.\").nullable().optional(),\n}).passthrough();\n\nexport const resendCreateWebhook = action(\"RESEND_CREATE_WEBHOOK\", {\n slug: \"resend-create-webhook\",\n name: \"Create Webhook\",\n description: \"Tool to create a webhook to receive real-time notifications about email events. Use when you need to set up automated notifications for email status changes.\",\n input: ResendCreateWebhookInput,\n output: ResendCreateWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gOAAgO;CACrQ,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E;AAC5G,CAAC;AACD,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7J,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -9,7 +9,7 @@ declare const ResendCreateWebhookOutput: z.ZodObject<{
|
|
|
9
9
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
10
|
object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
11
|
signing_secret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>;
|
|
13
13
|
declare const resendCreateWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
14
|
events: string[];
|
|
15
15
|
endpoint: string;
|
|
@@ -9,7 +9,7 @@ declare const ResendCreateWebhookOutput: z.ZodObject<{
|
|
|
9
9
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
10
|
object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
11
|
signing_secret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>;
|
|
13
13
|
declare const resendCreateWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
14
|
events: string[];
|
|
15
15
|
endpoint: string;
|
|
@@ -12,7 +12,7 @@ const resendCreateWebhook = action("RESEND_CREATE_WEBHOOK", {
|
|
|
12
12
|
id: z.string().describe("The unique identifier of the created webhook.").nullable().optional(),
|
|
13
13
|
object: z.string().describe("The type of object, typically 'webhook'.").nullable().optional(),
|
|
14
14
|
signing_secret: z.string().describe("The secret key used to verify webhook payloads. Store this securely as it won't be shown again.").nullable().optional()
|
|
15
|
-
})
|
|
15
|
+
}).passthrough()
|
|
16
16
|
});
|
|
17
17
|
//#endregion
|
|
18
18
|
export { resendCreateWebhook };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-webhook.mjs","names":[],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendCreateWebhookInput = z.object({\n events: z.array(z.string()).describe(\"Array of event types to subscribe to. Common events include: 'email.sent', 'email.delivered', 'email.delivery_delayed', 'email.complained', 'email.bounced', 'email.opened', 'email.clicked'. Must include at least one event.\"),\n endpoint: z.string().describe(\"The URL where webhook events will be sent. Must be a valid HTTPS endpoint.\"),\n});\nexport const ResendCreateWebhookOutput = z.object({\n id: z.string().describe(\"The unique identifier of the created webhook.\").nullable().optional(),\n object: z.string().describe(\"The type of object, typically 'webhook'.\").nullable().optional(),\n signing_secret: z.string().describe(\"The secret key used to verify webhook payloads. Store this securely as it won't be shown again.\").nullable().optional(),\n});\n\nexport const resendCreateWebhook = action(\"RESEND_CREATE_WEBHOOK\", {\n slug: \"resend-create-webhook\",\n name: \"Create Webhook\",\n description: \"Tool to create a webhook to receive real-time notifications about email events. Use when you need to set up automated notifications for email status changes.\",\n input: ResendCreateWebhookInput,\n output: ResendCreateWebhookOutput,\n});\n"],"mappings":";;AAcA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdsC,EAAE,OAAO;EAC/C,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gOAAgO;EACrQ,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E;CAC5G,CAWS;CACP,QAXuC,EAAE,OAAO;EAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7J,
|
|
1
|
+
{"version":3,"file":"create-webhook.mjs","names":[],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendCreateWebhookInput = z.object({\n events: z.array(z.string()).describe(\"Array of event types to subscribe to. Common events include: 'email.sent', 'email.delivered', 'email.delivery_delayed', 'email.complained', 'email.bounced', 'email.opened', 'email.clicked'. Must include at least one event.\"),\n endpoint: z.string().describe(\"The URL where webhook events will be sent. Must be a valid HTTPS endpoint.\"),\n});\nexport const ResendCreateWebhookOutput = z.object({\n id: z.string().describe(\"The unique identifier of the created webhook.\").nullable().optional(),\n object: z.string().describe(\"The type of object, typically 'webhook'.\").nullable().optional(),\n signing_secret: z.string().describe(\"The secret key used to verify webhook payloads. Store this securely as it won't be shown again.\").nullable().optional(),\n}).passthrough();\n\nexport const resendCreateWebhook = action(\"RESEND_CREATE_WEBHOOK\", {\n slug: \"resend-create-webhook\",\n name: \"Create Webhook\",\n description: \"Tool to create a webhook to receive real-time notifications about email events. Use when you need to set up automated notifications for email status changes.\",\n input: ResendCreateWebhookInput,\n output: ResendCreateWebhookOutput,\n});\n"],"mappings":";;AAcA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdsC,EAAE,OAAO;EAC/C,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gOAAgO;EACrQ,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E;CAC5G,CAWS;CACP,QAXuC,EAAE,OAAO;EAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7J,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -6,7 +6,7 @@ const ResendDeleteApiKeyOutput = zod.z.object({
|
|
|
6
6
|
id: zod.z.string().describe("The id of the deleted API key.").nullable().optional(),
|
|
7
7
|
object: zod.z.string().describe("The type of object, which is 'api_key'.").nullable().optional(),
|
|
8
8
|
deleted: zod.z.boolean().describe("Indicates whether the API key was successfully deleted.").nullable().optional()
|
|
9
|
-
});
|
|
9
|
+
}).passthrough();
|
|
10
10
|
const resendDeleteApiKey = require_action.action("RESEND_DELETE_API_KEY", {
|
|
11
11
|
slug: "resend-delete-api-key",
|
|
12
12
|
name: "Delete API Key",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-api-key.cjs","names":["z","action"],"sources":["../../src/actions/delete-api-key.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendDeleteApiKeyInput = z.object({\n api_key_id: z.string().describe(\"The API key ID to delete.\"),\n});\nexport const ResendDeleteApiKeyOutput = z.object({\n id: z.string().describe(\"The id of the deleted API key.\").nullable().optional(),\n object: z.string().describe(\"The type of object, which is 'api_key'.\").nullable().optional(),\n deleted: z.boolean().describe(\"Indicates whether the API key was successfully deleted.\").nullable().optional(),\n});\n\nexport const resendDeleteApiKey = action(\"RESEND_DELETE_API_KEY\", {\n slug: \"resend-delete-api-key\",\n name: \"Delete API Key\",\n description: \"Remove an existing API key from Resend. Use when you need to revoke or delete an API key.\",\n input: ResendDeleteApiKeyInput,\n output: ResendDeleteApiKeyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,EAC7D,CAAC;AACD,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC;
|
|
1
|
+
{"version":3,"file":"delete-api-key.cjs","names":["z","action"],"sources":["../../src/actions/delete-api-key.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendDeleteApiKeyInput = z.object({\n api_key_id: z.string().describe(\"The API key ID to delete.\"),\n});\nexport const ResendDeleteApiKeyOutput = z.object({\n id: z.string().describe(\"The id of the deleted API key.\").nullable().optional(),\n object: z.string().describe(\"The type of object, which is 'api_key'.\").nullable().optional(),\n deleted: z.boolean().describe(\"Indicates whether the API key was successfully deleted.\").nullable().optional(),\n}).passthrough();\n\nexport const resendDeleteApiKey = action(\"RESEND_DELETE_API_KEY\", {\n slug: \"resend-delete-api-key\",\n name: \"Delete API Key\",\n description: \"Remove an existing API key from Resend. Use when you need to revoke or delete an API key.\",\n input: ResendDeleteApiKeyInput,\n output: ResendDeleteApiKeyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,EAC7D,CAAC;AACD,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -8,7 +8,7 @@ declare const ResendDeleteApiKeyOutput: z.ZodObject<{
|
|
|
8
8
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
9
|
object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
10
|
deleted: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>;
|
|
12
12
|
declare const resendDeleteApiKey: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
13
|
api_key_id: string;
|
|
14
14
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -8,7 +8,7 @@ declare const ResendDeleteApiKeyOutput: z.ZodObject<{
|
|
|
8
8
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
9
|
object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
10
|
deleted: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>;
|
|
12
12
|
declare const resendDeleteApiKey: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
13
|
api_key_id: string;
|
|
14
14
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -9,7 +9,7 @@ const resendDeleteApiKey = action("RESEND_DELETE_API_KEY", {
|
|
|
9
9
|
id: z.string().describe("The id of the deleted API key.").nullable().optional(),
|
|
10
10
|
object: z.string().describe("The type of object, which is 'api_key'.").nullable().optional(),
|
|
11
11
|
deleted: z.boolean().describe("Indicates whether the API key was successfully deleted.").nullable().optional()
|
|
12
|
-
})
|
|
12
|
+
}).passthrough()
|
|
13
13
|
});
|
|
14
14
|
//#endregion
|
|
15
15
|
export { resendDeleteApiKey };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-api-key.mjs","names":[],"sources":["../../src/actions/delete-api-key.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendDeleteApiKeyInput = z.object({\n api_key_id: z.string().describe(\"The API key ID to delete.\"),\n});\nexport const ResendDeleteApiKeyOutput = z.object({\n id: z.string().describe(\"The id of the deleted API key.\").nullable().optional(),\n object: z.string().describe(\"The type of object, which is 'api_key'.\").nullable().optional(),\n deleted: z.boolean().describe(\"Indicates whether the API key was successfully deleted.\").nullable().optional(),\n});\n\nexport const resendDeleteApiKey = action(\"RESEND_DELETE_API_KEY\", {\n slug: \"resend-delete-api-key\",\n name: \"Delete API Key\",\n description: \"Remove an existing API key from Resend. Use when you need to revoke or delete an API key.\",\n input: ResendDeleteApiKeyInput,\n output: ResendDeleteApiKeyOutput,\n});\n"],"mappings":";;AAaA,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbqC,EAAE,OAAO,EAC9C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,EAC7D,CAWS;CACP,QAXsC,EAAE,OAAO;EAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,
|
|
1
|
+
{"version":3,"file":"delete-api-key.mjs","names":[],"sources":["../../src/actions/delete-api-key.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendDeleteApiKeyInput = z.object({\n api_key_id: z.string().describe(\"The API key ID to delete.\"),\n});\nexport const ResendDeleteApiKeyOutput = z.object({\n id: z.string().describe(\"The id of the deleted API key.\").nullable().optional(),\n object: z.string().describe(\"The type of object, which is 'api_key'.\").nullable().optional(),\n deleted: z.boolean().describe(\"Indicates whether the API key was successfully deleted.\").nullable().optional(),\n}).passthrough();\n\nexport const resendDeleteApiKey = action(\"RESEND_DELETE_API_KEY\", {\n slug: \"resend-delete-api-key\",\n name: \"Delete API Key\",\n description: \"Remove an existing API key from Resend. Use when you need to revoke or delete an API key.\",\n input: ResendDeleteApiKeyInput,\n output: ResendDeleteApiKeyOutput,\n});\n"],"mappings":";;AAaA,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbqC,EAAE,OAAO,EAC9C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,EAC7D,CAWS;CACP,QAXsC,EAAE,OAAO;EAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ const ResendDeleteAudienceInput = zod.z.object({ audience_id: zod.z.string().des
|
|
|
5
5
|
const ResendDeleteAudienceOutput = zod.z.object({
|
|
6
6
|
id: zod.z.string().describe("The id of the deleted audience.").nullable().optional(),
|
|
7
7
|
object: zod.z.string().default("audience").describe("The type of object, which is 'audience'.").nullable().optional()
|
|
8
|
-
});
|
|
8
|
+
}).passthrough();
|
|
9
9
|
const resendDeleteAudience = require_action.action("RESEND_DELETE_AUDIENCE", {
|
|
10
10
|
slug: "resend-delete-audience",
|
|
11
11
|
name: "Delete Audience",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-audience.cjs","names":["z","action"],"sources":["../../src/actions/delete-audience.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendDeleteAudienceInput = z.object({\n audience_id: z.string().describe(\"The ID of the audience to delete.\"),\n});\nexport const ResendDeleteAudienceOutput = z.object({\n id: z.string().describe(\"The id of the deleted audience.\").nullable().optional(),\n object: z.string().default(\"audience\").describe(\"The type of object, which is 'audience'.\").nullable().optional(),\n});\n\nexport const resendDeleteAudience = action(\"RESEND_DELETE_AUDIENCE\", {\n slug: \"resend-delete-audience\",\n name: \"Delete Audience\",\n description: \"Remove an existing audience.\",\n input: ResendDeleteAudienceInput,\n output: ResendDeleteAudienceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,EACtE,CAAC;AACD,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,UAAU,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC;
|
|
1
|
+
{"version":3,"file":"delete-audience.cjs","names":["z","action"],"sources":["../../src/actions/delete-audience.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendDeleteAudienceInput = z.object({\n audience_id: z.string().describe(\"The ID of the audience to delete.\"),\n});\nexport const ResendDeleteAudienceOutput = z.object({\n id: z.string().describe(\"The id of the deleted audience.\").nullable().optional(),\n object: z.string().default(\"audience\").describe(\"The type of object, which is 'audience'.\").nullable().optional(),\n}).passthrough();\n\nexport const resendDeleteAudience = action(\"RESEND_DELETE_AUDIENCE\", {\n slug: \"resend-delete-audience\",\n name: \"Delete Audience\",\n description: \"Remove an existing audience.\",\n input: ResendDeleteAudienceInput,\n output: ResendDeleteAudienceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,EACtE,CAAC;AACD,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,UAAU,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -7,7 +7,7 @@ declare const ResendDeleteAudienceInput: z.ZodObject<{
|
|
|
7
7
|
declare const ResendDeleteAudienceOutput: z.ZodObject<{
|
|
8
8
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
9
|
object: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const resendDeleteAudience: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
audience_id: string;
|
|
13
13
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -7,7 +7,7 @@ declare const ResendDeleteAudienceInput: z.ZodObject<{
|
|
|
7
7
|
declare const ResendDeleteAudienceOutput: z.ZodObject<{
|
|
8
8
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
9
|
object: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const resendDeleteAudience: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
audience_id: string;
|
|
13
13
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -8,7 +8,7 @@ const resendDeleteAudience = action("RESEND_DELETE_AUDIENCE", {
|
|
|
8
8
|
output: z.object({
|
|
9
9
|
id: z.string().describe("The id of the deleted audience.").nullable().optional(),
|
|
10
10
|
object: z.string().default("audience").describe("The type of object, which is 'audience'.").nullable().optional()
|
|
11
|
-
})
|
|
11
|
+
}).passthrough()
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
14
14
|
export { resendDeleteAudience };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-audience.mjs","names":[],"sources":["../../src/actions/delete-audience.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendDeleteAudienceInput = z.object({\n audience_id: z.string().describe(\"The ID of the audience to delete.\"),\n});\nexport const ResendDeleteAudienceOutput = z.object({\n id: z.string().describe(\"The id of the deleted audience.\").nullable().optional(),\n object: z.string().default(\"audience\").describe(\"The type of object, which is 'audience'.\").nullable().optional(),\n});\n\nexport const resendDeleteAudience = action(\"RESEND_DELETE_AUDIENCE\", {\n slug: \"resend-delete-audience\",\n name: \"Delete Audience\",\n description: \"Remove an existing audience.\",\n input: ResendDeleteAudienceInput,\n output: ResendDeleteAudienceOutput,\n});\n"],"mappings":";;AAYA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZuC,EAAE,OAAO,EAChD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,EACtE,CAUS;CACP,QAVwC,EAAE,OAAO;EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,QAAQ,EAAE,OAAO,CAAC,CAAC,QAAQ,UAAU,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,
|
|
1
|
+
{"version":3,"file":"delete-audience.mjs","names":[],"sources":["../../src/actions/delete-audience.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendDeleteAudienceInput = z.object({\n audience_id: z.string().describe(\"The ID of the audience to delete.\"),\n});\nexport const ResendDeleteAudienceOutput = z.object({\n id: z.string().describe(\"The id of the deleted audience.\").nullable().optional(),\n object: z.string().default(\"audience\").describe(\"The type of object, which is 'audience'.\").nullable().optional(),\n}).passthrough();\n\nexport const resendDeleteAudience = action(\"RESEND_DELETE_AUDIENCE\", {\n slug: \"resend-delete-audience\",\n name: \"Delete Audience\",\n description: \"Remove an existing audience.\",\n input: ResendDeleteAudienceInput,\n output: ResendDeleteAudienceOutput,\n});\n"],"mappings":";;AAYA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZuC,EAAE,OAAO,EAChD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,EACtE,CAUS;CACP,QAVwC,EAAE,OAAO;EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,QAAQ,EAAE,OAAO,CAAC,CAAC,QAAQ,UAAU,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -6,7 +6,7 @@ const ResendDeleteContactByIdOutput = zod.z.object({
|
|
|
6
6
|
object: zod.z.string().describe("The type of object, which is 'contact'.").nullable().optional(),
|
|
7
7
|
contact: zod.z.string().describe("The id of deleted contact.").nullable().optional(),
|
|
8
8
|
deleted: zod.z.boolean().describe("Indicates if the contact was successfully deleted.").nullable().optional()
|
|
9
|
-
});
|
|
9
|
+
}).passthrough();
|
|
10
10
|
const resendDeleteContactById = require_action.action("RESEND_DELETE_CONTACT_BY_ID", {
|
|
11
11
|
slug: "resend-delete-contact-by-id",
|
|
12
12
|
name: "Delete Contact By ID",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-contact-by-id.cjs","names":["z","action"],"sources":["../../src/actions/delete-contact-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendDeleteContactByIdInput = z.object({\n id: z.string().describe(\"The Contact ID to delete.\"),\n});\nexport const ResendDeleteContactByIdOutput = z.object({\n object: z.string().describe(\"The type of object, which is 'contact'.\").nullable().optional(),\n contact: z.string().describe(\"The id of deleted contact.\").nullable().optional(),\n deleted: z.boolean().describe(\"Indicates if the contact was successfully deleted.\").nullable().optional(),\n});\n\nexport const resendDeleteContactById = action(\"RESEND_DELETE_CONTACT_BY_ID\", {\n slug: \"resend-delete-contact-by-id\",\n name: \"Delete Contact By ID\",\n description: \"Tool to remove an existing contact by its ID. Use when you need to delete a contact directly without specifying an audience.\",\n input: ResendDeleteContactByIdInput,\n output: ResendDeleteContactByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,EACrD,CAAC;AACD,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1G,CAAC;
|
|
1
|
+
{"version":3,"file":"delete-contact-by-id.cjs","names":["z","action"],"sources":["../../src/actions/delete-contact-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendDeleteContactByIdInput = z.object({\n id: z.string().describe(\"The Contact ID to delete.\"),\n});\nexport const ResendDeleteContactByIdOutput = z.object({\n object: z.string().describe(\"The type of object, which is 'contact'.\").nullable().optional(),\n contact: z.string().describe(\"The id of deleted contact.\").nullable().optional(),\n deleted: z.boolean().describe(\"Indicates if the contact was successfully deleted.\").nullable().optional(),\n}).passthrough();\n\nexport const resendDeleteContactById = action(\"RESEND_DELETE_CONTACT_BY_ID\", {\n slug: \"resend-delete-contact-by-id\",\n name: \"Delete Contact By ID\",\n description: \"Tool to remove an existing contact by its ID. Use when you need to delete a contact directly without specifying an audience.\",\n input: ResendDeleteContactByIdInput,\n output: ResendDeleteContactByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,EACrD,CAAC;AACD,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,0BAA0BC,eAAAA,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -8,7 +8,7 @@ declare const ResendDeleteContactByIdOutput: z.ZodObject<{
|
|
|
8
8
|
object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
9
|
contact: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
10
|
deleted: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>;
|
|
12
12
|
declare const resendDeleteContactById: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
13
|
id: string;
|
|
14
14
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -8,7 +8,7 @@ declare const ResendDeleteContactByIdOutput: z.ZodObject<{
|
|
|
8
8
|
object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
9
|
contact: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
10
|
deleted: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>;
|
|
12
12
|
declare const resendDeleteContactById: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
13
|
id: string;
|
|
14
14
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -9,7 +9,7 @@ const resendDeleteContactById = action("RESEND_DELETE_CONTACT_BY_ID", {
|
|
|
9
9
|
object: z.string().describe("The type of object, which is 'contact'.").nullable().optional(),
|
|
10
10
|
contact: z.string().describe("The id of deleted contact.").nullable().optional(),
|
|
11
11
|
deleted: z.boolean().describe("Indicates if the contact was successfully deleted.").nullable().optional()
|
|
12
|
-
})
|
|
12
|
+
}).passthrough()
|
|
13
13
|
});
|
|
14
14
|
//#endregion
|
|
15
15
|
export { resendDeleteContactById };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-contact-by-id.mjs","names":[],"sources":["../../src/actions/delete-contact-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendDeleteContactByIdInput = z.object({\n id: z.string().describe(\"The Contact ID to delete.\"),\n});\nexport const ResendDeleteContactByIdOutput = z.object({\n object: z.string().describe(\"The type of object, which is 'contact'.\").nullable().optional(),\n contact: z.string().describe(\"The id of deleted contact.\").nullable().optional(),\n deleted: z.boolean().describe(\"Indicates if the contact was successfully deleted.\").nullable().optional(),\n});\n\nexport const resendDeleteContactById = action(\"RESEND_DELETE_CONTACT_BY_ID\", {\n slug: \"resend-delete-contact-by-id\",\n name: \"Delete Contact By ID\",\n description: \"Tool to remove an existing contact by its ID. Use when you need to delete a contact directly without specifying an audience.\",\n input: ResendDeleteContactByIdInput,\n output: ResendDeleteContactByIdOutput,\n});\n"],"mappings":";;AAaA,MAAa,0BAA0B,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb0C,EAAE,OAAO,EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,EACrD,CAWS;CACP,QAX2C,EAAE,OAAO;EACpD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,
|
|
1
|
+
{"version":3,"file":"delete-contact-by-id.mjs","names":[],"sources":["../../src/actions/delete-contact-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendDeleteContactByIdInput = z.object({\n id: z.string().describe(\"The Contact ID to delete.\"),\n});\nexport const ResendDeleteContactByIdOutput = z.object({\n object: z.string().describe(\"The type of object, which is 'contact'.\").nullable().optional(),\n contact: z.string().describe(\"The id of deleted contact.\").nullable().optional(),\n deleted: z.boolean().describe(\"Indicates if the contact was successfully deleted.\").nullable().optional(),\n}).passthrough();\n\nexport const resendDeleteContactById = action(\"RESEND_DELETE_CONTACT_BY_ID\", {\n slug: \"resend-delete-contact-by-id\",\n name: \"Delete Contact By ID\",\n description: \"Tool to remove an existing contact by its ID. Use when you need to delete a contact directly without specifying an audience.\",\n input: ResendDeleteContactByIdInput,\n output: ResendDeleteContactByIdOutput,\n});\n"],"mappings":";;AAaA,MAAa,0BAA0B,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb0C,EAAE,OAAO,EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,EACrD,CAWS;CACP,QAX2C,EAAE,OAAO;EACpD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -6,7 +6,7 @@ const ResendDeleteContactPropertyOutput = zod.z.object({
|
|
|
6
6
|
id: zod.z.string().describe("The ID of the contact property.").nullable().optional(),
|
|
7
7
|
object: zod.z.string().describe("The object type.").nullable().optional(),
|
|
8
8
|
deleted: zod.z.boolean().describe("Indicates whether the contact property was successfully deleted.").nullable().optional()
|
|
9
|
-
});
|
|
9
|
+
}).passthrough();
|
|
10
10
|
const resendDeleteContactProperty = require_action.action("RESEND_DELETE_CONTACT_PROPERTY", {
|
|
11
11
|
slug: "resend-delete-contact-property",
|
|
12
12
|
name: "Delete Contact Property",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-contact-property.cjs","names":["z","action"],"sources":["../../src/actions/delete-contact-property.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendDeleteContactPropertyInput = z.object({\n contact_property_id: z.string().describe(\"The Contact Property ID.\"),\n});\nexport const ResendDeleteContactPropertyOutput = z.object({\n id: z.string().describe(\"The ID of the contact property.\").nullable().optional(),\n object: z.string().describe(\"The object type.\").nullable().optional(),\n deleted: z.boolean().describe(\"Indicates whether the contact property was successfully deleted.\").nullable().optional(),\n});\n\nexport const resendDeleteContactProperty = action(\"RESEND_DELETE_CONTACT_PROPERTY\", {\n slug: \"resend-delete-contact-property\",\n name: \"Delete Contact Property\",\n description: \"Remove an existing contact property from Resend.\",\n input: ResendDeleteContactPropertyInput,\n output: ResendDeleteContactPropertyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,EACrE,CAAC;AACD,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC;
|
|
1
|
+
{"version":3,"file":"delete-contact-property.cjs","names":["z","action"],"sources":["../../src/actions/delete-contact-property.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendDeleteContactPropertyInput = z.object({\n contact_property_id: z.string().describe(\"The Contact Property ID.\"),\n});\nexport const ResendDeleteContactPropertyOutput = z.object({\n id: z.string().describe(\"The ID of the contact property.\").nullable().optional(),\n object: z.string().describe(\"The object type.\").nullable().optional(),\n deleted: z.boolean().describe(\"Indicates whether the contact property was successfully deleted.\").nullable().optional(),\n}).passthrough();\n\nexport const resendDeleteContactProperty = action(\"RESEND_DELETE_CONTACT_PROPERTY\", {\n slug: \"resend-delete-contact-property\",\n name: \"Delete Contact Property\",\n description: \"Remove an existing contact property from Resend.\",\n input: ResendDeleteContactPropertyInput,\n output: ResendDeleteContactPropertyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,EACrE,CAAC;AACD,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|