@keystrokehq/mailtrap 0.1.2 → 0.1.4

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 (305) hide show
  1. package/dist/actions/clean-inbox.cjs +2 -2
  2. package/dist/actions/clean-inbox.cjs.map +1 -1
  3. package/dist/actions/clean-inbox.d.cts +2 -2
  4. package/dist/actions/clean-inbox.d.mts +2 -2
  5. package/dist/actions/clean-inbox.mjs +2 -2
  6. package/dist/actions/clean-inbox.mjs.map +1 -1
  7. package/dist/actions/create-contact-event.cjs +3 -3
  8. package/dist/actions/create-contact-event.cjs.map +1 -1
  9. package/dist/actions/create-contact-event.d.cts +4 -4
  10. package/dist/actions/create-contact-event.d.mts +4 -4
  11. package/dist/actions/create-contact-event.mjs +3 -3
  12. package/dist/actions/create-contact-event.mjs.map +1 -1
  13. package/dist/actions/create-contact-export.cjs +2 -2
  14. package/dist/actions/create-contact-export.cjs.map +1 -1
  15. package/dist/actions/create-contact-export.d.cts +3 -2
  16. package/dist/actions/create-contact-export.d.mts +3 -2
  17. package/dist/actions/create-contact-export.mjs +2 -2
  18. package/dist/actions/create-contact-export.mjs.map +1 -1
  19. package/dist/actions/create-contact-field.cjs +1 -1
  20. package/dist/actions/create-contact-field.cjs.map +1 -1
  21. package/dist/actions/create-contact-field.d.cts +1 -1
  22. package/dist/actions/create-contact-field.d.mts +1 -1
  23. package/dist/actions/create-contact-field.mjs +1 -1
  24. package/dist/actions/create-contact-field.mjs.map +1 -1
  25. package/dist/actions/create-contact-list.cjs +1 -1
  26. package/dist/actions/create-contact-list.cjs.map +1 -1
  27. package/dist/actions/create-contact-list.d.cts +1 -1
  28. package/dist/actions/create-contact-list.d.mts +1 -1
  29. package/dist/actions/create-contact-list.mjs +1 -1
  30. package/dist/actions/create-contact-list.mjs.map +1 -1
  31. package/dist/actions/create-contact.cjs +2 -2
  32. package/dist/actions/create-contact.cjs.map +1 -1
  33. package/dist/actions/create-contact.d.cts +2 -2
  34. package/dist/actions/create-contact.d.mts +2 -2
  35. package/dist/actions/create-contact.mjs +2 -2
  36. package/dist/actions/create-contact.mjs.map +1 -1
  37. package/dist/actions/create-email-template.cjs +1 -1
  38. package/dist/actions/create-email-template.cjs.map +1 -1
  39. package/dist/actions/create-email-template.d.cts +1 -1
  40. package/dist/actions/create-email-template.d.mts +1 -1
  41. package/dist/actions/create-email-template.mjs +1 -1
  42. package/dist/actions/create-email-template.mjs.map +1 -1
  43. package/dist/actions/create-sending-domain.cjs +3 -3
  44. package/dist/actions/create-sending-domain.cjs.map +1 -1
  45. package/dist/actions/create-sending-domain.d.cts +3 -3
  46. package/dist/actions/create-sending-domain.d.mts +3 -3
  47. package/dist/actions/create-sending-domain.mjs +3 -3
  48. package/dist/actions/create-sending-domain.mjs.map +1 -1
  49. package/dist/actions/delete-contact-field.cjs +1 -1
  50. package/dist/actions/delete-contact-field.cjs.map +1 -1
  51. package/dist/actions/delete-contact-field.d.cts +1 -1
  52. package/dist/actions/delete-contact-field.d.mts +1 -1
  53. package/dist/actions/delete-contact-field.mjs +1 -1
  54. package/dist/actions/delete-contact-field.mjs.map +1 -1
  55. package/dist/actions/delete-contact-list.cjs +1 -1
  56. package/dist/actions/delete-contact-list.cjs.map +1 -1
  57. package/dist/actions/delete-contact-list.d.cts +1 -1
  58. package/dist/actions/delete-contact-list.d.mts +1 -1
  59. package/dist/actions/delete-contact-list.mjs +1 -1
  60. package/dist/actions/delete-contact-list.mjs.map +1 -1
  61. package/dist/actions/delete-contact.cjs +1 -1
  62. package/dist/actions/delete-contact.cjs.map +1 -1
  63. package/dist/actions/delete-contact.d.cts +1 -1
  64. package/dist/actions/delete-contact.d.mts +1 -1
  65. package/dist/actions/delete-contact.mjs +1 -1
  66. package/dist/actions/delete-contact.mjs.map +1 -1
  67. package/dist/actions/delete-email-template.cjs +1 -1
  68. package/dist/actions/delete-email-template.cjs.map +1 -1
  69. package/dist/actions/delete-email-template.d.cts +1 -1
  70. package/dist/actions/delete-email-template.d.mts +1 -1
  71. package/dist/actions/delete-email-template.mjs +1 -1
  72. package/dist/actions/delete-email-template.mjs.map +1 -1
  73. package/dist/actions/delete-project.cjs +1 -1
  74. package/dist/actions/delete-project.cjs.map +1 -1
  75. package/dist/actions/delete-project.d.cts +1 -1
  76. package/dist/actions/delete-project.d.mts +1 -1
  77. package/dist/actions/delete-project.mjs +1 -1
  78. package/dist/actions/delete-project.mjs.map +1 -1
  79. package/dist/actions/delete-sending-domain.cjs +1 -1
  80. package/dist/actions/delete-sending-domain.cjs.map +1 -1
  81. package/dist/actions/delete-sending-domain.d.cts +1 -1
  82. package/dist/actions/delete-sending-domain.d.cts.map +1 -1
  83. package/dist/actions/delete-sending-domain.d.mts +1 -1
  84. package/dist/actions/delete-sending-domain.d.mts.map +1 -1
  85. package/dist/actions/delete-sending-domain.mjs +1 -1
  86. package/dist/actions/delete-sending-domain.mjs.map +1 -1
  87. package/dist/actions/get-billing-usage.cjs +6 -6
  88. package/dist/actions/get-billing-usage.cjs.map +1 -1
  89. package/dist/actions/get-billing-usage.d.cts +12 -12
  90. package/dist/actions/get-billing-usage.d.mts +12 -12
  91. package/dist/actions/get-billing-usage.mjs +6 -6
  92. package/dist/actions/get-billing-usage.mjs.map +1 -1
  93. package/dist/actions/get-contact-export.cjs +1 -1
  94. package/dist/actions/get-contact-export.cjs.map +1 -1
  95. package/dist/actions/get-contact-export.d.cts +1 -1
  96. package/dist/actions/get-contact-export.d.mts +1 -1
  97. package/dist/actions/get-contact-export.mjs +1 -1
  98. package/dist/actions/get-contact-export.mjs.map +1 -1
  99. package/dist/actions/get-contact-field.cjs +1 -1
  100. package/dist/actions/get-contact-field.cjs.map +1 -1
  101. package/dist/actions/get-contact-field.d.cts +1 -1
  102. package/dist/actions/get-contact-field.d.mts +1 -1
  103. package/dist/actions/get-contact-field.mjs +1 -1
  104. package/dist/actions/get-contact-field.mjs.map +1 -1
  105. package/dist/actions/get-contact-import.cjs +1 -1
  106. package/dist/actions/get-contact-import.cjs.map +1 -1
  107. package/dist/actions/get-contact-import.d.cts +1 -1
  108. package/dist/actions/get-contact-import.d.mts +1 -1
  109. package/dist/actions/get-contact-import.mjs +1 -1
  110. package/dist/actions/get-contact-import.mjs.map +1 -1
  111. package/dist/actions/get-contact-list.cjs +1 -1
  112. package/dist/actions/get-contact-list.cjs.map +1 -1
  113. package/dist/actions/get-contact-list.d.cts +1 -1
  114. package/dist/actions/get-contact-list.d.mts +1 -1
  115. package/dist/actions/get-contact-list.mjs +1 -1
  116. package/dist/actions/get-contact-list.mjs.map +1 -1
  117. package/dist/actions/get-contact.cjs +3 -3
  118. package/dist/actions/get-contact.cjs.map +1 -1
  119. package/dist/actions/get-contact.d.cts +3 -3
  120. package/dist/actions/get-contact.d.mts +3 -3
  121. package/dist/actions/get-contact.mjs +3 -3
  122. package/dist/actions/get-contact.mjs.map +1 -1
  123. package/dist/actions/get-email-template.cjs +1 -1
  124. package/dist/actions/get-email-template.cjs.map +1 -1
  125. package/dist/actions/get-email-template.d.cts +1 -1
  126. package/dist/actions/get-email-template.d.mts +1 -1
  127. package/dist/actions/get-email-template.mjs +1 -1
  128. package/dist/actions/get-email-template.mjs.map +1 -1
  129. package/dist/actions/get-inbox.cjs +2 -2
  130. package/dist/actions/get-inbox.cjs.map +1 -1
  131. package/dist/actions/get-inbox.d.cts +2 -2
  132. package/dist/actions/get-inbox.d.mts +2 -2
  133. package/dist/actions/get-inbox.mjs +2 -2
  134. package/dist/actions/get-inbox.mjs.map +1 -1
  135. package/dist/actions/get-message-html.cjs +1 -1
  136. package/dist/actions/get-message-html.cjs.map +1 -1
  137. package/dist/actions/get-message-html.d.cts +1 -1
  138. package/dist/actions/get-message-html.d.mts +1 -1
  139. package/dist/actions/get-message-html.mjs +1 -1
  140. package/dist/actions/get-message-html.mjs.map +1 -1
  141. package/dist/actions/get-permission-resources.cjs +4 -4
  142. package/dist/actions/get-permission-resources.cjs.map +1 -1
  143. package/dist/actions/get-permission-resources.d.cts +4 -4
  144. package/dist/actions/get-permission-resources.d.mts +4 -4
  145. package/dist/actions/get-permission-resources.mjs +4 -4
  146. package/dist/actions/get-permission-resources.mjs.map +1 -1
  147. package/dist/actions/get-project.cjs +5 -5
  148. package/dist/actions/get-project.cjs.map +1 -1
  149. package/dist/actions/get-project.d.cts +5 -5
  150. package/dist/actions/get-project.d.mts +5 -5
  151. package/dist/actions/get-project.mjs +5 -5
  152. package/dist/actions/get-project.mjs.map +1 -1
  153. package/dist/actions/get-sending-domain.cjs +3 -3
  154. package/dist/actions/get-sending-domain.cjs.map +1 -1
  155. package/dist/actions/get-sending-domain.d.cts +3 -3
  156. package/dist/actions/get-sending-domain.d.mts +3 -3
  157. package/dist/actions/get-sending-domain.mjs +3 -3
  158. package/dist/actions/get-sending-domain.mjs.map +1 -1
  159. package/dist/actions/get-sending-stats-by-categories.cjs +3 -3
  160. package/dist/actions/get-sending-stats-by-categories.cjs.map +1 -1
  161. package/dist/actions/get-sending-stats-by-categories.d.cts +3 -3
  162. package/dist/actions/get-sending-stats-by-categories.d.mts +3 -3
  163. package/dist/actions/get-sending-stats-by-categories.mjs +3 -3
  164. package/dist/actions/get-sending-stats-by-categories.mjs.map +1 -1
  165. package/dist/actions/get-sending-stats-by-date.cjs +3 -3
  166. package/dist/actions/get-sending-stats-by-date.cjs.map +1 -1
  167. package/dist/actions/get-sending-stats-by-date.d.cts +3 -3
  168. package/dist/actions/get-sending-stats-by-date.d.mts +3 -3
  169. package/dist/actions/get-sending-stats-by-date.mjs +3 -3
  170. package/dist/actions/get-sending-stats-by-date.mjs.map +1 -1
  171. package/dist/actions/get-sending-stats-by-domains.cjs +3 -3
  172. package/dist/actions/get-sending-stats-by-domains.cjs.map +1 -1
  173. package/dist/actions/get-sending-stats-by-domains.d.cts +3 -3
  174. package/dist/actions/get-sending-stats-by-domains.d.mts +3 -3
  175. package/dist/actions/get-sending-stats-by-domains.mjs +3 -3
  176. package/dist/actions/get-sending-stats-by-domains.mjs.map +1 -1
  177. package/dist/actions/get-sending-stats-by-esp.cjs +3 -3
  178. package/dist/actions/get-sending-stats-by-esp.cjs.map +1 -1
  179. package/dist/actions/get-sending-stats-by-esp.d.cts +3 -3
  180. package/dist/actions/get-sending-stats-by-esp.d.mts +3 -3
  181. package/dist/actions/get-sending-stats-by-esp.mjs +3 -3
  182. package/dist/actions/get-sending-stats-by-esp.mjs.map +1 -1
  183. package/dist/actions/get-sending-stats.cjs +1 -1
  184. package/dist/actions/get-sending-stats.cjs.map +1 -1
  185. package/dist/actions/get-sending-stats.d.cts +1 -1
  186. package/dist/actions/get-sending-stats.d.mts +1 -1
  187. package/dist/actions/get-sending-stats.mjs +1 -1
  188. package/dist/actions/get-sending-stats.mjs.map +1 -1
  189. package/dist/actions/import-contacts.cjs +2 -2
  190. package/dist/actions/import-contacts.cjs.map +1 -1
  191. package/dist/actions/import-contacts.d.cts +3 -2
  192. package/dist/actions/import-contacts.d.cts.map +1 -1
  193. package/dist/actions/import-contacts.d.mts +3 -2
  194. package/dist/actions/import-contacts.d.mts.map +1 -1
  195. package/dist/actions/import-contacts.mjs +2 -2
  196. package/dist/actions/import-contacts.mjs.map +1 -1
  197. package/dist/actions/list-accounts.cjs +2 -2
  198. package/dist/actions/list-accounts.cjs.map +1 -1
  199. package/dist/actions/list-accounts.d.cts +2 -2
  200. package/dist/actions/list-accounts.d.mts +2 -2
  201. package/dist/actions/list-accounts.mjs +2 -2
  202. package/dist/actions/list-accounts.mjs.map +1 -1
  203. package/dist/actions/list-contact-fields.cjs +2 -2
  204. package/dist/actions/list-contact-fields.cjs.map +1 -1
  205. package/dist/actions/list-contact-fields.d.cts +2 -2
  206. package/dist/actions/list-contact-fields.d.mts +2 -2
  207. package/dist/actions/list-contact-fields.mjs +2 -2
  208. package/dist/actions/list-contact-fields.mjs.map +1 -1
  209. package/dist/actions/list-contact-lists.cjs +2 -2
  210. package/dist/actions/list-contact-lists.cjs.map +1 -1
  211. package/dist/actions/list-contact-lists.d.cts +2 -2
  212. package/dist/actions/list-contact-lists.d.mts +2 -2
  213. package/dist/actions/list-contact-lists.mjs +2 -2
  214. package/dist/actions/list-contact-lists.mjs.map +1 -1
  215. package/dist/actions/list-email-templates.cjs +2 -2
  216. package/dist/actions/list-email-templates.cjs.map +1 -1
  217. package/dist/actions/list-email-templates.d.cts +2 -2
  218. package/dist/actions/list-email-templates.d.mts +2 -2
  219. package/dist/actions/list-email-templates.mjs +2 -2
  220. package/dist/actions/list-email-templates.mjs.map +1 -1
  221. package/dist/actions/list-inboxes.cjs +3 -3
  222. package/dist/actions/list-inboxes.cjs.map +1 -1
  223. package/dist/actions/list-inboxes.d.cts +3 -3
  224. package/dist/actions/list-inboxes.d.mts +3 -3
  225. package/dist/actions/list-inboxes.mjs +3 -3
  226. package/dist/actions/list-inboxes.mjs.map +1 -1
  227. package/dist/actions/list-messages.cjs +6 -6
  228. package/dist/actions/list-messages.cjs.map +1 -1
  229. package/dist/actions/list-messages.d.cts +6 -6
  230. package/dist/actions/list-messages.d.mts +6 -6
  231. package/dist/actions/list-messages.mjs +6 -6
  232. package/dist/actions/list-messages.mjs.map +1 -1
  233. package/dist/actions/list-projects.cjs +5 -5
  234. package/dist/actions/list-projects.cjs.map +1 -1
  235. package/dist/actions/list-projects.d.cts +5 -5
  236. package/dist/actions/list-projects.d.mts +5 -5
  237. package/dist/actions/list-projects.mjs +5 -5
  238. package/dist/actions/list-projects.mjs.map +1 -1
  239. package/dist/actions/list-sending-domains.cjs +4 -4
  240. package/dist/actions/list-sending-domains.cjs.map +1 -1
  241. package/dist/actions/list-sending-domains.d.cts +4 -4
  242. package/dist/actions/list-sending-domains.d.mts +4 -4
  243. package/dist/actions/list-sending-domains.mjs +4 -4
  244. package/dist/actions/list-sending-domains.mjs.map +1 -1
  245. package/dist/actions/list-suppressions.cjs +2 -2
  246. package/dist/actions/list-suppressions.cjs.map +1 -1
  247. package/dist/actions/list-suppressions.d.cts +2 -2
  248. package/dist/actions/list-suppressions.d.mts +2 -2
  249. package/dist/actions/list-suppressions.mjs +2 -2
  250. package/dist/actions/list-suppressions.mjs.map +1 -1
  251. package/dist/actions/mark-inbox-as-read.cjs +2 -2
  252. package/dist/actions/mark-inbox-as-read.cjs.map +1 -1
  253. package/dist/actions/mark-inbox-as-read.d.cts +2 -2
  254. package/dist/actions/mark-inbox-as-read.d.mts +2 -2
  255. package/dist/actions/mark-inbox-as-read.mjs +2 -2
  256. package/dist/actions/mark-inbox-as-read.mjs.map +1 -1
  257. package/dist/actions/reset-inbox-credentials.cjs +2 -2
  258. package/dist/actions/reset-inbox-credentials.cjs.map +1 -1
  259. package/dist/actions/reset-inbox-credentials.d.cts +2 -2
  260. package/dist/actions/reset-inbox-credentials.d.mts +2 -2
  261. package/dist/actions/reset-inbox-credentials.mjs +2 -2
  262. package/dist/actions/reset-inbox-credentials.mjs.map +1 -1
  263. package/dist/actions/update-contact-field.cjs +1 -1
  264. package/dist/actions/update-contact-field.cjs.map +1 -1
  265. package/dist/actions/update-contact-field.d.cts +1 -1
  266. package/dist/actions/update-contact-field.d.mts +1 -1
  267. package/dist/actions/update-contact-field.mjs +1 -1
  268. package/dist/actions/update-contact-field.mjs.map +1 -1
  269. package/dist/actions/update-contact-list.cjs +1 -1
  270. package/dist/actions/update-contact-list.cjs.map +1 -1
  271. package/dist/actions/update-contact-list.d.cts +1 -1
  272. package/dist/actions/update-contact-list.d.mts +1 -1
  273. package/dist/actions/update-contact-list.mjs +1 -1
  274. package/dist/actions/update-contact-list.mjs.map +1 -1
  275. package/dist/actions/update-contact.cjs +4 -4
  276. package/dist/actions/update-contact.cjs.map +1 -1
  277. package/dist/actions/update-contact.d.cts +5 -5
  278. package/dist/actions/update-contact.d.mts +5 -5
  279. package/dist/actions/update-contact.mjs +4 -4
  280. package/dist/actions/update-contact.mjs.map +1 -1
  281. package/dist/actions/update-email-template.cjs +1 -1
  282. package/dist/actions/update-email-template.cjs.map +1 -1
  283. package/dist/actions/update-email-template.d.cts +1 -1
  284. package/dist/actions/update-email-template.d.mts +1 -1
  285. package/dist/actions/update-email-template.mjs +1 -1
  286. package/dist/actions/update-email-template.mjs.map +1 -1
  287. package/dist/actions/update-inbox.cjs +2 -2
  288. package/dist/actions/update-inbox.cjs.map +1 -1
  289. package/dist/actions/update-inbox.d.cts +2 -2
  290. package/dist/actions/update-inbox.d.mts +2 -2
  291. package/dist/actions/update-inbox.mjs +2 -2
  292. package/dist/actions/update-inbox.mjs.map +1 -1
  293. package/dist/actions/update-project.cjs +5 -5
  294. package/dist/actions/update-project.cjs.map +1 -1
  295. package/dist/actions/update-project.d.cts +5 -5
  296. package/dist/actions/update-project.d.mts +5 -5
  297. package/dist/actions/update-project.mjs +5 -5
  298. package/dist/actions/update-project.mjs.map +1 -1
  299. package/dist/catalog.cjs +1 -1
  300. package/dist/catalog.cjs.map +1 -1
  301. package/dist/catalog.d.cts +1 -1
  302. package/dist/catalog.d.mts +1 -1
  303. package/dist/catalog.mjs +1 -1
  304. package/dist/catalog.mjs.map +1 -1
  305. package/package.json +1 -1
@@ -9,12 +9,12 @@ const MailtrapListSendingDomains_DnsRecordSchema = z.object({
9
9
  value: z.string().describe("The value to be set for this DNS record").nullable().optional(),
10
10
  domain: z.string().describe("The domain name for this DNS record").nullable().optional(),
11
11
  status: z.string().describe("The verification status of this DNS record (pass, fail, pending)").nullable().optional()
12
- }).describe("DNS record for domain verification and configuration.");
12
+ }).passthrough().describe("DNS record for domain verification and configuration.");
13
13
  const MailtrapListSendingDomains_PermissionsSchema = z.object({
14
14
  can_read: z.boolean().describe("Whether the domain can be read").nullable().optional(),
15
15
  can_update: z.boolean().describe("Whether the domain can be updated").nullable().optional(),
16
16
  can_destroy: z.boolean().describe("Whether the domain can be deleted").nullable().optional()
17
- }).describe("Permission settings for the sending domain.");
17
+ }).passthrough().describe("Permission settings for the sending domain.");
18
18
  const MailtrapListSendingDomains_SendingDomainSchema = z.object({
19
19
  id: z.number().int().describe("Unique identifier for the sending domain").nullable().optional(),
20
20
  demo: z.boolean().describe("Whether this is a demo domain").nullable().optional(),
@@ -31,13 +31,13 @@ const MailtrapListSendingDomains_SendingDomainSchema = z.object({
31
31
  critical_alerts_enabled: z.boolean().describe("Whether critical alerts are enabled").nullable().optional(),
32
32
  auto_unsubscribe_link_enabled: z.boolean().describe("Whether automatic unsubscribe links are enabled").nullable().optional(),
33
33
  custom_domain_tracking_enabled: z.boolean().describe("Whether custom domain tracking is enabled").nullable().optional()
34
- }).describe("Sending domain with configuration and DNS verification details.");
34
+ }).passthrough().describe("Sending domain with configuration and DNS verification details.");
35
35
  const mailtrapListSendingDomains = action("MAILTRAP_LIST_SENDING_DOMAINS", {
36
36
  slug: "mailtrap-list-sending-domains",
37
37
  name: "List Sending Domains",
38
38
  description: "Tool to list all sending domains for a Mailtrap account. Use when you need to retrieve configured domains for email sending.",
39
39
  input: MailtrapListSendingDomainsInput,
40
- output: z.object({ data: z.array(MailtrapListSendingDomains_SendingDomainSchema).describe("List of sending domains configured for the account").nullable().optional() }).describe("Response model containing list of sending domains.")
40
+ output: z.object({ data: z.array(MailtrapListSendingDomains_SendingDomainSchema).describe("List of sending domains configured for the account").nullable().optional() }).passthrough().describe("Response model containing list of sending domains.")
41
41
  });
42
42
  //#endregion
43
43
  export { mailtrapListSendingDomains };
@@ -1 +1 @@
1
- {"version":3,"file":"list-sending-domains.mjs","names":[],"sources":["../../src/actions/list-sending-domains.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapListSendingDomainsInput = z.object({\n account_id: z.number().int().describe(\"Account ID to list sending domains for\"),\n}).describe(\"Request model for listing sending domains.\");\nconst MailtrapListSendingDomains_DnsRecordSchema = z.object({\n key: z.string().describe(\"The type of DNS record (verification, spf, dkim1, dkim2, dmarc, link_verification)\").nullable().optional(),\n name: z.string().describe(\"The DNS record name to be configured\").nullable().optional(),\n type: z.string().describe(\"The DNS record type (CNAME, TXT)\").nullable().optional(),\n value: z.string().describe(\"The value to be set for this DNS record\").nullable().optional(),\n domain: z.string().describe(\"The domain name for this DNS record\").nullable().optional(),\n status: z.string().describe(\"The verification status of this DNS record (pass, fail, pending)\").nullable().optional(),\n}).describe(\"DNS record for domain verification and configuration.\");\nconst MailtrapListSendingDomains_PermissionsSchema = z.object({\n can_read: z.boolean().describe(\"Whether the domain can be read\").nullable().optional(),\n can_update: z.boolean().describe(\"Whether the domain can be updated\").nullable().optional(),\n can_destroy: z.boolean().describe(\"Whether the domain can be deleted\").nullable().optional(),\n}).describe(\"Permission settings for the sending domain.\");\nconst MailtrapListSendingDomains_SendingDomainSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the sending domain\").nullable().optional(),\n demo: z.boolean().describe(\"Whether this is a demo domain\").nullable().optional(),\n dns_records: z.array(MailtrapListSendingDomains_DnsRecordSchema).describe(\"List of DNS records required for domain verification and configuration\").nullable().optional(),\n domain_name: z.string().describe(\"The domain name configured for sending\").nullable().optional(),\n permissions: MailtrapListSendingDomains_PermissionsSchema.nullable().optional(),\n dns_verified: z.boolean().describe(\"Whether the domain's DNS records have been verified\").nullable().optional(),\n dns_verified_at: z.string().describe(\"Timestamp when DNS verification was completed (ISO 8601 format)\").nullable().optional(),\n compliance_status: z.string().describe(\"The compliance status of the domain (compliant, non_compliant)\").nullable().optional(),\n alert_recipient_email: z.string().describe(\"Email address to receive domain health alerts\").nullable().optional(),\n health_alerts_enabled: z.boolean().describe(\"Whether health alerts are enabled\").nullable().optional(),\n open_tracking_enabled: z.boolean().describe(\"Whether open tracking is enabled for emails\").nullable().optional(),\n click_tracking_enabled: z.boolean().describe(\"Whether click tracking is enabled for emails\").nullable().optional(),\n critical_alerts_enabled: z.boolean().describe(\"Whether critical alerts are enabled\").nullable().optional(),\n auto_unsubscribe_link_enabled: z.boolean().describe(\"Whether automatic unsubscribe links are enabled\").nullable().optional(),\n custom_domain_tracking_enabled: z.boolean().describe(\"Whether custom domain tracking is enabled\").nullable().optional(),\n}).describe(\"Sending domain with configuration and DNS verification details.\");\nexport const MailtrapListSendingDomainsOutput = z.object({\n data: z.array(MailtrapListSendingDomains_SendingDomainSchema).describe(\"List of sending domains configured for the account\").nullable().optional(),\n}).describe(\"Response model containing list of sending domains.\");\n\nexport const mailtrapListSendingDomains = action(\"MAILTRAP_LIST_SENDING_DOMAINS\", {\n slug: \"mailtrap-list-sending-domains\",\n name: \"List Sending Domains\",\n description: \"Tool to list all sending domains for a Mailtrap account. Use when you need to retrieve configured domains for email sending.\",\n input: MailtrapListSendingDomainsInput,\n output: MailtrapListSendingDomainsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO,EACtD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,EAChF,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,6CAA6C,EAAE,OAAO;CAC1D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,+CAA+C,EAAE,OAAO;CAC5D,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,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,CAAC,CAAC,SAAS;CACjH,yBAAyB,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,+BAA+B,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,gCAAgC,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAK7E,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT8C,EAAE,OAAO,EACvD,MAAM,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACnJ,CAAC,CAAC,CAAC,SAAS,oDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-sending-domains.mjs","names":[],"sources":["../../src/actions/list-sending-domains.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapListSendingDomainsInput = z.object({\n account_id: z.number().int().describe(\"Account ID to list sending domains for\"),\n}).describe(\"Request model for listing sending domains.\");\nconst MailtrapListSendingDomains_DnsRecordSchema = z.object({\n key: z.string().describe(\"The type of DNS record (verification, spf, dkim1, dkim2, dmarc, link_verification)\").nullable().optional(),\n name: z.string().describe(\"The DNS record name to be configured\").nullable().optional(),\n type: z.string().describe(\"The DNS record type (CNAME, TXT)\").nullable().optional(),\n value: z.string().describe(\"The value to be set for this DNS record\").nullable().optional(),\n domain: z.string().describe(\"The domain name for this DNS record\").nullable().optional(),\n status: z.string().describe(\"The verification status of this DNS record (pass, fail, pending)\").nullable().optional(),\n}).passthrough().describe(\"DNS record for domain verification and configuration.\");\nconst MailtrapListSendingDomains_PermissionsSchema = z.object({\n can_read: z.boolean().describe(\"Whether the domain can be read\").nullable().optional(),\n can_update: z.boolean().describe(\"Whether the domain can be updated\").nullable().optional(),\n can_destroy: z.boolean().describe(\"Whether the domain can be deleted\").nullable().optional(),\n}).passthrough().describe(\"Permission settings for the sending domain.\");\nconst MailtrapListSendingDomains_SendingDomainSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the sending domain\").nullable().optional(),\n demo: z.boolean().describe(\"Whether this is a demo domain\").nullable().optional(),\n dns_records: z.array(MailtrapListSendingDomains_DnsRecordSchema).describe(\"List of DNS records required for domain verification and configuration\").nullable().optional(),\n domain_name: z.string().describe(\"The domain name configured for sending\").nullable().optional(),\n permissions: MailtrapListSendingDomains_PermissionsSchema.nullable().optional(),\n dns_verified: z.boolean().describe(\"Whether the domain's DNS records have been verified\").nullable().optional(),\n dns_verified_at: z.string().describe(\"Timestamp when DNS verification was completed (ISO 8601 format)\").nullable().optional(),\n compliance_status: z.string().describe(\"The compliance status of the domain (compliant, non_compliant)\").nullable().optional(),\n alert_recipient_email: z.string().describe(\"Email address to receive domain health alerts\").nullable().optional(),\n health_alerts_enabled: z.boolean().describe(\"Whether health alerts are enabled\").nullable().optional(),\n open_tracking_enabled: z.boolean().describe(\"Whether open tracking is enabled for emails\").nullable().optional(),\n click_tracking_enabled: z.boolean().describe(\"Whether click tracking is enabled for emails\").nullable().optional(),\n critical_alerts_enabled: z.boolean().describe(\"Whether critical alerts are enabled\").nullable().optional(),\n auto_unsubscribe_link_enabled: z.boolean().describe(\"Whether automatic unsubscribe links are enabled\").nullable().optional(),\n custom_domain_tracking_enabled: z.boolean().describe(\"Whether custom domain tracking is enabled\").nullable().optional(),\n}).passthrough().describe(\"Sending domain with configuration and DNS verification details.\");\nexport const MailtrapListSendingDomainsOutput = z.object({\n data: z.array(MailtrapListSendingDomains_SendingDomainSchema).describe(\"List of sending domains configured for the account\").nullable().optional(),\n}).passthrough().describe(\"Response model containing list of sending domains.\");\n\nexport const mailtrapListSendingDomains = action(\"MAILTRAP_LIST_SENDING_DOMAINS\", {\n slug: \"mailtrap-list-sending-domains\",\n name: \"List Sending Domains\",\n description: \"Tool to list all sending domains for a Mailtrap account. Use when you need to retrieve configured domains for email sending.\",\n input: MailtrapListSendingDomainsInput,\n output: MailtrapListSendingDomainsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO,EACtD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,EAChF,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,6CAA6C,EAAE,OAAO;CAC1D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AACjF,MAAM,+CAA+C,EAAE,OAAO;CAC5D,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,Y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Q,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,gCAAgC,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAAiE;AAK3F,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT8C,EAAE,OAAO,EACvD,MAAM,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACnJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
@@ -18,8 +18,8 @@ const MailtrapListSuppressions_SuppressionItemSchema = zod.z.object({
18
18
  email: zod.z.string().describe("Email address that is suppressed").nullable(),
19
19
  reason: MailtrapListSuppressions_SuppressionReasonSchema.nullable(),
20
20
  created_at: zod.z.string().describe("Timestamp when the suppression was created in ISO 8601 format").nullable()
21
- }).describe("Individual suppression record.");
22
- const MailtrapListSuppressionsOutput = zod.z.object({ suppressions: zod.z.array(MailtrapListSuppressions_SuppressionItemSchema).describe("List of suppression records for the account").nullable().optional() }).describe("Response containing list of suppressed email addresses.");
21
+ }).passthrough().describe("Individual suppression record.");
22
+ const MailtrapListSuppressionsOutput = zod.z.object({ suppressions: zod.z.array(MailtrapListSuppressions_SuppressionItemSchema).describe("List of suppression records for the account").nullable().optional() }).passthrough().describe("Response containing list of suppressed email addresses.");
23
23
  const mailtrapListSuppressions = require_action.action("MAILTRAP_LIST_SUPPRESSIONS", {
24
24
  slug: "mailtrap-list-suppressions",
25
25
  name: "List Email Suppressions",
@@ -1 +1 @@
1
- {"version":3,"file":"list-suppressions.cjs","names":["z","action"],"sources":["../../src/actions/list-suppressions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapListSuppressionsInput = z.object({\n email: z.string().describe(\"Search for a specific email address. Use this to check if a particular email is suppressed.\").optional(),\n end_time: z.string().describe(\"Search emails suppressed before this timestamp in ISO 8601 format (e.g., 2025-12-31T23:59:59Z).\").optional(),\n account_id: z.number().int().describe(\"Account ID to list suppressions for. This is your Mailtrap account identifier.\"),\n start_time: z.string().describe(\"Search emails suppressed after this timestamp in ISO 8601 format (e.g., 2025-01-01T00:00:00Z).\").optional(),\n});\nconst MailtrapListSuppressions_SuppressionReasonSchema = z.enum([\"bounce\", \"complaint\", \"unsubscribe\", \"manual\"]);\nconst MailtrapListSuppressions_SuppressionItemSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the suppression record\").nullable(),\n email: z.string().describe(\"Email address that is suppressed\").nullable(),\n reason: MailtrapListSuppressions_SuppressionReasonSchema.nullable(),\n created_at: z.string().describe(\"Timestamp when the suppression was created in ISO 8601 format\").nullable(),\n}).describe(\"Individual suppression record.\");\nexport const MailtrapListSuppressionsOutput = z.object({\n suppressions: z.array(MailtrapListSuppressions_SuppressionItemSchema).describe(\"List of suppression records for the account\").nullable().optional(),\n}).describe(\"Response containing list of suppressed email addresses.\");\n\nexport const mailtrapListSuppressions = action(\"MAILTRAP_LIST_SUPPRESSIONS\", {\n slug: \"mailtrap-list-suppressions\",\n name: \"List Email Suppressions\",\n description: \"Tool to list suppressed email addresses for a Mailtrap account. Use when you need to view which emails are blocked from receiving messages due to bounces, complaints, unsubscribes, or manual suppression.\",\n input: MailtrapListSuppressionsInput,\n output: MailtrapListSuppressionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;CACnI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CAC1I,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gFAAgF;CACtH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;AAC7I,CAAC;AACD,MAAM,mDAAmDA,IAAAA,EAAE,KAAK;CAAC;CAAU;CAAa;CAAe;AAAQ,CAAC;AAChH,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACvF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACxE,QAAQ,iDAAiD,SAAS;CAClE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,SAAS,gCAAgC;AAC5C,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,cAAcA,IAAAA,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpJ,CAAC,CAAC,CAAC,SAAS,yDAAyD;AAErE,MAAa,2BAA2BC,eAAAA,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-suppressions.cjs","names":["z","action"],"sources":["../../src/actions/list-suppressions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapListSuppressionsInput = z.object({\n email: z.string().describe(\"Search for a specific email address. Use this to check if a particular email is suppressed.\").optional(),\n end_time: z.string().describe(\"Search emails suppressed before this timestamp in ISO 8601 format (e.g., 2025-12-31T23:59:59Z).\").optional(),\n account_id: z.number().int().describe(\"Account ID to list suppressions for. This is your Mailtrap account identifier.\"),\n start_time: z.string().describe(\"Search emails suppressed after this timestamp in ISO 8601 format (e.g., 2025-01-01T00:00:00Z).\").optional(),\n});\nconst MailtrapListSuppressions_SuppressionReasonSchema = z.enum([\"bounce\", \"complaint\", \"unsubscribe\", \"manual\"]);\nconst MailtrapListSuppressions_SuppressionItemSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the suppression record\").nullable(),\n email: z.string().describe(\"Email address that is suppressed\").nullable(),\n reason: MailtrapListSuppressions_SuppressionReasonSchema.nullable(),\n created_at: z.string().describe(\"Timestamp when the suppression was created in ISO 8601 format\").nullable(),\n}).passthrough().describe(\"Individual suppression record.\");\nexport const MailtrapListSuppressionsOutput = z.object({\n suppressions: z.array(MailtrapListSuppressions_SuppressionItemSchema).describe(\"List of suppression records for the account\").nullable().optional(),\n}).passthrough().describe(\"Response containing list of suppressed email addresses.\");\n\nexport const mailtrapListSuppressions = action(\"MAILTRAP_LIST_SUPPRESSIONS\", {\n slug: \"mailtrap-list-suppressions\",\n name: \"List Email Suppressions\",\n description: \"Tool to list suppressed email addresses for a Mailtrap account. Use when you need to view which emails are blocked from receiving messages due to bounces, complaints, unsubscribes, or manual suppression.\",\n input: MailtrapListSuppressionsInput,\n output: MailtrapListSuppressionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;CACnI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CAC1I,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gFAAgF;CACtH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;AAC7I,CAAC;AACD,MAAM,mDAAmDA,IAAAA,EAAE,KAAK;CAAC;CAAU;CAAa;CAAe;AAAQ,CAAC;AAChH,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACvF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACxE,QAAQ,iDAAiD,SAAS;CAClE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gCAAgC;AAC1D,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,cAAcA,IAAAA,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAEnF,MAAa,2BAA2BC,eAAAA,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -18,8 +18,8 @@ declare const MailtrapListSuppressionsOutput: z.ZodObject<{
18
18
  manual: "manual";
19
19
  }>>;
20
20
  created_at: z.ZodNullable<z.ZodString>;
21
- }, z.core.$strip>>>>;
22
- }, z.core.$strip>;
21
+ }, z.core.$loose>>>>;
22
+ }, z.core.$loose>;
23
23
  declare const mailtrapListSuppressions: import("@keystrokehq/action").WorkflowActionDefinition<{
24
24
  account_id: number;
25
25
  email?: string | undefined;
@@ -18,8 +18,8 @@ declare const MailtrapListSuppressionsOutput: z.ZodObject<{
18
18
  manual: "manual";
19
19
  }>>;
20
20
  created_at: z.ZodNullable<z.ZodString>;
21
- }, z.core.$strip>>>>;
22
- }, z.core.$strip>;
21
+ }, z.core.$loose>>>>;
22
+ }, z.core.$loose>;
23
23
  declare const mailtrapListSuppressions: import("@keystrokehq/action").WorkflowActionDefinition<{
24
24
  account_id: number;
25
25
  email?: string | undefined;
@@ -18,13 +18,13 @@ const MailtrapListSuppressions_SuppressionItemSchema = z.object({
18
18
  email: z.string().describe("Email address that is suppressed").nullable(),
19
19
  reason: MailtrapListSuppressions_SuppressionReasonSchema.nullable(),
20
20
  created_at: z.string().describe("Timestamp when the suppression was created in ISO 8601 format").nullable()
21
- }).describe("Individual suppression record.");
21
+ }).passthrough().describe("Individual suppression record.");
22
22
  const mailtrapListSuppressions = action("MAILTRAP_LIST_SUPPRESSIONS", {
23
23
  slug: "mailtrap-list-suppressions",
24
24
  name: "List Email Suppressions",
25
25
  description: "Tool to list suppressed email addresses for a Mailtrap account. Use when you need to view which emails are blocked from receiving messages due to bounces, complaints, unsubscribes, or manual suppression.",
26
26
  input: MailtrapListSuppressionsInput,
27
- output: z.object({ suppressions: z.array(MailtrapListSuppressions_SuppressionItemSchema).describe("List of suppression records for the account").nullable().optional() }).describe("Response containing list of suppressed email addresses.")
27
+ output: z.object({ suppressions: z.array(MailtrapListSuppressions_SuppressionItemSchema).describe("List of suppression records for the account").nullable().optional() }).passthrough().describe("Response containing list of suppressed email addresses.")
28
28
  });
29
29
  //#endregion
30
30
  export { mailtrapListSuppressions };
@@ -1 +1 @@
1
- {"version":3,"file":"list-suppressions.mjs","names":[],"sources":["../../src/actions/list-suppressions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapListSuppressionsInput = z.object({\n email: z.string().describe(\"Search for a specific email address. Use this to check if a particular email is suppressed.\").optional(),\n end_time: z.string().describe(\"Search emails suppressed before this timestamp in ISO 8601 format (e.g., 2025-12-31T23:59:59Z).\").optional(),\n account_id: z.number().int().describe(\"Account ID to list suppressions for. This is your Mailtrap account identifier.\"),\n start_time: z.string().describe(\"Search emails suppressed after this timestamp in ISO 8601 format (e.g., 2025-01-01T00:00:00Z).\").optional(),\n});\nconst MailtrapListSuppressions_SuppressionReasonSchema = z.enum([\"bounce\", \"complaint\", \"unsubscribe\", \"manual\"]);\nconst MailtrapListSuppressions_SuppressionItemSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the suppression record\").nullable(),\n email: z.string().describe(\"Email address that is suppressed\").nullable(),\n reason: MailtrapListSuppressions_SuppressionReasonSchema.nullable(),\n created_at: z.string().describe(\"Timestamp when the suppression was created in ISO 8601 format\").nullable(),\n}).describe(\"Individual suppression record.\");\nexport const MailtrapListSuppressionsOutput = z.object({\n suppressions: z.array(MailtrapListSuppressions_SuppressionItemSchema).describe(\"List of suppression records for the account\").nullable().optional(),\n}).describe(\"Response containing list of suppressed email addresses.\");\n\nexport const mailtrapListSuppressions = action(\"MAILTRAP_LIST_SUPPRESSIONS\", {\n slug: \"mailtrap-list-suppressions\",\n name: \"List Email Suppressions\",\n description: \"Tool to list suppressed email addresses for a Mailtrap account. Use when you need to view which emails are blocked from receiving messages due to bounces, complaints, unsubscribes, or manual suppression.\",\n input: MailtrapListSuppressionsInput,\n output: MailtrapListSuppressionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO;CACpD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;CACnI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CAC1I,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gFAAgF;CACtH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;AAC7I,CAAC;AACD,MAAM,mDAAmD,EAAE,KAAK;CAAC;CAAU;CAAa;CAAe;AAAQ,CAAC;AAChH,MAAM,iDAAiD,EAAE,OAAO;CAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACvF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACxE,QAAQ,iDAAiD,SAAS;CAClE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,SAAS,gCAAgC;AAK5C,MAAa,2BAA2B,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT4C,EAAE,OAAO,EACrD,cAAc,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpJ,CAAC,CAAC,CAAC,SAAS,yDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-suppressions.mjs","names":[],"sources":["../../src/actions/list-suppressions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapListSuppressionsInput = z.object({\n email: z.string().describe(\"Search for a specific email address. Use this to check if a particular email is suppressed.\").optional(),\n end_time: z.string().describe(\"Search emails suppressed before this timestamp in ISO 8601 format (e.g., 2025-12-31T23:59:59Z).\").optional(),\n account_id: z.number().int().describe(\"Account ID to list suppressions for. This is your Mailtrap account identifier.\"),\n start_time: z.string().describe(\"Search emails suppressed after this timestamp in ISO 8601 format (e.g., 2025-01-01T00:00:00Z).\").optional(),\n});\nconst MailtrapListSuppressions_SuppressionReasonSchema = z.enum([\"bounce\", \"complaint\", \"unsubscribe\", \"manual\"]);\nconst MailtrapListSuppressions_SuppressionItemSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the suppression record\").nullable(),\n email: z.string().describe(\"Email address that is suppressed\").nullable(),\n reason: MailtrapListSuppressions_SuppressionReasonSchema.nullable(),\n created_at: z.string().describe(\"Timestamp when the suppression was created in ISO 8601 format\").nullable(),\n}).passthrough().describe(\"Individual suppression record.\");\nexport const MailtrapListSuppressionsOutput = z.object({\n suppressions: z.array(MailtrapListSuppressions_SuppressionItemSchema).describe(\"List of suppression records for the account\").nullable().optional(),\n}).passthrough().describe(\"Response containing list of suppressed email addresses.\");\n\nexport const mailtrapListSuppressions = action(\"MAILTRAP_LIST_SUPPRESSIONS\", {\n slug: \"mailtrap-list-suppressions\",\n name: \"List Email Suppressions\",\n description: \"Tool to list suppressed email addresses for a Mailtrap account. Use when you need to view which emails are blocked from receiving messages due to bounces, complaints, unsubscribes, or manual suppression.\",\n input: MailtrapListSuppressionsInput,\n output: MailtrapListSuppressionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO;CACpD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;CACnI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CAC1I,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gFAAgF;CACtH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;AAC7I,CAAC;AACD,MAAM,mDAAmD,EAAE,KAAK;CAAC;CAAU;CAAa;CAAe;AAAQ,CAAC;AAChH,MAAM,iDAAiD,EAAE,OAAO;CAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACvF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACxE,QAAQ,iDAAiD,SAAS;CAClE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gCAAgC;AAK1D,MAAa,2BAA2B,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT4C,EAAE,OAAO,EACrD,cAAc,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAOhB;AACV,CAAC"}
@@ -10,7 +10,7 @@ const MailtrapMarkInboxAsRead_InboxPermissionsSchema = zod.z.object({
10
10
  can_leave: zod.z.boolean().describe("Whether the user can leave the inbox").nullable(),
11
11
  can_update: zod.z.boolean().describe("Whether the inbox can be updated").nullable(),
12
12
  can_destroy: zod.z.boolean().describe("Whether the inbox can be destroyed").nullable()
13
- }).describe("Permissions for the inbox.");
13
+ }).passthrough().describe("Permissions for the inbox.");
14
14
  const MailtrapMarkInboxAsReadOutput = zod.z.object({
15
15
  id: zod.z.number().int().describe("Unique identifier of the inbox").nullable(),
16
16
  name: zod.z.string().describe("Name of the inbox").nullable(),
@@ -40,7 +40,7 @@ const MailtrapMarkInboxAsReadOutput = zod.z.object({
40
40
  email_username_enabled: zod.z.boolean().describe("Whether email username is enabled").nullable(),
41
41
  forwarded_messages_count: zod.z.number().int().describe("Count of forwarded messages").nullable(),
42
42
  forward_from_email_address: zod.z.string().describe("Email address to forward from").nullable()
43
- }).describe("Response model containing updated inbox attributes after marking all messages as read.");
43
+ }).passthrough().describe("Response model containing updated inbox attributes after marking all messages as read.");
44
44
  const mailtrapMarkInboxAsRead = require_action.action("MAILTRAP_MARK_INBOX_AS_READ", {
45
45
  slug: "mailtrap-mark-inbox-as-read",
46
46
  name: "Mark Inbox as Read",
@@ -1 +1 @@
1
- {"version":3,"file":"mark-inbox-as-read.cjs","names":["z","action"],"sources":["../../src/actions/mark-inbox-as-read.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapMarkInboxAsReadInput = z.object({\n inbox_id: z.number().int().describe(\"Unique inbox ID to identify the specific inbox\"),\n account_id: z.number().int().describe(\"Unique account ID to identify the Mailtrap account\"),\n}).describe(\"Request model for marking all messages in an inbox as read.\");\nconst MailtrapMarkInboxAsRead_InboxPermissionsSchema = z.object({\n can_read: z.boolean().describe(\"Whether the inbox can be read\").nullable(),\n can_leave: z.boolean().describe(\"Whether the user can leave the inbox\").nullable(),\n can_update: z.boolean().describe(\"Whether the inbox can be updated\").nullable(),\n can_destroy: z.boolean().describe(\"Whether the inbox can be destroyed\").nullable(),\n}).describe(\"Permissions for the inbox.\");\nexport const MailtrapMarkInboxAsReadOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the inbox\").nullable(),\n name: z.string().describe(\"Name of the inbox\").nullable(),\n used: z.boolean().describe(\"Whether the inbox is being used\").nullable(),\n domain: z.string().describe(\"Domain for the inbox\").nullable(),\n status: z.enum([\"active\", \"inactive\", \"pending\"]).describe(\"Status of the inbox\").nullable(),\n max_size: z.number().int().describe(\"Maximum size for the inbox\").nullable(),\n password: z.string().describe(\"Password is only available if you have admin permissions for the inbox\").nullable().optional(),\n username: z.string().describe(\"Username for the inbox\").nullable(),\n api_domain: z.string().describe(\"API domain for the inbox\").nullable(),\n pop3_ports: z.array(z.number().int()).describe(\"List of POP3 ports\"),\n project_id: z.number().int().describe(\"Project ID associated with the inbox\").nullable(),\n smtp_ports: z.array(z.number().int()).describe(\"List of SMTP ports\"),\n permissions: MailtrapMarkInboxAsRead_InboxPermissionsSchema.nullable(),\n pop3_domain: z.string().describe(\"POP3 domain for the inbox\").nullable(),\n email_domain: z.string().describe(\"Email domain for the inbox\").nullable(),\n emails_count: z.number().int().describe(\"Total count of emails in the inbox\").nullable(),\n email_username: z.string().describe(\"Email username for the inbox\").nullable(),\n max_message_size: z.number().int().describe(\"Maximum message size in bytes\").nullable(),\n emails_unread_count: z.number().int().describe(\"Count of unread emails in the inbox. Should be 0 after marking all as read\").nullable(),\n sent_messages_count: z.number().int().describe(\"Count of sent messages\").nullable(),\n last_message_sent_at: z.string().describe(\"Timestamp of the last message sent\").nullable().optional(),\n email_username_enabled: z.boolean().describe(\"Whether email username is enabled\").nullable(),\n forwarded_messages_count: z.number().int().describe(\"Count of forwarded messages\").nullable(),\n forward_from_email_address: z.string().describe(\"Email address to forward from\").nullable(),\n}).describe(\"Response model containing updated inbox attributes after marking all messages as read.\");\n\nexport const mailtrapMarkInboxAsRead = action(\"MAILTRAP_MARK_INBOX_AS_READ\", {\n slug: \"mailtrap-mark-inbox-as-read\",\n name: \"Mark Inbox as Read\",\n description: \"Tool to mark all messages in a Mailtrap inbox as read. Use when you need to mark all unread messages as read in a specific inbox.\",\n input: MailtrapMarkInboxAsReadInput,\n output: MailtrapMarkInboxAsReadOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;CACpF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD;AAC5F,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACzE,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACjF,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC9E,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,SAAS,4BAA4B;AACxC,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACxD,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACvE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC7D,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAU;E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AS,4EAA4E,CAAC,CAAC,SAAS;CACtI,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAClF,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,wBAAwBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC3F,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAC5F,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,wFAAwF;AAEpG,MAAa,0BAA0BC,eAAAA,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"mark-inbox-as-read.cjs","names":["z","action"],"sources":["../../src/actions/mark-inbox-as-read.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapMarkInboxAsReadInput = z.object({\n inbox_id: z.number().int().describe(\"Unique inbox ID to identify the specific inbox\"),\n account_id: z.number().int().describe(\"Unique account ID to identify the Mailtrap account\"),\n}).describe(\"Request model for marking all messages in an inbox as read.\");\nconst MailtrapMarkInboxAsRead_InboxPermissionsSchema = z.object({\n can_read: z.boolean().describe(\"Whether the inbox can be read\").nullable(),\n can_leave: z.boolean().describe(\"Whether the user can leave the inbox\").nullable(),\n can_update: z.boolean().describe(\"Whether the inbox can be updated\").nullable(),\n can_destroy: z.boolean().describe(\"Whether the inbox can be destroyed\").nullable(),\n}).passthrough().describe(\"Permissions for the inbox.\");\nexport const MailtrapMarkInboxAsReadOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the inbox\").nullable(),\n name: z.string().describe(\"Name of the inbox\").nullable(),\n used: z.boolean().describe(\"Whether the inbox is being used\").nullable(),\n domain: z.string().describe(\"Domain for the inbox\").nullable(),\n status: z.enum([\"active\", \"inactive\", \"pending\"]).describe(\"Status of the inbox\").nullable(),\n max_size: z.number().int().describe(\"Maximum size for the inbox\").nullable(),\n password: z.string().describe(\"Password is only available if you have admin permissions for the inbox\").nullable().optional(),\n username: z.string().describe(\"Username for the inbox\").nullable(),\n api_domain: z.string().describe(\"API domain for the inbox\").nullable(),\n pop3_ports: z.array(z.number().int()).describe(\"List of POP3 ports\"),\n project_id: z.number().int().describe(\"Project ID associated with the inbox\").nullable(),\n smtp_ports: z.array(z.number().int()).describe(\"List of SMTP ports\"),\n permissions: MailtrapMarkInboxAsRead_InboxPermissionsSchema.nullable(),\n pop3_domain: z.string().describe(\"POP3 domain for the inbox\").nullable(),\n email_domain: z.string().describe(\"Email domain for the inbox\").nullable(),\n emails_count: z.number().int().describe(\"Total count of emails in the inbox\").nullable(),\n email_username: z.string().describe(\"Email username for the inbox\").nullable(),\n max_message_size: z.number().int().describe(\"Maximum message size in bytes\").nullable(),\n emails_unread_count: z.number().int().describe(\"Count of unread emails in the inbox. Should be 0 after marking all as read\").nullable(),\n sent_messages_count: z.number().int().describe(\"Count of sent messages\").nullable(),\n last_message_sent_at: z.string().describe(\"Timestamp of the last message sent\").nullable().optional(),\n email_username_enabled: z.boolean().describe(\"Whether email username is enabled\").nullable(),\n forwarded_messages_count: z.number().int().describe(\"Count of forwarded messages\").nullable(),\n forward_from_email_address: z.string().describe(\"Email address to forward from\").nullable(),\n}).passthrough().describe(\"Response model containing updated inbox attributes after marking all messages as read.\");\n\nexport const mailtrapMarkInboxAsRead = action(\"MAILTRAP_MARK_INBOX_AS_READ\", {\n slug: \"mailtrap-mark-inbox-as-read\",\n name: \"Mark Inbox as Read\",\n description: \"Tool to mark all messages in a Mailtrap inbox as read. Use when you need to mark all unread messages as read in a specific inbox.\",\n input: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BAAwB,CAAC,CAAC,SAAS;CAClF,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,wBAAwBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC3F,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAC5F,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wFAAwF;AAElH,MAAa,0BAA0BC,eAAAA,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -27,7 +27,7 @@ declare const MailtrapMarkInboxAsReadOutput: z.ZodObject<{
27
27
  can_leave: z.ZodNullable<z.ZodBoolean>;
28
28
  can_update: z.ZodNullable<z.ZodBoolean>;
29
29
  can_destroy: z.ZodNullable<z.ZodBoolean>;
30
- }, z.core.$strip>>;
30
+ }, z.core.$loose>>;
31
31
  pop3_domain: z.ZodNullable<z.ZodString>;
32
32
  email_domain: z.ZodNullable<z.ZodString>;
33
33
  emails_count: z.ZodNullable<z.ZodNumber>;
@@ -39,7 +39,7 @@ declare const MailtrapMarkInboxAsReadOutput: z.ZodObject<{
39
39
  email_username_enabled: z.ZodNullable<z.ZodBoolean>;
40
40
  forwarded_messages_count: z.ZodNullable<z.ZodNumber>;
41
41
  forward_from_email_address: z.ZodNullable<z.ZodString>;
42
- }, z.core.$strip>;
42
+ }, z.core.$loose>;
43
43
  declare const mailtrapMarkInboxAsRead: import("@keystrokehq/action").WorkflowActionDefinition<{
44
44
  inbox_id: number;
45
45
  account_id: number;
@@ -27,7 +27,7 @@ declare const MailtrapMarkInboxAsReadOutput: z.ZodObject<{
27
27
  can_leave: z.ZodNullable<z.ZodBoolean>;
28
28
  can_update: z.ZodNullable<z.ZodBoolean>;
29
29
  can_destroy: z.ZodNullable<z.ZodBoolean>;
30
- }, z.core.$strip>>;
30
+ }, z.core.$loose>>;
31
31
  pop3_domain: z.ZodNullable<z.ZodString>;
32
32
  email_domain: z.ZodNullable<z.ZodString>;
33
33
  emails_count: z.ZodNullable<z.ZodNumber>;
@@ -39,7 +39,7 @@ declare const MailtrapMarkInboxAsReadOutput: z.ZodObject<{
39
39
  email_username_enabled: z.ZodNullable<z.ZodBoolean>;
40
40
  forwarded_messages_count: z.ZodNullable<z.ZodNumber>;
41
41
  forward_from_email_address: z.ZodNullable<z.ZodString>;
42
- }, z.core.$strip>;
42
+ }, z.core.$loose>;
43
43
  declare const mailtrapMarkInboxAsRead: import("@keystrokehq/action").WorkflowActionDefinition<{
44
44
  inbox_id: number;
45
45
  account_id: number;
@@ -10,7 +10,7 @@ const MailtrapMarkInboxAsRead_InboxPermissionsSchema = z.object({
10
10
  can_leave: z.boolean().describe("Whether the user can leave the inbox").nullable(),
11
11
  can_update: z.boolean().describe("Whether the inbox can be updated").nullable(),
12
12
  can_destroy: z.boolean().describe("Whether the inbox can be destroyed").nullable()
13
- }).describe("Permissions for the inbox.");
13
+ }).passthrough().describe("Permissions for the inbox.");
14
14
  const mailtrapMarkInboxAsRead = action("MAILTRAP_MARK_INBOX_AS_READ", {
15
15
  slug: "mailtrap-mark-inbox-as-read",
16
16
  name: "Mark Inbox as Read",
@@ -45,7 +45,7 @@ const mailtrapMarkInboxAsRead = action("MAILTRAP_MARK_INBOX_AS_READ", {
45
45
  email_username_enabled: z.boolean().describe("Whether email username is enabled").nullable(),
46
46
  forwarded_messages_count: z.number().int().describe("Count of forwarded messages").nullable(),
47
47
  forward_from_email_address: z.string().describe("Email address to forward from").nullable()
48
- }).describe("Response model containing updated inbox attributes after marking all messages as read.")
48
+ }).passthrough().describe("Response model containing updated inbox attributes after marking all messages as read.")
49
49
  });
50
50
  //#endregion
51
51
  export { mailtrapMarkInboxAsRead };
@@ -1 +1 @@
1
- {"version":3,"file":"mark-inbox-as-read.mjs","names":[],"sources":["../../src/actions/mark-inbox-as-read.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapMarkInboxAsReadInput = z.object({\n inbox_id: z.number().int().describe(\"Unique inbox ID to identify the specific inbox\"),\n account_id: z.number().int().describe(\"Unique account ID to identify the Mailtrap account\"),\n}).describe(\"Request model for marking all messages in an inbox as read.\");\nconst MailtrapMarkInboxAsRead_InboxPermissionsSchema = z.object({\n can_read: z.boolean().describe(\"Whether the inbox can be read\").nullable(),\n can_leave: z.boolean().describe(\"Whether the user can leave the inbox\").nullable(),\n can_update: z.boolean().describe(\"Whether the inbox can be updated\").nullable(),\n can_destroy: z.boolean().describe(\"Whether the inbox can be destroyed\").nullable(),\n}).describe(\"Permissions for the inbox.\");\nexport const MailtrapMarkInboxAsReadOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the inbox\").nullable(),\n name: z.string().describe(\"Name of the inbox\").nullable(),\n used: z.boolean().describe(\"Whether the inbox is being used\").nullable(),\n domain: z.string().describe(\"Domain for the inbox\").nullable(),\n status: z.enum([\"active\", \"inactive\", \"pending\"]).describe(\"Status of the inbox\").nullable(),\n max_size: z.number().int().describe(\"Maximum size for the inbox\").nullable(),\n password: z.string().describe(\"Password is only available if you have admin permissions for the inbox\").nullable().optional(),\n username: z.string().describe(\"Username for the inbox\").nullable(),\n api_domain: z.string().describe(\"API domain for the inbox\").nullable(),\n pop3_ports: z.array(z.number().int()).describe(\"List of POP3 ports\"),\n project_id: z.number().int().describe(\"Project ID associated with the inbox\").nullable(),\n smtp_ports: z.array(z.number().int()).describe(\"List of SMTP ports\"),\n permissions: MailtrapMarkInboxAsRead_InboxPermissionsSchema.nullable(),\n pop3_domain: z.string().describe(\"POP3 domain for the inbox\").nullable(),\n email_domain: z.string().describe(\"Email domain for the inbox\").nullable(),\n emails_count: z.number().int().describe(\"Total count of emails in the inbox\").nullable(),\n email_username: z.string().describe(\"Email username for the inbox\").nullable(),\n max_message_size: z.number().int().describe(\"Maximum message size in bytes\").nullable(),\n emails_unread_count: z.number().int().describe(\"Count of unread emails in the inbox. Should be 0 after marking all as read\").nullable(),\n sent_messages_count: z.number().int().describe(\"Count of sent messages\").nullable(),\n last_message_sent_at: z.string().describe(\"Timestamp of the last message sent\").nullable().optional(),\n email_username_enabled: z.boolean().describe(\"Whether email username is enabled\").nullable(),\n forwarded_messages_count: z.number().int().describe(\"Count of forwarded messages\").nullable(),\n forward_from_email_address: z.string().describe(\"Email address to forward from\").nullable(),\n}).describe(\"Response model containing updated inbox attributes after marking all messages as read.\");\n\nexport const mailtrapMarkInboxAsRead = action(\"MAILTRAP_MARK_INBOX_AS_READ\", {\n slug: \"mailtrap-mark-inbox-as-read\",\n name: \"Mark Inbox as Read\",\n description: \"Tool to mark all messages in a Mailtrap inbox as read. Use when you need to mark all unread messages as read in a specific inbox.\",\n input: MailtrapMarkInboxAsReadInput,\n output: MailtrapMarkInboxAsReadOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;CACpF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD;AAC5F,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,iDAAiD,EAAE,OAAO;CAC9D,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACzE,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACjF,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC9E,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AACnF,C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C,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACzE,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EACvF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EAC7E,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACtF,qBAAqB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;EACtI,qBAAqB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EAClF,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,wBAAwB,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC3F,0BAA0B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EAC5F,4BAA4B,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC5F,CAAC,CAAC,CAAC,SAAS,wFAOF;AACV,CAAC"}
1
+ {"version":3,"file":"mark-inbox-as-read.mjs","names":[],"sources":["../../src/actions/mark-inbox-as-read.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapMarkInboxAsReadInput = z.object({\n inbox_id: z.number().int().describe(\"Unique inbox ID to identify the specific inbox\"),\n account_id: z.number().int().describe(\"Unique account ID to identify the Mailtrap account\"),\n}).describe(\"Request model for marking all messages in an inbox as read.\");\nconst MailtrapMarkInboxAsRead_InboxPermissionsSchema = z.object({\n can_read: z.boolean().describe(\"Whether the inbox can be read\").nullable(),\n can_leave: z.boolean().describe(\"Whether the user can leave the inbox\").nullable(),\n can_update: z.boolean().describe(\"Whether the inbox can be updated\").nullable(),\n can_destroy: z.boolean().describe(\"Whether the inbox can be destroyed\").nullable(),\n}).passthrough().describe(\"Permissions for the inbox.\");\nexport const MailtrapMarkInboxAsReadOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the inbox\").nullable(),\n name: z.string().describe(\"Name of the inbox\").nullable(),\n used: z.boolean().describe(\"Whether the inbox is being used\").nullable(),\n domain: z.string().describe(\"Domain for the inbox\").nullable(),\n status: z.enum([\"active\", \"inactive\", \"pending\"]).describe(\"Status of the inbox\").nullable(),\n max_size: z.number().int().describe(\"Maximum size for the inbox\").nullable(),\n password: z.string().describe(\"Password is only available if you have admin permissions for the inbox\").nullable().optional(),\n username: z.string().describe(\"Username for the inbox\").nullable(),\n api_domain: z.string().describe(\"API domain for the inbox\").nullable(),\n pop3_ports: z.array(z.number().int()).describe(\"List of POP3 ports\"),\n project_id: z.number().int().describe(\"Project ID associated with the inbox\").nullable(),\n smtp_ports: z.array(z.number().int()).describe(\"List of SMTP ports\"),\n permissions: MailtrapMarkInboxAsRead_InboxPermissionsSchema.nullable(),\n pop3_domain: z.string().describe(\"POP3 domain for the inbox\").nullable(),\n email_domain: z.string().describe(\"Email domain for the inbox\").nullable(),\n emails_count: z.number().int().describe(\"Total count of emails in the inbox\").nullable(),\n email_username: z.string().describe(\"Email username for the inbox\").nullable(),\n max_message_size: z.number().int().describe(\"Maximum message size in bytes\").nullable(),\n emails_unread_count: z.number().int().describe(\"Count of unread emails in the inbox. Should be 0 after marking all as read\").nullable(),\n sent_messages_count: z.number().int().describe(\"Count of sent messages\").nullable(),\n last_message_sent_at: z.string().describe(\"Timestamp of the last message sent\").nullable().optional(),\n email_username_enabled: z.boolean().describe(\"Whether email username is enabled\").nullable(),\n forwarded_messages_count: z.number().int().describe(\"Count of forwarded messages\").nullable(),\n forward_from_email_address: z.string().describe(\"Email address to forward from\").nullable(),\n}).passthrough().describe(\"Response model containing updated inbox attributes after marking all messages as read.\");\n\nexport const mailtrapMarkInboxAsRead = action(\"MAILTRAP_MARK_INBOX_AS_READ\", {\n slug: \"mailtrap-mark-inbox-as-read\",\n name: \"Mark Inbox as Read\",\n description: \"Tool to mark all messages in a Mailtrap inbox as read. Use when you need to mark all unread messages as read in a specific inbox.\",\n input: MailtrapMarkInboxAsReadInput,\n output: MailtrapMarkInboxAsReadOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;CACpF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD;AAC5F,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,iDAAiD,EAAE,OAAO;CAC9D,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACzE,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACjF,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC9E,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4BAA4B;AA4BtD,MAAa,0BAA0B,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAhC2C,EAAE,OAAO;EACpD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;EACxD,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACvE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CA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AI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EAClF,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,wBAAwB,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC3F,0BAA0B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EAC5F,4BAA4B,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wFAOhB;AACV,CAAC"}
@@ -10,7 +10,7 @@ const MailtrapResetInboxCredentials_InboxPermissionsSchema = zod.z.object({
10
10
  can_leave: zod.z.boolean().describe("Whether the token has permission to leave the inbox.").nullable(),
11
11
  can_update: zod.z.boolean().describe("Whether the token has permission to update the inbox.").nullable(),
12
12
  can_destroy: zod.z.boolean().describe("Whether the token has permission to destroy the inbox.").nullable()
13
- }).describe("Permissions model for inbox operations.");
13
+ }).passthrough().describe("Permissions model for inbox operations.");
14
14
  const MailtrapResetInboxCredentialsOutput = zod.z.object({
15
15
  id: zod.z.number().int().describe("Unique identifier for the inbox.").nullable(),
16
16
  name: zod.z.string().describe("Name of the inbox.").nullable(),
@@ -40,7 +40,7 @@ const MailtrapResetInboxCredentialsOutput = zod.z.object({
40
40
  email_username_enabled: zod.z.boolean().describe("Whether the email username is enabled.").nullable(),
41
41
  forwarded_messages_count: zod.z.number().int().describe("Total number of forwarded messages.").nullable(),
42
42
  forward_from_email_address: zod.z.string().describe("Email address from which messages are forwarded.").nullable()
43
- }).describe("Response model containing inbox attributes with reset credentials.");
43
+ }).passthrough().describe("Response model containing inbox attributes with reset credentials.");
44
44
  const mailtrapResetInboxCredentials = require_action.action("MAILTRAP_RESET_INBOX_CREDENTIALS", {
45
45
  slug: "mailtrap-reset-inbox-credentials",
46
46
  name: "Reset Inbox Credentials",
@@ -1 +1 @@
1
- {"version":3,"file":"reset-inbox-credentials.cjs","names":["z","action"],"sources":["../../src/actions/reset-inbox-credentials.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapResetInboxCredentialsInput = z.object({\n inbox_id: z.number().int().describe(\"Unique inbox ID to identify the specific inbox.\"),\n account_id: z.number().int().describe(\"Unique account ID to identify the Mailtrap account.\"),\n}).describe(\"Request model for resetting inbox SMTP credentials.\");\nconst MailtrapResetInboxCredentials_InboxPermissionsSchema = z.object({\n can_read: z.boolean().describe(\"Whether the token has permission to read the inbox.\").nullable(),\n can_leave: z.boolean().describe(\"Whether the token has permission to leave the inbox.\").nullable(),\n can_update: z.boolean().describe(\"Whether the token has permission to update the inbox.\").nullable(),\n can_destroy: z.boolean().describe(\"Whether the token has permission to destroy the inbox.\").nullable(),\n}).describe(\"Permissions model for inbox operations.\");\nexport const MailtrapResetInboxCredentialsOutput = z.object({\n id: z.number().int().describe(\"Unique identifier for the inbox.\").nullable(),\n name: z.string().describe(\"Name of the inbox.\").nullable(),\n used: z.boolean().describe(\"Whether the inbox has been used.\").nullable(),\n domain: z.string().describe(\"Domain for the inbox.\").nullable(),\n status: z.enum([\"active\", \"inactive\", \"pending\"]).describe(\"Current status of the inbox.\").nullable(),\n max_size: z.number().int().describe(\"Maximum size limit for the inbox in bytes.\").nullable(),\n password: z.string().describe(\"Password for accessing the inbox. Only available if you have admin permissions.\").nullable().optional(),\n username: z.string().describe(\"Username for accessing the inbox.\").nullable(),\n api_domain: z.string().describe(\"API domain for the inbox.\").nullable(),\n pop3_ports: z.array(z.number().int()).describe(\"List of POP3 ports available for the inbox.\"),\n project_id: z.number().int().describe(\"ID of the project this inbox belongs to.\").nullable(),\n smtp_ports: z.array(z.number().int()).describe(\"List of SMTP ports available for the inbox.\"),\n permissions: MailtrapResetInboxCredentials_InboxPermissionsSchema.nullable(),\n pop3_domain: z.string().describe(\"POP3 domain for accessing the inbox.\").nullable(),\n email_domain: z.string().describe(\"Email domain for the inbox.\").nullable(),\n emails_count: z.number().int().describe(\"Total number of emails in the inbox.\").nullable(),\n email_username: z.string().describe(\"Email username for the inbox.\").nullable(),\n max_message_size: z.number().int().describe(\"Maximum message size allowed in bytes.\").nullable(),\n emails_unread_count: z.number().int().describe(\"Number of unread emails in the inbox.\").nullable(),\n sent_messages_count: z.number().int().describe(\"Total number of sent messages from the inbox.\").nullable(),\n last_message_sent_at: z.string().describe(\"Timestamp of the last message sent. Null if no messages have been sent.\").nullable().optional(),\n email_username_enabled: z.boolean().describe(\"Whether the email username is enabled.\").nullable(),\n forwarded_messages_count: z.number().int().describe(\"Total number of forwarded messages.\").nullable(),\n forward_from_email_address: z.string().describe(\"Email address from which messages are forwarded.\").nullable(),\n}).describe(\"Response model containing inbox attributes with reset credentials.\");\n\nexport const mailtrapResetInboxCredentials = action(\"MAILTRAP_RESET_INBOX_CREDENTIALS\", {\n slug: \"mailtrap-reset-inbox-credentials\",\n name: \"Reset Inbox Credentials\",\n description: \"Tool to reset SMTP credentials for a Mailtrap inbox. Use when you need to regenerate the username and password for inbox access.\",\n input: MailtrapResetInboxCredentialsInput,\n output: MailtrapResetInboxCredentialsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD;CACrF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD;AAC7F,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,uDAAuDA,IAAAA,EAAE,OAAO;CACpE,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC/F,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACjG,Y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;AACV,CAAC"}
1
+ {"version":3,"file":"reset-inbox-credentials.cjs","names":["z","action"],"sources":["../../src/actions/reset-inbox-credentials.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapResetInboxCredentialsInput = z.object({\n inbox_id: z.number().int().describe(\"Unique inbox ID to identify the specific inbox.\"),\n account_id: z.number().int().describe(\"Unique account ID to identify the Mailtrap account.\"),\n}).describe(\"Request model for resetting inbox SMTP credentials.\");\nconst MailtrapResetInboxCredentials_InboxPermissionsSchema = z.object({\n can_read: z.boolean().describe(\"Whether the token has permission to read the inbox.\").nullable(),\n can_leave: z.boolean().describe(\"Whether the token has permission to leave the inbox.\").nullable(),\n can_update: z.boolean().describe(\"Whether the token has permission to update the inbox.\").nullable(),\n can_destroy: z.boolean().describe(\"Whether the token has permission to destroy the inbox.\").nullable(),\n}).passthrough().describe(\"Permissions model for inbox operations.\");\nexport const MailtrapResetInboxCredentialsOutput = z.object({\n id: z.number().int().describe(\"Unique identifier for the inbox.\").nullable(),\n name: z.string().describe(\"Name of the inbox.\").nullable(),\n used: z.boolean().describe(\"Whether the inbox has been used.\").nullable(),\n domain: z.string().describe(\"Domain for the inbox.\").nullable(),\n status: z.enum([\"active\", \"inactive\", \"pending\"]).describe(\"Current status of the inbox.\").nullable(),\n max_size: z.number().int().describe(\"Maximum size limit for the inbox in bytes.\").nullable(),\n password: z.string().describe(\"Password for accessing the inbox. Only available if you have admin permissions.\").nullable().optional(),\n username: z.string().describe(\"Username for accessing the inbox.\").nullable(),\n api_domain: z.string().describe(\"API domain for the inbox.\").nullable(),\n pop3_ports: z.array(z.number().int()).describe(\"List of POP3 ports available for the inbox.\"),\n project_id: z.number().int().describe(\"ID of the project this inbox belongs to.\").nullable(),\n smtp_ports: z.array(z.number().int()).describe(\"List of SMTP ports available for the inbox.\"),\n permissions: MailtrapResetInboxCredentials_InboxPermissionsSchema.nullable(),\n pop3_domain: z.string().describe(\"POP3 domain for accessing the inbox.\").nullable(),\n email_domain: z.string().describe(\"Email domain for the inbox.\").nullable(),\n emails_count: z.number().int().describe(\"Total number of emails in the inbox.\").nullable(),\n email_username: z.string().describe(\"Email username for the inbox.\").nullable(),\n max_message_size: z.number().int().describe(\"Maximum message size allowed in bytes.\").nullable(),\n emails_unread_count: z.number().int().describe(\"Number of unread emails in the inbox.\").nullable(),\n sent_messages_count: z.number().int().describe(\"Total number of sent messages from the inbox.\").nullable(),\n last_message_sent_at: z.string().describe(\"Timestamp of the last message sent. Null if no messages have been sent.\").nullable().optional(),\n email_username_enabled: z.boolean().describe(\"Whether the email username is enabled.\").nullable(),\n forwarded_messages_count: z.number().int().describe(\"Total number of forwarded messages.\").nullable(),\n forward_from_email_address: z.string().describe(\"Email address from which messages are forwarded.\").nullable(),\n}).passthrough().describe(\"Response model containing inbox attributes with reset credentials.\");\n\nexport const mailtrapResetInboxCredentials = action(\"MAILTRAP_RESET_INBOX_CREDENTIALS\", {\n slug: \"mailtrap-reset-inbox-credentials\",\n name: \"Reset Inbox Credentials\",\n description: \"Tool to reset SMTP credentials for a Mailtrap inbox. Use when you need to regenerate the username and password for inbox access.\",\n input: MailtrapResetInboxCredentialsInput,\n output: MailtrapResetInboxCredentialsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD;CACrF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD;AAC7F,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,uDAAuDA,IAAAA,EAAE,OAAO;CACpE,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC/F,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACjG,YAAYA,IAAAA,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a;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -27,7 +27,7 @@ declare const MailtrapResetInboxCredentialsOutput: z.ZodObject<{
27
27
  can_leave: z.ZodNullable<z.ZodBoolean>;
28
28
  can_update: z.ZodNullable<z.ZodBoolean>;
29
29
  can_destroy: z.ZodNullable<z.ZodBoolean>;
30
- }, z.core.$strip>>;
30
+ }, z.core.$loose>>;
31
31
  pop3_domain: z.ZodNullable<z.ZodString>;
32
32
  email_domain: z.ZodNullable<z.ZodString>;
33
33
  emails_count: z.ZodNullable<z.ZodNumber>;
@@ -39,7 +39,7 @@ declare const MailtrapResetInboxCredentialsOutput: z.ZodObject<{
39
39
  email_username_enabled: z.ZodNullable<z.ZodBoolean>;
40
40
  forwarded_messages_count: z.ZodNullable<z.ZodNumber>;
41
41
  forward_from_email_address: z.ZodNullable<z.ZodString>;
42
- }, z.core.$strip>;
42
+ }, z.core.$loose>;
43
43
  declare const mailtrapResetInboxCredentials: import("@keystrokehq/action").WorkflowActionDefinition<{
44
44
  inbox_id: number;
45
45
  account_id: number;
@@ -27,7 +27,7 @@ declare const MailtrapResetInboxCredentialsOutput: z.ZodObject<{
27
27
  can_leave: z.ZodNullable<z.ZodBoolean>;
28
28
  can_update: z.ZodNullable<z.ZodBoolean>;
29
29
  can_destroy: z.ZodNullable<z.ZodBoolean>;
30
- }, z.core.$strip>>;
30
+ }, z.core.$loose>>;
31
31
  pop3_domain: z.ZodNullable<z.ZodString>;
32
32
  email_domain: z.ZodNullable<z.ZodString>;
33
33
  emails_count: z.ZodNullable<z.ZodNumber>;
@@ -39,7 +39,7 @@ declare const MailtrapResetInboxCredentialsOutput: z.ZodObject<{
39
39
  email_username_enabled: z.ZodNullable<z.ZodBoolean>;
40
40
  forwarded_messages_count: z.ZodNullable<z.ZodNumber>;
41
41
  forward_from_email_address: z.ZodNullable<z.ZodString>;
42
- }, z.core.$strip>;
42
+ }, z.core.$loose>;
43
43
  declare const mailtrapResetInboxCredentials: import("@keystrokehq/action").WorkflowActionDefinition<{
44
44
  inbox_id: number;
45
45
  account_id: number;
@@ -10,7 +10,7 @@ const MailtrapResetInboxCredentials_InboxPermissionsSchema = z.object({
10
10
  can_leave: z.boolean().describe("Whether the token has permission to leave the inbox.").nullable(),
11
11
  can_update: z.boolean().describe("Whether the token has permission to update the inbox.").nullable(),
12
12
  can_destroy: z.boolean().describe("Whether the token has permission to destroy the inbox.").nullable()
13
- }).describe("Permissions model for inbox operations.");
13
+ }).passthrough().describe("Permissions model for inbox operations.");
14
14
  const mailtrapResetInboxCredentials = action("MAILTRAP_RESET_INBOX_CREDENTIALS", {
15
15
  slug: "mailtrap-reset-inbox-credentials",
16
16
  name: "Reset Inbox Credentials",
@@ -45,7 +45,7 @@ const mailtrapResetInboxCredentials = action("MAILTRAP_RESET_INBOX_CREDENTIALS",
45
45
  email_username_enabled: z.boolean().describe("Whether the email username is enabled.").nullable(),
46
46
  forwarded_messages_count: z.number().int().describe("Total number of forwarded messages.").nullable(),
47
47
  forward_from_email_address: z.string().describe("Email address from which messages are forwarded.").nullable()
48
- }).describe("Response model containing inbox attributes with reset credentials.")
48
+ }).passthrough().describe("Response model containing inbox attributes with reset credentials.")
49
49
  });
50
50
  //#endregion
51
51
  export { mailtrapResetInboxCredentials };
@@ -1 +1 @@
1
- {"version":3,"file":"reset-inbox-credentials.mjs","names":[],"sources":["../../src/actions/reset-inbox-credentials.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapResetInboxCredentialsInput = z.object({\n inbox_id: z.number().int().describe(\"Unique inbox ID to identify the specific inbox.\"),\n account_id: z.number().int().describe(\"Unique account ID to identify the Mailtrap account.\"),\n}).describe(\"Request model for resetting inbox SMTP credentials.\");\nconst MailtrapResetInboxCredentials_InboxPermissionsSchema = z.object({\n can_read: z.boolean().describe(\"Whether the token has permission to read the inbox.\").nullable(),\n can_leave: z.boolean().describe(\"Whether the token has permission to leave the inbox.\").nullable(),\n can_update: z.boolean().describe(\"Whether the token has permission to update the inbox.\").nullable(),\n can_destroy: z.boolean().describe(\"Whether the token has permission to destroy the inbox.\").nullable(),\n}).describe(\"Permissions model for inbox operations.\");\nexport const MailtrapResetInboxCredentialsOutput = z.object({\n id: z.number().int().describe(\"Unique identifier for the inbox.\").nullable(),\n name: z.string().describe(\"Name of the inbox.\").nullable(),\n used: z.boolean().describe(\"Whether the inbox has been used.\").nullable(),\n domain: z.string().describe(\"Domain for the inbox.\").nullable(),\n status: z.enum([\"active\", \"inactive\", \"pending\"]).describe(\"Current status of the inbox.\").nullable(),\n max_size: z.number().int().describe(\"Maximum size limit for the inbox in bytes.\").nullable(),\n password: z.string().describe(\"Password for accessing the inbox. Only available if you have admin permissions.\").nullable().optional(),\n username: z.string().describe(\"Username for accessing the inbox.\").nullable(),\n api_domain: z.string().describe(\"API domain for the inbox.\").nullable(),\n pop3_ports: z.array(z.number().int()).describe(\"List of POP3 ports available for the inbox.\"),\n project_id: z.number().int().describe(\"ID of the project this inbox belongs to.\").nullable(),\n smtp_ports: z.array(z.number().int()).describe(\"List of SMTP ports available for the inbox.\"),\n permissions: MailtrapResetInboxCredentials_InboxPermissionsSchema.nullable(),\n pop3_domain: z.string().describe(\"POP3 domain for accessing the inbox.\").nullable(),\n email_domain: z.string().describe(\"Email domain for the inbox.\").nullable(),\n emails_count: z.number().int().describe(\"Total number of emails in the inbox.\").nullable(),\n email_username: z.string().describe(\"Email username for the inbox.\").nullable(),\n max_message_size: z.number().int().describe(\"Maximum message size allowed in bytes.\").nullable(),\n emails_unread_count: z.number().int().describe(\"Number of unread emails in the inbox.\").nullable(),\n sent_messages_count: z.number().int().describe(\"Total number of sent messages from the inbox.\").nullable(),\n last_message_sent_at: z.string().describe(\"Timestamp of the last message sent. Null if no messages have been sent.\").nullable().optional(),\n email_username_enabled: z.boolean().describe(\"Whether the email username is enabled.\").nullable(),\n forwarded_messages_count: z.number().int().describe(\"Total number of forwarded messages.\").nullable(),\n forward_from_email_address: z.string().describe(\"Email address from which messages are forwarded.\").nullable(),\n}).describe(\"Response model containing inbox attributes with reset credentials.\");\n\nexport const mailtrapResetInboxCredentials = action(\"MAILTRAP_RESET_INBOX_CREDENTIALS\", {\n slug: \"mailtrap-reset-inbox-credentials\",\n name: \"Reset Inbox Credentials\",\n description: \"Tool to reset SMTP credentials for a Mailtrap inbox. Use when you need to regenerate the username and password for inbox access.\",\n input: MailtrapResetInboxCredentialsInput,\n output: MailtrapResetInboxCredentialsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqC,EAAE,OAAO;CACzD,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD;CACrF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD;AAC7F,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,uDAAuD,EAAE,OAAO;CACpE,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC/F,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACjG,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACnG,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,SAAS,yCAAyC;AA4BrD,MAAa,gCAAgC,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAhCiD,EAAE,OAAO;EAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC3E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;EACzD,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EACxE,QAAQ,EAAE,OAAO,C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BAAqB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACzG,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzI,wBAAwB,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EAChG,0BAA0B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EACpG,4BAA4B,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC/G,CAAC,CAAC,CAAC,SAAS,oEAOF;AACV,CAAC"}
1
+ {"version":3,"file":"reset-inbox-credentials.mjs","names":[],"sources":["../../src/actions/reset-inbox-credentials.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapResetInboxCredentialsInput = z.object({\n inbox_id: z.number().int().describe(\"Unique inbox ID to identify the specific inbox.\"),\n account_id: z.number().int().describe(\"Unique account ID to identify the Mailtrap account.\"),\n}).describe(\"Request model for resetting inbox SMTP credentials.\");\nconst MailtrapResetInboxCredentials_InboxPermissionsSchema = z.object({\n can_read: z.boolean().describe(\"Whether the token has permission to read the inbox.\").nullable(),\n can_leave: z.boolean().describe(\"Whether the token has permission to leave the inbox.\").nullable(),\n can_update: z.boolean().describe(\"Whether the token has permission to update the inbox.\").nullable(),\n can_destroy: z.boolean().describe(\"Whether the token has permission to destroy the inbox.\").nullable(),\n}).passthrough().describe(\"Permissions model for inbox operations.\");\nexport const MailtrapResetInboxCredentialsOutput = z.object({\n id: z.number().int().describe(\"Unique identifier for the inbox.\").nullable(),\n name: z.string().describe(\"Name of the inbox.\").nullable(),\n used: z.boolean().describe(\"Whether the inbox has been used.\").nullable(),\n domain: z.string().describe(\"Domain for the inbox.\").nullable(),\n status: z.enum([\"active\", \"inactive\", \"pending\"]).describe(\"Current status of the inbox.\").nullable(),\n max_size: z.number().int().describe(\"Maximum size limit for the inbox in bytes.\").nullable(),\n password: z.string().describe(\"Password for accessing the inbox. Only available if you have admin permissions.\").nullable().optional(),\n username: z.string().describe(\"Username for accessing the inbox.\").nullable(),\n api_domain: z.string().describe(\"API domain for the inbox.\").nullable(),\n pop3_ports: z.array(z.number().int()).describe(\"List of POP3 ports available for the inbox.\"),\n project_id: z.number().int().describe(\"ID of the project this inbox belongs to.\").nullable(),\n smtp_ports: z.array(z.number().int()).describe(\"List of SMTP ports available for the inbox.\"),\n permissions: MailtrapResetInboxCredentials_InboxPermissionsSchema.nullable(),\n pop3_domain: z.string().describe(\"POP3 domain for accessing the inbox.\").nullable(),\n email_domain: z.string().describe(\"Email domain for the inbox.\").nullable(),\n emails_count: z.number().int().describe(\"Total number of emails in the inbox.\").nullable(),\n email_username: z.string().describe(\"Email username for the inbox.\").nullable(),\n max_message_size: z.number().int().describe(\"Maximum message size allowed in bytes.\").nullable(),\n emails_unread_count: z.number().int().describe(\"Number of unread emails in the inbox.\").nullable(),\n sent_messages_count: z.number().int().describe(\"Total number of sent messages from the inbox.\").nullable(),\n last_message_sent_at: z.string().describe(\"Timestamp of the last message sent. Null if no messages have been sent.\").nullable().optional(),\n email_username_enabled: z.boolean().describe(\"Whether the email username is enabled.\").nullable(),\n forwarded_messages_count: z.number().int().describe(\"Total number of forwarded messages.\").nullable(),\n forward_from_email_address: z.string().describe(\"Email address from which messages are forwarded.\").nullable(),\n}).passthrough().describe(\"Response model containing inbox attributes with reset credentials.\");\n\nexport const mailtrapResetInboxCredentials = action(\"MAILTRAP_RESET_INBOX_CREDENTIALS\", {\n slug: \"mailtrap-reset-inbox-credentials\",\n name: \"Reset Inbox Credentials\",\n description: \"Tool to reset SMTP credentials for a Mailtrap inbox. Use when you need to regenerate the username and password for inbox access.\",\n input: MailtrapResetInboxCredentialsInput,\n output: MailtrapResetInboxCredentialsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqC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C,CAAC,CAAC,SAAS;EACpG,4BAA4B,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oEAOhB;AACV,CAAC"}
@@ -19,7 +19,7 @@ const MailtrapUpdateContactFieldOutput = zod.z.object({
19
19
  name: zod.z.string().describe("Name of the contact field").nullable().optional(),
20
20
  data_type: MailtrapUpdateContactField_DataTypeSchema.nullable().optional(),
21
21
  merge_tag: zod.z.string().describe("Personalize your campaigns by adding a merge tag. This field will be replaced with unique contact details for each recipient.").nullable().optional()
22
- }).describe("Response containing the updated contact field details.");
22
+ }).passthrough().describe("Response containing the updated contact field details.");
23
23
  const mailtrapUpdateContactField = require_action.action("MAILTRAP_UPDATE_CONTACT_FIELD", {
24
24
  slug: "mailtrap-update-contact-field",
25
25
  name: "Update Contact Field",
@@ -1 +1 @@
1
- {"version":3,"file":"update-contact-field.cjs","names":["z","action"],"sources":["../../src/actions/update-contact-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapUpdateContactFieldInput = z.object({\n name: z.string().describe(\"Name of the contact field\").optional(),\n field_id: z.number().int().describe(\"Unique Contact Field ID\"),\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.\").optional(),\n account_id: z.number().int().describe(\"Unique account ID\"),\n}).describe(\"Parameters for updating a contact field in Mailtrap.\");\nconst MailtrapUpdateContactField_DataTypeSchema = z.enum([\"text\", \"integer\", \"float\", \"boolean\", \"date\"]).describe(\"Enum for contact field data types.\");\nexport const MailtrapUpdateContactFieldOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact field\").nullable().optional(),\n name: z.string().describe(\"Name of the contact field\").nullable().optional(),\n data_type: MailtrapUpdateContactField_DataTypeSchema.nullable().optional(),\n merge_tag: z.string().describe(\"Personalize your campaigns by adding a merge tag. This field will be replaced with unique contact details for each recipient.\").nullable().optional(),\n}).describe(\"Response containing the updated contact field details.\");\n\nexport const mailtrapUpdateContactField = action(\"MAILTRAP_UPDATE_CONTACT_FIELD\", {\n slug: \"mailtrap-update-contact-field\",\n name: \"Update Contact Field\",\n description: \"Tool to update a contact field in Mailtrap. Use when you need to modify the name or merge tag of an existing contact field.\",\n input: MailtrapUpdateContactFieldInput,\n output: MailtrapUpdateContactFieldOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB;CAC7D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;CACzK,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB;AAC3D,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,4CAA4CA,IAAAA,EAAE,KAAK;CAAC;CAAQ;CAAW;CAAS;CAAW;AAAM,CAAC,CAAC,CAAC,SAAS,oCAAoC;AACvJ,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,WAAW,0CAA0C,SAAS,CAAC,CAAC,SAAS;CACzE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtL,CAAC,CAAC,CAAC,SAAS,wDAAwD;AAEpE,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-contact-field.cjs","names":["z","action"],"sources":["../../src/actions/update-contact-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapUpdateContactFieldInput = z.object({\n name: z.string().describe(\"Name of the contact field\").optional(),\n field_id: z.number().int().describe(\"Unique Contact Field ID\"),\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.\").optional(),\n account_id: z.number().int().describe(\"Unique account ID\"),\n}).describe(\"Parameters for updating a contact field in Mailtrap.\");\nconst MailtrapUpdateContactField_DataTypeSchema = z.enum([\"text\", \"integer\", \"float\", \"boolean\", \"date\"]).describe(\"Enum for contact field data types.\");\nexport const MailtrapUpdateContactFieldOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact field\").nullable().optional(),\n name: z.string().describe(\"Name of the contact field\").nullable().optional(),\n data_type: MailtrapUpdateContactField_DataTypeSchema.nullable().optional(),\n merge_tag: z.string().describe(\"Personalize your campaigns by adding a merge tag. This field will be replaced with unique contact details for each recipient.\").nullable().optional(),\n}).passthrough().describe(\"Response containing the updated contact field details.\");\n\nexport const mailtrapUpdateContactField = action(\"MAILTRAP_UPDATE_CONTACT_FIELD\", {\n slug: \"mailtrap-update-contact-field\",\n name: \"Update Contact Field\",\n description: \"Tool to update a contact field in Mailtrap. Use when you need to modify the name or merge tag of an existing contact field.\",\n input: MailtrapUpdateContactFieldInput,\n output: MailtrapUpdateContactFieldOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB;CAC7D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;CACzK,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB;AAC3D,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,4CAA4CA,IAAAA,EAAE,KAAK;CAAC;CAAQ;CAAW;CAAS;CAAW;AAAM,CAAC,CAAC,CAAC,SAAS,oCAAoC;AACvJ,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,WAAW,0CAA0C,SAAS,CAAC,CAAC,SAAS;CACzE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAElF,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -18,7 +18,7 @@ declare const MailtrapUpdateContactFieldOutput: z.ZodObject<{
18
18
  float: "float";
19
19
  }>>>;
20
20
  merge_tag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
- }, z.core.$strip>;
21
+ }, z.core.$loose>;
22
22
  declare const mailtrapUpdateContactField: import("@keystrokehq/action").WorkflowActionDefinition<{
23
23
  field_id: number;
24
24
  account_id: number;
@@ -18,7 +18,7 @@ declare const MailtrapUpdateContactFieldOutput: z.ZodObject<{
18
18
  float: "float";
19
19
  }>>>;
20
20
  merge_tag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
- }, z.core.$strip>;
21
+ }, z.core.$loose>;
22
22
  declare const mailtrapUpdateContactField: import("@keystrokehq/action").WorkflowActionDefinition<{
23
23
  field_id: number;
24
24
  account_id: number;
@@ -24,7 +24,7 @@ const mailtrapUpdateContactField = action("MAILTRAP_UPDATE_CONTACT_FIELD", {
24
24
  name: z.string().describe("Name of the contact field").nullable().optional(),
25
25
  data_type: MailtrapUpdateContactField_DataTypeSchema.nullable().optional(),
26
26
  merge_tag: z.string().describe("Personalize your campaigns by adding a merge tag. This field will be replaced with unique contact details for each recipient.").nullable().optional()
27
- }).describe("Response containing the updated contact field details.")
27
+ }).passthrough().describe("Response containing the updated contact field details.")
28
28
  });
29
29
  //#endregion
30
30
  export { mailtrapUpdateContactField };
@@ -1 +1 @@
1
- {"version":3,"file":"update-contact-field.mjs","names":[],"sources":["../../src/actions/update-contact-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapUpdateContactFieldInput = z.object({\n name: z.string().describe(\"Name of the contact field\").optional(),\n field_id: z.number().int().describe(\"Unique Contact Field ID\"),\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.\").optional(),\n account_id: z.number().int().describe(\"Unique account ID\"),\n}).describe(\"Parameters for updating a contact field in Mailtrap.\");\nconst MailtrapUpdateContactField_DataTypeSchema = z.enum([\"text\", \"integer\", \"float\", \"boolean\", \"date\"]).describe(\"Enum for contact field data types.\");\nexport const MailtrapUpdateContactFieldOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact field\").nullable().optional(),\n name: z.string().describe(\"Name of the contact field\").nullable().optional(),\n data_type: MailtrapUpdateContactField_DataTypeSchema.nullable().optional(),\n merge_tag: z.string().describe(\"Personalize your campaigns by adding a merge tag. This field will be replaced with unique contact details for each recipient.\").nullable().optional(),\n}).describe(\"Response containing the updated contact field details.\");\n\nexport const mailtrapUpdateContactField = action(\"MAILTRAP_UPDATE_CONTACT_FIELD\", {\n slug: \"mailtrap-update-contact-field\",\n name: \"Update Contact Field\",\n description: \"Tool to update a contact field in Mailtrap. Use when you need to modify the name or merge tag of an existing contact field.\",\n input: MailtrapUpdateContactFieldInput,\n output: MailtrapUpdateContactFieldOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO;CACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB;CAC7D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;CACzK,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB;AAC3D,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,4CAA4C,EAAE,KAAK;CAAC;CAAQ;CAAW;CAAS;CAAW;AAAM,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAQvJ,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;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,0CAA0C,SAAS,CAAC,CAAC,SAAS;EACzE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtL,CAAC,CAAC,CAAC,SAAS,wDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"update-contact-field.mjs","names":[],"sources":["../../src/actions/update-contact-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapUpdateContactFieldInput = z.object({\n name: z.string().describe(\"Name of the contact field\").optional(),\n field_id: z.number().int().describe(\"Unique Contact Field ID\"),\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.\").optional(),\n account_id: z.number().int().describe(\"Unique account ID\"),\n}).describe(\"Parameters for updating a contact field in Mailtrap.\");\nconst MailtrapUpdateContactField_DataTypeSchema = z.enum([\"text\", \"integer\", \"float\", \"boolean\", \"date\"]).describe(\"Enum for contact field data types.\");\nexport const MailtrapUpdateContactFieldOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact field\").nullable().optional(),\n name: z.string().describe(\"Name of the contact field\").nullable().optional(),\n data_type: MailtrapUpdateContactField_DataTypeSchema.nullable().optional(),\n merge_tag: z.string().describe(\"Personalize your campaigns by adding a merge tag. This field will be replaced with unique contact details for each recipient.\").nullable().optional(),\n}).passthrough().describe(\"Response containing the updated contact field details.\");\n\nexport const mailtrapUpdateContactField = action(\"MAILTRAP_UPDATE_CONTACT_FIELD\", {\n slug: \"mailtrap-update-contact-field\",\n name: \"Update Contact Field\",\n description: \"Tool to update a contact field in Mailtrap. Use when you need to modify the name or merge tag of an existing contact field.\",\n input: MailtrapUpdateContactFieldInput,\n output: MailtrapUpdateContactFieldOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO;CACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB;CAC7D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;CACzK,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB;AAC3D,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,4CAA4C,EAAE,KAAK;CAAC;CAAQ;CAAW;CAAS;CAAW;AAAM,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAQvJ,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;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,0CAA0C,SAAS,CAAC,CAAC,SAAS;EACzE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAOhB;AACV,CAAC"}
@@ -9,7 +9,7 @@ const MailtrapUpdateContactListInput = zod.z.object({
9
9
  const MailtrapUpdateContactListOutput = zod.z.object({
10
10
  id: zod.z.number().int().describe("Unique identifier of the contact list").nullable(),
11
11
  name: zod.z.string().describe("Name of the contact list").nullable()
12
- });
12
+ }).passthrough();
13
13
  const mailtrapUpdateContactList = require_action.action("MAILTRAP_UPDATE_CONTACT_LIST", {
14
14
  slug: "mailtrap-update-contact-list",
15
15
  name: "Update Contact List",
@@ -1 +1 @@
1
- {"version":3,"file":"update-contact-list.cjs","names":["z","action"],"sources":["../../src/actions/update-contact-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapUpdateContactListInput = z.object({\n name: z.string().describe(\"New name for the contact list. Maximum length is 255 characters.\"),\n list_id: z.number().int().describe(\"Unique list ID\"),\n account_id: z.number().int().describe(\"Unique account ID\"),\n});\nexport const MailtrapUpdateContactListOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact list\").nullable(),\n name: z.string().describe(\"Name of the contact list\").nullable(),\n});\n\nexport const mailtrapUpdateContactList = action(\"MAILTRAP_UPDATE_CONTACT_LIST\", {\n slug: \"mailtrap-update-contact-list\",\n name: \"Update Contact List\",\n description: \"Tool to update a contact list's name in Mailtrap. Use when you need to rename an existing contact list.\",\n input: MailtrapUpdateContactListInput,\n output: MailtrapUpdateContactListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;CAC5F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gBAAgB;CACnD,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,uCAAuC,CAAC,CAAC,SAAS;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;AACjE,CAAC;AAED,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-contact-list.cjs","names":["z","action"],"sources":["../../src/actions/update-contact-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapUpdateContactListInput = z.object({\n name: z.string().describe(\"New name for the contact list. Maximum length is 255 characters.\"),\n list_id: z.number().int().describe(\"Unique list ID\"),\n account_id: z.number().int().describe(\"Unique account ID\"),\n});\nexport const MailtrapUpdateContactListOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact list\").nullable(),\n name: z.string().describe(\"Name of the contact list\").nullable(),\n}).passthrough();\n\nexport const mailtrapUpdateContactList = action(\"MAILTRAP_UPDATE_CONTACT_LIST\", {\n slug: \"mailtrap-update-contact-list\",\n name: \"Update Contact List\",\n description: \"Tool to update a contact list's name in Mailtrap. Use when you need to rename an existing contact list.\",\n input: MailtrapUpdateContactListInput,\n output: MailtrapUpdateContactListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;CAC5F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gBAAgB;CACnD,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,uCAAuC,CAAC,CAAC,SAAS;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;AACjE,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -9,7 +9,7 @@ declare const MailtrapUpdateContactListInput: z.ZodObject<{
9
9
  declare const MailtrapUpdateContactListOutput: z.ZodObject<{
10
10
  id: z.ZodNullable<z.ZodNumber>;
11
11
  name: z.ZodNullable<z.ZodString>;
12
- }, z.core.$strip>;
12
+ }, z.core.$loose>;
13
13
  declare const mailtrapUpdateContactList: import("@keystrokehq/action").WorkflowActionDefinition<{
14
14
  name: string;
15
15
  list_id: number;
@@ -9,7 +9,7 @@ declare const MailtrapUpdateContactListInput: z.ZodObject<{
9
9
  declare const MailtrapUpdateContactListOutput: z.ZodObject<{
10
10
  id: z.ZodNullable<z.ZodNumber>;
11
11
  name: z.ZodNullable<z.ZodString>;
12
- }, z.core.$strip>;
12
+ }, z.core.$loose>;
13
13
  declare const mailtrapUpdateContactList: import("@keystrokehq/action").WorkflowActionDefinition<{
14
14
  name: string;
15
15
  list_id: number;
@@ -12,7 +12,7 @@ const mailtrapUpdateContactList = action("MAILTRAP_UPDATE_CONTACT_LIST", {
12
12
  output: z.object({
13
13
  id: z.number().int().describe("Unique identifier of the contact list").nullable(),
14
14
  name: z.string().describe("Name of the contact list").nullable()
15
- })
15
+ }).passthrough()
16
16
  });
17
17
  //#endregion
18
18
  export { mailtrapUpdateContactList };
@@ -1 +1 @@
1
- {"version":3,"file":"update-contact-list.mjs","names":[],"sources":["../../src/actions/update-contact-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapUpdateContactListInput = z.object({\n name: z.string().describe(\"New name for the contact list. Maximum length is 255 characters.\"),\n list_id: z.number().int().describe(\"Unique list ID\"),\n account_id: z.number().int().describe(\"Unique account ID\"),\n});\nexport const MailtrapUpdateContactListOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact list\").nullable(),\n name: z.string().describe(\"Name of the contact list\").nullable(),\n});\n\nexport const mailtrapUpdateContactList = action(\"MAILTRAP_UPDATE_CONTACT_LIST\", {\n slug: \"mailtrap-update-contact-list\",\n name: \"Update Contact List\",\n description: \"Tool to update a contact list's name in Mailtrap. Use when you need to rename an existing contact list.\",\n input: MailtrapUpdateContactListInput,\n output: MailtrapUpdateContactListOutput,\n});\n"],"mappings":";;AAcA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAd4C,EAAE,OAAO;EACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;EAC5F,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gBAAgB;EACnD,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,uCAAuC,CAAC,CAAC,SAAS;EAChF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACjE,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"update-contact-list.mjs","names":[],"sources":["../../src/actions/update-contact-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapUpdateContactListInput = z.object({\n name: z.string().describe(\"New name for the contact list. Maximum length is 255 characters.\"),\n list_id: z.number().int().describe(\"Unique list ID\"),\n account_id: z.number().int().describe(\"Unique account ID\"),\n});\nexport const MailtrapUpdateContactListOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact list\").nullable(),\n name: z.string().describe(\"Name of the contact list\").nullable(),\n}).passthrough();\n\nexport const mailtrapUpdateContactList = action(\"MAILTRAP_UPDATE_CONTACT_LIST\", {\n slug: \"mailtrap-update-contact-list\",\n name: \"Update Contact List\",\n description: \"Tool to update a contact list's name in Mailtrap. Use when you need to rename an existing contact list.\",\n input: MailtrapUpdateContactListInput,\n output: MailtrapUpdateContactListOutput,\n});\n"],"mappings":";;AAcA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAd4C,EAAE,OAAO;EACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;EAC5F,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gBAAgB;EACnD,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,uCAAuC,CAAC,CAAC,SAAS;EAChF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACjE,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}