@keystrokehq/resend 0.1.4 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (509) 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 +1 -0
  4. package/dist/actions/add-contact-to-segment.cjs.map +1 -1
  5. package/dist/actions/add-contact-to-segment.d.cts +3 -4
  6. package/dist/actions/add-contact-to-segment.d.cts.map +1 -1
  7. package/dist/actions/add-contact-to-segment.d.mts +3 -4
  8. package/dist/actions/add-contact-to-segment.d.mts.map +1 -1
  9. package/dist/actions/add-contact-to-segment.mjs +1 -0
  10. package/dist/actions/add-contact-to-segment.mjs.map +1 -1
  11. package/dist/actions/cancel-email.cjs +1 -0
  12. package/dist/actions/cancel-email.cjs.map +1 -1
  13. package/dist/actions/cancel-email.d.cts +3 -3
  14. package/dist/actions/cancel-email.d.cts.map +1 -1
  15. package/dist/actions/cancel-email.d.mts +3 -3
  16. package/dist/actions/cancel-email.d.mts.map +1 -1
  17. package/dist/actions/cancel-email.mjs +1 -0
  18. package/dist/actions/cancel-email.mjs.map +1 -1
  19. package/dist/actions/create-api-key.cjs +1 -0
  20. package/dist/actions/create-api-key.cjs.map +1 -1
  21. package/dist/actions/create-api-key.d.cts +3 -5
  22. package/dist/actions/create-api-key.d.cts.map +1 -1
  23. package/dist/actions/create-api-key.d.mts +3 -5
  24. package/dist/actions/create-api-key.d.mts.map +1 -1
  25. package/dist/actions/create-api-key.mjs +1 -0
  26. package/dist/actions/create-api-key.mjs.map +1 -1
  27. package/dist/actions/create-audience.cjs +1 -0
  28. package/dist/actions/create-audience.cjs.map +1 -1
  29. package/dist/actions/create-audience.d.cts +3 -3
  30. package/dist/actions/create-audience.d.cts.map +1 -1
  31. package/dist/actions/create-audience.d.mts +3 -3
  32. package/dist/actions/create-audience.d.mts.map +1 -1
  33. package/dist/actions/create-audience.mjs +1 -0
  34. package/dist/actions/create-audience.mjs.map +1 -1
  35. package/dist/actions/create-contact-property.cjs +1 -0
  36. package/dist/actions/create-contact-property.cjs.map +1 -1
  37. package/dist/actions/create-contact-property.d.cts +3 -5
  38. package/dist/actions/create-contact-property.d.cts.map +1 -1
  39. package/dist/actions/create-contact-property.d.mts +3 -5
  40. package/dist/actions/create-contact-property.d.mts.map +1 -1
  41. package/dist/actions/create-contact-property.mjs +1 -0
  42. package/dist/actions/create-contact-property.mjs.map +1 -1
  43. package/dist/actions/create-contact-v2.cjs +1 -0
  44. package/dist/actions/create-contact-v2.cjs.map +1 -1
  45. package/dist/actions/create-contact-v2.d.cts +3 -20
  46. package/dist/actions/create-contact-v2.d.cts.map +1 -1
  47. package/dist/actions/create-contact-v2.d.mts +3 -20
  48. package/dist/actions/create-contact-v2.d.mts.map +1 -1
  49. package/dist/actions/create-contact-v2.mjs +1 -0
  50. package/dist/actions/create-contact-v2.mjs.map +1 -1
  51. package/dist/actions/create-contact.cjs +1 -0
  52. package/dist/actions/create-contact.cjs.map +1 -1
  53. package/dist/actions/create-contact.d.cts +3 -7
  54. package/dist/actions/create-contact.d.cts.map +1 -1
  55. package/dist/actions/create-contact.d.mts +3 -7
  56. package/dist/actions/create-contact.d.mts.map +1 -1
  57. package/dist/actions/create-contact.mjs +1 -0
  58. package/dist/actions/create-contact.mjs.map +1 -1
  59. package/dist/actions/create-domain.cjs +1 -0
  60. package/dist/actions/create-domain.cjs.map +1 -1
  61. package/dist/actions/create-domain.d.cts +3 -4
  62. package/dist/actions/create-domain.d.cts.map +1 -1
  63. package/dist/actions/create-domain.d.mts +3 -4
  64. package/dist/actions/create-domain.d.mts.map +1 -1
  65. package/dist/actions/create-domain.mjs +1 -0
  66. package/dist/actions/create-domain.mjs.map +1 -1
  67. package/dist/actions/create-template.cjs +1 -0
  68. package/dist/actions/create-template.cjs.map +1 -1
  69. package/dist/actions/create-template.d.cts +3 -15
  70. package/dist/actions/create-template.d.cts.map +1 -1
  71. package/dist/actions/create-template.d.mts +3 -15
  72. package/dist/actions/create-template.d.mts.map +1 -1
  73. package/dist/actions/create-template.mjs +1 -0
  74. package/dist/actions/create-template.mjs.map +1 -1
  75. package/dist/actions/create-topic.cjs +1 -0
  76. package/dist/actions/create-topic.cjs.map +1 -1
  77. package/dist/actions/create-topic.d.cts +3 -6
  78. package/dist/actions/create-topic.d.cts.map +1 -1
  79. package/dist/actions/create-topic.d.mts +3 -6
  80. package/dist/actions/create-topic.d.mts.map +1 -1
  81. package/dist/actions/create-topic.mjs +1 -0
  82. package/dist/actions/create-topic.mjs.map +1 -1
  83. package/dist/actions/create-webhook.cjs +1 -0
  84. package/dist/actions/create-webhook.cjs.map +1 -1
  85. package/dist/actions/create-webhook.d.cts +3 -4
  86. package/dist/actions/create-webhook.d.cts.map +1 -1
  87. package/dist/actions/create-webhook.d.mts +3 -4
  88. package/dist/actions/create-webhook.d.mts.map +1 -1
  89. package/dist/actions/create-webhook.mjs +1 -0
  90. package/dist/actions/create-webhook.mjs.map +1 -1
  91. package/dist/actions/delete-api-key.cjs +1 -0
  92. package/dist/actions/delete-api-key.cjs.map +1 -1
  93. package/dist/actions/delete-api-key.d.cts +3 -3
  94. package/dist/actions/delete-api-key.d.cts.map +1 -1
  95. package/dist/actions/delete-api-key.d.mts +3 -3
  96. package/dist/actions/delete-api-key.d.mts.map +1 -1
  97. package/dist/actions/delete-api-key.mjs +1 -0
  98. package/dist/actions/delete-api-key.mjs.map +1 -1
  99. package/dist/actions/delete-audience.cjs +1 -0
  100. package/dist/actions/delete-audience.cjs.map +1 -1
  101. package/dist/actions/delete-audience.d.cts +3 -3
  102. package/dist/actions/delete-audience.d.cts.map +1 -1
  103. package/dist/actions/delete-audience.d.mts +3 -3
  104. package/dist/actions/delete-audience.d.mts.map +1 -1
  105. package/dist/actions/delete-audience.mjs +1 -0
  106. package/dist/actions/delete-audience.mjs.map +1 -1
  107. package/dist/actions/delete-contact-by-id.cjs +1 -0
  108. package/dist/actions/delete-contact-by-id.cjs.map +1 -1
  109. package/dist/actions/delete-contact-by-id.d.cts +3 -3
  110. package/dist/actions/delete-contact-by-id.d.cts.map +1 -1
  111. package/dist/actions/delete-contact-by-id.d.mts +3 -3
  112. package/dist/actions/delete-contact-by-id.d.mts.map +1 -1
  113. package/dist/actions/delete-contact-by-id.mjs +1 -0
  114. package/dist/actions/delete-contact-by-id.mjs.map +1 -1
  115. package/dist/actions/delete-contact-property.cjs +1 -0
  116. package/dist/actions/delete-contact-property.cjs.map +1 -1
  117. package/dist/actions/delete-contact-property.d.cts +3 -3
  118. package/dist/actions/delete-contact-property.d.cts.map +1 -1
  119. package/dist/actions/delete-contact-property.d.mts +3 -3
  120. package/dist/actions/delete-contact-property.d.mts.map +1 -1
  121. package/dist/actions/delete-contact-property.mjs +1 -0
  122. package/dist/actions/delete-contact-property.mjs.map +1 -1
  123. package/dist/actions/delete-contact.cjs +1 -0
  124. package/dist/actions/delete-contact.cjs.map +1 -1
  125. package/dist/actions/delete-contact.d.cts +3 -5
  126. package/dist/actions/delete-contact.d.cts.map +1 -1
  127. package/dist/actions/delete-contact.d.mts +3 -5
  128. package/dist/actions/delete-contact.d.mts.map +1 -1
  129. package/dist/actions/delete-contact.mjs +1 -0
  130. package/dist/actions/delete-contact.mjs.map +1 -1
  131. package/dist/actions/delete-domain.cjs +1 -0
  132. package/dist/actions/delete-domain.cjs.map +1 -1
  133. package/dist/actions/delete-domain.d.cts +3 -3
  134. package/dist/actions/delete-domain.d.cts.map +1 -1
  135. package/dist/actions/delete-domain.d.mts +3 -3
  136. package/dist/actions/delete-domain.d.mts.map +1 -1
  137. package/dist/actions/delete-domain.mjs +1 -0
  138. package/dist/actions/delete-domain.mjs.map +1 -1
  139. package/dist/actions/delete-segment.cjs +1 -0
  140. package/dist/actions/delete-segment.cjs.map +1 -1
  141. package/dist/actions/delete-segment.d.cts +3 -3
  142. package/dist/actions/delete-segment.d.cts.map +1 -1
  143. package/dist/actions/delete-segment.d.mts +3 -3
  144. package/dist/actions/delete-segment.d.mts.map +1 -1
  145. package/dist/actions/delete-segment.mjs +1 -0
  146. package/dist/actions/delete-segment.mjs.map +1 -1
  147. package/dist/actions/delete-template.cjs +1 -0
  148. package/dist/actions/delete-template.cjs.map +1 -1
  149. package/dist/actions/delete-template.d.cts +3 -3
  150. package/dist/actions/delete-template.d.cts.map +1 -1
  151. package/dist/actions/delete-template.d.mts +3 -3
  152. package/dist/actions/delete-template.d.mts.map +1 -1
  153. package/dist/actions/delete-template.mjs +1 -0
  154. package/dist/actions/delete-template.mjs.map +1 -1
  155. package/dist/actions/delete-topic.cjs +1 -0
  156. package/dist/actions/delete-topic.cjs.map +1 -1
  157. package/dist/actions/delete-topic.d.cts +3 -3
  158. package/dist/actions/delete-topic.d.cts.map +1 -1
  159. package/dist/actions/delete-topic.d.mts +3 -3
  160. package/dist/actions/delete-topic.d.mts.map +1 -1
  161. package/dist/actions/delete-topic.mjs +1 -0
  162. package/dist/actions/delete-topic.mjs.map +1 -1
  163. package/dist/actions/delete-webhook.cjs +1 -0
  164. package/dist/actions/delete-webhook.cjs.map +1 -1
  165. package/dist/actions/delete-webhook.d.cts +3 -3
  166. package/dist/actions/delete-webhook.d.cts.map +1 -1
  167. package/dist/actions/delete-webhook.d.mts +3 -3
  168. package/dist/actions/delete-webhook.d.mts.map +1 -1
  169. package/dist/actions/delete-webhook.mjs +1 -0
  170. package/dist/actions/delete-webhook.mjs.map +1 -1
  171. package/dist/actions/duplicate-template.cjs +1 -0
  172. package/dist/actions/duplicate-template.cjs.map +1 -1
  173. package/dist/actions/duplicate-template.d.cts +3 -3
  174. package/dist/actions/duplicate-template.d.cts.map +1 -1
  175. package/dist/actions/duplicate-template.d.mts +3 -3
  176. package/dist/actions/duplicate-template.d.mts.map +1 -1
  177. package/dist/actions/duplicate-template.mjs +1 -0
  178. package/dist/actions/duplicate-template.mjs.map +1 -1
  179. package/dist/actions/get-contact-property.cjs +1 -0
  180. package/dist/actions/get-contact-property.cjs.map +1 -1
  181. package/dist/actions/get-contact-property.d.cts +3 -3
  182. package/dist/actions/get-contact-property.d.cts.map +1 -1
  183. package/dist/actions/get-contact-property.d.mts +3 -3
  184. package/dist/actions/get-contact-property.d.mts.map +1 -1
  185. package/dist/actions/get-contact-property.mjs +1 -0
  186. package/dist/actions/get-contact-property.mjs.map +1 -1
  187. package/dist/actions/get-contact.cjs +1 -0
  188. package/dist/actions/get-contact.cjs.map +1 -1
  189. package/dist/actions/get-contact.d.cts +3 -3
  190. package/dist/actions/get-contact.d.cts.map +1 -1
  191. package/dist/actions/get-contact.d.mts +3 -3
  192. package/dist/actions/get-contact.d.mts.map +1 -1
  193. package/dist/actions/get-contact.mjs +1 -0
  194. package/dist/actions/get-contact.mjs.map +1 -1
  195. package/dist/actions/get-email-attachment.cjs +1 -0
  196. package/dist/actions/get-email-attachment.cjs.map +1 -1
  197. package/dist/actions/get-email-attachment.d.cts +3 -4
  198. package/dist/actions/get-email-attachment.d.cts.map +1 -1
  199. package/dist/actions/get-email-attachment.d.mts +3 -4
  200. package/dist/actions/get-email-attachment.d.mts.map +1 -1
  201. package/dist/actions/get-email-attachment.mjs +1 -0
  202. package/dist/actions/get-email-attachment.mjs.map +1 -1
  203. package/dist/actions/get-segment.cjs +1 -0
  204. package/dist/actions/get-segment.cjs.map +1 -1
  205. package/dist/actions/get-segment.d.cts +3 -3
  206. package/dist/actions/get-segment.d.cts.map +1 -1
  207. package/dist/actions/get-segment.d.mts +3 -3
  208. package/dist/actions/get-segment.d.mts.map +1 -1
  209. package/dist/actions/get-segment.mjs +1 -0
  210. package/dist/actions/get-segment.mjs.map +1 -1
  211. package/dist/actions/get-template.cjs +1 -0
  212. package/dist/actions/get-template.cjs.map +1 -1
  213. package/dist/actions/get-template.d.cts +3 -3
  214. package/dist/actions/get-template.d.cts.map +1 -1
  215. package/dist/actions/get-template.d.mts +3 -3
  216. package/dist/actions/get-template.d.mts.map +1 -1
  217. package/dist/actions/get-template.mjs +1 -0
  218. package/dist/actions/get-template.mjs.map +1 -1
  219. package/dist/actions/get-topic.cjs +1 -0
  220. package/dist/actions/get-topic.cjs.map +1 -1
  221. package/dist/actions/get-topic.d.cts +3 -3
  222. package/dist/actions/get-topic.d.cts.map +1 -1
  223. package/dist/actions/get-topic.d.mts +3 -3
  224. package/dist/actions/get-topic.d.mts.map +1 -1
  225. package/dist/actions/get-topic.mjs +1 -0
  226. package/dist/actions/get-topic.mjs.map +1 -1
  227. package/dist/actions/get-webhook.cjs +1 -0
  228. package/dist/actions/get-webhook.cjs.map +1 -1
  229. package/dist/actions/get-webhook.d.cts +3 -3
  230. package/dist/actions/get-webhook.d.cts.map +1 -1
  231. package/dist/actions/get-webhook.d.mts +3 -3
  232. package/dist/actions/get-webhook.d.mts.map +1 -1
  233. package/dist/actions/get-webhook.mjs +1 -0
  234. package/dist/actions/get-webhook.mjs.map +1 -1
  235. package/dist/actions/list-all-contacts.cjs +1 -0
  236. package/dist/actions/list-all-contacts.cjs.map +1 -1
  237. package/dist/actions/list-all-contacts.d.cts +3 -5
  238. package/dist/actions/list-all-contacts.d.cts.map +1 -1
  239. package/dist/actions/list-all-contacts.d.mts +3 -5
  240. package/dist/actions/list-all-contacts.d.mts.map +1 -1
  241. package/dist/actions/list-all-contacts.mjs +1 -0
  242. package/dist/actions/list-all-contacts.mjs.map +1 -1
  243. package/dist/actions/list-api-keys.cjs +1 -0
  244. package/dist/actions/list-api-keys.cjs.map +1 -1
  245. package/dist/actions/list-api-keys.d.cts +3 -5
  246. package/dist/actions/list-api-keys.d.cts.map +1 -1
  247. package/dist/actions/list-api-keys.d.mts +3 -5
  248. package/dist/actions/list-api-keys.d.mts.map +1 -1
  249. package/dist/actions/list-api-keys.mjs +1 -0
  250. package/dist/actions/list-api-keys.mjs.map +1 -1
  251. package/dist/actions/list-audiences.cjs +1 -0
  252. package/dist/actions/list-audiences.cjs.map +1 -1
  253. package/dist/actions/list-audiences.d.cts +3 -5
  254. package/dist/actions/list-audiences.d.cts.map +1 -1
  255. package/dist/actions/list-audiences.d.mts +3 -5
  256. package/dist/actions/list-audiences.d.mts.map +1 -1
  257. package/dist/actions/list-audiences.mjs +1 -0
  258. package/dist/actions/list-audiences.mjs.map +1 -1
  259. package/dist/actions/list-broadcasts.cjs +1 -0
  260. package/dist/actions/list-broadcasts.cjs.map +1 -1
  261. package/dist/actions/list-broadcasts.d.cts +3 -5
  262. package/dist/actions/list-broadcasts.d.cts.map +1 -1
  263. package/dist/actions/list-broadcasts.d.mts +3 -5
  264. package/dist/actions/list-broadcasts.d.mts.map +1 -1
  265. package/dist/actions/list-broadcasts.mjs +1 -0
  266. package/dist/actions/list-broadcasts.mjs.map +1 -1
  267. package/dist/actions/list-contact-properties.cjs +1 -0
  268. package/dist/actions/list-contact-properties.cjs.map +1 -1
  269. package/dist/actions/list-contact-properties.d.cts +3 -5
  270. package/dist/actions/list-contact-properties.d.cts.map +1 -1
  271. package/dist/actions/list-contact-properties.d.mts +3 -5
  272. package/dist/actions/list-contact-properties.d.mts.map +1 -1
  273. package/dist/actions/list-contact-properties.mjs +1 -0
  274. package/dist/actions/list-contact-properties.mjs.map +1 -1
  275. package/dist/actions/list-contact-segments.cjs +1 -0
  276. package/dist/actions/list-contact-segments.cjs.map +1 -1
  277. package/dist/actions/list-contact-segments.d.cts +3 -6
  278. package/dist/actions/list-contact-segments.d.cts.map +1 -1
  279. package/dist/actions/list-contact-segments.d.mts +3 -6
  280. package/dist/actions/list-contact-segments.d.mts.map +1 -1
  281. package/dist/actions/list-contact-segments.mjs +1 -0
  282. package/dist/actions/list-contact-segments.mjs.map +1 -1
  283. package/dist/actions/list-contact-topics.cjs +1 -0
  284. package/dist/actions/list-contact-topics.cjs.map +1 -1
  285. package/dist/actions/list-contact-topics.d.cts +3 -6
  286. package/dist/actions/list-contact-topics.d.cts.map +1 -1
  287. package/dist/actions/list-contact-topics.d.mts +3 -6
  288. package/dist/actions/list-contact-topics.d.mts.map +1 -1
  289. package/dist/actions/list-contact-topics.mjs +1 -0
  290. package/dist/actions/list-contact-topics.mjs.map +1 -1
  291. package/dist/actions/list-contacts.cjs +1 -0
  292. package/dist/actions/list-contacts.cjs.map +1 -1
  293. package/dist/actions/list-contacts.d.cts +3 -6
  294. package/dist/actions/list-contacts.d.cts.map +1 -1
  295. package/dist/actions/list-contacts.d.mts +3 -6
  296. package/dist/actions/list-contacts.d.mts.map +1 -1
  297. package/dist/actions/list-contacts.mjs +1 -0
  298. package/dist/actions/list-contacts.mjs.map +1 -1
  299. package/dist/actions/list-domains.cjs +1 -0
  300. package/dist/actions/list-domains.cjs.map +1 -1
  301. package/dist/actions/list-domains.d.cts +3 -1
  302. package/dist/actions/list-domains.d.cts.map +1 -1
  303. package/dist/actions/list-domains.d.mts +3 -1
  304. package/dist/actions/list-domains.d.mts.map +1 -1
  305. package/dist/actions/list-domains.mjs +1 -0
  306. package/dist/actions/list-domains.mjs.map +1 -1
  307. package/dist/actions/list-email-attachments.cjs +1 -0
  308. package/dist/actions/list-email-attachments.cjs.map +1 -1
  309. package/dist/actions/list-email-attachments.d.cts +3 -6
  310. package/dist/actions/list-email-attachments.d.cts.map +1 -1
  311. package/dist/actions/list-email-attachments.d.mts +3 -6
  312. package/dist/actions/list-email-attachments.d.mts.map +1 -1
  313. package/dist/actions/list-email-attachments.mjs +1 -0
  314. package/dist/actions/list-email-attachments.mjs.map +1 -1
  315. package/dist/actions/list-emails.cjs +1 -0
  316. package/dist/actions/list-emails.cjs.map +1 -1
  317. package/dist/actions/list-emails.d.cts +3 -5
  318. package/dist/actions/list-emails.d.cts.map +1 -1
  319. package/dist/actions/list-emails.d.mts +3 -5
  320. package/dist/actions/list-emails.d.mts.map +1 -1
  321. package/dist/actions/list-emails.mjs +1 -0
  322. package/dist/actions/list-emails.mjs.map +1 -1
  323. package/dist/actions/list-received-emails.cjs +1 -0
  324. package/dist/actions/list-received-emails.cjs.map +1 -1
  325. package/dist/actions/list-received-emails.d.cts +3 -5
  326. package/dist/actions/list-received-emails.d.cts.map +1 -1
  327. package/dist/actions/list-received-emails.d.mts +3 -5
  328. package/dist/actions/list-received-emails.d.mts.map +1 -1
  329. package/dist/actions/list-received-emails.mjs +1 -0
  330. package/dist/actions/list-received-emails.mjs.map +1 -1
  331. package/dist/actions/list-segments.cjs +1 -0
  332. package/dist/actions/list-segments.cjs.map +1 -1
  333. package/dist/actions/list-segments.d.cts +3 -5
  334. package/dist/actions/list-segments.d.cts.map +1 -1
  335. package/dist/actions/list-segments.d.mts +3 -5
  336. package/dist/actions/list-segments.d.mts.map +1 -1
  337. package/dist/actions/list-segments.mjs +1 -0
  338. package/dist/actions/list-segments.mjs.map +1 -1
  339. package/dist/actions/list-templates.cjs +1 -0
  340. package/dist/actions/list-templates.cjs.map +1 -1
  341. package/dist/actions/list-templates.d.cts +3 -5
  342. package/dist/actions/list-templates.d.cts.map +1 -1
  343. package/dist/actions/list-templates.d.mts +3 -5
  344. package/dist/actions/list-templates.d.mts.map +1 -1
  345. package/dist/actions/list-templates.mjs +1 -0
  346. package/dist/actions/list-templates.mjs.map +1 -1
  347. package/dist/actions/list-topics.cjs +1 -0
  348. package/dist/actions/list-topics.cjs.map +1 -1
  349. package/dist/actions/list-topics.d.cts +3 -5
  350. package/dist/actions/list-topics.d.cts.map +1 -1
  351. package/dist/actions/list-topics.d.mts +3 -5
  352. package/dist/actions/list-topics.d.mts.map +1 -1
  353. package/dist/actions/list-topics.mjs +1 -0
  354. package/dist/actions/list-topics.mjs.map +1 -1
  355. package/dist/actions/list-webhooks.cjs +1 -0
  356. package/dist/actions/list-webhooks.cjs.map +1 -1
  357. package/dist/actions/list-webhooks.d.cts +3 -5
  358. package/dist/actions/list-webhooks.d.cts.map +1 -1
  359. package/dist/actions/list-webhooks.d.mts +3 -5
  360. package/dist/actions/list-webhooks.d.mts.map +1 -1
  361. package/dist/actions/list-webhooks.mjs +1 -0
  362. package/dist/actions/list-webhooks.mjs.map +1 -1
  363. package/dist/actions/publish-template.cjs +1 -0
  364. package/dist/actions/publish-template.cjs.map +1 -1
  365. package/dist/actions/publish-template.d.cts +3 -3
  366. package/dist/actions/publish-template.d.cts.map +1 -1
  367. package/dist/actions/publish-template.d.mts +3 -3
  368. package/dist/actions/publish-template.d.mts.map +1 -1
  369. package/dist/actions/publish-template.mjs +1 -0
  370. package/dist/actions/publish-template.mjs.map +1 -1
  371. package/dist/actions/remove-contact-from-segment.cjs +1 -0
  372. package/dist/actions/remove-contact-from-segment.cjs.map +1 -1
  373. package/dist/actions/remove-contact-from-segment.d.cts +3 -4
  374. package/dist/actions/remove-contact-from-segment.d.cts.map +1 -1
  375. package/dist/actions/remove-contact-from-segment.d.mts +3 -4
  376. package/dist/actions/remove-contact-from-segment.d.mts.map +1 -1
  377. package/dist/actions/remove-contact-from-segment.mjs +1 -0
  378. package/dist/actions/remove-contact-from-segment.mjs.map +1 -1
  379. package/dist/actions/retrieve-audience.cjs +1 -0
  380. package/dist/actions/retrieve-audience.cjs.map +1 -1
  381. package/dist/actions/retrieve-audience.d.cts +3 -3
  382. package/dist/actions/retrieve-audience.d.cts.map +1 -1
  383. package/dist/actions/retrieve-audience.d.mts +3 -3
  384. package/dist/actions/retrieve-audience.d.mts.map +1 -1
  385. package/dist/actions/retrieve-audience.mjs +1 -0
  386. package/dist/actions/retrieve-audience.mjs.map +1 -1
  387. package/dist/actions/retrieve-contact.cjs +1 -0
  388. package/dist/actions/retrieve-contact.cjs.map +1 -1
  389. package/dist/actions/retrieve-contact.d.cts +3 -4
  390. package/dist/actions/retrieve-contact.d.cts.map +1 -1
  391. package/dist/actions/retrieve-contact.d.mts +3 -4
  392. package/dist/actions/retrieve-contact.d.mts.map +1 -1
  393. package/dist/actions/retrieve-contact.mjs +1 -0
  394. package/dist/actions/retrieve-contact.mjs.map +1 -1
  395. package/dist/actions/retrieve-domain.cjs +1 -0
  396. package/dist/actions/retrieve-domain.cjs.map +1 -1
  397. package/dist/actions/retrieve-domain.d.cts +3 -3
  398. package/dist/actions/retrieve-domain.d.cts.map +1 -1
  399. package/dist/actions/retrieve-domain.d.mts +3 -3
  400. package/dist/actions/retrieve-domain.d.mts.map +1 -1
  401. package/dist/actions/retrieve-domain.mjs +1 -0
  402. package/dist/actions/retrieve-domain.mjs.map +1 -1
  403. package/dist/actions/retrieve-email.cjs +1 -0
  404. package/dist/actions/retrieve-email.cjs.map +1 -1
  405. package/dist/actions/retrieve-email.d.cts +3 -3
  406. package/dist/actions/retrieve-email.d.cts.map +1 -1
  407. package/dist/actions/retrieve-email.d.mts +3 -3
  408. package/dist/actions/retrieve-email.d.mts.map +1 -1
  409. package/dist/actions/retrieve-email.mjs +1 -0
  410. package/dist/actions/retrieve-email.mjs.map +1 -1
  411. package/dist/actions/send-batch-emails.cjs +1 -0
  412. package/dist/actions/send-batch-emails.cjs.map +1 -1
  413. package/dist/actions/send-batch-emails.d.cts +3 -16
  414. package/dist/actions/send-batch-emails.d.cts.map +1 -1
  415. package/dist/actions/send-batch-emails.d.mts +3 -16
  416. package/dist/actions/send-batch-emails.d.mts.map +1 -1
  417. package/dist/actions/send-batch-emails.mjs +1 -0
  418. package/dist/actions/send-batch-emails.mjs.map +1 -1
  419. package/dist/actions/send-email.cjs +1 -0
  420. package/dist/actions/send-email.cjs.map +1 -1
  421. package/dist/actions/send-email.d.cts +3 -13
  422. package/dist/actions/send-email.d.cts.map +1 -1
  423. package/dist/actions/send-email.d.mts +3 -13
  424. package/dist/actions/send-email.d.mts.map +1 -1
  425. package/dist/actions/send-email.mjs +1 -0
  426. package/dist/actions/send-email.mjs.map +1 -1
  427. package/dist/actions/update-broadcast.cjs +1 -0
  428. package/dist/actions/update-broadcast.cjs.map +1 -1
  429. package/dist/actions/update-broadcast.d.cts +3 -12
  430. package/dist/actions/update-broadcast.d.cts.map +1 -1
  431. package/dist/actions/update-broadcast.d.mts +3 -12
  432. package/dist/actions/update-broadcast.d.mts.map +1 -1
  433. package/dist/actions/update-broadcast.mjs +1 -0
  434. package/dist/actions/update-broadcast.mjs.map +1 -1
  435. package/dist/actions/update-contact-property.cjs +1 -0
  436. package/dist/actions/update-contact-property.cjs.map +1 -1
  437. package/dist/actions/update-contact-property.d.cts +3 -4
  438. package/dist/actions/update-contact-property.d.cts.map +1 -1
  439. package/dist/actions/update-contact-property.d.mts +3 -4
  440. package/dist/actions/update-contact-property.d.mts.map +1 -1
  441. package/dist/actions/update-contact-property.mjs +1 -0
  442. package/dist/actions/update-contact-property.mjs.map +1 -1
  443. package/dist/actions/update-contact.cjs +1 -0
  444. package/dist/actions/update-contact.cjs.map +1 -1
  445. package/dist/actions/update-contact.d.cts +3 -6
  446. package/dist/actions/update-contact.d.cts.map +1 -1
  447. package/dist/actions/update-contact.d.mts +3 -6
  448. package/dist/actions/update-contact.d.mts.map +1 -1
  449. package/dist/actions/update-contact.mjs +1 -0
  450. package/dist/actions/update-contact.mjs.map +1 -1
  451. package/dist/actions/update-domain.cjs +1 -0
  452. package/dist/actions/update-domain.cjs.map +1 -1
  453. package/dist/actions/update-domain.d.cts +3 -6
  454. package/dist/actions/update-domain.d.cts.map +1 -1
  455. package/dist/actions/update-domain.d.mts +3 -6
  456. package/dist/actions/update-domain.d.mts.map +1 -1
  457. package/dist/actions/update-domain.mjs +1 -0
  458. package/dist/actions/update-domain.mjs.map +1 -1
  459. package/dist/actions/update-email.cjs +1 -0
  460. package/dist/actions/update-email.cjs.map +1 -1
  461. package/dist/actions/update-email.d.cts +3 -4
  462. package/dist/actions/update-email.d.cts.map +1 -1
  463. package/dist/actions/update-email.d.mts +3 -4
  464. package/dist/actions/update-email.d.mts.map +1 -1
  465. package/dist/actions/update-email.mjs +1 -0
  466. package/dist/actions/update-email.mjs.map +1 -1
  467. package/dist/actions/update-template.cjs +1 -0
  468. package/dist/actions/update-template.cjs.map +1 -1
  469. package/dist/actions/update-template.d.cts +3 -16
  470. package/dist/actions/update-template.d.cts.map +1 -1
  471. package/dist/actions/update-template.d.mts +3 -16
  472. package/dist/actions/update-template.d.mts.map +1 -1
  473. package/dist/actions/update-template.mjs +1 -0
  474. package/dist/actions/update-template.mjs.map +1 -1
  475. package/dist/actions/update-topic.cjs +1 -0
  476. package/dist/actions/update-topic.cjs.map +1 -1
  477. package/dist/actions/update-topic.d.cts +3 -4
  478. package/dist/actions/update-topic.d.cts.map +1 -1
  479. package/dist/actions/update-topic.d.mts +3 -4
  480. package/dist/actions/update-topic.d.mts.map +1 -1
  481. package/dist/actions/update-topic.mjs +1 -0
  482. package/dist/actions/update-topic.mjs.map +1 -1
  483. package/dist/actions/update-webhook.cjs +1 -0
  484. package/dist/actions/update-webhook.cjs.map +1 -1
  485. package/dist/actions/update-webhook.d.cts +3 -6
  486. package/dist/actions/update-webhook.d.cts.map +1 -1
  487. package/dist/actions/update-webhook.d.mts +3 -6
  488. package/dist/actions/update-webhook.d.mts.map +1 -1
  489. package/dist/actions/update-webhook.mjs +1 -0
  490. package/dist/actions/update-webhook.mjs.map +1 -1
  491. package/dist/actions/verify-domain.cjs +1 -0
  492. package/dist/actions/verify-domain.cjs.map +1 -1
  493. package/dist/actions/verify-domain.d.cts +3 -3
  494. package/dist/actions/verify-domain.d.cts.map +1 -1
  495. package/dist/actions/verify-domain.d.mts +3 -3
  496. package/dist/actions/verify-domain.d.mts.map +1 -1
  497. package/dist/actions/verify-domain.mjs +1 -0
  498. package/dist/actions/verify-domain.mjs.map +1 -1
  499. package/dist/app.cjs +5 -2
  500. package/dist/app.cjs.map +1 -1
  501. package/dist/app.d.cts +7 -1
  502. package/dist/app.d.cts.map +1 -1
  503. package/dist/app.d.mts +7 -1
  504. package/dist/app.d.mts.map +1 -1
  505. package/dist/app.mjs +3 -2
  506. package/dist/app.mjs.map +1 -1
  507. package/dist/index.d.cts +1 -1
  508. package/dist/index.d.mts +1 -1
  509. package/package.json +2 -2
@@ -1,3 +1,5 @@
1
+ import { resend } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-audiences.d.ts
@@ -15,11 +17,7 @@ declare const ResendListAudiencesOutput: z.ZodObject<{
15
17
  object: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
16
18
  has_more: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
17
19
  }, z.core.$loose>;
18
- declare const resendListAudiences: import("@keystrokehq/action").WorkflowActionDefinition<{
19
- after?: string | undefined;
20
- limit?: number | undefined;
21
- before?: string | undefined;
22
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
20
+ declare const resendListAudiences: AppAction<typeof ResendListAudiencesInput, typeof ResendListAudiencesOutput, typeof resend.credential>;
23
21
  //#endregion
24
22
  export { resendListAudiences };
25
23
  //# sourceMappingURL=list-audiences.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-audiences.d.mts","names":[],"sources":["../../src/actions/list-audiences.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;cAUxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;cAMzB,mBAAA,gCAAmB,wBAAA"}
1
+ {"version":3,"file":"list-audiences.d.mts","names":[],"sources":["../../src/actions/list-audiences.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;cAUxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;cAMzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,MAAA,CAAO,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/list-audiences.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-audiences.mjs","names":[],"sources":["../../src/actions/list-audiences.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListAudiencesInput = z.object({\n after: z.string().describe(\"Cursor ID for forward pagination.\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return. Max: 100.\").optional(),\n before: z.string().describe(\"Cursor ID for backward pagination.\").optional(),\n});\nconst ResendListAudiences_AudienceSchema = z.object({\n id: z.string().describe(\"The id of the audience.\").nullable().optional(),\n name: z.string().describe(\"The name of the audience.\").nullable().optional(),\n created_at: z.string().describe(\"The creation timestamp of the audience.\").nullable().optional(),\n}).passthrough();\nexport const ResendListAudiencesOutput = z.object({\n data: z.array(ResendListAudiences_AudienceSchema).describe(\"The list of audiences.\").nullable().optional(),\n object: z.string().default(\"list\").describe(\"The type of object, which is 'list'.\").nullable().optional(),\n has_more: z.boolean().default(false).describe(\"Whether additional results are available for pagination.\").nullable().optional(),\n}).passthrough();\n\nexport const resendListAudiences = action(\"RESEND_LIST_AUDIENCES\", {\n slug: \"resend-list-audiences\",\n name: \"List Audiences\",\n description: \"List all audiences.\",\n input: ResendListAudiencesInput,\n output: ResendListAudiencesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC5F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AAC7E,CAAC;AACD,MAAM,qCAAqC,EAAE,OAAO;CAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY;AAOf,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXuC,EAAE,OAAO;EAChD,MAAM,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,QAAQ,EAAE,OAAO,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,UAAU,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"list-audiences.mjs","names":[],"sources":["../../src/actions/list-audiences.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { resend } from \"../app\";\n\nexport const ResendListAudiencesInput = z.object({\n after: z.string().describe(\"Cursor ID for forward pagination.\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return. Max: 100.\").optional(),\n before: z.string().describe(\"Cursor ID for backward pagination.\").optional(),\n});\nconst ResendListAudiences_AudienceSchema = z.object({\n id: z.string().describe(\"The id of the audience.\").nullable().optional(),\n name: z.string().describe(\"The name of the audience.\").nullable().optional(),\n created_at: z.string().describe(\"The creation timestamp of the audience.\").nullable().optional(),\n}).passthrough();\nexport const ResendListAudiencesOutput = z.object({\n data: z.array(ResendListAudiences_AudienceSchema).describe(\"The list of audiences.\").nullable().optional(),\n object: z.string().default(\"list\").describe(\"The type of object, which is 'list'.\").nullable().optional(),\n has_more: z.boolean().default(false).describe(\"Whether additional results are available for pagination.\").nullable().optional(),\n}).passthrough();\n\nexport const resendListAudiences: AppAction<\n typeof ResendListAudiencesInput,\n typeof ResendListAudiencesOutput,\n typeof resend.credential\n> = action(\"RESEND_LIST_AUDIENCES\", {\n slug: \"resend-list-audiences\",\n name: \"List Audiences\",\n description: \"List all audiences.\",\n input: ResendListAudiencesInput,\n output: ResendListAudiencesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC5F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AAC7E,CAAC;AACD,MAAM,qCAAqC,EAAE,OAAO;CAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY;AAOf,MAAa,sBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAfuC,EAAE,OAAO;EAChD,MAAM,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,QAAQ,EAAE,OAAO,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,UAAU,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-broadcasts.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-broadcasts.cjs","names":["z","action"],"sources":["../../src/actions/list-broadcasts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListBroadcastsInput = z.object({\n after: z.string().describe(\"The ID after which we'll retrieve more broadcasts (for pagination). This ID will not be included in the returned list. Cannot be used with the before parameter.\").optional(),\n limit: z.number().int().describe(\"Number of broadcasts to retrieve. If not provided, all broadcasts will be returned.\").optional(),\n before: z.string().describe(\"The ID before which we'll retrieve more broadcasts (for pagination). This ID will not be included in the returned list. Cannot be used with the after parameter.\").optional(),\n});\nconst ResendListBroadcasts_BroadcastSchema = z.object({\n id: z.string().describe(\"Unique broadcast identifier.\").nullable().optional(),\n name: z.string().describe(\"Name of the broadcast.\").nullable().optional(),\n status: z.string().describe(\"Status of the broadcast.\").nullable().optional(),\n sent_at: z.string().describe(\"Timestamp when the broadcast was sent.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of broadcast creation.\").nullable().optional(),\n audience_id: z.string().describe(\"ID of the audience associated with the broadcast.\").nullable().optional(),\n scheduled_at: z.string().describe(\"Timestamp when the broadcast is scheduled to be sent.\").nullable().optional(),\n}).passthrough().describe(\"Broadcast object representation.\");\nexport const ResendListBroadcastsOutput = z.object({\n data: z.array(ResendListBroadcasts_BroadcastSchema).describe(\"Array containing broadcast information.\").nullable().optional(),\n object: z.string().describe(\"Type of the response object.\").nullable().optional(),\n}).passthrough();\n\nexport const resendListBroadcasts = action(\"RESEND_LIST_BROADCASTS\", {\n slug: \"resend-list-broadcasts\",\n name: \"List Broadcasts\",\n description: \"Tool to retrieve a list of broadcasts. Use when you need to fetch all broadcasts or paginate through them.\",\n input: ResendListBroadcastsInput,\n output: ResendListBroadcastsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kKAAkK,CAAC,CAA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AEf,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-broadcasts.cjs","names":["z","action"],"sources":["../../src/actions/list-broadcasts.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { resend } from \"../app\";\n\nexport const ResendListBroadcastsInput = z.object({\n after: z.string().describe(\"The ID after which we'll retrieve more broadcasts (for pagination). This ID will not be included in the returned list. Cannot be used with the before parameter.\").optional(),\n limit: z.number().int().describe(\"Number of broadcasts to retrieve. If not provided, all broadcasts will be returned.\").optional(),\n before: z.string().describe(\"The ID before which we'll retrieve more broadcasts (for pagination). This ID will not be included in the returned list. Cannot be used with the after parameter.\").optional(),\n});\nconst ResendListBroadcasts_BroadcastSchema = z.object({\n id: z.string().describe(\"Unique broadcast identifier.\").nullable().optional(),\n name: z.string().describe(\"Name of the broadcast.\").nullable().optional(),\n status: z.string().describe(\"Status of the broadcast.\").nullable().optional(),\n sent_at: z.string().describe(\"Timestamp when the broadcast was sent.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of broadcast creation.\").nullable().optional(),\n audience_id: z.string().describe(\"ID of the audience associated with the broadcast.\").nullable().optional(),\n scheduled_at: z.string().describe(\"Timestamp when the broadcast is scheduled to be sent.\").nullable().optional(),\n}).passthrough().describe(\"Broadcast object representation.\");\nexport const ResendListBroadcastsOutput = z.object({\n data: z.array(ResendListBroadcasts_BroadcastSchema).describe(\"Array containing broadcast information.\").nullable().optional(),\n object: z.string().describe(\"Type of the response object.\").nullable().optional(),\n}).passthrough();\n\nexport const resendListBroadcasts: AppAction<\n typeof ResendListBroadcastsInput,\n typeof ResendListBroadcastsOutput,\n typeof resend.credential\n> = action(\"RESEND_LIST_BROADCASTS\", {\n slug: \"resend-list-broadcasts\",\n name: \"List Broadcasts\",\n description: \"Tool to retrieve a list of broadcasts. Use when you need to fetch all broadcasts or paginate through them.\",\n input: ResendListBroadcastsInput,\n output: ResendListBroadcastsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kKAAkK,CAAC,CAAC,SAAS;CACxM,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CACjI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kKAAkK,CAAC,CAAC,SAAS;AAC3M,CAAC;AACD,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAC5D,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,uBAITC,eAAAA,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { resend } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-broadcasts.d.ts
@@ -18,11 +20,7 @@ declare const ResendListBroadcastsOutput: z.ZodObject<{
18
20
  }, z.core.$loose>>>>;
19
21
  object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
22
  }, z.core.$loose>;
21
- declare const resendListBroadcasts: import("@keystrokehq/action").WorkflowActionDefinition<{
22
- after?: string | undefined;
23
- limit?: number | undefined;
24
- before?: string | undefined;
25
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
23
+ declare const resendListBroadcasts: AppAction<typeof ResendListBroadcastsInput, typeof ResendListBroadcastsOutput, typeof resend.credential>;
26
24
  //#endregion
27
25
  export { resendListBroadcasts };
28
26
  //# sourceMappingURL=list-broadcasts.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-broadcasts.d.cts","names":[],"sources":["../../src/actions/list-broadcasts.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;cAczB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAK1B,oBAAA,gCAAoB,wBAAA"}
1
+ {"version":3,"file":"list-broadcasts.d.cts","names":[],"sources":["../../src/actions/list-broadcasts.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;cAczB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAK1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,MAAA,CAAO,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { resend } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-broadcasts.d.ts
@@ -18,11 +20,7 @@ declare const ResendListBroadcastsOutput: z.ZodObject<{
18
20
  }, z.core.$loose>>>>;
19
21
  object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
22
  }, z.core.$loose>;
21
- declare const resendListBroadcasts: import("@keystrokehq/action").WorkflowActionDefinition<{
22
- after?: string | undefined;
23
- limit?: number | undefined;
24
- before?: string | undefined;
25
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
23
+ declare const resendListBroadcasts: AppAction<typeof ResendListBroadcastsInput, typeof ResendListBroadcastsOutput, typeof resend.credential>;
26
24
  //#endregion
27
25
  export { resendListBroadcasts };
28
26
  //# sourceMappingURL=list-broadcasts.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-broadcasts.d.mts","names":[],"sources":["../../src/actions/list-broadcasts.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;cAczB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAK1B,oBAAA,gCAAoB,wBAAA"}
1
+ {"version":3,"file":"list-broadcasts.d.mts","names":[],"sources":["../../src/actions/list-broadcasts.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;cAczB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAK1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,MAAA,CAAO,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/list-broadcasts.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-broadcasts.mjs","names":[],"sources":["../../src/actions/list-broadcasts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListBroadcastsInput = z.object({\n after: z.string().describe(\"The ID after which we'll retrieve more broadcasts (for pagination). This ID will not be included in the returned list. Cannot be used with the before parameter.\").optional(),\n limit: z.number().int().describe(\"Number of broadcasts to retrieve. If not provided, all broadcasts will be returned.\").optional(),\n before: z.string().describe(\"The ID before which we'll retrieve more broadcasts (for pagination). This ID will not be included in the returned list. Cannot be used with the after parameter.\").optional(),\n});\nconst ResendListBroadcasts_BroadcastSchema = z.object({\n id: z.string().describe(\"Unique broadcast identifier.\").nullable().optional(),\n name: z.string().describe(\"Name of the broadcast.\").nullable().optional(),\n status: z.string().describe(\"Status of the broadcast.\").nullable().optional(),\n sent_at: z.string().describe(\"Timestamp when the broadcast was sent.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of broadcast creation.\").nullable().optional(),\n audience_id: z.string().describe(\"ID of the audience associated with the broadcast.\").nullable().optional(),\n scheduled_at: z.string().describe(\"Timestamp when the broadcast is scheduled to be sent.\").nullable().optional(),\n}).passthrough().describe(\"Broadcast object representation.\");\nexport const ResendListBroadcastsOutput = z.object({\n data: z.array(ResendListBroadcasts_BroadcastSchema).describe(\"Array containing broadcast information.\").nullable().optional(),\n object: z.string().describe(\"Type of the response object.\").nullable().optional(),\n}).passthrough();\n\nexport const resendListBroadcasts = action(\"RESEND_LIST_BROADCASTS\", {\n slug: \"resend-list-broadcasts\",\n name: \"List Broadcasts\",\n description: \"Tool to retrieve a list of broadcasts. Use when you need to fetch all broadcasts or paginate through them.\",\n input: ResendListBroadcastsInput,\n output: ResendListBroadcastsOutput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S,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"list-broadcasts.mjs","names":[],"sources":["../../src/actions/list-broadcasts.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { resend } from \"../app\";\n\nexport const ResendListBroadcastsInput = z.object({\n after: z.string().describe(\"The ID after which we'll retrieve more broadcasts (for pagination). This ID will not be included in the returned list. Cannot be used with the before parameter.\").optional(),\n limit: z.number().int().describe(\"Number of broadcasts to retrieve. If not provided, all broadcasts will be returned.\").optional(),\n before: z.string().describe(\"The ID before which we'll retrieve more broadcasts (for pagination). This ID will not be included in the returned list. Cannot be used with the after parameter.\").optional(),\n});\nconst ResendListBroadcasts_BroadcastSchema = z.object({\n id: z.string().describe(\"Unique broadcast identifier.\").nullable().optional(),\n name: z.string().describe(\"Name of the broadcast.\").nullable().optional(),\n status: z.string().describe(\"Status of the broadcast.\").nullable().optional(),\n sent_at: z.string().describe(\"Timestamp when the broadcast was sent.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of broadcast creation.\").nullable().optional(),\n audience_id: z.string().describe(\"ID of the audience associated with the broadcast.\").nullable().optional(),\n scheduled_at: z.string().describe(\"Timestamp when the broadcast is scheduled to be sent.\").nullable().optional(),\n}).passthrough().describe(\"Broadcast object representation.\");\nexport const ResendListBroadcastsOutput = z.object({\n data: z.array(ResendListBroadcasts_BroadcastSchema).describe(\"Array containing broadcast information.\").nullable().optional(),\n object: z.string().describe(\"Type of the response object.\").nullable().optional(),\n}).passthrough();\n\nexport const resendListBroadcasts: AppAction<\n typeof ResendListBroadcastsInput,\n typeof ResendListBroadcastsOutput,\n typeof resend.credential\n> = action(\"RESEND_LIST_BROADCASTS\", {\n slug: \"resend-list-broadcasts\",\n name: \"List Broadcasts\",\n description: \"Tool to retrieve a list of broadcasts. Use when you need to fetch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AAC,CAAC,SAAS;EAC5H,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-contact-properties.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-contact-properties.cjs","names":["z","action"],"sources":["../../src/actions/list-contact-properties.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListContactPropertiesInput = z.object({\n after: z.string().describe(\"Return items after this cursor.\").optional(),\n limit: z.number().int().describe(\"Number of items to return.\").optional(),\n before: z.string().describe(\"Return items before this cursor.\").optional(),\n});\nconst ResendListContactProperties_ContactPropertySchema = z.object({\n id: z.string().describe(\"Unique contact property identifier.\").nullable().optional(),\n name: z.string().describe(\"Name of the contact property.\").nullable().optional(),\n type: z.string().describe(\"Type of the contact property.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of property creation in ISO 8601 format.\").nullable().optional(),\n description: z.string().describe(\"Description of the contact property.\").nullable().optional(),\n}).passthrough().describe(\"Contact property object representation.\");\nexport const ResendListContactPropertiesOutput = z.object({\n data: z.array(ResendListContactProperties_ContactPropertySchema).describe(\"Array containing contact property information.\").nullable().optional(),\n object: z.string().describe(\"Type of the response object.\").nullable().optional(),\n has_more: z.boolean().describe(\"Indicates if there are more results available.\").nullable().optional(),\n}).passthrough();\n\nexport const resendListContactProperties = action(\"RESEND_LIST_CONTACT_PROPERTIES\", {\n slug: \"resend-list-contact-properties\",\n name: \"List Contact Properties\",\n description: \"Tool to retrieve a list of contact properties from Resend. Use when you need to view available contact property definitions.\",\n input: ResendListContactPropertiesInput,\n output: ResendListContactPropertiesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,OAAOA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AkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-contact-properties.cjs","names":["z","action"],"sources":["../../src/actions/list-contact-properties.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { resend } from \"../app\";\n\nexport const ResendListContactPropertiesInput = z.object({\n after: z.string().describe(\"Return items after this cursor.\").optional(),\n limit: z.number().int().describe(\"Number of items to return.\").optional(),\n before: z.string().describe(\"Return items before this cursor.\").optional(),\n});\nconst ResendListContactProperties_ContactPropertySchema = z.object({\n id: z.string().describe(\"Unique contact property identifier.\").nullable().optional(),\n name: z.string().describe(\"Name of the contact property.\").nullable().optional(),\n type: z.string().describe(\"Type of the contact property.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of property creation in ISO 8601 format.\").nullable().optional(),\n description: z.string().describe(\"Description of the contact property.\").nullable().optional(),\n}).passthrough().describe(\"Contact property object representation.\");\nexport const ResendListContactPropertiesOutput = z.object({\n data: z.array(ResendListContactProperties_ContactPropertySchema).describe(\"Array containing contact property information.\").nullable().optional(),\n object: z.string().describe(\"Type of the response object.\").nullable().optional(),\n has_more: z.boolean().describe(\"Indicates if there are more results available.\").nullable().optional(),\n}).passthrough();\n\nexport const resendListContactProperties: AppAction<\n typeof ResendListContactPropertiesInput,\n typeof ResendListContactPropertiesOutput,\n typeof resend.credential\n> = action(\"RESEND_LIST_CONTACT_PROPERTIES\", {\n slug: \"resend-list-contact-properties\",\n name: \"List Contact Properties\",\n description: \"Tool to retrieve a list of contact properties from Resend. Use when you need to view available contact property definitions.\",\n input: ResendListContactPropertiesInput,\n output: ResendListContactPropertiesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACvE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"}
@@ -1,3 +1,5 @@
1
+ import { resend } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-contact-properties.d.ts
@@ -17,11 +19,7 @@ declare const ResendListContactPropertiesOutput: z.ZodObject<{
17
19
  object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
20
  has_more: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
19
21
  }, z.core.$loose>;
20
- declare const resendListContactProperties: import("@keystrokehq/action").WorkflowActionDefinition<{
21
- after?: string | undefined;
22
- limit?: number | undefined;
23
- before?: string | undefined;
24
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
22
+ declare const resendListContactProperties: AppAction<typeof ResendListContactPropertiesInput, typeof ResendListContactPropertiesOutput, typeof resend.credential>;
25
23
  //#endregion
26
24
  export { resendListContactProperties };
27
25
  //# sourceMappingURL=list-contact-properties.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-contact-properties.d.cts","names":[],"sources":["../../src/actions/list-contact-properties.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAYhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;cAMjC,2BAAA,gCAA2B,wBAAA"}
1
+ {"version":3,"file":"list-contact-properties.d.cts","names":[],"sources":["../../src/actions/list-contact-properties.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAYhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;cAMjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,MAAA,CAAO,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { resend } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-contact-properties.d.ts
@@ -17,11 +19,7 @@ declare const ResendListContactPropertiesOutput: z.ZodObject<{
17
19
  object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
20
  has_more: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
19
21
  }, z.core.$loose>;
20
- declare const resendListContactProperties: import("@keystrokehq/action").WorkflowActionDefinition<{
21
- after?: string | undefined;
22
- limit?: number | undefined;
23
- before?: string | undefined;
24
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
22
+ declare const resendListContactProperties: AppAction<typeof ResendListContactPropertiesInput, typeof ResendListContactPropertiesOutput, typeof resend.credential>;
25
23
  //#endregion
26
24
  export { resendListContactProperties };
27
25
  //# sourceMappingURL=list-contact-properties.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-contact-properties.d.mts","names":[],"sources":["../../src/actions/list-contact-properties.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAYhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;cAMjC,2BAAA,gCAA2B,wBAAA"}
1
+ {"version":3,"file":"list-contact-properties.d.mts","names":[],"sources":["../../src/actions/list-contact-properties.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAYhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;cAMjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,MAAA,CAAO,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/list-contact-properties.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-contact-properties.mjs","names":[],"sources":["../../src/actions/list-contact-properties.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListContactPropertiesInput = z.object({\n after: z.string().describe(\"Return items after this cursor.\").optional(),\n limit: z.number().int().describe(\"Number of items to return.\").optional(),\n before: z.string().describe(\"Return items before this cursor.\").optional(),\n});\nconst ResendListContactProperties_ContactPropertySchema = z.object({\n id: z.string().describe(\"Unique contact property identifier.\").nullable().optional(),\n name: z.string().describe(\"Name of the contact property.\").nullable().optional(),\n type: z.string().describe(\"Type of the contact property.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of property creation in ISO 8601 format.\").nullable().optional(),\n description: z.string().describe(\"Description of the contact property.\").nullable().optional(),\n}).passthrough().describe(\"Contact property object representation.\");\nexport const ResendListContactPropertiesOutput = z.object({\n data: z.array(ResendListContactProperties_ContactPropertySchema).describe(\"Array containing contact property information.\").nullable().optional(),\n object: z.string().describe(\"Type of the response object.\").nullable().optional(),\n has_more: z.boolean().describe(\"Indicates if there are more results available.\").nullable().optional(),\n}).passthrough();\n\nexport const resendListContactProperties = action(\"RESEND_LIST_CONTACT_PROPERTIES\", {\n slug: \"resend-list-contact-properties\",\n name: \"List Contact Properties\",\n description: \"Tool to retrieve a list of contact properties from Resend. Use when you need to view available contact property definitions.\",\n input: ResendListContactPropertiesInput,\n output: ResendListContactPropertiesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO;CACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACvE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACxE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AAC3E,CAAC;AACD,MAAM,oDAAoD,EAAE,OAAO;CACjE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAOnE,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX+C,EAAE,OAAO;EACxD,MAAM,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChJ,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"list-contact-properties.mjs","names":[],"sources":["../../src/actions/list-contact-properties.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { resend } from \"../app\";\n\nexport const ResendListContactPropertiesInput = z.object({\n after: z.string().describe(\"Return items after this cursor.\").optional(),\n limit: z.number().int().describe(\"Number of items to return.\").optional(),\n before: z.string().describe(\"Return items before this cursor.\").optional(),\n});\nconst ResendListContactProperties_ContactPropertySchema = z.object({\n id: z.string().describe(\"Unique contact property identifier.\").nullable().optional(),\n name: z.string().describe(\"Name of the contact property.\").nullable().optional(),\n type: z.string().describe(\"Type of the contact property.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of property creation in ISO 8601 format.\").nullable().optional(),\n description: z.string().describe(\"Description of the contact property.\").nullable().optional(),\n}).passthrough().describe(\"Contact property object representation.\");\nexport const ResendListContactPropertiesOutput = z.object({\n data: z.array(ResendListContactProperties_ContactPropertySchema).describe(\"Array containing contact property information.\").nullable().optional(),\n object: z.string().describe(\"Type of the response object.\").nullable().optional(),\n has_more: z.boolean().describe(\"Indicates if there are more results available.\").nullable().optional(),\n}).passthrough();\n\nexport const resendListContactProperties: AppAction<\n typeof ResendListContactPropertiesInput,\n typeof ResendListContactPropertiesOutput,\n typeof resend.credential\n> = action(\"RESEND_LIST_CONTACT_PROPERTIES\", {\n slug: \"resend-list-contact-properties\",\n name: \"List Contact Properties\",\n description: \"Tool to retrieve a list of contact properties from Resend. Use when you need to view available contact property definitions.\",\n input: ResendListContactPropertiesInput,\n output: ResendListContactPropertiesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmC,EAAE,OAAO;CACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACvE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACxE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AAC3E,CAAC;AACD,MAAM,oDAAoD,EAAE,OAAO;CACjE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAOnE,MAAa,8BAIT,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAf+C,EAAE,OAAO;EACxD,MAAM,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChJ,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-contact-segments.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-contact-segments.cjs","names":["z","action"],"sources":["../../src/actions/list-contact-segments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListContactSegmentsInput = z.object({\n id: z.string().describe(\"The ID of the contact.\"),\n after: z.string().describe(\"Cursor ID for forward pagination.\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return. Max: 100.\").optional(),\n before: z.string().describe(\"Cursor ID for backward pagination.\").optional(),\n});\nconst ResendListContactSegments_SegmentSchema = z.object({\n id: z.string().describe(\"Unique segment identifier.\").nullable(),\n name: z.string().describe(\"Display name of the segment.\").nullable(),\n created_at: z.string().describe(\"Timestamp of segment creation in ISO 8601 format.\").nullable(),\n}).passthrough().describe(\"Segment object representation.\");\nexport const ResendListContactSegmentsOutput = z.object({\n data: z.array(ResendListContactSegments_SegmentSchema).describe(\"Collection of segment objects that the contact belongs to.\"),\n object: z.string().describe(\"Identifier indicating this is a list response.\").nullable(),\n has_more: z.boolean().describe(\"Whether additional results are available for pagination.\").nullable(),\n}).passthrough();\n\nexport const resendListContactSegments = action(\"RESEND_LIST_CONTACT_SEGMENTS\", {\n slug: \"resend-list-contact-segments\",\n name: \"List Contact Segments\",\n description: \"Retrieve a list of segments that a contact is part of. Use when you need to determine which segments a specific contact belongs to.\",\n input: ResendListContactSegmentsInput,\n output: ResendListContactSegmentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CAChD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC5F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AAC7E,CAAC;AACD,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACnE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gCAAgC;AAC1D,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,4DAA4D;CAC5H,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACvF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-contact-segments.cjs","names":["z","action"],"sources":["../../src/actions/list-contact-segments.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { resend } from \"../app\";\n\nexport const ResendListContactSegmentsInput = z.object({\n id: z.string().describe(\"The ID of the contact.\"),\n after: z.string().describe(\"Cursor ID for forward pagination.\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return. Max: 100.\").optional(),\n before: z.string().describe(\"Cursor ID for backward pagination.\").optional(),\n});\nconst ResendListContactSegments_SegmentSchema = z.object({\n id: z.string().describe(\"Unique segment identifier.\").nullable(),\n name: z.string().describe(\"Display name of the segment.\").nullable(),\n created_at: z.string().describe(\"Timestamp of segment creation in ISO 8601 format.\").nullable(),\n}).passthrough().describe(\"Segment object representation.\");\nexport const ResendListContactSegmentsOutput = z.object({\n data: z.array(ResendListContactSegments_SegmentSchema).describe(\"Collection of segment objects that the contact belongs to.\"),\n object: z.string().describe(\"Identifier indicating this is a list response.\").nullable(),\n has_more: z.boolean().describe(\"Whether additional results are available for pagination.\").nullable(),\n}).passthrough();\n\nexport const resendListContactSegments: AppAction<\n typeof ResendListContactSegmentsInput,\n typeof ResendListContactSegmentsOutput,\n typeof resend.credential\n> = action(\"RESEND_LIST_CONTACT_SEGMENTS\", {\n slug: \"resend-list-contact-segments\",\n name: \"List Contact Segments\",\n description: \"Retrieve a list of segments that a contact is part of. Use when you need to determine which segments a specific contact belongs to.\",\n input: ResendListContactSegmentsInput,\n output: ResendListContactSegmentsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CAChD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC5F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AAC7E,CAAC;AACD,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACnE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gCAAgC;AAC1D,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,4DAA4D;CAC5H,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACvF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,4BAITC,eAAAA,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { resend } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-contact-segments.d.ts
@@ -16,12 +18,7 @@ declare const ResendListContactSegmentsOutput: z.ZodObject<{
16
18
  object: z.ZodNullable<z.ZodString>;
17
19
  has_more: z.ZodNullable<z.ZodBoolean>;
18
20
  }, z.core.$loose>;
19
- declare const resendListContactSegments: import("@keystrokehq/action").WorkflowActionDefinition<{
20
- id: string;
21
- after?: string | undefined;
22
- limit?: number | undefined;
23
- before?: string | undefined;
24
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
21
+ declare const resendListContactSegments: AppAction<typeof ResendListContactSegmentsInput, typeof ResendListContactSegmentsOutput, typeof resend.credential>;
25
22
  //#endregion
26
23
  export { resendListContactSegments };
27
24
  //# sourceMappingURL=list-contact-segments.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-contact-segments.d.cts","names":[],"sources":["../../src/actions/list-contact-segments.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;cAW9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;cAM/B,yBAAA,gCAAyB,wBAAA"}
1
+ {"version":3,"file":"list-contact-segments.d.cts","names":[],"sources":["../../src/actions/list-contact-segments.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;cAW9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;cAM/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,MAAA,CAAO,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { resend } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-contact-segments.d.ts
@@ -16,12 +18,7 @@ declare const ResendListContactSegmentsOutput: z.ZodObject<{
16
18
  object: z.ZodNullable<z.ZodString>;
17
19
  has_more: z.ZodNullable<z.ZodBoolean>;
18
20
  }, z.core.$loose>;
19
- declare const resendListContactSegments: import("@keystrokehq/action").WorkflowActionDefinition<{
20
- id: string;
21
- after?: string | undefined;
22
- limit?: number | undefined;
23
- before?: string | undefined;
24
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
21
+ declare const resendListContactSegments: AppAction<typeof ResendListContactSegmentsInput, typeof ResendListContactSegmentsOutput, typeof resend.credential>;
25
22
  //#endregion
26
23
  export { resendListContactSegments };
27
24
  //# sourceMappingURL=list-contact-segments.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-contact-segments.d.mts","names":[],"sources":["../../src/actions/list-contact-segments.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;cAW9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;cAM/B,yBAAA,gCAAyB,wBAAA"}
1
+ {"version":3,"file":"list-contact-segments.d.mts","names":[],"sources":["../../src/actions/list-contact-segments.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;cAW9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;cAM/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,MAAA,CAAO,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/list-contact-segments.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-contact-segments.mjs","names":[],"sources":["../../src/actions/list-contact-segments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListContactSegmentsInput = z.object({\n id: z.string().describe(\"The ID of the contact.\"),\n after: z.string().describe(\"Cursor ID for forward pagination.\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return. Max: 100.\").optional(),\n before: z.string().describe(\"Cursor ID for backward pagination.\").optional(),\n});\nconst ResendListContactSegments_SegmentSchema = z.object({\n id: z.string().describe(\"Unique segment identifier.\").nullable(),\n name: z.string().describe(\"Display name of the segment.\").nullable(),\n created_at: z.string().describe(\"Timestamp of segment creation in ISO 8601 format.\").nullable(),\n}).passthrough().describe(\"Segment object representation.\");\nexport const ResendListContactSegmentsOutput = z.object({\n data: z.array(ResendListContactSegments_SegmentSchema).describe(\"Collection of segment objects that the contact belongs to.\"),\n object: z.string().describe(\"Identifier indicating this is a list response.\").nullable(),\n has_more: z.boolean().describe(\"Whether additional results are available for pagination.\").nullable(),\n}).passthrough();\n\nexport const resendListContactSegments = action(\"RESEND_LIST_CONTACT_SEGMENTS\", {\n slug: \"resend-list-contact-segments\",\n name: \"List Contact Segments\",\n description: \"Retrieve a list of segments that a contact is part of. Use when you need to determine which segments a specific contact belongs to.\",\n input: ResendListContactSegmentsInput,\n output: ResendListContactSegmentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CAChD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC5F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AAC7E,CAAC;AACD,MAAM,0CAA0C,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACnE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gCAAgC;AAO1D,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX6C,EAAE,OAAO;EACtD,MAAM,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,4DAA4D;EAC5H,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EACvF,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACtG,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"list-contact-segments.mjs","names":[],"sources":["../../src/actions/list-contact-segments.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { resend } from \"../app\";\n\nexport const ResendListContactSegmentsInput = z.object({\n id: z.string().describe(\"The ID of the contact.\"),\n after: z.string().describe(\"Cursor ID for forward pagination.\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return. Max: 100.\").optional(),\n before: z.string().describe(\"Cursor ID for backward pagination.\").optional(),\n});\nconst ResendListContactSegments_SegmentSchema = z.object({\n id: z.string().describe(\"Unique segment identifier.\").nullable(),\n name: z.string().describe(\"Display name of the segment.\").nullable(),\n created_at: z.string().describe(\"Timestamp of segment creation in ISO 8601 format.\").nullable(),\n}).passthrough().describe(\"Segment object representation.\");\nexport const ResendListContactSegmentsOutput = z.object({\n data: z.array(ResendListContactSegments_SegmentSchema).describe(\"Collection of segment objects that the contact belongs to.\"),\n object: z.string().describe(\"Identifier indicating this is a list response.\").nullable(),\n has_more: z.boolean().describe(\"Whether additional results are available for pagination.\").nullable(),\n}).passthrough();\n\nexport const resendListContactSegments: AppAction<\n typeof ResendListContactSegmentsInput,\n typeof ResendListContactSegmentsOutput,\n typeof resend.credential\n> = action(\"RESEND_LIST_CONTACT_SEGMENTS\", {\n slug: \"resend-list-contact-segments\",\n name: \"List Contact Segments\",\n description: \"Retrieve a list of segments that a contact is part of. Use when you need to determine which segments a specific contact belongs to.\",\n input: ResendListContactSegmentsInput,\n output: ResendListContactSegmentsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiC,EAAE,OAAO;CACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CAChD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC5F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AAC7E,CAAC;AACD,MAAM,0CAA0C,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACnE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gCAAgC;AAO1D,MAAa,4BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAf6C,EAAE,OAAO;EACtD,MAAM,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,4DAA4D;EAC5H,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EACvF,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACtG,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-contact-topics.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-contact-topics.cjs","names":["z","action"],"sources":["../../src/actions/list-contact-topics.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListContactTopicsInput = z.object({\n after: z.string().describe(\"Cursor ID for forward pagination.\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return. Max: 100.\").optional(),\n before: z.string().describe(\"Cursor ID for backward pagination.\").optional(),\n contact_id: z.string().describe(\"The ID of the contact.\"),\n});\nconst ResendListContactTopics_TopicSubscriptionSchema = z.object({\n id: z.string().describe(\"Unique identifier for the topic.\").nullable().optional(),\n name: z.string().describe(\"Topic display name.\").nullable().optional(),\n description: z.string().describe(\"Explanation of topic content.\").nullable().optional(),\n subscription: z.string().describe(\"Subscription status (e.g., 'opt_in', 'opt_out').\").nullable().optional(),\n}).passthrough().describe(\"Topic subscription object representation.\");\nexport const ResendListContactTopicsOutput = z.object({\n data: z.array(ResendListContactTopics_TopicSubscriptionSchema).describe(\"Collection of topic subscription objects.\").nullable().optional(),\n object: z.string().describe(\"Identifies response type as 'list'.\").nullable().optional(),\n has_more: z.boolean().describe(\"Indicates if additional paginated results exist.\").nullable().optional(),\n}).passthrough();\n\nexport const resendListContactTopics = action(\"RESEND_LIST_CONTACT_TOPICS\", {\n slug: \"resend-list-contact-topics\",\n name: \"List Contact Topics\",\n description: \"Retrieve a list of topic subscriptions for a contact in Resend. Use when you need to check which topics a specific contact is subscribed to.\",\n input: ResendListContactTopicsInput,\n output: ResendListContactTopicsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC5F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC3E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;AAC1D,CAAC;AACD,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AACrE,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-contact-topics.cjs","names":["z","action"],"sources":["../../src/actions/list-contact-topics.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { resend } from \"../app\";\n\nexport const ResendListContactTopicsInput = z.object({\n after: z.string().describe(\"Cursor ID for forward pagination.\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return. Max: 100.\").optional(),\n before: z.string().describe(\"Cursor ID for backward pagination.\").optional(),\n contact_id: z.string().describe(\"The ID of the contact.\"),\n});\nconst ResendListContactTopics_TopicSubscriptionSchema = z.object({\n id: z.string().describe(\"Unique identifier for the topic.\").nullable().optional(),\n name: z.string().describe(\"Topic display name.\").nullable().optional(),\n description: z.string().describe(\"Explanation of topic content.\").nullable().optional(),\n subscription: z.string().describe(\"Subscription status (e.g., 'opt_in', 'opt_out').\").nullable().optional(),\n}).passthrough().describe(\"Topic subscription object representation.\");\nexport const ResendListContactTopicsOutput = z.object({\n data: z.array(ResendListContactTopics_TopicSubscriptionSchema).describe(\"Collection of topic subscription objects.\").nullable().optional(),\n object: z.string().describe(\"Identifies response type as 'list'.\").nullable().optional(),\n has_more: z.boolean().describe(\"Indicates if additional paginated results exist.\").nullable().optional(),\n}).passthrough();\n\nexport const resendListContactTopics: AppAction<\n typeof ResendListContactTopicsInput,\n typeof ResendListContactTopicsOutput,\n typeof resend.credential\n> = action(\"RESEND_LIST_CONTACT_TOPICS\", {\n slug: \"resend-list-contact-topics\",\n name: \"List Contact Topics\",\n description: \"Retrieve a list of topic subscriptions for a contact in Resend. Use when you need to check which topics a specific contact is subscribed to.\",\n input: ResendListContactTopicsInput,\n output: ResendListContactTopicsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC5F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC3E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;AAC1D,CAAC;AACD,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AACrE,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,0BAITC,eAAAA,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { resend } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-contact-topics.d.ts
@@ -17,12 +19,7 @@ declare const ResendListContactTopicsOutput: z.ZodObject<{
17
19
  object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
20
  has_more: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
19
21
  }, z.core.$loose>;
20
- declare const resendListContactTopics: import("@keystrokehq/action").WorkflowActionDefinition<{
21
- contact_id: string;
22
- after?: string | undefined;
23
- limit?: number | undefined;
24
- before?: string | undefined;
25
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
22
+ declare const resendListContactTopics: AppAction<typeof ResendListContactTopicsInput, typeof ResendListContactTopicsOutput, typeof resend.credential>;
26
23
  //#endregion
27
24
  export { resendListContactTopics };
28
25
  //# sourceMappingURL=list-contact-topics.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-contact-topics.d.cts","names":[],"sources":["../../src/actions/list-contact-topics.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;cAY5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;cAM7B,uBAAA,gCAAuB,wBAAA"}
1
+ {"version":3,"file":"list-contact-topics.d.cts","names":[],"sources":["../../src/actions/list-contact-topics.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;cAY5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;cAM7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,MAAA,CAAO,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { resend } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-contact-topics.d.ts
@@ -17,12 +19,7 @@ declare const ResendListContactTopicsOutput: z.ZodObject<{
17
19
  object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
20
  has_more: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
19
21
  }, z.core.$loose>;
20
- declare const resendListContactTopics: import("@keystrokehq/action").WorkflowActionDefinition<{
21
- contact_id: string;
22
- after?: string | undefined;
23
- limit?: number | undefined;
24
- before?: string | undefined;
25
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
22
+ declare const resendListContactTopics: AppAction<typeof ResendListContactTopicsInput, typeof ResendListContactTopicsOutput, typeof resend.credential>;
26
23
  //#endregion
27
24
  export { resendListContactTopics };
28
25
  //# sourceMappingURL=list-contact-topics.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-contact-topics.d.mts","names":[],"sources":["../../src/actions/list-contact-topics.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;cAY5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;cAM7B,uBAAA,gCAAuB,wBAAA"}
1
+ {"version":3,"file":"list-contact-topics.d.mts","names":[],"sources":["../../src/actions/list-contact-topics.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;cAY5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;cAM7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,MAAA,CAAO,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/list-contact-topics.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-contact-topics.mjs","names":[],"sources":["../../src/actions/list-contact-topics.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListContactTopicsInput = z.object({\n after: z.string().describe(\"Cursor ID for forward pagination.\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return. Max: 100.\").optional(),\n before: z.string().describe(\"Cursor ID for backward pagination.\").optional(),\n contact_id: z.string().describe(\"The ID of the contact.\"),\n});\nconst ResendListContactTopics_TopicSubscriptionSchema = z.object({\n id: z.string().describe(\"Unique identifier for the topic.\").nullable().optional(),\n name: z.string().describe(\"Topic display name.\").nullable().optional(),\n description: z.string().describe(\"Explanation of topic content.\").nullable().optional(),\n subscription: z.string().describe(\"Subscription status (e.g., 'opt_in', 'opt_out').\").nullable().optional(),\n}).passthrough().describe(\"Topic subscription object representation.\");\nexport const ResendListContactTopicsOutput = z.object({\n data: z.array(ResendListContactTopics_TopicSubscriptionSchema).describe(\"Collection of topic subscription objects.\").nullable().optional(),\n object: z.string().describe(\"Identifies response type as 'list'.\").nullable().optional(),\n has_more: z.boolean().describe(\"Indicates if additional paginated results exist.\").nullable().optional(),\n}).passthrough();\n\nexport const resendListContactTopics = action(\"RESEND_LIST_CONTACT_TOPICS\", {\n slug: \"resend-list-contact-topics\",\n name: \"List Contact Topics\",\n description: \"Retrieve a list of topic subscriptions for a contact in Resend. Use when you need to check which topics a specific contact is subscribed to.\",\n input: ResendListContactTopicsInput,\n output: ResendListContactTopicsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC5F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC3E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;AAC1D,CAAC;AACD,MAAM,kDAAkD,EAAE,OAAO;CAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAOrE,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX2C,EAAE,OAAO;EACpD,MAAM,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"list-contact-topics.mjs","names":[],"sources":["../../src/actions/list-contact-topics.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { resend } from \"../app\";\n\nexport const ResendListContactTopicsInput = z.object({\n after: z.string().describe(\"Cursor ID for forward pagination.\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return. Max: 100.\").optional(),\n before: z.string().describe(\"Cursor ID for backward pagination.\").optional(),\n contact_id: z.string().describe(\"The ID of the contact.\"),\n});\nconst ResendListContactTopics_TopicSubscriptionSchema = z.object({\n id: z.string().describe(\"Unique identifier for the topic.\").nullable().optional(),\n name: z.string().describe(\"Topic display name.\").nullable().optional(),\n description: z.string().describe(\"Explanation of topic content.\").nullable().optional(),\n subscription: z.string().describe(\"Subscription status (e.g., 'opt_in', 'opt_out').\").nullable().optional(),\n}).passthrough().describe(\"Topic subscription object representation.\");\nexport const ResendListContactTopicsOutput = z.object({\n data: z.array(ResendListContactTopics_TopicSubscriptionSchema).describe(\"Collection of topic subscription objects.\").nullable().optional(),\n object: z.string().describe(\"Identifies response type as 'list'.\").nullable().optional(),\n has_more: z.boolean().describe(\"Indicates if additional paginated results exist.\").nullable().optional(),\n}).passthrough();\n\nexport const resendListContactTopics: AppAction<\n typeof ResendListContactTopicsInput,\n typeof ResendListContactTopicsOutput,\n typeof resend.credential\n> = action(\"RESEND_LIST_CONTACT_TOPICS\", {\n slug: \"resend-list-contact-topics\",\n name: \"List Contact Topics\",\n description: \"Retrieve a list of topic subscriptions for a contact in Resend. Use when you need to check which topics a specific contact is subscribed to.\",\n input: ResendListContactTopicsInput,\n output: ResendListContactTopicsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+B,EAAE,OAAO;CACnD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC5F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC3E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;AAC1D,CAAC;AACD,MAAM,kDAAkD,EAAE,OAAO;CAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAOrE,MAAa,0BAIT,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAf2C,EAAE,OAAO;EACpD,MAAM,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-contacts.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-contacts.cjs","names":["z","action"],"sources":["../../src/actions/list-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListContactsInput = z.object({\n after: z.string().describe(\"Cursor ID for forward pagination.\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return. Max: 100.\").optional(),\n before: z.string().describe(\"Cursor ID for backward pagination.\").optional(),\n audienceId: z.string().describe(\"The Audience ID.\"),\n});\nconst ResendListContacts_ContactSchema = z.object({\n id: z.string().describe(\"Unique contact identifier.\").nullable(),\n email: z.string().describe(\"Contact's email address.\").nullable(),\n last_name: z.string().describe(\"Contact's surname.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of contact creation in ISO 8601 format.\").nullable(),\n first_name: z.string().describe(\"Contact's given name.\").nullable().optional(),\n unsubscribed: z.boolean().describe(\"Indicates subscription status.\").nullable(),\n}).passthrough().describe(\"Contact object representation.\");\nexport const ResendListContactsOutput = z.object({\n data: z.array(ResendListContacts_ContactSchema).describe(\"Collection of contact objects.\"),\n object: z.string().describe(\"Identifier indicating this is a list response.\").nullable(),\n has_more: z.boolean().describe(\"Whether additional results are available for pagination.\").nullable(),\n}).passthrough();\n\nexport const resendListContacts = action(\"RESEND_LIST_CONTACTS\", {\n slug: \"resend-list-contacts\",\n name: \"List Contacts\",\n description: \"List contacts in Resend.\",\n input: ResendListContactsInput,\n output: ResendListContactsO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,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-contacts.cjs","names":["z","action"],"sources":["../../src/actions/list-contacts.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { resend } from \"../app\";\n\nexport const ResendListContactsInput = z.object({\n after: z.string().describe(\"Cursor ID for forward pagination.\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return. Max: 100.\").optional(),\n before: z.string().describe(\"Cursor ID for backward pagination.\").optional(),\n audienceId: z.string().describe(\"The Audience ID.\"),\n});\nconst ResendListContacts_ContactSchema = z.object({\n id: z.string().describe(\"Unique contact identifier.\").nullable(),\n email: z.string().describe(\"Contact's email address.\").nullable(),\n last_name: z.string().describe(\"Contact's surname.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of contact creation in ISO 8601 format.\").nullable(),\n first_name: z.string().describe(\"Contact's given name.\").nullable().optional(),\n unsubscribed: z.boolean().describe(\"Indicates subscription status.\").nullable(),\n}).passthrough().describe(\"Contact object representation.\");\nexport const ResendListContactsOutput = z.object({\n data: z.array(ResendListContacts_ContactSchema).describe(\"Collection of contact objects.\"),\n object: z.string().describe(\"Identifier indicating this is a list response.\").nullable(),\n has_more: z.boolean().describe(\"Whether additional results are available for pagination.\").nullable(),\n}).passthrough();\n\nexport const resendListContacts: AppAction<\n typeof ResendListContactsInput,\n typeof ResendListContactsOutput,\n typeof resend.credential\n> = action(\"RESEND_LIST_CONTACTS\", {\n slug: \"resend-list-contacts\",\n name: \"List Contacts\",\n description: \"List contacts in Resend.\",\n input: ResendListContactsInput,\n output: ResendListContactsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,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AAAA,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { resend } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-contacts.d.ts
@@ -19,12 +21,7 @@ declare const ResendListContactsOutput: z.ZodObject<{
19
21
  object: z.ZodNullable<z.ZodString>;
20
22
  has_more: z.ZodNullable<z.ZodBoolean>;
21
23
  }, z.core.$loose>;
22
- declare const resendListContacts: import("@keystrokehq/action").WorkflowActionDefinition<{
23
- audienceId: string;
24
- after?: string | undefined;
25
- limit?: number | undefined;
26
- before?: string | undefined;
27
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
24
+ declare const resendListContacts: AppAction<typeof ResendListContactsInput, typeof ResendListContactsOutput, typeof resend.credential>;
28
25
  //#endregion
29
26
  export { resendListContacts };
30
27
  //# sourceMappingURL=list-contacts.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-contacts.d.cts","names":[],"sources":["../../src/actions/list-contacts.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;cAcvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAMxB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"list-contacts.d.cts","names":[],"sources":["../../src/actions/list-contacts.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;cAcvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAMxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,MAAA,CAAO,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { resend } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-contacts.d.ts
@@ -19,12 +21,7 @@ declare const ResendListContactsOutput: z.ZodObject<{
19
21
  object: z.ZodNullable<z.ZodString>;
20
22
  has_more: z.ZodNullable<z.ZodBoolean>;
21
23
  }, z.core.$loose>;
22
- declare const resendListContacts: import("@keystrokehq/action").WorkflowActionDefinition<{
23
- audienceId: string;
24
- after?: string | undefined;
25
- limit?: number | undefined;
26
- before?: string | undefined;
27
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
24
+ declare const resendListContacts: AppAction<typeof ResendListContactsInput, typeof ResendListContactsOutput, typeof resend.credential>;
28
25
  //#endregion
29
26
  export { resendListContacts };
30
27
  //# sourceMappingURL=list-contacts.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-contacts.d.mts","names":[],"sources":["../../src/actions/list-contacts.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;cAcvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAMxB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"list-contacts.d.mts","names":[],"sources":["../../src/actions/list-contacts.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;cAcvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAMxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,MAAA,CAAO,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/list-contacts.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-contacts.mjs","names":[],"sources":["../../src/actions/list-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListContactsInput = z.object({\n after: z.string().describe(\"Cursor ID for forward pagination.\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return. Max: 100.\").optional(),\n before: z.string().describe(\"Cursor ID for backward pagination.\").optional(),\n audienceId: z.string().describe(\"The Audience ID.\"),\n});\nconst ResendListContacts_ContactSchema = z.object({\n id: z.string().describe(\"Unique contact identifier.\").nullable(),\n email: z.string().describe(\"Contact's email address.\").nullable(),\n last_name: z.string().describe(\"Contact's surname.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of contact creation in ISO 8601 format.\").nullable(),\n first_name: z.string().describe(\"Contact's given name.\").nullable().optional(),\n unsubscribed: z.boolean().describe(\"Indicates subscription status.\").nullable(),\n}).passthrough().describe(\"Contact object representation.\");\nexport const ResendListContactsOutput = z.object({\n data: z.array(ResendListContacts_ContactSchema).describe(\"Collection of contact objects.\"),\n object: z.string().describe(\"Identifier indicating this is a list response.\").nullable(),\n has_more: z.boolean().describe(\"Whether additional results are available for pagination.\").nullable(),\n}).passthrough();\n\nexport const resendListContacts = action(\"RESEND_LIST_CONTACTS\", {\n slug: \"resend-list-contacts\",\n name: \"List Contacts\",\n description: \"List contacts in Resend.\",\n input: ResendListContactsInput,\n output: ResendListContactsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC5F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC3E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;AACpD,CAAC;AACD,MAAM,mCAAmC,EAAE,OAAO;CAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAChE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC9F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gCAAgC;AAO1D,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXsC,EAAE,OAAO;EAC/C,MAAM,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,gCAAgC;EACzF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EACvF,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACtG,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"list-contacts.mjs","names":[],"sources":["../../src/actions/list-contacts.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { resend } from \"../app\";\n\nexport const ResendListContactsInput = z.object({\n after: z.string().describe(\"Cursor ID for forward pagination.\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return. Max: 100.\").optional(),\n before: z.string().describe(\"Cursor ID for backward pagination.\").optional(),\n audienceId: z.string().describe(\"The Audience ID.\"),\n});\nconst ResendListContacts_ContactSchema = z.object({\n id: z.string().describe(\"Unique contact identifier.\").nullable(),\n email: z.string().describe(\"Contact's email address.\").nullable(),\n last_name: z.string().describe(\"Contact's surname.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of contact creation in ISO 8601 format.\").nullable(),\n first_name: z.string().describe(\"Contact's given name.\").nullable().optional(),\n unsubscribed: z.boolean().describe(\"Indicates subscription status.\").nullable(),\n}).passthrough().describe(\"Contact object representation.\");\nexport const ResendListContactsOutput = z.object({\n data: z.array(ResendListContacts_ContactSchema).describe(\"Collection of contact objects.\"),\n object: z.string().describe(\"Identifier indicating this is a list response.\").nullable(),\n has_more: z.boolean().describe(\"Whether additional results are available for pagination.\").nullable(),\n}).passthrough();\n\nexport const resendListContacts: AppAction<\n typeof ResendListContactsInput,\n typeof ResendListContactsOutput,\n typeof resend.credential\n> = action(\"RESEND_LIST_CONTACTS\", {\n slug: \"resend-list-contacts\",\n name: \"List Contacts\",\n description: \"List contacts in Resend.\",\n input: ResendListContactsInput,\n output: ResendListContactsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC5F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC3E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;AACpD,CAAC;AACD,MAAM,mCAAmC,EAAE,OAAO;CAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAChE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC9F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gCAAgC;AAO1D,MAAa,qBAIT,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAfsC,EAAE,OAAO;EAC/C,MAAM,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,gCAAgC;EACzF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EACvF,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACtG,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-domains.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-domains.cjs","names":["z","action"],"sources":["../../src/actions/list-domains.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ResendListDomainsInput = z.object({});\nconst ResendListDomains_DomainSchema = z.object({\n id: z.string().describe(\"The id of the domain.\").nullable().optional(),\n name: z.string().describe(\"The name of the domain.\").nullable().optional(),\n region: z.string().describe(\"The region where emails will be sent from.\").nullable().optional(),\n status: z.string().describe(\"The status of the domain.\").nullable().optional(),\n created_at: z.string().describe(\"The creation timestamp of the domain.\").nullable().optional(),\n}).passthrough();\nexport const ResendListDomainsOutput = z.object({\n domains: z.array(ResendListDomains_DomainSchema).describe(\"The list of domains.\").nullable().optional(),\n}).passthrough();\n\nexport const resendListDomains = action(\"RESEND_LIST_DOMAINS\", {\n slug: \"resend-list-domains\",\n name: \"List Domains\",\n description: \"List all domains. Use the returned domain IDs as inputs for tools like RESEND_VERIFY_DOMAIN that require a domain_id.\",\n input: ResendListDomainsInput,\n output: ResendListDomainsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC;AACjD,MAAM,iCAAiCA,IAAAA,EAAE,OAAO;CAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,SAASA,IAAAA,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxG,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-domains.cjs","names":["z","action"],"sources":["../../src/actions/list-domains.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { resend } from \"../app\";\n\nexport const ResendListDomainsInput = z.object({});\nconst ResendListDomains_DomainSchema = z.object({\n id: z.string().describe(\"The id of the domain.\").nullable().optional(),\n name: z.string().describe(\"The name of the domain.\").nullable().optional(),\n region: z.string().describe(\"The region where emails will be sent from.\").nullable().optional(),\n status: z.string().describe(\"The status of the domain.\").nullable().optional(),\n created_at: z.string().describe(\"The creation timestamp of the domain.\").nullable().optional(),\n}).passthrough();\nexport const ResendListDomainsOutput = z.object({\n domains: z.array(ResendListDomains_DomainSchema).describe(\"The list of domains.\").nullable().optional(),\n}).passthrough();\n\nexport const resendListDomains: AppAction<\n typeof ResendListDomainsInput,\n typeof ResendListDomainsOutput,\n typeof resend.credential\n> = action(\"RESEND_LIST_DOMAINS\", {\n slug: \"resend-list-domains\",\n name: \"List Domains\",\n description: \"List all domains. Use the returned domain IDs as inputs for tools like RESEND_VERIFY_DOMAIN that require a domain_id.\",\n input: ResendListDomainsInput,\n output: ResendListDomainsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC;AACjD,MAAM,iCAAiCA,IAAAA,EAAE,OAAO;CAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,SAASA,IAAAA,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxG,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,oBAITC,eAAAA,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}