@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
@@ -1,9 +1,34 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-contact-export.d.ts
4
- declare const MailtrapCreateContactExportInput: z.ZodTypeAny;
5
- declare const MailtrapCreateContactExportOutput: z.ZodTypeAny;
6
- declare const mailtrapCreateContactExport: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MailtrapCreateContactExportInput: z.ZodObject<{
5
+ filters: z.ZodArray<z.ZodObject<{
6
+ name: z.ZodString;
7
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodNumber>]>;
8
+ operator: z.ZodString;
9
+ }, z.core.$loose>>;
10
+ account_id: z.ZodNumber;
11
+ }, z.core.$strip>;
12
+ declare const MailtrapCreateContactExportOutput: z.ZodObject<{
13
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
16
+ created: "created";
17
+ started: "started";
18
+ finished: "finished";
19
+ }>>>;
20
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ }, z.core.$loose>;
23
+ declare const mailtrapCreateContactExport: import("@keystrokehq/action").WorkflowActionDefinition<{
24
+ filters: {
25
+ [x: string]: unknown;
26
+ name: string;
27
+ value: string | number[];
28
+ operator: string;
29
+ }[];
30
+ account_id: number;
31
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
32
  //#endregion
8
33
  export { mailtrapCreateContactExport };
9
34
  //# sourceMappingURL=create-contact-export.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-contact-export.d.mts","names":[],"sources":["../../src/actions/create-contact-export.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAO/C;AAAA,cAEW,iCAAA,EAAmC,CAAA,CAAE,UAMhD;AAAA,cAEW,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-contact-export.d.mts","names":[],"sources":["../../src/actions/create-contact-export.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;cAShC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;cAQjC,2BAAA,gCAA2B,wBAAA"}
@@ -6,7 +6,7 @@ const MailtrapCreateContactExportInput = z.object({
6
6
  name: z.string().describe("The name of the field to filter on. Common filter names include 'list_id' (array of integers) and 'subscription_status' (string value like 'subscribed', 'unsubscribed')."),
7
7
  value: z.union([z.string(), z.array(z.number().int())]),
8
8
  operator: z.string().describe("The comparison operator to use for filtering. Typically 'equal'.")
9
- }).describe("Filter to apply when exporting contacts")).describe("Array of filters to apply when exporting contacts. Each filter specifies a field name, operator, and value. Required - must contain at least one filter. Common filters: 'subscription_status' (values: 'subscribed', 'unsubscribed') or 'list_id' (array of list IDs)."),
9
+ }).passthrough().describe("Filter to apply when exporting contacts")).describe("Array of filters to apply when exporting contacts. Each filter specifies a field name, operator, and value. Required - must contain at least one filter. Common filters: 'subscription_status' (values: 'subscribed', 'unsubscribed') or 'list_id' (array of list IDs)."),
10
10
  account_id: z.number().int().describe("Unique account ID to create the contact export for")
11
11
  });
12
12
  const MailtrapCreateContactExport_ExportStatusSchema = z.enum([
@@ -25,7 +25,7 @@ const mailtrapCreateContactExport = action("MAILTRAP_CREATE_CONTACT_EXPORT", {
25
25
  status: MailtrapCreateContactExport_ExportStatusSchema.nullable().optional(),
26
26
  created_at: z.string().describe("ISO 8601 timestamp when the export was created.").nullable().optional(),
27
27
  updated_at: z.string().describe("ISO 8601 timestamp when the export was last updated.").nullable().optional()
28
- })
28
+ }).passthrough()
29
29
  });
30
30
  //#endregion
31
31
  export { mailtrapCreateContactExport };
@@ -1 +1 @@
1
- {"version":3,"file":"create-contact-export.mjs","names":[],"sources":["../../src/actions/create-contact-export.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapCreateContactExportInput: z.ZodTypeAny = z.object({\n filters: z.array(z.object({\n name: z.string().describe(\"The name of the field to filter on. Common filter names include 'list_id' (array of integers) and 'subscription_status' (string value like 'subscribed', 'unsubscribed').\"),\n value: z.union([z.string(), z.array(z.number().int())]),\n operator: z.string().describe(\"The comparison operator to use for filtering. Typically 'equal'.\"),\n}).describe(\"Filter to apply when exporting contacts\")).describe(\"Array of filters to apply when exporting contacts. Each filter specifies a field name, operator, and value. Required - must contain at least one filter. Common filters: 'subscription_status' (values: 'subscribed', 'unsubscribed') or 'list_id' (array of list IDs).\"),\n account_id: z.number().int().describe(\"Unique account ID to create the contact export for\"),\n});\nconst MailtrapCreateContactExport_ExportStatusSchema: z.ZodTypeAny = z.enum([\"created\", \"started\", \"finished\"]).describe(\"Status of the contact export.\");\nexport const MailtrapCreateContactExportOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"The unique identifier of the created export job\").nullable().optional(),\n url: z.string().describe(\"The URL of the exported contacts file. Only available when the export is finished.\").nullable().optional(),\n status: MailtrapCreateContactExport_ExportStatusSchema.nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the export was created.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the export was last updated.\").nullable().optional(),\n});\n\nexport const mailtrapCreateContactExport = action(\"MAILTRAP_CREATE_CONTACT_EXPORT\", {\n slug: \"mailtrap-create-contact-export\",\n name: \"Create Contact Export\",\n description: \"Tool to create a contact export job for a Mailtrap account. Use when you need to export contacts with filters. The export is processed asynchronously - the response includes a job ID and status. Check the status field; when it becomes 'finished', the url field will contain the download link for the exported contacts file. Filters are required - you must specify at least one filter such as subscription_status (subscribed/unsubscribed) or list_id (array of list IDs).\",\n input: MailtrapCreateContactExportInput,\n output: MailtrapCreateContactExportOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiD,EAAE,OAAO;CACrE,SAAS,EAAE,MAAM,EAAE,OAAO;EAC1B,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2KAA2K;EACrM,OAAO,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;EACtD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;CAClG,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,CAAC,SAAS,yQAAyQ;CACxU,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD;AAC5F,CAAC;AACD,MAAM,iDAA+D,EAAE,KAAK;CAAC;CAAW;CAAW;AAAU,CAAC,CAAC,CAAC,SAAS,+BAA+B;AASxJ,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb6D,EAAE,OAAO;EACtE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnI,QAAQ,+CAA+C,SAAS,CAAC,CAAC,SAAS;EAC3E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"create-contact-export.mjs","names":[],"sources":["../../src/actions/create-contact-export.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapCreateContactExportInput = z.object({\n filters: z.array(z.object({\n name: z.string().describe(\"The name of the field to filter on. Common filter names include 'list_id' (array of integers) and 'subscription_status' (string value like 'subscribed', 'unsubscribed').\"),\n value: z.union([z.string(), z.array(z.number().int())]),\n operator: z.string().describe(\"The comparison operator to use for filtering. Typically 'equal'.\"),\n}).passthrough().describe(\"Filter to apply when exporting contacts\")).describe(\"Array of filters to apply when exporting contacts. Each filter specifies a field name, operator, and value. Required - must contain at least one filter. Common filters: 'subscription_status' (values: 'subscribed', 'unsubscribed') or 'list_id' (array of list IDs).\"),\n account_id: z.number().int().describe(\"Unique account ID to create the contact export for\"),\n});\nconst MailtrapCreateContactExport_ExportStatusSchema = z.enum([\"created\", \"started\", \"finished\"]).describe(\"Status of the contact export.\");\nexport const MailtrapCreateContactExportOutput = z.object({\n id: z.number().int().describe(\"The unique identifier of the created export job\").nullable().optional(),\n url: z.string().describe(\"The URL of the exported contacts file. Only available when the export is finished.\").nullable().optional(),\n status: MailtrapCreateContactExport_ExportStatusSchema.nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the export was created.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the export was last updated.\").nullable().optional(),\n}).passthrough();\n\nexport const mailtrapCreateContactExport = action(\"MAILTRAP_CREATE_CONTACT_EXPORT\", {\n slug: \"mailtrap-create-contact-export\",\n name: \"Create Contact Export\",\n description: \"Tool to create a contact export job for a Mailtrap account. Use when you need to export contacts with filters. The export is processed asynchronously - the response includes a job ID and status. Check the status field; when it becomes 'finished', the url field will contain the download link for the exported contacts file. Filters are required - you must specify at least one filter such as subscription_status (subscribed/unsubscribed) or list_id (array of list IDs).\",\n input: MailtrapCreateContactExportInput,\n output: MailtrapCreateContactExportOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO;CACvD,SAAS,EAAE,MAAM,EAAE,OAAO;EAC1B,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2KAA2K;EACrM,OAAO,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;EACtD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;CAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,CAAC,SAAS,yQAAyQ;CACtV,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD;AAC5F,CAAC;AACD,MAAM,iDAAiD,EAAE,KAAK;CAAC;CAAW;CAAW;AAAU,CAAC,CAAC,CAAC,SAAS,+BAA+B;AAS1I,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb+C,EAAE,OAAO;EACxD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnI,QAAQ,+CAA+C,SAAS,CAAC,CAAC,SAAS;EAC3E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -18,7 +18,7 @@ const MailtrapCreateContactFieldOutput = zod.z.object({
18
18
  name: zod.z.string().describe("Name of the contact field").nullable().optional(),
19
19
  data_type: zod.z.string().describe("Data type of the contact field").nullable().optional(),
20
20
  merge_tag: zod.z.string().describe("Merge tag for the contact field").nullable().optional()
21
- });
21
+ }).passthrough();
22
22
  const mailtrapCreateContactField = require_action.action("MAILTRAP_CREATE_CONTACT_FIELD", {
23
23
  slug: "mailtrap-create-contact-field",
24
24
  name: "Create Contact Field",
@@ -1 +1 @@
1
- {"version":3,"file":"create-contact-field.cjs","names":["z","action"],"sources":["../../src/actions/create-contact-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapCreateContactFieldInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the contact field (max 80 characters)\"),\n data_type: z.enum([\"text\", \"integer\", \"float\", \"boolean\", \"date\"]).describe(\"Data type for the contact field. Choose from: text, integer, float, boolean, or date\"),\n merge_tag: z.string().describe(\"Personalize your campaigns by adding a merge tag. This field will be replaced with unique contact details for each recipient (max 80 characters)\"),\n account_id: z.number().int().describe(\"Unique account ID\"),\n});\nexport const MailtrapCreateContactFieldOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique ID of the created contact field\").nullable().optional(),\n name: z.string().describe(\"Name of the contact field\").nullable().optional(),\n data_type: z.string().describe(\"Data type of the contact field\").nullable().optional(),\n merge_tag: z.string().describe(\"Merge tag for the contact field\").nullable().optional(),\n});\n\nexport const mailtrapCreateContactField = action(\"MAILTRAP_CREATE_CONTACT_FIELD\", {\n slug: \"mailtrap-create-contact-field\",\n name: \"Create Contact Field\",\n description: \"Tool to create a custom contact field in Mailtrap. Use when you need to add new contact attributes for personalization and segmentation in email campaigns.\",\n input: MailtrapCreateContactFieldInput,\n output: MailtrapCreateContactFieldOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CACzE,WAAWA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAW;EAAS;EAAW;CAAM,CAAC,CAAC,CAAC,SAAS,sFAAsF;CAClK,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kJAAkJ;CACjL,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB;AAC3D,CAAC;AACD,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxF,CAAC;AAED,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-contact-field.cjs","names":["z","action"],"sources":["../../src/actions/create-contact-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapCreateContactFieldInput = z.object({\n name: z.string().describe(\"Name of the contact field (max 80 characters)\"),\n data_type: z.enum([\"text\", \"integer\", \"float\", \"boolean\", \"date\"]).describe(\"Data type for the contact field. Choose from: text, integer, float, boolean, or date\"),\n merge_tag: z.string().describe(\"Personalize your campaigns by adding a merge tag. This field will be replaced with unique contact details for each recipient (max 80 characters)\"),\n account_id: z.number().int().describe(\"Unique account ID\"),\n});\nexport const MailtrapCreateContactFieldOutput = z.object({\n id: z.number().int().describe(\"Unique ID of the created contact field\").nullable().optional(),\n name: z.string().describe(\"Name of the contact field\").nullable().optional(),\n data_type: z.string().describe(\"Data type of the contact field\").nullable().optional(),\n merge_tag: z.string().describe(\"Merge tag for the contact field\").nullable().optional(),\n}).passthrough();\n\nexport const mailtrapCreateContactField = action(\"MAILTRAP_CREATE_CONTACT_FIELD\", {\n slug: \"mailtrap-create-contact-field\",\n name: \"Create Contact Field\",\n description: \"Tool to create a custom contact field in Mailtrap. Use when you need to add new contact attributes for personalization and segmentation in email campaigns.\",\n input: MailtrapCreateContactFieldInput,\n output: MailtrapCreateContactFieldOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CACzE,WAAWA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAW;EAAS;EAAW;CAAM,CAAC,CAAC,CAAC,SAAS,sFAAsF;CAClK,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kJAAkJ;CACjL,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB;AAC3D,CAAC;AACD,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,30 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-contact-field.d.ts
4
- declare const MailtrapCreateContactFieldInput: z.ZodTypeAny;
5
- declare const MailtrapCreateContactFieldOutput: z.ZodTypeAny;
6
- declare const mailtrapCreateContactField: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MailtrapCreateContactFieldInput: z.ZodObject<{
5
+ name: z.ZodString;
6
+ data_type: z.ZodEnum<{
7
+ boolean: "boolean";
8
+ date: "date";
9
+ text: "text";
10
+ integer: "integer";
11
+ float: "float";
12
+ }>;
13
+ merge_tag: z.ZodString;
14
+ account_id: z.ZodNumber;
15
+ }, z.core.$strip>;
16
+ declare const MailtrapCreateContactFieldOutput: z.ZodObject<{
17
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
18
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ data_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ merge_tag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ }, z.core.$loose>;
22
+ declare const mailtrapCreateContactField: import("@keystrokehq/action").WorkflowActionDefinition<{
23
+ name: string;
24
+ data_type: "boolean" | "date" | "text" | "integer" | "float";
25
+ merge_tag: string;
26
+ account_id: number;
27
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
28
  //#endregion
8
29
  export { mailtrapCreateContactField };
9
30
  //# sourceMappingURL=create-contact-field.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-contact-field.d.cts","names":[],"sources":["../../src/actions/create-contact-field.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAK9C;AAAA,cACW,gCAAA,EAAkC,CAAA,CAAE,UAK/C;AAAA,cAEW,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-contact-field.d.cts","names":[],"sources":["../../src/actions/create-contact-field.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAM/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;cAOhC,0BAAA,gCAA0B,wBAAA"}
@@ -1,9 +1,30 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-contact-field.d.ts
4
- declare const MailtrapCreateContactFieldInput: z.ZodTypeAny;
5
- declare const MailtrapCreateContactFieldOutput: z.ZodTypeAny;
6
- declare const mailtrapCreateContactField: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MailtrapCreateContactFieldInput: z.ZodObject<{
5
+ name: z.ZodString;
6
+ data_type: z.ZodEnum<{
7
+ boolean: "boolean";
8
+ date: "date";
9
+ text: "text";
10
+ integer: "integer";
11
+ float: "float";
12
+ }>;
13
+ merge_tag: z.ZodString;
14
+ account_id: z.ZodNumber;
15
+ }, z.core.$strip>;
16
+ declare const MailtrapCreateContactFieldOutput: z.ZodObject<{
17
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
18
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ data_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ merge_tag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ }, z.core.$loose>;
22
+ declare const mailtrapCreateContactField: import("@keystrokehq/action").WorkflowActionDefinition<{
23
+ name: string;
24
+ data_type: "boolean" | "date" | "text" | "integer" | "float";
25
+ merge_tag: string;
26
+ account_id: number;
27
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
28
  //#endregion
8
29
  export { mailtrapCreateContactField };
9
30
  //# sourceMappingURL=create-contact-field.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-contact-field.d.mts","names":[],"sources":["../../src/actions/create-contact-field.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAK9C;AAAA,cACW,gCAAA,EAAkC,CAAA,CAAE,UAK/C;AAAA,cAEW,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-contact-field.d.mts","names":[],"sources":["../../src/actions/create-contact-field.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAM/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;cAOhC,0BAAA,gCAA0B,wBAAA"}
@@ -21,7 +21,7 @@ const mailtrapCreateContactField = action("MAILTRAP_CREATE_CONTACT_FIELD", {
21
21
  name: z.string().describe("Name of the contact field").nullable().optional(),
22
22
  data_type: z.string().describe("Data type of the contact field").nullable().optional(),
23
23
  merge_tag: z.string().describe("Merge tag for the contact field").nullable().optional()
24
- })
24
+ }).passthrough()
25
25
  });
26
26
  //#endregion
27
27
  export { mailtrapCreateContactField };
@@ -1 +1 @@
1
- {"version":3,"file":"create-contact-field.mjs","names":[],"sources":["../../src/actions/create-contact-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapCreateContactFieldInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the contact field (max 80 characters)\"),\n data_type: z.enum([\"text\", \"integer\", \"float\", \"boolean\", \"date\"]).describe(\"Data type for the contact field. Choose from: text, integer, float, boolean, or date\"),\n merge_tag: z.string().describe(\"Personalize your campaigns by adding a merge tag. This field will be replaced with unique contact details for each recipient (max 80 characters)\"),\n account_id: z.number().int().describe(\"Unique account ID\"),\n});\nexport const MailtrapCreateContactFieldOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique ID of the created contact field\").nullable().optional(),\n name: z.string().describe(\"Name of the contact field\").nullable().optional(),\n data_type: z.string().describe(\"Data type of the contact field\").nullable().optional(),\n merge_tag: z.string().describe(\"Merge tag for the contact field\").nullable().optional(),\n});\n\nexport const mailtrapCreateContactField = action(\"MAILTRAP_CREATE_CONTACT_FIELD\", {\n slug: \"mailtrap-create-contact-field\",\n name: \"Create Contact Field\",\n description: \"Tool to create a custom contact field in Mailtrap. Use when you need to add new contact attributes for personalization and segmentation in email campaigns.\",\n input: MailtrapCreateContactFieldInput,\n output: MailtrapCreateContactFieldOutput,\n});\n"],"mappings":";;AAiBA,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjB2D,EAAE,OAAO;EACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;EACzE,WAAW,EAAE,KAAK;GAAC;GAAQ;GAAW;GAAS;GAAW;EAAM,CAAC,CAAC,CAAC,SAAS,sFAAsF;EAClK,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kJAAkJ;EACjL,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB;CAC3D,CAYS;CACP,QAZ4D,EAAE,OAAO;EACrE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"create-contact-field.mjs","names":[],"sources":["../../src/actions/create-contact-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapCreateContactFieldInput = z.object({\n name: z.string().describe(\"Name of the contact field (max 80 characters)\"),\n data_type: z.enum([\"text\", \"integer\", \"float\", \"boolean\", \"date\"]).describe(\"Data type for the contact field. Choose from: text, integer, float, boolean, or date\"),\n merge_tag: z.string().describe(\"Personalize your campaigns by adding a merge tag. This field will be replaced with unique contact details for each recipient (max 80 characters)\"),\n account_id: z.number().int().describe(\"Unique account ID\"),\n});\nexport const MailtrapCreateContactFieldOutput = z.object({\n id: z.number().int().describe(\"Unique ID of the created contact field\").nullable().optional(),\n name: z.string().describe(\"Name of the contact field\").nullable().optional(),\n data_type: z.string().describe(\"Data type of the contact field\").nullable().optional(),\n merge_tag: z.string().describe(\"Merge tag for the contact field\").nullable().optional(),\n}).passthrough();\n\nexport const mailtrapCreateContactField = action(\"MAILTRAP_CREATE_CONTACT_FIELD\", {\n slug: \"mailtrap-create-contact-field\",\n name: \"Create Contact Field\",\n description: \"Tool to create a custom contact field in Mailtrap. Use when you need to add new contact attributes for personalization and segmentation in email campaigns.\",\n input: MailtrapCreateContactFieldInput,\n output: MailtrapCreateContactFieldOutput,\n});\n"],"mappings":";;AAiBA,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjB6C,EAAE,OAAO;EACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;EACzE,WAAW,EAAE,KAAK;GAAC;GAAQ;GAAW;GAAS;GAAW;EAAM,CAAC,CAAC,CAAC,SAAS,sFAAsF;EAClK,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kJAAkJ;EACjL,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB;CAC3D,CAYS;CACP,QAZ8C,EAAE,OAAO;EACvD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -6,9 +6,9 @@ const MailtrapCreateContactListInput = zod.z.object({
6
6
  account_id: zod.z.number().int().describe("Unique account ID")
7
7
  });
8
8
  const MailtrapCreateContactListOutput = zod.z.object({
9
- id: zod.z.number().int().describe("Unique identifier for the created contact list"),
10
- name: zod.z.string().describe("Name of the created contact list")
11
- });
9
+ id: zod.z.number().int().describe("Unique identifier for the created contact list").nullable(),
10
+ name: zod.z.string().describe("Name of the created contact list").nullable()
11
+ }).passthrough();
12
12
  const mailtrapCreateContactList = require_action.action("MAILTRAP_CREATE_CONTACT_LIST", {
13
13
  slug: "mailtrap-create-contact-list",
14
14
  name: "Create Contact List",
@@ -1 +1 @@
1
- {"version":3,"file":"create-contact-list.cjs","names":["z","action"],"sources":["../../src/actions/create-contact-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapCreateContactListInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the contact list to create. Maximum length is 255 characters.\"),\n account_id: z.number().int().describe(\"Unique account ID\"),\n});\nexport const MailtrapCreateContactListOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier for the created contact list\"),\n name: z.string().describe(\"Name of the created contact list\"),\n});\n\nexport const mailtrapCreateContactList = action(\"MAILTRAP_CREATE_CONTACT_LIST\", {\n slug: \"mailtrap-create-contact-list\",\n name: \"Create Contact List\",\n description: \"Tool to create a new contact list in Mailtrap. Use when you need to organize contacts into groups or segments. Each contact list has a unique ID and name that can be used to add contacts to it later.\",\n input: MailtrapCreateContactListInput,\n output: MailtrapCreateContactListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CACjG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB;AAC3D,CAAC;AACD,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;CAC9E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;AAC9D,CAAC;AAED,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-contact-list.cjs","names":["z","action"],"sources":["../../src/actions/create-contact-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapCreateContactListInput = z.object({\n name: z.string().describe(\"Name of the contact list to create. Maximum length is 255 characters.\"),\n account_id: z.number().int().describe(\"Unique account ID\"),\n});\nexport const MailtrapCreateContactListOutput = z.object({\n id: z.number().int().describe(\"Unique identifier for the created contact list\").nullable(),\n name: z.string().describe(\"Name of the created contact list\").nullable(),\n}).passthrough();\n\nexport const mailtrapCreateContactList = action(\"MAILTRAP_CREATE_CONTACT_LIST\", {\n slug: \"mailtrap-create-contact-list\",\n name: \"Create Contact List\",\n description: \"Tool to create a new contact list in Mailtrap. Use when you need to organize contacts into groups or segments. Each contact list has a unique ID and name that can be used to add contacts to it later.\",\n input: MailtrapCreateContactListInput,\n output: MailtrapCreateContactListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CACjG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB;AAC3D,CAAC;AACD,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACzF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AACzE,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,18 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-contact-list.d.ts
4
- declare const MailtrapCreateContactListInput: z.ZodTypeAny;
5
- declare const MailtrapCreateContactListOutput: z.ZodTypeAny;
6
- declare const mailtrapCreateContactList: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MailtrapCreateContactListInput: z.ZodObject<{
5
+ name: z.ZodString;
6
+ account_id: z.ZodNumber;
7
+ }, z.core.$strip>;
8
+ declare const MailtrapCreateContactListOutput: z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodNumber>;
10
+ name: z.ZodNullable<z.ZodString>;
11
+ }, z.core.$loose>;
12
+ declare const mailtrapCreateContactList: import("@keystrokehq/action").WorkflowActionDefinition<{
13
+ name: string;
14
+ account_id: number;
15
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
16
  //#endregion
8
17
  export { mailtrapCreateContactList };
9
18
  //# sourceMappingURL=create-contact-list.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-contact-list.d.cts","names":[],"sources":["../../src/actions/create-contact-list.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAG7C;AAAA,cACW,+BAAA,EAAiC,CAAA,CAAE,UAG9C;AAAA,cAEW,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-contact-list.d.cts","names":[],"sources":["../../src/actions/create-contact-list.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAI9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAK/B,yBAAA,gCAAyB,wBAAA"}
@@ -1,9 +1,18 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-contact-list.d.ts
4
- declare const MailtrapCreateContactListInput: z.ZodTypeAny;
5
- declare const MailtrapCreateContactListOutput: z.ZodTypeAny;
6
- declare const mailtrapCreateContactList: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MailtrapCreateContactListInput: z.ZodObject<{
5
+ name: z.ZodString;
6
+ account_id: z.ZodNumber;
7
+ }, z.core.$strip>;
8
+ declare const MailtrapCreateContactListOutput: z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodNumber>;
10
+ name: z.ZodNullable<z.ZodString>;
11
+ }, z.core.$loose>;
12
+ declare const mailtrapCreateContactList: import("@keystrokehq/action").WorkflowActionDefinition<{
13
+ name: string;
14
+ account_id: number;
15
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
16
  //#endregion
8
17
  export { mailtrapCreateContactList };
9
18
  //# sourceMappingURL=create-contact-list.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-contact-list.d.mts","names":[],"sources":["../../src/actions/create-contact-list.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAG7C;AAAA,cACW,+BAAA,EAAiC,CAAA,CAAE,UAG9C;AAAA,cAEW,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-contact-list.d.mts","names":[],"sources":["../../src/actions/create-contact-list.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAI9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAK/B,yBAAA,gCAAyB,wBAAA"}
@@ -9,9 +9,9 @@ const mailtrapCreateContactList = action("MAILTRAP_CREATE_CONTACT_LIST", {
9
9
  account_id: z.number().int().describe("Unique account ID")
10
10
  }),
11
11
  output: z.object({
12
- id: z.number().int().describe("Unique identifier for the created contact list"),
13
- name: z.string().describe("Name of the created contact list")
14
- })
12
+ id: z.number().int().describe("Unique identifier for the created contact list").nullable(),
13
+ name: z.string().describe("Name of the created contact list").nullable()
14
+ }).passthrough()
15
15
  });
16
16
  //#endregion
17
17
  export { mailtrapCreateContactList };
@@ -1 +1 @@
1
- {"version":3,"file":"create-contact-list.mjs","names":[],"sources":["../../src/actions/create-contact-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapCreateContactListInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the contact list to create. Maximum length is 255 characters.\"),\n account_id: z.number().int().describe(\"Unique account ID\"),\n});\nexport const MailtrapCreateContactListOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier for the created contact list\"),\n name: z.string().describe(\"Name of the created contact list\"),\n});\n\nexport const mailtrapCreateContactList = action(\"MAILTRAP_CREATE_CONTACT_LIST\", {\n slug: \"mailtrap-create-contact-list\",\n name: \"Create Contact List\",\n description: \"Tool to create a new contact list in Mailtrap. Use when you need to organize contacts into groups or segments. Each contact list has a unique ID and name that can be used to add contacts to it later.\",\n input: MailtrapCreateContactListInput,\n output: MailtrapCreateContactListOutput,\n});\n"],"mappings":";;AAaA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb0D,EAAE,OAAO;EACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;EACjG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB;CAC3D,CAUS;CACP,QAV2D,EAAE,OAAO;EACpE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;EAC9E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC9D,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"create-contact-list.mjs","names":[],"sources":["../../src/actions/create-contact-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapCreateContactListInput = z.object({\n name: z.string().describe(\"Name of the contact list to create. Maximum length is 255 characters.\"),\n account_id: z.number().int().describe(\"Unique account ID\"),\n});\nexport const MailtrapCreateContactListOutput = z.object({\n id: z.number().int().describe(\"Unique identifier for the created contact list\").nullable(),\n name: z.string().describe(\"Name of the created contact list\").nullable(),\n}).passthrough();\n\nexport const mailtrapCreateContactList = action(\"MAILTRAP_CREATE_CONTACT_LIST\", {\n slug: \"mailtrap-create-contact-list\",\n name: \"Create Contact List\",\n description: \"Tool to create a new contact list in Mailtrap. Use when you need to organize contacts into groups or segments. Each contact list has a unique ID and name that can be used to add contacts to it later.\",\n input: MailtrapCreateContactListInput,\n output: MailtrapCreateContactListOutput,\n});\n"],"mappings":";;AAaA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb4C,EAAE,OAAO;EACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;EACjG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB;CAC3D,CAUS;CACP,QAV6C,EAAE,OAAO;EACtD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EACzF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACzE,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -13,15 +13,15 @@ const MailtrapCreateContactInput = zod.z.object({
13
13
  account_id: zod.z.number().int().describe("Unique account ID for the Mailtrap account")
14
14
  }).describe("Request schema for creating a contact in Mailtrap");
15
15
  const MailtrapCreateContact_ContactDataResponseSchema = zod.z.object({
16
- id: zod.z.string().describe("Unique identifier of the contact"),
17
- email: zod.z.string().describe("Email address of the contact"),
16
+ id: zod.z.string().describe("Unique identifier of the contact").nullable(),
17
+ email: zod.z.string().describe("Email address of the contact").nullable(),
18
18
  fields: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom fields stored for the contact in format: field_merge_tag: value").nullable().optional(),
19
19
  status: zod.z.string().describe("Status of the contact: 'subscribed' if email was NOT in suppression list, 'unsubscribed' otherwise").nullable().optional(),
20
20
  list_ids: zod.z.array(zod.z.number().int()).describe("List of contact list IDs the contact belongs to").nullable().optional(),
21
21
  created_at: zod.z.number().int().describe("Creation timestamp in milliseconds").nullable().optional(),
22
22
  updated_at: zod.z.number().int().describe("Last update timestamp in milliseconds").nullable().optional()
23
- }).describe("Response data for a created contact");
24
- const MailtrapCreateContactOutput = zod.z.object({ data: MailtrapCreateContact_ContactDataResponseSchema.nullable() }).describe("Response schema for created contact");
23
+ }).passthrough().describe("Response data for a created contact");
24
+ const MailtrapCreateContactOutput = zod.z.object({ data: MailtrapCreateContact_ContactDataResponseSchema.nullable() }).passthrough().describe("Response schema for created contact");
25
25
  const mailtrapCreateContact = require_action.action("MAILTRAP_CREATE_CONTACT", {
26
26
  slug: "mailtrap-create-contact",
27
27
  name: "Create Contact",
@@ -1 +1 @@
1
- {"version":3,"file":"create-contact.cjs","names":["z","action"],"sources":["../../src/actions/create-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapCreateContactInput: z.ZodTypeAny = z.object({\n contact: z.object({\n email: z.string().describe(\"Email address of the contact. Must be a valid email format\"),\n fields: z.object({\n last_name: z.string().describe(\"Last name of the contact\").optional(),\n first_name: z.string().describe(\"First name of the contact\").optional(),\n}).describe(\"Custom fields for the contact\").optional(),\n list_ids: z.array(z.number().int()).describe(\"List of contact list IDs to add the contact to\").optional(),\n}).describe(\"Contact details to create\"),\n account_id: z.number().int().describe(\"Unique account ID for the Mailtrap account\"),\n}).describe(\"Request schema for creating a contact in Mailtrap\");\nconst MailtrapCreateContact_ContactDataResponseSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the contact\"),\n email: z.string().describe(\"Email address of the contact\"),\n fields: z.record(z.string(), z.unknown()).describe(\"Custom fields stored for the contact in format: field_merge_tag: value\").nullable().optional(),\n status: z.string().describe(\"Status of the contact: 'subscribed' if email was NOT in suppression list, 'unsubscribed' otherwise\").nullable().optional(),\n list_ids: z.array(z.number().int()).describe(\"List of contact list IDs the contact belongs to\").nullable().optional(),\n created_at: z.number().int().describe(\"Creation timestamp in milliseconds\").nullable().optional(),\n updated_at: z.number().int().describe(\"Last update timestamp in milliseconds\").nullable().optional(),\n}).describe(\"Response data for a created contact\");\nexport const MailtrapCreateContactOutput: z.ZodTypeAny = z.object({\n data: MailtrapCreateContact_ContactDataResponseSchema.nullable(),\n}).describe(\"Response schema for created contact\");\n\nexport const mailtrapCreateContact = action(\"MAILTRAP_CREATE_CONTACT\", {\n slug: \"mailtrap-create-contact\",\n name: \"Create Contact\",\n description: \"Tool to create a new contact in Mailtrap. Use when you need to add a contact with an email address to a Mailtrap account. Optionally include custom fields and assign to contact lists.\",\n input: MailtrapCreateContactInput,\n output: MailtrapCreateContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,SAASA,IAAAA,EAAE,OAAO;EAClB,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;EACvF,QAAQA,IAAAA,EAAE,OAAO;GACjB,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;GACpE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACxE,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACpD,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC1G,CAAC,CAAC,CAAC,SAAS,2BAA2B;CACrC,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C;AACpF,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,kDAAgEA,IAAAA,EAAE,OAAO;CAC7E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC1D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACzD,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjJ,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtJ,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAa,8BAA4CA,IAAAA,EAAE,OAAO,EAChE,MAAM,gDAAgD,SAAS,EACjE,CAAC,CAAC,CAAC,SAAS,qCAAqC;AAEjD,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-contact.cjs","names":["z","action"],"sources":["../../src/actions/create-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapCreateContactInput = z.object({\n contact: z.object({\n email: z.string().describe(\"Email address of the contact. Must be a valid email format\"),\n fields: z.object({\n last_name: z.string().describe(\"Last name of the contact\").optional(),\n first_name: z.string().describe(\"First name of the contact\").optional(),\n}).describe(\"Custom fields for the contact\").optional(),\n list_ids: z.array(z.number().int()).describe(\"List of contact list IDs to add the contact to\").optional(),\n}).describe(\"Contact details to create\"),\n account_id: z.number().int().describe(\"Unique account ID for the Mailtrap account\"),\n}).describe(\"Request schema for creating a contact in Mailtrap\");\nconst MailtrapCreateContact_ContactDataResponseSchema = z.object({\n id: z.string().describe(\"Unique identifier of the contact\").nullable(),\n email: z.string().describe(\"Email address of the contact\").nullable(),\n fields: z.record(z.string(), z.unknown()).describe(\"Custom fields stored for the contact in format: field_merge_tag: value\").nullable().optional(),\n status: z.string().describe(\"Status of the contact: 'subscribed' if email was NOT in suppression list, 'unsubscribed' otherwise\").nullable().optional(),\n list_ids: z.array(z.number().int()).describe(\"List of contact list IDs the contact belongs to\").nullable().optional(),\n created_at: z.number().int().describe(\"Creation timestamp in milliseconds\").nullable().optional(),\n updated_at: z.number().int().describe(\"Last update timestamp in milliseconds\").nullable().optional(),\n}).passthrough().describe(\"Response data for a created contact\");\nexport const MailtrapCreateContactOutput = z.object({\n data: MailtrapCreateContact_ContactDataResponseSchema.nullable(),\n}).passthrough().describe(\"Response schema for created contact\");\n\nexport const mailtrapCreateContact = action(\"MAILTRAP_CREATE_CONTACT\", {\n slug: \"mailtrap-create-contact\",\n name: \"Create Contact\",\n description: \"Tool to create a new contact in Mailtrap. Use when you need to add a contact with an email address to a Mailtrap account. Optionally include custom fields and assign to contact lists.\",\n input: MailtrapCreateContactInput,\n output: MailtrapCreateContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,SAASA,IAAAA,EAAE,OAAO;EAClB,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;EACvF,QAAQA,IAAAA,EAAE,OAAO;GACjB,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;GACpE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACxE,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACpD,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC1G,CAAC,CAAC,CAAC,SAAS,2BAA2B;CACrC,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C;AACpF,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACrE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACpE,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjJ,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtJ,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAC/D,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,MAAM,gDAAgD,SAAS,EACjE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAE/D,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,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/create-contact.d.ts
4
- declare const MailtrapCreateContactInput: z.ZodTypeAny;
5
- declare const MailtrapCreateContactOutput: z.ZodTypeAny;
6
- declare const mailtrapCreateContact: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MailtrapCreateContactInput: z.ZodObject<{
5
+ contact: z.ZodObject<{
6
+ email: z.ZodString;
7
+ fields: z.ZodOptional<z.ZodObject<{
8
+ last_name: z.ZodOptional<z.ZodString>;
9
+ first_name: z.ZodOptional<z.ZodString>;
10
+ }, z.core.$strip>>;
11
+ list_ids: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
12
+ }, z.core.$strip>;
13
+ account_id: z.ZodNumber;
14
+ }, z.core.$strip>;
15
+ declare const MailtrapCreateContactOutput: z.ZodObject<{
16
+ data: z.ZodNullable<z.ZodObject<{
17
+ id: z.ZodNullable<z.ZodString>;
18
+ email: z.ZodNullable<z.ZodString>;
19
+ fields: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
20
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ list_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
22
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
24
+ }, z.core.$loose>>;
25
+ }, z.core.$loose>;
26
+ declare const mailtrapCreateContact: import("@keystrokehq/action").WorkflowActionDefinition<{
27
+ contact: {
28
+ email: string;
29
+ fields?: {
30
+ last_name?: string | undefined;
31
+ first_name?: string | undefined;
32
+ } | undefined;
33
+ list_ids?: number[] | undefined;
34
+ };
35
+ account_id: number;
36
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
37
  //#endregion
8
38
  export { mailtrapCreateContact };
9
39
  //# sourceMappingURL=create-contact.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-contact.d.cts","names":[],"sources":["../../src/actions/create-contact.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAUqB;AAAA,cAUnD,2BAAA,EAA6B,CAAA,CAAE,UAEM;AAAA,cAErC,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-contact.d.cts","names":[],"sources":["../../src/actions/create-contact.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;cAoB1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;cAI3B,qBAAA,gCAAqB,wBAAA"}
@@ -1,9 +1,39 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-contact.d.ts
4
- declare const MailtrapCreateContactInput: z.ZodTypeAny;
5
- declare const MailtrapCreateContactOutput: z.ZodTypeAny;
6
- declare const mailtrapCreateContact: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MailtrapCreateContactInput: z.ZodObject<{
5
+ contact: z.ZodObject<{
6
+ email: z.ZodString;
7
+ fields: z.ZodOptional<z.ZodObject<{
8
+ last_name: z.ZodOptional<z.ZodString>;
9
+ first_name: z.ZodOptional<z.ZodString>;
10
+ }, z.core.$strip>>;
11
+ list_ids: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
12
+ }, z.core.$strip>;
13
+ account_id: z.ZodNumber;
14
+ }, z.core.$strip>;
15
+ declare const MailtrapCreateContactOutput: z.ZodObject<{
16
+ data: z.ZodNullable<z.ZodObject<{
17
+ id: z.ZodNullable<z.ZodString>;
18
+ email: z.ZodNullable<z.ZodString>;
19
+ fields: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
20
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ list_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
22
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
24
+ }, z.core.$loose>>;
25
+ }, z.core.$loose>;
26
+ declare const mailtrapCreateContact: import("@keystrokehq/action").WorkflowActionDefinition<{
27
+ contact: {
28
+ email: string;
29
+ fields?: {
30
+ last_name?: string | undefined;
31
+ first_name?: string | undefined;
32
+ } | undefined;
33
+ list_ids?: number[] | undefined;
34
+ };
35
+ account_id: number;
36
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
37
  //#endregion
8
38
  export { mailtrapCreateContact };
9
39
  //# sourceMappingURL=create-contact.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-contact.d.mts","names":[],"sources":["../../src/actions/create-contact.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAUqB;AAAA,cAUnD,2BAAA,EAA6B,CAAA,CAAE,UAEM;AAAA,cAErC,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-contact.d.mts","names":[],"sources":["../../src/actions/create-contact.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;cAoB1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;cAI3B,qBAAA,gCAAqB,wBAAA"}
@@ -13,20 +13,20 @@ const MailtrapCreateContactInput = z.object({
13
13
  account_id: z.number().int().describe("Unique account ID for the Mailtrap account")
14
14
  }).describe("Request schema for creating a contact in Mailtrap");
15
15
  const MailtrapCreateContact_ContactDataResponseSchema = z.object({
16
- id: z.string().describe("Unique identifier of the contact"),
17
- email: z.string().describe("Email address of the contact"),
16
+ id: z.string().describe("Unique identifier of the contact").nullable(),
17
+ email: z.string().describe("Email address of the contact").nullable(),
18
18
  fields: z.record(z.string(), z.unknown()).describe("Custom fields stored for the contact in format: field_merge_tag: value").nullable().optional(),
19
19
  status: z.string().describe("Status of the contact: 'subscribed' if email was NOT in suppression list, 'unsubscribed' otherwise").nullable().optional(),
20
20
  list_ids: z.array(z.number().int()).describe("List of contact list IDs the contact belongs to").nullable().optional(),
21
21
  created_at: z.number().int().describe("Creation timestamp in milliseconds").nullable().optional(),
22
22
  updated_at: z.number().int().describe("Last update timestamp in milliseconds").nullable().optional()
23
- }).describe("Response data for a created contact");
23
+ }).passthrough().describe("Response data for a created contact");
24
24
  const mailtrapCreateContact = action("MAILTRAP_CREATE_CONTACT", {
25
25
  slug: "mailtrap-create-contact",
26
26
  name: "Create Contact",
27
27
  description: "Tool to create a new contact in Mailtrap. Use when you need to add a contact with an email address to a Mailtrap account. Optionally include custom fields and assign to contact lists.",
28
28
  input: MailtrapCreateContactInput,
29
- output: z.object({ data: MailtrapCreateContact_ContactDataResponseSchema.nullable() }).describe("Response schema for created contact")
29
+ output: z.object({ data: MailtrapCreateContact_ContactDataResponseSchema.nullable() }).passthrough().describe("Response schema for created contact")
30
30
  });
31
31
  //#endregion
32
32
  export { mailtrapCreateContact };
@@ -1 +1 @@
1
- {"version":3,"file":"create-contact.mjs","names":[],"sources":["../../src/actions/create-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapCreateContactInput: z.ZodTypeAny = z.object({\n contact: z.object({\n email: z.string().describe(\"Email address of the contact. Must be a valid email format\"),\n fields: z.object({\n last_name: z.string().describe(\"Last name of the contact\").optional(),\n first_name: z.string().describe(\"First name of the contact\").optional(),\n}).describe(\"Custom fields for the contact\").optional(),\n list_ids: z.array(z.number().int()).describe(\"List of contact list IDs to add the contact to\").optional(),\n}).describe(\"Contact details to create\"),\n account_id: z.number().int().describe(\"Unique account ID for the Mailtrap account\"),\n}).describe(\"Request schema for creating a contact in Mailtrap\");\nconst MailtrapCreateContact_ContactDataResponseSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the contact\"),\n email: z.string().describe(\"Email address of the contact\"),\n fields: z.record(z.string(), z.unknown()).describe(\"Custom fields stored for the contact in format: field_merge_tag: value\").nullable().optional(),\n status: z.string().describe(\"Status of the contact: 'subscribed' if email was NOT in suppression list, 'unsubscribed' otherwise\").nullable().optional(),\n list_ids: z.array(z.number().int()).describe(\"List of contact list IDs the contact belongs to\").nullable().optional(),\n created_at: z.number().int().describe(\"Creation timestamp in milliseconds\").nullable().optional(),\n updated_at: z.number().int().describe(\"Last update timestamp in milliseconds\").nullable().optional(),\n}).describe(\"Response data for a created contact\");\nexport const MailtrapCreateContactOutput: z.ZodTypeAny = z.object({\n data: MailtrapCreateContact_ContactDataResponseSchema.nullable(),\n}).describe(\"Response schema for created contact\");\n\nexport const mailtrapCreateContact = action(\"MAILTRAP_CREATE_CONTACT\", {\n slug: \"mailtrap-create-contact\",\n name: \"Create Contact\",\n description: \"Tool to create a new contact in Mailtrap. Use when you need to add a contact with an email address to a Mailtrap account. Optionally include custom fields and assign to contact lists.\",\n input: MailtrapCreateContactInput,\n output: MailtrapCreateContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2C,EAAE,OAAO;CAC/D,SAAS,EAAE,OAAO;EAClB,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;EACvF,QAAQ,EAAE,OAAO;GACjB,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;GACpE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACxE,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACpD,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC1G,CAAC,CAAC,CAAC,SAAS,2BAA2B;CACrC,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C;AACpF,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,kDAAgE,EAAE,OAAO;CAC7E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC1D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACzD,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjJ,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtJ,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,SAAS,qCAAqC;AAKjD,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATuD,EAAE,OAAO,EAChE,MAAM,gDAAgD,SAAS,EACjE,CAAC,CAAC,CAAC,SAAS,qCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-contact.mjs","names":[],"sources":["../../src/actions/create-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapCreateContactInput = z.object({\n contact: z.object({\n email: z.string().describe(\"Email address of the contact. Must be a valid email format\"),\n fields: z.object({\n last_name: z.string().describe(\"Last name of the contact\").optional(),\n first_name: z.string().describe(\"First name of the contact\").optional(),\n}).describe(\"Custom fields for the contact\").optional(),\n list_ids: z.array(z.number().int()).describe(\"List of contact list IDs to add the contact to\").optional(),\n}).describe(\"Contact details to create\"),\n account_id: z.number().int().describe(\"Unique account ID for the Mailtrap account\"),\n}).describe(\"Request schema for creating a contact in Mailtrap\");\nconst MailtrapCreateContact_ContactDataResponseSchema = z.object({\n id: z.string().describe(\"Unique identifier of the contact\").nullable(),\n email: z.string().describe(\"Email address of the contact\").nullable(),\n fields: z.record(z.string(), z.unknown()).describe(\"Custom fields stored for the contact in format: field_merge_tag: value\").nullable().optional(),\n status: z.string().describe(\"Status of the contact: 'subscribed' if email was NOT in suppression list, 'unsubscribed' otherwise\").nullable().optional(),\n list_ids: z.array(z.number().int()).describe(\"List of contact list IDs the contact belongs to\").nullable().optional(),\n created_at: z.number().int().describe(\"Creation timestamp in milliseconds\").nullable().optional(),\n updated_at: z.number().int().describe(\"Last update timestamp in milliseconds\").nullable().optional(),\n}).passthrough().describe(\"Response data for a created contact\");\nexport const MailtrapCreateContactOutput = z.object({\n data: MailtrapCreateContact_ContactDataResponseSchema.nullable(),\n}).passthrough().describe(\"Response schema for created contact\");\n\nexport const mailtrapCreateContact = action(\"MAILTRAP_CREATE_CONTACT\", {\n slug: \"mailtrap-create-contact\",\n name: \"Create Contact\",\n description: \"Tool to create a new contact in Mailtrap. Use when you need to add a contact with an email address to a Mailtrap account. Optionally include custom fields and assign to contact lists.\",\n input: MailtrapCreateContactInput,\n output: MailtrapCreateContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO;CACjD,SAAS,EAAE,OAAO;EAClB,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;EACvF,QAAQ,EAAE,OAAO;GACjB,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;GACpE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACxE,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACpD,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC1G,CAAC,CAAC,CAAC,SAAS,2BAA2B;CACrC,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C;AACpF,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,kDAAkD,EAAE,OAAO;CAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACrE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACpE,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjJ,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtJ,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAK/D,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATyC,EAAE,OAAO,EAClD,MAAM,gDAAgD,SAAS,EACjE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAOhB;AACV,CAAC"}
@@ -21,7 +21,7 @@ const MailtrapCreateEmailTemplateOutput = zod.z.object({
21
21
  body_text: zod.z.string().describe("Plain text content of the email template").nullable().optional(),
22
22
  created_at: zod.z.string().describe("Timestamp when the template was created (ISO 8601 format)").nullable().optional(),
23
23
  updated_at: zod.z.string().describe("Timestamp when the template was last updated (ISO 8601 format)").nullable().optional()
24
- }).describe("Response schema for email template creation operation.");
24
+ }).passthrough().describe("Response schema for email template creation operation.");
25
25
  const mailtrapCreateEmailTemplate = require_action.action("MAILTRAP_CREATE_EMAIL_TEMPLATE", {
26
26
  slug: "mailtrap-create-email-template",
27
27
  name: "Create Email Template",
@@ -1 +1 @@
1
- {"version":3,"file":"create-email-template.cjs","names":["z","action"],"sources":["../../src/actions/create-email-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapCreateEmailTemplateInput: z.ZodTypeAny = z.object({\n account_id: z.number().int().describe(\"Account ID where the email template will be created\"),\n email_template: z.object({\n name: z.string().describe(\"Template name (max 255 characters). Provide a descriptive name to identify this template.\"),\n subject: z.string().describe(\"Email subject line (max 255 characters). This will be the default subject when sending emails with this template.\"),\n category: z.string().describe(\"Template category for organizing templates (max 255 characters). Common values include 'Promotional', 'Transactional', 'Newsletter'.\"),\n body_html: z.string().describe(\"HTML content of the email template (max 10,000,000 characters). Provide the HTML structure and styling for the email body.\").optional(),\n body_text: z.string().describe(\"Plain text content of the email template (max 10,000,000 characters). Provide a text alternative to the HTML content for better accessibility and compatibility.\").optional(),\n}).describe(\"Email template data containing name, subject, category, and optional HTML/text body content. Name, subject, and category are required fields.\"),\n}).describe(\"Request parameters for creating an email template.\");\nexport const MailtrapCreateEmailTemplateOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the created email template\").nullable().optional(),\n name: z.string().describe(\"Name of the email template\").nullable().optional(),\n uuid: z.string().describe(\"UUID of the created 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 (ISO 8601 format)\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the template was last updated (ISO 8601 format)\").nullable().optional(),\n}).describe(\"Response schema for email template creation operation.\");\n\nexport const mailtrapCreateEmailTemplate = action(\"MAILTRAP_CREATE_EMAIL_TEMPLATE\", {\n slug: \"mailtrap-create-email-template\",\n name: \"Create Email Template\",\n description: \"Tool to create a new email template in Mailtrap account. Use when you need to create a reusable email template with HTML/text content, subject, and category. The template can be used for sending promotional, transactional, or newsletter emails.\",\n input: MailtrapCreateEmailTemplateInput,\n output: MailtrapCreateEmailTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD;CAC3F,gBAAgBA,IAAAA,EAAE,OAAO;EACzB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F;EACrH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH;EAChJ,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI;EACpK,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4HAA4H,CAAC,CAAC,SAAS;EACtK,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kKAAkK,CAAC,CAAC,SAAS;CAC9M,CAAC,CAAC,CAAC,SAAS,+IAA+I;AAC3J,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,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,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,SAAS,wDAAwD;AAEpE,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-email-template.cjs","names":["z","action"],"sources":["../../src/actions/create-email-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapCreateEmailTemplateInput = z.object({\n account_id: z.number().int().describe(\"Account ID where the email template will be created\"),\n email_template: z.object({\n name: z.string().describe(\"Template name (max 255 characters). Provide a descriptive name to identify this template.\"),\n subject: z.string().describe(\"Email subject line (max 255 characters). This will be the default subject when sending emails with this template.\"),\n category: z.string().describe(\"Template category for organizing templates (max 255 characters). Common values include 'Promotional', 'Transactional', 'Newsletter'.\"),\n body_html: z.string().describe(\"HTML content of the email template (max 10,000,000 characters). Provide the HTML structure and styling for the email body.\").optional(),\n body_text: z.string().describe(\"Plain text content of the email template (max 10,000,000 characters). Provide a text alternative to the HTML content for better accessibility and compatibility.\").optional(),\n}).describe(\"Email template data containing name, subject, category, and optional HTML/text body content. Name, subject, and category are required fields.\"),\n}).describe(\"Request parameters for creating an email template.\");\nexport const MailtrapCreateEmailTemplateOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the created email template\").nullable().optional(),\n name: z.string().describe(\"Name of the email template\").nullable().optional(),\n uuid: z.string().describe(\"UUID of the created 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 (ISO 8601 format)\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the template was last updated (ISO 8601 format)\").nullable().optional(),\n}).passthrough().describe(\"Response schema for email template creation operation.\");\n\nexport const mailtrapCreateEmailTemplate = action(\"MAILTRAP_CREATE_EMAIL_TEMPLATE\", {\n slug: \"mailtrap-create-email-template\",\n name: \"Create Email Template\",\n description: \"Tool to create a new email template in Mailtrap account. Use when you need to create a reusable email template with HTML/text content, subject, and category. The template can be used for sending promotional, transactional, or newsletter emails.\",\n input: MailtrapCreateEmailTemplateInput,\n output: MailtrapCreateEmailTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD;CAC3F,gBAAgBA,IAAAA,EAAE,OAAO;EACzB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F;EACrH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH;EAChJ,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI;EACpK,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4HAA4H,CAAC,CAAC,SAAS;EACtK,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kKAAkK,CAAC,CAAC,SAAS;CAC9M,CAAC,CAAC,CAAC,SAAS,+IAA+I;AAC3J,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,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,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAElF,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,37 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-email-template.d.ts
4
- declare const MailtrapCreateEmailTemplateInput: z.ZodTypeAny;
5
- declare const MailtrapCreateEmailTemplateOutput: z.ZodTypeAny;
6
- declare const mailtrapCreateEmailTemplate: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MailtrapCreateEmailTemplateInput: z.ZodObject<{
5
+ account_id: z.ZodNumber;
6
+ email_template: z.ZodObject<{
7
+ name: z.ZodString;
8
+ subject: z.ZodString;
9
+ category: z.ZodString;
10
+ body_html: z.ZodOptional<z.ZodString>;
11
+ body_text: z.ZodOptional<z.ZodString>;
12
+ }, z.core.$strip>;
13
+ }, z.core.$strip>;
14
+ declare const MailtrapCreateEmailTemplateOutput: z.ZodObject<{
15
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
16
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ subject: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ body_html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ body_text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ }, z.core.$loose>;
25
+ declare const mailtrapCreateEmailTemplate: import("@keystrokehq/action").WorkflowActionDefinition<{
26
+ account_id: number;
27
+ email_template: {
28
+ name: string;
29
+ subject: string;
30
+ category: string;
31
+ body_html?: string | undefined;
32
+ body_text?: string | undefined;
33
+ };
34
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
35
  //#endregion
8
36
  export { mailtrapCreateEmailTemplate };
9
37
  //# sourceMappingURL=create-email-template.d.cts.map