@keystrokehq/mailtrap 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (355) 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 +23 -23
  4. package/dist/actions/clean-inbox.cjs.map +1 -1
  5. package/dist/actions/clean-inbox.d.cts +39 -3
  6. package/dist/actions/clean-inbox.d.cts.map +1 -1
  7. package/dist/actions/clean-inbox.d.mts +39 -3
  8. package/dist/actions/clean-inbox.d.mts.map +1 -1
  9. package/dist/actions/clean-inbox.mjs +23 -23
  10. package/dist/actions/clean-inbox.mjs.map +1 -1
  11. package/dist/actions/create-contact-event.cjs.map +1 -1
  12. package/dist/actions/create-contact-event.d.cts +18 -3
  13. package/dist/actions/create-contact-event.d.cts.map +1 -1
  14. package/dist/actions/create-contact-event.d.mts +18 -3
  15. package/dist/actions/create-contact-event.d.mts.map +1 -1
  16. package/dist/actions/create-contact-event.mjs.map +1 -1
  17. package/dist/actions/create-contact-export.cjs.map +1 -1
  18. package/dist/actions/create-contact-export.d.cts +27 -3
  19. package/dist/actions/create-contact-export.d.cts.map +1 -1
  20. package/dist/actions/create-contact-export.d.mts +27 -3
  21. package/dist/actions/create-contact-export.d.mts.map +1 -1
  22. package/dist/actions/create-contact-export.mjs.map +1 -1
  23. package/dist/actions/create-contact-field.cjs.map +1 -1
  24. package/dist/actions/create-contact-field.d.cts +24 -3
  25. package/dist/actions/create-contact-field.d.cts.map +1 -1
  26. package/dist/actions/create-contact-field.d.mts +24 -3
  27. package/dist/actions/create-contact-field.d.mts.map +1 -1
  28. package/dist/actions/create-contact-field.mjs.map +1 -1
  29. package/dist/actions/create-contact-list.cjs +2 -2
  30. package/dist/actions/create-contact-list.cjs.map +1 -1
  31. package/dist/actions/create-contact-list.d.cts +12 -3
  32. package/dist/actions/create-contact-list.d.cts.map +1 -1
  33. package/dist/actions/create-contact-list.d.mts +12 -3
  34. package/dist/actions/create-contact-list.d.mts.map +1 -1
  35. package/dist/actions/create-contact-list.mjs +2 -2
  36. package/dist/actions/create-contact-list.mjs.map +1 -1
  37. package/dist/actions/create-contact.cjs +2 -2
  38. package/dist/actions/create-contact.cjs.map +1 -1
  39. package/dist/actions/create-contact.d.cts +33 -3
  40. package/dist/actions/create-contact.d.cts.map +1 -1
  41. package/dist/actions/create-contact.d.mts +33 -3
  42. package/dist/actions/create-contact.d.mts.map +1 -1
  43. package/dist/actions/create-contact.mjs +2 -2
  44. package/dist/actions/create-contact.mjs.map +1 -1
  45. package/dist/actions/create-email-template.cjs.map +1 -1
  46. package/dist/actions/create-email-template.d.cts +31 -3
  47. package/dist/actions/create-email-template.d.cts.map +1 -1
  48. package/dist/actions/create-email-template.d.mts +31 -3
  49. package/dist/actions/create-email-template.d.mts.map +1 -1
  50. package/dist/actions/create-email-template.mjs.map +1 -1
  51. package/dist/actions/create-sending-domain.cjs +19 -19
  52. package/dist/actions/create-sending-domain.cjs.map +1 -1
  53. package/dist/actions/create-sending-domain.d.cts +50 -3
  54. package/dist/actions/create-sending-domain.d.cts.map +1 -1
  55. package/dist/actions/create-sending-domain.d.mts +50 -3
  56. package/dist/actions/create-sending-domain.d.mts.map +1 -1
  57. package/dist/actions/create-sending-domain.mjs +19 -19
  58. package/dist/actions/create-sending-domain.mjs.map +1 -1
  59. package/dist/actions/delete-contact-field.cjs +2 -2
  60. package/dist/actions/delete-contact-field.cjs.map +1 -1
  61. package/dist/actions/delete-contact-field.d.cts +12 -3
  62. package/dist/actions/delete-contact-field.d.cts.map +1 -1
  63. package/dist/actions/delete-contact-field.d.mts +12 -3
  64. package/dist/actions/delete-contact-field.d.mts.map +1 -1
  65. package/dist/actions/delete-contact-field.mjs +2 -2
  66. package/dist/actions/delete-contact-field.mjs.map +1 -1
  67. package/dist/actions/delete-contact-list.cjs.map +1 -1
  68. package/dist/actions/delete-contact-list.d.cts +11 -3
  69. package/dist/actions/delete-contact-list.d.cts.map +1 -1
  70. package/dist/actions/delete-contact-list.d.mts +11 -3
  71. package/dist/actions/delete-contact-list.d.mts.map +1 -1
  72. package/dist/actions/delete-contact-list.mjs.map +1 -1
  73. package/dist/actions/delete-contact.cjs.map +1 -1
  74. package/dist/actions/delete-contact.d.cts +11 -3
  75. package/dist/actions/delete-contact.d.cts.map +1 -1
  76. package/dist/actions/delete-contact.d.mts +11 -3
  77. package/dist/actions/delete-contact.d.mts.map +1 -1
  78. package/dist/actions/delete-contact.mjs.map +1 -1
  79. package/dist/actions/delete-email-template.cjs +1 -1
  80. package/dist/actions/delete-email-template.cjs.map +1 -1
  81. package/dist/actions/delete-email-template.d.cts +11 -3
  82. package/dist/actions/delete-email-template.d.cts.map +1 -1
  83. package/dist/actions/delete-email-template.d.mts +11 -3
  84. package/dist/actions/delete-email-template.d.mts.map +1 -1
  85. package/dist/actions/delete-email-template.mjs +1 -1
  86. package/dist/actions/delete-email-template.mjs.map +1 -1
  87. package/dist/actions/delete-project.cjs +1 -1
  88. package/dist/actions/delete-project.cjs.map +1 -1
  89. package/dist/actions/delete-project.d.cts +11 -3
  90. package/dist/actions/delete-project.d.cts.map +1 -1
  91. package/dist/actions/delete-project.d.mts +11 -3
  92. package/dist/actions/delete-project.d.mts.map +1 -1
  93. package/dist/actions/delete-project.mjs +1 -1
  94. package/dist/actions/delete-project.mjs.map +1 -1
  95. package/dist/actions/delete-sending-domain.cjs.map +1 -1
  96. package/dist/actions/delete-sending-domain.d.cts +9 -3
  97. package/dist/actions/delete-sending-domain.d.cts.map +1 -1
  98. package/dist/actions/delete-sending-domain.d.mts +9 -3
  99. package/dist/actions/delete-sending-domain.d.mts.map +1 -1
  100. package/dist/actions/delete-sending-domain.mjs.map +1 -1
  101. package/dist/actions/get-billing-usage.cjs.map +1 -1
  102. package/dist/actions/get-billing-usage.d.cts +42 -3
  103. package/dist/actions/get-billing-usage.d.cts.map +1 -1
  104. package/dist/actions/get-billing-usage.d.mts +42 -3
  105. package/dist/actions/get-billing-usage.d.mts.map +1 -1
  106. package/dist/actions/get-billing-usage.mjs.map +1 -1
  107. package/dist/actions/get-contact-export.cjs.map +1 -1
  108. package/dist/actions/get-contact-export.d.cts +19 -3
  109. package/dist/actions/get-contact-export.d.cts.map +1 -1
  110. package/dist/actions/get-contact-export.d.mts +19 -3
  111. package/dist/actions/get-contact-export.d.mts.map +1 -1
  112. package/dist/actions/get-contact-export.mjs.map +1 -1
  113. package/dist/actions/get-contact-field.cjs.map +1 -1
  114. package/dist/actions/get-contact-field.d.cts +14 -3
  115. package/dist/actions/get-contact-field.d.cts.map +1 -1
  116. package/dist/actions/get-contact-field.d.mts +14 -3
  117. package/dist/actions/get-contact-field.d.mts.map +1 -1
  118. package/dist/actions/get-contact-field.mjs.map +1 -1
  119. package/dist/actions/get-contact-import.cjs +1 -1
  120. package/dist/actions/get-contact-import.cjs.map +1 -1
  121. package/dist/actions/get-contact-import.d.cts +20 -3
  122. package/dist/actions/get-contact-import.d.cts.map +1 -1
  123. package/dist/actions/get-contact-import.d.mts +20 -3
  124. package/dist/actions/get-contact-import.d.mts.map +1 -1
  125. package/dist/actions/get-contact-import.mjs +1 -1
  126. package/dist/actions/get-contact-import.mjs.map +1 -1
  127. package/dist/actions/get-contact-list.cjs.map +1 -1
  128. package/dist/actions/get-contact-list.d.cts +12 -3
  129. package/dist/actions/get-contact-list.d.cts.map +1 -1
  130. package/dist/actions/get-contact-list.d.mts +12 -3
  131. package/dist/actions/get-contact-list.d.mts.map +1 -1
  132. package/dist/actions/get-contact-list.mjs.map +1 -1
  133. package/dist/actions/get-contact.cjs.map +1 -1
  134. package/dist/actions/get-contact.d.cts +19 -3
  135. package/dist/actions/get-contact.d.cts.map +1 -1
  136. package/dist/actions/get-contact.d.mts +19 -3
  137. package/dist/actions/get-contact.d.mts.map +1 -1
  138. package/dist/actions/get-contact.mjs.map +1 -1
  139. package/dist/actions/get-email-template.cjs.map +1 -1
  140. package/dist/actions/get-email-template.d.cts +19 -3
  141. package/dist/actions/get-email-template.d.cts.map +1 -1
  142. package/dist/actions/get-email-template.d.mts +19 -3
  143. package/dist/actions/get-email-template.d.mts.map +1 -1
  144. package/dist/actions/get-email-template.mjs.map +1 -1
  145. package/dist/actions/get-inbox.cjs +23 -23
  146. package/dist/actions/get-inbox.cjs.map +1 -1
  147. package/dist/actions/get-inbox.d.cts +39 -3
  148. package/dist/actions/get-inbox.d.cts.map +1 -1
  149. package/dist/actions/get-inbox.d.mts +39 -3
  150. package/dist/actions/get-inbox.d.mts.map +1 -1
  151. package/dist/actions/get-inbox.mjs +23 -23
  152. package/dist/actions/get-inbox.mjs.map +1 -1
  153. package/dist/actions/get-message-html.cjs +2 -2
  154. package/dist/actions/get-message-html.cjs.map +1 -1
  155. package/dist/actions/get-message-html.d.cts +14 -3
  156. package/dist/actions/get-message-html.d.cts.map +1 -1
  157. package/dist/actions/get-message-html.d.mts +14 -3
  158. package/dist/actions/get-message-html.d.mts.map +1 -1
  159. package/dist/actions/get-message-html.mjs +2 -2
  160. package/dist/actions/get-message-html.mjs.map +1 -1
  161. package/dist/actions/get-permission-resources.cjs +12 -12
  162. package/dist/actions/get-permission-resources.cjs.map +1 -1
  163. package/dist/actions/get-permission-resources.d.cts +26 -3
  164. package/dist/actions/get-permission-resources.d.cts.map +1 -1
  165. package/dist/actions/get-permission-resources.d.mts +26 -3
  166. package/dist/actions/get-permission-resources.d.mts.map +1 -1
  167. package/dist/actions/get-permission-resources.mjs +12 -12
  168. package/dist/actions/get-permission-resources.mjs.map +1 -1
  169. package/dist/actions/get-project.cjs +29 -29
  170. package/dist/actions/get-project.cjs.map +1 -1
  171. package/dist/actions/get-project.d.cts +53 -3
  172. package/dist/actions/get-project.d.cts.map +1 -1
  173. package/dist/actions/get-project.d.mts +53 -3
  174. package/dist/actions/get-project.d.mts.map +1 -1
  175. package/dist/actions/get-project.mjs +29 -29
  176. package/dist/actions/get-project.mjs.map +1 -1
  177. package/dist/actions/get-sending-domain.cjs.map +1 -1
  178. package/dist/actions/get-sending-domain.d.cts +46 -3
  179. package/dist/actions/get-sending-domain.d.cts.map +1 -1
  180. package/dist/actions/get-sending-domain.d.mts +46 -3
  181. package/dist/actions/get-sending-domain.d.mts.map +1 -1
  182. package/dist/actions/get-sending-domain.mjs.map +1 -1
  183. package/dist/actions/get-sending-stats-by-categories.cjs +1 -1
  184. package/dist/actions/get-sending-stats-by-categories.cjs.map +1 -1
  185. package/dist/actions/get-sending-stats-by-categories.d.cts +35 -3
  186. package/dist/actions/get-sending-stats-by-categories.d.cts.map +1 -1
  187. package/dist/actions/get-sending-stats-by-categories.d.mts +35 -3
  188. package/dist/actions/get-sending-stats-by-categories.d.mts.map +1 -1
  189. package/dist/actions/get-sending-stats-by-categories.mjs +1 -1
  190. package/dist/actions/get-sending-stats-by-categories.mjs.map +1 -1
  191. package/dist/actions/get-sending-stats-by-date.cjs +1 -1
  192. package/dist/actions/get-sending-stats-by-date.cjs.map +1 -1
  193. package/dist/actions/get-sending-stats-by-date.d.cts +35 -3
  194. package/dist/actions/get-sending-stats-by-date.d.cts.map +1 -1
  195. package/dist/actions/get-sending-stats-by-date.d.mts +35 -3
  196. package/dist/actions/get-sending-stats-by-date.d.mts.map +1 -1
  197. package/dist/actions/get-sending-stats-by-date.mjs +1 -1
  198. package/dist/actions/get-sending-stats-by-date.mjs.map +1 -1
  199. package/dist/actions/get-sending-stats-by-domains.cjs +1 -1
  200. package/dist/actions/get-sending-stats-by-domains.cjs.map +1 -1
  201. package/dist/actions/get-sending-stats-by-domains.d.cts +35 -3
  202. package/dist/actions/get-sending-stats-by-domains.d.cts.map +1 -1
  203. package/dist/actions/get-sending-stats-by-domains.d.mts +35 -3
  204. package/dist/actions/get-sending-stats-by-domains.d.mts.map +1 -1
  205. package/dist/actions/get-sending-stats-by-domains.mjs +1 -1
  206. package/dist/actions/get-sending-stats-by-domains.mjs.map +1 -1
  207. package/dist/actions/get-sending-stats-by-esp.cjs.map +1 -1
  208. package/dist/actions/get-sending-stats-by-esp.d.cts +35 -3
  209. package/dist/actions/get-sending-stats-by-esp.d.cts.map +1 -1
  210. package/dist/actions/get-sending-stats-by-esp.d.mts +35 -3
  211. package/dist/actions/get-sending-stats-by-esp.d.mts.map +1 -1
  212. package/dist/actions/get-sending-stats-by-esp.mjs.map +1 -1
  213. package/dist/actions/get-sending-stats.cjs.map +1 -1
  214. package/dist/actions/get-sending-stats.d.cts +30 -3
  215. package/dist/actions/get-sending-stats.d.cts.map +1 -1
  216. package/dist/actions/get-sending-stats.d.mts +30 -3
  217. package/dist/actions/get-sending-stats.d.mts.map +1 -1
  218. package/dist/actions/get-sending-stats.mjs.map +1 -1
  219. package/dist/actions/import-contacts.cjs.map +1 -1
  220. package/dist/actions/import-contacts.d.cts +25 -3
  221. package/dist/actions/import-contacts.d.cts.map +1 -1
  222. package/dist/actions/import-contacts.d.mts +25 -3
  223. package/dist/actions/import-contacts.d.mts.map +1 -1
  224. package/dist/actions/import-contacts.mjs.map +1 -1
  225. package/dist/actions/list-accounts.cjs +2 -2
  226. package/dist/actions/list-accounts.cjs.map +1 -1
  227. package/dist/actions/list-accounts.d.cts +9 -3
  228. package/dist/actions/list-accounts.d.cts.map +1 -1
  229. package/dist/actions/list-accounts.d.mts +9 -3
  230. package/dist/actions/list-accounts.d.mts.map +1 -1
  231. package/dist/actions/list-accounts.mjs +2 -2
  232. package/dist/actions/list-accounts.mjs.map +1 -1
  233. package/dist/actions/list-contact-fields.cjs.map +1 -1
  234. package/dist/actions/list-contact-fields.d.cts +20 -3
  235. package/dist/actions/list-contact-fields.d.cts.map +1 -1
  236. package/dist/actions/list-contact-fields.d.mts +20 -3
  237. package/dist/actions/list-contact-fields.d.mts.map +1 -1
  238. package/dist/actions/list-contact-fields.mjs.map +1 -1
  239. package/dist/actions/list-contact-lists.cjs +2 -2
  240. package/dist/actions/list-contact-lists.cjs.map +1 -1
  241. package/dist/actions/list-contact-lists.d.cts +12 -3
  242. package/dist/actions/list-contact-lists.d.cts.map +1 -1
  243. package/dist/actions/list-contact-lists.d.mts +12 -3
  244. package/dist/actions/list-contact-lists.d.mts.map +1 -1
  245. package/dist/actions/list-contact-lists.mjs +2 -2
  246. package/dist/actions/list-contact-lists.mjs.map +1 -1
  247. package/dist/actions/list-email-templates.cjs.map +1 -1
  248. package/dist/actions/list-email-templates.d.cts +19 -3
  249. package/dist/actions/list-email-templates.d.cts.map +1 -1
  250. package/dist/actions/list-email-templates.d.mts +19 -3
  251. package/dist/actions/list-email-templates.d.mts.map +1 -1
  252. package/dist/actions/list-email-templates.mjs.map +1 -1
  253. package/dist/actions/list-inboxes.cjs +22 -22
  254. package/dist/actions/list-inboxes.cjs.map +1 -1
  255. package/dist/actions/list-inboxes.d.cts +43 -3
  256. package/dist/actions/list-inboxes.d.cts.map +1 -1
  257. package/dist/actions/list-inboxes.d.mts +43 -3
  258. package/dist/actions/list-inboxes.d.mts.map +1 -1
  259. package/dist/actions/list-inboxes.mjs +22 -22
  260. package/dist/actions/list-inboxes.mjs.map +1 -1
  261. package/dist/actions/list-messages.cjs +1 -1
  262. package/dist/actions/list-messages.cjs.map +1 -1
  263. package/dist/actions/list-messages.d.cts +55 -3
  264. package/dist/actions/list-messages.d.cts.map +1 -1
  265. package/dist/actions/list-messages.d.mts +55 -3
  266. package/dist/actions/list-messages.d.mts.map +1 -1
  267. package/dist/actions/list-messages.mjs +1 -1
  268. package/dist/actions/list-messages.mjs.map +1 -1
  269. package/dist/actions/list-projects.cjs +6 -6
  270. package/dist/actions/list-projects.cjs.map +1 -1
  271. package/dist/actions/list-projects.d.cts +46 -3
  272. package/dist/actions/list-projects.d.cts.map +1 -1
  273. package/dist/actions/list-projects.d.mts +46 -3
  274. package/dist/actions/list-projects.d.mts.map +1 -1
  275. package/dist/actions/list-projects.mjs +6 -6
  276. package/dist/actions/list-projects.mjs.map +1 -1
  277. package/dist/actions/list-sending-domains.cjs.map +1 -1
  278. package/dist/actions/list-sending-domains.d.cts +36 -3
  279. package/dist/actions/list-sending-domains.d.cts.map +1 -1
  280. package/dist/actions/list-sending-domains.d.mts +36 -3
  281. package/dist/actions/list-sending-domains.d.mts.map +1 -1
  282. package/dist/actions/list-sending-domains.mjs.map +1 -1
  283. package/dist/actions/list-suppressions.cjs +3 -3
  284. package/dist/actions/list-suppressions.cjs.map +1 -1
  285. package/dist/actions/list-suppressions.d.cts +25 -3
  286. package/dist/actions/list-suppressions.d.cts.map +1 -1
  287. package/dist/actions/list-suppressions.d.mts +25 -3
  288. package/dist/actions/list-suppressions.d.mts.map +1 -1
  289. package/dist/actions/list-suppressions.mjs +3 -3
  290. package/dist/actions/list-suppressions.mjs.map +1 -1
  291. package/dist/actions/mark-inbox-as-read.cjs +23 -23
  292. package/dist/actions/mark-inbox-as-read.cjs.map +1 -1
  293. package/dist/actions/mark-inbox-as-read.d.cts +43 -3
  294. package/dist/actions/mark-inbox-as-read.d.cts.map +1 -1
  295. package/dist/actions/mark-inbox-as-read.d.mts +43 -3
  296. package/dist/actions/mark-inbox-as-read.d.mts.map +1 -1
  297. package/dist/actions/mark-inbox-as-read.mjs +23 -23
  298. package/dist/actions/mark-inbox-as-read.mjs.map +1 -1
  299. package/dist/actions/reset-inbox-credentials.cjs +23 -23
  300. package/dist/actions/reset-inbox-credentials.cjs.map +1 -1
  301. package/dist/actions/reset-inbox-credentials.d.cts +43 -3
  302. package/dist/actions/reset-inbox-credentials.d.cts.map +1 -1
  303. package/dist/actions/reset-inbox-credentials.d.mts +43 -3
  304. package/dist/actions/reset-inbox-credentials.d.mts.map +1 -1
  305. package/dist/actions/reset-inbox-credentials.mjs +23 -23
  306. package/dist/actions/reset-inbox-credentials.mjs.map +1 -1
  307. package/dist/actions/update-contact-field.cjs.map +1 -1
  308. package/dist/actions/update-contact-field.d.cts +24 -3
  309. package/dist/actions/update-contact-field.d.cts.map +1 -1
  310. package/dist/actions/update-contact-field.d.mts +24 -3
  311. package/dist/actions/update-contact-field.d.mts.map +1 -1
  312. package/dist/actions/update-contact-field.mjs.map +1 -1
  313. package/dist/actions/update-contact-list.cjs +2 -2
  314. package/dist/actions/update-contact-list.cjs.map +1 -1
  315. package/dist/actions/update-contact-list.d.cts +14 -3
  316. package/dist/actions/update-contact-list.d.cts.map +1 -1
  317. package/dist/actions/update-contact-list.d.mts +14 -3
  318. package/dist/actions/update-contact-list.d.mts.map +1 -1
  319. package/dist/actions/update-contact-list.mjs +2 -2
  320. package/dist/actions/update-contact-list.mjs.map +1 -1
  321. package/dist/actions/update-contact.cjs.map +1 -1
  322. package/dist/actions/update-contact.d.cts +40 -3
  323. package/dist/actions/update-contact.d.cts.map +1 -1
  324. package/dist/actions/update-contact.d.mts +40 -3
  325. package/dist/actions/update-contact.d.mts.map +1 -1
  326. package/dist/actions/update-contact.mjs.map +1 -1
  327. package/dist/actions/update-email-template.cjs.map +1 -1
  328. package/dist/actions/update-email-template.d.cts +33 -3
  329. package/dist/actions/update-email-template.d.cts.map +1 -1
  330. package/dist/actions/update-email-template.d.mts +33 -3
  331. package/dist/actions/update-email-template.d.mts.map +1 -1
  332. package/dist/actions/update-email-template.mjs.map +1 -1
  333. package/dist/actions/update-inbox.cjs +23 -23
  334. package/dist/actions/update-inbox.cjs.map +1 -1
  335. package/dist/actions/update-inbox.d.cts +51 -3
  336. package/dist/actions/update-inbox.d.cts.map +1 -1
  337. package/dist/actions/update-inbox.d.mts +51 -3
  338. package/dist/actions/update-inbox.d.mts.map +1 -1
  339. package/dist/actions/update-inbox.mjs +23 -23
  340. package/dist/actions/update-inbox.mjs.map +1 -1
  341. package/dist/actions/update-project.cjs +31 -31
  342. package/dist/actions/update-project.cjs.map +1 -1
  343. package/dist/actions/update-project.d.cts +59 -3
  344. package/dist/actions/update-project.d.cts.map +1 -1
  345. package/dist/actions/update-project.d.mts +59 -3
  346. package/dist/actions/update-project.d.mts.map +1 -1
  347. package/dist/actions/update-project.mjs +31 -31
  348. package/dist/actions/update-project.mjs.map +1 -1
  349. package/dist/catalog.cjs +14 -1
  350. package/dist/catalog.cjs.map +1 -1
  351. package/dist/catalog.d.cts +13 -0
  352. package/dist/catalog.d.mts +13 -0
  353. package/dist/catalog.mjs +14 -1
  354. package/dist/catalog.mjs.map +1 -1
  355. package/package.json +2 -2
@@ -1,9 +1,45 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-inbox.d.ts
4
- declare const MailtrapGetInboxInput: z.ZodTypeAny;
5
- declare const MailtrapGetInboxOutput: z.ZodTypeAny;
6
- declare const mailtrapGetInbox: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MailtrapGetInboxInput: z.ZodObject<{
5
+ inbox_id: z.ZodNumber;
6
+ account_id: z.ZodNumber;
7
+ }, z.core.$strip>;
8
+ declare const MailtrapGetInboxOutput: z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodNumber>;
10
+ name: z.ZodNullable<z.ZodString>;
11
+ used: z.ZodNullable<z.ZodBoolean>;
12
+ domain: z.ZodNullable<z.ZodString>;
13
+ status: z.ZodNullable<z.ZodString>;
14
+ max_size: z.ZodNullable<z.ZodNumber>;
15
+ password: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ username: z.ZodNullable<z.ZodString>;
17
+ api_domain: z.ZodNullable<z.ZodString>;
18
+ pop3_ports: z.ZodArray<z.ZodNumber>;
19
+ project_id: z.ZodNullable<z.ZodNumber>;
20
+ smtp_ports: z.ZodArray<z.ZodNumber>;
21
+ permissions: z.ZodNullable<z.ZodObject<{
22
+ can_read: z.ZodNullable<z.ZodBoolean>;
23
+ can_leave: z.ZodNullable<z.ZodBoolean>;
24
+ can_update: z.ZodNullable<z.ZodBoolean>;
25
+ can_destroy: z.ZodNullable<z.ZodBoolean>;
26
+ }, z.core.$strip>>;
27
+ pop3_domain: z.ZodNullable<z.ZodString>;
28
+ email_domain: z.ZodNullable<z.ZodString>;
29
+ emails_count: z.ZodNullable<z.ZodNumber>;
30
+ email_username: z.ZodNullable<z.ZodString>;
31
+ max_message_size: z.ZodNullable<z.ZodNumber>;
32
+ emails_unread_count: z.ZodNullable<z.ZodNumber>;
33
+ sent_messages_count: z.ZodNullable<z.ZodNumber>;
34
+ last_message_sent_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
+ email_username_enabled: z.ZodNullable<z.ZodBoolean>;
36
+ forwarded_messages_count: z.ZodNullable<z.ZodNumber>;
37
+ forward_from_email_address: z.ZodNullable<z.ZodString>;
38
+ }, z.core.$strip>;
39
+ declare const mailtrapGetInbox: import("@keystrokehq/action").WorkflowActionDefinition<{
40
+ inbox_id: number;
41
+ account_id: number;
42
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
43
  //#endregion
8
44
  export { mailtrapGetInbox };
9
45
  //# sourceMappingURL=get-inbox.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-inbox.d.mts","names":[],"sources":["../../src/actions/get-inbox.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAGqC;AAAA,cAO9D,sBAAA,EAAwB,CAAA,CAAE,UAyBiC;AAAA,cAE3D,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-inbox.d.mts","names":[],"sources":["../../src/actions/get-inbox.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;cAUrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA2BtB,gBAAA,gCAAgB,wBAAA"}
@@ -6,10 +6,10 @@ const MailtrapGetInboxInput = z.object({
6
6
  account_id: z.number().int().describe("Unique account ID to identify the Mailtrap account.")
7
7
  }).describe("Request model for retrieving inbox attributes from Mailtrap.");
8
8
  const MailtrapGetInbox_InboxPermissionsSchema = z.object({
9
- can_read: z.boolean().describe("Whether the token has permission to read the inbox."),
10
- can_leave: z.boolean().describe("Whether the token has permission to leave the inbox."),
11
- can_update: z.boolean().describe("Whether the token has permission to update the inbox."),
12
- can_destroy: z.boolean().describe("Whether the token has permission to destroy the inbox.")
9
+ can_read: z.boolean().describe("Whether the token has permission to read the inbox.").nullable(),
10
+ can_leave: z.boolean().describe("Whether the token has permission to leave the inbox.").nullable(),
11
+ can_update: z.boolean().describe("Whether the token has permission to update the inbox.").nullable(),
12
+ can_destroy: z.boolean().describe("Whether the token has permission to destroy the inbox.").nullable()
13
13
  }).describe("Permissions model for inbox operations.");
14
14
  const mailtrapGetInbox = action("MAILTRAP_GET_INBOX", {
15
15
  slug: "mailtrap-get-inbox",
@@ -17,30 +17,30 @@ const mailtrapGetInbox = action("MAILTRAP_GET_INBOX", {
17
17
  description: "Tool to retrieve inbox attributes from Mailtrap. Use when you need to get details about a specific inbox including its configuration, statistics, and permissions.",
18
18
  input: MailtrapGetInboxInput,
19
19
  output: z.object({
20
- id: z.number().int().describe("Unique identifier for the inbox."),
21
- name: z.string().describe("Name of the inbox."),
22
- used: z.boolean().describe("Whether the inbox has been used."),
23
- domain: z.string().describe("Domain for the inbox."),
24
- status: z.string().describe("Current status of the inbox (active, inactive, or pending)."),
25
- max_size: z.number().int().describe("Maximum size limit for the inbox in bytes."),
20
+ id: z.number().int().describe("Unique identifier for the inbox.").nullable(),
21
+ name: z.string().describe("Name of the inbox.").nullable(),
22
+ used: z.boolean().describe("Whether the inbox has been used.").nullable(),
23
+ domain: z.string().describe("Domain for the inbox.").nullable(),
24
+ status: z.string().describe("Current status of the inbox (active, inactive, or pending).").nullable(),
25
+ max_size: z.number().int().describe("Maximum size limit for the inbox in bytes.").nullable(),
26
26
  password: z.string().describe("Password for accessing the inbox. Only available if you have admin permissions.").nullable().optional(),
27
- username: z.string().describe("Username for accessing the inbox."),
28
- api_domain: z.string().describe("API domain for the inbox."),
27
+ username: z.string().describe("Username for accessing the inbox.").nullable(),
28
+ api_domain: z.string().describe("API domain for the inbox.").nullable(),
29
29
  pop3_ports: z.array(z.number().int()).describe("List of POP3 ports available for the inbox."),
30
- project_id: z.number().int().describe("ID of the project this inbox belongs to."),
30
+ project_id: z.number().int().describe("ID of the project this inbox belongs to.").nullable(),
31
31
  smtp_ports: z.array(z.number().int()).describe("List of SMTP ports available for the inbox."),
32
32
  permissions: MailtrapGetInbox_InboxPermissionsSchema.nullable(),
33
- pop3_domain: z.string().describe("POP3 domain for accessing the inbox."),
34
- email_domain: z.string().describe("Email domain for the inbox."),
35
- emails_count: z.number().int().describe("Total number of emails in the inbox."),
36
- email_username: z.string().describe("Email username for the inbox."),
37
- max_message_size: z.number().int().describe("Maximum message size allowed in bytes."),
38
- emails_unread_count: z.number().int().describe("Number of unread emails in the inbox."),
39
- sent_messages_count: z.number().int().describe("Total number of sent messages from the inbox."),
33
+ pop3_domain: z.string().describe("POP3 domain for accessing the inbox.").nullable(),
34
+ email_domain: z.string().describe("Email domain for the inbox.").nullable(),
35
+ emails_count: z.number().int().describe("Total number of emails in the inbox.").nullable(),
36
+ email_username: z.string().describe("Email username for the inbox.").nullable(),
37
+ max_message_size: z.number().int().describe("Maximum message size allowed in bytes.").nullable(),
38
+ emails_unread_count: z.number().int().describe("Number of unread emails in the inbox.").nullable(),
39
+ sent_messages_count: z.number().int().describe("Total number of sent messages from the inbox.").nullable(),
40
40
  last_message_sent_at: z.string().describe("Timestamp of the last message sent. Null if no messages have been sent.").nullable().optional(),
41
- email_username_enabled: z.boolean().describe("Whether the email username is enabled."),
42
- forwarded_messages_count: z.number().int().describe("Total number of forwarded messages."),
43
- forward_from_email_address: z.string().describe("Email address from which messages are forwarded.")
41
+ email_username_enabled: z.boolean().describe("Whether the email username is enabled.").nullable(),
42
+ forwarded_messages_count: z.number().int().describe("Total number of forwarded messages.").nullable(),
43
+ forward_from_email_address: z.string().describe("Email address from which messages are forwarded.").nullable()
44
44
  }).describe("Response model containing inbox attributes from Mailtrap.")
45
45
  });
46
46
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"get-inbox.mjs","names":[],"sources":["../../src/actions/get-inbox.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapGetInboxInput: z.ZodTypeAny = z.object({\n inbox_id: z.number().int().describe(\"Unique inbox ID to identify the specific inbox.\"),\n account_id: z.number().int().describe(\"Unique account ID to identify the Mailtrap account.\"),\n}).describe(\"Request model for retrieving inbox attributes from Mailtrap.\");\nconst MailtrapGetInbox_InboxPermissionsSchema: z.ZodTypeAny = z.object({\n can_read: z.boolean().describe(\"Whether the token has permission to read the inbox.\"),\n can_leave: z.boolean().describe(\"Whether the token has permission to leave the inbox.\"),\n can_update: z.boolean().describe(\"Whether the token has permission to update the inbox.\"),\n can_destroy: z.boolean().describe(\"Whether the token has permission to destroy the inbox.\"),\n}).describe(\"Permissions model for inbox operations.\");\nexport const MailtrapGetInboxOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier for the inbox.\"),\n name: z.string().describe(\"Name of the inbox.\"),\n used: z.boolean().describe(\"Whether the inbox has been used.\"),\n domain: z.string().describe(\"Domain for the inbox.\"),\n status: z.string().describe(\"Current status of the inbox (active, inactive, or pending).\"),\n max_size: z.number().int().describe(\"Maximum size limit for the inbox in bytes.\"),\n password: z.string().describe(\"Password for accessing the inbox. Only available if you have admin permissions.\").nullable().optional(),\n username: z.string().describe(\"Username for accessing the inbox.\"),\n api_domain: z.string().describe(\"API domain for the inbox.\"),\n pop3_ports: z.array(z.number().int()).describe(\"List of POP3 ports available for the inbox.\"),\n project_id: z.number().int().describe(\"ID of the project this inbox belongs to.\"),\n smtp_ports: z.array(z.number().int()).describe(\"List of SMTP ports available for the inbox.\"),\n permissions: MailtrapGetInbox_InboxPermissionsSchema.nullable(),\n pop3_domain: z.string().describe(\"POP3 domain for accessing the inbox.\"),\n email_domain: z.string().describe(\"Email domain for the inbox.\"),\n emails_count: z.number().int().describe(\"Total number of emails in the inbox.\"),\n email_username: z.string().describe(\"Email username for the inbox.\"),\n max_message_size: z.number().int().describe(\"Maximum message size allowed in bytes.\"),\n emails_unread_count: z.number().int().describe(\"Number of unread emails in the inbox.\"),\n sent_messages_count: z.number().int().describe(\"Total number of sent messages from the inbox.\"),\n last_message_sent_at: z.string().describe(\"Timestamp of the last message sent. Null if no messages have been sent.\").nullable().optional(),\n email_username_enabled: z.boolean().describe(\"Whether the email username is enabled.\"),\n forwarded_messages_count: z.number().int().describe(\"Total number of forwarded messages.\"),\n forward_from_email_address: z.string().describe(\"Email address from which messages are forwarded.\"),\n}).describe(\"Response model containing inbox attributes from Mailtrap.\");\n\nexport const mailtrapGetInbox = action(\"MAILTRAP_GET_INBOX\", {\n slug: \"mailtrap-get-inbox\",\n name: \"Get Inbox Attributes\",\n description: \"Tool to retrieve inbox attributes from Mailtrap. Use when you need to get details about a specific inbox including its configuration, statistics, and permissions.\",\n input: MailtrapGetInboxInput,\n output: MailtrapGetInboxOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAsC,EAAE,OAAO;CAC1D,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD;CACrF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD;AAC7F,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,0CAAwD,EAAE,OAAO;CACrE,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD;CACpF,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD;CACtF,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD;CACxF,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD;AAC5F,CAAC,CAAC,CAAC,SAAS,yCAAyC;AA4BrD,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAhCk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,CAAC,CAAC,SAAS,+CAA+C;EAC9F,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzI,wBAAwB,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC;EACrF,0BAA0B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC;EACzF,4BAA4B,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CACpG,CAAC,CAAC,CAAC,SAAS,2DAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-inbox.mjs","names":[],"sources":["../../src/actions/get-inbox.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapGetInboxInput = z.object({\n inbox_id: z.number().int().describe(\"Unique inbox ID to identify the specific inbox.\"),\n account_id: z.number().int().describe(\"Unique account ID to identify the Mailtrap account.\"),\n}).describe(\"Request model for retrieving inbox attributes from Mailtrap.\");\nconst MailtrapGetInbox_InboxPermissionsSchema = z.object({\n can_read: z.boolean().describe(\"Whether the token has permission to read the inbox.\").nullable(),\n can_leave: z.boolean().describe(\"Whether the token has permission to leave the inbox.\").nullable(),\n can_update: z.boolean().describe(\"Whether the token has permission to update the inbox.\").nullable(),\n can_destroy: z.boolean().describe(\"Whether the token has permission to destroy the inbox.\").nullable(),\n}).describe(\"Permissions model for inbox operations.\");\nexport const MailtrapGetInboxOutput = z.object({\n id: z.number().int().describe(\"Unique identifier for the inbox.\").nullable(),\n name: z.string().describe(\"Name of the inbox.\").nullable(),\n used: z.boolean().describe(\"Whether the inbox has been used.\").nullable(),\n domain: z.string().describe(\"Domain for the inbox.\").nullable(),\n status: z.string().describe(\"Current status of the inbox (active, inactive, or pending).\").nullable(),\n max_size: z.number().int().describe(\"Maximum size limit for the inbox in bytes.\").nullable(),\n password: z.string().describe(\"Password for accessing the inbox. Only available if you have admin permissions.\").nullable().optional(),\n username: z.string().describe(\"Username for accessing the inbox.\").nullable(),\n api_domain: z.string().describe(\"API domain for the inbox.\").nullable(),\n pop3_ports: z.array(z.number().int()).describe(\"List of POP3 ports available for the inbox.\"),\n project_id: z.number().int().describe(\"ID of the project this inbox belongs to.\").nullable(),\n smtp_ports: z.array(z.number().int()).describe(\"List of SMTP ports available for the inbox.\"),\n permissions: MailtrapGetInbox_InboxPermissionsSchema.nullable(),\n pop3_domain: z.string().describe(\"POP3 domain for accessing the inbox.\").nullable(),\n email_domain: z.string().describe(\"Email domain for the inbox.\").nullable(),\n emails_count: z.number().int().describe(\"Total number of emails in the inbox.\").nullable(),\n email_username: z.string().describe(\"Email username for the inbox.\").nullable(),\n max_message_size: z.number().int().describe(\"Maximum message size allowed in bytes.\").nullable(),\n emails_unread_count: z.number().int().describe(\"Number of unread emails in the inbox.\").nullable(),\n sent_messages_count: z.number().int().describe(\"Total number of sent messages from the inbox.\").nullable(),\n last_message_sent_at: z.string().describe(\"Timestamp of the last message sent. Null if no messages have been sent.\").nullable().optional(),\n email_username_enabled: z.boolean().describe(\"Whether the email username is enabled.\").nullable(),\n forwarded_messages_count: z.number().int().describe(\"Total number of forwarded messages.\").nullable(),\n forward_from_email_address: z.string().describe(\"Email address from which messages are forwarded.\").nullable(),\n}).describe(\"Response model containing inbox attributes from Mailtrap.\");\n\nexport const mailtrapGetInbox = action(\"MAILTRAP_GET_INBOX\", {\n slug: \"mailtrap-get-inbox\",\n name: \"Get Inbox Attributes\",\n description: \"Tool to retrieve inbox attributes from Mailtrap. Use when you need to get details about a specific inbox including its configuration, statistics, and permissions.\",\n input: MailtrapGetInboxInput,\n output: MailtrapGetInboxOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwB,EAAE,OAAO;CAC5C,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD;CACrF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD;AAC7F,CAAC,CAAC,CAAC,SAAS,8DAA8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message")
8
8
  }).describe("Request model for retrieving HTML message body from Mailtrap.");
9
9
  const MailtrapGetMessageHtmlOutput = zod.z.object({
10
- html_body: zod.z.string().describe("The formatted HTML body content of the email message"),
11
- message_id: zod.z.number().int().describe("The message ID that was retrieved")
10
+ html_body: zod.z.string().describe("The formatted HTML body content of the email message").nullable(),
11
+ message_id: zod.z.number().int().describe("The message ID that was retrieved").nullable()
12
12
  }).describe("Response model containing the HTML body of the message.");
13
13
  const mailtrapGetMessageHtml = require_action.action("MAILTRAP_GET_MESSAGE_HTML", {
14
14
  slug: "mailtrap-get-message-html",
@@ -1 +1 @@
1
- {"version":3,"file":"get-message-html.cjs","names":["z","action"],"sources":["../../src/actions/get-message-html.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapGetMessageHtmlInput: z.ZodTypeAny = z.object({\n inbox_id: z.number().int().describe(\"Unique inbox ID to identify the specific inbox\"),\n account_id: z.number().int().describe(\"Unique account ID to identify the Mailtrap account\"),\n message_id: z.number().int().describe(\"Unique message ID to identify the specific message\"),\n}).describe(\"Request model for retrieving HTML message body from Mailtrap.\");\nexport const MailtrapGetMessageHtmlOutput: z.ZodTypeAny = z.object({\n html_body: z.string().describe(\"The formatted HTML body content of the email message\"),\n message_id: z.number().int().describe(\"The message ID that was retrieved\"),\n}).describe(\"Response model containing the HTML body of the message.\");\n\nexport const mailtrapGetMessageHtml = action(\"MAILTRAP_GET_MESSAGE_HTML\", {\n slug: \"mailtrap-get-message-html\",\n name: \"Get Message HTML Body\",\n description: \"Tool to retrieve the HTML body of a message from Mailtrap. Use when you need to get the formatted HTML content of a specific email message.\",\n input: MailtrapGetMessageHtmlInput,\n output: MailtrapGetMessageHtmlOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;CACpF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD;CAC1F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD;AAC5F,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACrF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC;AAC3E,CAAC,CAAC,CAAC,SAAS,yDAAyD;AAErE,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-message-html.cjs","names":["z","action"],"sources":["../../src/actions/get-message-html.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapGetMessageHtmlInput = z.object({\n inbox_id: z.number().int().describe(\"Unique inbox ID to identify the specific inbox\"),\n account_id: z.number().int().describe(\"Unique account ID to identify the Mailtrap account\"),\n message_id: z.number().int().describe(\"Unique message ID to identify the specific message\"),\n}).describe(\"Request model for retrieving HTML message body from Mailtrap.\");\nexport const MailtrapGetMessageHtmlOutput = z.object({\n html_body: z.string().describe(\"The formatted HTML body content of the email message\").nullable(),\n message_id: z.number().int().describe(\"The message ID that was retrieved\").nullable(),\n}).describe(\"Response model containing the HTML body of the message.\");\n\nexport const mailtrapGetMessageHtml = action(\"MAILTRAP_GET_MESSAGE_HTML\", {\n slug: \"mailtrap-get-message-html\",\n name: \"Get Message HTML Body\",\n description: \"Tool to retrieve the HTML body of a message from Mailtrap. Use when you need to get the formatted HTML content of a specific email message.\",\n input: MailtrapGetMessageHtmlInput,\n output: MailtrapGetMessageHtmlOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;CACpF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD;CAC1F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD;AAC5F,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAChG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,SAAS,yDAAyD;AAErE,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,20 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-message-html.d.ts
4
- declare const MailtrapGetMessageHtmlInput: z.ZodTypeAny;
5
- declare const MailtrapGetMessageHtmlOutput: z.ZodTypeAny;
6
- declare const mailtrapGetMessageHtml: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MailtrapGetMessageHtmlInput: z.ZodObject<{
5
+ inbox_id: z.ZodNumber;
6
+ account_id: z.ZodNumber;
7
+ message_id: z.ZodNumber;
8
+ }, z.core.$strip>;
9
+ declare const MailtrapGetMessageHtmlOutput: z.ZodObject<{
10
+ html_body: z.ZodNullable<z.ZodString>;
11
+ message_id: z.ZodNullable<z.ZodNumber>;
12
+ }, z.core.$strip>;
13
+ declare const mailtrapGetMessageHtml: import("@keystrokehq/action").WorkflowActionDefinition<{
14
+ inbox_id: number;
15
+ account_id: number;
16
+ message_id: number;
17
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
18
  //#endregion
8
19
  export { mailtrapGetMessageHtml };
9
20
  //# sourceMappingURL=get-message-html.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-message-html.d.cts","names":[],"sources":["../../src/actions/get-message-html.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAIgC;AAAA,cAC/D,4BAAA,EAA8B,CAAA,CAAE,UAGyB;AAAA,cAEzD,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-message-html.d.cts","names":[],"sources":["../../src/actions/get-message-html.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;cAK3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAK5B,sBAAA,gCAAsB,wBAAA"}
@@ -1,9 +1,20 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-message-html.d.ts
4
- declare const MailtrapGetMessageHtmlInput: z.ZodTypeAny;
5
- declare const MailtrapGetMessageHtmlOutput: z.ZodTypeAny;
6
- declare const mailtrapGetMessageHtml: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MailtrapGetMessageHtmlInput: z.ZodObject<{
5
+ inbox_id: z.ZodNumber;
6
+ account_id: z.ZodNumber;
7
+ message_id: z.ZodNumber;
8
+ }, z.core.$strip>;
9
+ declare const MailtrapGetMessageHtmlOutput: z.ZodObject<{
10
+ html_body: z.ZodNullable<z.ZodString>;
11
+ message_id: z.ZodNullable<z.ZodNumber>;
12
+ }, z.core.$strip>;
13
+ declare const mailtrapGetMessageHtml: import("@keystrokehq/action").WorkflowActionDefinition<{
14
+ inbox_id: number;
15
+ account_id: number;
16
+ message_id: number;
17
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
18
  //#endregion
8
19
  export { mailtrapGetMessageHtml };
9
20
  //# sourceMappingURL=get-message-html.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-message-html.d.mts","names":[],"sources":["../../src/actions/get-message-html.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAIgC;AAAA,cAC/D,4BAAA,EAA8B,CAAA,CAAE,UAGyB;AAAA,cAEzD,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-message-html.d.mts","names":[],"sources":["../../src/actions/get-message-html.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;cAK3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAK5B,sBAAA,gCAAsB,wBAAA"}
@@ -10,8 +10,8 @@ const mailtrapGetMessageHtml = action("MAILTRAP_GET_MESSAGE_HTML", {
10
10
  message_id: z.number().int().describe("Unique message ID to identify the specific message")
11
11
  }).describe("Request model for retrieving HTML message body from Mailtrap."),
12
12
  output: z.object({
13
- html_body: z.string().describe("The formatted HTML body content of the email message"),
14
- message_id: z.number().int().describe("The message ID that was retrieved")
13
+ html_body: z.string().describe("The formatted HTML body content of the email message").nullable(),
14
+ message_id: z.number().int().describe("The message ID that was retrieved").nullable()
15
15
  }).describe("Response model containing the HTML body of the message.")
16
16
  });
17
17
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"get-message-html.mjs","names":[],"sources":["../../src/actions/get-message-html.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapGetMessageHtmlInput: z.ZodTypeAny = z.object({\n inbox_id: z.number().int().describe(\"Unique inbox ID to identify the specific inbox\"),\n account_id: z.number().int().describe(\"Unique account ID to identify the Mailtrap account\"),\n message_id: z.number().int().describe(\"Unique message ID to identify the specific message\"),\n}).describe(\"Request model for retrieving HTML message body from Mailtrap.\");\nexport const MailtrapGetMessageHtmlOutput: z.ZodTypeAny = z.object({\n html_body: z.string().describe(\"The formatted HTML body content of the email message\"),\n message_id: z.number().int().describe(\"The message ID that was retrieved\"),\n}).describe(\"Response model containing the HTML body of the message.\");\n\nexport const mailtrapGetMessageHtml = action(\"MAILTRAP_GET_MESSAGE_HTML\", {\n slug: \"mailtrap-get-message-html\",\n name: \"Get Message HTML Body\",\n description: \"Tool to retrieve the HTML body of a message from Mailtrap. Use when you need to get the formatted HTML content of a specific email message.\",\n input: MailtrapGetMessageHtmlInput,\n output: MailtrapGetMessageHtmlOutput,\n});\n"],"mappings":";;AAcA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAduD,EAAE,OAAO;EAChE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;EACpF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD;EAC1F,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD;CAC5F,CAAC,CAAC,CAAC,SAAS,+DAUH;CACP,QAVwD,EAAE,OAAO;EACjE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;EACrF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC;CAC3E,CAAC,CAAC,CAAC,SAAS,yDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-message-html.mjs","names":[],"sources":["../../src/actions/get-message-html.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapGetMessageHtmlInput = z.object({\n inbox_id: z.number().int().describe(\"Unique inbox ID to identify the specific inbox\"),\n account_id: z.number().int().describe(\"Unique account ID to identify the Mailtrap account\"),\n message_id: z.number().int().describe(\"Unique message ID to identify the specific message\"),\n}).describe(\"Request model for retrieving HTML message body from Mailtrap.\");\nexport const MailtrapGetMessageHtmlOutput = z.object({\n html_body: z.string().describe(\"The formatted HTML body content of the email message\").nullable(),\n message_id: z.number().int().describe(\"The message ID that was retrieved\").nullable(),\n}).describe(\"Response model containing the HTML body of the message.\");\n\nexport const mailtrapGetMessageHtml = action(\"MAILTRAP_GET_MESSAGE_HTML\", {\n slug: \"mailtrap-get-message-html\",\n name: \"Get Message HTML Body\",\n description: \"Tool to retrieve the HTML body of a message from Mailtrap. Use when you need to get the formatted HTML content of a specific email message.\",\n input: MailtrapGetMessageHtmlInput,\n output: MailtrapGetMessageHtmlOutput,\n});\n"],"mappings":";;AAcA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdyC,EAAE,OAAO;EAClD,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;EACpF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD;EAC1F,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD;CAC5F,CAAC,CAAC,CAAC,SAAS,+DAUH;CACP,QAV0C,EAAE,OAAO;EACnD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EAChG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACtF,CAAC,CAAC,CAAC,SAAS,yDAOF;AACV,CAAC"}
@@ -3,24 +3,24 @@ let zod = require("zod");
3
3
  //#region src/actions/get-permission-resources.ts
4
4
  const MailtrapGetPermissionResourcesInput = zod.z.object({ account_id: zod.z.number().int().describe("Unique account ID for which to retrieve permission resources.") }).describe("Request model for getting permission resources.");
5
5
  const MailtrapGetPermissionResources_NestedResourceSchema = zod.z.object({
6
- id: zod.z.number().int().describe("Unique identifier of the nested resource."),
7
- name: zod.z.string().describe("Name of the nested resource."),
8
- type: zod.z.string().describe("Type of the nested resource (e.g., 'inbox')."),
9
- access_level: zod.z.number().int().describe("Access level for this nested resource based on the token used.")
6
+ id: zod.z.number().int().describe("Unique identifier of the nested resource.").nullable(),
7
+ name: zod.z.string().describe("Name of the nested resource.").nullable(),
8
+ type: zod.z.string().describe("Type of the nested resource (e.g., 'inbox').").nullable(),
9
+ access_level: zod.z.number().int().describe("Access level for this nested resource based on the token used.").nullable()
10
10
  }).describe("Represents a third-level nested resource.");
11
11
  const MailtrapGetPermissionResources_SecondLevelResourceSchema = zod.z.object({
12
- id: zod.z.number().int().describe("Unique identifier of the resource."),
13
- name: zod.z.string().describe("Name of the resource."),
14
- type: zod.z.string().describe("Type of the resource (e.g., 'project', 'inbox')."),
12
+ id: zod.z.number().int().describe("Unique identifier of the resource.").nullable(),
13
+ name: zod.z.string().describe("Name of the resource.").nullable(),
14
+ type: zod.z.string().describe("Type of the resource (e.g., 'project', 'inbox').").nullable(),
15
15
  resources: zod.z.array(MailtrapGetPermissionResources_NestedResourceSchema).describe("Optional nested array of third-level resources.").nullable().optional(),
16
- access_level: zod.z.number().int().describe("Access level for this resource based on the token used.")
16
+ access_level: zod.z.number().int().describe("Access level for this resource based on the token used.").nullable()
17
17
  }).describe("Represents a second-level resource with optional nested resources.");
18
18
  const MailtrapGetPermissionResources_PermissionResourceSchema = zod.z.object({
19
- id: zod.z.number().int().describe("Unique identifier of the resource."),
20
- name: zod.z.string().describe("Name of the resource."),
21
- type: zod.z.string().describe("Type of the resource (e.g., 'project', 'inbox')."),
19
+ id: zod.z.number().int().describe("Unique identifier of the resource.").nullable(),
20
+ name: zod.z.string().describe("Name of the resource.").nullable(),
21
+ type: zod.z.string().describe("Type of the resource (e.g., 'project', 'inbox').").nullable(),
22
22
  resources: zod.z.array(MailtrapGetPermissionResources_SecondLevelResourceSchema).describe("Optional nested array of second-level resources (e.g., inboxes within a project).").nullable().optional(),
23
- access_level: zod.z.number().int().describe("Access level for this resource based on the token used to make the request.")
23
+ access_level: zod.z.number().int().describe("Access level for this resource based on the token used to make the request.").nullable()
24
24
  }).describe("Represents a top-level permission resource with hierarchical structure.");
25
25
  const MailtrapGetPermissionResourcesOutput = zod.z.object({ resources: zod.z.array(MailtrapGetPermissionResources_PermissionResourceSchema).describe("Array of top-level permission resources with their hierarchical structure. The access_level in this response represents the access level of the token used to make the request.") }).describe("Response model containing all permission resources nested according to their hierarchy.");
26
26
  const mailtrapGetPermissionResources = require_action.action("MAILTRAP_GET_PERMISSION_RESOURCES", {
@@ -1 +1 @@
1
- {"version":3,"file":"get-permission-resources.cjs","names":["z","action"],"sources":["../../src/actions/get-permission-resources.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapGetPermissionResourcesInput: z.ZodTypeAny = z.object({\n account_id: z.number().int().describe(\"Unique account ID for which to retrieve permission resources.\"),\n}).describe(\"Request model for getting permission resources.\");\nconst MailtrapGetPermissionResources_NestedResourceSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the nested resource.\"),\n name: z.string().describe(\"Name of the nested resource.\"),\n type: z.string().describe(\"Type of the nested resource (e.g., 'inbox').\"),\n access_level: z.number().int().describe(\"Access level for this nested resource based on the token used.\"),\n}).describe(\"Represents a third-level nested resource.\");\nconst MailtrapGetPermissionResources_SecondLevelResourceSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the resource.\"),\n name: z.string().describe(\"Name of the resource.\"),\n type: z.string().describe(\"Type of the resource (e.g., 'project', 'inbox').\"),\n resources: z.array(MailtrapGetPermissionResources_NestedResourceSchema).describe(\"Optional nested array of third-level resources.\").nullable().optional(),\n access_level: z.number().int().describe(\"Access level for this resource based on the token used.\"),\n}).describe(\"Represents a second-level resource with optional nested resources.\");\nconst MailtrapGetPermissionResources_PermissionResourceSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the resource.\"),\n name: z.string().describe(\"Name of the resource.\"),\n type: z.string().describe(\"Type of the resource (e.g., 'project', 'inbox').\"),\n resources: z.array(MailtrapGetPermissionResources_SecondLevelResourceSchema).describe(\"Optional nested array of second-level resources (e.g., inboxes within a project).\").nullable().optional(),\n access_level: z.number().int().describe(\"Access level for this resource based on the token used to make the request.\"),\n}).describe(\"Represents a top-level permission resource with hierarchical structure.\");\nexport const MailtrapGetPermissionResourcesOutput: z.ZodTypeAny = z.object({\n resources: z.array(MailtrapGetPermissionResources_PermissionResourceSchema).describe(\"Array of top-level permission resources with their hierarchical structure. The access_level in this response represents the access level of the token used to make the request.\"),\n}).describe(\"Response model containing all permission resources nested according to their hierarchy.\");\n\nexport const mailtrapGetPermissionResources = action(\"MAILTRAP_GET_PERMISSION_RESOURCES\", {\n slug: \"mailtrap-get-permission-resources\",\n name: \"Get Permission Resources\",\n description: \"Tool to retrieve all resources in account for permission management. Use when you need to see the hierarchical structure of projects, inboxes, and other resources with their access levels for the current authentication token.\",\n input: MailtrapGetPermissionResourcesInput,\n output: MailtrapGetPermissionResourcesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAoDA,IAAAA,EAAE,OAAO,EACxE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D,EACvG,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,sDAAoEA,IAAAA,EAAE,OAAO;CACjF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CACxE,c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MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-permission-resources.cjs","names":["z","action"],"sources":["../../src/actions/get-permission-resources.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapGetPermissionResourcesInput = z.object({\n account_id: z.number().int().describe(\"Unique account ID for which to retrieve permission resources.\"),\n}).describe(\"Request model for getting permission resources.\");\nconst MailtrapGetPermissionResources_NestedResourceSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the nested resource.\").nullable(),\n name: z.string().describe(\"Name of the nested resource.\").nullable(),\n type: z.string().describe(\"Type of the nested resource (e.g., 'inbox').\").nullable(),\n access_level: z.number().int().describe(\"Access level for this nested resource based on the token used.\").nullable(),\n}).describe(\"Represents a third-level nested resource.\");\nconst MailtrapGetPermissionResources_SecondLevelResourceSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the resource.\").nullable(),\n name: z.string().describe(\"Name of the resource.\").nullable(),\n type: z.string().describe(\"Type of the resource (e.g., 'project', 'inbox').\").nullable(),\n resources: z.array(MailtrapGetPermissionResources_NestedResourceSchema).describe(\"Optional nested array of third-level resources.\").nullable().optional(),\n access_level: z.number().int().describe(\"Access level for this resource based on the token used.\").nullable(),\n}).describe(\"Represents a second-level resource with optional nested resources.\");\nconst MailtrapGetPermissionResources_PermissionResourceSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the resource.\").nullable(),\n name: z.string().describe(\"Name of the resource.\").nullable(),\n type: z.string().describe(\"Type of the resource (e.g., 'project', 'inbox').\").nullable(),\n resources: z.array(MailtrapGetPermissionResources_SecondLevelResourceSchema).describe(\"Optional nested array of second-level resources (e.g., inboxes within a project).\").nullable().optional(),\n access_level: z.number().int().describe(\"Access level for this resource based on the token used to make the request.\").nullable(),\n}).describe(\"Represents a top-level permission resource with hierarchical structure.\");\nexport const MailtrapGetPermissionResourcesOutput = z.object({\n resources: z.array(MailtrapGetPermissionResources_PermissionResourceSchema).describe(\"Array of top-level permission resources with their hierarchical structure. The access_level in this response represents the access level of the token used to make the request.\"),\n}).describe(\"Response model containing all permission resources nested according to their hierarchy.\");\n\nexport const mailtrapGetPermissionResources = action(\"MAILTRAP_GET_PERMISSION_RESOURCES\", {\n slug: \"mailtrap-get-permission-resources\",\n name: \"Get Permission Resources\",\n description: \"Tool to retrieve all resources in account for permission management. Use when you need to see the hierarchical structure of projects, inboxes, and other resources with their access levels for the current authentication token.\",\n input: MailtrapGetPermissionResourcesInput,\n output: MailtrapGetPermissionResourcesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,EAC1D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D,EACvG,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,sDAAsDA,IAAAA,EAAE,OAAO;CACnE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACpF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACnF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,2DAA2DA,IAAAA,EAAE,OAAO;CACxE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC7E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACvF,WAAWA,IAAAA,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxJ,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,0DAA0DA,IAAAA,EAAE,OAAO;CACvE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC7E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACvF,WAAWA,IAAAA,EAAE,MAAM,wDAAwD,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/L,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;AAClI,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,EAC3D,WAAWA,IAAAA,EAAE,MAAM,uDAAuD,CAAC,CAAC,SAAS,iLAAiL,EACxQ,CAAC,CAAC,CAAC,SAAS,yFAAyF;AAErG,MAAa,iCAAiCC,eAAAA,OAAO,qCAAqC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,32 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-permission-resources.d.ts
4
- declare const MailtrapGetPermissionResourcesInput: z.ZodTypeAny;
5
- declare const MailtrapGetPermissionResourcesOutput: z.ZodTypeAny;
6
- declare const mailtrapGetPermissionResources: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MailtrapGetPermissionResourcesInput: z.ZodObject<{
5
+ account_id: z.ZodNumber;
6
+ }, z.core.$strip>;
7
+ declare const MailtrapGetPermissionResourcesOutput: z.ZodObject<{
8
+ resources: z.ZodArray<z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodNumber>;
10
+ name: z.ZodNullable<z.ZodString>;
11
+ type: z.ZodNullable<z.ZodString>;
12
+ resources: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
13
+ id: z.ZodNullable<z.ZodNumber>;
14
+ name: z.ZodNullable<z.ZodString>;
15
+ type: z.ZodNullable<z.ZodString>;
16
+ resources: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
17
+ id: z.ZodNullable<z.ZodNumber>;
18
+ name: z.ZodNullable<z.ZodString>;
19
+ type: z.ZodNullable<z.ZodString>;
20
+ access_level: z.ZodNullable<z.ZodNumber>;
21
+ }, z.core.$strip>>>>;
22
+ access_level: z.ZodNullable<z.ZodNumber>;
23
+ }, z.core.$strip>>>>;
24
+ access_level: z.ZodNullable<z.ZodNumber>;
25
+ }, z.core.$strip>>;
26
+ }, z.core.$strip>;
27
+ declare const mailtrapGetPermissionResources: import("@keystrokehq/action").WorkflowActionDefinition<{
28
+ account_id: number;
29
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
30
  //#endregion
8
31
  export { mailtrapGetPermissionResources };
9
32
  //# sourceMappingURL=get-permission-resources.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-permission-resources.d.cts","names":[],"sources":["../../src/actions/get-permission-resources.ts"],"mappings":";;;cAIa,mCAAA,EAAqC,CAAA,CAAE,UAEU;AAAA,cAqBjD,oCAAA,EAAsC,CAAA,CAAE,UAEiD;AAAA,cAEzF,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-permission-resources.d.cts","names":[],"sources":["../../src/actions/get-permission-resources.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;cAuBnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAIpC,8BAAA,gCAA8B,wBAAA"}
@@ -1,9 +1,32 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-permission-resources.d.ts
4
- declare const MailtrapGetPermissionResourcesInput: z.ZodTypeAny;
5
- declare const MailtrapGetPermissionResourcesOutput: z.ZodTypeAny;
6
- declare const mailtrapGetPermissionResources: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MailtrapGetPermissionResourcesInput: z.ZodObject<{
5
+ account_id: z.ZodNumber;
6
+ }, z.core.$strip>;
7
+ declare const MailtrapGetPermissionResourcesOutput: z.ZodObject<{
8
+ resources: z.ZodArray<z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodNumber>;
10
+ name: z.ZodNullable<z.ZodString>;
11
+ type: z.ZodNullable<z.ZodString>;
12
+ resources: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
13
+ id: z.ZodNullable<z.ZodNumber>;
14
+ name: z.ZodNullable<z.ZodString>;
15
+ type: z.ZodNullable<z.ZodString>;
16
+ resources: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
17
+ id: z.ZodNullable<z.ZodNumber>;
18
+ name: z.ZodNullable<z.ZodString>;
19
+ type: z.ZodNullable<z.ZodString>;
20
+ access_level: z.ZodNullable<z.ZodNumber>;
21
+ }, z.core.$strip>>>>;
22
+ access_level: z.ZodNullable<z.ZodNumber>;
23
+ }, z.core.$strip>>>>;
24
+ access_level: z.ZodNullable<z.ZodNumber>;
25
+ }, z.core.$strip>>;
26
+ }, z.core.$strip>;
27
+ declare const mailtrapGetPermissionResources: import("@keystrokehq/action").WorkflowActionDefinition<{
28
+ account_id: number;
29
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
30
  //#endregion
8
31
  export { mailtrapGetPermissionResources };
9
32
  //# sourceMappingURL=get-permission-resources.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-permission-resources.d.mts","names":[],"sources":["../../src/actions/get-permission-resources.ts"],"mappings":";;;cAIa,mCAAA,EAAqC,CAAA,CAAE,UAEU;AAAA,cAqBjD,oCAAA,EAAsC,CAAA,CAAE,UAEiD;AAAA,cAEzF,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-permission-resources.d.mts","names":[],"sources":["../../src/actions/get-permission-resources.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;cAuBnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAIpC,8BAAA,gCAA8B,wBAAA"}
@@ -3,24 +3,24 @@ import { z } from "zod";
3
3
  //#region src/actions/get-permission-resources.ts
4
4
  const MailtrapGetPermissionResourcesInput = z.object({ account_id: z.number().int().describe("Unique account ID for which to retrieve permission resources.") }).describe("Request model for getting permission resources.");
5
5
  const MailtrapGetPermissionResources_NestedResourceSchema = z.object({
6
- id: z.number().int().describe("Unique identifier of the nested resource."),
7
- name: z.string().describe("Name of the nested resource."),
8
- type: z.string().describe("Type of the nested resource (e.g., 'inbox')."),
9
- access_level: z.number().int().describe("Access level for this nested resource based on the token used.")
6
+ id: z.number().int().describe("Unique identifier of the nested resource.").nullable(),
7
+ name: z.string().describe("Name of the nested resource.").nullable(),
8
+ type: z.string().describe("Type of the nested resource (e.g., 'inbox').").nullable(),
9
+ access_level: z.number().int().describe("Access level for this nested resource based on the token used.").nullable()
10
10
  }).describe("Represents a third-level nested resource.");
11
11
  const MailtrapGetPermissionResources_SecondLevelResourceSchema = z.object({
12
- id: z.number().int().describe("Unique identifier of the resource."),
13
- name: z.string().describe("Name of the resource."),
14
- type: z.string().describe("Type of the resource (e.g., 'project', 'inbox')."),
12
+ id: z.number().int().describe("Unique identifier of the resource.").nullable(),
13
+ name: z.string().describe("Name of the resource.").nullable(),
14
+ type: z.string().describe("Type of the resource (e.g., 'project', 'inbox').").nullable(),
15
15
  resources: z.array(MailtrapGetPermissionResources_NestedResourceSchema).describe("Optional nested array of third-level resources.").nullable().optional(),
16
- access_level: z.number().int().describe("Access level for this resource based on the token used.")
16
+ access_level: z.number().int().describe("Access level for this resource based on the token used.").nullable()
17
17
  }).describe("Represents a second-level resource with optional nested resources.");
18
18
  const MailtrapGetPermissionResources_PermissionResourceSchema = z.object({
19
- id: z.number().int().describe("Unique identifier of the resource."),
20
- name: z.string().describe("Name of the resource."),
21
- type: z.string().describe("Type of the resource (e.g., 'project', 'inbox')."),
19
+ id: z.number().int().describe("Unique identifier of the resource.").nullable(),
20
+ name: z.string().describe("Name of the resource.").nullable(),
21
+ type: z.string().describe("Type of the resource (e.g., 'project', 'inbox').").nullable(),
22
22
  resources: z.array(MailtrapGetPermissionResources_SecondLevelResourceSchema).describe("Optional nested array of second-level resources (e.g., inboxes within a project).").nullable().optional(),
23
- access_level: z.number().int().describe("Access level for this resource based on the token used to make the request.")
23
+ access_level: z.number().int().describe("Access level for this resource based on the token used to make the request.").nullable()
24
24
  }).describe("Represents a top-level permission resource with hierarchical structure.");
25
25
  const mailtrapGetPermissionResources = action("MAILTRAP_GET_PERMISSION_RESOURCES", {
26
26
  slug: "mailtrap-get-permission-resources",
@@ -1 +1 @@
1
- {"version":3,"file":"get-permission-resources.mjs","names":[],"sources":["../../src/actions/get-permission-resources.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapGetPermissionResourcesInput: z.ZodTypeAny = z.object({\n account_id: z.number().int().describe(\"Unique account ID for which to retrieve permission resources.\"),\n}).describe(\"Request model for getting permission resources.\");\nconst MailtrapGetPermissionResources_NestedResourceSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the nested resource.\"),\n name: z.string().describe(\"Name of the nested resource.\"),\n type: z.string().describe(\"Type of the nested resource (e.g., 'inbox').\"),\n access_level: z.number().int().describe(\"Access level for this nested resource based on the token used.\"),\n}).describe(\"Represents a third-level nested resource.\");\nconst MailtrapGetPermissionResources_SecondLevelResourceSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the resource.\"),\n name: z.string().describe(\"Name of the resource.\"),\n type: z.string().describe(\"Type of the resource (e.g., 'project', 'inbox').\"),\n resources: z.array(MailtrapGetPermissionResources_NestedResourceSchema).describe(\"Optional nested array of third-level resources.\").nullable().optional(),\n access_level: z.number().int().describe(\"Access level for this resource based on the token used.\"),\n}).describe(\"Represents a second-level resource with optional nested resources.\");\nconst MailtrapGetPermissionResources_PermissionResourceSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the resource.\"),\n name: z.string().describe(\"Name of the resource.\"),\n type: z.string().describe(\"Type of the resource (e.g., 'project', 'inbox').\"),\n resources: z.array(MailtrapGetPermissionResources_SecondLevelResourceSchema).describe(\"Optional nested array of second-level resources (e.g., inboxes within a project).\").nullable().optional(),\n access_level: z.number().int().describe(\"Access level for this resource based on the token used to make the request.\"),\n}).describe(\"Represents a top-level permission resource with hierarchical structure.\");\nexport const MailtrapGetPermissionResourcesOutput: z.ZodTypeAny = z.object({\n resources: z.array(MailtrapGetPermissionResources_PermissionResourceSchema).describe(\"Array of top-level permission resources with their hierarchical structure. The access_level in this response represents the access level of the token used to make the request.\"),\n}).describe(\"Response model containing all permission resources nested according to their hierarchy.\");\n\nexport const mailtrapGetPermissionResources = action(\"MAILTRAP_GET_PERMISSION_RESOURCES\", {\n slug: \"mailtrap-get-permission-resources\",\n name: \"Get Permission Resources\",\n description: \"Tool to retrieve all resources in account for permission management. Use when you need to see the hierarchical structure of projects, inboxes, and other resources with their access levels for the current authentication token.\",\n input: MailtrapGetPermissionResourcesInput,\n output: MailtrapGetPermissionResourcesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAoD,EAAE,OAAO,EACxE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D,EACvG,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,sDAAoE,EAAE,OAAO;CACjF,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C;CACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CACxE,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE;AAC1G,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,2DAAyE,EAAE,OAAO;CACtF,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC;CAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CAC5E,WAAW,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxJ,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD;AACnG,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,0DAAwE,EAAE,OAAO;CACrF,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC;CAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CAC5E,WAAW,EAAE,MAAM,wDAAwD,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/L,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E;AACvH,CAAC,CAAC,CAAC,SAAS,yEAAyE;AAKrF,MAAa,iCAAiC,OAAO,qCAAqC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATgE,EAAE,OAAO,EACzE,WAAW,EAAE,MAAM,uDAAuD,CAAC,CAAC,SAAS,iLAAiL,EACxQ,CAAC,CAAC,CAAC,SAAS,yFAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-permission-resources.mjs","names":[],"sources":["../../src/actions/get-permission-resources.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapGetPermissionResourcesInput = z.object({\n account_id: z.number().int().describe(\"Unique account ID for which to retrieve permission resources.\"),\n}).describe(\"Request model for getting permission resources.\");\nconst MailtrapGetPermissionResources_NestedResourceSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the nested resource.\").nullable(),\n name: z.string().describe(\"Name of the nested resource.\").nullable(),\n type: z.string().describe(\"Type of the nested resource (e.g., 'inbox').\").nullable(),\n access_level: z.number().int().describe(\"Access level for this nested resource based on the token used.\").nullable(),\n}).describe(\"Represents a third-level nested resource.\");\nconst MailtrapGetPermissionResources_SecondLevelResourceSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the resource.\").nullable(),\n name: z.string().describe(\"Name of the resource.\").nullable(),\n type: z.string().describe(\"Type of the resource (e.g., 'project', 'inbox').\").nullable(),\n resources: z.array(MailtrapGetPermissionResources_NestedResourceSchema).describe(\"Optional nested array of third-level resources.\").nullable().optional(),\n access_level: z.number().int().describe(\"Access level for this resource based on the token used.\").nullable(),\n}).describe(\"Represents a second-level resource with optional nested resources.\");\nconst MailtrapGetPermissionResources_PermissionResourceSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the resource.\").nullable(),\n name: z.string().describe(\"Name of the resource.\").nullable(),\n type: z.string().describe(\"Type of the resource (e.g., 'project', 'inbox').\").nullable(),\n resources: z.array(MailtrapGetPermissionResources_SecondLevelResourceSchema).describe(\"Optional nested array of second-level resources (e.g., inboxes within a project).\").nullable().optional(),\n access_level: z.number().int().describe(\"Access level for this resource based on the token used to make the request.\").nullable(),\n}).describe(\"Represents a top-level permission resource with hierarchical structure.\");\nexport const MailtrapGetPermissionResourcesOutput = z.object({\n resources: z.array(MailtrapGetPermissionResources_PermissionResourceSchema).describe(\"Array of top-level permission resources with their hierarchical structure. The access_level in this response represents the access level of the token used to make the request.\"),\n}).describe(\"Response model containing all permission resources nested according to their hierarchy.\");\n\nexport const mailtrapGetPermissionResources = action(\"MAILTRAP_GET_PERMISSION_RESOURCES\", {\n slug: \"mailtrap-get-permission-resources\",\n name: \"Get Permission Resources\",\n description: \"Tool to retrieve all resources in account for permission management. Use when you need to see the hierarchical structure of projects, inboxes, and other resources with their access levels for the current authentication token.\",\n input: MailtrapGetPermissionResourcesInput,\n output: MailtrapGetPermissionResourcesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsC,EAAE,OAAO,EAC1D,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D,EACvG,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,sDAAsD,EAAE,OAAO;CACnE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACpF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACnF,cAAc,EAAE,OAAO,CA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AAC,CAAC,CAAC,SAAS,yFAOF;AACV,CAAC"}
@@ -6,50 +6,50 @@ const MailtrapGetProjectInput = zod.z.object({
6
6
  project_id: zod.z.number().int().describe("Unique project ID to identify the specific project.")
7
7
  }).describe("Request model for retrieving a project by ID from Mailtrap.");
8
8
  const MailtrapGetProject_InboxPermissionsSchema = zod.z.object({
9
- can_read: zod.z.boolean().describe("Whether the token has permission to read the inbox."),
10
- can_leave: zod.z.boolean().describe("Whether the token has permission to leave the inbox."),
11
- can_update: zod.z.boolean().describe("Whether the token has permission to update the inbox."),
12
- can_destroy: zod.z.boolean().describe("Whether the token has permission to destroy the inbox.")
9
+ can_read: zod.z.boolean().describe("Whether the token has permission to read the inbox.").nullable(),
10
+ can_leave: zod.z.boolean().describe("Whether the token has permission to leave the inbox.").nullable(),
11
+ can_update: zod.z.boolean().describe("Whether the token has permission to update the inbox.").nullable(),
12
+ can_destroy: zod.z.boolean().describe("Whether the token has permission to destroy the inbox.").nullable()
13
13
  }).describe("Permissions model for inbox operations within a project.");
14
14
  const MailtrapGetProject_ProjectInboxSchema = zod.z.object({
15
- id: zod.z.number().int().describe("Unique identifier for the inbox."),
16
- name: zod.z.string().describe("Name of the inbox."),
17
- used: zod.z.boolean().describe("Whether the inbox has been used."),
18
- domain: zod.z.string().describe("Domain for the inbox."),
19
- status: zod.z.string().describe("Current status of the inbox."),
20
- max_size: zod.z.number().int().describe("Maximum size limit for the inbox in bytes."),
15
+ id: zod.z.number().int().describe("Unique identifier for the inbox.").nullable(),
16
+ name: zod.z.string().describe("Name of the inbox.").nullable(),
17
+ used: zod.z.boolean().describe("Whether the inbox has been used.").nullable(),
18
+ domain: zod.z.string().describe("Domain for the inbox.").nullable(),
19
+ status: zod.z.string().describe("Current status of the inbox.").nullable(),
20
+ max_size: zod.z.number().int().describe("Maximum size limit for the inbox in bytes.").nullable(),
21
21
  password: zod.z.string().describe("Password for accessing the inbox.").nullable().optional(),
22
- username: zod.z.string().describe("Username for accessing the inbox."),
23
- api_domain: zod.z.string().describe("API domain for the inbox."),
22
+ username: zod.z.string().describe("Username for accessing the inbox.").nullable(),
23
+ api_domain: zod.z.string().describe("API domain for the inbox.").nullable(),
24
24
  pop3_ports: zod.z.array(zod.z.number().int()).describe("List of POP3 ports available for the inbox."),
25
- project_id: zod.z.number().int().describe("ID of the project this inbox belongs to."),
25
+ project_id: zod.z.number().int().describe("ID of the project this inbox belongs to.").nullable(),
26
26
  smtp_ports: zod.z.array(zod.z.number().int()).describe("List of SMTP ports available for the inbox."),
27
27
  permissions: MailtrapGetProject_InboxPermissionsSchema.nullable(),
28
- pop3_domain: zod.z.string().describe("POP3 domain for accessing the inbox."),
29
- email_domain: zod.z.string().describe("Email domain for the inbox."),
30
- emails_count: zod.z.number().int().describe("Total number of emails in the inbox."),
31
- email_username: zod.z.string().describe("Email username for the inbox."),
32
- max_message_size: zod.z.number().int().describe("Maximum message size allowed in bytes."),
33
- emails_unread_count: zod.z.number().int().describe("Number of unread emails in the inbox."),
34
- sent_messages_count: zod.z.number().int().describe("Total number of sent messages from the inbox."),
28
+ pop3_domain: zod.z.string().describe("POP3 domain for accessing the inbox.").nullable(),
29
+ email_domain: zod.z.string().describe("Email domain for the inbox.").nullable(),
30
+ emails_count: zod.z.number().int().describe("Total number of emails in the inbox.").nullable(),
31
+ email_username: zod.z.string().describe("Email username for the inbox.").nullable(),
32
+ max_message_size: zod.z.number().int().describe("Maximum message size allowed in bytes.").nullable(),
33
+ emails_unread_count: zod.z.number().int().describe("Number of unread emails in the inbox.").nullable(),
34
+ sent_messages_count: zod.z.number().int().describe("Total number of sent messages from the inbox.").nullable(),
35
35
  last_message_sent_at: zod.z.string().describe("Timestamp of the last message sent.").nullable().optional(),
36
- email_username_enabled: zod.z.boolean().describe("Whether the email username is enabled."),
37
- forwarded_messages_count: zod.z.number().int().describe("Total number of forwarded messages."),
38
- forward_from_email_address: zod.z.string().describe("Email address from which messages are forwarded.")
36
+ email_username_enabled: zod.z.boolean().describe("Whether the email username is enabled.").nullable(),
37
+ forwarded_messages_count: zod.z.number().int().describe("Total number of forwarded messages.").nullable(),
38
+ forward_from_email_address: zod.z.string().describe("Email address from which messages are forwarded.").nullable()
39
39
  }).describe("Inbox information within a project.");
40
40
  const MailtrapGetProject_ProjectPermissionsSchema = zod.z.object({
41
- can_read: zod.z.boolean().describe("Whether the token has permission to read the project."),
42
- can_leave: zod.z.boolean().describe("Whether the token has permission to leave the project."),
43
- can_update: zod.z.boolean().describe("Whether the token has permission to update the project."),
44
- can_destroy: zod.z.boolean().describe("Whether the token has permission to destroy the project.")
41
+ can_read: zod.z.boolean().describe("Whether the token has permission to read the project.").nullable(),
42
+ can_leave: zod.z.boolean().describe("Whether the token has permission to leave the project.").nullable(),
43
+ can_update: zod.z.boolean().describe("Whether the token has permission to update the project.").nullable(),
44
+ can_destroy: zod.z.boolean().describe("Whether the token has permission to destroy the project.").nullable()
45
45
  }).describe("Permissions model for project operations.");
46
46
  const MailtrapGetProject_ProjectShareLinksSchema = zod.z.object({
47
47
  admin: zod.z.string().describe("Admin share link for the project.").nullable().optional(),
48
48
  viewer: zod.z.string().describe("Viewer share link for the project.").nullable().optional()
49
49
  }).describe("Share links for project access.");
50
50
  const MailtrapGetProjectOutput = zod.z.object({
51
- id: zod.z.number().int().describe("Unique identifier for the project."),
52
- name: zod.z.string().describe("Name of the project."),
51
+ id: zod.z.number().int().describe("Unique identifier for the project.").nullable(),
52
+ name: zod.z.string().describe("Name of the project.").nullable(),
53
53
  inboxes: zod.z.array(MailtrapGetProject_ProjectInboxSchema).describe("List of inboxes within the project."),
54
54
  permissions: MailtrapGetProject_ProjectPermissionsSchema.nullable(),
55
55
  share_links: MailtrapGetProject_ProjectShareLinksSchema.nullable().optional()