@keystrokehq/postmark 0.1.0 → 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.
Files changed (377) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/archive-message-stream.cjs +4 -4
  4. package/dist/actions/archive-message-stream.cjs.map +1 -1
  5. package/dist/actions/archive-message-stream.d.cts +11 -3
  6. package/dist/actions/archive-message-stream.d.cts.map +1 -1
  7. package/dist/actions/archive-message-stream.d.mts +11 -3
  8. package/dist/actions/archive-message-stream.d.mts.map +1 -1
  9. package/dist/actions/archive-message-stream.mjs +4 -4
  10. package/dist/actions/archive-message-stream.mjs.map +1 -1
  11. package/dist/actions/check-spam-score.cjs +3 -3
  12. package/dist/actions/check-spam-score.cjs.map +1 -1
  13. package/dist/actions/check-spam-score.d.cts +18 -3
  14. package/dist/actions/check-spam-score.d.cts.map +1 -1
  15. package/dist/actions/check-spam-score.d.mts +18 -3
  16. package/dist/actions/check-spam-score.d.mts.map +1 -1
  17. package/dist/actions/check-spam-score.mjs +3 -3
  18. package/dist/actions/check-spam-score.mjs.map +1 -1
  19. package/dist/actions/create-inbound-rule.cjs +3 -3
  20. package/dist/actions/create-inbound-rule.cjs.map +1 -1
  21. package/dist/actions/create-inbound-rule.d.cts +10 -3
  22. package/dist/actions/create-inbound-rule.d.cts.map +1 -1
  23. package/dist/actions/create-inbound-rule.d.mts +10 -3
  24. package/dist/actions/create-inbound-rule.d.mts.map +1 -1
  25. package/dist/actions/create-inbound-rule.mjs +3 -3
  26. package/dist/actions/create-inbound-rule.mjs.map +1 -1
  27. package/dist/actions/create-message-stream.cjs +7 -7
  28. package/dist/actions/create-message-stream.cjs.map +1 -1
  29. package/dist/actions/create-message-stream.d.cts +31 -3
  30. package/dist/actions/create-message-stream.d.cts.map +1 -1
  31. package/dist/actions/create-message-stream.d.mts +31 -3
  32. package/dist/actions/create-message-stream.d.mts.map +1 -1
  33. package/dist/actions/create-message-stream.mjs +7 -7
  34. package/dist/actions/create-message-stream.mjs.map +1 -1
  35. package/dist/actions/create-suppressions.cjs +4 -4
  36. package/dist/actions/create-suppressions.cjs.map +1 -1
  37. package/dist/actions/create-suppressions.d.cts +23 -3
  38. package/dist/actions/create-suppressions.d.cts.map +1 -1
  39. package/dist/actions/create-suppressions.d.mts +23 -3
  40. package/dist/actions/create-suppressions.d.mts.map +1 -1
  41. package/dist/actions/create-suppressions.mjs +4 -4
  42. package/dist/actions/create-suppressions.mjs.map +1 -1
  43. package/dist/actions/create-template.cjs +5 -5
  44. package/dist/actions/create-template.cjs.map +1 -1
  45. package/dist/actions/create-template.d.cts +38 -3
  46. package/dist/actions/create-template.d.cts.map +1 -1
  47. package/dist/actions/create-template.d.mts +38 -3
  48. package/dist/actions/create-template.d.mts.map +1 -1
  49. package/dist/actions/create-template.mjs +5 -5
  50. package/dist/actions/create-template.mjs.map +1 -1
  51. package/dist/actions/create-webhook.cjs +18 -18
  52. package/dist/actions/create-webhook.cjs.map +1 -1
  53. package/dist/actions/create-webhook.d.cts +106 -3
  54. package/dist/actions/create-webhook.d.cts.map +1 -1
  55. package/dist/actions/create-webhook.d.mts +106 -3
  56. package/dist/actions/create-webhook.d.mts.map +1 -1
  57. package/dist/actions/create-webhook.mjs +18 -18
  58. package/dist/actions/create-webhook.mjs.map +1 -1
  59. package/dist/actions/delete-inbound-rule.cjs +1 -1
  60. package/dist/actions/delete-inbound-rule.cjs.map +1 -1
  61. package/dist/actions/delete-inbound-rule.d.cts +7 -3
  62. package/dist/actions/delete-inbound-rule.d.cts.map +1 -1
  63. package/dist/actions/delete-inbound-rule.d.mts +7 -3
  64. package/dist/actions/delete-inbound-rule.d.mts.map +1 -1
  65. package/dist/actions/delete-inbound-rule.mjs +1 -1
  66. package/dist/actions/delete-inbound-rule.mjs.map +1 -1
  67. package/dist/actions/delete-suppressions.cjs +5 -5
  68. package/dist/actions/delete-suppressions.cjs.map +1 -1
  69. package/dist/actions/delete-suppressions.d.cts +20 -3
  70. package/dist/actions/delete-suppressions.d.cts.map +1 -1
  71. package/dist/actions/delete-suppressions.d.mts +20 -3
  72. package/dist/actions/delete-suppressions.d.mts.map +1 -1
  73. package/dist/actions/delete-suppressions.mjs +5 -5
  74. package/dist/actions/delete-suppressions.mjs.map +1 -1
  75. package/dist/actions/delete-template.cjs +1 -1
  76. package/dist/actions/delete-template.cjs.map +1 -1
  77. package/dist/actions/delete-template.d.cts +10 -3
  78. package/dist/actions/delete-template.d.cts.map +1 -1
  79. package/dist/actions/delete-template.d.mts +10 -3
  80. package/dist/actions/delete-template.d.mts.map +1 -1
  81. package/dist/actions/delete-template.mjs +1 -1
  82. package/dist/actions/delete-template.mjs.map +1 -1
  83. package/dist/actions/delete-webhook.cjs +1 -1
  84. package/dist/actions/delete-webhook.cjs.map +1 -1
  85. package/dist/actions/delete-webhook.d.cts +7 -3
  86. package/dist/actions/delete-webhook.d.cts.map +1 -1
  87. package/dist/actions/delete-webhook.d.mts +7 -3
  88. package/dist/actions/delete-webhook.d.mts.map +1 -1
  89. package/dist/actions/delete-webhook.mjs +1 -1
  90. package/dist/actions/delete-webhook.mjs.map +1 -1
  91. package/dist/actions/edit-server.cjs +7 -7
  92. package/dist/actions/edit-server.cjs.map +1 -1
  93. package/dist/actions/edit-server.d.cts +41 -3
  94. package/dist/actions/edit-server.d.cts.map +1 -1
  95. package/dist/actions/edit-server.d.mts +41 -3
  96. package/dist/actions/edit-server.d.mts.map +1 -1
  97. package/dist/actions/edit-server.mjs +7 -7
  98. package/dist/actions/edit-server.mjs.map +1 -1
  99. package/dist/actions/edit-template.cjs +5 -5
  100. package/dist/actions/edit-template.cjs.map +1 -1
  101. package/dist/actions/edit-template.d.cts +42 -3
  102. package/dist/actions/edit-template.d.cts.map +1 -1
  103. package/dist/actions/edit-template.d.mts +42 -3
  104. package/dist/actions/edit-template.d.mts.map +1 -1
  105. package/dist/actions/edit-template.mjs +5 -5
  106. package/dist/actions/edit-template.mjs.map +1 -1
  107. package/dist/actions/edit-webhook.cjs +7 -7
  108. package/dist/actions/edit-webhook.cjs.map +1 -1
  109. package/dist/actions/edit-webhook.d.cts +55 -3
  110. package/dist/actions/edit-webhook.d.cts.map +1 -1
  111. package/dist/actions/edit-webhook.d.mts +55 -3
  112. package/dist/actions/edit-webhook.d.mts.map +1 -1
  113. package/dist/actions/edit-webhook.mjs +7 -7
  114. package/dist/actions/edit-webhook.mjs.map +1 -1
  115. package/dist/actions/get-bounce-counts.cjs +3 -3
  116. package/dist/actions/get-bounce-counts.cjs.map +1 -1
  117. package/dist/actions/get-bounce-counts.d.cts +23 -3
  118. package/dist/actions/get-bounce-counts.d.cts.map +1 -1
  119. package/dist/actions/get-bounce-counts.d.mts +23 -3
  120. package/dist/actions/get-bounce-counts.d.mts.map +1 -1
  121. package/dist/actions/get-bounce-counts.mjs +3 -3
  122. package/dist/actions/get-bounce-counts.mjs.map +1 -1
  123. package/dist/actions/get-bounces.cjs +14 -14
  124. package/dist/actions/get-bounces.cjs.map +1 -1
  125. package/dist/actions/get-bounces.d.cts +45 -3
  126. package/dist/actions/get-bounces.d.cts.map +1 -1
  127. package/dist/actions/get-bounces.d.mts +45 -3
  128. package/dist/actions/get-bounces.d.mts.map +1 -1
  129. package/dist/actions/get-bounces.mjs +14 -14
  130. package/dist/actions/get-bounces.mjs.map +1 -1
  131. package/dist/actions/get-browser-platform-usage.cjs +3 -3
  132. package/dist/actions/get-browser-platform-usage.cjs.map +1 -1
  133. package/dist/actions/get-browser-platform-usage.d.cts +23 -3
  134. package/dist/actions/get-browser-platform-usage.d.cts.map +1 -1
  135. package/dist/actions/get-browser-platform-usage.d.mts +23 -3
  136. package/dist/actions/get-browser-platform-usage.d.mts.map +1 -1
  137. package/dist/actions/get-browser-platform-usage.mjs +3 -3
  138. package/dist/actions/get-browser-platform-usage.mjs.map +1 -1
  139. package/dist/actions/get-browser-usage.cjs +6 -6
  140. package/dist/actions/get-browser-usage.cjs.map +1 -1
  141. package/dist/actions/get-browser-usage.d.cts +20 -3
  142. package/dist/actions/get-browser-usage.d.cts.map +1 -1
  143. package/dist/actions/get-browser-usage.d.mts +20 -3
  144. package/dist/actions/get-browser-usage.d.mts.map +1 -1
  145. package/dist/actions/get-browser-usage.mjs +6 -6
  146. package/dist/actions/get-browser-usage.mjs.map +1 -1
  147. package/dist/actions/get-click-counts.cjs +8 -8
  148. package/dist/actions/get-click-counts.cjs.map +1 -1
  149. package/dist/actions/get-click-counts.d.cts +29 -3
  150. package/dist/actions/get-click-counts.d.cts.map +1 -1
  151. package/dist/actions/get-click-counts.d.mts +29 -3
  152. package/dist/actions/get-click-counts.d.mts.map +1 -1
  153. package/dist/actions/get-click-counts.mjs +8 -8
  154. package/dist/actions/get-click-counts.mjs.map +1 -1
  155. package/dist/actions/get-clicks-by-browser-family.cjs +1 -1
  156. package/dist/actions/get-clicks-by-browser-family.cjs.map +1 -1
  157. package/dist/actions/get-clicks-by-browser-family.d.cts +15 -3
  158. package/dist/actions/get-clicks-by-browser-family.d.cts.map +1 -1
  159. package/dist/actions/get-clicks-by-browser-family.d.mts +15 -3
  160. package/dist/actions/get-clicks-by-browser-family.d.mts.map +1 -1
  161. package/dist/actions/get-clicks-by-browser-family.mjs +1 -1
  162. package/dist/actions/get-clicks-by-browser-family.mjs.map +1 -1
  163. package/dist/actions/get-clicks-by-location.cjs +3 -3
  164. package/dist/actions/get-clicks-by-location.cjs.map +1 -1
  165. package/dist/actions/get-clicks-by-location.d.cts +19 -3
  166. package/dist/actions/get-clicks-by-location.d.cts.map +1 -1
  167. package/dist/actions/get-clicks-by-location.d.mts +19 -3
  168. package/dist/actions/get-clicks-by-location.d.mts.map +1 -1
  169. package/dist/actions/get-clicks-by-location.mjs +3 -3
  170. package/dist/actions/get-clicks-by-location.mjs.map +1 -1
  171. package/dist/actions/get-delivery-stats.cjs +5 -5
  172. package/dist/actions/get-delivery-stats.cjs.map +1 -1
  173. package/dist/actions/get-delivery-stats.d.cts +10 -3
  174. package/dist/actions/get-delivery-stats.d.cts.map +1 -1
  175. package/dist/actions/get-delivery-stats.d.mts +10 -3
  176. package/dist/actions/get-delivery-stats.d.mts.map +1 -1
  177. package/dist/actions/get-delivery-stats.mjs +5 -5
  178. package/dist/actions/get-delivery-stats.mjs.map +1 -1
  179. package/dist/actions/get-email-client-usage.cjs +1 -1
  180. package/dist/actions/get-email-client-usage.cjs.map +1 -1
  181. package/dist/actions/get-email-client-usage.d.cts +17 -3
  182. package/dist/actions/get-email-client-usage.d.cts.map +1 -1
  183. package/dist/actions/get-email-client-usage.d.mts +17 -3
  184. package/dist/actions/get-email-client-usage.d.mts.map +1 -1
  185. package/dist/actions/get-email-client-usage.mjs +1 -1
  186. package/dist/actions/get-email-client-usage.mjs.map +1 -1
  187. package/dist/actions/get-email-open-counts.cjs +5 -5
  188. package/dist/actions/get-email-open-counts.cjs.map +1 -1
  189. package/dist/actions/get-email-open-counts.d.cts +19 -3
  190. package/dist/actions/get-email-open-counts.d.cts.map +1 -1
  191. package/dist/actions/get-email-open-counts.d.mts +19 -3
  192. package/dist/actions/get-email-open-counts.d.mts.map +1 -1
  193. package/dist/actions/get-email-open-counts.mjs +5 -5
  194. package/dist/actions/get-email-open-counts.mjs.map +1 -1
  195. package/dist/actions/get-message-stream.cjs +7 -7
  196. package/dist/actions/get-message-stream.cjs.map +1 -1
  197. package/dist/actions/get-message-stream.d.cts +20 -3
  198. package/dist/actions/get-message-stream.d.cts.map +1 -1
  199. package/dist/actions/get-message-stream.d.mts +20 -3
  200. package/dist/actions/get-message-stream.d.mts.map +1 -1
  201. package/dist/actions/get-message-stream.mjs +7 -7
  202. package/dist/actions/get-message-stream.mjs.map +1 -1
  203. package/dist/actions/get-opens-by-platform.cjs +3 -3
  204. package/dist/actions/get-opens-by-platform.cjs.map +1 -1
  205. package/dist/actions/get-opens-by-platform.d.cts +23 -3
  206. package/dist/actions/get-opens-by-platform.d.cts.map +1 -1
  207. package/dist/actions/get-opens-by-platform.d.mts +23 -3
  208. package/dist/actions/get-opens-by-platform.d.mts.map +1 -1
  209. package/dist/actions/get-opens-by-platform.mjs +3 -3
  210. package/dist/actions/get-opens-by-platform.mjs.map +1 -1
  211. package/dist/actions/get-outbound-overview.cjs +18 -18
  212. package/dist/actions/get-outbound-overview.cjs.map +1 -1
  213. package/dist/actions/get-outbound-overview.d.cts +21 -3
  214. package/dist/actions/get-outbound-overview.d.cts.map +1 -1
  215. package/dist/actions/get-outbound-overview.d.mts +21 -3
  216. package/dist/actions/get-outbound-overview.d.mts.map +1 -1
  217. package/dist/actions/get-outbound-overview.mjs +18 -18
  218. package/dist/actions/get-outbound-overview.mjs.map +1 -1
  219. package/dist/actions/get-sent-counts.cjs +4 -4
  220. package/dist/actions/get-sent-counts.cjs.map +1 -1
  221. package/dist/actions/get-sent-counts.d.cts +17 -3
  222. package/dist/actions/get-sent-counts.d.cts.map +1 -1
  223. package/dist/actions/get-sent-counts.d.mts +17 -3
  224. package/dist/actions/get-sent-counts.d.mts.map +1 -1
  225. package/dist/actions/get-sent-counts.mjs +4 -4
  226. package/dist/actions/get-sent-counts.mjs.map +1 -1
  227. package/dist/actions/get-server.cjs +13 -13
  228. package/dist/actions/get-server.cjs.map +1 -1
  229. package/dist/actions/get-server.d.cts +30 -3
  230. package/dist/actions/get-server.d.cts.map +1 -1
  231. package/dist/actions/get-server.d.mts +30 -3
  232. package/dist/actions/get-server.d.mts.map +1 -1
  233. package/dist/actions/get-server.mjs +13 -13
  234. package/dist/actions/get-server.mjs.map +1 -1
  235. package/dist/actions/get-spam-complaints.cjs +4 -4
  236. package/dist/actions/get-spam-complaints.cjs.map +1 -1
  237. package/dist/actions/get-spam-complaints.d.cts +17 -3
  238. package/dist/actions/get-spam-complaints.d.cts.map +1 -1
  239. package/dist/actions/get-spam-complaints.d.mts +17 -3
  240. package/dist/actions/get-spam-complaints.d.mts.map +1 -1
  241. package/dist/actions/get-spam-complaints.mjs +4 -4
  242. package/dist/actions/get-spam-complaints.mjs.map +1 -1
  243. package/dist/actions/get-template.cjs +8 -8
  244. package/dist/actions/get-template.cjs.map +1 -1
  245. package/dist/actions/get-template.d.cts +20 -3
  246. package/dist/actions/get-template.d.cts.map +1 -1
  247. package/dist/actions/get-template.d.mts +20 -3
  248. package/dist/actions/get-template.d.mts.map +1 -1
  249. package/dist/actions/get-template.mjs +8 -8
  250. package/dist/actions/get-template.mjs.map +1 -1
  251. package/dist/actions/get-tracked-email-counts.cjs +4 -4
  252. package/dist/actions/get-tracked-email-counts.cjs.map +1 -1
  253. package/dist/actions/get-tracked-email-counts.d.cts +14 -3
  254. package/dist/actions/get-tracked-email-counts.d.cts.map +1 -1
  255. package/dist/actions/get-tracked-email-counts.d.mts +14 -3
  256. package/dist/actions/get-tracked-email-counts.d.mts.map +1 -1
  257. package/dist/actions/get-tracked-email-counts.mjs +4 -4
  258. package/dist/actions/get-tracked-email-counts.mjs.map +1 -1
  259. package/dist/actions/get-webhook.cjs +10 -10
  260. package/dist/actions/get-webhook.cjs.map +1 -1
  261. package/dist/actions/get-webhook.d.cts +34 -3
  262. package/dist/actions/get-webhook.d.cts.map +1 -1
  263. package/dist/actions/get-webhook.d.mts +34 -3
  264. package/dist/actions/get-webhook.d.mts.map +1 -1
  265. package/dist/actions/get-webhook.mjs +10 -10
  266. package/dist/actions/get-webhook.mjs.map +1 -1
  267. package/dist/actions/list-inbound-rules.cjs +5 -5
  268. package/dist/actions/list-inbound-rules.cjs.map +1 -1
  269. package/dist/actions/list-inbound-rules.d.cts +15 -3
  270. package/dist/actions/list-inbound-rules.d.cts.map +1 -1
  271. package/dist/actions/list-inbound-rules.d.mts +15 -3
  272. package/dist/actions/list-inbound-rules.d.mts.map +1 -1
  273. package/dist/actions/list-inbound-rules.mjs +5 -5
  274. package/dist/actions/list-inbound-rules.mjs.map +1 -1
  275. package/dist/actions/list-message-streams.cjs +9 -9
  276. package/dist/actions/list-message-streams.cjs.map +1 -1
  277. package/dist/actions/list-message-streams.d.cts +30 -3
  278. package/dist/actions/list-message-streams.d.cts.map +1 -1
  279. package/dist/actions/list-message-streams.d.mts +30 -3
  280. package/dist/actions/list-message-streams.d.mts.map +1 -1
  281. package/dist/actions/list-message-streams.mjs +9 -9
  282. package/dist/actions/list-message-streams.mjs.map +1 -1
  283. package/dist/actions/list-outbound-message-clicks.cjs +6 -6
  284. package/dist/actions/list-outbound-message-clicks.cjs.map +1 -1
  285. package/dist/actions/list-outbound-message-clicks.d.cts +67 -3
  286. package/dist/actions/list-outbound-message-clicks.d.cts.map +1 -1
  287. package/dist/actions/list-outbound-message-clicks.d.mts +67 -3
  288. package/dist/actions/list-outbound-message-clicks.d.mts.map +1 -1
  289. package/dist/actions/list-outbound-message-clicks.mjs +6 -6
  290. package/dist/actions/list-outbound-message-clicks.mjs.map +1 -1
  291. package/dist/actions/list-outbound-message-opens.cjs +9 -9
  292. package/dist/actions/list-outbound-message-opens.cjs.map +1 -1
  293. package/dist/actions/list-outbound-message-opens.d.cts +65 -3
  294. package/dist/actions/list-outbound-message-opens.d.cts.map +1 -1
  295. package/dist/actions/list-outbound-message-opens.d.mts +65 -3
  296. package/dist/actions/list-outbound-message-opens.d.mts.map +1 -1
  297. package/dist/actions/list-outbound-message-opens.mjs +9 -9
  298. package/dist/actions/list-outbound-message-opens.mjs.map +1 -1
  299. package/dist/actions/list-suppressions.cjs +6 -6
  300. package/dist/actions/list-suppressions.cjs.map +1 -1
  301. package/dist/actions/list-suppressions.d.cts +32 -3
  302. package/dist/actions/list-suppressions.d.cts.map +1 -1
  303. package/dist/actions/list-suppressions.d.mts +32 -3
  304. package/dist/actions/list-suppressions.d.mts.map +1 -1
  305. package/dist/actions/list-suppressions.mjs +6 -6
  306. package/dist/actions/list-suppressions.mjs.map +1 -1
  307. package/dist/actions/list-templates.cjs +7 -7
  308. package/dist/actions/list-templates.cjs.map +1 -1
  309. package/dist/actions/list-templates.d.cts +32 -3
  310. package/dist/actions/list-templates.d.cts.map +1 -1
  311. package/dist/actions/list-templates.d.mts +32 -3
  312. package/dist/actions/list-templates.d.mts.map +1 -1
  313. package/dist/actions/list-templates.mjs +7 -7
  314. package/dist/actions/list-templates.mjs.map +1 -1
  315. package/dist/actions/list-webhooks.cjs +12 -12
  316. package/dist/actions/list-webhooks.cjs.map +1 -1
  317. package/dist/actions/list-webhooks.d.cts +35 -3
  318. package/dist/actions/list-webhooks.d.cts.map +1 -1
  319. package/dist/actions/list-webhooks.d.mts +35 -3
  320. package/dist/actions/list-webhooks.d.mts.map +1 -1
  321. package/dist/actions/list-webhooks.mjs +12 -12
  322. package/dist/actions/list-webhooks.mjs.map +1 -1
  323. package/dist/actions/search-inbound-messages.cjs +18 -18
  324. package/dist/actions/search-inbound-messages.cjs.map +1 -1
  325. package/dist/actions/search-inbound-messages.d.cts +72 -3
  326. package/dist/actions/search-inbound-messages.d.cts.map +1 -1
  327. package/dist/actions/search-inbound-messages.d.mts +72 -3
  328. package/dist/actions/search-inbound-messages.d.mts.map +1 -1
  329. package/dist/actions/search-inbound-messages.mjs +18 -18
  330. package/dist/actions/search-inbound-messages.mjs.map +1 -1
  331. package/dist/actions/search-outbound-messages.cjs +16 -16
  332. package/dist/actions/search-outbound-messages.cjs.map +1 -1
  333. package/dist/actions/search-outbound-messages.d.cts +53 -3
  334. package/dist/actions/search-outbound-messages.d.cts.map +1 -1
  335. package/dist/actions/search-outbound-messages.d.mts +53 -3
  336. package/dist/actions/search-outbound-messages.d.mts.map +1 -1
  337. package/dist/actions/search-outbound-messages.mjs +16 -16
  338. package/dist/actions/search-outbound-messages.mjs.map +1 -1
  339. package/dist/actions/send-batch-with-templates.cjs +4 -4
  340. package/dist/actions/send-batch-with-templates.cjs.map +1 -1
  341. package/dist/actions/send-batch-with-templates.d.cts +63 -3
  342. package/dist/actions/send-batch-with-templates.d.cts.map +1 -1
  343. package/dist/actions/send-batch-with-templates.d.mts +63 -3
  344. package/dist/actions/send-batch-with-templates.d.mts.map +1 -1
  345. package/dist/actions/send-batch-with-templates.mjs +4 -4
  346. package/dist/actions/send-batch-with-templates.mjs.map +1 -1
  347. package/dist/actions/unarchive-message-stream.cjs +7 -7
  348. package/dist/actions/unarchive-message-stream.cjs.map +1 -1
  349. package/dist/actions/unarchive-message-stream.d.cts +19 -3
  350. package/dist/actions/unarchive-message-stream.d.cts.map +1 -1
  351. package/dist/actions/unarchive-message-stream.d.mts +19 -3
  352. package/dist/actions/unarchive-message-stream.d.mts.map +1 -1
  353. package/dist/actions/unarchive-message-stream.mjs +7 -7
  354. package/dist/actions/unarchive-message-stream.mjs.map +1 -1
  355. package/dist/actions/update-message-stream.cjs +6 -6
  356. package/dist/actions/update-message-stream.cjs.map +1 -1
  357. package/dist/actions/update-message-stream.d.cts +21 -3
  358. package/dist/actions/update-message-stream.d.cts.map +1 -1
  359. package/dist/actions/update-message-stream.d.mts +21 -3
  360. package/dist/actions/update-message-stream.d.mts.map +1 -1
  361. package/dist/actions/update-message-stream.mjs +6 -6
  362. package/dist/actions/update-message-stream.mjs.map +1 -1
  363. package/dist/actions/validate-template.cjs +4 -4
  364. package/dist/actions/validate-template.cjs.map +1 -1
  365. package/dist/actions/validate-template.d.cts +36 -3
  366. package/dist/actions/validate-template.d.cts.map +1 -1
  367. package/dist/actions/validate-template.d.mts +36 -3
  368. package/dist/actions/validate-template.d.mts.map +1 -1
  369. package/dist/actions/validate-template.mjs +4 -4
  370. package/dist/actions/validate-template.mjs.map +1 -1
  371. package/dist/catalog.cjs +7 -1
  372. package/dist/catalog.cjs.map +1 -1
  373. package/dist/catalog.d.cts +8 -0
  374. package/dist/catalog.d.mts +8 -0
  375. package/dist/catalog.mjs +7 -1
  376. package/dist/catalog.mjs.map +1 -1
  377. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"get-click-counts.mjs","names":[],"sources":["../../src/actions/get-click-counts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkGetClickCountsInput: z.ZodTypeAny = z.object({\n os: z.string().describe(\"Filter by operating system.\").optional(),\n tag: z.string().describe(\"Filter by specific tag.\").optional(),\n todate: z.string().describe(\"End date for stats range in YYYY-MM-DD format.\"),\n country: z.string().describe(\"Filter by country code.\").optional(),\n fromdate: z.string().describe(\"Start date for stats range in YYYY-MM-DD format.\"),\n platform: z.string().describe(\"Filter by client platform.\").optional(),\n client_name: z.string().describe(\"Filter by client name.\").optional(),\n}).describe(\"Request model for GetClickCounts action. Requires start and end dates, and optional filters.\");\nconst PostmarkGetClickCounts_DayCountSchema: z.ZodTypeAny = z.object({\n Date: z.string().describe(\"Date in YYYY-MM-DD format.\"),\n TotalClicked: z.number().int().describe(\"Total clicks (including repeats) on this date.\"),\n UniqueClicked: z.number().int().describe(\"Number of unique clicks on this date.\"),\n}).describe(\"Daily breakdown of click counts.\");\nconst PostmarkGetClickCounts_ClicksAggregateSchema: z.ZodTypeAny = z.object({\n Total: z.number().int().describe(\"Total clicks in range.\"),\n Unique: z.number().int().describe(\"Total unique clicks in range.\"),\n}).describe(\"Aggregated click counts across date range.\");\nexport const PostmarkGetClickCountsOutput: z.ZodTypeAny = z.object({\n Days: z.array(PostmarkGetClickCounts_DayCountSchema).describe(\"List of daily click count breakdowns.\").nullable().optional(),\n Clicks: PostmarkGetClickCounts_ClicksAggregateSchema.nullable().optional(),\n}).describe(\"Response model for GetClickCounts action containing daily and aggregate click counts.\");\n\nexport const postmarkGetClickCounts = action(\"POSTMARK_GET_CLICK_COUNTS\", {\n slug: \"postmark-get-click-counts\",\n name: \"Get Click Counts\",\n description: \"Tool to retrieve total click counts across all links in emails. Use when you need aggregated click metrics for a given date range.\",\n input: PostmarkGetClickCountsInput,\n output: PostmarkGetClickCountsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4C,EAAE,OAAO;CAChE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAChE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC7D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAC5E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACjE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CAChF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACrE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACtE,CAAC,CAAC,CAAC,SAAS,8FAA8F;AAC1G,MAAM,wCAAsD,EAAE,OAAO;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACtD,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;CACxF,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC;AAClF,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAC9C,MAAM,+CAA6D,EAAE,OAAO;CAC1E,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB;CACzD,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B;AACnE,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAMxD,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVwD,EAAE,OAAO;EACjE,MAAM,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3H,QAAQ,6CAA6C,SAAS,CAAC,CAAC,SAAS;CAC3E,CAAC,CAAC,CAAC,SAAS,uFAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-click-counts.mjs","names":[],"sources":["../../src/actions/get-click-counts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkGetClickCountsInput = z.object({\n os: z.string().describe(\"Filter by operating system.\").optional(),\n tag: z.string().describe(\"Filter by specific tag.\").optional(),\n todate: z.string().describe(\"End date for stats range in YYYY-MM-DD format.\"),\n country: z.string().describe(\"Filter by country code.\").optional(),\n fromdate: z.string().describe(\"Start date for stats range in YYYY-MM-DD format.\"),\n platform: z.string().describe(\"Filter by client platform.\").optional(),\n client_name: z.string().describe(\"Filter by client name.\").optional(),\n}).describe(\"Request model for GetClickCounts action. Requires start and end dates, and optional filters.\");\nconst PostmarkGetClickCounts_DayCountSchema = z.object({\n Date: z.string().describe(\"Date in YYYY-MM-DD format.\").nullable(),\n TotalClicked: z.number().int().describe(\"Total clicks (including repeats) on this date.\").nullable(),\n UniqueClicked: z.number().int().describe(\"Number of unique clicks on this date.\").nullable(),\n}).passthrough().describe(\"Daily breakdown of click counts.\");\nconst PostmarkGetClickCounts_ClicksAggregateSchema = z.object({\n Total: z.number().int().describe(\"Total clicks in range.\").nullable(),\n Unique: z.number().int().describe(\"Total unique clicks in range.\").nullable(),\n}).passthrough().describe(\"Aggregated click counts across date range.\");\nexport const PostmarkGetClickCountsOutput = z.object({\n Days: z.array(PostmarkGetClickCounts_DayCountSchema).describe(\"List of daily click count breakdowns.\").nullable().optional(),\n Clicks: PostmarkGetClickCounts_ClicksAggregateSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for GetClickCounts action containing daily and aggregate click counts.\");\n\nexport const postmarkGetClickCounts = action(\"POSTMARK_GET_CLICK_COUNTS\", {\n slug: \"postmark-get-click-counts\",\n name: \"Get Click Counts\",\n description: \"Tool to retrieve total click counts across all links in emails. Use when you need aggregated click metrics for a given date range.\",\n input: PostmarkGetClickCountsInput,\n output: PostmarkGetClickCountsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAChE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC7D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAC5E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACjE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CAChF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACrE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACtE,CAAC,CAAC,CAAC,SAAS,8FAA8F;AAC1G,MAAM,wCAAwC,EAAE,OAAO;CACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACjE,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACnG,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAC5D,MAAM,+CAA+C,EAAE,OAAO;CAC5D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CACpE,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAMtE,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV0C,EAAE,OAAO;EACnD,MAAM,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3H,QAAQ,6CAA6C,SAAS,CAAC,CAAC,SAAS;CAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uFAOhB;AACV,CAAC"}
@@ -6,7 +6,7 @@ const PostmarkGetClicksByBrowserFamilyInput = zod.z.object({
6
6
  todate: zod.z.string().describe("Filter end date (inclusive) in YYYY-MM-DD format").optional(),
7
7
  fromdate: zod.z.string().describe("Filter starting date (inclusive) in YYYY-MM-DD format").optional()
8
8
  }).describe("Request model for fetching click statistics grouped by browser family.\nAll parameters are optional for filtering the statistics.");
9
- const PostmarkGetClicksByBrowserFamily_BrowserFamilyDaySchema = zod.z.object({ Date: zod.z.string().describe("Date in YYYY-MM-DD format") }).passthrough().describe("Daily breakdown of clicks by browser family.\nContains a date field and dynamic browser family fields with click counts.");
9
+ const PostmarkGetClicksByBrowserFamily_BrowserFamilyDaySchema = zod.z.object({ Date: zod.z.string().describe("Date in YYYY-MM-DD format").nullable() }).passthrough().describe("Daily breakdown of clicks by browser family.\nContains a date field and dynamic browser family fields with click counts.");
10
10
  const PostmarkGetClicksByBrowserFamilyOutput = zod.z.object({ Days: zod.z.array(PostmarkGetClicksByBrowserFamily_BrowserFamilyDaySchema).describe("Array of daily browser family click statistics. Days without statistics are omitted.").nullable().optional() }).passthrough().describe("Response model containing daily browser family statistics and aggregate totals.\nBrowser families (e.g., 'Google Chrome', 'Safari mobile') appear as dynamic fields.");
11
11
  const postmarkGetClicksByBrowserFamily = require_action.action("POSTMARK_GET_CLICKS_BY_BROWSER_FAMILY", {
12
12
  slug: "postmark-get-clicks-by-browser-family",
@@ -1 +1 @@
1
- {"version":3,"file":"get-clicks-by-browser-family.cjs","names":["z","action"],"sources":["../../src/actions/get-clicks-by-browser-family.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkGetClicksByBrowserFamilyInput: z.ZodTypeAny = z.object({\n tag: z.string().describe(\"Filter by specific tag to narrow down statistics to emails with this tag\").optional(),\n todate: z.string().describe(\"Filter end date (inclusive) in YYYY-MM-DD format\").optional(),\n fromdate: z.string().describe(\"Filter starting date (inclusive) in YYYY-MM-DD format\").optional(),\n}).describe(\"Request model for fetching click statistics grouped by browser family.\\nAll parameters are optional for filtering the statistics.\");\nconst PostmarkGetClicksByBrowserFamily_BrowserFamilyDaySchema: z.ZodTypeAny = z.object({\n Date: z.string().describe(\"Date in YYYY-MM-DD format\"),\n}).passthrough().describe(\"Daily breakdown of clicks by browser family.\\nContains a date field and dynamic browser family fields with click counts.\");\nexport const PostmarkGetClicksByBrowserFamilyOutput: z.ZodTypeAny = z.object({\n Days: z.array(PostmarkGetClicksByBrowserFamily_BrowserFamilyDaySchema).describe(\"Array of daily browser family click statistics. Days without statistics are omitted.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing daily browser family statistics and aggregate totals.\\nBrowser families (e.g., 'Google Chrome', 'Safari mobile') appear as dynamic fields.\");\n\nexport const postmarkGetClicksByBrowserFamily = action(\"POSTMARK_GET_CLICKS_BY_BROWSER_FAMILY\", {\n slug: \"postmark-get-clicks-by-browser-family\",\n name: \"Get Clicks By Browser Family\",\n description: \"Tool to retrieve click statistics grouped by browser family. Use after sending outbound emails with tracked links to analyze which browser families recipients used to click links. Requires link tracking to be enabled for emails.\",\n input: PostmarkGetClicksByBrowserFamilyInput,\n output: PostmarkGetClicksByBrowserFamilyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAsDA,IAAAA,EAAE,OAAO;CAC1E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CAC9G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACzF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,SAAS,mIAAmI;AAC/I,MAAM,0DAAwEA,IAAAA,EAAE,OAAO,EACrF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,EACvD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0HAA0H;AACpJ,MAAa,yCAAuDA,IAAAA,EAAE,OAAO,EAC3E,MAAMA,IAAAA,EAAE,MAAM,uDAAuD,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC9L,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sKAAsK;AAEhM,MAAa,mCAAmCC,eAAAA,OAAO,yCAAyC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-clicks-by-browser-family.cjs","names":["z","action"],"sources":["../../src/actions/get-clicks-by-browser-family.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkGetClicksByBrowserFamilyInput = z.object({\n tag: z.string().describe(\"Filter by specific tag to narrow down statistics to emails with this tag\").optional(),\n todate: z.string().describe(\"Filter end date (inclusive) in YYYY-MM-DD format\").optional(),\n fromdate: z.string().describe(\"Filter starting date (inclusive) in YYYY-MM-DD format\").optional(),\n}).describe(\"Request model for fetching click statistics grouped by browser family.\\nAll parameters are optional for filtering the statistics.\");\nconst PostmarkGetClicksByBrowserFamily_BrowserFamilyDaySchema = z.object({\n Date: z.string().describe(\"Date in YYYY-MM-DD format\").nullable(),\n}).passthrough().describe(\"Daily breakdown of clicks by browser family.\\nContains a date field and dynamic browser family fields with click counts.\");\nexport const PostmarkGetClicksByBrowserFamilyOutput = z.object({\n Days: z.array(PostmarkGetClicksByBrowserFamily_BrowserFamilyDaySchema).describe(\"Array of daily browser family click statistics. Days without statistics are omitted.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing daily browser family statistics and aggregate totals.\\nBrowser families (e.g., 'Google Chrome', 'Safari mobile') appear as dynamic fields.\");\n\nexport const postmarkGetClicksByBrowserFamily = action(\"POSTMARK_GET_CLICKS_BY_BROWSER_FAMILY\", {\n slug: \"postmark-get-clicks-by-browser-family\",\n name: \"Get Clicks By Browser Family\",\n description: \"Tool to retrieve click statistics grouped by browser family. Use after sending outbound emails with tracked links to analyze which browser families recipients used to click links. Requires link tracking to be enabled for emails.\",\n input: PostmarkGetClicksByBrowserFamilyInput,\n output: PostmarkGetClicksByBrowserFamilyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CAC9G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACzF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,SAAS,mIAAmI;AAC/I,MAAM,0DAA0DA,IAAAA,EAAE,OAAO,EACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,EAClE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0HAA0H;AACpJ,MAAa,yCAAyCA,IAAAA,EAAE,OAAO,EAC7D,MAAMA,IAAAA,EAAE,MAAM,uDAAuD,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC9L,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sKAAsK;AAEhM,MAAa,mCAAmCC,eAAAA,OAAO,yCAAyC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,21 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-clicks-by-browser-family.d.ts
4
- declare const PostmarkGetClicksByBrowserFamilyInput: z.ZodTypeAny;
5
- declare const PostmarkGetClicksByBrowserFamilyOutput: z.ZodTypeAny;
6
- declare const postmarkGetClicksByBrowserFamily: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PostmarkGetClicksByBrowserFamilyInput: z.ZodObject<{
5
+ tag: z.ZodOptional<z.ZodString>;
6
+ todate: z.ZodOptional<z.ZodString>;
7
+ fromdate: z.ZodOptional<z.ZodString>;
8
+ }, z.core.$strip>;
9
+ declare const PostmarkGetClicksByBrowserFamilyOutput: z.ZodObject<{
10
+ Days: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
11
+ Date: z.ZodNullable<z.ZodString>;
12
+ }, z.core.$loose>>>>;
13
+ }, z.core.$loose>;
14
+ declare const postmarkGetClicksByBrowserFamily: import("@keystrokehq/action").WorkflowActionDefinition<{
15
+ tag?: string | undefined;
16
+ todate?: string | undefined;
17
+ fromdate?: string | undefined;
18
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
19
  //#endregion
8
20
  export { postmarkGetClicksByBrowserFamily };
9
21
  //# sourceMappingURL=get-clicks-by-browser-family.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-clicks-by-browser-family.d.cts","names":[],"sources":["../../src/actions/get-clicks-by-browser-family.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UAI0F;AAAA,cAInI,sCAAA,EAAwC,CAAA,CAAE,UAE0I;AAAA,cAEpL,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-clicks-by-browser-family.d.cts","names":[],"sources":["../../src/actions/get-clicks-by-browser-family.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;cAQrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;cAItC,gCAAA,gCAAgC,wBAAA"}
@@ -1,9 +1,21 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-clicks-by-browser-family.d.ts
4
- declare const PostmarkGetClicksByBrowserFamilyInput: z.ZodTypeAny;
5
- declare const PostmarkGetClicksByBrowserFamilyOutput: z.ZodTypeAny;
6
- declare const postmarkGetClicksByBrowserFamily: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PostmarkGetClicksByBrowserFamilyInput: z.ZodObject<{
5
+ tag: z.ZodOptional<z.ZodString>;
6
+ todate: z.ZodOptional<z.ZodString>;
7
+ fromdate: z.ZodOptional<z.ZodString>;
8
+ }, z.core.$strip>;
9
+ declare const PostmarkGetClicksByBrowserFamilyOutput: z.ZodObject<{
10
+ Days: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
11
+ Date: z.ZodNullable<z.ZodString>;
12
+ }, z.core.$loose>>>>;
13
+ }, z.core.$loose>;
14
+ declare const postmarkGetClicksByBrowserFamily: import("@keystrokehq/action").WorkflowActionDefinition<{
15
+ tag?: string | undefined;
16
+ todate?: string | undefined;
17
+ fromdate?: string | undefined;
18
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
19
  //#endregion
8
20
  export { postmarkGetClicksByBrowserFamily };
9
21
  //# sourceMappingURL=get-clicks-by-browser-family.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-clicks-by-browser-family.d.mts","names":[],"sources":["../../src/actions/get-clicks-by-browser-family.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UAI0F;AAAA,cAInI,sCAAA,EAAwC,CAAA,CAAE,UAE0I;AAAA,cAEpL,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-clicks-by-browser-family.d.mts","names":[],"sources":["../../src/actions/get-clicks-by-browser-family.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;cAQrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;cAItC,gCAAA,gCAAgC,wBAAA"}
@@ -6,7 +6,7 @@ const PostmarkGetClicksByBrowserFamilyInput = z.object({
6
6
  todate: z.string().describe("Filter end date (inclusive) in YYYY-MM-DD format").optional(),
7
7
  fromdate: z.string().describe("Filter starting date (inclusive) in YYYY-MM-DD format").optional()
8
8
  }).describe("Request model for fetching click statistics grouped by browser family.\nAll parameters are optional for filtering the statistics.");
9
- const PostmarkGetClicksByBrowserFamily_BrowserFamilyDaySchema = z.object({ Date: z.string().describe("Date in YYYY-MM-DD format") }).passthrough().describe("Daily breakdown of clicks by browser family.\nContains a date field and dynamic browser family fields with click counts.");
9
+ const PostmarkGetClicksByBrowserFamily_BrowserFamilyDaySchema = z.object({ Date: z.string().describe("Date in YYYY-MM-DD format").nullable() }).passthrough().describe("Daily breakdown of clicks by browser family.\nContains a date field and dynamic browser family fields with click counts.");
10
10
  const postmarkGetClicksByBrowserFamily = action("POSTMARK_GET_CLICKS_BY_BROWSER_FAMILY", {
11
11
  slug: "postmark-get-clicks-by-browser-family",
12
12
  name: "Get Clicks By Browser Family",
@@ -1 +1 @@
1
- {"version":3,"file":"get-clicks-by-browser-family.mjs","names":[],"sources":["../../src/actions/get-clicks-by-browser-family.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkGetClicksByBrowserFamilyInput: z.ZodTypeAny = z.object({\n tag: z.string().describe(\"Filter by specific tag to narrow down statistics to emails with this tag\").optional(),\n todate: z.string().describe(\"Filter end date (inclusive) in YYYY-MM-DD format\").optional(),\n fromdate: z.string().describe(\"Filter starting date (inclusive) in YYYY-MM-DD format\").optional(),\n}).describe(\"Request model for fetching click statistics grouped by browser family.\\nAll parameters are optional for filtering the statistics.\");\nconst PostmarkGetClicksByBrowserFamily_BrowserFamilyDaySchema: z.ZodTypeAny = z.object({\n Date: z.string().describe(\"Date in YYYY-MM-DD format\"),\n}).passthrough().describe(\"Daily breakdown of clicks by browser family.\\nContains a date field and dynamic browser family fields with click counts.\");\nexport const PostmarkGetClicksByBrowserFamilyOutput: z.ZodTypeAny = z.object({\n Days: z.array(PostmarkGetClicksByBrowserFamily_BrowserFamilyDaySchema).describe(\"Array of daily browser family click statistics. Days without statistics are omitted.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing daily browser family statistics and aggregate totals.\\nBrowser families (e.g., 'Google Chrome', 'Safari mobile') appear as dynamic fields.\");\n\nexport const postmarkGetClicksByBrowserFamily = action(\"POSTMARK_GET_CLICKS_BY_BROWSER_FAMILY\", {\n slug: \"postmark-get-clicks-by-browser-family\",\n name: \"Get Clicks By Browser Family\",\n description: \"Tool to retrieve click statistics grouped by browser family. Use after sending outbound emails with tracked links to analyze which browser families recipients used to click links. Requires link tracking to be enabled for emails.\",\n input: PostmarkGetClicksByBrowserFamilyInput,\n output: PostmarkGetClicksByBrowserFamilyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAsD,EAAE,OAAO;CAC1E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CAC9G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACzF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,SAAS,mIAAmI;AAC/I,MAAM,0DAAwE,EAAE,OAAO,EACrF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,EACvD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0HAA0H;AAKpJ,MAAa,mCAAmC,OAAO,yCAAyC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATkE,EAAE,OAAO,EAC3E,MAAM,EAAE,MAAM,uDAAuD,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC9L,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sKAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-clicks-by-browser-family.mjs","names":[],"sources":["../../src/actions/get-clicks-by-browser-family.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkGetClicksByBrowserFamilyInput = z.object({\n tag: z.string().describe(\"Filter by specific tag to narrow down statistics to emails with this tag\").optional(),\n todate: z.string().describe(\"Filter end date (inclusive) in YYYY-MM-DD format\").optional(),\n fromdate: z.string().describe(\"Filter starting date (inclusive) in YYYY-MM-DD format\").optional(),\n}).describe(\"Request model for fetching click statistics grouped by browser family.\\nAll parameters are optional for filtering the statistics.\");\nconst PostmarkGetClicksByBrowserFamily_BrowserFamilyDaySchema = z.object({\n Date: z.string().describe(\"Date in YYYY-MM-DD format\").nullable(),\n}).passthrough().describe(\"Daily breakdown of clicks by browser family.\\nContains a date field and dynamic browser family fields with click counts.\");\nexport const PostmarkGetClicksByBrowserFamilyOutput = z.object({\n Days: z.array(PostmarkGetClicksByBrowserFamily_BrowserFamilyDaySchema).describe(\"Array of daily browser family click statistics. Days without statistics are omitted.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing daily browser family statistics and aggregate totals.\\nBrowser families (e.g., 'Google Chrome', 'Safari mobile') appear as dynamic fields.\");\n\nexport const postmarkGetClicksByBrowserFamily = action(\"POSTMARK_GET_CLICKS_BY_BROWSER_FAMILY\", {\n slug: \"postmark-get-clicks-by-browser-family\",\n name: \"Get Clicks By Browser Family\",\n description: \"Tool to retrieve click statistics grouped by browser family. Use after sending outbound emails with tracked links to analyze which browser families recipients used to click links. Requires link tracking to be enabled for emails.\",\n input: PostmarkGetClicksByBrowserFamilyInput,\n output: PostmarkGetClicksByBrowserFamilyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwC,EAAE,OAAO;CAC5D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CAC9G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACzF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,SAAS,mIAAmI;AAC/I,MAAM,0DAA0D,EAAE,OAAO,EACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,EAClE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0HAA0H;AAKpJ,MAAa,mCAAmC,OAAO,yCAAyC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAToD,EAAE,OAAO,EAC7D,MAAM,EAAE,MAAM,uDAAuD,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC9L,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sKAOhB;AACV,CAAC"}
@@ -7,15 +7,15 @@ const PostmarkGetClicksByLocationInput = zod.z.object({
7
7
  fromdate: zod.z.string().describe("Filter stats starting from the date specified in YYYY-MM-DD format.").optional()
8
8
  }).describe("Request model for GetClicksByLocation action. All parameters are optional.");
9
9
  const PostmarkGetClicksByLocation_DayLocationSchema = zod.z.object({
10
- Date: zod.z.string().describe("Date in YYYY-MM-DD format."),
10
+ Date: zod.z.string().describe("Date in YYYY-MM-DD format.").nullable(),
11
11
  HTML: zod.z.number().int().describe("Total number of clicks that were from links in the HTML content.").nullable().optional(),
12
12
  Text: zod.z.number().int().describe("Total number of clicks that were from links in the text content.").nullable().optional()
13
- }).describe("Daily breakdown of clicks by location (HTML vs Text).");
13
+ }).passthrough().describe("Daily breakdown of clicks by location (HTML vs Text).");
14
14
  const PostmarkGetClicksByLocationOutput = zod.z.object({
15
15
  Days: zod.z.array(PostmarkGetClicksByLocation_DayLocationSchema).describe("List of daily click location breakdowns. Days without statistics are omitted.").nullable().optional(),
16
16
  HTML: zod.z.number().int().describe("Aggregate total of HTML link clicks.").nullable().optional(),
17
17
  Text: zod.z.number().int().describe("Aggregate total of text link clicks.").nullable().optional()
18
- }).describe("Response model for GetClicksByLocation action containing daily breakdown and aggregate totals of clicks by location.");
18
+ }).passthrough().describe("Response model for GetClicksByLocation action containing daily breakdown and aggregate totals of clicks by location.");
19
19
  const postmarkGetClicksByLocation = require_action.action("POSTMARK_GET_CLICKS_BY_LOCATION", {
20
20
  slug: "postmark-get-clicks-by-location",
21
21
  name: "Get Clicks by Location",
@@ -1 +1 @@
1
- {"version":3,"file":"get-clicks-by-location.cjs","names":["z","action"],"sources":["../../src/actions/get-clicks-by-location.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkGetClicksByLocationInput: z.ZodTypeAny = z.object({\n tag: z.string().describe(\"Filter by tag.\").optional(),\n todate: z.string().describe(\"Filter stats up to the date specified in YYYY-MM-DD format.\").optional(),\n fromdate: z.string().describe(\"Filter stats starting from the date specified in YYYY-MM-DD format.\").optional(),\n}).describe(\"Request model for GetClicksByLocation action. All parameters are optional.\");\nconst PostmarkGetClicksByLocation_DayLocationSchema: z.ZodTypeAny = z.object({\n Date: z.string().describe(\"Date in YYYY-MM-DD format.\"),\n HTML: z.number().int().describe(\"Total number of clicks that were from links in the HTML content.\").nullable().optional(),\n Text: z.number().int().describe(\"Total number of clicks that were from links in the text content.\").nullable().optional(),\n}).describe(\"Daily breakdown of clicks by location (HTML vs Text).\");\nexport const PostmarkGetClicksByLocationOutput: z.ZodTypeAny = z.object({\n Days: z.array(PostmarkGetClicksByLocation_DayLocationSchema).describe(\"List of daily click location breakdowns. Days without statistics are omitted.\").nullable().optional(),\n HTML: z.number().int().describe(\"Aggregate total of HTML link clicks.\").nullable().optional(),\n Text: z.number().int().describe(\"Aggregate total of text link clicks.\").nullable().optional(),\n}).describe(\"Response model for GetClicksByLocation action containing daily breakdown and aggregate totals of clicks by location.\");\n\nexport const postmarkGetClicksByLocation = action(\"POSTMARK_GET_CLICKS_BY_LOCATION\", {\n slug: \"postmark-get-clicks-by-location\",\n name: \"Get Clicks by Location\",\n description: \"Tool to get an overview of which part of the email links were clicked from (HTML or Text). Use when you need to analyze click patterns by content type.\",\n input: PostmarkGetClicksByLocationInput,\n output: PostmarkGetClicksByLocationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACpD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACpG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,SAAS,4EAA4E;AACxF,MAAM,gDAA8DA,IAAAA,EAAE,OAAO;CAC3E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAa,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,MAAMA,IAAAA,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3K,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,SAAS,sHAAsH;AAElI,MAAa,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-clicks-by-location.cjs","names":["z","action"],"sources":["../../src/actions/get-clicks-by-location.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkGetClicksByLocationInput = z.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,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACpD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACpG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,SAAS,4EAA4E;AACxF,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AACjF,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3K,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sHAAsH;AAEhJ,MAAa,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,25 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-clicks-by-location.d.ts
4
- declare const PostmarkGetClicksByLocationInput: z.ZodTypeAny;
5
- declare const PostmarkGetClicksByLocationOutput: z.ZodTypeAny;
6
- declare const postmarkGetClicksByLocation: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PostmarkGetClicksByLocationInput: z.ZodObject<{
5
+ tag: z.ZodOptional<z.ZodString>;
6
+ todate: z.ZodOptional<z.ZodString>;
7
+ fromdate: z.ZodOptional<z.ZodString>;
8
+ }, z.core.$strip>;
9
+ declare const PostmarkGetClicksByLocationOutput: z.ZodObject<{
10
+ Days: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
11
+ Date: z.ZodNullable<z.ZodString>;
12
+ HTML: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
13
+ Text: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
+ }, z.core.$loose>>>>;
15
+ HTML: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
16
+ Text: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17
+ }, z.core.$loose>;
18
+ declare const postmarkGetClicksByLocation: import("@keystrokehq/action").WorkflowActionDefinition<{
19
+ tag?: string | undefined;
20
+ todate?: string | undefined;
21
+ fromdate?: string | undefined;
22
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
23
  //#endregion
8
24
  export { postmarkGetClicksByLocation };
9
25
  //# sourceMappingURL=get-clicks-by-location.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-clicks-by-location.d.cts","names":[],"sources":["../../src/actions/get-clicks-by-location.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAIwC;AAAA,cAM5E,iCAAA,EAAmC,CAAA,CAAE,UAIiF;AAAA,cAEtH,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-clicks-by-location.d.cts","names":[],"sources":["../../src/actions/get-clicks-by-location.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAUhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;cAMjC,2BAAA,gCAA2B,wBAAA"}
@@ -1,9 +1,25 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-clicks-by-location.d.ts
4
- declare const PostmarkGetClicksByLocationInput: z.ZodTypeAny;
5
- declare const PostmarkGetClicksByLocationOutput: z.ZodTypeAny;
6
- declare const postmarkGetClicksByLocation: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PostmarkGetClicksByLocationInput: z.ZodObject<{
5
+ tag: z.ZodOptional<z.ZodString>;
6
+ todate: z.ZodOptional<z.ZodString>;
7
+ fromdate: z.ZodOptional<z.ZodString>;
8
+ }, z.core.$strip>;
9
+ declare const PostmarkGetClicksByLocationOutput: z.ZodObject<{
10
+ Days: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
11
+ Date: z.ZodNullable<z.ZodString>;
12
+ HTML: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
13
+ Text: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
+ }, z.core.$loose>>>>;
15
+ HTML: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
16
+ Text: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17
+ }, z.core.$loose>;
18
+ declare const postmarkGetClicksByLocation: import("@keystrokehq/action").WorkflowActionDefinition<{
19
+ tag?: string | undefined;
20
+ todate?: string | undefined;
21
+ fromdate?: string | undefined;
22
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
23
  //#endregion
8
24
  export { postmarkGetClicksByLocation };
9
25
  //# sourceMappingURL=get-clicks-by-location.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-clicks-by-location.d.mts","names":[],"sources":["../../src/actions/get-clicks-by-location.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAIwC;AAAA,cAM5E,iCAAA,EAAmC,CAAA,CAAE,UAIiF;AAAA,cAEtH,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-clicks-by-location.d.mts","names":[],"sources":["../../src/actions/get-clicks-by-location.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAUhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;cAMjC,2BAAA,gCAA2B,wBAAA"}
@@ -7,10 +7,10 @@ const PostmarkGetClicksByLocationInput = z.object({
7
7
  fromdate: z.string().describe("Filter stats starting from the date specified in YYYY-MM-DD format.").optional()
8
8
  }).describe("Request model for GetClicksByLocation action. All parameters are optional.");
9
9
  const PostmarkGetClicksByLocation_DayLocationSchema = z.object({
10
- Date: z.string().describe("Date in YYYY-MM-DD format."),
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.ZodTypeAny = z.object({\n tag: z.string().describe(\"Filter by tag.\").optional(),\n todate: z.string().describe(\"Filter stats up to the date specified in YYYY-MM-DD format.\").optional(),\n fromdate: z.string().describe(\"Filter stats starting from the date specified in YYYY-MM-DD format.\").optional(),\n}).describe(\"Request model for GetClicksByLocation action. All parameters are optional.\");\nconst PostmarkGetClicksByLocation_DayLocationSchema: z.ZodTypeAny = z.object({\n Date: z.string().describe(\"Date in YYYY-MM-DD format.\"),\n HTML: z.number().int().describe(\"Total number of clicks that were from links in the HTML content.\").nullable().optional(),\n Text: z.number().int().describe(\"Total number of clicks that were from links in the text content.\").nullable().optional(),\n}).describe(\"Daily breakdown of clicks by location (HTML vs Text).\");\nexport const PostmarkGetClicksByLocationOutput: z.ZodTypeAny = z.object({\n Days: z.array(PostmarkGetClicksByLocation_DayLocationSchema).describe(\"List of daily click location breakdowns. Days without statistics are omitted.\").nullable().optional(),\n HTML: z.number().int().describe(\"Aggregate total of HTML link clicks.\").nullable().optional(),\n Text: z.number().int().describe(\"Aggregate total of text link clicks.\").nullable().optional(),\n}).describe(\"Response model for GetClicksByLocation action containing daily breakdown and aggregate totals of clicks by location.\");\n\nexport const postmarkGetClicksByLocation = action(\"POSTMARK_GET_CLICKS_BY_LOCATION\", {\n slug: \"postmark-get-clicks-by-location\",\n name: \"Get Clicks by Location\",\n description: \"Tool to get an overview of which part of the email links were clicked from (HTML or Text). Use when you need to analyze click patterns by content type.\",\n input: PostmarkGetClicksByLocationInput,\n output: PostmarkGetClicksByLocationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiD,EAAE,OAAO;CACrE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACpD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACpG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,SAAS,4EAA4E;AACxF,MAAM,gDAA8D,EAAE,OAAO;CAC3E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACtD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,SAAS,uDAAuD;AAOnE,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX6D,EAAE,OAAO;EACtE,MAAM,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3K,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,SAAS,sHAOF;AACV,CAAC"}
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"}
@@ -3,14 +3,14 @@ let zod = require("zod");
3
3
  //#region src/actions/get-delivery-stats.ts
4
4
  const PostmarkGetDeliveryStatsInput = zod.z.object({}).describe("Request model for GetDeliveryStats action.\nThis action does not require any parameters.");
5
5
  const PostmarkGetDeliveryStats_BounceTypeCountSchema = zod.z.object({
6
- Name: zod.z.string().describe("Human-readable name of the bounce type (e.g., 'All', 'Hard bounce', 'Message delayed')"),
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
- Count: zod.z.number().int().describe("Number of bounces of this type")
9
- }).describe("Model representing a bounce type with its count.");
8
+ Count: zod.z.number().int().describe("Number of bounces of this type").nullable()
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
- InactiveMails: zod.z.number().int().describe("Number of inactive recipient email addresses")
13
- }).describe("Response model for GetDeliveryStats action, representing delivery statistical counts.");
12
+ InactiveMails: zod.z.number().int().describe("Number of inactive recipient email addresses").nullable()
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.ZodTypeAny = z.object({}).describe(\"Request model for GetDeliveryStats action.\\nThis action does not require any parameters.\");\nconst PostmarkGetDeliveryStats_BounceTypeCountSchema: z.ZodTypeAny = z.object({\n Name: z.string().describe(\"Human-readable name of the bounce type (e.g., 'All', 'Hard bounce', 'Message delayed')\"),\n Type: z.string().describe(\"Bounce type identifier (e.g., 'HardBounce', 'Transient', 'AutoResponder', 'SpamNotification', 'SoftBounce', 'SpamComplaint')\").nullable().optional(),\n Count: z.number().int().describe(\"Number of bounces of this type\"),\n}).describe(\"Model representing a bounce type with its count.\");\nexport const PostmarkGetDeliveryStatsOutput: z.ZodTypeAny = z.object({\n Bounces: z.array(PostmarkGetDeliveryStats_BounceTypeCountSchema).describe(\"List of bounce types with their counts, including total count ('All'), hard bounces, soft bounces, spam complaints, etc.\"),\n InactiveMails: z.number().int().describe(\"Number of inactive recipient email addresses\"),\n}).describe(\"Response model for GetDeliveryStats action, representing delivery statistical counts.\");\n\nexport const postmarkGetDeliveryStats = action(\"POSTMARK_GET_DELIVERY_STATS\", {\n slug: \"postmark-get-delivery-stats\",\n name: \"Get Delivery Stats\",\n description: \"Tool to retrieve delivery statistics. Use after sending emails to get aggregated counts of deliveries, bounces, and spam complaints.\",\n input: PostmarkGetDeliveryStatsInput,\n output: PostmarkGetDeliveryStatsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0FAA0F;AAC3K,MAAM,iDAA+DA,IAAAA,EAAE,OAAO;CAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF;CAClH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8HAA8H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9K,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC;AACnE,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,SAASA,IAAAA,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,0HAA0H;CACpM,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C;AACzF,CAAC,CAAC,CAAC,SAAS,uFAAuF;AAEnG,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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"}
@@ -1,9 +1,16 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-delivery-stats.d.ts
4
- declare const PostmarkGetDeliveryStatsInput: z.ZodTypeAny;
5
- declare const PostmarkGetDeliveryStatsOutput: z.ZodTypeAny;
6
- declare const postmarkGetDeliveryStats: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PostmarkGetDeliveryStatsInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const PostmarkGetDeliveryStatsOutput: z.ZodObject<{
6
+ Bounces: z.ZodArray<z.ZodObject<{
7
+ Name: z.ZodNullable<z.ZodString>;
8
+ Type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ Count: z.ZodNullable<z.ZodNumber>;
10
+ }, z.core.$loose>>;
11
+ InactiveMails: z.ZodNullable<z.ZodNumber>;
12
+ }, z.core.$loose>;
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]>;
7
14
  //#endregion
8
15
  export { postmarkGetDeliveryStats };
9
16
  //# sourceMappingURL=get-delivery-stats.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-delivery-stats.d.cts","names":[],"sources":["../../src/actions/get-delivery-stats.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAA8H;AAAA,cAM/J,8BAAA,EAAgC,CAAA,CAAE,UAGqD;AAAA,cAEvF,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-delivery-stats.d.cts","names":[],"sources":["../../src/actions/get-delivery-stats.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAM7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;cAK9B,wBAAA,gCAAwB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -1,9 +1,16 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-delivery-stats.d.ts
4
- declare const PostmarkGetDeliveryStatsInput: z.ZodTypeAny;
5
- declare const PostmarkGetDeliveryStatsOutput: z.ZodTypeAny;
6
- declare const postmarkGetDeliveryStats: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PostmarkGetDeliveryStatsInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const PostmarkGetDeliveryStatsOutput: z.ZodObject<{
6
+ Bounces: z.ZodArray<z.ZodObject<{
7
+ Name: z.ZodNullable<z.ZodString>;
8
+ Type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ Count: z.ZodNullable<z.ZodNumber>;
10
+ }, z.core.$loose>>;
11
+ InactiveMails: z.ZodNullable<z.ZodNumber>;
12
+ }, z.core.$loose>;
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]>;
7
14
  //#endregion
8
15
  export { postmarkGetDeliveryStats };
9
16
  //# sourceMappingURL=get-delivery-stats.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-delivery-stats.d.mts","names":[],"sources":["../../src/actions/get-delivery-stats.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAA8H;AAAA,cAM/J,8BAAA,EAAgC,CAAA,CAAE,UAGqD;AAAA,cAEvF,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-delivery-stats.d.mts","names":[],"sources":["../../src/actions/get-delivery-stats.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAM7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;cAK9B,wBAAA,gCAAwB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -3,10 +3,10 @@ import { z } from "zod";
3
3
  //#region src/actions/get-delivery-stats.ts
4
4
  const PostmarkGetDeliveryStatsInput = z.object({}).describe("Request model for GetDeliveryStats action.\nThis action does not require any parameters.");
5
5
  const PostmarkGetDeliveryStats_BounceTypeCountSchema = z.object({
6
- Name: z.string().describe("Human-readable name of the bounce type (e.g., 'All', 'Hard bounce', 'Message delayed')"),
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
- Count: z.number().int().describe("Number of bounces of this type")
9
- }).describe("Model representing a bounce type with its count.");
8
+ Count: z.number().int().describe("Number of bounces of this type").nullable()
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",
@@ -14,8 +14,8 @@ const postmarkGetDeliveryStats = action("POSTMARK_GET_DELIVERY_STATS", {
14
14
  input: PostmarkGetDeliveryStatsInput,
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
- InactiveMails: z.number().int().describe("Number of inactive recipient email addresses")
18
- }).describe("Response model for GetDeliveryStats action, representing delivery statistical counts.")
17
+ InactiveMails: z.number().int().describe("Number of inactive recipient email addresses").nullable()
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.ZodTypeAny = z.object({}).describe(\"Request model for GetDeliveryStats action.\\nThis action does not require any parameters.\");\nconst PostmarkGetDeliveryStats_BounceTypeCountSchema: z.ZodTypeAny = z.object({\n Name: z.string().describe(\"Human-readable name of the bounce type (e.g., 'All', 'Hard bounce', 'Message delayed')\"),\n Type: z.string().describe(\"Bounce type identifier (e.g., 'HardBounce', 'Transient', 'AutoResponder', 'SpamNotification', 'SoftBounce', 'SpamComplaint')\").nullable().optional(),\n Count: z.number().int().describe(\"Number of bounces of this type\"),\n}).describe(\"Model representing a bounce type with its count.\");\nexport const PostmarkGetDeliveryStatsOutput: z.ZodTypeAny = z.object({\n Bounces: z.array(PostmarkGetDeliveryStats_BounceTypeCountSchema).describe(\"List of bounce types with their counts, including total count ('All'), hard bounces, soft bounces, spam complaints, etc.\"),\n InactiveMails: z.number().int().describe(\"Number of inactive recipient email addresses\"),\n}).describe(\"Response model for GetDeliveryStats action, representing delivery statistical counts.\");\n\nexport const postmarkGetDeliveryStats = action(\"POSTMARK_GET_DELIVERY_STATS\", {\n slug: \"postmark-get-delivery-stats\",\n name: \"Get Delivery Stats\",\n description: \"Tool to retrieve delivery statistics. Use after sending emails to get aggregated counts of deliveries, bounces, and spam complaints.\",\n input: PostmarkGetDeliveryStatsInput,\n output: PostmarkGetDeliveryStatsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0FAA0F;AAC3K,MAAM,iDAA+D,EAAE,OAAO;CAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF;CAClH,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8HAA8H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9K,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC;AACnE,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAM9D,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV0D,EAAE,OAAO;EACnE,SAAS,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,0HAA0H;EACpM,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C;CACzF,CAAC,CAAC,CAAC,SAAS,uFAOF;AACV,CAAC"}
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"}
@@ -7,7 +7,7 @@ const PostmarkGetEmailClientUsageInput = zod.z.object({
7
7
  fromdate: zod.z.string().describe("Start date for the statistics (inclusive, format: YYYY-MM-DD)").optional(),
8
8
  messagestream: zod.z.string().describe("Filter by message stream ID. If omitted, returns stats for all server streams.").optional()
9
9
  }).describe("Request model for retrieving email client usage statistics for opened emails.");
10
- const PostmarkGetEmailClientUsage_DayStatsSchema = zod.z.object({ Date: zod.z.string().describe("Date for the stats (YYYY-MM-DD)") }).passthrough().describe("Statistics for a single day including date and email client usage counts.\nThe model accepts any additional fields as client names with their counts.");
10
+ const PostmarkGetEmailClientUsage_DayStatsSchema = zod.z.object({ Date: zod.z.string().describe("Date for the stats (YYYY-MM-DD)").nullable() }).passthrough().describe("Statistics for a single day including date and email client usage counts.\nThe model accepts any additional fields as client names with their counts.");
11
11
  const PostmarkGetEmailClientUsageOutput = zod.z.object({ Days: zod.z.array(PostmarkGetEmailClientUsage_DayStatsSchema).describe("List of client usage stats per day").nullable().optional() }).passthrough().describe("Response containing daily email client usage statistics.\nMay also contain aggregate counts at the top level for each client.");
12
12
  const postmarkGetEmailClientUsage = require_action.action("POSTMARK_GET_EMAIL_CLIENT_USAGE", {
13
13
  slug: "postmark-get-email-client-usage",
@@ -1 +1 @@
1
- {"version":3,"file":"get-email-client-usage.cjs","names":["z","action"],"sources":["../../src/actions/get-email-client-usage.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkGetEmailClientUsageInput: z.ZodTypeAny = z.object({\n tag: z.string().describe(\"Filter by tag name (if emails were sent with a tag)\").optional(),\n todate: z.string().describe(\"End date for the statistics (inclusive, format: YYYY-MM-DD)\").optional(),\n fromdate: z.string().describe(\"Start date for the statistics (inclusive, format: YYYY-MM-DD)\").optional(),\n messagestream: z.string().describe(\"Filter by message stream ID. If omitted, returns stats for all server streams.\").optional(),\n}).describe(\"Request model for retrieving email client usage statistics for opened emails.\");\nconst PostmarkGetEmailClientUsage_DayStatsSchema: z.ZodTypeAny = z.object({\n Date: z.string().describe(\"Date for the stats (YYYY-MM-DD)\"),\n}).passthrough().describe(\"Statistics for a single day including date and email client usage counts.\\nThe model accepts any additional fields as client names with their counts.\");\nexport const PostmarkGetEmailClientUsageOutput: z.ZodTypeAny = z.object({\n Days: z.array(PostmarkGetEmailClientUsage_DayStatsSchema).describe(\"List of client usage stats per day\").nullable().optional(),\n}).passthrough().describe(\"Response containing daily email client usage statistics.\\nMay also contain aggregate counts at the top level for each client.\");\n\nexport const postmarkGetEmailClientUsage = action(\"POSTMARK_GET_EMAIL_CLIENT_USAGE\", {\n slug: \"postmark-get-email-client-usage\",\n name: \"Get Email Client Usage\",\n description: \"Tool to retrieve statistics on email clients used to open emails. Use when you need to analyze which clients recipients open your outbound emails.\",\n input: PostmarkGetEmailClientUsageInput,\n output: PostmarkGetEmailClientUsageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACzF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACpG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACxG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;AAChI,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAC3F,MAAM,6CAA2DA,IAAAA,EAAE,OAAO,EACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,EAC7D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uJAAuJ;AACjL,MAAa,oCAAkDA,IAAAA,EAAE,OAAO,EACtE,MAAMA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+HAA+H;AAEzJ,MAAa,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-email-client-usage.cjs","names":["z","action"],"sources":["../../src/actions/get-email-client-usage.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkGetEmailClientUsageInput = z.object({\n tag: z.string().describe(\"Filter by tag name (if emails were sent with a tag)\").optional(),\n todate: z.string().describe(\"End date for the statistics (inclusive, format: YYYY-MM-DD)\").optional(),\n fromdate: z.string().describe(\"Start date for the statistics (inclusive, format: YYYY-MM-DD)\").optional(),\n messagestream: z.string().describe(\"Filter by message stream ID. If omitted, returns stats for all server streams.\").optional(),\n}).describe(\"Request model for retrieving email client usage statistics for opened emails.\");\nconst PostmarkGetEmailClientUsage_DayStatsSchema = z.object({\n Date: z.string().describe(\"Date for the stats (YYYY-MM-DD)\").nullable(),\n}).passthrough().describe(\"Statistics for a single day including date and email client usage counts.\\nThe model accepts any additional fields as client names with their counts.\");\nexport const PostmarkGetEmailClientUsageOutput = z.object({\n Days: z.array(PostmarkGetEmailClientUsage_DayStatsSchema).describe(\"List of client usage stats per day\").nullable().optional(),\n}).passthrough().describe(\"Response containing daily email client usage statistics.\\nMay also contain aggregate counts at the top level for each client.\");\n\nexport const postmarkGetEmailClientUsage = action(\"POSTMARK_GET_EMAIL_CLIENT_USAGE\", {\n slug: \"postmark-get-email-client-usage\",\n name: \"Get Email Client Usage\",\n description: \"Tool to retrieve statistics on email clients used to open emails. Use when you need to analyze which clients recipients open your outbound emails.\",\n input: PostmarkGetEmailClientUsageInput,\n output: PostmarkGetEmailClientUsageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACzF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACpG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACxG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;AAChI,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAC3F,MAAM,6CAA6CA,IAAAA,EAAE,OAAO,EAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,EACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uJAAuJ;AACjL,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,MAAMA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+HAA+H;AAEzJ,MAAa,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,23 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-email-client-usage.d.ts
4
- declare const PostmarkGetEmailClientUsageInput: z.ZodTypeAny;
5
- declare const PostmarkGetEmailClientUsageOutput: z.ZodTypeAny;
6
- declare const postmarkGetEmailClientUsage: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PostmarkGetEmailClientUsageInput: z.ZodObject<{
5
+ tag: z.ZodOptional<z.ZodString>;
6
+ todate: z.ZodOptional<z.ZodString>;
7
+ fromdate: z.ZodOptional<z.ZodString>;
8
+ messagestream: z.ZodOptional<z.ZodString>;
9
+ }, z.core.$strip>;
10
+ declare const PostmarkGetEmailClientUsageOutput: z.ZodObject<{
11
+ Days: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
12
+ Date: z.ZodNullable<z.ZodString>;
13
+ }, z.core.$loose>>>>;
14
+ }, z.core.$loose>;
15
+ declare const postmarkGetEmailClientUsage: import("@keystrokehq/action").WorkflowActionDefinition<{
16
+ tag?: string | undefined;
17
+ todate?: string | undefined;
18
+ fromdate?: string | undefined;
19
+ messagestream?: string | undefined;
20
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
21
  //#endregion
8
22
  export { postmarkGetEmailClientUsage };
9
23
  //# sourceMappingURL=get-email-client-usage.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-email-client-usage.d.cts","names":[],"sources":["../../src/actions/get-email-client-usage.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAK2C;AAAA,cAI/E,iCAAA,EAAmC,CAAA,CAAE,UAEwG;AAAA,cAE7I,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-email-client-usage.d.cts","names":[],"sources":["../../src/actions/get-email-client-usage.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;cAShC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;cAIjC,2BAAA,gCAA2B,wBAAA"}
@@ -1,9 +1,23 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-email-client-usage.d.ts
4
- declare const PostmarkGetEmailClientUsageInput: z.ZodTypeAny;
5
- declare const PostmarkGetEmailClientUsageOutput: z.ZodTypeAny;
6
- declare const postmarkGetEmailClientUsage: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PostmarkGetEmailClientUsageInput: z.ZodObject<{
5
+ tag: z.ZodOptional<z.ZodString>;
6
+ todate: z.ZodOptional<z.ZodString>;
7
+ fromdate: z.ZodOptional<z.ZodString>;
8
+ messagestream: z.ZodOptional<z.ZodString>;
9
+ }, z.core.$strip>;
10
+ declare const PostmarkGetEmailClientUsageOutput: z.ZodObject<{
11
+ Days: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
12
+ Date: z.ZodNullable<z.ZodString>;
13
+ }, z.core.$loose>>>>;
14
+ }, z.core.$loose>;
15
+ declare const postmarkGetEmailClientUsage: import("@keystrokehq/action").WorkflowActionDefinition<{
16
+ tag?: string | undefined;
17
+ todate?: string | undefined;
18
+ fromdate?: string | undefined;
19
+ messagestream?: string | undefined;
20
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
21
  //#endregion
8
22
  export { postmarkGetEmailClientUsage };
9
23
  //# sourceMappingURL=get-email-client-usage.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-email-client-usage.d.mts","names":[],"sources":["../../src/actions/get-email-client-usage.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAK2C;AAAA,cAI/E,iCAAA,EAAmC,CAAA,CAAE,UAEwG;AAAA,cAE7I,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-email-client-usage.d.mts","names":[],"sources":["../../src/actions/get-email-client-usage.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;cAShC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;cAIjC,2BAAA,gCAA2B,wBAAA"}
@@ -7,7 +7,7 @@ const PostmarkGetEmailClientUsageInput = z.object({
7
7
  fromdate: z.string().describe("Start date for the statistics (inclusive, format: YYYY-MM-DD)").optional(),
8
8
  messagestream: z.string().describe("Filter by message stream ID. If omitted, returns stats for all server streams.").optional()
9
9
  }).describe("Request model for retrieving email client usage statistics for opened emails.");
10
- const PostmarkGetEmailClientUsage_DayStatsSchema = z.object({ Date: z.string().describe("Date for the stats (YYYY-MM-DD)") }).passthrough().describe("Statistics for a single day including date and email client usage counts.\nThe model accepts any additional fields as client names with their counts.");
10
+ const PostmarkGetEmailClientUsage_DayStatsSchema = z.object({ Date: z.string().describe("Date for the stats (YYYY-MM-DD)").nullable() }).passthrough().describe("Statistics for a single day including date and email client usage counts.\nThe model accepts any additional fields as client names with their counts.");
11
11
  const postmarkGetEmailClientUsage = action("POSTMARK_GET_EMAIL_CLIENT_USAGE", {
12
12
  slug: "postmark-get-email-client-usage",
13
13
  name: "Get Email Client Usage",
@@ -1 +1 @@
1
- {"version":3,"file":"get-email-client-usage.mjs","names":[],"sources":["../../src/actions/get-email-client-usage.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkGetEmailClientUsageInput: z.ZodTypeAny = z.object({\n tag: z.string().describe(\"Filter by tag name (if emails were sent with a tag)\").optional(),\n todate: z.string().describe(\"End date for the statistics (inclusive, format: YYYY-MM-DD)\").optional(),\n fromdate: z.string().describe(\"Start date for the statistics (inclusive, format: YYYY-MM-DD)\").optional(),\n messagestream: z.string().describe(\"Filter by message stream ID. If omitted, returns stats for all server streams.\").optional(),\n}).describe(\"Request model for retrieving email client usage statistics for opened emails.\");\nconst PostmarkGetEmailClientUsage_DayStatsSchema: z.ZodTypeAny = z.object({\n Date: z.string().describe(\"Date for the stats (YYYY-MM-DD)\"),\n}).passthrough().describe(\"Statistics for a single day including date and email client usage counts.\\nThe model accepts any additional fields as client names with their counts.\");\nexport const PostmarkGetEmailClientUsageOutput: z.ZodTypeAny = z.object({\n Days: z.array(PostmarkGetEmailClientUsage_DayStatsSchema).describe(\"List of client usage stats per day\").nullable().optional(),\n}).passthrough().describe(\"Response containing daily email client usage statistics.\\nMay also contain aggregate counts at the top level for each client.\");\n\nexport const postmarkGetEmailClientUsage = action(\"POSTMARK_GET_EMAIL_CLIENT_USAGE\", {\n slug: \"postmark-get-email-client-usage\",\n name: \"Get Email Client Usage\",\n description: \"Tool to retrieve statistics on email clients used to open emails. Use when you need to analyze which clients recipients open your outbound emails.\",\n input: PostmarkGetEmailClientUsageInput,\n output: PostmarkGetEmailClientUsageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiD,EAAE,OAAO;CACrE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACzF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACpG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACxG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;AAChI,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAC3F,MAAM,6CAA2D,EAAE,OAAO,EACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,EAC7D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uJAAuJ;AAKjL,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT6D,EAAE,OAAO,EACtE,MAAM,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+HAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-email-client-usage.mjs","names":[],"sources":["../../src/actions/get-email-client-usage.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkGetEmailClientUsageInput = z.object({\n tag: z.string().describe(\"Filter by tag name (if emails were sent with a tag)\").optional(),\n todate: z.string().describe(\"End date for the statistics (inclusive, format: YYYY-MM-DD)\").optional(),\n fromdate: z.string().describe(\"Start date for the statistics (inclusive, format: YYYY-MM-DD)\").optional(),\n messagestream: z.string().describe(\"Filter by message stream ID. If omitted, returns stats for all server streams.\").optional(),\n}).describe(\"Request model for retrieving email client usage statistics for opened emails.\");\nconst PostmarkGetEmailClientUsage_DayStatsSchema = z.object({\n Date: z.string().describe(\"Date for the stats (YYYY-MM-DD)\").nullable(),\n}).passthrough().describe(\"Statistics for a single day including date and email client usage counts.\\nThe model accepts any additional fields as client names with their counts.\");\nexport const PostmarkGetEmailClientUsageOutput = z.object({\n Days: z.array(PostmarkGetEmailClientUsage_DayStatsSchema).describe(\"List of client usage stats per day\").nullable().optional(),\n}).passthrough().describe(\"Response containing daily email client usage statistics.\\nMay also contain aggregate counts at the top level for each client.\");\n\nexport const postmarkGetEmailClientUsage = action(\"POSTMARK_GET_EMAIL_CLIENT_USAGE\", {\n slug: \"postmark-get-email-client-usage\",\n name: \"Get Email Client Usage\",\n description: \"Tool to retrieve statistics on email clients used to open emails. Use when you need to analyze which clients recipients open your outbound emails.\",\n input: PostmarkGetEmailClientUsageInput,\n output: PostmarkGetEmailClientUsageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO;CACvD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACzF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACpG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACxG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;AAChI,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAC3F,MAAM,6CAA6C,EAAE,OAAO,EAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,EACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uJAAuJ;AAKjL,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT+C,EAAE,OAAO,EACxD,MAAM,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+HAOhB;AACV,CAAC"}
@@ -7,15 +7,15 @@ const PostmarkGetEmailOpenCountsInput = zod.z.object({
7
7
  MessageStream: zod.z.string().describe("Filter stats by a specific message stream.").optional()
8
8
  }).describe("Query parameters for retrieving email open counts with optional filters.");
9
9
  const PostmarkGetEmailOpenCounts_DayStatSchema = zod.z.object({
10
- Date: zod.z.string().describe("Date for the stats (YYYY-MM-DD)."),
11
- Opens: zod.z.number().int().describe("Number of opens on this date."),
12
- Unique: zod.z.number().int().describe("Number of unique opens on this date.")
13
- }).describe("A single day's open statistics record.");
10
+ Date: zod.z.string().describe("Date for the stats (YYYY-MM-DD).").nullable(),
11
+ Opens: zod.z.number().int().describe("Number of opens on this date.").nullable(),
12
+ Unique: zod.z.number().int().describe("Number of unique opens on this date.").nullable()
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",