@keystrokehq/resend 0.1.2 → 0.1.3
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/package.json +1 -1
|
@@ -11,7 +11,7 @@ const ResendListSegments_SegmentSchema = z.object({
|
|
|
11
11
|
name: z.string().describe("Name of the segment.").nullable().optional(),
|
|
12
12
|
created_at: z.string().describe("Timestamp of segment creation in ISO 8601 format.").nullable().optional(),
|
|
13
13
|
audience_id: z.string().describe("The audience ID this segment belongs to.").nullable().optional()
|
|
14
|
-
}).describe("Segment object representation.");
|
|
14
|
+
}).passthrough().describe("Segment object representation.");
|
|
15
15
|
const resendListSegments = action("RESEND_LIST_SEGMENTS", {
|
|
16
16
|
slug: "resend-list-segments",
|
|
17
17
|
name: "List Segments",
|
|
@@ -21,7 +21,7 @@ const resendListSegments = action("RESEND_LIST_SEGMENTS", {
|
|
|
21
21
|
data: z.array(ResendListSegments_SegmentSchema).describe("Array containing segment information.").nullable().optional(),
|
|
22
22
|
object: z.string().describe("Type of the response object, typically 'list'.").nullable().optional(),
|
|
23
23
|
has_more: z.boolean().describe("Indicates if there are more results available for pagination.").nullable().optional()
|
|
24
|
-
})
|
|
24
|
+
}).passthrough()
|
|
25
25
|
});
|
|
26
26
|
//#endregion
|
|
27
27
|
export { resendListSegments };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-segments.mjs","names":[],"sources":["../../src/actions/list-segments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListSegmentsInput = z.object({\n after: z.string().describe(\"Return items after this cursor for pagination.\").optional(),\n limit: z.number().int().describe(\"Number of items to return.\").optional(),\n before: z.string().describe(\"Return items before this cursor for pagination.\").optional(),\n});\nconst ResendListSegments_SegmentSchema = z.object({\n id: z.string().describe(\"Unique segment identifier.\").nullable().optional(),\n name: z.string().describe(\"Name of the segment.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of segment creation in ISO 8601 format.\").nullable().optional(),\n audience_id: z.string().describe(\"The audience ID this segment belongs to.\").nullable().optional(),\n}).describe(\"Segment object representation.\");\nexport const ResendListSegmentsOutput = z.object({\n data: z.array(ResendListSegments_SegmentSchema).describe(\"Array containing segment information.\").nullable().optional(),\n object: z.string().describe(\"Type of the response object, typically 'list'.\").nullable().optional(),\n has_more: z.boolean().describe(\"Indicates if there are more results available for pagination.\").nullable().optional(),\n});\n\nexport const resendListSegments = action(\"RESEND_LIST_SEGMENTS\", {\n slug: \"resend-list-segments\",\n name: \"List Segments\",\n description: \"Tool to retrieve a list of segments from Resend. Use when you need to view all available segments for audience management.\",\n input: ResendListSegmentsInput,\n output: ResendListSegmentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACtF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACxE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;AAC1F,CAAC;AACD,MAAM,mCAAmC,EAAE,OAAO;CAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,SAAS,gCAAgC;
|
|
1
|
+
{"version":3,"file":"list-segments.mjs","names":[],"sources":["../../src/actions/list-segments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListSegmentsInput = z.object({\n after: z.string().describe(\"Return items after this cursor for pagination.\").optional(),\n limit: z.number().int().describe(\"Number of items to return.\").optional(),\n before: z.string().describe(\"Return items before this cursor for pagination.\").optional(),\n});\nconst ResendListSegments_SegmentSchema = z.object({\n id: z.string().describe(\"Unique segment identifier.\").nullable().optional(),\n name: z.string().describe(\"Name of the segment.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of segment creation in ISO 8601 format.\").nullable().optional(),\n audience_id: z.string().describe(\"The audience ID this segment belongs to.\").nullable().optional(),\n}).passthrough().describe(\"Segment object representation.\");\nexport const ResendListSegmentsOutput = z.object({\n data: z.array(ResendListSegments_SegmentSchema).describe(\"Array containing segment information.\").nullable().optional(),\n object: z.string().describe(\"Type of the response object, typically 'list'.\").nullable().optional(),\n has_more: z.boolean().describe(\"Indicates if there are more results available for pagination.\").nullable().optional(),\n}).passthrough();\n\nexport const resendListSegments = action(\"RESEND_LIST_SEGMENTS\", {\n slug: \"resend-list-segments\",\n name: \"List Segments\",\n description: \"Tool to retrieve a list of segments from Resend. Use when you need to view all available segments for audience management.\",\n input: ResendListSegmentsInput,\n output: ResendListSegmentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACtF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACxE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;AAC1F,CAAC;AACD,MAAM,mCAAmC,EAAE,OAAO;CAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gCAAgC;AAO1D,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXsC,EAAE,OAAO;EAC/C,MAAM,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -14,12 +14,12 @@ const ResendListTemplates_TemplateSchema = zod.z.object({
|
|
|
14
14
|
created_at: zod.z.string().describe("Timestamp of template creation.").nullable().optional(),
|
|
15
15
|
updated_at: zod.z.string().describe("Timestamp of last template update.").nullable().optional(),
|
|
16
16
|
published_at: zod.z.string().describe("Timestamp when template was published.").nullable().optional()
|
|
17
|
-
}).describe("Template object representation.");
|
|
17
|
+
}).passthrough().describe("Template object representation.");
|
|
18
18
|
const ResendListTemplatesOutput = zod.z.object({
|
|
19
19
|
data: zod.z.array(ResendListTemplates_TemplateSchema).describe("Array containing templates information.").nullable().optional(),
|
|
20
20
|
object: zod.z.string().describe("Type of the response object.").nullable().optional(),
|
|
21
21
|
has_more: zod.z.boolean().describe("Indicates if there are more templates to retrieve.").nullable().optional()
|
|
22
|
-
});
|
|
22
|
+
}).passthrough();
|
|
23
23
|
const resendListTemplates = require_action.action("RESEND_LIST_TEMPLATES", {
|
|
24
24
|
slug: "resend-list-templates",
|
|
25
25
|
name: "List Templates",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-templates.cjs","names":["z","action"],"sources":["../../src/actions/list-templates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListTemplatesInput = z.object({\n after: z.string().describe(\"Return items after this cursor.\").optional(),\n limit: z.number().int().describe(\"Number of items to return.\").optional(),\n before: z.string().describe(\"Return items before this cursor.\").optional(),\n});\nconst ResendListTemplates_TemplateSchema = z.object({\n id: z.string().describe(\"The unique identifier of the template.\").nullable().optional(),\n name: z.string().describe(\"The name of the template.\").nullable().optional(),\n alias: z.string().describe(\"The alias of the template.\").nullable().optional(),\n status: z.string().describe(\"The status of the template.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of template creation.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp of last template update.\").nullable().optional(),\n published_at: z.string().describe(\"Timestamp when template was published.\").nullable().optional(),\n}).describe(\"Template object representation.\");\nexport const ResendListTemplatesOutput = z.object({\n data: z.array(ResendListTemplates_TemplateSchema).describe(\"Array containing templates information.\").nullable().optional(),\n object: z.string().describe(\"Type of the response object.\").nullable().optional(),\n has_more: z.boolean().describe(\"Indicates if there are more templates to retrieve.\").nullable().optional(),\n});\n\nexport const resendListTemplates = action(\"RESEND_LIST_TEMPLATES\", {\n slug: \"resend-list-templates\",\n name: \"List Templates\",\n description: \"Tool to retrieve a list of templates from Resend. Use when you need to get all available templates with optional pagination support.\",\n input: ResendListTemplatesInput,\n output: ResendListTemplatesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACvE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACxE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AAC3E,CAAC;AACD,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,SAAS,iCAAiC;
|
|
1
|
+
{"version":3,"file":"list-templates.cjs","names":["z","action"],"sources":["../../src/actions/list-templates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListTemplatesInput = z.object({\n after: z.string().describe(\"Return items after this cursor.\").optional(),\n limit: z.number().int().describe(\"Number of items to return.\").optional(),\n before: z.string().describe(\"Return items before this cursor.\").optional(),\n});\nconst ResendListTemplates_TemplateSchema = z.object({\n id: z.string().describe(\"The unique identifier of the template.\").nullable().optional(),\n name: z.string().describe(\"The name of the template.\").nullable().optional(),\n alias: z.string().describe(\"The alias of the template.\").nullable().optional(),\n status: z.string().describe(\"The status of the template.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of template creation.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp of last template update.\").nullable().optional(),\n published_at: z.string().describe(\"Timestamp when template was published.\").nullable().optional(),\n}).passthrough().describe(\"Template object representation.\");\nexport const ResendListTemplatesOutput = z.object({\n data: z.array(ResendListTemplates_TemplateSchema).describe(\"Array containing templates information.\").nullable().optional(),\n object: z.string().describe(\"Type of the response object.\").nullable().optional(),\n has_more: z.boolean().describe(\"Indicates if there are more templates to retrieve.\").nullable().optional(),\n}).passthrough();\n\nexport const resendListTemplates = action(\"RESEND_LIST_TEMPLATES\", {\n slug: \"resend-list-templates\",\n name: \"List Templates\",\n description: \"Tool to retrieve a list of templates from Resend. Use when you need to get all available templates with optional pagination support.\",\n input: ResendListTemplatesInput,\n output: ResendListTemplatesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACvE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACxE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AAC3E,CAAC;AACD,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iCAAiC;AAC3D,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -15,10 +15,10 @@ declare const ResendListTemplatesOutput: z.ZodObject<{
|
|
|
15
15
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
published_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>>>>;
|
|
19
19
|
object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
20
|
has_more: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
21
|
-
}, z.core.$
|
|
21
|
+
}, z.core.$loose>;
|
|
22
22
|
declare const resendListTemplates: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
23
|
after?: string | undefined;
|
|
24
24
|
limit?: number | undefined;
|
|
@@ -15,10 +15,10 @@ declare const ResendListTemplatesOutput: z.ZodObject<{
|
|
|
15
15
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
published_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>>>>;
|
|
19
19
|
object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
20
|
has_more: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
21
|
-
}, z.core.$
|
|
21
|
+
}, z.core.$loose>;
|
|
22
22
|
declare const resendListTemplates: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
23
|
after?: string | undefined;
|
|
24
24
|
limit?: number | undefined;
|
|
@@ -14,7 +14,7 @@ const ResendListTemplates_TemplateSchema = z.object({
|
|
|
14
14
|
created_at: z.string().describe("Timestamp of template creation.").nullable().optional(),
|
|
15
15
|
updated_at: z.string().describe("Timestamp of last template update.").nullable().optional(),
|
|
16
16
|
published_at: z.string().describe("Timestamp when template was published.").nullable().optional()
|
|
17
|
-
}).describe("Template object representation.");
|
|
17
|
+
}).passthrough().describe("Template object representation.");
|
|
18
18
|
const resendListTemplates = action("RESEND_LIST_TEMPLATES", {
|
|
19
19
|
slug: "resend-list-templates",
|
|
20
20
|
name: "List Templates",
|
|
@@ -24,7 +24,7 @@ const resendListTemplates = action("RESEND_LIST_TEMPLATES", {
|
|
|
24
24
|
data: z.array(ResendListTemplates_TemplateSchema).describe("Array containing templates information.").nullable().optional(),
|
|
25
25
|
object: z.string().describe("Type of the response object.").nullable().optional(),
|
|
26
26
|
has_more: z.boolean().describe("Indicates if there are more templates to retrieve.").nullable().optional()
|
|
27
|
-
})
|
|
27
|
+
}).passthrough()
|
|
28
28
|
});
|
|
29
29
|
//#endregion
|
|
30
30
|
export { resendListTemplates };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-templates.mjs","names":[],"sources":["../../src/actions/list-templates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListTemplatesInput = z.object({\n after: z.string().describe(\"Return items after this cursor.\").optional(),\n limit: z.number().int().describe(\"Number of items to return.\").optional(),\n before: z.string().describe(\"Return items before this cursor.\").optional(),\n});\nconst ResendListTemplates_TemplateSchema = z.object({\n id: z.string().describe(\"The unique identifier of the template.\").nullable().optional(),\n name: z.string().describe(\"The name of the template.\").nullable().optional(),\n alias: z.string().describe(\"The alias of the template.\").nullable().optional(),\n status: z.string().describe(\"The status of the template.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of template creation.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp of last template update.\").nullable().optional(),\n published_at: z.string().describe(\"Timestamp when template was published.\").nullable().optional(),\n}).describe(\"Template object representation.\");\nexport const ResendListTemplatesOutput = z.object({\n data: z.array(ResendListTemplates_TemplateSchema).describe(\"Array containing templates information.\").nullable().optional(),\n object: z.string().describe(\"Type of the response object.\").nullable().optional(),\n has_more: z.boolean().describe(\"Indicates if there are more templates to retrieve.\").nullable().optional(),\n});\n\nexport const resendListTemplates = action(\"RESEND_LIST_TEMPLATES\", {\n slug: \"resend-list-templates\",\n name: \"List Templates\",\n description: \"Tool to retrieve a list of templates from Resend. Use when you need to get all available templates with optional pagination support.\",\n input: ResendListTemplatesInput,\n output: ResendListTemplatesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACvE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACxE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AAC3E,CAAC;AACD,MAAM,qCAAqC,EAAE,OAAO;CAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,SAAS,iCAAiC;
|
|
1
|
+
{"version":3,"file":"list-templates.mjs","names":[],"sources":["../../src/actions/list-templates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListTemplatesInput = z.object({\n after: z.string().describe(\"Return items after this cursor.\").optional(),\n limit: z.number().int().describe(\"Number of items to return.\").optional(),\n before: z.string().describe(\"Return items before this cursor.\").optional(),\n});\nconst ResendListTemplates_TemplateSchema = z.object({\n id: z.string().describe(\"The unique identifier of the template.\").nullable().optional(),\n name: z.string().describe(\"The name of the template.\").nullable().optional(),\n alias: z.string().describe(\"The alias of the template.\").nullable().optional(),\n status: z.string().describe(\"The status of the template.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of template creation.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp of last template update.\").nullable().optional(),\n published_at: z.string().describe(\"Timestamp when template was published.\").nullable().optional(),\n}).passthrough().describe(\"Template object representation.\");\nexport const ResendListTemplatesOutput = z.object({\n data: z.array(ResendListTemplates_TemplateSchema).describe(\"Array containing templates information.\").nullable().optional(),\n object: z.string().describe(\"Type of the response object.\").nullable().optional(),\n has_more: z.boolean().describe(\"Indicates if there are more templates to retrieve.\").nullable().optional(),\n}).passthrough();\n\nexport const resendListTemplates = action(\"RESEND_LIST_TEMPLATES\", {\n slug: \"resend-list-templates\",\n name: \"List Templates\",\n description: \"Tool to retrieve a list of templates from Resend. Use when you need to get all available templates with optional pagination support.\",\n input: ResendListTemplatesInput,\n output: ResendListTemplatesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACvE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACxE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AAC3E,CAAC;AACD,MAAM,qCAAqC,EAAE,OAAO;CAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iCAAiC;AAO3D,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXuC,EAAE,OAAO;EAChD,MAAM,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1H,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -11,12 +11,12 @@ const ResendListTopics_TopicSchema = zod.z.object({
|
|
|
11
11
|
name: zod.z.string().describe("Topic name.").nullable().optional(),
|
|
12
12
|
created_at: zod.z.string().describe("Timestamp of topic creation in ISO 8601 format.").nullable().optional(),
|
|
13
13
|
audience_id: zod.z.string().describe("Associated audience identifier.").nullable().optional()
|
|
14
|
-
}).describe("Topic object representation.");
|
|
14
|
+
}).passthrough().describe("Topic object representation.");
|
|
15
15
|
const ResendListTopicsOutput = zod.z.object({
|
|
16
16
|
data: zod.z.array(ResendListTopics_TopicSchema).describe("Array containing topic information.").nullable().optional(),
|
|
17
17
|
object: zod.z.string().describe("Type of the response object.").nullable().optional(),
|
|
18
18
|
has_more: zod.z.boolean().describe("Indicates if there are more results available.").nullable().optional()
|
|
19
|
-
});
|
|
19
|
+
}).passthrough();
|
|
20
20
|
const resendListTopics = require_action.action("RESEND_LIST_TOPICS", {
|
|
21
21
|
slug: "resend-list-topics",
|
|
22
22
|
name: "List Topics",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-topics.cjs","names":["z","action"],"sources":["../../src/actions/list-topics.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListTopicsInput = z.object({\n after: z.string().describe(\"Return items after this cursor.\").optional(),\n limit: z.number().int().describe(\"Number of items to return.\").optional(),\n before: z.string().describe(\"Return items before this cursor.\").optional(),\n});\nconst ResendListTopics_TopicSchema = z.object({\n id: z.string().describe(\"Unique topic identifier.\").nullable().optional(),\n name: z.string().describe(\"Topic name.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of topic creation in ISO 8601 format.\").nullable().optional(),\n audience_id: z.string().describe(\"Associated audience identifier.\").nullable().optional(),\n}).describe(\"Topic object representation.\");\nexport const ResendListTopicsOutput = z.object({\n data: z.array(ResendListTopics_TopicSchema).describe(\"Array containing topic information.\").nullable().optional(),\n object: z.string().describe(\"Type of the response object.\").nullable().optional(),\n has_more: z.boolean().describe(\"Indicates if there are more results available.\").nullable().optional(),\n});\n\nexport const resendListTopics = action(\"RESEND_LIST_TOPICS\", {\n slug: \"resend-list-topics\",\n name: \"List Topics\",\n description: \"Tool to retrieve a list of topics for the authenticated user. Use when you need to fetch available topics with optional pagination support.\",\n input: ResendListTopicsInput,\n output: ResendListTopicsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACvE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACxE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AAC3E,CAAC;AACD,MAAM,+BAA+BA,IAAAA,EAAE,OAAO;CAC5C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,SAAS,8BAA8B;
|
|
1
|
+
{"version":3,"file":"list-topics.cjs","names":["z","action"],"sources":["../../src/actions/list-topics.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListTopicsInput = z.object({\n after: z.string().describe(\"Return items after this cursor.\").optional(),\n limit: z.number().int().describe(\"Number of items to return.\").optional(),\n before: z.string().describe(\"Return items before this cursor.\").optional(),\n});\nconst ResendListTopics_TopicSchema = z.object({\n id: z.string().describe(\"Unique topic identifier.\").nullable().optional(),\n name: z.string().describe(\"Topic name.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of topic creation in ISO 8601 format.\").nullable().optional(),\n audience_id: z.string().describe(\"Associated audience identifier.\").nullable().optional(),\n}).passthrough().describe(\"Topic object representation.\");\nexport const ResendListTopicsOutput = z.object({\n data: z.array(ResendListTopics_TopicSchema).describe(\"Array containing topic information.\").nullable().optional(),\n object: z.string().describe(\"Type of the response object.\").nullable().optional(),\n has_more: z.boolean().describe(\"Indicates if there are more results available.\").nullable().optional(),\n}).passthrough();\n\nexport const resendListTopics = action(\"RESEND_LIST_TOPICS\", {\n slug: \"resend-list-topics\",\n name: \"List Topics\",\n description: \"Tool to retrieve a list of topics for the authenticated user. Use when you need to fetch available topics with optional pagination support.\",\n input: ResendListTopicsInput,\n output: ResendListTopicsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACvE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACxE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AAC3E,CAAC;AACD,MAAM,+BAA+BA,IAAAA,EAAE,OAAO;CAC5C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8BAA8B;AACxD,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,MAAMA,IAAAA,EAAE,MAAM,4BAA4B,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -12,10 +12,10 @@ declare const ResendListTopicsOutput: z.ZodObject<{
|
|
|
12
12
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
13
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
audience_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>>>>;
|
|
16
16
|
object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
has_more: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const resendListTopics: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
after?: string | undefined;
|
|
21
21
|
limit?: number | undefined;
|
|
@@ -12,10 +12,10 @@ declare const ResendListTopicsOutput: z.ZodObject<{
|
|
|
12
12
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
13
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
audience_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>>>>;
|
|
16
16
|
object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
has_more: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const resendListTopics: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
after?: string | undefined;
|
|
21
21
|
limit?: number | undefined;
|
|
@@ -11,7 +11,7 @@ const ResendListTopics_TopicSchema = z.object({
|
|
|
11
11
|
name: z.string().describe("Topic name.").nullable().optional(),
|
|
12
12
|
created_at: z.string().describe("Timestamp of topic creation in ISO 8601 format.").nullable().optional(),
|
|
13
13
|
audience_id: z.string().describe("Associated audience identifier.").nullable().optional()
|
|
14
|
-
}).describe("Topic object representation.");
|
|
14
|
+
}).passthrough().describe("Topic object representation.");
|
|
15
15
|
const resendListTopics = action("RESEND_LIST_TOPICS", {
|
|
16
16
|
slug: "resend-list-topics",
|
|
17
17
|
name: "List Topics",
|
|
@@ -21,7 +21,7 @@ const resendListTopics = action("RESEND_LIST_TOPICS", {
|
|
|
21
21
|
data: z.array(ResendListTopics_TopicSchema).describe("Array containing topic information.").nullable().optional(),
|
|
22
22
|
object: z.string().describe("Type of the response object.").nullable().optional(),
|
|
23
23
|
has_more: z.boolean().describe("Indicates if there are more results available.").nullable().optional()
|
|
24
|
-
})
|
|
24
|
+
}).passthrough()
|
|
25
25
|
});
|
|
26
26
|
//#endregion
|
|
27
27
|
export { resendListTopics };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-topics.mjs","names":[],"sources":["../../src/actions/list-topics.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListTopicsInput = z.object({\n after: z.string().describe(\"Return items after this cursor.\").optional(),\n limit: z.number().int().describe(\"Number of items to return.\").optional(),\n before: z.string().describe(\"Return items before this cursor.\").optional(),\n});\nconst ResendListTopics_TopicSchema = z.object({\n id: z.string().describe(\"Unique topic identifier.\").nullable().optional(),\n name: z.string().describe(\"Topic name.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of topic creation in ISO 8601 format.\").nullable().optional(),\n audience_id: z.string().describe(\"Associated audience identifier.\").nullable().optional(),\n}).describe(\"Topic object representation.\");\nexport const ResendListTopicsOutput = z.object({\n data: z.array(ResendListTopics_TopicSchema).describe(\"Array containing topic information.\").nullable().optional(),\n object: z.string().describe(\"Type of the response object.\").nullable().optional(),\n has_more: z.boolean().describe(\"Indicates if there are more results available.\").nullable().optional(),\n});\n\nexport const resendListTopics = action(\"RESEND_LIST_TOPICS\", {\n slug: \"resend-list-topics\",\n name: \"List Topics\",\n description: \"Tool to retrieve a list of topics for the authenticated user. Use when you need to fetch available topics with optional pagination support.\",\n input: ResendListTopicsInput,\n output: ResendListTopicsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwB,EAAE,OAAO;CAC5C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACvE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACxE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AAC3E,CAAC;AACD,MAAM,+BAA+B,EAAE,OAAO;CAC5C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,SAAS,8BAA8B;
|
|
1
|
+
{"version":3,"file":"list-topics.mjs","names":[],"sources":["../../src/actions/list-topics.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListTopicsInput = z.object({\n after: z.string().describe(\"Return items after this cursor.\").optional(),\n limit: z.number().int().describe(\"Number of items to return.\").optional(),\n before: z.string().describe(\"Return items before this cursor.\").optional(),\n});\nconst ResendListTopics_TopicSchema = z.object({\n id: z.string().describe(\"Unique topic identifier.\").nullable().optional(),\n name: z.string().describe(\"Topic name.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of topic creation in ISO 8601 format.\").nullable().optional(),\n audience_id: z.string().describe(\"Associated audience identifier.\").nullable().optional(),\n}).passthrough().describe(\"Topic object representation.\");\nexport const ResendListTopicsOutput = z.object({\n data: z.array(ResendListTopics_TopicSchema).describe(\"Array containing topic information.\").nullable().optional(),\n object: z.string().describe(\"Type of the response object.\").nullable().optional(),\n has_more: z.boolean().describe(\"Indicates if there are more results available.\").nullable().optional(),\n}).passthrough();\n\nexport const resendListTopics = action(\"RESEND_LIST_TOPICS\", {\n slug: \"resend-list-topics\",\n name: \"List Topics\",\n description: \"Tool to retrieve a list of topics for the authenticated user. Use when you need to fetch available topics with optional pagination support.\",\n input: ResendListTopicsInput,\n output: ResendListTopicsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwB,EAAE,OAAO;CAC5C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACvE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACxE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AAC3E,CAAC;AACD,MAAM,+BAA+B,EAAE,OAAO;CAC5C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8BAA8B;AAOxD,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXoC,EAAE,OAAO;EAC7C,MAAM,EAAE,MAAM,4BAA4B,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -12,12 +12,12 @@ const ResendListWebhooks_WebhookSchema = zod.z.object({
|
|
|
12
12
|
status: zod.z.string().describe("The current status of the webhook.").nullable().optional(),
|
|
13
13
|
endpoint: zod.z.string().describe("The URL endpoint where webhook events will be sent.").nullable().optional(),
|
|
14
14
|
created_at: zod.z.string().describe("The creation timestamp of the webhook.").nullable().optional()
|
|
15
|
-
});
|
|
15
|
+
}).passthrough();
|
|
16
16
|
const ResendListWebhooksOutput = zod.z.object({
|
|
17
17
|
data: zod.z.array(ResendListWebhooks_WebhookSchema).describe("Array containing webhook information.").nullable().optional(),
|
|
18
18
|
object: zod.z.string().describe("Type of the response object, typically 'list'.").nullable().optional(),
|
|
19
19
|
has_more: zod.z.boolean().describe("Indicates if there are more results available for pagination.").nullable().optional()
|
|
20
|
-
});
|
|
20
|
+
}).passthrough();
|
|
21
21
|
const resendListWebhooks = require_action.action("RESEND_LIST_WEBHOOKS", {
|
|
22
22
|
slug: "resend-list-webhooks",
|
|
23
23
|
name: "List Webhooks",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-webhooks.cjs","names":["z","action"],"sources":["../../src/actions/list-webhooks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListWebhooksInput = z.object({\n after: z.string().describe(\"Pagination cursor to fetch results after this webhook ID. Cannot be used with 'before'.\").optional(),\n limit: z.number().int().describe(\"Maximum number of webhooks to return.\").optional(),\n before: z.string().describe(\"Pagination cursor to fetch results before this webhook ID. Cannot be used with 'after'.\").optional(),\n});\nconst ResendListWebhooks_WebhookSchema = z.object({\n id: z.string().describe(\"The unique identifier of the webhook.\").nullable().optional(),\n events: z.array(z.string()).describe(\"List of event types that trigger this webhook.\").nullable().optional(),\n status: z.string().describe(\"The current status of the webhook.\").nullable().optional(),\n endpoint: z.string().describe(\"The URL endpoint where webhook events will be sent.\").nullable().optional(),\n created_at: z.string().describe(\"The creation timestamp of the webhook.\").nullable().optional(),\n});\nexport const ResendListWebhooksOutput = z.object({\n data: z.array(ResendListWebhooks_WebhookSchema).describe(\"Array containing webhook information.\").nullable().optional(),\n object: z.string().describe(\"Type of the response object, typically 'list'.\").nullable().optional(),\n has_more: z.boolean().describe(\"Indicates if there are more results available for pagination.\").nullable().optional(),\n});\n\nexport const resendListWebhooks = action(\"RESEND_LIST_WEBHOOKS\", {\n slug: \"resend-list-webhooks\",\n name: \"List Webhooks\",\n description: \"Retrieve a list of webhooks for the authenticated user. Use this to view all configured webhooks with their endpoints, event types, and status.\",\n input: ResendListWebhooksInput,\n output: ResendListWebhooksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CAC/H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACnF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;AAClI,CAAC;AACD,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChG,CAAC;
|
|
1
|
+
{"version":3,"file":"list-webhooks.cjs","names":["z","action"],"sources":["../../src/actions/list-webhooks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListWebhooksInput = z.object({\n after: z.string().describe(\"Pagination cursor to fetch results after this webhook ID. Cannot be used with 'before'.\").optional(),\n limit: z.number().int().describe(\"Maximum number of webhooks to return.\").optional(),\n before: z.string().describe(\"Pagination cursor to fetch results before this webhook ID. Cannot be used with 'after'.\").optional(),\n});\nconst ResendListWebhooks_WebhookSchema = z.object({\n id: z.string().describe(\"The unique identifier of the webhook.\").nullable().optional(),\n events: z.array(z.string()).describe(\"List of event types that trigger this webhook.\").nullable().optional(),\n status: z.string().describe(\"The current status of the webhook.\").nullable().optional(),\n endpoint: z.string().describe(\"The URL endpoint where webhook events will be sent.\").nullable().optional(),\n created_at: z.string().describe(\"The creation timestamp of the webhook.\").nullable().optional(),\n}).passthrough();\nexport const ResendListWebhooksOutput = z.object({\n data: z.array(ResendListWebhooks_WebhookSchema).describe(\"Array containing webhook information.\").nullable().optional(),\n object: z.string().describe(\"Type of the response object, typically 'list'.\").nullable().optional(),\n has_more: z.boolean().describe(\"Indicates if there are more results available for pagination.\").nullable().optional(),\n}).passthrough();\n\nexport const resendListWebhooks = action(\"RESEND_LIST_WEBHOOKS\", {\n slug: \"resend-list-webhooks\",\n name: \"List Webhooks\",\n description: \"Retrieve a list of webhooks for the authenticated user. Use this to view all configured webhooks with their endpoints, event types, and status.\",\n input: ResendListWebhooksInput,\n output: ResendListWebhooksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CAC/H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACnF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;AAClI,CAAC;AACD,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -13,10 +13,10 @@ declare const ResendListWebhooksOutput: z.ZodObject<{
|
|
|
13
13
|
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
endpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
15
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>>>>;
|
|
17
17
|
object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
has_more: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
19
|
-
}, z.core.$
|
|
19
|
+
}, z.core.$loose>;
|
|
20
20
|
declare const resendListWebhooks: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
21
21
|
after?: string | undefined;
|
|
22
22
|
limit?: number | undefined;
|
|
@@ -13,10 +13,10 @@ declare const ResendListWebhooksOutput: z.ZodObject<{
|
|
|
13
13
|
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
endpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
15
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>>>>;
|
|
17
17
|
object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
has_more: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
19
|
-
}, z.core.$
|
|
19
|
+
}, z.core.$loose>;
|
|
20
20
|
declare const resendListWebhooks: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
21
21
|
after?: string | undefined;
|
|
22
22
|
limit?: number | undefined;
|
|
@@ -12,7 +12,7 @@ const ResendListWebhooks_WebhookSchema = z.object({
|
|
|
12
12
|
status: z.string().describe("The current status of the webhook.").nullable().optional(),
|
|
13
13
|
endpoint: z.string().describe("The URL endpoint where webhook events will be sent.").nullable().optional(),
|
|
14
14
|
created_at: z.string().describe("The creation timestamp of the webhook.").nullable().optional()
|
|
15
|
-
});
|
|
15
|
+
}).passthrough();
|
|
16
16
|
const resendListWebhooks = action("RESEND_LIST_WEBHOOKS", {
|
|
17
17
|
slug: "resend-list-webhooks",
|
|
18
18
|
name: "List Webhooks",
|
|
@@ -22,7 +22,7 @@ const resendListWebhooks = action("RESEND_LIST_WEBHOOKS", {
|
|
|
22
22
|
data: z.array(ResendListWebhooks_WebhookSchema).describe("Array containing webhook information.").nullable().optional(),
|
|
23
23
|
object: z.string().describe("Type of the response object, typically 'list'.").nullable().optional(),
|
|
24
24
|
has_more: z.boolean().describe("Indicates if there are more results available for pagination.").nullable().optional()
|
|
25
|
-
})
|
|
25
|
+
}).passthrough()
|
|
26
26
|
});
|
|
27
27
|
//#endregion
|
|
28
28
|
export { resendListWebhooks };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-webhooks.mjs","names":[],"sources":["../../src/actions/list-webhooks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListWebhooksInput = z.object({\n after: z.string().describe(\"Pagination cursor to fetch results after this webhook ID. Cannot be used with 'before'.\").optional(),\n limit: z.number().int().describe(\"Maximum number of webhooks to return.\").optional(),\n before: z.string().describe(\"Pagination cursor to fetch results before this webhook ID. Cannot be used with 'after'.\").optional(),\n});\nconst ResendListWebhooks_WebhookSchema = z.object({\n id: z.string().describe(\"The unique identifier of the webhook.\").nullable().optional(),\n events: z.array(z.string()).describe(\"List of event types that trigger this webhook.\").nullable().optional(),\n status: z.string().describe(\"The current status of the webhook.\").nullable().optional(),\n endpoint: z.string().describe(\"The URL endpoint where webhook events will be sent.\").nullable().optional(),\n created_at: z.string().describe(\"The creation timestamp of the webhook.\").nullable().optional(),\n});\nexport const ResendListWebhooksOutput = z.object({\n data: z.array(ResendListWebhooks_WebhookSchema).describe(\"Array containing webhook information.\").nullable().optional(),\n object: z.string().describe(\"Type of the response object, typically 'list'.\").nullable().optional(),\n has_more: z.boolean().describe(\"Indicates if there are more results available for pagination.\").nullable().optional(),\n});\n\nexport const resendListWebhooks = action(\"RESEND_LIST_WEBHOOKS\", {\n slug: \"resend-list-webhooks\",\n name: \"List Webhooks\",\n description: \"Retrieve a list of webhooks for the authenticated user. Use this to view all configured webhooks with their endpoints, event types, and status.\",\n input: ResendListWebhooksInput,\n output: ResendListWebhooksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CAC/H,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACnF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;AAClI,CAAC;AACD,MAAM,mCAAmC,EAAE,OAAO;CAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChG,CAAC;
|
|
1
|
+
{"version":3,"file":"list-webhooks.mjs","names":[],"sources":["../../src/actions/list-webhooks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListWebhooksInput = z.object({\n after: z.string().describe(\"Pagination cursor to fetch results after this webhook ID. Cannot be used with 'before'.\").optional(),\n limit: z.number().int().describe(\"Maximum number of webhooks to return.\").optional(),\n before: z.string().describe(\"Pagination cursor to fetch results before this webhook ID. Cannot be used with 'after'.\").optional(),\n});\nconst ResendListWebhooks_WebhookSchema = z.object({\n id: z.string().describe(\"The unique identifier of the webhook.\").nullable().optional(),\n events: z.array(z.string()).describe(\"List of event types that trigger this webhook.\").nullable().optional(),\n status: z.string().describe(\"The current status of the webhook.\").nullable().optional(),\n endpoint: z.string().describe(\"The URL endpoint where webhook events will be sent.\").nullable().optional(),\n created_at: z.string().describe(\"The creation timestamp of the webhook.\").nullable().optional(),\n}).passthrough();\nexport const ResendListWebhooksOutput = z.object({\n data: z.array(ResendListWebhooks_WebhookSchema).describe(\"Array containing webhook information.\").nullable().optional(),\n object: z.string().describe(\"Type of the response object, typically 'list'.\").nullable().optional(),\n has_more: z.boolean().describe(\"Indicates if there are more results available for pagination.\").nullable().optional(),\n}).passthrough();\n\nexport const resendListWebhooks = action(\"RESEND_LIST_WEBHOOKS\", {\n slug: \"resend-list-webhooks\",\n name: \"List Webhooks\",\n description: \"Retrieve a list of webhooks for the authenticated user. Use this to view all configured webhooks with their endpoints, event types, and status.\",\n input: ResendListWebhooksInput,\n output: ResendListWebhooksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CAC/H,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACnF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;AAClI,CAAC;AACD,MAAM,mCAAmC,EAAE,OAAO;CAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,YAAY;AAOf,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXsC,EAAE,OAAO;EAC/C,MAAM,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ const ResendPublishTemplateInput = zod.z.object({ template_id: zod.z.string().de
|
|
|
5
5
|
const ResendPublishTemplateOutput = zod.z.object({
|
|
6
6
|
id: zod.z.string().describe("The ID of the template.").nullable().optional(),
|
|
7
7
|
object: zod.z.string().describe("The object type of the response.").nullable().optional()
|
|
8
|
-
});
|
|
8
|
+
}).passthrough();
|
|
9
9
|
const resendPublishTemplate = require_action.action("RESEND_PUBLISH_TEMPLATE", {
|
|
10
10
|
slug: "resend-publish-template",
|
|
11
11
|
name: "Publish Template",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"publish-template.cjs","names":["z","action"],"sources":["../../src/actions/publish-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendPublishTemplateInput = z.object({\n template_id: z.string().describe(\"The Template ID or alias to publish.\"),\n});\nexport const ResendPublishTemplateOutput = z.object({\n id: z.string().describe(\"The ID of the template.\").nullable().optional(),\n object: z.string().describe(\"The object type of the response.\").nullable().optional(),\n});\n\nexport const resendPublishTemplate = action(\"RESEND_PUBLISH_TEMPLATE\", {\n slug: \"resend-publish-template\",\n name: \"Publish Template\",\n description: \"Publish a template through the Resend Email API. Use when you need to make a template publicly available.\",\n input: ResendPublishTemplateInput,\n output: ResendPublishTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EACzE,CAAC;AACD,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC;
|
|
1
|
+
{"version":3,"file":"publish-template.cjs","names":["z","action"],"sources":["../../src/actions/publish-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendPublishTemplateInput = z.object({\n template_id: z.string().describe(\"The Template ID or alias to publish.\"),\n});\nexport const ResendPublishTemplateOutput = z.object({\n id: z.string().describe(\"The ID of the template.\").nullable().optional(),\n object: z.string().describe(\"The object type of the response.\").nullable().optional(),\n}).passthrough();\n\nexport const resendPublishTemplate = action(\"RESEND_PUBLISH_TEMPLATE\", {\n slug: \"resend-publish-template\",\n name: \"Publish Template\",\n description: \"Publish a template through the Resend Email API. Use when you need to make a template publicly available.\",\n input: ResendPublishTemplateInput,\n output: ResendPublishTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EACzE,CAAC;AACD,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -7,7 +7,7 @@ declare const ResendPublishTemplateInput: z.ZodObject<{
|
|
|
7
7
|
declare const ResendPublishTemplateOutput: 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 resendPublishTemplate: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
template_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 ResendPublishTemplateInput: z.ZodObject<{
|
|
|
7
7
|
declare const ResendPublishTemplateOutput: 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 resendPublishTemplate: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
template_id: string;
|
|
13
13
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -8,7 +8,7 @@ const resendPublishTemplate = action("RESEND_PUBLISH_TEMPLATE", {
|
|
|
8
8
|
output: z.object({
|
|
9
9
|
id: z.string().describe("The ID of the template.").nullable().optional(),
|
|
10
10
|
object: z.string().describe("The object type of the response.").nullable().optional()
|
|
11
|
-
})
|
|
11
|
+
}).passthrough()
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
14
14
|
export { resendPublishTemplate };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"publish-template.mjs","names":[],"sources":["../../src/actions/publish-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendPublishTemplateInput = z.object({\n template_id: z.string().describe(\"The Template ID or alias to publish.\"),\n});\nexport const ResendPublishTemplateOutput = z.object({\n id: z.string().describe(\"The ID of the template.\").nullable().optional(),\n object: z.string().describe(\"The object type of the response.\").nullable().optional(),\n});\n\nexport const resendPublishTemplate = action(\"RESEND_PUBLISH_TEMPLATE\", {\n slug: \"resend-publish-template\",\n name: \"Publish Template\",\n description: \"Publish a template through the Resend Email API. Use when you need to make a template publicly available.\",\n input: ResendPublishTemplateInput,\n output: ResendPublishTemplateOutput,\n});\n"],"mappings":";;AAYA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZwC,EAAE,OAAO,EACjD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EACzE,CAUS;CACP,QAVyC,EAAE,OAAO;EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,
|
|
1
|
+
{"version":3,"file":"publish-template.mjs","names":[],"sources":["../../src/actions/publish-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendPublishTemplateInput = z.object({\n template_id: z.string().describe(\"The Template ID or alias to publish.\"),\n});\nexport const ResendPublishTemplateOutput = z.object({\n id: z.string().describe(\"The ID of the template.\").nullable().optional(),\n object: z.string().describe(\"The object type of the response.\").nullable().optional(),\n}).passthrough();\n\nexport const resendPublishTemplate = action(\"RESEND_PUBLISH_TEMPLATE\", {\n slug: \"resend-publish-template\",\n name: \"Publish Template\",\n description: \"Publish a template through the Resend Email API. Use when you need to make a template publicly available.\",\n input: ResendPublishTemplateInput,\n output: ResendPublishTemplateOutput,\n});\n"],"mappings":";;AAYA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZwC,EAAE,OAAO,EACjD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EACzE,CAUS;CACP,QAVyC,EAAE,OAAO;EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -8,7 +8,7 @@ const ResendRemoveContactFromSegmentInput = zod.z.object({
|
|
|
8
8
|
const ResendRemoveContactFromSegmentOutput = zod.z.object({
|
|
9
9
|
id: zod.z.string().describe("The segment ID.").nullable().optional(),
|
|
10
10
|
deleted: zod.z.boolean().describe("Indicates if the contact was successfully removed from the segment.").nullable().optional()
|
|
11
|
-
});
|
|
11
|
+
}).passthrough();
|
|
12
12
|
const resendRemoveContactFromSegment = require_action.action("RESEND_REMOVE_CONTACT_FROM_SEGMENT", {
|
|
13
13
|
slug: "resend-remove-contact-from-segment",
|
|
14
14
|
name: "Remove Contact From Segment",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remove-contact-from-segment.cjs","names":["z","action"],"sources":["../../src/actions/remove-contact-from-segment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendRemoveContactFromSegmentInput = z.object({\n contact_id: z.string().describe(\"The ID of the contact to remove from the segment.\"),\n segment_id: z.string().describe(\"The ID of the segment to remove the contact from.\"),\n});\nexport const ResendRemoveContactFromSegmentOutput = z.object({\n id: z.string().describe(\"The segment ID.\").nullable().optional(),\n deleted: z.boolean().describe(\"Indicates if the contact was successfully removed from the segment.\").nullable().optional(),\n});\n\nexport const resendRemoveContactFromSegment = action(\"RESEND_REMOVE_CONTACT_FROM_SEGMENT\", {\n slug: \"resend-remove-contact-from-segment\",\n name: \"Remove Contact From Segment\",\n description: \"Remove an existing contact from a segment. Use when you need to disassociate a contact from a specific segment.\",\n input: ResendRemoveContactFromSegmentInput,\n output: ResendRemoveContactFromSegmentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CACnF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;AACrF,CAAC;AACD,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3H,CAAC;
|
|
1
|
+
{"version":3,"file":"remove-contact-from-segment.cjs","names":["z","action"],"sources":["../../src/actions/remove-contact-from-segment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendRemoveContactFromSegmentInput = z.object({\n contact_id: z.string().describe(\"The ID of the contact to remove from the segment.\"),\n segment_id: z.string().describe(\"The ID of the segment to remove the contact from.\"),\n});\nexport const ResendRemoveContactFromSegmentOutput = z.object({\n id: z.string().describe(\"The segment ID.\").nullable().optional(),\n deleted: z.boolean().describe(\"Indicates if the contact was successfully removed from the segment.\").nullable().optional(),\n}).passthrough();\n\nexport const resendRemoveContactFromSegment = action(\"RESEND_REMOVE_CONTACT_FROM_SEGMENT\", {\n slug: \"resend-remove-contact-from-segment\",\n name: \"Remove Contact From Segment\",\n description: \"Remove an existing contact from a segment. Use when you need to disassociate a contact from a specific segment.\",\n input: ResendRemoveContactFromSegmentInput,\n output: ResendRemoveContactFromSegmentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CACnF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;AACrF,CAAC;AACD,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,iCAAiCC,eAAAA,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -8,7 +8,7 @@ declare const ResendRemoveContactFromSegmentInput: z.ZodObject<{
|
|
|
8
8
|
declare const ResendRemoveContactFromSegmentOutput: z.ZodObject<{
|
|
9
9
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
10
|
deleted: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>;
|
|
12
12
|
declare const resendRemoveContactFromSegment: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
13
|
contact_id: string;
|
|
14
14
|
segment_id: string;
|
|
@@ -8,7 +8,7 @@ declare const ResendRemoveContactFromSegmentInput: z.ZodObject<{
|
|
|
8
8
|
declare const ResendRemoveContactFromSegmentOutput: z.ZodObject<{
|
|
9
9
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
10
|
deleted: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>;
|
|
12
12
|
declare const resendRemoveContactFromSegment: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
13
|
contact_id: string;
|
|
14
14
|
segment_id: string;
|
|
@@ -11,7 +11,7 @@ const resendRemoveContactFromSegment = action("RESEND_REMOVE_CONTACT_FROM_SEGMEN
|
|
|
11
11
|
output: z.object({
|
|
12
12
|
id: z.string().describe("The segment ID.").nullable().optional(),
|
|
13
13
|
deleted: z.boolean().describe("Indicates if the contact was successfully removed from the segment.").nullable().optional()
|
|
14
|
-
})
|
|
14
|
+
}).passthrough()
|
|
15
15
|
});
|
|
16
16
|
//#endregion
|
|
17
17
|
export { resendRemoveContactFromSegment };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remove-contact-from-segment.mjs","names":[],"sources":["../../src/actions/remove-contact-from-segment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendRemoveContactFromSegmentInput = z.object({\n contact_id: z.string().describe(\"The ID of the contact to remove from the segment.\"),\n segment_id: z.string().describe(\"The ID of the segment to remove the contact from.\"),\n});\nexport const ResendRemoveContactFromSegmentOutput = z.object({\n id: z.string().describe(\"The segment ID.\").nullable().optional(),\n deleted: z.boolean().describe(\"Indicates if the contact was successfully removed from the segment.\").nullable().optional(),\n});\n\nexport const resendRemoveContactFromSegment = action(\"RESEND_REMOVE_CONTACT_FROM_SEGMENT\", {\n slug: \"resend-remove-contact-from-segment\",\n name: \"Remove Contact From Segment\",\n description: \"Remove an existing contact from a segment. Use when you need to disassociate a contact from a specific segment.\",\n input: ResendRemoveContactFromSegmentInput,\n output: ResendRemoveContactFromSegmentOutput,\n});\n"],"mappings":";;AAaA,MAAa,iCAAiC,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbiD,EAAE,OAAO;EAC1D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;EACnF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CACrF,CAUS;CACP,QAVkD,EAAE,OAAO;EAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/D,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,
|
|
1
|
+
{"version":3,"file":"remove-contact-from-segment.mjs","names":[],"sources":["../../src/actions/remove-contact-from-segment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendRemoveContactFromSegmentInput = z.object({\n contact_id: z.string().describe(\"The ID of the contact to remove from the segment.\"),\n segment_id: z.string().describe(\"The ID of the segment to remove the contact from.\"),\n});\nexport const ResendRemoveContactFromSegmentOutput = z.object({\n id: z.string().describe(\"The segment ID.\").nullable().optional(),\n deleted: z.boolean().describe(\"Indicates if the contact was successfully removed from the segment.\").nullable().optional(),\n}).passthrough();\n\nexport const resendRemoveContactFromSegment = action(\"RESEND_REMOVE_CONTACT_FROM_SEGMENT\", {\n slug: \"resend-remove-contact-from-segment\",\n name: \"Remove Contact From Segment\",\n description: \"Remove an existing contact from a segment. Use when you need to disassociate a contact from a specific segment.\",\n input: ResendRemoveContactFromSegmentInput,\n output: ResendRemoveContactFromSegmentOutput,\n});\n"],"mappings":";;AAaA,MAAa,iCAAiC,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbiD,EAAE,OAAO;EAC1D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;EACnF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CACrF,CAUS;CACP,QAVkD,EAAE,OAAO;EAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/D,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -7,7 +7,7 @@ const ResendRetrieveAudienceOutput = zod.z.object({
|
|
|
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
|
created_at: zod.z.string().describe("The creation timestamp of the audience.").nullable().optional()
|
|
10
|
-
});
|
|
10
|
+
}).passthrough();
|
|
11
11
|
const resendRetrieveAudience = require_action.action("RESEND_RETRIEVE_AUDIENCE", {
|
|
12
12
|
slug: "resend-retrieve-audience",
|
|
13
13
|
name: "Retrieve Audience",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-audience.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-audience.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendRetrieveAudienceInput = z.object({\n audience_id: z.string().describe(\"The ID of the audience to retrieve.\"),\n});\nexport const ResendRetrieveAudienceOutput = z.object({\n id: z.string().describe(\"The id of the retrieved 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 created_at: z.string().describe(\"The creation timestamp of the audience.\").nullable().optional(),\n});\n\nexport const resendRetrieveAudience = action(\"RESEND_RETRIEVE_AUDIENCE\", {\n slug: \"resend-retrieve-audience\",\n name: \"Retrieve Audience\",\n description: \"Retrieve a single audience.\",\n input: ResendRetrieveAudienceInput,\n output: ResendRetrieveAudienceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,EACxE,CAAC;AACD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,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;CAChH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC;
|
|
1
|
+
{"version":3,"file":"retrieve-audience.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-audience.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendRetrieveAudienceInput = z.object({\n audience_id: z.string().describe(\"The ID of the audience to retrieve.\"),\n});\nexport const ResendRetrieveAudienceOutput = z.object({\n id: z.string().describe(\"The id of the retrieved 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 created_at: z.string().describe(\"The creation timestamp of the audience.\").nullable().optional(),\n}).passthrough();\n\nexport const resendRetrieveAudience = action(\"RESEND_RETRIEVE_AUDIENCE\", {\n slug: \"resend-retrieve-audience\",\n name: \"Retrieve Audience\",\n description: \"Retrieve a single audience.\",\n input: ResendRetrieveAudienceInput,\n output: ResendRetrieveAudienceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,EACxE,CAAC;AACD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,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;CAChH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -9,7 +9,7 @@ declare const ResendRetrieveAudienceOutput: z.ZodObject<{
|
|
|
9
9
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
10
|
object: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
|
|
11
11
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>;
|
|
13
13
|
declare const resendRetrieveAudience: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
14
|
audience_id: string;
|
|
15
15
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -9,7 +9,7 @@ declare const ResendRetrieveAudienceOutput: z.ZodObject<{
|
|
|
9
9
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
10
|
object: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
|
|
11
11
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>;
|
|
13
13
|
declare const resendRetrieveAudience: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
14
|
audience_id: string;
|
|
15
15
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -10,7 +10,7 @@ const resendRetrieveAudience = action("RESEND_RETRIEVE_AUDIENCE", {
|
|
|
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
|
created_at: z.string().describe("The creation timestamp of the audience.").nullable().optional()
|
|
13
|
-
})
|
|
13
|
+
}).passthrough()
|
|
14
14
|
});
|
|
15
15
|
//#endregion
|
|
16
16
|
export { resendRetrieveAudience };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-audience.mjs","names":[],"sources":["../../src/actions/retrieve-audience.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendRetrieveAudienceInput = z.object({\n audience_id: z.string().describe(\"The ID of the audience to retrieve.\"),\n});\nexport const ResendRetrieveAudienceOutput = z.object({\n id: z.string().describe(\"The id of the retrieved 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 created_at: z.string().describe(\"The creation timestamp of the audience.\").nullable().optional(),\n});\n\nexport const resendRetrieveAudience = action(\"RESEND_RETRIEVE_AUDIENCE\", {\n slug: \"resend-retrieve-audience\",\n name: \"Retrieve Audience\",\n description: \"Retrieve a single audience.\",\n input: ResendRetrieveAudienceInput,\n output: ResendRetrieveAudienceOutput,\n});\n"],"mappings":";;AAcA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdyC,EAAE,OAAO,EAClD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,EACxE,CAYS;CACP,QAZ0C,EAAE,OAAO;EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,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;EAChH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,
|
|
1
|
+
{"version":3,"file":"retrieve-audience.mjs","names":[],"sources":["../../src/actions/retrieve-audience.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendRetrieveAudienceInput = z.object({\n audience_id: z.string().describe(\"The ID of the audience to retrieve.\"),\n});\nexport const ResendRetrieveAudienceOutput = z.object({\n id: z.string().describe(\"The id of the retrieved 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 created_at: z.string().describe(\"The creation timestamp of the audience.\").nullable().optional(),\n}).passthrough();\n\nexport const resendRetrieveAudience = action(\"RESEND_RETRIEVE_AUDIENCE\", {\n slug: \"resend-retrieve-audience\",\n name: \"Retrieve Audience\",\n description: \"Retrieve a single audience.\",\n input: ResendRetrieveAudienceInput,\n output: ResendRetrieveAudienceOutput,\n});\n"],"mappings":";;AAcA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdyC,EAAE,OAAO,EAClD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,EACxE,CAYS;CACP,QAZ0C,EAAE,OAAO;EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,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;EAChH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -13,7 +13,7 @@ const ResendRetrieveContactOutput = zod.z.object({
|
|
|
13
13
|
created_at: zod.z.string().describe("The creation timestamp of the contact.").nullable().optional(),
|
|
14
14
|
first_name: zod.z.string().describe("The first name of the contact.").nullable().optional(),
|
|
15
15
|
unsubscribed: zod.z.boolean().describe("The subscription status.").nullable().optional()
|
|
16
|
-
});
|
|
16
|
+
}).passthrough();
|
|
17
17
|
const resendRetrieveContact = require_action.action("RESEND_RETRIEVE_CONTACT", {
|
|
18
18
|
slug: "resend-retrieve-contact",
|
|
19
19
|
name: "Retrieve Contact",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-contact.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendRetrieveContactInput = z.object({\n id: z.string().describe(\"The Contact ID.\"),\n audienceId: z.string().describe(\"The Audience ID.\"),\n});\nexport const ResendRetrieveContactOutput = z.object({\n id: z.string().describe(\"The id of the contact.\").nullable().optional(),\n email: z.string().describe(\"The email of the contact.\").nullable().optional(),\n object: z.string().describe(\"The type of object, which is 'contact'.\").nullable().optional(),\n last_name: z.string().describe(\"The last name of the contact.\").nullable().optional(),\n created_at: z.string().describe(\"The creation timestamp of the contact.\").nullable().optional(),\n first_name: z.string().describe(\"The first name of the contact.\").nullable().optional(),\n unsubscribed: z.boolean().describe(\"The subscription status.\").nullable().optional(),\n});\n\nexport const resendRetrieveContact = action(\"RESEND_RETRIEVE_CONTACT\", {\n slug: \"resend-retrieve-contact\",\n name: \"Retrieve Contact\",\n description: \"Retrieve a contact in Resend.\",\n input: ResendRetrieveContactInput,\n output: ResendRetrieveContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB;CACzC,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;AACpD,CAAC;AACD,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,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;CAC5E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrF,CAAC;
|
|
1
|
+
{"version":3,"file":"retrieve-contact.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendRetrieveContactInput = z.object({\n id: z.string().describe(\"The Contact ID.\"),\n audienceId: z.string().describe(\"The Audience ID.\"),\n});\nexport const ResendRetrieveContactOutput = z.object({\n id: z.string().describe(\"The id of the contact.\").nullable().optional(),\n email: z.string().describe(\"The email of the contact.\").nullable().optional(),\n object: z.string().describe(\"The type of object, which is 'contact'.\").nullable().optional(),\n last_name: z.string().describe(\"The last name of the contact.\").nullable().optional(),\n created_at: z.string().describe(\"The creation timestamp of the contact.\").nullable().optional(),\n first_name: z.string().describe(\"The first name of the contact.\").nullable().optional(),\n unsubscribed: z.boolean().describe(\"The subscription status.\").nullable().optional(),\n}).passthrough();\n\nexport const resendRetrieveContact = action(\"RESEND_RETRIEVE_CONTACT\", {\n slug: \"resend-retrieve-contact\",\n name: \"Retrieve Contact\",\n description: \"Retrieve a contact in Resend.\",\n input: ResendRetrieveContactInput,\n output: ResendRetrieveContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB;CACzC,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;AACpD,CAAC;AACD,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,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;CAC5E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -13,7 +13,7 @@ declare const ResendRetrieveContactOutput: z.ZodObject<{
|
|
|
13
13
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
15
|
unsubscribed: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const resendRetrieveContact: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
18
|
id: string;
|
|
19
19
|
audienceId: string;
|
|
@@ -13,7 +13,7 @@ declare const ResendRetrieveContactOutput: z.ZodObject<{
|
|
|
13
13
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
15
|
unsubscribed: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const resendRetrieveContact: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
18
|
id: string;
|
|
19
19
|
audienceId: string;
|
|
@@ -16,7 +16,7 @@ const resendRetrieveContact = action("RESEND_RETRIEVE_CONTACT", {
|
|
|
16
16
|
created_at: z.string().describe("The creation timestamp of the contact.").nullable().optional(),
|
|
17
17
|
first_name: z.string().describe("The first name of the contact.").nullable().optional(),
|
|
18
18
|
unsubscribed: z.boolean().describe("The subscription status.").nullable().optional()
|
|
19
|
-
})
|
|
19
|
+
}).passthrough()
|
|
20
20
|
});
|
|
21
21
|
//#endregion
|
|
22
22
|
export { resendRetrieveContact };
|