@keystrokehq/postmark 0.1.4 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (381) 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 +1 -0
  4. package/dist/actions/archive-message-stream.cjs.map +1 -1
  5. package/dist/actions/archive-message-stream.d.cts +3 -3
  6. package/dist/actions/archive-message-stream.d.cts.map +1 -1
  7. package/dist/actions/archive-message-stream.d.mts +3 -3
  8. package/dist/actions/archive-message-stream.d.mts.map +1 -1
  9. package/dist/actions/archive-message-stream.mjs +1 -0
  10. package/dist/actions/archive-message-stream.mjs.map +1 -1
  11. package/dist/actions/check-spam-score.cjs +1 -0
  12. package/dist/actions/check-spam-score.cjs.map +1 -1
  13. package/dist/actions/check-spam-score.d.cts +3 -4
  14. package/dist/actions/check-spam-score.d.cts.map +1 -1
  15. package/dist/actions/check-spam-score.d.mts +3 -4
  16. package/dist/actions/check-spam-score.d.mts.map +1 -1
  17. package/dist/actions/check-spam-score.mjs +1 -0
  18. package/dist/actions/check-spam-score.mjs.map +1 -1
  19. package/dist/actions/create-inbound-rule.cjs +1 -0
  20. package/dist/actions/create-inbound-rule.cjs.map +1 -1
  21. package/dist/actions/create-inbound-rule.d.cts +3 -3
  22. package/dist/actions/create-inbound-rule.d.cts.map +1 -1
  23. package/dist/actions/create-inbound-rule.d.mts +3 -3
  24. package/dist/actions/create-inbound-rule.d.mts.map +1 -1
  25. package/dist/actions/create-inbound-rule.mjs +1 -0
  26. package/dist/actions/create-inbound-rule.mjs.map +1 -1
  27. package/dist/actions/create-message-stream.cjs +1 -0
  28. package/dist/actions/create-message-stream.cjs.map +1 -1
  29. package/dist/actions/create-message-stream.d.cts +3 -6
  30. package/dist/actions/create-message-stream.d.cts.map +1 -1
  31. package/dist/actions/create-message-stream.d.mts +3 -6
  32. package/dist/actions/create-message-stream.d.mts.map +1 -1
  33. package/dist/actions/create-message-stream.mjs +1 -0
  34. package/dist/actions/create-message-stream.mjs.map +1 -1
  35. package/dist/actions/create-suppressions.cjs +1 -0
  36. package/dist/actions/create-suppressions.cjs.map +1 -1
  37. package/dist/actions/create-suppressions.d.cts +3 -7
  38. package/dist/actions/create-suppressions.d.cts.map +1 -1
  39. package/dist/actions/create-suppressions.d.mts +3 -7
  40. package/dist/actions/create-suppressions.d.mts.map +1 -1
  41. package/dist/actions/create-suppressions.mjs +1 -0
  42. package/dist/actions/create-suppressions.mjs.map +1 -1
  43. package/dist/actions/create-template.cjs +1 -0
  44. package/dist/actions/create-template.cjs.map +1 -1
  45. package/dist/actions/create-template.d.cts +3 -10
  46. package/dist/actions/create-template.d.cts.map +1 -1
  47. package/dist/actions/create-template.d.mts +3 -10
  48. package/dist/actions/create-template.d.mts.map +1 -1
  49. package/dist/actions/create-template.mjs +1 -0
  50. package/dist/actions/create-template.mjs.map +1 -1
  51. package/dist/actions/create-webhook.cjs +1 -0
  52. package/dist/actions/create-webhook.cjs.map +1 -1
  53. package/dist/actions/create-webhook.d.cts +3 -36
  54. package/dist/actions/create-webhook.d.cts.map +1 -1
  55. package/dist/actions/create-webhook.d.mts +3 -36
  56. package/dist/actions/create-webhook.d.mts.map +1 -1
  57. package/dist/actions/create-webhook.mjs +1 -0
  58. package/dist/actions/create-webhook.mjs.map +1 -1
  59. package/dist/actions/delete-inbound-rule.cjs +1 -0
  60. package/dist/actions/delete-inbound-rule.cjs.map +1 -1
  61. package/dist/actions/delete-inbound-rule.d.cts +3 -3
  62. package/dist/actions/delete-inbound-rule.d.cts.map +1 -1
  63. package/dist/actions/delete-inbound-rule.d.mts +3 -3
  64. package/dist/actions/delete-inbound-rule.d.mts.map +1 -1
  65. package/dist/actions/delete-inbound-rule.mjs +1 -0
  66. package/dist/actions/delete-inbound-rule.mjs.map +1 -1
  67. package/dist/actions/delete-suppressions.cjs +1 -0
  68. package/dist/actions/delete-suppressions.cjs.map +1 -1
  69. package/dist/actions/delete-suppressions.d.cts +3 -7
  70. package/dist/actions/delete-suppressions.d.cts.map +1 -1
  71. package/dist/actions/delete-suppressions.d.mts +3 -7
  72. package/dist/actions/delete-suppressions.d.mts.map +1 -1
  73. package/dist/actions/delete-suppressions.mjs +1 -0
  74. package/dist/actions/delete-suppressions.mjs.map +1 -1
  75. package/dist/actions/delete-template.cjs +1 -0
  76. package/dist/actions/delete-template.cjs.map +1 -1
  77. package/dist/actions/delete-template.d.cts +3 -3
  78. package/dist/actions/delete-template.d.cts.map +1 -1
  79. package/dist/actions/delete-template.d.mts +3 -3
  80. package/dist/actions/delete-template.d.mts.map +1 -1
  81. package/dist/actions/delete-template.mjs +1 -0
  82. package/dist/actions/delete-template.mjs.map +1 -1
  83. package/dist/actions/delete-webhook.cjs +1 -0
  84. package/dist/actions/delete-webhook.cjs.map +1 -1
  85. package/dist/actions/delete-webhook.d.cts +3 -3
  86. package/dist/actions/delete-webhook.d.cts.map +1 -1
  87. package/dist/actions/delete-webhook.d.mts +3 -3
  88. package/dist/actions/delete-webhook.d.mts.map +1 -1
  89. package/dist/actions/delete-webhook.mjs +1 -0
  90. package/dist/actions/delete-webhook.mjs.map +1 -1
  91. package/dist/actions/edit-server.cjs +1 -0
  92. package/dist/actions/edit-server.cjs.map +1 -1
  93. package/dist/actions/edit-server.d.cts +3 -13
  94. package/dist/actions/edit-server.d.cts.map +1 -1
  95. package/dist/actions/edit-server.d.mts +3 -13
  96. package/dist/actions/edit-server.d.mts.map +1 -1
  97. package/dist/actions/edit-server.mjs +1 -0
  98. package/dist/actions/edit-server.mjs.map +1 -1
  99. package/dist/actions/edit-template.cjs +1 -0
  100. package/dist/actions/edit-template.cjs.map +1 -1
  101. package/dist/actions/edit-template.d.cts +3 -11
  102. package/dist/actions/edit-template.d.cts.map +1 -1
  103. package/dist/actions/edit-template.d.mts +3 -11
  104. package/dist/actions/edit-template.d.mts.map +1 -1
  105. package/dist/actions/edit-template.mjs +1 -0
  106. package/dist/actions/edit-template.mjs.map +1 -1
  107. package/dist/actions/edit-webhook.cjs +1 -0
  108. package/dist/actions/edit-webhook.cjs.map +1 -1
  109. package/dist/actions/edit-webhook.d.cts +3 -6
  110. package/dist/actions/edit-webhook.d.cts.map +1 -1
  111. package/dist/actions/edit-webhook.d.mts +3 -6
  112. package/dist/actions/edit-webhook.d.mts.map +1 -1
  113. package/dist/actions/edit-webhook.mjs +1 -0
  114. package/dist/actions/edit-webhook.mjs.map +1 -1
  115. package/dist/actions/get-bounce-counts.cjs +1 -0
  116. package/dist/actions/get-bounce-counts.cjs.map +1 -1
  117. package/dist/actions/get-bounce-counts.d.cts +3 -5
  118. package/dist/actions/get-bounce-counts.d.cts.map +1 -1
  119. package/dist/actions/get-bounce-counts.d.mts +3 -5
  120. package/dist/actions/get-bounce-counts.d.mts.map +1 -1
  121. package/dist/actions/get-bounce-counts.mjs +1 -0
  122. package/dist/actions/get-bounce-counts.mjs.map +1 -1
  123. package/dist/actions/get-bounces.cjs +1 -0
  124. package/dist/actions/get-bounces.cjs.map +1 -1
  125. package/dist/actions/get-bounces.d.cts +3 -12
  126. package/dist/actions/get-bounces.d.cts.map +1 -1
  127. package/dist/actions/get-bounces.d.mts +3 -12
  128. package/dist/actions/get-bounces.d.mts.map +1 -1
  129. package/dist/actions/get-bounces.mjs +1 -0
  130. package/dist/actions/get-bounces.mjs.map +1 -1
  131. package/dist/actions/get-browser-platform-usage.cjs +1 -0
  132. package/dist/actions/get-browser-platform-usage.cjs.map +1 -1
  133. package/dist/actions/get-browser-platform-usage.d.cts +3 -6
  134. package/dist/actions/get-browser-platform-usage.d.cts.map +1 -1
  135. package/dist/actions/get-browser-platform-usage.d.mts +3 -6
  136. package/dist/actions/get-browser-platform-usage.d.mts.map +1 -1
  137. package/dist/actions/get-browser-platform-usage.mjs +1 -0
  138. package/dist/actions/get-browser-platform-usage.mjs.map +1 -1
  139. package/dist/actions/get-browser-usage.cjs +1 -0
  140. package/dist/actions/get-browser-usage.cjs.map +1 -1
  141. package/dist/actions/get-browser-usage.d.cts +3 -5
  142. package/dist/actions/get-browser-usage.d.cts.map +1 -1
  143. package/dist/actions/get-browser-usage.d.mts +3 -5
  144. package/dist/actions/get-browser-usage.d.mts.map +1 -1
  145. package/dist/actions/get-browser-usage.mjs +1 -0
  146. package/dist/actions/get-browser-usage.mjs.map +1 -1
  147. package/dist/actions/get-click-counts.cjs +1 -0
  148. package/dist/actions/get-click-counts.cjs.map +1 -1
  149. package/dist/actions/get-click-counts.d.cts +3 -9
  150. package/dist/actions/get-click-counts.d.cts.map +1 -1
  151. package/dist/actions/get-click-counts.d.mts +3 -9
  152. package/dist/actions/get-click-counts.d.mts.map +1 -1
  153. package/dist/actions/get-click-counts.mjs +1 -0
  154. package/dist/actions/get-click-counts.mjs.map +1 -1
  155. package/dist/actions/get-clicks-by-browser-family.cjs +1 -0
  156. package/dist/actions/get-clicks-by-browser-family.cjs.map +1 -1
  157. package/dist/actions/get-clicks-by-browser-family.d.cts +3 -5
  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 +3 -5
  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 -0
  162. package/dist/actions/get-clicks-by-browser-family.mjs.map +1 -1
  163. package/dist/actions/get-clicks-by-location.cjs +1 -0
  164. package/dist/actions/get-clicks-by-location.cjs.map +1 -1
  165. package/dist/actions/get-clicks-by-location.d.cts +3 -5
  166. package/dist/actions/get-clicks-by-location.d.cts.map +1 -1
  167. package/dist/actions/get-clicks-by-location.d.mts +3 -5
  168. package/dist/actions/get-clicks-by-location.d.mts.map +1 -1
  169. package/dist/actions/get-clicks-by-location.mjs +1 -0
  170. package/dist/actions/get-clicks-by-location.mjs.map +1 -1
  171. package/dist/actions/get-delivery-stats.cjs +1 -0
  172. package/dist/actions/get-delivery-stats.cjs.map +1 -1
  173. package/dist/actions/get-delivery-stats.d.cts +3 -1
  174. package/dist/actions/get-delivery-stats.d.cts.map +1 -1
  175. package/dist/actions/get-delivery-stats.d.mts +3 -1
  176. package/dist/actions/get-delivery-stats.d.mts.map +1 -1
  177. package/dist/actions/get-delivery-stats.mjs +1 -0
  178. package/dist/actions/get-delivery-stats.mjs.map +1 -1
  179. package/dist/actions/get-email-client-usage.cjs +1 -0
  180. package/dist/actions/get-email-client-usage.cjs.map +1 -1
  181. package/dist/actions/get-email-client-usage.d.cts +3 -6
  182. package/dist/actions/get-email-client-usage.d.cts.map +1 -1
  183. package/dist/actions/get-email-client-usage.d.mts +3 -6
  184. package/dist/actions/get-email-client-usage.d.mts.map +1 -1
  185. package/dist/actions/get-email-client-usage.mjs +1 -0
  186. package/dist/actions/get-email-client-usage.mjs.map +1 -1
  187. package/dist/actions/get-email-open-counts.cjs +1 -0
  188. package/dist/actions/get-email-open-counts.cjs.map +1 -1
  189. package/dist/actions/get-email-open-counts.d.cts +3 -5
  190. package/dist/actions/get-email-open-counts.d.cts.map +1 -1
  191. package/dist/actions/get-email-open-counts.d.mts +3 -5
  192. package/dist/actions/get-email-open-counts.d.mts.map +1 -1
  193. package/dist/actions/get-email-open-counts.mjs +1 -0
  194. package/dist/actions/get-email-open-counts.mjs.map +1 -1
  195. package/dist/actions/get-message-stream.cjs +1 -0
  196. package/dist/actions/get-message-stream.cjs.map +1 -1
  197. package/dist/actions/get-message-stream.d.cts +3 -3
  198. package/dist/actions/get-message-stream.d.cts.map +1 -1
  199. package/dist/actions/get-message-stream.d.mts +3 -3
  200. package/dist/actions/get-message-stream.d.mts.map +1 -1
  201. package/dist/actions/get-message-stream.mjs +1 -0
  202. package/dist/actions/get-message-stream.mjs.map +1 -1
  203. package/dist/actions/get-opens-by-platform.cjs +1 -0
  204. package/dist/actions/get-opens-by-platform.cjs.map +1 -1
  205. package/dist/actions/get-opens-by-platform.d.cts +3 -5
  206. package/dist/actions/get-opens-by-platform.d.cts.map +1 -1
  207. package/dist/actions/get-opens-by-platform.d.mts +3 -5
  208. package/dist/actions/get-opens-by-platform.d.mts.map +1 -1
  209. package/dist/actions/get-opens-by-platform.mjs +1 -0
  210. package/dist/actions/get-opens-by-platform.mjs.map +1 -1
  211. package/dist/actions/get-outbound-overview.cjs +1 -0
  212. package/dist/actions/get-outbound-overview.cjs.map +1 -1
  213. package/dist/actions/get-outbound-overview.d.cts +3 -1
  214. package/dist/actions/get-outbound-overview.d.cts.map +1 -1
  215. package/dist/actions/get-outbound-overview.d.mts +3 -1
  216. package/dist/actions/get-outbound-overview.d.mts.map +1 -1
  217. package/dist/actions/get-outbound-overview.mjs +1 -0
  218. package/dist/actions/get-outbound-overview.mjs.map +1 -1
  219. package/dist/actions/get-sent-counts.cjs +1 -0
  220. package/dist/actions/get-sent-counts.cjs.map +1 -1
  221. package/dist/actions/get-sent-counts.d.cts +3 -5
  222. package/dist/actions/get-sent-counts.d.cts.map +1 -1
  223. package/dist/actions/get-sent-counts.d.mts +3 -5
  224. package/dist/actions/get-sent-counts.d.mts.map +1 -1
  225. package/dist/actions/get-sent-counts.mjs +1 -0
  226. package/dist/actions/get-sent-counts.mjs.map +1 -1
  227. package/dist/actions/get-server.cjs +1 -0
  228. package/dist/actions/get-server.cjs.map +1 -1
  229. package/dist/actions/get-server.d.cts +3 -1
  230. package/dist/actions/get-server.d.cts.map +1 -1
  231. package/dist/actions/get-server.d.mts +3 -1
  232. package/dist/actions/get-server.d.mts.map +1 -1
  233. package/dist/actions/get-server.mjs +1 -0
  234. package/dist/actions/get-server.mjs.map +1 -1
  235. package/dist/actions/get-spam-complaints.cjs +1 -0
  236. package/dist/actions/get-spam-complaints.cjs.map +1 -1
  237. package/dist/actions/get-spam-complaints.d.cts +3 -5
  238. package/dist/actions/get-spam-complaints.d.cts.map +1 -1
  239. package/dist/actions/get-spam-complaints.d.mts +3 -5
  240. package/dist/actions/get-spam-complaints.d.mts.map +1 -1
  241. package/dist/actions/get-spam-complaints.mjs +1 -0
  242. package/dist/actions/get-spam-complaints.mjs.map +1 -1
  243. package/dist/actions/get-template.cjs +1 -0
  244. package/dist/actions/get-template.cjs.map +1 -1
  245. package/dist/actions/get-template.d.cts +3 -3
  246. package/dist/actions/get-template.d.cts.map +1 -1
  247. package/dist/actions/get-template.d.mts +3 -3
  248. package/dist/actions/get-template.d.mts.map +1 -1
  249. package/dist/actions/get-template.mjs +1 -0
  250. package/dist/actions/get-template.mjs.map +1 -1
  251. package/dist/actions/get-tracked-email-counts.cjs +1 -0
  252. package/dist/actions/get-tracked-email-counts.cjs.map +1 -1
  253. package/dist/actions/get-tracked-email-counts.d.cts +3 -4
  254. package/dist/actions/get-tracked-email-counts.d.cts.map +1 -1
  255. package/dist/actions/get-tracked-email-counts.d.mts +3 -4
  256. package/dist/actions/get-tracked-email-counts.d.mts.map +1 -1
  257. package/dist/actions/get-tracked-email-counts.mjs +1 -0
  258. package/dist/actions/get-tracked-email-counts.mjs.map +1 -1
  259. package/dist/actions/get-webhook.cjs +1 -0
  260. package/dist/actions/get-webhook.cjs.map +1 -1
  261. package/dist/actions/get-webhook.d.cts +3 -3
  262. package/dist/actions/get-webhook.d.cts.map +1 -1
  263. package/dist/actions/get-webhook.d.mts +3 -3
  264. package/dist/actions/get-webhook.d.mts.map +1 -1
  265. package/dist/actions/get-webhook.mjs +1 -0
  266. package/dist/actions/get-webhook.mjs.map +1 -1
  267. package/dist/actions/list-inbound-rules.cjs +1 -0
  268. package/dist/actions/list-inbound-rules.cjs.map +1 -1
  269. package/dist/actions/list-inbound-rules.d.cts +3 -4
  270. package/dist/actions/list-inbound-rules.d.cts.map +1 -1
  271. package/dist/actions/list-inbound-rules.d.mts +3 -4
  272. package/dist/actions/list-inbound-rules.d.mts.map +1 -1
  273. package/dist/actions/list-inbound-rules.mjs +1 -0
  274. package/dist/actions/list-inbound-rules.mjs.map +1 -1
  275. package/dist/actions/list-message-streams.cjs +1 -0
  276. package/dist/actions/list-message-streams.cjs.map +1 -1
  277. package/dist/actions/list-message-streams.d.cts +3 -4
  278. package/dist/actions/list-message-streams.d.cts.map +1 -1
  279. package/dist/actions/list-message-streams.d.mts +3 -4
  280. package/dist/actions/list-message-streams.d.mts.map +1 -1
  281. package/dist/actions/list-message-streams.mjs +1 -0
  282. package/dist/actions/list-message-streams.mjs.map +1 -1
  283. package/dist/actions/list-outbound-message-clicks.cjs +1 -0
  284. package/dist/actions/list-outbound-message-clicks.cjs.map +1 -1
  285. package/dist/actions/list-outbound-message-clicks.d.cts +3 -16
  286. package/dist/actions/list-outbound-message-clicks.d.cts.map +1 -1
  287. package/dist/actions/list-outbound-message-clicks.d.mts +3 -16
  288. package/dist/actions/list-outbound-message-clicks.d.mts.map +1 -1
  289. package/dist/actions/list-outbound-message-clicks.mjs +1 -0
  290. package/dist/actions/list-outbound-message-clicks.mjs.map +1 -1
  291. package/dist/actions/list-outbound-message-opens.cjs +1 -0
  292. package/dist/actions/list-outbound-message-opens.cjs.map +1 -1
  293. package/dist/actions/list-outbound-message-opens.d.cts +3 -16
  294. package/dist/actions/list-outbound-message-opens.d.cts.map +1 -1
  295. package/dist/actions/list-outbound-message-opens.d.mts +3 -16
  296. package/dist/actions/list-outbound-message-opens.d.mts.map +1 -1
  297. package/dist/actions/list-outbound-message-opens.mjs +1 -0
  298. package/dist/actions/list-outbound-message-opens.mjs.map +1 -1
  299. package/dist/actions/list-suppressions.cjs +1 -0
  300. package/dist/actions/list-suppressions.cjs.map +1 -1
  301. package/dist/actions/list-suppressions.d.cts +3 -8
  302. package/dist/actions/list-suppressions.d.cts.map +1 -1
  303. package/dist/actions/list-suppressions.d.mts +3 -8
  304. package/dist/actions/list-suppressions.d.mts.map +1 -1
  305. package/dist/actions/list-suppressions.mjs +1 -0
  306. package/dist/actions/list-suppressions.mjs.map +1 -1
  307. package/dist/actions/list-templates.cjs +1 -0
  308. package/dist/actions/list-templates.cjs.map +1 -1
  309. package/dist/actions/list-templates.d.cts +3 -6
  310. package/dist/actions/list-templates.d.cts.map +1 -1
  311. package/dist/actions/list-templates.d.mts +3 -6
  312. package/dist/actions/list-templates.d.mts.map +1 -1
  313. package/dist/actions/list-templates.mjs +1 -0
  314. package/dist/actions/list-templates.mjs.map +1 -1
  315. package/dist/actions/list-webhooks.cjs +1 -0
  316. package/dist/actions/list-webhooks.cjs.map +1 -1
  317. package/dist/actions/list-webhooks.d.cts +3 -1
  318. package/dist/actions/list-webhooks.d.cts.map +1 -1
  319. package/dist/actions/list-webhooks.d.mts +3 -1
  320. package/dist/actions/list-webhooks.d.mts.map +1 -1
  321. package/dist/actions/list-webhooks.mjs +1 -0
  322. package/dist/actions/list-webhooks.mjs.map +1 -1
  323. package/dist/actions/search-inbound-messages.cjs +1 -0
  324. package/dist/actions/search-inbound-messages.cjs.map +1 -1
  325. package/dist/actions/search-inbound-messages.d.cts +3 -12
  326. package/dist/actions/search-inbound-messages.d.cts.map +1 -1
  327. package/dist/actions/search-inbound-messages.d.mts +3 -12
  328. package/dist/actions/search-inbound-messages.d.mts.map +1 -1
  329. package/dist/actions/search-inbound-messages.mjs +1 -0
  330. package/dist/actions/search-inbound-messages.mjs.map +1 -1
  331. package/dist/actions/search-outbound-messages.cjs +1 -0
  332. package/dist/actions/search-outbound-messages.cjs.map +1 -1
  333. package/dist/actions/search-outbound-messages.d.cts +3 -10
  334. package/dist/actions/search-outbound-messages.d.cts.map +1 -1
  335. package/dist/actions/search-outbound-messages.d.mts +3 -10
  336. package/dist/actions/search-outbound-messages.d.mts.map +1 -1
  337. package/dist/actions/search-outbound-messages.mjs +1 -0
  338. package/dist/actions/search-outbound-messages.mjs.map +1 -1
  339. package/dist/actions/send-batch-with-templates.cjs +1 -0
  340. package/dist/actions/send-batch-with-templates.cjs.map +1 -1
  341. package/dist/actions/send-batch-with-templates.d.cts +3 -30
  342. package/dist/actions/send-batch-with-templates.d.cts.map +1 -1
  343. package/dist/actions/send-batch-with-templates.d.mts +3 -30
  344. package/dist/actions/send-batch-with-templates.d.mts.map +1 -1
  345. package/dist/actions/send-batch-with-templates.mjs +1 -0
  346. package/dist/actions/send-batch-with-templates.mjs.map +1 -1
  347. package/dist/actions/unarchive-message-stream.cjs +1 -0
  348. package/dist/actions/unarchive-message-stream.cjs.map +1 -1
  349. package/dist/actions/unarchive-message-stream.d.cts +3 -3
  350. package/dist/actions/unarchive-message-stream.d.cts.map +1 -1
  351. package/dist/actions/unarchive-message-stream.d.mts +3 -3
  352. package/dist/actions/unarchive-message-stream.d.mts.map +1 -1
  353. package/dist/actions/unarchive-message-stream.mjs +1 -0
  354. package/dist/actions/unarchive-message-stream.mjs.map +1 -1
  355. package/dist/actions/update-message-stream.cjs +1 -0
  356. package/dist/actions/update-message-stream.cjs.map +1 -1
  357. package/dist/actions/update-message-stream.d.cts +3 -5
  358. package/dist/actions/update-message-stream.d.cts.map +1 -1
  359. package/dist/actions/update-message-stream.d.mts +3 -5
  360. package/dist/actions/update-message-stream.d.mts.map +1 -1
  361. package/dist/actions/update-message-stream.mjs +1 -0
  362. package/dist/actions/update-message-stream.mjs.map +1 -1
  363. package/dist/actions/validate-template.cjs +1 -0
  364. package/dist/actions/validate-template.cjs.map +1 -1
  365. package/dist/actions/validate-template.d.cts +3 -7
  366. package/dist/actions/validate-template.d.cts.map +1 -1
  367. package/dist/actions/validate-template.d.mts +3 -7
  368. package/dist/actions/validate-template.d.mts.map +1 -1
  369. package/dist/actions/validate-template.mjs +1 -0
  370. package/dist/actions/validate-template.mjs.map +1 -1
  371. package/dist/app.cjs +5 -2
  372. package/dist/app.cjs.map +1 -1
  373. package/dist/app.d.cts +7 -1
  374. package/dist/app.d.cts.map +1 -1
  375. package/dist/app.d.mts +7 -1
  376. package/dist/app.d.mts.map +1 -1
  377. package/dist/app.mjs +3 -2
  378. package/dist/app.mjs.map +1 -1
  379. package/dist/index.d.cts +1 -1
  380. package/dist/index.d.mts +1 -1
  381. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"get-clicks-by-location.mjs","names":[],"sources":["../../src/actions/get-clicks-by-location.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkGetClicksByLocationInput = z.object({\n tag: z.string().describe(\"Filter by tag.\").optional(),\n todate: z.string().describe(\"Filter stats up to the date specified in YYYY-MM-DD format.\").optional(),\n fromdate: z.string().describe(\"Filter stats starting from the date specified in YYYY-MM-DD format.\").optional(),\n}).describe(\"Request model for GetClicksByLocation action. All parameters are optional.\");\nconst PostmarkGetClicksByLocation_DayLocationSchema = z.object({\n Date: z.string().describe(\"Date in YYYY-MM-DD format.\").nullable(),\n HTML: z.number().int().describe(\"Total number of clicks that were from links in the HTML content.\").nullable().optional(),\n Text: z.number().int().describe(\"Total number of clicks that were from links in the text content.\").nullable().optional(),\n}).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"}
1
+ {"version":3,"file":"get-clicks-by-location.mjs","names":[],"sources":["../../src/actions/get-clicks-by-location.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { postmark } from \"../app\";\n\nexport const 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: AppAction<\n typeof PostmarkGetClicksByLocationInput,\n typeof PostmarkGetClicksByLocationOutput,\n typeof postmark.credential\n> = 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":";;;;AAMA,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,8BAIT,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAf+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,sHAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-delivery-stats.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-delivery-stats.cjs","names":["z","action"],"sources":["../../src/actions/get-delivery-stats.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkGetDeliveryStatsInput = z.object({}).describe(\"Request model for GetDeliveryStats action.\\nThis action does not require any parameters.\");\nconst PostmarkGetDeliveryStats_BounceTypeCountSchema = z.object({\n Name: z.string().describe(\"Human-readable name of the bounce type (e.g., 'All', 'Hard bounce', 'Message delayed')\").nullable(),\n Type: z.string().describe(\"Bounce type identifier (e.g., 'HardBounce', 'Transient', 'AutoResponder', 'SpamNotification', 'SoftBounce', 'SpamComplaint')\").nullable().optional(),\n Count: z.number().int().describe(\"Number of bounces of this type\").nullable(),\n}).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
+ {"version":3,"file":"get-delivery-stats.cjs","names":["z","action"],"sources":["../../src/actions/get-delivery-stats.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { postmark } from \"../app\";\n\nexport const 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: AppAction<\n typeof PostmarkGetDeliveryStatsInput,\n typeof PostmarkGetDeliveryStatsOutput,\n typeof postmark.credential\n> = 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":";;;;AAMA,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,2BAITC,eAAAA,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { postmark } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-delivery-stats.d.ts
@@ -10,7 +12,7 @@ declare const PostmarkGetDeliveryStatsOutput: z.ZodObject<{
10
12
  }, z.core.$loose>>;
11
13
  InactiveMails: z.ZodNullable<z.ZodNumber>;
12
14
  }, 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]>;
15
+ declare const postmarkGetDeliveryStats: AppAction<typeof PostmarkGetDeliveryStatsInput, typeof PostmarkGetDeliveryStatsOutput, typeof postmark.credential>;
14
16
  //#endregion
15
17
  export { postmarkGetDeliveryStats };
16
18
  //# 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,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
+ {"version":3,"file":"get-delivery-stats.d.cts","names":[],"sources":["../../src/actions/get-delivery-stats.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAM7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;cAK9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { postmark } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-delivery-stats.d.ts
@@ -10,7 +12,7 @@ declare const PostmarkGetDeliveryStatsOutput: z.ZodObject<{
10
12
  }, z.core.$loose>>;
11
13
  InactiveMails: z.ZodNullable<z.ZodNumber>;
12
14
  }, 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]>;
15
+ declare const postmarkGetDeliveryStats: AppAction<typeof PostmarkGetDeliveryStatsInput, typeof PostmarkGetDeliveryStatsOutput, typeof postmark.credential>;
14
16
  //#endregion
15
17
  export { postmarkGetDeliveryStats };
16
18
  //# 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,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
+ {"version":3,"file":"get-delivery-stats.d.mts","names":[],"sources":["../../src/actions/get-delivery-stats.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAM7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;cAK9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-delivery-stats.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-delivery-stats.mjs","names":[],"sources":["../../src/actions/get-delivery-stats.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkGetDeliveryStatsInput = z.object({}).describe(\"Request model for GetDeliveryStats action.\\nThis action does not require any parameters.\");\nconst PostmarkGetDeliveryStats_BounceTypeCountSchema = z.object({\n Name: z.string().describe(\"Human-readable name of the bounce type (e.g., 'All', 'Hard bounce', 'Message delayed')\").nullable(),\n Type: z.string().describe(\"Bounce type identifier (e.g., 'HardBounce', 'Transient', 'AutoResponder', 'SpamNotification', 'SoftBounce', 'SpamComplaint')\").nullable().optional(),\n Count: z.number().int().describe(\"Number of bounces of this type\").nullable(),\n}).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"}
1
+ {"version":3,"file":"get-delivery-stats.mjs","names":[],"sources":["../../src/actions/get-delivery-stats.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { postmark } from \"../app\";\n\nexport const 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: AppAction<\n typeof PostmarkGetDeliveryStatsInput,\n typeof PostmarkGetDeliveryStatsOutput,\n typeof postmark.credential\n> = 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":";;;;AAMA,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,2BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd4C,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,uFAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-email-client-usage.ts
@@ -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.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
+ {"version":3,"file":"get-email-client-usage.cjs","names":["z","action"],"sources":["../../src/actions/get-email-client-usage.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { postmark } from \"../app\";\n\nexport const 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: AppAction<\n typeof PostmarkGetEmailClientUsageInput,\n typeof PostmarkGetEmailClientUsageOutput,\n typeof postmark.credential\n> = 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":";;;;AAMA,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,8BAITC,eAAAA,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { postmark } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-email-client-usage.d.ts
@@ -12,12 +14,7 @@ declare const PostmarkGetEmailClientUsageOutput: z.ZodObject<{
12
14
  Date: z.ZodNullable<z.ZodString>;
13
15
  }, z.core.$loose>>>>;
14
16
  }, 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]>;
17
+ declare const postmarkGetEmailClientUsage: AppAction<typeof PostmarkGetEmailClientUsageInput, typeof PostmarkGetEmailClientUsageOutput, typeof postmark.credential>;
21
18
  //#endregion
22
19
  export { postmarkGetEmailClientUsage };
23
20
  //# 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,EAAgC,CAAA,CAAA,SAAA;;;;;;cAShC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;cAIjC,2BAAA,gCAA2B,wBAAA"}
1
+ {"version":3,"file":"get-email-client-usage.d.cts","names":[],"sources":["../../src/actions/get-email-client-usage.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;cAShC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;cAIjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { postmark } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-email-client-usage.d.ts
@@ -12,12 +14,7 @@ declare const PostmarkGetEmailClientUsageOutput: z.ZodObject<{
12
14
  Date: z.ZodNullable<z.ZodString>;
13
15
  }, z.core.$loose>>>>;
14
16
  }, 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]>;
17
+ declare const postmarkGetEmailClientUsage: AppAction<typeof PostmarkGetEmailClientUsageInput, typeof PostmarkGetEmailClientUsageOutput, typeof postmark.credential>;
21
18
  //#endregion
22
19
  export { postmarkGetEmailClientUsage };
23
20
  //# 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,EAAgC,CAAA,CAAA,SAAA;;;;;;cAShC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;cAIjC,2BAAA,gCAA2B,wBAAA"}
1
+ {"version":3,"file":"get-email-client-usage.d.mts","names":[],"sources":["../../src/actions/get-email-client-usage.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;cAShC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;cAIjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-email-client-usage.ts
@@ -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.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"}
1
+ {"version":3,"file":"get-email-client-usage.mjs","names":[],"sources":["../../src/actions/get-email-client-usage.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { postmark } from \"../app\";\n\nexport const 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: AppAction<\n typeof PostmarkGetEmailClientUsageInput,\n typeof PostmarkGetEmailClientUsageOutput,\n typeof postmark.credential\n> = 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":";;;;AAMA,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,8BAIT,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb+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,+HAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-email-open-counts.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-email-open-counts.cjs","names":["z","action"],"sources":["../../src/actions/get-email-open-counts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkGetEmailOpenCountsInput = z.object({\n ToDate: z.string().describe(\"Include activity before this ISO8601 date/time.\").optional(),\n FromDate: z.string().describe(\"Include activity from this ISO8601 date/time.\").optional(),\n MessageStream: z.string().describe(\"Filter stats by a specific message stream.\").optional(),\n}).describe(\"Query parameters for retrieving email open counts with optional filters.\");\nconst PostmarkGetEmailOpenCounts_DayStatSchema = z.object({\n Date: z.string().describe(\"Date for the stats (YYYY-MM-DD).\").nullable(),\n Opens: z.number().int().describe(\"Number of opens on this date.\").nullable(),\n Unique: z.number().int().describe(\"Number of unique opens on this date.\").nullable(),\n}).passthrough().describe(\"A single day's open statistics record.\");\nexport const PostmarkGetEmailOpenCountsOutput = z.object({\n Days: z.array(PostmarkGetEmailOpenCounts_DayStatSchema).describe(\"List of open statistics by day.\").nullable().optional(),\n Opens: z.number().int().default(0).describe(\"Total number of opens across all days in the period.\").nullable().optional(),\n Unique: z.number().int().default(0).describe(\"Total number of unique opens across all days in the period.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for GetEmailOpenCounts action.\");\n\nexport const postmarkGetEmailOpenCounts = action(\"POSTMARK_GET_EMAIL_OPEN_COUNTS\", {\n slug: \"postmark-get-email-open-counts\",\n name: \"Get Email Open Counts\",\n description: \"Tool to retrieve counts of opened emails. Use when you need per-day and total open stats for a specified period.\",\n input: PostmarkGetEmailOpenCountsInput,\n output: PostmarkGetEmailOpenCountsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACxF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACxF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC3E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,6BAA6BC,eAAAA,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-email-open-counts.cjs","names":["z","action"],"sources":["../../src/actions/get-email-open-counts.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { postmark } from \"../app\";\n\nexport const PostmarkGetEmailOpenCountsInput = z.object({\n ToDate: z.string().describe(\"Include activity before this ISO8601 date/time.\").optional(),\n FromDate: z.string().describe(\"Include activity from this ISO8601 date/time.\").optional(),\n MessageStream: z.string().describe(\"Filter stats by a specific message stream.\").optional(),\n}).describe(\"Query parameters for retrieving email open counts with optional filters.\");\nconst PostmarkGetEmailOpenCounts_DayStatSchema = z.object({\n Date: z.string().describe(\"Date for the stats (YYYY-MM-DD).\").nullable(),\n Opens: z.number().int().describe(\"Number of opens on this date.\").nullable(),\n Unique: z.number().int().describe(\"Number of unique opens on this date.\").nullable(),\n}).passthrough().describe(\"A single day's open statistics record.\");\nexport const PostmarkGetEmailOpenCountsOutput = z.object({\n Days: z.array(PostmarkGetEmailOpenCounts_DayStatSchema).describe(\"List of open statistics by day.\").nullable().optional(),\n Opens: z.number().int().default(0).describe(\"Total number of opens across all days in the period.\").nullable().optional(),\n Unique: z.number().int().default(0).describe(\"Total number of unique opens across all days in the period.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for GetEmailOpenCounts action.\");\n\nexport const postmarkGetEmailOpenCounts: AppAction<\n typeof PostmarkGetEmailOpenCountsInput,\n typeof PostmarkGetEmailOpenCountsOutput,\n typeof postmark.credential\n> = action(\"POSTMARK_GET_EMAIL_OPEN_COUNTS\", {\n slug: \"postmark-get-email-open-counts\",\n name: \"Get Email Open Counts\",\n description: \"Tool to retrieve counts of opened emails. Use when you need per-day and total open stats for a specified period.\",\n input: PostmarkGetEmailOpenCountsInput,\n output: PostmarkGetEmailOpenCountsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACxF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACxF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC3E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,6BAITC,eAAAA,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { postmark } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-email-open-counts.d.ts
@@ -15,11 +17,7 @@ declare const PostmarkGetEmailOpenCountsOutput: z.ZodObject<{
15
17
  Opens: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
16
18
  Unique: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
17
19
  }, z.core.$loose>;
18
- declare const postmarkGetEmailOpenCounts: import("@keystrokehq/action").WorkflowActionDefinition<{
19
- ToDate?: string | undefined;
20
- FromDate?: string | undefined;
21
- MessageStream?: string | undefined;
22
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
20
+ declare const postmarkGetEmailOpenCounts: AppAction<typeof PostmarkGetEmailOpenCountsInput, typeof PostmarkGetEmailOpenCountsOutput, typeof postmark.credential>;
23
21
  //#endregion
24
22
  export { postmarkGetEmailOpenCounts };
25
23
  //# sourceMappingURL=get-email-open-counts.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-email-open-counts.d.cts","names":[],"sources":["../../src/actions/get-email-open-counts.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;cAU/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;cAMhC,0BAAA,gCAA0B,wBAAA"}
1
+ {"version":3,"file":"get-email-open-counts.d.cts","names":[],"sources":["../../src/actions/get-email-open-counts.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;cAU/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;cAMhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { postmark } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-email-open-counts.d.ts
@@ -15,11 +17,7 @@ declare const PostmarkGetEmailOpenCountsOutput: z.ZodObject<{
15
17
  Opens: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
16
18
  Unique: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
17
19
  }, z.core.$loose>;
18
- declare const postmarkGetEmailOpenCounts: import("@keystrokehq/action").WorkflowActionDefinition<{
19
- ToDate?: string | undefined;
20
- FromDate?: string | undefined;
21
- MessageStream?: string | undefined;
22
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
20
+ declare const postmarkGetEmailOpenCounts: AppAction<typeof PostmarkGetEmailOpenCountsInput, typeof PostmarkGetEmailOpenCountsOutput, typeof postmark.credential>;
23
21
  //#endregion
24
22
  export { postmarkGetEmailOpenCounts };
25
23
  //# sourceMappingURL=get-email-open-counts.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-email-open-counts.d.mts","names":[],"sources":["../../src/actions/get-email-open-counts.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;cAU/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;cAMhC,0BAAA,gCAA0B,wBAAA"}
1
+ {"version":3,"file":"get-email-open-counts.d.mts","names":[],"sources":["../../src/actions/get-email-open-counts.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;cAU/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;cAMhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-email-open-counts.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-email-open-counts.mjs","names":[],"sources":["../../src/actions/get-email-open-counts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkGetEmailOpenCountsInput = z.object({\n ToDate: z.string().describe(\"Include activity before this ISO8601 date/time.\").optional(),\n FromDate: z.string().describe(\"Include activity from this ISO8601 date/time.\").optional(),\n MessageStream: z.string().describe(\"Filter stats by a specific message stream.\").optional(),\n}).describe(\"Query parameters for retrieving email open counts with optional filters.\");\nconst PostmarkGetEmailOpenCounts_DayStatSchema = z.object({\n Date: z.string().describe(\"Date for the stats (YYYY-MM-DD).\").nullable(),\n Opens: z.number().int().describe(\"Number of opens on this date.\").nullable(),\n Unique: z.number().int().describe(\"Number of unique opens on this date.\").nullable(),\n}).passthrough().describe(\"A single day's open statistics record.\");\nexport const PostmarkGetEmailOpenCountsOutput = z.object({\n Days: z.array(PostmarkGetEmailOpenCounts_DayStatSchema).describe(\"List of open statistics by day.\").nullable().optional(),\n Opens: z.number().int().default(0).describe(\"Total number of opens across all days in the period.\").nullable().optional(),\n Unique: z.number().int().default(0).describe(\"Total number of unique opens across all days in the period.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for GetEmailOpenCounts action.\");\n\nexport const postmarkGetEmailOpenCounts = action(\"POSTMARK_GET_EMAIL_OPEN_COUNTS\", {\n slug: \"postmark-get-email-open-counts\",\n name: \"Get Email Open Counts\",\n description: \"Tool to retrieve counts of opened emails. Use when you need per-day and total open stats for a specified period.\",\n input: PostmarkGetEmailOpenCountsInput,\n output: PostmarkGetEmailOpenCountsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO;CACtD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACxF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACxF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAM,2CAA2C,EAAE,OAAO;CACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC3E,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAOlE,MAAa,6BAA6B,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX8C,EAAE,OAAO;EACvD,MAAM,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-email-open-counts.mjs","names":[],"sources":["../../src/actions/get-email-open-counts.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { postmark } from \"../app\";\n\nexport const PostmarkGetEmailOpenCountsInput = z.object({\n ToDate: z.string().describe(\"Include activity before this ISO8601 date/time.\").optional(),\n FromDate: z.string().describe(\"Include activity from this ISO8601 date/time.\").optional(),\n MessageStream: z.string().describe(\"Filter stats by a specific message stream.\").optional(),\n}).describe(\"Query parameters for retrieving email open counts with optional filters.\");\nconst PostmarkGetEmailOpenCounts_DayStatSchema = z.object({\n Date: z.string().describe(\"Date for the stats (YYYY-MM-DD).\").nullable(),\n Opens: z.number().int().describe(\"Number of opens on this date.\").nullable(),\n Unique: z.number().int().describe(\"Number of unique opens on this date.\").nullable(),\n}).passthrough().describe(\"A single day's open statistics record.\");\nexport const PostmarkGetEmailOpenCountsOutput = z.object({\n Days: z.array(PostmarkGetEmailOpenCounts_DayStatSchema).describe(\"List of open statistics by day.\").nullable().optional(),\n Opens: z.number().int().default(0).describe(\"Total number of opens across all days in the period.\").nullable().optional(),\n Unique: z.number().int().default(0).describe(\"Total number of unique opens across all days in the period.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for GetEmailOpenCounts action.\");\n\nexport const postmarkGetEmailOpenCounts: AppAction<\n typeof PostmarkGetEmailOpenCountsInput,\n typeof PostmarkGetEmailOpenCountsOutput,\n typeof postmark.credential\n> = action(\"POSTMARK_GET_EMAIL_OPEN_COUNTS\", {\n slug: \"postmark-get-email-open-counts\",\n name: \"Get Email Open Counts\",\n description: \"Tool to retrieve counts of opened emails. Use when you need per-day and total open stats for a specified period.\",\n input: PostmarkGetEmailOpenCountsInput,\n output: PostmarkGetEmailOpenCountsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkC,EAAE,OAAO;CACtD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACxF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACxF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAM,2CAA2C,EAAE,OAAO;CACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC3E,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAOlE,MAAa,6BAIT,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAf8C,EAAE,OAAO;EACvD,MAAM,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-message-stream.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-message-stream.cjs","names":["z","action"],"sources":["../../src/actions/get-message-stream.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkGetMessageStreamInput = z.object({\n streamID: z.string().describe(\"The ID of the message stream to retrieve (e.g., 'outbound', 'inbound', or custom stream ID)\"),\n}).describe(\"Request model for retrieving a specific message stream by ID.\");\nconst PostmarkGetMessageStream_SubscriptionManagementConfigurationSchema = z.object({\n UnsubscribeHandlingType: z.string().describe(\"How unsubscribe requests are handled (e.g., 'Postmark', 'Custom')\").nullable(),\n}).passthrough().describe(\"Subscription management configuration for the message stream.\");\nexport const PostmarkGetMessageStreamOutput = z.object({\n ID: z.string().describe(\"The unique ID of the message stream\").nullable(),\n Name: z.string().describe(\"Name of the message stream\").nullable(),\n ServerID: z.number().int().describe(\"ID of the associated server\").nullable(),\n CreatedAt: z.string().describe(\"Timestamp when the stream was created\").nullable(),\n UpdatedAt: z.string().describe(\"Timestamp when the stream was last updated\").nullable().optional(),\n ArchivedAt: z.string().describe(\"Timestamp when the stream was archived\").nullable().optional(),\n Description: z.string().describe(\"Description of the message stream\").nullable().optional(),\n ExpectedPurgeDate: z.string().describe(\"Expected date when the archived stream will be purged\").nullable().optional(),\n MessageStreamType: z.string().describe(\"Type of the message stream (e.g., 'Transactional', 'Broadcasts', 'Inbound')\").nullable(),\n SubscriptionManagementConfiguration: PostmarkGetMessageStream_SubscriptionManagementConfigurationSchema.nullable(),\n}).passthrough().describe(\"Response model for details of a specific message stream.\");\n\nexport const postmarkGetMessageStream = action(\"POSTMARK_GET_MESSAGE_STREAM\", {\n slug: \"postmark-get-message-stream\",\n name: \"Get Message Stream\",\n description: \"Tool to retrieve details of a specific message stream by its ID. Use when you need to inspect stream configuration such as type, description, or subscription settings.\",\n input: PostmarkGetMessageStreamInput,\n output: PostmarkGetMessageStreamOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,EAC7H,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,qEAAqEA,IAAAA,EAAE,OAAO,EAClF,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,EAC7H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAA+D;AACzF,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACjE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAC5E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACjF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAC/H,qCAAqC,mEAAmE,SAAS;AACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AAEpF,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-message-stream.cjs","names":["z","action"],"sources":["../../src/actions/get-message-stream.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { postmark } from \"../app\";\n\nexport const PostmarkGetMessageStreamInput = z.object({\n streamID: z.string().describe(\"The ID of the message stream to retrieve (e.g., 'outbound', 'inbound', or custom stream ID)\"),\n}).describe(\"Request model for retrieving a specific message stream by ID.\");\nconst PostmarkGetMessageStream_SubscriptionManagementConfigurationSchema = z.object({\n UnsubscribeHandlingType: z.string().describe(\"How unsubscribe requests are handled (e.g., 'Postmark', 'Custom')\").nullable(),\n}).passthrough().describe(\"Subscription management configuration for the message stream.\");\nexport const PostmarkGetMessageStreamOutput = z.object({\n ID: z.string().describe(\"The unique ID of the message stream\").nullable(),\n Name: z.string().describe(\"Name of the message stream\").nullable(),\n ServerID: z.number().int().describe(\"ID of the associated server\").nullable(),\n CreatedAt: z.string().describe(\"Timestamp when the stream was created\").nullable(),\n UpdatedAt: z.string().describe(\"Timestamp when the stream was last updated\").nullable().optional(),\n ArchivedAt: z.string().describe(\"Timestamp when the stream was archived\").nullable().optional(),\n Description: z.string().describe(\"Description of the message stream\").nullable().optional(),\n ExpectedPurgeDate: z.string().describe(\"Expected date when the archived stream will be purged\").nullable().optional(),\n MessageStreamType: z.string().describe(\"Type of the message stream (e.g., 'Transactional', 'Broadcasts', 'Inbound')\").nullable(),\n SubscriptionManagementConfiguration: PostmarkGetMessageStream_SubscriptionManagementConfigurationSchema.nullable(),\n}).passthrough().describe(\"Response model for details of a specific message stream.\");\n\nexport const postmarkGetMessageStream: AppAction<\n typeof PostmarkGetMessageStreamInput,\n typeof PostmarkGetMessageStreamOutput,\n typeof postmark.credential\n> = action(\"POSTMARK_GET_MESSAGE_STREAM\", {\n slug: \"postmark-get-message-stream\",\n name: \"Get Message Stream\",\n description: \"Tool to retrieve details of a specific message stream by its ID. Use when you need to inspect stream configuration such as type, description, or subscription settings.\",\n input: PostmarkGetMessageStreamInput,\n output: PostmarkGetMessageStreamOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,EAC7H,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,qEAAqEA,IAAAA,EAAE,OAAO,EAClF,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,EAC7H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAA+D;AACzF,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACjE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAC5E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACjF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAC/H,qCAAqC,mEAAmE,SAAS;AACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AAEpF,MAAa,2BAITC,eAAAA,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { postmark } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-message-stream.d.ts
@@ -18,9 +20,7 @@ declare const PostmarkGetMessageStreamOutput: z.ZodObject<{
18
20
  UnsubscribeHandlingType: z.ZodNullable<z.ZodString>;
19
21
  }, z.core.$loose>>;
20
22
  }, z.core.$loose>;
21
- declare const postmarkGetMessageStream: import("@keystrokehq/action").WorkflowActionDefinition<{
22
- streamID: string;
23
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
23
+ declare const postmarkGetMessageStream: AppAction<typeof PostmarkGetMessageStreamInput, typeof PostmarkGetMessageStreamOutput, typeof postmark.credential>;
24
24
  //#endregion
25
25
  export { postmarkGetMessageStream };
26
26
  //# sourceMappingURL=get-message-stream.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-message-stream.d.cts","names":[],"sources":["../../src/actions/get-message-stream.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAM7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAa9B,wBAAA,gCAAwB,wBAAA"}
1
+ {"version":3,"file":"get-message-stream.d.cts","names":[],"sources":["../../src/actions/get-message-stream.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAM7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAa9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { postmark } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-message-stream.d.ts
@@ -18,9 +20,7 @@ declare const PostmarkGetMessageStreamOutput: z.ZodObject<{
18
20
  UnsubscribeHandlingType: z.ZodNullable<z.ZodString>;
19
21
  }, z.core.$loose>>;
20
22
  }, z.core.$loose>;
21
- declare const postmarkGetMessageStream: import("@keystrokehq/action").WorkflowActionDefinition<{
22
- streamID: string;
23
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
23
+ declare const postmarkGetMessageStream: AppAction<typeof PostmarkGetMessageStreamInput, typeof PostmarkGetMessageStreamOutput, typeof postmark.credential>;
24
24
  //#endregion
25
25
  export { postmarkGetMessageStream };
26
26
  //# sourceMappingURL=get-message-stream.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-message-stream.d.mts","names":[],"sources":["../../src/actions/get-message-stream.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAM7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAa9B,wBAAA,gCAAwB,wBAAA"}
1
+ {"version":3,"file":"get-message-stream.d.mts","names":[],"sources":["../../src/actions/get-message-stream.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAM7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAa9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-message-stream.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-message-stream.mjs","names":[],"sources":["../../src/actions/get-message-stream.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkGetMessageStreamInput = z.object({\n streamID: z.string().describe(\"The ID of the message stream to retrieve (e.g., 'outbound', 'inbound', or custom stream ID)\"),\n}).describe(\"Request model for retrieving a specific message stream by ID.\");\nconst PostmarkGetMessageStream_SubscriptionManagementConfigurationSchema = z.object({\n UnsubscribeHandlingType: z.string().describe(\"How unsubscribe requests are handled (e.g., 'Postmark', 'Custom')\").nullable(),\n}).passthrough().describe(\"Subscription management configuration for the message stream.\");\nexport const PostmarkGetMessageStreamOutput = z.object({\n ID: z.string().describe(\"The unique ID of the message stream\").nullable(),\n Name: z.string().describe(\"Name of the message stream\").nullable(),\n ServerID: z.number().int().describe(\"ID of the associated server\").nullable(),\n CreatedAt: z.string().describe(\"Timestamp when the stream was created\").nullable(),\n UpdatedAt: z.string().describe(\"Timestamp when the stream was last updated\").nullable().optional(),\n ArchivedAt: z.string().describe(\"Timestamp when the stream was archived\").nullable().optional(),\n Description: z.string().describe(\"Description of the message stream\").nullable().optional(),\n ExpectedPurgeDate: z.string().describe(\"Expected date when the archived stream will be purged\").nullable().optional(),\n MessageStreamType: z.string().describe(\"Type of the message stream (e.g., 'Transactional', 'Broadcasts', 'Inbound')\").nullable(),\n SubscriptionManagementConfiguration: PostmarkGetMessageStream_SubscriptionManagementConfigurationSchema.nullable(),\n}).passthrough().describe(\"Response model for details of a specific message stream.\");\n\nexport const postmarkGetMessageStream = action(\"POSTMARK_GET_MESSAGE_STREAM\", {\n slug: \"postmark-get-message-stream\",\n name: \"Get Message Stream\",\n description: \"Tool to retrieve details of a specific message stream by its ID. Use when you need to inspect stream configuration such as type, description, or subscription settings.\",\n input: PostmarkGetMessageStreamInput,\n output: PostmarkGetMessageStreamOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO,EACpD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,EAC7H,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,qEAAqE,EAAE,OAAO,EAClF,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,EAC7H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAA+D;AAczF,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAlB4C,EAAE,OAAO;EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACjE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EAC5E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EACjF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpH,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;EAC/H,qCAAqC,mEAAmE,SAAS;CACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-message-stream.mjs","names":[],"sources":["../../src/actions/get-message-stream.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { postmark } from \"../app\";\n\nexport const PostmarkGetMessageStreamInput = z.object({\n streamID: z.string().describe(\"The ID of the message stream to retrieve (e.g., 'outbound', 'inbound', or custom stream ID)\"),\n}).describe(\"Request model for retrieving a specific message stream by ID.\");\nconst PostmarkGetMessageStream_SubscriptionManagementConfigurationSchema = z.object({\n UnsubscribeHandlingType: z.string().describe(\"How unsubscribe requests are handled (e.g., 'Postmark', 'Custom')\").nullable(),\n}).passthrough().describe(\"Subscription management configuration for the message stream.\");\nexport const PostmarkGetMessageStreamOutput = z.object({\n ID: z.string().describe(\"The unique ID of the message stream\").nullable(),\n Name: z.string().describe(\"Name of the message stream\").nullable(),\n ServerID: z.number().int().describe(\"ID of the associated server\").nullable(),\n CreatedAt: z.string().describe(\"Timestamp when the stream was created\").nullable(),\n UpdatedAt: z.string().describe(\"Timestamp when the stream was last updated\").nullable().optional(),\n ArchivedAt: z.string().describe(\"Timestamp when the stream was archived\").nullable().optional(),\n Description: z.string().describe(\"Description of the message stream\").nullable().optional(),\n ExpectedPurgeDate: z.string().describe(\"Expected date when the archived stream will be purged\").nullable().optional(),\n MessageStreamType: z.string().describe(\"Type of the message stream (e.g., 'Transactional', 'Broadcasts', 'Inbound')\").nullable(),\n SubscriptionManagementConfiguration: PostmarkGetMessageStream_SubscriptionManagementConfigurationSchema.nullable(),\n}).passthrough().describe(\"Response model for details of a specific message stream.\");\n\nexport const postmarkGetMessageStream: AppAction<\n typeof PostmarkGetMessageStreamInput,\n typeof PostmarkGetMessageStreamOutput,\n typeof postmark.credential\n> = action(\"POSTMARK_GET_MESSAGE_STREAM\", {\n slug: \"postmark-get-message-stream\",\n name: \"Get Message Stream\",\n description: \"Tool to retrieve details of a specific message stream by its ID. Use when you need to inspect stream configuration such as type, description, or subscription settings.\",\n input: PostmarkGetMessageStreamInput,\n output: PostmarkGetMessageStreamOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgC,EAAE,OAAO,EACpD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,EAC7H,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,qEAAqE,EAAE,OAAO,EAClF,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,EAC7H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAA+D;AAczF,MAAa,2BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAtB4C,EAAE,OAAO;EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACjE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EAC5E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EACjF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpH,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;EAC/H,qCAAqC,mEAAmE,SAAS;CACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-opens-by-platform.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-opens-by-platform.cjs","names":["z","action"],"sources":["../../src/actions/get-opens-by-platform.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkGetOpensByPlatformInput = z.object({\n tag: z.string().describe(\"Filter by tag to narrow down statistics to specific emails\").optional(),\n todate: z.string().describe(\"Filter end date (inclusive) in YYYY-MM-DD format, e.g., '2014-02-01'\").optional(),\n fromdate: z.string().describe(\"Filter starting date (inclusive) in YYYY-MM-DD format, e.g., '2014-01-01'\").optional(),\n}).describe(\"Request model for fetching email open statistics by platform type.\");\nconst PostmarkGetOpensByPlatform_PlatformOpenDaySchema = z.object({\n Date: z.string().describe(\"Date in YYYY-MM-DD format\").nullable(),\n Mobile: z.number().int().describe(\"Number of opens from mobile platforms on this day\").nullable().optional(),\n Desktop: z.number().int().describe(\"Number of opens from desktop platforms on this day\").nullable().optional(),\n Unknown: z.number().int().describe(\"Number of opens from unknown platforms on this day\").nullable().optional(),\n WebMail: z.number().int().describe(\"Number of opens from webmail platforms on this day\").nullable().optional(),\n}).passthrough().describe(\"Statistics for a single day including platform-specific open counts.\");\nexport const PostmarkGetOpensByPlatformOutput = z.object({\n Days: z.array(PostmarkGetOpensByPlatform_PlatformOpenDaySchema).describe(\"Array of daily platform-specific open statistics\"),\n Mobile: z.number().int().describe(\"Total number of opens from mobile platforms\").nullable().optional(),\n Desktop: z.number().int().describe(\"Total number of opens from desktop platforms\").nullable().optional(),\n Unknown: z.number().int().describe(\"Total number of opens where platform could not be determined\").nullable().optional(),\n WebMail: z.number().int().describe(\"Total number of opens from webmail platforms\").nullable().optional(),\n}).passthrough().describe(\"Response containing platform-based email open statistics.\");\n\nexport const postmarkGetOpensByPlatform = action(\"POSTMARK_GET_OPENS_BY_PLATFORM\", {\n slug: \"postmark-get-opens-by-platform\",\n name: \"Get Opens by Platform\",\n description: \"Tool to retrieve email open statistics by platform type. Use when you need to understand which platforms recipients use to open emails.\",\n input: PostmarkGetOpensByPlatformInput,\n output: PostmarkGetOpensByPlatformOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CAChG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC7G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sEAAsE;AAChG,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,kDAAkD;CAC3H,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AAErF,MAAa,6BAA6BC,eAAAA,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-opens-by-platform.cjs","names":["z","action"],"sources":["../../src/actions/get-opens-by-platform.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { postmark } from \"../app\";\n\nexport const PostmarkGetOpensByPlatformInput = z.object({\n tag: z.string().describe(\"Filter by tag to narrow down statistics to specific emails\").optional(),\n todate: z.string().describe(\"Filter end date (inclusive) in YYYY-MM-DD format, e.g., '2014-02-01'\").optional(),\n fromdate: z.string().describe(\"Filter starting date (inclusive) in YYYY-MM-DD format, e.g., '2014-01-01'\").optional(),\n}).describe(\"Request model for fetching email open statistics by platform type.\");\nconst PostmarkGetOpensByPlatform_PlatformOpenDaySchema = z.object({\n Date: z.string().describe(\"Date in YYYY-MM-DD format\").nullable(),\n Mobile: z.number().int().describe(\"Number of opens from mobile platforms on this day\").nullable().optional(),\n Desktop: z.number().int().describe(\"Number of opens from desktop platforms on this day\").nullable().optional(),\n Unknown: z.number().int().describe(\"Number of opens from unknown platforms on this day\").nullable().optional(),\n WebMail: z.number().int().describe(\"Number of opens from webmail platforms on this day\").nullable().optional(),\n}).passthrough().describe(\"Statistics for a single day including platform-specific open counts.\");\nexport const PostmarkGetOpensByPlatformOutput = z.object({\n Days: z.array(PostmarkGetOpensByPlatform_PlatformOpenDaySchema).describe(\"Array of daily platform-specific open statistics\"),\n Mobile: z.number().int().describe(\"Total number of opens from mobile platforms\").nullable().optional(),\n Desktop: z.number().int().describe(\"Total number of opens from desktop platforms\").nullable().optional(),\n Unknown: z.number().int().describe(\"Total number of opens where platform could not be determined\").nullable().optional(),\n WebMail: z.number().int().describe(\"Total number of opens from webmail platforms\").nullable().optional(),\n}).passthrough().describe(\"Response containing platform-based email open statistics.\");\n\nexport const postmarkGetOpensByPlatform: AppAction<\n typeof PostmarkGetOpensByPlatformInput,\n typeof PostmarkGetOpensByPlatformOutput,\n typeof postmark.credential\n> = action(\"POSTMARK_GET_OPENS_BY_PLATFORM\", {\n slug: \"postmark-get-opens-by-platform\",\n name: \"Get Opens by Platform\",\n description: \"Tool to retrieve email open statistics by platform type. Use when you need to understand which platforms recipients use to open emails.\",\n input: PostmarkGetOpensByPlatformInput,\n output: PostmarkGetOpensByPlatformOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CAChG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC7G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sEAAsE;AAChG,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,kDAAkD;CAC3H,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AAErF,MAAa,6BAITC,eAAAA,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { postmark } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-opens-by-platform.d.ts
@@ -19,11 +21,7 @@ declare const PostmarkGetOpensByPlatformOutput: z.ZodObject<{
19
21
  Unknown: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
20
22
  WebMail: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
21
23
  }, z.core.$loose>;
22
- declare const postmarkGetOpensByPlatform: import("@keystrokehq/action").WorkflowActionDefinition<{
23
- tag?: string | undefined;
24
- todate?: string | undefined;
25
- fromdate?: string | undefined;
26
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
24
+ declare const postmarkGetOpensByPlatform: AppAction<typeof PostmarkGetOpensByPlatformInput, typeof PostmarkGetOpensByPlatformOutput, typeof postmark.credential>;
27
25
  //#endregion
28
26
  export { postmarkGetOpensByPlatform };
29
27
  //# sourceMappingURL=get-opens-by-platform.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-opens-by-platform.d.cts","names":[],"sources":["../../src/actions/get-opens-by-platform.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;cAY/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAQhC,0BAAA,gCAA0B,wBAAA"}
1
+ {"version":3,"file":"get-opens-by-platform.d.cts","names":[],"sources":["../../src/actions/get-opens-by-platform.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;cAY/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAQhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { postmark } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-opens-by-platform.d.ts
@@ -19,11 +21,7 @@ declare const PostmarkGetOpensByPlatformOutput: z.ZodObject<{
19
21
  Unknown: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
20
22
  WebMail: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
21
23
  }, z.core.$loose>;
22
- declare const postmarkGetOpensByPlatform: import("@keystrokehq/action").WorkflowActionDefinition<{
23
- tag?: string | undefined;
24
- todate?: string | undefined;
25
- fromdate?: string | undefined;
26
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
24
+ declare const postmarkGetOpensByPlatform: AppAction<typeof PostmarkGetOpensByPlatformInput, typeof PostmarkGetOpensByPlatformOutput, typeof postmark.credential>;
27
25
  //#endregion
28
26
  export { postmarkGetOpensByPlatform };
29
27
  //# sourceMappingURL=get-opens-by-platform.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-opens-by-platform.d.mts","names":[],"sources":["../../src/actions/get-opens-by-platform.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;cAY/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAQhC,0BAAA,gCAA0B,wBAAA"}
1
+ {"version":3,"file":"get-opens-by-platform.d.mts","names":[],"sources":["../../src/actions/get-opens-by-platform.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;cAY/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAQhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-opens-by-platform.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-opens-by-platform.mjs","names":[],"sources":["../../src/actions/get-opens-by-platform.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkGetOpensByPlatformInput = z.object({\n tag: z.string().describe(\"Filter by tag to narrow down statistics to specific emails\").optional(),\n todate: z.string().describe(\"Filter end date (inclusive) in YYYY-MM-DD format, e.g., '2014-02-01'\").optional(),\n fromdate: z.string().describe(\"Filter starting date (inclusive) in YYYY-MM-DD format, e.g., '2014-01-01'\").optional(),\n}).describe(\"Request model for fetching email open statistics by platform type.\");\nconst PostmarkGetOpensByPlatform_PlatformOpenDaySchema = z.object({\n Date: z.string().describe(\"Date in YYYY-MM-DD format\").nullable(),\n Mobile: z.number().int().describe(\"Number of opens from mobile platforms on this day\").nullable().optional(),\n Desktop: z.number().int().describe(\"Number of opens from desktop platforms on this day\").nullable().optional(),\n Unknown: z.number().int().describe(\"Number of opens from unknown platforms on this day\").nullable().optional(),\n WebMail: z.number().int().describe(\"Number of opens from webmail platforms on this day\").nullable().optional(),\n}).passthrough().describe(\"Statistics for a single day including platform-specific open counts.\");\nexport const PostmarkGetOpensByPlatformOutput = z.object({\n Days: z.array(PostmarkGetOpensByPlatform_PlatformOpenDaySchema).describe(\"Array of daily platform-specific open statistics\"),\n Mobile: z.number().int().describe(\"Total number of opens from mobile platforms\").nullable().optional(),\n Desktop: z.number().int().describe(\"Total number of opens from desktop platforms\").nullable().optional(),\n Unknown: z.number().int().describe(\"Total number of opens where platform could not be determined\").nullable().optional(),\n WebMail: z.number().int().describe(\"Total number of opens from webmail platforms\").nullable().optional(),\n}).passthrough().describe(\"Response containing platform-based email open statistics.\");\n\nexport const postmarkGetOpensByPlatform = action(\"POSTMARK_GET_OPENS_BY_PLATFORM\", {\n slug: \"postmark-get-opens-by-platform\",\n name: \"Get Opens by Platform\",\n description: \"Tool to retrieve email open statistics by platform type. Use when you need to understand which platforms recipients use to open emails.\",\n input: PostmarkGetOpensByPlatformInput,\n output: PostmarkGetOpensByPlatformOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO;CACtD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CAChG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC7G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,mDAAmD,EAAE,OAAO;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sEAAsE;AAShG,MAAa,6BAA6B,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb8C,EAAE,OAAO;EACvD,MAAM,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,kDAAkD;EAC3H,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvH,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-opens-by-platform.mjs","names":[],"sources":["../../src/actions/get-opens-by-platform.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { postmark } from \"../app\";\n\nexport const PostmarkGetOpensByPlatformInput = z.object({\n tag: z.string().describe(\"Filter by tag to narrow down statistics to specific emails\").optional(),\n todate: z.string().describe(\"Filter end date (inclusive) in YYYY-MM-DD format, e.g., '2014-02-01'\").optional(),\n fromdate: z.string().describe(\"Filter starting date (inclusive) in YYYY-MM-DD format, e.g., '2014-01-01'\").optional(),\n}).describe(\"Request model for fetching email open statistics by platform type.\");\nconst PostmarkGetOpensByPlatform_PlatformOpenDaySchema = z.object({\n Date: z.string().describe(\"Date in YYYY-MM-DD format\").nullable(),\n Mobile: z.number().int().describe(\"Number of opens from mobile platforms on this day\").nullable().optional(),\n Desktop: z.number().int().describe(\"Number of opens from desktop platforms on this day\").nullable().optional(),\n Unknown: z.number().int().describe(\"Number of opens from unknown platforms on this day\").nullable().optional(),\n WebMail: z.number().int().describe(\"Number of opens from webmail platforms on this day\").nullable().optional(),\n}).passthrough().describe(\"Statistics for a single day including platform-specific open counts.\");\nexport const PostmarkGetOpensByPlatformOutput = z.object({\n Days: z.array(PostmarkGetOpensByPlatform_PlatformOpenDaySchema).describe(\"Array of daily platform-specific open statistics\"),\n Mobile: z.number().int().describe(\"Total number of opens from mobile platforms\").nullable().optional(),\n Desktop: z.number().int().describe(\"Total number of opens from desktop platforms\").nullable().optional(),\n Unknown: z.number().int().describe(\"Total number of opens where platform could not be determined\").nullable().optional(),\n WebMail: z.number().int().describe(\"Total number of opens from webmail platforms\").nullable().optional(),\n}).passthrough().describe(\"Response containing platform-based email open statistics.\");\n\nexport const postmarkGetOpensByPlatform: AppAction<\n typeof PostmarkGetOpensByPlatformInput,\n typeof PostmarkGetOpensByPlatformOutput,\n typeof postmark.credential\n> = action(\"POSTMARK_GET_OPENS_BY_PLATFORM\", {\n slug: \"postmark-get-opens-by-platform\",\n name: \"Get Opens by Platform\",\n description: \"Tool to retrieve email open statistics by platform type. Use when you need to understand which platforms recipients use to open emails.\",\n input: PostmarkGetOpensByPlatformInput,\n output: PostmarkGetOpensByPlatformOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkC,EAAE,OAAO;CACtD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CAChG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC7G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,mDAAmD,EAAE,OAAO;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sEAAsE;AAShG,MAAa,6BAIT,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAjB8C,EAAE,OAAO;EACvD,MAAM,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,kDAAkD;EAC3H,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvH,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-outbound-overview.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-outbound-overview.cjs","names":["z","action"],"sources":["../../src/actions/get-outbound-overview.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostmarkGetOutboundOverviewInput = z.object({}).describe(\"Empty request model for retrieving outbound overview statistics.\");\nexport const PostmarkGetOutboundOverviewOutput = z.object({\n Sent: z.number().int().describe(\"Number of messages sent\").nullable(),\n Opens: z.number().int().describe(\"Number of message opens\").nullable(),\n Bounced: z.number().int().describe(\"Number of messages bounced\").nullable(),\n Tracked: z.number().int().describe(\"Number of tracked emails\").nullable(),\n BounceRate: z.number().describe(\"Bounce rate as percentage\").nullable(),\n TotalClicks: z.number().int().describe(\"Total number of link clicks\").nullable(),\n UniqueOpens: z.number().int().describe(\"Number of unique message opens\").nullable(),\n SMTPApiErrors: z.number().int().describe(\"Number of SMTP API errors encountered\").nullable(),\n SpamComplaints: z.number().int().describe(\"Number of spam complaints\").nullable(),\n WithLinkTracking: z.number().int().describe(\"Number of emails with link tracking\").nullable(),\n WithOpenTracking: z.number().int().describe(\"Number of emails with open tracking\").nullable(),\n SpamComplaintsRate: z.number().describe(\"Spam complaint rate as percentage\").nullable(),\n UniqueLinksClicked: z.number().int().describe(\"Number of unique links clicked\").nullable(),\n WithClientRecorded: z.number().int().describe(\"Number of emails with client recorded\").nullable(),\n WithPlatformRecorded: z.number().int().describe(\"Number of emails with platform recorded\").nullable(),\n WithReadTimeRecorded: z.number().int().describe(\"Number of emails with read time recorded\").nullable(),\n TotalTrackedLinksSent: z.number().int().describe(\"Total number of tracked links sent\").nullable(),\n}).passthrough().describe(\"Response model for outbound overview statistics, including counts, rates, and tracking data.\");\n\nexport const postmarkGetOutboundOverview = action(\"POSTMARK_GET_OUTBOUND_OVERVIEW\", {\n slug: \"postmark-get-outbound-overview\",\n name: \"Get Outbound Overview\",\n description: \"Tool to retrieve outbound email statistics overview. Use when you need aggregated outbound metrics after sending emails.\",\n input: PostmarkGetOutboundOverviewInput,\n output: PostmarkGetOutboundOverviewOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kEAAkE;AACxI,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACpE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACrE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC1E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACxE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACtE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAC/E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAClF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC3F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC5F,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC5F,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACtF,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACzF,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAChG,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACpG,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACrG,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8FAA8F;AAExH,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-outbound-overview.cjs","names":["z","action"],"sources":["../../src/actions/get-outbound-overview.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { postmark } from \"../app\";\n\nexport const PostmarkGetOutboundOverviewInput = z.object({}).describe(\"Empty request model for retrieving outbound overview statistics.\");\nexport const PostmarkGetOutboundOverviewOutput = z.object({\n Sent: z.number().int().describe(\"Number of messages sent\").nullable(),\n Opens: z.number().int().describe(\"Number of message opens\").nullable(),\n Bounced: z.number().int().describe(\"Number of messages bounced\").nullable(),\n Tracked: z.number().int().describe(\"Number of tracked emails\").nullable(),\n BounceRate: z.number().describe(\"Bounce rate as percentage\").nullable(),\n TotalClicks: z.number().int().describe(\"Total number of link clicks\").nullable(),\n UniqueOpens: z.number().int().describe(\"Number of unique message opens\").nullable(),\n SMTPApiErrors: z.number().int().describe(\"Number of SMTP API errors encountered\").nullable(),\n SpamComplaints: z.number().int().describe(\"Number of spam complaints\").nullable(),\n WithLinkTracking: z.number().int().describe(\"Number of emails with link tracking\").nullable(),\n WithOpenTracking: z.number().int().describe(\"Number of emails with open tracking\").nullable(),\n SpamComplaintsRate: z.number().describe(\"Spam complaint rate as percentage\").nullable(),\n UniqueLinksClicked: z.number().int().describe(\"Number of unique links clicked\").nullable(),\n WithClientRecorded: z.number().int().describe(\"Number of emails with client recorded\").nullable(),\n WithPlatformRecorded: z.number().int().describe(\"Number of emails with platform recorded\").nullable(),\n WithReadTimeRecorded: z.number().int().describe(\"Number of emails with read time recorded\").nullable(),\n TotalTrackedLinksSent: z.number().int().describe(\"Total number of tracked links sent\").nullable(),\n}).passthrough().describe(\"Response model for outbound overview statistics, including counts, rates, and tracking data.\");\n\nexport const postmarkGetOutboundOverview: AppAction<\n typeof PostmarkGetOutboundOverviewInput,\n typeof PostmarkGetOutboundOverviewOutput,\n typeof postmark.credential\n> = action(\"POSTMARK_GET_OUTBOUND_OVERVIEW\", {\n slug: \"postmark-get-outbound-overview\",\n name: \"Get Outbound Overview\",\n description: \"Tool to retrieve outbound email statistics overview. Use when you need aggregated outbound metrics after sending emails.\",\n input: PostmarkGetOutboundOverviewInput,\n output: PostmarkGetOutboundOverviewOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kEAAkE;AACxI,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACpE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACrE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC1E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACxE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACtE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAC/E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAClF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC3F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC5F,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC5F,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACtF,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACzF,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAChG,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACpG,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACrG,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8FAA8F;AAExH,MAAa,8BAITC,eAAAA,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { postmark } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-outbound-overview.d.ts
@@ -21,7 +23,7 @@ declare const PostmarkGetOutboundOverviewOutput: z.ZodObject<{
21
23
  WithReadTimeRecorded: z.ZodNullable<z.ZodNumber>;
22
24
  TotalTrackedLinksSent: z.ZodNullable<z.ZodNumber>;
23
25
  }, z.core.$loose>;
24
- declare const postmarkGetOutboundOverview: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
26
+ declare const postmarkGetOutboundOverview: AppAction<typeof PostmarkGetOutboundOverviewInput, typeof PostmarkGetOutboundOverviewOutput, typeof postmark.credential>;
25
27
  //#endregion
26
28
  export { postmarkGetOutboundOverview };
27
29
  //# sourceMappingURL=get-outbound-overview.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-outbound-overview.d.cts","names":[],"sources":["../../src/actions/get-outbound-overview.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAChC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAoBjC,2BAAA,gCAA2B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-outbound-overview.d.cts","names":[],"sources":["../../src/actions/get-outbound-overview.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAChC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAoBjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,QAAA,CAAS,UAAA"}