@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,20 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-clicks-by-browser-family.ts
|
|
4
|
+
const PostmarkGetClicksByBrowserFamilyInput = z.object({
|
|
5
|
+
tag: z.string().describe("Filter by specific tag to narrow down statistics to emails with this tag").optional(),
|
|
6
|
+
todate: z.string().describe("Filter end date (inclusive) in YYYY-MM-DD format").optional(),
|
|
7
|
+
fromdate: z.string().describe("Filter starting date (inclusive) in YYYY-MM-DD format").optional()
|
|
8
|
+
}).describe("Request model for fetching click statistics grouped by browser family.\nAll parameters are optional for filtering the statistics.");
|
|
9
|
+
const PostmarkGetClicksByBrowserFamily_BrowserFamilyDaySchema = z.object({ Date: z.string().describe("Date in YYYY-MM-DD format") }).passthrough().describe("Daily breakdown of clicks by browser family.\nContains a date field and dynamic browser family fields with click counts.");
|
|
10
|
+
const postmarkGetClicksByBrowserFamily = action("POSTMARK_GET_CLICKS_BY_BROWSER_FAMILY", {
|
|
11
|
+
slug: "postmark-get-clicks-by-browser-family",
|
|
12
|
+
name: "Get Clicks By Browser Family",
|
|
13
|
+
description: "Tool to retrieve click statistics grouped by browser family. Use after sending outbound emails with tracked links to analyze which browser families recipients used to click links. Requires link tracking to be enabled for emails.",
|
|
14
|
+
input: PostmarkGetClicksByBrowserFamilyInput,
|
|
15
|
+
output: z.object({ Days: z.array(PostmarkGetClicksByBrowserFamily_BrowserFamilyDaySchema).describe("Array of daily browser family click statistics. Days without statistics are omitted.").nullable().optional() }).passthrough().describe("Response model containing daily browser family statistics and aggregate totals.\nBrowser families (e.g., 'Google Chrome', 'Safari mobile') appear as dynamic fields.")
|
|
16
|
+
});
|
|
17
|
+
//#endregion
|
|
18
|
+
export { postmarkGetClicksByBrowserFamily };
|
|
19
|
+
|
|
20
|
+
//# sourceMappingURL=get-clicks-by-browser-family.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-clicks-by-browser-family.mjs","names":[],"sources":["../../src/actions/get-clicks-by-browser-family.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkGetClicksByBrowserFamilyInput: z.ZodTypeAny = z.object({\n tag: z.string().describe(\"Filter by specific tag to narrow down statistics to emails with this tag\").optional(),\n todate: z.string().describe(\"Filter end date (inclusive) in YYYY-MM-DD format\").optional(),\n fromdate: z.string().describe(\"Filter starting date (inclusive) in YYYY-MM-DD format\").optional(),\n}).describe(\"Request model for fetching click statistics grouped by browser family.\\nAll parameters are optional for filtering the statistics.\");\nconst PostmarkGetClicksByBrowserFamily_BrowserFamilyDaySchema: z.ZodTypeAny = z.object({\n Date: z.string().describe(\"Date in YYYY-MM-DD format\"),\n}).passthrough().describe(\"Daily breakdown of clicks by browser family.\\nContains a date field and dynamic browser family fields with click counts.\");\nexport const PostmarkGetClicksByBrowserFamilyOutput: z.ZodTypeAny = z.object({\n Days: z.array(PostmarkGetClicksByBrowserFamily_BrowserFamilyDaySchema).describe(\"Array of daily browser family click statistics. Days without statistics are omitted.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing daily browser family statistics and aggregate totals.\\nBrowser families (e.g., 'Google Chrome', 'Safari mobile') appear as dynamic fields.\");\n\nexport const postmarkGetClicksByBrowserFamily = action(\"POSTMARK_GET_CLICKS_BY_BROWSER_FAMILY\", {\n slug: \"postmark-get-clicks-by-browser-family\",\n name: \"Get Clicks By Browser Family\",\n description: \"Tool to retrieve click statistics grouped by browser family. Use after sending outbound emails with tracked links to analyze which browser families recipients used to click links. Requires link tracking to be enabled for emails.\",\n input: PostmarkGetClicksByBrowserFamilyInput,\n output: PostmarkGetClicksByBrowserFamilyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAsD,EAAE,OAAO;CAC1E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CAC9G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACzF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,SAAS,mIAAmI;AAC/I,MAAM,0DAAwE,EAAE,OAAO,EACrF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,EACvD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0HAA0H;AAKpJ,MAAa,mCAAmC,OAAO,yCAAyC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATkE,EAAE,OAAO,EAC3E,MAAM,EAAE,MAAM,uDAAuD,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC9L,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sKAOhB;AACV,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-clicks-by-location.ts
|
|
4
|
+
const PostmarkGetClicksByLocationInput = zod.z.object({
|
|
5
|
+
tag: zod.z.string().describe("Filter by tag.").optional(),
|
|
6
|
+
todate: zod.z.string().describe("Filter stats up to the date specified in YYYY-MM-DD format.").optional(),
|
|
7
|
+
fromdate: zod.z.string().describe("Filter stats starting from the date specified in YYYY-MM-DD format.").optional()
|
|
8
|
+
}).describe("Request model for GetClicksByLocation action. All parameters are optional.");
|
|
9
|
+
const PostmarkGetClicksByLocation_DayLocationSchema = zod.z.object({
|
|
10
|
+
Date: zod.z.string().describe("Date in YYYY-MM-DD format."),
|
|
11
|
+
HTML: zod.z.number().int().describe("Total number of clicks that were from links in the HTML content.").nullable().optional(),
|
|
12
|
+
Text: zod.z.number().int().describe("Total number of clicks that were from links in the text content.").nullable().optional()
|
|
13
|
+
}).describe("Daily breakdown of clicks by location (HTML vs Text).");
|
|
14
|
+
const PostmarkGetClicksByLocationOutput = zod.z.object({
|
|
15
|
+
Days: zod.z.array(PostmarkGetClicksByLocation_DayLocationSchema).describe("List of daily click location breakdowns. Days without statistics are omitted.").nullable().optional(),
|
|
16
|
+
HTML: zod.z.number().int().describe("Aggregate total of HTML link clicks.").nullable().optional(),
|
|
17
|
+
Text: zod.z.number().int().describe("Aggregate total of text link clicks.").nullable().optional()
|
|
18
|
+
}).describe("Response model for GetClicksByLocation action containing daily breakdown and aggregate totals of clicks by location.");
|
|
19
|
+
const postmarkGetClicksByLocation = require_action.action("POSTMARK_GET_CLICKS_BY_LOCATION", {
|
|
20
|
+
slug: "postmark-get-clicks-by-location",
|
|
21
|
+
name: "Get Clicks by Location",
|
|
22
|
+
description: "Tool to get an overview of which part of the email links were clicked from (HTML or Text). Use when you need to analyze click patterns by content type.",
|
|
23
|
+
input: PostmarkGetClicksByLocationInput,
|
|
24
|
+
output: PostmarkGetClicksByLocationOutput
|
|
25
|
+
});
|
|
26
|
+
//#endregion
|
|
27
|
+
exports.postmarkGetClicksByLocation = postmarkGetClicksByLocation;
|
|
28
|
+
|
|
29
|
+
//# sourceMappingURL=get-clicks-by-location.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-clicks-by-location.cjs","names":["z","action"],"sources":["../../src/actions/get-clicks-by-location.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkGetClicksByLocationInput: z.ZodTypeAny = z.object({\n tag: z.string().describe(\"Filter by tag.\").optional(),\n todate: z.string().describe(\"Filter stats up to the date specified in YYYY-MM-DD format.\").optional(),\n fromdate: z.string().describe(\"Filter stats starting from the date specified in YYYY-MM-DD format.\").optional(),\n}).describe(\"Request model for GetClicksByLocation action. All parameters are optional.\");\nconst PostmarkGetClicksByLocation_DayLocationSchema: z.ZodTypeAny = z.object({\n Date: z.string().describe(\"Date in YYYY-MM-DD format.\"),\n HTML: z.number().int().describe(\"Total number of clicks that were from links in the HTML content.\").nullable().optional(),\n Text: z.number().int().describe(\"Total number of clicks that were from links in the text content.\").nullable().optional(),\n}).describe(\"Daily breakdown of clicks by location (HTML vs Text).\");\nexport const PostmarkGetClicksByLocationOutput: z.ZodTypeAny = z.object({\n Days: z.array(PostmarkGetClicksByLocation_DayLocationSchema).describe(\"List of daily click location breakdowns. Days without statistics are omitted.\").nullable().optional(),\n HTML: z.number().int().describe(\"Aggregate total of HTML link clicks.\").nullable().optional(),\n Text: z.number().int().describe(\"Aggregate total of text link clicks.\").nullable().optional(),\n}).describe(\"Response model for GetClicksByLocation action containing daily breakdown and aggregate totals of clicks by location.\");\n\nexport const postmarkGetClicksByLocation = action(\"POSTMARK_GET_CLICKS_BY_LOCATION\", {\n slug: \"postmark-get-clicks-by-location\",\n name: \"Get Clicks by Location\",\n description: \"Tool to get an overview of which part of the email links were clicked from (HTML or Text). Use when you need to analyze click patterns by content type.\",\n input: PostmarkGetClicksByLocationInput,\n output: PostmarkGetClicksByLocationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACpD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACpG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,SAAS,4EAA4E;AACxF,MAAM,gDAA8DA,IAAAA,EAAE,OAAO;CAC3E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAa,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,MAAMA,IAAAA,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3K,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,SAAS,sHAAsH;AAElI,MAAa,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,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-clicks-by-location.d.ts
|
|
4
|
+
declare const PostmarkGetClicksByLocationInput: z.ZodTypeAny;
|
|
5
|
+
declare const PostmarkGetClicksByLocationOutput: z.ZodTypeAny;
|
|
6
|
+
declare const postmarkGetClicksByLocation: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { postmarkGetClicksByLocation };
|
|
9
|
+
//# sourceMappingURL=get-clicks-by-location.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-clicks-by-location.d.cts","names":[],"sources":["../../src/actions/get-clicks-by-location.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAIwC;AAAA,cAM5E,iCAAA,EAAmC,CAAA,CAAE,UAIiF;AAAA,cAEtH,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-clicks-by-location.d.ts
|
|
4
|
+
declare const PostmarkGetClicksByLocationInput: z.ZodTypeAny;
|
|
5
|
+
declare const PostmarkGetClicksByLocationOutput: z.ZodTypeAny;
|
|
6
|
+
declare const postmarkGetClicksByLocation: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { postmarkGetClicksByLocation };
|
|
9
|
+
//# sourceMappingURL=get-clicks-by-location.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-clicks-by-location.d.mts","names":[],"sources":["../../src/actions/get-clicks-by-location.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAIwC;AAAA,cAM5E,iCAAA,EAAmC,CAAA,CAAE,UAIiF;AAAA,cAEtH,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-clicks-by-location.ts
|
|
4
|
+
const PostmarkGetClicksByLocationInput = z.object({
|
|
5
|
+
tag: z.string().describe("Filter by tag.").optional(),
|
|
6
|
+
todate: z.string().describe("Filter stats up to the date specified in YYYY-MM-DD format.").optional(),
|
|
7
|
+
fromdate: z.string().describe("Filter stats starting from the date specified in YYYY-MM-DD format.").optional()
|
|
8
|
+
}).describe("Request model for GetClicksByLocation action. All parameters are optional.");
|
|
9
|
+
const PostmarkGetClicksByLocation_DayLocationSchema = z.object({
|
|
10
|
+
Date: z.string().describe("Date in YYYY-MM-DD format."),
|
|
11
|
+
HTML: z.number().int().describe("Total number of clicks that were from links in the HTML content.").nullable().optional(),
|
|
12
|
+
Text: z.number().int().describe("Total number of clicks that were from links in the text content.").nullable().optional()
|
|
13
|
+
}).describe("Daily breakdown of clicks by location (HTML vs Text).");
|
|
14
|
+
const postmarkGetClicksByLocation = action("POSTMARK_GET_CLICKS_BY_LOCATION", {
|
|
15
|
+
slug: "postmark-get-clicks-by-location",
|
|
16
|
+
name: "Get Clicks by Location",
|
|
17
|
+
description: "Tool to get an overview of which part of the email links were clicked from (HTML or Text). Use when you need to analyze click patterns by content type.",
|
|
18
|
+
input: PostmarkGetClicksByLocationInput,
|
|
19
|
+
output: z.object({
|
|
20
|
+
Days: z.array(PostmarkGetClicksByLocation_DayLocationSchema).describe("List of daily click location breakdowns. Days without statistics are omitted.").nullable().optional(),
|
|
21
|
+
HTML: z.number().int().describe("Aggregate total of HTML link clicks.").nullable().optional(),
|
|
22
|
+
Text: z.number().int().describe("Aggregate total of text link clicks.").nullable().optional()
|
|
23
|
+
}).describe("Response model for GetClicksByLocation action containing daily breakdown and aggregate totals of clicks by location.")
|
|
24
|
+
});
|
|
25
|
+
//#endregion
|
|
26
|
+
export { postmarkGetClicksByLocation };
|
|
27
|
+
|
|
28
|
+
//# sourceMappingURL=get-clicks-by-location.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-clicks-by-location.mjs","names":[],"sources":["../../src/actions/get-clicks-by-location.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkGetClicksByLocationInput: z.ZodTypeAny = z.object({\n tag: z.string().describe(\"Filter by tag.\").optional(),\n todate: z.string().describe(\"Filter stats up to the date specified in YYYY-MM-DD format.\").optional(),\n fromdate: z.string().describe(\"Filter stats starting from the date specified in YYYY-MM-DD format.\").optional(),\n}).describe(\"Request model for GetClicksByLocation action. All parameters are optional.\");\nconst PostmarkGetClicksByLocation_DayLocationSchema: z.ZodTypeAny = z.object({\n Date: z.string().describe(\"Date in YYYY-MM-DD format.\"),\n HTML: z.number().int().describe(\"Total number of clicks that were from links in the HTML content.\").nullable().optional(),\n Text: z.number().int().describe(\"Total number of clicks that were from links in the text content.\").nullable().optional(),\n}).describe(\"Daily breakdown of clicks by location (HTML vs Text).\");\nexport const PostmarkGetClicksByLocationOutput: z.ZodTypeAny = z.object({\n Days: z.array(PostmarkGetClicksByLocation_DayLocationSchema).describe(\"List of daily click location breakdowns. Days without statistics are omitted.\").nullable().optional(),\n HTML: z.number().int().describe(\"Aggregate total of HTML link clicks.\").nullable().optional(),\n Text: z.number().int().describe(\"Aggregate total of text link clicks.\").nullable().optional(),\n}).describe(\"Response model for GetClicksByLocation action containing daily breakdown and aggregate totals of clicks by location.\");\n\nexport const postmarkGetClicksByLocation = action(\"POSTMARK_GET_CLICKS_BY_LOCATION\", {\n slug: \"postmark-get-clicks-by-location\",\n name: \"Get Clicks by Location\",\n description: \"Tool to get an overview of which part of the email links were clicked from (HTML or Text). Use when you need to analyze click patterns by content type.\",\n input: PostmarkGetClicksByLocationInput,\n output: PostmarkGetClicksByLocationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiD,EAAE,OAAO;CACrE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACpD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACpG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,SAAS,4EAA4E;AACxF,MAAM,gDAA8D,EAAE,OAAO;CAC3E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACtD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,SAAS,uDAAuD;AAOnE,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX6D,EAAE,OAAO;EACtE,MAAM,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3K,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,SAAS,sHAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-delivery-stats.ts
|
|
4
|
+
const PostmarkGetDeliveryStatsInput = zod.z.object({}).describe("Request model for GetDeliveryStats action.\nThis action does not require any parameters.");
|
|
5
|
+
const PostmarkGetDeliveryStats_BounceTypeCountSchema = zod.z.object({
|
|
6
|
+
Name: zod.z.string().describe("Human-readable name of the bounce type (e.g., 'All', 'Hard bounce', 'Message delayed')"),
|
|
7
|
+
Type: zod.z.string().describe("Bounce type identifier (e.g., 'HardBounce', 'Transient', 'AutoResponder', 'SpamNotification', 'SoftBounce', 'SpamComplaint')").nullable().optional(),
|
|
8
|
+
Count: zod.z.number().int().describe("Number of bounces of this type")
|
|
9
|
+
}).describe("Model representing a bounce type with its count.");
|
|
10
|
+
const PostmarkGetDeliveryStatsOutput = zod.z.object({
|
|
11
|
+
Bounces: zod.z.array(PostmarkGetDeliveryStats_BounceTypeCountSchema).describe("List of bounce types with their counts, including total count ('All'), hard bounces, soft bounces, spam complaints, etc."),
|
|
12
|
+
InactiveMails: zod.z.number().int().describe("Number of inactive recipient email addresses")
|
|
13
|
+
}).describe("Response model for GetDeliveryStats action, representing delivery statistical counts.");
|
|
14
|
+
const postmarkGetDeliveryStats = require_action.action("POSTMARK_GET_DELIVERY_STATS", {
|
|
15
|
+
slug: "postmark-get-delivery-stats",
|
|
16
|
+
name: "Get Delivery Stats",
|
|
17
|
+
description: "Tool to retrieve delivery statistics. Use after sending emails to get aggregated counts of deliveries, bounces, and spam complaints.",
|
|
18
|
+
input: PostmarkGetDeliveryStatsInput,
|
|
19
|
+
output: PostmarkGetDeliveryStatsOutput
|
|
20
|
+
});
|
|
21
|
+
//#endregion
|
|
22
|
+
exports.postmarkGetDeliveryStats = postmarkGetDeliveryStats;
|
|
23
|
+
|
|
24
|
+
//# sourceMappingURL=get-delivery-stats.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-delivery-stats.cjs","names":["z","action"],"sources":["../../src/actions/get-delivery-stats.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkGetDeliveryStatsInput: z.ZodTypeAny = z.object({}).describe(\"Request model for GetDeliveryStats action.\\nThis action does not require any parameters.\");\nconst PostmarkGetDeliveryStats_BounceTypeCountSchema: z.ZodTypeAny = z.object({\n Name: z.string().describe(\"Human-readable name of the bounce type (e.g., 'All', 'Hard bounce', 'Message delayed')\"),\n Type: z.string().describe(\"Bounce type identifier (e.g., 'HardBounce', 'Transient', 'AutoResponder', 'SpamNotification', 'SoftBounce', 'SpamComplaint')\").nullable().optional(),\n Count: z.number().int().describe(\"Number of bounces of this type\"),\n}).describe(\"Model representing a bounce type with its count.\");\nexport const PostmarkGetDeliveryStatsOutput: z.ZodTypeAny = z.object({\n Bounces: z.array(PostmarkGetDeliveryStats_BounceTypeCountSchema).describe(\"List of bounce types with their counts, including total count ('All'), hard bounces, soft bounces, spam complaints, etc.\"),\n InactiveMails: z.number().int().describe(\"Number of inactive recipient email addresses\"),\n}).describe(\"Response model for GetDeliveryStats action, representing delivery statistical counts.\");\n\nexport const postmarkGetDeliveryStats = action(\"POSTMARK_GET_DELIVERY_STATS\", {\n slug: \"postmark-get-delivery-stats\",\n name: \"Get Delivery Stats\",\n description: \"Tool to retrieve delivery statistics. Use after sending emails to get aggregated counts of deliveries, bounces, and spam complaints.\",\n input: PostmarkGetDeliveryStatsInput,\n output: PostmarkGetDeliveryStatsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0FAA0F;AAC3K,MAAM,iDAA+DA,IAAAA,EAAE,OAAO;CAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF;CAClH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8HAA8H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9K,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC;AACnE,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,SAASA,IAAAA,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,0HAA0H;CACpM,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C;AACzF,CAAC,CAAC,CAAC,SAAS,uFAAuF;AAEnG,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,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-delivery-stats.d.ts
|
|
4
|
+
declare const PostmarkGetDeliveryStatsInput: z.ZodTypeAny;
|
|
5
|
+
declare const PostmarkGetDeliveryStatsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const postmarkGetDeliveryStats: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { postmarkGetDeliveryStats };
|
|
9
|
+
//# sourceMappingURL=get-delivery-stats.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-delivery-stats.d.cts","names":[],"sources":["../../src/actions/get-delivery-stats.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAA8H;AAAA,cAM/J,8BAAA,EAAgC,CAAA,CAAE,UAGqD;AAAA,cAEvF,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-delivery-stats.d.ts
|
|
4
|
+
declare const PostmarkGetDeliveryStatsInput: z.ZodTypeAny;
|
|
5
|
+
declare const PostmarkGetDeliveryStatsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const postmarkGetDeliveryStats: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { postmarkGetDeliveryStats };
|
|
9
|
+
//# sourceMappingURL=get-delivery-stats.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-delivery-stats.d.mts","names":[],"sources":["../../src/actions/get-delivery-stats.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAA8H;AAAA,cAM/J,8BAAA,EAAgC,CAAA,CAAE,UAGqD;AAAA,cAEvF,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-delivery-stats.ts
|
|
4
|
+
const PostmarkGetDeliveryStatsInput = z.object({}).describe("Request model for GetDeliveryStats action.\nThis action does not require any parameters.");
|
|
5
|
+
const PostmarkGetDeliveryStats_BounceTypeCountSchema = z.object({
|
|
6
|
+
Name: z.string().describe("Human-readable name of the bounce type (e.g., 'All', 'Hard bounce', 'Message delayed')"),
|
|
7
|
+
Type: z.string().describe("Bounce type identifier (e.g., 'HardBounce', 'Transient', 'AutoResponder', 'SpamNotification', 'SoftBounce', 'SpamComplaint')").nullable().optional(),
|
|
8
|
+
Count: z.number().int().describe("Number of bounces of this type")
|
|
9
|
+
}).describe("Model representing a bounce type with its count.");
|
|
10
|
+
const postmarkGetDeliveryStats = action("POSTMARK_GET_DELIVERY_STATS", {
|
|
11
|
+
slug: "postmark-get-delivery-stats",
|
|
12
|
+
name: "Get Delivery Stats",
|
|
13
|
+
description: "Tool to retrieve delivery statistics. Use after sending emails to get aggregated counts of deliveries, bounces, and spam complaints.",
|
|
14
|
+
input: PostmarkGetDeliveryStatsInput,
|
|
15
|
+
output: z.object({
|
|
16
|
+
Bounces: z.array(PostmarkGetDeliveryStats_BounceTypeCountSchema).describe("List of bounce types with their counts, including total count ('All'), hard bounces, soft bounces, spam complaints, etc."),
|
|
17
|
+
InactiveMails: z.number().int().describe("Number of inactive recipient email addresses")
|
|
18
|
+
}).describe("Response model for GetDeliveryStats action, representing delivery statistical counts.")
|
|
19
|
+
});
|
|
20
|
+
//#endregion
|
|
21
|
+
export { postmarkGetDeliveryStats };
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=get-delivery-stats.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-delivery-stats.mjs","names":[],"sources":["../../src/actions/get-delivery-stats.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkGetDeliveryStatsInput: z.ZodTypeAny = z.object({}).describe(\"Request model for GetDeliveryStats action.\\nThis action does not require any parameters.\");\nconst PostmarkGetDeliveryStats_BounceTypeCountSchema: z.ZodTypeAny = z.object({\n Name: z.string().describe(\"Human-readable name of the bounce type (e.g., 'All', 'Hard bounce', 'Message delayed')\"),\n Type: z.string().describe(\"Bounce type identifier (e.g., 'HardBounce', 'Transient', 'AutoResponder', 'SpamNotification', 'SoftBounce', 'SpamComplaint')\").nullable().optional(),\n Count: z.number().int().describe(\"Number of bounces of this type\"),\n}).describe(\"Model representing a bounce type with its count.\");\nexport const PostmarkGetDeliveryStatsOutput: z.ZodTypeAny = z.object({\n Bounces: z.array(PostmarkGetDeliveryStats_BounceTypeCountSchema).describe(\"List of bounce types with their counts, including total count ('All'), hard bounces, soft bounces, spam complaints, etc.\"),\n InactiveMails: z.number().int().describe(\"Number of inactive recipient email addresses\"),\n}).describe(\"Response model for GetDeliveryStats action, representing delivery statistical counts.\");\n\nexport const postmarkGetDeliveryStats = action(\"POSTMARK_GET_DELIVERY_STATS\", {\n slug: \"postmark-get-delivery-stats\",\n name: \"Get Delivery Stats\",\n description: \"Tool to retrieve delivery statistics. Use after sending emails to get aggregated counts of deliveries, bounces, and spam complaints.\",\n input: PostmarkGetDeliveryStatsInput,\n output: PostmarkGetDeliveryStatsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0FAA0F;AAC3K,MAAM,iDAA+D,EAAE,OAAO;CAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF;CAClH,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8HAA8H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9K,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC;AACnE,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAM9D,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV0D,EAAE,OAAO;EACnE,SAAS,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,0HAA0H;EACpM,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C;CACzF,CAAC,CAAC,CAAC,SAAS,uFAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-email-client-usage.ts
|
|
4
|
+
const PostmarkGetEmailClientUsageInput = zod.z.object({
|
|
5
|
+
tag: zod.z.string().describe("Filter by tag name (if emails were sent with a tag)").optional(),
|
|
6
|
+
todate: zod.z.string().describe("End date for the statistics (inclusive, format: YYYY-MM-DD)").optional(),
|
|
7
|
+
fromdate: zod.z.string().describe("Start date for the statistics (inclusive, format: YYYY-MM-DD)").optional(),
|
|
8
|
+
messagestream: zod.z.string().describe("Filter by message stream ID. If omitted, returns stats for all server streams.").optional()
|
|
9
|
+
}).describe("Request model for retrieving email client usage statistics for opened emails.");
|
|
10
|
+
const PostmarkGetEmailClientUsage_DayStatsSchema = zod.z.object({ Date: zod.z.string().describe("Date for the stats (YYYY-MM-DD)") }).passthrough().describe("Statistics for a single day including date and email client usage counts.\nThe model accepts any additional fields as client names with their counts.");
|
|
11
|
+
const PostmarkGetEmailClientUsageOutput = zod.z.object({ Days: zod.z.array(PostmarkGetEmailClientUsage_DayStatsSchema).describe("List of client usage stats per day").nullable().optional() }).passthrough().describe("Response containing daily email client usage statistics.\nMay also contain aggregate counts at the top level for each client.");
|
|
12
|
+
const postmarkGetEmailClientUsage = require_action.action("POSTMARK_GET_EMAIL_CLIENT_USAGE", {
|
|
13
|
+
slug: "postmark-get-email-client-usage",
|
|
14
|
+
name: "Get Email Client Usage",
|
|
15
|
+
description: "Tool to retrieve statistics on email clients used to open emails. Use when you need to analyze which clients recipients open your outbound emails.",
|
|
16
|
+
input: PostmarkGetEmailClientUsageInput,
|
|
17
|
+
output: PostmarkGetEmailClientUsageOutput
|
|
18
|
+
});
|
|
19
|
+
//#endregion
|
|
20
|
+
exports.postmarkGetEmailClientUsage = postmarkGetEmailClientUsage;
|
|
21
|
+
|
|
22
|
+
//# sourceMappingURL=get-email-client-usage.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-email-client-usage.cjs","names":["z","action"],"sources":["../../src/actions/get-email-client-usage.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkGetEmailClientUsageInput: z.ZodTypeAny = z.object({\n tag: z.string().describe(\"Filter by tag name (if emails were sent with a tag)\").optional(),\n todate: z.string().describe(\"End date for the statistics (inclusive, format: YYYY-MM-DD)\").optional(),\n fromdate: z.string().describe(\"Start date for the statistics (inclusive, format: YYYY-MM-DD)\").optional(),\n messagestream: z.string().describe(\"Filter by message stream ID. If omitted, returns stats for all server streams.\").optional(),\n}).describe(\"Request model for retrieving email client usage statistics for opened emails.\");\nconst PostmarkGetEmailClientUsage_DayStatsSchema: z.ZodTypeAny = z.object({\n Date: z.string().describe(\"Date for the stats (YYYY-MM-DD)\"),\n}).passthrough().describe(\"Statistics for a single day including date and email client usage counts.\\nThe model accepts any additional fields as client names with their counts.\");\nexport const PostmarkGetEmailClientUsageOutput: z.ZodTypeAny = z.object({\n Days: z.array(PostmarkGetEmailClientUsage_DayStatsSchema).describe(\"List of client usage stats per day\").nullable().optional(),\n}).passthrough().describe(\"Response containing daily email client usage statistics.\\nMay also contain aggregate counts at the top level for each client.\");\n\nexport const postmarkGetEmailClientUsage = action(\"POSTMARK_GET_EMAIL_CLIENT_USAGE\", {\n slug: \"postmark-get-email-client-usage\",\n name: \"Get Email Client Usage\",\n description: \"Tool to retrieve statistics on email clients used to open emails. Use when you need to analyze which clients recipients open your outbound emails.\",\n input: PostmarkGetEmailClientUsageInput,\n output: PostmarkGetEmailClientUsageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACzF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACpG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACxG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;AAChI,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAC3F,MAAM,6CAA2DA,IAAAA,EAAE,OAAO,EACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,EAC7D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uJAAuJ;AACjL,MAAa,oCAAkDA,IAAAA,EAAE,OAAO,EACtE,MAAMA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+HAA+H;AAEzJ,MAAa,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,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-email-client-usage.d.ts
|
|
4
|
+
declare const PostmarkGetEmailClientUsageInput: z.ZodTypeAny;
|
|
5
|
+
declare const PostmarkGetEmailClientUsageOutput: z.ZodTypeAny;
|
|
6
|
+
declare const postmarkGetEmailClientUsage: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { postmarkGetEmailClientUsage };
|
|
9
|
+
//# sourceMappingURL=get-email-client-usage.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-email-client-usage.d.cts","names":[],"sources":["../../src/actions/get-email-client-usage.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAK2C;AAAA,cAI/E,iCAAA,EAAmC,CAAA,CAAE,UAEwG;AAAA,cAE7I,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-email-client-usage.d.ts
|
|
4
|
+
declare const PostmarkGetEmailClientUsageInput: z.ZodTypeAny;
|
|
5
|
+
declare const PostmarkGetEmailClientUsageOutput: z.ZodTypeAny;
|
|
6
|
+
declare const postmarkGetEmailClientUsage: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { postmarkGetEmailClientUsage };
|
|
9
|
+
//# sourceMappingURL=get-email-client-usage.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-email-client-usage.d.mts","names":[],"sources":["../../src/actions/get-email-client-usage.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAK2C;AAAA,cAI/E,iCAAA,EAAmC,CAAA,CAAE,UAEwG;AAAA,cAE7I,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-email-client-usage.ts
|
|
4
|
+
const PostmarkGetEmailClientUsageInput = z.object({
|
|
5
|
+
tag: z.string().describe("Filter by tag name (if emails were sent with a tag)").optional(),
|
|
6
|
+
todate: z.string().describe("End date for the statistics (inclusive, format: YYYY-MM-DD)").optional(),
|
|
7
|
+
fromdate: z.string().describe("Start date for the statistics (inclusive, format: YYYY-MM-DD)").optional(),
|
|
8
|
+
messagestream: z.string().describe("Filter by message stream ID. If omitted, returns stats for all server streams.").optional()
|
|
9
|
+
}).describe("Request model for retrieving email client usage statistics for opened emails.");
|
|
10
|
+
const PostmarkGetEmailClientUsage_DayStatsSchema = z.object({ Date: z.string().describe("Date for the stats (YYYY-MM-DD)") }).passthrough().describe("Statistics for a single day including date and email client usage counts.\nThe model accepts any additional fields as client names with their counts.");
|
|
11
|
+
const postmarkGetEmailClientUsage = action("POSTMARK_GET_EMAIL_CLIENT_USAGE", {
|
|
12
|
+
slug: "postmark-get-email-client-usage",
|
|
13
|
+
name: "Get Email Client Usage",
|
|
14
|
+
description: "Tool to retrieve statistics on email clients used to open emails. Use when you need to analyze which clients recipients open your outbound emails.",
|
|
15
|
+
input: PostmarkGetEmailClientUsageInput,
|
|
16
|
+
output: z.object({ Days: z.array(PostmarkGetEmailClientUsage_DayStatsSchema).describe("List of client usage stats per day").nullable().optional() }).passthrough().describe("Response containing daily email client usage statistics.\nMay also contain aggregate counts at the top level for each client.")
|
|
17
|
+
});
|
|
18
|
+
//#endregion
|
|
19
|
+
export { postmarkGetEmailClientUsage };
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=get-email-client-usage.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-email-client-usage.mjs","names":[],"sources":["../../src/actions/get-email-client-usage.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkGetEmailClientUsageInput: z.ZodTypeAny = z.object({\n tag: z.string().describe(\"Filter by tag name (if emails were sent with a tag)\").optional(),\n todate: z.string().describe(\"End date for the statistics (inclusive, format: YYYY-MM-DD)\").optional(),\n fromdate: z.string().describe(\"Start date for the statistics (inclusive, format: YYYY-MM-DD)\").optional(),\n messagestream: z.string().describe(\"Filter by message stream ID. If omitted, returns stats for all server streams.\").optional(),\n}).describe(\"Request model for retrieving email client usage statistics for opened emails.\");\nconst PostmarkGetEmailClientUsage_DayStatsSchema: z.ZodTypeAny = z.object({\n Date: z.string().describe(\"Date for the stats (YYYY-MM-DD)\"),\n}).passthrough().describe(\"Statistics for a single day including date and email client usage counts.\\nThe model accepts any additional fields as client names with their counts.\");\nexport const PostmarkGetEmailClientUsageOutput: z.ZodTypeAny = z.object({\n Days: z.array(PostmarkGetEmailClientUsage_DayStatsSchema).describe(\"List of client usage stats per day\").nullable().optional(),\n}).passthrough().describe(\"Response containing daily email client usage statistics.\\nMay also contain aggregate counts at the top level for each client.\");\n\nexport const postmarkGetEmailClientUsage = action(\"POSTMARK_GET_EMAIL_CLIENT_USAGE\", {\n slug: \"postmark-get-email-client-usage\",\n name: \"Get Email Client Usage\",\n description: \"Tool to retrieve statistics on email clients used to open emails. Use when you need to analyze which clients recipients open your outbound emails.\",\n input: PostmarkGetEmailClientUsageInput,\n output: PostmarkGetEmailClientUsageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiD,EAAE,OAAO;CACrE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACzF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACpG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACxG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;AAChI,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAC3F,MAAM,6CAA2D,EAAE,OAAO,EACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,EAC7D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uJAAuJ;AAKjL,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT6D,EAAE,OAAO,EACtE,MAAM,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+HAOhB;AACV,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-email-open-counts.ts
|
|
4
|
+
const PostmarkGetEmailOpenCountsInput = zod.z.object({
|
|
5
|
+
ToDate: zod.z.string().describe("Include activity before this ISO8601 date/time.").optional(),
|
|
6
|
+
FromDate: zod.z.string().describe("Include activity from this ISO8601 date/time.").optional(),
|
|
7
|
+
MessageStream: zod.z.string().describe("Filter stats by a specific message stream.").optional()
|
|
8
|
+
}).describe("Query parameters for retrieving email open counts with optional filters.");
|
|
9
|
+
const PostmarkGetEmailOpenCounts_DayStatSchema = zod.z.object({
|
|
10
|
+
Date: zod.z.string().describe("Date for the stats (YYYY-MM-DD)."),
|
|
11
|
+
Opens: zod.z.number().int().describe("Number of opens on this date."),
|
|
12
|
+
Unique: zod.z.number().int().describe("Number of unique opens on this date.")
|
|
13
|
+
}).describe("A single day's open statistics record.");
|
|
14
|
+
const PostmarkGetEmailOpenCountsOutput = zod.z.object({
|
|
15
|
+
Days: zod.z.array(PostmarkGetEmailOpenCounts_DayStatSchema).describe("List of open statistics by day.").nullable().optional(),
|
|
16
|
+
Opens: zod.z.number().int().default(0).describe("Total number of opens across all days in the period.").nullable().optional(),
|
|
17
|
+
Unique: zod.z.number().int().default(0).describe("Total number of unique opens across all days in the period.").nullable().optional()
|
|
18
|
+
}).describe("Response schema for GetEmailOpenCounts action.");
|
|
19
|
+
const postmarkGetEmailOpenCounts = require_action.action("POSTMARK_GET_EMAIL_OPEN_COUNTS", {
|
|
20
|
+
slug: "postmark-get-email-open-counts",
|
|
21
|
+
name: "Get Email Open Counts",
|
|
22
|
+
description: "Tool to retrieve counts of opened emails. Use when you need per-day and total open stats for a specified period.",
|
|
23
|
+
input: PostmarkGetEmailOpenCountsInput,
|
|
24
|
+
output: PostmarkGetEmailOpenCountsOutput
|
|
25
|
+
});
|
|
26
|
+
//#endregion
|
|
27
|
+
exports.postmarkGetEmailOpenCounts = postmarkGetEmailOpenCounts;
|
|
28
|
+
|
|
29
|
+
//# sourceMappingURL=get-email-open-counts.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-email-open-counts.cjs","names":["z","action"],"sources":["../../src/actions/get-email-open-counts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkGetEmailOpenCountsInput: z.ZodTypeAny = z.object({\n ToDate: z.string().describe(\"Include activity before this ISO8601 date/time.\").optional(),\n FromDate: z.string().describe(\"Include activity from this ISO8601 date/time.\").optional(),\n MessageStream: z.string().describe(\"Filter stats by a specific message stream.\").optional(),\n}).describe(\"Query parameters for retrieving email open counts with optional filters.\");\nconst PostmarkGetEmailOpenCounts_DayStatSchema: z.ZodTypeAny = z.object({\n Date: z.string().describe(\"Date for the stats (YYYY-MM-DD).\"),\n Opens: z.number().int().describe(\"Number of opens on this date.\"),\n Unique: z.number().int().describe(\"Number of unique opens on this date.\"),\n}).describe(\"A single day's open statistics record.\");\nexport const PostmarkGetEmailOpenCountsOutput: z.ZodTypeAny = z.object({\n Days: z.array(PostmarkGetEmailOpenCounts_DayStatSchema).describe(\"List of open statistics by day.\").nullable().optional(),\n Opens: z.number().int().default(0).describe(\"Total number of opens across all days in the period.\").nullable().optional(),\n Unique: z.number().int().default(0).describe(\"Total number of unique opens across all days in the period.\").nullable().optional(),\n}).describe(\"Response schema for GetEmailOpenCounts action.\");\n\nexport const postmarkGetEmailOpenCounts = action(\"POSTMARK_GET_EMAIL_OPEN_COUNTS\", {\n slug: \"postmark-get-email-open-counts\",\n name: \"Get Email Open Counts\",\n description: \"Tool to retrieve counts of opened emails. Use when you need per-day and total open stats for a specified period.\",\n input: PostmarkGetEmailOpenCountsInput,\n output: PostmarkGetEmailOpenCountsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACxF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACxF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAM,2CAAyDA,IAAAA,EAAE,OAAO;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC5D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B;CAChE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC;AAC1E,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,MAAMA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClI,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAE5D,MAAa,6BAA6BC,eAAAA,OAAO,kCAAkC;CACjF,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-email-open-counts.d.ts
|
|
4
|
+
declare const PostmarkGetEmailOpenCountsInput: z.ZodTypeAny;
|
|
5
|
+
declare const PostmarkGetEmailOpenCountsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const postmarkGetEmailOpenCounts: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { postmarkGetEmailOpenCounts };
|
|
9
|
+
//# sourceMappingURL=get-email-open-counts.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-email-open-counts.d.cts","names":[],"sources":["../../src/actions/get-email-open-counts.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAIuC;AAAA,cAM1E,gCAAA,EAAkC,CAAA,CAAE,UAIY;AAAA,cAEhD,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-email-open-counts.d.ts
|
|
4
|
+
declare const PostmarkGetEmailOpenCountsInput: z.ZodTypeAny;
|
|
5
|
+
declare const PostmarkGetEmailOpenCountsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const postmarkGetEmailOpenCounts: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { postmarkGetEmailOpenCounts };
|
|
9
|
+
//# sourceMappingURL=get-email-open-counts.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-email-open-counts.d.mts","names":[],"sources":["../../src/actions/get-email-open-counts.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAIuC;AAAA,cAM1E,gCAAA,EAAkC,CAAA,CAAE,UAIY;AAAA,cAEhD,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-email-open-counts.ts
|
|
4
|
+
const PostmarkGetEmailOpenCountsInput = z.object({
|
|
5
|
+
ToDate: z.string().describe("Include activity before this ISO8601 date/time.").optional(),
|
|
6
|
+
FromDate: z.string().describe("Include activity from this ISO8601 date/time.").optional(),
|
|
7
|
+
MessageStream: z.string().describe("Filter stats by a specific message stream.").optional()
|
|
8
|
+
}).describe("Query parameters for retrieving email open counts with optional filters.");
|
|
9
|
+
const PostmarkGetEmailOpenCounts_DayStatSchema = z.object({
|
|
10
|
+
Date: z.string().describe("Date for the stats (YYYY-MM-DD)."),
|
|
11
|
+
Opens: z.number().int().describe("Number of opens on this date."),
|
|
12
|
+
Unique: z.number().int().describe("Number of unique opens on this date.")
|
|
13
|
+
}).describe("A single day's open statistics record.");
|
|
14
|
+
const postmarkGetEmailOpenCounts = action("POSTMARK_GET_EMAIL_OPEN_COUNTS", {
|
|
15
|
+
slug: "postmark-get-email-open-counts",
|
|
16
|
+
name: "Get Email Open Counts",
|
|
17
|
+
description: "Tool to retrieve counts of opened emails. Use when you need per-day and total open stats for a specified period.",
|
|
18
|
+
input: PostmarkGetEmailOpenCountsInput,
|
|
19
|
+
output: z.object({
|
|
20
|
+
Days: z.array(PostmarkGetEmailOpenCounts_DayStatSchema).describe("List of open statistics by day.").nullable().optional(),
|
|
21
|
+
Opens: z.number().int().default(0).describe("Total number of opens across all days in the period.").nullable().optional(),
|
|
22
|
+
Unique: z.number().int().default(0).describe("Total number of unique opens across all days in the period.").nullable().optional()
|
|
23
|
+
}).describe("Response schema for GetEmailOpenCounts action.")
|
|
24
|
+
});
|
|
25
|
+
//#endregion
|
|
26
|
+
export { postmarkGetEmailOpenCounts };
|
|
27
|
+
|
|
28
|
+
//# sourceMappingURL=get-email-open-counts.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-email-open-counts.mjs","names":[],"sources":["../../src/actions/get-email-open-counts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkGetEmailOpenCountsInput: z.ZodTypeAny = z.object({\n ToDate: z.string().describe(\"Include activity before this ISO8601 date/time.\").optional(),\n FromDate: z.string().describe(\"Include activity from this ISO8601 date/time.\").optional(),\n MessageStream: z.string().describe(\"Filter stats by a specific message stream.\").optional(),\n}).describe(\"Query parameters for retrieving email open counts with optional filters.\");\nconst PostmarkGetEmailOpenCounts_DayStatSchema: z.ZodTypeAny = z.object({\n Date: z.string().describe(\"Date for the stats (YYYY-MM-DD).\"),\n Opens: z.number().int().describe(\"Number of opens on this date.\"),\n Unique: z.number().int().describe(\"Number of unique opens on this date.\"),\n}).describe(\"A single day's open statistics record.\");\nexport const PostmarkGetEmailOpenCountsOutput: z.ZodTypeAny = z.object({\n Days: z.array(PostmarkGetEmailOpenCounts_DayStatSchema).describe(\"List of open statistics by day.\").nullable().optional(),\n Opens: z.number().int().default(0).describe(\"Total number of opens across all days in the period.\").nullable().optional(),\n Unique: z.number().int().default(0).describe(\"Total number of unique opens across all days in the period.\").nullable().optional(),\n}).describe(\"Response schema for GetEmailOpenCounts action.\");\n\nexport const postmarkGetEmailOpenCounts = action(\"POSTMARK_GET_EMAIL_OPEN_COUNTS\", {\n slug: \"postmark-get-email-open-counts\",\n name: \"Get Email Open Counts\",\n description: \"Tool to retrieve counts of opened emails. Use when you need per-day and total open stats for a specified period.\",\n input: PostmarkGetEmailOpenCountsInput,\n output: PostmarkGetEmailOpenCountsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgD,EAAE,OAAO;CACpE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACxF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACxF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAM,2CAAyD,EAAE,OAAO;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC5D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B;CAChE,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC;AAC1E,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAOpD,MAAa,6BAA6B,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX4D,EAAE,OAAO;EACrE,MAAM,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-message-stream.ts
|
|
4
|
+
const PostmarkGetMessageStreamInput = zod.z.object({ streamID: zod.z.string().describe("The ID of the message stream to retrieve (e.g., 'outbound', 'inbound', or custom stream ID)") }).describe("Request model for retrieving a specific message stream by ID.");
|
|
5
|
+
const PostmarkGetMessageStream_SubscriptionManagementConfigurationSchema = zod.z.object({ UnsubscribeHandlingType: zod.z.string().describe("How unsubscribe requests are handled (e.g., 'Postmark', 'Custom')") }).describe("Subscription management configuration for the message stream.");
|
|
6
|
+
const PostmarkGetMessageStreamOutput = zod.z.object({
|
|
7
|
+
ID: zod.z.string().describe("The unique ID of the message stream"),
|
|
8
|
+
Name: zod.z.string().describe("Name of the message stream"),
|
|
9
|
+
ServerID: zod.z.number().int().describe("ID of the associated server"),
|
|
10
|
+
CreatedAt: zod.z.string().describe("Timestamp when the stream was created"),
|
|
11
|
+
UpdatedAt: zod.z.string().describe("Timestamp when the stream was last updated").nullable().optional(),
|
|
12
|
+
ArchivedAt: zod.z.string().describe("Timestamp when the stream was archived").nullable().optional(),
|
|
13
|
+
Description: zod.z.string().describe("Description of the message stream").nullable().optional(),
|
|
14
|
+
ExpectedPurgeDate: zod.z.string().describe("Expected date when the archived stream will be purged").nullable().optional(),
|
|
15
|
+
MessageStreamType: zod.z.string().describe("Type of the message stream (e.g., 'Transactional', 'Broadcasts', 'Inbound')"),
|
|
16
|
+
SubscriptionManagementConfiguration: PostmarkGetMessageStream_SubscriptionManagementConfigurationSchema.nullable()
|
|
17
|
+
}).describe("Response model for details of a specific message stream.");
|
|
18
|
+
const postmarkGetMessageStream = require_action.action("POSTMARK_GET_MESSAGE_STREAM", {
|
|
19
|
+
slug: "postmark-get-message-stream",
|
|
20
|
+
name: "Get Message Stream",
|
|
21
|
+
description: "Tool to retrieve details of a specific message stream by its ID. Use when you need to inspect stream configuration such as type, description, or subscription settings.",
|
|
22
|
+
input: PostmarkGetMessageStreamInput,
|
|
23
|
+
output: PostmarkGetMessageStreamOutput
|
|
24
|
+
});
|
|
25
|
+
//#endregion
|
|
26
|
+
exports.postmarkGetMessageStream = postmarkGetMessageStream;
|
|
27
|
+
|
|
28
|
+
//# sourceMappingURL=get-message-stream.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-message-stream.cjs","names":["z","action"],"sources":["../../src/actions/get-message-stream.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkGetMessageStreamInput: z.ZodTypeAny = z.object({\n streamID: z.string().describe(\"The ID of the message stream to retrieve (e.g., 'outbound', 'inbound', or custom stream ID)\"),\n}).describe(\"Request model for retrieving a specific message stream by ID.\");\nconst PostmarkGetMessageStream_SubscriptionManagementConfigurationSchema: z.ZodTypeAny = z.object({\n UnsubscribeHandlingType: z.string().describe(\"How unsubscribe requests are handled (e.g., 'Postmark', 'Custom')\"),\n}).describe(\"Subscription management configuration for the message stream.\");\nexport const PostmarkGetMessageStreamOutput: z.ZodTypeAny = z.object({\n ID: z.string().describe(\"The unique ID of the message stream\"),\n Name: z.string().describe(\"Name of the message stream\"),\n ServerID: z.number().int().describe(\"ID of the associated server\"),\n CreatedAt: z.string().describe(\"Timestamp when the stream was created\"),\n UpdatedAt: z.string().describe(\"Timestamp when the stream was last updated\").nullable().optional(),\n ArchivedAt: z.string().describe(\"Timestamp when the stream was archived\").nullable().optional(),\n Description: z.string().describe(\"Description of the message stream\").nullable().optional(),\n ExpectedPurgeDate: z.string().describe(\"Expected date when the archived stream will be purged\").nullable().optional(),\n MessageStreamType: z.string().describe(\"Type of the message stream (e.g., 'Transactional', 'Broadcasts', 'Inbound')\"),\n SubscriptionManagementConfiguration: PostmarkGetMessageStream_SubscriptionManagementConfigurationSchema.nullable(),\n}).describe(\"Response model for details of a specific message stream.\");\n\nexport const postmarkGetMessageStream = action(\"POSTMARK_GET_MESSAGE_STREAM\", {\n slug: \"postmark-get-message-stream\",\n name: \"Get Message Stream\",\n description: \"Tool to retrieve details of a specific message stream by its ID. Use when you need to inspect stream configuration such as type, description, or subscription settings.\",\n input: PostmarkGetMessageStreamInput,\n output: PostmarkGetMessageStreamOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8CA,IAAAA,EAAE,OAAO,EAClE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,EAC7H,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,qEAAmFA,IAAAA,EAAE,OAAO,EAChG,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,EAClH,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACtD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B;CACjE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACtE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E;CACpH,qCAAqC,mEAAmE,SAAS;AACnH,CAAC,CAAC,CAAC,SAAS,0DAA0D;AAEtE,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,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-message-stream.d.ts
|
|
4
|
+
declare const PostmarkGetMessageStreamInput: z.ZodTypeAny;
|
|
5
|
+
declare const PostmarkGetMessageStreamOutput: z.ZodTypeAny;
|
|
6
|
+
declare const postmarkGetMessageStream: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { postmarkGetMessageStream };
|
|
9
|
+
//# sourceMappingURL=get-message-stream.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-message-stream.d.cts","names":[],"sources":["../../src/actions/get-message-stream.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAE8B;AAAA,cAI/D,8BAAA,EAAgC,CAAA,CAAE,UAWwB;AAAA,cAE1D,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-message-stream.d.ts
|
|
4
|
+
declare const PostmarkGetMessageStreamInput: z.ZodTypeAny;
|
|
5
|
+
declare const PostmarkGetMessageStreamOutput: z.ZodTypeAny;
|
|
6
|
+
declare const postmarkGetMessageStream: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { postmarkGetMessageStream };
|
|
9
|
+
//# sourceMappingURL=get-message-stream.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-message-stream.d.mts","names":[],"sources":["../../src/actions/get-message-stream.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAE8B;AAAA,cAI/D,8BAAA,EAAgC,CAAA,CAAE,UAWwB;AAAA,cAE1D,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-message-stream.ts
|
|
4
|
+
const PostmarkGetMessageStreamInput = z.object({ streamID: z.string().describe("The ID of the message stream to retrieve (e.g., 'outbound', 'inbound', or custom stream ID)") }).describe("Request model for retrieving a specific message stream by ID.");
|
|
5
|
+
const PostmarkGetMessageStream_SubscriptionManagementConfigurationSchema = z.object({ UnsubscribeHandlingType: z.string().describe("How unsubscribe requests are handled (e.g., 'Postmark', 'Custom')") }).describe("Subscription management configuration for the message stream.");
|
|
6
|
+
const postmarkGetMessageStream = action("POSTMARK_GET_MESSAGE_STREAM", {
|
|
7
|
+
slug: "postmark-get-message-stream",
|
|
8
|
+
name: "Get Message Stream",
|
|
9
|
+
description: "Tool to retrieve details of a specific message stream by its ID. Use when you need to inspect stream configuration such as type, description, or subscription settings.",
|
|
10
|
+
input: PostmarkGetMessageStreamInput,
|
|
11
|
+
output: z.object({
|
|
12
|
+
ID: z.string().describe("The unique ID of the message stream"),
|
|
13
|
+
Name: z.string().describe("Name of the message stream"),
|
|
14
|
+
ServerID: z.number().int().describe("ID of the associated server"),
|
|
15
|
+
CreatedAt: z.string().describe("Timestamp when the stream was created"),
|
|
16
|
+
UpdatedAt: z.string().describe("Timestamp when the stream was last updated").nullable().optional(),
|
|
17
|
+
ArchivedAt: z.string().describe("Timestamp when the stream was archived").nullable().optional(),
|
|
18
|
+
Description: z.string().describe("Description of the message stream").nullable().optional(),
|
|
19
|
+
ExpectedPurgeDate: z.string().describe("Expected date when the archived stream will be purged").nullable().optional(),
|
|
20
|
+
MessageStreamType: z.string().describe("Type of the message stream (e.g., 'Transactional', 'Broadcasts', 'Inbound')"),
|
|
21
|
+
SubscriptionManagementConfiguration: PostmarkGetMessageStream_SubscriptionManagementConfigurationSchema.nullable()
|
|
22
|
+
}).describe("Response model for details of a specific message stream.")
|
|
23
|
+
});
|
|
24
|
+
//#endregion
|
|
25
|
+
export { postmarkGetMessageStream };
|
|
26
|
+
|
|
27
|
+
//# sourceMappingURL=get-message-stream.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-message-stream.mjs","names":[],"sources":["../../src/actions/get-message-stream.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkGetMessageStreamInput: z.ZodTypeAny = z.object({\n streamID: z.string().describe(\"The ID of the message stream to retrieve (e.g., 'outbound', 'inbound', or custom stream ID)\"),\n}).describe(\"Request model for retrieving a specific message stream by ID.\");\nconst PostmarkGetMessageStream_SubscriptionManagementConfigurationSchema: z.ZodTypeAny = z.object({\n UnsubscribeHandlingType: z.string().describe(\"How unsubscribe requests are handled (e.g., 'Postmark', 'Custom')\"),\n}).describe(\"Subscription management configuration for the message stream.\");\nexport const PostmarkGetMessageStreamOutput: z.ZodTypeAny = z.object({\n ID: z.string().describe(\"The unique ID of the message stream\"),\n Name: z.string().describe(\"Name of the message stream\"),\n ServerID: z.number().int().describe(\"ID of the associated server\"),\n CreatedAt: z.string().describe(\"Timestamp when the stream was created\"),\n UpdatedAt: z.string().describe(\"Timestamp when the stream was last updated\").nullable().optional(),\n ArchivedAt: z.string().describe(\"Timestamp when the stream was archived\").nullable().optional(),\n Description: z.string().describe(\"Description of the message stream\").nullable().optional(),\n ExpectedPurgeDate: z.string().describe(\"Expected date when the archived stream will be purged\").nullable().optional(),\n MessageStreamType: z.string().describe(\"Type of the message stream (e.g., 'Transactional', 'Broadcasts', 'Inbound')\"),\n SubscriptionManagementConfiguration: PostmarkGetMessageStream_SubscriptionManagementConfigurationSchema.nullable(),\n}).describe(\"Response model for details of a specific message stream.\");\n\nexport const postmarkGetMessageStream = action(\"POSTMARK_GET_MESSAGE_STREAM\", {\n slug: \"postmark-get-message-stream\",\n name: \"Get Message Stream\",\n description: \"Tool to retrieve details of a specific message stream by its ID. Use when you need to inspect stream configuration such as type, description, or subscription settings.\",\n input: PostmarkGetMessageStreamInput,\n output: PostmarkGetMessageStreamOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8C,EAAE,OAAO,EAClE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,EAC7H,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,qEAAmF,EAAE,OAAO,EAChG,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,EAClH,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAc3E,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAlB0D,EAAE,OAAO;EACnE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;EAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;EACtD,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B;EACjE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;EACtE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpH,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E;EACpH,qCAAqC,mEAAmE,SAAS;CACnH,CAAC,CAAC,CAAC,SAAS,0DAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-opens-by-platform.ts
|
|
4
|
+
const PostmarkGetOpensByPlatformInput = zod.z.object({
|
|
5
|
+
tag: zod.z.string().describe("Filter by tag to narrow down statistics to specific emails").optional(),
|
|
6
|
+
todate: zod.z.string().describe("Filter end date (inclusive) in YYYY-MM-DD format, e.g., '2014-02-01'").optional(),
|
|
7
|
+
fromdate: zod.z.string().describe("Filter starting date (inclusive) in YYYY-MM-DD format, e.g., '2014-01-01'").optional()
|
|
8
|
+
}).describe("Request model for fetching email open statistics by platform type.");
|
|
9
|
+
const PostmarkGetOpensByPlatform_PlatformOpenDaySchema = zod.z.object({
|
|
10
|
+
Date: zod.z.string().describe("Date in YYYY-MM-DD format"),
|
|
11
|
+
Mobile: zod.z.number().int().describe("Number of opens from mobile platforms on this day").nullable().optional(),
|
|
12
|
+
Desktop: zod.z.number().int().describe("Number of opens from desktop platforms on this day").nullable().optional(),
|
|
13
|
+
Unknown: zod.z.number().int().describe("Number of opens from unknown platforms on this day").nullable().optional(),
|
|
14
|
+
WebMail: zod.z.number().int().describe("Number of opens from webmail platforms on this day").nullable().optional()
|
|
15
|
+
}).describe("Statistics for a single day including platform-specific open counts.");
|
|
16
|
+
const PostmarkGetOpensByPlatformOutput = zod.z.object({
|
|
17
|
+
Days: zod.z.array(PostmarkGetOpensByPlatform_PlatformOpenDaySchema).describe("Array of daily platform-specific open statistics"),
|
|
18
|
+
Mobile: zod.z.number().int().describe("Total number of opens from mobile platforms").nullable().optional(),
|
|
19
|
+
Desktop: zod.z.number().int().describe("Total number of opens from desktop platforms").nullable().optional(),
|
|
20
|
+
Unknown: zod.z.number().int().describe("Total number of opens where platform could not be determined").nullable().optional(),
|
|
21
|
+
WebMail: zod.z.number().int().describe("Total number of opens from webmail platforms").nullable().optional()
|
|
22
|
+
}).describe("Response containing platform-based email open statistics.");
|
|
23
|
+
const postmarkGetOpensByPlatform = require_action.action("POSTMARK_GET_OPENS_BY_PLATFORM", {
|
|
24
|
+
slug: "postmark-get-opens-by-platform",
|
|
25
|
+
name: "Get Opens by Platform",
|
|
26
|
+
description: "Tool to retrieve email open statistics by platform type. Use when you need to understand which platforms recipients use to open emails.",
|
|
27
|
+
input: PostmarkGetOpensByPlatformInput,
|
|
28
|
+
output: PostmarkGetOpensByPlatformOutput
|
|
29
|
+
});
|
|
30
|
+
//#endregion
|
|
31
|
+
exports.postmarkGetOpensByPlatform = postmarkGetOpensByPlatform;
|
|
32
|
+
|
|
33
|
+
//# sourceMappingURL=get-opens-by-platform.cjs.map
|