@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
@@ -1 +1 @@
1
- {"version":3,"file":"create-contact.cjs","names":["z","action"],"sources":["../../src/actions/create-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendCreateContactInput: z.ZodTypeAny = z.object({\n email: z.string().describe(\"The email address of the contact. Must be a valid RFC-compliant email address.\"),\n lastName: z.string().describe(\"The last name of the contact.\").optional(),\n firstName: z.string().describe(\"The first name of the contact.\").optional(),\n audienceId: z.string().describe(\"The Audience ID.\"),\n unsubscribed: z.boolean().describe(\"The subscription status.\").optional(),\n});\nexport const ResendCreateContactOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The id of the created contact.\").nullable().optional(),\n object: z.string().describe(\"The type of object, which is 'contact'.\").nullable().optional(),\n});\n\nexport const resendCreateContact = action(\"RESEND_CREATE_CONTACT\", {\n slug: \"resend-create-contact\",\n name: \"Create Contact\",\n description: \"Create a contact in Resend.\",\n input: ResendCreateContactInput,\n output: ResendCreateContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF;CAC3G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACxE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC1E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAClD,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;AAC1E,CAAC;AACD,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7F,CAAC;AAED,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-contact.cjs","names":["z","action"],"sources":["../../src/actions/create-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendCreateContactInput = z.object({\n email: z.string().describe(\"The email address of the contact. Must be a valid RFC-compliant email address.\"),\n lastName: z.string().describe(\"The last name of the contact.\").optional(),\n firstName: z.string().describe(\"The first name of the contact.\").optional(),\n audienceId: z.string().describe(\"The Audience ID.\"),\n unsubscribed: z.boolean().describe(\"The subscription status.\").optional(),\n});\nexport const ResendCreateContactOutput = z.object({\n id: z.string().describe(\"The id of the created contact.\").nullable().optional(),\n object: z.string().describe(\"The type of object, which is 'contact'.\").nullable().optional(),\n});\n\nexport const resendCreateContact = action(\"RESEND_CREATE_CONTACT\", {\n slug: \"resend-create-contact\",\n name: \"Create Contact\",\n description: \"Create a contact in Resend.\",\n input: ResendCreateContactInput,\n output: ResendCreateContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF;CAC3G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACxE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC1E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAClD,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;AAC1E,CAAC;AACD,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7F,CAAC;AAED,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,24 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-contact.d.ts
4
- declare const ResendCreateContactInput: z.ZodTypeAny;
5
- declare const ResendCreateContactOutput: z.ZodTypeAny;
6
- declare const resendCreateContact: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ResendCreateContactInput: z.ZodObject<{
5
+ email: z.ZodString;
6
+ lastName: z.ZodOptional<z.ZodString>;
7
+ firstName: z.ZodOptional<z.ZodString>;
8
+ audienceId: z.ZodString;
9
+ unsubscribed: z.ZodOptional<z.ZodBoolean>;
10
+ }, z.core.$strip>;
11
+ declare const ResendCreateContactOutput: z.ZodObject<{
12
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ }, z.core.$strip>;
15
+ declare const resendCreateContact: import("@keystrokehq/action").WorkflowActionDefinition<{
16
+ email: string;
17
+ audienceId: string;
18
+ lastName?: string | undefined;
19
+ firstName?: string | undefined;
20
+ unsubscribed?: boolean | undefined;
21
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
22
  //#endregion
8
23
  export { resendCreateContact };
9
24
  //# sourceMappingURL=create-contact.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-contact.d.cts","names":[],"sources":["../../src/actions/create-contact.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAMvC;AAAA,cACW,yBAAA,EAA2B,CAAA,CAAE,UAGxC;AAAA,cAEW,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-contact.d.cts","names":[],"sources":["../../src/actions/create-contact.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;cAOxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAKzB,mBAAA,gCAAmB,wBAAA"}
@@ -1,9 +1,24 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-contact.d.ts
4
- declare const ResendCreateContactInput: z.ZodTypeAny;
5
- declare const ResendCreateContactOutput: z.ZodTypeAny;
6
- declare const resendCreateContact: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ResendCreateContactInput: z.ZodObject<{
5
+ email: z.ZodString;
6
+ lastName: z.ZodOptional<z.ZodString>;
7
+ firstName: z.ZodOptional<z.ZodString>;
8
+ audienceId: z.ZodString;
9
+ unsubscribed: z.ZodOptional<z.ZodBoolean>;
10
+ }, z.core.$strip>;
11
+ declare const ResendCreateContactOutput: z.ZodObject<{
12
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ }, z.core.$strip>;
15
+ declare const resendCreateContact: import("@keystrokehq/action").WorkflowActionDefinition<{
16
+ email: string;
17
+ audienceId: string;
18
+ lastName?: string | undefined;
19
+ firstName?: string | undefined;
20
+ unsubscribed?: boolean | undefined;
21
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
22
  //#endregion
8
23
  export { resendCreateContact };
9
24
  //# sourceMappingURL=create-contact.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-contact.d.mts","names":[],"sources":["../../src/actions/create-contact.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAMvC;AAAA,cACW,yBAAA,EAA2B,CAAA,CAAE,UAGxC;AAAA,cAEW,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-contact.d.mts","names":[],"sources":["../../src/actions/create-contact.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;cAOxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAKzB,mBAAA,gCAAmB,wBAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"create-contact.mjs","names":[],"sources":["../../src/actions/create-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendCreateContactInput: z.ZodTypeAny = z.object({\n email: z.string().describe(\"The email address of the contact. Must be a valid RFC-compliant email address.\"),\n lastName: z.string().describe(\"The last name of the contact.\").optional(),\n firstName: z.string().describe(\"The first name of the contact.\").optional(),\n audienceId: z.string().describe(\"The Audience ID.\"),\n unsubscribed: z.boolean().describe(\"The subscription status.\").optional(),\n});\nexport const ResendCreateContactOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The id of the created contact.\").nullable().optional(),\n object: z.string().describe(\"The type of object, which is 'contact'.\").nullable().optional(),\n});\n\nexport const resendCreateContact = action(\"RESEND_CREATE_CONTACT\", {\n slug: \"resend-create-contact\",\n name: \"Create Contact\",\n description: \"Create a contact in Resend.\",\n input: ResendCreateContactInput,\n output: ResendCreateContactOutput,\n});\n"],"mappings":";;AAgBA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBoD,EAAE,OAAO;EAC7D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF;EAC3G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACxE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EAC1E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;EAClD,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC1E,CAUS;CACP,QAVqD,EAAE,OAAO;EAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"create-contact.mjs","names":[],"sources":["../../src/actions/create-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendCreateContactInput = z.object({\n email: z.string().describe(\"The email address of the contact. Must be a valid RFC-compliant email address.\"),\n lastName: z.string().describe(\"The last name of the contact.\").optional(),\n firstName: z.string().describe(\"The first name of the contact.\").optional(),\n audienceId: z.string().describe(\"The Audience ID.\"),\n unsubscribed: z.boolean().describe(\"The subscription status.\").optional(),\n});\nexport const ResendCreateContactOutput = z.object({\n id: z.string().describe(\"The id of the created contact.\").nullable().optional(),\n object: z.string().describe(\"The type of object, which is 'contact'.\").nullable().optional(),\n});\n\nexport const resendCreateContact = action(\"RESEND_CREATE_CONTACT\", {\n slug: \"resend-create-contact\",\n name: \"Create Contact\",\n description: \"Create a contact in Resend.\",\n input: ResendCreateContactInput,\n output: ResendCreateContactOutput,\n});\n"],"mappings":";;AAgBA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBsC,EAAE,OAAO;EAC/C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF;EAC3G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACxE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EAC1E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;EAClD,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC1E,CAUS;CACP,QAVuC,EAAE,OAAO;EAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,CAOU;AACV,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"create-domain.cjs","names":["z","action"],"sources":["../../src/actions/create-domain.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendCreateDomainInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The name of the domain to be created.\"),\n region: z.enum([\"us-east-1\", \"eu-west-1\", \"sa-east-1\", \"ap-northeast-1\"]).default(\"us-east-1\").describe(\"The region where emails will be sent from. Supported values: 'us-east-1', 'eu-west-1', 'sa-east-1'. Unsupported values cause validation errors.\").optional(),\n});\nconst ResendCreateDomain_DnsRecordSchema: z.ZodTypeAny = z.object({\n ttl: z.string().describe(\"The TTL (time to live) for this record.\").nullable().optional(),\n name: z.string().describe(\"The DNS record name.\").nullable().optional(),\n type: z.string().describe(\"The DNS record type (TXT, MX).\").nullable().optional(),\n value: z.string().describe(\"The DNS record value.\").nullable().optional(),\n record: z.string().describe(\"The type of record (DKIM, SPF).\").nullable().optional(),\n status: z.string().describe(\"The verification status of this record.\").nullable().optional(),\n priority: z.number().int().describe(\"The priority for MX records.\").nullable().optional(),\n}).describe(\"DNS record information for domain verification.\");\nconst ResendCreateDomain_DomainCapabilitiesSchema: z.ZodTypeAny = z.object({\n sending: z.string().describe(\"Whether sending emails is enabled or disabled for this domain.\").nullable().optional(),\n receiving: z.string().describe(\"Whether receiving emails is enabled or disabled for this domain.\").nullable().optional(),\n}).describe(\"Domain sending and receiving capabilities.\");\nexport const ResendCreateDomainOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The id of the created domain.\").nullable().optional(),\n name: z.string().describe(\"The name of the created 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 creation (not_started, pending, verified, failed).\").nullable().optional(),\n records: z.array(ResendCreateDomain_DnsRecordSchema).describe(\"The DNS records that need to be configured for domain verification.\").nullable().optional(),\n created_at: z.string().describe(\"The creation timestamp of the domain.\").nullable().optional(),\n capabilities: ResendCreateDomain_DomainCapabilitiesSchema.nullable().optional(),\n});\n\nexport const resendCreateDomain = action(\"RESEND_CREATE_DOMAIN\", {\n slug: \"resend-create-domain\",\n name: \"Create Domain\",\n description: \"Create a domain through the Resend Email API. The domain is created in a pending/unverified state and cannot be used for sending emails until DNS verification is completed.\",\n input: ResendCreateDomainInput,\n output: ResendCreateDomainOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwCA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACjE,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAa;EAAa;EAAa;CAAgB,CAAC,CAAC,CAAC,QAAQ,WAAW,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS;AACtQ,CAAC;AACD,MAAM,qCAAmDA,IAAAA,EAAE,OAAO;CAChE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,8CAA4DA,IAAAA,EAAE,OAAO;CACzE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,SAASA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,cAAc,4CAA4C,SAAS,CAAC,CAAC,SAAS;AAChF,CAAC;AAED,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-domain.cjs","names":["z","action"],"sources":["../../src/actions/create-domain.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendCreateDomainInput = z.object({\n name: z.string().describe(\"The name of the domain to be created.\"),\n region: z.enum([\"us-east-1\", \"eu-west-1\", \"sa-east-1\", \"ap-northeast-1\"]).default(\"us-east-1\").describe(\"The region where emails will be sent from. Supported values: 'us-east-1', 'eu-west-1', 'sa-east-1'. Unsupported values cause validation errors.\").optional(),\n});\nconst ResendCreateDomain_DnsRecordSchema = z.object({\n ttl: z.string().describe(\"The TTL (time to live) for this record.\").nullable().optional(),\n name: z.string().describe(\"The DNS record name.\").nullable().optional(),\n type: z.string().describe(\"The DNS record type (TXT, MX).\").nullable().optional(),\n value: z.string().describe(\"The DNS record value.\").nullable().optional(),\n record: z.string().describe(\"The type of record (DKIM, SPF).\").nullable().optional(),\n status: z.string().describe(\"The verification status of this record.\").nullable().optional(),\n priority: z.number().int().describe(\"The priority for MX records.\").nullable().optional(),\n}).describe(\"DNS record information for domain verification.\");\nconst ResendCreateDomain_DomainCapabilitiesSchema = z.object({\n sending: z.string().describe(\"Whether sending emails is enabled or disabled for this domain.\").nullable().optional(),\n receiving: z.string().describe(\"Whether receiving emails is enabled or disabled for this domain.\").nullable().optional(),\n}).describe(\"Domain sending and receiving capabilities.\");\nexport const ResendCreateDomainOutput = z.object({\n id: z.string().describe(\"The id of the created domain.\").nullable().optional(),\n name: z.string().describe(\"The name of the created 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 creation (not_started, pending, verified, failed).\").nullable().optional(),\n records: z.array(ResendCreateDomain_DnsRecordSchema).describe(\"The DNS records that need to be configured for domain verification.\").nullable().optional(),\n created_at: z.string().describe(\"The creation timestamp of the domain.\").nullable().optional(),\n capabilities: ResendCreateDomain_DomainCapabilitiesSchema.nullable().optional(),\n});\n\nexport const resendCreateDomain = action(\"RESEND_CREATE_DOMAIN\", {\n slug: \"resend-create-domain\",\n name: \"Create Domain\",\n description: \"Create a domain through the Resend Email API. The domain is created in a pending/unverified state and cannot be used for sending emails until DNS verification is completed.\",\n input: ResendCreateDomainInput,\n output: ResendCreateDomainOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACjE,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAa;EAAa;EAAa;CAAgB,CAAC,CAAC,CAAC,QAAQ,WAAW,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS;AACtQ,CAAC;AACD,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,SAASA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,cAAc,4CAA4C,SAAS,CAAC,CAAC,SAAS;AAChF,CAAC;AAED,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,39 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-domain.d.ts
4
- declare const ResendCreateDomainInput: z.ZodTypeAny;
5
- declare const ResendCreateDomainOutput: z.ZodTypeAny;
6
- declare const resendCreateDomain: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ResendCreateDomainInput: z.ZodObject<{
5
+ name: z.ZodString;
6
+ region: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
7
+ "us-east-1": "us-east-1";
8
+ "eu-west-1": "eu-west-1";
9
+ "sa-east-1": "sa-east-1";
10
+ "ap-northeast-1": "ap-northeast-1";
11
+ }>>>;
12
+ }, z.core.$strip>;
13
+ declare const ResendCreateDomainOutput: z.ZodObject<{
14
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ records: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
19
+ ttl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ record: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ priority: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
26
+ }, z.core.$strip>>>>;
27
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ capabilities: z.ZodOptional<z.ZodNullable<z.ZodObject<{
29
+ sending: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ receiving: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ }, z.core.$strip>>>;
32
+ }, z.core.$strip>;
33
+ declare const resendCreateDomain: import("@keystrokehq/action").WorkflowActionDefinition<{
34
+ name: string;
35
+ region?: "us-east-1" | "eu-west-1" | "sa-east-1" | "ap-northeast-1" | undefined;
36
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
37
  //#endregion
8
38
  export { resendCreateDomain };
9
39
  //# sourceMappingURL=create-domain.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-domain.d.cts","names":[],"sources":["../../src/actions/create-domain.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAGtC;AAAA,cAcW,wBAAA,EAA0B,CAAA,CAAE,UAQvC;AAAA,cAEW,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-domain.d.cts","names":[],"sources":["../../src/actions/create-domain.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;cAiBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAUxB,kBAAA,gCAAkB,wBAAA"}
@@ -1,9 +1,39 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-domain.d.ts
4
- declare const ResendCreateDomainInput: z.ZodTypeAny;
5
- declare const ResendCreateDomainOutput: z.ZodTypeAny;
6
- declare const resendCreateDomain: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ResendCreateDomainInput: z.ZodObject<{
5
+ name: z.ZodString;
6
+ region: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
7
+ "us-east-1": "us-east-1";
8
+ "eu-west-1": "eu-west-1";
9
+ "sa-east-1": "sa-east-1";
10
+ "ap-northeast-1": "ap-northeast-1";
11
+ }>>>;
12
+ }, z.core.$strip>;
13
+ declare const ResendCreateDomainOutput: z.ZodObject<{
14
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ records: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
19
+ ttl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ record: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ priority: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
26
+ }, z.core.$strip>>>>;
27
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ capabilities: z.ZodOptional<z.ZodNullable<z.ZodObject<{
29
+ sending: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ receiving: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ }, z.core.$strip>>>;
32
+ }, z.core.$strip>;
33
+ declare const resendCreateDomain: import("@keystrokehq/action").WorkflowActionDefinition<{
34
+ name: string;
35
+ region?: "us-east-1" | "eu-west-1" | "sa-east-1" | "ap-northeast-1" | undefined;
36
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
37
  //#endregion
8
38
  export { resendCreateDomain };
9
39
  //# sourceMappingURL=create-domain.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-domain.d.mts","names":[],"sources":["../../src/actions/create-domain.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAGtC;AAAA,cAcW,wBAAA,EAA0B,CAAA,CAAE,UAQvC;AAAA,cAEW,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-domain.d.mts","names":[],"sources":["../../src/actions/create-domain.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;cAiBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAUxB,kBAAA,gCAAkB,wBAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"create-domain.mjs","names":[],"sources":["../../src/actions/create-domain.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendCreateDomainInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The name of the domain to be created.\"),\n region: z.enum([\"us-east-1\", \"eu-west-1\", \"sa-east-1\", \"ap-northeast-1\"]).default(\"us-east-1\").describe(\"The region where emails will be sent from. Supported values: 'us-east-1', 'eu-west-1', 'sa-east-1'. Unsupported values cause validation errors.\").optional(),\n});\nconst ResendCreateDomain_DnsRecordSchema: z.ZodTypeAny = z.object({\n ttl: z.string().describe(\"The TTL (time to live) for this record.\").nullable().optional(),\n name: z.string().describe(\"The DNS record name.\").nullable().optional(),\n type: z.string().describe(\"The DNS record type (TXT, MX).\").nullable().optional(),\n value: z.string().describe(\"The DNS record value.\").nullable().optional(),\n record: z.string().describe(\"The type of record (DKIM, SPF).\").nullable().optional(),\n status: z.string().describe(\"The verification status of this record.\").nullable().optional(),\n priority: z.number().int().describe(\"The priority for MX records.\").nullable().optional(),\n}).describe(\"DNS record information for domain verification.\");\nconst ResendCreateDomain_DomainCapabilitiesSchema: z.ZodTypeAny = z.object({\n sending: z.string().describe(\"Whether sending emails is enabled or disabled for this domain.\").nullable().optional(),\n receiving: z.string().describe(\"Whether receiving emails is enabled or disabled for this domain.\").nullable().optional(),\n}).describe(\"Domain sending and receiving capabilities.\");\nexport const ResendCreateDomainOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The id of the created domain.\").nullable().optional(),\n name: z.string().describe(\"The name of the created 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 creation (not_started, pending, verified, failed).\").nullable().optional(),\n records: z.array(ResendCreateDomain_DnsRecordSchema).describe(\"The DNS records that need to be configured for domain verification.\").nullable().optional(),\n created_at: z.string().describe(\"The creation timestamp of the domain.\").nullable().optional(),\n capabilities: ResendCreateDomain_DomainCapabilitiesSchema.nullable().optional(),\n});\n\nexport const resendCreateDomain = action(\"RESEND_CREATE_DOMAIN\", {\n slug: \"resend-create-domain\",\n name: \"Create Domain\",\n description: \"Create a domain through the Resend Email API. The domain is created in a pending/unverified state and cannot be used for sending emails until DNS verification is completed.\",\n input: ResendCreateDomainInput,\n output: ResendCreateDomainOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwC,EAAE,OAAO;CAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACjE,QAAQ,EAAE,KAAK;EAAC;EAAa;EAAa;EAAa;CAAgB,CAAC,CAAC,CAAC,QAAQ,WAAW,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS;AACtQ,CAAC;AACD,MAAM,qCAAmD,EAAE,OAAO;CAChE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,8CAA4D,EAAE,OAAO;CACzE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAWxD,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAfoD,EAAE,OAAO;EAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/H,SAAS,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzJ,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,cAAc,4CAA4C,SAAS,CAAC,CAAC,SAAS;CAChF,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"create-domain.mjs","names":[],"sources":["../../src/actions/create-domain.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendCreateDomainInput = z.object({\n name: z.string().describe(\"The name of the domain to be created.\"),\n region: z.enum([\"us-east-1\", \"eu-west-1\", \"sa-east-1\", \"ap-northeast-1\"]).default(\"us-east-1\").describe(\"The region where emails will be sent from. Supported values: 'us-east-1', 'eu-west-1', 'sa-east-1'. Unsupported values cause validation errors.\").optional(),\n});\nconst ResendCreateDomain_DnsRecordSchema = z.object({\n ttl: z.string().describe(\"The TTL (time to live) for this record.\").nullable().optional(),\n name: z.string().describe(\"The DNS record name.\").nullable().optional(),\n type: z.string().describe(\"The DNS record type (TXT, MX).\").nullable().optional(),\n value: z.string().describe(\"The DNS record value.\").nullable().optional(),\n record: z.string().describe(\"The type of record (DKIM, SPF).\").nullable().optional(),\n status: z.string().describe(\"The verification status of this record.\").nullable().optional(),\n priority: z.number().int().describe(\"The priority for MX records.\").nullable().optional(),\n}).describe(\"DNS record information for domain verification.\");\nconst ResendCreateDomain_DomainCapabilitiesSchema = z.object({\n sending: z.string().describe(\"Whether sending emails is enabled or disabled for this domain.\").nullable().optional(),\n receiving: z.string().describe(\"Whether receiving emails is enabled or disabled for this domain.\").nullable().optional(),\n}).describe(\"Domain sending and receiving capabilities.\");\nexport const ResendCreateDomainOutput = z.object({\n id: z.string().describe(\"The id of the created domain.\").nullable().optional(),\n name: z.string().describe(\"The name of the created 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 creation (not_started, pending, verified, failed).\").nullable().optional(),\n records: z.array(ResendCreateDomain_DnsRecordSchema).describe(\"The DNS records that need to be configured for domain verification.\").nullable().optional(),\n created_at: z.string().describe(\"The creation timestamp of the domain.\").nullable().optional(),\n capabilities: ResendCreateDomain_DomainCapabilitiesSchema.nullable().optional(),\n});\n\nexport const resendCreateDomain = action(\"RESEND_CREATE_DOMAIN\", {\n slug: \"resend-create-domain\",\n name: \"Create Domain\",\n description: \"Create a domain through the Resend Email API. The domain is created in a pending/unverified state and cannot be used for sending emails until DNS verification is completed.\",\n input: ResendCreateDomainInput,\n output: ResendCreateDomainOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACjE,QAAQ,EAAE,KAAK;EAAC;EAAa;EAAa;EAAa;CAAgB,CAAC,CAAC,CAAC,QAAQ,WAAW,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS;AACtQ,CAAC;AACD,MAAM,qCAAqC,EAAE,OAAO;CAClD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,8CAA8C,EAAE,OAAO;CAC3D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAWxD,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAfsC,EAAE,OAAO;EAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/H,SAAS,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzJ,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,cAAc,4CAA4C,SAAS,CAAC,CAAC,SAAS;CAChF,CAOU;AACV,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"create-template.cjs","names":["z","action"],"sources":["../../src/actions/create-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendCreateTemplateInput: z.ZodTypeAny = z.object({\n from: z.string().describe(\"Sender email address. To include a friendly name, use the format 'Your Name <sender@domain.com>'.\").optional(),\n html: z.string().describe(\"The HTML version of the template. Use {{VARIABLE_NAME}} syntax to reference template variables.\"),\n name: z.string().describe(\"The name of the template.\"),\n text: z.string().describe(\"The plain text version of the template. If omitted, Resend will auto-generate from HTML.\").optional(),\n alias: z.string().describe(\"The alias of the template. This is an optional identifier that can be used instead of the template ID.\").optional(),\n subject: z.string().describe(\"Email subject for the template.\").optional(),\n reply_to: z.union([z.string(), z.array(z.string())]).optional(),\n variables: z.array(z.object({\n key: z.string().describe(\"The key of the variable. Recommended to use capitalized format (e.g., PRODUCT_NAME). Reserved names: FIRST_NAME, LAST_NAME, EMAIL, RESEND_UNSUBSCRIBE_URL, contact, this.\"),\n type: z.enum([\"string\", \"number\"]).describe(\"The type of the variable, either 'string' or 'number'.\"),\n fallback_value: z.union([z.string(), z.number().int(), z.number()]).optional(),\n}).describe(\"Template variable definition.\")).describe(\"Template variables. Up to 50 variables can be defined per template.\").optional(),\n});\nexport const ResendCreateTemplateOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The ID of the created template.\").nullable().optional(),\n object: z.string().describe(\"The type of object, which is 'template'.\").nullable().optional(),\n});\n\nexport const resendCreateTemplate = action(\"RESEND_CREATE_TEMPLATE\", {\n slug: \"resend-create-template\",\n name: \"Create Template\",\n description: \"Tool to create a new email template in Resend. Use when you need to define reusable email templates with optional variables.\",\n input: ResendCreateTemplateInput,\n output: ResendCreateTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;CACxI,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG;CAC3H,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CAC/H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;CAC9I,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACzE,UAAUA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS;CAC9D,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC5B,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2KAA2K;EACpM,MAAMA,IAAAA,EAAE,KAAK,CAAC,UAAU,QAAQ,CAAC,CAAC,CAAC,SAAS,wDAAwD;EACpG,gBAAgBA,IAAAA,EAAE,MAAM;GAACA,IAAAA,EAAE,OAAO;GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;GAAGA,IAAAA,EAAE,OAAO;EAAC,CAAC,CAAC,CAAC,SAAS;CAC/E,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;AACvI,CAAC;AACD,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC;AAED,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-template.cjs","names":["z","action"],"sources":["../../src/actions/create-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendCreateTemplateInput = z.object({\n from: z.string().describe(\"Sender email address. To include a friendly name, use the format 'Your Name <sender@domain.com>'.\").optional(),\n html: z.string().describe(\"The HTML version of the template. Use {{VARIABLE_NAME}} syntax to reference template variables.\"),\n name: z.string().describe(\"The name of the template.\"),\n text: z.string().describe(\"The plain text version of the template. If omitted, Resend will auto-generate from HTML.\").optional(),\n alias: z.string().describe(\"The alias of the template. This is an optional identifier that can be used instead of the template ID.\").optional(),\n subject: z.string().describe(\"Email subject for the template.\").optional(),\n reply_to: z.union([z.string(), z.array(z.string())]).optional(),\n variables: z.array(z.object({\n key: z.string().describe(\"The key of the variable. Recommended to use capitalized format (e.g., PRODUCT_NAME). Reserved names: FIRST_NAME, LAST_NAME, EMAIL, RESEND_UNSUBSCRIBE_URL, contact, this.\"),\n type: z.enum([\"string\", \"number\"]).describe(\"The type of the variable, either 'string' or 'number'.\"),\n fallback_value: z.union([z.string(), z.number().int(), z.number()]).optional(),\n}).describe(\"Template variable definition.\")).describe(\"Template variables. Up to 50 variables can be defined per template.\").optional(),\n});\nexport const ResendCreateTemplateOutput = z.object({\n id: z.string().describe(\"The ID of the created template.\").nullable().optional(),\n object: z.string().describe(\"The type of object, which is 'template'.\").nullable().optional(),\n});\n\nexport const resendCreateTemplate = action(\"RESEND_CREATE_TEMPLATE\", {\n slug: \"resend-create-template\",\n name: \"Create Template\",\n description: \"Tool to create a new email template in Resend. Use when you need to define reusable email templates with optional variables.\",\n input: ResendCreateTemplateInput,\n output: ResendCreateTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;CACxI,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG;CAC3H,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CAC/H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;CAC9I,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACzE,UAAUA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS;CAC9D,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC5B,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2KAA2K;EACpM,MAAMA,IAAAA,EAAE,KAAK,CAAC,UAAU,QAAQ,CAAC,CAAC,CAAC,SAAS,wDAAwD;EACpG,gBAAgBA,IAAAA,EAAE,MAAM;GAACA,IAAAA,EAAE,OAAO;GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;GAAGA,IAAAA,EAAE,OAAO;EAAC,CAAC,CAAC,CAAC,SAAS;CAC/E,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;AACvI,CAAC;AACD,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC;AAED,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,41 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-template.d.ts
4
- declare const ResendCreateTemplateInput: z.ZodTypeAny;
5
- declare const ResendCreateTemplateOutput: z.ZodTypeAny;
6
- declare const resendCreateTemplate: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ResendCreateTemplateInput: z.ZodObject<{
5
+ from: z.ZodOptional<z.ZodString>;
6
+ html: z.ZodString;
7
+ name: z.ZodString;
8
+ text: z.ZodOptional<z.ZodString>;
9
+ alias: z.ZodOptional<z.ZodString>;
10
+ subject: z.ZodOptional<z.ZodString>;
11
+ reply_to: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
12
+ variables: z.ZodOptional<z.ZodArray<z.ZodObject<{
13
+ key: z.ZodString;
14
+ type: z.ZodEnum<{
15
+ string: "string";
16
+ number: "number";
17
+ }>;
18
+ fallback_value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber]>>;
19
+ }, z.core.$strip>>>;
20
+ }, z.core.$strip>;
21
+ declare const ResendCreateTemplateOutput: z.ZodObject<{
22
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ }, z.core.$strip>;
25
+ declare const resendCreateTemplate: import("@keystrokehq/action").WorkflowActionDefinition<{
26
+ html: string;
27
+ name: string;
28
+ from?: string | undefined;
29
+ text?: string | undefined;
30
+ alias?: string | undefined;
31
+ subject?: string | undefined;
32
+ reply_to?: string | string[] | undefined;
33
+ variables?: {
34
+ key: string;
35
+ type: "string" | "number";
36
+ fallback_value?: string | number | undefined;
37
+ }[] | undefined;
38
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
39
  //#endregion
8
40
  export { resendCreateTemplate };
9
41
  //# sourceMappingURL=create-template.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-template.d.cts","names":[],"sources":["../../src/actions/create-template.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAaxC;AAAA,cACW,0BAAA,EAA4B,CAAA,CAAE,UAGzC;AAAA,cAEW,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-template.d.cts","names":[],"sources":["../../src/actions/create-template.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAczB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAK1B,oBAAA,gCAAoB,wBAAA"}
@@ -1,9 +1,41 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-template.d.ts
4
- declare const ResendCreateTemplateInput: z.ZodTypeAny;
5
- declare const ResendCreateTemplateOutput: z.ZodTypeAny;
6
- declare const resendCreateTemplate: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ResendCreateTemplateInput: z.ZodObject<{
5
+ from: z.ZodOptional<z.ZodString>;
6
+ html: z.ZodString;
7
+ name: z.ZodString;
8
+ text: z.ZodOptional<z.ZodString>;
9
+ alias: z.ZodOptional<z.ZodString>;
10
+ subject: z.ZodOptional<z.ZodString>;
11
+ reply_to: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
12
+ variables: z.ZodOptional<z.ZodArray<z.ZodObject<{
13
+ key: z.ZodString;
14
+ type: z.ZodEnum<{
15
+ string: "string";
16
+ number: "number";
17
+ }>;
18
+ fallback_value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber]>>;
19
+ }, z.core.$strip>>>;
20
+ }, z.core.$strip>;
21
+ declare const ResendCreateTemplateOutput: z.ZodObject<{
22
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ }, z.core.$strip>;
25
+ declare const resendCreateTemplate: import("@keystrokehq/action").WorkflowActionDefinition<{
26
+ html: string;
27
+ name: string;
28
+ from?: string | undefined;
29
+ text?: string | undefined;
30
+ alias?: string | undefined;
31
+ subject?: string | undefined;
32
+ reply_to?: string | string[] | undefined;
33
+ variables?: {
34
+ key: string;
35
+ type: "string" | "number";
36
+ fallback_value?: string | number | undefined;
37
+ }[] | undefined;
38
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
39
  //#endregion
8
40
  export { resendCreateTemplate };
9
41
  //# sourceMappingURL=create-template.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-template.d.mts","names":[],"sources":["../../src/actions/create-template.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAaxC;AAAA,cACW,0BAAA,EAA4B,CAAA,CAAE,UAGzC;AAAA,cAEW,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-template.d.mts","names":[],"sources":["../../src/actions/create-template.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAczB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAK1B,oBAAA,gCAAoB,wBAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"create-template.mjs","names":[],"sources":["../../src/actions/create-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendCreateTemplateInput: z.ZodTypeAny = z.object({\n from: z.string().describe(\"Sender email address. To include a friendly name, use the format 'Your Name <sender@domain.com>'.\").optional(),\n html: z.string().describe(\"The HTML version of the template. Use {{VARIABLE_NAME}} syntax to reference template variables.\"),\n name: z.string().describe(\"The name of the template.\"),\n text: z.string().describe(\"The plain text version of the template. If omitted, Resend will auto-generate from HTML.\").optional(),\n alias: z.string().describe(\"The alias of the template. This is an optional identifier that can be used instead of the template ID.\").optional(),\n subject: z.string().describe(\"Email subject for the template.\").optional(),\n reply_to: z.union([z.string(), z.array(z.string())]).optional(),\n variables: z.array(z.object({\n key: z.string().describe(\"The key of the variable. Recommended to use capitalized format (e.g., PRODUCT_NAME). Reserved names: FIRST_NAME, LAST_NAME, EMAIL, RESEND_UNSUBSCRIBE_URL, contact, this.\"),\n type: z.enum([\"string\", \"number\"]).describe(\"The type of the variable, either 'string' or 'number'.\"),\n fallback_value: z.union([z.string(), z.number().int(), z.number()]).optional(),\n}).describe(\"Template variable definition.\")).describe(\"Template variables. Up to 50 variables can be defined per template.\").optional(),\n});\nexport const ResendCreateTemplateOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The ID of the created template.\").nullable().optional(),\n object: z.string().describe(\"The type of object, which is 'template'.\").nullable().optional(),\n});\n\nexport const resendCreateTemplate = action(\"RESEND_CREATE_TEMPLATE\", {\n slug: \"resend-create-template\",\n name: \"Create Template\",\n description: \"Tool to create a new email template in Resend. Use when you need to define reusable email templates with optional variables.\",\n input: ResendCreateTemplateInput,\n output: ResendCreateTemplateOutput,\n});\n"],"mappings":";;AAuBA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvBqD,EAAE,OAAO;EAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;EACxI,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG;EAC3H,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;EAC/H,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;EAC9I,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACzE,UAAU,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS;EAC9D,WAAW,EAAE,MAAM,EAAE,OAAO;GAC5B,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2KAA2K;GACpM,MAAM,EAAE,KAAK,CAAC,UAAU,QAAQ,CAAC,CAAC,CAAC,SAAS,wDAAwD;GACpG,gBAAgB,EAAE,MAAM;IAAC,EAAE,OAAO;IAAG,EAAE,OAAO,CAAC,CAAC,IAAI;IAAG,EAAE,OAAO;GAAC,CAAC,CAAC,CAAC,SAAS;EAC/E,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CACvI,CAUS;CACP,QAVsD,EAAE,OAAO;EAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"create-template.mjs","names":[],"sources":["../../src/actions/create-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendCreateTemplateInput = z.object({\n from: z.string().describe(\"Sender email address. To include a friendly name, use the format 'Your Name <sender@domain.com>'.\").optional(),\n html: z.string().describe(\"The HTML version of the template. Use {{VARIABLE_NAME}} syntax to reference template variables.\"),\n name: z.string().describe(\"The name of the template.\"),\n text: z.string().describe(\"The plain text version of the template. If omitted, Resend will auto-generate from HTML.\").optional(),\n alias: z.string().describe(\"The alias of the template. This is an optional identifier that can be used instead of the template ID.\").optional(),\n subject: z.string().describe(\"Email subject for the template.\").optional(),\n reply_to: z.union([z.string(), z.array(z.string())]).optional(),\n variables: z.array(z.object({\n key: z.string().describe(\"The key of the variable. Recommended to use capitalized format (e.g., PRODUCT_NAME). Reserved names: FIRST_NAME, LAST_NAME, EMAIL, RESEND_UNSUBSCRIBE_URL, contact, this.\"),\n type: z.enum([\"string\", \"number\"]).describe(\"The type of the variable, either 'string' or 'number'.\"),\n fallback_value: z.union([z.string(), z.number().int(), z.number()]).optional(),\n}).describe(\"Template variable definition.\")).describe(\"Template variables. Up to 50 variables can be defined per template.\").optional(),\n});\nexport const ResendCreateTemplateOutput = z.object({\n id: z.string().describe(\"The ID of the created template.\").nullable().optional(),\n object: z.string().describe(\"The type of object, which is 'template'.\").nullable().optional(),\n});\n\nexport const resendCreateTemplate = action(\"RESEND_CREATE_TEMPLATE\", {\n slug: \"resend-create-template\",\n name: \"Create Template\",\n description: \"Tool to create a new email template in Resend. Use when you need to define reusable email templates with optional variables.\",\n input: ResendCreateTemplateInput,\n output: ResendCreateTemplateOutput,\n});\n"],"mappings":";;AAuBA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvBuC,EAAE,OAAO;EAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;EACxI,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG;EAC3H,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;EAC/H,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;EAC9I,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACzE,UAAU,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS;EAC9D,WAAW,EAAE,MAAM,EAAE,OAAO;GAC5B,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2KAA2K;GACpM,MAAM,EAAE,KAAK,CAAC,UAAU,QAAQ,CAAC,CAAC,CAAC,SAAS,wDAAwD;GACpG,gBAAgB,EAAE,MAAM;IAAC,EAAE,OAAO;IAAG,EAAE,OAAO,CAAC,CAAC,IAAI;IAAG,EAAE,OAAO;GAAC,CAAC,CAAC,CAAC,SAAS;EAC/E,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CACvI,CAUS;CACP,QAVwC,EAAE,OAAO;EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,CAOU;AACV,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"create-topic.cjs","names":["z","action"],"sources":["../../src/actions/create-topic.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendCreateTopicInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The topic name. Max length is 50 characters.\"),\n visibility: z.enum([\"public\", \"private\"]).describe(\"Topic visibility on the unsubscribe page.\").optional(),\n description: z.string().describe(\"The topic description. Max length is 200 characters.\").optional(),\n defaultSubscription: z.enum([\"opt_in\", \"opt_out\"]).describe(\"The default subscription preference for new contacts. Accepts opt_in or opt_out. This value cannot be modified afterwards.\"),\n});\nexport const ResendCreateTopicOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The ID of the topic.\").nullable().optional(),\n object: z.string().describe(\"The object type of the response.\").nullable().optional(),\n});\n\nexport const resendCreateTopic = action(\"RESEND_CREATE_TOPIC\", {\n slug: \"resend-create-topic\",\n name: \"Create Topic\",\n description: \"Tool to create a new topic to segment your audience. Use when you need to create a topic for organizing contacts by interests or preferences.\",\n input: ResendCreateTopicInput,\n output: ResendCreateTopicOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAuCA,IAAAA,EAAE,OAAO;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CACxE,YAAYA,IAAAA,EAAE,KAAK,CAAC,UAAU,SAAS,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACzG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAClG,qBAAqBA,IAAAA,EAAE,KAAK,CAAC,UAAU,SAAS,CAAC,CAAC,CAAC,SAAS,4HAA4H;AAC1L,CAAC;AACD,MAAa,0BAAwCA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC;AAED,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-topic.cjs","names":["z","action"],"sources":["../../src/actions/create-topic.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendCreateTopicInput = z.object({\n name: z.string().describe(\"The topic name. Max length is 50 characters.\"),\n visibility: z.enum([\"public\", \"private\"]).describe(\"Topic visibility on the unsubscribe page.\").optional(),\n description: z.string().describe(\"The topic description. Max length is 200 characters.\").optional(),\n defaultSubscription: z.enum([\"opt_in\", \"opt_out\"]).describe(\"The default subscription preference for new contacts. Accepts opt_in or opt_out. This value cannot be modified afterwards.\"),\n});\nexport const ResendCreateTopicOutput = z.object({\n id: z.string().describe(\"The ID of the topic.\").nullable().optional(),\n object: z.string().describe(\"The object type of the response.\").nullable().optional(),\n});\n\nexport const resendCreateTopic = action(\"RESEND_CREATE_TOPIC\", {\n slug: \"resend-create-topic\",\n name: \"Create Topic\",\n description: \"Tool to create a new topic to segment your audience. Use when you need to create a topic for organizing contacts by interests or preferences.\",\n input: ResendCreateTopicInput,\n output: ResendCreateTopicOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CACxE,YAAYA,IAAAA,EAAE,KAAK,CAAC,UAAU,SAAS,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACzG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAClG,qBAAqBA,IAAAA,EAAE,KAAK,CAAC,UAAU,SAAS,CAAC,CAAC,CAAC,SAAS,4HAA4H;AAC1L,CAAC;AACD,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC;AAED,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,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/create-topic.d.ts
4
- declare const ResendCreateTopicInput: z.ZodTypeAny;
5
- declare const ResendCreateTopicOutput: z.ZodTypeAny;
6
- declare const resendCreateTopic: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ResendCreateTopicInput: z.ZodObject<{
5
+ name: z.ZodString;
6
+ visibility: z.ZodOptional<z.ZodEnum<{
7
+ public: "public";
8
+ private: "private";
9
+ }>>;
10
+ description: z.ZodOptional<z.ZodString>;
11
+ defaultSubscription: z.ZodEnum<{
12
+ opt_in: "opt_in";
13
+ opt_out: "opt_out";
14
+ }>;
15
+ }, z.core.$strip>;
16
+ declare const ResendCreateTopicOutput: z.ZodObject<{
17
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ }, z.core.$strip>;
20
+ declare const resendCreateTopic: import("@keystrokehq/action").WorkflowActionDefinition<{
21
+ name: string;
22
+ defaultSubscription: "opt_in" | "opt_out";
23
+ visibility?: "public" | "private" | undefined;
24
+ description?: string | undefined;
25
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
26
  //#endregion
8
27
  export { resendCreateTopic };
9
28
  //# sourceMappingURL=create-topic.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-topic.d.cts","names":[],"sources":["../../src/actions/create-topic.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAKrC;AAAA,cACW,uBAAA,EAAyB,CAAA,CAAE,UAGtC;AAAA,cAEW,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-topic.d.cts","names":[],"sources":["../../src/actions/create-topic.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAMtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAKvB,iBAAA,gCAAiB,wBAAA"}
@@ -1,9 +1,28 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-topic.d.ts
4
- declare const ResendCreateTopicInput: z.ZodTypeAny;
5
- declare const ResendCreateTopicOutput: z.ZodTypeAny;
6
- declare const resendCreateTopic: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ResendCreateTopicInput: z.ZodObject<{
5
+ name: z.ZodString;
6
+ visibility: z.ZodOptional<z.ZodEnum<{
7
+ public: "public";
8
+ private: "private";
9
+ }>>;
10
+ description: z.ZodOptional<z.ZodString>;
11
+ defaultSubscription: z.ZodEnum<{
12
+ opt_in: "opt_in";
13
+ opt_out: "opt_out";
14
+ }>;
15
+ }, z.core.$strip>;
16
+ declare const ResendCreateTopicOutput: z.ZodObject<{
17
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ }, z.core.$strip>;
20
+ declare const resendCreateTopic: import("@keystrokehq/action").WorkflowActionDefinition<{
21
+ name: string;
22
+ defaultSubscription: "opt_in" | "opt_out";
23
+ visibility?: "public" | "private" | undefined;
24
+ description?: string | undefined;
25
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
26
  //#endregion
8
27
  export { resendCreateTopic };
9
28
  //# sourceMappingURL=create-topic.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-topic.d.mts","names":[],"sources":["../../src/actions/create-topic.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAKrC;AAAA,cACW,uBAAA,EAAyB,CAAA,CAAE,UAGtC;AAAA,cAEW,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-topic.d.mts","names":[],"sources":["../../src/actions/create-topic.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAMtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAKvB,iBAAA,gCAAiB,wBAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"create-topic.mjs","names":[],"sources":["../../src/actions/create-topic.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendCreateTopicInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The topic name. Max length is 50 characters.\"),\n visibility: z.enum([\"public\", \"private\"]).describe(\"Topic visibility on the unsubscribe page.\").optional(),\n description: z.string().describe(\"The topic description. Max length is 200 characters.\").optional(),\n defaultSubscription: z.enum([\"opt_in\", \"opt_out\"]).describe(\"The default subscription preference for new contacts. Accepts opt_in or opt_out. This value cannot be modified afterwards.\"),\n});\nexport const ResendCreateTopicOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The ID of the topic.\").nullable().optional(),\n object: z.string().describe(\"The object type of the response.\").nullable().optional(),\n});\n\nexport const resendCreateTopic = action(\"RESEND_CREATE_TOPIC\", {\n slug: \"resend-create-topic\",\n name: \"Create Topic\",\n description: \"Tool to create a new topic to segment your audience. Use when you need to create a topic for organizing contacts by interests or preferences.\",\n input: ResendCreateTopicInput,\n output: ResendCreateTopicOutput,\n});\n"],"mappings":";;AAeA,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfkD,EAAE,OAAO;EAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;EACxE,YAAY,EAAE,KAAK,CAAC,UAAU,SAAS,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EACzG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EAClG,qBAAqB,EAAE,KAAK,CAAC,UAAU,SAAS,CAAC,CAAC,CAAC,SAAS,4HAA4H;CAC1L,CAUS;CACP,QAVmD,EAAE,OAAO;EAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"create-topic.mjs","names":[],"sources":["../../src/actions/create-topic.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendCreateTopicInput = z.object({\n name: z.string().describe(\"The topic name. Max length is 50 characters.\"),\n visibility: z.enum([\"public\", \"private\"]).describe(\"Topic visibility on the unsubscribe page.\").optional(),\n description: z.string().describe(\"The topic description. Max length is 200 characters.\").optional(),\n defaultSubscription: z.enum([\"opt_in\", \"opt_out\"]).describe(\"The default subscription preference for new contacts. Accepts opt_in or opt_out. This value cannot be modified afterwards.\"),\n});\nexport const ResendCreateTopicOutput = z.object({\n id: z.string().describe(\"The ID of the topic.\").nullable().optional(),\n object: z.string().describe(\"The object type of the response.\").nullable().optional(),\n});\n\nexport const resendCreateTopic = action(\"RESEND_CREATE_TOPIC\", {\n slug: \"resend-create-topic\",\n name: \"Create Topic\",\n description: \"Tool to create a new topic to segment your audience. Use when you need to create a topic for organizing contacts by interests or preferences.\",\n input: ResendCreateTopicInput,\n output: ResendCreateTopicOutput,\n});\n"],"mappings":";;AAeA,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfoC,EAAE,OAAO;EAC7C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;EACxE,YAAY,EAAE,KAAK,CAAC,UAAU,SAAS,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EACzG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EAClG,qBAAqB,EAAE,KAAK,CAAC,UAAU,SAAS,CAAC,CAAC,CAAC,SAAS,4HAA4H;CAC1L,CAUS;CACP,QAVqC,EAAE,OAAO;EAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,CAOU;AACV,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"create-webhook.cjs","names":["z","action"],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendCreateWebhookInput: z.ZodTypeAny = z.object({\n events: z.array(z.string()).describe(\"Array of event types to subscribe to. Common events include: 'email.sent', 'email.delivered', 'email.delivery_delayed', 'email.complained', 'email.bounced', 'email.opened', 'email.clicked'. Must include at least one event.\"),\n endpoint: z.string().describe(\"The URL where webhook events will be sent. Must be a valid HTTPS endpoint.\"),\n});\nexport const ResendCreateWebhookOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the created webhook.\").nullable().optional(),\n object: z.string().describe(\"The type of object, typically 'webhook'.\").nullable().optional(),\n signing_secret: z.string().describe(\"The secret key used to verify webhook payloads. Store this securely as it won't be shown again.\").nullable().optional(),\n});\n\nexport const resendCreateWebhook = action(\"RESEND_CREATE_WEBHOOK\", {\n slug: \"resend-create-webhook\",\n name: \"Create Webhook\",\n description: \"Tool to create a webhook to receive real-time notifications about email events. Use when you need to set up automated notifications for email status changes.\",\n input: ResendCreateWebhookInput,\n output: ResendCreateWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gOAAgO;CACrQ,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E;AAC5G,CAAC;AACD,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7J,CAAC;AAED,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-webhook.cjs","names":["z","action"],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendCreateWebhookInput = z.object({\n events: z.array(z.string()).describe(\"Array of event types to subscribe to. Common events include: 'email.sent', 'email.delivered', 'email.delivery_delayed', 'email.complained', 'email.bounced', 'email.opened', 'email.clicked'. Must include at least one event.\"),\n endpoint: z.string().describe(\"The URL where webhook events will be sent. Must be a valid HTTPS endpoint.\"),\n});\nexport const ResendCreateWebhookOutput = z.object({\n id: z.string().describe(\"The unique identifier of the created webhook.\").nullable().optional(),\n object: z.string().describe(\"The type of object, typically 'webhook'.\").nullable().optional(),\n signing_secret: z.string().describe(\"The secret key used to verify webhook payloads. Store this securely as it won't be shown again.\").nullable().optional(),\n});\n\nexport const resendCreateWebhook = action(\"RESEND_CREATE_WEBHOOK\", {\n slug: \"resend-create-webhook\",\n name: \"Create Webhook\",\n description: \"Tool to create a webhook to receive real-time notifications about email events. Use when you need to set up automated notifications for email status changes.\",\n input: ResendCreateWebhookInput,\n output: ResendCreateWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gOAAgO;CACrQ,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E;AAC5G,CAAC;AACD,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7J,CAAC;AAED,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,19 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-webhook.d.ts
4
- declare const ResendCreateWebhookInput: z.ZodTypeAny;
5
- declare const ResendCreateWebhookOutput: z.ZodTypeAny;
6
- declare const resendCreateWebhook: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ResendCreateWebhookInput: z.ZodObject<{
5
+ events: z.ZodArray<z.ZodString>;
6
+ endpoint: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const ResendCreateWebhookOutput: z.ZodObject<{
9
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ signing_secret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ }, z.core.$strip>;
13
+ declare const resendCreateWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
14
+ events: string[];
15
+ endpoint: string;
16
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
17
  //#endregion
8
18
  export { resendCreateWebhook };
9
19
  //# sourceMappingURL=create-webhook.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-webhook.d.cts","names":[],"sources":["../../src/actions/create-webhook.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAGvC;AAAA,cACW,yBAAA,EAA2B,CAAA,CAAE,UAIxC;AAAA,cAEW,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-webhook.d.cts","names":[],"sources":["../../src/actions/create-webhook.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAIxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;cAMzB,mBAAA,gCAAmB,wBAAA"}
@@ -1,9 +1,19 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-webhook.d.ts
4
- declare const ResendCreateWebhookInput: z.ZodTypeAny;
5
- declare const ResendCreateWebhookOutput: z.ZodTypeAny;
6
- declare const resendCreateWebhook: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ResendCreateWebhookInput: z.ZodObject<{
5
+ events: z.ZodArray<z.ZodString>;
6
+ endpoint: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const ResendCreateWebhookOutput: z.ZodObject<{
9
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ signing_secret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ }, z.core.$strip>;
13
+ declare const resendCreateWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
14
+ events: string[];
15
+ endpoint: string;
16
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
17
  //#endregion
8
18
  export { resendCreateWebhook };
9
19
  //# sourceMappingURL=create-webhook.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-webhook.d.mts","names":[],"sources":["../../src/actions/create-webhook.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAGvC;AAAA,cACW,yBAAA,EAA2B,CAAA,CAAE,UAIxC;AAAA,cAEW,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-webhook.d.mts","names":[],"sources":["../../src/actions/create-webhook.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAIxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;cAMzB,mBAAA,gCAAmB,wBAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"create-webhook.mjs","names":[],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendCreateWebhookInput: z.ZodTypeAny = z.object({\n events: z.array(z.string()).describe(\"Array of event types to subscribe to. Common events include: 'email.sent', 'email.delivered', 'email.delivery_delayed', 'email.complained', 'email.bounced', 'email.opened', 'email.clicked'. Must include at least one event.\"),\n endpoint: z.string().describe(\"The URL where webhook events will be sent. Must be a valid HTTPS endpoint.\"),\n});\nexport const ResendCreateWebhookOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the created webhook.\").nullable().optional(),\n object: z.string().describe(\"The type of object, typically 'webhook'.\").nullable().optional(),\n signing_secret: z.string().describe(\"The secret key used to verify webhook payloads. Store this securely as it won't be shown again.\").nullable().optional(),\n});\n\nexport const resendCreateWebhook = action(\"RESEND_CREATE_WEBHOOK\", {\n slug: \"resend-create-webhook\",\n name: \"Create Webhook\",\n description: \"Tool to create a webhook to receive real-time notifications about email events. Use when you need to set up automated notifications for email status changes.\",\n input: ResendCreateWebhookInput,\n output: ResendCreateWebhookOutput,\n});\n"],"mappings":";;AAcA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdoD,EAAE,OAAO;EAC7D,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gOAAgO;EACrQ,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E;CAC5G,CAWS;CACP,QAXqD,EAAE,OAAO;EAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7J,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"create-webhook.mjs","names":[],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendCreateWebhookInput = z.object({\n events: z.array(z.string()).describe(\"Array of event types to subscribe to. Common events include: 'email.sent', 'email.delivered', 'email.delivery_delayed', 'email.complained', 'email.bounced', 'email.opened', 'email.clicked'. Must include at least one event.\"),\n endpoint: z.string().describe(\"The URL where webhook events will be sent. Must be a valid HTTPS endpoint.\"),\n});\nexport const ResendCreateWebhookOutput = z.object({\n id: z.string().describe(\"The unique identifier of the created webhook.\").nullable().optional(),\n object: z.string().describe(\"The type of object, typically 'webhook'.\").nullable().optional(),\n signing_secret: z.string().describe(\"The secret key used to verify webhook payloads. Store this securely as it won't be shown again.\").nullable().optional(),\n});\n\nexport const resendCreateWebhook = action(\"RESEND_CREATE_WEBHOOK\", {\n slug: \"resend-create-webhook\",\n name: \"Create Webhook\",\n description: \"Tool to create a webhook to receive real-time notifications about email events. Use when you need to set up automated notifications for email status changes.\",\n input: ResendCreateWebhookInput,\n output: ResendCreateWebhookOutput,\n});\n"],"mappings":";;AAcA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdsC,EAAE,OAAO;EAC/C,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gOAAgO;EACrQ,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E;CAC5G,CAWS;CACP,QAXuC,EAAE,OAAO;EAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7J,CAOU;AACV,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"delete-api-key.cjs","names":["z","action"],"sources":["../../src/actions/delete-api-key.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendDeleteApiKeyInput: z.ZodTypeAny = z.object({\n api_key_id: z.string().describe(\"The API key ID to delete.\"),\n});\nexport const ResendDeleteApiKeyOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The id of the deleted API key.\").nullable().optional(),\n object: z.string().describe(\"The type of object, which is 'api_key'.\").nullable().optional(),\n deleted: z.boolean().describe(\"Indicates whether the API key was successfully deleted.\").nullable().optional(),\n});\n\nexport const resendDeleteApiKey = action(\"RESEND_DELETE_API_KEY\", {\n slug: \"resend-delete-api-key\",\n name: \"Delete API Key\",\n description: \"Remove an existing API key from Resend. Use when you need to revoke or delete an API key.\",\n input: ResendDeleteApiKeyInput,\n output: ResendDeleteApiKeyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwCA,IAAAA,EAAE,OAAO,EAC5D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,EAC7D,CAAC;AACD,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC;AAED,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-api-key.cjs","names":["z","action"],"sources":["../../src/actions/delete-api-key.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendDeleteApiKeyInput = z.object({\n api_key_id: z.string().describe(\"The API key ID to delete.\"),\n});\nexport const ResendDeleteApiKeyOutput = z.object({\n id: z.string().describe(\"The id of the deleted API key.\").nullable().optional(),\n object: z.string().describe(\"The type of object, which is 'api_key'.\").nullable().optional(),\n deleted: z.boolean().describe(\"Indicates whether the API key was successfully deleted.\").nullable().optional(),\n});\n\nexport const resendDeleteApiKey = action(\"RESEND_DELETE_API_KEY\", {\n slug: \"resend-delete-api-key\",\n name: \"Delete API Key\",\n description: \"Remove an existing API key from Resend. Use when you need to revoke or delete an API key.\",\n input: ResendDeleteApiKeyInput,\n output: ResendDeleteApiKeyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,EAC7D,CAAC;AACD,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC;AAED,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}