@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
|
@@ -5,7 +5,7 @@ const ResendAddContactToSegmentInput = zod.z.object({
|
|
|
5
5
|
contact_id: zod.z.string().describe("The ID of the contact to add to the segment."),
|
|
6
6
|
segment_id: zod.z.string().describe("The ID of the segment to add the contact to.")
|
|
7
7
|
});
|
|
8
|
-
const ResendAddContactToSegmentOutput = zod.z.object({ id: zod.z.string().describe("The segment ID that the contact was added to.").nullable().optional() });
|
|
8
|
+
const ResendAddContactToSegmentOutput = zod.z.object({ id: zod.z.string().describe("The segment ID that the contact was added to.").nullable().optional() }).passthrough();
|
|
9
9
|
const resendAddContactToSegment = require_action.action("RESEND_ADD_CONTACT_TO_SEGMENT", {
|
|
10
10
|
slug: "resend-add-contact-to-segment",
|
|
11
11
|
name: "Add Contact To Segment",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-contact-to-segment.cjs","names":["z","action"],"sources":["../../src/actions/add-contact-to-segment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendAddContactToSegmentInput = z.object({\n contact_id: z.string().describe(\"The ID of the contact to add to the segment.\"),\n segment_id: z.string().describe(\"The ID of the segment to add the contact to.\"),\n});\nexport const ResendAddContactToSegmentOutput = z.object({\n id: z.string().describe(\"The segment ID that the contact was added to.\").nullable().optional(),\n});\n\nexport const resendAddContactToSegment = action(\"RESEND_ADD_CONTACT_TO_SEGMENT\", {\n slug: \"resend-add-contact-to-segment\",\n name: \"Add Contact To Segment\",\n description: \"Add an existing contact to a segment in Resend. Use when you need to organize contacts into specific segments for targeted communication.\",\n input: ResendAddContactToSegmentInput,\n output: ResendAddContactToSegmentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC9E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;AAChF,CAAC;AACD,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC/F,CAAC;
|
|
1
|
+
{"version":3,"file":"add-contact-to-segment.cjs","names":["z","action"],"sources":["../../src/actions/add-contact-to-segment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendAddContactToSegmentInput = z.object({\n contact_id: z.string().describe(\"The ID of the contact to add to the segment.\"),\n segment_id: z.string().describe(\"The ID of the segment to add the contact to.\"),\n});\nexport const ResendAddContactToSegmentOutput = z.object({\n id: z.string().describe(\"The segment ID that the contact was added to.\").nullable().optional(),\n}).passthrough();\n\nexport const resendAddContactToSegment = action(\"RESEND_ADD_CONTACT_TO_SEGMENT\", {\n slug: \"resend-add-contact-to-segment\",\n name: \"Add Contact To Segment\",\n description: \"Add an existing contact to a segment in Resend. Use when you need to organize contacts into specific segments for targeted communication.\",\n input: ResendAddContactToSegmentInput,\n output: ResendAddContactToSegmentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC9E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;AAChF,CAAC;AACD,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC/F,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -7,7 +7,7 @@ declare const ResendAddContactToSegmentInput: z.ZodObject<{
|
|
|
7
7
|
}, z.core.$strip>;
|
|
8
8
|
declare const ResendAddContactToSegmentOutput: z.ZodObject<{
|
|
9
9
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const resendAddContactToSegment: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
contact_id: string;
|
|
13
13
|
segment_id: string;
|
|
@@ -7,7 +7,7 @@ declare const ResendAddContactToSegmentInput: z.ZodObject<{
|
|
|
7
7
|
}, z.core.$strip>;
|
|
8
8
|
declare const ResendAddContactToSegmentOutput: z.ZodObject<{
|
|
9
9
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const resendAddContactToSegment: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
contact_id: string;
|
|
13
13
|
segment_id: string;
|
|
@@ -8,7 +8,7 @@ const resendAddContactToSegment = action("RESEND_ADD_CONTACT_TO_SEGMENT", {
|
|
|
8
8
|
contact_id: z.string().describe("The ID of the contact to add to the segment."),
|
|
9
9
|
segment_id: z.string().describe("The ID of the segment to add the contact to.")
|
|
10
10
|
}),
|
|
11
|
-
output: z.object({ id: z.string().describe("The segment ID that the contact was added to.").nullable().optional() })
|
|
11
|
+
output: z.object({ id: z.string().describe("The segment ID that the contact was added to.").nullable().optional() }).passthrough()
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
14
14
|
export { resendAddContactToSegment };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-contact-to-segment.mjs","names":[],"sources":["../../src/actions/add-contact-to-segment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendAddContactToSegmentInput = z.object({\n contact_id: z.string().describe(\"The ID of the contact to add to the segment.\"),\n segment_id: z.string().describe(\"The ID of the segment to add the contact to.\"),\n});\nexport const ResendAddContactToSegmentOutput = z.object({\n id: z.string().describe(\"The segment ID that the contact was added to.\").nullable().optional(),\n});\n\nexport const resendAddContactToSegment = action(\"RESEND_ADD_CONTACT_TO_SEGMENT\", {\n slug: \"resend-add-contact-to-segment\",\n name: \"Add Contact To Segment\",\n description: \"Add an existing contact to a segment in Resend. Use when you need to organize contacts into specific segments for targeted communication.\",\n input: ResendAddContactToSegmentInput,\n output: ResendAddContactToSegmentOutput,\n});\n"],"mappings":";;AAYA,MAAa,4BAA4B,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ4C,EAAE,OAAO;EACrD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;EAC9E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAChF,CASS;CACP,QAT6C,EAAE,OAAO,EACtD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC/F,
|
|
1
|
+
{"version":3,"file":"add-contact-to-segment.mjs","names":[],"sources":["../../src/actions/add-contact-to-segment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendAddContactToSegmentInput = z.object({\n contact_id: z.string().describe(\"The ID of the contact to add to the segment.\"),\n segment_id: z.string().describe(\"The ID of the segment to add the contact to.\"),\n});\nexport const ResendAddContactToSegmentOutput = z.object({\n id: z.string().describe(\"The segment ID that the contact was added to.\").nullable().optional(),\n}).passthrough();\n\nexport const resendAddContactToSegment = action(\"RESEND_ADD_CONTACT_TO_SEGMENT\", {\n slug: \"resend-add-contact-to-segment\",\n name: \"Add Contact To Segment\",\n description: \"Add an existing contact to a segment in Resend. Use when you need to organize contacts into specific segments for targeted communication.\",\n input: ResendAddContactToSegmentInput,\n output: ResendAddContactToSegmentOutput,\n});\n"],"mappings":";;AAYA,MAAa,4BAA4B,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ4C,EAAE,OAAO;EACrD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;EAC9E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAChF,CASS;CACP,QAT6C,EAAE,OAAO,EACtD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC/F,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ const ResendCancelEmailInput = zod.z.object({ id: zod.z.string().describe("The i
|
|
|
5
5
|
const ResendCancelEmailOutput = zod.z.object({
|
|
6
6
|
id: zod.z.string().describe("The id of the email that was canceled.").nullable().optional(),
|
|
7
7
|
object: zod.z.string().describe("The type of object, which is 'email'.").nullable().optional()
|
|
8
|
-
});
|
|
8
|
+
}).passthrough();
|
|
9
9
|
const resendCancelEmail = require_action.action("RESEND_CANCEL_EMAIL", {
|
|
10
10
|
slug: "resend-cancel-email",
|
|
11
11
|
name: "Cancel Email",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cancel-email.cjs","names":["z","action"],"sources":["../../src/actions/cancel-email.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendCancelEmailInput = z.object({\n id: z.string().describe(\"The id of the email to cancel.\"),\n});\nexport const ResendCancelEmailOutput = z.object({\n id: z.string().describe(\"The id of the email that was canceled.\").nullable().optional(),\n object: z.string().describe(\"The type of object, which is 'email'.\").nullable().optional(),\n});\n\nexport const resendCancelEmail = action(\"RESEND_CANCEL_EMAIL\", {\n slug: \"resend-cancel-email\",\n name: \"Cancel Email\",\n description: \"Cancel a scheduled email.\",\n input: ResendCancelEmailInput,\n output: ResendCancelEmailOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,EAC1D,CAAC;AACD,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC;
|
|
1
|
+
{"version":3,"file":"cancel-email.cjs","names":["z","action"],"sources":["../../src/actions/cancel-email.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendCancelEmailInput = z.object({\n id: z.string().describe(\"The id of the email to cancel.\"),\n});\nexport const ResendCancelEmailOutput = z.object({\n id: z.string().describe(\"The id of the email that was canceled.\").nullable().optional(),\n object: z.string().describe(\"The type of object, which is 'email'.\").nullable().optional(),\n}).passthrough();\n\nexport const resendCancelEmail = action(\"RESEND_CANCEL_EMAIL\", {\n slug: \"resend-cancel-email\",\n name: \"Cancel Email\",\n description: \"Cancel a scheduled email.\",\n input: ResendCancelEmailInput,\n output: ResendCancelEmailOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,EAC1D,CAAC;AACD,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -7,7 +7,7 @@ declare const ResendCancelEmailInput: z.ZodObject<{
|
|
|
7
7
|
declare const ResendCancelEmailOutput: z.ZodObject<{
|
|
8
8
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
9
|
object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const resendCancelEmail: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
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 ResendCancelEmailInput: z.ZodObject<{
|
|
|
7
7
|
declare const ResendCancelEmailOutput: z.ZodObject<{
|
|
8
8
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
9
|
object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const resendCancelEmail: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
id: string;
|
|
13
13
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -8,7 +8,7 @@ const resendCancelEmail = action("RESEND_CANCEL_EMAIL", {
|
|
|
8
8
|
output: z.object({
|
|
9
9
|
id: z.string().describe("The id of the email that was canceled.").nullable().optional(),
|
|
10
10
|
object: z.string().describe("The type of object, which is 'email'.").nullable().optional()
|
|
11
|
-
})
|
|
11
|
+
}).passthrough()
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
14
14
|
export { resendCancelEmail };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cancel-email.mjs","names":[],"sources":["../../src/actions/cancel-email.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendCancelEmailInput = z.object({\n id: z.string().describe(\"The id of the email to cancel.\"),\n});\nexport const ResendCancelEmailOutput = z.object({\n id: z.string().describe(\"The id of the email that was canceled.\").nullable().optional(),\n object: z.string().describe(\"The type of object, which is 'email'.\").nullable().optional(),\n});\n\nexport const resendCancelEmail = action(\"RESEND_CANCEL_EMAIL\", {\n slug: \"resend-cancel-email\",\n name: \"Cancel Email\",\n description: \"Cancel a scheduled email.\",\n input: ResendCancelEmailInput,\n output: ResendCancelEmailOutput,\n});\n"],"mappings":";;AAYA,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZoC,EAAE,OAAO,EAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,EAC1D,CAUS;CACP,QAVqC,EAAE,OAAO;EAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,
|
|
1
|
+
{"version":3,"file":"cancel-email.mjs","names":[],"sources":["../../src/actions/cancel-email.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendCancelEmailInput = z.object({\n id: z.string().describe(\"The id of the email to cancel.\"),\n});\nexport const ResendCancelEmailOutput = z.object({\n id: z.string().describe(\"The id of the email that was canceled.\").nullable().optional(),\n object: z.string().describe(\"The type of object, which is 'email'.\").nullable().optional(),\n}).passthrough();\n\nexport const resendCancelEmail = action(\"RESEND_CANCEL_EMAIL\", {\n slug: \"resend-cancel-email\",\n name: \"Cancel Email\",\n description: \"Cancel a scheduled email.\",\n input: ResendCancelEmailInput,\n output: ResendCancelEmailOutput,\n});\n"],"mappings":";;AAYA,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZoC,EAAE,OAAO,EAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,EAC1D,CAUS;CACP,QAVqC,EAAE,OAAO;EAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -9,7 +9,7 @@ const ResendCreateApiKeyInput = zod.z.object({
|
|
|
9
9
|
const ResendCreateApiKeyOutput = zod.z.object({
|
|
10
10
|
id: zod.z.string().describe("The ID of the API key.").nullable().optional(),
|
|
11
11
|
token: zod.z.string().describe("The token of the API key.").nullable().optional()
|
|
12
|
-
});
|
|
12
|
+
}).passthrough();
|
|
13
13
|
const resendCreateApiKey = require_action.action("RESEND_CREATE_API_KEY", {
|
|
14
14
|
slug: "resend-create-api-key",
|
|
15
15
|
name: "Create API Key",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-api-key.cjs","names":["z","action"],"sources":["../../src/actions/create-api-key.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendCreateApiKeyInput = z.object({\n name: z.string().describe(\"The API key name. Maximum 50 characters.\"),\n domain_id: z.string().describe(\"Restrict an API key to send emails only from a specific domain. Only used when the permission is 'sending_access'.\").optional(),\n permission: z.enum([\"full_access\", \"sending_access\"]).describe(\"API key permission levels.\").optional(),\n});\nexport const ResendCreateApiKeyOutput = z.object({\n id: z.string().describe(\"The ID of the API key.\").nullable().optional(),\n token: z.string().describe(\"The token of the API key.\").nullable().optional(),\n});\n\nexport const resendCreateApiKey = action(\"RESEND_CREATE_API_KEY\", {\n slug: \"resend-create-api-key\",\n name: \"Create API Key\",\n description: \"Create a new API key to authenticate communications with Resend. Use when you need to generate a new authentication token for API access.\",\n input: ResendCreateApiKeyInput,\n output: ResendCreateApiKeyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CACpE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;CAC9J,YAAYA,IAAAA,EAAE,KAAK,CAAC,eAAe,gBAAgB,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;AACxG,CAAC;AACD,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9E,CAAC;
|
|
1
|
+
{"version":3,"file":"create-api-key.cjs","names":["z","action"],"sources":["../../src/actions/create-api-key.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendCreateApiKeyInput = z.object({\n name: z.string().describe(\"The API key name. Maximum 50 characters.\"),\n domain_id: z.string().describe(\"Restrict an API key to send emails only from a specific domain. Only used when the permission is 'sending_access'.\").optional(),\n permission: z.enum([\"full_access\", \"sending_access\"]).describe(\"API key permission levels.\").optional(),\n});\nexport const ResendCreateApiKeyOutput = z.object({\n id: z.string().describe(\"The ID of the API key.\").nullable().optional(),\n token: z.string().describe(\"The token of the API key.\").nullable().optional(),\n}).passthrough();\n\nexport const resendCreateApiKey = action(\"RESEND_CREATE_API_KEY\", {\n slug: \"resend-create-api-key\",\n name: \"Create API Key\",\n description: \"Create a new API key to authenticate communications with Resend. Use when you need to generate a new authentication token for API access.\",\n input: ResendCreateApiKeyInput,\n output: ResendCreateApiKeyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CACpE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;CAC9J,YAAYA,IAAAA,EAAE,KAAK,CAAC,eAAe,gBAAgB,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;AACxG,CAAC;AACD,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -12,7 +12,7 @@ declare const ResendCreateApiKeyInput: z.ZodObject<{
|
|
|
12
12
|
declare const ResendCreateApiKeyOutput: z.ZodObject<{
|
|
13
13
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>;
|
|
16
16
|
declare const resendCreateApiKey: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
17
|
name: string;
|
|
18
18
|
domain_id?: string | undefined;
|
|
@@ -12,7 +12,7 @@ declare const ResendCreateApiKeyInput: z.ZodObject<{
|
|
|
12
12
|
declare const ResendCreateApiKeyOutput: z.ZodObject<{
|
|
13
13
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>;
|
|
16
16
|
declare const resendCreateApiKey: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
17
|
name: string;
|
|
18
18
|
domain_id?: string | undefined;
|
|
@@ -12,7 +12,7 @@ const resendCreateApiKey = action("RESEND_CREATE_API_KEY", {
|
|
|
12
12
|
output: z.object({
|
|
13
13
|
id: z.string().describe("The ID of the API key.").nullable().optional(),
|
|
14
14
|
token: z.string().describe("The token of the API key.").nullable().optional()
|
|
15
|
-
})
|
|
15
|
+
}).passthrough()
|
|
16
16
|
});
|
|
17
17
|
//#endregion
|
|
18
18
|
export { resendCreateApiKey };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-api-key.mjs","names":[],"sources":["../../src/actions/create-api-key.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendCreateApiKeyInput = z.object({\n name: z.string().describe(\"The API key name. Maximum 50 characters.\"),\n domain_id: z.string().describe(\"Restrict an API key to send emails only from a specific domain. Only used when the permission is 'sending_access'.\").optional(),\n permission: z.enum([\"full_access\", \"sending_access\"]).describe(\"API key permission levels.\").optional(),\n});\nexport const ResendCreateApiKeyOutput = z.object({\n id: z.string().describe(\"The ID of the API key.\").nullable().optional(),\n token: z.string().describe(\"The token of the API key.\").nullable().optional(),\n});\n\nexport const resendCreateApiKey = action(\"RESEND_CREATE_API_KEY\", {\n slug: \"resend-create-api-key\",\n name: \"Create API Key\",\n description: \"Create a new API key to authenticate communications with Resend. Use when you need to generate a new authentication token for API access.\",\n input: ResendCreateApiKeyInput,\n output: ResendCreateApiKeyOutput,\n});\n"],"mappings":";;AAcA,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdqC,EAAE,OAAO;EAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;EACpE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;EAC9J,YAAY,EAAE,KAAK,CAAC,eAAe,gBAAgB,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACxG,CAUS;CACP,QAVsC,EAAE,OAAO;EAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,
|
|
1
|
+
{"version":3,"file":"create-api-key.mjs","names":[],"sources":["../../src/actions/create-api-key.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendCreateApiKeyInput = z.object({\n name: z.string().describe(\"The API key name. Maximum 50 characters.\"),\n domain_id: z.string().describe(\"Restrict an API key to send emails only from a specific domain. Only used when the permission is 'sending_access'.\").optional(),\n permission: z.enum([\"full_access\", \"sending_access\"]).describe(\"API key permission levels.\").optional(),\n});\nexport const ResendCreateApiKeyOutput = z.object({\n id: z.string().describe(\"The ID of the API key.\").nullable().optional(),\n token: z.string().describe(\"The token of the API key.\").nullable().optional(),\n}).passthrough();\n\nexport const resendCreateApiKey = action(\"RESEND_CREATE_API_KEY\", {\n slug: \"resend-create-api-key\",\n name: \"Create API Key\",\n description: \"Create a new API key to authenticate communications with Resend. Use when you need to generate a new authentication token for API access.\",\n input: ResendCreateApiKeyInput,\n output: ResendCreateApiKeyOutput,\n});\n"],"mappings":";;AAcA,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdqC,EAAE,OAAO;EAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;EACpE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;EAC9J,YAAY,EAAE,KAAK,CAAC,eAAe,gBAAgB,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACxG,CAUS;CACP,QAVsC,EAAE,OAAO;EAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -6,7 +6,7 @@ const ResendCreateAudienceOutput = zod.z.object({
|
|
|
6
6
|
id: zod.z.string().describe("The id of the created audience.").nullable().optional(),
|
|
7
7
|
name: zod.z.string().describe("The name of the audience.").nullable().optional(),
|
|
8
8
|
object: zod.z.string().default("audience").describe("The type of object, which is 'audience'.").nullable().optional()
|
|
9
|
-
});
|
|
9
|
+
}).passthrough();
|
|
10
10
|
const resendCreateAudience = require_action.action("RESEND_CREATE_AUDIENCE", {
|
|
11
11
|
slug: "resend-create-audience",
|
|
12
12
|
name: "Create Audience",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-audience.cjs","names":["z","action"],"sources":["../../src/actions/create-audience.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendCreateAudienceInput = z.object({\n name: z.string().describe(\"The name of the audience you want to create.\"),\n});\nexport const ResendCreateAudienceOutput = z.object({\n id: z.string().describe(\"The id of the created audience.\").nullable().optional(),\n name: z.string().describe(\"The name of the audience.\").nullable().optional(),\n object: z.string().default(\"audience\").describe(\"The type of object, which is 'audience'.\").nullable().optional(),\n});\n\nexport const resendCreateAudience = action(\"RESEND_CREATE_AUDIENCE\", {\n slug: \"resend-create-audience\",\n name: \"Create Audience\",\n description: \"Create a list of contacts.\",\n input: ResendCreateAudienceInput,\n output: ResendCreateAudienceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,EAC1E,CAAC;AACD,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,UAAU,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC;
|
|
1
|
+
{"version":3,"file":"create-audience.cjs","names":["z","action"],"sources":["../../src/actions/create-audience.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendCreateAudienceInput = z.object({\n name: z.string().describe(\"The name of the audience you want to create.\"),\n});\nexport const ResendCreateAudienceOutput = z.object({\n id: z.string().describe(\"The id of the created audience.\").nullable().optional(),\n name: z.string().describe(\"The name of the audience.\").nullable().optional(),\n object: z.string().default(\"audience\").describe(\"The type of object, which is 'audience'.\").nullable().optional(),\n}).passthrough();\n\nexport const resendCreateAudience = action(\"RESEND_CREATE_AUDIENCE\", {\n slug: \"resend-create-audience\",\n name: \"Create Audience\",\n description: \"Create a list of contacts.\",\n input: ResendCreateAudienceInput,\n output: ResendCreateAudienceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,EAC1E,CAAC;AACD,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,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"}
|
|
@@ -8,7 +8,7 @@ declare const ResendCreateAudienceOutput: z.ZodObject<{
|
|
|
8
8
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
9
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
10
|
object: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>;
|
|
12
12
|
declare const resendCreateAudience: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
13
|
name: string;
|
|
14
14
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -8,7 +8,7 @@ declare const ResendCreateAudienceOutput: z.ZodObject<{
|
|
|
8
8
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
9
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
10
|
object: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>;
|
|
12
12
|
declare const resendCreateAudience: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
13
|
name: string;
|
|
14
14
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -9,7 +9,7 @@ const resendCreateAudience = action("RESEND_CREATE_AUDIENCE", {
|
|
|
9
9
|
id: z.string().describe("The id of the created audience.").nullable().optional(),
|
|
10
10
|
name: z.string().describe("The name of the audience.").nullable().optional(),
|
|
11
11
|
object: z.string().default("audience").describe("The type of object, which is 'audience'.").nullable().optional()
|
|
12
|
-
})
|
|
12
|
+
}).passthrough()
|
|
13
13
|
});
|
|
14
14
|
//#endregion
|
|
15
15
|
export { resendCreateAudience };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-audience.mjs","names":[],"sources":["../../src/actions/create-audience.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendCreateAudienceInput = z.object({\n name: z.string().describe(\"The name of the audience you want to create.\"),\n});\nexport const ResendCreateAudienceOutput = z.object({\n id: z.string().describe(\"The id of the created audience.\").nullable().optional(),\n name: z.string().describe(\"The name of the audience.\").nullable().optional(),\n object: z.string().default(\"audience\").describe(\"The type of object, which is 'audience'.\").nullable().optional(),\n});\n\nexport const resendCreateAudience = action(\"RESEND_CREATE_AUDIENCE\", {\n slug: \"resend-create-audience\",\n name: \"Create Audience\",\n description: \"Create a list of contacts.\",\n input: ResendCreateAudienceInput,\n output: ResendCreateAudienceOutput,\n});\n"],"mappings":";;AAaA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbuC,EAAE,OAAO,EAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,EAC1E,CAWS;CACP,QAXwC,EAAE,OAAO;EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3E,QAAQ,EAAE,OAAO,CAAC,CAAC,QAAQ,UAAU,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,
|
|
1
|
+
{"version":3,"file":"create-audience.mjs","names":[],"sources":["../../src/actions/create-audience.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendCreateAudienceInput = z.object({\n name: z.string().describe(\"The name of the audience you want to create.\"),\n});\nexport const ResendCreateAudienceOutput = z.object({\n id: z.string().describe(\"The id of the created audience.\").nullable().optional(),\n name: z.string().describe(\"The name of the audience.\").nullable().optional(),\n object: z.string().default(\"audience\").describe(\"The type of object, which is 'audience'.\").nullable().optional(),\n}).passthrough();\n\nexport const resendCreateAudience = action(\"RESEND_CREATE_AUDIENCE\", {\n slug: \"resend-create-audience\",\n name: \"Create Audience\",\n description: \"Create a list of contacts.\",\n input: ResendCreateAudienceInput,\n output: ResendCreateAudienceOutput,\n});\n"],"mappings":";;AAaA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbuC,EAAE,OAAO,EAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,EAC1E,CAWS;CACP,QAXwC,EAAE,OAAO;EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3E,QAAQ,EAAE,OAAO,CAAC,CAAC,QAAQ,UAAU,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -9,7 +9,7 @@ const ResendCreateContactPropertyInput = zod.z.object({
|
|
|
9
9
|
const ResendCreateContactPropertyOutput = zod.z.object({
|
|
10
10
|
id: zod.z.string().describe("The ID of the contact property.").nullable().optional(),
|
|
11
11
|
object: zod.z.string().describe("The object type of the response.").nullable().optional()
|
|
12
|
-
});
|
|
12
|
+
}).passthrough();
|
|
13
13
|
const resendCreateContactProperty = require_action.action("RESEND_CREATE_CONTACT_PROPERTY", {
|
|
14
14
|
slug: "resend-create-contact-property",
|
|
15
15
|
name: "Create Contact Property",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-contact-property.cjs","names":["z","action"],"sources":["../../src/actions/create-contact-property.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendCreateContactPropertyInput = z.object({\n key: z.string().describe(\"The key of the contact property. Must be alphanumeric and underscore only, max 50 characters. Case sensitive.\"),\n type: z.enum([\"string\", \"number\"]).describe(\"The type of the contact property.\"),\n fallbackValue: z.string().describe(\"The fallback value for the property. Must match the type of the property.\").optional(),\n});\nexport const ResendCreateContactPropertyOutput = z.object({\n id: z.string().describe(\"The ID of the contact property.\").nullable().optional(),\n object: z.string().describe(\"The object type of the response.\").nullable().optional(),\n});\n\nexport const resendCreateContactProperty = action(\"RESEND_CREATE_CONTACT_PROPERTY\", {\n slug: \"resend-create-contact-property\",\n name: \"Create Contact Property\",\n description: \"Tool to create a new contact property in Resend. Use when you need to define custom fields for contacts.\",\n input: ResendCreateContactPropertyInput,\n output: ResendCreateContactPropertyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G;CACxI,MAAMA,IAAAA,EAAE,KAAK,CAAC,UAAU,QAAQ,CAAC,CAAC,CAAC,SAAS,mCAAmC;CAC/E,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;AAC3H,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,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC;
|
|
1
|
+
{"version":3,"file":"create-contact-property.cjs","names":["z","action"],"sources":["../../src/actions/create-contact-property.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendCreateContactPropertyInput = z.object({\n key: z.string().describe(\"The key of the contact property. Must be alphanumeric and underscore only, max 50 characters. Case sensitive.\"),\n type: z.enum([\"string\", \"number\"]).describe(\"The type of the contact property.\"),\n fallbackValue: z.string().describe(\"The fallback value for the property. Must match the type of the property.\").optional(),\n});\nexport const ResendCreateContactPropertyOutput = z.object({\n id: z.string().describe(\"The ID of the contact property.\").nullable().optional(),\n object: z.string().describe(\"The object type of the response.\").nullable().optional(),\n}).passthrough();\n\nexport const resendCreateContactProperty = action(\"RESEND_CREATE_CONTACT_PROPERTY\", {\n slug: \"resend-create-contact-property\",\n name: \"Create Contact Property\",\n description: \"Tool to create a new contact property in Resend. Use when you need to define custom fields for contacts.\",\n input: ResendCreateContactPropertyInput,\n output: ResendCreateContactPropertyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G;CACxI,MAAMA,IAAAA,EAAE,KAAK,CAAC,UAAU,QAAQ,CAAC,CAAC,CAAC,SAAS,mCAAmC;CAC/E,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;AAC3H,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,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -12,7 +12,7 @@ declare const ResendCreateContactPropertyInput: z.ZodObject<{
|
|
|
12
12
|
declare const ResendCreateContactPropertyOutput: z.ZodObject<{
|
|
13
13
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>;
|
|
16
16
|
declare const resendCreateContactProperty: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
17
|
key: string;
|
|
18
18
|
type: "string" | "number";
|
|
@@ -12,7 +12,7 @@ declare const ResendCreateContactPropertyInput: z.ZodObject<{
|
|
|
12
12
|
declare const ResendCreateContactPropertyOutput: z.ZodObject<{
|
|
13
13
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>;
|
|
16
16
|
declare const resendCreateContactProperty: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
17
|
key: string;
|
|
18
18
|
type: "string" | "number";
|
|
@@ -12,7 +12,7 @@ const resendCreateContactProperty = action("RESEND_CREATE_CONTACT_PROPERTY", {
|
|
|
12
12
|
output: z.object({
|
|
13
13
|
id: z.string().describe("The ID of the contact property.").nullable().optional(),
|
|
14
14
|
object: z.string().describe("The object type of the response.").nullable().optional()
|
|
15
|
-
})
|
|
15
|
+
}).passthrough()
|
|
16
16
|
});
|
|
17
17
|
//#endregion
|
|
18
18
|
export { resendCreateContactProperty };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-contact-property.mjs","names":[],"sources":["../../src/actions/create-contact-property.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendCreateContactPropertyInput = z.object({\n key: z.string().describe(\"The key of the contact property. Must be alphanumeric and underscore only, max 50 characters. Case sensitive.\"),\n type: z.enum([\"string\", \"number\"]).describe(\"The type of the contact property.\"),\n fallbackValue: z.string().describe(\"The fallback value for the property. Must match the type of the property.\").optional(),\n});\nexport const ResendCreateContactPropertyOutput = z.object({\n id: z.string().describe(\"The ID of the contact property.\").nullable().optional(),\n object: z.string().describe(\"The object type of the response.\").nullable().optional(),\n});\n\nexport const resendCreateContactProperty = action(\"RESEND_CREATE_CONTACT_PROPERTY\", {\n slug: \"resend-create-contact-property\",\n name: \"Create Contact Property\",\n description: \"Tool to create a new contact property in Resend. Use when you need to define custom fields for contacts.\",\n input: ResendCreateContactPropertyInput,\n output: ResendCreateContactPropertyOutput,\n});\n"],"mappings":";;AAcA,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAd8C,EAAE,OAAO;EACvD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G;EACxI,MAAM,EAAE,KAAK,CAAC,UAAU,QAAQ,CAAC,CAAC,CAAC,SAAS,mCAAmC;EAC/E,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CAC3H,CAUS;CACP,QAV+C,EAAE,OAAO;EACxD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,
|
|
1
|
+
{"version":3,"file":"create-contact-property.mjs","names":[],"sources":["../../src/actions/create-contact-property.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendCreateContactPropertyInput = z.object({\n key: z.string().describe(\"The key of the contact property. Must be alphanumeric and underscore only, max 50 characters. Case sensitive.\"),\n type: z.enum([\"string\", \"number\"]).describe(\"The type of the contact property.\"),\n fallbackValue: z.string().describe(\"The fallback value for the property. Must match the type of the property.\").optional(),\n});\nexport const ResendCreateContactPropertyOutput = z.object({\n id: z.string().describe(\"The ID of the contact property.\").nullable().optional(),\n object: z.string().describe(\"The object type of the response.\").nullable().optional(),\n}).passthrough();\n\nexport const resendCreateContactProperty = action(\"RESEND_CREATE_CONTACT_PROPERTY\", {\n slug: \"resend-create-contact-property\",\n name: \"Create Contact Property\",\n description: \"Tool to create a new contact property in Resend. Use when you need to define custom fields for contacts.\",\n input: ResendCreateContactPropertyInput,\n output: ResendCreateContactPropertyOutput,\n});\n"],"mappings":";;AAcA,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAd8C,EAAE,OAAO;EACvD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G;EACxI,MAAM,EAAE,KAAK,CAAC,UAAU,QAAQ,CAAC,CAAC,CAAC,SAAS,mCAAmC;EAC/E,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CAC3H,CAUS;CACP,QAV+C,EAAE,OAAO;EACxD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -6,20 +6,20 @@ const ResendCreateContactV2Input = zod.z.object({
|
|
|
6
6
|
topics: zod.z.array(zod.z.object({
|
|
7
7
|
id: zod.z.string().describe("The ID of the topic."),
|
|
8
8
|
subscription: zod.z.enum(["opt_in", "opt_out"]).describe("The subscription status for this topic - either 'opt_in' or 'opt_out'.")
|
|
9
|
-
}).describe("Topic subscription preference for the contact.")).describe("List of topic subscriptions with ID and subscription status (opt_in or opt_out).").optional(),
|
|
10
|
-
segments: zod.z.array(zod.z.object({ id: zod.z.string().describe("The ID of the segment to enroll the contact in.") }).describe("Segment to enroll the contact in.")).describe("List of segment IDs to enroll the contact in.").optional(),
|
|
9
|
+
}).passthrough().describe("Topic subscription preference for the contact.")).describe("List of topic subscriptions with ID and subscription status (opt_in or opt_out).").optional(),
|
|
10
|
+
segments: zod.z.array(zod.z.object({ id: zod.z.string().describe("The ID of the segment to enroll the contact in.") }).passthrough().describe("Segment to enroll the contact in.")).describe("List of segment IDs to enroll the contact in.").optional(),
|
|
11
11
|
last_name: zod.z.string().describe("The last name of the contact.").optional(),
|
|
12
12
|
first_name: zod.z.string().describe("The first name of the contact.").optional(),
|
|
13
13
|
properties: zod.z.array(zod.z.object({
|
|
14
14
|
key: zod.z.string().describe("The key name for the custom property."),
|
|
15
15
|
value: zod.z.string().describe("The value for the custom property.")
|
|
16
|
-
}).describe("Custom key-value pair for contact properties.")).describe("Custom key-value pairs for the contact. Each property must have a key and value.").optional(),
|
|
16
|
+
}).passthrough().describe("Custom key-value pair for contact properties.")).describe("Custom key-value pairs for the contact. Each property must have a key and value.").optional(),
|
|
17
17
|
unsubscribed: zod.z.boolean().describe("Contact's global subscription status; when true, the contact opts out of all broadcasts.").optional()
|
|
18
18
|
});
|
|
19
19
|
const ResendCreateContactV2Output = zod.z.object({
|
|
20
20
|
id: zod.z.string().describe("The unique identifier of the created contact.").nullable().optional(),
|
|
21
21
|
object: zod.z.string().describe("The type of object, which is 'contact'.").nullable().optional()
|
|
22
|
-
});
|
|
22
|
+
}).passthrough();
|
|
23
23
|
const resendCreateContactV2 = require_action.action("RESEND_CREATE_CONTACT_V2", {
|
|
24
24
|
slug: "resend-create-contact-v2",
|
|
25
25
|
name: "Create Contact V2",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-contact-v2.cjs","names":["z","action"],"sources":["../../src/actions/create-contact-v2.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendCreateContactV2Input = z.object({\n email: z.string().describe(\"The email address of the contact.\"),\n topics: z.array(z.object({\n id: z.string().describe(\"The ID of the topic.\"),\n subscription: z.enum([\"opt_in\", \"opt_out\"]).describe(\"The subscription status for this topic - either 'opt_in' or 'opt_out'.\"),\n}).describe(\"Topic subscription preference for the contact.\")).describe(\"List of topic subscriptions with ID and subscription status (opt_in or opt_out).\").optional(),\n segments: z.array(z.object({\n id: z.string().describe(\"The ID of the segment to enroll the contact in.\"),\n}).describe(\"Segment to enroll the contact in.\")).describe(\"List of segment IDs to enroll the contact in.\").optional(),\n last_name: z.string().describe(\"The last name of the contact.\").optional(),\n first_name: z.string().describe(\"The first name of the contact.\").optional(),\n properties: z.array(z.object({\n key: z.string().describe(\"The key name for the custom property.\"),\n value: z.string().describe(\"The value for the custom property.\"),\n}).describe(\"Custom key-value pair for contact properties.\")).describe(\"Custom key-value pairs for the contact. Each property must have a key and value.\").optional(),\n unsubscribed: z.boolean().describe(\"Contact's global subscription status; when true, the contact opts out of all broadcasts.\").optional(),\n});\nexport const ResendCreateContactV2Output = z.object({\n id: z.string().describe(\"The unique identifier of the created contact.\").nullable().optional(),\n object: z.string().describe(\"The type of object, which is 'contact'.\").nullable().optional(),\n});\n\nexport const resendCreateContactV2 = action(\"RESEND_CREATE_CONTACT_V2\", {\n slug: \"resend-create-contact-v2\",\n name: \"Create Contact V2\",\n description: \"Tool to create a new contact in Resend. Use when you need to add a contact to Resend without specifying an audience.\",\n input: ResendCreateContactV2Input,\n output: ResendCreateContactV2Output,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC9D,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACzB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;EAC9C,cAAcA,IAAAA,EAAE,KAAK,CAAC,UAAU,SAAS,CAAC,CAAC,CAAC,SAAS,wEAAwE;CAC/H,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;
|
|
1
|
+
{"version":3,"file":"create-contact-v2.cjs","names":["z","action"],"sources":["../../src/actions/create-contact-v2.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendCreateContactV2Input = z.object({\n email: z.string().describe(\"The email address of the contact.\"),\n topics: z.array(z.object({\n id: z.string().describe(\"The ID of the topic.\"),\n subscription: z.enum([\"opt_in\", \"opt_out\"]).describe(\"The subscription status for this topic - either 'opt_in' or 'opt_out'.\"),\n}).passthrough().describe(\"Topic subscription preference for the contact.\")).describe(\"List of topic subscriptions with ID and subscription status (opt_in or opt_out).\").optional(),\n segments: z.array(z.object({\n id: z.string().describe(\"The ID of the segment to enroll the contact in.\"),\n}).passthrough().describe(\"Segment to enroll the contact in.\")).describe(\"List of segment IDs to enroll the contact in.\").optional(),\n last_name: z.string().describe(\"The last name of the contact.\").optional(),\n first_name: z.string().describe(\"The first name of the contact.\").optional(),\n properties: z.array(z.object({\n key: z.string().describe(\"The key name for the custom property.\"),\n value: z.string().describe(\"The value for the custom property.\"),\n}).passthrough().describe(\"Custom key-value pair for contact properties.\")).describe(\"Custom key-value pairs for the contact. Each property must have a key and value.\").optional(),\n unsubscribed: z.boolean().describe(\"Contact's global subscription status; when true, the contact opts out of all broadcasts.\").optional(),\n});\nexport const ResendCreateContactV2Output = z.object({\n id: z.string().describe(\"The unique identifier of the created contact.\").nullable().optional(),\n object: z.string().describe(\"The type of object, which is 'contact'.\").nullable().optional(),\n}).passthrough();\n\nexport const resendCreateContactV2 = action(\"RESEND_CREATE_CONTACT_V2\", {\n slug: \"resend-create-contact-v2\",\n name: \"Create Contact V2\",\n description: \"Tool to create a new contact in Resend. Use when you need to add a contact to Resend without specifying an audience.\",\n input: ResendCreateContactV2Input,\n output: ResendCreateContactV2Output,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC9D,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACzB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;EAC9C,cAAcA,IAAAA,EAAE,KAAK,CAAC,UAAU,SAAS,CAAC,CAAC,CAAC,SAAS,wEAAwE;CAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CACjL,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,EAC3B,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,EAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACjI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACzE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC3E,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC7B,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;EAChE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACjE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CAChL,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;AAC1I,CAAC;AACD,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -9,34 +9,37 @@ declare const ResendCreateContactV2Input: z.ZodObject<{
|
|
|
9
9
|
opt_in: "opt_in";
|
|
10
10
|
opt_out: "opt_out";
|
|
11
11
|
}>;
|
|
12
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>>>;
|
|
13
13
|
segments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
14
14
|
id: z.ZodString;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>>>;
|
|
16
16
|
last_name: z.ZodOptional<z.ZodString>;
|
|
17
17
|
first_name: z.ZodOptional<z.ZodString>;
|
|
18
18
|
properties: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
19
19
|
key: z.ZodString;
|
|
20
20
|
value: z.ZodString;
|
|
21
|
-
}, z.core.$
|
|
21
|
+
}, z.core.$loose>>>;
|
|
22
22
|
unsubscribed: z.ZodOptional<z.ZodBoolean>;
|
|
23
23
|
}, z.core.$strip>;
|
|
24
24
|
declare const ResendCreateContactV2Output: z.ZodObject<{
|
|
25
25
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
26
|
object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
-
}, z.core.$
|
|
27
|
+
}, z.core.$loose>;
|
|
28
28
|
declare const resendCreateContactV2: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
29
29
|
email: string;
|
|
30
30
|
topics?: {
|
|
31
|
+
[x: string]: unknown;
|
|
31
32
|
id: string;
|
|
32
33
|
subscription: "opt_in" | "opt_out";
|
|
33
34
|
}[] | undefined;
|
|
34
35
|
segments?: {
|
|
36
|
+
[x: string]: unknown;
|
|
35
37
|
id: string;
|
|
36
38
|
}[] | undefined;
|
|
37
39
|
last_name?: string | undefined;
|
|
38
40
|
first_name?: string | undefined;
|
|
39
41
|
properties?: {
|
|
42
|
+
[x: string]: unknown;
|
|
40
43
|
key: string;
|
|
41
44
|
value: string;
|
|
42
45
|
}[] | undefined;
|
|
@@ -9,34 +9,37 @@ declare const ResendCreateContactV2Input: z.ZodObject<{
|
|
|
9
9
|
opt_in: "opt_in";
|
|
10
10
|
opt_out: "opt_out";
|
|
11
11
|
}>;
|
|
12
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>>>;
|
|
13
13
|
segments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
14
14
|
id: z.ZodString;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>>>;
|
|
16
16
|
last_name: z.ZodOptional<z.ZodString>;
|
|
17
17
|
first_name: z.ZodOptional<z.ZodString>;
|
|
18
18
|
properties: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
19
19
|
key: z.ZodString;
|
|
20
20
|
value: z.ZodString;
|
|
21
|
-
}, z.core.$
|
|
21
|
+
}, z.core.$loose>>>;
|
|
22
22
|
unsubscribed: z.ZodOptional<z.ZodBoolean>;
|
|
23
23
|
}, z.core.$strip>;
|
|
24
24
|
declare const ResendCreateContactV2Output: z.ZodObject<{
|
|
25
25
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
26
|
object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
-
}, z.core.$
|
|
27
|
+
}, z.core.$loose>;
|
|
28
28
|
declare const resendCreateContactV2: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
29
29
|
email: string;
|
|
30
30
|
topics?: {
|
|
31
|
+
[x: string]: unknown;
|
|
31
32
|
id: string;
|
|
32
33
|
subscription: "opt_in" | "opt_out";
|
|
33
34
|
}[] | undefined;
|
|
34
35
|
segments?: {
|
|
36
|
+
[x: string]: unknown;
|
|
35
37
|
id: string;
|
|
36
38
|
}[] | undefined;
|
|
37
39
|
last_name?: string | undefined;
|
|
38
40
|
first_name?: string | undefined;
|
|
39
41
|
properties?: {
|
|
42
|
+
[x: string]: unknown;
|
|
40
43
|
key: string;
|
|
41
44
|
value: string;
|
|
42
45
|
}[] | undefined;
|
|
@@ -9,20 +9,20 @@ const resendCreateContactV2 = action("RESEND_CREATE_CONTACT_V2", {
|
|
|
9
9
|
topics: z.array(z.object({
|
|
10
10
|
id: z.string().describe("The ID of the topic."),
|
|
11
11
|
subscription: z.enum(["opt_in", "opt_out"]).describe("The subscription status for this topic - either 'opt_in' or 'opt_out'.")
|
|
12
|
-
}).describe("Topic subscription preference for the contact.")).describe("List of topic subscriptions with ID and subscription status (opt_in or opt_out).").optional(),
|
|
13
|
-
segments: z.array(z.object({ id: z.string().describe("The ID of the segment to enroll the contact in.") }).describe("Segment to enroll the contact in.")).describe("List of segment IDs to enroll the contact in.").optional(),
|
|
12
|
+
}).passthrough().describe("Topic subscription preference for the contact.")).describe("List of topic subscriptions with ID and subscription status (opt_in or opt_out).").optional(),
|
|
13
|
+
segments: z.array(z.object({ id: z.string().describe("The ID of the segment to enroll the contact in.") }).passthrough().describe("Segment to enroll the contact in.")).describe("List of segment IDs to enroll the contact in.").optional(),
|
|
14
14
|
last_name: z.string().describe("The last name of the contact.").optional(),
|
|
15
15
|
first_name: z.string().describe("The first name of the contact.").optional(),
|
|
16
16
|
properties: z.array(z.object({
|
|
17
17
|
key: z.string().describe("The key name for the custom property."),
|
|
18
18
|
value: z.string().describe("The value for the custom property.")
|
|
19
|
-
}).describe("Custom key-value pair for contact properties.")).describe("Custom key-value pairs for the contact. Each property must have a key and value.").optional(),
|
|
19
|
+
}).passthrough().describe("Custom key-value pair for contact properties.")).describe("Custom key-value pairs for the contact. Each property must have a key and value.").optional(),
|
|
20
20
|
unsubscribed: z.boolean().describe("Contact's global subscription status; when true, the contact opts out of all broadcasts.").optional()
|
|
21
21
|
}),
|
|
22
22
|
output: z.object({
|
|
23
23
|
id: z.string().describe("The unique identifier of the created contact.").nullable().optional(),
|
|
24
24
|
object: z.string().describe("The type of object, which is 'contact'.").nullable().optional()
|
|
25
|
-
})
|
|
25
|
+
}).passthrough()
|
|
26
26
|
});
|
|
27
27
|
//#endregion
|
|
28
28
|
export { resendCreateContactV2 };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-contact-v2.mjs","names":[],"sources":["../../src/actions/create-contact-v2.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendCreateContactV2Input = z.object({\n email: z.string().describe(\"The email address of the contact.\"),\n topics: z.array(z.object({\n id: z.string().describe(\"The ID of the topic.\"),\n subscription: z.enum([\"opt_in\", \"opt_out\"]).describe(\"The subscription status for this topic - either 'opt_in' or 'opt_out'.\"),\n}).describe(\"Topic subscription preference for the contact.\")).describe(\"List of topic subscriptions with ID and subscription status (opt_in or opt_out).\").optional(),\n segments: z.array(z.object({\n id: z.string().describe(\"The ID of the segment to enroll the contact in.\"),\n}).describe(\"Segment to enroll the contact in.\")).describe(\"List of segment IDs to enroll the contact in.\").optional(),\n last_name: z.string().describe(\"The last name of the contact.\").optional(),\n first_name: z.string().describe(\"The first name of the contact.\").optional(),\n properties: z.array(z.object({\n key: z.string().describe(\"The key name for the custom property.\"),\n value: z.string().describe(\"The value for the custom property.\"),\n}).describe(\"Custom key-value pair for contact properties.\")).describe(\"Custom key-value pairs for the contact. Each property must have a key and value.\").optional(),\n unsubscribed: z.boolean().describe(\"Contact's global subscription status; when true, the contact opts out of all broadcasts.\").optional(),\n});\nexport const ResendCreateContactV2Output = z.object({\n id: z.string().describe(\"The unique identifier of the created contact.\").nullable().optional(),\n object: z.string().describe(\"The type of object, which is 'contact'.\").nullable().optional(),\n});\n\nexport const resendCreateContactV2 = action(\"RESEND_CREATE_CONTACT_V2\", {\n slug: \"resend-create-contact-v2\",\n name: \"Create Contact V2\",\n description: \"Tool to create a new contact in Resend. Use when you need to add a contact to Resend without specifying an audience.\",\n input: ResendCreateContactV2Input,\n output: ResendCreateContactV2Output,\n});\n"],"mappings":";;AA0BA,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA1BwC,EAAE,OAAO;EACjD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;EAC9D,QAAQ,EAAE,MAAM,EAAE,OAAO;GACzB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;GAC9C,cAAc,EAAE,KAAK,CAAC,UAAU,SAAS,CAAC,CAAC,CAAC,SAAS,wEAAwE;EAC/H,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;
|
|
1
|
+
{"version":3,"file":"create-contact-v2.mjs","names":[],"sources":["../../src/actions/create-contact-v2.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendCreateContactV2Input = z.object({\n email: z.string().describe(\"The email address of the contact.\"),\n topics: z.array(z.object({\n id: z.string().describe(\"The ID of the topic.\"),\n subscription: z.enum([\"opt_in\", \"opt_out\"]).describe(\"The subscription status for this topic - either 'opt_in' or 'opt_out'.\"),\n}).passthrough().describe(\"Topic subscription preference for the contact.\")).describe(\"List of topic subscriptions with ID and subscription status (opt_in or opt_out).\").optional(),\n segments: z.array(z.object({\n id: z.string().describe(\"The ID of the segment to enroll the contact in.\"),\n}).passthrough().describe(\"Segment to enroll the contact in.\")).describe(\"List of segment IDs to enroll the contact in.\").optional(),\n last_name: z.string().describe(\"The last name of the contact.\").optional(),\n first_name: z.string().describe(\"The first name of the contact.\").optional(),\n properties: z.array(z.object({\n key: z.string().describe(\"The key name for the custom property.\"),\n value: z.string().describe(\"The value for the custom property.\"),\n}).passthrough().describe(\"Custom key-value pair for contact properties.\")).describe(\"Custom key-value pairs for the contact. Each property must have a key and value.\").optional(),\n unsubscribed: z.boolean().describe(\"Contact's global subscription status; when true, the contact opts out of all broadcasts.\").optional(),\n});\nexport const ResendCreateContactV2Output = z.object({\n id: z.string().describe(\"The unique identifier of the created contact.\").nullable().optional(),\n object: z.string().describe(\"The type of object, which is 'contact'.\").nullable().optional(),\n}).passthrough();\n\nexport const resendCreateContactV2 = action(\"RESEND_CREATE_CONTACT_V2\", {\n slug: \"resend-create-contact-v2\",\n name: \"Create Contact V2\",\n description: \"Tool to create a new contact in Resend. Use when you need to add a contact to Resend without specifying an audience.\",\n input: ResendCreateContactV2Input,\n output: ResendCreateContactV2Output,\n});\n"],"mappings":";;AA0BA,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA1BwC,EAAE,OAAO;EACjD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;EAC9D,QAAQ,EAAE,MAAM,EAAE,OAAO;GACzB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;GAC9C,cAAc,EAAE,KAAK,CAAC,UAAU,SAAS,CAAC,CAAC,CAAC,SAAS,wEAAwE;EAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;EACjL,UAAU,EAAE,MAAM,EAAE,OAAO,EAC3B,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,EAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACjI,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACzE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EAC3E,YAAY,EAAE,MAAM,EAAE,OAAO;GAC7B,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;GAChE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;EACjE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;EAChL,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CAC1I,CAUS;CACP,QAVyC,EAAE,OAAO;EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -11,7 +11,7 @@ const ResendCreateContactInput = zod.z.object({
|
|
|
11
11
|
const ResendCreateContactOutput = zod.z.object({
|
|
12
12
|
id: zod.z.string().describe("The id of the created contact.").nullable().optional(),
|
|
13
13
|
object: zod.z.string().describe("The type of object, which is 'contact'.").nullable().optional()
|
|
14
|
-
});
|
|
14
|
+
}).passthrough();
|
|
15
15
|
const resendCreateContact = require_action.action("RESEND_CREATE_CONTACT", {
|
|
16
16
|
slug: "resend-create-contact",
|
|
17
17
|
name: "Create Contact",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-contact.cjs","names":["z","action"],"sources":["../../src/actions/create-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendCreateContactInput = z.object({\n email: z.string().describe(\"The email address of the contact. Must be a valid RFC-compliant email address.\"),\n lastName: z.string().describe(\"The last name of the contact.\").optional(),\n firstName: z.string().describe(\"The first name of the contact.\").optional(),\n audienceId: z.string().describe(\"The Audience ID.\"),\n unsubscribed: z.boolean().describe(\"The subscription status.\").optional(),\n});\nexport const ResendCreateContactOutput = z.object({\n id: z.string().describe(\"The id of the created contact.\").nullable().optional(),\n object: z.string().describe(\"The type of object, which is 'contact'.\").nullable().optional(),\n});\n\nexport const resendCreateContact = action(\"RESEND_CREATE_CONTACT\", {\n slug: \"resend-create-contact\",\n name: \"Create Contact\",\n description: \"Create a contact in Resend.\",\n input: ResendCreateContactInput,\n output: ResendCreateContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF;CAC3G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACxE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC1E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAClD,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;AAC1E,CAAC;AACD,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,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;AAC7F,CAAC;
|
|
1
|
+
{"version":3,"file":"create-contact.cjs","names":["z","action"],"sources":["../../src/actions/create-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendCreateContactInput = z.object({\n email: z.string().describe(\"The email address of the contact. Must be a valid RFC-compliant email address.\"),\n lastName: z.string().describe(\"The last name of the contact.\").optional(),\n firstName: z.string().describe(\"The first name of the contact.\").optional(),\n audienceId: z.string().describe(\"The Audience ID.\"),\n unsubscribed: z.boolean().describe(\"The subscription status.\").optional(),\n});\nexport const ResendCreateContactOutput = z.object({\n id: z.string().describe(\"The id of the created contact.\").nullable().optional(),\n object: z.string().describe(\"The type of object, which is 'contact'.\").nullable().optional(),\n}).passthrough();\n\nexport const resendCreateContact = action(\"RESEND_CREATE_CONTACT\", {\n slug: \"resend-create-contact\",\n name: \"Create Contact\",\n description: \"Create a contact in Resend.\",\n input: ResendCreateContactInput,\n output: ResendCreateContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF;CAC3G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACxE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC1E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAClD,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;AAC1E,CAAC;AACD,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,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;AAC7F,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -11,7 +11,7 @@ declare const ResendCreateContactInput: z.ZodObject<{
|
|
|
11
11
|
declare const ResendCreateContactOutput: z.ZodObject<{
|
|
12
12
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
13
|
object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const resendCreateContact: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
email: string;
|
|
17
17
|
audienceId: string;
|
|
@@ -11,7 +11,7 @@ declare const ResendCreateContactInput: z.ZodObject<{
|
|
|
11
11
|
declare const ResendCreateContactOutput: z.ZodObject<{
|
|
12
12
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
13
|
object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const resendCreateContact: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
email: string;
|
|
17
17
|
audienceId: string;
|
|
@@ -14,7 +14,7 @@ const resendCreateContact = action("RESEND_CREATE_CONTACT", {
|
|
|
14
14
|
output: z.object({
|
|
15
15
|
id: z.string().describe("The id of the created contact.").nullable().optional(),
|
|
16
16
|
object: z.string().describe("The type of object, which is 'contact'.").nullable().optional()
|
|
17
|
-
})
|
|
17
|
+
}).passthrough()
|
|
18
18
|
});
|
|
19
19
|
//#endregion
|
|
20
20
|
export { resendCreateContact };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-contact.mjs","names":[],"sources":["../../src/actions/create-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendCreateContactInput = z.object({\n email: z.string().describe(\"The email address of the contact. Must be a valid RFC-compliant email address.\"),\n lastName: z.string().describe(\"The last name of the contact.\").optional(),\n firstName: z.string().describe(\"The first name of the contact.\").optional(),\n audienceId: z.string().describe(\"The Audience ID.\"),\n unsubscribed: z.boolean().describe(\"The subscription status.\").optional(),\n});\nexport const ResendCreateContactOutput = z.object({\n id: z.string().describe(\"The id of the created contact.\").nullable().optional(),\n object: z.string().describe(\"The type of object, which is 'contact'.\").nullable().optional(),\n});\n\nexport const resendCreateContact = action(\"RESEND_CREATE_CONTACT\", {\n slug: \"resend-create-contact\",\n name: \"Create Contact\",\n description: \"Create a contact in Resend.\",\n input: ResendCreateContactInput,\n output: ResendCreateContactOutput,\n});\n"],"mappings":";;AAgBA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBsC,EAAE,OAAO;EAC/C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF;EAC3G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACxE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EAC1E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;EAClD,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC1E,CAUS;CACP,QAVuC,EAAE,OAAO;EAChD,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;CAC7F,
|
|
1
|
+
{"version":3,"file":"create-contact.mjs","names":[],"sources":["../../src/actions/create-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendCreateContactInput = z.object({\n email: z.string().describe(\"The email address of the contact. Must be a valid RFC-compliant email address.\"),\n lastName: z.string().describe(\"The last name of the contact.\").optional(),\n firstName: z.string().describe(\"The first name of the contact.\").optional(),\n audienceId: z.string().describe(\"The Audience ID.\"),\n unsubscribed: z.boolean().describe(\"The subscription status.\").optional(),\n});\nexport const ResendCreateContactOutput = z.object({\n id: z.string().describe(\"The id of the created contact.\").nullable().optional(),\n object: z.string().describe(\"The type of object, which is 'contact'.\").nullable().optional(),\n}).passthrough();\n\nexport const resendCreateContact = action(\"RESEND_CREATE_CONTACT\", {\n slug: \"resend-create-contact\",\n name: \"Create Contact\",\n description: \"Create a contact in Resend.\",\n input: ResendCreateContactInput,\n output: ResendCreateContactOutput,\n});\n"],"mappings":";;AAgBA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBsC,EAAE,OAAO;EAC/C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF;EAC3G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACxE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EAC1E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;EAClD,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC1E,CAUS;CACP,QAVuC,EAAE,OAAO;EAChD,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;CAC7F,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -18,11 +18,11 @@ const ResendCreateDomain_DnsRecordSchema = zod.z.object({
|
|
|
18
18
|
record: zod.z.string().describe("The type of record (DKIM, SPF).").nullable().optional(),
|
|
19
19
|
status: zod.z.string().describe("The verification status of this record.").nullable().optional(),
|
|
20
20
|
priority: zod.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 = zod.z.object({
|
|
23
23
|
sending: zod.z.string().describe("Whether sending emails is enabled or disabled for this domain.").nullable().optional(),
|
|
24
24
|
receiving: zod.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 ResendCreateDomainOutput = zod.z.object({
|
|
27
27
|
id: zod.z.string().describe("The id of the created domain.").nullable().optional(),
|
|
28
28
|
name: zod.z.string().describe("The name of the created domain.").nullable().optional(),
|
|
@@ -31,7 +31,7 @@ const ResendCreateDomainOutput = zod.z.object({
|
|
|
31
31
|
records: zod.z.array(ResendCreateDomain_DnsRecordSchema).describe("The DNS records that need to be configured for domain verification.").nullable().optional(),
|
|
32
32
|
created_at: zod.z.string().describe("The creation timestamp of the domain.").nullable().optional(),
|
|
33
33
|
capabilities: ResendCreateDomain_DomainCapabilitiesSchema.nullable().optional()
|
|
34
|
-
});
|
|
34
|
+
}).passthrough();
|
|
35
35
|
const resendCreateDomain = require_action.action("RESEND_CREATE_DOMAIN", {
|
|
36
36
|
slug: "resend-create-domain",
|
|
37
37
|
name: "Create Domain",
|