@keystrokehq/postmark 0.1.4 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/archive-message-stream.cjs +1 -0
- package/dist/actions/archive-message-stream.cjs.map +1 -1
- package/dist/actions/archive-message-stream.d.cts +3 -3
- package/dist/actions/archive-message-stream.d.cts.map +1 -1
- package/dist/actions/archive-message-stream.d.mts +3 -3
- package/dist/actions/archive-message-stream.d.mts.map +1 -1
- package/dist/actions/archive-message-stream.mjs +1 -0
- package/dist/actions/archive-message-stream.mjs.map +1 -1
- package/dist/actions/check-spam-score.cjs +1 -0
- package/dist/actions/check-spam-score.cjs.map +1 -1
- package/dist/actions/check-spam-score.d.cts +3 -4
- package/dist/actions/check-spam-score.d.cts.map +1 -1
- package/dist/actions/check-spam-score.d.mts +3 -4
- package/dist/actions/check-spam-score.d.mts.map +1 -1
- package/dist/actions/check-spam-score.mjs +1 -0
- package/dist/actions/check-spam-score.mjs.map +1 -1
- package/dist/actions/create-inbound-rule.cjs +1 -0
- package/dist/actions/create-inbound-rule.cjs.map +1 -1
- package/dist/actions/create-inbound-rule.d.cts +3 -3
- package/dist/actions/create-inbound-rule.d.cts.map +1 -1
- package/dist/actions/create-inbound-rule.d.mts +3 -3
- package/dist/actions/create-inbound-rule.d.mts.map +1 -1
- package/dist/actions/create-inbound-rule.mjs +1 -0
- package/dist/actions/create-inbound-rule.mjs.map +1 -1
- package/dist/actions/create-message-stream.cjs +1 -0
- package/dist/actions/create-message-stream.cjs.map +1 -1
- package/dist/actions/create-message-stream.d.cts +3 -6
- package/dist/actions/create-message-stream.d.cts.map +1 -1
- package/dist/actions/create-message-stream.d.mts +3 -6
- package/dist/actions/create-message-stream.d.mts.map +1 -1
- package/dist/actions/create-message-stream.mjs +1 -0
- package/dist/actions/create-message-stream.mjs.map +1 -1
- package/dist/actions/create-suppressions.cjs +1 -0
- package/dist/actions/create-suppressions.cjs.map +1 -1
- package/dist/actions/create-suppressions.d.cts +3 -7
- package/dist/actions/create-suppressions.d.cts.map +1 -1
- package/dist/actions/create-suppressions.d.mts +3 -7
- package/dist/actions/create-suppressions.d.mts.map +1 -1
- package/dist/actions/create-suppressions.mjs +1 -0
- package/dist/actions/create-suppressions.mjs.map +1 -1
- package/dist/actions/create-template.cjs +1 -0
- package/dist/actions/create-template.cjs.map +1 -1
- package/dist/actions/create-template.d.cts +3 -10
- package/dist/actions/create-template.d.cts.map +1 -1
- package/dist/actions/create-template.d.mts +3 -10
- package/dist/actions/create-template.d.mts.map +1 -1
- package/dist/actions/create-template.mjs +1 -0
- package/dist/actions/create-template.mjs.map +1 -1
- package/dist/actions/create-webhook.cjs +1 -0
- package/dist/actions/create-webhook.cjs.map +1 -1
- package/dist/actions/create-webhook.d.cts +3 -36
- package/dist/actions/create-webhook.d.cts.map +1 -1
- package/dist/actions/create-webhook.d.mts +3 -36
- package/dist/actions/create-webhook.d.mts.map +1 -1
- package/dist/actions/create-webhook.mjs +1 -0
- package/dist/actions/create-webhook.mjs.map +1 -1
- package/dist/actions/delete-inbound-rule.cjs +1 -0
- package/dist/actions/delete-inbound-rule.cjs.map +1 -1
- package/dist/actions/delete-inbound-rule.d.cts +3 -3
- package/dist/actions/delete-inbound-rule.d.cts.map +1 -1
- package/dist/actions/delete-inbound-rule.d.mts +3 -3
- package/dist/actions/delete-inbound-rule.d.mts.map +1 -1
- package/dist/actions/delete-inbound-rule.mjs +1 -0
- package/dist/actions/delete-inbound-rule.mjs.map +1 -1
- package/dist/actions/delete-suppressions.cjs +1 -0
- package/dist/actions/delete-suppressions.cjs.map +1 -1
- package/dist/actions/delete-suppressions.d.cts +3 -7
- package/dist/actions/delete-suppressions.d.cts.map +1 -1
- package/dist/actions/delete-suppressions.d.mts +3 -7
- package/dist/actions/delete-suppressions.d.mts.map +1 -1
- package/dist/actions/delete-suppressions.mjs +1 -0
- package/dist/actions/delete-suppressions.mjs.map +1 -1
- package/dist/actions/delete-template.cjs +1 -0
- package/dist/actions/delete-template.cjs.map +1 -1
- package/dist/actions/delete-template.d.cts +3 -3
- package/dist/actions/delete-template.d.cts.map +1 -1
- package/dist/actions/delete-template.d.mts +3 -3
- package/dist/actions/delete-template.d.mts.map +1 -1
- package/dist/actions/delete-template.mjs +1 -0
- package/dist/actions/delete-template.mjs.map +1 -1
- package/dist/actions/delete-webhook.cjs +1 -0
- package/dist/actions/delete-webhook.cjs.map +1 -1
- package/dist/actions/delete-webhook.d.cts +3 -3
- package/dist/actions/delete-webhook.d.cts.map +1 -1
- package/dist/actions/delete-webhook.d.mts +3 -3
- package/dist/actions/delete-webhook.d.mts.map +1 -1
- package/dist/actions/delete-webhook.mjs +1 -0
- package/dist/actions/delete-webhook.mjs.map +1 -1
- package/dist/actions/edit-server.cjs +1 -0
- package/dist/actions/edit-server.cjs.map +1 -1
- package/dist/actions/edit-server.d.cts +3 -13
- package/dist/actions/edit-server.d.cts.map +1 -1
- package/dist/actions/edit-server.d.mts +3 -13
- package/dist/actions/edit-server.d.mts.map +1 -1
- package/dist/actions/edit-server.mjs +1 -0
- package/dist/actions/edit-server.mjs.map +1 -1
- package/dist/actions/edit-template.cjs +1 -0
- package/dist/actions/edit-template.cjs.map +1 -1
- package/dist/actions/edit-template.d.cts +3 -11
- package/dist/actions/edit-template.d.cts.map +1 -1
- package/dist/actions/edit-template.d.mts +3 -11
- package/dist/actions/edit-template.d.mts.map +1 -1
- package/dist/actions/edit-template.mjs +1 -0
- package/dist/actions/edit-template.mjs.map +1 -1
- package/dist/actions/edit-webhook.cjs +1 -0
- package/dist/actions/edit-webhook.cjs.map +1 -1
- package/dist/actions/edit-webhook.d.cts +3 -6
- package/dist/actions/edit-webhook.d.cts.map +1 -1
- package/dist/actions/edit-webhook.d.mts +3 -6
- package/dist/actions/edit-webhook.d.mts.map +1 -1
- package/dist/actions/edit-webhook.mjs +1 -0
- package/dist/actions/edit-webhook.mjs.map +1 -1
- package/dist/actions/get-bounce-counts.cjs +1 -0
- package/dist/actions/get-bounce-counts.cjs.map +1 -1
- package/dist/actions/get-bounce-counts.d.cts +3 -5
- package/dist/actions/get-bounce-counts.d.cts.map +1 -1
- package/dist/actions/get-bounce-counts.d.mts +3 -5
- package/dist/actions/get-bounce-counts.d.mts.map +1 -1
- package/dist/actions/get-bounce-counts.mjs +1 -0
- package/dist/actions/get-bounce-counts.mjs.map +1 -1
- package/dist/actions/get-bounces.cjs +1 -0
- package/dist/actions/get-bounces.cjs.map +1 -1
- package/dist/actions/get-bounces.d.cts +3 -12
- package/dist/actions/get-bounces.d.cts.map +1 -1
- package/dist/actions/get-bounces.d.mts +3 -12
- package/dist/actions/get-bounces.d.mts.map +1 -1
- package/dist/actions/get-bounces.mjs +1 -0
- package/dist/actions/get-bounces.mjs.map +1 -1
- package/dist/actions/get-browser-platform-usage.cjs +1 -0
- package/dist/actions/get-browser-platform-usage.cjs.map +1 -1
- package/dist/actions/get-browser-platform-usage.d.cts +3 -6
- package/dist/actions/get-browser-platform-usage.d.cts.map +1 -1
- package/dist/actions/get-browser-platform-usage.d.mts +3 -6
- package/dist/actions/get-browser-platform-usage.d.mts.map +1 -1
- package/dist/actions/get-browser-platform-usage.mjs +1 -0
- package/dist/actions/get-browser-platform-usage.mjs.map +1 -1
- package/dist/actions/get-browser-usage.cjs +1 -0
- package/dist/actions/get-browser-usage.cjs.map +1 -1
- package/dist/actions/get-browser-usage.d.cts +3 -5
- package/dist/actions/get-browser-usage.d.cts.map +1 -1
- package/dist/actions/get-browser-usage.d.mts +3 -5
- package/dist/actions/get-browser-usage.d.mts.map +1 -1
- package/dist/actions/get-browser-usage.mjs +1 -0
- package/dist/actions/get-browser-usage.mjs.map +1 -1
- package/dist/actions/get-click-counts.cjs +1 -0
- package/dist/actions/get-click-counts.cjs.map +1 -1
- package/dist/actions/get-click-counts.d.cts +3 -9
- package/dist/actions/get-click-counts.d.cts.map +1 -1
- package/dist/actions/get-click-counts.d.mts +3 -9
- package/dist/actions/get-click-counts.d.mts.map +1 -1
- package/dist/actions/get-click-counts.mjs +1 -0
- package/dist/actions/get-click-counts.mjs.map +1 -1
- package/dist/actions/get-clicks-by-browser-family.cjs +1 -0
- package/dist/actions/get-clicks-by-browser-family.cjs.map +1 -1
- package/dist/actions/get-clicks-by-browser-family.d.cts +3 -5
- package/dist/actions/get-clicks-by-browser-family.d.cts.map +1 -1
- package/dist/actions/get-clicks-by-browser-family.d.mts +3 -5
- package/dist/actions/get-clicks-by-browser-family.d.mts.map +1 -1
- package/dist/actions/get-clicks-by-browser-family.mjs +1 -0
- package/dist/actions/get-clicks-by-browser-family.mjs.map +1 -1
- package/dist/actions/get-clicks-by-location.cjs +1 -0
- package/dist/actions/get-clicks-by-location.cjs.map +1 -1
- package/dist/actions/get-clicks-by-location.d.cts +3 -5
- package/dist/actions/get-clicks-by-location.d.cts.map +1 -1
- package/dist/actions/get-clicks-by-location.d.mts +3 -5
- package/dist/actions/get-clicks-by-location.d.mts.map +1 -1
- package/dist/actions/get-clicks-by-location.mjs +1 -0
- package/dist/actions/get-clicks-by-location.mjs.map +1 -1
- package/dist/actions/get-delivery-stats.cjs +1 -0
- package/dist/actions/get-delivery-stats.cjs.map +1 -1
- package/dist/actions/get-delivery-stats.d.cts +3 -1
- package/dist/actions/get-delivery-stats.d.cts.map +1 -1
- package/dist/actions/get-delivery-stats.d.mts +3 -1
- package/dist/actions/get-delivery-stats.d.mts.map +1 -1
- package/dist/actions/get-delivery-stats.mjs +1 -0
- package/dist/actions/get-delivery-stats.mjs.map +1 -1
- package/dist/actions/get-email-client-usage.cjs +1 -0
- package/dist/actions/get-email-client-usage.cjs.map +1 -1
- package/dist/actions/get-email-client-usage.d.cts +3 -6
- package/dist/actions/get-email-client-usage.d.cts.map +1 -1
- package/dist/actions/get-email-client-usage.d.mts +3 -6
- package/dist/actions/get-email-client-usage.d.mts.map +1 -1
- package/dist/actions/get-email-client-usage.mjs +1 -0
- package/dist/actions/get-email-client-usage.mjs.map +1 -1
- package/dist/actions/get-email-open-counts.cjs +1 -0
- package/dist/actions/get-email-open-counts.cjs.map +1 -1
- package/dist/actions/get-email-open-counts.d.cts +3 -5
- package/dist/actions/get-email-open-counts.d.cts.map +1 -1
- package/dist/actions/get-email-open-counts.d.mts +3 -5
- package/dist/actions/get-email-open-counts.d.mts.map +1 -1
- package/dist/actions/get-email-open-counts.mjs +1 -0
- package/dist/actions/get-email-open-counts.mjs.map +1 -1
- package/dist/actions/get-message-stream.cjs +1 -0
- package/dist/actions/get-message-stream.cjs.map +1 -1
- package/dist/actions/get-message-stream.d.cts +3 -3
- package/dist/actions/get-message-stream.d.cts.map +1 -1
- package/dist/actions/get-message-stream.d.mts +3 -3
- package/dist/actions/get-message-stream.d.mts.map +1 -1
- package/dist/actions/get-message-stream.mjs +1 -0
- package/dist/actions/get-message-stream.mjs.map +1 -1
- package/dist/actions/get-opens-by-platform.cjs +1 -0
- package/dist/actions/get-opens-by-platform.cjs.map +1 -1
- package/dist/actions/get-opens-by-platform.d.cts +3 -5
- package/dist/actions/get-opens-by-platform.d.cts.map +1 -1
- package/dist/actions/get-opens-by-platform.d.mts +3 -5
- package/dist/actions/get-opens-by-platform.d.mts.map +1 -1
- package/dist/actions/get-opens-by-platform.mjs +1 -0
- package/dist/actions/get-opens-by-platform.mjs.map +1 -1
- package/dist/actions/get-outbound-overview.cjs +1 -0
- package/dist/actions/get-outbound-overview.cjs.map +1 -1
- package/dist/actions/get-outbound-overview.d.cts +3 -1
- package/dist/actions/get-outbound-overview.d.cts.map +1 -1
- package/dist/actions/get-outbound-overview.d.mts +3 -1
- package/dist/actions/get-outbound-overview.d.mts.map +1 -1
- package/dist/actions/get-outbound-overview.mjs +1 -0
- package/dist/actions/get-outbound-overview.mjs.map +1 -1
- package/dist/actions/get-sent-counts.cjs +1 -0
- package/dist/actions/get-sent-counts.cjs.map +1 -1
- package/dist/actions/get-sent-counts.d.cts +3 -5
- package/dist/actions/get-sent-counts.d.cts.map +1 -1
- package/dist/actions/get-sent-counts.d.mts +3 -5
- package/dist/actions/get-sent-counts.d.mts.map +1 -1
- package/dist/actions/get-sent-counts.mjs +1 -0
- package/dist/actions/get-sent-counts.mjs.map +1 -1
- package/dist/actions/get-server.cjs +1 -0
- package/dist/actions/get-server.cjs.map +1 -1
- package/dist/actions/get-server.d.cts +3 -1
- package/dist/actions/get-server.d.cts.map +1 -1
- package/dist/actions/get-server.d.mts +3 -1
- package/dist/actions/get-server.d.mts.map +1 -1
- package/dist/actions/get-server.mjs +1 -0
- package/dist/actions/get-server.mjs.map +1 -1
- package/dist/actions/get-spam-complaints.cjs +1 -0
- package/dist/actions/get-spam-complaints.cjs.map +1 -1
- package/dist/actions/get-spam-complaints.d.cts +3 -5
- package/dist/actions/get-spam-complaints.d.cts.map +1 -1
- package/dist/actions/get-spam-complaints.d.mts +3 -5
- package/dist/actions/get-spam-complaints.d.mts.map +1 -1
- package/dist/actions/get-spam-complaints.mjs +1 -0
- package/dist/actions/get-spam-complaints.mjs.map +1 -1
- package/dist/actions/get-template.cjs +1 -0
- package/dist/actions/get-template.cjs.map +1 -1
- package/dist/actions/get-template.d.cts +3 -3
- package/dist/actions/get-template.d.cts.map +1 -1
- package/dist/actions/get-template.d.mts +3 -3
- package/dist/actions/get-template.d.mts.map +1 -1
- package/dist/actions/get-template.mjs +1 -0
- package/dist/actions/get-template.mjs.map +1 -1
- package/dist/actions/get-tracked-email-counts.cjs +1 -0
- package/dist/actions/get-tracked-email-counts.cjs.map +1 -1
- package/dist/actions/get-tracked-email-counts.d.cts +3 -4
- package/dist/actions/get-tracked-email-counts.d.cts.map +1 -1
- package/dist/actions/get-tracked-email-counts.d.mts +3 -4
- package/dist/actions/get-tracked-email-counts.d.mts.map +1 -1
- package/dist/actions/get-tracked-email-counts.mjs +1 -0
- package/dist/actions/get-tracked-email-counts.mjs.map +1 -1
- package/dist/actions/get-webhook.cjs +1 -0
- package/dist/actions/get-webhook.cjs.map +1 -1
- package/dist/actions/get-webhook.d.cts +3 -3
- package/dist/actions/get-webhook.d.cts.map +1 -1
- package/dist/actions/get-webhook.d.mts +3 -3
- package/dist/actions/get-webhook.d.mts.map +1 -1
- package/dist/actions/get-webhook.mjs +1 -0
- package/dist/actions/get-webhook.mjs.map +1 -1
- package/dist/actions/list-inbound-rules.cjs +1 -0
- package/dist/actions/list-inbound-rules.cjs.map +1 -1
- package/dist/actions/list-inbound-rules.d.cts +3 -4
- package/dist/actions/list-inbound-rules.d.cts.map +1 -1
- package/dist/actions/list-inbound-rules.d.mts +3 -4
- package/dist/actions/list-inbound-rules.d.mts.map +1 -1
- package/dist/actions/list-inbound-rules.mjs +1 -0
- package/dist/actions/list-inbound-rules.mjs.map +1 -1
- package/dist/actions/list-message-streams.cjs +1 -0
- package/dist/actions/list-message-streams.cjs.map +1 -1
- package/dist/actions/list-message-streams.d.cts +3 -4
- package/dist/actions/list-message-streams.d.cts.map +1 -1
- package/dist/actions/list-message-streams.d.mts +3 -4
- package/dist/actions/list-message-streams.d.mts.map +1 -1
- package/dist/actions/list-message-streams.mjs +1 -0
- package/dist/actions/list-message-streams.mjs.map +1 -1
- package/dist/actions/list-outbound-message-clicks.cjs +1 -0
- package/dist/actions/list-outbound-message-clicks.cjs.map +1 -1
- package/dist/actions/list-outbound-message-clicks.d.cts +3 -16
- package/dist/actions/list-outbound-message-clicks.d.cts.map +1 -1
- package/dist/actions/list-outbound-message-clicks.d.mts +3 -16
- package/dist/actions/list-outbound-message-clicks.d.mts.map +1 -1
- package/dist/actions/list-outbound-message-clicks.mjs +1 -0
- package/dist/actions/list-outbound-message-clicks.mjs.map +1 -1
- package/dist/actions/list-outbound-message-opens.cjs +1 -0
- package/dist/actions/list-outbound-message-opens.cjs.map +1 -1
- package/dist/actions/list-outbound-message-opens.d.cts +3 -16
- package/dist/actions/list-outbound-message-opens.d.cts.map +1 -1
- package/dist/actions/list-outbound-message-opens.d.mts +3 -16
- package/dist/actions/list-outbound-message-opens.d.mts.map +1 -1
- package/dist/actions/list-outbound-message-opens.mjs +1 -0
- package/dist/actions/list-outbound-message-opens.mjs.map +1 -1
- package/dist/actions/list-suppressions.cjs +1 -0
- package/dist/actions/list-suppressions.cjs.map +1 -1
- package/dist/actions/list-suppressions.d.cts +3 -8
- package/dist/actions/list-suppressions.d.cts.map +1 -1
- package/dist/actions/list-suppressions.d.mts +3 -8
- package/dist/actions/list-suppressions.d.mts.map +1 -1
- package/dist/actions/list-suppressions.mjs +1 -0
- package/dist/actions/list-suppressions.mjs.map +1 -1
- package/dist/actions/list-templates.cjs +1 -0
- package/dist/actions/list-templates.cjs.map +1 -1
- package/dist/actions/list-templates.d.cts +3 -6
- package/dist/actions/list-templates.d.cts.map +1 -1
- package/dist/actions/list-templates.d.mts +3 -6
- package/dist/actions/list-templates.d.mts.map +1 -1
- package/dist/actions/list-templates.mjs +1 -0
- package/dist/actions/list-templates.mjs.map +1 -1
- package/dist/actions/list-webhooks.cjs +1 -0
- package/dist/actions/list-webhooks.cjs.map +1 -1
- package/dist/actions/list-webhooks.d.cts +3 -1
- package/dist/actions/list-webhooks.d.cts.map +1 -1
- package/dist/actions/list-webhooks.d.mts +3 -1
- package/dist/actions/list-webhooks.d.mts.map +1 -1
- package/dist/actions/list-webhooks.mjs +1 -0
- package/dist/actions/list-webhooks.mjs.map +1 -1
- package/dist/actions/search-inbound-messages.cjs +1 -0
- package/dist/actions/search-inbound-messages.cjs.map +1 -1
- package/dist/actions/search-inbound-messages.d.cts +3 -12
- package/dist/actions/search-inbound-messages.d.cts.map +1 -1
- package/dist/actions/search-inbound-messages.d.mts +3 -12
- package/dist/actions/search-inbound-messages.d.mts.map +1 -1
- package/dist/actions/search-inbound-messages.mjs +1 -0
- package/dist/actions/search-inbound-messages.mjs.map +1 -1
- package/dist/actions/search-outbound-messages.cjs +1 -0
- package/dist/actions/search-outbound-messages.cjs.map +1 -1
- package/dist/actions/search-outbound-messages.d.cts +3 -10
- package/dist/actions/search-outbound-messages.d.cts.map +1 -1
- package/dist/actions/search-outbound-messages.d.mts +3 -10
- package/dist/actions/search-outbound-messages.d.mts.map +1 -1
- package/dist/actions/search-outbound-messages.mjs +1 -0
- package/dist/actions/search-outbound-messages.mjs.map +1 -1
- package/dist/actions/send-batch-with-templates.cjs +1 -0
- package/dist/actions/send-batch-with-templates.cjs.map +1 -1
- package/dist/actions/send-batch-with-templates.d.cts +3 -30
- package/dist/actions/send-batch-with-templates.d.cts.map +1 -1
- package/dist/actions/send-batch-with-templates.d.mts +3 -30
- package/dist/actions/send-batch-with-templates.d.mts.map +1 -1
- package/dist/actions/send-batch-with-templates.mjs +1 -0
- package/dist/actions/send-batch-with-templates.mjs.map +1 -1
- package/dist/actions/unarchive-message-stream.cjs +1 -0
- package/dist/actions/unarchive-message-stream.cjs.map +1 -1
- package/dist/actions/unarchive-message-stream.d.cts +3 -3
- package/dist/actions/unarchive-message-stream.d.cts.map +1 -1
- package/dist/actions/unarchive-message-stream.d.mts +3 -3
- package/dist/actions/unarchive-message-stream.d.mts.map +1 -1
- package/dist/actions/unarchive-message-stream.mjs +1 -0
- package/dist/actions/unarchive-message-stream.mjs.map +1 -1
- package/dist/actions/update-message-stream.cjs +1 -0
- package/dist/actions/update-message-stream.cjs.map +1 -1
- package/dist/actions/update-message-stream.d.cts +3 -5
- package/dist/actions/update-message-stream.d.cts.map +1 -1
- package/dist/actions/update-message-stream.d.mts +3 -5
- package/dist/actions/update-message-stream.d.mts.map +1 -1
- package/dist/actions/update-message-stream.mjs +1 -0
- package/dist/actions/update-message-stream.mjs.map +1 -1
- package/dist/actions/validate-template.cjs +1 -0
- package/dist/actions/validate-template.cjs.map +1 -1
- package/dist/actions/validate-template.d.cts +3 -7
- package/dist/actions/validate-template.d.cts.map +1 -1
- package/dist/actions/validate-template.d.mts +3 -7
- package/dist/actions/validate-template.d.mts.map +1 -1
- package/dist/actions/validate-template.mjs +1 -0
- package/dist/actions/validate-template.mjs.map +1 -1
- package/dist/app.cjs +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +7 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +7 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -2
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
package/dist/action.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.cjs","names":["postmark","executePostmarkTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { postmark } from \"./app\";\nimport { executePostmarkTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output:
|
|
1
|
+
{"version":3,"file":"action.cjs","names":["postmark","executePostmarkTool"],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { postmark } from \"./app\";\nimport { executePostmarkTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof postmark.credential> {\n return postmark.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executePostmarkTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOwD;CACxD,OAAOA,YAAAA,SAAS,OAAO;EACrB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,oBAAoB,MAAM,KAAgC,CAAC;EAC3F;CACF,CAAC;AACH"}
|
package/dist/action.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { postmark } from \"./app\";\nimport { executePostmarkTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output:
|
|
1
|
+
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { postmark } from \"./app\";\nimport { executePostmarkTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof postmark.credential> {\n return postmark.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executePostmarkTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOwD;CACxD,OAAO,SAAS,OAAO;EACrB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,oBAAoB,MAAM,KAAgC,CAAC;EAC3F;CACF,CAAC;AACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"archive-message-stream.cjs","names":["z","action"],"sources":["../../src/actions/archive-message-stream.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkArchiveMessageStreamInput = z.object({\n stream_id: z.string().describe(\"The ID of the message stream to archive\"),\n}).describe(\"Request model for archiving a message stream (soft delete).\");\nexport const PostmarkArchiveMessageStreamOutput = z.object({\n ID: z.string().describe(\"The stream ID that was archived\").nullable(),\n ServerID: z.number().int().describe(\"The server ID the stream belongs to\").nullable(),\n ExpectedPurgeDate: z.string().describe(\"Date when stream will be permanently deleted (45 days after archiving)\").nullable(),\n}).passthrough().describe(\"Response model for archive message stream operation.\");\n\nexport const postmarkArchiveMessageStream = action(\"POSTMARK_ARCHIVE_MESSAGE_STREAM\", {\n slug: \"postmark-archive-message-stream\",\n name: \"Archive Message Stream\",\n description: \"Tool to archive a message stream (soft delete). Use when you need to remove a message stream that will be permanently deleted after 45 days.\",\n input: PostmarkArchiveMessageStreamInput,\n output: PostmarkArchiveMessageStreamOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"archive-message-stream.cjs","names":["z","action"],"sources":["../../src/actions/archive-message-stream.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { postmark } from \"../app\";\n\nexport const PostmarkArchiveMessageStreamInput = z.object({\n stream_id: z.string().describe(\"The ID of the message stream to archive\"),\n}).describe(\"Request model for archiving a message stream (soft delete).\");\nexport const PostmarkArchiveMessageStreamOutput = z.object({\n ID: z.string().describe(\"The stream ID that was archived\").nullable(),\n ServerID: z.number().int().describe(\"The server ID the stream belongs to\").nullable(),\n ExpectedPurgeDate: z.string().describe(\"Date when stream will be permanently deleted (45 days after archiving)\").nullable(),\n}).passthrough().describe(\"Response model for archive message stream operation.\");\n\nexport const postmarkArchiveMessageStream: AppAction<\n typeof PostmarkArchiveMessageStreamInput,\n typeof PostmarkArchiveMessageStreamOutput,\n typeof postmark.credential\n> = action(\"POSTMARK_ARCHIVE_MESSAGE_STREAM\", {\n slug: \"postmark-archive-message-stream\",\n name: \"Archive Message Stream\",\n description: \"Tool to archive a message stream (soft delete). Use when you need to remove a message stream that will be permanently deleted after 45 days.\",\n input: PostmarkArchiveMessageStreamInput,\n output: PostmarkArchiveMessageStreamOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,EAC1E,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACpE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACpF,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,+BAITC,eAAAA,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { postmark } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/archive-message-stream.d.ts
|
|
@@ -9,9 +11,7 @@ declare const PostmarkArchiveMessageStreamOutput: z.ZodObject<{
|
|
|
9
11
|
ServerID: z.ZodNullable<z.ZodNumber>;
|
|
10
12
|
ExpectedPurgeDate: z.ZodNullable<z.ZodString>;
|
|
11
13
|
}, z.core.$loose>;
|
|
12
|
-
declare const postmarkArchiveMessageStream:
|
|
13
|
-
stream_id: string;
|
|
14
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
14
|
+
declare const postmarkArchiveMessageStream: AppAction<typeof PostmarkArchiveMessageStreamInput, typeof PostmarkArchiveMessageStreamOutput, typeof postmark.credential>;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { postmarkArchiveMessageStream };
|
|
17
17
|
//# sourceMappingURL=archive-message-stream.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"archive-message-stream.d.cts","names":[],"sources":["../../src/actions/archive-message-stream.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"archive-message-stream.d.cts","names":[],"sources":["../../src/actions/archive-message-stream.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAGjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;cAMlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { postmark } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/archive-message-stream.d.ts
|
|
@@ -9,9 +11,7 @@ declare const PostmarkArchiveMessageStreamOutput: z.ZodObject<{
|
|
|
9
11
|
ServerID: z.ZodNullable<z.ZodNumber>;
|
|
10
12
|
ExpectedPurgeDate: z.ZodNullable<z.ZodString>;
|
|
11
13
|
}, z.core.$loose>;
|
|
12
|
-
declare const postmarkArchiveMessageStream:
|
|
13
|
-
stream_id: string;
|
|
14
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
14
|
+
declare const postmarkArchiveMessageStream: AppAction<typeof PostmarkArchiveMessageStreamInput, typeof PostmarkArchiveMessageStreamOutput, typeof postmark.credential>;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { postmarkArchiveMessageStream };
|
|
17
17
|
//# sourceMappingURL=archive-message-stream.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"archive-message-stream.d.mts","names":[],"sources":["../../src/actions/archive-message-stream.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"archive-message-stream.d.mts","names":[],"sources":["../../src/actions/archive-message-stream.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAGjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;cAMlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"archive-message-stream.mjs","names":[],"sources":["../../src/actions/archive-message-stream.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkArchiveMessageStreamInput = z.object({\n stream_id: z.string().describe(\"The ID of the message stream to archive\"),\n}).describe(\"Request model for archiving a message stream (soft delete).\");\nexport const PostmarkArchiveMessageStreamOutput = z.object({\n ID: z.string().describe(\"The stream ID that was archived\").nullable(),\n ServerID: z.number().int().describe(\"The server ID the stream belongs to\").nullable(),\n ExpectedPurgeDate: z.string().describe(\"Date when stream will be permanently deleted (45 days after archiving)\").nullable(),\n}).passthrough().describe(\"Response model for archive message stream operation.\");\n\nexport const postmarkArchiveMessageStream = action(\"POSTMARK_ARCHIVE_MESSAGE_STREAM\", {\n slug: \"postmark-archive-message-stream\",\n name: \"Archive Message Stream\",\n description: \"Tool to archive a message stream (soft delete). Use when you need to remove a message stream that will be permanently deleted after 45 days.\",\n input: PostmarkArchiveMessageStreamInput,\n output: PostmarkArchiveMessageStreamOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"archive-message-stream.mjs","names":[],"sources":["../../src/actions/archive-message-stream.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { postmark } from \"../app\";\n\nexport const PostmarkArchiveMessageStreamInput = z.object({\n stream_id: z.string().describe(\"The ID of the message stream to archive\"),\n}).describe(\"Request model for archiving a message stream (soft delete).\");\nexport const PostmarkArchiveMessageStreamOutput = z.object({\n ID: z.string().describe(\"The stream ID that was archived\").nullable(),\n ServerID: z.number().int().describe(\"The server ID the stream belongs to\").nullable(),\n ExpectedPurgeDate: z.string().describe(\"Date when stream will be permanently deleted (45 days after archiving)\").nullable(),\n}).passthrough().describe(\"Response model for archive message stream operation.\");\n\nexport const postmarkArchiveMessageStream: AppAction<\n typeof PostmarkArchiveMessageStreamInput,\n typeof PostmarkArchiveMessageStreamOutput,\n typeof postmark.credential\n> = action(\"POSTMARK_ARCHIVE_MESSAGE_STREAM\", {\n slug: \"postmark-archive-message-stream\",\n name: \"Archive Message Stream\",\n description: \"Tool to archive a message stream (soft delete). Use when you need to remove a message stream that will be permanently deleted after 45 days.\",\n input: PostmarkArchiveMessageStreamInput,\n output: PostmarkArchiveMessageStreamOutput,\n});\n"],"mappings":";;;AAeA,MAAa,+BAIT,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjB+C,EAAE,OAAO,EACxD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,EAC1E,CAAC,CAAC,CAAC,SAAS,6DAeH;CACP,QAfgD,EAAE,OAAO;EACzD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACpE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EACpF,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check-spam-score.cjs","names":["z","action"],"sources":["../../src/actions/check-spam-score.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkCheckSpamScoreInput = z.object({\n email: z.string().describe(\"Full raw email source to analyze for spam scoring\"),\n options: z.enum([\"short\", \"long\", \"summary\"]).describe(\"Detail level of the report: 'short', 'long', or 'summary'. Defaults to 'short'.\").optional(),\n}).describe(\"Request model for checking spam score of a raw email via SpamCheck API.\");\nexport const PostmarkCheckSpamScoreOutput = z.object({\n score: z.string().describe(\"Spam score calculated by SpamAssassin (as string)\").nullable(),\n report: z.string().describe(\"SpamAssassin report text detailing findings. May be absent with 'short' option.\").nullable().optional(),\n message: z.string().describe(\"Error message if the spam check failed\").nullable().optional(),\n success: z.boolean().describe(\"Indicates if the spam check was successful\").nullable(),\n}).passthrough().describe(\"Response model for spam score results from SpamCheck API.\");\n\nexport const postmarkCheckSpamScore = action(\"POSTMARK_CHECK_SPAM_SCORE\", {\n slug: \"postmark-check-spam-score\",\n name: \"Check Spam Score\",\n description: \"Tool to assess the spam score of a raw email via the SpamCheck API. Use when you have full email source and need spam scoring before sending. Returns spam score and detailed report.\",\n input: PostmarkCheckSpamScoreInput,\n output: PostmarkCheckSpamScoreOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"check-spam-score.cjs","names":["z","action"],"sources":["../../src/actions/check-spam-score.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { postmark } from \"../app\";\n\nexport const PostmarkCheckSpamScoreInput = z.object({\n email: z.string().describe(\"Full raw email source to analyze for spam scoring\"),\n options: z.enum([\"short\", \"long\", \"summary\"]).describe(\"Detail level of the report: 'short', 'long', or 'summary'. Defaults to 'short'.\").optional(),\n}).describe(\"Request model for checking spam score of a raw email via SpamCheck API.\");\nexport const PostmarkCheckSpamScoreOutput = z.object({\n score: z.string().describe(\"Spam score calculated by SpamAssassin (as string)\").nullable(),\n report: z.string().describe(\"SpamAssassin report text detailing findings. May be absent with 'short' option.\").nullable().optional(),\n message: z.string().describe(\"Error message if the spam check failed\").nullable().optional(),\n success: z.boolean().describe(\"Indicates if the spam check was successful\").nullable(),\n}).passthrough().describe(\"Response model for spam score results from SpamCheck API.\");\n\nexport const postmarkCheckSpamScore: AppAction<\n typeof PostmarkCheckSpamScoreInput,\n typeof PostmarkCheckSpamScoreOutput,\n typeof postmark.credential\n> = action(\"POSTMARK_CHECK_SPAM_SCORE\", {\n slug: \"postmark-check-spam-score\",\n name: \"Check Spam Score\",\n description: \"Tool to assess the spam score of a raw email via the SpamCheck API. Use when you have full email source and need spam scoring before sending. Returns spam score and detailed report.\",\n input: PostmarkCheckSpamScoreInput,\n output: PostmarkCheckSpamScoreOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CAC9E,SAASA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAQ;CAAS,CAAC,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;AACrJ,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACzF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AAErF,MAAa,yBAITC,eAAAA,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { postmark } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/check-spam-score.d.ts
|
|
@@ -15,10 +17,7 @@ declare const PostmarkCheckSpamScoreOutput: z.ZodObject<{
|
|
|
15
17
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
18
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
17
19
|
}, z.core.$loose>;
|
|
18
|
-
declare const postmarkCheckSpamScore:
|
|
19
|
-
email: string;
|
|
20
|
-
options?: "short" | "long" | "summary" | undefined;
|
|
21
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
20
|
+
declare const postmarkCheckSpamScore: AppAction<typeof PostmarkCheckSpamScoreInput, typeof PostmarkCheckSpamScoreOutput, typeof postmark.credential>;
|
|
22
21
|
//#endregion
|
|
23
22
|
export { postmarkCheckSpamScore };
|
|
24
23
|
//# sourceMappingURL=check-spam-score.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check-spam-score.d.cts","names":[],"sources":["../../src/actions/check-spam-score.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"check-spam-score.d.cts","names":[],"sources":["../../src/actions/check-spam-score.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;cAI3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;cAO5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { postmark } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/check-spam-score.d.ts
|
|
@@ -15,10 +17,7 @@ declare const PostmarkCheckSpamScoreOutput: z.ZodObject<{
|
|
|
15
17
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
18
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
17
19
|
}, z.core.$loose>;
|
|
18
|
-
declare const postmarkCheckSpamScore:
|
|
19
|
-
email: string;
|
|
20
|
-
options?: "short" | "long" | "summary" | undefined;
|
|
21
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
20
|
+
declare const postmarkCheckSpamScore: AppAction<typeof PostmarkCheckSpamScoreInput, typeof PostmarkCheckSpamScoreOutput, typeof postmark.credential>;
|
|
22
21
|
//#endregion
|
|
23
22
|
export { postmarkCheckSpamScore };
|
|
24
23
|
//# sourceMappingURL=check-spam-score.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check-spam-score.d.mts","names":[],"sources":["../../src/actions/check-spam-score.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"check-spam-score.d.mts","names":[],"sources":["../../src/actions/check-spam-score.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;cAI3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;cAO5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check-spam-score.mjs","names":[],"sources":["../../src/actions/check-spam-score.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkCheckSpamScoreInput = z.object({\n email: z.string().describe(\"Full raw email source to analyze for spam scoring\"),\n options: z.enum([\"short\", \"long\", \"summary\"]).describe(\"Detail level of the report: 'short', 'long', or 'summary'. Defaults to 'short'.\").optional(),\n}).describe(\"Request model for checking spam score of a raw email via SpamCheck API.\");\nexport const PostmarkCheckSpamScoreOutput = z.object({\n score: z.string().describe(\"Spam score calculated by SpamAssassin (as string)\").nullable(),\n report: z.string().describe(\"SpamAssassin report text detailing findings. May be absent with 'short' option.\").nullable().optional(),\n message: z.string().describe(\"Error message if the spam check failed\").nullable().optional(),\n success: z.boolean().describe(\"Indicates if the spam check was successful\").nullable(),\n}).passthrough().describe(\"Response model for spam score results from SpamCheck API.\");\n\nexport const postmarkCheckSpamScore = action(\"POSTMARK_CHECK_SPAM_SCORE\", {\n slug: \"postmark-check-spam-score\",\n name: \"Check Spam Score\",\n description: \"Tool to assess the spam score of a raw email via the SpamCheck API. Use when you have full email source and need spam scoring before sending. Returns spam score and detailed report.\",\n input: PostmarkCheckSpamScoreInput,\n output: PostmarkCheckSpamScoreOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"check-spam-score.mjs","names":[],"sources":["../../src/actions/check-spam-score.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { postmark } from \"../app\";\n\nexport const PostmarkCheckSpamScoreInput = z.object({\n email: z.string().describe(\"Full raw email source to analyze for spam scoring\"),\n options: z.enum([\"short\", \"long\", \"summary\"]).describe(\"Detail level of the report: 'short', 'long', or 'summary'. Defaults to 'short'.\").optional(),\n}).describe(\"Request model for checking spam score of a raw email via SpamCheck API.\");\nexport const PostmarkCheckSpamScoreOutput = z.object({\n score: z.string().describe(\"Spam score calculated by SpamAssassin (as string)\").nullable(),\n report: z.string().describe(\"SpamAssassin report text detailing findings. May be absent with 'short' option.\").nullable().optional(),\n message: z.string().describe(\"Error message if the spam check failed\").nullable().optional(),\n success: z.boolean().describe(\"Indicates if the spam check was successful\").nullable(),\n}).passthrough().describe(\"Response model for spam score results from SpamCheck API.\");\n\nexport const postmarkCheckSpamScore: AppAction<\n typeof PostmarkCheckSpamScoreInput,\n typeof PostmarkCheckSpamScoreOutput,\n typeof postmark.credential\n> = action(\"POSTMARK_CHECK_SPAM_SCORE\", {\n slug: \"postmark-check-spam-score\",\n name: \"Check Spam Score\",\n description: \"Tool to assess the spam score of a raw email via the SpamCheck API. Use when you have full email source and need spam scoring before sending. Returns spam score and detailed report.\",\n input: PostmarkCheckSpamScoreInput,\n output: PostmarkCheckSpamScoreOutput,\n});\n"],"mappings":";;;AAiBA,MAAa,yBAIT,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnByC,EAAE,OAAO;EAClD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;EAC9E,SAAS,EAAE,KAAK;GAAC;GAAS;GAAQ;EAAS,CAAC,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CACrJ,CAAC,CAAC,CAAC,SAAS,yEAgBH;CACP,QAhB0C,EAAE,OAAO;EACnD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EACzF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnI,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-inbound-rule.cjs","names":["z","action"],"sources":["../../src/actions/create-inbound-rule.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkCreateInboundRuleInput = z.object({\n Rule: z.string().describe(\"Email address or domain to block from inbound messages (e.g., 'spam@example.com' or 'baddomain.com')\"),\n}).describe(\"Request model for creating a new inbound rule to block email from a specific sender.\");\nexport const PostmarkCreateInboundRuleOutput = z.object({\n ID: z.number().int().describe(\"Unique ID of the trigger\").nullable(),\n Rule: z.string().describe(\"Email address (or domain) that you would like to block from sending\").nullable(),\n}).passthrough().describe(\"Response model for the newly created inbound rule trigger.\");\n\nexport const postmarkCreateInboundRule = action(\"POSTMARK_CREATE_INBOUND_RULE\", {\n slug: \"postmark-create-inbound-rule\",\n name: \"Create Inbound Rule\",\n description: \"Tool to create a new inbound rule trigger to block email from a specific sender or domain. Use when you need to prevent emails from specific addresses or domains from being processed.\",\n input: PostmarkCreateInboundRuleInput,\n output: PostmarkCreateInboundRuleOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-inbound-rule.cjs","names":["z","action"],"sources":["../../src/actions/create-inbound-rule.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { postmark } from \"../app\";\n\nexport const PostmarkCreateInboundRuleInput = z.object({\n Rule: z.string().describe(\"Email address or domain to block from inbound messages (e.g., 'spam@example.com' or 'baddomain.com')\"),\n}).describe(\"Request model for creating a new inbound rule to block email from a specific sender.\");\nexport const PostmarkCreateInboundRuleOutput = z.object({\n ID: z.number().int().describe(\"Unique ID of the trigger\").nullable(),\n Rule: z.string().describe(\"Email address (or domain) that you would like to block from sending\").nullable(),\n}).passthrough().describe(\"Response model for the newly created inbound rule trigger.\");\n\nexport const postmarkCreateInboundRule: AppAction<\n typeof PostmarkCreateInboundRuleInput,\n typeof PostmarkCreateInboundRuleOutput,\n typeof postmark.credential\n> = action(\"POSTMARK_CREATE_INBOUND_RULE\", {\n slug: \"postmark-create-inbound-rule\",\n name: \"Create Inbound Rule\",\n description: \"Tool to create a new inbound rule trigger to block email from a specific sender or domain. Use when you need to prevent emails from specific addresses or domains from being processed.\",\n input: PostmarkCreateInboundRuleInput,\n output: PostmarkCreateInboundRuleOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,EAClI,CAAC,CAAC,CAAC,SAAS,sFAAsF;AAClG,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AAEtF,MAAa,4BAITC,eAAAA,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { postmark } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-inbound-rule.d.ts
|
|
@@ -8,9 +10,7 @@ declare const PostmarkCreateInboundRuleOutput: z.ZodObject<{
|
|
|
8
10
|
ID: z.ZodNullable<z.ZodNumber>;
|
|
9
11
|
Rule: z.ZodNullable<z.ZodString>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const postmarkCreateInboundRule:
|
|
12
|
-
Rule: string;
|
|
13
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
13
|
+
declare const postmarkCreateInboundRule: AppAction<typeof PostmarkCreateInboundRuleInput, typeof PostmarkCreateInboundRuleOutput, typeof postmark.credential>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { postmarkCreateInboundRule };
|
|
16
16
|
//# sourceMappingURL=create-inbound-rule.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-inbound-rule.d.cts","names":[],"sources":["../../src/actions/create-inbound-rule.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-inbound-rule.d.cts","names":[],"sources":["../../src/actions/create-inbound-rule.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAG9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAK/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { postmark } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-inbound-rule.d.ts
|
|
@@ -8,9 +10,7 @@ declare const PostmarkCreateInboundRuleOutput: z.ZodObject<{
|
|
|
8
10
|
ID: z.ZodNullable<z.ZodNumber>;
|
|
9
11
|
Rule: z.ZodNullable<z.ZodString>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const postmarkCreateInboundRule:
|
|
12
|
-
Rule: string;
|
|
13
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
13
|
+
declare const postmarkCreateInboundRule: AppAction<typeof PostmarkCreateInboundRuleInput, typeof PostmarkCreateInboundRuleOutput, typeof postmark.credential>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { postmarkCreateInboundRule };
|
|
16
16
|
//# sourceMappingURL=create-inbound-rule.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-inbound-rule.d.mts","names":[],"sources":["../../src/actions/create-inbound-rule.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-inbound-rule.d.mts","names":[],"sources":["../../src/actions/create-inbound-rule.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAG9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAK/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-inbound-rule.mjs","names":[],"sources":["../../src/actions/create-inbound-rule.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkCreateInboundRuleInput = z.object({\n Rule: z.string().describe(\"Email address or domain to block from inbound messages (e.g., 'spam@example.com' or 'baddomain.com')\"),\n}).describe(\"Request model for creating a new inbound rule to block email from a specific sender.\");\nexport const PostmarkCreateInboundRuleOutput = z.object({\n ID: z.number().int().describe(\"Unique ID of the trigger\").nullable(),\n Rule: z.string().describe(\"Email address (or domain) that you would like to block from sending\").nullable(),\n}).passthrough().describe(\"Response model for the newly created inbound rule trigger.\");\n\nexport const postmarkCreateInboundRule = action(\"POSTMARK_CREATE_INBOUND_RULE\", {\n slug: \"postmark-create-inbound-rule\",\n name: \"Create Inbound Rule\",\n description: \"Tool to create a new inbound rule trigger to block email from a specific sender or domain. Use when you need to prevent emails from specific addresses or domains from being processed.\",\n input: PostmarkCreateInboundRuleInput,\n output: PostmarkCreateInboundRuleOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-inbound-rule.mjs","names":[],"sources":["../../src/actions/create-inbound-rule.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { postmark } from \"../app\";\n\nexport const PostmarkCreateInboundRuleInput = z.object({\n Rule: z.string().describe(\"Email address or domain to block from inbound messages (e.g., 'spam@example.com' or 'baddomain.com')\"),\n}).describe(\"Request model for creating a new inbound rule to block email from a specific sender.\");\nexport const PostmarkCreateInboundRuleOutput = z.object({\n ID: z.number().int().describe(\"Unique ID of the trigger\").nullable(),\n Rule: z.string().describe(\"Email address (or domain) that you would like to block from sending\").nullable(),\n}).passthrough().describe(\"Response model for the newly created inbound rule trigger.\");\n\nexport const postmarkCreateInboundRule: AppAction<\n typeof PostmarkCreateInboundRuleInput,\n typeof PostmarkCreateInboundRuleOutput,\n typeof postmark.credential\n> = action(\"POSTMARK_CREATE_INBOUND_RULE\", {\n slug: \"postmark-create-inbound-rule\",\n name: \"Create Inbound Rule\",\n description: \"Tool to create a new inbound rule trigger to block email from a specific sender or domain. Use when you need to prevent emails from specific addresses or domains from being processed.\",\n input: PostmarkCreateInboundRuleInput,\n output: PostmarkCreateInboundRuleOutput,\n});\n"],"mappings":";;;AAcA,MAAa,4BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB4C,EAAE,OAAO,EACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,EAClI,CAAC,CAAC,CAAC,SAAS,sFAcH;CACP,QAd6C,EAAE,OAAO;EACtD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-message-stream.cjs","names":["z","action"],"sources":["../../src/actions/create-message-stream.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkCreateMessageStreamInput = z.object({\n ID: z.string().describe(\"The stream identifier (e.g., 'transactional-dev'). Must be unique within the server.\"),\n Name: z.string().describe(\"The name of the message stream\"),\n Description: z.string().describe(\"A description of the message stream\").optional(),\n MessageStreamType: z.enum([\"Transactional\", \"Broadcasts\"]).describe(\"The type of stream: either 'Transactional' for transactional emails or 'Broadcasts' for marketing emails\"),\n}).describe(\"Request model for creating a new message stream in Postmark.\");\nconst PostmarkCreateMessageStream_SubscriptionManagementConfigurationSchema = z.object({\n UnsubscribeHandlingType: z.string().describe(\"Unsubscribe handling type\").nullable(),\n}).passthrough().describe(\"Subscription management configuration for the message stream.\");\nexport const PostmarkCreateMessageStreamOutput = z.object({\n ID: z.string().describe(\"The stream identifier\").nullable(),\n Name: z.string().describe(\"The stream name\").nullable(),\n ServerID: z.number().int().describe(\"The server ID number\").nullable(),\n CreatedAt: z.string().describe(\"Timestamp when the stream was created\").nullable(),\n UpdatedAt: z.string().describe(\"Timestamp of last update\").nullable().optional(),\n ArchivedAt: z.string().describe(\"Timestamp if archived\").nullable().optional(),\n Description: z.string().describe(\"Description of the message stream\").nullable().optional(),\n MessageStreamType: z.enum([\"Transactional\", \"Broadcasts\"]).describe(\"The type of stream: either 'Transactional' or 'Broadcasts'\").nullable(),\n SubscriptionManagementConfiguration: PostmarkCreateMessageStream_SubscriptionManagementConfigurationSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for the newly created message stream.\");\n\nexport const postmarkCreateMessageStream = action(\"POSTMARK_CREATE_MESSAGE_STREAM\", {\n slug: \"postmark-create-message-stream\",\n name: \"Create Message Stream\",\n description: \"Tool to create a new message stream. Use when you need to set up separate streams for transactional or broadcast emails.\",\n input: PostmarkCreateMessageStreamInput,\n output: PostmarkCreateMessageStreamOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-message-stream.cjs","names":["z","action"],"sources":["../../src/actions/create-message-stream.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { postmark } from \"../app\";\n\nexport const PostmarkCreateMessageStreamInput = z.object({\n ID: z.string().describe(\"The stream identifier (e.g., 'transactional-dev'). Must be unique within the server.\"),\n Name: z.string().describe(\"The name of the message stream\"),\n Description: z.string().describe(\"A description of the message stream\").optional(),\n MessageStreamType: z.enum([\"Transactional\", \"Broadcasts\"]).describe(\"The type of stream: either 'Transactional' for transactional emails or 'Broadcasts' for marketing emails\"),\n}).describe(\"Request model for creating a new message stream in Postmark.\");\nconst PostmarkCreateMessageStream_SubscriptionManagementConfigurationSchema = z.object({\n UnsubscribeHandlingType: z.string().describe(\"Unsubscribe handling type\").nullable(),\n}).passthrough().describe(\"Subscription management configuration for the message stream.\");\nexport const PostmarkCreateMessageStreamOutput = z.object({\n ID: z.string().describe(\"The stream identifier\").nullable(),\n Name: z.string().describe(\"The stream name\").nullable(),\n ServerID: z.number().int().describe(\"The server ID number\").nullable(),\n CreatedAt: z.string().describe(\"Timestamp when the stream was created\").nullable(),\n UpdatedAt: z.string().describe(\"Timestamp of last update\").nullable().optional(),\n ArchivedAt: z.string().describe(\"Timestamp if archived\").nullable().optional(),\n Description: z.string().describe(\"Description of the message stream\").nullable().optional(),\n MessageStreamType: z.enum([\"Transactional\", \"Broadcasts\"]).describe(\"The type of stream: either 'Transactional' or 'Broadcasts'\").nullable(),\n SubscriptionManagementConfiguration: PostmarkCreateMessageStream_SubscriptionManagementConfigurationSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for the newly created message stream.\");\n\nexport const postmarkCreateMessageStream: AppAction<\n typeof PostmarkCreateMessageStreamInput,\n typeof PostmarkCreateMessageStreamOutput,\n typeof postmark.credential\n> = action(\"POSTMARK_CREATE_MESSAGE_STREAM\", {\n slug: \"postmark-create-message-stream\",\n name: \"Create Message Stream\",\n description: \"Tool to create a new message stream. Use when you need to set up separate streams for transactional or broadcast emails.\",\n input: PostmarkCreateMessageStreamInput,\n output: PostmarkCreateMessageStreamOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF;CAC9G,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC1D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACjF,mBAAmBA,IAAAA,EAAE,KAAK,CAAC,iBAAiB,YAAY,CAAC,CAAC,CAAC,SAAS,0GAA0G;AAChL,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,wEAAwEA,IAAAA,EAAE,OAAO,EACrF,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,EACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAA+D;AACzF,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACtD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACrE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACjF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,mBAAmBA,IAAAA,EAAE,KAAK,CAAC,iBAAiB,YAAY,CAAC,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CAC3I,qCAAqC,sEAAsE,SAAS,CAAC,CAAC,SAAS;AACjI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,8BAITC,eAAAA,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { postmark } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-message-stream.d.ts
|
|
@@ -26,12 +28,7 @@ declare const PostmarkCreateMessageStreamOutput: z.ZodObject<{
|
|
|
26
28
|
UnsubscribeHandlingType: z.ZodNullable<z.ZodString>;
|
|
27
29
|
}, z.core.$loose>>>;
|
|
28
30
|
}, z.core.$loose>;
|
|
29
|
-
declare const postmarkCreateMessageStream:
|
|
30
|
-
ID: string;
|
|
31
|
-
Name: string;
|
|
32
|
-
MessageStreamType: "Transactional" | "Broadcasts";
|
|
33
|
-
Description?: string | undefined;
|
|
34
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
31
|
+
declare const postmarkCreateMessageStream: AppAction<typeof PostmarkCreateMessageStreamInput, typeof PostmarkCreateMessageStreamOutput, typeof postmark.credential>;
|
|
35
32
|
//#endregion
|
|
36
33
|
export { postmarkCreateMessageStream };
|
|
37
34
|
//# sourceMappingURL=create-message-stream.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-message-stream.d.cts","names":[],"sources":["../../src/actions/create-message-stream.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-message-stream.d.cts","names":[],"sources":["../../src/actions/create-message-stream.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;cAShC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAYjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { postmark } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-message-stream.d.ts
|
|
@@ -26,12 +28,7 @@ declare const PostmarkCreateMessageStreamOutput: z.ZodObject<{
|
|
|
26
28
|
UnsubscribeHandlingType: z.ZodNullable<z.ZodString>;
|
|
27
29
|
}, z.core.$loose>>>;
|
|
28
30
|
}, z.core.$loose>;
|
|
29
|
-
declare const postmarkCreateMessageStream:
|
|
30
|
-
ID: string;
|
|
31
|
-
Name: string;
|
|
32
|
-
MessageStreamType: "Transactional" | "Broadcasts";
|
|
33
|
-
Description?: string | undefined;
|
|
34
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
31
|
+
declare const postmarkCreateMessageStream: AppAction<typeof PostmarkCreateMessageStreamInput, typeof PostmarkCreateMessageStreamOutput, typeof postmark.credential>;
|
|
35
32
|
//#endregion
|
|
36
33
|
export { postmarkCreateMessageStream };
|
|
37
34
|
//# sourceMappingURL=create-message-stream.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-message-stream.d.mts","names":[],"sources":["../../src/actions/create-message-stream.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-message-stream.d.mts","names":[],"sources":["../../src/actions/create-message-stream.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;cAShC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAYjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-message-stream.mjs","names":[],"sources":["../../src/actions/create-message-stream.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkCreateMessageStreamInput = z.object({\n ID: z.string().describe(\"The stream identifier (e.g., 'transactional-dev'). Must be unique within the server.\"),\n Name: z.string().describe(\"The name of the message stream\"),\n Description: z.string().describe(\"A description of the message stream\").optional(),\n MessageStreamType: z.enum([\"Transactional\", \"Broadcasts\"]).describe(\"The type of stream: either 'Transactional' for transactional emails or 'Broadcasts' for marketing emails\"),\n}).describe(\"Request model for creating a new message stream in Postmark.\");\nconst PostmarkCreateMessageStream_SubscriptionManagementConfigurationSchema = z.object({\n UnsubscribeHandlingType: z.string().describe(\"Unsubscribe handling type\").nullable(),\n}).passthrough().describe(\"Subscription management configuration for the message stream.\");\nexport const PostmarkCreateMessageStreamOutput = z.object({\n ID: z.string().describe(\"The stream identifier\").nullable(),\n Name: z.string().describe(\"The stream name\").nullable(),\n ServerID: z.number().int().describe(\"The server ID number\").nullable(),\n CreatedAt: z.string().describe(\"Timestamp when the stream was created\").nullable(),\n UpdatedAt: z.string().describe(\"Timestamp of last update\").nullable().optional(),\n ArchivedAt: z.string().describe(\"Timestamp if archived\").nullable().optional(),\n Description: z.string().describe(\"Description of the message stream\").nullable().optional(),\n MessageStreamType: z.enum([\"Transactional\", \"Broadcasts\"]).describe(\"The type of stream: either 'Transactional' or 'Broadcasts'\").nullable(),\n SubscriptionManagementConfiguration: PostmarkCreateMessageStream_SubscriptionManagementConfigurationSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for the newly created message stream.\");\n\nexport const postmarkCreateMessageStream = action(\"POSTMARK_CREATE_MESSAGE_STREAM\", {\n slug: \"postmark-create-message-stream\",\n name: \"Create Message Stream\",\n description: \"Tool to create a new message stream. Use when you need to set up separate streams for transactional or broadcast emails.\",\n input: PostmarkCreateMessageStreamInput,\n output: PostmarkCreateMessageStreamOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-message-stream.mjs","names":[],"sources":["../../src/actions/create-message-stream.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { postmark } from \"../app\";\n\nexport const PostmarkCreateMessageStreamInput = z.object({\n ID: z.string().describe(\"The stream identifier (e.g., 'transactional-dev'). Must be unique within the server.\"),\n Name: z.string().describe(\"The name of the message stream\"),\n Description: z.string().describe(\"A description of the message stream\").optional(),\n MessageStreamType: z.enum([\"Transactional\", \"Broadcasts\"]).describe(\"The type of stream: either 'Transactional' for transactional emails or 'Broadcasts' for marketing emails\"),\n}).describe(\"Request model for creating a new message stream in Postmark.\");\nconst PostmarkCreateMessageStream_SubscriptionManagementConfigurationSchema = z.object({\n UnsubscribeHandlingType: z.string().describe(\"Unsubscribe handling type\").nullable(),\n}).passthrough().describe(\"Subscription management configuration for the message stream.\");\nexport const PostmarkCreateMessageStreamOutput = z.object({\n ID: z.string().describe(\"The stream identifier\").nullable(),\n Name: z.string().describe(\"The stream name\").nullable(),\n ServerID: z.number().int().describe(\"The server ID number\").nullable(),\n CreatedAt: z.string().describe(\"Timestamp when the stream was created\").nullable(),\n UpdatedAt: z.string().describe(\"Timestamp of last update\").nullable().optional(),\n ArchivedAt: z.string().describe(\"Timestamp if archived\").nullable().optional(),\n Description: z.string().describe(\"Description of the message stream\").nullable().optional(),\n MessageStreamType: z.enum([\"Transactional\", \"Broadcasts\"]).describe(\"The type of stream: either 'Transactional' or 'Broadcasts'\").nullable(),\n SubscriptionManagementConfiguration: PostmarkCreateMessageStream_SubscriptionManagementConfigurationSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for the newly created message stream.\");\n\nexport const postmarkCreateMessageStream: AppAction<\n typeof PostmarkCreateMessageStreamInput,\n typeof PostmarkCreateMessageStreamOutput,\n typeof postmark.credential\n> = action(\"POSTMARK_CREATE_MESSAGE_STREAM\", {\n slug: \"postmark-create-message-stream\",\n name: \"Create Message Stream\",\n description: \"Tool to create a new message stream. Use when you need to set up separate streams for transactional or broadcast emails.\",\n input: PostmarkCreateMessageStreamInput,\n output: PostmarkCreateMessageStreamOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmC,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF;CAC9G,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC1D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACjF,mBAAmB,EAAE,KAAK,CAAC,iBAAiB,YAAY,CAAC,CAAC,CAAC,SAAS,0GAA0G;AAChL,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,wEAAwE,EAAE,OAAO,EACrF,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,EACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAA+D;AAazF,MAAa,8BAIT,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QArB+C,EAAE,OAAO;EACxD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;EACtD,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EACrE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EACjF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,mBAAmB,EAAE,KAAK,CAAC,iBAAiB,YAAY,CAAC,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;EAC3I,qCAAqC,sEAAsE,SAAS,CAAC,CAAC,SAAS;CACjI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-suppressions.cjs","names":["z","action"],"sources":["../../src/actions/create-suppressions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkCreateSuppressionsInput = z.object({\n stream_id: z.string().describe(\"The message stream ID (e.g., 'outbound', 'broadcast')\"),\n Suppressions: z.array(z.object({\n EmailAddress: z.string().describe(\"Email address to add to the suppression list\"),\n}).passthrough().describe(\"Model for a single email address to suppress.\")).describe(\"Array of email addresses to suppress (max 50 per request)\"),\n}).describe(\"Request model for creating suppression entries for a message stream.\");\nconst PostmarkCreateSuppressions_SuppressionStatusSchema = z.enum([\"Suppressed\", \"Failed\"]).describe(\"Status of a suppression request.\");\nconst PostmarkCreateSuppressions_SuppressionResultSchema = z.object({\n Status: PostmarkCreateSuppressions_SuppressionStatusSchema.nullable(),\n Message: z.string().describe(\"Error message if status is Failed, null if successful\").nullable().optional(),\n EmailAddress: z.string().describe(\"The targeted email address\").nullable(),\n}).passthrough().describe(\"Result for a single suppression entry.\");\nexport const PostmarkCreateSuppressionsOutput = z.object({\n Suppressions: z.array(PostmarkCreateSuppressions_SuppressionResultSchema).describe(\"Array of suppression results with status for each email\"),\n}).passthrough().describe(\"Response model for creating suppressions.\");\n\nexport const postmarkCreateSuppressions = action(\"POSTMARK_CREATE_SUPPRESSIONS\", {\n slug: \"postmark-create-suppressions\",\n name: \"Create Suppressions\",\n description: \"Tool to add email addresses to the suppression list for a message stream. Use when you need to prevent emails from being sent to specific addresses.\",\n input: PostmarkCreateSuppressionsInput,\n output: PostmarkCreateSuppressionsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-suppressions.cjs","names":["z","action"],"sources":["../../src/actions/create-suppressions.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { postmark } from \"../app\";\n\nexport const PostmarkCreateSuppressionsInput = z.object({\n stream_id: z.string().describe(\"The message stream ID (e.g., 'outbound', 'broadcast')\"),\n Suppressions: z.array(z.object({\n EmailAddress: z.string().describe(\"Email address to add to the suppression list\"),\n}).passthrough().describe(\"Model for a single email address to suppress.\")).describe(\"Array of email addresses to suppress (max 50 per request)\"),\n}).describe(\"Request model for creating suppression entries for a message stream.\");\nconst PostmarkCreateSuppressions_SuppressionStatusSchema = z.enum([\"Suppressed\", \"Failed\"]).describe(\"Status of a suppression request.\");\nconst PostmarkCreateSuppressions_SuppressionResultSchema = z.object({\n Status: PostmarkCreateSuppressions_SuppressionStatusSchema.nullable(),\n Message: z.string().describe(\"Error message if status is Failed, null if successful\").nullable().optional(),\n EmailAddress: z.string().describe(\"The targeted email address\").nullable(),\n}).passthrough().describe(\"Result for a single suppression entry.\");\nexport const PostmarkCreateSuppressionsOutput = z.object({\n Suppressions: z.array(PostmarkCreateSuppressions_SuppressionResultSchema).describe(\"Array of suppression results with status for each email\"),\n}).passthrough().describe(\"Response model for creating suppressions.\");\n\nexport const postmarkCreateSuppressions: AppAction<\n typeof PostmarkCreateSuppressionsInput,\n typeof PostmarkCreateSuppressionsOutput,\n typeof postmark.credential\n> = action(\"POSTMARK_CREATE_SUPPRESSIONS\", {\n slug: \"postmark-create-suppressions\",\n name: \"Create Suppressions\",\n description: \"Tool to add email addresses to the suppression list for a message stream. Use when you need to prevent emails from being sent to specific addresses.\",\n input: PostmarkCreateSuppressionsInput,\n output: PostmarkCreateSuppressionsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACtF,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,EAC/B,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,EAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,CAAC,SAAS,2DAA2D;AAChJ,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAM,qDAAqDA,IAAAA,EAAE,KAAK,CAAC,cAAc,QAAQ,CAAC,CAAC,CAAC,SAAS,kCAAkC;AACvI,MAAM,qDAAqDA,IAAAA,EAAE,OAAO;CAClE,QAAQ,mDAAmD,SAAS;CACpE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,cAAcA,IAAAA,EAAE,MAAM,kDAAkD,CAAC,CAAC,SAAS,yDAAyD,EAC9I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,6BAITC,eAAAA,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { postmark } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-suppressions.d.ts
|
|
@@ -17,13 +19,7 @@ declare const PostmarkCreateSuppressionsOutput: z.ZodObject<{
|
|
|
17
19
|
EmailAddress: z.ZodNullable<z.ZodString>;
|
|
18
20
|
}, z.core.$loose>>;
|
|
19
21
|
}, z.core.$loose>;
|
|
20
|
-
declare const postmarkCreateSuppressions:
|
|
21
|
-
stream_id: string;
|
|
22
|
-
Suppressions: {
|
|
23
|
-
[x: string]: unknown;
|
|
24
|
-
EmailAddress: string;
|
|
25
|
-
}[];
|
|
26
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
22
|
+
declare const postmarkCreateSuppressions: AppAction<typeof PostmarkCreateSuppressionsInput, typeof PostmarkCreateSuppressionsOutput, typeof postmark.credential>;
|
|
27
23
|
//#endregion
|
|
28
24
|
export { postmarkCreateSuppressions };
|
|
29
25
|
//# sourceMappingURL=create-suppressions.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-suppressions.d.cts","names":[],"sources":["../../src/actions/create-suppressions.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-suppressions.d.cts","names":[],"sources":["../../src/actions/create-suppressions.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;cAY/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;cAIhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { postmark } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-suppressions.d.ts
|
|
@@ -17,13 +19,7 @@ declare const PostmarkCreateSuppressionsOutput: z.ZodObject<{
|
|
|
17
19
|
EmailAddress: z.ZodNullable<z.ZodString>;
|
|
18
20
|
}, z.core.$loose>>;
|
|
19
21
|
}, z.core.$loose>;
|
|
20
|
-
declare const postmarkCreateSuppressions:
|
|
21
|
-
stream_id: string;
|
|
22
|
-
Suppressions: {
|
|
23
|
-
[x: string]: unknown;
|
|
24
|
-
EmailAddress: string;
|
|
25
|
-
}[];
|
|
26
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
22
|
+
declare const postmarkCreateSuppressions: AppAction<typeof PostmarkCreateSuppressionsInput, typeof PostmarkCreateSuppressionsOutput, typeof postmark.credential>;
|
|
27
23
|
//#endregion
|
|
28
24
|
export { postmarkCreateSuppressions };
|
|
29
25
|
//# sourceMappingURL=create-suppressions.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-suppressions.d.mts","names":[],"sources":["../../src/actions/create-suppressions.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-suppressions.d.mts","names":[],"sources":["../../src/actions/create-suppressions.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;cAY/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;cAIhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-suppressions.mjs","names":[],"sources":["../../src/actions/create-suppressions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkCreateSuppressionsInput = z.object({\n stream_id: z.string().describe(\"The message stream ID (e.g., 'outbound', 'broadcast')\"),\n Suppressions: z.array(z.object({\n EmailAddress: z.string().describe(\"Email address to add to the suppression list\"),\n}).passthrough().describe(\"Model for a single email address to suppress.\")).describe(\"Array of email addresses to suppress (max 50 per request)\"),\n}).describe(\"Request model for creating suppression entries for a message stream.\");\nconst PostmarkCreateSuppressions_SuppressionStatusSchema = z.enum([\"Suppressed\", \"Failed\"]).describe(\"Status of a suppression request.\");\nconst PostmarkCreateSuppressions_SuppressionResultSchema = z.object({\n Status: PostmarkCreateSuppressions_SuppressionStatusSchema.nullable(),\n Message: z.string().describe(\"Error message if status is Failed, null if successful\").nullable().optional(),\n EmailAddress: z.string().describe(\"The targeted email address\").nullable(),\n}).passthrough().describe(\"Result for a single suppression entry.\");\nexport const PostmarkCreateSuppressionsOutput = z.object({\n Suppressions: z.array(PostmarkCreateSuppressions_SuppressionResultSchema).describe(\"Array of suppression results with status for each email\"),\n}).passthrough().describe(\"Response model for creating suppressions.\");\n\nexport const postmarkCreateSuppressions = action(\"POSTMARK_CREATE_SUPPRESSIONS\", {\n slug: \"postmark-create-suppressions\",\n name: \"Create Suppressions\",\n description: \"Tool to add email addresses to the suppression list for a message stream. Use when you need to prevent emails from being sent to specific addresses.\",\n input: PostmarkCreateSuppressionsInput,\n output: PostmarkCreateSuppressionsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-suppressions.mjs","names":[],"sources":["../../src/actions/create-suppressions.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { postmark } from \"../app\";\n\nexport const PostmarkCreateSuppressionsInput = z.object({\n stream_id: z.string().describe(\"The message stream ID (e.g., 'outbound', 'broadcast')\"),\n Suppressions: z.array(z.object({\n EmailAddress: z.string().describe(\"Email address to add to the suppression list\"),\n}).passthrough().describe(\"Model for a single email address to suppress.\")).describe(\"Array of email addresses to suppress (max 50 per request)\"),\n}).describe(\"Request model for creating suppression entries for a message stream.\");\nconst PostmarkCreateSuppressions_SuppressionStatusSchema = z.enum([\"Suppressed\", \"Failed\"]).describe(\"Status of a suppression request.\");\nconst PostmarkCreateSuppressions_SuppressionResultSchema = z.object({\n Status: PostmarkCreateSuppressions_SuppressionStatusSchema.nullable(),\n Message: z.string().describe(\"Error message if status is Failed, null if successful\").nullable().optional(),\n EmailAddress: z.string().describe(\"The targeted email address\").nullable(),\n}).passthrough().describe(\"Result for a single suppression entry.\");\nexport const PostmarkCreateSuppressionsOutput = z.object({\n Suppressions: z.array(PostmarkCreateSuppressions_SuppressionResultSchema).describe(\"Array of suppression results with status for each email\"),\n}).passthrough().describe(\"Response model for creating suppressions.\");\n\nexport const postmarkCreateSuppressions: AppAction<\n typeof PostmarkCreateSuppressionsInput,\n typeof PostmarkCreateSuppressionsOutput,\n typeof postmark.credential\n> = action(\"POSTMARK_CREATE_SUPPRESSIONS\", {\n slug: \"postmark-create-suppressions\",\n name: \"Create Suppressions\",\n description: \"Tool to add email addresses to the suppression list for a message stream. Use when you need to prevent emails from being sent to specific addresses.\",\n input: PostmarkCreateSuppressionsInput,\n output: PostmarkCreateSuppressionsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkC,EAAE,OAAO;CACtD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACtF,cAAc,EAAE,MAAM,EAAE,OAAO,EAC/B,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,EAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,CAAC,SAAS,2DAA2D;AAChJ,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAM,qDAAqD,EAAE,KAAK,CAAC,cAAc,QAAQ,CAAC,CAAC,CAAC,SAAS,kCAAkC;AACvI,MAAM,qDAAqD,EAAE,OAAO;CAClE,QAAQ,mDAAmD,SAAS;CACpE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAKlE,MAAa,6BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb8C,EAAE,OAAO,EACvD,cAAc,EAAE,MAAM,kDAAkD,CAAC,CAAC,SAAS,yDAAyD,EAC9I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-template.cjs","names":["z","action"],"sources":["../../src/actions/create-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkCreateTemplateInput = z.object({\n Name: z.string().describe(\"Template name (max 255 characters)\"),\n Alias: z.string().describe(\"Unique template alias (max 100 characters)\").optional(),\n Subject: z.string().describe(\"Template subject line, can include variables, e.g., {{name}}\"),\n HtmlBody: z.string().describe(\"HTML content of the template\"),\n TextBody: z.string().describe(\"Plain text content of the template\"),\n TemplateType: z.enum([\"Standard\", \"Layout\"]).describe(\"Type of the template: 'Standard' or 'Layout'\"),\n LayoutTemplate: z.string().describe(\"Alias or ID of a layout template (required for Standard templates using a layout)\").optional(),\n AssociatedServerId: z.number().int().describe(\"Server ID to associate this template with\").optional(),\n}).describe(\"Request model for creating a new email template in Postmark.\");\nexport const PostmarkCreateTemplateOutput = z.object({\n Name: z.string().describe(\"Template name\").nullable(),\n Alias: z.string().describe(\"Template alias if specified\").nullable().optional(),\n Active: z.boolean().describe(\"Whether the template is active\").nullable(),\n Subject: z.string().describe(\"Template subject line (may not be returned in response)\").nullable().optional(),\n HtmlBody: z.string().describe(\"HTML content of the template (may not be returned in response)\").nullable().optional(),\n TextBody: z.string().describe(\"Plain text content of the template (may not be returned in response)\").nullable().optional(),\n TemplateId: z.number().int().describe(\"Unique identifier for the template\").nullable(),\n TemplateType: z.enum([\"Standard\", \"Layout\"]).describe(\"Type of the template\").nullable(),\n LayoutTemplate: z.string().describe(\"Layout template alias or ID, if any\").nullable().optional(),\n AssociatedServerId: z.number().int().describe(\"Server ID associated with this template\").nullable().optional(),\n}).passthrough().describe(\"Response model for the newly created email template.\\nNote: Postmark's create template response may not include all fields.\");\n\nexport const postmarkCreateTemplate = action(\"POSTMARK_CREATE_TEMPLATE\", {\n slug: \"postmark-create-template\",\n name: \"Create Template\",\n description: \"Tool to create a new email template. Use when you need reusable templates before sending emails.\",\n input: PostmarkCreateTemplateInput,\n output: PostmarkCreateTemplateOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-template.cjs","names":["z","action"],"sources":["../../src/actions/create-template.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { postmark } from \"../app\";\n\nexport const PostmarkCreateTemplateInput = z.object({\n Name: z.string().describe(\"Template name (max 255 characters)\"),\n Alias: z.string().describe(\"Unique template alias (max 100 characters)\").optional(),\n Subject: z.string().describe(\"Template subject line, can include variables, e.g., {{name}}\"),\n HtmlBody: z.string().describe(\"HTML content of the template\"),\n TextBody: z.string().describe(\"Plain text content of the template\"),\n TemplateType: z.enum([\"Standard\", \"Layout\"]).describe(\"Type of the template: 'Standard' or 'Layout'\"),\n LayoutTemplate: z.string().describe(\"Alias or ID of a layout template (required for Standard templates using a layout)\").optional(),\n AssociatedServerId: z.number().int().describe(\"Server ID to associate this template with\").optional(),\n}).describe(\"Request model for creating a new email template in Postmark.\");\nexport const PostmarkCreateTemplateOutput = z.object({\n Name: z.string().describe(\"Template name\").nullable(),\n Alias: z.string().describe(\"Template alias if specified\").nullable().optional(),\n Active: z.boolean().describe(\"Whether the template is active\").nullable(),\n Subject: z.string().describe(\"Template subject line (may not be returned in response)\").nullable().optional(),\n HtmlBody: z.string().describe(\"HTML content of the template (may not be returned in response)\").nullable().optional(),\n TextBody: z.string().describe(\"Plain text content of the template (may not be returned in response)\").nullable().optional(),\n TemplateId: z.number().int().describe(\"Unique identifier for the template\").nullable(),\n TemplateType: z.enum([\"Standard\", \"Layout\"]).describe(\"Type of the template\").nullable(),\n LayoutTemplate: z.string().describe(\"Layout template alias or ID, if any\").nullable().optional(),\n AssociatedServerId: z.number().int().describe(\"Server ID associated with this template\").nullable().optional(),\n}).passthrough().describe(\"Response model for the newly created email template.\\nNote: Postmark's create template response may not include all fields.\");\n\nexport const postmarkCreateTemplate: AppAction<\n typeof PostmarkCreateTemplateInput,\n typeof PostmarkCreateTemplateOutput,\n typeof postmark.credential\n> = action(\"POSTMARK_CREATE_TEMPLATE\", {\n slug: \"postmark-create-template\",\n name: \"Create Template\",\n description: \"Tool to create a new email template. Use when you need reusable templates before sending emails.\",\n input: PostmarkCreateTemplateInput,\n output: PostmarkCreateTemplateOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAC9D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAClF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;CAC3F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CAC5D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAClE,cAAcA,IAAAA,EAAE,KAAK,CAAC,YAAY,QAAQ,CAAC,CAAC,CAAC,SAAS,8CAA8C;CACpG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAClI,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;CACpD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACxE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACrF,cAAcA,IAAAA,EAAE,KAAK,CAAC,YAAY,QAAQ,CAAC,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACvF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6HAA6H;AAEvJ,MAAa,yBAITC,eAAAA,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { postmark } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-template.d.ts
|
|
@@ -29,16 +31,7 @@ declare const PostmarkCreateTemplateOutput: z.ZodObject<{
|
|
|
29
31
|
LayoutTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
32
|
AssociatedServerId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
31
33
|
}, z.core.$loose>;
|
|
32
|
-
declare const postmarkCreateTemplate:
|
|
33
|
-
Name: string;
|
|
34
|
-
Subject: string;
|
|
35
|
-
HtmlBody: string;
|
|
36
|
-
TextBody: string;
|
|
37
|
-
TemplateType: "Standard" | "Layout";
|
|
38
|
-
Alias?: string | undefined;
|
|
39
|
-
LayoutTemplate?: string | undefined;
|
|
40
|
-
AssociatedServerId?: number | undefined;
|
|
41
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
34
|
+
declare const postmarkCreateTemplate: AppAction<typeof PostmarkCreateTemplateInput, typeof PostmarkCreateTemplateOutput, typeof postmark.credential>;
|
|
42
35
|
//#endregion
|
|
43
36
|
export { postmarkCreateTemplate };
|
|
44
37
|
//# sourceMappingURL=create-template.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-template.d.cts","names":[],"sources":["../../src/actions/create-template.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-template.d.cts","names":[],"sources":["../../src/actions/create-template.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAU3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAa5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { postmark } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-template.d.ts
|
|
@@ -29,16 +31,7 @@ declare const PostmarkCreateTemplateOutput: z.ZodObject<{
|
|
|
29
31
|
LayoutTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
32
|
AssociatedServerId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
31
33
|
}, z.core.$loose>;
|
|
32
|
-
declare const postmarkCreateTemplate:
|
|
33
|
-
Name: string;
|
|
34
|
-
Subject: string;
|
|
35
|
-
HtmlBody: string;
|
|
36
|
-
TextBody: string;
|
|
37
|
-
TemplateType: "Standard" | "Layout";
|
|
38
|
-
Alias?: string | undefined;
|
|
39
|
-
LayoutTemplate?: string | undefined;
|
|
40
|
-
AssociatedServerId?: number | undefined;
|
|
41
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
34
|
+
declare const postmarkCreateTemplate: AppAction<typeof PostmarkCreateTemplateInput, typeof PostmarkCreateTemplateOutput, typeof postmark.credential>;
|
|
42
35
|
//#endregion
|
|
43
36
|
export { postmarkCreateTemplate };
|
|
44
37
|
//# sourceMappingURL=create-template.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-template.d.mts","names":[],"sources":["../../src/actions/create-template.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-template.d.mts","names":[],"sources":["../../src/actions/create-template.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAU3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAa5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,QAAA,CAAS,UAAA"}
|