@keystrokehq/mailtrap 0.1.5 → 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 (405) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/clean-inbox.cjs +1 -0
  4. package/dist/actions/clean-inbox.cjs.map +1 -1
  5. package/dist/actions/clean-inbox.d.cts +3 -18
  6. package/dist/actions/clean-inbox.d.cts.map +1 -1
  7. package/dist/actions/clean-inbox.d.mts +3 -18
  8. package/dist/actions/clean-inbox.d.mts.map +1 -1
  9. package/dist/actions/clean-inbox.mjs +1 -0
  10. package/dist/actions/clean-inbox.mjs.map +1 -1
  11. package/dist/actions/create-contact-event.cjs +1 -0
  12. package/dist/actions/create-contact-event.cjs.map +1 -1
  13. package/dist/actions/create-contact-event.d.cts +3 -20
  14. package/dist/actions/create-contact-event.d.cts.map +1 -1
  15. package/dist/actions/create-contact-event.d.mts +3 -20
  16. package/dist/actions/create-contact-event.d.mts.map +1 -1
  17. package/dist/actions/create-contact-event.mjs +1 -0
  18. package/dist/actions/create-contact-event.mjs.map +1 -1
  19. package/dist/actions/create-contact-export.cjs +1 -0
  20. package/dist/actions/create-contact-export.cjs.map +1 -1
  21. package/dist/actions/create-contact-export.d.cts +3 -23
  22. package/dist/actions/create-contact-export.d.cts.map +1 -1
  23. package/dist/actions/create-contact-export.d.mts +3 -23
  24. package/dist/actions/create-contact-export.d.mts.map +1 -1
  25. package/dist/actions/create-contact-export.mjs +1 -0
  26. package/dist/actions/create-contact-export.mjs.map +1 -1
  27. package/dist/actions/create-contact-field.cjs +1 -0
  28. package/dist/actions/create-contact-field.cjs.map +1 -1
  29. package/dist/actions/create-contact-field.d.cts +3 -20
  30. package/dist/actions/create-contact-field.d.cts.map +1 -1
  31. package/dist/actions/create-contact-field.d.mts +3 -20
  32. package/dist/actions/create-contact-field.d.mts.map +1 -1
  33. package/dist/actions/create-contact-field.mjs +1 -0
  34. package/dist/actions/create-contact-field.mjs.map +1 -1
  35. package/dist/actions/create-contact-list.cjs +1 -0
  36. package/dist/actions/create-contact-list.cjs.map +1 -1
  37. package/dist/actions/create-contact-list.d.cts +3 -18
  38. package/dist/actions/create-contact-list.d.cts.map +1 -1
  39. package/dist/actions/create-contact-list.d.mts +3 -18
  40. package/dist/actions/create-contact-list.d.mts.map +1 -1
  41. package/dist/actions/create-contact-list.mjs +1 -0
  42. package/dist/actions/create-contact-list.mjs.map +1 -1
  43. package/dist/actions/create-contact.cjs +1 -0
  44. package/dist/actions/create-contact.cjs.map +1 -1
  45. package/dist/actions/create-contact.d.cts +3 -25
  46. package/dist/actions/create-contact.d.cts.map +1 -1
  47. package/dist/actions/create-contact.d.mts +3 -25
  48. package/dist/actions/create-contact.d.mts.map +1 -1
  49. package/dist/actions/create-contact.mjs +1 -0
  50. package/dist/actions/create-contact.mjs.map +1 -1
  51. package/dist/actions/create-email-template.cjs +1 -0
  52. package/dist/actions/create-email-template.cjs.map +1 -1
  53. package/dist/actions/create-email-template.d.cts +3 -24
  54. package/dist/actions/create-email-template.d.cts.map +1 -1
  55. package/dist/actions/create-email-template.d.mts +3 -24
  56. package/dist/actions/create-email-template.d.mts.map +1 -1
  57. package/dist/actions/create-email-template.mjs +1 -0
  58. package/dist/actions/create-email-template.mjs.map +1 -1
  59. package/dist/actions/create-sending-domain.cjs +1 -0
  60. package/dist/actions/create-sending-domain.cjs.map +1 -1
  61. package/dist/actions/create-sending-domain.d.cts +3 -20
  62. package/dist/actions/create-sending-domain.d.cts.map +1 -1
  63. package/dist/actions/create-sending-domain.d.mts +3 -20
  64. package/dist/actions/create-sending-domain.d.mts.map +1 -1
  65. package/dist/actions/create-sending-domain.mjs +1 -0
  66. package/dist/actions/create-sending-domain.mjs.map +1 -1
  67. package/dist/actions/delete-contact-field.cjs +1 -0
  68. package/dist/actions/delete-contact-field.cjs.map +1 -1
  69. package/dist/actions/delete-contact-field.d.cts +3 -18
  70. package/dist/actions/delete-contact-field.d.cts.map +1 -1
  71. package/dist/actions/delete-contact-field.d.mts +3 -18
  72. package/dist/actions/delete-contact-field.d.mts.map +1 -1
  73. package/dist/actions/delete-contact-field.mjs +1 -0
  74. package/dist/actions/delete-contact-field.mjs.map +1 -1
  75. package/dist/actions/delete-contact-list.cjs +1 -0
  76. package/dist/actions/delete-contact-list.cjs.map +1 -1
  77. package/dist/actions/delete-contact-list.d.cts +3 -18
  78. package/dist/actions/delete-contact-list.d.cts.map +1 -1
  79. package/dist/actions/delete-contact-list.d.mts +3 -18
  80. package/dist/actions/delete-contact-list.d.mts.map +1 -1
  81. package/dist/actions/delete-contact-list.mjs +1 -0
  82. package/dist/actions/delete-contact-list.mjs.map +1 -1
  83. package/dist/actions/delete-contact.cjs +1 -0
  84. package/dist/actions/delete-contact.cjs.map +1 -1
  85. package/dist/actions/delete-contact.d.cts +3 -18
  86. package/dist/actions/delete-contact.d.cts.map +1 -1
  87. package/dist/actions/delete-contact.d.mts +3 -18
  88. package/dist/actions/delete-contact.d.mts.map +1 -1
  89. package/dist/actions/delete-contact.mjs +1 -0
  90. package/dist/actions/delete-contact.mjs.map +1 -1
  91. package/dist/actions/delete-email-template.cjs +1 -0
  92. package/dist/actions/delete-email-template.cjs.map +1 -1
  93. package/dist/actions/delete-email-template.d.cts +3 -18
  94. package/dist/actions/delete-email-template.d.cts.map +1 -1
  95. package/dist/actions/delete-email-template.d.mts +3 -18
  96. package/dist/actions/delete-email-template.d.mts.map +1 -1
  97. package/dist/actions/delete-email-template.mjs +1 -0
  98. package/dist/actions/delete-email-template.mjs.map +1 -1
  99. package/dist/actions/delete-project.cjs +1 -0
  100. package/dist/actions/delete-project.cjs.map +1 -1
  101. package/dist/actions/delete-project.d.cts +3 -18
  102. package/dist/actions/delete-project.d.cts.map +1 -1
  103. package/dist/actions/delete-project.d.mts +3 -18
  104. package/dist/actions/delete-project.d.mts.map +1 -1
  105. package/dist/actions/delete-project.mjs +1 -0
  106. package/dist/actions/delete-project.mjs.map +1 -1
  107. package/dist/actions/delete-sending-domain.cjs +1 -0
  108. package/dist/actions/delete-sending-domain.cjs.map +1 -1
  109. package/dist/actions/delete-sending-domain.d.cts +3 -18
  110. package/dist/actions/delete-sending-domain.d.cts.map +1 -1
  111. package/dist/actions/delete-sending-domain.d.mts +3 -18
  112. package/dist/actions/delete-sending-domain.d.mts.map +1 -1
  113. package/dist/actions/delete-sending-domain.mjs +1 -0
  114. package/dist/actions/delete-sending-domain.mjs.map +1 -1
  115. package/dist/actions/get-billing-usage.cjs +1 -0
  116. package/dist/actions/get-billing-usage.cjs.map +1 -1
  117. package/dist/actions/get-billing-usage.d.cts +3 -17
  118. package/dist/actions/get-billing-usage.d.cts.map +1 -1
  119. package/dist/actions/get-billing-usage.d.mts +3 -17
  120. package/dist/actions/get-billing-usage.d.mts.map +1 -1
  121. package/dist/actions/get-billing-usage.mjs +1 -0
  122. package/dist/actions/get-billing-usage.mjs.map +1 -1
  123. package/dist/actions/get-contact-export.cjs +1 -0
  124. package/dist/actions/get-contact-export.cjs.map +1 -1
  125. package/dist/actions/get-contact-export.d.cts +3 -18
  126. package/dist/actions/get-contact-export.d.cts.map +1 -1
  127. package/dist/actions/get-contact-export.d.mts +3 -18
  128. package/dist/actions/get-contact-export.d.mts.map +1 -1
  129. package/dist/actions/get-contact-export.mjs +1 -0
  130. package/dist/actions/get-contact-export.mjs.map +1 -1
  131. package/dist/actions/get-contact-field.cjs +1 -0
  132. package/dist/actions/get-contact-field.cjs.map +1 -1
  133. package/dist/actions/get-contact-field.d.cts +3 -18
  134. package/dist/actions/get-contact-field.d.cts.map +1 -1
  135. package/dist/actions/get-contact-field.d.mts +3 -18
  136. package/dist/actions/get-contact-field.d.mts.map +1 -1
  137. package/dist/actions/get-contact-field.mjs +1 -0
  138. package/dist/actions/get-contact-field.mjs.map +1 -1
  139. package/dist/actions/get-contact-import.cjs +1 -0
  140. package/dist/actions/get-contact-import.cjs.map +1 -1
  141. package/dist/actions/get-contact-import.d.cts +3 -18
  142. package/dist/actions/get-contact-import.d.cts.map +1 -1
  143. package/dist/actions/get-contact-import.d.mts +3 -18
  144. package/dist/actions/get-contact-import.d.mts.map +1 -1
  145. package/dist/actions/get-contact-import.mjs +1 -0
  146. package/dist/actions/get-contact-import.mjs.map +1 -1
  147. package/dist/actions/get-contact-list.cjs +1 -0
  148. package/dist/actions/get-contact-list.cjs.map +1 -1
  149. package/dist/actions/get-contact-list.d.cts +3 -18
  150. package/dist/actions/get-contact-list.d.cts.map +1 -1
  151. package/dist/actions/get-contact-list.d.mts +3 -18
  152. package/dist/actions/get-contact-list.d.mts.map +1 -1
  153. package/dist/actions/get-contact-list.mjs +1 -0
  154. package/dist/actions/get-contact-list.mjs.map +1 -1
  155. package/dist/actions/get-contact.cjs +1 -0
  156. package/dist/actions/get-contact.cjs.map +1 -1
  157. package/dist/actions/get-contact.d.cts +3 -18
  158. package/dist/actions/get-contact.d.cts.map +1 -1
  159. package/dist/actions/get-contact.d.mts +3 -18
  160. package/dist/actions/get-contact.d.mts.map +1 -1
  161. package/dist/actions/get-contact.mjs +1 -0
  162. package/dist/actions/get-contact.mjs.map +1 -1
  163. package/dist/actions/get-email-template.cjs +1 -0
  164. package/dist/actions/get-email-template.cjs.map +1 -1
  165. package/dist/actions/get-email-template.d.cts +3 -18
  166. package/dist/actions/get-email-template.d.cts.map +1 -1
  167. package/dist/actions/get-email-template.d.mts +3 -18
  168. package/dist/actions/get-email-template.d.mts.map +1 -1
  169. package/dist/actions/get-email-template.mjs +1 -0
  170. package/dist/actions/get-email-template.mjs.map +1 -1
  171. package/dist/actions/get-inbox.cjs +1 -0
  172. package/dist/actions/get-inbox.cjs.map +1 -1
  173. package/dist/actions/get-inbox.d.cts +3 -18
  174. package/dist/actions/get-inbox.d.cts.map +1 -1
  175. package/dist/actions/get-inbox.d.mts +3 -18
  176. package/dist/actions/get-inbox.d.mts.map +1 -1
  177. package/dist/actions/get-inbox.mjs +1 -0
  178. package/dist/actions/get-inbox.mjs.map +1 -1
  179. package/dist/actions/get-message-html.cjs +1 -0
  180. package/dist/actions/get-message-html.cjs.map +1 -1
  181. package/dist/actions/get-message-html.d.cts +3 -19
  182. package/dist/actions/get-message-html.d.cts.map +1 -1
  183. package/dist/actions/get-message-html.d.mts +3 -19
  184. package/dist/actions/get-message-html.d.mts.map +1 -1
  185. package/dist/actions/get-message-html.mjs +1 -0
  186. package/dist/actions/get-message-html.mjs.map +1 -1
  187. package/dist/actions/get-permission-resources.cjs +1 -0
  188. package/dist/actions/get-permission-resources.cjs.map +1 -1
  189. package/dist/actions/get-permission-resources.d.cts +3 -17
  190. package/dist/actions/get-permission-resources.d.cts.map +1 -1
  191. package/dist/actions/get-permission-resources.d.mts +3 -17
  192. package/dist/actions/get-permission-resources.d.mts.map +1 -1
  193. package/dist/actions/get-permission-resources.mjs +1 -0
  194. package/dist/actions/get-permission-resources.mjs.map +1 -1
  195. package/dist/actions/get-project.cjs +1 -0
  196. package/dist/actions/get-project.cjs.map +1 -1
  197. package/dist/actions/get-project.d.cts +3 -18
  198. package/dist/actions/get-project.d.cts.map +1 -1
  199. package/dist/actions/get-project.d.mts +3 -18
  200. package/dist/actions/get-project.d.mts.map +1 -1
  201. package/dist/actions/get-project.mjs +1 -0
  202. package/dist/actions/get-project.mjs.map +1 -1
  203. package/dist/actions/get-sending-domain.cjs +1 -0
  204. package/dist/actions/get-sending-domain.cjs.map +1 -1
  205. package/dist/actions/get-sending-domain.d.cts +3 -18
  206. package/dist/actions/get-sending-domain.d.cts.map +1 -1
  207. package/dist/actions/get-sending-domain.d.mts +3 -18
  208. package/dist/actions/get-sending-domain.d.mts.map +1 -1
  209. package/dist/actions/get-sending-domain.mjs +1 -0
  210. package/dist/actions/get-sending-domain.mjs.map +1 -1
  211. package/dist/actions/get-sending-stats-by-categories.cjs +1 -0
  212. package/dist/actions/get-sending-stats-by-categories.cjs.map +1 -1
  213. package/dist/actions/get-sending-stats-by-categories.d.cts +3 -23
  214. package/dist/actions/get-sending-stats-by-categories.d.cts.map +1 -1
  215. package/dist/actions/get-sending-stats-by-categories.d.mts +3 -23
  216. package/dist/actions/get-sending-stats-by-categories.d.mts.map +1 -1
  217. package/dist/actions/get-sending-stats-by-categories.mjs +1 -0
  218. package/dist/actions/get-sending-stats-by-categories.mjs.map +1 -1
  219. package/dist/actions/get-sending-stats-by-date.cjs +1 -0
  220. package/dist/actions/get-sending-stats-by-date.cjs.map +1 -1
  221. package/dist/actions/get-sending-stats-by-date.d.cts +3 -23
  222. package/dist/actions/get-sending-stats-by-date.d.cts.map +1 -1
  223. package/dist/actions/get-sending-stats-by-date.d.mts +3 -23
  224. package/dist/actions/get-sending-stats-by-date.d.mts.map +1 -1
  225. package/dist/actions/get-sending-stats-by-date.mjs +1 -0
  226. package/dist/actions/get-sending-stats-by-date.mjs.map +1 -1
  227. package/dist/actions/get-sending-stats-by-domains.cjs +1 -0
  228. package/dist/actions/get-sending-stats-by-domains.cjs.map +1 -1
  229. package/dist/actions/get-sending-stats-by-domains.d.cts +3 -23
  230. package/dist/actions/get-sending-stats-by-domains.d.cts.map +1 -1
  231. package/dist/actions/get-sending-stats-by-domains.d.mts +3 -23
  232. package/dist/actions/get-sending-stats-by-domains.d.mts.map +1 -1
  233. package/dist/actions/get-sending-stats-by-domains.mjs +1 -0
  234. package/dist/actions/get-sending-stats-by-domains.mjs.map +1 -1
  235. package/dist/actions/get-sending-stats-by-esp.cjs +1 -0
  236. package/dist/actions/get-sending-stats-by-esp.cjs.map +1 -1
  237. package/dist/actions/get-sending-stats-by-esp.d.cts +3 -23
  238. package/dist/actions/get-sending-stats-by-esp.d.cts.map +1 -1
  239. package/dist/actions/get-sending-stats-by-esp.d.mts +3 -23
  240. package/dist/actions/get-sending-stats-by-esp.d.mts.map +1 -1
  241. package/dist/actions/get-sending-stats-by-esp.mjs +1 -0
  242. package/dist/actions/get-sending-stats-by-esp.mjs.map +1 -1
  243. package/dist/actions/get-sending-stats.cjs +1 -0
  244. package/dist/actions/get-sending-stats.cjs.map +1 -1
  245. package/dist/actions/get-sending-stats.d.cts +3 -23
  246. package/dist/actions/get-sending-stats.d.cts.map +1 -1
  247. package/dist/actions/get-sending-stats.d.mts +3 -23
  248. package/dist/actions/get-sending-stats.d.mts.map +1 -1
  249. package/dist/actions/get-sending-stats.mjs +1 -0
  250. package/dist/actions/get-sending-stats.mjs.map +1 -1
  251. package/dist/actions/import-contacts.cjs +1 -0
  252. package/dist/actions/import-contacts.cjs.map +1 -1
  253. package/dist/actions/import-contacts.d.cts +3 -24
  254. package/dist/actions/import-contacts.d.cts.map +1 -1
  255. package/dist/actions/import-contacts.d.mts +3 -24
  256. package/dist/actions/import-contacts.d.mts.map +1 -1
  257. package/dist/actions/import-contacts.mjs +1 -0
  258. package/dist/actions/import-contacts.mjs.map +1 -1
  259. package/dist/actions/list-accounts.cjs +1 -0
  260. package/dist/actions/list-accounts.cjs.map +1 -1
  261. package/dist/actions/list-accounts.d.cts +3 -15
  262. package/dist/actions/list-accounts.d.cts.map +1 -1
  263. package/dist/actions/list-accounts.d.mts +3 -15
  264. package/dist/actions/list-accounts.d.mts.map +1 -1
  265. package/dist/actions/list-accounts.mjs +1 -0
  266. package/dist/actions/list-accounts.mjs.map +1 -1
  267. package/dist/actions/list-contact-fields.cjs +1 -0
  268. package/dist/actions/list-contact-fields.cjs.map +1 -1
  269. package/dist/actions/list-contact-fields.d.cts +3 -17
  270. package/dist/actions/list-contact-fields.d.cts.map +1 -1
  271. package/dist/actions/list-contact-fields.d.mts +3 -17
  272. package/dist/actions/list-contact-fields.d.mts.map +1 -1
  273. package/dist/actions/list-contact-fields.mjs +1 -0
  274. package/dist/actions/list-contact-fields.mjs.map +1 -1
  275. package/dist/actions/list-contact-lists.cjs +1 -0
  276. package/dist/actions/list-contact-lists.cjs.map +1 -1
  277. package/dist/actions/list-contact-lists.d.cts +3 -17
  278. package/dist/actions/list-contact-lists.d.cts.map +1 -1
  279. package/dist/actions/list-contact-lists.d.mts +3 -17
  280. package/dist/actions/list-contact-lists.d.mts.map +1 -1
  281. package/dist/actions/list-contact-lists.mjs +1 -0
  282. package/dist/actions/list-contact-lists.mjs.map +1 -1
  283. package/dist/actions/list-email-templates.cjs +1 -0
  284. package/dist/actions/list-email-templates.cjs.map +1 -1
  285. package/dist/actions/list-email-templates.d.cts +3 -17
  286. package/dist/actions/list-email-templates.d.cts.map +1 -1
  287. package/dist/actions/list-email-templates.d.mts +3 -17
  288. package/dist/actions/list-email-templates.d.mts.map +1 -1
  289. package/dist/actions/list-email-templates.mjs +1 -0
  290. package/dist/actions/list-email-templates.mjs.map +1 -1
  291. package/dist/actions/list-inboxes.cjs +1 -0
  292. package/dist/actions/list-inboxes.cjs.map +1 -1
  293. package/dist/actions/list-inboxes.d.cts +3 -17
  294. package/dist/actions/list-inboxes.d.cts.map +1 -1
  295. package/dist/actions/list-inboxes.d.mts +3 -17
  296. package/dist/actions/list-inboxes.d.mts.map +1 -1
  297. package/dist/actions/list-inboxes.mjs +1 -0
  298. package/dist/actions/list-inboxes.mjs.map +1 -1
  299. package/dist/actions/list-messages.cjs +1 -0
  300. package/dist/actions/list-messages.cjs.map +1 -1
  301. package/dist/actions/list-messages.d.cts +3 -21
  302. package/dist/actions/list-messages.d.cts.map +1 -1
  303. package/dist/actions/list-messages.d.mts +3 -21
  304. package/dist/actions/list-messages.d.mts.map +1 -1
  305. package/dist/actions/list-messages.mjs +1 -0
  306. package/dist/actions/list-messages.mjs.map +1 -1
  307. package/dist/actions/list-projects.cjs +1 -0
  308. package/dist/actions/list-projects.cjs.map +1 -1
  309. package/dist/actions/list-projects.d.cts +3 -17
  310. package/dist/actions/list-projects.d.cts.map +1 -1
  311. package/dist/actions/list-projects.d.mts +3 -17
  312. package/dist/actions/list-projects.d.mts.map +1 -1
  313. package/dist/actions/list-projects.mjs +1 -0
  314. package/dist/actions/list-projects.mjs.map +1 -1
  315. package/dist/actions/list-sending-domains.cjs +1 -0
  316. package/dist/actions/list-sending-domains.cjs.map +1 -1
  317. package/dist/actions/list-sending-domains.d.cts +3 -17
  318. package/dist/actions/list-sending-domains.d.cts.map +1 -1
  319. package/dist/actions/list-sending-domains.d.mts +3 -17
  320. package/dist/actions/list-sending-domains.d.mts.map +1 -1
  321. package/dist/actions/list-sending-domains.mjs +1 -0
  322. package/dist/actions/list-sending-domains.mjs.map +1 -1
  323. package/dist/actions/list-suppressions.cjs +1 -0
  324. package/dist/actions/list-suppressions.cjs.map +1 -1
  325. package/dist/actions/list-suppressions.d.cts +3 -20
  326. package/dist/actions/list-suppressions.d.cts.map +1 -1
  327. package/dist/actions/list-suppressions.d.mts +3 -20
  328. package/dist/actions/list-suppressions.d.mts.map +1 -1
  329. package/dist/actions/list-suppressions.mjs +1 -0
  330. package/dist/actions/list-suppressions.mjs.map +1 -1
  331. package/dist/actions/mark-inbox-as-read.cjs +1 -0
  332. package/dist/actions/mark-inbox-as-read.cjs.map +1 -1
  333. package/dist/actions/mark-inbox-as-read.d.cts +3 -18
  334. package/dist/actions/mark-inbox-as-read.d.cts.map +1 -1
  335. package/dist/actions/mark-inbox-as-read.d.mts +3 -18
  336. package/dist/actions/mark-inbox-as-read.d.mts.map +1 -1
  337. package/dist/actions/mark-inbox-as-read.mjs +1 -0
  338. package/dist/actions/mark-inbox-as-read.mjs.map +1 -1
  339. package/dist/actions/reset-inbox-credentials.cjs +1 -0
  340. package/dist/actions/reset-inbox-credentials.cjs.map +1 -1
  341. package/dist/actions/reset-inbox-credentials.d.cts +3 -18
  342. package/dist/actions/reset-inbox-credentials.d.cts.map +1 -1
  343. package/dist/actions/reset-inbox-credentials.d.mts +3 -18
  344. package/dist/actions/reset-inbox-credentials.d.mts.map +1 -1
  345. package/dist/actions/reset-inbox-credentials.mjs +1 -0
  346. package/dist/actions/reset-inbox-credentials.mjs.map +1 -1
  347. package/dist/actions/update-contact-field.cjs +1 -0
  348. package/dist/actions/update-contact-field.cjs.map +1 -1
  349. package/dist/actions/update-contact-field.d.cts +3 -20
  350. package/dist/actions/update-contact-field.d.cts.map +1 -1
  351. package/dist/actions/update-contact-field.d.mts +3 -20
  352. package/dist/actions/update-contact-field.d.mts.map +1 -1
  353. package/dist/actions/update-contact-field.mjs +1 -0
  354. package/dist/actions/update-contact-field.mjs.map +1 -1
  355. package/dist/actions/update-contact-list.cjs +1 -0
  356. package/dist/actions/update-contact-list.cjs.map +1 -1
  357. package/dist/actions/update-contact-list.d.cts +3 -19
  358. package/dist/actions/update-contact-list.d.cts.map +1 -1
  359. package/dist/actions/update-contact-list.d.mts +3 -19
  360. package/dist/actions/update-contact-list.d.mts.map +1 -1
  361. package/dist/actions/update-contact-list.mjs +1 -0
  362. package/dist/actions/update-contact-list.mjs.map +1 -1
  363. package/dist/actions/update-contact.cjs +1 -0
  364. package/dist/actions/update-contact.cjs.map +1 -1
  365. package/dist/actions/update-contact.d.cts +3 -25
  366. package/dist/actions/update-contact.d.cts.map +1 -1
  367. package/dist/actions/update-contact.d.mts +3 -25
  368. package/dist/actions/update-contact.d.mts.map +1 -1
  369. package/dist/actions/update-contact.mjs +1 -0
  370. package/dist/actions/update-contact.mjs.map +1 -1
  371. package/dist/actions/update-email-template.cjs +1 -0
  372. package/dist/actions/update-email-template.cjs.map +1 -1
  373. package/dist/actions/update-email-template.d.cts +3 -25
  374. package/dist/actions/update-email-template.d.cts.map +1 -1
  375. package/dist/actions/update-email-template.d.mts +3 -25
  376. package/dist/actions/update-email-template.d.mts.map +1 -1
  377. package/dist/actions/update-email-template.mjs +1 -0
  378. package/dist/actions/update-email-template.mjs.map +1 -1
  379. package/dist/actions/update-inbox.cjs +1 -0
  380. package/dist/actions/update-inbox.cjs.map +1 -1
  381. package/dist/actions/update-inbox.d.cts +3 -22
  382. package/dist/actions/update-inbox.d.cts.map +1 -1
  383. package/dist/actions/update-inbox.d.mts +3 -22
  384. package/dist/actions/update-inbox.d.mts.map +1 -1
  385. package/dist/actions/update-inbox.mjs +1 -0
  386. package/dist/actions/update-inbox.mjs.map +1 -1
  387. package/dist/actions/update-project.cjs +1 -0
  388. package/dist/actions/update-project.cjs.map +1 -1
  389. package/dist/actions/update-project.d.cts +3 -21
  390. package/dist/actions/update-project.d.cts.map +1 -1
  391. package/dist/actions/update-project.d.mts +3 -21
  392. package/dist/actions/update-project.d.mts.map +1 -1
  393. package/dist/actions/update-project.mjs +1 -0
  394. package/dist/actions/update-project.mjs.map +1 -1
  395. package/dist/app.cjs +5 -4
  396. package/dist/app.cjs.map +1 -1
  397. package/dist/app.d.cts +4 -6
  398. package/dist/app.d.cts.map +1 -1
  399. package/dist/app.d.mts +4 -6
  400. package/dist/app.d.mts.map +1 -1
  401. package/dist/app.mjs +0 -1
  402. package/dist/app.mjs.map +1 -1
  403. package/dist/index.d.cts +1 -1
  404. package/dist/index.d.mts +1 -1
  405. package/package.json +2 -2
@@ -1,3 +1,5 @@
1
+ import { mailtrap } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-sending-stats.d.ts
@@ -22,29 +24,7 @@ declare const MailtrapGetSendingStatsOutput: z.ZodObject<{
22
24
  delivery_rate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23
25
  delivery_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
24
26
  }, z.core.$loose>;
25
- declare const mailtrapGetSendingStats: import("@keystrokehq/action").WorkflowActionDefinition<{
26
- end_date: string;
27
- account_id: number;
28
- start_date: string;
29
- categories?: string[] | undefined;
30
- sending_streams?: string[] | undefined;
31
- sending_domain_ids?: number[] | undefined;
32
- email_service_providers?: string[] | undefined;
33
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"mailtrap", z.ZodObject<{
34
- connectionId: z.ZodString;
35
- entityId: z.ZodString;
36
- instanceId: z.ZodString;
37
- }, z.core.$strip>, z.ZodObject<{
38
- token: z.ZodString;
39
- generic_api_key: z.ZodString;
40
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"mailtrap", z.ZodObject<{
41
- connectionId: z.ZodString;
42
- entityId: z.ZodString;
43
- instanceId: z.ZodString;
44
- }, z.core.$strip>, z.ZodObject<{
45
- token: z.ZodString;
46
- generic_api_key: z.ZodString;
47
- }, z.core.$strip>>]>;
27
+ declare const mailtrapGetSendingStats: AppAction<typeof MailtrapGetSendingStatsInput, typeof MailtrapGetSendingStatsOutput, typeof mailtrap.credential>;
48
28
  //#endregion
49
29
  export { mailtrapGetSendingStats };
50
30
  //# sourceMappingURL=get-sending-stats.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-sending-stats.d.mts","names":[],"sources":["../../src/actions/get-sending-stats.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;cAS5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAa7B,uBAAA,gCAAuB,wBAAA"}
1
+ {"version":3,"file":"get-sending-stats.d.mts","names":[],"sources":["../../src/actions/get-sending-stats.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;cAS5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAa7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const mailtrapGetSendingStats = action("MAILTRAP_GET_SENDING_STATS", {
@@ -1 +1 @@
1
- {"version":3,"file":"get-sending-stats.mjs","names":[],"sources":["../../src/actions/get-sending-stats.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapGetSendingStatsInput = z.object({\n end_date: z.string().describe(\"End date for which to include the results, in YYYY-MM-DD format.\"),\n account_id: z.number().int().describe(\"Account ID for which to retrieve sending statistics.\"),\n categories: z.array(z.string()).describe(\"Categories for which to include the results. If not provided, results for all categories will be included.\").optional(),\n start_date: z.string().describe(\"Start date for which to include the results, in YYYY-MM-DD format.\"),\n sending_streams: z.array(z.string()).describe(\"Sending streams for which to include the results. If not provided, results for all sending streams will be included.\").optional(),\n sending_domain_ids: z.array(z.number().int()).describe(\"IDs of the sending domains for which to include the results. If not provided, results for all sending domains will be included.\").optional(),\n email_service_providers: z.array(z.string()).describe(\"Email service providers for which to include the results. If not provided, results for all ESPs will be included.\").optional(),\n}).describe(\"Request model for getting Mailtrap sending stats.\");\nexport const MailtrapGetSendingStatsOutput = z.object({\n open_rate: z.number().describe(\"Open rate as a decimal (e.g., 0.9 means 90%).\").nullable().optional(),\n spam_rate: z.number().describe(\"Spam rate as a decimal (e.g., 0.02 means 2%).\").nullable().optional(),\n click_rate: z.number().describe(\"Click rate as a decimal (e.g., 0.7 means 70%).\").nullable().optional(),\n open_count: z.number().int().describe(\"Total number of email opens.\").nullable().optional(),\n spam_count: z.number().int().describe(\"Total number of emails marked as spam.\").nullable().optional(),\n bounce_rate: z.number().describe(\"Bounce rate as a decimal (e.g., 0.05 means 5%).\").nullable().optional(),\n click_count: z.number().int().describe(\"Total number of email clicks.\").nullable().optional(),\n bounce_count: z.number().int().describe(\"Total number of bounced emails.\").nullable().optional(),\n delivery_rate: z.number().describe(\"Delivery rate as a decimal (e.g., 0.95 means 95%).\").nullable().optional(),\n delivery_count: z.number().int().describe(\"Total number of delivered emails.\").nullable().optional(),\n}).passthrough().describe(\"Response model for Mailtrap sending stats.\");\n\nexport const mailtrapGetSendingStats = action(\"MAILTRAP_GET_SENDING_STATS\", {\n slug: \"mailtrap-get-sending-stats\",\n name: \"Get Sending Stats\",\n description: \"Tool to retrieve email sending statistics from Mailtrap for a specific account. Use when you need metrics like delivery rate, bounce rate, open rate, click rate, and spam rate for a date range.\",\n input: MailtrapGetSendingStatsInput,\n output: MailtrapGetSendingStatsOutput,\n});\n"],"mappings":";;AA0BA,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA1B0C,EAAE,OAAO;EACnD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;EAChG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD;EAC5F,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;EAChK,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;EACpG,iBAAiB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS;EAC/K,oBAAoB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,iIAAiI,CAAC,CAAC,SAAS;EACnM,yBAAyB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;CACtL,CAAC,CAAC,CAAC,SAAS,mDAkBH;CACP,QAlB2C,EAAE,OAAO;EACpD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-sending-stats.mjs","names":[],"sources":["../../src/actions/get-sending-stats.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mailtrap } from \"../app\";\n\nexport const MailtrapGetSendingStatsInput = z.object({\n end_date: z.string().describe(\"End date for which to include the results, in YYYY-MM-DD format.\"),\n account_id: z.number().int().describe(\"Account ID for which to retrieve sending statistics.\"),\n categories: z.array(z.string()).describe(\"Categories for which to include the results. If not provided, results for all categories will be included.\").optional(),\n start_date: z.string().describe(\"Start date for which to include the results, in YYYY-MM-DD format.\"),\n sending_streams: z.array(z.string()).describe(\"Sending streams for which to include the results. If not provided, results for all sending streams will be included.\").optional(),\n sending_domain_ids: z.array(z.number().int()).describe(\"IDs of the sending domains for which to include the results. If not provided, results for all sending domains will be included.\").optional(),\n email_service_providers: z.array(z.string()).describe(\"Email service providers for which to include the results. If not provided, results for all ESPs will be included.\").optional(),\n}).describe(\"Request model for getting Mailtrap sending stats.\");\nexport const MailtrapGetSendingStatsOutput = z.object({\n open_rate: z.number().describe(\"Open rate as a decimal (e.g., 0.9 means 90%).\").nullable().optional(),\n spam_rate: z.number().describe(\"Spam rate as a decimal (e.g., 0.02 means 2%).\").nullable().optional(),\n click_rate: z.number().describe(\"Click rate as a decimal (e.g., 0.7 means 70%).\").nullable().optional(),\n open_count: z.number().int().describe(\"Total number of email opens.\").nullable().optional(),\n spam_count: z.number().int().describe(\"Total number of emails marked as spam.\").nullable().optional(),\n bounce_rate: z.number().describe(\"Bounce rate as a decimal (e.g., 0.05 means 5%).\").nullable().optional(),\n click_count: z.number().int().describe(\"Total number of email clicks.\").nullable().optional(),\n bounce_count: z.number().int().describe(\"Total number of bounced emails.\").nullable().optional(),\n delivery_rate: z.number().describe(\"Delivery rate as a decimal (e.g., 0.95 means 95%).\").nullable().optional(),\n delivery_count: z.number().int().describe(\"Total number of delivered emails.\").nullable().optional(),\n}).passthrough().describe(\"Response model for Mailtrap sending stats.\");\n\nexport const mailtrapGetSendingStats: AppAction<\n typeof MailtrapGetSendingStatsInput,\n typeof MailtrapGetSendingStatsOutput,\n typeof mailtrap.credential\n> = action(\"MAILTRAP_GET_SENDING_STATS\", {\n slug: \"mailtrap-get-sending-stats\",\n name: \"Get Sending Stats\",\n description: \"Tool to retrieve email sending statistics from Mailtrap for a specific account. Use when you need metrics like delivery rate, bounce rate, open rate, click rate, and spam rate for a date range.\",\n input: MailtrapGetSendingStatsInput,\n output: MailtrapGetSendingStatsOutput,\n});\n"],"mappings":";;;AA4BA,MAAa,0BAIT,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA9B0C,EAAE,OAAO;EACnD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;EAChG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD;EAC5F,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;EAChK,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;EACpG,iBAAiB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS;EAC/K,oBAAoB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,iIAAiI,CAAC,CAAC,SAAS;EACnM,yBAAyB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;CACtL,CAAC,CAAC,CAAC,SAAS,mDAsBH;CACP,QAtB2C,EAAE,OAAO;EACpD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAWhB;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/import-contacts.ts
@@ -1 +1 @@
1
- {"version":3,"file":"import-contacts.cjs","names":["z","action"],"sources":["../../src/actions/import-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapImportContactsInput = z.object({\n contacts: z.array(z.object({\n email: z.string().describe(\"Email address of the contact.\"),\n fields: z.record(z.string(), z.unknown()).describe(\"Custom fields for a contact.\").optional(),\n list_ids_excluded: z.array(z.number().int()).describe(\"List of mailing list IDs to exclude this contact from.\").optional(),\n list_ids_included: z.array(z.number().int()).describe(\"List of mailing list IDs to add this contact to.\").optional(),\n}).passthrough().describe(\"Individual contact to import.\")).describe(\"List of contacts to import. Each contact must have an email address and can have optional custom fields and list associations.\"),\n account_id: z.number().int().describe(\"Unique account ID for the Mailtrap account.\"),\n}).describe(\"Request schema for ImportContacts.\");\nexport const MailtrapImportContactsOutput = z.object({\n id: z.number().int().describe(\"Unique identifier for the import job.\").nullable().optional(),\n status: z.string().describe(\"Status of the import job. Values: 'created', 'started', 'finished', or 'failed'.\").nullable().optional(),\n created_contacts_count: z.number().int().describe(\"Number of new contacts created. Only provided when status is 'finished'.\").nullable().optional(),\n updated_contacts_count: z.number().int().describe(\"Number of existing contacts updated. Only provided when status is 'finished'.\").nullable().optional(),\n contacts_over_limit_count: z.number().int().describe(\"Number of contacts that exceeded account limits. Only provided when status is 'finished'.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for ImportContacts.\");\n\nexport const mailtrapImportContacts = action(\"MAILTRAP_IMPORT_CONTACTS\", {\n slug: \"mailtrap-import-contacts\",\n name: \"Import Contacts\",\n description: \"Tool to import contacts in bulk to Mailtrap. Use when you need to add or update multiple contacts at once. The import operation is asynchronous and returns a job ID that can be used to check the status later.\",\n input: MailtrapImportContactsInput,\n output: MailtrapImportContactsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC3B,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;EAC1D,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EAC5F,mBAAmBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;EACzH,mBAAmBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,CAAC,SAAS,gIAAgI;CACnM,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;AACrF,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpI,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClJ,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvJ,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAE/D,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"import-contacts.cjs","names":["z","action"],"sources":["../../src/actions/import-contacts.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mailtrap } from \"../app\";\n\nexport const MailtrapImportContactsInput = z.object({\n contacts: z.array(z.object({\n email: z.string().describe(\"Email address of the contact.\"),\n fields: z.record(z.string(), z.unknown()).describe(\"Custom fields for a contact.\").optional(),\n list_ids_excluded: z.array(z.number().int()).describe(\"List of mailing list IDs to exclude this contact from.\").optional(),\n list_ids_included: z.array(z.number().int()).describe(\"List of mailing list IDs to add this contact to.\").optional(),\n}).passthrough().describe(\"Individual contact to import.\")).describe(\"List of contacts to import. Each contact must have an email address and can have optional custom fields and list associations.\"),\n account_id: z.number().int().describe(\"Unique account ID for the Mailtrap account.\"),\n}).describe(\"Request schema for ImportContacts.\");\nexport const MailtrapImportContactsOutput = z.object({\n id: z.number().int().describe(\"Unique identifier for the import job.\").nullable().optional(),\n status: z.string().describe(\"Status of the import job. Values: 'created', 'started', 'finished', or 'failed'.\").nullable().optional(),\n created_contacts_count: z.number().int().describe(\"Number of new contacts created. Only provided when status is 'finished'.\").nullable().optional(),\n updated_contacts_count: z.number().int().describe(\"Number of existing contacts updated. Only provided when status is 'finished'.\").nullable().optional(),\n contacts_over_limit_count: z.number().int().describe(\"Number of contacts that exceeded account limits. Only provided when status is 'finished'.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for ImportContacts.\");\n\nexport const mailtrapImportContacts: AppAction<\n typeof MailtrapImportContactsInput,\n typeof MailtrapImportContactsOutput,\n typeof mailtrap.credential\n> = action(\"MAILTRAP_IMPORT_CONTACTS\", {\n slug: \"mailtrap-import-contacts\",\n name: \"Import Contacts\",\n description: \"Tool to import contacts in bulk to Mailtrap. Use when you need to add or update multiple contacts at once. The import operation is asynchronous and returns a job ID that can be used to check the status later.\",\n input: MailtrapImportContactsInput,\n output: MailtrapImportContactsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC3B,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;EAC1D,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EAC5F,mBAAmBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;EACzH,mBAAmBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,CAAC,SAAS,gIAAgI;CACnM,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;AACrF,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpI,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClJ,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvJ,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAE/D,MAAa,yBAITC,eAAAA,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { mailtrap } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/import-contacts.d.ts
@@ -17,30 +19,7 @@ declare const MailtrapImportContactsOutput: z.ZodObject<{
17
19
  updated_contacts_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
18
20
  contacts_over_limit_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
19
21
  }, z.core.$loose>;
20
- declare const mailtrapImportContacts: import("@keystrokehq/action").WorkflowActionDefinition<{
21
- contacts: {
22
- [x: string]: unknown;
23
- email: string;
24
- fields?: Record<string, unknown> | undefined;
25
- list_ids_excluded?: number[] | undefined;
26
- list_ids_included?: number[] | undefined;
27
- }[];
28
- account_id: number;
29
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"mailtrap", z.ZodObject<{
30
- connectionId: z.ZodString;
31
- entityId: z.ZodString;
32
- instanceId: z.ZodString;
33
- }, z.core.$strip>, z.ZodObject<{
34
- token: z.ZodString;
35
- generic_api_key: z.ZodString;
36
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"mailtrap", z.ZodObject<{
37
- connectionId: z.ZodString;
38
- entityId: z.ZodString;
39
- instanceId: z.ZodString;
40
- }, z.core.$strip>, z.ZodObject<{
41
- token: z.ZodString;
42
- generic_api_key: z.ZodString;
43
- }, z.core.$strip>>]>;
22
+ declare const mailtrapImportContacts: AppAction<typeof MailtrapImportContactsInput, typeof MailtrapImportContactsOutput, typeof mailtrap.credential>;
44
23
  //#endregion
45
24
  export { mailtrapImportContacts };
46
25
  //# sourceMappingURL=import-contacts.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"import-contacts.d.cts","names":[],"sources":["../../src/actions/import-contacts.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;cAS3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;cAQ5B,sBAAA,gCAAsB,wBAAA"}
1
+ {"version":3,"file":"import-contacts.d.cts","names":[],"sources":["../../src/actions/import-contacts.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;cAS3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;cAQ5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { mailtrap } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/import-contacts.d.ts
@@ -17,30 +19,7 @@ declare const MailtrapImportContactsOutput: z.ZodObject<{
17
19
  updated_contacts_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
18
20
  contacts_over_limit_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
19
21
  }, z.core.$loose>;
20
- declare const mailtrapImportContacts: import("@keystrokehq/action").WorkflowActionDefinition<{
21
- contacts: {
22
- [x: string]: unknown;
23
- email: string;
24
- fields?: Record<string, unknown> | undefined;
25
- list_ids_excluded?: number[] | undefined;
26
- list_ids_included?: number[] | undefined;
27
- }[];
28
- account_id: number;
29
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"mailtrap", z.ZodObject<{
30
- connectionId: z.ZodString;
31
- entityId: z.ZodString;
32
- instanceId: z.ZodString;
33
- }, z.core.$strip>, z.ZodObject<{
34
- token: z.ZodString;
35
- generic_api_key: z.ZodString;
36
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"mailtrap", z.ZodObject<{
37
- connectionId: z.ZodString;
38
- entityId: z.ZodString;
39
- instanceId: z.ZodString;
40
- }, z.core.$strip>, z.ZodObject<{
41
- token: z.ZodString;
42
- generic_api_key: z.ZodString;
43
- }, z.core.$strip>>]>;
22
+ declare const mailtrapImportContacts: AppAction<typeof MailtrapImportContactsInput, typeof MailtrapImportContactsOutput, typeof mailtrap.credential>;
44
23
  //#endregion
45
24
  export { mailtrapImportContacts };
46
25
  //# sourceMappingURL=import-contacts.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"import-contacts.d.mts","names":[],"sources":["../../src/actions/import-contacts.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;cAS3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;cAQ5B,sBAAA,gCAAsB,wBAAA"}
1
+ {"version":3,"file":"import-contacts.d.mts","names":[],"sources":["../../src/actions/import-contacts.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;cAS3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;cAQ5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const mailtrapImportContacts = action("MAILTRAP_IMPORT_CONTACTS", {
@@ -1 +1 @@
1
- {"version":3,"file":"import-contacts.mjs","names":[],"sources":["../../src/actions/import-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapImportContactsInput = z.object({\n contacts: z.array(z.object({\n email: z.string().describe(\"Email address of the contact.\"),\n fields: z.record(z.string(), z.unknown()).describe(\"Custom fields for a contact.\").optional(),\n list_ids_excluded: z.array(z.number().int()).describe(\"List of mailing list IDs to exclude this contact from.\").optional(),\n list_ids_included: z.array(z.number().int()).describe(\"List of mailing list IDs to add this contact to.\").optional(),\n}).passthrough().describe(\"Individual contact to import.\")).describe(\"List of contacts to import. Each contact must have an email address and can have optional custom fields and list associations.\"),\n account_id: z.number().int().describe(\"Unique account ID for the Mailtrap account.\"),\n}).describe(\"Request schema for ImportContacts.\");\nexport const MailtrapImportContactsOutput = z.object({\n id: z.number().int().describe(\"Unique identifier for the import job.\").nullable().optional(),\n status: z.string().describe(\"Status of the import job. Values: 'created', 'started', 'finished', or 'failed'.\").nullable().optional(),\n created_contacts_count: z.number().int().describe(\"Number of new contacts created. Only provided when status is 'finished'.\").nullable().optional(),\n updated_contacts_count: z.number().int().describe(\"Number of existing contacts updated. Only provided when status is 'finished'.\").nullable().optional(),\n contacts_over_limit_count: z.number().int().describe(\"Number of contacts that exceeded account limits. Only provided when status is 'finished'.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for ImportContacts.\");\n\nexport const mailtrapImportContacts = action(\"MAILTRAP_IMPORT_CONTACTS\", {\n slug: \"mailtrap-import-contacts\",\n name: \"Import Contacts\",\n description: \"Tool to import contacts in bulk to Mailtrap. Use when you need to add or update multiple contacts at once. The import operation is asynchronous and returns a job ID that can be used to check the status later.\",\n input: MailtrapImportContactsInput,\n output: MailtrapImportContactsOutput,\n});\n"],"mappings":";;AAqBA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArByC,EAAE,OAAO;EAClD,UAAU,EAAE,MAAM,EAAE,OAAO;GAC3B,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;GAC1D,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;GAC5F,mBAAmB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;GACzH,mBAAmB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,CAAC,SAAS,gIAAgI;EACnM,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;CACrF,CAAC,CAAC,CAAC,SAAS,oCAaH;CACP,QAb0C,EAAE,OAAO;EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpI,wBAAwB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClJ,wBAAwB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvJ,2BAA2B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"import-contacts.mjs","names":[],"sources":["../../src/actions/import-contacts.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mailtrap } from \"../app\";\n\nexport const MailtrapImportContactsInput = z.object({\n contacts: z.array(z.object({\n email: z.string().describe(\"Email address of the contact.\"),\n fields: z.record(z.string(), z.unknown()).describe(\"Custom fields for a contact.\").optional(),\n list_ids_excluded: z.array(z.number().int()).describe(\"List of mailing list IDs to exclude this contact from.\").optional(),\n list_ids_included: z.array(z.number().int()).describe(\"List of mailing list IDs to add this contact to.\").optional(),\n}).passthrough().describe(\"Individual contact to import.\")).describe(\"List of contacts to import. Each contact must have an email address and can have optional custom fields and list associations.\"),\n account_id: z.number().int().describe(\"Unique account ID for the Mailtrap account.\"),\n}).describe(\"Request schema for ImportContacts.\");\nexport const MailtrapImportContactsOutput = z.object({\n id: z.number().int().describe(\"Unique identifier for the import job.\").nullable().optional(),\n status: z.string().describe(\"Status of the import job. Values: 'created', 'started', 'finished', or 'failed'.\").nullable().optional(),\n created_contacts_count: z.number().int().describe(\"Number of new contacts created. Only provided when status is 'finished'.\").nullable().optional(),\n updated_contacts_count: z.number().int().describe(\"Number of existing contacts updated. Only provided when status is 'finished'.\").nullable().optional(),\n contacts_over_limit_count: z.number().int().describe(\"Number of contacts that exceeded account limits. Only provided when status is 'finished'.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for ImportContacts.\");\n\nexport const mailtrapImportContacts: AppAction<\n typeof MailtrapImportContactsInput,\n typeof MailtrapImportContactsOutput,\n typeof mailtrap.credential\n> = action(\"MAILTRAP_IMPORT_CONTACTS\", {\n slug: \"mailtrap-import-contacts\",\n name: \"Import Contacts\",\n description: \"Tool to import contacts in bulk to Mailtrap. Use when you need to add or update multiple contacts at once. The import operation is asynchronous and returns a job ID that can be used to check the status later.\",\n input: MailtrapImportContactsInput,\n output: MailtrapImportContactsOutput,\n});\n"],"mappings":";;;AAuBA,MAAa,yBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAzByC,EAAE,OAAO;EAClD,UAAU,EAAE,MAAM,EAAE,OAAO;GAC3B,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;GAC1D,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;GAC5F,mBAAmB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;GACzH,mBAAmB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,CAAC,SAAS,gIAAgI;EACnM,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;CACrF,CAAC,CAAC,CAAC,SAAS,oCAiBH;CACP,QAjB0C,EAAE,OAAO;EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpI,wBAAwB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClJ,wBAAwB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvJ,2BAA2B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAWhB;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-accounts.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-accounts.cjs","names":["z","action"],"sources":["../../src/actions/list-accounts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapListAccountsInput = z.object({}).describe(\"Request model for listing accounts. This endpoint requires no parameters.\");\nconst MailtrapListAccounts_AccountSchema = z.object({\n id: z.number().int().describe(\"Account ID\").nullable(),\n name: z.string().describe(\"Account name\").nullable(),\n access_levels: z.array(z.number().int()).describe(\"Access levels for the account. Possible values: 1000 (account owner), 100 (admin), 10 (viewer)\"),\n}).passthrough().describe(\"Mailtrap account information.\");\nexport const MailtrapListAccountsOutput = z.object({\n accounts: z.array(MailtrapListAccounts_AccountSchema).describe(\"List of accounts the API token has access to\"),\n}).passthrough().describe(\"Response model containing list of accounts.\");\n\nexport const mailtrapListAccounts = action(\"MAILTRAP_LIST_ACCOUNTS\", {\n slug: \"mailtrap-list-accounts\",\n name: \"List Accounts\",\n description: \"Tool to list all Mailtrap accounts you have access to. Use when you need to retrieve account information or get account IDs for other operations. Returns account ID, name, and access levels (1000=owner, 100=admin, 10=viewer).\",\n input: MailtrapListAccountsInput,\n output: MailtrapListAccountsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2EAA2E;AAC1I,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CACnD,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,gGAAgG;AACpJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B;AACzD,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,UAAUA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,8CAA8C,EAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-accounts.cjs","names":["z","action"],"sources":["../../src/actions/list-accounts.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mailtrap } from \"../app\";\n\nexport const MailtrapListAccountsInput = z.object({}).describe(\"Request model for listing accounts. This endpoint requires no parameters.\");\nconst MailtrapListAccounts_AccountSchema = z.object({\n id: z.number().int().describe(\"Account ID\").nullable(),\n name: z.string().describe(\"Account name\").nullable(),\n access_levels: z.array(z.number().int()).describe(\"Access levels for the account. Possible values: 1000 (account owner), 100 (admin), 10 (viewer)\"),\n}).passthrough().describe(\"Mailtrap account information.\");\nexport const MailtrapListAccountsOutput = z.object({\n accounts: z.array(MailtrapListAccounts_AccountSchema).describe(\"List of accounts the API token has access to\"),\n}).passthrough().describe(\"Response model containing list of accounts.\");\n\nexport const mailtrapListAccounts: AppAction<\n typeof MailtrapListAccountsInput,\n typeof MailtrapListAccountsOutput,\n typeof mailtrap.credential\n> = action(\"MAILTRAP_LIST_ACCOUNTS\", {\n slug: \"mailtrap-list-accounts\",\n name: \"List Accounts\",\n description: \"Tool to list all Mailtrap accounts you have access to. Use when you need to retrieve account information or get account IDs for other operations. Returns account ID, name, and access levels (1000=owner, 100=admin, 10=viewer).\",\n input: MailtrapListAccountsInput,\n output: MailtrapListAccountsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2EAA2E;AAC1I,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CACnD,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,gGAAgG;AACpJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B;AACzD,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,UAAUA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,8CAA8C,EAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,uBAITC,eAAAA,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { mailtrap } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-accounts.d.ts
@@ -9,21 +11,7 @@ declare const MailtrapListAccountsOutput: z.ZodObject<{
9
11
  access_levels: z.ZodArray<z.ZodNumber>;
10
12
  }, z.core.$loose>>;
11
13
  }, z.core.$loose>;
12
- declare const mailtrapListAccounts: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"mailtrap", z.ZodObject<{
13
- connectionId: z.ZodString;
14
- entityId: z.ZodString;
15
- instanceId: z.ZodString;
16
- }, z.core.$strip>, z.ZodObject<{
17
- token: z.ZodString;
18
- generic_api_key: z.ZodString;
19
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"mailtrap", z.ZodObject<{
20
- connectionId: z.ZodString;
21
- entityId: z.ZodString;
22
- instanceId: z.ZodString;
23
- }, z.core.$strip>, z.ZodObject<{
24
- token: z.ZodString;
25
- generic_api_key: z.ZodString;
26
- }, z.core.$strip>>]>;
14
+ declare const mailtrapListAccounts: AppAction<typeof MailtrapListAccountsInput, typeof MailtrapListAccountsOutput, typeof mailtrap.credential>;
27
15
  //#endregion
28
16
  export { mailtrapListAccounts };
29
17
  //# sourceMappingURL=list-accounts.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-accounts.d.cts","names":[],"sources":["../../src/actions/list-accounts.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAMzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;cAI1B,oBAAA,gCAAoB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,aAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"list-accounts.d.cts","names":[],"sources":["../../src/actions/list-accounts.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAMzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;cAI1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { mailtrap } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-accounts.d.ts
@@ -9,21 +11,7 @@ declare const MailtrapListAccountsOutput: z.ZodObject<{
9
11
  access_levels: z.ZodArray<z.ZodNumber>;
10
12
  }, z.core.$loose>>;
11
13
  }, z.core.$loose>;
12
- declare const mailtrapListAccounts: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"mailtrap", z.ZodObject<{
13
- connectionId: z.ZodString;
14
- entityId: z.ZodString;
15
- instanceId: z.ZodString;
16
- }, z.core.$strip>, z.ZodObject<{
17
- token: z.ZodString;
18
- generic_api_key: z.ZodString;
19
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"mailtrap", z.ZodObject<{
20
- connectionId: z.ZodString;
21
- entityId: z.ZodString;
22
- instanceId: z.ZodString;
23
- }, z.core.$strip>, z.ZodObject<{
24
- token: z.ZodString;
25
- generic_api_key: z.ZodString;
26
- }, z.core.$strip>>]>;
14
+ declare const mailtrapListAccounts: AppAction<typeof MailtrapListAccountsInput, typeof MailtrapListAccountsOutput, typeof mailtrap.credential>;
27
15
  //#endregion
28
16
  export { mailtrapListAccounts };
29
17
  //# sourceMappingURL=list-accounts.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-accounts.d.mts","names":[],"sources":["../../src/actions/list-accounts.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAMzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;cAI1B,oBAAA,gCAAoB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,aAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"list-accounts.d.mts","names":[],"sources":["../../src/actions/list-accounts.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAMzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;cAI1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/list-accounts.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-accounts.mjs","names":[],"sources":["../../src/actions/list-accounts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapListAccountsInput = z.object({}).describe(\"Request model for listing accounts. This endpoint requires no parameters.\");\nconst MailtrapListAccounts_AccountSchema = z.object({\n id: z.number().int().describe(\"Account ID\").nullable(),\n name: z.string().describe(\"Account name\").nullable(),\n access_levels: z.array(z.number().int()).describe(\"Access levels for the account. Possible values: 1000 (account owner), 100 (admin), 10 (viewer)\"),\n}).passthrough().describe(\"Mailtrap account information.\");\nexport const MailtrapListAccountsOutput = z.object({\n accounts: z.array(MailtrapListAccounts_AccountSchema).describe(\"List of accounts the API token has access to\"),\n}).passthrough().describe(\"Response model containing list of accounts.\");\n\nexport const mailtrapListAccounts = action(\"MAILTRAP_LIST_ACCOUNTS\", {\n slug: \"mailtrap-list-accounts\",\n name: \"List Accounts\",\n description: \"Tool to list all Mailtrap accounts you have access to. Use when you need to retrieve account information or get account IDs for other operations. Returns account ID, name, and access levels (1000=owner, 100=admin, 10=viewer).\",\n input: MailtrapListAccountsInput,\n output: MailtrapListAccountsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2EAA2E;AAC1I,MAAM,qCAAqC,EAAE,OAAO;CAClD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;CACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CACnD,eAAe,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,gGAAgG;AACpJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B;AAKzD,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATwC,EAAE,OAAO,EACjD,UAAU,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,8CAA8C,EAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-accounts.mjs","names":[],"sources":["../../src/actions/list-accounts.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mailtrap } from \"../app\";\n\nexport const MailtrapListAccountsInput = z.object({}).describe(\"Request model for listing accounts. This endpoint requires no parameters.\");\nconst MailtrapListAccounts_AccountSchema = z.object({\n id: z.number().int().describe(\"Account ID\").nullable(),\n name: z.string().describe(\"Account name\").nullable(),\n access_levels: z.array(z.number().int()).describe(\"Access levels for the account. Possible values: 1000 (account owner), 100 (admin), 10 (viewer)\"),\n}).passthrough().describe(\"Mailtrap account information.\");\nexport const MailtrapListAccountsOutput = z.object({\n accounts: z.array(MailtrapListAccounts_AccountSchema).describe(\"List of accounts the API token has access to\"),\n}).passthrough().describe(\"Response model containing list of accounts.\");\n\nexport const mailtrapListAccounts: AppAction<\n typeof MailtrapListAccountsInput,\n typeof MailtrapListAccountsOutput,\n typeof mailtrap.credential\n> = action(\"MAILTRAP_LIST_ACCOUNTS\", {\n slug: \"mailtrap-list-accounts\",\n name: \"List Accounts\",\n description: \"Tool to list all Mailtrap accounts you have access to. Use when you need to retrieve account information or get account IDs for other operations. Returns account ID, name, and access levels (1000=owner, 100=admin, 10=viewer).\",\n input: MailtrapListAccountsInput,\n output: MailtrapListAccountsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2EAA2E;AAC1I,MAAM,qCAAqC,EAAE,OAAO;CAClD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;CACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CACnD,eAAe,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,gGAAgG;AACpJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B;AAKzD,MAAa,uBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbwC,EAAE,OAAO,EACjD,UAAU,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,8CAA8C,EAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAWhB;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-fields.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-contact-fields.cjs","names":["z","action"],"sources":["../../src/actions/list-contact-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapListContactFieldsInput = z.object({\n account_id: z.number().int().describe(\"Unique account ID for the Mailtrap account.\"),\n}).describe(\"Request model for listing contact fields in a Mailtrap account.\");\nconst MailtrapListContactFields_DataTypeSchema = z.enum([\"text\", \"integer\", \"float\", \"boolean\", \"date\"]).describe(\"Enum for contact field data types.\");\nconst MailtrapListContactFields_ContactFieldSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact field\").nullable().optional(),\n name: z.string().describe(\"Name of the contact field\").nullable().optional(),\n data_type: MailtrapListContactFields_DataTypeSchema.nullable().optional(),\n merge_tag: z.string().describe(\"Personalize your campaigns by adding a merge tag. This field will be replaced with unique contact details for each recipient.\").nullable().optional(),\n}).passthrough().describe(\"Represents a single contact field configuration.\");\nexport const MailtrapListContactFieldsOutput = z.object({\n fields: z.array(MailtrapListContactFields_ContactFieldSchema).describe(\"Array of all contact fields for the account\"),\n}).passthrough().describe(\"Response model for listing contact fields.\");\n\nexport const mailtrapListContactFields = action(\"MAILTRAP_LIST_CONTACT_FIELDS\", {\n slug: \"mailtrap-list-contact-fields\",\n name: \"List Contact Fields\",\n description: \"Tool to get all contact fields for a Mailtrap account. Use when you need to retrieve custom field definitions for contacts.\",\n input: MailtrapListContactFieldsInput,\n output: MailtrapListContactFieldsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,EACrF,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,2CAA2CA,IAAAA,EAAE,KAAK;CAAC;CAAQ;CAAW;CAAS;CAAW;AAAM,CAAC,CAAC,CAAC,SAAS,oCAAoC;AACtJ,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,WAAW,yCAAyC,SAAS,CAAC,CAAC,SAAS;CACxE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAC5E,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,QAAQA,IAAAA,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,6CAA6C,EACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-contact-fields.cjs","names":["z","action"],"sources":["../../src/actions/list-contact-fields.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mailtrap } from \"../app\";\n\nexport const MailtrapListContactFieldsInput = z.object({\n account_id: z.number().int().describe(\"Unique account ID for the Mailtrap account.\"),\n}).describe(\"Request model for listing contact fields in a Mailtrap account.\");\nconst MailtrapListContactFields_DataTypeSchema = z.enum([\"text\", \"integer\", \"float\", \"boolean\", \"date\"]).describe(\"Enum for contact field data types.\");\nconst MailtrapListContactFields_ContactFieldSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact field\").nullable().optional(),\n name: z.string().describe(\"Name of the contact field\").nullable().optional(),\n data_type: MailtrapListContactFields_DataTypeSchema.nullable().optional(),\n merge_tag: z.string().describe(\"Personalize your campaigns by adding a merge tag. This field will be replaced with unique contact details for each recipient.\").nullable().optional(),\n}).passthrough().describe(\"Represents a single contact field configuration.\");\nexport const MailtrapListContactFieldsOutput = z.object({\n fields: z.array(MailtrapListContactFields_ContactFieldSchema).describe(\"Array of all contact fields for the account\"),\n}).passthrough().describe(\"Response model for listing contact fields.\");\n\nexport const mailtrapListContactFields: AppAction<\n typeof MailtrapListContactFieldsInput,\n typeof MailtrapListContactFieldsOutput,\n typeof mailtrap.credential\n> = action(\"MAILTRAP_LIST_CONTACT_FIELDS\", {\n slug: \"mailtrap-list-contact-fields\",\n name: \"List Contact Fields\",\n description: \"Tool to get all contact fields for a Mailtrap account. Use when you need to retrieve custom field definitions for contacts.\",\n input: MailtrapListContactFieldsInput,\n output: MailtrapListContactFieldsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,EACrF,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,2CAA2CA,IAAAA,EAAE,KAAK;CAAC;CAAQ;CAAW;CAAS;CAAW;AAAM,CAAC,CAAC,CAAC,SAAS,oCAAoC;AACtJ,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,WAAW,yCAAyC,SAAS,CAAC,CAAC,SAAS;CACxE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAC5E,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,QAAQA,IAAAA,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,6CAA6C,EACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,4BAITC,eAAAA,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { mailtrap } 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-fields.d.ts
@@ -18,23 +20,7 @@ declare const MailtrapListContactFieldsOutput: z.ZodObject<{
18
20
  merge_tag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
21
  }, z.core.$loose>>;
20
22
  }, z.core.$loose>;
21
- declare const mailtrapListContactFields: import("@keystrokehq/action").WorkflowActionDefinition<{
22
- account_id: number;
23
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"mailtrap", z.ZodObject<{
24
- connectionId: z.ZodString;
25
- entityId: z.ZodString;
26
- instanceId: z.ZodString;
27
- }, z.core.$strip>, z.ZodObject<{
28
- token: z.ZodString;
29
- generic_api_key: z.ZodString;
30
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"mailtrap", z.ZodObject<{
31
- connectionId: z.ZodString;
32
- entityId: z.ZodString;
33
- instanceId: z.ZodString;
34
- }, z.core.$strip>, z.ZodObject<{
35
- token: z.ZodString;
36
- generic_api_key: z.ZodString;
37
- }, z.core.$strip>>]>;
23
+ declare const mailtrapListContactFields: AppAction<typeof MailtrapListContactFieldsInput, typeof MailtrapListContactFieldsOutput, typeof mailtrap.credential>;
38
24
  //#endregion
39
25
  export { mailtrapListContactFields };
40
26
  //# sourceMappingURL=list-contact-fields.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-contact-fields.d.cts","names":[],"sources":["../../src/actions/list-contact-fields.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAU9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAI/B,yBAAA,gCAAyB,wBAAA"}
1
+ {"version":3,"file":"list-contact-fields.d.cts","names":[],"sources":["../../src/actions/list-contact-fields.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAU9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { mailtrap } 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-fields.d.ts
@@ -18,23 +20,7 @@ declare const MailtrapListContactFieldsOutput: z.ZodObject<{
18
20
  merge_tag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
21
  }, z.core.$loose>>;
20
22
  }, z.core.$loose>;
21
- declare const mailtrapListContactFields: import("@keystrokehq/action").WorkflowActionDefinition<{
22
- account_id: number;
23
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"mailtrap", z.ZodObject<{
24
- connectionId: z.ZodString;
25
- entityId: z.ZodString;
26
- instanceId: z.ZodString;
27
- }, z.core.$strip>, z.ZodObject<{
28
- token: z.ZodString;
29
- generic_api_key: z.ZodString;
30
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"mailtrap", z.ZodObject<{
31
- connectionId: z.ZodString;
32
- entityId: z.ZodString;
33
- instanceId: z.ZodString;
34
- }, z.core.$strip>, z.ZodObject<{
35
- token: z.ZodString;
36
- generic_api_key: z.ZodString;
37
- }, z.core.$strip>>]>;
23
+ declare const mailtrapListContactFields: AppAction<typeof MailtrapListContactFieldsInput, typeof MailtrapListContactFieldsOutput, typeof mailtrap.credential>;
38
24
  //#endregion
39
25
  export { mailtrapListContactFields };
40
26
  //# sourceMappingURL=list-contact-fields.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-contact-fields.d.mts","names":[],"sources":["../../src/actions/list-contact-fields.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAU9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAI/B,yBAAA,gCAAyB,wBAAA"}
1
+ {"version":3,"file":"list-contact-fields.d.mts","names":[],"sources":["../../src/actions/list-contact-fields.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAU9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/list-contact-fields.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-contact-fields.mjs","names":[],"sources":["../../src/actions/list-contact-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapListContactFieldsInput = z.object({\n account_id: z.number().int().describe(\"Unique account ID for the Mailtrap account.\"),\n}).describe(\"Request model for listing contact fields in a Mailtrap account.\");\nconst MailtrapListContactFields_DataTypeSchema = z.enum([\"text\", \"integer\", \"float\", \"boolean\", \"date\"]).describe(\"Enum for contact field data types.\");\nconst MailtrapListContactFields_ContactFieldSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact field\").nullable().optional(),\n name: z.string().describe(\"Name of the contact field\").nullable().optional(),\n data_type: MailtrapListContactFields_DataTypeSchema.nullable().optional(),\n merge_tag: z.string().describe(\"Personalize your campaigns by adding a merge tag. This field will be replaced with unique contact details for each recipient.\").nullable().optional(),\n}).passthrough().describe(\"Represents a single contact field configuration.\");\nexport const MailtrapListContactFieldsOutput = z.object({\n fields: z.array(MailtrapListContactFields_ContactFieldSchema).describe(\"Array of all contact fields for the account\"),\n}).passthrough().describe(\"Response model for listing contact fields.\");\n\nexport const mailtrapListContactFields = action(\"MAILTRAP_LIST_CONTACT_FIELDS\", {\n slug: \"mailtrap-list-contact-fields\",\n name: \"List Contact Fields\",\n description: \"Tool to get all contact fields for a Mailtrap account. Use when you need to retrieve custom field definitions for contacts.\",\n input: MailtrapListContactFieldsInput,\n output: MailtrapListContactFieldsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO,EACrD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,EACrF,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,2CAA2C,EAAE,KAAK;CAAC;CAAQ;CAAW;CAAS;CAAW;AAAM,CAAC,CAAC,CAAC,SAAS,oCAAoC;AACtJ,MAAM,+CAA+C,EAAE,OAAO;CAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,WAAW,yCAAyC,SAAS,CAAC,CAAC,SAAS;CACxE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAK5E,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT6C,EAAE,OAAO,EACtD,QAAQ,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,6CAA6C,EACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-contact-fields.mjs","names":[],"sources":["../../src/actions/list-contact-fields.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mailtrap } from \"../app\";\n\nexport const MailtrapListContactFieldsInput = z.object({\n account_id: z.number().int().describe(\"Unique account ID for the Mailtrap account.\"),\n}).describe(\"Request model for listing contact fields in a Mailtrap account.\");\nconst MailtrapListContactFields_DataTypeSchema = z.enum([\"text\", \"integer\", \"float\", \"boolean\", \"date\"]).describe(\"Enum for contact field data types.\");\nconst MailtrapListContactFields_ContactFieldSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact field\").nullable().optional(),\n name: z.string().describe(\"Name of the contact field\").nullable().optional(),\n data_type: MailtrapListContactFields_DataTypeSchema.nullable().optional(),\n merge_tag: z.string().describe(\"Personalize your campaigns by adding a merge tag. This field will be replaced with unique contact details for each recipient.\").nullable().optional(),\n}).passthrough().describe(\"Represents a single contact field configuration.\");\nexport const MailtrapListContactFieldsOutput = z.object({\n fields: z.array(MailtrapListContactFields_ContactFieldSchema).describe(\"Array of all contact fields for the account\"),\n}).passthrough().describe(\"Response model for listing contact fields.\");\n\nexport const mailtrapListContactFields: AppAction<\n typeof MailtrapListContactFieldsInput,\n typeof MailtrapListContactFieldsOutput,\n typeof mailtrap.credential\n> = action(\"MAILTRAP_LIST_CONTACT_FIELDS\", {\n slug: \"mailtrap-list-contact-fields\",\n name: \"List Contact Fields\",\n description: \"Tool to get all contact fields for a Mailtrap account. Use when you need to retrieve custom field definitions for contacts.\",\n input: MailtrapListContactFieldsInput,\n output: MailtrapListContactFieldsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiC,EAAE,OAAO,EACrD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,EACrF,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,2CAA2C,EAAE,KAAK;CAAC;CAAQ;CAAW;CAAS;CAAW;AAAM,CAAC,CAAC,CAAC,SAAS,oCAAoC;AACtJ,MAAM,+CAA+C,EAAE,OAAO;CAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,WAAW,yCAAyC,SAAS,CAAC,CAAC,SAAS;CACxE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAK5E,MAAa,4BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb6C,EAAE,OAAO,EACtD,QAAQ,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,6CAA6C,EACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAWhB;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-lists.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-contact-lists.cjs","names":["z","action"],"sources":["../../src/actions/list-contact-lists.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapListContactListsInput = z.object({\n account_id: z.number().int().describe(\"Unique account ID. You can obtain this from your Mailtrap account settings.\"),\n});\nconst MailtrapListContactLists_ContactListSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact list\").nullable(),\n name: z.string().describe(\"Name of the contact list (max 255 characters)\").nullable(),\n}).passthrough();\nexport const MailtrapListContactListsOutput = z.object({\n contact_lists: z.array(MailtrapListContactLists_ContactListSchema).describe(\"Array of contact lists for the account\"),\n}).passthrough();\n\nexport const mailtrapListContactLists = action(\"MAILTRAP_LIST_CONTACT_LISTS\", {\n slug: \"mailtrap-list-contact-lists\",\n name: \"List Contact Lists\",\n description: \"Tool to retrieve all contact lists for a Mailtrap account. Use when you need to view available contact lists or obtain contact list IDs for other operations.\",\n input: MailtrapListContactListsInput,\n output: MailtrapListContactListsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,EACrH,CAAC;AACD,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,eAAeA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,wCAAwC,EACtH,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-contact-lists.cjs","names":["z","action"],"sources":["../../src/actions/list-contact-lists.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mailtrap } from \"../app\";\n\nexport const MailtrapListContactListsInput = z.object({\n account_id: z.number().int().describe(\"Unique account ID. You can obtain this from your Mailtrap account settings.\"),\n});\nconst MailtrapListContactLists_ContactListSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact list\").nullable(),\n name: z.string().describe(\"Name of the contact list (max 255 characters)\").nullable(),\n}).passthrough();\nexport const MailtrapListContactListsOutput = z.object({\n contact_lists: z.array(MailtrapListContactLists_ContactListSchema).describe(\"Array of contact lists for the account\"),\n}).passthrough();\n\nexport const mailtrapListContactLists: AppAction<\n typeof MailtrapListContactListsInput,\n typeof MailtrapListContactListsOutput,\n typeof mailtrap.credential\n> = action(\"MAILTRAP_LIST_CONTACT_LISTS\", {\n slug: \"mailtrap-list-contact-lists\",\n name: \"List Contact Lists\",\n description: \"Tool to retrieve all contact lists for a Mailtrap account. Use when you need to view available contact lists or obtain contact list IDs for other operations.\",\n input: MailtrapListContactListsInput,\n output: MailtrapListContactListsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,EACrH,CAAC;AACD,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,eAAeA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,wCAAwC,EACtH,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,2BAITC,eAAAA,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { mailtrap } 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-lists.d.ts
@@ -10,23 +12,7 @@ declare const MailtrapListContactListsOutput: z.ZodObject<{
10
12
  name: z.ZodNullable<z.ZodString>;
11
13
  }, z.core.$loose>>;
12
14
  }, z.core.$loose>;
13
- declare const mailtrapListContactLists: import("@keystrokehq/action").WorkflowActionDefinition<{
14
- account_id: number;
15
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"mailtrap", z.ZodObject<{
16
- connectionId: z.ZodString;
17
- entityId: z.ZodString;
18
- instanceId: z.ZodString;
19
- }, z.core.$strip>, z.ZodObject<{
20
- token: z.ZodString;
21
- generic_api_key: z.ZodString;
22
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"mailtrap", z.ZodObject<{
23
- connectionId: z.ZodString;
24
- entityId: z.ZodString;
25
- instanceId: z.ZodString;
26
- }, z.core.$strip>, z.ZodObject<{
27
- token: z.ZodString;
28
- generic_api_key: z.ZodString;
29
- }, z.core.$strip>>]>;
15
+ declare const mailtrapListContactLists: AppAction<typeof MailtrapListContactListsInput, typeof MailtrapListContactListsOutput, typeof mailtrap.credential>;
30
16
  //#endregion
31
17
  export { mailtrapListContactLists };
32
18
  //# sourceMappingURL=list-contact-lists.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-contact-lists.d.cts","names":[],"sources":["../../src/actions/list-contact-lists.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAO7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;cAI9B,wBAAA,gCAAwB,wBAAA"}
1
+ {"version":3,"file":"list-contact-lists.d.cts","names":[],"sources":["../../src/actions/list-contact-lists.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAO7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;cAI9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { mailtrap } 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-lists.d.ts
@@ -10,23 +12,7 @@ declare const MailtrapListContactListsOutput: z.ZodObject<{
10
12
  name: z.ZodNullable<z.ZodString>;
11
13
  }, z.core.$loose>>;
12
14
  }, z.core.$loose>;
13
- declare const mailtrapListContactLists: import("@keystrokehq/action").WorkflowActionDefinition<{
14
- account_id: number;
15
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"mailtrap", z.ZodObject<{
16
- connectionId: z.ZodString;
17
- entityId: z.ZodString;
18
- instanceId: z.ZodString;
19
- }, z.core.$strip>, z.ZodObject<{
20
- token: z.ZodString;
21
- generic_api_key: z.ZodString;
22
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"mailtrap", z.ZodObject<{
23
- connectionId: z.ZodString;
24
- entityId: z.ZodString;
25
- instanceId: z.ZodString;
26
- }, z.core.$strip>, z.ZodObject<{
27
- token: z.ZodString;
28
- generic_api_key: z.ZodString;
29
- }, z.core.$strip>>]>;
15
+ declare const mailtrapListContactLists: AppAction<typeof MailtrapListContactListsInput, typeof MailtrapListContactListsOutput, typeof mailtrap.credential>;
30
16
  //#endregion
31
17
  export { mailtrapListContactLists };
32
18
  //# sourceMappingURL=list-contact-lists.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-contact-lists.d.mts","names":[],"sources":["../../src/actions/list-contact-lists.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAO7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;cAI9B,wBAAA,gCAAwB,wBAAA"}
1
+ {"version":3,"file":"list-contact-lists.d.mts","names":[],"sources":["../../src/actions/list-contact-lists.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAO7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;cAI9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/list-contact-lists.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-contact-lists.mjs","names":[],"sources":["../../src/actions/list-contact-lists.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapListContactListsInput = z.object({\n account_id: z.number().int().describe(\"Unique account ID. You can obtain this from your Mailtrap account settings.\"),\n});\nconst MailtrapListContactLists_ContactListSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact list\").nullable(),\n name: z.string().describe(\"Name of the contact list (max 255 characters)\").nullable(),\n}).passthrough();\nexport const MailtrapListContactListsOutput = z.object({\n contact_lists: z.array(MailtrapListContactLists_ContactListSchema).describe(\"Array of contact lists for the account\"),\n}).passthrough();\n\nexport const mailtrapListContactLists = action(\"MAILTRAP_LIST_CONTACT_LISTS\", {\n slug: \"mailtrap-list-contact-lists\",\n name: \"List Contact Lists\",\n description: \"Tool to retrieve all contact lists for a Mailtrap account. Use when you need to view available contact lists or obtain contact list IDs for other operations.\",\n input: MailtrapListContactListsInput,\n output: MailtrapListContactListsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO,EACpD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,EACrH,CAAC;AACD,MAAM,6CAA6C,EAAE,OAAO;CAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAChF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT4C,EAAE,OAAO,EACrD,eAAe,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,wCAAwC,EACtH,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"list-contact-lists.mjs","names":[],"sources":["../../src/actions/list-contact-lists.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mailtrap } from \"../app\";\n\nexport const MailtrapListContactListsInput = z.object({\n account_id: z.number().int().describe(\"Unique account ID. You can obtain this from your Mailtrap account settings.\"),\n});\nconst MailtrapListContactLists_ContactListSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact list\").nullable(),\n name: z.string().describe(\"Name of the contact list (max 255 characters)\").nullable(),\n}).passthrough();\nexport const MailtrapListContactListsOutput = z.object({\n contact_lists: z.array(MailtrapListContactLists_ContactListSchema).describe(\"Array of contact lists for the account\"),\n}).passthrough();\n\nexport const mailtrapListContactLists: AppAction<\n typeof MailtrapListContactListsInput,\n typeof MailtrapListContactListsOutput,\n typeof mailtrap.credential\n> = action(\"MAILTRAP_LIST_CONTACT_LISTS\", {\n slug: \"mailtrap-list-contact-lists\",\n name: \"List Contact Lists\",\n description: \"Tool to retrieve all contact lists for a Mailtrap account. Use when you need to view available contact lists or obtain contact list IDs for other operations.\",\n input: MailtrapListContactListsInput,\n output: MailtrapListContactListsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgC,EAAE,OAAO,EACpD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,EACrH,CAAC;AACD,MAAM,6CAA6C,EAAE,OAAO;CAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAChF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,2BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb4C,EAAE,OAAO,EACrD,eAAe,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,wCAAwC,EACtH,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-email-templates.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-email-templates.cjs","names":["z","action"],"sources":["../../src/actions/list-email-templates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapListEmailTemplatesInput = z.object({\n account_id: z.number().int().describe(\"Account ID\"),\n}).describe(\"Request model for listing email templates.\");\nconst MailtrapListEmailTemplates_EmailTemplateSchema = z.object({\n id: z.number().int().describe(\"Email template ID\").nullable().optional(),\n name: z.string().describe(\"Name of the email template (max 255 characters)\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier for the email template in UUID format\").nullable().optional(),\n subject: z.string().describe(\"Email subject line (max 255 characters)\").nullable().optional(),\n category: z.string().describe(\"Category or type of the email template (max 255 characters)\").nullable().optional(),\n body_html: z.string().describe(\"HTML body content of the email template\").nullable().optional(),\n body_text: z.string().describe(\"Plain text body content of the email template\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the template was created (ISO 8601 format)\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the template was last updated (ISO 8601 format)\").nullable().optional(),\n}).passthrough().describe(\"Email template information.\");\nexport const MailtrapListEmailTemplatesOutput = z.object({\n templates: z.array(MailtrapListEmailTemplates_EmailTemplateSchema).describe(\"List of email templates for the specified account\"),\n}).passthrough().describe(\"Response model containing list of email templates.\");\n\nexport const mailtrapListEmailTemplates = action(\"MAILTRAP_LIST_EMAIL_TEMPLATES\", {\n slug: \"mailtrap-list-email-templates\",\n name: \"List Email Templates\",\n description: \"Tool to retrieve all email templates for a Mailtrap account. Use when you need to list available templates, browse template configurations, or find a specific template by name or attributes.\",\n input: MailtrapListEmailTemplatesInput,\n output: MailtrapListEmailTemplatesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,YAAY,EACpD,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6BAA6B;AACvD,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,WAAWA,IAAAA,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,mDAAmD,EACjI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-email-templates.cjs","names":["z","action"],"sources":["../../src/actions/list-email-templates.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mailtrap } from \"../app\";\n\nexport const MailtrapListEmailTemplatesInput = z.object({\n account_id: z.number().int().describe(\"Account ID\"),\n}).describe(\"Request model for listing email templates.\");\nconst MailtrapListEmailTemplates_EmailTemplateSchema = z.object({\n id: z.number().int().describe(\"Email template ID\").nullable().optional(),\n name: z.string().describe(\"Name of the email template (max 255 characters)\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier for the email template in UUID format\").nullable().optional(),\n subject: z.string().describe(\"Email subject line (max 255 characters)\").nullable().optional(),\n category: z.string().describe(\"Category or type of the email template (max 255 characters)\").nullable().optional(),\n body_html: z.string().describe(\"HTML body content of the email template\").nullable().optional(),\n body_text: z.string().describe(\"Plain text body content of the email template\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the template was created (ISO 8601 format)\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the template was last updated (ISO 8601 format)\").nullable().optional(),\n}).passthrough().describe(\"Email template information.\");\nexport const MailtrapListEmailTemplatesOutput = z.object({\n templates: z.array(MailtrapListEmailTemplates_EmailTemplateSchema).describe(\"List of email templates for the specified account\"),\n}).passthrough().describe(\"Response model containing list of email templates.\");\n\nexport const mailtrapListEmailTemplates: AppAction<\n typeof MailtrapListEmailTemplatesInput,\n typeof MailtrapListEmailTemplatesOutput,\n typeof mailtrap.credential\n> = action(\"MAILTRAP_LIST_EMAIL_TEMPLATES\", {\n slug: \"mailtrap-list-email-templates\",\n name: \"List Email Templates\",\n description: \"Tool to retrieve all email templates for a Mailtrap account. Use when you need to list available templates, browse template configurations, or find a specific template by name or attributes.\",\n input: MailtrapListEmailTemplatesInput,\n output: MailtrapListEmailTemplatesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,YAAY,EACpD,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6BAA6B;AACvD,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,WAAWA,IAAAA,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,mDAAmD,EACjI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,6BAITC,eAAAA,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}