@keystrokehq/resend 0.1.0 → 0.1.2

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 (389) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/add-contact-to-segment.cjs.map +1 -1
  4. package/dist/actions/add-contact-to-segment.d.cts +11 -3
  5. package/dist/actions/add-contact-to-segment.d.cts.map +1 -1
  6. package/dist/actions/add-contact-to-segment.d.mts +11 -3
  7. package/dist/actions/add-contact-to-segment.d.mts.map +1 -1
  8. package/dist/actions/add-contact-to-segment.mjs.map +1 -1
  9. package/dist/actions/cancel-email.cjs.map +1 -1
  10. package/dist/actions/cancel-email.d.cts +10 -3
  11. package/dist/actions/cancel-email.d.cts.map +1 -1
  12. package/dist/actions/cancel-email.d.mts +10 -3
  13. package/dist/actions/cancel-email.d.mts.map +1 -1
  14. package/dist/actions/cancel-email.mjs.map +1 -1
  15. package/dist/actions/create-api-key.cjs.map +1 -1
  16. package/dist/actions/create-api-key.d.cts +17 -3
  17. package/dist/actions/create-api-key.d.cts.map +1 -1
  18. package/dist/actions/create-api-key.d.mts +17 -3
  19. package/dist/actions/create-api-key.d.mts.map +1 -1
  20. package/dist/actions/create-api-key.mjs.map +1 -1
  21. package/dist/actions/create-audience.cjs.map +1 -1
  22. package/dist/actions/create-audience.d.cts +11 -3
  23. package/dist/actions/create-audience.d.cts.map +1 -1
  24. package/dist/actions/create-audience.d.mts +11 -3
  25. package/dist/actions/create-audience.d.mts.map +1 -1
  26. package/dist/actions/create-audience.mjs.map +1 -1
  27. package/dist/actions/create-contact-property.cjs.map +1 -1
  28. package/dist/actions/create-contact-property.d.cts +17 -3
  29. package/dist/actions/create-contact-property.d.cts.map +1 -1
  30. package/dist/actions/create-contact-property.d.mts +17 -3
  31. package/dist/actions/create-contact-property.d.mts.map +1 -1
  32. package/dist/actions/create-contact-property.mjs.map +1 -1
  33. package/dist/actions/create-contact-v2.cjs.map +1 -1
  34. package/dist/actions/create-contact-v2.d.cts +41 -3
  35. package/dist/actions/create-contact-v2.d.cts.map +1 -1
  36. package/dist/actions/create-contact-v2.d.mts +41 -3
  37. package/dist/actions/create-contact-v2.d.mts.map +1 -1
  38. package/dist/actions/create-contact-v2.mjs.map +1 -1
  39. package/dist/actions/create-contact.cjs.map +1 -1
  40. package/dist/actions/create-contact.d.cts +18 -3
  41. package/dist/actions/create-contact.d.cts.map +1 -1
  42. package/dist/actions/create-contact.d.mts +18 -3
  43. package/dist/actions/create-contact.d.mts.map +1 -1
  44. package/dist/actions/create-contact.mjs.map +1 -1
  45. package/dist/actions/create-domain.cjs.map +1 -1
  46. package/dist/actions/create-domain.d.cts +33 -3
  47. package/dist/actions/create-domain.d.cts.map +1 -1
  48. package/dist/actions/create-domain.d.mts +33 -3
  49. package/dist/actions/create-domain.d.mts.map +1 -1
  50. package/dist/actions/create-domain.mjs.map +1 -1
  51. package/dist/actions/create-template.cjs.map +1 -1
  52. package/dist/actions/create-template.d.cts +35 -3
  53. package/dist/actions/create-template.d.cts.map +1 -1
  54. package/dist/actions/create-template.d.mts +35 -3
  55. package/dist/actions/create-template.d.mts.map +1 -1
  56. package/dist/actions/create-template.mjs.map +1 -1
  57. package/dist/actions/create-topic.cjs.map +1 -1
  58. package/dist/actions/create-topic.d.cts +22 -3
  59. package/dist/actions/create-topic.d.cts.map +1 -1
  60. package/dist/actions/create-topic.d.mts +22 -3
  61. package/dist/actions/create-topic.d.mts.map +1 -1
  62. package/dist/actions/create-topic.mjs.map +1 -1
  63. package/dist/actions/create-webhook.cjs.map +1 -1
  64. package/dist/actions/create-webhook.d.cts +13 -3
  65. package/dist/actions/create-webhook.d.cts.map +1 -1
  66. package/dist/actions/create-webhook.d.mts +13 -3
  67. package/dist/actions/create-webhook.d.mts.map +1 -1
  68. package/dist/actions/create-webhook.mjs.map +1 -1
  69. package/dist/actions/delete-api-key.cjs.map +1 -1
  70. package/dist/actions/delete-api-key.d.cts +11 -3
  71. package/dist/actions/delete-api-key.d.cts.map +1 -1
  72. package/dist/actions/delete-api-key.d.mts +11 -3
  73. package/dist/actions/delete-api-key.d.mts.map +1 -1
  74. package/dist/actions/delete-api-key.mjs.map +1 -1
  75. package/dist/actions/delete-audience.cjs.map +1 -1
  76. package/dist/actions/delete-audience.d.cts +10 -3
  77. package/dist/actions/delete-audience.d.cts.map +1 -1
  78. package/dist/actions/delete-audience.d.mts +10 -3
  79. package/dist/actions/delete-audience.d.mts.map +1 -1
  80. package/dist/actions/delete-audience.mjs.map +1 -1
  81. package/dist/actions/delete-contact-by-id.cjs.map +1 -1
  82. package/dist/actions/delete-contact-by-id.d.cts +11 -3
  83. package/dist/actions/delete-contact-by-id.d.cts.map +1 -1
  84. package/dist/actions/delete-contact-by-id.d.mts +11 -3
  85. package/dist/actions/delete-contact-by-id.d.mts.map +1 -1
  86. package/dist/actions/delete-contact-by-id.mjs.map +1 -1
  87. package/dist/actions/delete-contact-property.cjs.map +1 -1
  88. package/dist/actions/delete-contact-property.d.cts +11 -3
  89. package/dist/actions/delete-contact-property.d.cts.map +1 -1
  90. package/dist/actions/delete-contact-property.d.mts +11 -3
  91. package/dist/actions/delete-contact-property.d.mts.map +1 -1
  92. package/dist/actions/delete-contact-property.mjs.map +1 -1
  93. package/dist/actions/delete-contact.cjs.map +1 -1
  94. package/dist/actions/delete-contact.d.cts +15 -3
  95. package/dist/actions/delete-contact.d.cts.map +1 -1
  96. package/dist/actions/delete-contact.d.mts +15 -3
  97. package/dist/actions/delete-contact.d.mts.map +1 -1
  98. package/dist/actions/delete-contact.mjs.map +1 -1
  99. package/dist/actions/delete-domain.cjs.map +1 -1
  100. package/dist/actions/delete-domain.d.cts +11 -3
  101. package/dist/actions/delete-domain.d.cts.map +1 -1
  102. package/dist/actions/delete-domain.d.mts +11 -3
  103. package/dist/actions/delete-domain.d.mts.map +1 -1
  104. package/dist/actions/delete-domain.mjs.map +1 -1
  105. package/dist/actions/delete-segment.cjs.map +1 -1
  106. package/dist/actions/delete-segment.d.cts +11 -3
  107. package/dist/actions/delete-segment.d.cts.map +1 -1
  108. package/dist/actions/delete-segment.d.mts +11 -3
  109. package/dist/actions/delete-segment.d.mts.map +1 -1
  110. package/dist/actions/delete-segment.mjs.map +1 -1
  111. package/dist/actions/delete-template.cjs.map +1 -1
  112. package/dist/actions/delete-template.d.cts +11 -3
  113. package/dist/actions/delete-template.d.cts.map +1 -1
  114. package/dist/actions/delete-template.d.mts +11 -3
  115. package/dist/actions/delete-template.d.mts.map +1 -1
  116. package/dist/actions/delete-template.mjs.map +1 -1
  117. package/dist/actions/delete-topic.cjs.map +1 -1
  118. package/dist/actions/delete-topic.d.cts +11 -3
  119. package/dist/actions/delete-topic.d.cts.map +1 -1
  120. package/dist/actions/delete-topic.d.mts +11 -3
  121. package/dist/actions/delete-topic.d.mts.map +1 -1
  122. package/dist/actions/delete-topic.mjs.map +1 -1
  123. package/dist/actions/delete-webhook.cjs.map +1 -1
  124. package/dist/actions/delete-webhook.d.cts +11 -3
  125. package/dist/actions/delete-webhook.d.cts.map +1 -1
  126. package/dist/actions/delete-webhook.d.mts +11 -3
  127. package/dist/actions/delete-webhook.d.mts.map +1 -1
  128. package/dist/actions/delete-webhook.mjs.map +1 -1
  129. package/dist/actions/duplicate-template.cjs.map +1 -1
  130. package/dist/actions/duplicate-template.d.cts +10 -3
  131. package/dist/actions/duplicate-template.d.cts.map +1 -1
  132. package/dist/actions/duplicate-template.d.mts +10 -3
  133. package/dist/actions/duplicate-template.d.mts.map +1 -1
  134. package/dist/actions/duplicate-template.mjs.map +1 -1
  135. package/dist/actions/get-contact-property.cjs.map +1 -1
  136. package/dist/actions/get-contact-property.d.cts +14 -3
  137. package/dist/actions/get-contact-property.d.cts.map +1 -1
  138. package/dist/actions/get-contact-property.d.mts +14 -3
  139. package/dist/actions/get-contact-property.d.mts.map +1 -1
  140. package/dist/actions/get-contact-property.mjs.map +1 -1
  141. package/dist/actions/get-contact.cjs.map +1 -1
  142. package/dist/actions/get-contact.d.cts +16 -3
  143. package/dist/actions/get-contact.d.cts.map +1 -1
  144. package/dist/actions/get-contact.d.mts +16 -3
  145. package/dist/actions/get-contact.d.mts.map +1 -1
  146. package/dist/actions/get-contact.mjs.map +1 -1
  147. package/dist/actions/get-email-attachment.cjs.map +1 -1
  148. package/dist/actions/get-email-attachment.d.cts +22 -3
  149. package/dist/actions/get-email-attachment.d.cts.map +1 -1
  150. package/dist/actions/get-email-attachment.d.mts +22 -3
  151. package/dist/actions/get-email-attachment.d.mts.map +1 -1
  152. package/dist/actions/get-email-attachment.mjs.map +1 -1
  153. package/dist/actions/get-segment.cjs.map +1 -1
  154. package/dist/actions/get-segment.d.cts +14 -3
  155. package/dist/actions/get-segment.d.cts.map +1 -1
  156. package/dist/actions/get-segment.d.mts +14 -3
  157. package/dist/actions/get-segment.d.mts.map +1 -1
  158. package/dist/actions/get-segment.mjs.map +1 -1
  159. package/dist/actions/get-template.cjs +2 -2
  160. package/dist/actions/get-template.cjs.map +1 -1
  161. package/dist/actions/get-template.d.cts +34 -3
  162. package/dist/actions/get-template.d.cts.map +1 -1
  163. package/dist/actions/get-template.d.mts +34 -3
  164. package/dist/actions/get-template.d.mts.map +1 -1
  165. package/dist/actions/get-template.mjs +2 -2
  166. package/dist/actions/get-template.mjs.map +1 -1
  167. package/dist/actions/get-topic.cjs.map +1 -1
  168. package/dist/actions/get-topic.d.cts +13 -3
  169. package/dist/actions/get-topic.d.cts.map +1 -1
  170. package/dist/actions/get-topic.d.mts +13 -3
  171. package/dist/actions/get-topic.d.mts.map +1 -1
  172. package/dist/actions/get-topic.mjs.map +1 -1
  173. package/dist/actions/get-webhook.cjs.map +1 -1
  174. package/dist/actions/get-webhook.d.cts +15 -3
  175. package/dist/actions/get-webhook.d.cts.map +1 -1
  176. package/dist/actions/get-webhook.d.mts +15 -3
  177. package/dist/actions/get-webhook.d.mts.map +1 -1
  178. package/dist/actions/get-webhook.mjs.map +1 -1
  179. package/dist/actions/list-all-contacts.cjs +6 -6
  180. package/dist/actions/list-all-contacts.cjs.map +1 -1
  181. package/dist/actions/list-all-contacts.d.cts +22 -3
  182. package/dist/actions/list-all-contacts.d.cts.map +1 -1
  183. package/dist/actions/list-all-contacts.d.mts +22 -3
  184. package/dist/actions/list-all-contacts.d.mts.map +1 -1
  185. package/dist/actions/list-all-contacts.mjs +6 -6
  186. package/dist/actions/list-all-contacts.mjs.map +1 -1
  187. package/dist/actions/list-api-keys.cjs.map +1 -1
  188. package/dist/actions/list-api-keys.d.cts +19 -3
  189. package/dist/actions/list-api-keys.d.cts.map +1 -1
  190. package/dist/actions/list-api-keys.d.mts +19 -3
  191. package/dist/actions/list-api-keys.d.mts.map +1 -1
  192. package/dist/actions/list-api-keys.mjs.map +1 -1
  193. package/dist/actions/list-audiences.cjs.map +1 -1
  194. package/dist/actions/list-audiences.d.cts +19 -3
  195. package/dist/actions/list-audiences.d.cts.map +1 -1
  196. package/dist/actions/list-audiences.d.mts +19 -3
  197. package/dist/actions/list-audiences.d.mts.map +1 -1
  198. package/dist/actions/list-audiences.mjs.map +1 -1
  199. package/dist/actions/list-broadcasts.cjs.map +1 -1
  200. package/dist/actions/list-broadcasts.d.cts +22 -3
  201. package/dist/actions/list-broadcasts.d.cts.map +1 -1
  202. package/dist/actions/list-broadcasts.d.mts +22 -3
  203. package/dist/actions/list-broadcasts.d.mts.map +1 -1
  204. package/dist/actions/list-broadcasts.mjs.map +1 -1
  205. package/dist/actions/list-contact-properties.cjs.map +1 -1
  206. package/dist/actions/list-contact-properties.d.cts +21 -3
  207. package/dist/actions/list-contact-properties.d.cts.map +1 -1
  208. package/dist/actions/list-contact-properties.d.mts +21 -3
  209. package/dist/actions/list-contact-properties.d.mts.map +1 -1
  210. package/dist/actions/list-contact-properties.mjs.map +1 -1
  211. package/dist/actions/list-contact-segments.cjs +5 -5
  212. package/dist/actions/list-contact-segments.cjs.map +1 -1
  213. package/dist/actions/list-contact-segments.d.cts +21 -3
  214. package/dist/actions/list-contact-segments.d.cts.map +1 -1
  215. package/dist/actions/list-contact-segments.d.mts +21 -3
  216. package/dist/actions/list-contact-segments.d.mts.map +1 -1
  217. package/dist/actions/list-contact-segments.mjs +5 -5
  218. package/dist/actions/list-contact-segments.mjs.map +1 -1
  219. package/dist/actions/list-contact-topics.cjs.map +1 -1
  220. package/dist/actions/list-contact-topics.d.cts +22 -3
  221. package/dist/actions/list-contact-topics.d.cts.map +1 -1
  222. package/dist/actions/list-contact-topics.d.mts +22 -3
  223. package/dist/actions/list-contact-topics.d.mts.map +1 -1
  224. package/dist/actions/list-contact-topics.mjs.map +1 -1
  225. package/dist/actions/list-contacts.cjs +6 -6
  226. package/dist/actions/list-contacts.cjs.map +1 -1
  227. package/dist/actions/list-contacts.d.cts +24 -3
  228. package/dist/actions/list-contacts.d.cts.map +1 -1
  229. package/dist/actions/list-contacts.d.mts +24 -3
  230. package/dist/actions/list-contacts.d.mts.map +1 -1
  231. package/dist/actions/list-contacts.mjs +6 -6
  232. package/dist/actions/list-contacts.mjs.map +1 -1
  233. package/dist/actions/list-domains.cjs.map +1 -1
  234. package/dist/actions/list-domains.d.cts +11 -3
  235. package/dist/actions/list-domains.d.cts.map +1 -1
  236. package/dist/actions/list-domains.d.mts +11 -3
  237. package/dist/actions/list-domains.d.mts.map +1 -1
  238. package/dist/actions/list-domains.mjs.map +1 -1
  239. package/dist/actions/list-email-attachments.cjs.map +1 -1
  240. package/dist/actions/list-email-attachments.d.cts +26 -3
  241. package/dist/actions/list-email-attachments.d.cts.map +1 -1
  242. package/dist/actions/list-email-attachments.d.mts +26 -3
  243. package/dist/actions/list-email-attachments.d.mts.map +1 -1
  244. package/dist/actions/list-email-attachments.mjs.map +1 -1
  245. package/dist/actions/list-emails.cjs.map +1 -1
  246. package/dist/actions/list-emails.d.cts +28 -3
  247. package/dist/actions/list-emails.d.cts.map +1 -1
  248. package/dist/actions/list-emails.d.mts +28 -3
  249. package/dist/actions/list-emails.d.mts.map +1 -1
  250. package/dist/actions/list-emails.mjs.map +1 -1
  251. package/dist/actions/list-received-emails.cjs.map +1 -1
  252. package/dist/actions/list-received-emails.d.cts +26 -3
  253. package/dist/actions/list-received-emails.d.cts.map +1 -1
  254. package/dist/actions/list-received-emails.d.mts +26 -3
  255. package/dist/actions/list-received-emails.d.mts.map +1 -1
  256. package/dist/actions/list-received-emails.mjs.map +1 -1
  257. package/dist/actions/list-segments.cjs.map +1 -1
  258. package/dist/actions/list-segments.d.cts +20 -3
  259. package/dist/actions/list-segments.d.cts.map +1 -1
  260. package/dist/actions/list-segments.d.mts +20 -3
  261. package/dist/actions/list-segments.d.mts.map +1 -1
  262. package/dist/actions/list-segments.mjs.map +1 -1
  263. package/dist/actions/list-templates.cjs.map +1 -1
  264. package/dist/actions/list-templates.d.cts +23 -3
  265. package/dist/actions/list-templates.d.cts.map +1 -1
  266. package/dist/actions/list-templates.d.mts +23 -3
  267. package/dist/actions/list-templates.d.mts.map +1 -1
  268. package/dist/actions/list-templates.mjs.map +1 -1
  269. package/dist/actions/list-topics.cjs.map +1 -1
  270. package/dist/actions/list-topics.d.cts +20 -3
  271. package/dist/actions/list-topics.d.cts.map +1 -1
  272. package/dist/actions/list-topics.d.mts +20 -3
  273. package/dist/actions/list-topics.d.mts.map +1 -1
  274. package/dist/actions/list-topics.mjs.map +1 -1
  275. package/dist/actions/list-webhooks.cjs.map +1 -1
  276. package/dist/actions/list-webhooks.d.cts +21 -3
  277. package/dist/actions/list-webhooks.d.cts.map +1 -1
  278. package/dist/actions/list-webhooks.d.mts +21 -3
  279. package/dist/actions/list-webhooks.d.mts.map +1 -1
  280. package/dist/actions/list-webhooks.mjs.map +1 -1
  281. package/dist/actions/publish-template.cjs.map +1 -1
  282. package/dist/actions/publish-template.d.cts +10 -3
  283. package/dist/actions/publish-template.d.cts.map +1 -1
  284. package/dist/actions/publish-template.d.mts +10 -3
  285. package/dist/actions/publish-template.d.mts.map +1 -1
  286. package/dist/actions/publish-template.mjs.map +1 -1
  287. package/dist/actions/remove-contact-from-segment.cjs.map +1 -1
  288. package/dist/actions/remove-contact-from-segment.d.cts +12 -3
  289. package/dist/actions/remove-contact-from-segment.d.cts.map +1 -1
  290. package/dist/actions/remove-contact-from-segment.d.mts +12 -3
  291. package/dist/actions/remove-contact-from-segment.d.mts.map +1 -1
  292. package/dist/actions/remove-contact-from-segment.mjs.map +1 -1
  293. package/dist/actions/retrieve-audience.cjs.map +1 -1
  294. package/dist/actions/retrieve-audience.d.cts +12 -3
  295. package/dist/actions/retrieve-audience.d.cts.map +1 -1
  296. package/dist/actions/retrieve-audience.d.mts +12 -3
  297. package/dist/actions/retrieve-audience.d.mts.map +1 -1
  298. package/dist/actions/retrieve-audience.mjs.map +1 -1
  299. package/dist/actions/retrieve-contact.cjs.map +1 -1
  300. package/dist/actions/retrieve-contact.d.cts +17 -3
  301. package/dist/actions/retrieve-contact.d.cts.map +1 -1
  302. package/dist/actions/retrieve-contact.d.mts +17 -3
  303. package/dist/actions/retrieve-contact.d.mts.map +1 -1
  304. package/dist/actions/retrieve-contact.mjs.map +1 -1
  305. package/dist/actions/retrieve-domain.cjs.map +1 -1
  306. package/dist/actions/retrieve-domain.d.cts +14 -3
  307. package/dist/actions/retrieve-domain.d.cts.map +1 -1
  308. package/dist/actions/retrieve-domain.d.mts +14 -3
  309. package/dist/actions/retrieve-domain.d.mts.map +1 -1
  310. package/dist/actions/retrieve-domain.mjs.map +1 -1
  311. package/dist/actions/retrieve-email.cjs.map +1 -1
  312. package/dist/actions/retrieve-email.d.cts +20 -3
  313. package/dist/actions/retrieve-email.d.cts.map +1 -1
  314. package/dist/actions/retrieve-email.d.mts +20 -3
  315. package/dist/actions/retrieve-email.d.mts.map +1 -1
  316. package/dist/actions/retrieve-email.mjs.map +1 -1
  317. package/dist/actions/send-batch-emails.cjs.map +1 -1
  318. package/dist/actions/send-batch-emails.d.cts +35 -3
  319. package/dist/actions/send-batch-emails.d.cts.map +1 -1
  320. package/dist/actions/send-batch-emails.d.mts +35 -3
  321. package/dist/actions/send-batch-emails.d.mts.map +1 -1
  322. package/dist/actions/send-batch-emails.mjs.map +1 -1
  323. package/dist/actions/send-email.cjs.map +1 -1
  324. package/dist/actions/send-email.d.cts +30 -3
  325. package/dist/actions/send-email.d.cts.map +1 -1
  326. package/dist/actions/send-email.d.mts +30 -3
  327. package/dist/actions/send-email.d.mts.map +1 -1
  328. package/dist/actions/send-email.mjs.map +1 -1
  329. package/dist/actions/update-broadcast.cjs.map +1 -1
  330. package/dist/actions/update-broadcast.d.cts +28 -3
  331. package/dist/actions/update-broadcast.d.cts.map +1 -1
  332. package/dist/actions/update-broadcast.d.mts +28 -3
  333. package/dist/actions/update-broadcast.d.mts.map +1 -1
  334. package/dist/actions/update-broadcast.mjs.map +1 -1
  335. package/dist/actions/update-contact-property.cjs.map +1 -1
  336. package/dist/actions/update-contact-property.d.cts +12 -3
  337. package/dist/actions/update-contact-property.d.cts.map +1 -1
  338. package/dist/actions/update-contact-property.d.mts +12 -3
  339. package/dist/actions/update-contact-property.d.mts.map +1 -1
  340. package/dist/actions/update-contact-property.mjs.map +1 -1
  341. package/dist/actions/update-contact.cjs.map +1 -1
  342. package/dist/actions/update-contact.d.cts +16 -3
  343. package/dist/actions/update-contact.d.cts.map +1 -1
  344. package/dist/actions/update-contact.d.mts +16 -3
  345. package/dist/actions/update-contact.d.mts.map +1 -1
  346. package/dist/actions/update-contact.mjs.map +1 -1
  347. package/dist/actions/update-domain.cjs.map +1 -1
  348. package/dist/actions/update-domain.d.cts +23 -3
  349. package/dist/actions/update-domain.d.cts.map +1 -1
  350. package/dist/actions/update-domain.d.mts +23 -3
  351. package/dist/actions/update-domain.d.mts.map +1 -1
  352. package/dist/actions/update-domain.mjs.map +1 -1
  353. package/dist/actions/update-email.cjs.map +1 -1
  354. package/dist/actions/update-email.d.cts +12 -3
  355. package/dist/actions/update-email.d.cts.map +1 -1
  356. package/dist/actions/update-email.d.mts +12 -3
  357. package/dist/actions/update-email.d.mts.map +1 -1
  358. package/dist/actions/update-email.mjs.map +1 -1
  359. package/dist/actions/update-template.cjs.map +1 -1
  360. package/dist/actions/update-template.d.cts +34 -3
  361. package/dist/actions/update-template.d.cts.map +1 -1
  362. package/dist/actions/update-template.d.mts +34 -3
  363. package/dist/actions/update-template.d.mts.map +1 -1
  364. package/dist/actions/update-template.mjs.map +1 -1
  365. package/dist/actions/update-topic.cjs.map +1 -1
  366. package/dist/actions/update-topic.d.cts +12 -3
  367. package/dist/actions/update-topic.d.cts.map +1 -1
  368. package/dist/actions/update-topic.d.mts +12 -3
  369. package/dist/actions/update-topic.d.mts.map +1 -1
  370. package/dist/actions/update-topic.mjs.map +1 -1
  371. package/dist/actions/update-webhook.cjs.map +1 -1
  372. package/dist/actions/update-webhook.d.cts +19 -3
  373. package/dist/actions/update-webhook.d.cts.map +1 -1
  374. package/dist/actions/update-webhook.d.mts +19 -3
  375. package/dist/actions/update-webhook.d.mts.map +1 -1
  376. package/dist/actions/update-webhook.mjs.map +1 -1
  377. package/dist/actions/verify-domain.cjs.map +1 -1
  378. package/dist/actions/verify-domain.d.cts +10 -3
  379. package/dist/actions/verify-domain.d.cts.map +1 -1
  380. package/dist/actions/verify-domain.d.mts +10 -3
  381. package/dist/actions/verify-domain.d.mts.map +1 -1
  382. package/dist/actions/verify-domain.mjs.map +1 -1
  383. package/dist/catalog.cjs +7 -1
  384. package/dist/catalog.cjs.map +1 -1
  385. package/dist/catalog.d.cts +8 -0
  386. package/dist/catalog.d.mts +8 -0
  387. package/dist/catalog.mjs +7 -1
  388. package/dist/catalog.mjs.map +1 -1
  389. package/package.json +2 -2
@@ -8,9 +8,9 @@ const ResendListContactSegmentsInput = z.object({
8
8
  before: z.string().describe("Cursor ID for backward pagination.").optional()
9
9
  });
10
10
  const ResendListContactSegments_SegmentSchema = z.object({
11
- id: z.string().describe("Unique segment identifier."),
12
- name: z.string().describe("Display name of the segment."),
13
- created_at: z.string().describe("Timestamp of segment creation in ISO 8601 format.")
11
+ id: z.string().describe("Unique segment identifier.").nullable(),
12
+ name: z.string().describe("Display name of the segment.").nullable(),
13
+ created_at: z.string().describe("Timestamp of segment creation in ISO 8601 format.").nullable()
14
14
  }).describe("Segment object representation.");
15
15
  const resendListContactSegments = action("RESEND_LIST_CONTACT_SEGMENTS", {
16
16
  slug: "resend-list-contact-segments",
@@ -19,8 +19,8 @@ const resendListContactSegments = action("RESEND_LIST_CONTACT_SEGMENTS", {
19
19
  input: ResendListContactSegmentsInput,
20
20
  output: z.object({
21
21
  data: z.array(ResendListContactSegments_SegmentSchema).describe("Collection of segment objects that the contact belongs to."),
22
- object: z.string().describe("Identifier indicating this is a list response."),
23
- has_more: z.boolean().describe("Whether additional results are available for pagination.")
22
+ object: z.string().describe("Identifier indicating this is a list response.").nullable(),
23
+ has_more: z.boolean().describe("Whether additional results are available for pagination.").nullable()
24
24
  })
25
25
  });
26
26
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"list-contact-segments.mjs","names":[],"sources":["../../src/actions/list-contact-segments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListContactSegmentsInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The ID of the contact.\"),\n after: z.string().describe(\"Cursor ID for forward pagination.\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return. Max: 100.\").optional(),\n before: z.string().describe(\"Cursor ID for backward pagination.\").optional(),\n});\nconst ResendListContactSegments_SegmentSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique segment identifier.\"),\n name: z.string().describe(\"Display name of the segment.\"),\n created_at: z.string().describe(\"Timestamp of segment creation in ISO 8601 format.\"),\n}).describe(\"Segment object representation.\");\nexport const ResendListContactSegmentsOutput: z.ZodTypeAny = z.object({\n data: z.array(ResendListContactSegments_SegmentSchema).describe(\"Collection of segment objects that the contact belongs to.\"),\n object: z.string().describe(\"Identifier indicating this is a list response.\"),\n has_more: z.boolean().describe(\"Whether additional results are available for pagination.\"),\n});\n\nexport const resendListContactSegments = action(\"RESEND_LIST_CONTACT_SEGMENTS\", {\n slug: \"resend-list-contact-segments\",\n name: \"List Contact Segments\",\n description: \"Retrieve a list of segments that a contact is part of. Use when you need to determine which segments a specific contact belongs to.\",\n input: ResendListContactSegmentsInput,\n output: ResendListContactSegmentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+C,EAAE,OAAO;CACnE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CAChD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC5F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AAC7E,CAAC;AACD,MAAM,0CAAwD,EAAE,OAAO;CACrE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACxD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;AACrF,CAAC,CAAC,CAAC,SAAS,gCAAgC;AAO5C,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX2D,EAAE,OAAO;EACpE,MAAM,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,4DAA4D;EAC5H,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;EAC5E,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D;CAC3F,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"list-contact-segments.mjs","names":[],"sources":["../../src/actions/list-contact-segments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListContactSegmentsInput = z.object({\n id: z.string().describe(\"The ID of the contact.\"),\n after: z.string().describe(\"Cursor ID for forward pagination.\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return. Max: 100.\").optional(),\n before: z.string().describe(\"Cursor ID for backward pagination.\").optional(),\n});\nconst ResendListContactSegments_SegmentSchema = z.object({\n id: z.string().describe(\"Unique segment identifier.\").nullable(),\n name: z.string().describe(\"Display name of the segment.\").nullable(),\n created_at: z.string().describe(\"Timestamp of segment creation in ISO 8601 format.\").nullable(),\n}).describe(\"Segment object representation.\");\nexport const ResendListContactSegmentsOutput = z.object({\n data: z.array(ResendListContactSegments_SegmentSchema).describe(\"Collection of segment objects that the contact belongs to.\"),\n object: z.string().describe(\"Identifier indicating this is a list response.\").nullable(),\n has_more: z.boolean().describe(\"Whether additional results are available for pagination.\").nullable(),\n});\n\nexport const resendListContactSegments = action(\"RESEND_LIST_CONTACT_SEGMENTS\", {\n slug: \"resend-list-contact-segments\",\n name: \"List Contact Segments\",\n description: \"Retrieve a list of segments that a contact is part of. Use when you need to determine which segments a specific contact belongs to.\",\n input: ResendListContactSegmentsInput,\n output: ResendListContactSegmentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CAChD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC5F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AAC7E,CAAC;AACD,MAAM,0CAA0C,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACnE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,SAAS,gCAAgC;AAO5C,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX6C,EAAE,OAAO;EACtD,MAAM,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,4DAA4D;EAC5H,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EACvF,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACtG,CAOU;AACV,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"list-contact-topics.cjs","names":["z","action"],"sources":["../../src/actions/list-contact-topics.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListContactTopicsInput: z.ZodTypeAny = z.object({\n after: z.string().describe(\"Cursor ID for forward pagination.\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return. Max: 100.\").optional(),\n before: z.string().describe(\"Cursor ID for backward pagination.\").optional(),\n contact_id: z.string().describe(\"The ID of the contact.\"),\n});\nconst ResendListContactTopics_TopicSubscriptionSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the topic.\").nullable().optional(),\n name: z.string().describe(\"Topic display name.\").nullable().optional(),\n description: z.string().describe(\"Explanation of topic content.\").nullable().optional(),\n subscription: z.string().describe(\"Subscription status (e.g., 'opt_in', 'opt_out').\").nullable().optional(),\n}).describe(\"Topic subscription object representation.\");\nexport const ResendListContactTopicsOutput: z.ZodTypeAny = z.object({\n data: z.array(ResendListContactTopics_TopicSubscriptionSchema).describe(\"Collection of topic subscription objects.\").nullable().optional(),\n object: z.string().describe(\"Identifies response type as 'list'.\").nullable().optional(),\n has_more: z.boolean().describe(\"Indicates if additional paginated results exist.\").nullable().optional(),\n});\n\nexport const resendListContactTopics = action(\"RESEND_LIST_CONTACT_TOPICS\", {\n slug: \"resend-list-contact-topics\",\n name: \"List Contact Topics\",\n description: \"Retrieve a list of topic subscriptions for a contact in Resend. Use when you need to check which topics a specific contact is subscribed to.\",\n input: ResendListContactTopicsInput,\n output: ResendListContactTopicsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC5F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC3E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;AAC1D,CAAC;AACD,MAAM,kDAAgEA,IAAAA,EAAE,OAAO;CAC7E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,MAAMA,IAAAA,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC;AAED,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-contact-topics.cjs","names":["z","action"],"sources":["../../src/actions/list-contact-topics.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListContactTopicsInput = z.object({\n after: z.string().describe(\"Cursor ID for forward pagination.\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return. Max: 100.\").optional(),\n before: z.string().describe(\"Cursor ID for backward pagination.\").optional(),\n contact_id: z.string().describe(\"The ID of the contact.\"),\n});\nconst ResendListContactTopics_TopicSubscriptionSchema = z.object({\n id: z.string().describe(\"Unique identifier for the topic.\").nullable().optional(),\n name: z.string().describe(\"Topic display name.\").nullable().optional(),\n description: z.string().describe(\"Explanation of topic content.\").nullable().optional(),\n subscription: z.string().describe(\"Subscription status (e.g., 'opt_in', 'opt_out').\").nullable().optional(),\n}).describe(\"Topic subscription object representation.\");\nexport const ResendListContactTopicsOutput = z.object({\n data: z.array(ResendListContactTopics_TopicSubscriptionSchema).describe(\"Collection of topic subscription objects.\").nullable().optional(),\n object: z.string().describe(\"Identifies response type as 'list'.\").nullable().optional(),\n has_more: z.boolean().describe(\"Indicates if additional paginated results exist.\").nullable().optional(),\n});\n\nexport const resendListContactTopics = action(\"RESEND_LIST_CONTACT_TOPICS\", {\n slug: \"resend-list-contact-topics\",\n name: \"List Contact Topics\",\n description: \"Retrieve a list of topic subscriptions for a contact in Resend. Use when you need to check which topics a specific contact is subscribed to.\",\n input: ResendListContactTopicsInput,\n output: ResendListContactTopicsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC5F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC3E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;AAC1D,CAAC;AACD,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC;AAED,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,28 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-contact-topics.d.ts
4
- declare const ResendListContactTopicsInput: z.ZodTypeAny;
5
- declare const ResendListContactTopicsOutput: z.ZodTypeAny;
6
- declare const resendListContactTopics: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ResendListContactTopicsInput: z.ZodObject<{
5
+ after: z.ZodOptional<z.ZodString>;
6
+ limit: z.ZodOptional<z.ZodNumber>;
7
+ before: z.ZodOptional<z.ZodString>;
8
+ contact_id: z.ZodString;
9
+ }, z.core.$strip>;
10
+ declare const ResendListContactTopicsOutput: z.ZodObject<{
11
+ data: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
12
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ subscription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ }, z.core.$strip>>>>;
17
+ object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ has_more: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
19
+ }, z.core.$strip>;
20
+ declare const resendListContactTopics: import("@keystrokehq/action").WorkflowActionDefinition<{
21
+ contact_id: string;
22
+ after?: string | undefined;
23
+ limit?: number | undefined;
24
+ before?: string | undefined;
25
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
26
  //#endregion
8
27
  export { resendListContactTopics };
9
28
  //# sourceMappingURL=list-contact-topics.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-contact-topics.d.cts","names":[],"sources":["../../src/actions/list-contact-topics.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAK3C;AAAA,cAOW,6BAAA,EAA+B,CAAA,CAAE,UAI5C;AAAA,cAEW,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-contact-topics.d.cts","names":[],"sources":["../../src/actions/list-contact-topics.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;cAY5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;cAM7B,uBAAA,gCAAuB,wBAAA"}
@@ -1,9 +1,28 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-contact-topics.d.ts
4
- declare const ResendListContactTopicsInput: z.ZodTypeAny;
5
- declare const ResendListContactTopicsOutput: z.ZodTypeAny;
6
- declare const resendListContactTopics: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ResendListContactTopicsInput: z.ZodObject<{
5
+ after: z.ZodOptional<z.ZodString>;
6
+ limit: z.ZodOptional<z.ZodNumber>;
7
+ before: z.ZodOptional<z.ZodString>;
8
+ contact_id: z.ZodString;
9
+ }, z.core.$strip>;
10
+ declare const ResendListContactTopicsOutput: z.ZodObject<{
11
+ data: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
12
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ subscription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ }, z.core.$strip>>>>;
17
+ object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ has_more: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
19
+ }, z.core.$strip>;
20
+ declare const resendListContactTopics: import("@keystrokehq/action").WorkflowActionDefinition<{
21
+ contact_id: string;
22
+ after?: string | undefined;
23
+ limit?: number | undefined;
24
+ before?: string | undefined;
25
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
26
  //#endregion
8
27
  export { resendListContactTopics };
9
28
  //# sourceMappingURL=list-contact-topics.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-contact-topics.d.mts","names":[],"sources":["../../src/actions/list-contact-topics.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAK3C;AAAA,cAOW,6BAAA,EAA+B,CAAA,CAAE,UAI5C;AAAA,cAEW,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-contact-topics.d.mts","names":[],"sources":["../../src/actions/list-contact-topics.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;cAY5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;cAM7B,uBAAA,gCAAuB,wBAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"list-contact-topics.mjs","names":[],"sources":["../../src/actions/list-contact-topics.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListContactTopicsInput: z.ZodTypeAny = z.object({\n after: z.string().describe(\"Cursor ID for forward pagination.\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return. Max: 100.\").optional(),\n before: z.string().describe(\"Cursor ID for backward pagination.\").optional(),\n contact_id: z.string().describe(\"The ID of the contact.\"),\n});\nconst ResendListContactTopics_TopicSubscriptionSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the topic.\").nullable().optional(),\n name: z.string().describe(\"Topic display name.\").nullable().optional(),\n description: z.string().describe(\"Explanation of topic content.\").nullable().optional(),\n subscription: z.string().describe(\"Subscription status (e.g., 'opt_in', 'opt_out').\").nullable().optional(),\n}).describe(\"Topic subscription object representation.\");\nexport const ResendListContactTopicsOutput: z.ZodTypeAny = z.object({\n data: z.array(ResendListContactTopics_TopicSubscriptionSchema).describe(\"Collection of topic subscription objects.\").nullable().optional(),\n object: z.string().describe(\"Identifies response type as 'list'.\").nullable().optional(),\n has_more: z.boolean().describe(\"Indicates if additional paginated results exist.\").nullable().optional(),\n});\n\nexport const resendListContactTopics = action(\"RESEND_LIST_CONTACT_TOPICS\", {\n slug: \"resend-list-contact-topics\",\n name: \"List Contact Topics\",\n description: \"Retrieve a list of topic subscriptions for a contact in Resend. Use when you need to check which topics a specific contact is subscribed to.\",\n input: ResendListContactTopicsInput,\n output: ResendListContactTopicsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6C,EAAE,OAAO;CACjE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC5F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC3E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;AAC1D,CAAC;AACD,MAAM,kDAAgE,EAAE,OAAO;CAC7E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAOvD,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXyD,EAAE,OAAO;EAClE,MAAM,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"list-contact-topics.mjs","names":[],"sources":["../../src/actions/list-contact-topics.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListContactTopicsInput = z.object({\n after: z.string().describe(\"Cursor ID for forward pagination.\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return. Max: 100.\").optional(),\n before: z.string().describe(\"Cursor ID for backward pagination.\").optional(),\n contact_id: z.string().describe(\"The ID of the contact.\"),\n});\nconst ResendListContactTopics_TopicSubscriptionSchema = z.object({\n id: z.string().describe(\"Unique identifier for the topic.\").nullable().optional(),\n name: z.string().describe(\"Topic display name.\").nullable().optional(),\n description: z.string().describe(\"Explanation of topic content.\").nullable().optional(),\n subscription: z.string().describe(\"Subscription status (e.g., 'opt_in', 'opt_out').\").nullable().optional(),\n}).describe(\"Topic subscription object representation.\");\nexport const ResendListContactTopicsOutput = z.object({\n data: z.array(ResendListContactTopics_TopicSubscriptionSchema).describe(\"Collection of topic subscription objects.\").nullable().optional(),\n object: z.string().describe(\"Identifies response type as 'list'.\").nullable().optional(),\n has_more: z.boolean().describe(\"Indicates if additional paginated results exist.\").nullable().optional(),\n});\n\nexport const resendListContactTopics = action(\"RESEND_LIST_CONTACT_TOPICS\", {\n slug: \"resend-list-contact-topics\",\n name: \"List Contact Topics\",\n description: \"Retrieve a list of topic subscriptions for a contact in Resend. Use when you need to check which topics a specific contact is subscribed to.\",\n input: ResendListContactTopicsInput,\n output: ResendListContactTopicsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC5F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC3E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;AAC1D,CAAC;AACD,MAAM,kDAAkD,EAAE,OAAO;CAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAOvD,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX2C,EAAE,OAAO;EACpD,MAAM,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,CAOU;AACV,CAAC"}
@@ -8,17 +8,17 @@ const ResendListContactsInput = zod.z.object({
8
8
  audienceId: zod.z.string().describe("The Audience ID.")
9
9
  });
10
10
  const ResendListContacts_ContactSchema = zod.z.object({
11
- id: zod.z.string().describe("Unique contact identifier."),
12
- email: zod.z.string().describe("Contact's email address."),
11
+ id: zod.z.string().describe("Unique contact identifier.").nullable(),
12
+ email: zod.z.string().describe("Contact's email address.").nullable(),
13
13
  last_name: zod.z.string().describe("Contact's surname.").nullable().optional(),
14
- created_at: zod.z.string().describe("Timestamp of contact creation in ISO 8601 format."),
14
+ created_at: zod.z.string().describe("Timestamp of contact creation in ISO 8601 format.").nullable(),
15
15
  first_name: zod.z.string().describe("Contact's given name.").nullable().optional(),
16
- unsubscribed: zod.z.boolean().describe("Indicates subscription status.")
16
+ unsubscribed: zod.z.boolean().describe("Indicates subscription status.").nullable()
17
17
  }).describe("Contact object representation.");
18
18
  const ResendListContactsOutput = zod.z.object({
19
19
  data: zod.z.array(ResendListContacts_ContactSchema).describe("Collection of contact objects."),
20
- object: zod.z.string().describe("Identifier indicating this is a list response."),
21
- has_more: zod.z.boolean().describe("Whether additional results are available for pagination.")
20
+ object: zod.z.string().describe("Identifier indicating this is a list response.").nullable(),
21
+ has_more: zod.z.boolean().describe("Whether additional results are available for pagination.").nullable()
22
22
  });
23
23
  const resendListContacts = require_action.action("RESEND_LIST_CONTACTS", {
24
24
  slug: "resend-list-contacts",
@@ -1 +1 @@
1
- {"version":3,"file":"list-contacts.cjs","names":["z","action"],"sources":["../../src/actions/list-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListContactsInput: z.ZodTypeAny = z.object({\n after: z.string().describe(\"Cursor ID for forward pagination.\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return. Max: 100.\").optional(),\n before: z.string().describe(\"Cursor ID for backward pagination.\").optional(),\n audienceId: z.string().describe(\"The Audience ID.\"),\n});\nconst ResendListContacts_ContactSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique contact identifier.\"),\n email: z.string().describe(\"Contact's email address.\"),\n last_name: z.string().describe(\"Contact's surname.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of contact creation in ISO 8601 format.\"),\n first_name: z.string().describe(\"Contact's given name.\").nullable().optional(),\n unsubscribed: z.boolean().describe(\"Indicates subscription status.\"),\n}).describe(\"Contact object representation.\");\nexport const ResendListContactsOutput: z.ZodTypeAny = z.object({\n data: z.array(ResendListContacts_ContactSchema).describe(\"Collection of contact objects.\"),\n object: z.string().describe(\"Identifier indicating this is a list response.\"),\n has_more: z.boolean().describe(\"Whether additional results are available for pagination.\"),\n});\n\nexport const resendListContacts = action(\"RESEND_LIST_CONTACTS\", {\n slug: \"resend-list-contacts\",\n name: \"List Contacts\",\n description: \"List contacts in Resend.\",\n input: ResendListContactsInput,\n output: ResendListContactsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwCA,IAAAA,EAAE,OAAO;CAC5D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC5F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC3E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;AACpD,CAAC;AACD,MAAM,mCAAiDA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACpD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACrD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CACnF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC;AACrE,CAAC,CAAC,CAAC,SAAS,gCAAgC;AAC5C,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,gCAAgC;CACzF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAC5E,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D;AAC3F,CAAC;AAED,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-contacts.cjs","names":["z","action"],"sources":["../../src/actions/list-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListContactsInput = z.object({\n after: z.string().describe(\"Cursor ID for forward pagination.\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return. Max: 100.\").optional(),\n before: z.string().describe(\"Cursor ID for backward pagination.\").optional(),\n audienceId: z.string().describe(\"The Audience ID.\"),\n});\nconst ResendListContacts_ContactSchema = z.object({\n id: z.string().describe(\"Unique contact identifier.\").nullable(),\n email: z.string().describe(\"Contact's email address.\").nullable(),\n last_name: z.string().describe(\"Contact's surname.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of contact creation in ISO 8601 format.\").nullable(),\n first_name: z.string().describe(\"Contact's given name.\").nullable().optional(),\n unsubscribed: z.boolean().describe(\"Indicates subscription status.\").nullable(),\n}).describe(\"Contact object representation.\");\nexport const ResendListContactsOutput = z.object({\n data: z.array(ResendListContacts_ContactSchema).describe(\"Collection of contact objects.\"),\n object: z.string().describe(\"Identifier indicating this is a list response.\").nullable(),\n has_more: z.boolean().describe(\"Whether additional results are available for pagination.\").nullable(),\n});\n\nexport const resendListContacts = action(\"RESEND_LIST_CONTACTS\", {\n slug: \"resend-list-contacts\",\n name: \"List Contacts\",\n description: \"List contacts in Resend.\",\n input: ResendListContactsInput,\n output: ResendListContactsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC5F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC3E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;AACpD,CAAC;AACD,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAChE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC9F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,SAAS,gCAAgC;AAC5C,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,gCAAgC;CACzF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACvF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AACtG,CAAC;AAED,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,30 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-contacts.d.ts
4
- declare const ResendListContactsInput: z.ZodTypeAny;
5
- declare const ResendListContactsOutput: z.ZodTypeAny;
6
- declare const resendListContacts: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ResendListContactsInput: z.ZodObject<{
5
+ after: z.ZodOptional<z.ZodString>;
6
+ limit: z.ZodOptional<z.ZodNumber>;
7
+ before: z.ZodOptional<z.ZodString>;
8
+ audienceId: z.ZodString;
9
+ }, z.core.$strip>;
10
+ declare const ResendListContactsOutput: z.ZodObject<{
11
+ data: z.ZodArray<z.ZodObject<{
12
+ id: z.ZodNullable<z.ZodString>;
13
+ email: z.ZodNullable<z.ZodString>;
14
+ last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ created_at: z.ZodNullable<z.ZodString>;
16
+ first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ unsubscribed: z.ZodNullable<z.ZodBoolean>;
18
+ }, z.core.$strip>>;
19
+ object: z.ZodNullable<z.ZodString>;
20
+ has_more: z.ZodNullable<z.ZodBoolean>;
21
+ }, z.core.$strip>;
22
+ declare const resendListContacts: import("@keystrokehq/action").WorkflowActionDefinition<{
23
+ audienceId: string;
24
+ after?: string | undefined;
25
+ limit?: number | undefined;
26
+ before?: string | undefined;
27
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
28
  //#endregion
8
29
  export { resendListContacts };
9
30
  //# sourceMappingURL=list-contacts.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-contacts.d.cts","names":[],"sources":["../../src/actions/list-contacts.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAKtC;AAAA,cASW,wBAAA,EAA0B,CAAA,CAAE,UAIvC;AAAA,cAEW,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-contacts.d.cts","names":[],"sources":["../../src/actions/list-contacts.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;cAcvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAMxB,kBAAA,gCAAkB,wBAAA"}
@@ -1,9 +1,30 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-contacts.d.ts
4
- declare const ResendListContactsInput: z.ZodTypeAny;
5
- declare const ResendListContactsOutput: z.ZodTypeAny;
6
- declare const resendListContacts: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ResendListContactsInput: z.ZodObject<{
5
+ after: z.ZodOptional<z.ZodString>;
6
+ limit: z.ZodOptional<z.ZodNumber>;
7
+ before: z.ZodOptional<z.ZodString>;
8
+ audienceId: z.ZodString;
9
+ }, z.core.$strip>;
10
+ declare const ResendListContactsOutput: z.ZodObject<{
11
+ data: z.ZodArray<z.ZodObject<{
12
+ id: z.ZodNullable<z.ZodString>;
13
+ email: z.ZodNullable<z.ZodString>;
14
+ last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ created_at: z.ZodNullable<z.ZodString>;
16
+ first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ unsubscribed: z.ZodNullable<z.ZodBoolean>;
18
+ }, z.core.$strip>>;
19
+ object: z.ZodNullable<z.ZodString>;
20
+ has_more: z.ZodNullable<z.ZodBoolean>;
21
+ }, z.core.$strip>;
22
+ declare const resendListContacts: import("@keystrokehq/action").WorkflowActionDefinition<{
23
+ audienceId: string;
24
+ after?: string | undefined;
25
+ limit?: number | undefined;
26
+ before?: string | undefined;
27
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
28
  //#endregion
8
29
  export { resendListContacts };
9
30
  //# sourceMappingURL=list-contacts.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-contacts.d.mts","names":[],"sources":["../../src/actions/list-contacts.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAKtC;AAAA,cASW,wBAAA,EAA0B,CAAA,CAAE,UAIvC;AAAA,cAEW,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-contacts.d.mts","names":[],"sources":["../../src/actions/list-contacts.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;cAcvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAMxB,kBAAA,gCAAkB,wBAAA"}
@@ -8,12 +8,12 @@ const ResendListContactsInput = z.object({
8
8
  audienceId: z.string().describe("The Audience ID.")
9
9
  });
10
10
  const ResendListContacts_ContactSchema = z.object({
11
- id: z.string().describe("Unique contact identifier."),
12
- email: z.string().describe("Contact's email address."),
11
+ id: z.string().describe("Unique contact identifier.").nullable(),
12
+ email: z.string().describe("Contact's email address.").nullable(),
13
13
  last_name: z.string().describe("Contact's surname.").nullable().optional(),
14
- created_at: z.string().describe("Timestamp of contact creation in ISO 8601 format."),
14
+ created_at: z.string().describe("Timestamp of contact creation in ISO 8601 format.").nullable(),
15
15
  first_name: z.string().describe("Contact's given name.").nullable().optional(),
16
- unsubscribed: z.boolean().describe("Indicates subscription status.")
16
+ unsubscribed: z.boolean().describe("Indicates subscription status.").nullable()
17
17
  }).describe("Contact object representation.");
18
18
  const resendListContacts = action("RESEND_LIST_CONTACTS", {
19
19
  slug: "resend-list-contacts",
@@ -22,8 +22,8 @@ const resendListContacts = action("RESEND_LIST_CONTACTS", {
22
22
  input: ResendListContactsInput,
23
23
  output: z.object({
24
24
  data: z.array(ResendListContacts_ContactSchema).describe("Collection of contact objects."),
25
- object: z.string().describe("Identifier indicating this is a list response."),
26
- has_more: z.boolean().describe("Whether additional results are available for pagination.")
25
+ object: z.string().describe("Identifier indicating this is a list response.").nullable(),
26
+ has_more: z.boolean().describe("Whether additional results are available for pagination.").nullable()
27
27
  })
28
28
  });
29
29
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"list-contacts.mjs","names":[],"sources":["../../src/actions/list-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListContactsInput: z.ZodTypeAny = z.object({\n after: z.string().describe(\"Cursor ID for forward pagination.\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return. Max: 100.\").optional(),\n before: z.string().describe(\"Cursor ID for backward pagination.\").optional(),\n audienceId: z.string().describe(\"The Audience ID.\"),\n});\nconst ResendListContacts_ContactSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique contact identifier.\"),\n email: z.string().describe(\"Contact's email address.\"),\n last_name: z.string().describe(\"Contact's surname.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of contact creation in ISO 8601 format.\"),\n first_name: z.string().describe(\"Contact's given name.\").nullable().optional(),\n unsubscribed: z.boolean().describe(\"Indicates subscription status.\"),\n}).describe(\"Contact object representation.\");\nexport const ResendListContactsOutput: z.ZodTypeAny = z.object({\n data: z.array(ResendListContacts_ContactSchema).describe(\"Collection of contact objects.\"),\n object: z.string().describe(\"Identifier indicating this is a list response.\"),\n has_more: z.boolean().describe(\"Whether additional results are available for pagination.\"),\n});\n\nexport const resendListContacts = action(\"RESEND_LIST_CONTACTS\", {\n slug: \"resend-list-contacts\",\n name: \"List Contacts\",\n description: \"List contacts in Resend.\",\n input: ResendListContactsInput,\n output: ResendListContactsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwC,EAAE,OAAO;CAC5D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC5F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC3E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;AACpD,CAAC;AACD,MAAM,mCAAiD,EAAE,OAAO;CAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACpD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACrD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CACnF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC;AACrE,CAAC,CAAC,CAAC,SAAS,gCAAgC;AAO5C,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXoD,EAAE,OAAO;EAC7D,MAAM,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,gCAAgC;EACzF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;EAC5E,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D;CAC3F,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"list-contacts.mjs","names":[],"sources":["../../src/actions/list-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListContactsInput = z.object({\n after: z.string().describe(\"Cursor ID for forward pagination.\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return. Max: 100.\").optional(),\n before: z.string().describe(\"Cursor ID for backward pagination.\").optional(),\n audienceId: z.string().describe(\"The Audience ID.\"),\n});\nconst ResendListContacts_ContactSchema = z.object({\n id: z.string().describe(\"Unique contact identifier.\").nullable(),\n email: z.string().describe(\"Contact's email address.\").nullable(),\n last_name: z.string().describe(\"Contact's surname.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of contact creation in ISO 8601 format.\").nullable(),\n first_name: z.string().describe(\"Contact's given name.\").nullable().optional(),\n unsubscribed: z.boolean().describe(\"Indicates subscription status.\").nullable(),\n}).describe(\"Contact object representation.\");\nexport const ResendListContactsOutput = z.object({\n data: z.array(ResendListContacts_ContactSchema).describe(\"Collection of contact objects.\"),\n object: z.string().describe(\"Identifier indicating this is a list response.\").nullable(),\n has_more: z.boolean().describe(\"Whether additional results are available for pagination.\").nullable(),\n});\n\nexport const resendListContacts = action(\"RESEND_LIST_CONTACTS\", {\n slug: \"resend-list-contacts\",\n name: \"List Contacts\",\n description: \"List contacts in Resend.\",\n input: ResendListContactsInput,\n output: ResendListContactsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC5F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC3E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;AACpD,CAAC;AACD,MAAM,mCAAmC,EAAE,OAAO;CAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAChE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC9F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,SAAS,gCAAgC;AAO5C,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXsC,EAAE,OAAO;EAC/C,MAAM,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,gCAAgC;EACzF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EACvF,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACtG,CAOU;AACV,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"list-domains.cjs","names":["z","action"],"sources":["../../src/actions/list-domains.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListDomainsInput: z.ZodTypeAny = z.object({});\nconst ResendListDomains_DomainSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The id of the domain.\").nullable().optional(),\n name: z.string().describe(\"The name of the domain.\").nullable().optional(),\n region: z.string().describe(\"The region where emails will be sent from.\").nullable().optional(),\n status: z.string().describe(\"The status of the domain.\").nullable().optional(),\n created_at: z.string().describe(\"The creation timestamp of the domain.\").nullable().optional(),\n});\nexport const ResendListDomainsOutput: z.ZodTypeAny = z.object({\n domains: z.array(ResendListDomains_DomainSchema).describe(\"The list of domains.\").nullable().optional(),\n});\n\nexport const resendListDomains = action(\"RESEND_LIST_DOMAINS\", {\n slug: \"resend-list-domains\",\n name: \"List Domains\",\n description: \"List all domains. Use the returned domain IDs as inputs for tools like RESEND_VERIFY_DOMAIN that require a domain_id.\",\n input: ResendListDomainsInput,\n output: ResendListDomainsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAuCA,IAAAA,EAAE,OAAO,CAAC,CAAC;AAC/D,MAAM,iCAA+CA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC;AACD,MAAa,0BAAwCA,IAAAA,EAAE,OAAO,EAC5D,SAASA,IAAAA,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxG,CAAC;AAED,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-domains.cjs","names":["z","action"],"sources":["../../src/actions/list-domains.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListDomainsInput = z.object({});\nconst ResendListDomains_DomainSchema = z.object({\n id: z.string().describe(\"The id of the domain.\").nullable().optional(),\n name: z.string().describe(\"The name of the domain.\").nullable().optional(),\n region: z.string().describe(\"The region where emails will be sent from.\").nullable().optional(),\n status: z.string().describe(\"The status of the domain.\").nullable().optional(),\n created_at: z.string().describe(\"The creation timestamp of the domain.\").nullable().optional(),\n});\nexport const ResendListDomainsOutput = z.object({\n domains: z.array(ResendListDomains_DomainSchema).describe(\"The list of domains.\").nullable().optional(),\n});\n\nexport const resendListDomains = action(\"RESEND_LIST_DOMAINS\", {\n slug: \"resend-list-domains\",\n name: \"List Domains\",\n description: \"List all domains. Use the returned domain IDs as inputs for tools like RESEND_VERIFY_DOMAIN that require a domain_id.\",\n input: ResendListDomainsInput,\n output: ResendListDomainsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC;AACjD,MAAM,iCAAiCA,IAAAA,EAAE,OAAO;CAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC;AACD,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,SAASA,IAAAA,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxG,CAAC;AAED,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,17 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-domains.d.ts
4
- declare const ResendListDomainsInput: z.ZodTypeAny;
5
- declare const ResendListDomainsOutput: z.ZodTypeAny;
6
- declare const resendListDomains: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ResendListDomainsInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const ResendListDomainsOutput: z.ZodObject<{
6
+ domains: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
7
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ }, z.core.$strip>>>>;
13
+ }, z.core.$strip>;
14
+ declare const resendListDomains: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
15
  //#endregion
8
16
  export { resendListDomains };
9
17
  //# sourceMappingURL=list-domains.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-domains.d.cts","names":[],"sources":["../../src/actions/list-domains.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAAyB;AAAA,cAQnD,uBAAA,EAAyB,CAAA,CAAE,UAEtC;AAAA,cAEW,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-domains.d.cts","names":[],"sources":["../../src/actions/list-domains.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAQtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;cAIvB,iBAAA,gCAAiB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -1,9 +1,17 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-domains.d.ts
4
- declare const ResendListDomainsInput: z.ZodTypeAny;
5
- declare const ResendListDomainsOutput: z.ZodTypeAny;
6
- declare const resendListDomains: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ResendListDomainsInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const ResendListDomainsOutput: z.ZodObject<{
6
+ domains: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
7
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ }, z.core.$strip>>>>;
13
+ }, z.core.$strip>;
14
+ declare const resendListDomains: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
15
  //#endregion
8
16
  export { resendListDomains };
9
17
  //# sourceMappingURL=list-domains.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-domains.d.mts","names":[],"sources":["../../src/actions/list-domains.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAAyB;AAAA,cAQnD,uBAAA,EAAyB,CAAA,CAAE,UAEtC;AAAA,cAEW,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-domains.d.mts","names":[],"sources":["../../src/actions/list-domains.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAQtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;cAIvB,iBAAA,gCAAiB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"list-domains.mjs","names":[],"sources":["../../src/actions/list-domains.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListDomainsInput: z.ZodTypeAny = z.object({});\nconst ResendListDomains_DomainSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The id of the domain.\").nullable().optional(),\n name: z.string().describe(\"The name of the domain.\").nullable().optional(),\n region: z.string().describe(\"The region where emails will be sent from.\").nullable().optional(),\n status: z.string().describe(\"The status of the domain.\").nullable().optional(),\n created_at: z.string().describe(\"The creation timestamp of the domain.\").nullable().optional(),\n});\nexport const ResendListDomainsOutput: z.ZodTypeAny = z.object({\n domains: z.array(ResendListDomains_DomainSchema).describe(\"The list of domains.\").nullable().optional(),\n});\n\nexport const resendListDomains = action(\"RESEND_LIST_DOMAINS\", {\n slug: \"resend-list-domains\",\n name: \"List Domains\",\n description: \"List all domains. Use the returned domain IDs as inputs for tools like RESEND_VERIFY_DOMAIN that require a domain_id.\",\n input: ResendListDomainsInput,\n output: ResendListDomainsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAuC,EAAE,OAAO,CAAC,CAAC;AAC/D,MAAM,iCAA+C,EAAE,OAAO;CAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC;AAKD,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATmD,EAAE,OAAO,EAC5D,SAAS,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxG,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"list-domains.mjs","names":[],"sources":["../../src/actions/list-domains.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListDomainsInput = z.object({});\nconst ResendListDomains_DomainSchema = z.object({\n id: z.string().describe(\"The id of the domain.\").nullable().optional(),\n name: z.string().describe(\"The name of the domain.\").nullable().optional(),\n region: z.string().describe(\"The region where emails will be sent from.\").nullable().optional(),\n status: z.string().describe(\"The status of the domain.\").nullable().optional(),\n created_at: z.string().describe(\"The creation timestamp of the domain.\").nullable().optional(),\n});\nexport const ResendListDomainsOutput = z.object({\n domains: z.array(ResendListDomains_DomainSchema).describe(\"The list of domains.\").nullable().optional(),\n});\n\nexport const resendListDomains = action(\"RESEND_LIST_DOMAINS\", {\n slug: \"resend-list-domains\",\n name: \"List Domains\",\n description: \"List all domains. Use the returned domain IDs as inputs for tools like RESEND_VERIFY_DOMAIN that require a domain_id.\",\n input: ResendListDomainsInput,\n output: ResendListDomainsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyB,EAAE,OAAO,CAAC,CAAC;AACjD,MAAM,iCAAiC,EAAE,OAAO;CAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC;AAKD,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATqC,EAAE,OAAO,EAC9C,SAAS,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxG,CAOU;AACV,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"list-email-attachments.cjs","names":["z","action"],"sources":["../../src/actions/list-email-attachments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListEmailAttachmentsInput: z.ZodTypeAny = z.object({\n after: z.string().describe(\"Pagination cursor to fetch results after this attachment ID. Cannot be used with 'before'.\").optional(),\n limit: z.number().int().describe(\"Maximum number of attachments to return. Use for pagination.\").optional(),\n before: z.string().describe(\"Pagination cursor to fetch results before this attachment ID. Cannot be used with 'after'.\").optional(),\n email_id: z.string().describe(\"The ID of the email to retrieve attachments from.\"),\n});\nconst ResendListEmailAttachments_AttachmentSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique ID of the attachment.\").nullable().optional(),\n size: z.number().int().describe(\"The size of the attachment in bytes.\").nullable().optional(),\n filename: z.string().describe(\"The filename of the attachment.\").nullable().optional(),\n content_id: z.string().describe(\"The content ID of the attachment, used for inline images.\").nullable().optional(),\n expires_at: z.string().describe(\"The timestamp when the download URL expires.\").nullable().optional(),\n content_type: z.string().describe(\"The MIME type of the attachment (e.g., 'application/pdf', 'image/png').\").nullable().optional(),\n download_url: z.string().describe(\"The URL to download the attachment.\").nullable().optional(),\n content_disposition: z.string().describe(\"The content disposition of the attachment (e.g., 'attachment', 'inline').\").nullable().optional(),\n});\nexport const ResendListEmailAttachmentsOutput: z.ZodTypeAny = z.object({\n data: z.array(ResendListEmailAttachments_AttachmentSchema).describe(\"Array containing attachment information.\").nullable().optional(),\n object: z.string().describe(\"The type of object, which is 'list'.\").nullable().optional(),\n has_more: z.boolean().describe(\"Indicates if there are more results available for pagination.\").nullable().optional(),\n});\n\nexport const resendListEmailAttachments = action(\"RESEND_LIST_EMAIL_ATTACHMENTS\", {\n slug: \"resend-list-email-attachments\",\n name: \"List Email Attachments\",\n description: \"Tool to retrieve a list of attachments from a sent email. Use when you need to get information about files attached to an email sent via Resend.\",\n input: ResendListEmailAttachmentsInput,\n output: ResendListEmailAttachmentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CAClI,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC1G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CACnI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;AACnF,CAAC;AACD,MAAM,8CAA4DA,IAAAA,EAAE,OAAO;CACzE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5I,CAAC;AACD,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,MAAMA,IAAAA,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC;AAED,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-email-attachments.cjs","names":["z","action"],"sources":["../../src/actions/list-email-attachments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListEmailAttachmentsInput = z.object({\n after: z.string().describe(\"Pagination cursor to fetch results after this attachment ID. Cannot be used with 'before'.\").optional(),\n limit: z.number().int().describe(\"Maximum number of attachments to return. Use for pagination.\").optional(),\n before: z.string().describe(\"Pagination cursor to fetch results before this attachment ID. Cannot be used with 'after'.\").optional(),\n email_id: z.string().describe(\"The ID of the email to retrieve attachments from.\"),\n});\nconst ResendListEmailAttachments_AttachmentSchema = z.object({\n id: z.string().describe(\"The unique ID of the attachment.\").nullable().optional(),\n size: z.number().int().describe(\"The size of the attachment in bytes.\").nullable().optional(),\n filename: z.string().describe(\"The filename of the attachment.\").nullable().optional(),\n content_id: z.string().describe(\"The content ID of the attachment, used for inline images.\").nullable().optional(),\n expires_at: z.string().describe(\"The timestamp when the download URL expires.\").nullable().optional(),\n content_type: z.string().describe(\"The MIME type of the attachment (e.g., 'application/pdf', 'image/png').\").nullable().optional(),\n download_url: z.string().describe(\"The URL to download the attachment.\").nullable().optional(),\n content_disposition: z.string().describe(\"The content disposition of the attachment (e.g., 'attachment', 'inline').\").nullable().optional(),\n});\nexport const ResendListEmailAttachmentsOutput = z.object({\n data: z.array(ResendListEmailAttachments_AttachmentSchema).describe(\"Array containing attachment information.\").nullable().optional(),\n object: z.string().describe(\"The type of object, which is 'list'.\").nullable().optional(),\n has_more: z.boolean().describe(\"Indicates if there are more results available for pagination.\").nullable().optional(),\n});\n\nexport const resendListEmailAttachments = action(\"RESEND_LIST_EMAIL_ATTACHMENTS\", {\n slug: \"resend-list-email-attachments\",\n name: \"List Email Attachments\",\n description: \"Tool to retrieve a list of attachments from a sent email. Use when you need to get information about files attached to an email sent via Resend.\",\n input: ResendListEmailAttachmentsInput,\n output: ResendListEmailAttachmentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CAClI,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC1G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CACnI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;AACnF,CAAC;AACD,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5I,CAAC;AACD,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC;AAED,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,32 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-email-attachments.d.ts
4
- declare const ResendListEmailAttachmentsInput: z.ZodTypeAny;
5
- declare const ResendListEmailAttachmentsOutput: z.ZodTypeAny;
6
- declare const resendListEmailAttachments: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ResendListEmailAttachmentsInput: z.ZodObject<{
5
+ after: z.ZodOptional<z.ZodString>;
6
+ limit: z.ZodOptional<z.ZodNumber>;
7
+ before: z.ZodOptional<z.ZodString>;
8
+ email_id: z.ZodString;
9
+ }, z.core.$strip>;
10
+ declare const ResendListEmailAttachmentsOutput: z.ZodObject<{
11
+ data: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
12
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
+ filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ content_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ expires_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ download_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ content_disposition: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ }, z.core.$strip>>>>;
21
+ object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ has_more: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
23
+ }, z.core.$strip>;
24
+ declare const resendListEmailAttachments: import("@keystrokehq/action").WorkflowActionDefinition<{
25
+ email_id: string;
26
+ after?: string | undefined;
27
+ limit?: number | undefined;
28
+ before?: string | undefined;
29
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
30
  //#endregion
8
31
  export { resendListEmailAttachments };
9
32
  //# sourceMappingURL=list-email-attachments.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-email-attachments.d.cts","names":[],"sources":["../../src/actions/list-email-attachments.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAK9C;AAAA,cAWW,gCAAA,EAAkC,CAAA,CAAE,UAI/C;AAAA,cAEW,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-email-attachments.d.cts","names":[],"sources":["../../src/actions/list-email-attachments.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;cAgB/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAMhC,0BAAA,gCAA0B,wBAAA"}
@@ -1,9 +1,32 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-email-attachments.d.ts
4
- declare const ResendListEmailAttachmentsInput: z.ZodTypeAny;
5
- declare const ResendListEmailAttachmentsOutput: z.ZodTypeAny;
6
- declare const resendListEmailAttachments: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ResendListEmailAttachmentsInput: z.ZodObject<{
5
+ after: z.ZodOptional<z.ZodString>;
6
+ limit: z.ZodOptional<z.ZodNumber>;
7
+ before: z.ZodOptional<z.ZodString>;
8
+ email_id: z.ZodString;
9
+ }, z.core.$strip>;
10
+ declare const ResendListEmailAttachmentsOutput: z.ZodObject<{
11
+ data: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
12
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
+ filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ content_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ expires_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ download_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ content_disposition: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ }, z.core.$strip>>>>;
21
+ object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ has_more: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
23
+ }, z.core.$strip>;
24
+ declare const resendListEmailAttachments: import("@keystrokehq/action").WorkflowActionDefinition<{
25
+ email_id: string;
26
+ after?: string | undefined;
27
+ limit?: number | undefined;
28
+ before?: string | undefined;
29
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
30
  //#endregion
8
31
  export { resendListEmailAttachments };
9
32
  //# sourceMappingURL=list-email-attachments.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-email-attachments.d.mts","names":[],"sources":["../../src/actions/list-email-attachments.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAK9C;AAAA,cAWW,gCAAA,EAAkC,CAAA,CAAE,UAI/C;AAAA,cAEW,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-email-attachments.d.mts","names":[],"sources":["../../src/actions/list-email-attachments.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;cAgB/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAMhC,0BAAA,gCAA0B,wBAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"list-email-attachments.mjs","names":[],"sources":["../../src/actions/list-email-attachments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListEmailAttachmentsInput: z.ZodTypeAny = z.object({\n after: z.string().describe(\"Pagination cursor to fetch results after this attachment ID. Cannot be used with 'before'.\").optional(),\n limit: z.number().int().describe(\"Maximum number of attachments to return. Use for pagination.\").optional(),\n before: z.string().describe(\"Pagination cursor to fetch results before this attachment ID. Cannot be used with 'after'.\").optional(),\n email_id: z.string().describe(\"The ID of the email to retrieve attachments from.\"),\n});\nconst ResendListEmailAttachments_AttachmentSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique ID of the attachment.\").nullable().optional(),\n size: z.number().int().describe(\"The size of the attachment in bytes.\").nullable().optional(),\n filename: z.string().describe(\"The filename of the attachment.\").nullable().optional(),\n content_id: z.string().describe(\"The content ID of the attachment, used for inline images.\").nullable().optional(),\n expires_at: z.string().describe(\"The timestamp when the download URL expires.\").nullable().optional(),\n content_type: z.string().describe(\"The MIME type of the attachment (e.g., 'application/pdf', 'image/png').\").nullable().optional(),\n download_url: z.string().describe(\"The URL to download the attachment.\").nullable().optional(),\n content_disposition: z.string().describe(\"The content disposition of the attachment (e.g., 'attachment', 'inline').\").nullable().optional(),\n});\nexport const ResendListEmailAttachmentsOutput: z.ZodTypeAny = z.object({\n data: z.array(ResendListEmailAttachments_AttachmentSchema).describe(\"Array containing attachment information.\").nullable().optional(),\n object: z.string().describe(\"The type of object, which is 'list'.\").nullable().optional(),\n has_more: z.boolean().describe(\"Indicates if there are more results available for pagination.\").nullable().optional(),\n});\n\nexport const resendListEmailAttachments = action(\"RESEND_LIST_EMAIL_ATTACHMENTS\", {\n slug: \"resend-list-email-attachments\",\n name: \"List Email Attachments\",\n description: \"Tool to retrieve a list of attachments from a sent email. Use when you need to get information about files attached to an email sent via Resend.\",\n input: ResendListEmailAttachmentsInput,\n output: ResendListEmailAttachmentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgD,EAAE,OAAO;CACpE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CAClI,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC1G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CACnI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;AACnF,CAAC;AACD,MAAM,8CAA4D,EAAE,OAAO;CACzE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5I,CAAC;AAOD,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX4D,EAAE,OAAO;EACrE,MAAM,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"list-email-attachments.mjs","names":[],"sources":["../../src/actions/list-email-attachments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListEmailAttachmentsInput = z.object({\n after: z.string().describe(\"Pagination cursor to fetch results after this attachment ID. Cannot be used with 'before'.\").optional(),\n limit: z.number().int().describe(\"Maximum number of attachments to return. Use for pagination.\").optional(),\n before: z.string().describe(\"Pagination cursor to fetch results before this attachment ID. Cannot be used with 'after'.\").optional(),\n email_id: z.string().describe(\"The ID of the email to retrieve attachments from.\"),\n});\nconst ResendListEmailAttachments_AttachmentSchema = z.object({\n id: z.string().describe(\"The unique ID of the attachment.\").nullable().optional(),\n size: z.number().int().describe(\"The size of the attachment in bytes.\").nullable().optional(),\n filename: z.string().describe(\"The filename of the attachment.\").nullable().optional(),\n content_id: z.string().describe(\"The content ID of the attachment, used for inline images.\").nullable().optional(),\n expires_at: z.string().describe(\"The timestamp when the download URL expires.\").nullable().optional(),\n content_type: z.string().describe(\"The MIME type of the attachment (e.g., 'application/pdf', 'image/png').\").nullable().optional(),\n download_url: z.string().describe(\"The URL to download the attachment.\").nullable().optional(),\n content_disposition: z.string().describe(\"The content disposition of the attachment (e.g., 'attachment', 'inline').\").nullable().optional(),\n});\nexport const ResendListEmailAttachmentsOutput = z.object({\n data: z.array(ResendListEmailAttachments_AttachmentSchema).describe(\"Array containing attachment information.\").nullable().optional(),\n object: z.string().describe(\"The type of object, which is 'list'.\").nullable().optional(),\n has_more: z.boolean().describe(\"Indicates if there are more results available for pagination.\").nullable().optional(),\n});\n\nexport const resendListEmailAttachments = action(\"RESEND_LIST_EMAIL_ATTACHMENTS\", {\n slug: \"resend-list-email-attachments\",\n name: \"List Email Attachments\",\n description: \"Tool to retrieve a list of attachments from a sent email. Use when you need to get information about files attached to an email sent via Resend.\",\n input: ResendListEmailAttachmentsInput,\n output: ResendListEmailAttachmentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO;CACtD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CAClI,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC1G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CACnI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;AACnF,CAAC;AACD,MAAM,8CAA8C,EAAE,OAAO;CAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5I,CAAC;AAOD,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX8C,EAAE,OAAO;EACvD,MAAM,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,CAOU;AACV,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"list-emails.cjs","names":["z","action"],"sources":["../../src/actions/list-emails.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListEmailsInput: z.ZodTypeAny = z.object({\n after: z.string().describe(\"Pagination cursor to fetch results after this email ID. Cannot be used with 'before'.\").optional(),\n limit: z.number().int().describe(\"Maximum number of emails to return. Default 20, max 100, min 1.\").optional(),\n before: z.string().describe(\"Pagination cursor to fetch results before this email ID. Cannot be used with 'after'.\").optional(),\n});\nconst ResendListEmails_EmailSchema: z.ZodTypeAny = z.object({\n cc: z.array(z.string()).describe(\"Carbon copy recipient(s).\").nullable().optional(),\n id: z.string().describe(\"Unique email identifier.\").nullable().optional(),\n to: z.array(z.string()).describe(\"Recipient email address(es).\").nullable().optional(),\n bcc: z.array(z.string()).describe(\"Blind carbon copy recipient(s).\").nullable().optional(),\n from: z.string().describe(\"Sender email address.\").nullable().optional(),\n html: z.string().describe(\"HTML content of the email.\").nullable().optional(),\n text: z.string().describe(\"Plain text content of the email.\").nullable().optional(),\n subject: z.string().describe(\"Email subject line.\").nullable().optional(),\n reply_to: z.array(z.string()).describe(\"Reply-to email address(es).\").nullable().optional(),\n created_at: z.string().describe(\"ISO timestamp of email creation.\").nullable().optional(),\n last_event: z.string().describe(\"Final delivery status (e.g., 'delivered', 'opened').\").nullable().optional(),\n scheduled_at: z.string().describe(\"ISO timestamp if email was scheduled.\").nullable().optional(),\n});\nexport const ResendListEmailsOutput: z.ZodTypeAny = z.object({\n data: z.array(ResendListEmails_EmailSchema).describe(\"Array containing email information.\").nullable().optional(),\n object: z.string().describe(\"Type of the response object, which is 'list'.\").nullable().optional(),\n has_more: z.boolean().describe(\"Indicates if there are more results available.\").nullable().optional(),\n});\n\nexport const resendListEmails = action(\"RESEND_LIST_EMAILS\", {\n slug: \"resend-list-emails\",\n name: \"List Emails\",\n description: \"Tool to retrieve a list of emails sent by your team. Use when you need to fetch outbound emails from your account. Supports pagination with limit, after, and before parameters.\",\n input: ResendListEmailsInput,\n output: ResendListEmailsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAsCA,IAAAA,EAAE,OAAO;CAC1D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CAC7H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAC7G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;AAChI,CAAC;AACD,MAAM,+BAA6CA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,IAAIA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,KAAKA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC;AACD,MAAa,yBAAuCA,IAAAA,EAAE,OAAO;CAC3D,MAAMA,IAAAA,EAAE,MAAM,4BAA4B,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC;AAED,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-emails.cjs","names":["z","action"],"sources":["../../src/actions/list-emails.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListEmailsInput = z.object({\n after: z.string().describe(\"Pagination cursor to fetch results after this email ID. Cannot be used with 'before'.\").optional(),\n limit: z.number().int().describe(\"Maximum number of emails to return. Default 20, max 100, min 1.\").optional(),\n before: z.string().describe(\"Pagination cursor to fetch results before this email ID. Cannot be used with 'after'.\").optional(),\n});\nconst ResendListEmails_EmailSchema = z.object({\n cc: z.array(z.string()).describe(\"Carbon copy recipient(s).\").nullable().optional(),\n id: z.string().describe(\"Unique email identifier.\").nullable().optional(),\n to: z.array(z.string()).describe(\"Recipient email address(es).\").nullable().optional(),\n bcc: z.array(z.string()).describe(\"Blind carbon copy recipient(s).\").nullable().optional(),\n from: z.string().describe(\"Sender email address.\").nullable().optional(),\n html: z.string().describe(\"HTML content of the email.\").nullable().optional(),\n text: z.string().describe(\"Plain text content of the email.\").nullable().optional(),\n subject: z.string().describe(\"Email subject line.\").nullable().optional(),\n reply_to: z.array(z.string()).describe(\"Reply-to email address(es).\").nullable().optional(),\n created_at: z.string().describe(\"ISO timestamp of email creation.\").nullable().optional(),\n last_event: z.string().describe(\"Final delivery status (e.g., 'delivered', 'opened').\").nullable().optional(),\n scheduled_at: z.string().describe(\"ISO timestamp if email was scheduled.\").nullable().optional(),\n});\nexport const ResendListEmailsOutput = z.object({\n data: z.array(ResendListEmails_EmailSchema).describe(\"Array containing email information.\").nullable().optional(),\n object: z.string().describe(\"Type of the response object, which is 'list'.\").nullable().optional(),\n has_more: z.boolean().describe(\"Indicates if there are more results available.\").nullable().optional(),\n});\n\nexport const resendListEmails = action(\"RESEND_LIST_EMAILS\", {\n slug: \"resend-list-emails\",\n name: \"List Emails\",\n description: \"Tool to retrieve a list of emails sent by your team. Use when you need to fetch outbound emails from your account. Supports pagination with limit, after, and before parameters.\",\n input: ResendListEmailsInput,\n output: ResendListEmailsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CAC7H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAC7G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;AAChI,CAAC;AACD,MAAM,+BAA+BA,IAAAA,EAAE,OAAO;CAC5C,IAAIA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,IAAIA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,KAAKA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC;AACD,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,MAAMA,IAAAA,EAAE,MAAM,4BAA4B,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC;AAED,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}