@keystrokehq/mailtrap 0.1.4 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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 -4
  6. package/dist/actions/clean-inbox.d.cts.map +1 -1
  7. package/dist/actions/clean-inbox.d.mts +3 -4
  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 -6
  14. package/dist/actions/create-contact-event.d.cts.map +1 -1
  15. package/dist/actions/create-contact-event.d.mts +3 -6
  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 -9
  22. package/dist/actions/create-contact-export.d.cts.map +1 -1
  23. package/dist/actions/create-contact-export.d.mts +3 -9
  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 -6
  30. package/dist/actions/create-contact-field.d.cts.map +1 -1
  31. package/dist/actions/create-contact-field.d.mts +3 -6
  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 -4
  38. package/dist/actions/create-contact-list.d.cts.map +1 -1
  39. package/dist/actions/create-contact-list.d.mts +3 -4
  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 -11
  46. package/dist/actions/create-contact.d.cts.map +1 -1
  47. package/dist/actions/create-contact.d.mts +3 -11
  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 -10
  54. package/dist/actions/create-email-template.d.cts.map +1 -1
  55. package/dist/actions/create-email-template.d.mts +3 -10
  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 -6
  62. package/dist/actions/create-sending-domain.d.cts.map +1 -1
  63. package/dist/actions/create-sending-domain.d.mts +3 -6
  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 -4
  70. package/dist/actions/delete-contact-field.d.cts.map +1 -1
  71. package/dist/actions/delete-contact-field.d.mts +3 -4
  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 -4
  78. package/dist/actions/delete-contact-list.d.cts.map +1 -1
  79. package/dist/actions/delete-contact-list.d.mts +3 -4
  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 -4
  86. package/dist/actions/delete-contact.d.cts.map +1 -1
  87. package/dist/actions/delete-contact.d.mts +3 -4
  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 -4
  94. package/dist/actions/delete-email-template.d.cts.map +1 -1
  95. package/dist/actions/delete-email-template.d.mts +3 -4
  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 -4
  102. package/dist/actions/delete-project.d.cts.map +1 -1
  103. package/dist/actions/delete-project.d.mts +3 -4
  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 -4
  110. package/dist/actions/delete-sending-domain.d.cts.map +1 -1
  111. package/dist/actions/delete-sending-domain.d.mts +3 -4
  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 -3
  118. package/dist/actions/get-billing-usage.d.cts.map +1 -1
  119. package/dist/actions/get-billing-usage.d.mts +3 -3
  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 -4
  126. package/dist/actions/get-contact-export.d.cts.map +1 -1
  127. package/dist/actions/get-contact-export.d.mts +3 -4
  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 -4
  134. package/dist/actions/get-contact-field.d.cts.map +1 -1
  135. package/dist/actions/get-contact-field.d.mts +3 -4
  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 -4
  142. package/dist/actions/get-contact-import.d.cts.map +1 -1
  143. package/dist/actions/get-contact-import.d.mts +3 -4
  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 -4
  150. package/dist/actions/get-contact-list.d.cts.map +1 -1
  151. package/dist/actions/get-contact-list.d.mts +3 -4
  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 -4
  158. package/dist/actions/get-contact.d.cts.map +1 -1
  159. package/dist/actions/get-contact.d.mts +3 -4
  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 -4
  166. package/dist/actions/get-email-template.d.cts.map +1 -1
  167. package/dist/actions/get-email-template.d.mts +3 -4
  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 -4
  174. package/dist/actions/get-inbox.d.cts.map +1 -1
  175. package/dist/actions/get-inbox.d.mts +3 -4
  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 -5
  182. package/dist/actions/get-message-html.d.cts.map +1 -1
  183. package/dist/actions/get-message-html.d.mts +3 -5
  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 -3
  190. package/dist/actions/get-permission-resources.d.cts.map +1 -1
  191. package/dist/actions/get-permission-resources.d.mts +3 -3
  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 -4
  198. package/dist/actions/get-project.d.cts.map +1 -1
  199. package/dist/actions/get-project.d.mts +3 -4
  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 -4
  206. package/dist/actions/get-sending-domain.d.cts.map +1 -1
  207. package/dist/actions/get-sending-domain.d.mts +3 -4
  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 -9
  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 -9
  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 -9
  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 -9
  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 -9
  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 -9
  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 -9
  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 -9
  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 -9
  246. package/dist/actions/get-sending-stats.d.cts.map +1 -1
  247. package/dist/actions/get-sending-stats.d.mts +3 -9
  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 -10
  254. package/dist/actions/import-contacts.d.cts.map +1 -1
  255. package/dist/actions/import-contacts.d.mts +3 -10
  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 -1
  262. package/dist/actions/list-accounts.d.cts.map +1 -1
  263. package/dist/actions/list-accounts.d.mts +3 -1
  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 -3
  270. package/dist/actions/list-contact-fields.d.cts.map +1 -1
  271. package/dist/actions/list-contact-fields.d.mts +3 -3
  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 -3
  278. package/dist/actions/list-contact-lists.d.cts.map +1 -1
  279. package/dist/actions/list-contact-lists.d.mts +3 -3
  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 -3
  286. package/dist/actions/list-email-templates.d.cts.map +1 -1
  287. package/dist/actions/list-email-templates.d.mts +3 -3
  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 -3
  294. package/dist/actions/list-inboxes.d.cts.map +1 -1
  295. package/dist/actions/list-inboxes.d.mts +3 -3
  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 -7
  302. package/dist/actions/list-messages.d.cts.map +1 -1
  303. package/dist/actions/list-messages.d.mts +3 -7
  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 -3
  310. package/dist/actions/list-projects.d.cts.map +1 -1
  311. package/dist/actions/list-projects.d.mts +3 -3
  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 -3
  318. package/dist/actions/list-sending-domains.d.cts.map +1 -1
  319. package/dist/actions/list-sending-domains.d.mts +3 -3
  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 -6
  326. package/dist/actions/list-suppressions.d.cts.map +1 -1
  327. package/dist/actions/list-suppressions.d.mts +3 -6
  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 -4
  334. package/dist/actions/mark-inbox-as-read.d.cts.map +1 -1
  335. package/dist/actions/mark-inbox-as-read.d.mts +3 -4
  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 -4
  342. package/dist/actions/reset-inbox-credentials.d.cts.map +1 -1
  343. package/dist/actions/reset-inbox-credentials.d.mts +3 -4
  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 -6
  350. package/dist/actions/update-contact-field.d.cts.map +1 -1
  351. package/dist/actions/update-contact-field.d.mts +3 -6
  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 -5
  358. package/dist/actions/update-contact-list.d.cts.map +1 -1
  359. package/dist/actions/update-contact-list.d.mts +3 -5
  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 -11
  366. package/dist/actions/update-contact.d.cts.map +1 -1
  367. package/dist/actions/update-contact.d.mts +3 -11
  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 -11
  374. package/dist/actions/update-email-template.d.cts.map +1 -1
  375. package/dist/actions/update-email-template.d.mts +3 -11
  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 -8
  382. package/dist/actions/update-inbox.d.cts.map +1 -1
  383. package/dist/actions/update-inbox.d.mts +3 -8
  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 -7
  390. package/dist/actions/update-project.d.cts.map +1 -1
  391. package/dist/actions/update-project.d.mts +3 -7
  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 +9 -2
  396. package/dist/app.cjs.map +1 -1
  397. package/dist/app.d.cts +8 -1
  398. package/dist/app.d.cts.map +1 -1
  399. package/dist/app.d.mts +8 -1
  400. package/dist/app.d.mts.map +1 -1
  401. package/dist/app.mjs +6 -2
  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,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const mailtrapDeleteContact = action("MAILTRAP_DELETE_CONTACT", {
@@ -1 +1 @@
1
- {"version":3,"file":"delete-contact.mjs","names":[],"sources":["../../src/actions/delete-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapDeleteContactInput = z.object({\n account_id: z.number().int().describe(\"Unique account ID for the Mailtrap account.\"),\n contact_identifier: z.string().describe(\"Contact UUID or email address to identify the contact to delete.\"),\n});\nexport const MailtrapDeleteContactOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates if the contact was successfully deleted.\").nullable().optional(),\n}).passthrough();\n\nexport const mailtrapDeleteContact = action(\"MAILTRAP_DELETE_CONTACT\", {\n slug: \"mailtrap-delete-contact\",\n name: \"Delete Contact\",\n description: \"Tool to delete a contact from a Mailtrap account. Use when you need to permanently remove a contact by their UUID or email address. The deletion is permanent and cannot be undone.\",\n input: MailtrapDeleteContactInput,\n output: MailtrapDeleteContactOutput,\n});\n"],"mappings":";;AAYA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZwC,EAAE,OAAO;EACjD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;EACnF,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;CAC5G,CASS;CACP,QATyC,EAAE,OAAO,EAClD,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxH,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"delete-contact.mjs","names":[],"sources":["../../src/actions/delete-contact.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 MailtrapDeleteContactInput = z.object({\n account_id: z.number().int().describe(\"Unique account ID for the Mailtrap account.\"),\n contact_identifier: z.string().describe(\"Contact UUID or email address to identify the contact to delete.\"),\n});\nexport const MailtrapDeleteContactOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates if the contact was successfully deleted.\").nullable().optional(),\n}).passthrough();\n\nexport const mailtrapDeleteContact: AppAction<\n typeof MailtrapDeleteContactInput,\n typeof MailtrapDeleteContactOutput,\n typeof mailtrap.credential\n> = action(\"MAILTRAP_DELETE_CONTACT\", {\n slug: \"mailtrap-delete-contact\",\n name: \"Delete Contact\",\n description: \"Tool to delete a contact from a Mailtrap account. Use when you need to permanently remove a contact by their UUID or email address. The deletion is permanent and cannot be undone.\",\n input: MailtrapDeleteContactInput,\n output: MailtrapDeleteContactOutput,\n});\n"],"mappings":";;;AAcA,MAAa,wBAIT,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBwC,EAAE,OAAO;EACjD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;EACnF,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;CAC5G,CAaS;CACP,QAbyC,EAAE,OAAO,EAClD,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxH,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/delete-email-template.ts
@@ -1 +1 @@
1
- {"version":3,"file":"delete-email-template.cjs","names":["z","action"],"sources":["../../src/actions/delete-email-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapDeleteEmailTemplateInput = z.object({\n account_id: z.number().int().describe(\"Account ID where the email template is located\"),\n email_template_id: z.number().int().describe(\"Email template ID to delete\"),\n}).describe(\"Request model for deleting an email template.\");\nexport const MailtrapDeleteEmailTemplateOutput = z.object({\n success: z.boolean().describe(\"Indicates if the delete operation was successful\").nullable(),\n}).passthrough().describe(\"Response model for delete email template operation.\");\n\nexport const mailtrapDeleteEmailTemplate = action(\"MAILTRAP_DELETE_EMAIL_TEMPLATE\", {\n slug: \"mailtrap-delete-email-template\",\n name: \"Delete Email Template\",\n description: \"Tool to delete an email template from a Mailtrap account. Use when you need to remove an existing email template.\",\n input: MailtrapDeleteEmailTemplateInput,\n output: MailtrapDeleteEmailTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;CACtF,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B;AAC5E,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,EAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-email-template.cjs","names":["z","action"],"sources":["../../src/actions/delete-email-template.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 MailtrapDeleteEmailTemplateInput = z.object({\n account_id: z.number().int().describe(\"Account ID where the email template is located\"),\n email_template_id: z.number().int().describe(\"Email template ID to delete\"),\n}).describe(\"Request model for deleting an email template.\");\nexport const MailtrapDeleteEmailTemplateOutput = z.object({\n success: z.boolean().describe(\"Indicates if the delete operation was successful\").nullable(),\n}).passthrough().describe(\"Response model for delete email template operation.\");\n\nexport const mailtrapDeleteEmailTemplate: AppAction<\n typeof MailtrapDeleteEmailTemplateInput,\n typeof MailtrapDeleteEmailTemplateOutput,\n typeof mailtrap.credential\n> = action(\"MAILTRAP_DELETE_EMAIL_TEMPLATE\", {\n slug: \"mailtrap-delete-email-template\",\n name: \"Delete Email Template\",\n description: \"Tool to delete an email template from a Mailtrap account. Use when you need to remove an existing email template.\",\n input: MailtrapDeleteEmailTemplateInput,\n output: MailtrapDeleteEmailTemplateOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;CACtF,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B;AAC5E,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,EAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,8BAITC,eAAAA,OAAO,kCAAkC;CAC3C,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/delete-email-template.d.ts
@@ -8,10 +10,7 @@ declare const MailtrapDeleteEmailTemplateInput: z.ZodObject<{
8
10
  declare const MailtrapDeleteEmailTemplateOutput: z.ZodObject<{
9
11
  success: z.ZodNullable<z.ZodBoolean>;
10
12
  }, z.core.$loose>;
11
- declare const mailtrapDeleteEmailTemplate: import("@keystrokehq/action").WorkflowActionDefinition<{
12
- account_id: number;
13
- email_template_id: number;
14
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ declare const mailtrapDeleteEmailTemplate: AppAction<typeof MailtrapDeleteEmailTemplateInput, typeof MailtrapDeleteEmailTemplateOutput, typeof mailtrap.credential>;
15
14
  //#endregion
16
15
  export { mailtrapDeleteEmailTemplate };
17
16
  //# sourceMappingURL=delete-email-template.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-email-template.d.cts","names":[],"sources":["../../src/actions/delete-email-template.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAIhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAIjC,2BAAA,gCAA2B,wBAAA"}
1
+ {"version":3,"file":"delete-email-template.d.cts","names":[],"sources":["../../src/actions/delete-email-template.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAIhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAIjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,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/delete-email-template.d.ts
@@ -8,10 +10,7 @@ declare const MailtrapDeleteEmailTemplateInput: z.ZodObject<{
8
10
  declare const MailtrapDeleteEmailTemplateOutput: z.ZodObject<{
9
11
  success: z.ZodNullable<z.ZodBoolean>;
10
12
  }, z.core.$loose>;
11
- declare const mailtrapDeleteEmailTemplate: import("@keystrokehq/action").WorkflowActionDefinition<{
12
- account_id: number;
13
- email_template_id: number;
14
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ declare const mailtrapDeleteEmailTemplate: AppAction<typeof MailtrapDeleteEmailTemplateInput, typeof MailtrapDeleteEmailTemplateOutput, typeof mailtrap.credential>;
15
14
  //#endregion
16
15
  export { mailtrapDeleteEmailTemplate };
17
16
  //# sourceMappingURL=delete-email-template.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-email-template.d.mts","names":[],"sources":["../../src/actions/delete-email-template.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAIhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAIjC,2BAAA,gCAA2B,wBAAA"}
1
+ {"version":3,"file":"delete-email-template.d.mts","names":[],"sources":["../../src/actions/delete-email-template.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAIhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAIjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const mailtrapDeleteEmailTemplate = action("MAILTRAP_DELETE_EMAIL_TEMPLATE", {
@@ -1 +1 @@
1
- {"version":3,"file":"delete-email-template.mjs","names":[],"sources":["../../src/actions/delete-email-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapDeleteEmailTemplateInput = z.object({\n account_id: z.number().int().describe(\"Account ID where the email template is located\"),\n email_template_id: z.number().int().describe(\"Email template ID to delete\"),\n}).describe(\"Request model for deleting an email template.\");\nexport const MailtrapDeleteEmailTemplateOutput = z.object({\n success: z.boolean().describe(\"Indicates if the delete operation was successful\").nullable(),\n}).passthrough().describe(\"Response model for delete email template operation.\");\n\nexport const mailtrapDeleteEmailTemplate = action(\"MAILTRAP_DELETE_EMAIL_TEMPLATE\", {\n slug: \"mailtrap-delete-email-template\",\n name: \"Delete Email Template\",\n description: \"Tool to delete an email template from a Mailtrap account. Use when you need to remove an existing email template.\",\n input: MailtrapDeleteEmailTemplateInput,\n output: MailtrapDeleteEmailTemplateOutput,\n});\n"],"mappings":";;AAYA,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ8C,EAAE,OAAO;EACvD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;EACtF,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B;CAC5E,CAAC,CAAC,CAAC,SAAS,+CASH;CACP,QAT+C,EAAE,OAAO,EACxD,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,EAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"delete-email-template.mjs","names":[],"sources":["../../src/actions/delete-email-template.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 MailtrapDeleteEmailTemplateInput = z.object({\n account_id: z.number().int().describe(\"Account ID where the email template is located\"),\n email_template_id: z.number().int().describe(\"Email template ID to delete\"),\n}).describe(\"Request model for deleting an email template.\");\nexport const MailtrapDeleteEmailTemplateOutput = z.object({\n success: z.boolean().describe(\"Indicates if the delete operation was successful\").nullable(),\n}).passthrough().describe(\"Response model for delete email template operation.\");\n\nexport const mailtrapDeleteEmailTemplate: AppAction<\n typeof MailtrapDeleteEmailTemplateInput,\n typeof MailtrapDeleteEmailTemplateOutput,\n typeof mailtrap.credential\n> = action(\"MAILTRAP_DELETE_EMAIL_TEMPLATE\", {\n slug: \"mailtrap-delete-email-template\",\n name: \"Delete Email Template\",\n description: \"Tool to delete an email template from a Mailtrap account. Use when you need to remove an existing email template.\",\n input: MailtrapDeleteEmailTemplateInput,\n output: MailtrapDeleteEmailTemplateOutput,\n});\n"],"mappings":";;;AAcA,MAAa,8BAIT,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB8C,EAAE,OAAO;EACvD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;EACtF,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B;CAC5E,CAAC,CAAC,CAAC,SAAS,+CAaH;CACP,QAb+C,EAAE,OAAO,EACxD,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,EAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAWhB;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/delete-project.ts
@@ -1 +1 @@
1
- {"version":3,"file":"delete-project.cjs","names":["z","action"],"sources":["../../src/actions/delete-project.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapDeleteProjectInput = z.object({\n account_id: z.number().int().describe(\"Unique account ID to identify the Mailtrap account.\"),\n project_id: z.number().int().describe(\"Unique project ID to identify the specific project to delete.\"),\n}).describe(\"Request model for deleting a project from Mailtrap.\");\nexport const MailtrapDeleteProjectOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the deleted project.\").nullable(),\n}).passthrough().describe(\"Response model containing the deleted project ID from Mailtrap.\");\n\nexport const mailtrapDeleteProject = action(\"MAILTRAP_DELETE_PROJECT\", {\n slug: \"mailtrap-delete-project\",\n name: \"Delete Project\",\n description: \"Tool to delete a project from Mailtrap. Use when you need to permanently remove a project and its associated resources. Returns the ID of the deleted project.\",\n input: MailtrapDeleteProjectInput,\n output: MailtrapDeleteProjectOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD;CAC3F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D;AACvG,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,EACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAAiE;AAE3F,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-project.cjs","names":["z","action"],"sources":["../../src/actions/delete-project.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 MailtrapDeleteProjectInput = z.object({\n account_id: z.number().int().describe(\"Unique account ID to identify the Mailtrap account.\"),\n project_id: z.number().int().describe(\"Unique project ID to identify the specific project to delete.\"),\n}).describe(\"Request model for deleting a project from Mailtrap.\");\nexport const MailtrapDeleteProjectOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the deleted project.\").nullable(),\n}).passthrough().describe(\"Response model containing the deleted project ID from Mailtrap.\");\n\nexport const mailtrapDeleteProject: AppAction<\n typeof MailtrapDeleteProjectInput,\n typeof MailtrapDeleteProjectOutput,\n typeof mailtrap.credential\n> = action(\"MAILTRAP_DELETE_PROJECT\", {\n slug: \"mailtrap-delete-project\",\n name: \"Delete Project\",\n description: \"Tool to delete a project from Mailtrap. Use when you need to permanently remove a project and its associated resources. Returns the ID of the deleted project.\",\n input: MailtrapDeleteProjectInput,\n output: MailtrapDeleteProjectOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD;CAC3F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D;AACvG,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,EACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAAiE;AAE3F,MAAa,wBAITC,eAAAA,OAAO,2BAA2B;CACpC,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/delete-project.d.ts
@@ -8,10 +10,7 @@ declare const MailtrapDeleteProjectInput: z.ZodObject<{
8
10
  declare const MailtrapDeleteProjectOutput: z.ZodObject<{
9
11
  id: z.ZodNullable<z.ZodNumber>;
10
12
  }, z.core.$loose>;
11
- declare const mailtrapDeleteProject: import("@keystrokehq/action").WorkflowActionDefinition<{
12
- account_id: number;
13
- project_id: number;
14
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ declare const mailtrapDeleteProject: AppAction<typeof MailtrapDeleteProjectInput, typeof MailtrapDeleteProjectOutput, typeof mailtrap.credential>;
15
14
  //#endregion
16
15
  export { mailtrapDeleteProject };
17
16
  //# sourceMappingURL=delete-project.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-project.d.cts","names":[],"sources":["../../src/actions/delete-project.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAI1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAI3B,qBAAA,gCAAqB,wBAAA"}
1
+ {"version":3,"file":"delete-project.d.cts","names":[],"sources":["../../src/actions/delete-project.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAI1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAI3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,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/delete-project.d.ts
@@ -8,10 +10,7 @@ declare const MailtrapDeleteProjectInput: z.ZodObject<{
8
10
  declare const MailtrapDeleteProjectOutput: z.ZodObject<{
9
11
  id: z.ZodNullable<z.ZodNumber>;
10
12
  }, z.core.$loose>;
11
- declare const mailtrapDeleteProject: import("@keystrokehq/action").WorkflowActionDefinition<{
12
- account_id: number;
13
- project_id: number;
14
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ declare const mailtrapDeleteProject: AppAction<typeof MailtrapDeleteProjectInput, typeof MailtrapDeleteProjectOutput, typeof mailtrap.credential>;
15
14
  //#endregion
16
15
  export { mailtrapDeleteProject };
17
16
  //# sourceMappingURL=delete-project.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-project.d.mts","names":[],"sources":["../../src/actions/delete-project.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAI1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAI3B,qBAAA,gCAAqB,wBAAA"}
1
+ {"version":3,"file":"delete-project.d.mts","names":[],"sources":["../../src/actions/delete-project.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAI1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAI3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,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 mailtrapDeleteProject = action("MAILTRAP_DELETE_PROJECT", {
@@ -1 +1 @@
1
- {"version":3,"file":"delete-project.mjs","names":[],"sources":["../../src/actions/delete-project.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapDeleteProjectInput = z.object({\n account_id: z.number().int().describe(\"Unique account ID to identify the Mailtrap account.\"),\n project_id: z.number().int().describe(\"Unique project ID to identify the specific project to delete.\"),\n}).describe(\"Request model for deleting a project from Mailtrap.\");\nexport const MailtrapDeleteProjectOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the deleted project.\").nullable(),\n}).passthrough().describe(\"Response model containing the deleted project ID from Mailtrap.\");\n\nexport const mailtrapDeleteProject = action(\"MAILTRAP_DELETE_PROJECT\", {\n slug: \"mailtrap-delete-project\",\n name: \"Delete Project\",\n description: \"Tool to delete a project from Mailtrap. Use when you need to permanently remove a project and its associated resources. Returns the ID of the deleted project.\",\n input: MailtrapDeleteProjectInput,\n output: MailtrapDeleteProjectOutput,\n});\n"],"mappings":";;AAYA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZwC,EAAE,OAAO;EACjD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD;EAC3F,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D;CACvG,CAAC,CAAC,CAAC,SAAS,qDASH;CACP,QATyC,EAAE,OAAO,EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,EACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"delete-project.mjs","names":[],"sources":["../../src/actions/delete-project.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 MailtrapDeleteProjectInput = z.object({\n account_id: z.number().int().describe(\"Unique account ID to identify the Mailtrap account.\"),\n project_id: z.number().int().describe(\"Unique project ID to identify the specific project to delete.\"),\n}).describe(\"Request model for deleting a project from Mailtrap.\");\nexport const MailtrapDeleteProjectOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the deleted project.\").nullable(),\n}).passthrough().describe(\"Response model containing the deleted project ID from Mailtrap.\");\n\nexport const mailtrapDeleteProject: AppAction<\n typeof MailtrapDeleteProjectInput,\n typeof MailtrapDeleteProjectOutput,\n typeof mailtrap.credential\n> = action(\"MAILTRAP_DELETE_PROJECT\", {\n slug: \"mailtrap-delete-project\",\n name: \"Delete Project\",\n description: \"Tool to delete a project from Mailtrap. Use when you need to permanently remove a project and its associated resources. Returns the ID of the deleted project.\",\n input: MailtrapDeleteProjectInput,\n output: MailtrapDeleteProjectOutput,\n});\n"],"mappings":";;;AAcA,MAAa,wBAIT,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBwC,EAAE,OAAO;EACjD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD;EAC3F,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D;CACvG,CAAC,CAAC,CAAC,SAAS,qDAaH;CACP,QAbyC,EAAE,OAAO,EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,EACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAWhB;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/delete-sending-domain.ts
@@ -1 +1 @@
1
- {"version":3,"file":"delete-sending-domain.cjs","names":["z","action"],"sources":["../../src/actions/delete-sending-domain.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapDeleteSendingDomainInput = z.object({\n account_id: z.number().int().describe(\"Account ID where the sending domain belongs\"),\n sending_domain_id: z.number().int().describe(\"Sending domain ID to delete\"),\n}).describe(\"Request parameters for deleting a sending domain. Provide both account ID and sending domain ID.\");\nexport const MailtrapDeleteSendingDomainOutput = z.record(z.string(), z.unknown()).describe(\"Empty response: delete returns HTTP 204 No Content on success.\");\n\nexport const mailtrapDeleteSendingDomain = action(\"MAILTRAP_DELETE_SENDING_DOMAIN\", {\n slug: \"mailtrap-delete-sending-domain\",\n name: \"Delete Sending Domain\",\n description: \"Tool to delete a sending domain from a Mailtrap account. Use when you need to remove a domain permanently.\",\n input: MailtrapDeleteSendingDomainInput,\n output: MailtrapDeleteSendingDomainOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;CACnF,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B;AAC5E,CAAC,CAAC,CAAC,SAAS,kGAAkG;AAC9G,MAAa,oCAAoCA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAE5J,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-sending-domain.cjs","names":["z","action"],"sources":["../../src/actions/delete-sending-domain.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 MailtrapDeleteSendingDomainInput = z.object({\n account_id: z.number().int().describe(\"Account ID where the sending domain belongs\"),\n sending_domain_id: z.number().int().describe(\"Sending domain ID to delete\"),\n}).describe(\"Request parameters for deleting a sending domain. Provide both account ID and sending domain ID.\");\nexport const MailtrapDeleteSendingDomainOutput = z.record(z.string(), z.unknown()).describe(\"Empty response: delete returns HTTP 204 No Content on success.\");\n\nexport const mailtrapDeleteSendingDomain: AppAction<\n typeof MailtrapDeleteSendingDomainInput,\n typeof MailtrapDeleteSendingDomainOutput,\n typeof mailtrap.credential\n> = action(\"MAILTRAP_DELETE_SENDING_DOMAIN\", {\n slug: \"mailtrap-delete-sending-domain\",\n name: \"Delete Sending Domain\",\n description: \"Tool to delete a sending domain from a Mailtrap account. Use when you need to remove a domain permanently.\",\n input: MailtrapDeleteSendingDomainInput,\n output: MailtrapDeleteSendingDomainOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;CACnF,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B;AAC5E,CAAC,CAAC,CAAC,SAAS,kGAAkG;AAC9G,MAAa,oCAAoCA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAE5J,MAAa,8BAITC,eAAAA,OAAO,kCAAkC;CAC3C,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/delete-sending-domain.d.ts
@@ -6,10 +8,7 @@ declare const MailtrapDeleteSendingDomainInput: z.ZodObject<{
6
8
  sending_domain_id: z.ZodNumber;
7
9
  }, z.core.$strip>;
8
10
  declare const MailtrapDeleteSendingDomainOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
- declare const mailtrapDeleteSendingDomain: import("@keystrokehq/action").WorkflowActionDefinition<{
10
- account_id: number;
11
- sending_domain_id: number;
12
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
11
+ declare const mailtrapDeleteSendingDomain: AppAction<typeof MailtrapDeleteSendingDomainInput, typeof MailtrapDeleteSendingDomainOutput, typeof mailtrap.credential>;
13
12
  //#endregion
14
13
  export { mailtrapDeleteSendingDomain };
15
14
  //# sourceMappingURL=delete-sending-domain.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-sending-domain.d.cts","names":[],"sources":["../../src/actions/delete-sending-domain.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAIhC,iCAAA,EAAiC,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAEjC,2BAAA,gCAA2B,wBAAA"}
1
+ {"version":3,"file":"delete-sending-domain.d.cts","names":[],"sources":["../../src/actions/delete-sending-domain.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAIhC,iCAAA,EAAiC,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAEjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,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/delete-sending-domain.d.ts
@@ -6,10 +8,7 @@ declare const MailtrapDeleteSendingDomainInput: z.ZodObject<{
6
8
  sending_domain_id: z.ZodNumber;
7
9
  }, z.core.$strip>;
8
10
  declare const MailtrapDeleteSendingDomainOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
- declare const mailtrapDeleteSendingDomain: import("@keystrokehq/action").WorkflowActionDefinition<{
10
- account_id: number;
11
- sending_domain_id: number;
12
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
11
+ declare const mailtrapDeleteSendingDomain: AppAction<typeof MailtrapDeleteSendingDomainInput, typeof MailtrapDeleteSendingDomainOutput, typeof mailtrap.credential>;
13
12
  //#endregion
14
13
  export { mailtrapDeleteSendingDomain };
15
14
  //# sourceMappingURL=delete-sending-domain.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-sending-domain.d.mts","names":[],"sources":["../../src/actions/delete-sending-domain.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAIhC,iCAAA,EAAiC,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAEjC,2BAAA,gCAA2B,wBAAA"}
1
+ {"version":3,"file":"delete-sending-domain.d.mts","names":[],"sources":["../../src/actions/delete-sending-domain.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAIhC,iCAAA,EAAiC,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAEjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const mailtrapDeleteSendingDomain = action("MAILTRAP_DELETE_SENDING_DOMAIN", {
@@ -1 +1 @@
1
- {"version":3,"file":"delete-sending-domain.mjs","names":[],"sources":["../../src/actions/delete-sending-domain.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapDeleteSendingDomainInput = z.object({\n account_id: z.number().int().describe(\"Account ID where the sending domain belongs\"),\n sending_domain_id: z.number().int().describe(\"Sending domain ID to delete\"),\n}).describe(\"Request parameters for deleting a sending domain. Provide both account ID and sending domain ID.\");\nexport const MailtrapDeleteSendingDomainOutput = z.record(z.string(), z.unknown()).describe(\"Empty response: delete returns HTTP 204 No Content on success.\");\n\nexport const mailtrapDeleteSendingDomain = action(\"MAILTRAP_DELETE_SENDING_DOMAIN\", {\n slug: \"mailtrap-delete-sending-domain\",\n name: \"Delete Sending Domain\",\n description: \"Tool to delete a sending domain from a Mailtrap account. Use when you need to remove a domain permanently.\",\n input: MailtrapDeleteSendingDomainInput,\n output: MailtrapDeleteSendingDomainOutput,\n});\n"],"mappings":";;AAUA,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAV8C,EAAE,OAAO;EACvD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;EACnF,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B;CAC5E,CAAC,CAAC,CAAC,SAAS,kGAOH;CACP,QAP+C,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gEAOlF;AACV,CAAC"}
1
+ {"version":3,"file":"delete-sending-domain.mjs","names":[],"sources":["../../src/actions/delete-sending-domain.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 MailtrapDeleteSendingDomainInput = z.object({\n account_id: z.number().int().describe(\"Account ID where the sending domain belongs\"),\n sending_domain_id: z.number().int().describe(\"Sending domain ID to delete\"),\n}).describe(\"Request parameters for deleting a sending domain. Provide both account ID and sending domain ID.\");\nexport const MailtrapDeleteSendingDomainOutput = z.record(z.string(), z.unknown()).describe(\"Empty response: delete returns HTTP 204 No Content on success.\");\n\nexport const mailtrapDeleteSendingDomain: AppAction<\n typeof MailtrapDeleteSendingDomainInput,\n typeof MailtrapDeleteSendingDomainOutput,\n typeof mailtrap.credential\n> = action(\"MAILTRAP_DELETE_SENDING_DOMAIN\", {\n slug: \"mailtrap-delete-sending-domain\",\n name: \"Delete Sending Domain\",\n description: \"Tool to delete a sending domain from a Mailtrap account. Use when you need to remove a domain permanently.\",\n input: MailtrapDeleteSendingDomainInput,\n output: MailtrapDeleteSendingDomainOutput,\n});\n"],"mappings":";;;AAYA,MAAa,8BAIT,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAd8C,EAAE,OAAO;EACvD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;EACnF,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B;CAC5E,CAAC,CAAC,CAAC,SAAS,kGAWH;CACP,QAX+C,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gEAWlF;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-billing-usage.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-billing-usage.cjs","names":["z","action"],"sources":["../../src/actions/get-billing-usage.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapGetBillingUsageInput = z.object({\n account_id: z.number().int().describe(\"Unique account ID\"),\n}).describe(\"Request model for retrieving current billing cycle usage.\");\nconst MailtrapGetBillingUsage_BillingCycleSchema = z.object({\n cycle_end: z.string().describe(\"Billing cycle end date (ISO 8601 format)\").nullable().optional(),\n cycle_start: z.string().describe(\"Billing cycle start date (ISO 8601 format)\").nullable().optional(),\n}).passthrough().describe(\"Represents the billing cycle time period.\");\nconst MailtrapGetBillingUsage_PlanDetailsSchema = z.object({\n name: z.string().describe(\"Name of the plan\").nullable().optional(),\n}).passthrough().describe(\"Represents plan information.\");\nconst MailtrapGetBillingUsage_MessageCountSchema = z.object({\n limit: z.number().int().describe(\"Maximum allowed messages\").nullable().optional(),\n current: z.number().int().describe(\"Current message count\").nullable().optional(),\n}).passthrough().describe(\"Represents current usage and limit for a message type.\");\nconst MailtrapGetBillingUsage_UsageDetailsSchema = z.object({\n sent_messages_count: MailtrapGetBillingUsage_MessageCountSchema.nullable().optional(),\n forwarded_messages_count: MailtrapGetBillingUsage_MessageCountSchema.nullable().optional(),\n}).passthrough().describe(\"Represents usage details for a service.\");\nconst MailtrapGetBillingUsage_ServiceBillingSchema = z.object({\n plan: MailtrapGetBillingUsage_PlanDetailsSchema.nullable().optional(),\n usage: MailtrapGetBillingUsage_UsageDetailsSchema.nullable().optional(),\n}).passthrough().describe(\"Represents billing information for a service (testing or sending).\");\nexport const MailtrapGetBillingUsageOutput = z.object({\n billing: MailtrapGetBillingUsage_BillingCycleSchema.nullable().optional(),\n sending: MailtrapGetBillingUsage_ServiceBillingSchema.nullable().optional(),\n testing: MailtrapGetBillingUsage_ServiceBillingSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for retrieving current billing cycle usage.\");\n\nexport const mailtrapGetBillingUsage = action(\"MAILTRAP_GET_BILLING_USAGE\", {\n slug: \"mailtrap-get-billing-usage\",\n name: \"Get Billing Usage\",\n description: \"Tool to retrieve current billing cycle usage for an account. Use when you need to check billing information, usage limits, or consumption for Email Sandbox and Email Sending services.\",\n input: MailtrapGetBillingUsageInput,\n output: MailtrapGetBillingUsageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB,EAC3D,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AACrE,MAAM,4CAA4CA,IAAAA,EAAE,OAAO,EACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8BAA8B;AACxD,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAClF,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,qBAAqB,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACpF,0BAA0B,2CAA2C,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AACnE,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,MAAM,0CAA0C,SAAS,CAAC,CAAC,SAAS;CACpE,OAAO,2CAA2C,SAAS,CAAC,CAAC,SAAS;AACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oEAAoE;AAC9F,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,SAAS,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACxE,SAAS,6CAA6C,SAAS,CAAC,CAAC,SAAS;CAC1E,SAAS,6CAA6C,SAAS,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AAEtF,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-billing-usage.cjs","names":["z","action"],"sources":["../../src/actions/get-billing-usage.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 MailtrapGetBillingUsageInput = z.object({\n account_id: z.number().int().describe(\"Unique account ID\"),\n}).describe(\"Request model for retrieving current billing cycle usage.\");\nconst MailtrapGetBillingUsage_BillingCycleSchema = z.object({\n cycle_end: z.string().describe(\"Billing cycle end date (ISO 8601 format)\").nullable().optional(),\n cycle_start: z.string().describe(\"Billing cycle start date (ISO 8601 format)\").nullable().optional(),\n}).passthrough().describe(\"Represents the billing cycle time period.\");\nconst MailtrapGetBillingUsage_PlanDetailsSchema = z.object({\n name: z.string().describe(\"Name of the plan\").nullable().optional(),\n}).passthrough().describe(\"Represents plan information.\");\nconst MailtrapGetBillingUsage_MessageCountSchema = z.object({\n limit: z.number().int().describe(\"Maximum allowed messages\").nullable().optional(),\n current: z.number().int().describe(\"Current message count\").nullable().optional(),\n}).passthrough().describe(\"Represents current usage and limit for a message type.\");\nconst MailtrapGetBillingUsage_UsageDetailsSchema = z.object({\n sent_messages_count: MailtrapGetBillingUsage_MessageCountSchema.nullable().optional(),\n forwarded_messages_count: MailtrapGetBillingUsage_MessageCountSchema.nullable().optional(),\n}).passthrough().describe(\"Represents usage details for a service.\");\nconst MailtrapGetBillingUsage_ServiceBillingSchema = z.object({\n plan: MailtrapGetBillingUsage_PlanDetailsSchema.nullable().optional(),\n usage: MailtrapGetBillingUsage_UsageDetailsSchema.nullable().optional(),\n}).passthrough().describe(\"Represents billing information for a service (testing or sending).\");\nexport const MailtrapGetBillingUsageOutput = z.object({\n billing: MailtrapGetBillingUsage_BillingCycleSchema.nullable().optional(),\n sending: MailtrapGetBillingUsage_ServiceBillingSchema.nullable().optional(),\n testing: MailtrapGetBillingUsage_ServiceBillingSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for retrieving current billing cycle usage.\");\n\nexport const mailtrapGetBillingUsage: AppAction<\n typeof MailtrapGetBillingUsageInput,\n typeof MailtrapGetBillingUsageOutput,\n typeof mailtrap.credential\n> = action(\"MAILTRAP_GET_BILLING_USAGE\", {\n slug: \"mailtrap-get-billing-usage\",\n name: \"Get Billing Usage\",\n description: \"Tool to retrieve current billing cycle usage for an account. Use when you need to check billing information, usage limits, or consumption for Email Sandbox and Email Sending services.\",\n input: MailtrapGetBillingUsageInput,\n output: MailtrapGetBillingUsageOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB,EAC3D,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AACrE,MAAM,4CAA4CA,IAAAA,EAAE,OAAO,EACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8BAA8B;AACxD,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAClF,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,qBAAqB,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACpF,0BAA0B,2CAA2C,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AACnE,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,MAAM,0CAA0C,SAAS,CAAC,CAAC,SAAS;CACpE,OAAO,2CAA2C,SAAS,CAAC,CAAC,SAAS;AACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oEAAoE;AAC9F,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,SAAS,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACxE,SAAS,6CAA6C,SAAS,CAAC,CAAC,SAAS;CAC1E,SAAS,6CAA6C,SAAS,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AAEtF,MAAa,0BAITC,eAAAA,OAAO,8BAA8B;CACvC,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/get-billing-usage.d.ts
@@ -40,9 +42,7 @@ declare const MailtrapGetBillingUsageOutput: z.ZodObject<{
40
42
  }, z.core.$loose>>>;
41
43
  }, z.core.$loose>>>;
42
44
  }, z.core.$loose>;
43
- declare const mailtrapGetBillingUsage: import("@keystrokehq/action").WorkflowActionDefinition<{
44
- account_id: number;
45
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
45
+ declare const mailtrapGetBillingUsage: AppAction<typeof MailtrapGetBillingUsageInput, typeof MailtrapGetBillingUsageOutput, typeof mailtrap.credential>;
46
46
  //#endregion
47
47
  export { mailtrapGetBillingUsage };
48
48
  //# sourceMappingURL=get-billing-usage.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-billing-usage.d.cts","names":[],"sources":["../../src/actions/get-billing-usage.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAsB5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAM7B,uBAAA,gCAAuB,wBAAA"}
1
+ {"version":3,"file":"get-billing-usage.d.cts","names":[],"sources":["../../src/actions/get-billing-usage.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAsB5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAM7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,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/get-billing-usage.d.ts
@@ -40,9 +42,7 @@ declare const MailtrapGetBillingUsageOutput: z.ZodObject<{
40
42
  }, z.core.$loose>>>;
41
43
  }, z.core.$loose>>>;
42
44
  }, z.core.$loose>;
43
- declare const mailtrapGetBillingUsage: import("@keystrokehq/action").WorkflowActionDefinition<{
44
- account_id: number;
45
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
45
+ declare const mailtrapGetBillingUsage: AppAction<typeof MailtrapGetBillingUsageInput, typeof MailtrapGetBillingUsageOutput, typeof mailtrap.credential>;
46
46
  //#endregion
47
47
  export { mailtrapGetBillingUsage };
48
48
  //# sourceMappingURL=get-billing-usage.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-billing-usage.d.mts","names":[],"sources":["../../src/actions/get-billing-usage.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAsB5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAM7B,uBAAA,gCAAuB,wBAAA"}
1
+ {"version":3,"file":"get-billing-usage.d.mts","names":[],"sources":["../../src/actions/get-billing-usage.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAsB5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAM7B,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
  //#region src/actions/get-billing-usage.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-billing-usage.mjs","names":[],"sources":["../../src/actions/get-billing-usage.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapGetBillingUsageInput = z.object({\n account_id: z.number().int().describe(\"Unique account ID\"),\n}).describe(\"Request model for retrieving current billing cycle usage.\");\nconst MailtrapGetBillingUsage_BillingCycleSchema = z.object({\n cycle_end: z.string().describe(\"Billing cycle end date (ISO 8601 format)\").nullable().optional(),\n cycle_start: z.string().describe(\"Billing cycle start date (ISO 8601 format)\").nullable().optional(),\n}).passthrough().describe(\"Represents the billing cycle time period.\");\nconst MailtrapGetBillingUsage_PlanDetailsSchema = z.object({\n name: z.string().describe(\"Name of the plan\").nullable().optional(),\n}).passthrough().describe(\"Represents plan information.\");\nconst MailtrapGetBillingUsage_MessageCountSchema = z.object({\n limit: z.number().int().describe(\"Maximum allowed messages\").nullable().optional(),\n current: z.number().int().describe(\"Current message count\").nullable().optional(),\n}).passthrough().describe(\"Represents current usage and limit for a message type.\");\nconst MailtrapGetBillingUsage_UsageDetailsSchema = z.object({\n sent_messages_count: MailtrapGetBillingUsage_MessageCountSchema.nullable().optional(),\n forwarded_messages_count: MailtrapGetBillingUsage_MessageCountSchema.nullable().optional(),\n}).passthrough().describe(\"Represents usage details for a service.\");\nconst MailtrapGetBillingUsage_ServiceBillingSchema = z.object({\n plan: MailtrapGetBillingUsage_PlanDetailsSchema.nullable().optional(),\n usage: MailtrapGetBillingUsage_UsageDetailsSchema.nullable().optional(),\n}).passthrough().describe(\"Represents billing information for a service (testing or sending).\");\nexport const MailtrapGetBillingUsageOutput = z.object({\n billing: MailtrapGetBillingUsage_BillingCycleSchema.nullable().optional(),\n sending: MailtrapGetBillingUsage_ServiceBillingSchema.nullable().optional(),\n testing: MailtrapGetBillingUsage_ServiceBillingSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for retrieving current billing cycle usage.\");\n\nexport const mailtrapGetBillingUsage = action(\"MAILTRAP_GET_BILLING_USAGE\", {\n slug: \"mailtrap-get-billing-usage\",\n name: \"Get Billing Usage\",\n description: \"Tool to retrieve current billing cycle usage for an account. Use when you need to check billing information, usage limits, or consumption for Email Sandbox and Email Sending services.\",\n input: MailtrapGetBillingUsageInput,\n output: MailtrapGetBillingUsageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO,EACnD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB,EAC3D,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,6CAA6C,EAAE,OAAO;CAC1D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AACrE,MAAM,4CAA4C,EAAE,OAAO,EACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8BAA8B;AACxD,MAAM,6CAA6C,EAAE,OAAO;CAC1D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAClF,MAAM,6CAA6C,EAAE,OAAO;CAC1D,qBAAqB,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACpF,0BAA0B,2CAA2C,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AACnE,MAAM,+CAA+C,EAAE,OAAO;CAC5D,MAAM,0CAA0C,SAAS,CAAC,CAAC,SAAS;CACpE,OAAO,2CAA2C,SAAS,CAAC,CAAC,SAAS;AACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oEAAoE;AAO9F,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX2C,EAAE,OAAO;EACpD,SAAS,2CAA2C,SAAS,CAAC,CAAC,SAAS;EACxE,SAAS,6CAA6C,SAAS,CAAC,CAAC,SAAS;EAC1E,SAAS,6CAA6C,SAAS,CAAC,CAAC,SAAS;CAC5E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-billing-usage.mjs","names":[],"sources":["../../src/actions/get-billing-usage.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 MailtrapGetBillingUsageInput = z.object({\n account_id: z.number().int().describe(\"Unique account ID\"),\n}).describe(\"Request model for retrieving current billing cycle usage.\");\nconst MailtrapGetBillingUsage_BillingCycleSchema = z.object({\n cycle_end: z.string().describe(\"Billing cycle end date (ISO 8601 format)\").nullable().optional(),\n cycle_start: z.string().describe(\"Billing cycle start date (ISO 8601 format)\").nullable().optional(),\n}).passthrough().describe(\"Represents the billing cycle time period.\");\nconst MailtrapGetBillingUsage_PlanDetailsSchema = z.object({\n name: z.string().describe(\"Name of the plan\").nullable().optional(),\n}).passthrough().describe(\"Represents plan information.\");\nconst MailtrapGetBillingUsage_MessageCountSchema = z.object({\n limit: z.number().int().describe(\"Maximum allowed messages\").nullable().optional(),\n current: z.number().int().describe(\"Current message count\").nullable().optional(),\n}).passthrough().describe(\"Represents current usage and limit for a message type.\");\nconst MailtrapGetBillingUsage_UsageDetailsSchema = z.object({\n sent_messages_count: MailtrapGetBillingUsage_MessageCountSchema.nullable().optional(),\n forwarded_messages_count: MailtrapGetBillingUsage_MessageCountSchema.nullable().optional(),\n}).passthrough().describe(\"Represents usage details for a service.\");\nconst MailtrapGetBillingUsage_ServiceBillingSchema = z.object({\n plan: MailtrapGetBillingUsage_PlanDetailsSchema.nullable().optional(),\n usage: MailtrapGetBillingUsage_UsageDetailsSchema.nullable().optional(),\n}).passthrough().describe(\"Represents billing information for a service (testing or sending).\");\nexport const MailtrapGetBillingUsageOutput = z.object({\n billing: MailtrapGetBillingUsage_BillingCycleSchema.nullable().optional(),\n sending: MailtrapGetBillingUsage_ServiceBillingSchema.nullable().optional(),\n testing: MailtrapGetBillingUsage_ServiceBillingSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for retrieving current billing cycle usage.\");\n\nexport const mailtrapGetBillingUsage: AppAction<\n typeof MailtrapGetBillingUsageInput,\n typeof MailtrapGetBillingUsageOutput,\n typeof mailtrap.credential\n> = action(\"MAILTRAP_GET_BILLING_USAGE\", {\n slug: \"mailtrap-get-billing-usage\",\n name: \"Get Billing Usage\",\n description: \"Tool to retrieve current billing cycle usage for an account. Use when you need to check billing information, usage limits, or consumption for Email Sandbox and Email Sending services.\",\n input: MailtrapGetBillingUsageInput,\n output: MailtrapGetBillingUsageOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+B,EAAE,OAAO,EACnD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB,EAC3D,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,6CAA6C,EAAE,OAAO;CAC1D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AACrE,MAAM,4CAA4C,EAAE,OAAO,EACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8BAA8B;AACxD,MAAM,6CAA6C,EAAE,OAAO;CAC1D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAClF,MAAM,6CAA6C,EAAE,OAAO;CAC1D,qBAAqB,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACpF,0BAA0B,2CAA2C,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AACnE,MAAM,+CAA+C,EAAE,OAAO;CAC5D,MAAM,0CAA0C,SAAS,CAAC,CAAC,SAAS;CACpE,OAAO,2CAA2C,SAAS,CAAC,CAAC,SAAS;AACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oEAAoE;AAO9F,MAAa,0BAIT,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAf2C,EAAE,OAAO;EACpD,SAAS,2CAA2C,SAAS,CAAC,CAAC,SAAS;EACxE,SAAS,6CAA6C,SAAS,CAAC,CAAC,SAAS;EAC1E,SAAS,6CAA6C,SAAS,CAAC,CAAC,SAAS;CAC5E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-contact-export.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-contact-export.cjs","names":["z","action"],"sources":["../../src/actions/get-contact-export.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapGetContactExportInput = z.object({\n export_id: z.number().int().describe(\"Unique Contact Export ID to retrieve.\"),\n account_id: z.number().int().describe(\"Unique account ID for the Mailtrap account.\"),\n}).describe(\"Request model for getting a contact export status.\");\nconst MailtrapGetContactExport_ExportStatusSchema = z.enum([\"created\", \"started\", \"finished\"]).describe(\"Status of the contact export.\");\nexport const MailtrapGetContactExportOutput = z.object({\n id: z.number().int().describe(\"Unique ID of the contact export.\").nullable().optional(),\n url: z.string().describe(\"The URL of the exported contacts file. Only available when the export is finished.\").nullable().optional(),\n status: MailtrapGetContactExport_ExportStatusSchema.nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the export was created.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the export was last updated.\").nullable().optional(),\n}).passthrough().describe(\"Response model for contact export status.\");\n\nexport const mailtrapGetContactExport = action(\"MAILTRAP_GET_CONTACT_EXPORT\", {\n slug: \"mailtrap-get-contact-export\",\n name: \"Get Contact Export\",\n description: \"Tool to retrieve the status of a contact export. Use when you need to check the progress of an export or download the exported contacts file.\",\n input: MailtrapGetContactExportInput,\n output: MailtrapGetContactExportOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC;CAC5E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;AACrF,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,8CAA8CA,IAAAA,EAAE,KAAK;CAAC;CAAW;CAAW;AAAU,CAAC,CAAC,CAAC,SAAS,+BAA+B;AACvI,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,QAAQ,4CAA4C,SAAS,CAAC,CAAC,SAAS;CACxE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-contact-export.cjs","names":["z","action"],"sources":["../../src/actions/get-contact-export.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 MailtrapGetContactExportInput = z.object({\n export_id: z.number().int().describe(\"Unique Contact Export ID to retrieve.\"),\n account_id: z.number().int().describe(\"Unique account ID for the Mailtrap account.\"),\n}).describe(\"Request model for getting a contact export status.\");\nconst MailtrapGetContactExport_ExportStatusSchema = z.enum([\"created\", \"started\", \"finished\"]).describe(\"Status of the contact export.\");\nexport const MailtrapGetContactExportOutput = z.object({\n id: z.number().int().describe(\"Unique ID of the contact export.\").nullable().optional(),\n url: z.string().describe(\"The URL of the exported contacts file. Only available when the export is finished.\").nullable().optional(),\n status: MailtrapGetContactExport_ExportStatusSchema.nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the export was created.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the export was last updated.\").nullable().optional(),\n}).passthrough().describe(\"Response model for contact export status.\");\n\nexport const mailtrapGetContactExport: AppAction<\n typeof MailtrapGetContactExportInput,\n typeof MailtrapGetContactExportOutput,\n typeof mailtrap.credential\n> = action(\"MAILTRAP_GET_CONTACT_EXPORT\", {\n slug: \"mailtrap-get-contact-export\",\n name: \"Get Contact Export\",\n description: \"Tool to retrieve the status of a contact export. Use when you need to check the progress of an export or download the exported contacts file.\",\n input: MailtrapGetContactExportInput,\n output: MailtrapGetContactExportOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC;CAC5E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;AACrF,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,8CAA8CA,IAAAA,EAAE,KAAK;CAAC;CAAW;CAAW;AAAU,CAAC,CAAC,CAAC,SAAS,+BAA+B;AACvI,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,QAAQ,4CAA4C,SAAS,CAAC,CAAC,SAAS;CACxE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,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/get-contact-export.d.ts
@@ -16,10 +18,7 @@ declare const MailtrapGetContactExportOutput: z.ZodObject<{
16
18
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
19
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
20
  }, z.core.$loose>;
19
- declare const mailtrapGetContactExport: import("@keystrokehq/action").WorkflowActionDefinition<{
20
- export_id: number;
21
- account_id: number;
22
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
21
+ declare const mailtrapGetContactExport: AppAction<typeof MailtrapGetContactExportInput, typeof MailtrapGetContactExportOutput, typeof mailtrap.credential>;
23
22
  //#endregion
24
23
  export { mailtrapGetContactExport };
25
24
  //# sourceMappingURL=get-contact-export.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-contact-export.d.cts","names":[],"sources":["../../src/actions/get-contact-export.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAK7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;cAQ9B,wBAAA,gCAAwB,wBAAA"}
1
+ {"version":3,"file":"get-contact-export.d.cts","names":[],"sources":["../../src/actions/get-contact-export.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAK7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;cAQ9B,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/get-contact-export.d.ts
@@ -16,10 +18,7 @@ declare const MailtrapGetContactExportOutput: z.ZodObject<{
16
18
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
19
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
20
  }, z.core.$loose>;
19
- declare const mailtrapGetContactExport: import("@keystrokehq/action").WorkflowActionDefinition<{
20
- export_id: number;
21
- account_id: number;
22
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
21
+ declare const mailtrapGetContactExport: AppAction<typeof MailtrapGetContactExportInput, typeof MailtrapGetContactExportOutput, typeof mailtrap.credential>;
23
22
  //#endregion
24
23
  export { mailtrapGetContactExport };
25
24
  //# sourceMappingURL=get-contact-export.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-contact-export.d.mts","names":[],"sources":["../../src/actions/get-contact-export.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAK7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;cAQ9B,wBAAA,gCAAwB,wBAAA"}
1
+ {"version":3,"file":"get-contact-export.d.mts","names":[],"sources":["../../src/actions/get-contact-export.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAK7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;cAQ9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-contact-export.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-contact-export.mjs","names":[],"sources":["../../src/actions/get-contact-export.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapGetContactExportInput = z.object({\n export_id: z.number().int().describe(\"Unique Contact Export ID to retrieve.\"),\n account_id: z.number().int().describe(\"Unique account ID for the Mailtrap account.\"),\n}).describe(\"Request model for getting a contact export status.\");\nconst MailtrapGetContactExport_ExportStatusSchema = z.enum([\"created\", \"started\", \"finished\"]).describe(\"Status of the contact export.\");\nexport const MailtrapGetContactExportOutput = z.object({\n id: z.number().int().describe(\"Unique ID of the contact export.\").nullable().optional(),\n url: z.string().describe(\"The URL of the exported contacts file. Only available when the export is finished.\").nullable().optional(),\n status: MailtrapGetContactExport_ExportStatusSchema.nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the export was created.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the export was last updated.\").nullable().optional(),\n}).passthrough().describe(\"Response model for contact export status.\");\n\nexport const mailtrapGetContactExport = action(\"MAILTRAP_GET_CONTACT_EXPORT\", {\n slug: \"mailtrap-get-contact-export\",\n name: \"Get Contact Export\",\n description: \"Tool to retrieve the status of a contact export. Use when you need to check the progress of an export or download the exported contacts file.\",\n input: MailtrapGetContactExportInput,\n output: MailtrapGetContactExportOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO;CACpD,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC;CAC5E,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;AACrF,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,8CAA8C,EAAE,KAAK;CAAC;CAAW;CAAW;AAAU,CAAC,CAAC,CAAC,SAAS,+BAA+B;AASvI,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb4C,EAAE,OAAO;EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnI,QAAQ,4CAA4C,SAAS,CAAC,CAAC,SAAS;EACxE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-contact-export.mjs","names":[],"sources":["../../src/actions/get-contact-export.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 MailtrapGetContactExportInput = z.object({\n export_id: z.number().int().describe(\"Unique Contact Export ID to retrieve.\"),\n account_id: z.number().int().describe(\"Unique account ID for the Mailtrap account.\"),\n}).describe(\"Request model for getting a contact export status.\");\nconst MailtrapGetContactExport_ExportStatusSchema = z.enum([\"created\", \"started\", \"finished\"]).describe(\"Status of the contact export.\");\nexport const MailtrapGetContactExportOutput = z.object({\n id: z.number().int().describe(\"Unique ID of the contact export.\").nullable().optional(),\n url: z.string().describe(\"The URL of the exported contacts file. Only available when the export is finished.\").nullable().optional(),\n status: MailtrapGetContactExport_ExportStatusSchema.nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the export was created.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the export was last updated.\").nullable().optional(),\n}).passthrough().describe(\"Response model for contact export status.\");\n\nexport const mailtrapGetContactExport: AppAction<\n typeof MailtrapGetContactExportInput,\n typeof MailtrapGetContactExportOutput,\n typeof mailtrap.credential\n> = action(\"MAILTRAP_GET_CONTACT_EXPORT\", {\n slug: \"mailtrap-get-contact-export\",\n name: \"Get Contact Export\",\n description: \"Tool to retrieve the status of a contact export. Use when you need to check the progress of an export or download the exported contacts file.\",\n input: MailtrapGetContactExportInput,\n output: MailtrapGetContactExportOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgC,EAAE,OAAO;CACpD,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC;CAC5E,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;AACrF,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,8CAA8C,EAAE,KAAK;CAAC;CAAW;CAAW;AAAU,CAAC,CAAC,CAAC,SAAS,+BAA+B;AASvI,MAAa,2BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAjB4C,EAAE,OAAO;EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnI,QAAQ,4CAA4C,SAAS,CAAC,CAAC,SAAS;EACxE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-contact-field.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-contact-field.cjs","names":["z","action"],"sources":["../../src/actions/get-contact-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapGetContactFieldInput = z.object({\n field_id: z.number().int().describe(\"Unique Contact Field ID\"),\n account_id: z.number().int().describe(\"Unique account ID\"),\n}).describe(\"Request schema for getting a contact field by ID.\");\nexport const MailtrapGetContactFieldOutput = z.object({\n id: z.number().int().describe(\"The unique identifier of the contact field\").nullable().optional(),\n name: z.string().describe(\"The name of the contact field\").nullable().optional(),\n data_type: z.string().describe(\"The data type of the field: text, integer, float, boolean, or date\").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(\"Response schema containing contact field details.\");\n\nexport const mailtrapGetContactField = action(\"MAILTRAP_GET_CONTACT_FIELD\", {\n slug: \"mailtrap-get-contact-field\",\n name: \"Get Contact Field\",\n description: \"Tool to retrieve contact field details by field ID. Use when you need to get information about a specific custom field in your contacts.\",\n input: MailtrapGetContactFieldInput,\n output: MailtrapGetContactFieldOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB;CAC7D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB;AAC3D,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAE7E,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-contact-field.cjs","names":["z","action"],"sources":["../../src/actions/get-contact-field.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 MailtrapGetContactFieldInput = z.object({\n field_id: z.number().int().describe(\"Unique Contact Field ID\"),\n account_id: z.number().int().describe(\"Unique account ID\"),\n}).describe(\"Request schema for getting a contact field by ID.\");\nexport const MailtrapGetContactFieldOutput = z.object({\n id: z.number().int().describe(\"The unique identifier of the contact field\").nullable().optional(),\n name: z.string().describe(\"The name of the contact field\").nullable().optional(),\n data_type: z.string().describe(\"The data type of the field: text, integer, float, boolean, or date\").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(\"Response schema containing contact field details.\");\n\nexport const mailtrapGetContactField: AppAction<\n typeof MailtrapGetContactFieldInput,\n typeof MailtrapGetContactFieldOutput,\n typeof mailtrap.credential\n> = action(\"MAILTRAP_GET_CONTACT_FIELD\", {\n slug: \"mailtrap-get-contact-field\",\n name: \"Get Contact Field\",\n description: \"Tool to retrieve contact field details by field ID. Use when you need to get information about a specific custom field in your contacts.\",\n input: MailtrapGetContactFieldInput,\n output: MailtrapGetContactFieldOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB;CAC7D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB;AAC3D,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAE7E,MAAa,0BAITC,eAAAA,OAAO,8BAA8B;CACvC,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/get-contact-field.d.ts
@@ -11,10 +13,7 @@ declare const MailtrapGetContactFieldOutput: z.ZodObject<{
11
13
  data_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
14
  merge_tag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
15
  }, z.core.$loose>;
14
- declare const mailtrapGetContactField: import("@keystrokehq/action").WorkflowActionDefinition<{
15
- field_id: number;
16
- account_id: number;
17
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
16
+ declare const mailtrapGetContactField: AppAction<typeof MailtrapGetContactFieldInput, typeof MailtrapGetContactFieldOutput, typeof mailtrap.credential>;
18
17
  //#endregion
19
18
  export { mailtrapGetContactField };
20
19
  //# sourceMappingURL=get-contact-field.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-contact-field.d.cts","names":[],"sources":["../../src/actions/get-contact-field.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAI5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;cAO7B,uBAAA,gCAAuB,wBAAA"}
1
+ {"version":3,"file":"get-contact-field.d.cts","names":[],"sources":["../../src/actions/get-contact-field.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAI5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;cAO7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,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/get-contact-field.d.ts
@@ -11,10 +13,7 @@ declare const MailtrapGetContactFieldOutput: z.ZodObject<{
11
13
  data_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
14
  merge_tag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
15
  }, z.core.$loose>;
14
- declare const mailtrapGetContactField: import("@keystrokehq/action").WorkflowActionDefinition<{
15
- field_id: number;
16
- account_id: number;
17
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
16
+ declare const mailtrapGetContactField: AppAction<typeof MailtrapGetContactFieldInput, typeof MailtrapGetContactFieldOutput, typeof mailtrap.credential>;
18
17
  //#endregion
19
18
  export { mailtrapGetContactField };
20
19
  //# sourceMappingURL=get-contact-field.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-contact-field.d.mts","names":[],"sources":["../../src/actions/get-contact-field.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAI5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;cAO7B,uBAAA,gCAAuB,wBAAA"}
1
+ {"version":3,"file":"get-contact-field.d.mts","names":[],"sources":["../../src/actions/get-contact-field.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAI5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;cAO7B,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 mailtrapGetContactField = action("MAILTRAP_GET_CONTACT_FIELD", {
@@ -1 +1 @@
1
- {"version":3,"file":"get-contact-field.mjs","names":[],"sources":["../../src/actions/get-contact-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapGetContactFieldInput = z.object({\n field_id: z.number().int().describe(\"Unique Contact Field ID\"),\n account_id: z.number().int().describe(\"Unique account ID\"),\n}).describe(\"Request schema for getting a contact field by ID.\");\nexport const MailtrapGetContactFieldOutput = z.object({\n id: z.number().int().describe(\"The unique identifier of the contact field\").nullable().optional(),\n name: z.string().describe(\"The name of the contact field\").nullable().optional(),\n data_type: z.string().describe(\"The data type of the field: text, integer, float, boolean, or date\").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(\"Response schema containing contact field details.\");\n\nexport const mailtrapGetContactField = action(\"MAILTRAP_GET_CONTACT_FIELD\", {\n slug: \"mailtrap-get-contact-field\",\n name: \"Get Contact Field\",\n description: \"Tool to retrieve contact field details by field ID. Use when you need to get information about a specific custom field in your contacts.\",\n input: MailtrapGetContactFieldInput,\n output: MailtrapGetContactFieldOutput,\n});\n"],"mappings":";;AAeA,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAf0C,EAAE,OAAO;EACnD,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB;EAC7D,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB;CAC3D,CAAC,CAAC,CAAC,SAAS,mDAYH;CACP,QAZ2C,EAAE,OAAO;EACpD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-contact-field.mjs","names":[],"sources":["../../src/actions/get-contact-field.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 MailtrapGetContactFieldInput = z.object({\n field_id: z.number().int().describe(\"Unique Contact Field ID\"),\n account_id: z.number().int().describe(\"Unique account ID\"),\n}).describe(\"Request schema for getting a contact field by ID.\");\nexport const MailtrapGetContactFieldOutput = z.object({\n id: z.number().int().describe(\"The unique identifier of the contact field\").nullable().optional(),\n name: z.string().describe(\"The name of the contact field\").nullable().optional(),\n data_type: z.string().describe(\"The data type of the field: text, integer, float, boolean, or date\").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(\"Response schema containing contact field details.\");\n\nexport const mailtrapGetContactField: AppAction<\n typeof MailtrapGetContactFieldInput,\n typeof MailtrapGetContactFieldOutput,\n typeof mailtrap.credential\n> = action(\"MAILTRAP_GET_CONTACT_FIELD\", {\n slug: \"mailtrap-get-contact-field\",\n name: \"Get Contact Field\",\n description: \"Tool to retrieve contact field details by field ID. Use when you need to get information about a specific custom field in your contacts.\",\n input: MailtrapGetContactFieldInput,\n output: MailtrapGetContactFieldOutput,\n});\n"],"mappings":";;;AAiBA,MAAa,0BAIT,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnB0C,EAAE,OAAO;EACnD,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB;EAC7D,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB;CAC3D,CAAC,CAAC,CAAC,SAAS,mDAgBH;CACP,QAhB2C,EAAE,OAAO;EACpD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-contact-import.ts