@keystrokehq/postmark 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/archive-message-stream.cjs +1 -1
- package/dist/actions/archive-message-stream.cjs.map +1 -1
- package/dist/actions/archive-message-stream.d.cts +1 -1
- package/dist/actions/archive-message-stream.d.mts +1 -1
- package/dist/actions/archive-message-stream.mjs +1 -1
- package/dist/actions/archive-message-stream.mjs.map +1 -1
- package/dist/actions/check-spam-score.cjs +1 -1
- package/dist/actions/check-spam-score.cjs.map +1 -1
- package/dist/actions/check-spam-score.d.cts +1 -1
- package/dist/actions/check-spam-score.d.mts +1 -1
- package/dist/actions/check-spam-score.mjs +1 -1
- package/dist/actions/check-spam-score.mjs.map +1 -1
- package/dist/actions/create-inbound-rule.cjs +1 -1
- package/dist/actions/create-inbound-rule.cjs.map +1 -1
- package/dist/actions/create-inbound-rule.d.cts +1 -1
- package/dist/actions/create-inbound-rule.d.mts +1 -1
- package/dist/actions/create-inbound-rule.mjs +1 -1
- package/dist/actions/create-inbound-rule.mjs.map +1 -1
- package/dist/actions/create-message-stream.cjs +2 -2
- package/dist/actions/create-message-stream.cjs.map +1 -1
- package/dist/actions/create-message-stream.d.cts +2 -2
- package/dist/actions/create-message-stream.d.mts +2 -2
- package/dist/actions/create-message-stream.mjs +2 -2
- package/dist/actions/create-message-stream.mjs.map +1 -1
- package/dist/actions/create-suppressions.cjs +3 -3
- package/dist/actions/create-suppressions.cjs.map +1 -1
- package/dist/actions/create-suppressions.d.cts +4 -3
- package/dist/actions/create-suppressions.d.mts +4 -3
- package/dist/actions/create-suppressions.mjs +3 -3
- package/dist/actions/create-suppressions.mjs.map +1 -1
- package/dist/actions/create-template.cjs +1 -1
- package/dist/actions/create-template.cjs.map +1 -1
- package/dist/actions/create-template.d.cts +1 -1
- package/dist/actions/create-template.d.mts +1 -1
- package/dist/actions/create-template.mjs +1 -1
- package/dist/actions/create-template.mjs.map +1 -1
- package/dist/actions/create-webhook.cjs +11 -11
- package/dist/actions/create-webhook.cjs.map +1 -1
- package/dist/actions/create-webhook.d.cts +12 -11
- package/dist/actions/create-webhook.d.mts +12 -11
- package/dist/actions/create-webhook.mjs +11 -11
- package/dist/actions/create-webhook.mjs.map +1 -1
- package/dist/actions/delete-inbound-rule.cjs +1 -1
- package/dist/actions/delete-inbound-rule.cjs.map +1 -1
- package/dist/actions/delete-inbound-rule.d.cts +1 -1
- package/dist/actions/delete-inbound-rule.d.cts.map +1 -1
- package/dist/actions/delete-inbound-rule.d.mts +1 -1
- package/dist/actions/delete-inbound-rule.d.mts.map +1 -1
- package/dist/actions/delete-inbound-rule.mjs +1 -1
- package/dist/actions/delete-inbound-rule.mjs.map +1 -1
- package/dist/actions/delete-suppressions.cjs +3 -3
- package/dist/actions/delete-suppressions.cjs.map +1 -1
- package/dist/actions/delete-suppressions.d.cts +4 -3
- package/dist/actions/delete-suppressions.d.mts +4 -3
- package/dist/actions/delete-suppressions.mjs +3 -3
- package/dist/actions/delete-suppressions.mjs.map +1 -1
- package/dist/actions/delete-template.cjs +1 -1
- package/dist/actions/delete-template.cjs.map +1 -1
- package/dist/actions/delete-template.d.cts +1 -1
- package/dist/actions/delete-template.d.mts +1 -1
- package/dist/actions/delete-template.mjs +1 -1
- package/dist/actions/delete-template.mjs.map +1 -1
- package/dist/actions/delete-webhook.cjs +1 -1
- package/dist/actions/delete-webhook.cjs.map +1 -1
- package/dist/actions/delete-webhook.d.cts +1 -1
- package/dist/actions/delete-webhook.d.cts.map +1 -1
- package/dist/actions/delete-webhook.d.mts +1 -1
- package/dist/actions/delete-webhook.d.mts.map +1 -1
- package/dist/actions/delete-webhook.mjs +1 -1
- package/dist/actions/delete-webhook.mjs.map +1 -1
- package/dist/actions/edit-server.cjs +1 -1
- package/dist/actions/edit-server.cjs.map +1 -1
- package/dist/actions/edit-server.d.cts +1 -1
- package/dist/actions/edit-server.d.mts +1 -1
- package/dist/actions/edit-server.mjs +1 -1
- package/dist/actions/edit-server.mjs.map +1 -1
- package/dist/actions/edit-template.cjs +1 -1
- package/dist/actions/edit-template.cjs.map +1 -1
- package/dist/actions/edit-template.d.cts +1 -1
- package/dist/actions/edit-template.d.mts +1 -1
- package/dist/actions/edit-template.mjs +1 -1
- package/dist/actions/edit-template.mjs.map +1 -1
- package/dist/actions/edit-webhook.cjs +4 -4
- package/dist/actions/edit-webhook.cjs.map +1 -1
- package/dist/actions/edit-webhook.d.cts +11 -11
- package/dist/actions/edit-webhook.d.mts +11 -11
- package/dist/actions/edit-webhook.mjs +4 -4
- package/dist/actions/edit-webhook.mjs.map +1 -1
- package/dist/actions/get-bounce-counts.cjs +2 -2
- package/dist/actions/get-bounce-counts.cjs.map +1 -1
- package/dist/actions/get-bounce-counts.d.cts +2 -2
- package/dist/actions/get-bounce-counts.d.mts +2 -2
- package/dist/actions/get-bounce-counts.mjs +2 -2
- package/dist/actions/get-bounce-counts.mjs.map +1 -1
- package/dist/actions/get-bounces.cjs +2 -2
- package/dist/actions/get-bounces.cjs.map +1 -1
- package/dist/actions/get-bounces.d.cts +2 -2
- package/dist/actions/get-bounces.d.mts +2 -2
- package/dist/actions/get-bounces.mjs +2 -2
- package/dist/actions/get-bounces.mjs.map +1 -1
- package/dist/actions/get-browser-platform-usage.cjs +2 -2
- package/dist/actions/get-browser-platform-usage.cjs.map +1 -1
- package/dist/actions/get-browser-platform-usage.d.cts +2 -2
- package/dist/actions/get-browser-platform-usage.d.mts +2 -2
- package/dist/actions/get-browser-platform-usage.mjs +2 -2
- package/dist/actions/get-browser-platform-usage.mjs.map +1 -1
- package/dist/actions/get-browser-usage.cjs +3 -3
- package/dist/actions/get-browser-usage.cjs.map +1 -1
- package/dist/actions/get-browser-usage.d.cts +3 -3
- package/dist/actions/get-browser-usage.d.mts +3 -3
- package/dist/actions/get-browser-usage.mjs +3 -3
- package/dist/actions/get-browser-usage.mjs.map +1 -1
- package/dist/actions/get-click-counts.cjs +3 -3
- package/dist/actions/get-click-counts.cjs.map +1 -1
- package/dist/actions/get-click-counts.d.cts +3 -3
- package/dist/actions/get-click-counts.d.mts +3 -3
- package/dist/actions/get-click-counts.mjs +3 -3
- package/dist/actions/get-click-counts.mjs.map +1 -1
- package/dist/actions/get-clicks-by-location.cjs +2 -2
- package/dist/actions/get-clicks-by-location.cjs.map +1 -1
- package/dist/actions/get-clicks-by-location.d.cts +2 -2
- package/dist/actions/get-clicks-by-location.d.mts +2 -2
- package/dist/actions/get-clicks-by-location.mjs +2 -2
- package/dist/actions/get-clicks-by-location.mjs.map +1 -1
- package/dist/actions/get-delivery-stats.cjs +2 -2
- package/dist/actions/get-delivery-stats.cjs.map +1 -1
- package/dist/actions/get-delivery-stats.d.cts +2 -2
- package/dist/actions/get-delivery-stats.d.mts +2 -2
- package/dist/actions/get-delivery-stats.mjs +2 -2
- package/dist/actions/get-delivery-stats.mjs.map +1 -1
- package/dist/actions/get-email-open-counts.cjs +2 -2
- package/dist/actions/get-email-open-counts.cjs.map +1 -1
- package/dist/actions/get-email-open-counts.d.cts +2 -2
- package/dist/actions/get-email-open-counts.d.mts +2 -2
- package/dist/actions/get-email-open-counts.mjs +2 -2
- package/dist/actions/get-email-open-counts.mjs.map +1 -1
- package/dist/actions/get-message-stream.cjs +2 -2
- package/dist/actions/get-message-stream.cjs.map +1 -1
- package/dist/actions/get-message-stream.d.cts +2 -2
- package/dist/actions/get-message-stream.d.mts +2 -2
- package/dist/actions/get-message-stream.mjs +2 -2
- package/dist/actions/get-message-stream.mjs.map +1 -1
- package/dist/actions/get-opens-by-platform.cjs +2 -2
- package/dist/actions/get-opens-by-platform.cjs.map +1 -1
- package/dist/actions/get-opens-by-platform.d.cts +2 -2
- package/dist/actions/get-opens-by-platform.d.mts +2 -2
- package/dist/actions/get-opens-by-platform.mjs +2 -2
- package/dist/actions/get-opens-by-platform.mjs.map +1 -1
- package/dist/actions/get-outbound-overview.cjs +1 -1
- package/dist/actions/get-outbound-overview.cjs.map +1 -1
- package/dist/actions/get-outbound-overview.d.cts +1 -1
- package/dist/actions/get-outbound-overview.d.mts +1 -1
- package/dist/actions/get-outbound-overview.mjs +1 -1
- package/dist/actions/get-outbound-overview.mjs.map +1 -1
- package/dist/actions/get-sent-counts.cjs +2 -2
- package/dist/actions/get-sent-counts.cjs.map +1 -1
- package/dist/actions/get-sent-counts.d.cts +2 -2
- package/dist/actions/get-sent-counts.d.mts +2 -2
- package/dist/actions/get-sent-counts.mjs +2 -2
- package/dist/actions/get-sent-counts.mjs.map +1 -1
- package/dist/actions/get-server.cjs +1 -1
- package/dist/actions/get-server.cjs.map +1 -1
- package/dist/actions/get-server.d.cts +1 -1
- package/dist/actions/get-server.d.mts +1 -1
- package/dist/actions/get-server.mjs +1 -1
- package/dist/actions/get-server.mjs.map +1 -1
- package/dist/actions/get-spam-complaints.cjs +2 -2
- package/dist/actions/get-spam-complaints.cjs.map +1 -1
- package/dist/actions/get-spam-complaints.d.cts +2 -2
- package/dist/actions/get-spam-complaints.d.mts +2 -2
- package/dist/actions/get-spam-complaints.mjs +2 -2
- package/dist/actions/get-spam-complaints.mjs.map +1 -1
- package/dist/actions/get-template.cjs +1 -1
- package/dist/actions/get-template.cjs.map +1 -1
- package/dist/actions/get-template.d.cts +1 -1
- package/dist/actions/get-template.d.mts +1 -1
- package/dist/actions/get-template.mjs +1 -1
- package/dist/actions/get-template.mjs.map +1 -1
- package/dist/actions/get-tracked-email-counts.cjs +2 -2
- package/dist/actions/get-tracked-email-counts.cjs.map +1 -1
- package/dist/actions/get-tracked-email-counts.d.cts +2 -2
- package/dist/actions/get-tracked-email-counts.d.mts +2 -2
- package/dist/actions/get-tracked-email-counts.mjs +2 -2
- package/dist/actions/get-tracked-email-counts.mjs.map +1 -1
- package/dist/actions/get-webhook.cjs +8 -8
- package/dist/actions/get-webhook.cjs.map +1 -1
- package/dist/actions/get-webhook.d.cts +8 -8
- package/dist/actions/get-webhook.d.mts +8 -8
- package/dist/actions/get-webhook.mjs +8 -8
- package/dist/actions/get-webhook.mjs.map +1 -1
- package/dist/actions/list-inbound-rules.cjs +2 -2
- package/dist/actions/list-inbound-rules.cjs.map +1 -1
- package/dist/actions/list-inbound-rules.d.cts +2 -2
- package/dist/actions/list-inbound-rules.d.mts +2 -2
- package/dist/actions/list-inbound-rules.mjs +2 -2
- package/dist/actions/list-inbound-rules.mjs.map +1 -1
- package/dist/actions/list-message-streams.cjs +3 -3
- package/dist/actions/list-message-streams.cjs.map +1 -1
- package/dist/actions/list-message-streams.d.cts +5 -5
- package/dist/actions/list-message-streams.d.mts +5 -5
- package/dist/actions/list-message-streams.mjs +3 -3
- package/dist/actions/list-message-streams.mjs.map +1 -1
- package/dist/actions/list-outbound-message-clicks.cjs +5 -5
- package/dist/actions/list-outbound-message-clicks.cjs.map +1 -1
- package/dist/actions/list-outbound-message-clicks.d.cts +5 -5
- package/dist/actions/list-outbound-message-clicks.d.mts +5 -5
- package/dist/actions/list-outbound-message-clicks.mjs +5 -5
- package/dist/actions/list-outbound-message-clicks.mjs.map +1 -1
- package/dist/actions/list-outbound-message-opens.cjs +5 -5
- package/dist/actions/list-outbound-message-opens.cjs.map +1 -1
- package/dist/actions/list-outbound-message-opens.d.cts +5 -5
- package/dist/actions/list-outbound-message-opens.d.mts +5 -5
- package/dist/actions/list-outbound-message-opens.mjs +5 -5
- package/dist/actions/list-outbound-message-opens.mjs.map +1 -1
- package/dist/actions/list-suppressions.cjs +2 -2
- package/dist/actions/list-suppressions.cjs.map +1 -1
- package/dist/actions/list-suppressions.d.cts +2 -2
- package/dist/actions/list-suppressions.d.mts +2 -2
- package/dist/actions/list-suppressions.mjs +2 -2
- package/dist/actions/list-suppressions.mjs.map +1 -1
- package/dist/actions/list-templates.cjs +2 -2
- package/dist/actions/list-templates.cjs.map +1 -1
- package/dist/actions/list-templates.d.cts +2 -2
- package/dist/actions/list-templates.d.mts +2 -2
- package/dist/actions/list-templates.mjs +2 -2
- package/dist/actions/list-templates.mjs.map +1 -1
- package/dist/actions/list-webhooks.cjs +10 -10
- package/dist/actions/list-webhooks.cjs.map +1 -1
- package/dist/actions/list-webhooks.d.cts +10 -10
- package/dist/actions/list-webhooks.d.mts +10 -10
- package/dist/actions/list-webhooks.mjs +10 -10
- package/dist/actions/list-webhooks.mjs.map +1 -1
- package/dist/actions/search-inbound-messages.cjs +5 -5
- package/dist/actions/search-inbound-messages.cjs.map +1 -1
- package/dist/actions/search-inbound-messages.d.cts +7 -7
- package/dist/actions/search-inbound-messages.d.mts +7 -7
- package/dist/actions/search-inbound-messages.mjs +5 -5
- package/dist/actions/search-inbound-messages.mjs.map +1 -1
- package/dist/actions/search-outbound-messages.cjs +5 -5
- package/dist/actions/search-outbound-messages.cjs.map +1 -1
- package/dist/actions/search-outbound-messages.d.cts +7 -7
- package/dist/actions/search-outbound-messages.d.mts +7 -7
- package/dist/actions/search-outbound-messages.mjs +5 -5
- package/dist/actions/search-outbound-messages.mjs.map +1 -1
- package/dist/actions/send-batch-with-templates.cjs +4 -4
- package/dist/actions/send-batch-with-templates.cjs.map +1 -1
- package/dist/actions/send-batch-with-templates.d.cts +8 -5
- package/dist/actions/send-batch-with-templates.d.cts.map +1 -1
- package/dist/actions/send-batch-with-templates.d.mts +8 -5
- package/dist/actions/send-batch-with-templates.d.mts.map +1 -1
- package/dist/actions/send-batch-with-templates.mjs +4 -4
- package/dist/actions/send-batch-with-templates.mjs.map +1 -1
- package/dist/actions/unarchive-message-stream.cjs +2 -2
- package/dist/actions/unarchive-message-stream.cjs.map +1 -1
- package/dist/actions/unarchive-message-stream.d.cts +2 -2
- package/dist/actions/unarchive-message-stream.d.mts +2 -2
- package/dist/actions/unarchive-message-stream.mjs +2 -2
- package/dist/actions/unarchive-message-stream.mjs.map +1 -1
- package/dist/actions/update-message-stream.cjs +1 -1
- package/dist/actions/update-message-stream.cjs.map +1 -1
- package/dist/actions/update-message-stream.d.cts +1 -1
- package/dist/actions/update-message-stream.d.mts +1 -1
- package/dist/actions/update-message-stream.mjs +1 -1
- package/dist/actions/update-message-stream.mjs.map +1 -1
- package/dist/actions/validate-template.cjs +2 -2
- package/dist/actions/validate-template.cjs.map +1 -1
- package/dist/actions/validate-template.d.cts +4 -4
- package/dist/actions/validate-template.d.mts +4 -4
- package/dist/actions/validate-template.mjs +2 -2
- package/dist/actions/validate-template.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -10,7 +10,7 @@ const PostmarkGetClicksByLocation_DayLocationSchema = z.object({
|
|
|
10
10
|
Date: z.string().describe("Date in YYYY-MM-DD format.").nullable(),
|
|
11
11
|
HTML: z.number().int().describe("Total number of clicks that were from links in the HTML content.").nullable().optional(),
|
|
12
12
|
Text: z.number().int().describe("Total number of clicks that were from links in the text content.").nullable().optional()
|
|
13
|
-
}).describe("Daily breakdown of clicks by location (HTML vs Text).");
|
|
13
|
+
}).passthrough().describe("Daily breakdown of clicks by location (HTML vs Text).");
|
|
14
14
|
const postmarkGetClicksByLocation = action("POSTMARK_GET_CLICKS_BY_LOCATION", {
|
|
15
15
|
slug: "postmark-get-clicks-by-location",
|
|
16
16
|
name: "Get Clicks by Location",
|
|
@@ -20,7 +20,7 @@ const postmarkGetClicksByLocation = action("POSTMARK_GET_CLICKS_BY_LOCATION", {
|
|
|
20
20
|
Days: z.array(PostmarkGetClicksByLocation_DayLocationSchema).describe("List of daily click location breakdowns. Days without statistics are omitted.").nullable().optional(),
|
|
21
21
|
HTML: z.number().int().describe("Aggregate total of HTML link clicks.").nullable().optional(),
|
|
22
22
|
Text: z.number().int().describe("Aggregate total of text link clicks.").nullable().optional()
|
|
23
|
-
}).describe("Response model for GetClicksByLocation action containing daily breakdown and aggregate totals of clicks by location.")
|
|
23
|
+
}).passthrough().describe("Response model for GetClicksByLocation action containing daily breakdown and aggregate totals of clicks by location.")
|
|
24
24
|
});
|
|
25
25
|
//#endregion
|
|
26
26
|
export { postmarkGetClicksByLocation };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-clicks-by-location.mjs","names":[],"sources":["../../src/actions/get-clicks-by-location.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkGetClicksByLocationInput = z.object({\n tag: z.string().describe(\"Filter by tag.\").optional(),\n todate: z.string().describe(\"Filter stats up to the date specified in YYYY-MM-DD format.\").optional(),\n fromdate: z.string().describe(\"Filter stats starting from the date specified in YYYY-MM-DD format.\").optional(),\n}).describe(\"Request model for GetClicksByLocation action. All parameters are optional.\");\nconst PostmarkGetClicksByLocation_DayLocationSchema = z.object({\n Date: z.string().describe(\"Date in YYYY-MM-DD format.\").nullable(),\n HTML: z.number().int().describe(\"Total number of clicks that were from links in the HTML content.\").nullable().optional(),\n Text: z.number().int().describe(\"Total number of clicks that were from links in the text content.\").nullable().optional(),\n}).describe(\"Daily breakdown of clicks by location (HTML vs Text).\");\nexport const PostmarkGetClicksByLocationOutput = z.object({\n Days: z.array(PostmarkGetClicksByLocation_DayLocationSchema).describe(\"List of daily click location breakdowns. Days without statistics are omitted.\").nullable().optional(),\n HTML: z.number().int().describe(\"Aggregate total of HTML link clicks.\").nullable().optional(),\n Text: z.number().int().describe(\"Aggregate total of text link clicks.\").nullable().optional(),\n}).describe(\"Response model for GetClicksByLocation action containing daily breakdown and aggregate totals of clicks by location.\");\n\nexport const postmarkGetClicksByLocation = action(\"POSTMARK_GET_CLICKS_BY_LOCATION\", {\n slug: \"postmark-get-clicks-by-location\",\n name: \"Get Clicks by Location\",\n description: \"Tool to get an overview of which part of the email links were clicked from (HTML or Text). Use when you need to analyze click patterns by content type.\",\n input: PostmarkGetClicksByLocationInput,\n output: PostmarkGetClicksByLocationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO;CACvD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACpD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACpG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,SAAS,4EAA4E;AACxF,MAAM,gDAAgD,EAAE,OAAO;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,SAAS,uDAAuD;
|
|
1
|
+
{"version":3,"file":"get-clicks-by-location.mjs","names":[],"sources":["../../src/actions/get-clicks-by-location.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkGetClicksByLocationInput = z.object({\n tag: z.string().describe(\"Filter by tag.\").optional(),\n todate: z.string().describe(\"Filter stats up to the date specified in YYYY-MM-DD format.\").optional(),\n fromdate: z.string().describe(\"Filter stats starting from the date specified in YYYY-MM-DD format.\").optional(),\n}).describe(\"Request model for GetClicksByLocation action. All parameters are optional.\");\nconst PostmarkGetClicksByLocation_DayLocationSchema = z.object({\n Date: z.string().describe(\"Date in YYYY-MM-DD format.\").nullable(),\n HTML: z.number().int().describe(\"Total number of clicks that were from links in the HTML content.\").nullable().optional(),\n Text: z.number().int().describe(\"Total number of clicks that were from links in the text content.\").nullable().optional(),\n}).passthrough().describe(\"Daily breakdown of clicks by location (HTML vs Text).\");\nexport const PostmarkGetClicksByLocationOutput = z.object({\n Days: z.array(PostmarkGetClicksByLocation_DayLocationSchema).describe(\"List of daily click location breakdowns. Days without statistics are omitted.\").nullable().optional(),\n HTML: z.number().int().describe(\"Aggregate total of HTML link clicks.\").nullable().optional(),\n Text: z.number().int().describe(\"Aggregate total of text link clicks.\").nullable().optional(),\n}).passthrough().describe(\"Response model for GetClicksByLocation action containing daily breakdown and aggregate totals of clicks by location.\");\n\nexport const postmarkGetClicksByLocation = action(\"POSTMARK_GET_CLICKS_BY_LOCATION\", {\n slug: \"postmark-get-clicks-by-location\",\n name: \"Get Clicks by Location\",\n description: \"Tool to get an overview of which part of the email links were clicked from (HTML or Text). Use when you need to analyze click patterns by content type.\",\n input: PostmarkGetClicksByLocationInput,\n output: PostmarkGetClicksByLocationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO;CACvD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACpD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACpG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,SAAS,4EAA4E;AACxF,MAAM,gDAAgD,EAAE,OAAO;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAOjF,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX+C,EAAE,OAAO;EACxD,MAAM,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3K,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sHAOhB;AACV,CAAC"}
|
|
@@ -6,11 +6,11 @@ const PostmarkGetDeliveryStats_BounceTypeCountSchema = zod.z.object({
|
|
|
6
6
|
Name: zod.z.string().describe("Human-readable name of the bounce type (e.g., 'All', 'Hard bounce', 'Message delayed')").nullable(),
|
|
7
7
|
Type: zod.z.string().describe("Bounce type identifier (e.g., 'HardBounce', 'Transient', 'AutoResponder', 'SpamNotification', 'SoftBounce', 'SpamComplaint')").nullable().optional(),
|
|
8
8
|
Count: zod.z.number().int().describe("Number of bounces of this type").nullable()
|
|
9
|
-
}).describe("Model representing a bounce type with its count.");
|
|
9
|
+
}).passthrough().describe("Model representing a bounce type with its count.");
|
|
10
10
|
const PostmarkGetDeliveryStatsOutput = zod.z.object({
|
|
11
11
|
Bounces: zod.z.array(PostmarkGetDeliveryStats_BounceTypeCountSchema).describe("List of bounce types with their counts, including total count ('All'), hard bounces, soft bounces, spam complaints, etc."),
|
|
12
12
|
InactiveMails: zod.z.number().int().describe("Number of inactive recipient email addresses").nullable()
|
|
13
|
-
}).describe("Response model for GetDeliveryStats action, representing delivery statistical counts.");
|
|
13
|
+
}).passthrough().describe("Response model for GetDeliveryStats action, representing delivery statistical counts.");
|
|
14
14
|
const postmarkGetDeliveryStats = require_action.action("POSTMARK_GET_DELIVERY_STATS", {
|
|
15
15
|
slug: "postmark-get-delivery-stats",
|
|
16
16
|
name: "Get Delivery Stats",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-delivery-stats.cjs","names":["z","action"],"sources":["../../src/actions/get-delivery-stats.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkGetDeliveryStatsInput = z.object({}).describe(\"Request model for GetDeliveryStats action.\\nThis action does not require any parameters.\");\nconst PostmarkGetDeliveryStats_BounceTypeCountSchema = z.object({\n Name: z.string().describe(\"Human-readable name of the bounce type (e.g., 'All', 'Hard bounce', 'Message delayed')\").nullable(),\n Type: z.string().describe(\"Bounce type identifier (e.g., 'HardBounce', 'Transient', 'AutoResponder', 'SpamNotification', 'SoftBounce', 'SpamComplaint')\").nullable().optional(),\n Count: z.number().int().describe(\"Number of bounces of this type\").nullable(),\n}).describe(\"Model representing a bounce type with its count.\");\nexport const PostmarkGetDeliveryStatsOutput = z.object({\n Bounces: z.array(PostmarkGetDeliveryStats_BounceTypeCountSchema).describe(\"List of bounce types with their counts, including total count ('All'), hard bounces, soft bounces, spam complaints, etc.\"),\n InactiveMails: z.number().int().describe(\"Number of inactive recipient email addresses\").nullable(),\n}).describe(\"Response model for GetDeliveryStats action, representing delivery statistical counts.\");\n\nexport const postmarkGetDeliveryStats = action(\"POSTMARK_GET_DELIVERY_STATS\", {\n slug: \"postmark-get-delivery-stats\",\n name: \"Get Delivery Stats\",\n description: \"Tool to retrieve delivery statistics. Use after sending emails to get aggregated counts of deliveries, bounces, and spam complaints.\",\n input: PostmarkGetDeliveryStatsInput,\n output: PostmarkGetDeliveryStatsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0FAA0F;AAC7J,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CAC7H,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8HAA8H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9K,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,SAAS,kDAAkD;
|
|
1
|
+
{"version":3,"file":"get-delivery-stats.cjs","names":["z","action"],"sources":["../../src/actions/get-delivery-stats.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkGetDeliveryStatsInput = z.object({}).describe(\"Request model for GetDeliveryStats action.\\nThis action does not require any parameters.\");\nconst PostmarkGetDeliveryStats_BounceTypeCountSchema = z.object({\n Name: z.string().describe(\"Human-readable name of the bounce type (e.g., 'All', 'Hard bounce', 'Message delayed')\").nullable(),\n Type: z.string().describe(\"Bounce type identifier (e.g., 'HardBounce', 'Transient', 'AutoResponder', 'SpamNotification', 'SoftBounce', 'SpamComplaint')\").nullable().optional(),\n Count: z.number().int().describe(\"Number of bounces of this type\").nullable(),\n}).passthrough().describe(\"Model representing a bounce type with its count.\");\nexport const PostmarkGetDeliveryStatsOutput = z.object({\n Bounces: z.array(PostmarkGetDeliveryStats_BounceTypeCountSchema).describe(\"List of bounce types with their counts, including total count ('All'), hard bounces, soft bounces, spam complaints, etc.\"),\n InactiveMails: z.number().int().describe(\"Number of inactive recipient email addresses\").nullable(),\n}).passthrough().describe(\"Response model for GetDeliveryStats action, representing delivery statistical counts.\");\n\nexport const postmarkGetDeliveryStats = action(\"POSTMARK_GET_DELIVERY_STATS\", {\n slug: \"postmark-get-delivery-stats\",\n name: \"Get Delivery Stats\",\n description: \"Tool to retrieve delivery statistics. Use after sending emails to get aggregated counts of deliveries, bounces, and spam complaints.\",\n input: PostmarkGetDeliveryStatsInput,\n output: PostmarkGetDeliveryStatsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0FAA0F;AAC7J,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CAC7H,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8HAA8H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9K,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAC5E,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,SAASA,IAAAA,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,0HAA0H;CACpM,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uFAAuF;AAEjH,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -7,9 +7,9 @@ declare const PostmarkGetDeliveryStatsOutput: z.ZodObject<{
|
|
|
7
7
|
Name: z.ZodNullable<z.ZodString>;
|
|
8
8
|
Type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
9
|
Count: z.ZodNullable<z.ZodNumber>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>>;
|
|
11
11
|
InactiveMails: z.ZodNullable<z.ZodNumber>;
|
|
12
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>;
|
|
13
13
|
declare const postmarkGetDeliveryStats: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { postmarkGetDeliveryStats };
|
|
@@ -7,9 +7,9 @@ declare const PostmarkGetDeliveryStatsOutput: z.ZodObject<{
|
|
|
7
7
|
Name: z.ZodNullable<z.ZodString>;
|
|
8
8
|
Type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
9
|
Count: z.ZodNullable<z.ZodNumber>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>>;
|
|
11
11
|
InactiveMails: z.ZodNullable<z.ZodNumber>;
|
|
12
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>;
|
|
13
13
|
declare const postmarkGetDeliveryStats: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { postmarkGetDeliveryStats };
|
|
@@ -6,7 +6,7 @@ const PostmarkGetDeliveryStats_BounceTypeCountSchema = z.object({
|
|
|
6
6
|
Name: z.string().describe("Human-readable name of the bounce type (e.g., 'All', 'Hard bounce', 'Message delayed')").nullable(),
|
|
7
7
|
Type: z.string().describe("Bounce type identifier (e.g., 'HardBounce', 'Transient', 'AutoResponder', 'SpamNotification', 'SoftBounce', 'SpamComplaint')").nullable().optional(),
|
|
8
8
|
Count: z.number().int().describe("Number of bounces of this type").nullable()
|
|
9
|
-
}).describe("Model representing a bounce type with its count.");
|
|
9
|
+
}).passthrough().describe("Model representing a bounce type with its count.");
|
|
10
10
|
const postmarkGetDeliveryStats = action("POSTMARK_GET_DELIVERY_STATS", {
|
|
11
11
|
slug: "postmark-get-delivery-stats",
|
|
12
12
|
name: "Get Delivery Stats",
|
|
@@ -15,7 +15,7 @@ const postmarkGetDeliveryStats = action("POSTMARK_GET_DELIVERY_STATS", {
|
|
|
15
15
|
output: z.object({
|
|
16
16
|
Bounces: z.array(PostmarkGetDeliveryStats_BounceTypeCountSchema).describe("List of bounce types with their counts, including total count ('All'), hard bounces, soft bounces, spam complaints, etc."),
|
|
17
17
|
InactiveMails: z.number().int().describe("Number of inactive recipient email addresses").nullable()
|
|
18
|
-
}).describe("Response model for GetDeliveryStats action, representing delivery statistical counts.")
|
|
18
|
+
}).passthrough().describe("Response model for GetDeliveryStats action, representing delivery statistical counts.")
|
|
19
19
|
});
|
|
20
20
|
//#endregion
|
|
21
21
|
export { postmarkGetDeliveryStats };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-delivery-stats.mjs","names":[],"sources":["../../src/actions/get-delivery-stats.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkGetDeliveryStatsInput = z.object({}).describe(\"Request model for GetDeliveryStats action.\\nThis action does not require any parameters.\");\nconst PostmarkGetDeliveryStats_BounceTypeCountSchema = z.object({\n Name: z.string().describe(\"Human-readable name of the bounce type (e.g., 'All', 'Hard bounce', 'Message delayed')\").nullable(),\n Type: z.string().describe(\"Bounce type identifier (e.g., 'HardBounce', 'Transient', 'AutoResponder', 'SpamNotification', 'SoftBounce', 'SpamComplaint')\").nullable().optional(),\n Count: z.number().int().describe(\"Number of bounces of this type\").nullable(),\n}).describe(\"Model representing a bounce type with its count.\");\nexport const PostmarkGetDeliveryStatsOutput = z.object({\n Bounces: z.array(PostmarkGetDeliveryStats_BounceTypeCountSchema).describe(\"List of bounce types with their counts, including total count ('All'), hard bounces, soft bounces, spam complaints, etc.\"),\n InactiveMails: z.number().int().describe(\"Number of inactive recipient email addresses\").nullable(),\n}).describe(\"Response model for GetDeliveryStats action, representing delivery statistical counts.\");\n\nexport const postmarkGetDeliveryStats = action(\"POSTMARK_GET_DELIVERY_STATS\", {\n slug: \"postmark-get-delivery-stats\",\n name: \"Get Delivery Stats\",\n description: \"Tool to retrieve delivery statistics. Use after sending emails to get aggregated counts of deliveries, bounces, and spam complaints.\",\n input: PostmarkGetDeliveryStatsInput,\n output: PostmarkGetDeliveryStatsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0FAA0F;AAC7J,MAAM,iDAAiD,EAAE,OAAO;CAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CAC7H,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8HAA8H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9K,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,SAAS,kDAAkD;
|
|
1
|
+
{"version":3,"file":"get-delivery-stats.mjs","names":[],"sources":["../../src/actions/get-delivery-stats.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkGetDeliveryStatsInput = z.object({}).describe(\"Request model for GetDeliveryStats action.\\nThis action does not require any parameters.\");\nconst PostmarkGetDeliveryStats_BounceTypeCountSchema = z.object({\n Name: z.string().describe(\"Human-readable name of the bounce type (e.g., 'All', 'Hard bounce', 'Message delayed')\").nullable(),\n Type: z.string().describe(\"Bounce type identifier (e.g., 'HardBounce', 'Transient', 'AutoResponder', 'SpamNotification', 'SoftBounce', 'SpamComplaint')\").nullable().optional(),\n Count: z.number().int().describe(\"Number of bounces of this type\").nullable(),\n}).passthrough().describe(\"Model representing a bounce type with its count.\");\nexport const PostmarkGetDeliveryStatsOutput = z.object({\n Bounces: z.array(PostmarkGetDeliveryStats_BounceTypeCountSchema).describe(\"List of bounce types with their counts, including total count ('All'), hard bounces, soft bounces, spam complaints, etc.\"),\n InactiveMails: z.number().int().describe(\"Number of inactive recipient email addresses\").nullable(),\n}).passthrough().describe(\"Response model for GetDeliveryStats action, representing delivery statistical counts.\");\n\nexport const postmarkGetDeliveryStats = action(\"POSTMARK_GET_DELIVERY_STATS\", {\n slug: \"postmark-get-delivery-stats\",\n name: \"Get Delivery Stats\",\n description: \"Tool to retrieve delivery statistics. Use after sending emails to get aggregated counts of deliveries, bounces, and spam complaints.\",\n input: PostmarkGetDeliveryStatsInput,\n output: PostmarkGetDeliveryStatsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0FAA0F;AAC7J,MAAM,iDAAiD,EAAE,OAAO;CAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CAC7H,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8HAA8H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9K,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAM5E,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV4C,EAAE,OAAO;EACrD,SAAS,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,0HAA0H;EACpM,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uFAOhB;AACV,CAAC"}
|
|
@@ -10,12 +10,12 @@ const PostmarkGetEmailOpenCounts_DayStatSchema = zod.z.object({
|
|
|
10
10
|
Date: zod.z.string().describe("Date for the stats (YYYY-MM-DD).").nullable(),
|
|
11
11
|
Opens: zod.z.number().int().describe("Number of opens on this date.").nullable(),
|
|
12
12
|
Unique: zod.z.number().int().describe("Number of unique opens on this date.").nullable()
|
|
13
|
-
}).describe("A single day's open statistics record.");
|
|
13
|
+
}).passthrough().describe("A single day's open statistics record.");
|
|
14
14
|
const PostmarkGetEmailOpenCountsOutput = zod.z.object({
|
|
15
15
|
Days: zod.z.array(PostmarkGetEmailOpenCounts_DayStatSchema).describe("List of open statistics by day.").nullable().optional(),
|
|
16
16
|
Opens: zod.z.number().int().default(0).describe("Total number of opens across all days in the period.").nullable().optional(),
|
|
17
17
|
Unique: zod.z.number().int().default(0).describe("Total number of unique opens across all days in the period.").nullable().optional()
|
|
18
|
-
}).describe("Response schema for GetEmailOpenCounts action.");
|
|
18
|
+
}).passthrough().describe("Response schema for GetEmailOpenCounts action.");
|
|
19
19
|
const postmarkGetEmailOpenCounts = require_action.action("POSTMARK_GET_EMAIL_OPEN_COUNTS", {
|
|
20
20
|
slug: "postmark-get-email-open-counts",
|
|
21
21
|
name: "Get Email Open Counts",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-email-open-counts.cjs","names":["z","action"],"sources":["../../src/actions/get-email-open-counts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkGetEmailOpenCountsInput = z.object({\n ToDate: z.string().describe(\"Include activity before this ISO8601 date/time.\").optional(),\n FromDate: z.string().describe(\"Include activity from this ISO8601 date/time.\").optional(),\n MessageStream: z.string().describe(\"Filter stats by a specific message stream.\").optional(),\n}).describe(\"Query parameters for retrieving email open counts with optional filters.\");\nconst PostmarkGetEmailOpenCounts_DayStatSchema = z.object({\n Date: z.string().describe(\"Date for the stats (YYYY-MM-DD).\").nullable(),\n Opens: z.number().int().describe(\"Number of opens on this date.\").nullable(),\n Unique: z.number().int().describe(\"Number of unique opens on this date.\").nullable(),\n}).describe(\"A single day's open statistics record.\");\nexport const PostmarkGetEmailOpenCountsOutput = z.object({\n Days: z.array(PostmarkGetEmailOpenCounts_DayStatSchema).describe(\"List of open statistics by day.\").nullable().optional(),\n Opens: z.number().int().default(0).describe(\"Total number of opens across all days in the period.\").nullable().optional(),\n Unique: z.number().int().default(0).describe(\"Total number of unique opens across all days in the period.\").nullable().optional(),\n}).describe(\"Response schema for GetEmailOpenCounts action.\");\n\nexport const postmarkGetEmailOpenCounts = action(\"POSTMARK_GET_EMAIL_OPEN_COUNTS\", {\n slug: \"postmark-get-email-open-counts\",\n name: \"Get Email Open Counts\",\n description: \"Tool to retrieve counts of opened emails. Use when you need per-day and total open stats for a specified period.\",\n input: PostmarkGetEmailOpenCountsInput,\n output: PostmarkGetEmailOpenCountsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACxF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACxF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC3E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,SAAS,wCAAwC;
|
|
1
|
+
{"version":3,"file":"get-email-open-counts.cjs","names":["z","action"],"sources":["../../src/actions/get-email-open-counts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkGetEmailOpenCountsInput = z.object({\n ToDate: z.string().describe(\"Include activity before this ISO8601 date/time.\").optional(),\n FromDate: z.string().describe(\"Include activity from this ISO8601 date/time.\").optional(),\n MessageStream: z.string().describe(\"Filter stats by a specific message stream.\").optional(),\n}).describe(\"Query parameters for retrieving email open counts with optional filters.\");\nconst PostmarkGetEmailOpenCounts_DayStatSchema = z.object({\n Date: z.string().describe(\"Date for the stats (YYYY-MM-DD).\").nullable(),\n Opens: z.number().int().describe(\"Number of opens on this date.\").nullable(),\n Unique: z.number().int().describe(\"Number of unique opens on this date.\").nullable(),\n}).passthrough().describe(\"A single day's open statistics record.\");\nexport const PostmarkGetEmailOpenCountsOutput = z.object({\n Days: z.array(PostmarkGetEmailOpenCounts_DayStatSchema).describe(\"List of open statistics by day.\").nullable().optional(),\n Opens: z.number().int().default(0).describe(\"Total number of opens across all days in the period.\").nullable().optional(),\n Unique: z.number().int().default(0).describe(\"Total number of unique opens across all days in the period.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for GetEmailOpenCounts action.\");\n\nexport const postmarkGetEmailOpenCounts = action(\"POSTMARK_GET_EMAIL_OPEN_COUNTS\", {\n slug: \"postmark-get-email-open-counts\",\n name: \"Get Email Open Counts\",\n description: \"Tool to retrieve counts of opened emails. Use when you need per-day and total open stats for a specified period.\",\n input: PostmarkGetEmailOpenCountsInput,\n output: PostmarkGetEmailOpenCountsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACxF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACxF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC3E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,6BAA6BC,eAAAA,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -11,10 +11,10 @@ declare const PostmarkGetEmailOpenCountsOutput: z.ZodObject<{
|
|
|
11
11
|
Date: z.ZodNullable<z.ZodString>;
|
|
12
12
|
Opens: z.ZodNullable<z.ZodNumber>;
|
|
13
13
|
Unique: z.ZodNullable<z.ZodNumber>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>>>>;
|
|
15
15
|
Opens: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
|
|
16
16
|
Unique: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
|
|
17
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>;
|
|
18
18
|
declare const postmarkGetEmailOpenCounts: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
19
|
ToDate?: string | undefined;
|
|
20
20
|
FromDate?: string | undefined;
|
|
@@ -11,10 +11,10 @@ declare const PostmarkGetEmailOpenCountsOutput: z.ZodObject<{
|
|
|
11
11
|
Date: z.ZodNullable<z.ZodString>;
|
|
12
12
|
Opens: z.ZodNullable<z.ZodNumber>;
|
|
13
13
|
Unique: z.ZodNullable<z.ZodNumber>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>>>>;
|
|
15
15
|
Opens: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
|
|
16
16
|
Unique: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
|
|
17
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>;
|
|
18
18
|
declare const postmarkGetEmailOpenCounts: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
19
|
ToDate?: string | undefined;
|
|
20
20
|
FromDate?: string | undefined;
|
|
@@ -10,7 +10,7 @@ const PostmarkGetEmailOpenCounts_DayStatSchema = z.object({
|
|
|
10
10
|
Date: z.string().describe("Date for the stats (YYYY-MM-DD).").nullable(),
|
|
11
11
|
Opens: z.number().int().describe("Number of opens on this date.").nullable(),
|
|
12
12
|
Unique: z.number().int().describe("Number of unique opens on this date.").nullable()
|
|
13
|
-
}).describe("A single day's open statistics record.");
|
|
13
|
+
}).passthrough().describe("A single day's open statistics record.");
|
|
14
14
|
const postmarkGetEmailOpenCounts = action("POSTMARK_GET_EMAIL_OPEN_COUNTS", {
|
|
15
15
|
slug: "postmark-get-email-open-counts",
|
|
16
16
|
name: "Get Email Open Counts",
|
|
@@ -20,7 +20,7 @@ const postmarkGetEmailOpenCounts = action("POSTMARK_GET_EMAIL_OPEN_COUNTS", {
|
|
|
20
20
|
Days: z.array(PostmarkGetEmailOpenCounts_DayStatSchema).describe("List of open statistics by day.").nullable().optional(),
|
|
21
21
|
Opens: z.number().int().default(0).describe("Total number of opens across all days in the period.").nullable().optional(),
|
|
22
22
|
Unique: z.number().int().default(0).describe("Total number of unique opens across all days in the period.").nullable().optional()
|
|
23
|
-
}).describe("Response schema for GetEmailOpenCounts action.")
|
|
23
|
+
}).passthrough().describe("Response schema for GetEmailOpenCounts action.")
|
|
24
24
|
});
|
|
25
25
|
//#endregion
|
|
26
26
|
export { postmarkGetEmailOpenCounts };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-email-open-counts.mjs","names":[],"sources":["../../src/actions/get-email-open-counts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkGetEmailOpenCountsInput = z.object({\n ToDate: z.string().describe(\"Include activity before this ISO8601 date/time.\").optional(),\n FromDate: z.string().describe(\"Include activity from this ISO8601 date/time.\").optional(),\n MessageStream: z.string().describe(\"Filter stats by a specific message stream.\").optional(),\n}).describe(\"Query parameters for retrieving email open counts with optional filters.\");\nconst PostmarkGetEmailOpenCounts_DayStatSchema = z.object({\n Date: z.string().describe(\"Date for the stats (YYYY-MM-DD).\").nullable(),\n Opens: z.number().int().describe(\"Number of opens on this date.\").nullable(),\n Unique: z.number().int().describe(\"Number of unique opens on this date.\").nullable(),\n}).describe(\"A single day's open statistics record.\");\nexport const PostmarkGetEmailOpenCountsOutput = z.object({\n Days: z.array(PostmarkGetEmailOpenCounts_DayStatSchema).describe(\"List of open statistics by day.\").nullable().optional(),\n Opens: z.number().int().default(0).describe(\"Total number of opens across all days in the period.\").nullable().optional(),\n Unique: z.number().int().default(0).describe(\"Total number of unique opens across all days in the period.\").nullable().optional(),\n}).describe(\"Response schema for GetEmailOpenCounts action.\");\n\nexport const postmarkGetEmailOpenCounts = action(\"POSTMARK_GET_EMAIL_OPEN_COUNTS\", {\n slug: \"postmark-get-email-open-counts\",\n name: \"Get Email Open Counts\",\n description: \"Tool to retrieve counts of opened emails. Use when you need per-day and total open stats for a specified period.\",\n input: PostmarkGetEmailOpenCountsInput,\n output: PostmarkGetEmailOpenCountsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO;CACtD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACxF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACxF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAM,2CAA2C,EAAE,OAAO;CACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC3E,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,SAAS,wCAAwC;
|
|
1
|
+
{"version":3,"file":"get-email-open-counts.mjs","names":[],"sources":["../../src/actions/get-email-open-counts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkGetEmailOpenCountsInput = z.object({\n ToDate: z.string().describe(\"Include activity before this ISO8601 date/time.\").optional(),\n FromDate: z.string().describe(\"Include activity from this ISO8601 date/time.\").optional(),\n MessageStream: z.string().describe(\"Filter stats by a specific message stream.\").optional(),\n}).describe(\"Query parameters for retrieving email open counts with optional filters.\");\nconst PostmarkGetEmailOpenCounts_DayStatSchema = z.object({\n Date: z.string().describe(\"Date for the stats (YYYY-MM-DD).\").nullable(),\n Opens: z.number().int().describe(\"Number of opens on this date.\").nullable(),\n Unique: z.number().int().describe(\"Number of unique opens on this date.\").nullable(),\n}).passthrough().describe(\"A single day's open statistics record.\");\nexport const PostmarkGetEmailOpenCountsOutput = z.object({\n Days: z.array(PostmarkGetEmailOpenCounts_DayStatSchema).describe(\"List of open statistics by day.\").nullable().optional(),\n Opens: z.number().int().default(0).describe(\"Total number of opens across all days in the period.\").nullable().optional(),\n Unique: z.number().int().default(0).describe(\"Total number of unique opens across all days in the period.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for GetEmailOpenCounts action.\");\n\nexport const postmarkGetEmailOpenCounts = action(\"POSTMARK_GET_EMAIL_OPEN_COUNTS\", {\n slug: \"postmark-get-email-open-counts\",\n name: \"Get Email Open Counts\",\n description: \"Tool to retrieve counts of opened emails. Use when you need per-day and total open stats for a specified period.\",\n input: PostmarkGetEmailOpenCountsInput,\n output: PostmarkGetEmailOpenCountsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO;CACtD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACxF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACxF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAM,2CAA2C,EAAE,OAAO;CACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC3E,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAOlE,MAAa,6BAA6B,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX8C,EAAE,OAAO;EACvD,MAAM,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAOhB;AACV,CAAC"}
|
|
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/get-message-stream.ts
|
|
4
4
|
const PostmarkGetMessageStreamInput = zod.z.object({ streamID: zod.z.string().describe("The ID of the message stream to retrieve (e.g., 'outbound', 'inbound', or custom stream ID)") }).describe("Request model for retrieving a specific message stream by ID.");
|
|
5
|
-
const PostmarkGetMessageStream_SubscriptionManagementConfigurationSchema = zod.z.object({ UnsubscribeHandlingType: zod.z.string().describe("How unsubscribe requests are handled (e.g., 'Postmark', 'Custom')").nullable() }).describe("Subscription management configuration for the message stream.");
|
|
5
|
+
const PostmarkGetMessageStream_SubscriptionManagementConfigurationSchema = zod.z.object({ UnsubscribeHandlingType: zod.z.string().describe("How unsubscribe requests are handled (e.g., 'Postmark', 'Custom')").nullable() }).passthrough().describe("Subscription management configuration for the message stream.");
|
|
6
6
|
const PostmarkGetMessageStreamOutput = zod.z.object({
|
|
7
7
|
ID: zod.z.string().describe("The unique ID of the message stream").nullable(),
|
|
8
8
|
Name: zod.z.string().describe("Name of the message stream").nullable(),
|
|
@@ -14,7 +14,7 @@ const PostmarkGetMessageStreamOutput = zod.z.object({
|
|
|
14
14
|
ExpectedPurgeDate: zod.z.string().describe("Expected date when the archived stream will be purged").nullable().optional(),
|
|
15
15
|
MessageStreamType: zod.z.string().describe("Type of the message stream (e.g., 'Transactional', 'Broadcasts', 'Inbound')").nullable(),
|
|
16
16
|
SubscriptionManagementConfiguration: PostmarkGetMessageStream_SubscriptionManagementConfigurationSchema.nullable()
|
|
17
|
-
}).describe("Response model for details of a specific message stream.");
|
|
17
|
+
}).passthrough().describe("Response model for details of a specific message stream.");
|
|
18
18
|
const postmarkGetMessageStream = require_action.action("POSTMARK_GET_MESSAGE_STREAM", {
|
|
19
19
|
slug: "postmark-get-message-stream",
|
|
20
20
|
name: "Get Message Stream",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-message-stream.cjs","names":["z","action"],"sources":["../../src/actions/get-message-stream.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkGetMessageStreamInput = z.object({\n streamID: z.string().describe(\"The ID of the message stream to retrieve (e.g., 'outbound', 'inbound', or custom stream ID)\"),\n}).describe(\"Request model for retrieving a specific message stream by ID.\");\nconst PostmarkGetMessageStream_SubscriptionManagementConfigurationSchema = z.object({\n UnsubscribeHandlingType: z.string().describe(\"How unsubscribe requests are handled (e.g., 'Postmark', 'Custom')\").nullable(),\n}).describe(\"Subscription management configuration for the message stream.\");\nexport const PostmarkGetMessageStreamOutput = z.object({\n ID: z.string().describe(\"The unique ID of the message stream\").nullable(),\n Name: z.string().describe(\"Name of the message stream\").nullable(),\n ServerID: z.number().int().describe(\"ID of the associated server\").nullable(),\n CreatedAt: z.string().describe(\"Timestamp when the stream was created\").nullable(),\n UpdatedAt: z.string().describe(\"Timestamp when the stream was last updated\").nullable().optional(),\n ArchivedAt: z.string().describe(\"Timestamp when the stream was archived\").nullable().optional(),\n Description: z.string().describe(\"Description of the message stream\").nullable().optional(),\n ExpectedPurgeDate: z.string().describe(\"Expected date when the archived stream will be purged\").nullable().optional(),\n MessageStreamType: z.string().describe(\"Type of the message stream (e.g., 'Transactional', 'Broadcasts', 'Inbound')\").nullable(),\n SubscriptionManagementConfiguration: PostmarkGetMessageStream_SubscriptionManagementConfigurationSchema.nullable(),\n}).describe(\"Response model for details of a specific message stream.\");\n\nexport const postmarkGetMessageStream = action(\"POSTMARK_GET_MESSAGE_STREAM\", {\n slug: \"postmark-get-message-stream\",\n name: \"Get Message Stream\",\n description: \"Tool to retrieve details of a specific message stream by its ID. Use when you need to inspect stream configuration such as type, description, or subscription settings.\",\n input: PostmarkGetMessageStreamInput,\n output: PostmarkGetMessageStreamOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,EAC7H,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,qEAAqEA,IAAAA,EAAE,OAAO,EAClF,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,EAC7H,CAAC,CAAC,CAAC,SAAS,+DAA+D;
|
|
1
|
+
{"version":3,"file":"get-message-stream.cjs","names":["z","action"],"sources":["../../src/actions/get-message-stream.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkGetMessageStreamInput = z.object({\n streamID: z.string().describe(\"The ID of the message stream to retrieve (e.g., 'outbound', 'inbound', or custom stream ID)\"),\n}).describe(\"Request model for retrieving a specific message stream by ID.\");\nconst PostmarkGetMessageStream_SubscriptionManagementConfigurationSchema = z.object({\n UnsubscribeHandlingType: z.string().describe(\"How unsubscribe requests are handled (e.g., 'Postmark', 'Custom')\").nullable(),\n}).passthrough().describe(\"Subscription management configuration for the message stream.\");\nexport const PostmarkGetMessageStreamOutput = z.object({\n ID: z.string().describe(\"The unique ID of the message stream\").nullable(),\n Name: z.string().describe(\"Name of the message stream\").nullable(),\n ServerID: z.number().int().describe(\"ID of the associated server\").nullable(),\n CreatedAt: z.string().describe(\"Timestamp when the stream was created\").nullable(),\n UpdatedAt: z.string().describe(\"Timestamp when the stream was last updated\").nullable().optional(),\n ArchivedAt: z.string().describe(\"Timestamp when the stream was archived\").nullable().optional(),\n Description: z.string().describe(\"Description of the message stream\").nullable().optional(),\n ExpectedPurgeDate: z.string().describe(\"Expected date when the archived stream will be purged\").nullable().optional(),\n MessageStreamType: z.string().describe(\"Type of the message stream (e.g., 'Transactional', 'Broadcasts', 'Inbound')\").nullable(),\n SubscriptionManagementConfiguration: PostmarkGetMessageStream_SubscriptionManagementConfigurationSchema.nullable(),\n}).passthrough().describe(\"Response model for details of a specific message stream.\");\n\nexport const postmarkGetMessageStream = action(\"POSTMARK_GET_MESSAGE_STREAM\", {\n slug: \"postmark-get-message-stream\",\n name: \"Get Message Stream\",\n description: \"Tool to retrieve details of a specific message stream by its ID. Use when you need to inspect stream configuration such as type, description, or subscription settings.\",\n input: PostmarkGetMessageStreamInput,\n output: PostmarkGetMessageStreamOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,EAC7H,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,qEAAqEA,IAAAA,EAAE,OAAO,EAClF,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,EAC7H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAA+D;AACzF,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACjE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAC5E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACjF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAC/H,qCAAqC,mEAAmE,SAAS;AACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AAEpF,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -16,8 +16,8 @@ declare const PostmarkGetMessageStreamOutput: z.ZodObject<{
|
|
|
16
16
|
MessageStreamType: z.ZodNullable<z.ZodString>;
|
|
17
17
|
SubscriptionManagementConfiguration: z.ZodNullable<z.ZodObject<{
|
|
18
18
|
UnsubscribeHandlingType: z.ZodNullable<z.ZodString>;
|
|
19
|
-
}, z.core.$
|
|
20
|
-
}, z.core.$
|
|
19
|
+
}, z.core.$loose>>;
|
|
20
|
+
}, z.core.$loose>;
|
|
21
21
|
declare const postmarkGetMessageStream: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
22
22
|
streamID: string;
|
|
23
23
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -16,8 +16,8 @@ declare const PostmarkGetMessageStreamOutput: z.ZodObject<{
|
|
|
16
16
|
MessageStreamType: z.ZodNullable<z.ZodString>;
|
|
17
17
|
SubscriptionManagementConfiguration: z.ZodNullable<z.ZodObject<{
|
|
18
18
|
UnsubscribeHandlingType: z.ZodNullable<z.ZodString>;
|
|
19
|
-
}, z.core.$
|
|
20
|
-
}, z.core.$
|
|
19
|
+
}, z.core.$loose>>;
|
|
20
|
+
}, z.core.$loose>;
|
|
21
21
|
declare const postmarkGetMessageStream: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
22
22
|
streamID: string;
|
|
23
23
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -2,7 +2,7 @@ import { action } from "../action.mjs";
|
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
//#region src/actions/get-message-stream.ts
|
|
4
4
|
const PostmarkGetMessageStreamInput = z.object({ streamID: z.string().describe("The ID of the message stream to retrieve (e.g., 'outbound', 'inbound', or custom stream ID)") }).describe("Request model for retrieving a specific message stream by ID.");
|
|
5
|
-
const PostmarkGetMessageStream_SubscriptionManagementConfigurationSchema = z.object({ UnsubscribeHandlingType: z.string().describe("How unsubscribe requests are handled (e.g., 'Postmark', 'Custom')").nullable() }).describe("Subscription management configuration for the message stream.");
|
|
5
|
+
const PostmarkGetMessageStream_SubscriptionManagementConfigurationSchema = z.object({ UnsubscribeHandlingType: z.string().describe("How unsubscribe requests are handled (e.g., 'Postmark', 'Custom')").nullable() }).passthrough().describe("Subscription management configuration for the message stream.");
|
|
6
6
|
const postmarkGetMessageStream = action("POSTMARK_GET_MESSAGE_STREAM", {
|
|
7
7
|
slug: "postmark-get-message-stream",
|
|
8
8
|
name: "Get Message Stream",
|
|
@@ -19,7 +19,7 @@ const postmarkGetMessageStream = action("POSTMARK_GET_MESSAGE_STREAM", {
|
|
|
19
19
|
ExpectedPurgeDate: z.string().describe("Expected date when the archived stream will be purged").nullable().optional(),
|
|
20
20
|
MessageStreamType: z.string().describe("Type of the message stream (e.g., 'Transactional', 'Broadcasts', 'Inbound')").nullable(),
|
|
21
21
|
SubscriptionManagementConfiguration: PostmarkGetMessageStream_SubscriptionManagementConfigurationSchema.nullable()
|
|
22
|
-
}).describe("Response model for details of a specific message stream.")
|
|
22
|
+
}).passthrough().describe("Response model for details of a specific message stream.")
|
|
23
23
|
});
|
|
24
24
|
//#endregion
|
|
25
25
|
export { postmarkGetMessageStream };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-message-stream.mjs","names":[],"sources":["../../src/actions/get-message-stream.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkGetMessageStreamInput = z.object({\n streamID: z.string().describe(\"The ID of the message stream to retrieve (e.g., 'outbound', 'inbound', or custom stream ID)\"),\n}).describe(\"Request model for retrieving a specific message stream by ID.\");\nconst PostmarkGetMessageStream_SubscriptionManagementConfigurationSchema = z.object({\n UnsubscribeHandlingType: z.string().describe(\"How unsubscribe requests are handled (e.g., 'Postmark', 'Custom')\").nullable(),\n}).describe(\"Subscription management configuration for the message stream.\");\nexport const PostmarkGetMessageStreamOutput = z.object({\n ID: z.string().describe(\"The unique ID of the message stream\").nullable(),\n Name: z.string().describe(\"Name of the message stream\").nullable(),\n ServerID: z.number().int().describe(\"ID of the associated server\").nullable(),\n CreatedAt: z.string().describe(\"Timestamp when the stream was created\").nullable(),\n UpdatedAt: z.string().describe(\"Timestamp when the stream was last updated\").nullable().optional(),\n ArchivedAt: z.string().describe(\"Timestamp when the stream was archived\").nullable().optional(),\n Description: z.string().describe(\"Description of the message stream\").nullable().optional(),\n ExpectedPurgeDate: z.string().describe(\"Expected date when the archived stream will be purged\").nullable().optional(),\n MessageStreamType: z.string().describe(\"Type of the message stream (e.g., 'Transactional', 'Broadcasts', 'Inbound')\").nullable(),\n SubscriptionManagementConfiguration: PostmarkGetMessageStream_SubscriptionManagementConfigurationSchema.nullable(),\n}).describe(\"Response model for details of a specific message stream.\");\n\nexport const postmarkGetMessageStream = action(\"POSTMARK_GET_MESSAGE_STREAM\", {\n slug: \"postmark-get-message-stream\",\n name: \"Get Message Stream\",\n description: \"Tool to retrieve details of a specific message stream by its ID. Use when you need to inspect stream configuration such as type, description, or subscription settings.\",\n input: PostmarkGetMessageStreamInput,\n output: PostmarkGetMessageStreamOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO,EACpD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,EAC7H,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,qEAAqE,EAAE,OAAO,EAClF,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,EAC7H,CAAC,CAAC,CAAC,SAAS,+DAA+D;
|
|
1
|
+
{"version":3,"file":"get-message-stream.mjs","names":[],"sources":["../../src/actions/get-message-stream.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkGetMessageStreamInput = z.object({\n streamID: z.string().describe(\"The ID of the message stream to retrieve (e.g., 'outbound', 'inbound', or custom stream ID)\"),\n}).describe(\"Request model for retrieving a specific message stream by ID.\");\nconst PostmarkGetMessageStream_SubscriptionManagementConfigurationSchema = z.object({\n UnsubscribeHandlingType: z.string().describe(\"How unsubscribe requests are handled (e.g., 'Postmark', 'Custom')\").nullable(),\n}).passthrough().describe(\"Subscription management configuration for the message stream.\");\nexport const PostmarkGetMessageStreamOutput = z.object({\n ID: z.string().describe(\"The unique ID of the message stream\").nullable(),\n Name: z.string().describe(\"Name of the message stream\").nullable(),\n ServerID: z.number().int().describe(\"ID of the associated server\").nullable(),\n CreatedAt: z.string().describe(\"Timestamp when the stream was created\").nullable(),\n UpdatedAt: z.string().describe(\"Timestamp when the stream was last updated\").nullable().optional(),\n ArchivedAt: z.string().describe(\"Timestamp when the stream was archived\").nullable().optional(),\n Description: z.string().describe(\"Description of the message stream\").nullable().optional(),\n ExpectedPurgeDate: z.string().describe(\"Expected date when the archived stream will be purged\").nullable().optional(),\n MessageStreamType: z.string().describe(\"Type of the message stream (e.g., 'Transactional', 'Broadcasts', 'Inbound')\").nullable(),\n SubscriptionManagementConfiguration: PostmarkGetMessageStream_SubscriptionManagementConfigurationSchema.nullable(),\n}).passthrough().describe(\"Response model for details of a specific message stream.\");\n\nexport const postmarkGetMessageStream = action(\"POSTMARK_GET_MESSAGE_STREAM\", {\n slug: \"postmark-get-message-stream\",\n name: \"Get Message Stream\",\n description: \"Tool to retrieve details of a specific message stream by its ID. Use when you need to inspect stream configuration such as type, description, or subscription settings.\",\n input: PostmarkGetMessageStreamInput,\n output: PostmarkGetMessageStreamOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO,EACpD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,EAC7H,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,qEAAqE,EAAE,OAAO,EAClF,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,EAC7H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAA+D;AAczF,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAlB4C,EAAE,OAAO;EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACjE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EAC5E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EACjF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpH,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;EAC/H,qCAAqC,mEAAmE,SAAS;CACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAOhB;AACV,CAAC"}
|
|
@@ -12,14 +12,14 @@ const PostmarkGetOpensByPlatform_PlatformOpenDaySchema = zod.z.object({
|
|
|
12
12
|
Desktop: zod.z.number().int().describe("Number of opens from desktop platforms on this day").nullable().optional(),
|
|
13
13
|
Unknown: zod.z.number().int().describe("Number of opens from unknown platforms on this day").nullable().optional(),
|
|
14
14
|
WebMail: zod.z.number().int().describe("Number of opens from webmail platforms on this day").nullable().optional()
|
|
15
|
-
}).describe("Statistics for a single day including platform-specific open counts.");
|
|
15
|
+
}).passthrough().describe("Statistics for a single day including platform-specific open counts.");
|
|
16
16
|
const PostmarkGetOpensByPlatformOutput = zod.z.object({
|
|
17
17
|
Days: zod.z.array(PostmarkGetOpensByPlatform_PlatformOpenDaySchema).describe("Array of daily platform-specific open statistics"),
|
|
18
18
|
Mobile: zod.z.number().int().describe("Total number of opens from mobile platforms").nullable().optional(),
|
|
19
19
|
Desktop: zod.z.number().int().describe("Total number of opens from desktop platforms").nullable().optional(),
|
|
20
20
|
Unknown: zod.z.number().int().describe("Total number of opens where platform could not be determined").nullable().optional(),
|
|
21
21
|
WebMail: zod.z.number().int().describe("Total number of opens from webmail platforms").nullable().optional()
|
|
22
|
-
}).describe("Response containing platform-based email open statistics.");
|
|
22
|
+
}).passthrough().describe("Response containing platform-based email open statistics.");
|
|
23
23
|
const postmarkGetOpensByPlatform = require_action.action("POSTMARK_GET_OPENS_BY_PLATFORM", {
|
|
24
24
|
slug: "postmark-get-opens-by-platform",
|
|
25
25
|
name: "Get Opens by Platform",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-opens-by-platform.cjs","names":["z","action"],"sources":["../../src/actions/get-opens-by-platform.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkGetOpensByPlatformInput = z.object({\n tag: z.string().describe(\"Filter by tag to narrow down statistics to specific emails\").optional(),\n todate: z.string().describe(\"Filter end date (inclusive) in YYYY-MM-DD format, e.g., '2014-02-01'\").optional(),\n fromdate: z.string().describe(\"Filter starting date (inclusive) in YYYY-MM-DD format, e.g., '2014-01-01'\").optional(),\n}).describe(\"Request model for fetching email open statistics by platform type.\");\nconst PostmarkGetOpensByPlatform_PlatformOpenDaySchema = z.object({\n Date: z.string().describe(\"Date in YYYY-MM-DD format\").nullable(),\n Mobile: z.number().int().describe(\"Number of opens from mobile platforms on this day\").nullable().optional(),\n Desktop: z.number().int().describe(\"Number of opens from desktop platforms on this day\").nullable().optional(),\n Unknown: z.number().int().describe(\"Number of opens from unknown platforms on this day\").nullable().optional(),\n WebMail: z.number().int().describe(\"Number of opens from webmail platforms on this day\").nullable().optional(),\n}).describe(\"Statistics for a single day including platform-specific open counts.\");\nexport const PostmarkGetOpensByPlatformOutput = z.object({\n Days: z.array(PostmarkGetOpensByPlatform_PlatformOpenDaySchema).describe(\"Array of daily platform-specific open statistics\"),\n Mobile: z.number().int().describe(\"Total number of opens from mobile platforms\").nullable().optional(),\n Desktop: z.number().int().describe(\"Total number of opens from desktop platforms\").nullable().optional(),\n Unknown: z.number().int().describe(\"Total number of opens where platform could not be determined\").nullable().optional(),\n WebMail: z.number().int().describe(\"Total number of opens from webmail platforms\").nullable().optional(),\n}).describe(\"Response containing platform-based email open statistics.\");\n\nexport const postmarkGetOpensByPlatform = action(\"POSTMARK_GET_OPENS_BY_PLATFORM\", {\n slug: \"postmark-get-opens-by-platform\",\n name: \"Get Opens by Platform\",\n description: \"Tool to retrieve email open statistics by platform type. Use when you need to understand which platforms recipients use to open emails.\",\n input: PostmarkGetOpensByPlatformInput,\n output: PostmarkGetOpensByPlatformOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CAChG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC7G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,SAAS,sEAAsE;
|
|
1
|
+
{"version":3,"file":"get-opens-by-platform.cjs","names":["z","action"],"sources":["../../src/actions/get-opens-by-platform.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkGetOpensByPlatformInput = z.object({\n tag: z.string().describe(\"Filter by tag to narrow down statistics to specific emails\").optional(),\n todate: z.string().describe(\"Filter end date (inclusive) in YYYY-MM-DD format, e.g., '2014-02-01'\").optional(),\n fromdate: z.string().describe(\"Filter starting date (inclusive) in YYYY-MM-DD format, e.g., '2014-01-01'\").optional(),\n}).describe(\"Request model for fetching email open statistics by platform type.\");\nconst PostmarkGetOpensByPlatform_PlatformOpenDaySchema = z.object({\n Date: z.string().describe(\"Date in YYYY-MM-DD format\").nullable(),\n Mobile: z.number().int().describe(\"Number of opens from mobile platforms on this day\").nullable().optional(),\n Desktop: z.number().int().describe(\"Number of opens from desktop platforms on this day\").nullable().optional(),\n Unknown: z.number().int().describe(\"Number of opens from unknown platforms on this day\").nullable().optional(),\n WebMail: z.number().int().describe(\"Number of opens from webmail platforms on this day\").nullable().optional(),\n}).passthrough().describe(\"Statistics for a single day including platform-specific open counts.\");\nexport const PostmarkGetOpensByPlatformOutput = z.object({\n Days: z.array(PostmarkGetOpensByPlatform_PlatformOpenDaySchema).describe(\"Array of daily platform-specific open statistics\"),\n Mobile: z.number().int().describe(\"Total number of opens from mobile platforms\").nullable().optional(),\n Desktop: z.number().int().describe(\"Total number of opens from desktop platforms\").nullable().optional(),\n Unknown: z.number().int().describe(\"Total number of opens where platform could not be determined\").nullable().optional(),\n WebMail: z.number().int().describe(\"Total number of opens from webmail platforms\").nullable().optional(),\n}).passthrough().describe(\"Response containing platform-based email open statistics.\");\n\nexport const postmarkGetOpensByPlatform = action(\"POSTMARK_GET_OPENS_BY_PLATFORM\", {\n slug: \"postmark-get-opens-by-platform\",\n name: \"Get Opens by Platform\",\n description: \"Tool to retrieve email open statistics by platform type. Use when you need to understand which platforms recipients use to open emails.\",\n input: PostmarkGetOpensByPlatformInput,\n output: PostmarkGetOpensByPlatformOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CAChG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC7G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sEAAsE;AAChG,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,kDAAkD;CAC3H,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AAErF,MAAa,6BAA6BC,eAAAA,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -13,12 +13,12 @@ declare const PostmarkGetOpensByPlatformOutput: z.ZodObject<{
|
|
|
13
13
|
Desktop: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14
14
|
Unknown: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15
15
|
WebMail: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>>;
|
|
17
17
|
Mobile: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18
18
|
Desktop: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
19
19
|
Unknown: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
20
20
|
WebMail: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
|
-
}, z.core.$
|
|
21
|
+
}, z.core.$loose>;
|
|
22
22
|
declare const postmarkGetOpensByPlatform: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
23
|
tag?: string | undefined;
|
|
24
24
|
todate?: string | undefined;
|
|
@@ -13,12 +13,12 @@ declare const PostmarkGetOpensByPlatformOutput: z.ZodObject<{
|
|
|
13
13
|
Desktop: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14
14
|
Unknown: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15
15
|
WebMail: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>>;
|
|
17
17
|
Mobile: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18
18
|
Desktop: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
19
19
|
Unknown: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
20
20
|
WebMail: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
|
-
}, z.core.$
|
|
21
|
+
}, z.core.$loose>;
|
|
22
22
|
declare const postmarkGetOpensByPlatform: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
23
|
tag?: string | undefined;
|
|
24
24
|
todate?: string | undefined;
|
|
@@ -12,7 +12,7 @@ const PostmarkGetOpensByPlatform_PlatformOpenDaySchema = z.object({
|
|
|
12
12
|
Desktop: z.number().int().describe("Number of opens from desktop platforms on this day").nullable().optional(),
|
|
13
13
|
Unknown: z.number().int().describe("Number of opens from unknown platforms on this day").nullable().optional(),
|
|
14
14
|
WebMail: z.number().int().describe("Number of opens from webmail platforms on this day").nullable().optional()
|
|
15
|
-
}).describe("Statistics for a single day including platform-specific open counts.");
|
|
15
|
+
}).passthrough().describe("Statistics for a single day including platform-specific open counts.");
|
|
16
16
|
const postmarkGetOpensByPlatform = action("POSTMARK_GET_OPENS_BY_PLATFORM", {
|
|
17
17
|
slug: "postmark-get-opens-by-platform",
|
|
18
18
|
name: "Get Opens by Platform",
|
|
@@ -24,7 +24,7 @@ const postmarkGetOpensByPlatform = action("POSTMARK_GET_OPENS_BY_PLATFORM", {
|
|
|
24
24
|
Desktop: z.number().int().describe("Total number of opens from desktop platforms").nullable().optional(),
|
|
25
25
|
Unknown: z.number().int().describe("Total number of opens where platform could not be determined").nullable().optional(),
|
|
26
26
|
WebMail: z.number().int().describe("Total number of opens from webmail platforms").nullable().optional()
|
|
27
|
-
}).describe("Response containing platform-based email open statistics.")
|
|
27
|
+
}).passthrough().describe("Response containing platform-based email open statistics.")
|
|
28
28
|
});
|
|
29
29
|
//#endregion
|
|
30
30
|
export { postmarkGetOpensByPlatform };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-opens-by-platform.mjs","names":[],"sources":["../../src/actions/get-opens-by-platform.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkGetOpensByPlatformInput = z.object({\n tag: z.string().describe(\"Filter by tag to narrow down statistics to specific emails\").optional(),\n todate: z.string().describe(\"Filter end date (inclusive) in YYYY-MM-DD format, e.g., '2014-02-01'\").optional(),\n fromdate: z.string().describe(\"Filter starting date (inclusive) in YYYY-MM-DD format, e.g., '2014-01-01'\").optional(),\n}).describe(\"Request model for fetching email open statistics by platform type.\");\nconst PostmarkGetOpensByPlatform_PlatformOpenDaySchema = z.object({\n Date: z.string().describe(\"Date in YYYY-MM-DD format\").nullable(),\n Mobile: z.number().int().describe(\"Number of opens from mobile platforms on this day\").nullable().optional(),\n Desktop: z.number().int().describe(\"Number of opens from desktop platforms on this day\").nullable().optional(),\n Unknown: z.number().int().describe(\"Number of opens from unknown platforms on this day\").nullable().optional(),\n WebMail: z.number().int().describe(\"Number of opens from webmail platforms on this day\").nullable().optional(),\n}).describe(\"Statistics for a single day including platform-specific open counts.\");\nexport const PostmarkGetOpensByPlatformOutput = z.object({\n Days: z.array(PostmarkGetOpensByPlatform_PlatformOpenDaySchema).describe(\"Array of daily platform-specific open statistics\"),\n Mobile: z.number().int().describe(\"Total number of opens from mobile platforms\").nullable().optional(),\n Desktop: z.number().int().describe(\"Total number of opens from desktop platforms\").nullable().optional(),\n Unknown: z.number().int().describe(\"Total number of opens where platform could not be determined\").nullable().optional(),\n WebMail: z.number().int().describe(\"Total number of opens from webmail platforms\").nullable().optional(),\n}).describe(\"Response containing platform-based email open statistics.\");\n\nexport const postmarkGetOpensByPlatform = action(\"POSTMARK_GET_OPENS_BY_PLATFORM\", {\n slug: \"postmark-get-opens-by-platform\",\n name: \"Get Opens by Platform\",\n description: \"Tool to retrieve email open statistics by platform type. Use when you need to understand which platforms recipients use to open emails.\",\n input: PostmarkGetOpensByPlatformInput,\n output: PostmarkGetOpensByPlatformOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO;CACtD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CAChG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC7G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,mDAAmD,EAAE,OAAO;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,SAAS,sEAAsE;
|
|
1
|
+
{"version":3,"file":"get-opens-by-platform.mjs","names":[],"sources":["../../src/actions/get-opens-by-platform.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkGetOpensByPlatformInput = z.object({\n tag: z.string().describe(\"Filter by tag to narrow down statistics to specific emails\").optional(),\n todate: z.string().describe(\"Filter end date (inclusive) in YYYY-MM-DD format, e.g., '2014-02-01'\").optional(),\n fromdate: z.string().describe(\"Filter starting date (inclusive) in YYYY-MM-DD format, e.g., '2014-01-01'\").optional(),\n}).describe(\"Request model for fetching email open statistics by platform type.\");\nconst PostmarkGetOpensByPlatform_PlatformOpenDaySchema = z.object({\n Date: z.string().describe(\"Date in YYYY-MM-DD format\").nullable(),\n Mobile: z.number().int().describe(\"Number of opens from mobile platforms on this day\").nullable().optional(),\n Desktop: z.number().int().describe(\"Number of opens from desktop platforms on this day\").nullable().optional(),\n Unknown: z.number().int().describe(\"Number of opens from unknown platforms on this day\").nullable().optional(),\n WebMail: z.number().int().describe(\"Number of opens from webmail platforms on this day\").nullable().optional(),\n}).passthrough().describe(\"Statistics for a single day including platform-specific open counts.\");\nexport const PostmarkGetOpensByPlatformOutput = z.object({\n Days: z.array(PostmarkGetOpensByPlatform_PlatformOpenDaySchema).describe(\"Array of daily platform-specific open statistics\"),\n Mobile: z.number().int().describe(\"Total number of opens from mobile platforms\").nullable().optional(),\n Desktop: z.number().int().describe(\"Total number of opens from desktop platforms\").nullable().optional(),\n Unknown: z.number().int().describe(\"Total number of opens where platform could not be determined\").nullable().optional(),\n WebMail: z.number().int().describe(\"Total number of opens from webmail platforms\").nullable().optional(),\n}).passthrough().describe(\"Response containing platform-based email open statistics.\");\n\nexport const postmarkGetOpensByPlatform = action(\"POSTMARK_GET_OPENS_BY_PLATFORM\", {\n slug: \"postmark-get-opens-by-platform\",\n name: \"Get Opens by Platform\",\n description: \"Tool to retrieve email open statistics by platform type. Use when you need to understand which platforms recipients use to open emails.\",\n input: PostmarkGetOpensByPlatformInput,\n output: PostmarkGetOpensByPlatformOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO;CACtD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CAChG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC7G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,mDAAmD,EAAE,OAAO;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sEAAsE;AAShG,MAAa,6BAA6B,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb8C,EAAE,OAAO;EACvD,MAAM,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,kDAAkD;EAC3H,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvH,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAOhB;AACV,CAAC"}
|
|
@@ -20,7 +20,7 @@ const PostmarkGetOutboundOverviewOutput = zod.z.object({
|
|
|
20
20
|
WithPlatformRecorded: zod.z.number().int().describe("Number of emails with platform recorded").nullable(),
|
|
21
21
|
WithReadTimeRecorded: zod.z.number().int().describe("Number of emails with read time recorded").nullable(),
|
|
22
22
|
TotalTrackedLinksSent: zod.z.number().int().describe("Total number of tracked links sent").nullable()
|
|
23
|
-
}).describe("Response model for outbound overview statistics, including counts, rates, and tracking data.");
|
|
23
|
+
}).passthrough().describe("Response model for outbound overview statistics, including counts, rates, and tracking data.");
|
|
24
24
|
const postmarkGetOutboundOverview = require_action.action("POSTMARK_GET_OUTBOUND_OVERVIEW", {
|
|
25
25
|
slug: "postmark-get-outbound-overview",
|
|
26
26
|
name: "Get Outbound Overview",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-outbound-overview.cjs","names":["z","action"],"sources":["../../src/actions/get-outbound-overview.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkGetOutboundOverviewInput = z.object({}).describe(\"Empty request model for retrieving outbound overview statistics.\");\nexport const PostmarkGetOutboundOverviewOutput = z.object({\n Sent: z.number().int().describe(\"Number of messages sent\").nullable(),\n Opens: z.number().int().describe(\"Number of message opens\").nullable(),\n Bounced: z.number().int().describe(\"Number of messages bounced\").nullable(),\n Tracked: z.number().int().describe(\"Number of tracked emails\").nullable(),\n BounceRate: z.number().describe(\"Bounce rate as percentage\").nullable(),\n TotalClicks: z.number().int().describe(\"Total number of link clicks\").nullable(),\n UniqueOpens: z.number().int().describe(\"Number of unique message opens\").nullable(),\n SMTPApiErrors: z.number().int().describe(\"Number of SMTP API errors encountered\").nullable(),\n SpamComplaints: z.number().int().describe(\"Number of spam complaints\").nullable(),\n WithLinkTracking: z.number().int().describe(\"Number of emails with link tracking\").nullable(),\n WithOpenTracking: z.number().int().describe(\"Number of emails with open tracking\").nullable(),\n SpamComplaintsRate: z.number().describe(\"Spam complaint rate as percentage\").nullable(),\n UniqueLinksClicked: z.number().int().describe(\"Number of unique links clicked\").nullable(),\n WithClientRecorded: z.number().int().describe(\"Number of emails with client recorded\").nullable(),\n WithPlatformRecorded: z.number().int().describe(\"Number of emails with platform recorded\").nullable(),\n WithReadTimeRecorded: z.number().int().describe(\"Number of emails with read time recorded\").nullable(),\n TotalTrackedLinksSent: z.number().int().describe(\"Total number of tracked links sent\").nullable(),\n}).describe(\"Response model for outbound overview statistics, including counts, rates, and tracking data.\");\n\nexport const postmarkGetOutboundOverview = action(\"POSTMARK_GET_OUTBOUND_OVERVIEW\", {\n slug: \"postmark-get-outbound-overview\",\n name: \"Get Outbound Overview\",\n description: \"Tool to retrieve outbound email statistics overview. Use when you need aggregated outbound metrics after sending emails.\",\n input: PostmarkGetOutboundOverviewInput,\n output: PostmarkGetOutboundOverviewOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kEAAkE;AACxI,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACpE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACrE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC1E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACxE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACtE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAC/E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAClF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC3F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC5F,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC5F,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACtF,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACzF,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAChG,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACpG,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACrG,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,SAAS,8FAA8F;
|
|
1
|
+
{"version":3,"file":"get-outbound-overview.cjs","names":["z","action"],"sources":["../../src/actions/get-outbound-overview.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkGetOutboundOverviewInput = z.object({}).describe(\"Empty request model for retrieving outbound overview statistics.\");\nexport const PostmarkGetOutboundOverviewOutput = z.object({\n Sent: z.number().int().describe(\"Number of messages sent\").nullable(),\n Opens: z.number().int().describe(\"Number of message opens\").nullable(),\n Bounced: z.number().int().describe(\"Number of messages bounced\").nullable(),\n Tracked: z.number().int().describe(\"Number of tracked emails\").nullable(),\n BounceRate: z.number().describe(\"Bounce rate as percentage\").nullable(),\n TotalClicks: z.number().int().describe(\"Total number of link clicks\").nullable(),\n UniqueOpens: z.number().int().describe(\"Number of unique message opens\").nullable(),\n SMTPApiErrors: z.number().int().describe(\"Number of SMTP API errors encountered\").nullable(),\n SpamComplaints: z.number().int().describe(\"Number of spam complaints\").nullable(),\n WithLinkTracking: z.number().int().describe(\"Number of emails with link tracking\").nullable(),\n WithOpenTracking: z.number().int().describe(\"Number of emails with open tracking\").nullable(),\n SpamComplaintsRate: z.number().describe(\"Spam complaint rate as percentage\").nullable(),\n UniqueLinksClicked: z.number().int().describe(\"Number of unique links clicked\").nullable(),\n WithClientRecorded: z.number().int().describe(\"Number of emails with client recorded\").nullable(),\n WithPlatformRecorded: z.number().int().describe(\"Number of emails with platform recorded\").nullable(),\n WithReadTimeRecorded: z.number().int().describe(\"Number of emails with read time recorded\").nullable(),\n TotalTrackedLinksSent: z.number().int().describe(\"Total number of tracked links sent\").nullable(),\n}).passthrough().describe(\"Response model for outbound overview statistics, including counts, rates, and tracking data.\");\n\nexport const postmarkGetOutboundOverview = action(\"POSTMARK_GET_OUTBOUND_OVERVIEW\", {\n slug: \"postmark-get-outbound-overview\",\n name: \"Get Outbound Overview\",\n description: \"Tool to retrieve outbound email statistics overview. Use when you need aggregated outbound metrics after sending emails.\",\n input: PostmarkGetOutboundOverviewInput,\n output: PostmarkGetOutboundOverviewOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kEAAkE;AACxI,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACpE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACrE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC1E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACxE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACtE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAC/E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAClF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC3F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC5F,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC5F,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACtF,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACzF,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAChG,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACpG,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACrG,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8FAA8F;AAExH,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -20,7 +20,7 @@ declare const PostmarkGetOutboundOverviewOutput: z.ZodObject<{
|
|
|
20
20
|
WithPlatformRecorded: z.ZodNullable<z.ZodNumber>;
|
|
21
21
|
WithReadTimeRecorded: z.ZodNullable<z.ZodNumber>;
|
|
22
22
|
TotalTrackedLinksSent: z.ZodNullable<z.ZodNumber>;
|
|
23
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>;
|
|
24
24
|
declare const postmarkGetOutboundOverview: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
25
25
|
//#endregion
|
|
26
26
|
export { postmarkGetOutboundOverview };
|
|
@@ -20,7 +20,7 @@ declare const PostmarkGetOutboundOverviewOutput: z.ZodObject<{
|
|
|
20
20
|
WithPlatformRecorded: z.ZodNullable<z.ZodNumber>;
|
|
21
21
|
WithReadTimeRecorded: z.ZodNullable<z.ZodNumber>;
|
|
22
22
|
TotalTrackedLinksSent: z.ZodNullable<z.ZodNumber>;
|
|
23
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>;
|
|
24
24
|
declare const postmarkGetOutboundOverview: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
25
25
|
//#endregion
|
|
26
26
|
export { postmarkGetOutboundOverview };
|
|
@@ -23,7 +23,7 @@ const postmarkGetOutboundOverview = action("POSTMARK_GET_OUTBOUND_OVERVIEW", {
|
|
|
23
23
|
WithPlatformRecorded: z.number().int().describe("Number of emails with platform recorded").nullable(),
|
|
24
24
|
WithReadTimeRecorded: z.number().int().describe("Number of emails with read time recorded").nullable(),
|
|
25
25
|
TotalTrackedLinksSent: z.number().int().describe("Total number of tracked links sent").nullable()
|
|
26
|
-
}).describe("Response model for outbound overview statistics, including counts, rates, and tracking data.")
|
|
26
|
+
}).passthrough().describe("Response model for outbound overview statistics, including counts, rates, and tracking data.")
|
|
27
27
|
});
|
|
28
28
|
//#endregion
|
|
29
29
|
export { postmarkGetOutboundOverview };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-outbound-overview.mjs","names":[],"sources":["../../src/actions/get-outbound-overview.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkGetOutboundOverviewInput = z.object({}).describe(\"Empty request model for retrieving outbound overview statistics.\");\nexport const PostmarkGetOutboundOverviewOutput = z.object({\n Sent: z.number().int().describe(\"Number of messages sent\").nullable(),\n Opens: z.number().int().describe(\"Number of message opens\").nullable(),\n Bounced: z.number().int().describe(\"Number of messages bounced\").nullable(),\n Tracked: z.number().int().describe(\"Number of tracked emails\").nullable(),\n BounceRate: z.number().describe(\"Bounce rate as percentage\").nullable(),\n TotalClicks: z.number().int().describe(\"Total number of link clicks\").nullable(),\n UniqueOpens: z.number().int().describe(\"Number of unique message opens\").nullable(),\n SMTPApiErrors: z.number().int().describe(\"Number of SMTP API errors encountered\").nullable(),\n SpamComplaints: z.number().int().describe(\"Number of spam complaints\").nullable(),\n WithLinkTracking: z.number().int().describe(\"Number of emails with link tracking\").nullable(),\n WithOpenTracking: z.number().int().describe(\"Number of emails with open tracking\").nullable(),\n SpamComplaintsRate: z.number().describe(\"Spam complaint rate as percentage\").nullable(),\n UniqueLinksClicked: z.number().int().describe(\"Number of unique links clicked\").nullable(),\n WithClientRecorded: z.number().int().describe(\"Number of emails with client recorded\").nullable(),\n WithPlatformRecorded: z.number().int().describe(\"Number of emails with platform recorded\").nullable(),\n WithReadTimeRecorded: z.number().int().describe(\"Number of emails with read time recorded\").nullable(),\n TotalTrackedLinksSent: z.number().int().describe(\"Total number of tracked links sent\").nullable(),\n}).describe(\"Response model for outbound overview statistics, including counts, rates, and tracking data.\");\n\nexport const postmarkGetOutboundOverview = action(\"POSTMARK_GET_OUTBOUND_OVERVIEW\", {\n slug: \"postmark-get-outbound-overview\",\n name: \"Get Outbound Overview\",\n description: \"Tool to retrieve outbound email statistics overview. Use when you need aggregated outbound metrics after sending emails.\",\n input: PostmarkGetOutboundOverviewInput,\n output: PostmarkGetOutboundOverviewOutput,\n});\n"],"mappings":";;AAyBA,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAzB8C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kEAyB7D;CACP,QAzB+C,EAAE,OAAO;EACxD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;EACpE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;EACrE,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EAC1E,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EACxE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACtE,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EAC/E,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EAClF,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAC3F,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EAChF,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC5F,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC5F,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACtF,oBAAoB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACzF,oBAAoB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAChG,sBAAsB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EACpG,sBAAsB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EACrG,uBAAuB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAClG,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"get-outbound-overview.mjs","names":[],"sources":["../../src/actions/get-outbound-overview.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkGetOutboundOverviewInput = z.object({}).describe(\"Empty request model for retrieving outbound overview statistics.\");\nexport const PostmarkGetOutboundOverviewOutput = z.object({\n Sent: z.number().int().describe(\"Number of messages sent\").nullable(),\n Opens: z.number().int().describe(\"Number of message opens\").nullable(),\n Bounced: z.number().int().describe(\"Number of messages bounced\").nullable(),\n Tracked: z.number().int().describe(\"Number of tracked emails\").nullable(),\n BounceRate: z.number().describe(\"Bounce rate as percentage\").nullable(),\n TotalClicks: z.number().int().describe(\"Total number of link clicks\").nullable(),\n UniqueOpens: z.number().int().describe(\"Number of unique message opens\").nullable(),\n SMTPApiErrors: z.number().int().describe(\"Number of SMTP API errors encountered\").nullable(),\n SpamComplaints: z.number().int().describe(\"Number of spam complaints\").nullable(),\n WithLinkTracking: z.number().int().describe(\"Number of emails with link tracking\").nullable(),\n WithOpenTracking: z.number().int().describe(\"Number of emails with open tracking\").nullable(),\n SpamComplaintsRate: z.number().describe(\"Spam complaint rate as percentage\").nullable(),\n UniqueLinksClicked: z.number().int().describe(\"Number of unique links clicked\").nullable(),\n WithClientRecorded: z.number().int().describe(\"Number of emails with client recorded\").nullable(),\n WithPlatformRecorded: z.number().int().describe(\"Number of emails with platform recorded\").nullable(),\n WithReadTimeRecorded: z.number().int().describe(\"Number of emails with read time recorded\").nullable(),\n TotalTrackedLinksSent: z.number().int().describe(\"Total number of tracked links sent\").nullable(),\n}).passthrough().describe(\"Response model for outbound overview statistics, including counts, rates, and tracking data.\");\n\nexport const postmarkGetOutboundOverview = action(\"POSTMARK_GET_OUTBOUND_OVERVIEW\", {\n slug: \"postmark-get-outbound-overview\",\n name: \"Get Outbound Overview\",\n description: \"Tool to retrieve outbound email statistics overview. Use when you need aggregated outbound metrics after sending emails.\",\n input: PostmarkGetOutboundOverviewInput,\n output: PostmarkGetOutboundOverviewOutput,\n});\n"],"mappings":";;AAyBA,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAzB8C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kEAyB7D;CACP,QAzB+C,EAAE,OAAO;EACxD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;EACpE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;EACrE,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EAC1E,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EACxE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACtE,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EAC/E,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EAClF,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAC3F,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EAChF,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC5F,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC5F,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACtF,oBAAoB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACzF,oBAAoB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAChG,sBAAsB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EACpG,sBAAsB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EACrG,uBAAuB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8FAOhB;AACV,CAAC"}
|
|
@@ -9,11 +9,11 @@ const PostmarkGetSentCountsInput = zod.z.object({
|
|
|
9
9
|
const PostmarkGetSentCounts_DaySentCountSchema = zod.z.object({
|
|
10
10
|
Date: zod.z.string().describe("Date in YYYY-MM-DD format.").nullable(),
|
|
11
11
|
Sent: zod.z.number().int().describe("Number of emails sent on this date.").nullable()
|
|
12
|
-
}).describe("Daily breakdown of sent email counts.");
|
|
12
|
+
}).passthrough().describe("Daily breakdown of sent email counts.");
|
|
13
13
|
const PostmarkGetSentCountsOutput = zod.z.object({
|
|
14
14
|
Days: zod.z.array(PostmarkGetSentCounts_DaySentCountSchema).describe("List of sent counts by day. Days without sends are omitted.").nullable().optional(),
|
|
15
15
|
Sent: zod.z.number().int().default(0).describe("Total number of emails sent across all days in the period.").nullable().optional()
|
|
16
|
-
}).describe("Response model for GetSentCounts action containing daily and total sent counts.");
|
|
16
|
+
}).passthrough().describe("Response model for GetSentCounts action containing daily and total sent counts.");
|
|
17
17
|
const postmarkGetSentCounts = require_action.action("POSTMARK_GET_SENT_COUNTS", {
|
|
18
18
|
slug: "postmark-get-sent-counts",
|
|
19
19
|
name: "Get Sent Counts",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-sent-counts.cjs","names":["z","action"],"sources":["../../src/actions/get-sent-counts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkGetSentCountsInput = z.object({\n tag: z.string().describe(\"Filter by specific tag to get sent counts for emails with that tag.\").optional(),\n todate: z.string().describe(\"End date for stats range in YYYY-MM-DD format. If not provided, defaults to today.\").optional(),\n fromdate: z.string().describe(\"Start date for stats range in YYYY-MM-DD format. If not provided, defaults to 30 days ago.\").optional(),\n}).describe(\"Request model for GetSentCounts action with optional date and tag filters.\");\nconst PostmarkGetSentCounts_DaySentCountSchema = z.object({\n Date: z.string().describe(\"Date in YYYY-MM-DD format.\").nullable(),\n Sent: z.number().int().describe(\"Number of emails sent on this date.\").nullable(),\n}).describe(\"Daily breakdown of sent email counts.\");\nexport const PostmarkGetSentCountsOutput = z.object({\n Days: z.array(PostmarkGetSentCounts_DaySentCountSchema).describe(\"List of sent counts by day. Days without sends are omitted.\").nullable().optional(),\n Sent: z.number().int().default(0).describe(\"Total number of emails sent across all days in the period.\").nullable().optional(),\n}).describe(\"Response model for GetSentCounts action containing daily and total sent counts.\");\n\nexport const postmarkGetSentCounts = action(\"POSTMARK_GET_SENT_COUNTS\", {\n slug: \"postmark-get-sent-counts\",\n name: \"Get Sent Counts\",\n description: \"Tool to retrieve total count of emails sent out. Use when you need per-day and total sent statistics for a specified period.\",\n input: PostmarkGetSentCountsInput,\n output: PostmarkGetSentCountsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CACzG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CAC3H,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;AACvI,CAAC,CAAC,CAAC,SAAS,4EAA4E;AACxF,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,SAAS,uCAAuC;
|
|
1
|
+
{"version":3,"file":"get-sent-counts.cjs","names":["z","action"],"sources":["../../src/actions/get-sent-counts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkGetSentCountsInput = z.object({\n tag: z.string().describe(\"Filter by specific tag to get sent counts for emails with that tag.\").optional(),\n todate: z.string().describe(\"End date for stats range in YYYY-MM-DD format. If not provided, defaults to today.\").optional(),\n fromdate: z.string().describe(\"Start date for stats range in YYYY-MM-DD format. If not provided, defaults to 30 days ago.\").optional(),\n}).describe(\"Request model for GetSentCounts action with optional date and tag filters.\");\nconst PostmarkGetSentCounts_DaySentCountSchema = z.object({\n Date: z.string().describe(\"Date in YYYY-MM-DD format.\").nullable(),\n Sent: z.number().int().describe(\"Number of emails sent on this date.\").nullable(),\n}).passthrough().describe(\"Daily breakdown of sent email counts.\");\nexport const PostmarkGetSentCountsOutput = z.object({\n Days: z.array(PostmarkGetSentCounts_DaySentCountSchema).describe(\"List of sent counts by day. Days without sends are omitted.\").nullable().optional(),\n Sent: z.number().int().default(0).describe(\"Total number of emails sent across all days in the period.\").nullable().optional(),\n}).passthrough().describe(\"Response model for GetSentCounts action containing daily and total sent counts.\");\n\nexport const postmarkGetSentCounts = action(\"POSTMARK_GET_SENT_COUNTS\", {\n slug: \"postmark-get-sent-counts\",\n name: \"Get Sent Counts\",\n description: \"Tool to retrieve total count of emails sent out. Use when you need per-day and total sent statistics for a specified period.\",\n input: PostmarkGetSentCountsInput,\n output: PostmarkGetSentCountsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CACzG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CAC3H,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;AACvI,CAAC,CAAC,CAAC,SAAS,4EAA4E;AACxF,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AACjE,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpJ,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iFAAiF;AAE3G,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|