@keystrokehq/resend 0.1.5 → 0.1.6
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/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/add-contact-to-segment.cjs +1 -0
- package/dist/actions/add-contact-to-segment.cjs.map +1 -1
- package/dist/actions/add-contact-to-segment.d.cts +3 -16
- package/dist/actions/add-contact-to-segment.d.cts.map +1 -1
- package/dist/actions/add-contact-to-segment.d.mts +3 -16
- package/dist/actions/add-contact-to-segment.d.mts.map +1 -1
- package/dist/actions/add-contact-to-segment.mjs +1 -0
- package/dist/actions/add-contact-to-segment.mjs.map +1 -1
- package/dist/actions/cancel-email.cjs +1 -0
- package/dist/actions/cancel-email.cjs.map +1 -1
- package/dist/actions/cancel-email.d.cts +3 -15
- package/dist/actions/cancel-email.d.cts.map +1 -1
- package/dist/actions/cancel-email.d.mts +3 -15
- package/dist/actions/cancel-email.d.mts.map +1 -1
- package/dist/actions/cancel-email.mjs +1 -0
- package/dist/actions/cancel-email.mjs.map +1 -1
- package/dist/actions/create-api-key.cjs +1 -0
- package/dist/actions/create-api-key.cjs.map +1 -1
- package/dist/actions/create-api-key.d.cts +3 -17
- package/dist/actions/create-api-key.d.cts.map +1 -1
- package/dist/actions/create-api-key.d.mts +3 -17
- package/dist/actions/create-api-key.d.mts.map +1 -1
- package/dist/actions/create-api-key.mjs +1 -0
- package/dist/actions/create-api-key.mjs.map +1 -1
- package/dist/actions/create-audience.cjs +1 -0
- package/dist/actions/create-audience.cjs.map +1 -1
- package/dist/actions/create-audience.d.cts +3 -15
- package/dist/actions/create-audience.d.cts.map +1 -1
- package/dist/actions/create-audience.d.mts +3 -15
- package/dist/actions/create-audience.d.mts.map +1 -1
- package/dist/actions/create-audience.mjs +1 -0
- package/dist/actions/create-audience.mjs.map +1 -1
- package/dist/actions/create-contact-property.cjs +1 -0
- package/dist/actions/create-contact-property.cjs.map +1 -1
- package/dist/actions/create-contact-property.d.cts +3 -17
- package/dist/actions/create-contact-property.d.cts.map +1 -1
- package/dist/actions/create-contact-property.d.mts +3 -17
- package/dist/actions/create-contact-property.d.mts.map +1 -1
- package/dist/actions/create-contact-property.mjs +1 -0
- package/dist/actions/create-contact-property.mjs.map +1 -1
- package/dist/actions/create-contact-v2.cjs +1 -0
- package/dist/actions/create-contact-v2.cjs.map +1 -1
- package/dist/actions/create-contact-v2.d.cts +3 -32
- package/dist/actions/create-contact-v2.d.cts.map +1 -1
- package/dist/actions/create-contact-v2.d.mts +3 -32
- package/dist/actions/create-contact-v2.d.mts.map +1 -1
- package/dist/actions/create-contact-v2.mjs +1 -0
- package/dist/actions/create-contact-v2.mjs.map +1 -1
- package/dist/actions/create-contact.cjs +1 -0
- package/dist/actions/create-contact.cjs.map +1 -1
- package/dist/actions/create-contact.d.cts +3 -19
- package/dist/actions/create-contact.d.cts.map +1 -1
- package/dist/actions/create-contact.d.mts +3 -19
- package/dist/actions/create-contact.d.mts.map +1 -1
- package/dist/actions/create-contact.mjs +1 -0
- package/dist/actions/create-contact.mjs.map +1 -1
- package/dist/actions/create-domain.cjs +1 -0
- package/dist/actions/create-domain.cjs.map +1 -1
- package/dist/actions/create-domain.d.cts +3 -16
- package/dist/actions/create-domain.d.cts.map +1 -1
- package/dist/actions/create-domain.d.mts +3 -16
- package/dist/actions/create-domain.d.mts.map +1 -1
- package/dist/actions/create-domain.mjs +1 -0
- package/dist/actions/create-domain.mjs.map +1 -1
- package/dist/actions/create-template.cjs +1 -0
- package/dist/actions/create-template.cjs.map +1 -1
- package/dist/actions/create-template.d.cts +3 -27
- package/dist/actions/create-template.d.cts.map +1 -1
- package/dist/actions/create-template.d.mts +3 -27
- package/dist/actions/create-template.d.mts.map +1 -1
- package/dist/actions/create-template.mjs +1 -0
- package/dist/actions/create-template.mjs.map +1 -1
- package/dist/actions/create-topic.cjs +1 -0
- package/dist/actions/create-topic.cjs.map +1 -1
- package/dist/actions/create-topic.d.cts +3 -18
- package/dist/actions/create-topic.d.cts.map +1 -1
- package/dist/actions/create-topic.d.mts +3 -18
- package/dist/actions/create-topic.d.mts.map +1 -1
- package/dist/actions/create-topic.mjs +1 -0
- package/dist/actions/create-topic.mjs.map +1 -1
- package/dist/actions/create-webhook.cjs +1 -0
- package/dist/actions/create-webhook.cjs.map +1 -1
- package/dist/actions/create-webhook.d.cts +3 -16
- package/dist/actions/create-webhook.d.cts.map +1 -1
- package/dist/actions/create-webhook.d.mts +3 -16
- package/dist/actions/create-webhook.d.mts.map +1 -1
- package/dist/actions/create-webhook.mjs +1 -0
- package/dist/actions/create-webhook.mjs.map +1 -1
- package/dist/actions/delete-api-key.cjs +1 -0
- package/dist/actions/delete-api-key.cjs.map +1 -1
- package/dist/actions/delete-api-key.d.cts +3 -15
- package/dist/actions/delete-api-key.d.cts.map +1 -1
- package/dist/actions/delete-api-key.d.mts +3 -15
- package/dist/actions/delete-api-key.d.mts.map +1 -1
- package/dist/actions/delete-api-key.mjs +1 -0
- package/dist/actions/delete-api-key.mjs.map +1 -1
- package/dist/actions/delete-audience.cjs +1 -0
- package/dist/actions/delete-audience.cjs.map +1 -1
- package/dist/actions/delete-audience.d.cts +3 -15
- package/dist/actions/delete-audience.d.cts.map +1 -1
- package/dist/actions/delete-audience.d.mts +3 -15
- package/dist/actions/delete-audience.d.mts.map +1 -1
- package/dist/actions/delete-audience.mjs +1 -0
- package/dist/actions/delete-audience.mjs.map +1 -1
- package/dist/actions/delete-contact-by-id.cjs +1 -0
- package/dist/actions/delete-contact-by-id.cjs.map +1 -1
- package/dist/actions/delete-contact-by-id.d.cts +3 -15
- package/dist/actions/delete-contact-by-id.d.cts.map +1 -1
- package/dist/actions/delete-contact-by-id.d.mts +3 -15
- package/dist/actions/delete-contact-by-id.d.mts.map +1 -1
- package/dist/actions/delete-contact-by-id.mjs +1 -0
- package/dist/actions/delete-contact-by-id.mjs.map +1 -1
- package/dist/actions/delete-contact-property.cjs +1 -0
- package/dist/actions/delete-contact-property.cjs.map +1 -1
- package/dist/actions/delete-contact-property.d.cts +3 -15
- package/dist/actions/delete-contact-property.d.cts.map +1 -1
- package/dist/actions/delete-contact-property.d.mts +3 -15
- package/dist/actions/delete-contact-property.d.mts.map +1 -1
- package/dist/actions/delete-contact-property.mjs +1 -0
- package/dist/actions/delete-contact-property.mjs.map +1 -1
- package/dist/actions/delete-contact.cjs +1 -0
- package/dist/actions/delete-contact.cjs.map +1 -1
- package/dist/actions/delete-contact.d.cts +3 -17
- package/dist/actions/delete-contact.d.cts.map +1 -1
- package/dist/actions/delete-contact.d.mts +3 -17
- package/dist/actions/delete-contact.d.mts.map +1 -1
- package/dist/actions/delete-contact.mjs +1 -0
- package/dist/actions/delete-contact.mjs.map +1 -1
- package/dist/actions/delete-domain.cjs +1 -0
- package/dist/actions/delete-domain.cjs.map +1 -1
- package/dist/actions/delete-domain.d.cts +3 -15
- package/dist/actions/delete-domain.d.cts.map +1 -1
- package/dist/actions/delete-domain.d.mts +3 -15
- package/dist/actions/delete-domain.d.mts.map +1 -1
- package/dist/actions/delete-domain.mjs +1 -0
- package/dist/actions/delete-domain.mjs.map +1 -1
- package/dist/actions/delete-segment.cjs +1 -0
- package/dist/actions/delete-segment.cjs.map +1 -1
- package/dist/actions/delete-segment.d.cts +3 -15
- package/dist/actions/delete-segment.d.cts.map +1 -1
- package/dist/actions/delete-segment.d.mts +3 -15
- package/dist/actions/delete-segment.d.mts.map +1 -1
- package/dist/actions/delete-segment.mjs +1 -0
- package/dist/actions/delete-segment.mjs.map +1 -1
- package/dist/actions/delete-template.cjs +1 -0
- package/dist/actions/delete-template.cjs.map +1 -1
- package/dist/actions/delete-template.d.cts +3 -15
- package/dist/actions/delete-template.d.cts.map +1 -1
- package/dist/actions/delete-template.d.mts +3 -15
- package/dist/actions/delete-template.d.mts.map +1 -1
- package/dist/actions/delete-template.mjs +1 -0
- package/dist/actions/delete-template.mjs.map +1 -1
- package/dist/actions/delete-topic.cjs +1 -0
- package/dist/actions/delete-topic.cjs.map +1 -1
- package/dist/actions/delete-topic.d.cts +3 -15
- package/dist/actions/delete-topic.d.cts.map +1 -1
- package/dist/actions/delete-topic.d.mts +3 -15
- package/dist/actions/delete-topic.d.mts.map +1 -1
- package/dist/actions/delete-topic.mjs +1 -0
- package/dist/actions/delete-topic.mjs.map +1 -1
- package/dist/actions/delete-webhook.cjs +1 -0
- package/dist/actions/delete-webhook.cjs.map +1 -1
- package/dist/actions/delete-webhook.d.cts +3 -15
- package/dist/actions/delete-webhook.d.cts.map +1 -1
- package/dist/actions/delete-webhook.d.mts +3 -15
- package/dist/actions/delete-webhook.d.mts.map +1 -1
- package/dist/actions/delete-webhook.mjs +1 -0
- package/dist/actions/delete-webhook.mjs.map +1 -1
- package/dist/actions/duplicate-template.cjs +1 -0
- package/dist/actions/duplicate-template.cjs.map +1 -1
- package/dist/actions/duplicate-template.d.cts +3 -15
- package/dist/actions/duplicate-template.d.cts.map +1 -1
- package/dist/actions/duplicate-template.d.mts +3 -15
- package/dist/actions/duplicate-template.d.mts.map +1 -1
- package/dist/actions/duplicate-template.mjs +1 -0
- package/dist/actions/duplicate-template.mjs.map +1 -1
- package/dist/actions/get-contact-property.cjs +1 -0
- package/dist/actions/get-contact-property.cjs.map +1 -1
- package/dist/actions/get-contact-property.d.cts +3 -15
- package/dist/actions/get-contact-property.d.cts.map +1 -1
- package/dist/actions/get-contact-property.d.mts +3 -15
- package/dist/actions/get-contact-property.d.mts.map +1 -1
- package/dist/actions/get-contact-property.mjs +1 -0
- package/dist/actions/get-contact-property.mjs.map +1 -1
- package/dist/actions/get-contact.cjs +1 -0
- package/dist/actions/get-contact.cjs.map +1 -1
- package/dist/actions/get-contact.d.cts +3 -15
- package/dist/actions/get-contact.d.cts.map +1 -1
- package/dist/actions/get-contact.d.mts +3 -15
- package/dist/actions/get-contact.d.mts.map +1 -1
- package/dist/actions/get-contact.mjs +1 -0
- package/dist/actions/get-contact.mjs.map +1 -1
- package/dist/actions/get-email-attachment.cjs +1 -0
- package/dist/actions/get-email-attachment.cjs.map +1 -1
- package/dist/actions/get-email-attachment.d.cts +3 -16
- package/dist/actions/get-email-attachment.d.cts.map +1 -1
- package/dist/actions/get-email-attachment.d.mts +3 -16
- package/dist/actions/get-email-attachment.d.mts.map +1 -1
- package/dist/actions/get-email-attachment.mjs +1 -0
- package/dist/actions/get-email-attachment.mjs.map +1 -1
- package/dist/actions/get-segment.cjs +1 -0
- package/dist/actions/get-segment.cjs.map +1 -1
- package/dist/actions/get-segment.d.cts +3 -15
- package/dist/actions/get-segment.d.cts.map +1 -1
- package/dist/actions/get-segment.d.mts +3 -15
- package/dist/actions/get-segment.d.mts.map +1 -1
- package/dist/actions/get-segment.mjs +1 -0
- package/dist/actions/get-segment.mjs.map +1 -1
- package/dist/actions/get-template.cjs +1 -0
- package/dist/actions/get-template.cjs.map +1 -1
- package/dist/actions/get-template.d.cts +3 -15
- package/dist/actions/get-template.d.cts.map +1 -1
- package/dist/actions/get-template.d.mts +3 -15
- package/dist/actions/get-template.d.mts.map +1 -1
- package/dist/actions/get-template.mjs +1 -0
- package/dist/actions/get-template.mjs.map +1 -1
- package/dist/actions/get-topic.cjs +1 -0
- package/dist/actions/get-topic.cjs.map +1 -1
- package/dist/actions/get-topic.d.cts +3 -15
- package/dist/actions/get-topic.d.cts.map +1 -1
- package/dist/actions/get-topic.d.mts +3 -15
- package/dist/actions/get-topic.d.mts.map +1 -1
- package/dist/actions/get-topic.mjs +1 -0
- package/dist/actions/get-topic.mjs.map +1 -1
- package/dist/actions/get-webhook.cjs +1 -0
- package/dist/actions/get-webhook.cjs.map +1 -1
- package/dist/actions/get-webhook.d.cts +3 -15
- package/dist/actions/get-webhook.d.cts.map +1 -1
- package/dist/actions/get-webhook.d.mts +3 -15
- package/dist/actions/get-webhook.d.mts.map +1 -1
- package/dist/actions/get-webhook.mjs +1 -0
- package/dist/actions/get-webhook.mjs.map +1 -1
- package/dist/actions/list-all-contacts.cjs +1 -0
- package/dist/actions/list-all-contacts.cjs.map +1 -1
- package/dist/actions/list-all-contacts.d.cts +3 -17
- package/dist/actions/list-all-contacts.d.cts.map +1 -1
- package/dist/actions/list-all-contacts.d.mts +3 -17
- package/dist/actions/list-all-contacts.d.mts.map +1 -1
- package/dist/actions/list-all-contacts.mjs +1 -0
- package/dist/actions/list-all-contacts.mjs.map +1 -1
- package/dist/actions/list-api-keys.cjs +1 -0
- package/dist/actions/list-api-keys.cjs.map +1 -1
- package/dist/actions/list-api-keys.d.cts +3 -17
- package/dist/actions/list-api-keys.d.cts.map +1 -1
- package/dist/actions/list-api-keys.d.mts +3 -17
- package/dist/actions/list-api-keys.d.mts.map +1 -1
- package/dist/actions/list-api-keys.mjs +1 -0
- package/dist/actions/list-api-keys.mjs.map +1 -1
- package/dist/actions/list-audiences.cjs +1 -0
- package/dist/actions/list-audiences.cjs.map +1 -1
- package/dist/actions/list-audiences.d.cts +3 -17
- package/dist/actions/list-audiences.d.cts.map +1 -1
- package/dist/actions/list-audiences.d.mts +3 -17
- package/dist/actions/list-audiences.d.mts.map +1 -1
- package/dist/actions/list-audiences.mjs +1 -0
- package/dist/actions/list-audiences.mjs.map +1 -1
- package/dist/actions/list-broadcasts.cjs +1 -0
- package/dist/actions/list-broadcasts.cjs.map +1 -1
- package/dist/actions/list-broadcasts.d.cts +3 -17
- package/dist/actions/list-broadcasts.d.cts.map +1 -1
- package/dist/actions/list-broadcasts.d.mts +3 -17
- package/dist/actions/list-broadcasts.d.mts.map +1 -1
- package/dist/actions/list-broadcasts.mjs +1 -0
- package/dist/actions/list-broadcasts.mjs.map +1 -1
- package/dist/actions/list-contact-properties.cjs +1 -0
- package/dist/actions/list-contact-properties.cjs.map +1 -1
- package/dist/actions/list-contact-properties.d.cts +3 -17
- package/dist/actions/list-contact-properties.d.cts.map +1 -1
- package/dist/actions/list-contact-properties.d.mts +3 -17
- package/dist/actions/list-contact-properties.d.mts.map +1 -1
- package/dist/actions/list-contact-properties.mjs +1 -0
- package/dist/actions/list-contact-properties.mjs.map +1 -1
- package/dist/actions/list-contact-segments.cjs +1 -0
- package/dist/actions/list-contact-segments.cjs.map +1 -1
- package/dist/actions/list-contact-segments.d.cts +3 -18
- package/dist/actions/list-contact-segments.d.cts.map +1 -1
- package/dist/actions/list-contact-segments.d.mts +3 -18
- package/dist/actions/list-contact-segments.d.mts.map +1 -1
- package/dist/actions/list-contact-segments.mjs +1 -0
- package/dist/actions/list-contact-segments.mjs.map +1 -1
- package/dist/actions/list-contact-topics.cjs +1 -0
- package/dist/actions/list-contact-topics.cjs.map +1 -1
- package/dist/actions/list-contact-topics.d.cts +3 -18
- package/dist/actions/list-contact-topics.d.cts.map +1 -1
- package/dist/actions/list-contact-topics.d.mts +3 -18
- package/dist/actions/list-contact-topics.d.mts.map +1 -1
- package/dist/actions/list-contact-topics.mjs +1 -0
- package/dist/actions/list-contact-topics.mjs.map +1 -1
- package/dist/actions/list-contacts.cjs +1 -0
- package/dist/actions/list-contacts.cjs.map +1 -1
- package/dist/actions/list-contacts.d.cts +3 -18
- package/dist/actions/list-contacts.d.cts.map +1 -1
- package/dist/actions/list-contacts.d.mts +3 -18
- package/dist/actions/list-contacts.d.mts.map +1 -1
- package/dist/actions/list-contacts.mjs +1 -0
- package/dist/actions/list-contacts.mjs.map +1 -1
- package/dist/actions/list-domains.cjs +1 -0
- package/dist/actions/list-domains.cjs.map +1 -1
- package/dist/actions/list-domains.d.cts +3 -13
- package/dist/actions/list-domains.d.cts.map +1 -1
- package/dist/actions/list-domains.d.mts +3 -13
- package/dist/actions/list-domains.d.mts.map +1 -1
- package/dist/actions/list-domains.mjs +1 -0
- package/dist/actions/list-domains.mjs.map +1 -1
- package/dist/actions/list-email-attachments.cjs +1 -0
- package/dist/actions/list-email-attachments.cjs.map +1 -1
- package/dist/actions/list-email-attachments.d.cts +3 -18
- package/dist/actions/list-email-attachments.d.cts.map +1 -1
- package/dist/actions/list-email-attachments.d.mts +3 -18
- package/dist/actions/list-email-attachments.d.mts.map +1 -1
- package/dist/actions/list-email-attachments.mjs +1 -0
- package/dist/actions/list-email-attachments.mjs.map +1 -1
- package/dist/actions/list-emails.cjs +1 -0
- package/dist/actions/list-emails.cjs.map +1 -1
- package/dist/actions/list-emails.d.cts +3 -17
- package/dist/actions/list-emails.d.cts.map +1 -1
- package/dist/actions/list-emails.d.mts +3 -17
- package/dist/actions/list-emails.d.mts.map +1 -1
- package/dist/actions/list-emails.mjs +1 -0
- package/dist/actions/list-emails.mjs.map +1 -1
- package/dist/actions/list-received-emails.cjs +1 -0
- package/dist/actions/list-received-emails.cjs.map +1 -1
- package/dist/actions/list-received-emails.d.cts +3 -17
- package/dist/actions/list-received-emails.d.cts.map +1 -1
- package/dist/actions/list-received-emails.d.mts +3 -17
- package/dist/actions/list-received-emails.d.mts.map +1 -1
- package/dist/actions/list-received-emails.mjs +1 -0
- package/dist/actions/list-received-emails.mjs.map +1 -1
- package/dist/actions/list-segments.cjs +1 -0
- package/dist/actions/list-segments.cjs.map +1 -1
- package/dist/actions/list-segments.d.cts +3 -17
- package/dist/actions/list-segments.d.cts.map +1 -1
- package/dist/actions/list-segments.d.mts +3 -17
- package/dist/actions/list-segments.d.mts.map +1 -1
- package/dist/actions/list-segments.mjs +1 -0
- package/dist/actions/list-segments.mjs.map +1 -1
- package/dist/actions/list-templates.cjs +1 -0
- package/dist/actions/list-templates.cjs.map +1 -1
- package/dist/actions/list-templates.d.cts +3 -17
- package/dist/actions/list-templates.d.cts.map +1 -1
- package/dist/actions/list-templates.d.mts +3 -17
- package/dist/actions/list-templates.d.mts.map +1 -1
- package/dist/actions/list-templates.mjs +1 -0
- package/dist/actions/list-templates.mjs.map +1 -1
- package/dist/actions/list-topics.cjs +1 -0
- package/dist/actions/list-topics.cjs.map +1 -1
- package/dist/actions/list-topics.d.cts +3 -17
- package/dist/actions/list-topics.d.cts.map +1 -1
- package/dist/actions/list-topics.d.mts +3 -17
- package/dist/actions/list-topics.d.mts.map +1 -1
- package/dist/actions/list-topics.mjs +1 -0
- package/dist/actions/list-topics.mjs.map +1 -1
- package/dist/actions/list-webhooks.cjs +1 -0
- package/dist/actions/list-webhooks.cjs.map +1 -1
- package/dist/actions/list-webhooks.d.cts +3 -17
- package/dist/actions/list-webhooks.d.cts.map +1 -1
- package/dist/actions/list-webhooks.d.mts +3 -17
- package/dist/actions/list-webhooks.d.mts.map +1 -1
- package/dist/actions/list-webhooks.mjs +1 -0
- package/dist/actions/list-webhooks.mjs.map +1 -1
- package/dist/actions/publish-template.cjs +1 -0
- package/dist/actions/publish-template.cjs.map +1 -1
- package/dist/actions/publish-template.d.cts +3 -15
- package/dist/actions/publish-template.d.cts.map +1 -1
- package/dist/actions/publish-template.d.mts +3 -15
- package/dist/actions/publish-template.d.mts.map +1 -1
- package/dist/actions/publish-template.mjs +1 -0
- package/dist/actions/publish-template.mjs.map +1 -1
- package/dist/actions/remove-contact-from-segment.cjs +1 -0
- package/dist/actions/remove-contact-from-segment.cjs.map +1 -1
- package/dist/actions/remove-contact-from-segment.d.cts +3 -16
- package/dist/actions/remove-contact-from-segment.d.cts.map +1 -1
- package/dist/actions/remove-contact-from-segment.d.mts +3 -16
- package/dist/actions/remove-contact-from-segment.d.mts.map +1 -1
- package/dist/actions/remove-contact-from-segment.mjs +1 -0
- package/dist/actions/remove-contact-from-segment.mjs.map +1 -1
- package/dist/actions/retrieve-audience.cjs +1 -0
- package/dist/actions/retrieve-audience.cjs.map +1 -1
- package/dist/actions/retrieve-audience.d.cts +3 -15
- package/dist/actions/retrieve-audience.d.cts.map +1 -1
- package/dist/actions/retrieve-audience.d.mts +3 -15
- package/dist/actions/retrieve-audience.d.mts.map +1 -1
- package/dist/actions/retrieve-audience.mjs +1 -0
- package/dist/actions/retrieve-audience.mjs.map +1 -1
- package/dist/actions/retrieve-contact.cjs +1 -0
- package/dist/actions/retrieve-contact.cjs.map +1 -1
- package/dist/actions/retrieve-contact.d.cts +3 -16
- package/dist/actions/retrieve-contact.d.cts.map +1 -1
- package/dist/actions/retrieve-contact.d.mts +3 -16
- package/dist/actions/retrieve-contact.d.mts.map +1 -1
- package/dist/actions/retrieve-contact.mjs +1 -0
- package/dist/actions/retrieve-contact.mjs.map +1 -1
- package/dist/actions/retrieve-domain.cjs +1 -0
- package/dist/actions/retrieve-domain.cjs.map +1 -1
- package/dist/actions/retrieve-domain.d.cts +3 -15
- package/dist/actions/retrieve-domain.d.cts.map +1 -1
- package/dist/actions/retrieve-domain.d.mts +3 -15
- package/dist/actions/retrieve-domain.d.mts.map +1 -1
- package/dist/actions/retrieve-domain.mjs +1 -0
- package/dist/actions/retrieve-domain.mjs.map +1 -1
- package/dist/actions/retrieve-email.cjs +1 -0
- package/dist/actions/retrieve-email.cjs.map +1 -1
- package/dist/actions/retrieve-email.d.cts +3 -15
- package/dist/actions/retrieve-email.d.cts.map +1 -1
- package/dist/actions/retrieve-email.d.mts +3 -15
- package/dist/actions/retrieve-email.d.mts.map +1 -1
- package/dist/actions/retrieve-email.mjs +1 -0
- package/dist/actions/retrieve-email.mjs.map +1 -1
- package/dist/actions/send-batch-emails.cjs +1 -0
- package/dist/actions/send-batch-emails.cjs.map +1 -1
- package/dist/actions/send-batch-emails.d.cts +3 -28
- package/dist/actions/send-batch-emails.d.cts.map +1 -1
- package/dist/actions/send-batch-emails.d.mts +3 -28
- package/dist/actions/send-batch-emails.d.mts.map +1 -1
- package/dist/actions/send-batch-emails.mjs +1 -0
- package/dist/actions/send-batch-emails.mjs.map +1 -1
- package/dist/actions/send-email.cjs +1 -0
- package/dist/actions/send-email.cjs.map +1 -1
- package/dist/actions/send-email.d.cts +3 -25
- package/dist/actions/send-email.d.cts.map +1 -1
- package/dist/actions/send-email.d.mts +3 -25
- package/dist/actions/send-email.d.mts.map +1 -1
- package/dist/actions/send-email.mjs +1 -0
- package/dist/actions/send-email.mjs.map +1 -1
- package/dist/actions/update-broadcast.cjs +1 -0
- package/dist/actions/update-broadcast.cjs.map +1 -1
- package/dist/actions/update-broadcast.d.cts +3 -24
- package/dist/actions/update-broadcast.d.cts.map +1 -1
- package/dist/actions/update-broadcast.d.mts +3 -24
- package/dist/actions/update-broadcast.d.mts.map +1 -1
- package/dist/actions/update-broadcast.mjs +1 -0
- package/dist/actions/update-broadcast.mjs.map +1 -1
- package/dist/actions/update-contact-property.cjs +1 -0
- package/dist/actions/update-contact-property.cjs.map +1 -1
- package/dist/actions/update-contact-property.d.cts +3 -16
- package/dist/actions/update-contact-property.d.cts.map +1 -1
- package/dist/actions/update-contact-property.d.mts +3 -16
- package/dist/actions/update-contact-property.d.mts.map +1 -1
- package/dist/actions/update-contact-property.mjs +1 -0
- package/dist/actions/update-contact-property.mjs.map +1 -1
- package/dist/actions/update-contact.cjs +1 -0
- package/dist/actions/update-contact.cjs.map +1 -1
- package/dist/actions/update-contact.d.cts +3 -18
- package/dist/actions/update-contact.d.cts.map +1 -1
- package/dist/actions/update-contact.d.mts +3 -18
- package/dist/actions/update-contact.d.mts.map +1 -1
- package/dist/actions/update-contact.mjs +1 -0
- package/dist/actions/update-contact.mjs.map +1 -1
- package/dist/actions/update-domain.cjs +1 -0
- package/dist/actions/update-domain.cjs.map +1 -1
- package/dist/actions/update-domain.d.cts +3 -18
- package/dist/actions/update-domain.d.cts.map +1 -1
- package/dist/actions/update-domain.d.mts +3 -18
- package/dist/actions/update-domain.d.mts.map +1 -1
- package/dist/actions/update-domain.mjs +1 -0
- package/dist/actions/update-domain.mjs.map +1 -1
- package/dist/actions/update-email.cjs +1 -0
- package/dist/actions/update-email.cjs.map +1 -1
- package/dist/actions/update-email.d.cts +3 -16
- package/dist/actions/update-email.d.cts.map +1 -1
- package/dist/actions/update-email.d.mts +3 -16
- package/dist/actions/update-email.d.mts.map +1 -1
- package/dist/actions/update-email.mjs +1 -0
- package/dist/actions/update-email.mjs.map +1 -1
- package/dist/actions/update-template.cjs +1 -0
- package/dist/actions/update-template.cjs.map +1 -1
- package/dist/actions/update-template.d.cts +3 -28
- package/dist/actions/update-template.d.cts.map +1 -1
- package/dist/actions/update-template.d.mts +3 -28
- package/dist/actions/update-template.d.mts.map +1 -1
- package/dist/actions/update-template.mjs +1 -0
- package/dist/actions/update-template.mjs.map +1 -1
- package/dist/actions/update-topic.cjs +1 -0
- package/dist/actions/update-topic.cjs.map +1 -1
- package/dist/actions/update-topic.d.cts +3 -16
- package/dist/actions/update-topic.d.cts.map +1 -1
- package/dist/actions/update-topic.d.mts +3 -16
- package/dist/actions/update-topic.d.mts.map +1 -1
- package/dist/actions/update-topic.mjs +1 -0
- package/dist/actions/update-topic.mjs.map +1 -1
- package/dist/actions/update-webhook.cjs +1 -0
- package/dist/actions/update-webhook.cjs.map +1 -1
- package/dist/actions/update-webhook.d.cts +3 -18
- package/dist/actions/update-webhook.d.cts.map +1 -1
- package/dist/actions/update-webhook.d.mts +3 -18
- package/dist/actions/update-webhook.d.mts.map +1 -1
- package/dist/actions/update-webhook.mjs +1 -0
- package/dist/actions/update-webhook.mjs.map +1 -1
- package/dist/actions/verify-domain.cjs +1 -0
- package/dist/actions/verify-domain.cjs.map +1 -1
- package/dist/actions/verify-domain.d.cts +3 -15
- package/dist/actions/verify-domain.d.cts.map +1 -1
- package/dist/actions/verify-domain.d.mts +3 -15
- package/dist/actions/verify-domain.d.mts.map +1 -1
- package/dist/actions/verify-domain.mjs +1 -0
- package/dist/actions/verify-domain.mjs.map +1 -1
- package/dist/app.cjs +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
package/dist/action.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.cjs","names":["resend","executeResendTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { resend } from \"./app\";\nimport { executeResendTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output:
|
|
1
|
+
{"version":3,"file":"action.cjs","names":["resend","executeResendTool"],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { resend } from \"./app\";\nimport { executeResendTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof resend.credential> {\n return resend.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeResendTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOsD;CACtD,OAAOA,YAAAA,OAAO,OAAO;EACnB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,kBAAkB,MAAM,KAAgC,CAAC;EACzF;CACF,CAAC;AACH"}
|
package/dist/action.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { resend } from \"./app\";\nimport { executeResendTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output:
|
|
1
|
+
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { resend } from \"./app\";\nimport { executeResendTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof resend.credential> {\n return resend.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeResendTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOsD;CACtD,OAAO,OAAO,OAAO;EACnB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,kBAAkB,MAAM,KAAgC,CAAC;EACzF;CACF,CAAC;AACH"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"add-contact-to-segment.cjs","names":["z","action"],"sources":["../../src/actions/add-contact-to-segment.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { resend } from \"../app\";\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: AppAction<\n typeof ResendAddContactToSegmentInput,\n typeof ResendAddContactToSegmentOutput,\n typeof resend.credential\n> = 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":";;;;AAMA,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,4BAITC,eAAAA,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { resend } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/add-contact-to-segment.d.ts
|
|
@@ -8,22 +10,7 @@ declare const ResendAddContactToSegmentInput: z.ZodObject<{
|
|
|
8
10
|
declare const ResendAddContactToSegmentOutput: z.ZodObject<{
|
|
9
11
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const resendAddContactToSegment:
|
|
12
|
-
contact_id: string;
|
|
13
|
-
segment_id: string;
|
|
14
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"resend", z.ZodObject<{
|
|
15
|
-
connectionId: z.ZodString;
|
|
16
|
-
entityId: z.ZodString;
|
|
17
|
-
instanceId: z.ZodString;
|
|
18
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19
|
-
generic_api_key: z.ZodString;
|
|
20
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"resend", z.ZodObject<{
|
|
21
|
-
connectionId: z.ZodString;
|
|
22
|
-
entityId: z.ZodString;
|
|
23
|
-
instanceId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
-
generic_api_key: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>;
|
|
13
|
+
declare const resendAddContactToSegment: AppAction<typeof ResendAddContactToSegmentInput, typeof ResendAddContactToSegmentOutput, typeof resend.credential>;
|
|
27
14
|
//#endregion
|
|
28
15
|
export { resendAddContactToSegment };
|
|
29
16
|
//# sourceMappingURL=add-contact-to-segment.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-contact-to-segment.d.cts","names":[],"sources":["../../src/actions/add-contact-to-segment.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"add-contact-to-segment.d.cts","names":[],"sources":["../../src/actions/add-contact-to-segment.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAI9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { resend } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/add-contact-to-segment.d.ts
|
|
@@ -8,22 +10,7 @@ declare const ResendAddContactToSegmentInput: z.ZodObject<{
|
|
|
8
10
|
declare const ResendAddContactToSegmentOutput: z.ZodObject<{
|
|
9
11
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const resendAddContactToSegment:
|
|
12
|
-
contact_id: string;
|
|
13
|
-
segment_id: string;
|
|
14
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"resend", z.ZodObject<{
|
|
15
|
-
connectionId: z.ZodString;
|
|
16
|
-
entityId: z.ZodString;
|
|
17
|
-
instanceId: z.ZodString;
|
|
18
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19
|
-
generic_api_key: z.ZodString;
|
|
20
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"resend", z.ZodObject<{
|
|
21
|
-
connectionId: z.ZodString;
|
|
22
|
-
entityId: z.ZodString;
|
|
23
|
-
instanceId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
-
generic_api_key: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>;
|
|
13
|
+
declare const resendAddContactToSegment: AppAction<typeof ResendAddContactToSegmentInput, typeof ResendAddContactToSegmentOutput, typeof resend.credential>;
|
|
27
14
|
//#endregion
|
|
28
15
|
export { resendAddContactToSegment };
|
|
29
16
|
//# sourceMappingURL=add-contact-to-segment.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-contact-to-segment.d.mts","names":[],"sources":["../../src/actions/add-contact-to-segment.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"add-contact-to-segment.d.mts","names":[],"sources":["../../src/actions/add-contact-to-segment.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAI9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"add-contact-to-segment.mjs","names":[],"sources":["../../src/actions/add-contact-to-segment.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { resend } from \"../app\";\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: AppAction<\n typeof ResendAddContactToSegmentInput,\n typeof ResendAddContactToSegmentOutput,\n typeof resend.credential\n> = 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":";;;AAcA,MAAa,4BAIT,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB4C,EAAE,OAAO;EACrD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;EAC9E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAChF,CAaS;CACP,QAb6C,EAAE,OAAO,EACtD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC/F,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"cancel-email.cjs","names":["z","action"],"sources":["../../src/actions/cancel-email.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { resend } from \"../app\";\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: AppAction<\n typeof ResendCancelEmailInput,\n typeof ResendCancelEmailOutput,\n typeof resend.credential\n> = 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":";;;;AAMA,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,oBAITC,eAAAA,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { resend } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/cancel-email.d.ts
|
|
@@ -8,21 +10,7 @@ declare const ResendCancelEmailOutput: z.ZodObject<{
|
|
|
8
10
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
11
|
object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const resendCancelEmail:
|
|
12
|
-
id: string;
|
|
13
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"resend", z.ZodObject<{
|
|
14
|
-
connectionId: z.ZodString;
|
|
15
|
-
entityId: z.ZodString;
|
|
16
|
-
instanceId: z.ZodString;
|
|
17
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
18
|
-
generic_api_key: z.ZodString;
|
|
19
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"resend", z.ZodObject<{
|
|
20
|
-
connectionId: z.ZodString;
|
|
21
|
-
entityId: z.ZodString;
|
|
22
|
-
instanceId: z.ZodString;
|
|
23
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
-
generic_api_key: z.ZodString;
|
|
25
|
-
}, z.core.$strip>>]>;
|
|
13
|
+
declare const resendCancelEmail: AppAction<typeof ResendCancelEmailInput, typeof ResendCancelEmailOutput, typeof resend.credential>;
|
|
26
14
|
//#endregion
|
|
27
15
|
export { resendCancelEmail };
|
|
28
16
|
//# sourceMappingURL=cancel-email.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cancel-email.d.cts","names":[],"sources":["../../src/actions/cancel-email.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"cancel-email.d.cts","names":[],"sources":["../../src/actions/cancel-email.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAGtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAKvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { resend } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/cancel-email.d.ts
|
|
@@ -8,21 +10,7 @@ declare const ResendCancelEmailOutput: z.ZodObject<{
|
|
|
8
10
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
11
|
object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const resendCancelEmail:
|
|
12
|
-
id: string;
|
|
13
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"resend", z.ZodObject<{
|
|
14
|
-
connectionId: z.ZodString;
|
|
15
|
-
entityId: z.ZodString;
|
|
16
|
-
instanceId: z.ZodString;
|
|
17
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
18
|
-
generic_api_key: z.ZodString;
|
|
19
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"resend", z.ZodObject<{
|
|
20
|
-
connectionId: z.ZodString;
|
|
21
|
-
entityId: z.ZodString;
|
|
22
|
-
instanceId: z.ZodString;
|
|
23
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
-
generic_api_key: z.ZodString;
|
|
25
|
-
}, z.core.$strip>>]>;
|
|
13
|
+
declare const resendCancelEmail: AppAction<typeof ResendCancelEmailInput, typeof ResendCancelEmailOutput, typeof resend.credential>;
|
|
26
14
|
//#endregion
|
|
27
15
|
export { resendCancelEmail };
|
|
28
16
|
//# sourceMappingURL=cancel-email.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cancel-email.d.mts","names":[],"sources":["../../src/actions/cancel-email.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"cancel-email.d.mts","names":[],"sources":["../../src/actions/cancel-email.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAGtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAKvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"cancel-email.mjs","names":[],"sources":["../../src/actions/cancel-email.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { resend } from \"../app\";\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: AppAction<\n typeof ResendCancelEmailInput,\n typeof ResendCancelEmailOutput,\n typeof resend.credential\n> = 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":";;;AAcA,MAAa,oBAIT,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBoC,EAAE,OAAO,EAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,EAC1D,CAcS;CACP,QAdqC,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,YAWO;AACV,CAAC"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"create-api-key.cjs","names":["z","action"],"sources":["../../src/actions/create-api-key.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { resend } from \"../app\";\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: AppAction<\n typeof ResendCreateApiKeyInput,\n typeof ResendCreateApiKeyOutput,\n typeof resend.credential\n> = 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":";;;;AAMA,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,qBAITC,eAAAA,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { resend } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-api-key.d.ts
|
|
@@ -13,23 +15,7 @@ declare const ResendCreateApiKeyOutput: z.ZodObject<{
|
|
|
13
15
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
16
|
token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const resendCreateApiKey:
|
|
17
|
-
name: string;
|
|
18
|
-
domain_id?: string | undefined;
|
|
19
|
-
permission?: "full_access" | "sending_access" | undefined;
|
|
20
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"resend", z.ZodObject<{
|
|
21
|
-
connectionId: z.ZodString;
|
|
22
|
-
entityId: z.ZodString;
|
|
23
|
-
instanceId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
-
generic_api_key: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"resend", z.ZodObject<{
|
|
27
|
-
connectionId: z.ZodString;
|
|
28
|
-
entityId: z.ZodString;
|
|
29
|
-
instanceId: z.ZodString;
|
|
30
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
-
generic_api_key: z.ZodString;
|
|
32
|
-
}, z.core.$strip>>]>;
|
|
18
|
+
declare const resendCreateApiKey: AppAction<typeof ResendCreateApiKeyInput, typeof ResendCreateApiKeyOutput, typeof resend.credential>;
|
|
33
19
|
//#endregion
|
|
34
20
|
export { resendCreateApiKey };
|
|
35
21
|
//# sourceMappingURL=create-api-key.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-api-key.d.cts","names":[],"sources":["../../src/actions/create-api-key.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-api-key.d.cts","names":[],"sources":["../../src/actions/create-api-key.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;cAKvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAKxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { resend } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-api-key.d.ts
|
|
@@ -13,23 +15,7 @@ declare const ResendCreateApiKeyOutput: z.ZodObject<{
|
|
|
13
15
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
16
|
token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const resendCreateApiKey:
|
|
17
|
-
name: string;
|
|
18
|
-
domain_id?: string | undefined;
|
|
19
|
-
permission?: "full_access" | "sending_access" | undefined;
|
|
20
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"resend", z.ZodObject<{
|
|
21
|
-
connectionId: z.ZodString;
|
|
22
|
-
entityId: z.ZodString;
|
|
23
|
-
instanceId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
-
generic_api_key: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"resend", z.ZodObject<{
|
|
27
|
-
connectionId: z.ZodString;
|
|
28
|
-
entityId: z.ZodString;
|
|
29
|
-
instanceId: z.ZodString;
|
|
30
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
-
generic_api_key: z.ZodString;
|
|
32
|
-
}, z.core.$strip>>]>;
|
|
18
|
+
declare const resendCreateApiKey: AppAction<typeof ResendCreateApiKeyInput, typeof ResendCreateApiKeyOutput, typeof resend.credential>;
|
|
33
19
|
//#endregion
|
|
34
20
|
export { resendCreateApiKey };
|
|
35
21
|
//# sourceMappingURL=create-api-key.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-api-key.d.mts","names":[],"sources":["../../src/actions/create-api-key.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-api-key.d.mts","names":[],"sources":["../../src/actions/create-api-key.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;cAKvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAKxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"create-api-key.mjs","names":[],"sources":["../../src/actions/create-api-key.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { resend } from \"../app\";\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: AppAction<\n typeof ResendCreateApiKeyInput,\n typeof ResendCreateApiKeyOutput,\n typeof resend.credential\n> = 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":";;;AAgBA,MAAa,qBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBqC,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,CAcS;CACP,QAdsC,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,YAWO;AACV,CAAC"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"create-audience.cjs","names":["z","action"],"sources":["../../src/actions/create-audience.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { resend } from \"../app\";\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: AppAction<\n typeof ResendCreateAudienceInput,\n typeof ResendCreateAudienceOutput,\n typeof resend.credential\n> = 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":";;;;AAMA,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,uBAITC,eAAAA,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { resend } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-audience.d.ts
|
|
@@ -9,21 +11,7 @@ declare const ResendCreateAudienceOutput: z.ZodObject<{
|
|
|
9
11
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
12
|
object: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
|
|
11
13
|
}, z.core.$loose>;
|
|
12
|
-
declare const resendCreateAudience:
|
|
13
|
-
name: string;
|
|
14
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"resend", z.ZodObject<{
|
|
15
|
-
connectionId: z.ZodString;
|
|
16
|
-
entityId: z.ZodString;
|
|
17
|
-
instanceId: z.ZodString;
|
|
18
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19
|
-
generic_api_key: z.ZodString;
|
|
20
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"resend", z.ZodObject<{
|
|
21
|
-
connectionId: z.ZodString;
|
|
22
|
-
entityId: z.ZodString;
|
|
23
|
-
instanceId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
-
generic_api_key: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>;
|
|
14
|
+
declare const resendCreateAudience: AppAction<typeof ResendCreateAudienceInput, typeof ResendCreateAudienceOutput, typeof resend.credential>;
|
|
27
15
|
//#endregion
|
|
28
16
|
export { resendCreateAudience };
|
|
29
17
|
//# sourceMappingURL=create-audience.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-audience.d.cts","names":[],"sources":["../../src/actions/create-audience.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-audience.d.cts","names":[],"sources":["../../src/actions/create-audience.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cAM1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { resend } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-audience.d.ts
|
|
@@ -9,21 +11,7 @@ declare const ResendCreateAudienceOutput: z.ZodObject<{
|
|
|
9
11
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
12
|
object: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
|
|
11
13
|
}, z.core.$loose>;
|
|
12
|
-
declare const resendCreateAudience:
|
|
13
|
-
name: string;
|
|
14
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"resend", z.ZodObject<{
|
|
15
|
-
connectionId: z.ZodString;
|
|
16
|
-
entityId: z.ZodString;
|
|
17
|
-
instanceId: z.ZodString;
|
|
18
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19
|
-
generic_api_key: z.ZodString;
|
|
20
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"resend", z.ZodObject<{
|
|
21
|
-
connectionId: z.ZodString;
|
|
22
|
-
entityId: z.ZodString;
|
|
23
|
-
instanceId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
-
generic_api_key: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>;
|
|
14
|
+
declare const resendCreateAudience: AppAction<typeof ResendCreateAudienceInput, typeof ResendCreateAudienceOutput, typeof resend.credential>;
|
|
27
15
|
//#endregion
|
|
28
16
|
export { resendCreateAudience };
|
|
29
17
|
//# sourceMappingURL=create-audience.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-audience.d.mts","names":[],"sources":["../../src/actions/create-audience.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-audience.d.mts","names":[],"sources":["../../src/actions/create-audience.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cAM1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"create-audience.mjs","names":[],"sources":["../../src/actions/create-audience.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { resend } from \"../app\";\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: AppAction<\n typeof ResendCreateAudienceInput,\n typeof ResendCreateAudienceOutput,\n typeof resend.credential\n> = 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":";;;AAeA,MAAa,uBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBuC,EAAE,OAAO,EAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,EAC1E,CAeS;CACP,QAfwC,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,YAWO;AACV,CAAC"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"create-contact-property.cjs","names":["z","action"],"sources":["../../src/actions/create-contact-property.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { resend } from \"../app\";\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: AppAction<\n typeof ResendCreateContactPropertyInput,\n typeof ResendCreateContactPropertyOutput,\n typeof resend.credential\n> = 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":";;;;AAMA,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,8BAITC,eAAAA,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { resend } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-contact-property.d.ts
|
|
@@ -13,23 +15,7 @@ declare const ResendCreateContactPropertyOutput: z.ZodObject<{
|
|
|
13
15
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
16
|
object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const resendCreateContactProperty:
|
|
17
|
-
key: string;
|
|
18
|
-
type: "string" | "number";
|
|
19
|
-
fallbackValue?: string | undefined;
|
|
20
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"resend", z.ZodObject<{
|
|
21
|
-
connectionId: z.ZodString;
|
|
22
|
-
entityId: z.ZodString;
|
|
23
|
-
instanceId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
-
generic_api_key: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"resend", z.ZodObject<{
|
|
27
|
-
connectionId: z.ZodString;
|
|
28
|
-
entityId: z.ZodString;
|
|
29
|
-
instanceId: z.ZodString;
|
|
30
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
-
generic_api_key: z.ZodString;
|
|
32
|
-
}, z.core.$strip>>]>;
|
|
18
|
+
declare const resendCreateContactProperty: AppAction<typeof ResendCreateContactPropertyInput, typeof ResendCreateContactPropertyOutput, typeof resend.credential>;
|
|
33
19
|
//#endregion
|
|
34
20
|
export { resendCreateContactProperty };
|
|
35
21
|
//# sourceMappingURL=create-contact-property.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-contact-property.d.cts","names":[],"sources":["../../src/actions/create-contact-property.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-contact-property.d.cts","names":[],"sources":["../../src/actions/create-contact-property.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;cAKhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;cAKjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { resend } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-contact-property.d.ts
|
|
@@ -13,23 +15,7 @@ declare const ResendCreateContactPropertyOutput: z.ZodObject<{
|
|
|
13
15
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
16
|
object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const resendCreateContactProperty:
|
|
17
|
-
key: string;
|
|
18
|
-
type: "string" | "number";
|
|
19
|
-
fallbackValue?: string | undefined;
|
|
20
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"resend", z.ZodObject<{
|
|
21
|
-
connectionId: z.ZodString;
|
|
22
|
-
entityId: z.ZodString;
|
|
23
|
-
instanceId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
-
generic_api_key: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"resend", z.ZodObject<{
|
|
27
|
-
connectionId: z.ZodString;
|
|
28
|
-
entityId: z.ZodString;
|
|
29
|
-
instanceId: z.ZodString;
|
|
30
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
-
generic_api_key: z.ZodString;
|
|
32
|
-
}, z.core.$strip>>]>;
|
|
18
|
+
declare const resendCreateContactProperty: AppAction<typeof ResendCreateContactPropertyInput, typeof ResendCreateContactPropertyOutput, typeof resend.credential>;
|
|
33
19
|
//#endregion
|
|
34
20
|
export { resendCreateContactProperty };
|
|
35
21
|
//# sourceMappingURL=create-contact-property.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-contact-property.d.mts","names":[],"sources":["../../src/actions/create-contact-property.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-contact-property.d.mts","names":[],"sources":["../../src/actions/create-contact-property.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;cAKhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;cAKjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"create-contact-property.mjs","names":[],"sources":["../../src/actions/create-contact-property.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { resend } from \"../app\";\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: AppAction<\n typeof ResendCreateContactPropertyInput,\n typeof ResendCreateContactPropertyOutput,\n typeof resend.credential\n> = 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":";;;AAgBA,MAAa,8BAIT,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB8C,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,CAcS;CACP,QAd+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,YAWO;AACV,CAAC"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"create-contact-v2.cjs","names":["z","action"],"sources":["../../src/actions/create-contact-v2.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { resend } from \"../app\";\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: AppAction<\n typeof ResendCreateContactV2Input,\n typeof ResendCreateContactV2Output,\n typeof resend.credential\n> = 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":";;;;AAMA,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,wBAITC,eAAAA,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|