@keystrokehq/mailtrap 0.1.0 → 0.1.3

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 (401) 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 +25 -25
  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 +25 -25
  10. package/dist/actions/clean-inbox.mjs.map +1 -1
  11. package/dist/actions/create-contact-event.cjs +3 -3
  12. package/dist/actions/create-contact-event.cjs.map +1 -1
  13. package/dist/actions/create-contact-event.d.cts +18 -3
  14. package/dist/actions/create-contact-event.d.cts.map +1 -1
  15. package/dist/actions/create-contact-event.d.mts +18 -3
  16. package/dist/actions/create-contact-event.d.mts.map +1 -1
  17. package/dist/actions/create-contact-event.mjs +3 -3
  18. package/dist/actions/create-contact-event.mjs.map +1 -1
  19. package/dist/actions/create-contact-export.cjs +2 -2
  20. package/dist/actions/create-contact-export.cjs.map +1 -1
  21. package/dist/actions/create-contact-export.d.cts +28 -3
  22. package/dist/actions/create-contact-export.d.cts.map +1 -1
  23. package/dist/actions/create-contact-export.d.mts +28 -3
  24. package/dist/actions/create-contact-export.d.mts.map +1 -1
  25. package/dist/actions/create-contact-export.mjs +2 -2
  26. package/dist/actions/create-contact-export.mjs.map +1 -1
  27. package/dist/actions/create-contact-field.cjs +1 -1
  28. package/dist/actions/create-contact-field.cjs.map +1 -1
  29. package/dist/actions/create-contact-field.d.cts +24 -3
  30. package/dist/actions/create-contact-field.d.cts.map +1 -1
  31. package/dist/actions/create-contact-field.d.mts +24 -3
  32. package/dist/actions/create-contact-field.d.mts.map +1 -1
  33. package/dist/actions/create-contact-field.mjs +1 -1
  34. package/dist/actions/create-contact-field.mjs.map +1 -1
  35. package/dist/actions/create-contact-list.cjs +3 -3
  36. package/dist/actions/create-contact-list.cjs.map +1 -1
  37. package/dist/actions/create-contact-list.d.cts +12 -3
  38. package/dist/actions/create-contact-list.d.cts.map +1 -1
  39. package/dist/actions/create-contact-list.d.mts +12 -3
  40. package/dist/actions/create-contact-list.d.mts.map +1 -1
  41. package/dist/actions/create-contact-list.mjs +3 -3
  42. package/dist/actions/create-contact-list.mjs.map +1 -1
  43. package/dist/actions/create-contact.cjs +4 -4
  44. package/dist/actions/create-contact.cjs.map +1 -1
  45. package/dist/actions/create-contact.d.cts +33 -3
  46. package/dist/actions/create-contact.d.cts.map +1 -1
  47. package/dist/actions/create-contact.d.mts +33 -3
  48. package/dist/actions/create-contact.d.mts.map +1 -1
  49. package/dist/actions/create-contact.mjs +4 -4
  50. package/dist/actions/create-contact.mjs.map +1 -1
  51. package/dist/actions/create-email-template.cjs +1 -1
  52. package/dist/actions/create-email-template.cjs.map +1 -1
  53. package/dist/actions/create-email-template.d.cts +31 -3
  54. package/dist/actions/create-email-template.d.cts.map +1 -1
  55. package/dist/actions/create-email-template.d.mts +31 -3
  56. package/dist/actions/create-email-template.d.mts.map +1 -1
  57. package/dist/actions/create-email-template.mjs +1 -1
  58. package/dist/actions/create-email-template.mjs.map +1 -1
  59. package/dist/actions/create-sending-domain.cjs +22 -22
  60. package/dist/actions/create-sending-domain.cjs.map +1 -1
  61. package/dist/actions/create-sending-domain.d.cts +50 -3
  62. package/dist/actions/create-sending-domain.d.cts.map +1 -1
  63. package/dist/actions/create-sending-domain.d.mts +50 -3
  64. package/dist/actions/create-sending-domain.d.mts.map +1 -1
  65. package/dist/actions/create-sending-domain.mjs +22 -22
  66. package/dist/actions/create-sending-domain.mjs.map +1 -1
  67. package/dist/actions/delete-contact-field.cjs +3 -3
  68. package/dist/actions/delete-contact-field.cjs.map +1 -1
  69. package/dist/actions/delete-contact-field.d.cts +12 -3
  70. package/dist/actions/delete-contact-field.d.cts.map +1 -1
  71. package/dist/actions/delete-contact-field.d.mts +12 -3
  72. package/dist/actions/delete-contact-field.d.mts.map +1 -1
  73. package/dist/actions/delete-contact-field.mjs +3 -3
  74. package/dist/actions/delete-contact-field.mjs.map +1 -1
  75. package/dist/actions/delete-contact-list.cjs +1 -1
  76. package/dist/actions/delete-contact-list.cjs.map +1 -1
  77. package/dist/actions/delete-contact-list.d.cts +11 -3
  78. package/dist/actions/delete-contact-list.d.cts.map +1 -1
  79. package/dist/actions/delete-contact-list.d.mts +11 -3
  80. package/dist/actions/delete-contact-list.d.mts.map +1 -1
  81. package/dist/actions/delete-contact-list.mjs +1 -1
  82. package/dist/actions/delete-contact-list.mjs.map +1 -1
  83. package/dist/actions/delete-contact.cjs +1 -1
  84. package/dist/actions/delete-contact.cjs.map +1 -1
  85. package/dist/actions/delete-contact.d.cts +11 -3
  86. package/dist/actions/delete-contact.d.cts.map +1 -1
  87. package/dist/actions/delete-contact.d.mts +11 -3
  88. package/dist/actions/delete-contact.d.mts.map +1 -1
  89. package/dist/actions/delete-contact.mjs +1 -1
  90. package/dist/actions/delete-contact.mjs.map +1 -1
  91. package/dist/actions/delete-email-template.cjs +1 -1
  92. package/dist/actions/delete-email-template.cjs.map +1 -1
  93. package/dist/actions/delete-email-template.d.cts +11 -3
  94. package/dist/actions/delete-email-template.d.cts.map +1 -1
  95. package/dist/actions/delete-email-template.d.mts +11 -3
  96. package/dist/actions/delete-email-template.d.mts.map +1 -1
  97. package/dist/actions/delete-email-template.mjs +1 -1
  98. package/dist/actions/delete-email-template.mjs.map +1 -1
  99. package/dist/actions/delete-project.cjs +1 -1
  100. package/dist/actions/delete-project.cjs.map +1 -1
  101. package/dist/actions/delete-project.d.cts +11 -3
  102. package/dist/actions/delete-project.d.cts.map +1 -1
  103. package/dist/actions/delete-project.d.mts +11 -3
  104. package/dist/actions/delete-project.d.mts.map +1 -1
  105. package/dist/actions/delete-project.mjs +1 -1
  106. package/dist/actions/delete-project.mjs.map +1 -1
  107. package/dist/actions/delete-sending-domain.cjs +1 -1
  108. package/dist/actions/delete-sending-domain.cjs.map +1 -1
  109. package/dist/actions/delete-sending-domain.d.cts +9 -3
  110. package/dist/actions/delete-sending-domain.d.cts.map +1 -1
  111. package/dist/actions/delete-sending-domain.d.mts +9 -3
  112. package/dist/actions/delete-sending-domain.d.mts.map +1 -1
  113. package/dist/actions/delete-sending-domain.mjs +1 -1
  114. package/dist/actions/delete-sending-domain.mjs.map +1 -1
  115. package/dist/actions/get-billing-usage.cjs +6 -6
  116. package/dist/actions/get-billing-usage.cjs.map +1 -1
  117. package/dist/actions/get-billing-usage.d.cts +42 -3
  118. package/dist/actions/get-billing-usage.d.cts.map +1 -1
  119. package/dist/actions/get-billing-usage.d.mts +42 -3
  120. package/dist/actions/get-billing-usage.d.mts.map +1 -1
  121. package/dist/actions/get-billing-usage.mjs +6 -6
  122. package/dist/actions/get-billing-usage.mjs.map +1 -1
  123. package/dist/actions/get-contact-export.cjs +1 -1
  124. package/dist/actions/get-contact-export.cjs.map +1 -1
  125. package/dist/actions/get-contact-export.d.cts +19 -3
  126. package/dist/actions/get-contact-export.d.cts.map +1 -1
  127. package/dist/actions/get-contact-export.d.mts +19 -3
  128. package/dist/actions/get-contact-export.d.mts.map +1 -1
  129. package/dist/actions/get-contact-export.mjs +1 -1
  130. package/dist/actions/get-contact-export.mjs.map +1 -1
  131. package/dist/actions/get-contact-field.cjs +1 -1
  132. package/dist/actions/get-contact-field.cjs.map +1 -1
  133. package/dist/actions/get-contact-field.d.cts +14 -3
  134. package/dist/actions/get-contact-field.d.cts.map +1 -1
  135. package/dist/actions/get-contact-field.d.mts +14 -3
  136. package/dist/actions/get-contact-field.d.mts.map +1 -1
  137. package/dist/actions/get-contact-field.mjs +1 -1
  138. package/dist/actions/get-contact-field.mjs.map +1 -1
  139. package/dist/actions/get-contact-import.cjs +2 -2
  140. package/dist/actions/get-contact-import.cjs.map +1 -1
  141. package/dist/actions/get-contact-import.d.cts +20 -3
  142. package/dist/actions/get-contact-import.d.cts.map +1 -1
  143. package/dist/actions/get-contact-import.d.mts +20 -3
  144. package/dist/actions/get-contact-import.d.mts.map +1 -1
  145. package/dist/actions/get-contact-import.mjs +2 -2
  146. package/dist/actions/get-contact-import.mjs.map +1 -1
  147. package/dist/actions/get-contact-list.cjs +1 -1
  148. package/dist/actions/get-contact-list.cjs.map +1 -1
  149. package/dist/actions/get-contact-list.d.cts +12 -3
  150. package/dist/actions/get-contact-list.d.cts.map +1 -1
  151. package/dist/actions/get-contact-list.d.mts +12 -3
  152. package/dist/actions/get-contact-list.d.mts.map +1 -1
  153. package/dist/actions/get-contact-list.mjs +1 -1
  154. package/dist/actions/get-contact-list.mjs.map +1 -1
  155. package/dist/actions/get-contact.cjs +3 -3
  156. package/dist/actions/get-contact.cjs.map +1 -1
  157. package/dist/actions/get-contact.d.cts +19 -3
  158. package/dist/actions/get-contact.d.cts.map +1 -1
  159. package/dist/actions/get-contact.d.mts +19 -3
  160. package/dist/actions/get-contact.d.mts.map +1 -1
  161. package/dist/actions/get-contact.mjs +3 -3
  162. package/dist/actions/get-contact.mjs.map +1 -1
  163. package/dist/actions/get-email-template.cjs +1 -1
  164. package/dist/actions/get-email-template.cjs.map +1 -1
  165. package/dist/actions/get-email-template.d.cts +19 -3
  166. package/dist/actions/get-email-template.d.cts.map +1 -1
  167. package/dist/actions/get-email-template.d.mts +19 -3
  168. package/dist/actions/get-email-template.d.mts.map +1 -1
  169. package/dist/actions/get-email-template.mjs +1 -1
  170. package/dist/actions/get-email-template.mjs.map +1 -1
  171. package/dist/actions/get-inbox.cjs +25 -25
  172. package/dist/actions/get-inbox.cjs.map +1 -1
  173. package/dist/actions/get-inbox.d.cts +39 -3
  174. package/dist/actions/get-inbox.d.cts.map +1 -1
  175. package/dist/actions/get-inbox.d.mts +39 -3
  176. package/dist/actions/get-inbox.d.mts.map +1 -1
  177. package/dist/actions/get-inbox.mjs +25 -25
  178. package/dist/actions/get-inbox.mjs.map +1 -1
  179. package/dist/actions/get-message-html.cjs +3 -3
  180. package/dist/actions/get-message-html.cjs.map +1 -1
  181. package/dist/actions/get-message-html.d.cts +14 -3
  182. package/dist/actions/get-message-html.d.cts.map +1 -1
  183. package/dist/actions/get-message-html.d.mts +14 -3
  184. package/dist/actions/get-message-html.d.mts.map +1 -1
  185. package/dist/actions/get-message-html.mjs +3 -3
  186. package/dist/actions/get-message-html.mjs.map +1 -1
  187. package/dist/actions/get-permission-resources.cjs +16 -16
  188. package/dist/actions/get-permission-resources.cjs.map +1 -1
  189. package/dist/actions/get-permission-resources.d.cts +26 -3
  190. package/dist/actions/get-permission-resources.d.cts.map +1 -1
  191. package/dist/actions/get-permission-resources.d.mts +26 -3
  192. package/dist/actions/get-permission-resources.d.mts.map +1 -1
  193. package/dist/actions/get-permission-resources.mjs +16 -16
  194. package/dist/actions/get-permission-resources.mjs.map +1 -1
  195. package/dist/actions/get-project.cjs +34 -34
  196. package/dist/actions/get-project.cjs.map +1 -1
  197. package/dist/actions/get-project.d.cts +53 -3
  198. package/dist/actions/get-project.d.cts.map +1 -1
  199. package/dist/actions/get-project.d.mts +53 -3
  200. package/dist/actions/get-project.d.mts.map +1 -1
  201. package/dist/actions/get-project.mjs +34 -34
  202. package/dist/actions/get-project.mjs.map +1 -1
  203. package/dist/actions/get-sending-domain.cjs +3 -3
  204. package/dist/actions/get-sending-domain.cjs.map +1 -1
  205. package/dist/actions/get-sending-domain.d.cts +46 -3
  206. package/dist/actions/get-sending-domain.d.cts.map +1 -1
  207. package/dist/actions/get-sending-domain.d.mts +46 -3
  208. package/dist/actions/get-sending-domain.d.mts.map +1 -1
  209. package/dist/actions/get-sending-domain.mjs +3 -3
  210. package/dist/actions/get-sending-domain.mjs.map +1 -1
  211. package/dist/actions/get-sending-stats-by-categories.cjs +4 -4
  212. package/dist/actions/get-sending-stats-by-categories.cjs.map +1 -1
  213. package/dist/actions/get-sending-stats-by-categories.d.cts +35 -3
  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 +35 -3
  216. package/dist/actions/get-sending-stats-by-categories.d.mts.map +1 -1
  217. package/dist/actions/get-sending-stats-by-categories.mjs +4 -4
  218. package/dist/actions/get-sending-stats-by-categories.mjs.map +1 -1
  219. package/dist/actions/get-sending-stats-by-date.cjs +4 -4
  220. package/dist/actions/get-sending-stats-by-date.cjs.map +1 -1
  221. package/dist/actions/get-sending-stats-by-date.d.cts +35 -3
  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 +35 -3
  224. package/dist/actions/get-sending-stats-by-date.d.mts.map +1 -1
  225. package/dist/actions/get-sending-stats-by-date.mjs +4 -4
  226. package/dist/actions/get-sending-stats-by-date.mjs.map +1 -1
  227. package/dist/actions/get-sending-stats-by-domains.cjs +4 -4
  228. package/dist/actions/get-sending-stats-by-domains.cjs.map +1 -1
  229. package/dist/actions/get-sending-stats-by-domains.d.cts +35 -3
  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 +35 -3
  232. package/dist/actions/get-sending-stats-by-domains.d.mts.map +1 -1
  233. package/dist/actions/get-sending-stats-by-domains.mjs +4 -4
  234. package/dist/actions/get-sending-stats-by-domains.mjs.map +1 -1
  235. package/dist/actions/get-sending-stats-by-esp.cjs +3 -3
  236. package/dist/actions/get-sending-stats-by-esp.cjs.map +1 -1
  237. package/dist/actions/get-sending-stats-by-esp.d.cts +35 -3
  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 +35 -3
  240. package/dist/actions/get-sending-stats-by-esp.d.mts.map +1 -1
  241. package/dist/actions/get-sending-stats-by-esp.mjs +3 -3
  242. package/dist/actions/get-sending-stats-by-esp.mjs.map +1 -1
  243. package/dist/actions/get-sending-stats.cjs +1 -1
  244. package/dist/actions/get-sending-stats.cjs.map +1 -1
  245. package/dist/actions/get-sending-stats.d.cts +30 -3
  246. package/dist/actions/get-sending-stats.d.cts.map +1 -1
  247. package/dist/actions/get-sending-stats.d.mts +30 -3
  248. package/dist/actions/get-sending-stats.d.mts.map +1 -1
  249. package/dist/actions/get-sending-stats.mjs +1 -1
  250. package/dist/actions/get-sending-stats.mjs.map +1 -1
  251. package/dist/actions/import-contacts.cjs +2 -2
  252. package/dist/actions/import-contacts.cjs.map +1 -1
  253. package/dist/actions/import-contacts.d.cts +26 -3
  254. package/dist/actions/import-contacts.d.cts.map +1 -1
  255. package/dist/actions/import-contacts.d.mts +26 -3
  256. package/dist/actions/import-contacts.d.mts.map +1 -1
  257. package/dist/actions/import-contacts.mjs +2 -2
  258. package/dist/actions/import-contacts.mjs.map +1 -1
  259. package/dist/actions/list-accounts.cjs +4 -4
  260. package/dist/actions/list-accounts.cjs.map +1 -1
  261. package/dist/actions/list-accounts.d.cts +9 -3
  262. package/dist/actions/list-accounts.d.cts.map +1 -1
  263. package/dist/actions/list-accounts.d.mts +9 -3
  264. package/dist/actions/list-accounts.d.mts.map +1 -1
  265. package/dist/actions/list-accounts.mjs +4 -4
  266. package/dist/actions/list-accounts.mjs.map +1 -1
  267. package/dist/actions/list-contact-fields.cjs +2 -2
  268. package/dist/actions/list-contact-fields.cjs.map +1 -1
  269. package/dist/actions/list-contact-fields.d.cts +20 -3
  270. package/dist/actions/list-contact-fields.d.cts.map +1 -1
  271. package/dist/actions/list-contact-fields.d.mts +20 -3
  272. package/dist/actions/list-contact-fields.d.mts.map +1 -1
  273. package/dist/actions/list-contact-fields.mjs +2 -2
  274. package/dist/actions/list-contact-fields.mjs.map +1 -1
  275. package/dist/actions/list-contact-lists.cjs +4 -4
  276. package/dist/actions/list-contact-lists.cjs.map +1 -1
  277. package/dist/actions/list-contact-lists.d.cts +12 -3
  278. package/dist/actions/list-contact-lists.d.cts.map +1 -1
  279. package/dist/actions/list-contact-lists.d.mts +12 -3
  280. package/dist/actions/list-contact-lists.d.mts.map +1 -1
  281. package/dist/actions/list-contact-lists.mjs +4 -4
  282. package/dist/actions/list-contact-lists.mjs.map +1 -1
  283. package/dist/actions/list-email-templates.cjs +2 -2
  284. package/dist/actions/list-email-templates.cjs.map +1 -1
  285. package/dist/actions/list-email-templates.d.cts +19 -3
  286. package/dist/actions/list-email-templates.d.cts.map +1 -1
  287. package/dist/actions/list-email-templates.d.mts +19 -3
  288. package/dist/actions/list-email-templates.d.mts.map +1 -1
  289. package/dist/actions/list-email-templates.mjs +2 -2
  290. package/dist/actions/list-email-templates.mjs.map +1 -1
  291. package/dist/actions/list-inboxes.cjs +25 -25
  292. package/dist/actions/list-inboxes.cjs.map +1 -1
  293. package/dist/actions/list-inboxes.d.cts +43 -3
  294. package/dist/actions/list-inboxes.d.cts.map +1 -1
  295. package/dist/actions/list-inboxes.d.mts +43 -3
  296. package/dist/actions/list-inboxes.d.mts.map +1 -1
  297. package/dist/actions/list-inboxes.mjs +25 -25
  298. package/dist/actions/list-inboxes.mjs.map +1 -1
  299. package/dist/actions/list-messages.cjs +7 -7
  300. package/dist/actions/list-messages.cjs.map +1 -1
  301. package/dist/actions/list-messages.d.cts +55 -3
  302. package/dist/actions/list-messages.d.cts.map +1 -1
  303. package/dist/actions/list-messages.d.mts +55 -3
  304. package/dist/actions/list-messages.d.mts.map +1 -1
  305. package/dist/actions/list-messages.mjs +7 -7
  306. package/dist/actions/list-messages.mjs.map +1 -1
  307. package/dist/actions/list-projects.cjs +11 -11
  308. package/dist/actions/list-projects.cjs.map +1 -1
  309. package/dist/actions/list-projects.d.cts +46 -3
  310. package/dist/actions/list-projects.d.cts.map +1 -1
  311. package/dist/actions/list-projects.d.mts +46 -3
  312. package/dist/actions/list-projects.d.mts.map +1 -1
  313. package/dist/actions/list-projects.mjs +11 -11
  314. package/dist/actions/list-projects.mjs.map +1 -1
  315. package/dist/actions/list-sending-domains.cjs +4 -4
  316. package/dist/actions/list-sending-domains.cjs.map +1 -1
  317. package/dist/actions/list-sending-domains.d.cts +36 -3
  318. package/dist/actions/list-sending-domains.d.cts.map +1 -1
  319. package/dist/actions/list-sending-domains.d.mts +36 -3
  320. package/dist/actions/list-sending-domains.d.mts.map +1 -1
  321. package/dist/actions/list-sending-domains.mjs +4 -4
  322. package/dist/actions/list-sending-domains.mjs.map +1 -1
  323. package/dist/actions/list-suppressions.cjs +5 -5
  324. package/dist/actions/list-suppressions.cjs.map +1 -1
  325. package/dist/actions/list-suppressions.d.cts +25 -3
  326. package/dist/actions/list-suppressions.d.cts.map +1 -1
  327. package/dist/actions/list-suppressions.d.mts +25 -3
  328. package/dist/actions/list-suppressions.d.mts.map +1 -1
  329. package/dist/actions/list-suppressions.mjs +5 -5
  330. package/dist/actions/list-suppressions.mjs.map +1 -1
  331. package/dist/actions/mark-inbox-as-read.cjs +25 -25
  332. package/dist/actions/mark-inbox-as-read.cjs.map +1 -1
  333. package/dist/actions/mark-inbox-as-read.d.cts +43 -3
  334. package/dist/actions/mark-inbox-as-read.d.cts.map +1 -1
  335. package/dist/actions/mark-inbox-as-read.d.mts +43 -3
  336. package/dist/actions/mark-inbox-as-read.d.mts.map +1 -1
  337. package/dist/actions/mark-inbox-as-read.mjs +25 -25
  338. package/dist/actions/mark-inbox-as-read.mjs.map +1 -1
  339. package/dist/actions/reset-inbox-credentials.cjs +25 -25
  340. package/dist/actions/reset-inbox-credentials.cjs.map +1 -1
  341. package/dist/actions/reset-inbox-credentials.d.cts +43 -3
  342. package/dist/actions/reset-inbox-credentials.d.cts.map +1 -1
  343. package/dist/actions/reset-inbox-credentials.d.mts +43 -3
  344. package/dist/actions/reset-inbox-credentials.d.mts.map +1 -1
  345. package/dist/actions/reset-inbox-credentials.mjs +25 -25
  346. package/dist/actions/reset-inbox-credentials.mjs.map +1 -1
  347. package/dist/actions/update-contact-field.cjs +1 -1
  348. package/dist/actions/update-contact-field.cjs.map +1 -1
  349. package/dist/actions/update-contact-field.d.cts +24 -3
  350. package/dist/actions/update-contact-field.d.cts.map +1 -1
  351. package/dist/actions/update-contact-field.d.mts +24 -3
  352. package/dist/actions/update-contact-field.d.mts.map +1 -1
  353. package/dist/actions/update-contact-field.mjs +1 -1
  354. package/dist/actions/update-contact-field.mjs.map +1 -1
  355. package/dist/actions/update-contact-list.cjs +3 -3
  356. package/dist/actions/update-contact-list.cjs.map +1 -1
  357. package/dist/actions/update-contact-list.d.cts +14 -3
  358. package/dist/actions/update-contact-list.d.cts.map +1 -1
  359. package/dist/actions/update-contact-list.d.mts +14 -3
  360. package/dist/actions/update-contact-list.d.mts.map +1 -1
  361. package/dist/actions/update-contact-list.mjs +3 -3
  362. package/dist/actions/update-contact-list.mjs.map +1 -1
  363. package/dist/actions/update-contact.cjs +4 -4
  364. package/dist/actions/update-contact.cjs.map +1 -1
  365. package/dist/actions/update-contact.d.cts +40 -3
  366. package/dist/actions/update-contact.d.cts.map +1 -1
  367. package/dist/actions/update-contact.d.mts +40 -3
  368. package/dist/actions/update-contact.d.mts.map +1 -1
  369. package/dist/actions/update-contact.mjs +4 -4
  370. package/dist/actions/update-contact.mjs.map +1 -1
  371. package/dist/actions/update-email-template.cjs +1 -1
  372. package/dist/actions/update-email-template.cjs.map +1 -1
  373. package/dist/actions/update-email-template.d.cts +33 -3
  374. package/dist/actions/update-email-template.d.cts.map +1 -1
  375. package/dist/actions/update-email-template.d.mts +33 -3
  376. package/dist/actions/update-email-template.d.mts.map +1 -1
  377. package/dist/actions/update-email-template.mjs +1 -1
  378. package/dist/actions/update-email-template.mjs.map +1 -1
  379. package/dist/actions/update-inbox.cjs +25 -25
  380. package/dist/actions/update-inbox.cjs.map +1 -1
  381. package/dist/actions/update-inbox.d.cts +51 -3
  382. package/dist/actions/update-inbox.d.cts.map +1 -1
  383. package/dist/actions/update-inbox.d.mts +51 -3
  384. package/dist/actions/update-inbox.d.mts.map +1 -1
  385. package/dist/actions/update-inbox.mjs +25 -25
  386. package/dist/actions/update-inbox.mjs.map +1 -1
  387. package/dist/actions/update-project.cjs +36 -36
  388. package/dist/actions/update-project.cjs.map +1 -1
  389. package/dist/actions/update-project.d.cts +59 -3
  390. package/dist/actions/update-project.d.cts.map +1 -1
  391. package/dist/actions/update-project.d.mts +59 -3
  392. package/dist/actions/update-project.d.mts.map +1 -1
  393. package/dist/actions/update-project.mjs +36 -36
  394. package/dist/actions/update-project.mjs.map +1 -1
  395. package/dist/catalog.cjs +14 -1
  396. package/dist/catalog.cjs.map +1 -1
  397. package/dist/catalog.d.cts +13 -0
  398. package/dist/catalog.d.mts +13 -0
  399. package/dist/catalog.mjs +14 -1
  400. package/dist/catalog.mjs.map +1 -1
  401. package/package.json +2 -2
@@ -22,7 +22,7 @@ const MailtrapUpdateEmailTemplateOutput = zod.z.object({
22
22
  body_text: zod.z.string().describe("Plain text content of the email template").nullable().optional(),
23
23
  created_at: zod.z.string().describe("Timestamp when the template was created").nullable().optional(),
24
24
  updated_at: zod.z.string().describe("Timestamp when the template was last updated").nullable().optional()
25
- }).describe("Response schema for email template update operation.");
25
+ }).passthrough().describe("Response schema for email template update operation.");
26
26
  const mailtrapUpdateEmailTemplate = require_action.action("MAILTRAP_UPDATE_EMAIL_TEMPLATE", {
27
27
  slug: "mailtrap-update-email-template",
28
28
  name: "Update Email Template",
@@ -1 +1 @@
1
- {"version":3,"file":"update-email-template.cjs","names":["z","action"],"sources":["../../src/actions/update-email-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapUpdateEmailTemplateInput: z.ZodTypeAny = z.object({\n account_id: z.number().int().describe(\"Account ID to which the email template belongs\"),\n email_template: z.object({\n name: z.string().describe(\"Template name. Update this to change the template's display name.\").optional(),\n subject: z.string().describe(\"Email subject line. Update this to change the default subject for emails using this template.\").optional(),\n category: z.string().describe(\"Template category for organizing templates (e.g., 'Promotional', 'Transactional', 'Newsletter').\").optional(),\n body_html: z.string().describe(\"HTML content of the email template. Update this to change the template's HTML body content.\").optional(),\n body_text: z.string().describe(\"Plain text content of the email template. Provide a text alternative to the HTML content for better accessibility.\").optional(),\n}).describe(\"Email template data containing fields to update. At least name, subject, and category are required.\"),\n email_template_id: z.number().int().describe(\"Email template ID to update\"),\n}).describe(\"Request parameters for updating an email template.\");\nexport const MailtrapUpdateEmailTemplateOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the email template\").nullable().optional(),\n name: z.string().describe(\"Name of the email template\").nullable().optional(),\n uuid: z.string().describe(\"UUID of the email template\").nullable().optional(),\n subject: z.string().describe(\"Email subject line\").nullable().optional(),\n category: z.string().describe(\"Template category\").nullable().optional(),\n body_html: z.string().describe(\"HTML content of the email template\").nullable().optional(),\n body_text: z.string().describe(\"Plain text content of the email template\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the template was created\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the template was last updated\").nullable().optional(),\n}).describe(\"Response schema for email template update operation.\");\n\nexport const mailtrapUpdateEmailTemplate = action(\"MAILTRAP_UPDATE_EMAIL_TEMPLATE\", {\n slug: \"mailtrap-update-email-template\",\n name: \"Update Email Template\",\n description: \"Tool to update an existing email template in Mailtrap account. Use when you need to modify template properties such as name, subject, category, HTML body, or plain text body. All fields in the email_template object are optional - only provide the fields you want to update.\",\n input: MailtrapUpdateEmailTemplateInput,\n output: MailtrapUpdateEmailTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;CACtF,gBAAgBA,IAAAA,EAAE,OAAO;EACzB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;EACxG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;EACvI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;EAC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tG,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAElE,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-email-template.cjs","names":["z","action"],"sources":["../../src/actions/update-email-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapUpdateEmailTemplateInput = z.object({\n account_id: z.number().int().describe(\"Account ID to which the email template belongs\"),\n email_template: z.object({\n name: z.string().describe(\"Template name. Update this to change the template's display name.\").optional(),\n subject: z.string().describe(\"Email subject line. Update this to change the default subject for emails using this template.\").optional(),\n category: z.string().describe(\"Template category for organizing templates (e.g., 'Promotional', 'Transactional', 'Newsletter').\").optional(),\n body_html: z.string().describe(\"HTML content of the email template. Update this to change the template's HTML body content.\").optional(),\n body_text: z.string().describe(\"Plain text content of the email template. Provide a text alternative to the HTML content for better accessibility.\").optional(),\n}).describe(\"Email template data containing fields to update. At least name, subject, and category are required.\"),\n email_template_id: z.number().int().describe(\"Email template ID to update\"),\n}).describe(\"Request parameters for updating an email template.\");\nexport const MailtrapUpdateEmailTemplateOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the email template\").nullable().optional(),\n name: z.string().describe(\"Name of the email template\").nullable().optional(),\n uuid: z.string().describe(\"UUID of the email template\").nullable().optional(),\n subject: z.string().describe(\"Email subject line\").nullable().optional(),\n category: z.string().describe(\"Template category\").nullable().optional(),\n body_html: z.string().describe(\"HTML content of the email template\").nullable().optional(),\n body_text: z.string().describe(\"Plain text content of the email template\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the template was created\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the template was last updated\").nullable().optional(),\n}).passthrough().describe(\"Response schema for email template update operation.\");\n\nexport const mailtrapUpdateEmailTemplate = action(\"MAILTRAP_UPDATE_EMAIL_TEMPLATE\", {\n slug: \"mailtrap-update-email-template\",\n name: \"Update Email Template\",\n description: \"Tool to update an existing email template in Mailtrap account. Use when you need to modify template properties such as name, subject, category, HTML body, or plain text body. All fields in the email_template object are optional - only provide the fields you want to update.\",\n input: MailtrapUpdateEmailTemplateInput,\n output: MailtrapUpdateEmailTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;CACtF,gBAAgBA,IAAAA,EAAE,OAAO;EACzB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;EACxG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;EACvI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;EAC3I,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;EACvI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;CAChK,CAAC,CAAC,CAAC,SAAS,qGAAqG;CAC/G,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B;AAC5E,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,39 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-email-template.d.ts
4
- declare const MailtrapUpdateEmailTemplateInput: z.ZodTypeAny;
5
- declare const MailtrapUpdateEmailTemplateOutput: z.ZodTypeAny;
6
- declare const mailtrapUpdateEmailTemplate: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MailtrapUpdateEmailTemplateInput: z.ZodObject<{
5
+ account_id: z.ZodNumber;
6
+ email_template: z.ZodObject<{
7
+ name: z.ZodOptional<z.ZodString>;
8
+ subject: z.ZodOptional<z.ZodString>;
9
+ category: z.ZodOptional<z.ZodString>;
10
+ body_html: z.ZodOptional<z.ZodString>;
11
+ body_text: z.ZodOptional<z.ZodString>;
12
+ }, z.core.$strip>;
13
+ email_template_id: z.ZodNumber;
14
+ }, z.core.$strip>;
15
+ declare const MailtrapUpdateEmailTemplateOutput: z.ZodObject<{
16
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ subject: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ body_html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ body_text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ }, z.core.$loose>;
26
+ declare const mailtrapUpdateEmailTemplate: import("@keystrokehq/action").WorkflowActionDefinition<{
27
+ account_id: number;
28
+ email_template: {
29
+ name?: string | undefined;
30
+ subject?: string | undefined;
31
+ category?: string | undefined;
32
+ body_html?: string | undefined;
33
+ body_text?: string | undefined;
34
+ };
35
+ email_template_id: number;
36
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
37
  //#endregion
8
38
  export { mailtrapUpdateEmailTemplate };
9
39
  //# sourceMappingURL=update-email-template.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-email-template.d.cts","names":[],"sources":["../../src/actions/update-email-template.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAUgB;AAAA,cACpD,iCAAA,EAAmC,CAAA,CAAE,UAUiB;AAAA,cAEtD,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-email-template.d.cts","names":[],"sources":["../../src/actions/update-email-template.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;cAWhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;cAYjC,2BAAA,gCAA2B,wBAAA"}
@@ -1,9 +1,39 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-email-template.d.ts
4
- declare const MailtrapUpdateEmailTemplateInput: z.ZodTypeAny;
5
- declare const MailtrapUpdateEmailTemplateOutput: z.ZodTypeAny;
6
- declare const mailtrapUpdateEmailTemplate: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MailtrapUpdateEmailTemplateInput: z.ZodObject<{
5
+ account_id: z.ZodNumber;
6
+ email_template: z.ZodObject<{
7
+ name: z.ZodOptional<z.ZodString>;
8
+ subject: z.ZodOptional<z.ZodString>;
9
+ category: z.ZodOptional<z.ZodString>;
10
+ body_html: z.ZodOptional<z.ZodString>;
11
+ body_text: z.ZodOptional<z.ZodString>;
12
+ }, z.core.$strip>;
13
+ email_template_id: z.ZodNumber;
14
+ }, z.core.$strip>;
15
+ declare const MailtrapUpdateEmailTemplateOutput: z.ZodObject<{
16
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ subject: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ body_html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ body_text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ }, z.core.$loose>;
26
+ declare const mailtrapUpdateEmailTemplate: import("@keystrokehq/action").WorkflowActionDefinition<{
27
+ account_id: number;
28
+ email_template: {
29
+ name?: string | undefined;
30
+ subject?: string | undefined;
31
+ category?: string | undefined;
32
+ body_html?: string | undefined;
33
+ body_text?: string | undefined;
34
+ };
35
+ email_template_id: number;
36
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
37
  //#endregion
8
38
  export { mailtrapUpdateEmailTemplate };
9
39
  //# sourceMappingURL=update-email-template.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-email-template.d.mts","names":[],"sources":["../../src/actions/update-email-template.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAUgB;AAAA,cACpD,iCAAA,EAAmC,CAAA,CAAE,UAUiB;AAAA,cAEtD,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-email-template.d.mts","names":[],"sources":["../../src/actions/update-email-template.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;cAWhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;cAYjC,2BAAA,gCAA2B,wBAAA"}
@@ -25,7 +25,7 @@ const mailtrapUpdateEmailTemplate = action("MAILTRAP_UPDATE_EMAIL_TEMPLATE", {
25
25
  body_text: z.string().describe("Plain text content of the email template").nullable().optional(),
26
26
  created_at: z.string().describe("Timestamp when the template was created").nullable().optional(),
27
27
  updated_at: z.string().describe("Timestamp when the template was last updated").nullable().optional()
28
- }).describe("Response schema for email template update operation.")
28
+ }).passthrough().describe("Response schema for email template update operation.")
29
29
  });
30
30
  //#endregion
31
31
  export { mailtrapUpdateEmailTemplate };
@@ -1 +1 @@
1
- {"version":3,"file":"update-email-template.mjs","names":[],"sources":["../../src/actions/update-email-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapUpdateEmailTemplateInput: z.ZodTypeAny = z.object({\n account_id: z.number().int().describe(\"Account ID to which the email template belongs\"),\n email_template: z.object({\n name: z.string().describe(\"Template name. Update this to change the template's display name.\").optional(),\n subject: z.string().describe(\"Email subject line. Update this to change the default subject for emails using this template.\").optional(),\n category: z.string().describe(\"Template category for organizing templates (e.g., 'Promotional', 'Transactional', 'Newsletter').\").optional(),\n body_html: z.string().describe(\"HTML content of the email template. Update this to change the template's HTML body content.\").optional(),\n body_text: z.string().describe(\"Plain text content of the email template. Provide a text alternative to the HTML content for better accessibility.\").optional(),\n}).describe(\"Email template data containing fields to update. At least name, subject, and category are required.\"),\n email_template_id: z.number().int().describe(\"Email template ID to update\"),\n}).describe(\"Request parameters for updating an email template.\");\nexport const MailtrapUpdateEmailTemplateOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the email template\").nullable().optional(),\n name: z.string().describe(\"Name of the email template\").nullable().optional(),\n uuid: z.string().describe(\"UUID of the email template\").nullable().optional(),\n subject: z.string().describe(\"Email subject line\").nullable().optional(),\n category: z.string().describe(\"Template category\").nullable().optional(),\n body_html: z.string().describe(\"HTML content of the email template\").nullable().optional(),\n body_text: z.string().describe(\"Plain text content of the email template\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the template was created\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the template was last updated\").nullable().optional(),\n}).describe(\"Response schema for email template update operation.\");\n\nexport const mailtrapUpdateEmailTemplate = action(\"MAILTRAP_UPDATE_EMAIL_TEMPLATE\", {\n slug: \"mailtrap-update-email-template\",\n name: \"Update Email Template\",\n description: \"Tool to update an existing email template in Mailtrap account. Use when you need to modify template properties such as name, subject, category, HTML body, or plain text body. All fields in the email_template object are optional - only provide the fields you want to update.\",\n input: MailtrapUpdateEmailTemplateInput,\n output: MailtrapUpdateEmailTemplateOutput,\n});\n"],"mappings":";;AA2BA,MAAa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,SAAS;EACzF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,CAAC,CAAC,CAAC,SAAS,sDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"update-email-template.mjs","names":[],"sources":["../../src/actions/update-email-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapUpdateEmailTemplateInput = z.object({\n account_id: z.number().int().describe(\"Account ID to which the email template belongs\"),\n email_template: z.object({\n name: z.string().describe(\"Template name. Update this to change the template's display name.\").optional(),\n subject: z.string().describe(\"Email subject line. Update this to change the default subject for emails using this template.\").optional(),\n category: z.string().describe(\"Template category for organizing templates (e.g., 'Promotional', 'Transactional', 'Newsletter').\").optional(),\n body_html: z.string().describe(\"HTML content of the email template. Update this to change the template's HTML body content.\").optional(),\n body_text: z.string().describe(\"Plain text content of the email template. Provide a text alternative to the HTML content for better accessibility.\").optional(),\n}).describe(\"Email template data containing fields to update. At least name, subject, and category are required.\"),\n email_template_id: z.number().int().describe(\"Email template ID to update\"),\n}).describe(\"Request parameters for updating an email template.\");\nexport const MailtrapUpdateEmailTemplateOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the email template\").nullable().optional(),\n name: z.string().describe(\"Name of the email template\").nullable().optional(),\n uuid: z.string().describe(\"UUID of the email template\").nullable().optional(),\n subject: z.string().describe(\"Email subject line\").nullable().optional(),\n category: z.string().describe(\"Template category\").nullable().optional(),\n body_html: z.string().describe(\"HTML content of the email template\").nullable().optional(),\n body_text: z.string().describe(\"Plain text content of the email template\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the template was created\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the template was last updated\").nullable().optional(),\n}).passthrough().describe(\"Response schema for email template update operation.\");\n\nexport const mailtrapUpdateEmailTemplate = action(\"MAILTRAP_UPDATE_EMAIL_TEMPLATE\", {\n slug: \"mailtrap-update-email-template\",\n name: \"Update Email Template\",\n description: \"Tool to update an existing email template in Mailtrap account. Use when you need to modify template properties such as name, subject, category, HTML body, or plain text body. All fields in the email_template object are optional - only provide the fields you want to update.\",\n input: MailtrapUpdateEmailTemplateInput,\n output: MailtrapUpdateEmailTemplateOutput,\n});\n"],"mappings":";;AA2BA,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA3B8C,EAAE,OAAO;EACvD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;EACtF,gBAAgB,EAAE,OAAO;GACzB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;GACxG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;GACvI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;GAC3I,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;GACvI,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;EAChK,CAAC,CAAC,CAAC,SAAS,qGAAqG;EAC/G,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B;CAC5E,CAAC,CAAC,CAAC,SAAS,oDAiBH;CACP,QAjB+C,EAAE,OAAO;EACxD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAOhB;AACV,CAAC"}
@@ -10,41 +10,41 @@ const MailtrapUpdateInboxInput = zod.z.object({
10
10
  account_id: zod.z.number().int().describe("Unique account ID")
11
11
  }).describe("Request model for updating an inbox.");
12
12
  const MailtrapUpdateInbox_InboxPermissionsSchema = zod.z.object({
13
- can_read: zod.z.boolean().describe("Whether the inbox can be read"),
14
- can_leave: zod.z.boolean().describe("Whether the user can leave the inbox"),
15
- can_update: zod.z.boolean().describe("Whether the inbox can be updated"),
16
- can_destroy: zod.z.boolean().describe("Whether the inbox can be destroyed")
17
- }).describe("Permissions for the inbox.");
13
+ can_read: zod.z.boolean().describe("Whether the inbox can be read").nullable(),
14
+ can_leave: zod.z.boolean().describe("Whether the user can leave the inbox").nullable(),
15
+ can_update: zod.z.boolean().describe("Whether the inbox can be updated").nullable(),
16
+ can_destroy: zod.z.boolean().describe("Whether the inbox can be destroyed").nullable()
17
+ }).passthrough().describe("Permissions for the inbox.");
18
18
  const MailtrapUpdateInboxOutput = zod.z.object({
19
- id: zod.z.number().int().describe("Unique identifier of the inbox"),
20
- name: zod.z.string().describe("Name of the inbox"),
21
- used: zod.z.boolean().describe("Whether the inbox is being used"),
22
- domain: zod.z.string().describe("Domain for the inbox"),
19
+ id: zod.z.number().int().describe("Unique identifier of the inbox").nullable(),
20
+ name: zod.z.string().describe("Name of the inbox").nullable(),
21
+ used: zod.z.boolean().describe("Whether the inbox is being used").nullable(),
22
+ domain: zod.z.string().describe("Domain for the inbox").nullable(),
23
23
  status: zod.z.enum([
24
24
  "active",
25
25
  "inactive",
26
26
  "pending"
27
- ]).describe("Status of the inbox"),
28
- max_size: zod.z.number().int().describe("Maximum size for the inbox"),
27
+ ]).describe("Status of the inbox").nullable(),
28
+ max_size: zod.z.number().int().describe("Maximum size for the inbox").nullable(),
29
29
  password: zod.z.string().describe("Password is only available if you have admin permissions for the inbox").nullable().optional(),
30
- username: zod.z.string().describe("Username for the inbox"),
31
- api_domain: zod.z.string().describe("API domain for the inbox"),
30
+ username: zod.z.string().describe("Username for the inbox").nullable(),
31
+ api_domain: zod.z.string().describe("API domain for the inbox").nullable(),
32
32
  pop3_ports: zod.z.array(zod.z.number().int()).describe("List of POP3 ports"),
33
- project_id: zod.z.number().int().describe("Project ID associated with the inbox"),
33
+ project_id: zod.z.number().int().describe("Project ID associated with the inbox").nullable(),
34
34
  smtp_ports: zod.z.array(zod.z.number().int()).describe("List of SMTP ports"),
35
35
  permissions: MailtrapUpdateInbox_InboxPermissionsSchema.nullable(),
36
- pop3_domain: zod.z.string().describe("POP3 domain for the inbox"),
37
- email_domain: zod.z.string().describe("Email domain for the inbox"),
38
- emails_count: zod.z.number().int().describe("Total count of emails in the inbox"),
39
- email_username: zod.z.string().describe("Email username for the inbox"),
40
- max_message_size: zod.z.number().int().describe("Maximum message size in bytes"),
41
- emails_unread_count: zod.z.number().int().describe("Count of unread emails in the inbox"),
42
- sent_messages_count: zod.z.number().int().describe("Count of sent messages"),
36
+ pop3_domain: zod.z.string().describe("POP3 domain for the inbox").nullable(),
37
+ email_domain: zod.z.string().describe("Email domain for the inbox").nullable(),
38
+ emails_count: zod.z.number().int().describe("Total count of emails in the inbox").nullable(),
39
+ email_username: zod.z.string().describe("Email username for the inbox").nullable(),
40
+ max_message_size: zod.z.number().int().describe("Maximum message size in bytes").nullable(),
41
+ emails_unread_count: zod.z.number().int().describe("Count of unread emails in the inbox").nullable(),
42
+ sent_messages_count: zod.z.number().int().describe("Count of sent messages").nullable(),
43
43
  last_message_sent_at: zod.z.string().describe("Timestamp of the last message sent").nullable().optional(),
44
- email_username_enabled: zod.z.boolean().describe("Whether email username is enabled"),
45
- forwarded_messages_count: zod.z.number().int().describe("Count of forwarded messages"),
46
- forward_from_email_address: zod.z.string().describe("Email address to forward from")
47
- }).describe("Response model for update inbox action.");
44
+ email_username_enabled: zod.z.boolean().describe("Whether email username is enabled").nullable(),
45
+ forwarded_messages_count: zod.z.number().int().describe("Count of forwarded messages").nullable(),
46
+ forward_from_email_address: zod.z.string().describe("Email address to forward from").nullable()
47
+ }).passthrough().describe("Response model for update inbox action.");
48
48
  const mailtrapUpdateInbox = require_action.action("MAILTRAP_UPDATE_INBOX", {
49
49
  slug: "mailtrap-update-inbox",
50
50
  name: "Update inbox",
@@ -1 +1 @@
1
- {"version":3,"file":"update-inbox.cjs","names":["z","action"],"sources":["../../src/actions/update-inbox.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapUpdateInboxInput: z.ZodTypeAny = z.object({\n inbox: z.object({\n name: z.string().describe(\"New name for the inbox\").optional(),\n email_username: z.string().describe(\"Email username for the inbox\").optional(),\n}).describe(\"Inbox data to update. Provide at least one field (name or email_username) to update.\"),\n inbox_id: z.number().int().describe(\"Unique inbox ID\"),\n account_id: z.number().int().describe(\"Unique account ID\"),\n}).describe(\"Request model for updating an inbox.\");\nconst MailtrapUpdateInbox_InboxPermissionsSchema: z.ZodTypeAny = z.object({\n can_read: z.boolean().describe(\"Whether the inbox can be read\"),\n can_leave: z.boolean().describe(\"Whether the user can leave the inbox\"),\n can_update: z.boolean().describe(\"Whether the inbox can be updated\"),\n can_destroy: z.boolean().describe(\"Whether the inbox can be destroyed\"),\n}).describe(\"Permissions for the inbox.\");\nexport const MailtrapUpdateInboxOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the inbox\"),\n name: z.string().describe(\"Name of the inbox\"),\n used: z.boolean().describe(\"Whether the inbox is being used\"),\n domain: z.string().describe(\"Domain for the inbox\"),\n status: z.enum([\"active\", \"inactive\", \"pending\"]).describe(\"Status of the inbox\"),\n max_size: z.number().int().describe(\"Maximum size for the inbox\"),\n password: z.string().describe(\"Password is only available if you have admin permissions for the inbox\").nullable().optional(),\n username: z.string().describe(\"Username for 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\"),\n project_id: z.number().int().describe(\"Project ID associated with the inbox\"),\n smtp_ports: z.array(z.number().int()).describe(\"List of SMTP ports\"),\n permissions: MailtrapUpdateInbox_InboxPermissionsSchema.nullable(),\n pop3_domain: z.string().describe(\"POP3 domain for the inbox\"),\n email_domain: z.string().describe(\"Email domain for the inbox\"),\n emails_count: z.number().int().describe(\"Total count 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 in bytes\"),\n emails_unread_count: z.number().int().describe(\"Count of unread emails in the inbox\"),\n sent_messages_count: z.number().int().describe(\"Count of sent messages\"),\n last_message_sent_at: z.string().describe(\"Timestamp of the last message sent\").nullable().optional(),\n email_username_enabled: z.boolean().describe(\"Whether email username is enabled\"),\n forwarded_messages_count: z.number().int().describe(\"Count of forwarded messages\"),\n forward_from_email_address: z.string().describe(\"Email address to forward from\"),\n}).describe(\"Response model for update inbox action.\");\n\nexport const mailtrapUpdateInbox = action(\"MAILTRAP_UPDATE_INBOX\", {\n slug: \"mailtrap-update-inbox\",\n name: \"Update inbox\",\n description: \"Tool to update an inbox's settings in Mailtrap. Use when you need to change the inbox name or email username.\",\n input: MailtrapUpdateInboxInput,\n output: MailtrapUpdateInboxOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,OAAOA,IAAAA,EAAE,OAAO;EAChB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EAC7D,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAC/E,CAAC,CAAC,CAAC,SAAS,sFAAsF;CAChG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iBAAiB;CACrD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB;AAC3D,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAM,6CAA2DA,IAAAA,EAAE,OAAO;CACxE,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+BAA+B;CAC9D,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC;CACtE,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC;CACnE,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC;AACxE,CAAC,CAAC,CAAC,SAAS,4BAA4B;AACxC,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CAC7C,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC;CAC5D,QAAQA,I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AwB;CACvE,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,wBAAwBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC;CAChF,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B;CACjF,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;AACjF,CAAC,CAAC,CAAC,SAAS,yCAAyC;AAErD,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-inbox.cjs","names":["z","action"],"sources":["../../src/actions/update-inbox.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapUpdateInboxInput = z.object({\n inbox: z.object({\n name: z.string().describe(\"New name for the inbox\").optional(),\n email_username: z.string().describe(\"Email username for the inbox\").optional(),\n}).describe(\"Inbox data to update. Provide at least one field (name or email_username) to update.\"),\n inbox_id: z.number().int().describe(\"Unique inbox ID\"),\n account_id: z.number().int().describe(\"Unique account ID\"),\n}).describe(\"Request model for updating an inbox.\");\nconst MailtrapUpdateInbox_InboxPermissionsSchema = z.object({\n can_read: z.boolean().describe(\"Whether the inbox can be read\").nullable(),\n can_leave: z.boolean().describe(\"Whether the user can leave the inbox\").nullable(),\n can_update: z.boolean().describe(\"Whether the inbox can be updated\").nullable(),\n can_destroy: z.boolean().describe(\"Whether the inbox can be destroyed\").nullable(),\n}).passthrough().describe(\"Permissions for the inbox.\");\nexport const MailtrapUpdateInboxOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the inbox\").nullable(),\n name: z.string().describe(\"Name of the inbox\").nullable(),\n used: z.boolean().describe(\"Whether the inbox is being used\").nullable(),\n domain: z.string().describe(\"Domain for the inbox\").nullable(),\n status: z.enum([\"active\", \"inactive\", \"pending\"]).describe(\"Status of the inbox\").nullable(),\n max_size: z.number().int().describe(\"Maximum size for the inbox\").nullable(),\n password: z.string().describe(\"Password is only available if you have admin permissions for the inbox\").nullable().optional(),\n username: z.string().describe(\"Username for 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\"),\n project_id: z.number().int().describe(\"Project ID associated with the inbox\").nullable(),\n smtp_ports: z.array(z.number().int()).describe(\"List of SMTP ports\"),\n permissions: MailtrapUpdateInbox_InboxPermissionsSchema.nullable(),\n pop3_domain: z.string().describe(\"POP3 domain for the inbox\").nullable(),\n email_domain: z.string().describe(\"Email domain for the inbox\").nullable(),\n emails_count: z.number().int().describe(\"Total count 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 in bytes\").nullable(),\n emails_unread_count: z.number().int().describe(\"Count of unread emails in the inbox\").nullable(),\n sent_messages_count: z.number().int().describe(\"Count of sent messages\").nullable(),\n last_message_sent_at: z.string().describe(\"Timestamp of the last message sent\").nullable().optional(),\n email_username_enabled: z.boolean().describe(\"Whether email username is enabled\").nullable(),\n forwarded_messages_count: z.number().int().describe(\"Count of forwarded messages\").nullable(),\n forward_from_email_address: z.string().describe(\"Email address to forward from\").nullable(),\n}).passthrough().describe(\"Response model for update inbox action.\");\n\nexport const mailtrapUpdateInbox = action(\"MAILTRAP_UPDATE_INBOX\", {\n slug: \"mailtrap-update-inbox\",\n name: \"Update inbox\",\n description: \"Tool to update an inbox's settings in Mailtrap. Use when you need to change the inbox name or email username.\",\n input: MailtrapUpdateInboxInput,\n output: MailtrapUpdateInboxOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,OAAOA,IAAAA,EAAE,OAAO;EAChB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,S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,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAClF,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,wBAAwBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC3F,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAC5F,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAEnE,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,57 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-inbox.d.ts
4
- declare const MailtrapUpdateInboxInput: z.ZodTypeAny;
5
- declare const MailtrapUpdateInboxOutput: z.ZodTypeAny;
6
- declare const mailtrapUpdateInbox: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MailtrapUpdateInboxInput: z.ZodObject<{
5
+ inbox: z.ZodObject<{
6
+ name: z.ZodOptional<z.ZodString>;
7
+ email_username: z.ZodOptional<z.ZodString>;
8
+ }, z.core.$strip>;
9
+ inbox_id: z.ZodNumber;
10
+ account_id: z.ZodNumber;
11
+ }, z.core.$strip>;
12
+ declare const MailtrapUpdateInboxOutput: z.ZodObject<{
13
+ id: z.ZodNullable<z.ZodNumber>;
14
+ name: z.ZodNullable<z.ZodString>;
15
+ used: z.ZodNullable<z.ZodBoolean>;
16
+ domain: z.ZodNullable<z.ZodString>;
17
+ status: z.ZodNullable<z.ZodEnum<{
18
+ pending: "pending";
19
+ active: "active";
20
+ inactive: "inactive";
21
+ }>>;
22
+ max_size: z.ZodNullable<z.ZodNumber>;
23
+ password: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ username: z.ZodNullable<z.ZodString>;
25
+ api_domain: z.ZodNullable<z.ZodString>;
26
+ pop3_ports: z.ZodArray<z.ZodNumber>;
27
+ project_id: z.ZodNullable<z.ZodNumber>;
28
+ smtp_ports: z.ZodArray<z.ZodNumber>;
29
+ permissions: z.ZodNullable<z.ZodObject<{
30
+ can_read: z.ZodNullable<z.ZodBoolean>;
31
+ can_leave: z.ZodNullable<z.ZodBoolean>;
32
+ can_update: z.ZodNullable<z.ZodBoolean>;
33
+ can_destroy: z.ZodNullable<z.ZodBoolean>;
34
+ }, z.core.$loose>>;
35
+ pop3_domain: z.ZodNullable<z.ZodString>;
36
+ email_domain: z.ZodNullable<z.ZodString>;
37
+ emails_count: z.ZodNullable<z.ZodNumber>;
38
+ email_username: z.ZodNullable<z.ZodString>;
39
+ max_message_size: z.ZodNullable<z.ZodNumber>;
40
+ emails_unread_count: z.ZodNullable<z.ZodNumber>;
41
+ sent_messages_count: z.ZodNullable<z.ZodNumber>;
42
+ last_message_sent_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43
+ email_username_enabled: z.ZodNullable<z.ZodBoolean>;
44
+ forwarded_messages_count: z.ZodNullable<z.ZodNumber>;
45
+ forward_from_email_address: z.ZodNullable<z.ZodString>;
46
+ }, z.core.$loose>;
47
+ declare const mailtrapUpdateInbox: import("@keystrokehq/action").WorkflowActionDefinition<{
48
+ inbox: {
49
+ name?: string | undefined;
50
+ email_username?: string | undefined;
51
+ };
52
+ inbox_id: number;
53
+ account_id: number;
54
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
55
  //#endregion
8
56
  export { mailtrapUpdateInbox };
9
57
  //# sourceMappingURL=update-inbox.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-inbox.d.cts","names":[],"sources":["../../src/actions/update-inbox.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAOU;AAAA,cAOtC,yBAAA,EAA2B,CAAA,CAAE,UAyBY;AAAA,cAEzC,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-inbox.d.cts","names":[],"sources":["../../src/actions/update-inbox.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;cAcxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA2BzB,mBAAA,gCAAmB,wBAAA"}
@@ -1,9 +1,57 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-inbox.d.ts
4
- declare const MailtrapUpdateInboxInput: z.ZodTypeAny;
5
- declare const MailtrapUpdateInboxOutput: z.ZodTypeAny;
6
- declare const mailtrapUpdateInbox: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MailtrapUpdateInboxInput: z.ZodObject<{
5
+ inbox: z.ZodObject<{
6
+ name: z.ZodOptional<z.ZodString>;
7
+ email_username: z.ZodOptional<z.ZodString>;
8
+ }, z.core.$strip>;
9
+ inbox_id: z.ZodNumber;
10
+ account_id: z.ZodNumber;
11
+ }, z.core.$strip>;
12
+ declare const MailtrapUpdateInboxOutput: z.ZodObject<{
13
+ id: z.ZodNullable<z.ZodNumber>;
14
+ name: z.ZodNullable<z.ZodString>;
15
+ used: z.ZodNullable<z.ZodBoolean>;
16
+ domain: z.ZodNullable<z.ZodString>;
17
+ status: z.ZodNullable<z.ZodEnum<{
18
+ pending: "pending";
19
+ active: "active";
20
+ inactive: "inactive";
21
+ }>>;
22
+ max_size: z.ZodNullable<z.ZodNumber>;
23
+ password: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ username: z.ZodNullable<z.ZodString>;
25
+ api_domain: z.ZodNullable<z.ZodString>;
26
+ pop3_ports: z.ZodArray<z.ZodNumber>;
27
+ project_id: z.ZodNullable<z.ZodNumber>;
28
+ smtp_ports: z.ZodArray<z.ZodNumber>;
29
+ permissions: z.ZodNullable<z.ZodObject<{
30
+ can_read: z.ZodNullable<z.ZodBoolean>;
31
+ can_leave: z.ZodNullable<z.ZodBoolean>;
32
+ can_update: z.ZodNullable<z.ZodBoolean>;
33
+ can_destroy: z.ZodNullable<z.ZodBoolean>;
34
+ }, z.core.$loose>>;
35
+ pop3_domain: z.ZodNullable<z.ZodString>;
36
+ email_domain: z.ZodNullable<z.ZodString>;
37
+ emails_count: z.ZodNullable<z.ZodNumber>;
38
+ email_username: z.ZodNullable<z.ZodString>;
39
+ max_message_size: z.ZodNullable<z.ZodNumber>;
40
+ emails_unread_count: z.ZodNullable<z.ZodNumber>;
41
+ sent_messages_count: z.ZodNullable<z.ZodNumber>;
42
+ last_message_sent_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43
+ email_username_enabled: z.ZodNullable<z.ZodBoolean>;
44
+ forwarded_messages_count: z.ZodNullable<z.ZodNumber>;
45
+ forward_from_email_address: z.ZodNullable<z.ZodString>;
46
+ }, z.core.$loose>;
47
+ declare const mailtrapUpdateInbox: import("@keystrokehq/action").WorkflowActionDefinition<{
48
+ inbox: {
49
+ name?: string | undefined;
50
+ email_username?: string | undefined;
51
+ };
52
+ inbox_id: number;
53
+ account_id: number;
54
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
55
  //#endregion
8
56
  export { mailtrapUpdateInbox };
9
57
  //# sourceMappingURL=update-inbox.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-inbox.d.mts","names":[],"sources":["../../src/actions/update-inbox.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAOU;AAAA,cAOtC,yBAAA,EAA2B,CAAA,CAAE,UAyBY;AAAA,cAEzC,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-inbox.d.mts","names":[],"sources":["../../src/actions/update-inbox.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;cAcxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA2BzB,mBAAA,gCAAmB,wBAAA"}
@@ -10,46 +10,46 @@ const MailtrapUpdateInboxInput = z.object({
10
10
  account_id: z.number().int().describe("Unique account ID")
11
11
  }).describe("Request model for updating an inbox.");
12
12
  const MailtrapUpdateInbox_InboxPermissionsSchema = z.object({
13
- can_read: z.boolean().describe("Whether the inbox can be read"),
14
- can_leave: z.boolean().describe("Whether the user can leave the inbox"),
15
- can_update: z.boolean().describe("Whether the inbox can be updated"),
16
- can_destroy: z.boolean().describe("Whether the inbox can be destroyed")
17
- }).describe("Permissions for the inbox.");
13
+ can_read: z.boolean().describe("Whether the inbox can be read").nullable(),
14
+ can_leave: z.boolean().describe("Whether the user can leave the inbox").nullable(),
15
+ can_update: z.boolean().describe("Whether the inbox can be updated").nullable(),
16
+ can_destroy: z.boolean().describe("Whether the inbox can be destroyed").nullable()
17
+ }).passthrough().describe("Permissions for the inbox.");
18
18
  const mailtrapUpdateInbox = action("MAILTRAP_UPDATE_INBOX", {
19
19
  slug: "mailtrap-update-inbox",
20
20
  name: "Update inbox",
21
21
  description: "Tool to update an inbox's settings in Mailtrap. Use when you need to change the inbox name or email username.",
22
22
  input: MailtrapUpdateInboxInput,
23
23
  output: z.object({
24
- id: z.number().int().describe("Unique identifier of the inbox"),
25
- name: z.string().describe("Name of the inbox"),
26
- used: z.boolean().describe("Whether the inbox is being used"),
27
- domain: z.string().describe("Domain for the inbox"),
24
+ id: z.number().int().describe("Unique identifier of the inbox").nullable(),
25
+ name: z.string().describe("Name of the inbox").nullable(),
26
+ used: z.boolean().describe("Whether the inbox is being used").nullable(),
27
+ domain: z.string().describe("Domain for the inbox").nullable(),
28
28
  status: z.enum([
29
29
  "active",
30
30
  "inactive",
31
31
  "pending"
32
- ]).describe("Status of the inbox"),
33
- max_size: z.number().int().describe("Maximum size for the inbox"),
32
+ ]).describe("Status of the inbox").nullable(),
33
+ max_size: z.number().int().describe("Maximum size for the inbox").nullable(),
34
34
  password: z.string().describe("Password is only available if you have admin permissions for the inbox").nullable().optional(),
35
- username: z.string().describe("Username for the inbox"),
36
- api_domain: z.string().describe("API domain for the inbox"),
35
+ username: z.string().describe("Username for the inbox").nullable(),
36
+ api_domain: z.string().describe("API domain for the inbox").nullable(),
37
37
  pop3_ports: z.array(z.number().int()).describe("List of POP3 ports"),
38
- project_id: z.number().int().describe("Project ID associated with the inbox"),
38
+ project_id: z.number().int().describe("Project ID associated with the inbox").nullable(),
39
39
  smtp_ports: z.array(z.number().int()).describe("List of SMTP ports"),
40
40
  permissions: MailtrapUpdateInbox_InboxPermissionsSchema.nullable(),
41
- pop3_domain: z.string().describe("POP3 domain for the inbox"),
42
- email_domain: z.string().describe("Email domain for the inbox"),
43
- emails_count: z.number().int().describe("Total count of emails in the inbox"),
44
- email_username: z.string().describe("Email username for the inbox"),
45
- max_message_size: z.number().int().describe("Maximum message size in bytes"),
46
- emails_unread_count: z.number().int().describe("Count of unread emails in the inbox"),
47
- sent_messages_count: z.number().int().describe("Count of sent messages"),
41
+ pop3_domain: z.string().describe("POP3 domain for the inbox").nullable(),
42
+ email_domain: z.string().describe("Email domain for the inbox").nullable(),
43
+ emails_count: z.number().int().describe("Total count of emails in the inbox").nullable(),
44
+ email_username: z.string().describe("Email username for the inbox").nullable(),
45
+ max_message_size: z.number().int().describe("Maximum message size in bytes").nullable(),
46
+ emails_unread_count: z.number().int().describe("Count of unread emails in the inbox").nullable(),
47
+ sent_messages_count: z.number().int().describe("Count of sent messages").nullable(),
48
48
  last_message_sent_at: z.string().describe("Timestamp of the last message sent").nullable().optional(),
49
- email_username_enabled: z.boolean().describe("Whether email username is enabled"),
50
- forwarded_messages_count: z.number().int().describe("Count of forwarded messages"),
51
- forward_from_email_address: z.string().describe("Email address to forward from")
52
- }).describe("Response model for update inbox action.")
49
+ email_username_enabled: z.boolean().describe("Whether email username is enabled").nullable(),
50
+ forwarded_messages_count: z.number().int().describe("Count of forwarded messages").nullable(),
51
+ forward_from_email_address: z.string().describe("Email address to forward from").nullable()
52
+ }).passthrough().describe("Response model for update inbox action.")
53
53
  });
54
54
  //#endregion
55
55
  export { mailtrapUpdateInbox };
@@ -1 +1 @@
1
- {"version":3,"file":"update-inbox.mjs","names":[],"sources":["../../src/actions/update-inbox.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapUpdateInboxInput: z.ZodTypeAny = z.object({\n inbox: z.object({\n name: z.string().describe(\"New name for the inbox\").optional(),\n email_username: z.string().describe(\"Email username for the inbox\").optional(),\n}).describe(\"Inbox data to update. Provide at least one field (name or email_username) to update.\"),\n inbox_id: z.number().int().describe(\"Unique inbox ID\"),\n account_id: z.number().int().describe(\"Unique account ID\"),\n}).describe(\"Request model for updating an inbox.\");\nconst MailtrapUpdateInbox_InboxPermissionsSchema: z.ZodTypeAny = z.object({\n can_read: z.boolean().describe(\"Whether the inbox can be read\"),\n can_leave: z.boolean().describe(\"Whether the user can leave the inbox\"),\n can_update: z.boolean().describe(\"Whether the inbox can be updated\"),\n can_destroy: z.boolean().describe(\"Whether the inbox can be destroyed\"),\n}).describe(\"Permissions for the inbox.\");\nexport const MailtrapUpdateInboxOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the inbox\"),\n name: z.string().describe(\"Name of the inbox\"),\n used: z.boolean().describe(\"Whether the inbox is being used\"),\n domain: z.string().describe(\"Domain for the inbox\"),\n status: z.enum([\"active\", \"inactive\", \"pending\"]).describe(\"Status of the inbox\"),\n max_size: z.number().int().describe(\"Maximum size for the inbox\"),\n password: z.string().describe(\"Password is only available if you have admin permissions for the inbox\").nullable().optional(),\n username: z.string().describe(\"Username for 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\"),\n project_id: z.number().int().describe(\"Project ID associated with the inbox\"),\n smtp_ports: z.array(z.number().int()).describe(\"List of SMTP ports\"),\n permissions: MailtrapUpdateInbox_InboxPermissionsSchema.nullable(),\n pop3_domain: z.string().describe(\"POP3 domain for the inbox\"),\n email_domain: z.string().describe(\"Email domain for the inbox\"),\n emails_count: z.number().int().describe(\"Total count 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 in bytes\"),\n emails_unread_count: z.number().int().describe(\"Count of unread emails in the inbox\"),\n sent_messages_count: z.number().int().describe(\"Count of sent messages\"),\n last_message_sent_at: z.string().describe(\"Timestamp of the last message sent\").nullable().optional(),\n email_username_enabled: z.boolean().describe(\"Whether email username is enabled\"),\n forwarded_messages_count: z.number().int().describe(\"Count of forwarded messages\"),\n forward_from_email_address: z.string().describe(\"Email address to forward from\"),\n}).describe(\"Response model for update inbox action.\");\n\nexport const mailtrapUpdateInbox = action(\"MAILTRAP_UPDATE_INBOX\", {\n slug: \"mailtrap-update-inbox\",\n name: \"Update inbox\",\n description: \"Tool to update an inbox's settings in Mailtrap. Use when you need to change the inbox name or email username.\",\n input: MailtrapUpdateInboxInput,\n output: MailtrapUpdateInboxOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyC,EAAE,OAAO;CAC7D,OAAO,EAAE,OAAO;EAChB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CA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AAC,SAAS,0BAA0B;EAC1D,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,oBAAoB;EACnE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC;EAC5E,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,oBAAoB;EACnE,aAAa,2CAA2C,SAAS;EACjE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EAC5D,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;EAC9D,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC;EAC5E,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;EAClE,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B;EAC3E,qBAAqB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC;EACpF,qBAAqB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB;EACvE,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,wBAAwB,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC;EAChF,0BAA0B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B;EACjF,4BAA4B,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CACjF,CAAC,CAAC,CAAC,SAAS,yCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"update-inbox.mjs","names":[],"sources":["../../src/actions/update-inbox.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapUpdateInboxInput = z.object({\n inbox: z.object({\n name: z.string().describe(\"New name for the inbox\").optional(),\n email_username: z.string().describe(\"Email username for the inbox\").optional(),\n}).describe(\"Inbox data to update. Provide at least one field (name or email_username) to update.\"),\n inbox_id: z.number().int().describe(\"Unique inbox ID\"),\n account_id: z.number().int().describe(\"Unique account ID\"),\n}).describe(\"Request model for updating an inbox.\");\nconst MailtrapUpdateInbox_InboxPermissionsSchema = z.object({\n can_read: z.boolean().describe(\"Whether the inbox can be read\").nullable(),\n can_leave: z.boolean().describe(\"Whether the user can leave the inbox\").nullable(),\n can_update: z.boolean().describe(\"Whether the inbox can be updated\").nullable(),\n can_destroy: z.boolean().describe(\"Whether the inbox can be destroyed\").nullable(),\n}).passthrough().describe(\"Permissions for the inbox.\");\nexport const MailtrapUpdateInboxOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the inbox\").nullable(),\n name: z.string().describe(\"Name of the inbox\").nullable(),\n used: z.boolean().describe(\"Whether the inbox is being used\").nullable(),\n domain: z.string().describe(\"Domain for the inbox\").nullable(),\n status: z.enum([\"active\", \"inactive\", \"pending\"]).describe(\"Status of the inbox\").nullable(),\n max_size: z.number().int().describe(\"Maximum size for the inbox\").nullable(),\n password: z.string().describe(\"Password is only available if you have admin permissions for the inbox\").nullable().optional(),\n username: z.string().describe(\"Username for 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\"),\n project_id: z.number().int().describe(\"Project ID associated with the inbox\").nullable(),\n smtp_ports: z.array(z.number().int()).describe(\"List of SMTP ports\"),\n permissions: MailtrapUpdateInbox_InboxPermissionsSchema.nullable(),\n pop3_domain: z.string().describe(\"POP3 domain for the inbox\").nullable(),\n email_domain: z.string().describe(\"Email domain for the inbox\").nullable(),\n emails_count: z.number().int().describe(\"Total count 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 in bytes\").nullable(),\n emails_unread_count: z.number().int().describe(\"Count of unread emails in the inbox\").nullable(),\n sent_messages_count: z.number().int().describe(\"Count of sent messages\").nullable(),\n last_message_sent_at: z.string().describe(\"Timestamp of the last message sent\").nullable().optional(),\n email_username_enabled: z.boolean().describe(\"Whether email username is enabled\").nullable(),\n forwarded_messages_count: z.number().int().describe(\"Count of forwarded messages\").nullable(),\n forward_from_email_address: z.string().describe(\"Email address to forward from\").nullable(),\n}).passthrough().describe(\"Response model for update inbox action.\");\n\nexport const mailtrapUpdateInbox = action(\"MAILTRAP_UPDATE_INBOX\", {\n slug: \"mailtrap-update-inbox\",\n name: \"Update inbox\",\n description: \"Tool to update an inbox's settings in Mailtrap. Use when you need to change the inbox name or email username.\",\n input: MailtrapUpdateInboxInput,\n output: MailtrapUpdateInboxOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,OAAO,EAAE,OAAO;EAChB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EAC7D,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAC/E,CAAC,CAAC,CAAC,SAAS,sFAAsF;CAChG,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iBAAiB;CACrD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB;AAC3D,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAM,6CAA6C,EAAE,OAAO;CAC1D,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACzE,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACjF,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC9E,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,C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,4BAA4B,CAAC,CAAC,SAAS;EACzE,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EACvF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EAC7E,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACtF,qBAAqB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC/F,qBAAqB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EAClF,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,wBAAwB,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC3F,0BAA0B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EAC5F,4BAA4B,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAOhB;AACV,CAAC"}
@@ -7,54 +7,54 @@ const MailtrapUpdateProjectInput = zod.z.object({
7
7
  project_id: zod.z.number().int().describe("Unique project ID")
8
8
  }).describe("Request model for updating a project.");
9
9
  const MailtrapUpdateProject_InboxPermissionsSchema = zod.z.object({
10
- can_read: zod.z.boolean().describe("Whether the inbox can be read"),
11
- can_leave: zod.z.boolean().describe("Whether the user can leave the inbox"),
12
- can_update: zod.z.boolean().describe("Whether the inbox can be updated"),
13
- can_destroy: zod.z.boolean().describe("Whether the inbox can be destroyed")
14
- }).describe("Permissions for an inbox within the project.");
10
+ can_read: zod.z.boolean().describe("Whether the inbox can be read").nullable(),
11
+ can_leave: zod.z.boolean().describe("Whether the user can leave the inbox").nullable(),
12
+ can_update: zod.z.boolean().describe("Whether the inbox can be updated").nullable(),
13
+ can_destroy: zod.z.boolean().describe("Whether the inbox can be destroyed").nullable()
14
+ }).passthrough().describe("Permissions for an inbox within the project.");
15
15
  const MailtrapUpdateProject_ProjectInboxSchema = zod.z.object({
16
- id: zod.z.number().int().describe("Unique identifier of the inbox"),
17
- name: zod.z.string().describe("Name of the inbox"),
18
- used: zod.z.boolean().describe("Whether the inbox is being used"),
19
- domain: zod.z.string().describe("Domain for the inbox"),
20
- status: zod.z.string().describe("Status of the inbox (active, inactive, or pending)"),
21
- max_size: zod.z.number().int().describe("Maximum size for the inbox"),
16
+ id: zod.z.number().int().describe("Unique identifier of the inbox").nullable(),
17
+ name: zod.z.string().describe("Name of the inbox").nullable(),
18
+ used: zod.z.boolean().describe("Whether the inbox is being used").nullable(),
19
+ domain: zod.z.string().describe("Domain for the inbox").nullable(),
20
+ status: zod.z.string().describe("Status of the inbox (active, inactive, or pending)").nullable(),
21
+ max_size: zod.z.number().int().describe("Maximum size for the inbox").nullable(),
22
22
  password: zod.z.string().describe("Password for the inbox. Only available if you have admin permissions.").nullable().optional(),
23
- username: zod.z.string().describe("Username for the inbox"),
24
- api_domain: zod.z.string().describe("API domain for the inbox"),
23
+ username: zod.z.string().describe("Username for the inbox").nullable(),
24
+ api_domain: zod.z.string().describe("API domain for the inbox").nullable(),
25
25
  pop3_ports: zod.z.array(zod.z.number().int()).describe("List of POP3 ports for the inbox"),
26
- project_id: zod.z.number().int().describe("Project ID associated with the inbox"),
26
+ project_id: zod.z.number().int().describe("Project ID associated with the inbox").nullable(),
27
27
  smtp_ports: zod.z.array(zod.z.number().int()).describe("List of SMTP ports for the inbox"),
28
28
  permissions: MailtrapUpdateProject_InboxPermissionsSchema.nullable(),
29
- pop3_domain: zod.z.string().describe("POP3 domain for the inbox"),
30
- email_domain: zod.z.string().describe("Email domain for the inbox"),
31
- emails_count: zod.z.number().int().describe("Total count of emails in the inbox"),
32
- email_username: zod.z.string().describe("Email username for the inbox"),
33
- max_message_size: zod.z.number().int().describe("Maximum message size in bytes"),
34
- emails_unread_count: zod.z.number().int().describe("Count of unread emails in the inbox"),
35
- sent_messages_count: zod.z.number().int().describe("Count of sent messages"),
29
+ pop3_domain: zod.z.string().describe("POP3 domain for the inbox").nullable(),
30
+ email_domain: zod.z.string().describe("Email domain for the inbox").nullable(),
31
+ emails_count: zod.z.number().int().describe("Total count of emails in the inbox").nullable(),
32
+ email_username: zod.z.string().describe("Email username for the inbox").nullable(),
33
+ max_message_size: zod.z.number().int().describe("Maximum message size in bytes").nullable(),
34
+ emails_unread_count: zod.z.number().int().describe("Count of unread emails in the inbox").nullable(),
35
+ sent_messages_count: zod.z.number().int().describe("Count of sent messages").nullable(),
36
36
  last_message_sent_at: zod.z.string().describe("Timestamp of the last message sent. Null if no messages have been sent.").nullable().optional(),
37
- email_username_enabled: zod.z.boolean().describe("Whether email username is enabled"),
38
- forwarded_messages_count: zod.z.number().int().describe("Count of forwarded messages"),
39
- forward_from_email_address: zod.z.string().describe("Email address to forward from")
40
- }).describe("Inbox details within a project.");
37
+ email_username_enabled: zod.z.boolean().describe("Whether email username is enabled").nullable(),
38
+ forwarded_messages_count: zod.z.number().int().describe("Count of forwarded messages").nullable(),
39
+ forward_from_email_address: zod.z.string().describe("Email address to forward from").nullable()
40
+ }).passthrough().describe("Inbox details within a project.");
41
41
  const MailtrapUpdateProject_ProjectPermissionsSchema = zod.z.object({
42
- can_read: zod.z.boolean().describe("Whether the project can be read"),
43
- can_leave: zod.z.boolean().describe("Whether the user can leave the project"),
44
- can_update: zod.z.boolean().describe("Whether the project can be updated"),
45
- can_destroy: zod.z.boolean().describe("Whether the project can be destroyed")
46
- }).describe("Permissions for the project.");
42
+ can_read: zod.z.boolean().describe("Whether the project can be read").nullable(),
43
+ can_leave: zod.z.boolean().describe("Whether the user can leave the project").nullable(),
44
+ can_update: zod.z.boolean().describe("Whether the project can be updated").nullable(),
45
+ can_destroy: zod.z.boolean().describe("Whether the project can be destroyed").nullable()
46
+ }).passthrough().describe("Permissions for the project.");
47
47
  const MailtrapUpdateProject_ProjectShareLinksSchema = zod.z.object({
48
- admin: zod.z.string().describe("Admin share link for the project"),
49
- viewer: zod.z.string().describe("Viewer share link for the project")
50
- }).describe("Share links for the project.");
48
+ admin: zod.z.string().describe("Admin share link for the project").nullable(),
49
+ viewer: zod.z.string().describe("Viewer share link for the project").nullable()
50
+ }).passthrough().describe("Share links for the project.");
51
51
  const MailtrapUpdateProjectOutput = zod.z.object({
52
- id: zod.z.number().int().describe("Unique identifier of the project"),
53
- name: zod.z.string().describe("Name of the project"),
52
+ id: zod.z.number().int().describe("Unique identifier of the project").nullable(),
53
+ name: zod.z.string().describe("Name of the project").nullable(),
54
54
  inboxes: zod.z.array(MailtrapUpdateProject_ProjectInboxSchema).describe("List of inboxes associated with this project"),
55
55
  permissions: MailtrapUpdateProject_ProjectPermissionsSchema.nullable(),
56
56
  share_links: MailtrapUpdateProject_ProjectShareLinksSchema.nullable()
57
- }).describe("Response model for update project action.");
57
+ }).passthrough().describe("Response model for update project action.");
58
58
  const mailtrapUpdateProject = require_action.action("MAILTRAP_UPDATE_PROJECT", {
59
59
  slug: "mailtrap-update-project",
60
60
  name: "Update project",