@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-webhook.d.mts","names":[],"sources":["../../src/actions/delete-webhook.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-webhook.d.mts","names":[],"sources":["../../src/actions/delete-webhook.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAG1B,2BAAA,EAA2B,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAE3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-webhook.mjs","names":[],"sources":["../../src/actions/delete-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkDeleteWebhookInput = z.object({\n webhookID: z.number().int().describe(\"ID of the webhook to delete\"),\n}).describe(\"Request model for deleting a Postmark webhook by its ID.\");\nexport const PostmarkDeleteWebhookOutput = z.record(z.string(), z.unknown()).describe(\"Empty response model for delete webhook action, indicating success when no error is raised.\");\n\nexport const postmarkDeleteWebhook = action(\"POSTMARK_DELETE_WEBHOOK\", {\n slug: \"postmark-delete-webhook\",\n name: \"Delete Webhook\",\n description: \"Tool to delete a specific webhook. Use when you need to remove a webhook by its ID after confirming it's no longer needed.\",\n input: PostmarkDeleteWebhookInput,\n output: PostmarkDeleteWebhookOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-webhook.mjs","names":[],"sources":["../../src/actions/delete-webhook.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 PostmarkDeleteWebhookInput = z.object({\n webhookID: z.number().int().describe(\"ID of the webhook to delete\"),\n}).describe(\"Request model for deleting a Postmark webhook by its ID.\");\nexport const PostmarkDeleteWebhookOutput = z.record(z.string(), z.unknown()).describe(\"Empty response model for delete webhook action, indicating success when no error is raised.\");\n\nexport const postmarkDeleteWebhook: AppAction<\n typeof PostmarkDeleteWebhookInput,\n typeof PostmarkDeleteWebhookOutput,\n typeof postmark.credential\n> = action(\"POSTMARK_DELETE_WEBHOOK\", {\n slug: \"postmark-delete-webhook\",\n name: \"Delete Webhook\",\n description: \"Tool to delete a specific webhook. Use when you need to remove a webhook by its ID after confirming it's no longer needed.\",\n input: PostmarkDeleteWebhookInput,\n output: PostmarkDeleteWebhookOutput,\n});\n"],"mappings":";;;AAWA,MAAa,wBAIT,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbwC,EAAE,OAAO,EACjD,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,EACpE,CAAC,CAAC,CAAC,SAAS,0DAWH;CACP,QAXyC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6FAW5E;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"edit-server.cjs","names":["z","action"],"sources":["../../src/actions/edit-server.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkEditServerInput = z.object({\n Name: z.string().describe(\"Name of the server.\"),\n Color: z.string().describe(\"Hex color code for the server, e.g., '#FF0000'.\").optional(),\n OpenHookUrl: z.string().describe(\"URL to POST open webhook events.\").optional(),\n BounceHookUrl: z.string().describe(\"URL to POST bounce webhook events.\").optional(),\n InboundDomain: z.string().describe(\"Domain to handle inbound emails.\").optional(),\n InboundHookUrl: z.string().describe(\"URL to POST inbound email webhook events.\").optional(),\n DeliveryHookUrl: z.string().describe(\"URL to POST delivery webhook events.\").optional(),\n RawEmailEnabled: z.boolean().describe(\"Enable or disable raw email support.\").optional(),\n SmtpApiActivated: z.boolean().describe(\"Enable or disable SMTP API for the server.\").optional(),\n PostFirstOpenOnly: z.boolean().describe(\"Send open webhook only on the first open event.\").optional(),\n InboundSpamThreshold: z.number().int().describe(\"Spam score threshold for inbound email, must be non-negative.\").optional(),\n}).describe(\"Request schema for updating server settings.\");\nexport const PostmarkEditServerOutput = z.object({\n ID: z.number().int().describe(\"Unique server ID.\").nullable(),\n Name: z.string().describe(\"Name of the server.\").nullable(),\n Color: z.string().describe(\"Hex color code for the server.\").nullable().optional(),\n ApiTokens: z.array(z.string()).describe(\"List of API tokens for the server.\"),\n OpenHookUrl: z.string().describe(\"Open webhook URL.\").nullable().optional(),\n BounceHookUrl: z.string().describe(\"Bounce webhook URL.\").nullable().optional(),\n InboundDomain: z.string().describe(\"Inbound domain for emails.\").nullable().optional(),\n InboundHookUrl: z.string().describe(\"Inbound webhook URL.\").nullable().optional(),\n DeliveryHookUrl: z.string().describe(\"Delivery webhook URL.\").nullable().optional(),\n RawEmailEnabled: z.boolean().describe(\"Raw email support status.\").nullable(),\n SmtpApiActivated: z.boolean().describe(\"SMTP API enabled status.\").nullable(),\n PostFirstOpenOnly: z.boolean().describe(\"First open only webhook status.\").nullable(),\n InboundSpamThreshold: z.number().int().describe(\"Inbound spam score threshold.\").nullable(),\n}).passthrough().describe(\"Response schema after updating server settings.\");\n\nexport const postmarkEditServer = action(\"POSTMARK_EDIT_SERVER\", {\n slug: \"postmark-edit-server\",\n name: \"Edit Server\",\n description: \"Tool to update settings for the current Postmark server. Use when you need to modify server configuration.\",\n input: PostmarkEditServerInput,\n output: PostmarkEditServerOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"edit-server.cjs","names":["z","action"],"sources":["../../src/actions/edit-server.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 PostmarkEditServerInput = z.object({\n Name: z.string().describe(\"Name of the server.\"),\n Color: z.string().describe(\"Hex color code for the server, e.g., '#FF0000'.\").optional(),\n OpenHookUrl: z.string().describe(\"URL to POST open webhook events.\").optional(),\n BounceHookUrl: z.string().describe(\"URL to POST bounce webhook events.\").optional(),\n InboundDomain: z.string().describe(\"Domain to handle inbound emails.\").optional(),\n InboundHookUrl: z.string().describe(\"URL to POST inbound email webhook events.\").optional(),\n DeliveryHookUrl: z.string().describe(\"URL to POST delivery webhook events.\").optional(),\n RawEmailEnabled: z.boolean().describe(\"Enable or disable raw email support.\").optional(),\n SmtpApiActivated: z.boolean().describe(\"Enable or disable SMTP API for the server.\").optional(),\n PostFirstOpenOnly: z.boolean().describe(\"Send open webhook only on the first open event.\").optional(),\n InboundSpamThreshold: z.number().int().describe(\"Spam score threshold for inbound email, must be non-negative.\").optional(),\n}).describe(\"Request schema for updating server settings.\");\nexport const PostmarkEditServerOutput = z.object({\n ID: z.number().int().describe(\"Unique server ID.\").nullable(),\n Name: z.string().describe(\"Name of the server.\").nullable(),\n Color: z.string().describe(\"Hex color code for the server.\").nullable().optional(),\n ApiTokens: z.array(z.string()).describe(\"List of API tokens for the server.\"),\n OpenHookUrl: z.string().describe(\"Open webhook URL.\").nullable().optional(),\n BounceHookUrl: z.string().describe(\"Bounce webhook URL.\").nullable().optional(),\n InboundDomain: z.string().describe(\"Inbound domain for emails.\").nullable().optional(),\n InboundHookUrl: z.string().describe(\"Inbound webhook URL.\").nullable().optional(),\n DeliveryHookUrl: z.string().describe(\"Delivery webhook URL.\").nullable().optional(),\n RawEmailEnabled: z.boolean().describe(\"Raw email support status.\").nullable(),\n SmtpApiActivated: z.boolean().describe(\"SMTP API enabled status.\").nullable(),\n PostFirstOpenOnly: z.boolean().describe(\"First open only webhook status.\").nullable(),\n InboundSpamThreshold: z.number().int().describe(\"Inbound spam score threshold.\").nullable(),\n}).passthrough().describe(\"Response schema after updating server settings.\");\n\nexport const postmarkEditServer: AppAction<\n typeof PostmarkEditServerInput,\n typeof PostmarkEditServerOutput,\n typeof postmark.credential\n> = action(\"POSTMARK_EDIT_SERVER\", {\n slug: \"postmark-edit-server\",\n name: \"Edit Server\",\n description: \"Tool to update settings for the current Postmark server. Use when you need to modify server configuration.\",\n input: PostmarkEditServerInput,\n output: PostmarkEditServerOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;CAC/C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACvF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC9E,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAClF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAChF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC1F,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACtF,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACvF,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC9F,mBAAmBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACpG,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC1D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oCAAoC;CAC5E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC5E,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC5E,mBAAmBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACpF,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAE3E,MAAa,qBAITC,eAAAA,OAAO,wBAAwB;CACjC,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/edit-server.d.ts
|
|
@@ -29,19 +31,7 @@ declare const PostmarkEditServerOutput: z.ZodObject<{
|
|
|
29
31
|
PostFirstOpenOnly: z.ZodNullable<z.ZodBoolean>;
|
|
30
32
|
InboundSpamThreshold: z.ZodNullable<z.ZodNumber>;
|
|
31
33
|
}, z.core.$loose>;
|
|
32
|
-
declare const postmarkEditServer:
|
|
33
|
-
Name: string;
|
|
34
|
-
Color?: string | undefined;
|
|
35
|
-
OpenHookUrl?: string | undefined;
|
|
36
|
-
BounceHookUrl?: string | undefined;
|
|
37
|
-
InboundDomain?: string | undefined;
|
|
38
|
-
InboundHookUrl?: string | undefined;
|
|
39
|
-
DeliveryHookUrl?: string | undefined;
|
|
40
|
-
RawEmailEnabled?: boolean | undefined;
|
|
41
|
-
SmtpApiActivated?: boolean | undefined;
|
|
42
|
-
PostFirstOpenOnly?: boolean | undefined;
|
|
43
|
-
InboundSpamThreshold?: number | undefined;
|
|
44
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
34
|
+
declare const postmarkEditServer: AppAction<typeof PostmarkEditServerInput, typeof PostmarkEditServerOutput, typeof postmark.credential>;
|
|
45
35
|
//#endregion
|
|
46
36
|
export { postmarkEditServer };
|
|
47
37
|
//# sourceMappingURL=edit-server.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"edit-server.d.cts","names":[],"sources":["../../src/actions/edit-server.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"edit-server.d.cts","names":[],"sources":["../../src/actions/edit-server.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAavB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAgBxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,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/edit-server.d.ts
|
|
@@ -29,19 +31,7 @@ declare const PostmarkEditServerOutput: z.ZodObject<{
|
|
|
29
31
|
PostFirstOpenOnly: z.ZodNullable<z.ZodBoolean>;
|
|
30
32
|
InboundSpamThreshold: z.ZodNullable<z.ZodNumber>;
|
|
31
33
|
}, z.core.$loose>;
|
|
32
|
-
declare const postmarkEditServer:
|
|
33
|
-
Name: string;
|
|
34
|
-
Color?: string | undefined;
|
|
35
|
-
OpenHookUrl?: string | undefined;
|
|
36
|
-
BounceHookUrl?: string | undefined;
|
|
37
|
-
InboundDomain?: string | undefined;
|
|
38
|
-
InboundHookUrl?: string | undefined;
|
|
39
|
-
DeliveryHookUrl?: string | undefined;
|
|
40
|
-
RawEmailEnabled?: boolean | undefined;
|
|
41
|
-
SmtpApiActivated?: boolean | undefined;
|
|
42
|
-
PostFirstOpenOnly?: boolean | undefined;
|
|
43
|
-
InboundSpamThreshold?: number | undefined;
|
|
44
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
34
|
+
declare const postmarkEditServer: AppAction<typeof PostmarkEditServerInput, typeof PostmarkEditServerOutput, typeof postmark.credential>;
|
|
45
35
|
//#endregion
|
|
46
36
|
export { postmarkEditServer };
|
|
47
37
|
//# sourceMappingURL=edit-server.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"edit-server.d.mts","names":[],"sources":["../../src/actions/edit-server.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"edit-server.d.mts","names":[],"sources":["../../src/actions/edit-server.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAavB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAgBxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"edit-server.mjs","names":[],"sources":["../../src/actions/edit-server.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkEditServerInput = z.object({\n Name: z.string().describe(\"Name of the server.\"),\n Color: z.string().describe(\"Hex color code for the server, e.g., '#FF0000'.\").optional(),\n OpenHookUrl: z.string().describe(\"URL to POST open webhook events.\").optional(),\n BounceHookUrl: z.string().describe(\"URL to POST bounce webhook events.\").optional(),\n InboundDomain: z.string().describe(\"Domain to handle inbound emails.\").optional(),\n InboundHookUrl: z.string().describe(\"URL to POST inbound email webhook events.\").optional(),\n DeliveryHookUrl: z.string().describe(\"URL to POST delivery webhook events.\").optional(),\n RawEmailEnabled: z.boolean().describe(\"Enable or disable raw email support.\").optional(),\n SmtpApiActivated: z.boolean().describe(\"Enable or disable SMTP API for the server.\").optional(),\n PostFirstOpenOnly: z.boolean().describe(\"Send open webhook only on the first open event.\").optional(),\n InboundSpamThreshold: z.number().int().describe(\"Spam score threshold for inbound email, must be non-negative.\").optional(),\n}).describe(\"Request schema for updating server settings.\");\nexport const PostmarkEditServerOutput = z.object({\n ID: z.number().int().describe(\"Unique server ID.\").nullable(),\n Name: z.string().describe(\"Name of the server.\").nullable(),\n Color: z.string().describe(\"Hex color code for the server.\").nullable().optional(),\n ApiTokens: z.array(z.string()).describe(\"List of API tokens for the server.\"),\n OpenHookUrl: z.string().describe(\"Open webhook URL.\").nullable().optional(),\n BounceHookUrl: z.string().describe(\"Bounce webhook URL.\").nullable().optional(),\n InboundDomain: z.string().describe(\"Inbound domain for emails.\").nullable().optional(),\n InboundHookUrl: z.string().describe(\"Inbound webhook URL.\").nullable().optional(),\n DeliveryHookUrl: z.string().describe(\"Delivery webhook URL.\").nullable().optional(),\n RawEmailEnabled: z.boolean().describe(\"Raw email support status.\").nullable(),\n SmtpApiActivated: z.boolean().describe(\"SMTP API enabled status.\").nullable(),\n PostFirstOpenOnly: z.boolean().describe(\"First open only webhook status.\").nullable(),\n InboundSpamThreshold: z.number().int().describe(\"Inbound spam score threshold.\").nullable(),\n}).passthrough().describe(\"Response schema after updating server settings.\");\n\nexport const postmarkEditServer = action(\"POSTMARK_EDIT_SERVER\", {\n slug: \"postmark-edit-server\",\n name: \"Edit Server\",\n description: \"Tool to update settings for the current Postmark server. Use when you need to modify server configuration.\",\n input: PostmarkEditServerInput,\n output: PostmarkEditServerOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"edit-server.mjs","names":[],"sources":["../../src/actions/edit-server.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 PostmarkEditServerInput = z.object({\n Name: z.string().describe(\"Name of the server.\"),\n Color: z.string().describe(\"Hex color code for the server, e.g., '#FF0000'.\").optional(),\n OpenHookUrl: z.string().describe(\"URL to POST open webhook events.\").optional(),\n BounceHookUrl: z.string().describe(\"URL to POST bounce webhook events.\").optional(),\n InboundDomain: z.string().describe(\"Domain to handle inbound emails.\").optional(),\n InboundHookUrl: z.string().describe(\"URL to POST inbound email webhook events.\").optional(),\n DeliveryHookUrl: z.string().describe(\"URL to POST delivery webhook events.\").optional(),\n RawEmailEnabled: z.boolean().describe(\"Enable or disable raw email support.\").optional(),\n SmtpApiActivated: z.boolean().describe(\"Enable or disable SMTP API for the server.\").optional(),\n PostFirstOpenOnly: z.boolean().describe(\"Send open webhook only on the first open event.\").optional(),\n InboundSpamThreshold: z.number().int().describe(\"Spam score threshold for inbound email, must be non-negative.\").optional(),\n}).describe(\"Request schema for updating server settings.\");\nexport const PostmarkEditServerOutput = z.object({\n ID: z.number().int().describe(\"Unique server ID.\").nullable(),\n Name: z.string().describe(\"Name of the server.\").nullable(),\n Color: z.string().describe(\"Hex color code for the server.\").nullable().optional(),\n ApiTokens: z.array(z.string()).describe(\"List of API tokens for the server.\"),\n OpenHookUrl: z.string().describe(\"Open webhook URL.\").nullable().optional(),\n BounceHookUrl: z.string().describe(\"Bounce webhook URL.\").nullable().optional(),\n InboundDomain: z.string().describe(\"Inbound domain for emails.\").nullable().optional(),\n InboundHookUrl: z.string().describe(\"Inbound webhook URL.\").nullable().optional(),\n DeliveryHookUrl: z.string().describe(\"Delivery webhook URL.\").nullable().optional(),\n RawEmailEnabled: z.boolean().describe(\"Raw email support status.\").nullable(),\n SmtpApiActivated: z.boolean().describe(\"SMTP API enabled status.\").nullable(),\n PostFirstOpenOnly: z.boolean().describe(\"First open only webhook status.\").nullable(),\n InboundSpamThreshold: z.number().int().describe(\"Inbound spam score threshold.\").nullable(),\n}).passthrough().describe(\"Response schema after updating server settings.\");\n\nexport const postmarkEditServer: AppAction<\n typeof PostmarkEditServerInput,\n typeof PostmarkEditServerOutput,\n typeof postmark.credential\n> = action(\"POSTMARK_EDIT_SERVER\", {\n slug: \"postmark-edit-server\",\n name: \"Edit Server\",\n description: \"Tool to update settings for the current Postmark server. Use when you need to modify server configuration.\",\n input: PostmarkEditServerInput,\n output: PostmarkEditServerOutput,\n});\n"],"mappings":";;;AAmCA,MAAa,qBAIT,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArCqC,EAAE,OAAO;EAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;EAC/C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EACvF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC9E,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAClF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAChF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAC1F,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EACtF,iBAAiB,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EACvF,kBAAkB,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EAC9F,mBAAmB,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EACpG,sBAAsB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC5H,CAAC,CAAC,CAAC,SAAS,8CAyBH;CACP,QAzBsC,EAAE,OAAO;EAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;EAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EAC1D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oCAAoC;EAC5E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1E,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,iBAAiB,EAAE,QAAQ,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EAC5E,kBAAkB,EAAE,QAAQ,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EAC5E,mBAAmB,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACpF,sBAAsB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"edit-template.cjs","names":["z","action"],"sources":["../../src/actions/edit-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkEditTemplateInput = z.object({\n Name: z.string().describe(\"New name for the template\").optional(),\n Alias: z.string().describe(\"Alias for easier lookup of the template\").optional(),\n Active: z.boolean().describe(\"Whether the template should be active (true) or inactive (false)\").optional(),\n Subject: z.string().describe(\"Subject line for the template\").optional(),\n HtmlBody: z.string().describe(\"HTML body content of the template\").optional(),\n TextBody: z.string().describe(\"Plain-text body content of the template\").optional(),\n templateID: z.number().int().describe(\"The unique ID of the template to update\"),\n TemplateType: z.enum([\"Standard\", \"Layout\"]).describe(\"Type of template; either 'Standard' or 'Layout'\").optional(),\n LayoutTemplate: z.string().describe(\"Alias of a layout template to wrap this template with (for Standard templates)\").optional(),\n}).describe(\"Request model for updating an existing Postmark template.\");\nexport const PostmarkEditTemplateOutput = z.object({\n Name: z.string().describe(\"Name of the template\").nullable(),\n Alias: z.string().describe(\"Alias of the template\").nullable().optional(),\n Active: z.boolean().describe(\"Whether the template is active or not\").nullable(),\n Subject: z.string().describe(\"Subject line of the template\").nullable().optional(),\n Archived: z.boolean().describe(\"Whether the template is archived\").nullable().optional(),\n HtmlBody: z.string().describe(\"HTML body content of the template\").nullable().optional(),\n TextBody: z.string().describe(\"Plain-text body content of the template\").nullable().optional(),\n TemplateId: z.number().int().describe(\"Numeric ID of the template\").nullable(),\n TemplateType: z.enum([\"Standard\", \"Layout\"]).describe(\"Type of the template\").nullable(),\n ApiTemplateId: z.string().describe(\"String version of the template ID\").nullable().optional(),\n LayoutTemplate: z.string().describe(\"Associated layout template alias\").nullable().optional(),\n AssociatedServerId: z.number().int().describe(\"ID of the server the template belongs to\").nullable().optional(),\n}).passthrough().describe(\"Response model for the updated template.\");\n\nexport const postmarkEditTemplate = action(\"POSTMARK_EDIT_TEMPLATE\", {\n slug: \"postmark-edit-template\",\n name: \"Edit Template\",\n description: \"Tool to update an existing Postmark template by its ID. Use when you need to modify a template's name, subject, HTML or text body, alias, type, layout, or active status.\",\n input: PostmarkEditTemplateInput,\n output: PostmarkEditTemplateOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"edit-template.cjs","names":["z","action"],"sources":["../../src/actions/edit-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 PostmarkEditTemplateInput = z.object({\n Name: z.string().describe(\"New name for the template\").optional(),\n Alias: z.string().describe(\"Alias for easier lookup of the template\").optional(),\n Active: z.boolean().describe(\"Whether the template should be active (true) or inactive (false)\").optional(),\n Subject: z.string().describe(\"Subject line for the template\").optional(),\n HtmlBody: z.string().describe(\"HTML body content of the template\").optional(),\n TextBody: z.string().describe(\"Plain-text body content of the template\").optional(),\n templateID: z.number().int().describe(\"The unique ID of the template to update\"),\n TemplateType: z.enum([\"Standard\", \"Layout\"]).describe(\"Type of template; either 'Standard' or 'Layout'\").optional(),\n LayoutTemplate: z.string().describe(\"Alias of a layout template to wrap this template with (for Standard templates)\").optional(),\n}).describe(\"Request model for updating an existing Postmark template.\");\nexport const PostmarkEditTemplateOutput = z.object({\n Name: z.string().describe(\"Name of the template\").nullable(),\n Alias: z.string().describe(\"Alias of the template\").nullable().optional(),\n Active: z.boolean().describe(\"Whether the template is active or not\").nullable(),\n Subject: z.string().describe(\"Subject line of the template\").nullable().optional(),\n Archived: z.boolean().describe(\"Whether the template is archived\").nullable().optional(),\n HtmlBody: z.string().describe(\"HTML body content of the template\").nullable().optional(),\n TextBody: z.string().describe(\"Plain-text body content of the template\").nullable().optional(),\n TemplateId: z.number().int().describe(\"Numeric ID of the template\").nullable(),\n TemplateType: z.enum([\"Standard\", \"Layout\"]).describe(\"Type of the template\").nullable(),\n ApiTemplateId: z.string().describe(\"String version of the template ID\").nullable().optional(),\n LayoutTemplate: z.string().describe(\"Associated layout template alias\").nullable().optional(),\n AssociatedServerId: z.number().int().describe(\"ID of the server the template belongs to\").nullable().optional(),\n}).passthrough().describe(\"Response model for the updated template.\");\n\nexport const postmarkEditTemplate: AppAction<\n typeof PostmarkEditTemplateInput,\n typeof PostmarkEditTemplateOutput,\n typeof postmark.credential\n> = action(\"POSTMARK_EDIT_TEMPLATE\", {\n slug: \"postmark-edit-template\",\n name: \"Edit Template\",\n description: \"Tool to update an existing Postmark template by its ID. Use when you need to modify a template's name, subject, HTML or text body, alias, type, layout, or active status.\",\n input: PostmarkEditTemplateInput,\n output: PostmarkEditTemplateOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC/E,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC1G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACvE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC5E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAClF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC;CAC/E,cAAcA,IAAAA,EAAE,KAAK,CAAC,YAAY,QAAQ,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAClH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;AACjI,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC3D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC/E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC7E,cAAcA,IAAAA,EAAE,KAAK,CAAC,YAAY,QAAQ,CAAC,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACvF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAEpE,MAAa,uBAITC,eAAAA,OAAO,0BAA0B;CACnC,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/edit-template.d.ts
|
|
@@ -32,17 +34,7 @@ declare const PostmarkEditTemplateOutput: z.ZodObject<{
|
|
|
32
34
|
LayoutTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
35
|
AssociatedServerId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
34
36
|
}, z.core.$loose>;
|
|
35
|
-
declare const postmarkEditTemplate:
|
|
36
|
-
templateID: number;
|
|
37
|
-
Name?: string | undefined;
|
|
38
|
-
Alias?: string | undefined;
|
|
39
|
-
Active?: boolean | undefined;
|
|
40
|
-
Subject?: string | undefined;
|
|
41
|
-
HtmlBody?: string | undefined;
|
|
42
|
-
TextBody?: string | undefined;
|
|
43
|
-
TemplateType?: "Standard" | "Layout" | undefined;
|
|
44
|
-
LayoutTemplate?: string | undefined;
|
|
45
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
37
|
+
declare const postmarkEditTemplate: AppAction<typeof PostmarkEditTemplateInput, typeof PostmarkEditTemplateOutput, typeof postmark.credential>;
|
|
46
38
|
//#endregion
|
|
47
39
|
export { postmarkEditTemplate };
|
|
48
40
|
//# sourceMappingURL=edit-template.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"edit-template.d.cts","names":[],"sources":["../../src/actions/edit-template.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"edit-template.d.cts","names":[],"sources":["../../src/actions/edit-template.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAWzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAe1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,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/edit-template.d.ts
|
|
@@ -32,17 +34,7 @@ declare const PostmarkEditTemplateOutput: z.ZodObject<{
|
|
|
32
34
|
LayoutTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
35
|
AssociatedServerId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
34
36
|
}, z.core.$loose>;
|
|
35
|
-
declare const postmarkEditTemplate:
|
|
36
|
-
templateID: number;
|
|
37
|
-
Name?: string | undefined;
|
|
38
|
-
Alias?: string | undefined;
|
|
39
|
-
Active?: boolean | undefined;
|
|
40
|
-
Subject?: string | undefined;
|
|
41
|
-
HtmlBody?: string | undefined;
|
|
42
|
-
TextBody?: string | undefined;
|
|
43
|
-
TemplateType?: "Standard" | "Layout" | undefined;
|
|
44
|
-
LayoutTemplate?: string | undefined;
|
|
45
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
37
|
+
declare const postmarkEditTemplate: AppAction<typeof PostmarkEditTemplateInput, typeof PostmarkEditTemplateOutput, typeof postmark.credential>;
|
|
46
38
|
//#endregion
|
|
47
39
|
export { postmarkEditTemplate };
|
|
48
40
|
//# sourceMappingURL=edit-template.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"edit-template.d.mts","names":[],"sources":["../../src/actions/edit-template.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"edit-template.d.mts","names":[],"sources":["../../src/actions/edit-template.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAWzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAe1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"edit-template.mjs","names":[],"sources":["../../src/actions/edit-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkEditTemplateInput = z.object({\n Name: z.string().describe(\"New name for the template\").optional(),\n Alias: z.string().describe(\"Alias for easier lookup of the template\").optional(),\n Active: z.boolean().describe(\"Whether the template should be active (true) or inactive (false)\").optional(),\n Subject: z.string().describe(\"Subject line for the template\").optional(),\n HtmlBody: z.string().describe(\"HTML body content of the template\").optional(),\n TextBody: z.string().describe(\"Plain-text body content of the template\").optional(),\n templateID: z.number().int().describe(\"The unique ID of the template to update\"),\n TemplateType: z.enum([\"Standard\", \"Layout\"]).describe(\"Type of template; either 'Standard' or 'Layout'\").optional(),\n LayoutTemplate: z.string().describe(\"Alias of a layout template to wrap this template with (for Standard templates)\").optional(),\n}).describe(\"Request model for updating an existing Postmark template.\");\nexport const PostmarkEditTemplateOutput = z.object({\n Name: z.string().describe(\"Name of the template\").nullable(),\n Alias: z.string().describe(\"Alias of the template\").nullable().optional(),\n Active: z.boolean().describe(\"Whether the template is active or not\").nullable(),\n Subject: z.string().describe(\"Subject line of the template\").nullable().optional(),\n Archived: z.boolean().describe(\"Whether the template is archived\").nullable().optional(),\n HtmlBody: z.string().describe(\"HTML body content of the template\").nullable().optional(),\n TextBody: z.string().describe(\"Plain-text body content of the template\").nullable().optional(),\n TemplateId: z.number().int().describe(\"Numeric ID of the template\").nullable(),\n TemplateType: z.enum([\"Standard\", \"Layout\"]).describe(\"Type of the template\").nullable(),\n ApiTemplateId: z.string().describe(\"String version of the template ID\").nullable().optional(),\n LayoutTemplate: z.string().describe(\"Associated layout template alias\").nullable().optional(),\n AssociatedServerId: z.number().int().describe(\"ID of the server the template belongs to\").nullable().optional(),\n}).passthrough().describe(\"Response model for the updated template.\");\n\nexport const postmarkEditTemplate = action(\"POSTMARK_EDIT_TEMPLATE\", {\n slug: \"postmark-edit-template\",\n name: \"Edit Template\",\n description: \"Tool to update an existing Postmark template by its ID. Use when you need to modify a template's name, subject, HTML or text body, alias, type, layout, or active status.\",\n input: PostmarkEditTemplateInput,\n output: PostmarkEditTemplateOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"edit-template.mjs","names":[],"sources":["../../src/actions/edit-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 PostmarkEditTemplateInput = z.object({\n Name: z.string().describe(\"New name for the template\").optional(),\n Alias: z.string().describe(\"Alias for easier lookup of the template\").optional(),\n Active: z.boolean().describe(\"Whether the template should be active (true) or inactive (false)\").optional(),\n Subject: z.string().describe(\"Subject line for the template\").optional(),\n HtmlBody: z.string().describe(\"HTML body content of the template\").optional(),\n TextBody: z.string().describe(\"Plain-text body content of the template\").optional(),\n templateID: z.number().int().describe(\"The unique ID of the template to update\"),\n TemplateType: z.enum([\"Standard\", \"Layout\"]).describe(\"Type of template; either 'Standard' or 'Layout'\").optional(),\n LayoutTemplate: z.string().describe(\"Alias of a layout template to wrap this template with (for Standard templates)\").optional(),\n}).describe(\"Request model for updating an existing Postmark template.\");\nexport const PostmarkEditTemplateOutput = z.object({\n Name: z.string().describe(\"Name of the template\").nullable(),\n Alias: z.string().describe(\"Alias of the template\").nullable().optional(),\n Active: z.boolean().describe(\"Whether the template is active or not\").nullable(),\n Subject: z.string().describe(\"Subject line of the template\").nullable().optional(),\n Archived: z.boolean().describe(\"Whether the template is archived\").nullable().optional(),\n HtmlBody: z.string().describe(\"HTML body content of the template\").nullable().optional(),\n TextBody: z.string().describe(\"Plain-text body content of the template\").nullable().optional(),\n TemplateId: z.number().int().describe(\"Numeric ID of the template\").nullable(),\n TemplateType: z.enum([\"Standard\", \"Layout\"]).describe(\"Type of the template\").nullable(),\n ApiTemplateId: z.string().describe(\"String version of the template ID\").nullable().optional(),\n LayoutTemplate: z.string().describe(\"Associated layout template alias\").nullable().optional(),\n AssociatedServerId: z.number().int().describe(\"ID of the server the template belongs to\").nullable().optional(),\n}).passthrough().describe(\"Response model for the updated template.\");\n\nexport const postmarkEditTemplate: AppAction<\n typeof PostmarkEditTemplateInput,\n typeof PostmarkEditTemplateOutput,\n typeof postmark.credential\n> = action(\"POSTMARK_EDIT_TEMPLATE\", {\n slug: \"postmark-edit-template\",\n name: \"Edit Template\",\n description: \"Tool to update an existing Postmark template by its ID. Use when you need to modify a template's name, subject, HTML or text body, alias, type, layout, or active status.\",\n input: PostmarkEditTemplateInput,\n output: PostmarkEditTemplateOutput,\n});\n"],"mappings":";;;AAgCA,MAAa,uBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlCuC,EAAE,OAAO;EAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EAChE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EAC/E,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;EAC1G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACvE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC5E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EAClF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC;EAC/E,cAAc,EAAE,KAAK,CAAC,YAAY,QAAQ,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EAClH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CACjI,CAAC,CAAC,CAAC,SAAS,2DAwBH;CACP,QAxBwC,EAAE,OAAO;EACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxE,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAC/E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EAC7E,cAAc,EAAE,KAAK,CAAC,YAAY,QAAQ,CAAC,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EACvF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,oBAAoB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"edit-webhook.cjs","names":["z","action"],"sources":["../../src/actions/edit-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkEditWebhookInput = z.object({\n Url: z.string().describe(\"The URL to receive webhook POSTs\"),\n Triggers: z.record(z.string(), z.unknown()).describe(\"Event triggers for the webhook; keys are event names, values indicate if enabled\"),\n AuthToken: z.string().describe(\"Optional secret token for authenticating webhook calls\").optional(),\n webhookID: z.number().int().describe(\"ID of the webhook to update\"),\n}).describe(\"Request model for updating a Postmark webhook's URL and triggers.\");\nconst PostmarkEditWebhook_TriggerConfigSchema = z.object({\n Enabled: z.boolean().describe(\"Whether this trigger is enabled\").nullable(),\n IncludeContent: z.boolean().describe(\"Include content in webhook payload\").nullable().optional(),\n PostFirstOpenOnly: z.boolean().describe(\"Post only first open for Open triggers\").nullable().optional(),\n}).passthrough().describe(\"Configuration for a single trigger type.\");\nconst PostmarkEditWebhook_TriggersResponseSchema = z.object({\n Open: PostmarkEditWebhook_TriggerConfigSchema.nullable().optional(),\n Click: PostmarkEditWebhook_TriggerConfigSchema.nullable().optional(),\n Bounce: PostmarkEditWebhook_TriggerConfigSchema.nullable().optional(),\n Inbound: PostmarkEditWebhook_TriggerConfigSchema.nullable().optional(),\n Delivery: PostmarkEditWebhook_TriggerConfigSchema.nullable().optional(),\n SpamComplaint: PostmarkEditWebhook_TriggerConfigSchema.nullable().optional(),\n SubscriptionChange: PostmarkEditWebhook_TriggerConfigSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for webhook triggers.\");\nexport const PostmarkEditWebhookOutput = z.object({\n ID: z.number().int().describe(\"Unique ID of the webhook\").nullable(),\n Url: z.string().describe(\"Webhook URL\").nullable(),\n HttpAuth: z.record(z.string(), z.unknown()).describe(\"HTTP authentication details if set\").nullable().optional(),\n Triggers: PostmarkEditWebhook_TriggersResponseSchema.nullable(),\n MessageStream: z.string().describe(\"Message stream for the webhook\").nullable().optional(),\n}).passthrough().describe(\"Response model representing the updated webhook object.\");\n\nexport const postmarkEditWebhook = action(\"POSTMARK_EDIT_WEBHOOK\", {\n slug: \"postmark-edit-webhook\",\n name: \"Edit Webhook\",\n description: \"Tool to update an existing webhook’s URL or triggers. Use when you need to modify webhook settings after confirming the webhookID.\",\n input: PostmarkEditWebhookInput,\n output: PostmarkEditWebhookOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"edit-webhook.cjs","names":["z","action"],"sources":["../../src/actions/edit-webhook.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 PostmarkEditWebhookInput = z.object({\n Url: z.string().describe(\"The URL to receive webhook POSTs\"),\n Triggers: z.record(z.string(), z.unknown()).describe(\"Event triggers for the webhook; keys are event names, values indicate if enabled\"),\n AuthToken: z.string().describe(\"Optional secret token for authenticating webhook calls\").optional(),\n webhookID: z.number().int().describe(\"ID of the webhook to update\"),\n}).describe(\"Request model for updating a Postmark webhook's URL and triggers.\");\nconst PostmarkEditWebhook_TriggerConfigSchema = z.object({\n Enabled: z.boolean().describe(\"Whether this trigger is enabled\").nullable(),\n IncludeContent: z.boolean().describe(\"Include content in webhook payload\").nullable().optional(),\n PostFirstOpenOnly: z.boolean().describe(\"Post only first open for Open triggers\").nullable().optional(),\n}).passthrough().describe(\"Configuration for a single trigger type.\");\nconst PostmarkEditWebhook_TriggersResponseSchema = z.object({\n Open: PostmarkEditWebhook_TriggerConfigSchema.nullable().optional(),\n Click: PostmarkEditWebhook_TriggerConfigSchema.nullable().optional(),\n Bounce: PostmarkEditWebhook_TriggerConfigSchema.nullable().optional(),\n Inbound: PostmarkEditWebhook_TriggerConfigSchema.nullable().optional(),\n Delivery: PostmarkEditWebhook_TriggerConfigSchema.nullable().optional(),\n SpamComplaint: PostmarkEditWebhook_TriggerConfigSchema.nullable().optional(),\n SubscriptionChange: PostmarkEditWebhook_TriggerConfigSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for webhook triggers.\");\nexport const PostmarkEditWebhookOutput = z.object({\n ID: z.number().int().describe(\"Unique ID of the webhook\").nullable(),\n Url: z.string().describe(\"Webhook URL\").nullable(),\n HttpAuth: z.record(z.string(), z.unknown()).describe(\"HTTP authentication details if set\").nullable().optional(),\n Triggers: PostmarkEditWebhook_TriggersResponseSchema.nullable(),\n MessageStream: z.string().describe(\"Message stream for the webhook\").nullable().optional(),\n}).passthrough().describe(\"Response model representing the updated webhook object.\");\n\nexport const postmarkEditWebhook: AppAction<\n typeof PostmarkEditWebhookInput,\n typeof PostmarkEditWebhookOutput,\n typeof postmark.credential\n> = action(\"POSTMARK_EDIT_WEBHOOK\", {\n slug: \"postmark-edit-webhook\",\n name: \"Edit Webhook\",\n description: \"Tool to update an existing webhook’s URL or triggers. Use when you need to modify webhook settings after confirming the webhookID.\",\n input: PostmarkEditWebhookInput,\n output: PostmarkEditWebhookOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC3D,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kFAAkF;CACvI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAClG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B;AACpE,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC1E,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,mBAAmBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,MAAM,wCAAwC,SAAS,CAAC,CAAC,SAAS;CAClE,OAAO,wCAAwC,SAAS,CAAC,CAAC,SAAS;CACnE,QAAQ,wCAAwC,SAAS,CAAC,CAAC,SAAS;CACpE,SAAS,wCAAwC,SAAS,CAAC,CAAC,SAAS;CACrE,UAAU,wCAAwC,SAAS,CAAC,CAAC,SAAS;CACtE,eAAe,wCAAwC,SAAS,CAAC,CAAC,SAAS;CAC3E,oBAAoB,wCAAwC,SAAS,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAChE,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACnE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CACjD,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,UAAU,2CAA2C,SAAS;CAC9D,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAEnF,MAAa,sBAITC,eAAAA,OAAO,yBAAyB;CAClC,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/edit-webhook.d.ts
|
|
@@ -50,12 +52,7 @@ declare const PostmarkEditWebhookOutput: z.ZodObject<{
|
|
|
50
52
|
}, z.core.$loose>>;
|
|
51
53
|
MessageStream: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52
54
|
}, z.core.$loose>;
|
|
53
|
-
declare const postmarkEditWebhook:
|
|
54
|
-
Url: string;
|
|
55
|
-
Triggers: Record<string, unknown>;
|
|
56
|
-
webhookID: number;
|
|
57
|
-
AuthToken?: string | undefined;
|
|
58
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
55
|
+
declare const postmarkEditWebhook: AppAction<typeof PostmarkEditWebhookInput, typeof PostmarkEditWebhookOutput, typeof postmark.credential>;
|
|
59
56
|
//#endregion
|
|
60
57
|
export { postmarkEditWebhook };
|
|
61
58
|
//# sourceMappingURL=edit-webhook.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"edit-webhook.d.cts","names":[],"sources":["../../src/actions/edit-webhook.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"edit-webhook.d.cts","names":[],"sources":["../../src/actions/edit-webhook.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;cAoBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAQzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,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/edit-webhook.d.ts
|
|
@@ -50,12 +52,7 @@ declare const PostmarkEditWebhookOutput: z.ZodObject<{
|
|
|
50
52
|
}, z.core.$loose>>;
|
|
51
53
|
MessageStream: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52
54
|
}, z.core.$loose>;
|
|
53
|
-
declare const postmarkEditWebhook:
|
|
54
|
-
Url: string;
|
|
55
|
-
Triggers: Record<string, unknown>;
|
|
56
|
-
webhookID: number;
|
|
57
|
-
AuthToken?: string | undefined;
|
|
58
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
55
|
+
declare const postmarkEditWebhook: AppAction<typeof PostmarkEditWebhookInput, typeof PostmarkEditWebhookOutput, typeof postmark.credential>;
|
|
59
56
|
//#endregion
|
|
60
57
|
export { postmarkEditWebhook };
|
|
61
58
|
//# sourceMappingURL=edit-webhook.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"edit-webhook.d.mts","names":[],"sources":["../../src/actions/edit-webhook.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"edit-webhook.d.mts","names":[],"sources":["../../src/actions/edit-webhook.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;cAoBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAQzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"edit-webhook.mjs","names":[],"sources":["../../src/actions/edit-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkEditWebhookInput = z.object({\n Url: z.string().describe(\"The URL to receive webhook POSTs\"),\n Triggers: z.record(z.string(), z.unknown()).describe(\"Event triggers for the webhook; keys are event names, values indicate if enabled\"),\n AuthToken: z.string().describe(\"Optional secret token for authenticating webhook calls\").optional(),\n webhookID: z.number().int().describe(\"ID of the webhook to update\"),\n}).describe(\"Request model for updating a Postmark webhook's URL and triggers.\");\nconst PostmarkEditWebhook_TriggerConfigSchema = z.object({\n Enabled: z.boolean().describe(\"Whether this trigger is enabled\").nullable(),\n IncludeContent: z.boolean().describe(\"Include content in webhook payload\").nullable().optional(),\n PostFirstOpenOnly: z.boolean().describe(\"Post only first open for Open triggers\").nullable().optional(),\n}).passthrough().describe(\"Configuration for a single trigger type.\");\nconst PostmarkEditWebhook_TriggersResponseSchema = z.object({\n Open: PostmarkEditWebhook_TriggerConfigSchema.nullable().optional(),\n Click: PostmarkEditWebhook_TriggerConfigSchema.nullable().optional(),\n Bounce: PostmarkEditWebhook_TriggerConfigSchema.nullable().optional(),\n Inbound: PostmarkEditWebhook_TriggerConfigSchema.nullable().optional(),\n Delivery: PostmarkEditWebhook_TriggerConfigSchema.nullable().optional(),\n SpamComplaint: PostmarkEditWebhook_TriggerConfigSchema.nullable().optional(),\n SubscriptionChange: PostmarkEditWebhook_TriggerConfigSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for webhook triggers.\");\nexport const PostmarkEditWebhookOutput = z.object({\n ID: z.number().int().describe(\"Unique ID of the webhook\").nullable(),\n Url: z.string().describe(\"Webhook URL\").nullable(),\n HttpAuth: z.record(z.string(), z.unknown()).describe(\"HTTP authentication details if set\").nullable().optional(),\n Triggers: PostmarkEditWebhook_TriggersResponseSchema.nullable(),\n MessageStream: z.string().describe(\"Message stream for the webhook\").nullable().optional(),\n}).passthrough().describe(\"Response model representing the updated webhook object.\");\n\nexport const postmarkEditWebhook = action(\"POSTMARK_EDIT_WEBHOOK\", {\n slug: \"postmark-edit-webhook\",\n name: \"Edit Webhook\",\n description: \"Tool to update an existing webhook’s URL or triggers. Use when you need to modify webhook settings after confirming the webhookID.\",\n input: PostmarkEditWebhookInput,\n output: PostmarkEditWebhookOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"edit-webhook.mjs","names":[],"sources":["../../src/actions/edit-webhook.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 PostmarkEditWebhookInput = z.object({\n Url: z.string().describe(\"The URL to receive webhook POSTs\"),\n Triggers: z.record(z.string(), z.unknown()).describe(\"Event triggers for the webhook; keys are event names, values indicate if enabled\"),\n AuthToken: z.string().describe(\"Optional secret token for authenticating webhook calls\").optional(),\n webhookID: z.number().int().describe(\"ID of the webhook to update\"),\n}).describe(\"Request model for updating a Postmark webhook's URL and triggers.\");\nconst PostmarkEditWebhook_TriggerConfigSchema = z.object({\n Enabled: z.boolean().describe(\"Whether this trigger is enabled\").nullable(),\n IncludeContent: z.boolean().describe(\"Include content in webhook payload\").nullable().optional(),\n PostFirstOpenOnly: z.boolean().describe(\"Post only first open for Open triggers\").nullable().optional(),\n}).passthrough().describe(\"Configuration for a single trigger type.\");\nconst PostmarkEditWebhook_TriggersResponseSchema = z.object({\n Open: PostmarkEditWebhook_TriggerConfigSchema.nullable().optional(),\n Click: PostmarkEditWebhook_TriggerConfigSchema.nullable().optional(),\n Bounce: PostmarkEditWebhook_TriggerConfigSchema.nullable().optional(),\n Inbound: PostmarkEditWebhook_TriggerConfigSchema.nullable().optional(),\n Delivery: PostmarkEditWebhook_TriggerConfigSchema.nullable().optional(),\n SpamComplaint: PostmarkEditWebhook_TriggerConfigSchema.nullable().optional(),\n SubscriptionChange: PostmarkEditWebhook_TriggerConfigSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for webhook triggers.\");\nexport const PostmarkEditWebhookOutput = z.object({\n ID: z.number().int().describe(\"Unique ID of the webhook\").nullable(),\n Url: z.string().describe(\"Webhook URL\").nullable(),\n HttpAuth: z.record(z.string(), z.unknown()).describe(\"HTTP authentication details if set\").nullable().optional(),\n Triggers: PostmarkEditWebhook_TriggersResponseSchema.nullable(),\n MessageStream: z.string().describe(\"Message stream for the webhook\").nullable().optional(),\n}).passthrough().describe(\"Response model representing the updated webhook object.\");\n\nexport const postmarkEditWebhook: AppAction<\n typeof PostmarkEditWebhookInput,\n typeof PostmarkEditWebhookOutput,\n typeof postmark.credential\n> = action(\"POSTMARK_EDIT_WEBHOOK\", {\n slug: \"postmark-edit-webhook\",\n name: \"Edit Webhook\",\n description: \"Tool to update an existing webhook’s URL or triggers. Use when you need to modify webhook settings after confirming the webhookID.\",\n input: PostmarkEditWebhookInput,\n output: PostmarkEditWebhookOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC3D,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kFAAkF;CACvI,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAClG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B;AACpE,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,0CAA0C,EAAE,OAAO;CACvD,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC1E,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,mBAAmB,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAM,6CAA6C,EAAE,OAAO;CAC1D,MAAM,wCAAwC,SAAS,CAAC,CAAC,SAAS;CAClE,OAAO,wCAAwC,SAAS,CAAC,CAAC,SAAS;CACnE,QAAQ,wCAAwC,SAAS,CAAC,CAAC,SAAS;CACpE,SAAS,wCAAwC,SAAS,CAAC,CAAC,SAAS;CACrE,UAAU,wCAAwC,SAAS,CAAC,CAAC,SAAS;CACtE,eAAe,wCAAwC,SAAS,CAAC,CAAC,SAAS;CAC3E,oBAAoB,wCAAwC,SAAS,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAShE,MAAa,sBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAjBuC,EAAE,OAAO;EAChD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EACnE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;EACjD,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/G,UAAU,2CAA2C,SAAS;EAC9D,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-bounce-counts.cjs","names":["z","action"],"sources":["../../src/actions/get-bounce-counts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkGetBounceCountsInput = z.object({\n tag: z.string().describe(\"Filter bounce statistics by a specific tag.\").optional(),\n todate: z.string().describe(\"Filter stats up to this date (YYYY-MM-DD format).\").optional(),\n fromdate: z.string().describe(\"Filter stats starting from this date (YYYY-MM-DD format).\").optional(),\n}).describe(\"Query parameters for retrieving bounce count statistics with optional filters.\");\nconst PostmarkGetBounceCounts_DayBounceCountsSchema = z.object({\n Date: z.string().describe(\"Date for the bounce statistics (YYYY-MM-DD).\").nullable(),\n Transient: z.number().int().describe(\"Number of transient bounces on this date.\").nullable().optional(),\n HardBounce: z.number().int().describe(\"Number of hard bounces on this date.\").nullable().optional(),\n SoftBounce: z.number().int().describe(\"Number of soft bounces on this date.\").nullable().optional(),\n SMTPApiError: z.number().int().describe(\"Number of SMTP API errors on this date.\").nullable().optional(),\n}).passthrough().describe(\"Bounce counts for a single day, broken down by bounce type.\");\nexport const PostmarkGetBounceCountsOutput = z.object({\n Days: z.array(PostmarkGetBounceCounts_DayBounceCountsSchema).describe(\"List of bounce counts by day. Days without bounces are omitted.\").nullable().optional(),\n Transient: z.number().int().describe(\"Total number of transient bounces across the period.\").nullable().optional(),\n HardBounce: z.number().int().describe(\"Total number of hard bounces across the period.\").nullable().optional(),\n SoftBounce: z.number().int().describe(\"Total number of soft bounces across the period.\").nullable().optional(),\n SMTPApiError: z.number().int().describe(\"Total number of SMTP API errors across the period.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for GetBounceCounts action with aggregate and daily bounce statistics.\");\n\nexport const postmarkGetBounceCounts = action(\"POSTMARK_GET_BOUNCE_COUNTS\", {\n slug: \"postmark-get-bounce-counts\",\n name: \"Get Bounce Counts\",\n description: \"Tool to get total counts of emails that have been returned as bounced. Use when you need aggregate bounce statistics and per-day breakdown by bounce type (hard bounce, soft bounce, transient, SMTP API errors).\",\n input: PostmarkGetBounceCountsInput,\n output: PostmarkGetBounceCountsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-bounce-counts.cjs","names":["z","action"],"sources":["../../src/actions/get-bounce-counts.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 PostmarkGetBounceCountsInput = z.object({\n tag: z.string().describe(\"Filter bounce statistics by a specific tag.\").optional(),\n todate: z.string().describe(\"Filter stats up to this date (YYYY-MM-DD format).\").optional(),\n fromdate: z.string().describe(\"Filter stats starting from this date (YYYY-MM-DD format).\").optional(),\n}).describe(\"Query parameters for retrieving bounce count statistics with optional filters.\");\nconst PostmarkGetBounceCounts_DayBounceCountsSchema = z.object({\n Date: z.string().describe(\"Date for the bounce statistics (YYYY-MM-DD).\").nullable(),\n Transient: z.number().int().describe(\"Number of transient bounces on this date.\").nullable().optional(),\n HardBounce: z.number().int().describe(\"Number of hard bounces on this date.\").nullable().optional(),\n SoftBounce: z.number().int().describe(\"Number of soft bounces on this date.\").nullable().optional(),\n SMTPApiError: z.number().int().describe(\"Number of SMTP API errors on this date.\").nullable().optional(),\n}).passthrough().describe(\"Bounce counts for a single day, broken down by bounce type.\");\nexport const PostmarkGetBounceCountsOutput = z.object({\n Days: z.array(PostmarkGetBounceCounts_DayBounceCountsSchema).describe(\"List of bounce counts by day. Days without bounces are omitted.\").nullable().optional(),\n Transient: z.number().int().describe(\"Total number of transient bounces across the period.\").nullable().optional(),\n HardBounce: z.number().int().describe(\"Total number of hard bounces across the period.\").nullable().optional(),\n SoftBounce: z.number().int().describe(\"Total number of soft bounces across the period.\").nullable().optional(),\n SMTPApiError: z.number().int().describe(\"Total number of SMTP API errors across the period.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for GetBounceCounts action with aggregate and daily bounce statistics.\");\n\nexport const postmarkGetBounceCounts: AppAction<\n typeof PostmarkGetBounceCountsInput,\n typeof PostmarkGetBounceCountsOutput,\n typeof postmark.credential\n> = action(\"POSTMARK_GET_BOUNCE_COUNTS\", {\n slug: \"postmark-get-bounce-counts\",\n name: \"Get Bounce Counts\",\n description: \"Tool to get total counts of emails that have been returned as bounced. Use when you need aggregate bounce statistics and per-day breakdown by bounce type (hard bounce, soft bounce, transient, SMTP API errors).\",\n input: PostmarkGetBounceCountsInput,\n output: PostmarkGetBounceCountsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACjF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC1F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,gFAAgF;AAC5F,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACnF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AACvF,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7J,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wFAAwF;AAElH,MAAa,0BAITC,eAAAA,OAAO,8BAA8B;CACvC,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/get-bounce-counts.d.ts
|
|
@@ -19,11 +21,7 @@ declare const PostmarkGetBounceCountsOutput: z.ZodObject<{
|
|
|
19
21
|
SoftBounce: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
20
22
|
SMTPApiError: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
23
|
}, z.core.$loose>;
|
|
22
|
-
declare const postmarkGetBounceCounts:
|
|
23
|
-
tag?: string | undefined;
|
|
24
|
-
todate?: string | undefined;
|
|
25
|
-
fromdate?: string | undefined;
|
|
26
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
24
|
+
declare const postmarkGetBounceCounts: AppAction<typeof PostmarkGetBounceCountsInput, typeof PostmarkGetBounceCountsOutput, typeof postmark.credential>;
|
|
27
25
|
//#endregion
|
|
28
26
|
export { postmarkGetBounceCounts };
|
|
29
27
|
//# sourceMappingURL=get-bounce-counts.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-bounce-counts.d.cts","names":[],"sources":["../../src/actions/get-bounce-counts.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-bounce-counts.d.cts","names":[],"sources":["../../src/actions/get-bounce-counts.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;cAY5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAQ7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,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/get-bounce-counts.d.ts
|
|
@@ -19,11 +21,7 @@ declare const PostmarkGetBounceCountsOutput: z.ZodObject<{
|
|
|
19
21
|
SoftBounce: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
20
22
|
SMTPApiError: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
23
|
}, z.core.$loose>;
|
|
22
|
-
declare const postmarkGetBounceCounts:
|
|
23
|
-
tag?: string | undefined;
|
|
24
|
-
todate?: string | undefined;
|
|
25
|
-
fromdate?: string | undefined;
|
|
26
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
24
|
+
declare const postmarkGetBounceCounts: AppAction<typeof PostmarkGetBounceCountsInput, typeof PostmarkGetBounceCountsOutput, typeof postmark.credential>;
|
|
27
25
|
//#endregion
|
|
28
26
|
export { postmarkGetBounceCounts };
|
|
29
27
|
//# sourceMappingURL=get-bounce-counts.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-bounce-counts.d.mts","names":[],"sources":["../../src/actions/get-bounce-counts.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-bounce-counts.d.mts","names":[],"sources":["../../src/actions/get-bounce-counts.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;cAY5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAQ7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-bounce-counts.mjs","names":[],"sources":["../../src/actions/get-bounce-counts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkGetBounceCountsInput = z.object({\n tag: z.string().describe(\"Filter bounce statistics by a specific tag.\").optional(),\n todate: z.string().describe(\"Filter stats up to this date (YYYY-MM-DD format).\").optional(),\n fromdate: z.string().describe(\"Filter stats starting from this date (YYYY-MM-DD format).\").optional(),\n}).describe(\"Query parameters for retrieving bounce count statistics with optional filters.\");\nconst PostmarkGetBounceCounts_DayBounceCountsSchema = z.object({\n Date: z.string().describe(\"Date for the bounce statistics (YYYY-MM-DD).\").nullable(),\n Transient: z.number().int().describe(\"Number of transient bounces on this date.\").nullable().optional(),\n HardBounce: z.number().int().describe(\"Number of hard bounces on this date.\").nullable().optional(),\n SoftBounce: z.number().int().describe(\"Number of soft bounces on this date.\").nullable().optional(),\n SMTPApiError: z.number().int().describe(\"Number of SMTP API errors on this date.\").nullable().optional(),\n}).passthrough().describe(\"Bounce counts for a single day, broken down by bounce type.\");\nexport const PostmarkGetBounceCountsOutput = z.object({\n Days: z.array(PostmarkGetBounceCounts_DayBounceCountsSchema).describe(\"List of bounce counts by day. Days without bounces are omitted.\").nullable().optional(),\n Transient: z.number().int().describe(\"Total number of transient bounces across the period.\").nullable().optional(),\n HardBounce: z.number().int().describe(\"Total number of hard bounces across the period.\").nullable().optional(),\n SoftBounce: z.number().int().describe(\"Total number of soft bounces across the period.\").nullable().optional(),\n SMTPApiError: z.number().int().describe(\"Total number of SMTP API errors across the period.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for GetBounceCounts action with aggregate and daily bounce statistics.\");\n\nexport const postmarkGetBounceCounts = action(\"POSTMARK_GET_BOUNCE_COUNTS\", {\n slug: \"postmark-get-bounce-counts\",\n name: \"Get Bounce Counts\",\n description: \"Tool to get total counts of emails that have been returned as bounced. Use when you need aggregate bounce statistics and per-day breakdown by bounce type (hard bounce, soft bounce, transient, SMTP API errors).\",\n input: PostmarkGetBounceCountsInput,\n output: PostmarkGetBounceCountsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-bounce-counts.mjs","names":[],"sources":["../../src/actions/get-bounce-counts.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 PostmarkGetBounceCountsInput = z.object({\n tag: z.string().describe(\"Filter bounce statistics by a specific tag.\").optional(),\n todate: z.string().describe(\"Filter stats up to this date (YYYY-MM-DD format).\").optional(),\n fromdate: z.string().describe(\"Filter stats starting from this date (YYYY-MM-DD format).\").optional(),\n}).describe(\"Query parameters for retrieving bounce count statistics with optional filters.\");\nconst PostmarkGetBounceCounts_DayBounceCountsSchema = z.object({\n Date: z.string().describe(\"Date for the bounce statistics (YYYY-MM-DD).\").nullable(),\n Transient: z.number().int().describe(\"Number of transient bounces on this date.\").nullable().optional(),\n HardBounce: z.number().int().describe(\"Number of hard bounces on this date.\").nullable().optional(),\n SoftBounce: z.number().int().describe(\"Number of soft bounces on this date.\").nullable().optional(),\n SMTPApiError: z.number().int().describe(\"Number of SMTP API errors on this date.\").nullable().optional(),\n}).passthrough().describe(\"Bounce counts for a single day, broken down by bounce type.\");\nexport const PostmarkGetBounceCountsOutput = z.object({\n Days: z.array(PostmarkGetBounceCounts_DayBounceCountsSchema).describe(\"List of bounce counts by day. Days without bounces are omitted.\").nullable().optional(),\n Transient: z.number().int().describe(\"Total number of transient bounces across the period.\").nullable().optional(),\n HardBounce: z.number().int().describe(\"Total number of hard bounces across the period.\").nullable().optional(),\n SoftBounce: z.number().int().describe(\"Total number of soft bounces across the period.\").nullable().optional(),\n SMTPApiError: z.number().int().describe(\"Total number of SMTP API errors across the period.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for GetBounceCounts action with aggregate and daily bounce statistics.\");\n\nexport const postmarkGetBounceCounts: AppAction<\n typeof PostmarkGetBounceCountsInput,\n typeof PostmarkGetBounceCountsOutput,\n typeof postmark.credential\n> = action(\"POSTMARK_GET_BOUNCE_COUNTS\", {\n slug: \"postmark-get-bounce-counts\",\n name: \"Get Bounce Counts\",\n description: \"Tool to get total counts of emails that have been returned as bounced. Use when you need aggregate bounce statistics and per-day breakdown by bounce type (hard bounce, soft bounce, transient, SMTP API errors).\",\n input: PostmarkGetBounceCountsInput,\n output: PostmarkGetBounceCountsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+B,EAAE,OAAO;CACnD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACjF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC1F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,gFAAgF;AAC5F,MAAM,gDAAgD,EAAE,OAAO;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACnF,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AASvF,MAAa,0BAIT,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAjB2C,EAAE,OAAO;EACpD,MAAM,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7J,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wFAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-bounces.cjs","names":["z","action"],"sources":["../../src/actions/get-bounces.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkGetBouncesInput = z.object({\n tag: z.string().describe(\"Filter bounces sent with this tag.\").optional(),\n type: z.string().describe(\"Filter by bounce type. Exact match, e.g., 'HardBounce', 'Transient', 'SoftBounce', 'SpamComplaint'.\").optional(),\n count: z.number().int().describe(\"Number of bounces to return per page (1-500).\").optional(),\n offset: z.number().int().describe(\"Number of bounces to skip for pagination.\").optional(),\n todate: z.string().describe(\"Only include bounces before this ISO-8601 datetime.\").optional(),\n fromdate: z.string().describe(\"Only include bounces after this ISO-8601 datetime.\").optional(),\n inactive: z.boolean().describe(\"If true, return only inactive bounces.\").optional(),\n messageID: z.string().describe(\"Return bounces for this specific message ID.\").optional(),\n emailFilter: z.string().describe(\"Return bounces for this specific email address.\").optional(),\n mailboxHash: z.string().describe(\"Filter by mailbox hash (the part after '+' in the email).\").optional(),\n}).describe(\"Query parameters for retrieving bounces with optional filters.\");\nconst PostmarkGetBounces_BounceSchema = z.object({\n ID: z.number().int().describe(\"Bounce ID.\").nullable(),\n Tag: z.string().describe(\"Associated tag.\").nullable().optional(),\n Name: z.string().describe(\"Name of bounce type.\").nullable(),\n Type: z.string().describe(\"Type of bounce.\").nullable(),\n Email: z.string().describe(\"Email address bounced.\").nullable(),\n Content: z.string().describe(\"Content of bounce if available.\").nullable().optional(),\n Details: z.string().describe(\"Details about bounce.\").nullable().optional(),\n Subject: z.string().describe(\"Subject of original message.\").nullable().optional(),\n Inactive: z.boolean().describe(\"If email is inactive.\").nullable(),\n TypeCode: z.number().int().describe(\"Internal code for bounce type.\").nullable(),\n BouncedAt: z.string().describe(\"When the bounce occurred, ISO-8601.\").nullable(),\n MessageID: z.string().describe(\"Message identifier.\").nullable(),\n CanActivate: z.boolean().describe(\"If email can be reactivated.\").nullable(),\n Description: z.string().describe(\"Description of the bounce event.\").nullable(),\n DumpAvailable: z.boolean().describe(\"If dump info is available.\").nullable(),\n MessageStream: z.string().describe(\"Associated message stream name.\").nullable().optional(),\n}).passthrough().describe(\"A single bounce record.\");\nexport const PostmarkGetBouncesOutput = z.object({\n Bounces: z.array(PostmarkGetBounces_BounceSchema).describe(\"List of bounce records.\"),\n TotalCount: z.number().int().describe(\"Total number of bounces matching query.\").nullable(),\n}).passthrough().describe(\"Response schema for Get Bounces action.\");\n\nexport const postmarkGetBounces = action(\"POSTMARK_GET_BOUNCES\", {\n slug: \"postmark-get-bounces\",\n name: \"Get Bounces\",\n description: \"Tool to retrieve a list of bounces for a server with optional filters. Use when you need to page through bounce data after applying filters.\",\n input: PostmarkGetBouncesInput,\n output: PostmarkGetBouncesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-bounces.cjs","names":["z","action"],"sources":["../../src/actions/get-bounces.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 PostmarkGetBouncesInput = z.object({\n tag: z.string().describe(\"Filter bounces sent with this tag.\").optional(),\n type: z.string().describe(\"Filter by bounce type. Exact match, e.g., 'HardBounce', 'Transient', 'SoftBounce', 'SpamComplaint'.\").optional(),\n count: z.number().int().describe(\"Number of bounces to return per page (1-500).\").optional(),\n offset: z.number().int().describe(\"Number of bounces to skip for pagination.\").optional(),\n todate: z.string().describe(\"Only include bounces before this ISO-8601 datetime.\").optional(),\n fromdate: z.string().describe(\"Only include bounces after this ISO-8601 datetime.\").optional(),\n inactive: z.boolean().describe(\"If true, return only inactive bounces.\").optional(),\n messageID: z.string().describe(\"Return bounces for this specific message ID.\").optional(),\n emailFilter: z.string().describe(\"Return bounces for this specific email address.\").optional(),\n mailboxHash: z.string().describe(\"Filter by mailbox hash (the part after '+' in the email).\").optional(),\n}).describe(\"Query parameters for retrieving bounces with optional filters.\");\nconst PostmarkGetBounces_BounceSchema = z.object({\n ID: z.number().int().describe(\"Bounce ID.\").nullable(),\n Tag: z.string().describe(\"Associated tag.\").nullable().optional(),\n Name: z.string().describe(\"Name of bounce type.\").nullable(),\n Type: z.string().describe(\"Type of bounce.\").nullable(),\n Email: z.string().describe(\"Email address bounced.\").nullable(),\n Content: z.string().describe(\"Content of bounce if available.\").nullable().optional(),\n Details: z.string().describe(\"Details about bounce.\").nullable().optional(),\n Subject: z.string().describe(\"Subject of original message.\").nullable().optional(),\n Inactive: z.boolean().describe(\"If email is inactive.\").nullable(),\n TypeCode: z.number().int().describe(\"Internal code for bounce type.\").nullable(),\n BouncedAt: z.string().describe(\"When the bounce occurred, ISO-8601.\").nullable(),\n MessageID: z.string().describe(\"Message identifier.\").nullable(),\n CanActivate: z.boolean().describe(\"If email can be reactivated.\").nullable(),\n Description: z.string().describe(\"Description of the bounce event.\").nullable(),\n DumpAvailable: z.boolean().describe(\"If dump info is available.\").nullable(),\n MessageStream: z.string().describe(\"Associated message stream name.\").nullable().optional(),\n}).passthrough().describe(\"A single bounce record.\");\nexport const PostmarkGetBouncesOutput = z.object({\n Bounces: z.array(PostmarkGetBounces_BounceSchema).describe(\"List of bounce records.\"),\n TotalCount: z.number().int().describe(\"Total number of bounces matching query.\").nullable(),\n}).passthrough().describe(\"Response schema for Get Bounces action.\");\n\nexport const postmarkGetBounces: AppAction<\n typeof PostmarkGetBouncesInput,\n typeof PostmarkGetBouncesOutput,\n typeof postmark.credential\n> = action(\"POSTMARK_GET_BOUNCES\", {\n slug: \"postmark-get-bounces\",\n name: \"Get Bounces\",\n description: \"Tool to retrieve a list of bounces for a server with optional filters. Use when you need to page through bounce data after applying filters.\",\n input: PostmarkGetBouncesInput,\n output: PostmarkGetBouncesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAC1I,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC3F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACxF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC5F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC7F,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAClF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACxF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC7F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,kCAAkCA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;CACrD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACtD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC9D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CACjE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC/E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC/E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC/D,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAC3E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC9E,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC3E,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yBAAyB;AACnD,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,SAASA,IAAAA,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,yBAAyB;CACpF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAEnE,MAAa,qBAITC,eAAAA,OAAO,wBAAwB;CACjC,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/get-bounces.d.ts
|
|
@@ -34,18 +36,7 @@ declare const PostmarkGetBouncesOutput: z.ZodObject<{
|
|
|
34
36
|
}, z.core.$loose>>;
|
|
35
37
|
TotalCount: z.ZodNullable<z.ZodNumber>;
|
|
36
38
|
}, z.core.$loose>;
|
|
37
|
-
declare const postmarkGetBounces:
|
|
38
|
-
tag?: string | undefined;
|
|
39
|
-
type?: string | undefined;
|
|
40
|
-
count?: number | undefined;
|
|
41
|
-
offset?: number | undefined;
|
|
42
|
-
todate?: string | undefined;
|
|
43
|
-
fromdate?: string | undefined;
|
|
44
|
-
inactive?: boolean | undefined;
|
|
45
|
-
messageID?: string | undefined;
|
|
46
|
-
emailFilter?: string | undefined;
|
|
47
|
-
mailboxHash?: string | undefined;
|
|
48
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
39
|
+
declare const postmarkGetBounces: AppAction<typeof PostmarkGetBouncesInput, typeof PostmarkGetBouncesOutput, typeof postmark.credential>;
|
|
49
40
|
//#endregion
|
|
50
41
|
export { postmarkGetBounces };
|
|
51
42
|
//# sourceMappingURL=get-bounces.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-bounces.d.cts","names":[],"sources":["../../src/actions/get-bounces.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-bounces.d.cts","names":[],"sources":["../../src/actions/get-bounces.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;cA8BvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAKxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,QAAA,CAAS,UAAA"}
|