@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
@@ -10,7 +10,7 @@ const MailtrapCleanInbox_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 MailtrapCleanInboxOutput = 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(),
@@ -36,7 +36,7 @@ const MailtrapCleanInboxOutput = zod.z.object({
36
36
  email_username_enabled: zod.z.boolean().describe("Whether the email username is enabled.").nullable(),
37
37
  forwarded_messages_count: zod.z.number().int().describe("Total number of forwarded messages.").nullable(),
38
38
  forward_from_email_address: zod.z.string().describe("Email address from which messages are forwarded.").nullable()
39
- }).describe("Response model containing the cleaned inbox attributes from Mailtrap.");
39
+ }).passthrough().describe("Response model containing the cleaned inbox attributes from Mailtrap.");
40
40
  const mailtrapCleanInbox = require_action.action("MAILTRAP_CLEAN_INBOX", {
41
41
  slug: "mailtrap-clean-inbox",
42
42
  name: "Clean Inbox",
@@ -1 +1 @@
1
- {"version":3,"file":"clean-inbox.cjs","names":["z","action"],"sources":["../../src/actions/clean-inbox.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapCleanInboxInput = z.object({\n inbox_id: z.number().int().describe(\"Unique inbox ID to identify the specific inbox to clean.\"),\n account_id: z.number().int().describe(\"Unique account ID to identify the Mailtrap account.\"),\n}).describe(\"Request model for cleaning an inbox in Mailtrap.\");\nconst MailtrapCleanInbox_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 MailtrapCleanInboxOutput = z.object({\n id: z.number().int().describe(\"Unique identifier for the inbox.\").nullable(),\n name: z.string().describe(\"Name of the inbox.\").nullable(),\n used: z.boolean().describe(\"Whether the inbox has been used.\").nullable(),\n domain: z.string().describe(\"Domain for the inbox.\").nullable(),\n status: z.string().describe(\"Current status of the inbox (active, inactive, or pending).\").nullable(),\n max_size: z.number().int().describe(\"Maximum size limit for the inbox in bytes.\").nullable(),\n password: z.string().describe(\"Password for accessing the inbox. Only available if you have admin permissions.\").nullable().optional(),\n username: z.string().describe(\"Username for accessing the inbox.\").nullable(),\n api_domain: z.string().describe(\"API domain for the inbox.\").nullable(),\n pop3_ports: z.array(z.number().int()).describe(\"List of POP3 ports available for the inbox.\"),\n project_id: z.number().int().describe(\"ID of the project this inbox belongs to.\").nullable(),\n smtp_ports: z.array(z.number().int()).describe(\"List of SMTP ports available for the inbox.\"),\n permissions: MailtrapCleanInbox_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. Should be 0 after cleaning.\").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. Should be 0 after cleaning.\").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 the cleaned inbox attributes from Mailtrap.\");\n\nexport const mailtrapCleanInbox = action(\"MAILTRAP_CLEAN_INBOX\", {\n slug: \"mailtrap-clean-inbox\",\n name: \"Clean Inbox\",\n description: \"Tool to clean an inbox in Mailtrap by deleting all messages. Use when you need to remove all emails from an inbox while keeping the inbox itself.\",\n input: MailtrapCleanInboxInput,\n output: MailtrapCleanInboxOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D;CAC9F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD;AAC7F,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,UAAUA,IAAAA,EAAE,QA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EAAuE;AAEnF,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"clean-inbox.cjs","names":["z","action"],"sources":["../../src/actions/clean-inbox.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapCleanInboxInput = z.object({\n inbox_id: z.number().int().describe(\"Unique inbox ID to identify the specific inbox to clean.\"),\n account_id: z.number().int().describe(\"Unique account ID to identify the Mailtrap account.\"),\n}).describe(\"Request model for cleaning an inbox in Mailtrap.\");\nconst MailtrapCleanInbox_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 MailtrapCleanInboxOutput = z.object({\n id: z.number().int().describe(\"Unique identifier for the inbox.\").nullable(),\n name: z.string().describe(\"Name of the inbox.\").nullable(),\n used: z.boolean().describe(\"Whether the inbox has been used.\").nullable(),\n domain: z.string().describe(\"Domain for the inbox.\").nullable(),\n status: z.string().describe(\"Current status of the inbox (active, inactive, or pending).\").nullable(),\n max_size: z.number().int().describe(\"Maximum size limit for the inbox in bytes.\").nullable(),\n password: z.string().describe(\"Password for accessing the inbox. Only available if you have admin permissions.\").nullable().optional(),\n username: z.string().describe(\"Username for accessing the inbox.\").nullable(),\n api_domain: z.string().describe(\"API domain for the inbox.\").nullable(),\n pop3_ports: z.array(z.number().int()).describe(\"List of POP3 ports available for the inbox.\"),\n project_id: z.number().int().describe(\"ID of the project this inbox belongs to.\").nullable(),\n smtp_ports: z.array(z.number().int()).describe(\"List of SMTP ports available for the inbox.\"),\n permissions: MailtrapCleanInbox_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. Should be 0 after cleaning.\").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. Should be 0 after cleaning.\").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 the cleaned inbox attributes from Mailtrap.\");\n\nexport const mailtrapCleanInbox = action(\"MAILTRAP_CLEAN_INBOX\", {\n slug: \"mailtrap-clean-inbox\",\n name: \"Clean Inbox\",\n description: \"Tool to clean an inbox in Mailtrap by deleting all messages. Use when you need to remove all emails from an inbox while keeping the inbox itself.\",\n input: MailtrapCleanInboxInput,\n output: MailtrapCleanInboxOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D;CAC9F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD;AAC7F,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC/F,WA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AAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -23,7 +23,7 @@ declare const MailtrapCleanInboxOutput: z.ZodObject<{
23
23
  can_leave: z.ZodNullable<z.ZodBoolean>;
24
24
  can_update: z.ZodNullable<z.ZodBoolean>;
25
25
  can_destroy: z.ZodNullable<z.ZodBoolean>;
26
- }, z.core.$strip>>;
26
+ }, z.core.$loose>>;
27
27
  pop3_domain: z.ZodNullable<z.ZodString>;
28
28
  email_domain: z.ZodNullable<z.ZodString>;
29
29
  emails_count: z.ZodNullable<z.ZodNumber>;
@@ -35,7 +35,7 @@ declare const MailtrapCleanInboxOutput: z.ZodObject<{
35
35
  email_username_enabled: z.ZodNullable<z.ZodBoolean>;
36
36
  forwarded_messages_count: z.ZodNullable<z.ZodNumber>;
37
37
  forward_from_email_address: z.ZodNullable<z.ZodString>;
38
- }, z.core.$strip>;
38
+ }, z.core.$loose>;
39
39
  declare const mailtrapCleanInbox: import("@keystrokehq/action").WorkflowActionDefinition<{
40
40
  inbox_id: number;
41
41
  account_id: number;
@@ -23,7 +23,7 @@ declare const MailtrapCleanInboxOutput: z.ZodObject<{
23
23
  can_leave: z.ZodNullable<z.ZodBoolean>;
24
24
  can_update: z.ZodNullable<z.ZodBoolean>;
25
25
  can_destroy: z.ZodNullable<z.ZodBoolean>;
26
- }, z.core.$strip>>;
26
+ }, z.core.$loose>>;
27
27
  pop3_domain: z.ZodNullable<z.ZodString>;
28
28
  email_domain: z.ZodNullable<z.ZodString>;
29
29
  emails_count: z.ZodNullable<z.ZodNumber>;
@@ -35,7 +35,7 @@ declare const MailtrapCleanInboxOutput: z.ZodObject<{
35
35
  email_username_enabled: z.ZodNullable<z.ZodBoolean>;
36
36
  forwarded_messages_count: z.ZodNullable<z.ZodNumber>;
37
37
  forward_from_email_address: z.ZodNullable<z.ZodString>;
38
- }, z.core.$strip>;
38
+ }, z.core.$loose>;
39
39
  declare const mailtrapCleanInbox: import("@keystrokehq/action").WorkflowActionDefinition<{
40
40
  inbox_id: number;
41
41
  account_id: number;
@@ -10,7 +10,7 @@ const MailtrapCleanInbox_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 mailtrapCleanInbox = action("MAILTRAP_CLEAN_INBOX", {
15
15
  slug: "mailtrap-clean-inbox",
16
16
  name: "Clean Inbox",
@@ -41,7 +41,7 @@ const mailtrapCleanInbox = action("MAILTRAP_CLEAN_INBOX", {
41
41
  email_username_enabled: z.boolean().describe("Whether the email username is enabled.").nullable(),
42
42
  forwarded_messages_count: z.number().int().describe("Total number of forwarded messages.").nullable(),
43
43
  forward_from_email_address: z.string().describe("Email address from which messages are forwarded.").nullable()
44
- }).describe("Response model containing the cleaned inbox attributes from Mailtrap.")
44
+ }).passthrough().describe("Response model containing the cleaned inbox attributes from Mailtrap.")
45
45
  });
46
46
  //#endregion
47
47
  export { mailtrapCleanInbox };
@@ -1 +1 @@
1
- {"version":3,"file":"clean-inbox.mjs","names":[],"sources":["../../src/actions/clean-inbox.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapCleanInboxInput = z.object({\n inbox_id: z.number().int().describe(\"Unique inbox ID to identify the specific inbox to clean.\"),\n account_id: z.number().int().describe(\"Unique account ID to identify the Mailtrap account.\"),\n}).describe(\"Request model for cleaning an inbox in Mailtrap.\");\nconst MailtrapCleanInbox_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 MailtrapCleanInboxOutput = z.object({\n id: z.number().int().describe(\"Unique identifier for the inbox.\").nullable(),\n name: z.string().describe(\"Name of the inbox.\").nullable(),\n used: z.boolean().describe(\"Whether the inbox has been used.\").nullable(),\n domain: z.string().describe(\"Domain for the inbox.\").nullable(),\n status: z.string().describe(\"Current status of the inbox (active, inactive, or pending).\").nullable(),\n max_size: z.number().int().describe(\"Maximum size limit for the inbox in bytes.\").nullable(),\n password: z.string().describe(\"Password for accessing the inbox. Only available if you have admin permissions.\").nullable().optional(),\n username: z.string().describe(\"Username for accessing the inbox.\").nullable(),\n api_domain: z.string().describe(\"API domain for the inbox.\").nullable(),\n pop3_ports: z.array(z.number().int()).describe(\"List of POP3 ports available for the inbox.\"),\n project_id: z.number().int().describe(\"ID of the project this inbox belongs to.\").nullable(),\n smtp_ports: z.array(z.number().int()).describe(\"List of SMTP ports available for the inbox.\"),\n permissions: MailtrapCleanInbox_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. Should be 0 after cleaning.\").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. Should be 0 after cleaning.\").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 the cleaned inbox attributes from Mailtrap.\");\n\nexport const mailtrapCleanInbox = action(\"MAILTRAP_CLEAN_INBOX\", {\n slug: \"mailtrap-clean-inbox\",\n name: \"Clean Inbox\",\n description: \"Tool to clean an inbox in Mailtrap by deleting all messages. Use when you need to remove all emails from an inbox while keeping the inbox itself.\",\n input: MailtrapCleanInboxInput,\n output: MailtrapCleanInboxOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D;CAC9F,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD;AAC7F,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,4CAA4C,EAAE,OAAO;CACzD,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,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAhCsC,EAAE,OAAO;EAC/C,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,CAAC,C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,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,uEAOF;AACV,CAAC"}
1
+ {"version":3,"file":"clean-inbox.mjs","names":[],"sources":["../../src/actions/clean-inbox.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapCleanInboxInput = z.object({\n inbox_id: z.number().int().describe(\"Unique inbox ID to identify the specific inbox to clean.\"),\n account_id: z.number().int().describe(\"Unique account ID to identify the Mailtrap account.\"),\n}).describe(\"Request model for cleaning an inbox in Mailtrap.\");\nconst MailtrapCleanInbox_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 MailtrapCleanInboxOutput = z.object({\n id: z.number().int().describe(\"Unique identifier for the inbox.\").nullable(),\n name: z.string().describe(\"Name of the inbox.\").nullable(),\n used: z.boolean().describe(\"Whether the inbox has been used.\").nullable(),\n domain: z.string().describe(\"Domain for the inbox.\").nullable(),\n status: z.string().describe(\"Current status of the inbox (active, inactive, or pending).\").nullable(),\n max_size: z.number().int().describe(\"Maximum size limit for the inbox in bytes.\").nullable(),\n password: z.string().describe(\"Password for accessing the inbox. Only available if you have admin permissions.\").nullable().optional(),\n username: z.string().describe(\"Username for accessing the inbox.\").nullable(),\n api_domain: z.string().describe(\"API domain for the inbox.\").nullable(),\n pop3_ports: z.array(z.number().int()).describe(\"List of POP3 ports available for the inbox.\"),\n project_id: z.number().int().describe(\"ID of the project this inbox belongs to.\").nullable(),\n smtp_ports: z.array(z.number().int()).describe(\"List of SMTP ports available for the inbox.\"),\n permissions: MailtrapCleanInbox_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. Should be 0 after cleaning.\").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. Should be 0 after cleaning.\").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 the cleaned inbox attributes from Mailtrap.\");\n\nexport const mailtrapCleanInbox = action(\"MAILTRAP_CLEAN_INBOX\", {\n slug: \"mailtrap-clean-inbox\",\n name: \"Clean Inbox\",\n description: \"Tool to clean an inbox in Mailtrap by deleting all messages. Use when you need to remove all emails from an inbox while keeping the inbox itself.\",\n input: MailtrapCleanInboxInput,\n output: MailtrapCleanInboxOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,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AC,SAAS;CAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uEAOhB;AACV,CAAC"}
@@ -3,16 +3,16 @@ let zod = require("zod");
3
3
  //#region src/actions/create-contact-event.ts
4
4
  const MailtrapCreateContactEventInput = zod.z.object({
5
5
  name: zod.z.string().describe("Event name (max 255 characters)"),
6
- params: zod.z.object({}).describe("A hash of string keys and scalar JSON values (string, number, boolean, or null)").optional(),
6
+ params: zod.z.record(zod.z.string(), zod.z.unknown()).describe("A hash of string keys and scalar JSON values (string, number, boolean, or null)").optional(),
7
7
  account_id: zod.z.number().int().describe("Unique account ID. You can obtain this from your Mailtrap account settings."),
8
8
  contact_identifier: zod.z.string().describe("Contact UUID or Email")
9
9
  }).describe("Request model for creating a contact event in Mailtrap.");
10
10
  const MailtrapCreateContactEventOutput = zod.z.object({
11
11
  name: zod.z.string().describe("Name of the created event").nullable().optional(),
12
- params: zod.z.object({}).describe("Event parameters that were stored").nullable().optional(),
12
+ params: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Event parameters that were stored").nullable().optional(),
13
13
  contact_id: zod.z.string().describe("UUID of the contact").nullable().optional(),
14
14
  contact_email: zod.z.string().describe("Email address of the contact").nullable().optional()
15
- }).describe("Response model returned after creating a contact event in Mailtrap.");
15
+ }).passthrough().describe("Response model returned after creating a contact event in Mailtrap.");
16
16
  const mailtrapCreateContactEvent = require_action.action("MAILTRAP_CREATE_CONTACT_EVENT", {
17
17
  slug: "mailtrap-create-contact-event",
18
18
  name: "Create Contact Event",
@@ -1 +1 @@
1
- {"version":3,"file":"create-contact-event.cjs","names":["z","action"],"sources":["../../src/actions/create-contact-event.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapCreateContactEventInput = z.object({\n name: z.string().describe(\"Event name (max 255 characters)\"),\n params: z.object({}).describe(\"A hash of string keys and scalar JSON values (string, number, boolean, or null)\").optional(),\n account_id: z.number().int().describe(\"Unique account ID. You can obtain this from your Mailtrap account settings.\"),\n contact_identifier: z.string().describe(\"Contact UUID or Email\"),\n}).describe(\"Request model for creating a contact event in Mailtrap.\");\nexport const MailtrapCreateContactEventOutput = z.object({\n name: z.string().describe(\"Name of the created event\").nullable().optional(),\n params: z.object({}).describe(\"Event parameters that were stored\").nullable().optional(),\n contact_id: z.string().describe(\"UUID of the contact\").nullable().optional(),\n contact_email: z.string().describe(\"Email address of the contact\").nullable().optional(),\n}).describe(\"Response model returned after creating a contact event in Mailtrap.\");\n\nexport const mailtrapCreateContactEvent = action(\"MAILTRAP_CREATE_CONTACT_EVENT\", {\n slug: \"mailtrap-create-contact-event\",\n name: \"Create Contact Event\",\n description: \"Tool to create a contact event in Mailtrap. Use when you need to track custom events associated with a contact for segmentation or automation triggers.\",\n input: MailtrapCreateContactEventInput,\n output: MailtrapCreateContactEventOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAC3D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAC1H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E;CACnH,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;AACjE,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,SAAS,qEAAqE;AAEjF,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-contact-event.cjs","names":["z","action"],"sources":["../../src/actions/create-contact-event.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapCreateContactEventInput = z.object({\n name: z.string().describe(\"Event name (max 255 characters)\"),\n params: z.record(z.string(), z.unknown()).describe(\"A hash of string keys and scalar JSON values (string, number, boolean, or null)\").optional(),\n account_id: z.number().int().describe(\"Unique account ID. You can obtain this from your Mailtrap account settings.\"),\n contact_identifier: z.string().describe(\"Contact UUID or Email\"),\n}).describe(\"Request model for creating a contact event in Mailtrap.\");\nexport const MailtrapCreateContactEventOutput = z.object({\n name: z.string().describe(\"Name of the created event\").nullable().optional(),\n params: z.record(z.string(), z.unknown()).describe(\"Event parameters that were stored\").nullable().optional(),\n contact_id: z.string().describe(\"UUID of the contact\").nullable().optional(),\n contact_email: z.string().describe(\"Email address of the contact\").nullable().optional(),\n}).passthrough().describe(\"Response model returned after creating a contact event in Mailtrap.\");\n\nexport const mailtrapCreateContactEvent = action(\"MAILTRAP_CREATE_CONTACT_EVENT\", {\n slug: \"mailtrap-create-contact-event\",\n name: \"Create Contact Event\",\n description: \"Tool to create a contact event in Mailtrap. Use when you need to track custom events associated with a contact for segmentation or automation triggers.\",\n input: MailtrapCreateContactEventInput,\n output: MailtrapCreateContactEventOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAC3D,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAC/I,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E;CACnH,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;AACjE,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAAqE;AAE/F,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -3,21 +3,21 @@ import { z } from "zod";
3
3
  //#region src/actions/create-contact-event.d.ts
4
4
  declare const MailtrapCreateContactEventInput: z.ZodObject<{
5
5
  name: z.ZodString;
6
- params: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
6
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
7
7
  account_id: z.ZodNumber;
8
8
  contact_identifier: z.ZodString;
9
9
  }, z.core.$strip>;
10
10
  declare const MailtrapCreateContactEventOutput: z.ZodObject<{
11
11
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
- params: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
12
+ params: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
13
13
  contact_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
14
  contact_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
- }, z.core.$strip>;
15
+ }, z.core.$loose>;
16
16
  declare const mailtrapCreateContactEvent: import("@keystrokehq/action").WorkflowActionDefinition<{
17
17
  name: string;
18
18
  account_id: number;
19
19
  contact_identifier: string;
20
- params?: Record<string, never> | undefined;
20
+ params?: Record<string, unknown> | undefined;
21
21
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
22
22
  //#endregion
23
23
  export { mailtrapCreateContactEvent };
@@ -3,21 +3,21 @@ import { z } from "zod";
3
3
  //#region src/actions/create-contact-event.d.ts
4
4
  declare const MailtrapCreateContactEventInput: z.ZodObject<{
5
5
  name: z.ZodString;
6
- params: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
6
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
7
7
  account_id: z.ZodNumber;
8
8
  contact_identifier: z.ZodString;
9
9
  }, z.core.$strip>;
10
10
  declare const MailtrapCreateContactEventOutput: z.ZodObject<{
11
11
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
- params: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
12
+ params: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
13
13
  contact_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
14
  contact_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
- }, z.core.$strip>;
15
+ }, z.core.$loose>;
16
16
  declare const mailtrapCreateContactEvent: import("@keystrokehq/action").WorkflowActionDefinition<{
17
17
  name: string;
18
18
  account_id: number;
19
19
  contact_identifier: string;
20
- params?: Record<string, never> | undefined;
20
+ params?: Record<string, unknown> | undefined;
21
21
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
22
22
  //#endregion
23
23
  export { mailtrapCreateContactEvent };
@@ -6,16 +6,16 @@ const mailtrapCreateContactEvent = action("MAILTRAP_CREATE_CONTACT_EVENT", {
6
6
  description: "Tool to create a contact event in Mailtrap. Use when you need to track custom events associated with a contact for segmentation or automation triggers.",
7
7
  input: z.object({
8
8
  name: z.string().describe("Event name (max 255 characters)"),
9
- params: z.object({}).describe("A hash of string keys and scalar JSON values (string, number, boolean, or null)").optional(),
9
+ params: z.record(z.string(), z.unknown()).describe("A hash of string keys and scalar JSON values (string, number, boolean, or null)").optional(),
10
10
  account_id: z.number().int().describe("Unique account ID. You can obtain this from your Mailtrap account settings."),
11
11
  contact_identifier: z.string().describe("Contact UUID or Email")
12
12
  }).describe("Request model for creating a contact event in Mailtrap."),
13
13
  output: z.object({
14
14
  name: z.string().describe("Name of the created event").nullable().optional(),
15
- params: z.object({}).describe("Event parameters that were stored").nullable().optional(),
15
+ params: z.record(z.string(), z.unknown()).describe("Event parameters that were stored").nullable().optional(),
16
16
  contact_id: z.string().describe("UUID of the contact").nullable().optional(),
17
17
  contact_email: z.string().describe("Email address of the contact").nullable().optional()
18
- }).describe("Response model returned after creating a contact event in Mailtrap.")
18
+ }).passthrough().describe("Response model returned after creating a contact event in Mailtrap.")
19
19
  });
20
20
  //#endregion
21
21
  export { mailtrapCreateContactEvent };
@@ -1 +1 @@
1
- {"version":3,"file":"create-contact-event.mjs","names":[],"sources":["../../src/actions/create-contact-event.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapCreateContactEventInput = z.object({\n name: z.string().describe(\"Event name (max 255 characters)\"),\n params: z.object({}).describe(\"A hash of string keys and scalar JSON values (string, number, boolean, or null)\").optional(),\n account_id: z.number().int().describe(\"Unique account ID. You can obtain this from your Mailtrap account settings.\"),\n contact_identifier: z.string().describe(\"Contact UUID or Email\"),\n}).describe(\"Request model for creating a contact event in Mailtrap.\");\nexport const MailtrapCreateContactEventOutput = z.object({\n name: z.string().describe(\"Name of the created event\").nullable().optional(),\n params: z.object({}).describe(\"Event parameters that were stored\").nullable().optional(),\n contact_id: z.string().describe(\"UUID of the contact\").nullable().optional(),\n contact_email: z.string().describe(\"Email address of the contact\").nullable().optional(),\n}).describe(\"Response model returned after creating a contact event in Mailtrap.\");\n\nexport const mailtrapCreateContactEvent = action(\"MAILTRAP_CREATE_CONTACT_EVENT\", {\n slug: \"mailtrap-create-contact-event\",\n name: \"Create Contact Event\",\n description: \"Tool to create a contact event in Mailtrap. Use when you need to track custom events associated with a contact for segmentation or automation triggers.\",\n input: MailtrapCreateContactEventInput,\n output: MailtrapCreateContactEventOutput,\n});\n"],"mappings":";;AAiBA,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjB6C,EAAE,OAAO;EACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;EAC3D,QAAQ,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;EAC1H,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E;EACnH,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACjE,CAAC,CAAC,CAAC,SAAS,yDAYH;CACP,QAZ8C,EAAE,OAAO;EACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3E,QAAQ,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3E,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,CAAC,CAAC,CAAC,SAAS,qEAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-contact-event.mjs","names":[],"sources":["../../src/actions/create-contact-event.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapCreateContactEventInput = z.object({\n name: z.string().describe(\"Event name (max 255 characters)\"),\n params: z.record(z.string(), z.unknown()).describe(\"A hash of string keys and scalar JSON values (string, number, boolean, or null)\").optional(),\n account_id: z.number().int().describe(\"Unique account ID. You can obtain this from your Mailtrap account settings.\"),\n contact_identifier: z.string().describe(\"Contact UUID or Email\"),\n}).describe(\"Request model for creating a contact event in Mailtrap.\");\nexport const MailtrapCreateContactEventOutput = z.object({\n name: z.string().describe(\"Name of the created event\").nullable().optional(),\n params: z.record(z.string(), z.unknown()).describe(\"Event parameters that were stored\").nullable().optional(),\n contact_id: z.string().describe(\"UUID of the contact\").nullable().optional(),\n contact_email: z.string().describe(\"Email address of the contact\").nullable().optional(),\n}).passthrough().describe(\"Response model returned after creating a contact event in Mailtrap.\");\n\nexport const mailtrapCreateContactEvent = action(\"MAILTRAP_CREATE_CONTACT_EVENT\", {\n slug: \"mailtrap-create-contact-event\",\n name: \"Create Contact Event\",\n description: \"Tool to create a contact event in Mailtrap. Use when you need to track custom events associated with a contact for segmentation or automation triggers.\",\n input: MailtrapCreateContactEventInput,\n output: MailtrapCreateContactEventOutput,\n});\n"],"mappings":";;AAiBA,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjB6C,EAAE,OAAO;EACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;EAC3D,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;EAC/I,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E;EACnH,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACjE,CAAC,CAAC,CAAC,SAAS,yDAYH;CACP,QAZ8C,EAAE,OAAO;EACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3E,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3E,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAOhB;AACV,CAAC"}
@@ -6,7 +6,7 @@ const MailtrapCreateContactExportInput = zod.z.object({
6
6
  name: zod.z.string().describe("The name of the field to filter on. Common filter names include 'list_id' (array of integers) and 'subscription_status' (string value like 'subscribed', 'unsubscribed')."),
7
7
  value: zod.z.union([zod.z.string(), zod.z.array(zod.z.number().int())]),
8
8
  operator: zod.z.string().describe("The comparison operator to use for filtering. Typically 'equal'.")
9
- }).describe("Filter to apply when exporting contacts")).describe("Array of filters to apply when exporting contacts. Each filter specifies a field name, operator, and value. Required - must contain at least one filter. Common filters: 'subscription_status' (values: 'subscribed', 'unsubscribed') or 'list_id' (array of list IDs)."),
9
+ }).passthrough().describe("Filter to apply when exporting contacts")).describe("Array of filters to apply when exporting contacts. Each filter specifies a field name, operator, and value. Required - must contain at least one filter. Common filters: 'subscription_status' (values: 'subscribed', 'unsubscribed') or 'list_id' (array of list IDs)."),
10
10
  account_id: zod.z.number().int().describe("Unique account ID to create the contact export for")
11
11
  });
12
12
  const MailtrapCreateContactExport_ExportStatusSchema = zod.z.enum([
@@ -20,7 +20,7 @@ const MailtrapCreateContactExportOutput = zod.z.object({
20
20
  status: MailtrapCreateContactExport_ExportStatusSchema.nullable().optional(),
21
21
  created_at: zod.z.string().describe("ISO 8601 timestamp when the export was created.").nullable().optional(),
22
22
  updated_at: zod.z.string().describe("ISO 8601 timestamp when the export was last updated.").nullable().optional()
23
- });
23
+ }).passthrough();
24
24
  const mailtrapCreateContactExport = require_action.action("MAILTRAP_CREATE_CONTACT_EXPORT", {
25
25
  slug: "mailtrap-create-contact-export",
26
26
  name: "Create Contact Export",
@@ -1 +1 @@
1
- {"version":3,"file":"create-contact-export.cjs","names":["z","action"],"sources":["../../src/actions/create-contact-export.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapCreateContactExportInput = z.object({\n filters: z.array(z.object({\n name: z.string().describe(\"The name of the field to filter on. Common filter names include 'list_id' (array of integers) and 'subscription_status' (string value like 'subscribed', 'unsubscribed').\"),\n value: z.union([z.string(), z.array(z.number().int())]),\n operator: z.string().describe(\"The comparison operator to use for filtering. Typically 'equal'.\"),\n}).describe(\"Filter to apply when exporting contacts\")).describe(\"Array of filters to apply when exporting contacts. Each filter specifies a field name, operator, and value. Required - must contain at least one filter. Common filters: 'subscription_status' (values: 'subscribed', 'unsubscribed') or 'list_id' (array of list IDs).\"),\n account_id: z.number().int().describe(\"Unique account ID to create the contact export for\"),\n});\nconst MailtrapCreateContactExport_ExportStatusSchema = z.enum([\"created\", \"started\", \"finished\"]).describe(\"Status of the contact export.\");\nexport const MailtrapCreateContactExportOutput = z.object({\n id: z.number().int().describe(\"The unique identifier of the created export job\").nullable().optional(),\n url: z.string().describe(\"The URL of the exported contacts file. Only available when the export is finished.\").nullable().optional(),\n status: MailtrapCreateContactExport_ExportStatusSchema.nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the export was created.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the export was last updated.\").nullable().optional(),\n});\n\nexport const mailtrapCreateContactExport = action(\"MAILTRAP_CREATE_CONTACT_EXPORT\", {\n slug: \"mailtrap-create-contact-export\",\n name: \"Create Contact Export\",\n description: \"Tool to create a contact export job for a Mailtrap account. Use when you need to export contacts with filters. The export is processed asynchronously - the response includes a job ID and status. Check the status field; when it becomes 'finished', the url field will contain the download link for the exported contacts file. Filters are required - you must specify at least one filter such as subscription_status (subscribed/unsubscribed) or list_id (array of list IDs).\",\n input: MailtrapCreateContactExportInput,\n output: MailtrapCreateContactExportOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC1B,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2KAA2K;EACrM,OAAOA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;EACtD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;CAClG,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,CAAC,SAAS,yQAAyQ;CACxU,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD;AAC5F,CAAC;AACD,MAAM,iDAAiDA,IAAAA,EAAE,KAAK;CAAC;CAAW;CAAW;AAAU,CAAC,CAAC,CAAC,SAAS,+BAA+B;AAC1I,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,QAAQ,+CAA+C,SAAS,CAAC,CAAC,SAAS;CAC3E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9G,CAAC;AAED,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-contact-export.cjs","names":["z","action"],"sources":["../../src/actions/create-contact-export.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapCreateContactExportInput = z.object({\n filters: z.array(z.object({\n name: z.string().describe(\"The name of the field to filter on. Common filter names include 'list_id' (array of integers) and 'subscription_status' (string value like 'subscribed', 'unsubscribed').\"),\n value: z.union([z.string(), z.array(z.number().int())]),\n operator: z.string().describe(\"The comparison operator to use for filtering. Typically 'equal'.\"),\n}).passthrough().describe(\"Filter to apply when exporting contacts\")).describe(\"Array of filters to apply when exporting contacts. Each filter specifies a field name, operator, and value. Required - must contain at least one filter. Common filters: 'subscription_status' (values: 'subscribed', 'unsubscribed') or 'list_id' (array of list IDs).\"),\n account_id: z.number().int().describe(\"Unique account ID to create the contact export for\"),\n});\nconst MailtrapCreateContactExport_ExportStatusSchema = z.enum([\"created\", \"started\", \"finished\"]).describe(\"Status of the contact export.\");\nexport const MailtrapCreateContactExportOutput = z.object({\n id: z.number().int().describe(\"The unique identifier of the created export job\").nullable().optional(),\n url: z.string().describe(\"The URL of the exported contacts file. Only available when the export is finished.\").nullable().optional(),\n status: MailtrapCreateContactExport_ExportStatusSchema.nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the export was created.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the export was last updated.\").nullable().optional(),\n}).passthrough();\n\nexport const mailtrapCreateContactExport = action(\"MAILTRAP_CREATE_CONTACT_EXPORT\", {\n slug: \"mailtrap-create-contact-export\",\n name: \"Create Contact Export\",\n description: \"Tool to create a contact export job for a Mailtrap account. Use when you need to export contacts with filters. The export is processed asynchronously - the response includes a job ID and status. Check the status field; when it becomes 'finished', the url field will contain the download link for the exported contacts file. Filters are required - you must specify at least one filter such as subscription_status (subscribed/unsubscribed) or list_id (array of list IDs).\",\n input: MailtrapCreateContactExportInput,\n output: MailtrapCreateContactExportOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC1B,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2KAA2K;EACrM,OAAOA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;EACtD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;CAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,CAAC,SAAS,yQAAyQ;CACtV,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD;AAC5F,CAAC;AACD,MAAM,iDAAiDA,IAAAA,EAAE,KAAK;CAAC;CAAW;CAAW;AAAU,CAAC,CAAC,CAAC,SAAS,+BAA+B;AAC1I,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,QAAQ,+CAA+C,SAAS,CAAC,CAAC,SAAS;CAC3E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -6,7 +6,7 @@ declare const MailtrapCreateContactExportInput: z.ZodObject<{
6
6
  name: z.ZodString;
7
7
  value: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodNumber>]>;
8
8
  operator: z.ZodString;
9
- }, z.core.$strip>>;
9
+ }, z.core.$loose>>;
10
10
  account_id: z.ZodNumber;
11
11
  }, z.core.$strip>;
12
12
  declare const MailtrapCreateContactExportOutput: z.ZodObject<{
@@ -19,9 +19,10 @@ declare const MailtrapCreateContactExportOutput: z.ZodObject<{
19
19
  }>>>;
20
20
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
21
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
- }, z.core.$strip>;
22
+ }, z.core.$loose>;
23
23
  declare const mailtrapCreateContactExport: import("@keystrokehq/action").WorkflowActionDefinition<{
24
24
  filters: {
25
+ [x: string]: unknown;
25
26
  name: string;
26
27
  value: string | number[];
27
28
  operator: string;
@@ -6,7 +6,7 @@ declare const MailtrapCreateContactExportInput: z.ZodObject<{
6
6
  name: z.ZodString;
7
7
  value: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodNumber>]>;
8
8
  operator: z.ZodString;
9
- }, z.core.$strip>>;
9
+ }, z.core.$loose>>;
10
10
  account_id: z.ZodNumber;
11
11
  }, z.core.$strip>;
12
12
  declare const MailtrapCreateContactExportOutput: z.ZodObject<{
@@ -19,9 +19,10 @@ declare const MailtrapCreateContactExportOutput: z.ZodObject<{
19
19
  }>>>;
20
20
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
21
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
- }, z.core.$strip>;
22
+ }, z.core.$loose>;
23
23
  declare const mailtrapCreateContactExport: import("@keystrokehq/action").WorkflowActionDefinition<{
24
24
  filters: {
25
+ [x: string]: unknown;
25
26
  name: string;
26
27
  value: string | number[];
27
28
  operator: string;
@@ -6,7 +6,7 @@ const MailtrapCreateContactExportInput = z.object({
6
6
  name: z.string().describe("The name of the field to filter on. Common filter names include 'list_id' (array of integers) and 'subscription_status' (string value like 'subscribed', 'unsubscribed')."),
7
7
  value: z.union([z.string(), z.array(z.number().int())]),
8
8
  operator: z.string().describe("The comparison operator to use for filtering. Typically 'equal'.")
9
- }).describe("Filter to apply when exporting contacts")).describe("Array of filters to apply when exporting contacts. Each filter specifies a field name, operator, and value. Required - must contain at least one filter. Common filters: 'subscription_status' (values: 'subscribed', 'unsubscribed') or 'list_id' (array of list IDs)."),
9
+ }).passthrough().describe("Filter to apply when exporting contacts")).describe("Array of filters to apply when exporting contacts. Each filter specifies a field name, operator, and value. Required - must contain at least one filter. Common filters: 'subscription_status' (values: 'subscribed', 'unsubscribed') or 'list_id' (array of list IDs)."),
10
10
  account_id: z.number().int().describe("Unique account ID to create the contact export for")
11
11
  });
12
12
  const MailtrapCreateContactExport_ExportStatusSchema = z.enum([
@@ -25,7 +25,7 @@ const mailtrapCreateContactExport = action("MAILTRAP_CREATE_CONTACT_EXPORT", {
25
25
  status: MailtrapCreateContactExport_ExportStatusSchema.nullable().optional(),
26
26
  created_at: z.string().describe("ISO 8601 timestamp when the export was created.").nullable().optional(),
27
27
  updated_at: z.string().describe("ISO 8601 timestamp when the export was last updated.").nullable().optional()
28
- })
28
+ }).passthrough()
29
29
  });
30
30
  //#endregion
31
31
  export { mailtrapCreateContactExport };
@@ -1 +1 @@
1
- {"version":3,"file":"create-contact-export.mjs","names":[],"sources":["../../src/actions/create-contact-export.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapCreateContactExportInput = z.object({\n filters: z.array(z.object({\n name: z.string().describe(\"The name of the field to filter on. Common filter names include 'list_id' (array of integers) and 'subscription_status' (string value like 'subscribed', 'unsubscribed').\"),\n value: z.union([z.string(), z.array(z.number().int())]),\n operator: z.string().describe(\"The comparison operator to use for filtering. Typically 'equal'.\"),\n}).describe(\"Filter to apply when exporting contacts\")).describe(\"Array of filters to apply when exporting contacts. Each filter specifies a field name, operator, and value. Required - must contain at least one filter. Common filters: 'subscription_status' (values: 'subscribed', 'unsubscribed') or 'list_id' (array of list IDs).\"),\n account_id: z.number().int().describe(\"Unique account ID to create the contact export for\"),\n});\nconst MailtrapCreateContactExport_ExportStatusSchema = z.enum([\"created\", \"started\", \"finished\"]).describe(\"Status of the contact export.\");\nexport const MailtrapCreateContactExportOutput = z.object({\n id: z.number().int().describe(\"The unique identifier of the created export job\").nullable().optional(),\n url: z.string().describe(\"The URL of the exported contacts file. Only available when the export is finished.\").nullable().optional(),\n status: MailtrapCreateContactExport_ExportStatusSchema.nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the export was created.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the export was last updated.\").nullable().optional(),\n});\n\nexport const mailtrapCreateContactExport = action(\"MAILTRAP_CREATE_CONTACT_EXPORT\", {\n slug: \"mailtrap-create-contact-export\",\n name: \"Create Contact Export\",\n description: \"Tool to create a contact export job for a Mailtrap account. Use when you need to export contacts with filters. The export is processed asynchronously - the response includes a job ID and status. Check the status field; when it becomes 'finished', the url field will contain the download link for the exported contacts file. Filters are required - you must specify at least one filter such as subscription_status (subscribed/unsubscribed) or list_id (array of list IDs).\",\n input: MailtrapCreateContactExportInput,\n output: MailtrapCreateContactExportOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO;CACvD,SAAS,EAAE,MAAM,EAAE,OAAO;EAC1B,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2KAA2K;EACrM,OAAO,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;EACtD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;CAClG,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,CAAC,SAAS,yQAAyQ;CACxU,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD;AAC5F,CAAC;AACD,MAAM,iDAAiD,EAAE,KAAK;CAAC;CAAW;CAAW;AAAU,CAAC,CAAC,CAAC,SAAS,+BAA+B;AAS1I,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb+C,EAAE,OAAO;EACxD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnI,QAAQ,+CAA+C,SAAS,CAAC,CAAC,SAAS;EAC3E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"create-contact-export.mjs","names":[],"sources":["../../src/actions/create-contact-export.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapCreateContactExportInput = z.object({\n filters: z.array(z.object({\n name: z.string().describe(\"The name of the field to filter on. Common filter names include 'list_id' (array of integers) and 'subscription_status' (string value like 'subscribed', 'unsubscribed').\"),\n value: z.union([z.string(), z.array(z.number().int())]),\n operator: z.string().describe(\"The comparison operator to use for filtering. Typically 'equal'.\"),\n}).passthrough().describe(\"Filter to apply when exporting contacts\")).describe(\"Array of filters to apply when exporting contacts. Each filter specifies a field name, operator, and value. Required - must contain at least one filter. Common filters: 'subscription_status' (values: 'subscribed', 'unsubscribed') or 'list_id' (array of list IDs).\"),\n account_id: z.number().int().describe(\"Unique account ID to create the contact export for\"),\n});\nconst MailtrapCreateContactExport_ExportStatusSchema = z.enum([\"created\", \"started\", \"finished\"]).describe(\"Status of the contact export.\");\nexport const MailtrapCreateContactExportOutput = z.object({\n id: z.number().int().describe(\"The unique identifier of the created export job\").nullable().optional(),\n url: z.string().describe(\"The URL of the exported contacts file. Only available when the export is finished.\").nullable().optional(),\n status: MailtrapCreateContactExport_ExportStatusSchema.nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the export was created.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the export was last updated.\").nullable().optional(),\n}).passthrough();\n\nexport const mailtrapCreateContactExport = action(\"MAILTRAP_CREATE_CONTACT_EXPORT\", {\n slug: \"mailtrap-create-contact-export\",\n name: \"Create Contact Export\",\n description: \"Tool to create a contact export job for a Mailtrap account. Use when you need to export contacts with filters. The export is processed asynchronously - the response includes a job ID and status. Check the status field; when it becomes 'finished', the url field will contain the download link for the exported contacts file. Filters are required - you must specify at least one filter such as subscription_status (subscribed/unsubscribed) or list_id (array of list IDs).\",\n input: MailtrapCreateContactExportInput,\n output: MailtrapCreateContactExportOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO;CACvD,SAAS,EAAE,MAAM,EAAE,OAAO;EAC1B,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2KAA2K;EACrM,OAAO,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;EACtD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;CAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,CAAC,SAAS,yQAAyQ;CACtV,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD;AAC5F,CAAC;AACD,MAAM,iDAAiD,EAAE,KAAK;CAAC;CAAW;CAAW;AAAU,CAAC,CAAC,CAAC,SAAS,+BAA+B;AAS1I,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb+C,EAAE,OAAO;EACxD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnI,QAAQ,+CAA+C,SAAS,CAAC,CAAC,SAAS;EAC3E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -18,7 +18,7 @@ const MailtrapCreateContactFieldOutput = zod.z.object({
18
18
  name: zod.z.string().describe("Name of the contact field").nullable().optional(),
19
19
  data_type: zod.z.string().describe("Data type of the contact field").nullable().optional(),
20
20
  merge_tag: zod.z.string().describe("Merge tag for the contact field").nullable().optional()
21
- });
21
+ }).passthrough();
22
22
  const mailtrapCreateContactField = require_action.action("MAILTRAP_CREATE_CONTACT_FIELD", {
23
23
  slug: "mailtrap-create-contact-field",
24
24
  name: "Create Contact Field",
@@ -1 +1 @@
1
- {"version":3,"file":"create-contact-field.cjs","names":["z","action"],"sources":["../../src/actions/create-contact-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapCreateContactFieldInput = z.object({\n name: z.string().describe(\"Name of the contact field (max 80 characters)\"),\n data_type: z.enum([\"text\", \"integer\", \"float\", \"boolean\", \"date\"]).describe(\"Data type for the contact field. Choose from: text, integer, float, boolean, or date\"),\n merge_tag: z.string().describe(\"Personalize your campaigns by adding a merge tag. This field will be replaced with unique contact details for each recipient (max 80 characters)\"),\n account_id: z.number().int().describe(\"Unique account ID\"),\n});\nexport const MailtrapCreateContactFieldOutput = z.object({\n id: z.number().int().describe(\"Unique ID of the created contact field\").nullable().optional(),\n name: z.string().describe(\"Name of the contact field\").nullable().optional(),\n data_type: z.string().describe(\"Data type of the contact field\").nullable().optional(),\n merge_tag: z.string().describe(\"Merge tag for the contact field\").nullable().optional(),\n});\n\nexport const mailtrapCreateContactField = action(\"MAILTRAP_CREATE_CONTACT_FIELD\", {\n slug: \"mailtrap-create-contact-field\",\n name: \"Create Contact Field\",\n description: \"Tool to create a custom contact field in Mailtrap. Use when you need to add new contact attributes for personalization and segmentation in email campaigns.\",\n input: MailtrapCreateContactFieldInput,\n output: MailtrapCreateContactFieldOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CACzE,WAAWA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAW;EAAS;EAAW;CAAM,CAAC,CAAC,CAAC,SAAS,sFAAsF;CAClK,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kJAAkJ;CACjL,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB;AAC3D,CAAC;AACD,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxF,CAAC;AAED,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-contact-field.cjs","names":["z","action"],"sources":["../../src/actions/create-contact-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapCreateContactFieldInput = z.object({\n name: z.string().describe(\"Name of the contact field (max 80 characters)\"),\n data_type: z.enum([\"text\", \"integer\", \"float\", \"boolean\", \"date\"]).describe(\"Data type for the contact field. Choose from: text, integer, float, boolean, or date\"),\n merge_tag: z.string().describe(\"Personalize your campaigns by adding a merge tag. This field will be replaced with unique contact details for each recipient (max 80 characters)\"),\n account_id: z.number().int().describe(\"Unique account ID\"),\n});\nexport const MailtrapCreateContactFieldOutput = z.object({\n id: z.number().int().describe(\"Unique ID of the created contact field\").nullable().optional(),\n name: z.string().describe(\"Name of the contact field\").nullable().optional(),\n data_type: z.string().describe(\"Data type of the contact field\").nullable().optional(),\n merge_tag: z.string().describe(\"Merge tag for the contact field\").nullable().optional(),\n}).passthrough();\n\nexport const mailtrapCreateContactField = action(\"MAILTRAP_CREATE_CONTACT_FIELD\", {\n slug: \"mailtrap-create-contact-field\",\n name: \"Create Contact Field\",\n description: \"Tool to create a custom contact field in Mailtrap. Use when you need to add new contact attributes for personalization and segmentation in email campaigns.\",\n input: MailtrapCreateContactFieldInput,\n output: MailtrapCreateContactFieldOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CACzE,WAAWA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAW;EAAS;EAAW;CAAM,CAAC,CAAC,CAAC,SAAS,sFAAsF;CAClK,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kJAAkJ;CACjL,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB;AAC3D,CAAC;AACD,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -18,7 +18,7 @@ declare const MailtrapCreateContactFieldOutput: z.ZodObject<{
18
18
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
19
  data_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
20
  merge_tag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
- }, z.core.$strip>;
21
+ }, z.core.$loose>;
22
22
  declare const mailtrapCreateContactField: import("@keystrokehq/action").WorkflowActionDefinition<{
23
23
  name: string;
24
24
  data_type: "boolean" | "date" | "text" | "integer" | "float";
@@ -18,7 +18,7 @@ declare const MailtrapCreateContactFieldOutput: z.ZodObject<{
18
18
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
19
  data_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
20
  merge_tag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
- }, z.core.$strip>;
21
+ }, z.core.$loose>;
22
22
  declare const mailtrapCreateContactField: import("@keystrokehq/action").WorkflowActionDefinition<{
23
23
  name: string;
24
24
  data_type: "boolean" | "date" | "text" | "integer" | "float";
@@ -21,7 +21,7 @@ const mailtrapCreateContactField = action("MAILTRAP_CREATE_CONTACT_FIELD", {
21
21
  name: z.string().describe("Name of the contact field").nullable().optional(),
22
22
  data_type: z.string().describe("Data type of the contact field").nullable().optional(),
23
23
  merge_tag: z.string().describe("Merge tag for the contact field").nullable().optional()
24
- })
24
+ }).passthrough()
25
25
  });
26
26
  //#endregion
27
27
  export { mailtrapCreateContactField };
@@ -1 +1 @@
1
- {"version":3,"file":"create-contact-field.mjs","names":[],"sources":["../../src/actions/create-contact-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapCreateContactFieldInput = z.object({\n name: z.string().describe(\"Name of the contact field (max 80 characters)\"),\n data_type: z.enum([\"text\", \"integer\", \"float\", \"boolean\", \"date\"]).describe(\"Data type for the contact field. Choose from: text, integer, float, boolean, or date\"),\n merge_tag: z.string().describe(\"Personalize your campaigns by adding a merge tag. This field will be replaced with unique contact details for each recipient (max 80 characters)\"),\n account_id: z.number().int().describe(\"Unique account ID\"),\n});\nexport const MailtrapCreateContactFieldOutput = z.object({\n id: z.number().int().describe(\"Unique ID of the created contact field\").nullable().optional(),\n name: z.string().describe(\"Name of the contact field\").nullable().optional(),\n data_type: z.string().describe(\"Data type of the contact field\").nullable().optional(),\n merge_tag: z.string().describe(\"Merge tag for the contact field\").nullable().optional(),\n});\n\nexport const mailtrapCreateContactField = action(\"MAILTRAP_CREATE_CONTACT_FIELD\", {\n slug: \"mailtrap-create-contact-field\",\n name: \"Create Contact Field\",\n description: \"Tool to create a custom contact field in Mailtrap. Use when you need to add new contact attributes for personalization and segmentation in email campaigns.\",\n input: MailtrapCreateContactFieldInput,\n output: MailtrapCreateContactFieldOutput,\n});\n"],"mappings":";;AAiBA,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjB6C,EAAE,OAAO;EACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;EACzE,WAAW,EAAE,KAAK;GAAC;GAAQ;GAAW;GAAS;GAAW;EAAM,CAAC,CAAC,CAAC,SAAS,sFAAsF;EAClK,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kJAAkJ;EACjL,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB;CAC3D,CAYS;CACP,QAZ8C,EAAE,OAAO;EACvD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"create-contact-field.mjs","names":[],"sources":["../../src/actions/create-contact-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapCreateContactFieldInput = z.object({\n name: z.string().describe(\"Name of the contact field (max 80 characters)\"),\n data_type: z.enum([\"text\", \"integer\", \"float\", \"boolean\", \"date\"]).describe(\"Data type for the contact field. Choose from: text, integer, float, boolean, or date\"),\n merge_tag: z.string().describe(\"Personalize your campaigns by adding a merge tag. This field will be replaced with unique contact details for each recipient (max 80 characters)\"),\n account_id: z.number().int().describe(\"Unique account ID\"),\n});\nexport const MailtrapCreateContactFieldOutput = z.object({\n id: z.number().int().describe(\"Unique ID of the created contact field\").nullable().optional(),\n name: z.string().describe(\"Name of the contact field\").nullable().optional(),\n data_type: z.string().describe(\"Data type of the contact field\").nullable().optional(),\n merge_tag: z.string().describe(\"Merge tag for the contact field\").nullable().optional(),\n}).passthrough();\n\nexport const mailtrapCreateContactField = action(\"MAILTRAP_CREATE_CONTACT_FIELD\", {\n slug: \"mailtrap-create-contact-field\",\n name: \"Create Contact Field\",\n description: \"Tool to create a custom contact field in Mailtrap. Use when you need to add new contact attributes for personalization and segmentation in email campaigns.\",\n input: MailtrapCreateContactFieldInput,\n output: MailtrapCreateContactFieldOutput,\n});\n"],"mappings":";;AAiBA,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjB6C,EAAE,OAAO;EACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;EACzE,WAAW,EAAE,KAAK;GAAC;GAAQ;GAAW;GAAS;GAAW;EAAM,CAAC,CAAC,CAAC,SAAS,sFAAsF;EAClK,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kJAAkJ;EACjL,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB;CAC3D,CAYS;CACP,QAZ8C,EAAE,OAAO;EACvD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -8,7 +8,7 @@ const MailtrapCreateContactListInput = zod.z.object({
8
8
  const MailtrapCreateContactListOutput = zod.z.object({
9
9
  id: zod.z.number().int().describe("Unique identifier for the created contact list").nullable(),
10
10
  name: zod.z.string().describe("Name of the created contact list").nullable()
11
- });
11
+ }).passthrough();
12
12
  const mailtrapCreateContactList = require_action.action("MAILTRAP_CREATE_CONTACT_LIST", {
13
13
  slug: "mailtrap-create-contact-list",
14
14
  name: "Create Contact List",
@@ -1 +1 @@
1
- {"version":3,"file":"create-contact-list.cjs","names":["z","action"],"sources":["../../src/actions/create-contact-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapCreateContactListInput = z.object({\n name: z.string().describe(\"Name of the contact list to create. Maximum length is 255 characters.\"),\n account_id: z.number().int().describe(\"Unique account ID\"),\n});\nexport const MailtrapCreateContactListOutput = z.object({\n id: z.number().int().describe(\"Unique identifier for the created contact list\").nullable(),\n name: z.string().describe(\"Name of the created contact list\").nullable(),\n});\n\nexport const mailtrapCreateContactList = action(\"MAILTRAP_CREATE_CONTACT_LIST\", {\n slug: \"mailtrap-create-contact-list\",\n name: \"Create Contact List\",\n description: \"Tool to create a new contact list in Mailtrap. Use when you need to organize contacts into groups or segments. Each contact list has a unique ID and name that can be used to add contacts to it later.\",\n input: MailtrapCreateContactListInput,\n output: MailtrapCreateContactListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CACjG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB;AAC3D,CAAC;AACD,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACzF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AACzE,CAAC;AAED,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-contact-list.cjs","names":["z","action"],"sources":["../../src/actions/create-contact-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapCreateContactListInput = z.object({\n name: z.string().describe(\"Name of the contact list to create. Maximum length is 255 characters.\"),\n account_id: z.number().int().describe(\"Unique account ID\"),\n});\nexport const MailtrapCreateContactListOutput = z.object({\n id: z.number().int().describe(\"Unique identifier for the created contact list\").nullable(),\n name: z.string().describe(\"Name of the created contact list\").nullable(),\n}).passthrough();\n\nexport const mailtrapCreateContactList = action(\"MAILTRAP_CREATE_CONTACT_LIST\", {\n slug: \"mailtrap-create-contact-list\",\n name: \"Create Contact List\",\n description: \"Tool to create a new contact list in Mailtrap. Use when you need to organize contacts into groups or segments. Each contact list has a unique ID and name that can be used to add contacts to it later.\",\n input: MailtrapCreateContactListInput,\n output: MailtrapCreateContactListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CACjG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB;AAC3D,CAAC;AACD,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACzF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AACzE,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -8,7 +8,7 @@ declare const MailtrapCreateContactListInput: z.ZodObject<{
8
8
  declare const MailtrapCreateContactListOutput: z.ZodObject<{
9
9
  id: z.ZodNullable<z.ZodNumber>;
10
10
  name: z.ZodNullable<z.ZodString>;
11
- }, z.core.$strip>;
11
+ }, z.core.$loose>;
12
12
  declare const mailtrapCreateContactList: import("@keystrokehq/action").WorkflowActionDefinition<{
13
13
  name: string;
14
14
  account_id: number;
@@ -8,7 +8,7 @@ declare const MailtrapCreateContactListInput: z.ZodObject<{
8
8
  declare const MailtrapCreateContactListOutput: z.ZodObject<{
9
9
  id: z.ZodNullable<z.ZodNumber>;
10
10
  name: z.ZodNullable<z.ZodString>;
11
- }, z.core.$strip>;
11
+ }, z.core.$loose>;
12
12
  declare const mailtrapCreateContactList: import("@keystrokehq/action").WorkflowActionDefinition<{
13
13
  name: string;
14
14
  account_id: number;
@@ -11,7 +11,7 @@ const mailtrapCreateContactList = action("MAILTRAP_CREATE_CONTACT_LIST", {
11
11
  output: z.object({
12
12
  id: z.number().int().describe("Unique identifier for the created contact list").nullable(),
13
13
  name: z.string().describe("Name of the created contact list").nullable()
14
- })
14
+ }).passthrough()
15
15
  });
16
16
  //#endregion
17
17
  export { mailtrapCreateContactList };
@@ -1 +1 @@
1
- {"version":3,"file":"create-contact-list.mjs","names":[],"sources":["../../src/actions/create-contact-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapCreateContactListInput = z.object({\n name: z.string().describe(\"Name of the contact list to create. Maximum length is 255 characters.\"),\n account_id: z.number().int().describe(\"Unique account ID\"),\n});\nexport const MailtrapCreateContactListOutput = z.object({\n id: z.number().int().describe(\"Unique identifier for the created contact list\").nullable(),\n name: z.string().describe(\"Name of the created contact list\").nullable(),\n});\n\nexport const mailtrapCreateContactList = action(\"MAILTRAP_CREATE_CONTACT_LIST\", {\n slug: \"mailtrap-create-contact-list\",\n name: \"Create Contact List\",\n description: \"Tool to create a new contact list in Mailtrap. Use when you need to organize contacts into groups or segments. Each contact list has a unique ID and name that can be used to add contacts to it later.\",\n input: MailtrapCreateContactListInput,\n output: MailtrapCreateContactListOutput,\n});\n"],"mappings":";;AAaA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb4C,EAAE,OAAO;EACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;EACjG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB;CAC3D,CAUS;CACP,QAV6C,EAAE,OAAO;EACtD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EACzF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACzE,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"create-contact-list.mjs","names":[],"sources":["../../src/actions/create-contact-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapCreateContactListInput = z.object({\n name: z.string().describe(\"Name of the contact list to create. Maximum length is 255 characters.\"),\n account_id: z.number().int().describe(\"Unique account ID\"),\n});\nexport const MailtrapCreateContactListOutput = z.object({\n id: z.number().int().describe(\"Unique identifier for the created contact list\").nullable(),\n name: z.string().describe(\"Name of the created contact list\").nullable(),\n}).passthrough();\n\nexport const mailtrapCreateContactList = action(\"MAILTRAP_CREATE_CONTACT_LIST\", {\n slug: \"mailtrap-create-contact-list\",\n name: \"Create Contact List\",\n description: \"Tool to create a new contact list in Mailtrap. Use when you need to organize contacts into groups or segments. Each contact list has a unique ID and name that can be used to add contacts to it later.\",\n input: MailtrapCreateContactListInput,\n output: MailtrapCreateContactListOutput,\n});\n"],"mappings":";;AAaA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb4C,EAAE,OAAO;EACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;EACjG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB;CAC3D,CAUS;CACP,QAV6C,EAAE,OAAO;EACtD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EACzF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACzE,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -20,8 +20,8 @@ const MailtrapCreateContact_ContactDataResponseSchema = zod.z.object({
20
20
  list_ids: zod.z.array(zod.z.number().int()).describe("List of contact list IDs the contact belongs to").nullable().optional(),
21
21
  created_at: zod.z.number().int().describe("Creation timestamp in milliseconds").nullable().optional(),
22
22
  updated_at: zod.z.number().int().describe("Last update timestamp in milliseconds").nullable().optional()
23
- }).describe("Response data for a created contact");
24
- const MailtrapCreateContactOutput = zod.z.object({ data: MailtrapCreateContact_ContactDataResponseSchema.nullable() }).describe("Response schema for created contact");
23
+ }).passthrough().describe("Response data for a created contact");
24
+ const MailtrapCreateContactOutput = zod.z.object({ data: MailtrapCreateContact_ContactDataResponseSchema.nullable() }).passthrough().describe("Response schema for created contact");
25
25
  const mailtrapCreateContact = require_action.action("MAILTRAP_CREATE_CONTACT", {
26
26
  slug: "mailtrap-create-contact",
27
27
  name: "Create Contact",
@@ -1 +1 @@
1
- {"version":3,"file":"create-contact.cjs","names":["z","action"],"sources":["../../src/actions/create-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapCreateContactInput = z.object({\n contact: z.object({\n email: z.string().describe(\"Email address of the contact. Must be a valid email format\"),\n fields: z.object({\n last_name: z.string().describe(\"Last name of the contact\").optional(),\n first_name: z.string().describe(\"First name of the contact\").optional(),\n}).describe(\"Custom fields for the contact\").optional(),\n list_ids: z.array(z.number().int()).describe(\"List of contact list IDs to add the contact to\").optional(),\n}).describe(\"Contact details to create\"),\n account_id: z.number().int().describe(\"Unique account ID for the Mailtrap account\"),\n}).describe(\"Request schema for creating a contact in Mailtrap\");\nconst MailtrapCreateContact_ContactDataResponseSchema = z.object({\n id: z.string().describe(\"Unique identifier of the contact\").nullable(),\n email: z.string().describe(\"Email address of the contact\").nullable(),\n fields: z.record(z.string(), z.unknown()).describe(\"Custom fields stored for the contact in format: field_merge_tag: value\").nullable().optional(),\n status: z.string().describe(\"Status of the contact: 'subscribed' if email was NOT in suppression list, 'unsubscribed' otherwise\").nullable().optional(),\n list_ids: z.array(z.number().int()).describe(\"List of contact list IDs the contact belongs to\").nullable().optional(),\n created_at: z.number().int().describe(\"Creation timestamp in milliseconds\").nullable().optional(),\n updated_at: z.number().int().describe(\"Last update timestamp in milliseconds\").nullable().optional(),\n}).describe(\"Response data for a created contact\");\nexport const MailtrapCreateContactOutput = z.object({\n data: MailtrapCreateContact_ContactDataResponseSchema.nullable(),\n}).describe(\"Response schema for created contact\");\n\nexport const mailtrapCreateContact = action(\"MAILTRAP_CREATE_CONTACT\", {\n slug: \"mailtrap-create-contact\",\n name: \"Create Contact\",\n description: \"Tool to create a new contact in Mailtrap. Use when you need to add a contact with an email address to a Mailtrap account. Optionally include custom fields and assign to contact lists.\",\n input: MailtrapCreateContactInput,\n output: MailtrapCreateContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,SAASA,IAAAA,EAAE,OAAO;EAClB,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;EACvF,QAAQA,IAAAA,EAAE,OAAO;GACjB,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;GACpE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACxE,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACpD,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC1G,CAAC,CAAC,CAAC,SAAS,2BAA2B;CACrC,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C;AACpF,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACrE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACpE,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjJ,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtJ,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,MAAM,gDAAgD,SAAS,EACjE,CAAC,CAAC,CAAC,SAAS,qCAAqC;AAEjD,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-contact.cjs","names":["z","action"],"sources":["../../src/actions/create-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapCreateContactInput = z.object({\n contact: z.object({\n email: z.string().describe(\"Email address of the contact. Must be a valid email format\"),\n fields: z.object({\n last_name: z.string().describe(\"Last name of the contact\").optional(),\n first_name: z.string().describe(\"First name of the contact\").optional(),\n}).describe(\"Custom fields for the contact\").optional(),\n list_ids: z.array(z.number().int()).describe(\"List of contact list IDs to add the contact to\").optional(),\n}).describe(\"Contact details to create\"),\n account_id: z.number().int().describe(\"Unique account ID for the Mailtrap account\"),\n}).describe(\"Request schema for creating a contact in Mailtrap\");\nconst MailtrapCreateContact_ContactDataResponseSchema = z.object({\n id: z.string().describe(\"Unique identifier of the contact\").nullable(),\n email: z.string().describe(\"Email address of the contact\").nullable(),\n fields: z.record(z.string(), z.unknown()).describe(\"Custom fields stored for the contact in format: field_merge_tag: value\").nullable().optional(),\n status: z.string().describe(\"Status of the contact: 'subscribed' if email was NOT in suppression list, 'unsubscribed' otherwise\").nullable().optional(),\n list_ids: z.array(z.number().int()).describe(\"List of contact list IDs the contact belongs to\").nullable().optional(),\n created_at: z.number().int().describe(\"Creation timestamp in milliseconds\").nullable().optional(),\n updated_at: z.number().int().describe(\"Last update timestamp in milliseconds\").nullable().optional(),\n}).passthrough().describe(\"Response data for a created contact\");\nexport const MailtrapCreateContactOutput = z.object({\n data: MailtrapCreateContact_ContactDataResponseSchema.nullable(),\n}).passthrough().describe(\"Response schema for created contact\");\n\nexport const mailtrapCreateContact = action(\"MAILTRAP_CREATE_CONTACT\", {\n slug: \"mailtrap-create-contact\",\n name: \"Create Contact\",\n description: \"Tool to create a new contact in Mailtrap. Use when you need to add a contact with an email address to a Mailtrap account. Optionally include custom fields and assign to contact lists.\",\n input: MailtrapCreateContactInput,\n output: MailtrapCreateContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,SAASA,IAAAA,EAAE,OAAO;EAClB,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;EACvF,QAAQA,IAAAA,EAAE,OAAO;GACjB,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;GACpE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACxE,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACpD,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC1G,CAAC,CAAC,CAAC,SAAS,2BAA2B;CACrC,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C;AACpF,CAAC,CAAC,CAAC,SAAS,mDAAmD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ZodOptional<z.ZodNullable<z.ZodNumber>>;
23
23
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
24
- }, z.core.$strip>>;
25
- }, z.core.$strip>;
24
+ }, z.core.$loose>>;
25
+ }, z.core.$loose>;
26
26
  declare const mailtrapCreateContact: import("@keystrokehq/action").WorkflowActionDefinition<{
27
27
  contact: {
28
28
  email: string;