@keystrokehq/postmark 0.1.0
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/README.md +17 -0
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/archive-message-stream.cjs +20 -0
- package/dist/actions/archive-message-stream.cjs.map +1 -0
- package/dist/actions/archive-message-stream.d.cts +9 -0
- package/dist/actions/archive-message-stream.d.cts.map +1 -0
- package/dist/actions/archive-message-stream.d.mts +9 -0
- package/dist/actions/archive-message-stream.d.mts.map +1 -0
- package/dist/actions/archive-message-stream.mjs +17 -0
- package/dist/actions/archive-message-stream.mjs.map +1 -0
- package/dist/actions/check-spam-score.cjs +28 -0
- package/dist/actions/check-spam-score.cjs.map +1 -0
- package/dist/actions/check-spam-score.d.cts +9 -0
- package/dist/actions/check-spam-score.d.cts.map +1 -0
- package/dist/actions/check-spam-score.d.mts +9 -0
- package/dist/actions/check-spam-score.d.mts.map +1 -0
- package/dist/actions/check-spam-score.mjs +25 -0
- package/dist/actions/check-spam-score.mjs.map +1 -0
- package/dist/actions/create-inbound-rule.cjs +19 -0
- package/dist/actions/create-inbound-rule.cjs.map +1 -0
- package/dist/actions/create-inbound-rule.d.cts +9 -0
- package/dist/actions/create-inbound-rule.d.cts.map +1 -0
- package/dist/actions/create-inbound-rule.d.mts +9 -0
- package/dist/actions/create-inbound-rule.d.mts.map +1 -0
- package/dist/actions/create-inbound-rule.mjs +16 -0
- package/dist/actions/create-inbound-rule.mjs.map +1 -0
- package/dist/actions/create-message-stream.cjs +32 -0
- package/dist/actions/create-message-stream.cjs.map +1 -0
- package/dist/actions/create-message-stream.d.cts +9 -0
- package/dist/actions/create-message-stream.d.cts.map +1 -0
- package/dist/actions/create-message-stream.d.mts +9 -0
- package/dist/actions/create-message-stream.d.mts.map +1 -0
- package/dist/actions/create-message-stream.mjs +31 -0
- package/dist/actions/create-message-stream.mjs.map +1 -0
- package/dist/actions/create-suppressions.cjs +25 -0
- package/dist/actions/create-suppressions.cjs.map +1 -0
- package/dist/actions/create-suppressions.d.cts +9 -0
- package/dist/actions/create-suppressions.d.cts.map +1 -0
- package/dist/actions/create-suppressions.d.mts +9 -0
- package/dist/actions/create-suppressions.d.mts.map +1 -0
- package/dist/actions/create-suppressions.mjs +24 -0
- package/dist/actions/create-suppressions.mjs.map +1 -0
- package/dist/actions/create-template.cjs +36 -0
- package/dist/actions/create-template.cjs.map +1 -0
- package/dist/actions/create-template.d.cts +9 -0
- package/dist/actions/create-template.d.cts.map +1 -0
- package/dist/actions/create-template.d.mts +9 -0
- package/dist/actions/create-template.d.mts.map +1 -0
- package/dist/actions/create-template.mjs +33 -0
- package/dist/actions/create-template.mjs.map +1 -0
- package/dist/actions/create-webhook.cjs +79 -0
- package/dist/actions/create-webhook.cjs.map +1 -0
- package/dist/actions/create-webhook.d.cts +9 -0
- package/dist/actions/create-webhook.d.cts.map +1 -0
- package/dist/actions/create-webhook.d.mts +9 -0
- package/dist/actions/create-webhook.d.mts.map +1 -0
- package/dist/actions/create-webhook.mjs +78 -0
- package/dist/actions/create-webhook.mjs.map +1 -0
- package/dist/actions/delete-inbound-rule.cjs +16 -0
- package/dist/actions/delete-inbound-rule.cjs.map +1 -0
- package/dist/actions/delete-inbound-rule.d.cts +9 -0
- package/dist/actions/delete-inbound-rule.d.cts.map +1 -0
- package/dist/actions/delete-inbound-rule.d.mts +9 -0
- package/dist/actions/delete-inbound-rule.d.mts.map +1 -0
- package/dist/actions/delete-inbound-rule.mjs +13 -0
- package/dist/actions/delete-inbound-rule.mjs.map +1 -0
- package/dist/actions/delete-suppressions.cjs +24 -0
- package/dist/actions/delete-suppressions.cjs.map +1 -0
- package/dist/actions/delete-suppressions.d.cts +9 -0
- package/dist/actions/delete-suppressions.d.cts.map +1 -0
- package/dist/actions/delete-suppressions.d.mts +9 -0
- package/dist/actions/delete-suppressions.d.mts.map +1 -0
- package/dist/actions/delete-suppressions.mjs +23 -0
- package/dist/actions/delete-suppressions.mjs.map +1 -0
- package/dist/actions/delete-template.cjs +19 -0
- package/dist/actions/delete-template.cjs.map +1 -0
- package/dist/actions/delete-template.d.cts +9 -0
- package/dist/actions/delete-template.d.cts.map +1 -0
- package/dist/actions/delete-template.d.mts +9 -0
- package/dist/actions/delete-template.d.mts.map +1 -0
- package/dist/actions/delete-template.mjs +16 -0
- package/dist/actions/delete-template.mjs.map +1 -0
- package/dist/actions/delete-webhook.cjs +16 -0
- package/dist/actions/delete-webhook.cjs.map +1 -0
- package/dist/actions/delete-webhook.d.cts +9 -0
- package/dist/actions/delete-webhook.d.cts.map +1 -0
- package/dist/actions/delete-webhook.d.mts +9 -0
- package/dist/actions/delete-webhook.d.mts.map +1 -0
- package/dist/actions/delete-webhook.mjs +13 -0
- package/dist/actions/delete-webhook.mjs.map +1 -0
- package/dist/actions/edit-server.cjs +42 -0
- package/dist/actions/edit-server.cjs.map +1 -0
- package/dist/actions/edit-server.d.cts +9 -0
- package/dist/actions/edit-server.d.cts.map +1 -0
- package/dist/actions/edit-server.d.mts +9 -0
- package/dist/actions/edit-server.d.mts.map +1 -0
- package/dist/actions/edit-server.mjs +39 -0
- package/dist/actions/edit-server.mjs.map +1 -0
- package/dist/actions/edit-template.cjs +39 -0
- package/dist/actions/edit-template.cjs.map +1 -0
- package/dist/actions/edit-template.d.cts +9 -0
- package/dist/actions/edit-template.d.cts.map +1 -0
- package/dist/actions/edit-template.d.mts +9 -0
- package/dist/actions/edit-template.d.mts.map +1 -0
- package/dist/actions/edit-template.mjs +36 -0
- package/dist/actions/edit-template.mjs.map +1 -0
- package/dist/actions/edit-webhook.cjs +41 -0
- package/dist/actions/edit-webhook.cjs.map +1 -0
- package/dist/actions/edit-webhook.d.cts +9 -0
- package/dist/actions/edit-webhook.d.cts.map +1 -0
- package/dist/actions/edit-webhook.d.mts +9 -0
- package/dist/actions/edit-webhook.d.mts.map +1 -0
- package/dist/actions/edit-webhook.mjs +40 -0
- package/dist/actions/edit-webhook.mjs.map +1 -0
- package/dist/actions/get-bounce-counts.cjs +33 -0
- package/dist/actions/get-bounce-counts.cjs.map +1 -0
- package/dist/actions/get-bounce-counts.d.cts +9 -0
- package/dist/actions/get-bounce-counts.d.cts.map +1 -0
- package/dist/actions/get-bounce-counts.d.mts +9 -0
- package/dist/actions/get-bounce-counts.d.mts.map +1 -0
- package/dist/actions/get-bounce-counts.mjs +32 -0
- package/dist/actions/get-bounce-counts.mjs.map +1 -0
- package/dist/actions/get-bounces.cjs +48 -0
- package/dist/actions/get-bounces.cjs.map +1 -0
- package/dist/actions/get-bounces.d.cts +9 -0
- package/dist/actions/get-bounces.d.cts.map +1 -0
- package/dist/actions/get-bounces.d.mts +9 -0
- package/dist/actions/get-bounces.d.mts.map +1 -0
- package/dist/actions/get-bounces.mjs +47 -0
- package/dist/actions/get-bounces.mjs.map +1 -0
- package/dist/actions/get-browser-platform-usage.cjs +32 -0
- package/dist/actions/get-browser-platform-usage.cjs.map +1 -0
- package/dist/actions/get-browser-platform-usage.d.cts +9 -0
- package/dist/actions/get-browser-platform-usage.d.cts.map +1 -0
- package/dist/actions/get-browser-platform-usage.d.mts +9 -0
- package/dist/actions/get-browser-platform-usage.d.mts.map +1 -0
- package/dist/actions/get-browser-platform-usage.mjs +31 -0
- package/dist/actions/get-browser-platform-usage.mjs.map +1 -0
- package/dist/actions/get-browser-usage.cjs +29 -0
- package/dist/actions/get-browser-usage.cjs.map +1 -0
- package/dist/actions/get-browser-usage.d.cts +9 -0
- package/dist/actions/get-browser-usage.d.cts.map +1 -0
- package/dist/actions/get-browser-usage.d.mts +9 -0
- package/dist/actions/get-browser-usage.d.mts.map +1 -0
- package/dist/actions/get-browser-usage.mjs +28 -0
- package/dist/actions/get-browser-usage.mjs.map +1 -0
- package/dist/actions/get-click-counts.cjs +36 -0
- package/dist/actions/get-click-counts.cjs.map +1 -0
- package/dist/actions/get-click-counts.d.cts +9 -0
- package/dist/actions/get-click-counts.d.cts.map +1 -0
- package/dist/actions/get-click-counts.d.mts +9 -0
- package/dist/actions/get-click-counts.d.mts.map +1 -0
- package/dist/actions/get-click-counts.mjs +35 -0
- package/dist/actions/get-click-counts.mjs.map +1 -0
- package/dist/actions/get-clicks-by-browser-family.cjs +21 -0
- package/dist/actions/get-clicks-by-browser-family.cjs.map +1 -0
- package/dist/actions/get-clicks-by-browser-family.d.cts +9 -0
- package/dist/actions/get-clicks-by-browser-family.d.cts.map +1 -0
- package/dist/actions/get-clicks-by-browser-family.d.mts +9 -0
- package/dist/actions/get-clicks-by-browser-family.d.mts.map +1 -0
- package/dist/actions/get-clicks-by-browser-family.mjs +20 -0
- package/dist/actions/get-clicks-by-browser-family.mjs.map +1 -0
- package/dist/actions/get-clicks-by-location.cjs +29 -0
- package/dist/actions/get-clicks-by-location.cjs.map +1 -0
- package/dist/actions/get-clicks-by-location.d.cts +9 -0
- package/dist/actions/get-clicks-by-location.d.cts.map +1 -0
- package/dist/actions/get-clicks-by-location.d.mts +9 -0
- package/dist/actions/get-clicks-by-location.d.mts.map +1 -0
- package/dist/actions/get-clicks-by-location.mjs +28 -0
- package/dist/actions/get-clicks-by-location.mjs.map +1 -0
- package/dist/actions/get-delivery-stats.cjs +24 -0
- package/dist/actions/get-delivery-stats.cjs.map +1 -0
- package/dist/actions/get-delivery-stats.d.cts +9 -0
- package/dist/actions/get-delivery-stats.d.cts.map +1 -0
- package/dist/actions/get-delivery-stats.d.mts +9 -0
- package/dist/actions/get-delivery-stats.d.mts.map +1 -0
- package/dist/actions/get-delivery-stats.mjs +23 -0
- package/dist/actions/get-delivery-stats.mjs.map +1 -0
- package/dist/actions/get-email-client-usage.cjs +22 -0
- package/dist/actions/get-email-client-usage.cjs.map +1 -0
- package/dist/actions/get-email-client-usage.d.cts +9 -0
- package/dist/actions/get-email-client-usage.d.cts.map +1 -0
- package/dist/actions/get-email-client-usage.d.mts +9 -0
- package/dist/actions/get-email-client-usage.d.mts.map +1 -0
- package/dist/actions/get-email-client-usage.mjs +21 -0
- package/dist/actions/get-email-client-usage.mjs.map +1 -0
- package/dist/actions/get-email-open-counts.cjs +29 -0
- package/dist/actions/get-email-open-counts.cjs.map +1 -0
- package/dist/actions/get-email-open-counts.d.cts +9 -0
- package/dist/actions/get-email-open-counts.d.cts.map +1 -0
- package/dist/actions/get-email-open-counts.d.mts +9 -0
- package/dist/actions/get-email-open-counts.d.mts.map +1 -0
- package/dist/actions/get-email-open-counts.mjs +28 -0
- package/dist/actions/get-email-open-counts.mjs.map +1 -0
- package/dist/actions/get-message-stream.cjs +28 -0
- package/dist/actions/get-message-stream.cjs.map +1 -0
- package/dist/actions/get-message-stream.d.cts +9 -0
- package/dist/actions/get-message-stream.d.cts.map +1 -0
- package/dist/actions/get-message-stream.d.mts +9 -0
- package/dist/actions/get-message-stream.d.mts.map +1 -0
- package/dist/actions/get-message-stream.mjs +27 -0
- package/dist/actions/get-message-stream.mjs.map +1 -0
- package/dist/actions/get-opens-by-platform.cjs +33 -0
- package/dist/actions/get-opens-by-platform.cjs.map +1 -0
- package/dist/actions/get-opens-by-platform.d.cts +9 -0
- package/dist/actions/get-opens-by-platform.d.cts.map +1 -0
- package/dist/actions/get-opens-by-platform.d.mts +9 -0
- package/dist/actions/get-opens-by-platform.d.mts.map +1 -0
- package/dist/actions/get-opens-by-platform.mjs +32 -0
- package/dist/actions/get-opens-by-platform.mjs.map +1 -0
- package/dist/actions/get-outbound-overview.cjs +34 -0
- package/dist/actions/get-outbound-overview.cjs.map +1 -0
- package/dist/actions/get-outbound-overview.d.cts +9 -0
- package/dist/actions/get-outbound-overview.d.cts.map +1 -0
- package/dist/actions/get-outbound-overview.d.mts +9 -0
- package/dist/actions/get-outbound-overview.d.mts.map +1 -0
- package/dist/actions/get-outbound-overview.mjs +31 -0
- package/dist/actions/get-outbound-overview.mjs.map +1 -0
- package/dist/actions/get-sent-counts.cjs +27 -0
- package/dist/actions/get-sent-counts.cjs.map +1 -0
- package/dist/actions/get-sent-counts.d.cts +9 -0
- package/dist/actions/get-sent-counts.d.cts.map +1 -0
- package/dist/actions/get-sent-counts.d.mts +9 -0
- package/dist/actions/get-sent-counts.d.mts.map +1 -0
- package/dist/actions/get-sent-counts.mjs +26 -0
- package/dist/actions/get-sent-counts.mjs.map +1 -0
- package/dist/actions/get-server.cjs +43 -0
- package/dist/actions/get-server.cjs.map +1 -0
- package/dist/actions/get-server.d.cts +9 -0
- package/dist/actions/get-server.d.cts.map +1 -0
- package/dist/actions/get-server.d.mts +9 -0
- package/dist/actions/get-server.d.mts.map +1 -0
- package/dist/actions/get-server.mjs +40 -0
- package/dist/actions/get-server.mjs.map +1 -0
- package/dist/actions/get-spam-complaints.cjs +27 -0
- package/dist/actions/get-spam-complaints.cjs.map +1 -0
- package/dist/actions/get-spam-complaints.d.cts +9 -0
- package/dist/actions/get-spam-complaints.d.cts.map +1 -0
- package/dist/actions/get-spam-complaints.d.mts +9 -0
- package/dist/actions/get-spam-complaints.d.mts.map +1 -0
- package/dist/actions/get-spam-complaints.mjs +26 -0
- package/dist/actions/get-spam-complaints.mjs.map +1 -0
- package/dist/actions/get-template.cjs +29 -0
- package/dist/actions/get-template.cjs.map +1 -0
- package/dist/actions/get-template.d.cts +9 -0
- package/dist/actions/get-template.d.cts.map +1 -0
- package/dist/actions/get-template.d.mts +9 -0
- package/dist/actions/get-template.d.mts.map +1 -0
- package/dist/actions/get-template.mjs +26 -0
- package/dist/actions/get-template.mjs.map +1 -0
- package/dist/actions/get-tracked-email-counts.cjs +23 -0
- package/dist/actions/get-tracked-email-counts.cjs.map +1 -0
- package/dist/actions/get-tracked-email-counts.d.cts +9 -0
- package/dist/actions/get-tracked-email-counts.d.cts.map +1 -0
- package/dist/actions/get-tracked-email-counts.d.mts +9 -0
- package/dist/actions/get-tracked-email-counts.d.mts.map +1 -0
- package/dist/actions/get-tracked-email-counts.mjs +22 -0
- package/dist/actions/get-tracked-email-counts.mjs.map +1 -0
- package/dist/actions/get-webhook.cjs +44 -0
- package/dist/actions/get-webhook.cjs.map +1 -0
- package/dist/actions/get-webhook.d.cts +9 -0
- package/dist/actions/get-webhook.d.cts.map +1 -0
- package/dist/actions/get-webhook.d.mts +9 -0
- package/dist/actions/get-webhook.d.mts.map +1 -0
- package/dist/actions/get-webhook.mjs +43 -0
- package/dist/actions/get-webhook.mjs.map +1 -0
- package/dist/actions/index.cjs +93 -0
- package/dist/actions/index.d.cts +47 -0
- package/dist/actions/index.d.mts +47 -0
- package/dist/actions/index.mjs +47 -0
- package/dist/actions/list-inbound-rules.cjs +26 -0
- package/dist/actions/list-inbound-rules.cjs.map +1 -0
- package/dist/actions/list-inbound-rules.d.cts +9 -0
- package/dist/actions/list-inbound-rules.d.cts.map +1 -0
- package/dist/actions/list-inbound-rules.d.mts +9 -0
- package/dist/actions/list-inbound-rules.d.mts.map +1 -0
- package/dist/actions/list-inbound-rules.mjs +25 -0
- package/dist/actions/list-inbound-rules.mjs.map +1 -0
- package/dist/actions/list-message-streams.cjs +40 -0
- package/dist/actions/list-message-streams.cjs.map +1 -0
- package/dist/actions/list-message-streams.d.cts +9 -0
- package/dist/actions/list-message-streams.d.cts.map +1 -0
- package/dist/actions/list-message-streams.d.mts +9 -0
- package/dist/actions/list-message-streams.d.mts.map +1 -0
- package/dist/actions/list-message-streams.mjs +39 -0
- package/dist/actions/list-message-streams.mjs.map +1 -0
- package/dist/actions/list-outbound-message-clicks.cjs +69 -0
- package/dist/actions/list-outbound-message-clicks.cjs.map +1 -0
- package/dist/actions/list-outbound-message-clicks.d.cts +9 -0
- package/dist/actions/list-outbound-message-clicks.d.cts.map +1 -0
- package/dist/actions/list-outbound-message-clicks.d.mts +9 -0
- package/dist/actions/list-outbound-message-clicks.d.mts.map +1 -0
- package/dist/actions/list-outbound-message-clicks.mjs +68 -0
- package/dist/actions/list-outbound-message-clicks.mjs.map +1 -0
- package/dist/actions/list-outbound-message-opens.cjs +67 -0
- package/dist/actions/list-outbound-message-opens.cjs.map +1 -0
- package/dist/actions/list-outbound-message-opens.d.cts +9 -0
- package/dist/actions/list-outbound-message-opens.d.cts.map +1 -0
- package/dist/actions/list-outbound-message-opens.d.mts +9 -0
- package/dist/actions/list-outbound-message-opens.d.mts.map +1 -0
- package/dist/actions/list-outbound-message-opens.mjs +66 -0
- package/dist/actions/list-outbound-message-opens.mjs.map +1 -0
- package/dist/actions/list-suppressions.cjs +37 -0
- package/dist/actions/list-suppressions.cjs.map +1 -0
- package/dist/actions/list-suppressions.d.cts +9 -0
- package/dist/actions/list-suppressions.d.cts.map +1 -0
- package/dist/actions/list-suppressions.d.mts +9 -0
- package/dist/actions/list-suppressions.d.mts.map +1 -0
- package/dist/actions/list-suppressions.mjs +36 -0
- package/dist/actions/list-suppressions.mjs.map +1 -0
- package/dist/actions/list-templates.cjs +35 -0
- package/dist/actions/list-templates.cjs.map +1 -0
- package/dist/actions/list-templates.d.cts +9 -0
- package/dist/actions/list-templates.d.cts.map +1 -0
- package/dist/actions/list-templates.d.mts +9 -0
- package/dist/actions/list-templates.d.mts.map +1 -0
- package/dist/actions/list-templates.mjs +34 -0
- package/dist/actions/list-templates.mjs.map +1 -0
- package/dist/actions/list-webhooks.cjs +47 -0
- package/dist/actions/list-webhooks.cjs.map +1 -0
- package/dist/actions/list-webhooks.d.cts +9 -0
- package/dist/actions/list-webhooks.d.cts.map +1 -0
- package/dist/actions/list-webhooks.d.mts +9 -0
- package/dist/actions/list-webhooks.d.mts.map +1 -0
- package/dist/actions/list-webhooks.mjs +46 -0
- package/dist/actions/list-webhooks.mjs.map +1 -0
- package/dist/actions/search-inbound-messages.cjs +72 -0
- package/dist/actions/search-inbound-messages.cjs.map +1 -0
- package/dist/actions/search-inbound-messages.d.cts +9 -0
- package/dist/actions/search-inbound-messages.d.cts.map +1 -0
- package/dist/actions/search-inbound-messages.d.mts +9 -0
- package/dist/actions/search-inbound-messages.d.mts.map +1 -0
- package/dist/actions/search-inbound-messages.mjs +71 -0
- package/dist/actions/search-inbound-messages.mjs.map +1 -0
- package/dist/actions/search-outbound-messages.cjs +50 -0
- package/dist/actions/search-outbound-messages.cjs.map +1 -0
- package/dist/actions/search-outbound-messages.d.cts +9 -0
- package/dist/actions/search-outbound-messages.d.cts.map +1 -0
- package/dist/actions/search-outbound-messages.d.mts +9 -0
- package/dist/actions/search-outbound-messages.d.mts.map +1 -0
- package/dist/actions/search-outbound-messages.mjs +49 -0
- package/dist/actions/search-outbound-messages.mjs.map +1 -0
- package/dist/actions/send-batch-with-templates.cjs +45 -0
- package/dist/actions/send-batch-with-templates.cjs.map +1 -0
- package/dist/actions/send-batch-with-templates.d.cts +9 -0
- package/dist/actions/send-batch-with-templates.d.cts.map +1 -0
- package/dist/actions/send-batch-with-templates.d.mts +9 -0
- package/dist/actions/send-batch-with-templates.d.mts.map +1 -0
- package/dist/actions/send-batch-with-templates.mjs +42 -0
- package/dist/actions/send-batch-with-templates.mjs.map +1 -0
- package/dist/actions/unarchive-message-stream.cjs +27 -0
- package/dist/actions/unarchive-message-stream.cjs.map +1 -0
- package/dist/actions/unarchive-message-stream.d.cts +9 -0
- package/dist/actions/unarchive-message-stream.d.cts.map +1 -0
- package/dist/actions/unarchive-message-stream.d.mts +9 -0
- package/dist/actions/unarchive-message-stream.d.mts.map +1 -0
- package/dist/actions/unarchive-message-stream.mjs +26 -0
- package/dist/actions/unarchive-message-stream.mjs.map +1 -0
- package/dist/actions/update-message-stream.cjs +30 -0
- package/dist/actions/update-message-stream.cjs.map +1 -0
- package/dist/actions/update-message-stream.d.cts +9 -0
- package/dist/actions/update-message-stream.d.cts.map +1 -0
- package/dist/actions/update-message-stream.d.mts +9 -0
- package/dist/actions/update-message-stream.d.mts.map +1 -0
- package/dist/actions/update-message-stream.mjs +27 -0
- package/dist/actions/update-message-stream.mjs.map +1 -0
- package/dist/actions/validate-template.cjs +33 -0
- package/dist/actions/validate-template.cjs.map +1 -0
- package/dist/actions/validate-template.d.cts +9 -0
- package/dist/actions/validate-template.d.cts.map +1 -0
- package/dist/actions/validate-template.d.mts +9 -0
- package/dist/actions/validate-template.d.mts.map +1 -0
- package/dist/actions/validate-template.mjs +32 -0
- package/dist/actions/validate-template.mjs.map +1 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +98 -0
- package/dist/index.d.cts +49 -0
- package/dist/index.d.mts +49 -0
- package/dist/index.mjs +50 -0
- package/package.json +49 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-template.cjs","names":["z","action"],"sources":["../../src/actions/get-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkGetTemplateInput: z.ZodTypeAny = z.object({\n templateID: z.number().int().describe(\"The unique numeric ID of the template to retrieve\"),\n}).describe(\"Request model for retrieving a specific template by ID.\");\nexport const PostmarkGetTemplateOutput: z.ZodTypeAny = z.object({\n Name: z.string().describe(\"Name of the template\"),\n Alias: z.string().describe(\"Custom alias for the template if set\").nullable().optional(),\n Active: z.boolean().describe(\"Whether the template is active\"),\n Subject: z.string().describe(\"Subject line for the template\").nullable().optional(),\n HtmlBody: z.string().describe(\"HTML body of the template\"),\n Metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata associated with this template\").nullable().optional(),\n TextBody: z.string().describe(\"Text body of the template\"),\n TemplateId: z.number().int().describe(\"Unique numeric ID of the template\"),\n TemplateType: z.string().describe(\"Type of the template: Standard, Layout, or LayoutAlias\"),\n TemplateModel: z.record(z.string(), z.unknown()).describe(\"Default model used for testing the template\").nullable().optional(),\n LayoutTemplate: z.string().describe(\"If TemplateType is LayoutAlias, this is the alias name; otherwise empty string\").nullable().optional(),\n AssociatedServerId: z.number().int().describe(\"ID of the associated server\"),\n}).describe(\"Response model for details of a specific template.\");\n\nexport const postmarkGetTemplate = action(\"POSTMARK_GET_TEMPLATE\", {\n slug: \"postmark-get-template\",\n name: \"Get Template\",\n description: \"Tool to retrieve details of a specific template by its ID. Use after obtaining a template ID to inspect its configuration.\",\n input: PostmarkGetTemplateInput,\n output: PostmarkGetTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO,EAC7D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,EAC3F,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CAChD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC;CAC7D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACzD,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACzD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC;CACzE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CAC1F,eAAeA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1I,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B;AAC7E,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAEhE,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-template.d.ts
|
|
4
|
+
declare const PostmarkGetTemplateInput: z.ZodTypeAny;
|
|
5
|
+
declare const PostmarkGetTemplateOutput: z.ZodTypeAny;
|
|
6
|
+
declare const postmarkGetTemplate: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { postmarkGetTemplate };
|
|
9
|
+
//# sourceMappingURL=get-template.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-template.d.cts","names":[],"sources":["../../src/actions/get-template.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAE6B;AAAA,cACzD,yBAAA,EAA2B,CAAA,CAAE,UAauB;AAAA,cAEpD,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-template.d.ts
|
|
4
|
+
declare const PostmarkGetTemplateInput: z.ZodTypeAny;
|
|
5
|
+
declare const PostmarkGetTemplateOutput: z.ZodTypeAny;
|
|
6
|
+
declare const postmarkGetTemplate: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { postmarkGetTemplate };
|
|
9
|
+
//# sourceMappingURL=get-template.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-template.d.mts","names":[],"sources":["../../src/actions/get-template.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAE6B;AAAA,cACzD,yBAAA,EAA2B,CAAA,CAAE,UAauB;AAAA,cAEpD,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const postmarkGetTemplate = action("POSTMARK_GET_TEMPLATE", {
|
|
4
|
+
slug: "postmark-get-template",
|
|
5
|
+
name: "Get Template",
|
|
6
|
+
description: "Tool to retrieve details of a specific template by its ID. Use after obtaining a template ID to inspect its configuration.",
|
|
7
|
+
input: z.object({ templateID: z.number().int().describe("The unique numeric ID of the template to retrieve") }).describe("Request model for retrieving a specific template by ID."),
|
|
8
|
+
output: z.object({
|
|
9
|
+
Name: z.string().describe("Name of the template"),
|
|
10
|
+
Alias: z.string().describe("Custom alias for the template if set").nullable().optional(),
|
|
11
|
+
Active: z.boolean().describe("Whether the template is active"),
|
|
12
|
+
Subject: z.string().describe("Subject line for the template").nullable().optional(),
|
|
13
|
+
HtmlBody: z.string().describe("HTML body of the template"),
|
|
14
|
+
Metadata: z.record(z.string(), z.unknown()).describe("Custom metadata associated with this template").nullable().optional(),
|
|
15
|
+
TextBody: z.string().describe("Text body of the template"),
|
|
16
|
+
TemplateId: z.number().int().describe("Unique numeric ID of the template"),
|
|
17
|
+
TemplateType: z.string().describe("Type of the template: Standard, Layout, or LayoutAlias"),
|
|
18
|
+
TemplateModel: z.record(z.string(), z.unknown()).describe("Default model used for testing the template").nullable().optional(),
|
|
19
|
+
LayoutTemplate: z.string().describe("If TemplateType is LayoutAlias, this is the alias name; otherwise empty string").nullable().optional(),
|
|
20
|
+
AssociatedServerId: z.number().int().describe("ID of the associated server")
|
|
21
|
+
}).describe("Response model for details of a specific template.")
|
|
22
|
+
});
|
|
23
|
+
//#endregion
|
|
24
|
+
export { postmarkGetTemplate };
|
|
25
|
+
|
|
26
|
+
//# sourceMappingURL=get-template.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-template.mjs","names":[],"sources":["../../src/actions/get-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkGetTemplateInput: z.ZodTypeAny = z.object({\n templateID: z.number().int().describe(\"The unique numeric ID of the template to retrieve\"),\n}).describe(\"Request model for retrieving a specific template by ID.\");\nexport const PostmarkGetTemplateOutput: z.ZodTypeAny = z.object({\n Name: z.string().describe(\"Name of the template\"),\n Alias: z.string().describe(\"Custom alias for the template if set\").nullable().optional(),\n Active: z.boolean().describe(\"Whether the template is active\"),\n Subject: z.string().describe(\"Subject line for the template\").nullable().optional(),\n HtmlBody: z.string().describe(\"HTML body of the template\"),\n Metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata associated with this template\").nullable().optional(),\n TextBody: z.string().describe(\"Text body of the template\"),\n TemplateId: z.number().int().describe(\"Unique numeric ID of the template\"),\n TemplateType: z.string().describe(\"Type of the template: Standard, Layout, or LayoutAlias\"),\n TemplateModel: z.record(z.string(), z.unknown()).describe(\"Default model used for testing the template\").nullable().optional(),\n LayoutTemplate: z.string().describe(\"If TemplateType is LayoutAlias, this is the alias name; otherwise empty string\").nullable().optional(),\n AssociatedServerId: z.number().int().describe(\"ID of the associated server\"),\n}).describe(\"Response model for details of a specific template.\");\n\nexport const postmarkGetTemplate = action(\"POSTMARK_GET_TEMPLATE\", {\n slug: \"postmark-get-template\",\n name: \"Get Template\",\n description: \"Tool to retrieve details of a specific template by its ID. Use after obtaining a template ID to inspect its configuration.\",\n input: PostmarkGetTemplateInput,\n output: PostmarkGetTemplateOutput,\n});\n"],"mappings":";;AAsBA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtBoD,EAAE,OAAO,EAC7D,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,EAC3F,CAAC,CAAC,CAAC,SAAS,yDAoBH;CACP,QApBqD,EAAE,OAAO;EAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;EAChD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC;EAC7D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EACzD,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1H,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EACzD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC;EACzE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;EAC1F,eAAe,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7H,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1I,oBAAoB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B;CAC7E,CAAC,CAAC,CAAC,SAAS,oDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-tracked-email-counts.ts
|
|
4
|
+
const PostmarkGetTrackedEmailCountsInput = zod.z.object({
|
|
5
|
+
todate: zod.z.string().describe("End date of the tracking period in YYYY-MM-DD format"),
|
|
6
|
+
fromdate: zod.z.string().describe("Start date of the tracking period in YYYY-MM-DD format")
|
|
7
|
+
}).describe("Request model for GetTrackedEmailCounts action.");
|
|
8
|
+
const PostmarkGetTrackedEmailCounts_TrackedDayStatsSchema = zod.z.object({
|
|
9
|
+
Date: zod.z.string().describe("The date in YYYY-MM-DD format"),
|
|
10
|
+
Tracked: zod.z.number().int().describe("Number of emails sent with tracking enabled on this day")
|
|
11
|
+
}).describe("Statistics for a single day in the tracked email counts response.");
|
|
12
|
+
const PostmarkGetTrackedEmailCountsOutput = zod.z.object({ Days: zod.z.array(PostmarkGetTrackedEmailCounts_TrackedDayStatsSchema).describe("Array of daily statistics for tracked emails during the period. Days that didn't produce statistics won't appear.") }).describe("Response model for GetTrackedEmailCounts action.");
|
|
13
|
+
const postmarkGetTrackedEmailCounts = require_action.action("POSTMARK_GET_TRACKED_EMAIL_COUNTS", {
|
|
14
|
+
slug: "postmark-get-tracked-email-counts",
|
|
15
|
+
name: "Get Tracked Email Counts",
|
|
16
|
+
description: "Tool to retrieve counts of emails with tracking enabled. Use after specifying a date range to analyze open and click metrics.",
|
|
17
|
+
input: PostmarkGetTrackedEmailCountsInput,
|
|
18
|
+
output: PostmarkGetTrackedEmailCountsOutput
|
|
19
|
+
});
|
|
20
|
+
//#endregion
|
|
21
|
+
exports.postmarkGetTrackedEmailCounts = postmarkGetTrackedEmailCounts;
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=get-tracked-email-counts.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-tracked-email-counts.cjs","names":["z","action"],"sources":["../../src/actions/get-tracked-email-counts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkGetTrackedEmailCountsInput: z.ZodTypeAny = z.object({\n todate: z.string().describe(\"End date of the tracking period in YYYY-MM-DD format\"),\n fromdate: z.string().describe(\"Start date of the tracking period in YYYY-MM-DD format\"),\n}).describe(\"Request model for GetTrackedEmailCounts action.\");\nconst PostmarkGetTrackedEmailCounts_TrackedDayStatsSchema: z.ZodTypeAny = z.object({\n Date: z.string().describe(\"The date in YYYY-MM-DD format\"),\n Tracked: z.number().int().describe(\"Number of emails sent with tracking enabled on this day\"),\n}).describe(\"Statistics for a single day in the tracked email counts response.\");\nexport const PostmarkGetTrackedEmailCountsOutput: z.ZodTypeAny = z.object({\n Days: z.array(PostmarkGetTrackedEmailCounts_TrackedDayStatsSchema).describe(\"Array of daily statistics for tracked emails during the period. Days that didn't produce statistics won't appear.\"),\n}).describe(\"Response model for GetTrackedEmailCounts action.\");\n\nexport const postmarkGetTrackedEmailCounts = action(\"POSTMARK_GET_TRACKED_EMAIL_COUNTS\", {\n slug: \"postmark-get-tracked-email-counts\",\n name: \"Get Tracked Email Counts\",\n description: \"Tool to retrieve counts of emails with tracking enabled. Use after specifying a date range to analyze open and click metrics.\",\n input: PostmarkGetTrackedEmailCountsInput,\n output: PostmarkGetTrackedEmailCountsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAmDA,IAAAA,EAAE,OAAO;CACvE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CAClF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;AACxF,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,sDAAoEA,IAAAA,EAAE,OAAO;CACjF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CACzD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD;AAC9F,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAa,sCAAoDA,IAAAA,EAAE,OAAO,EACxE,MAAMA,IAAAA,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,mHAAmH,EACjM,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAE9D,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-tracked-email-counts.d.ts
|
|
4
|
+
declare const PostmarkGetTrackedEmailCountsInput: z.ZodTypeAny;
|
|
5
|
+
declare const PostmarkGetTrackedEmailCountsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const postmarkGetTrackedEmailCounts: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { postmarkGetTrackedEmailCounts };
|
|
9
|
+
//# sourceMappingURL=get-tracked-email-counts.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-tracked-email-counts.d.cts","names":[],"sources":["../../src/actions/get-tracked-email-counts.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAGW;AAAA,cAKjD,mCAAA,EAAqC,CAAA,CAAE,UAEW;AAAA,cAElD,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-tracked-email-counts.d.ts
|
|
4
|
+
declare const PostmarkGetTrackedEmailCountsInput: z.ZodTypeAny;
|
|
5
|
+
declare const PostmarkGetTrackedEmailCountsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const postmarkGetTrackedEmailCounts: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { postmarkGetTrackedEmailCounts };
|
|
9
|
+
//# sourceMappingURL=get-tracked-email-counts.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-tracked-email-counts.d.mts","names":[],"sources":["../../src/actions/get-tracked-email-counts.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAGW;AAAA,cAKjD,mCAAA,EAAqC,CAAA,CAAE,UAEW;AAAA,cAElD,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-tracked-email-counts.ts
|
|
4
|
+
const PostmarkGetTrackedEmailCountsInput = z.object({
|
|
5
|
+
todate: z.string().describe("End date of the tracking period in YYYY-MM-DD format"),
|
|
6
|
+
fromdate: z.string().describe("Start date of the tracking period in YYYY-MM-DD format")
|
|
7
|
+
}).describe("Request model for GetTrackedEmailCounts action.");
|
|
8
|
+
const PostmarkGetTrackedEmailCounts_TrackedDayStatsSchema = z.object({
|
|
9
|
+
Date: z.string().describe("The date in YYYY-MM-DD format"),
|
|
10
|
+
Tracked: z.number().int().describe("Number of emails sent with tracking enabled on this day")
|
|
11
|
+
}).describe("Statistics for a single day in the tracked email counts response.");
|
|
12
|
+
const postmarkGetTrackedEmailCounts = action("POSTMARK_GET_TRACKED_EMAIL_COUNTS", {
|
|
13
|
+
slug: "postmark-get-tracked-email-counts",
|
|
14
|
+
name: "Get Tracked Email Counts",
|
|
15
|
+
description: "Tool to retrieve counts of emails with tracking enabled. Use after specifying a date range to analyze open and click metrics.",
|
|
16
|
+
input: PostmarkGetTrackedEmailCountsInput,
|
|
17
|
+
output: z.object({ Days: z.array(PostmarkGetTrackedEmailCounts_TrackedDayStatsSchema).describe("Array of daily statistics for tracked emails during the period. Days that didn't produce statistics won't appear.") }).describe("Response model for GetTrackedEmailCounts action.")
|
|
18
|
+
});
|
|
19
|
+
//#endregion
|
|
20
|
+
export { postmarkGetTrackedEmailCounts };
|
|
21
|
+
|
|
22
|
+
//# sourceMappingURL=get-tracked-email-counts.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-tracked-email-counts.mjs","names":[],"sources":["../../src/actions/get-tracked-email-counts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkGetTrackedEmailCountsInput: z.ZodTypeAny = z.object({\n todate: z.string().describe(\"End date of the tracking period in YYYY-MM-DD format\"),\n fromdate: z.string().describe(\"Start date of the tracking period in YYYY-MM-DD format\"),\n}).describe(\"Request model for GetTrackedEmailCounts action.\");\nconst PostmarkGetTrackedEmailCounts_TrackedDayStatsSchema: z.ZodTypeAny = z.object({\n Date: z.string().describe(\"The date in YYYY-MM-DD format\"),\n Tracked: z.number().int().describe(\"Number of emails sent with tracking enabled on this day\"),\n}).describe(\"Statistics for a single day in the tracked email counts response.\");\nexport const PostmarkGetTrackedEmailCountsOutput: z.ZodTypeAny = z.object({\n Days: z.array(PostmarkGetTrackedEmailCounts_TrackedDayStatsSchema).describe(\"Array of daily statistics for tracked emails during the period. Days that didn't produce statistics won't appear.\"),\n}).describe(\"Response model for GetTrackedEmailCounts action.\");\n\nexport const postmarkGetTrackedEmailCounts = action(\"POSTMARK_GET_TRACKED_EMAIL_COUNTS\", {\n slug: \"postmark-get-tracked-email-counts\",\n name: \"Get Tracked Email Counts\",\n description: \"Tool to retrieve counts of emails with tracking enabled. Use after specifying a date range to analyze open and click metrics.\",\n input: PostmarkGetTrackedEmailCountsInput,\n output: PostmarkGetTrackedEmailCountsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAmD,EAAE,OAAO;CACvE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CAClF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;AACxF,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,sDAAoE,EAAE,OAAO;CACjF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CACzD,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD;AAC9F,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAK/E,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT+D,EAAE,OAAO,EACxE,MAAM,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,mHAAmH,EACjM,CAAC,CAAC,CAAC,SAAS,kDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-webhook.ts
|
|
4
|
+
const PostmarkGetWebhookInput = zod.z.object({ webhook_id: zod.z.number().int().describe("The unique identifier of the webhook to retrieve") }).describe("Request model for retrieving details of a specific webhook.");
|
|
5
|
+
const PostmarkGetWebhook_OpenTriggerSchema = zod.z.object({
|
|
6
|
+
Enabled: zod.z.boolean().default(false).describe("Whether open tracking is enabled").nullable().optional(),
|
|
7
|
+
PostFirstOpenOnly: zod.z.boolean().describe("If true, only the first open is posted").nullable().optional()
|
|
8
|
+
}).describe("Open tracking trigger configuration.");
|
|
9
|
+
const PostmarkGetWebhook_ClickTriggerSchema = zod.z.object({ Enabled: zod.z.boolean().default(false).describe("Whether click tracking is enabled").nullable().optional() }).describe("Click tracking trigger configuration.");
|
|
10
|
+
const PostmarkGetWebhook_BounceTriggerSchema = zod.z.object({
|
|
11
|
+
Enabled: zod.z.boolean().default(false).describe("Whether bounce events are enabled").nullable().optional(),
|
|
12
|
+
IncludeContent: zod.z.boolean().describe("Whether to include email content in bounce events").nullable().optional()
|
|
13
|
+
}).describe("Bounce trigger configuration.");
|
|
14
|
+
const PostmarkGetWebhook_DeliveryTriggerSchema = zod.z.object({ Enabled: zod.z.boolean().default(false).describe("Whether delivery events are enabled").nullable().optional() }).describe("Delivery trigger configuration.");
|
|
15
|
+
const PostmarkGetWebhook_SpamComplaintTriggerSchema = zod.z.object({
|
|
16
|
+
Enabled: zod.z.boolean().default(false).describe("Whether spam complaint events are enabled").nullable().optional(),
|
|
17
|
+
IncludeContent: zod.z.boolean().describe("Whether to include email content in spam complaint events").nullable().optional()
|
|
18
|
+
}).describe("Spam complaint trigger configuration.");
|
|
19
|
+
const PostmarkGetWebhook_SubscriptionChangeTriggerSchema = zod.z.object({ Enabled: zod.z.boolean().default(false).describe("Whether subscription change events are enabled").nullable().optional() }).describe("Subscription change trigger configuration.");
|
|
20
|
+
const PostmarkGetWebhook_WebhookTriggersSchema = zod.z.object({
|
|
21
|
+
Open: PostmarkGetWebhook_OpenTriggerSchema.nullable().optional(),
|
|
22
|
+
Click: PostmarkGetWebhook_ClickTriggerSchema.nullable().optional(),
|
|
23
|
+
Bounce: PostmarkGetWebhook_BounceTriggerSchema.nullable().optional(),
|
|
24
|
+
Delivery: PostmarkGetWebhook_DeliveryTriggerSchema.nullable().optional(),
|
|
25
|
+
SpamComplaint: PostmarkGetWebhook_SpamComplaintTriggerSchema.nullable().optional(),
|
|
26
|
+
SubscriptionChange: PostmarkGetWebhook_SubscriptionChangeTriggerSchema.nullable().optional()
|
|
27
|
+
}).describe("Configuration of events that trigger this webhook.");
|
|
28
|
+
const PostmarkGetWebhookOutput = zod.z.object({
|
|
29
|
+
ID: zod.z.number().int().describe("The unique identifier of the webhook"),
|
|
30
|
+
Url: zod.z.string().describe("The URL where webhook events are sent"),
|
|
31
|
+
Triggers: PostmarkGetWebhook_WebhookTriggersSchema.nullable(),
|
|
32
|
+
MessageStream: zod.z.string().describe("The message stream this webhook is associated with (e.g., 'outbound')").nullable().optional()
|
|
33
|
+
}).describe("Response model for GET /webhooks/{Id} endpoint, representing webhook details.");
|
|
34
|
+
const postmarkGetWebhook = require_action.action("POSTMARK_GET_WEBHOOK", {
|
|
35
|
+
slug: "postmark-get-webhook",
|
|
36
|
+
name: "Get Webhook",
|
|
37
|
+
description: "Tool to retrieve details of a specific webhook by its ID. Use when you need to inspect webhook configuration including URL, triggers, and message stream settings.",
|
|
38
|
+
input: PostmarkGetWebhookInput,
|
|
39
|
+
output: PostmarkGetWebhookOutput
|
|
40
|
+
});
|
|
41
|
+
//#endregion
|
|
42
|
+
exports.postmarkGetWebhook = postmarkGetWebhook;
|
|
43
|
+
|
|
44
|
+
//# sourceMappingURL=get-webhook.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-webhook.cjs","names":["z","action"],"sources":["../../src/actions/get-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkGetWebhookInput: z.ZodTypeAny = z.object({\n webhook_id: z.number().int().describe(\"The unique identifier of the webhook to retrieve\"),\n}).describe(\"Request model for retrieving details of a specific webhook.\");\nconst PostmarkGetWebhook_OpenTriggerSchema: z.ZodTypeAny = z.object({\n Enabled: z.boolean().default(false).describe(\"Whether open tracking is enabled\").nullable().optional(),\n PostFirstOpenOnly: z.boolean().describe(\"If true, only the first open is posted\").nullable().optional(),\n}).describe(\"Open tracking trigger configuration.\");\nconst PostmarkGetWebhook_ClickTriggerSchema: z.ZodTypeAny = z.object({\n Enabled: z.boolean().default(false).describe(\"Whether click tracking is enabled\").nullable().optional(),\n}).describe(\"Click tracking trigger configuration.\");\nconst PostmarkGetWebhook_BounceTriggerSchema: z.ZodTypeAny = z.object({\n Enabled: z.boolean().default(false).describe(\"Whether bounce events are enabled\").nullable().optional(),\n IncludeContent: z.boolean().describe(\"Whether to include email content in bounce events\").nullable().optional(),\n}).describe(\"Bounce trigger configuration.\");\nconst PostmarkGetWebhook_DeliveryTriggerSchema: z.ZodTypeAny = z.object({\n Enabled: z.boolean().default(false).describe(\"Whether delivery events are enabled\").nullable().optional(),\n}).describe(\"Delivery trigger configuration.\");\nconst PostmarkGetWebhook_SpamComplaintTriggerSchema: z.ZodTypeAny = z.object({\n Enabled: z.boolean().default(false).describe(\"Whether spam complaint events are enabled\").nullable().optional(),\n IncludeContent: z.boolean().describe(\"Whether to include email content in spam complaint events\").nullable().optional(),\n}).describe(\"Spam complaint trigger configuration.\");\nconst PostmarkGetWebhook_SubscriptionChangeTriggerSchema: z.ZodTypeAny = z.object({\n Enabled: z.boolean().default(false).describe(\"Whether subscription change events are enabled\").nullable().optional(),\n}).describe(\"Subscription change trigger configuration.\");\nconst PostmarkGetWebhook_WebhookTriggersSchema: z.ZodTypeAny = z.object({\n Open: PostmarkGetWebhook_OpenTriggerSchema.nullable().optional(),\n Click: PostmarkGetWebhook_ClickTriggerSchema.nullable().optional(),\n Bounce: PostmarkGetWebhook_BounceTriggerSchema.nullable().optional(),\n Delivery: PostmarkGetWebhook_DeliveryTriggerSchema.nullable().optional(),\n SpamComplaint: PostmarkGetWebhook_SpamComplaintTriggerSchema.nullable().optional(),\n SubscriptionChange: PostmarkGetWebhook_SubscriptionChangeTriggerSchema.nullable().optional(),\n}).describe(\"Configuration of events that trigger this webhook.\");\nexport const PostmarkGetWebhookOutput: z.ZodTypeAny = z.object({\n ID: z.number().int().describe(\"The unique identifier of the webhook\"),\n Url: z.string().describe(\"The URL where webhook events are sent\"),\n Triggers: PostmarkGetWebhook_WebhookTriggersSchema.nullable(),\n MessageStream: z.string().describe(\"The message stream this webhook is associated with (e.g., 'outbound')\").nullable().optional(),\n}).describe(\"Response model for GET /webhooks/{Id} endpoint, representing webhook details.\");\n\nexport const postmarkGetWebhook = action(\"POSTMARK_GET_WEBHOOK\", {\n slug: \"postmark-get-webhook\",\n name: \"Get Webhook\",\n description: \"Tool to retrieve details of a specific webhook by its ID. Use when you need to inspect webhook configuration including URL, triggers, and message stream settings.\",\n input: PostmarkGetWebhookInput,\n output: PostmarkGetWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwCA,IAAAA,EAAE,OAAO,EAC5D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,EAC1F,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,uCAAqDA,IAAAA,EAAE,OAAO;CAClE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,mBAAmBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAM,wCAAsDA,IAAAA,EAAE,OAAO,EACnE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxG,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,yCAAuDA,IAAAA,EAAE,OAAO;CACpE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,SAAS,+BAA+B;AAC3C,MAAM,2CAAyDA,IAAAA,EAAE,OAAO,EACtE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC1G,CAAC,CAAC,CAAC,SAAS,iCAAiC;AAC7C,MAAM,gDAA8DA,IAAAA,EAAE,OAAO;CAC3E,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,qDAAmEA,IAAAA,EAAE,OAAO,EAChF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACrH,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,2CAAyDA,IAAAA,EAAE,OAAO;CACtE,MAAM,qCAAqC,SAAS,CAAC,CAAC,SAAS;CAC/D,OAAO,sCAAsC,SAAS,CAAC,CAAC,SAAS;CACjE,QAAQ,uCAAuC,SAAS,CAAC,CAAC,SAAS;CACnE,UAAU,yCAAyC,SAAS,CAAC,CAAC,SAAS;CACvE,eAAe,8CAA8C,SAAS,CAAC,CAAC,SAAS;CACjF,oBAAoB,mDAAmD,SAAS,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC;CACpE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAChE,UAAU,yCAAyC,SAAS;CAC5D,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClI,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAE3F,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-webhook.d.ts
|
|
4
|
+
declare const PostmarkGetWebhookInput: z.ZodTypeAny;
|
|
5
|
+
declare const PostmarkGetWebhookOutput: z.ZodTypeAny;
|
|
6
|
+
declare const postmarkGetWebhook: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { postmarkGetWebhook };
|
|
9
|
+
//# sourceMappingURL=get-webhook.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-webhook.d.cts","names":[],"sources":["../../src/actions/get-webhook.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAEkC;AAAA,cA8B7D,wBAAA,EAA0B,CAAA,CAAE,UAKmD;AAAA,cAE/E,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-webhook.d.ts
|
|
4
|
+
declare const PostmarkGetWebhookInput: z.ZodTypeAny;
|
|
5
|
+
declare const PostmarkGetWebhookOutput: z.ZodTypeAny;
|
|
6
|
+
declare const postmarkGetWebhook: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { postmarkGetWebhook };
|
|
9
|
+
//# sourceMappingURL=get-webhook.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-webhook.d.mts","names":[],"sources":["../../src/actions/get-webhook.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAEkC;AAAA,cA8B7D,wBAAA,EAA0B,CAAA,CAAE,UAKmD;AAAA,cAE/E,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-webhook.ts
|
|
4
|
+
const PostmarkGetWebhookInput = z.object({ webhook_id: z.number().int().describe("The unique identifier of the webhook to retrieve") }).describe("Request model for retrieving details of a specific webhook.");
|
|
5
|
+
const PostmarkGetWebhook_OpenTriggerSchema = z.object({
|
|
6
|
+
Enabled: z.boolean().default(false).describe("Whether open tracking is enabled").nullable().optional(),
|
|
7
|
+
PostFirstOpenOnly: z.boolean().describe("If true, only the first open is posted").nullable().optional()
|
|
8
|
+
}).describe("Open tracking trigger configuration.");
|
|
9
|
+
const PostmarkGetWebhook_ClickTriggerSchema = z.object({ Enabled: z.boolean().default(false).describe("Whether click tracking is enabled").nullable().optional() }).describe("Click tracking trigger configuration.");
|
|
10
|
+
const PostmarkGetWebhook_BounceTriggerSchema = z.object({
|
|
11
|
+
Enabled: z.boolean().default(false).describe("Whether bounce events are enabled").nullable().optional(),
|
|
12
|
+
IncludeContent: z.boolean().describe("Whether to include email content in bounce events").nullable().optional()
|
|
13
|
+
}).describe("Bounce trigger configuration.");
|
|
14
|
+
const PostmarkGetWebhook_DeliveryTriggerSchema = z.object({ Enabled: z.boolean().default(false).describe("Whether delivery events are enabled").nullable().optional() }).describe("Delivery trigger configuration.");
|
|
15
|
+
const PostmarkGetWebhook_SpamComplaintTriggerSchema = z.object({
|
|
16
|
+
Enabled: z.boolean().default(false).describe("Whether spam complaint events are enabled").nullable().optional(),
|
|
17
|
+
IncludeContent: z.boolean().describe("Whether to include email content in spam complaint events").nullable().optional()
|
|
18
|
+
}).describe("Spam complaint trigger configuration.");
|
|
19
|
+
const PostmarkGetWebhook_SubscriptionChangeTriggerSchema = z.object({ Enabled: z.boolean().default(false).describe("Whether subscription change events are enabled").nullable().optional() }).describe("Subscription change trigger configuration.");
|
|
20
|
+
const PostmarkGetWebhook_WebhookTriggersSchema = z.object({
|
|
21
|
+
Open: PostmarkGetWebhook_OpenTriggerSchema.nullable().optional(),
|
|
22
|
+
Click: PostmarkGetWebhook_ClickTriggerSchema.nullable().optional(),
|
|
23
|
+
Bounce: PostmarkGetWebhook_BounceTriggerSchema.nullable().optional(),
|
|
24
|
+
Delivery: PostmarkGetWebhook_DeliveryTriggerSchema.nullable().optional(),
|
|
25
|
+
SpamComplaint: PostmarkGetWebhook_SpamComplaintTriggerSchema.nullable().optional(),
|
|
26
|
+
SubscriptionChange: PostmarkGetWebhook_SubscriptionChangeTriggerSchema.nullable().optional()
|
|
27
|
+
}).describe("Configuration of events that trigger this webhook.");
|
|
28
|
+
const postmarkGetWebhook = action("POSTMARK_GET_WEBHOOK", {
|
|
29
|
+
slug: "postmark-get-webhook",
|
|
30
|
+
name: "Get Webhook",
|
|
31
|
+
description: "Tool to retrieve details of a specific webhook by its ID. Use when you need to inspect webhook configuration including URL, triggers, and message stream settings.",
|
|
32
|
+
input: PostmarkGetWebhookInput,
|
|
33
|
+
output: z.object({
|
|
34
|
+
ID: z.number().int().describe("The unique identifier of the webhook"),
|
|
35
|
+
Url: z.string().describe("The URL where webhook events are sent"),
|
|
36
|
+
Triggers: PostmarkGetWebhook_WebhookTriggersSchema.nullable(),
|
|
37
|
+
MessageStream: z.string().describe("The message stream this webhook is associated with (e.g., 'outbound')").nullable().optional()
|
|
38
|
+
}).describe("Response model for GET /webhooks/{Id} endpoint, representing webhook details.")
|
|
39
|
+
});
|
|
40
|
+
//#endregion
|
|
41
|
+
export { postmarkGetWebhook };
|
|
42
|
+
|
|
43
|
+
//# sourceMappingURL=get-webhook.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-webhook.mjs","names":[],"sources":["../../src/actions/get-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkGetWebhookInput: z.ZodTypeAny = z.object({\n webhook_id: z.number().int().describe(\"The unique identifier of the webhook to retrieve\"),\n}).describe(\"Request model for retrieving details of a specific webhook.\");\nconst PostmarkGetWebhook_OpenTriggerSchema: z.ZodTypeAny = z.object({\n Enabled: z.boolean().default(false).describe(\"Whether open tracking is enabled\").nullable().optional(),\n PostFirstOpenOnly: z.boolean().describe(\"If true, only the first open is posted\").nullable().optional(),\n}).describe(\"Open tracking trigger configuration.\");\nconst PostmarkGetWebhook_ClickTriggerSchema: z.ZodTypeAny = z.object({\n Enabled: z.boolean().default(false).describe(\"Whether click tracking is enabled\").nullable().optional(),\n}).describe(\"Click tracking trigger configuration.\");\nconst PostmarkGetWebhook_BounceTriggerSchema: z.ZodTypeAny = z.object({\n Enabled: z.boolean().default(false).describe(\"Whether bounce events are enabled\").nullable().optional(),\n IncludeContent: z.boolean().describe(\"Whether to include email content in bounce events\").nullable().optional(),\n}).describe(\"Bounce trigger configuration.\");\nconst PostmarkGetWebhook_DeliveryTriggerSchema: z.ZodTypeAny = z.object({\n Enabled: z.boolean().default(false).describe(\"Whether delivery events are enabled\").nullable().optional(),\n}).describe(\"Delivery trigger configuration.\");\nconst PostmarkGetWebhook_SpamComplaintTriggerSchema: z.ZodTypeAny = z.object({\n Enabled: z.boolean().default(false).describe(\"Whether spam complaint events are enabled\").nullable().optional(),\n IncludeContent: z.boolean().describe(\"Whether to include email content in spam complaint events\").nullable().optional(),\n}).describe(\"Spam complaint trigger configuration.\");\nconst PostmarkGetWebhook_SubscriptionChangeTriggerSchema: z.ZodTypeAny = z.object({\n Enabled: z.boolean().default(false).describe(\"Whether subscription change events are enabled\").nullable().optional(),\n}).describe(\"Subscription change trigger configuration.\");\nconst PostmarkGetWebhook_WebhookTriggersSchema: z.ZodTypeAny = z.object({\n Open: PostmarkGetWebhook_OpenTriggerSchema.nullable().optional(),\n Click: PostmarkGetWebhook_ClickTriggerSchema.nullable().optional(),\n Bounce: PostmarkGetWebhook_BounceTriggerSchema.nullable().optional(),\n Delivery: PostmarkGetWebhook_DeliveryTriggerSchema.nullable().optional(),\n SpamComplaint: PostmarkGetWebhook_SpamComplaintTriggerSchema.nullable().optional(),\n SubscriptionChange: PostmarkGetWebhook_SubscriptionChangeTriggerSchema.nullable().optional(),\n}).describe(\"Configuration of events that trigger this webhook.\");\nexport const PostmarkGetWebhookOutput: z.ZodTypeAny = z.object({\n ID: z.number().int().describe(\"The unique identifier of the webhook\"),\n Url: z.string().describe(\"The URL where webhook events are sent\"),\n Triggers: PostmarkGetWebhook_WebhookTriggersSchema.nullable(),\n MessageStream: z.string().describe(\"The message stream this webhook is associated with (e.g., 'outbound')\").nullable().optional(),\n}).describe(\"Response model for GET /webhooks/{Id} endpoint, representing webhook details.\");\n\nexport const postmarkGetWebhook = action(\"POSTMARK_GET_WEBHOOK\", {\n slug: \"postmark-get-webhook\",\n name: \"Get Webhook\",\n description: \"Tool to retrieve details of a specific webhook by its ID. Use when you need to inspect webhook configuration including URL, triggers, and message stream settings.\",\n input: PostmarkGetWebhookInput,\n output: PostmarkGetWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwC,EAAE,OAAO,EAC5D,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,EAC1F,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,uCAAqD,EAAE,OAAO;CAClE,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,mBAAmB,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAM,wCAAsD,EAAE,OAAO,EACnE,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxG,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,yCAAuD,EAAE,OAAO;CACpE,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,SAAS,+BAA+B;AAC3C,MAAM,2CAAyD,EAAE,OAAO,EACtE,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC1G,CAAC,CAAC,CAAC,SAAS,iCAAiC;AAC7C,MAAM,gDAA8D,EAAE,OAAO;CAC3E,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,qDAAmE,EAAE,OAAO,EAChF,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACrH,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,2CAAyD,EAAE,OAAO;CACtE,MAAM,qCAAqC,SAAS,CAAC,CAAC,SAAS;CAC/D,OAAO,sCAAsC,SAAS,CAAC,CAAC,SAAS;CACjE,QAAQ,uCAAuC,SAAS,CAAC,CAAC,SAAS;CACnE,UAAU,yCAAyC,SAAS,CAAC,CAAC,SAAS;CACvE,eAAe,8CAA8C,SAAS,CAAC,CAAC,SAAS;CACjF,oBAAoB,mDAAmD,SAAS,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAQhE,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZoD,EAAE,OAAO;EAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC;EACpE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;EAChE,UAAU,yCAAyC,SAAS;EAC5D,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,CAAC,CAAC,CAAC,SAAS,+EAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_archive_message_stream = require("./archive-message-stream.cjs");
|
|
3
|
+
const require_check_spam_score = require("./check-spam-score.cjs");
|
|
4
|
+
const require_create_inbound_rule = require("./create-inbound-rule.cjs");
|
|
5
|
+
const require_create_message_stream = require("./create-message-stream.cjs");
|
|
6
|
+
const require_create_suppressions = require("./create-suppressions.cjs");
|
|
7
|
+
const require_create_template = require("./create-template.cjs");
|
|
8
|
+
const require_create_webhook = require("./create-webhook.cjs");
|
|
9
|
+
const require_delete_inbound_rule = require("./delete-inbound-rule.cjs");
|
|
10
|
+
const require_delete_suppressions = require("./delete-suppressions.cjs");
|
|
11
|
+
const require_delete_template = require("./delete-template.cjs");
|
|
12
|
+
const require_delete_webhook = require("./delete-webhook.cjs");
|
|
13
|
+
const require_edit_server = require("./edit-server.cjs");
|
|
14
|
+
const require_edit_template = require("./edit-template.cjs");
|
|
15
|
+
const require_edit_webhook = require("./edit-webhook.cjs");
|
|
16
|
+
const require_get_bounce_counts = require("./get-bounce-counts.cjs");
|
|
17
|
+
const require_get_bounces = require("./get-bounces.cjs");
|
|
18
|
+
const require_get_browser_platform_usage = require("./get-browser-platform-usage.cjs");
|
|
19
|
+
const require_get_browser_usage = require("./get-browser-usage.cjs");
|
|
20
|
+
const require_get_click_counts = require("./get-click-counts.cjs");
|
|
21
|
+
const require_get_clicks_by_browser_family = require("./get-clicks-by-browser-family.cjs");
|
|
22
|
+
const require_get_clicks_by_location = require("./get-clicks-by-location.cjs");
|
|
23
|
+
const require_get_delivery_stats = require("./get-delivery-stats.cjs");
|
|
24
|
+
const require_get_email_client_usage = require("./get-email-client-usage.cjs");
|
|
25
|
+
const require_get_email_open_counts = require("./get-email-open-counts.cjs");
|
|
26
|
+
const require_get_message_stream = require("./get-message-stream.cjs");
|
|
27
|
+
const require_get_opens_by_platform = require("./get-opens-by-platform.cjs");
|
|
28
|
+
const require_get_outbound_overview = require("./get-outbound-overview.cjs");
|
|
29
|
+
const require_get_sent_counts = require("./get-sent-counts.cjs");
|
|
30
|
+
const require_get_server = require("./get-server.cjs");
|
|
31
|
+
const require_get_spam_complaints = require("./get-spam-complaints.cjs");
|
|
32
|
+
const require_get_template = require("./get-template.cjs");
|
|
33
|
+
const require_get_tracked_email_counts = require("./get-tracked-email-counts.cjs");
|
|
34
|
+
const require_get_webhook = require("./get-webhook.cjs");
|
|
35
|
+
const require_list_inbound_rules = require("./list-inbound-rules.cjs");
|
|
36
|
+
const require_list_message_streams = require("./list-message-streams.cjs");
|
|
37
|
+
const require_list_outbound_message_clicks = require("./list-outbound-message-clicks.cjs");
|
|
38
|
+
const require_list_outbound_message_opens = require("./list-outbound-message-opens.cjs");
|
|
39
|
+
const require_list_suppressions = require("./list-suppressions.cjs");
|
|
40
|
+
const require_list_templates = require("./list-templates.cjs");
|
|
41
|
+
const require_list_webhooks = require("./list-webhooks.cjs");
|
|
42
|
+
const require_search_inbound_messages = require("./search-inbound-messages.cjs");
|
|
43
|
+
const require_search_outbound_messages = require("./search-outbound-messages.cjs");
|
|
44
|
+
const require_send_batch_with_templates = require("./send-batch-with-templates.cjs");
|
|
45
|
+
const require_unarchive_message_stream = require("./unarchive-message-stream.cjs");
|
|
46
|
+
const require_update_message_stream = require("./update-message-stream.cjs");
|
|
47
|
+
const require_validate_template = require("./validate-template.cjs");
|
|
48
|
+
exports.postmarkArchiveMessageStream = require_archive_message_stream.postmarkArchiveMessageStream;
|
|
49
|
+
exports.postmarkCheckSpamScore = require_check_spam_score.postmarkCheckSpamScore;
|
|
50
|
+
exports.postmarkCreateInboundRule = require_create_inbound_rule.postmarkCreateInboundRule;
|
|
51
|
+
exports.postmarkCreateMessageStream = require_create_message_stream.postmarkCreateMessageStream;
|
|
52
|
+
exports.postmarkCreateSuppressions = require_create_suppressions.postmarkCreateSuppressions;
|
|
53
|
+
exports.postmarkCreateTemplate = require_create_template.postmarkCreateTemplate;
|
|
54
|
+
exports.postmarkCreateWebhook = require_create_webhook.postmarkCreateWebhook;
|
|
55
|
+
exports.postmarkDeleteInboundRule = require_delete_inbound_rule.postmarkDeleteInboundRule;
|
|
56
|
+
exports.postmarkDeleteSuppressions = require_delete_suppressions.postmarkDeleteSuppressions;
|
|
57
|
+
exports.postmarkDeleteTemplate = require_delete_template.postmarkDeleteTemplate;
|
|
58
|
+
exports.postmarkDeleteWebhook = require_delete_webhook.postmarkDeleteWebhook;
|
|
59
|
+
exports.postmarkEditServer = require_edit_server.postmarkEditServer;
|
|
60
|
+
exports.postmarkEditTemplate = require_edit_template.postmarkEditTemplate;
|
|
61
|
+
exports.postmarkEditWebhook = require_edit_webhook.postmarkEditWebhook;
|
|
62
|
+
exports.postmarkGetBounceCounts = require_get_bounce_counts.postmarkGetBounceCounts;
|
|
63
|
+
exports.postmarkGetBounces = require_get_bounces.postmarkGetBounces;
|
|
64
|
+
exports.postmarkGetBrowserPlatformUsage = require_get_browser_platform_usage.postmarkGetBrowserPlatformUsage;
|
|
65
|
+
exports.postmarkGetBrowserUsage = require_get_browser_usage.postmarkGetBrowserUsage;
|
|
66
|
+
exports.postmarkGetClickCounts = require_get_click_counts.postmarkGetClickCounts;
|
|
67
|
+
exports.postmarkGetClicksByBrowserFamily = require_get_clicks_by_browser_family.postmarkGetClicksByBrowserFamily;
|
|
68
|
+
exports.postmarkGetClicksByLocation = require_get_clicks_by_location.postmarkGetClicksByLocation;
|
|
69
|
+
exports.postmarkGetDeliveryStats = require_get_delivery_stats.postmarkGetDeliveryStats;
|
|
70
|
+
exports.postmarkGetEmailClientUsage = require_get_email_client_usage.postmarkGetEmailClientUsage;
|
|
71
|
+
exports.postmarkGetEmailOpenCounts = require_get_email_open_counts.postmarkGetEmailOpenCounts;
|
|
72
|
+
exports.postmarkGetMessageStream = require_get_message_stream.postmarkGetMessageStream;
|
|
73
|
+
exports.postmarkGetOpensByPlatform = require_get_opens_by_platform.postmarkGetOpensByPlatform;
|
|
74
|
+
exports.postmarkGetOutboundOverview = require_get_outbound_overview.postmarkGetOutboundOverview;
|
|
75
|
+
exports.postmarkGetSentCounts = require_get_sent_counts.postmarkGetSentCounts;
|
|
76
|
+
exports.postmarkGetServer = require_get_server.postmarkGetServer;
|
|
77
|
+
exports.postmarkGetSpamComplaints = require_get_spam_complaints.postmarkGetSpamComplaints;
|
|
78
|
+
exports.postmarkGetTemplate = require_get_template.postmarkGetTemplate;
|
|
79
|
+
exports.postmarkGetTrackedEmailCounts = require_get_tracked_email_counts.postmarkGetTrackedEmailCounts;
|
|
80
|
+
exports.postmarkGetWebhook = require_get_webhook.postmarkGetWebhook;
|
|
81
|
+
exports.postmarkListInboundRules = require_list_inbound_rules.postmarkListInboundRules;
|
|
82
|
+
exports.postmarkListMessageStreams = require_list_message_streams.postmarkListMessageStreams;
|
|
83
|
+
exports.postmarkListOutboundMessageClicks = require_list_outbound_message_clicks.postmarkListOutboundMessageClicks;
|
|
84
|
+
exports.postmarkListOutboundMessageOpens = require_list_outbound_message_opens.postmarkListOutboundMessageOpens;
|
|
85
|
+
exports.postmarkListSuppressions = require_list_suppressions.postmarkListSuppressions;
|
|
86
|
+
exports.postmarkListTemplates = require_list_templates.postmarkListTemplates;
|
|
87
|
+
exports.postmarkListWebhooks = require_list_webhooks.postmarkListWebhooks;
|
|
88
|
+
exports.postmarkSearchInboundMessages = require_search_inbound_messages.postmarkSearchInboundMessages;
|
|
89
|
+
exports.postmarkSearchOutboundMessages = require_search_outbound_messages.postmarkSearchOutboundMessages;
|
|
90
|
+
exports.postmarkSendBatchWithTemplates = require_send_batch_with_templates.postmarkSendBatchWithTemplates;
|
|
91
|
+
exports.postmarkUnarchiveMessageStream = require_unarchive_message_stream.postmarkUnarchiveMessageStream;
|
|
92
|
+
exports.postmarkUpdateMessageStream = require_update_message_stream.postmarkUpdateMessageStream;
|
|
93
|
+
exports.postmarkValidateTemplate = require_validate_template.postmarkValidateTemplate;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { postmarkArchiveMessageStream } from "./archive-message-stream.cjs";
|
|
2
|
+
import { postmarkCheckSpamScore } from "./check-spam-score.cjs";
|
|
3
|
+
import { postmarkCreateInboundRule } from "./create-inbound-rule.cjs";
|
|
4
|
+
import { postmarkCreateMessageStream } from "./create-message-stream.cjs";
|
|
5
|
+
import { postmarkCreateSuppressions } from "./create-suppressions.cjs";
|
|
6
|
+
import { postmarkCreateTemplate } from "./create-template.cjs";
|
|
7
|
+
import { postmarkCreateWebhook } from "./create-webhook.cjs";
|
|
8
|
+
import { postmarkDeleteInboundRule } from "./delete-inbound-rule.cjs";
|
|
9
|
+
import { postmarkDeleteSuppressions } from "./delete-suppressions.cjs";
|
|
10
|
+
import { postmarkDeleteTemplate } from "./delete-template.cjs";
|
|
11
|
+
import { postmarkDeleteWebhook } from "./delete-webhook.cjs";
|
|
12
|
+
import { postmarkEditServer } from "./edit-server.cjs";
|
|
13
|
+
import { postmarkEditTemplate } from "./edit-template.cjs";
|
|
14
|
+
import { postmarkEditWebhook } from "./edit-webhook.cjs";
|
|
15
|
+
import { postmarkGetBounceCounts } from "./get-bounce-counts.cjs";
|
|
16
|
+
import { postmarkGetBounces } from "./get-bounces.cjs";
|
|
17
|
+
import { postmarkGetBrowserPlatformUsage } from "./get-browser-platform-usage.cjs";
|
|
18
|
+
import { postmarkGetBrowserUsage } from "./get-browser-usage.cjs";
|
|
19
|
+
import { postmarkGetClickCounts } from "./get-click-counts.cjs";
|
|
20
|
+
import { postmarkGetClicksByBrowserFamily } from "./get-clicks-by-browser-family.cjs";
|
|
21
|
+
import { postmarkGetClicksByLocation } from "./get-clicks-by-location.cjs";
|
|
22
|
+
import { postmarkGetDeliveryStats } from "./get-delivery-stats.cjs";
|
|
23
|
+
import { postmarkGetEmailClientUsage } from "./get-email-client-usage.cjs";
|
|
24
|
+
import { postmarkGetEmailOpenCounts } from "./get-email-open-counts.cjs";
|
|
25
|
+
import { postmarkGetMessageStream } from "./get-message-stream.cjs";
|
|
26
|
+
import { postmarkGetOpensByPlatform } from "./get-opens-by-platform.cjs";
|
|
27
|
+
import { postmarkGetOutboundOverview } from "./get-outbound-overview.cjs";
|
|
28
|
+
import { postmarkGetSentCounts } from "./get-sent-counts.cjs";
|
|
29
|
+
import { postmarkGetServer } from "./get-server.cjs";
|
|
30
|
+
import { postmarkGetSpamComplaints } from "./get-spam-complaints.cjs";
|
|
31
|
+
import { postmarkGetTemplate } from "./get-template.cjs";
|
|
32
|
+
import { postmarkGetTrackedEmailCounts } from "./get-tracked-email-counts.cjs";
|
|
33
|
+
import { postmarkGetWebhook } from "./get-webhook.cjs";
|
|
34
|
+
import { postmarkListInboundRules } from "./list-inbound-rules.cjs";
|
|
35
|
+
import { postmarkListMessageStreams } from "./list-message-streams.cjs";
|
|
36
|
+
import { postmarkListOutboundMessageClicks } from "./list-outbound-message-clicks.cjs";
|
|
37
|
+
import { postmarkListOutboundMessageOpens } from "./list-outbound-message-opens.cjs";
|
|
38
|
+
import { postmarkListSuppressions } from "./list-suppressions.cjs";
|
|
39
|
+
import { postmarkListTemplates } from "./list-templates.cjs";
|
|
40
|
+
import { postmarkListWebhooks } from "./list-webhooks.cjs";
|
|
41
|
+
import { postmarkSearchInboundMessages } from "./search-inbound-messages.cjs";
|
|
42
|
+
import { postmarkSearchOutboundMessages } from "./search-outbound-messages.cjs";
|
|
43
|
+
import { postmarkSendBatchWithTemplates } from "./send-batch-with-templates.cjs";
|
|
44
|
+
import { postmarkUnarchiveMessageStream } from "./unarchive-message-stream.cjs";
|
|
45
|
+
import { postmarkUpdateMessageStream } from "./update-message-stream.cjs";
|
|
46
|
+
import { postmarkValidateTemplate } from "./validate-template.cjs";
|
|
47
|
+
export { postmarkArchiveMessageStream, postmarkCheckSpamScore, postmarkCreateInboundRule, postmarkCreateMessageStream, postmarkCreateSuppressions, postmarkCreateTemplate, postmarkCreateWebhook, postmarkDeleteInboundRule, postmarkDeleteSuppressions, postmarkDeleteTemplate, postmarkDeleteWebhook, postmarkEditServer, postmarkEditTemplate, postmarkEditWebhook, postmarkGetBounceCounts, postmarkGetBounces, postmarkGetBrowserPlatformUsage, postmarkGetBrowserUsage, postmarkGetClickCounts, postmarkGetClicksByBrowserFamily, postmarkGetClicksByLocation, postmarkGetDeliveryStats, postmarkGetEmailClientUsage, postmarkGetEmailOpenCounts, postmarkGetMessageStream, postmarkGetOpensByPlatform, postmarkGetOutboundOverview, postmarkGetSentCounts, postmarkGetServer, postmarkGetSpamComplaints, postmarkGetTemplate, postmarkGetTrackedEmailCounts, postmarkGetWebhook, postmarkListInboundRules, postmarkListMessageStreams, postmarkListOutboundMessageClicks, postmarkListOutboundMessageOpens, postmarkListSuppressions, postmarkListTemplates, postmarkListWebhooks, postmarkSearchInboundMessages, postmarkSearchOutboundMessages, postmarkSendBatchWithTemplates, postmarkUnarchiveMessageStream, postmarkUpdateMessageStream, postmarkValidateTemplate };
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { postmarkArchiveMessageStream } from "./archive-message-stream.mjs";
|
|
2
|
+
import { postmarkCheckSpamScore } from "./check-spam-score.mjs";
|
|
3
|
+
import { postmarkCreateInboundRule } from "./create-inbound-rule.mjs";
|
|
4
|
+
import { postmarkCreateMessageStream } from "./create-message-stream.mjs";
|
|
5
|
+
import { postmarkCreateSuppressions } from "./create-suppressions.mjs";
|
|
6
|
+
import { postmarkCreateTemplate } from "./create-template.mjs";
|
|
7
|
+
import { postmarkCreateWebhook } from "./create-webhook.mjs";
|
|
8
|
+
import { postmarkDeleteInboundRule } from "./delete-inbound-rule.mjs";
|
|
9
|
+
import { postmarkDeleteSuppressions } from "./delete-suppressions.mjs";
|
|
10
|
+
import { postmarkDeleteTemplate } from "./delete-template.mjs";
|
|
11
|
+
import { postmarkDeleteWebhook } from "./delete-webhook.mjs";
|
|
12
|
+
import { postmarkEditServer } from "./edit-server.mjs";
|
|
13
|
+
import { postmarkEditTemplate } from "./edit-template.mjs";
|
|
14
|
+
import { postmarkEditWebhook } from "./edit-webhook.mjs";
|
|
15
|
+
import { postmarkGetBounceCounts } from "./get-bounce-counts.mjs";
|
|
16
|
+
import { postmarkGetBounces } from "./get-bounces.mjs";
|
|
17
|
+
import { postmarkGetBrowserPlatformUsage } from "./get-browser-platform-usage.mjs";
|
|
18
|
+
import { postmarkGetBrowserUsage } from "./get-browser-usage.mjs";
|
|
19
|
+
import { postmarkGetClickCounts } from "./get-click-counts.mjs";
|
|
20
|
+
import { postmarkGetClicksByBrowserFamily } from "./get-clicks-by-browser-family.mjs";
|
|
21
|
+
import { postmarkGetClicksByLocation } from "./get-clicks-by-location.mjs";
|
|
22
|
+
import { postmarkGetDeliveryStats } from "./get-delivery-stats.mjs";
|
|
23
|
+
import { postmarkGetEmailClientUsage } from "./get-email-client-usage.mjs";
|
|
24
|
+
import { postmarkGetEmailOpenCounts } from "./get-email-open-counts.mjs";
|
|
25
|
+
import { postmarkGetMessageStream } from "./get-message-stream.mjs";
|
|
26
|
+
import { postmarkGetOpensByPlatform } from "./get-opens-by-platform.mjs";
|
|
27
|
+
import { postmarkGetOutboundOverview } from "./get-outbound-overview.mjs";
|
|
28
|
+
import { postmarkGetSentCounts } from "./get-sent-counts.mjs";
|
|
29
|
+
import { postmarkGetServer } from "./get-server.mjs";
|
|
30
|
+
import { postmarkGetSpamComplaints } from "./get-spam-complaints.mjs";
|
|
31
|
+
import { postmarkGetTemplate } from "./get-template.mjs";
|
|
32
|
+
import { postmarkGetTrackedEmailCounts } from "./get-tracked-email-counts.mjs";
|
|
33
|
+
import { postmarkGetWebhook } from "./get-webhook.mjs";
|
|
34
|
+
import { postmarkListInboundRules } from "./list-inbound-rules.mjs";
|
|
35
|
+
import { postmarkListMessageStreams } from "./list-message-streams.mjs";
|
|
36
|
+
import { postmarkListOutboundMessageClicks } from "./list-outbound-message-clicks.mjs";
|
|
37
|
+
import { postmarkListOutboundMessageOpens } from "./list-outbound-message-opens.mjs";
|
|
38
|
+
import { postmarkListSuppressions } from "./list-suppressions.mjs";
|
|
39
|
+
import { postmarkListTemplates } from "./list-templates.mjs";
|
|
40
|
+
import { postmarkListWebhooks } from "./list-webhooks.mjs";
|
|
41
|
+
import { postmarkSearchInboundMessages } from "./search-inbound-messages.mjs";
|
|
42
|
+
import { postmarkSearchOutboundMessages } from "./search-outbound-messages.mjs";
|
|
43
|
+
import { postmarkSendBatchWithTemplates } from "./send-batch-with-templates.mjs";
|
|
44
|
+
import { postmarkUnarchiveMessageStream } from "./unarchive-message-stream.mjs";
|
|
45
|
+
import { postmarkUpdateMessageStream } from "./update-message-stream.mjs";
|
|
46
|
+
import { postmarkValidateTemplate } from "./validate-template.mjs";
|
|
47
|
+
export { postmarkArchiveMessageStream, postmarkCheckSpamScore, postmarkCreateInboundRule, postmarkCreateMessageStream, postmarkCreateSuppressions, postmarkCreateTemplate, postmarkCreateWebhook, postmarkDeleteInboundRule, postmarkDeleteSuppressions, postmarkDeleteTemplate, postmarkDeleteWebhook, postmarkEditServer, postmarkEditTemplate, postmarkEditWebhook, postmarkGetBounceCounts, postmarkGetBounces, postmarkGetBrowserPlatformUsage, postmarkGetBrowserUsage, postmarkGetClickCounts, postmarkGetClicksByBrowserFamily, postmarkGetClicksByLocation, postmarkGetDeliveryStats, postmarkGetEmailClientUsage, postmarkGetEmailOpenCounts, postmarkGetMessageStream, postmarkGetOpensByPlatform, postmarkGetOutboundOverview, postmarkGetSentCounts, postmarkGetServer, postmarkGetSpamComplaints, postmarkGetTemplate, postmarkGetTrackedEmailCounts, postmarkGetWebhook, postmarkListInboundRules, postmarkListMessageStreams, postmarkListOutboundMessageClicks, postmarkListOutboundMessageOpens, postmarkListSuppressions, postmarkListTemplates, postmarkListWebhooks, postmarkSearchInboundMessages, postmarkSearchOutboundMessages, postmarkSendBatchWithTemplates, postmarkUnarchiveMessageStream, postmarkUpdateMessageStream, postmarkValidateTemplate };
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { postmarkArchiveMessageStream } from "./archive-message-stream.mjs";
|
|
2
|
+
import { postmarkCheckSpamScore } from "./check-spam-score.mjs";
|
|
3
|
+
import { postmarkCreateInboundRule } from "./create-inbound-rule.mjs";
|
|
4
|
+
import { postmarkCreateMessageStream } from "./create-message-stream.mjs";
|
|
5
|
+
import { postmarkCreateSuppressions } from "./create-suppressions.mjs";
|
|
6
|
+
import { postmarkCreateTemplate } from "./create-template.mjs";
|
|
7
|
+
import { postmarkCreateWebhook } from "./create-webhook.mjs";
|
|
8
|
+
import { postmarkDeleteInboundRule } from "./delete-inbound-rule.mjs";
|
|
9
|
+
import { postmarkDeleteSuppressions } from "./delete-suppressions.mjs";
|
|
10
|
+
import { postmarkDeleteTemplate } from "./delete-template.mjs";
|
|
11
|
+
import { postmarkDeleteWebhook } from "./delete-webhook.mjs";
|
|
12
|
+
import { postmarkEditServer } from "./edit-server.mjs";
|
|
13
|
+
import { postmarkEditTemplate } from "./edit-template.mjs";
|
|
14
|
+
import { postmarkEditWebhook } from "./edit-webhook.mjs";
|
|
15
|
+
import { postmarkGetBounceCounts } from "./get-bounce-counts.mjs";
|
|
16
|
+
import { postmarkGetBounces } from "./get-bounces.mjs";
|
|
17
|
+
import { postmarkGetBrowserPlatformUsage } from "./get-browser-platform-usage.mjs";
|
|
18
|
+
import { postmarkGetBrowserUsage } from "./get-browser-usage.mjs";
|
|
19
|
+
import { postmarkGetClickCounts } from "./get-click-counts.mjs";
|
|
20
|
+
import { postmarkGetClicksByBrowserFamily } from "./get-clicks-by-browser-family.mjs";
|
|
21
|
+
import { postmarkGetClicksByLocation } from "./get-clicks-by-location.mjs";
|
|
22
|
+
import { postmarkGetDeliveryStats } from "./get-delivery-stats.mjs";
|
|
23
|
+
import { postmarkGetEmailClientUsage } from "./get-email-client-usage.mjs";
|
|
24
|
+
import { postmarkGetEmailOpenCounts } from "./get-email-open-counts.mjs";
|
|
25
|
+
import { postmarkGetMessageStream } from "./get-message-stream.mjs";
|
|
26
|
+
import { postmarkGetOpensByPlatform } from "./get-opens-by-platform.mjs";
|
|
27
|
+
import { postmarkGetOutboundOverview } from "./get-outbound-overview.mjs";
|
|
28
|
+
import { postmarkGetSentCounts } from "./get-sent-counts.mjs";
|
|
29
|
+
import { postmarkGetServer } from "./get-server.mjs";
|
|
30
|
+
import { postmarkGetSpamComplaints } from "./get-spam-complaints.mjs";
|
|
31
|
+
import { postmarkGetTemplate } from "./get-template.mjs";
|
|
32
|
+
import { postmarkGetTrackedEmailCounts } from "./get-tracked-email-counts.mjs";
|
|
33
|
+
import { postmarkGetWebhook } from "./get-webhook.mjs";
|
|
34
|
+
import { postmarkListInboundRules } from "./list-inbound-rules.mjs";
|
|
35
|
+
import { postmarkListMessageStreams } from "./list-message-streams.mjs";
|
|
36
|
+
import { postmarkListOutboundMessageClicks } from "./list-outbound-message-clicks.mjs";
|
|
37
|
+
import { postmarkListOutboundMessageOpens } from "./list-outbound-message-opens.mjs";
|
|
38
|
+
import { postmarkListSuppressions } from "./list-suppressions.mjs";
|
|
39
|
+
import { postmarkListTemplates } from "./list-templates.mjs";
|
|
40
|
+
import { postmarkListWebhooks } from "./list-webhooks.mjs";
|
|
41
|
+
import { postmarkSearchInboundMessages } from "./search-inbound-messages.mjs";
|
|
42
|
+
import { postmarkSearchOutboundMessages } from "./search-outbound-messages.mjs";
|
|
43
|
+
import { postmarkSendBatchWithTemplates } from "./send-batch-with-templates.mjs";
|
|
44
|
+
import { postmarkUnarchiveMessageStream } from "./unarchive-message-stream.mjs";
|
|
45
|
+
import { postmarkUpdateMessageStream } from "./update-message-stream.mjs";
|
|
46
|
+
import { postmarkValidateTemplate } from "./validate-template.mjs";
|
|
47
|
+
export { postmarkArchiveMessageStream, postmarkCheckSpamScore, postmarkCreateInboundRule, postmarkCreateMessageStream, postmarkCreateSuppressions, postmarkCreateTemplate, postmarkCreateWebhook, postmarkDeleteInboundRule, postmarkDeleteSuppressions, postmarkDeleteTemplate, postmarkDeleteWebhook, postmarkEditServer, postmarkEditTemplate, postmarkEditWebhook, postmarkGetBounceCounts, postmarkGetBounces, postmarkGetBrowserPlatformUsage, postmarkGetBrowserUsage, postmarkGetClickCounts, postmarkGetClicksByBrowserFamily, postmarkGetClicksByLocation, postmarkGetDeliveryStats, postmarkGetEmailClientUsage, postmarkGetEmailOpenCounts, postmarkGetMessageStream, postmarkGetOpensByPlatform, postmarkGetOutboundOverview, postmarkGetSentCounts, postmarkGetServer, postmarkGetSpamComplaints, postmarkGetTemplate, postmarkGetTrackedEmailCounts, postmarkGetWebhook, postmarkListInboundRules, postmarkListMessageStreams, postmarkListOutboundMessageClicks, postmarkListOutboundMessageOpens, postmarkListSuppressions, postmarkListTemplates, postmarkListWebhooks, postmarkSearchInboundMessages, postmarkSearchOutboundMessages, postmarkSendBatchWithTemplates, postmarkUnarchiveMessageStream, postmarkUpdateMessageStream, postmarkValidateTemplate };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/list-inbound-rules.ts
|
|
4
|
+
const PostmarkListInboundRulesInput = zod.z.object({
|
|
5
|
+
count: zod.z.number().int().default(10).describe("Number of inbound rules to return per page. Required by the API.").optional(),
|
|
6
|
+
offset: zod.z.number().int().default(0).describe("Number of inbound rules to skip for pagination. Required by the API.").optional()
|
|
7
|
+
}).describe("Query parameters for listing inbound rules with pagination.");
|
|
8
|
+
const PostmarkListInboundRules_InboundRuleSchema = zod.z.object({
|
|
9
|
+
ID: zod.z.number().int().describe("Unique identifier for the inbound rule."),
|
|
10
|
+
Rule: zod.z.string().describe("Email address or domain that is blocked from sending.")
|
|
11
|
+
}).describe("A single inbound rule (trigger) object.");
|
|
12
|
+
const PostmarkListInboundRulesOutput = zod.z.object({
|
|
13
|
+
TotalCount: zod.z.number().int().describe("Total number of inbound rules matching the criteria."),
|
|
14
|
+
InboundRules: zod.z.array(PostmarkListInboundRules_InboundRuleSchema).describe("List of inbound rule objects.")
|
|
15
|
+
}).describe("Response schema for listing inbound rules.");
|
|
16
|
+
const postmarkListInboundRules = require_action.action("POSTMARK_LIST_INBOUND_RULES", {
|
|
17
|
+
slug: "postmark-list-inbound-rules",
|
|
18
|
+
name: "List Inbound Rules",
|
|
19
|
+
description: "Tool to list all inbound rules (triggers) configured for blocking senders. Use when you need to retrieve configured inbound rules with pagination support.",
|
|
20
|
+
input: PostmarkListInboundRulesInput,
|
|
21
|
+
output: PostmarkListInboundRulesOutput
|
|
22
|
+
});
|
|
23
|
+
//#endregion
|
|
24
|
+
exports.postmarkListInboundRules = postmarkListInboundRules;
|
|
25
|
+
|
|
26
|
+
//# sourceMappingURL=list-inbound-rules.cjs.map
|