@keystrokehq/mailtrap 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (299) 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/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"delete-project.cjs","names":["z","action"],"sources":["../../src/actions/delete-project.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapDeleteProjectInput = z.object({\n account_id: z.number().int().describe(\"Unique account ID to identify the Mailtrap account.\"),\n project_id: z.number().int().describe(\"Unique project ID to identify the specific project to delete.\"),\n}).describe(\"Request model for deleting a project from Mailtrap.\");\nexport const MailtrapDeleteProjectOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the deleted project.\").nullable(),\n}).describe(\"Response model containing the deleted project ID from Mailtrap.\");\n\nexport const mailtrapDeleteProject = action(\"MAILTRAP_DELETE_PROJECT\", {\n slug: \"mailtrap-delete-project\",\n name: \"Delete Project\",\n description: \"Tool to delete a project from Mailtrap. Use when you need to permanently remove a project and its associated resources. Returns the ID of the deleted project.\",\n input: MailtrapDeleteProjectInput,\n output: MailtrapDeleteProjectOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD;CAC3F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D;AACvG,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,EACtF,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAE7E,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-project.cjs","names":["z","action"],"sources":["../../src/actions/delete-project.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapDeleteProjectInput = z.object({\n account_id: z.number().int().describe(\"Unique account ID to identify the Mailtrap account.\"),\n project_id: z.number().int().describe(\"Unique project ID to identify the specific project to delete.\"),\n}).describe(\"Request model for deleting a project from Mailtrap.\");\nexport const MailtrapDeleteProjectOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the deleted project.\").nullable(),\n}).passthrough().describe(\"Response model containing the deleted project ID from Mailtrap.\");\n\nexport const mailtrapDeleteProject = action(\"MAILTRAP_DELETE_PROJECT\", {\n slug: \"mailtrap-delete-project\",\n name: \"Delete Project\",\n description: \"Tool to delete a project from Mailtrap. Use when you need to permanently remove a project and its associated resources. Returns the ID of the deleted project.\",\n input: MailtrapDeleteProjectInput,\n output: MailtrapDeleteProjectOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD;CAC3F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D;AACvG,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,EACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAAiE;AAE3F,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -7,7 +7,7 @@ declare const MailtrapDeleteProjectInput: z.ZodObject<{
7
7
  }, z.core.$strip>;
8
8
  declare const MailtrapDeleteProjectOutput: z.ZodObject<{
9
9
  id: z.ZodNullable<z.ZodNumber>;
10
- }, z.core.$strip>;
10
+ }, z.core.$loose>;
11
11
  declare const mailtrapDeleteProject: import("@keystrokehq/action").WorkflowActionDefinition<{
12
12
  account_id: number;
13
13
  project_id: number;
@@ -7,7 +7,7 @@ declare const MailtrapDeleteProjectInput: z.ZodObject<{
7
7
  }, z.core.$strip>;
8
8
  declare const MailtrapDeleteProjectOutput: z.ZodObject<{
9
9
  id: z.ZodNullable<z.ZodNumber>;
10
- }, z.core.$strip>;
10
+ }, z.core.$loose>;
11
11
  declare const mailtrapDeleteProject: import("@keystrokehq/action").WorkflowActionDefinition<{
12
12
  account_id: number;
13
13
  project_id: number;
@@ -8,7 +8,7 @@ const mailtrapDeleteProject = action("MAILTRAP_DELETE_PROJECT", {
8
8
  account_id: z.number().int().describe("Unique account ID to identify the Mailtrap account."),
9
9
  project_id: z.number().int().describe("Unique project ID to identify the specific project to delete.")
10
10
  }).describe("Request model for deleting a project from Mailtrap."),
11
- output: z.object({ id: z.number().int().describe("Unique identifier of the deleted project.").nullable() }).describe("Response model containing the deleted project ID from Mailtrap.")
11
+ output: z.object({ id: z.number().int().describe("Unique identifier of the deleted project.").nullable() }).passthrough().describe("Response model containing the deleted project ID from Mailtrap.")
12
12
  });
13
13
  //#endregion
14
14
  export { mailtrapDeleteProject };
@@ -1 +1 @@
1
- {"version":3,"file":"delete-project.mjs","names":[],"sources":["../../src/actions/delete-project.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapDeleteProjectInput = z.object({\n account_id: z.number().int().describe(\"Unique account ID to identify the Mailtrap account.\"),\n project_id: z.number().int().describe(\"Unique project ID to identify the specific project to delete.\"),\n}).describe(\"Request model for deleting a project from Mailtrap.\");\nexport const MailtrapDeleteProjectOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the deleted project.\").nullable(),\n}).describe(\"Response model containing the deleted project ID from Mailtrap.\");\n\nexport const mailtrapDeleteProject = action(\"MAILTRAP_DELETE_PROJECT\", {\n slug: \"mailtrap-delete-project\",\n name: \"Delete Project\",\n description: \"Tool to delete a project from Mailtrap. Use when you need to permanently remove a project and its associated resources. Returns the ID of the deleted project.\",\n input: MailtrapDeleteProjectInput,\n output: MailtrapDeleteProjectOutput,\n});\n"],"mappings":";;AAYA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZwC,EAAE,OAAO;EACjD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD;EAC3F,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D;CACvG,CAAC,CAAC,CAAC,SAAS,qDASH;CACP,QATyC,EAAE,OAAO,EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,EACtF,CAAC,CAAC,CAAC,SAAS,iEAOF;AACV,CAAC"}
1
+ {"version":3,"file":"delete-project.mjs","names":[],"sources":["../../src/actions/delete-project.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapDeleteProjectInput = z.object({\n account_id: z.number().int().describe(\"Unique account ID to identify the Mailtrap account.\"),\n project_id: z.number().int().describe(\"Unique project ID to identify the specific project to delete.\"),\n}).describe(\"Request model for deleting a project from Mailtrap.\");\nexport const MailtrapDeleteProjectOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the deleted project.\").nullable(),\n}).passthrough().describe(\"Response model containing the deleted project ID from Mailtrap.\");\n\nexport const mailtrapDeleteProject = action(\"MAILTRAP_DELETE_PROJECT\", {\n slug: \"mailtrap-delete-project\",\n name: \"Delete Project\",\n description: \"Tool to delete a project from Mailtrap. Use when you need to permanently remove a project and its associated resources. Returns the ID of the deleted project.\",\n input: MailtrapDeleteProjectInput,\n output: MailtrapDeleteProjectOutput,\n});\n"],"mappings":";;AAYA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZwC,EAAE,OAAO;EACjD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD;EAC3F,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D;CACvG,CAAC,CAAC,CAAC,SAAS,qDASH;CACP,QATyC,EAAE,OAAO,EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,EACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAOhB;AACV,CAAC"}
@@ -5,7 +5,7 @@ const MailtrapDeleteSendingDomainInput = zod.z.object({
5
5
  account_id: zod.z.number().int().describe("Account ID where the sending domain belongs"),
6
6
  sending_domain_id: zod.z.number().int().describe("Sending domain ID to delete")
7
7
  }).describe("Request parameters for deleting a sending domain. Provide both account ID and sending domain ID.");
8
- const MailtrapDeleteSendingDomainOutput = zod.z.object({}).describe("Empty response: delete returns HTTP 204 No Content on success.");
8
+ const MailtrapDeleteSendingDomainOutput = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Empty response: delete returns HTTP 204 No Content on success.");
9
9
  const mailtrapDeleteSendingDomain = require_action.action("MAILTRAP_DELETE_SENDING_DOMAIN", {
10
10
  slug: "mailtrap-delete-sending-domain",
11
11
  name: "Delete Sending Domain",
@@ -1 +1 @@
1
- {"version":3,"file":"delete-sending-domain.cjs","names":["z","action"],"sources":["../../src/actions/delete-sending-domain.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapDeleteSendingDomainInput = z.object({\n account_id: z.number().int().describe(\"Account ID where the sending domain belongs\"),\n sending_domain_id: z.number().int().describe(\"Sending domain ID to delete\"),\n}).describe(\"Request parameters for deleting a sending domain. Provide both account ID and sending domain ID.\");\nexport const MailtrapDeleteSendingDomainOutput = z.object({}).describe(\"Empty response: delete returns HTTP 204 No Content on success.\");\n\nexport const mailtrapDeleteSendingDomain = action(\"MAILTRAP_DELETE_SENDING_DOMAIN\", {\n slug: \"mailtrap-delete-sending-domain\",\n name: \"Delete Sending Domain\",\n description: \"Tool to delete a sending domain from a Mailtrap account. Use when you need to remove a domain permanently.\",\n input: MailtrapDeleteSendingDomainInput,\n output: MailtrapDeleteSendingDomainOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;CACnF,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B;AAC5E,CAAC,CAAC,CAAC,SAAS,kGAAkG;AAC9G,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAEvI,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-sending-domain.cjs","names":["z","action"],"sources":["../../src/actions/delete-sending-domain.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapDeleteSendingDomainInput = z.object({\n account_id: z.number().int().describe(\"Account ID where the sending domain belongs\"),\n sending_domain_id: z.number().int().describe(\"Sending domain ID to delete\"),\n}).describe(\"Request parameters for deleting a sending domain. Provide both account ID and sending domain ID.\");\nexport const MailtrapDeleteSendingDomainOutput = z.record(z.string(), z.unknown()).describe(\"Empty response: delete returns HTTP 204 No Content on success.\");\n\nexport const mailtrapDeleteSendingDomain = action(\"MAILTRAP_DELETE_SENDING_DOMAIN\", {\n slug: \"mailtrap-delete-sending-domain\",\n name: \"Delete Sending Domain\",\n description: \"Tool to delete a sending domain from a Mailtrap account. Use when you need to remove a domain permanently.\",\n input: MailtrapDeleteSendingDomainInput,\n output: MailtrapDeleteSendingDomainOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;CACnF,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B;AAC5E,CAAC,CAAC,CAAC,SAAS,kGAAkG;AAC9G,MAAa,oCAAoCA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAE5J,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -5,7 +5,7 @@ declare const MailtrapDeleteSendingDomainInput: z.ZodObject<{
5
5
  account_id: z.ZodNumber;
6
6
  sending_domain_id: z.ZodNumber;
7
7
  }, z.core.$strip>;
8
- declare const MailtrapDeleteSendingDomainOutput: z.ZodObject<{}, z.core.$strip>;
8
+ declare const MailtrapDeleteSendingDomainOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
9
  declare const mailtrapDeleteSendingDomain: import("@keystrokehq/action").WorkflowActionDefinition<{
10
10
  account_id: number;
11
11
  sending_domain_id: number;
@@ -1 +1 @@
1
- {"version":3,"file":"delete-sending-domain.d.cts","names":[],"sources":["../../src/actions/delete-sending-domain.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAIhC,iCAAA,EAAiC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAEjC,2BAAA,gCAA2B,wBAAA"}
1
+ {"version":3,"file":"delete-sending-domain.d.cts","names":[],"sources":["../../src/actions/delete-sending-domain.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAIhC,iCAAA,EAAiC,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAEjC,2BAAA,gCAA2B,wBAAA"}
@@ -5,7 +5,7 @@ declare const MailtrapDeleteSendingDomainInput: z.ZodObject<{
5
5
  account_id: z.ZodNumber;
6
6
  sending_domain_id: z.ZodNumber;
7
7
  }, z.core.$strip>;
8
- declare const MailtrapDeleteSendingDomainOutput: z.ZodObject<{}, z.core.$strip>;
8
+ declare const MailtrapDeleteSendingDomainOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
9
  declare const mailtrapDeleteSendingDomain: import("@keystrokehq/action").WorkflowActionDefinition<{
10
10
  account_id: number;
11
11
  sending_domain_id: number;
@@ -1 +1 @@
1
- {"version":3,"file":"delete-sending-domain.d.mts","names":[],"sources":["../../src/actions/delete-sending-domain.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAIhC,iCAAA,EAAiC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAEjC,2BAAA,gCAA2B,wBAAA"}
1
+ {"version":3,"file":"delete-sending-domain.d.mts","names":[],"sources":["../../src/actions/delete-sending-domain.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAIhC,iCAAA,EAAiC,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAEjC,2BAAA,gCAA2B,wBAAA"}
@@ -8,7 +8,7 @@ const mailtrapDeleteSendingDomain = action("MAILTRAP_DELETE_SENDING_DOMAIN", {
8
8
  account_id: z.number().int().describe("Account ID where the sending domain belongs"),
9
9
  sending_domain_id: z.number().int().describe("Sending domain ID to delete")
10
10
  }).describe("Request parameters for deleting a sending domain. Provide both account ID and sending domain ID."),
11
- output: z.object({}).describe("Empty response: delete returns HTTP 204 No Content on success.")
11
+ output: z.record(z.string(), z.unknown()).describe("Empty response: delete returns HTTP 204 No Content on success.")
12
12
  });
13
13
  //#endregion
14
14
  export { mailtrapDeleteSendingDomain };
@@ -1 +1 @@
1
- {"version":3,"file":"delete-sending-domain.mjs","names":[],"sources":["../../src/actions/delete-sending-domain.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapDeleteSendingDomainInput = z.object({\n account_id: z.number().int().describe(\"Account ID where the sending domain belongs\"),\n sending_domain_id: z.number().int().describe(\"Sending domain ID to delete\"),\n}).describe(\"Request parameters for deleting a sending domain. Provide both account ID and sending domain ID.\");\nexport const MailtrapDeleteSendingDomainOutput = z.object({}).describe(\"Empty response: delete returns HTTP 204 No Content on success.\");\n\nexport const mailtrapDeleteSendingDomain = action(\"MAILTRAP_DELETE_SENDING_DOMAIN\", {\n slug: \"mailtrap-delete-sending-domain\",\n name: \"Delete Sending Domain\",\n description: \"Tool to delete a sending domain from a Mailtrap account. Use when you need to remove a domain permanently.\",\n input: MailtrapDeleteSendingDomainInput,\n output: MailtrapDeleteSendingDomainOutput,\n});\n"],"mappings":";;AAUA,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAV8C,EAAE,OAAO;EACvD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;EACnF,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B;CAC5E,CAAC,CAAC,CAAC,SAAS,kGAOH;CACP,QAP+C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gEAO7D;AACV,CAAC"}
1
+ {"version":3,"file":"delete-sending-domain.mjs","names":[],"sources":["../../src/actions/delete-sending-domain.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapDeleteSendingDomainInput = z.object({\n account_id: z.number().int().describe(\"Account ID where the sending domain belongs\"),\n sending_domain_id: z.number().int().describe(\"Sending domain ID to delete\"),\n}).describe(\"Request parameters for deleting a sending domain. Provide both account ID and sending domain ID.\");\nexport const MailtrapDeleteSendingDomainOutput = z.record(z.string(), z.unknown()).describe(\"Empty response: delete returns HTTP 204 No Content on success.\");\n\nexport const mailtrapDeleteSendingDomain = action(\"MAILTRAP_DELETE_SENDING_DOMAIN\", {\n slug: \"mailtrap-delete-sending-domain\",\n name: \"Delete Sending Domain\",\n description: \"Tool to delete a sending domain from a Mailtrap account. Use when you need to remove a domain permanently.\",\n input: MailtrapDeleteSendingDomainInput,\n output: MailtrapDeleteSendingDomainOutput,\n});\n"],"mappings":";;AAUA,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAV8C,EAAE,OAAO;EACvD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;EACnF,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B;CAC5E,CAAC,CAAC,CAAC,SAAS,kGAOH;CACP,QAP+C,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gEAOlF;AACV,CAAC"}
@@ -5,25 +5,25 @@ const MailtrapGetBillingUsageInput = zod.z.object({ account_id: zod.z.number().i
5
5
  const MailtrapGetBillingUsage_BillingCycleSchema = zod.z.object({
6
6
  cycle_end: zod.z.string().describe("Billing cycle end date (ISO 8601 format)").nullable().optional(),
7
7
  cycle_start: zod.z.string().describe("Billing cycle start date (ISO 8601 format)").nullable().optional()
8
- }).describe("Represents the billing cycle time period.");
9
- const MailtrapGetBillingUsage_PlanDetailsSchema = zod.z.object({ name: zod.z.string().describe("Name of the plan").nullable().optional() }).describe("Represents plan information.");
8
+ }).passthrough().describe("Represents the billing cycle time period.");
9
+ const MailtrapGetBillingUsage_PlanDetailsSchema = zod.z.object({ name: zod.z.string().describe("Name of the plan").nullable().optional() }).passthrough().describe("Represents plan information.");
10
10
  const MailtrapGetBillingUsage_MessageCountSchema = zod.z.object({
11
11
  limit: zod.z.number().int().describe("Maximum allowed messages").nullable().optional(),
12
12
  current: zod.z.number().int().describe("Current message count").nullable().optional()
13
- }).describe("Represents current usage and limit for a message type.");
13
+ }).passthrough().describe("Represents current usage and limit for a message type.");
14
14
  const MailtrapGetBillingUsage_UsageDetailsSchema = zod.z.object({
15
15
  sent_messages_count: MailtrapGetBillingUsage_MessageCountSchema.nullable().optional(),
16
16
  forwarded_messages_count: MailtrapGetBillingUsage_MessageCountSchema.nullable().optional()
17
- }).describe("Represents usage details for a service.");
17
+ }).passthrough().describe("Represents usage details for a service.");
18
18
  const MailtrapGetBillingUsage_ServiceBillingSchema = zod.z.object({
19
19
  plan: MailtrapGetBillingUsage_PlanDetailsSchema.nullable().optional(),
20
20
  usage: MailtrapGetBillingUsage_UsageDetailsSchema.nullable().optional()
21
- }).describe("Represents billing information for a service (testing or sending).");
21
+ }).passthrough().describe("Represents billing information for a service (testing or sending).");
22
22
  const MailtrapGetBillingUsageOutput = zod.z.object({
23
23
  billing: MailtrapGetBillingUsage_BillingCycleSchema.nullable().optional(),
24
24
  sending: MailtrapGetBillingUsage_ServiceBillingSchema.nullable().optional(),
25
25
  testing: MailtrapGetBillingUsage_ServiceBillingSchema.nullable().optional()
26
- }).describe("Response model for retrieving current billing cycle usage.");
26
+ }).passthrough().describe("Response model for retrieving current billing cycle usage.");
27
27
  const mailtrapGetBillingUsage = require_action.action("MAILTRAP_GET_BILLING_USAGE", {
28
28
  slug: "mailtrap-get-billing-usage",
29
29
  name: "Get Billing Usage",
@@ -1 +1 @@
1
- {"version":3,"file":"get-billing-usage.cjs","names":["z","action"],"sources":["../../src/actions/get-billing-usage.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapGetBillingUsageInput = z.object({\n account_id: z.number().int().describe(\"Unique account ID\"),\n}).describe(\"Request model for retrieving current billing cycle usage.\");\nconst MailtrapGetBillingUsage_BillingCycleSchema = z.object({\n cycle_end: z.string().describe(\"Billing cycle end date (ISO 8601 format)\").nullable().optional(),\n cycle_start: z.string().describe(\"Billing cycle start date (ISO 8601 format)\").nullable().optional(),\n}).describe(\"Represents the billing cycle time period.\");\nconst MailtrapGetBillingUsage_PlanDetailsSchema = z.object({\n name: z.string().describe(\"Name of the plan\").nullable().optional(),\n}).describe(\"Represents plan information.\");\nconst MailtrapGetBillingUsage_MessageCountSchema = z.object({\n limit: z.number().int().describe(\"Maximum allowed messages\").nullable().optional(),\n current: z.number().int().describe(\"Current message count\").nullable().optional(),\n}).describe(\"Represents current usage and limit for a message type.\");\nconst MailtrapGetBillingUsage_UsageDetailsSchema = z.object({\n sent_messages_count: MailtrapGetBillingUsage_MessageCountSchema.nullable().optional(),\n forwarded_messages_count: MailtrapGetBillingUsage_MessageCountSchema.nullable().optional(),\n}).describe(\"Represents usage details for a service.\");\nconst MailtrapGetBillingUsage_ServiceBillingSchema = z.object({\n plan: MailtrapGetBillingUsage_PlanDetailsSchema.nullable().optional(),\n usage: MailtrapGetBillingUsage_UsageDetailsSchema.nullable().optional(),\n}).describe(\"Represents billing information for a service (testing or sending).\");\nexport const MailtrapGetBillingUsageOutput = z.object({\n billing: MailtrapGetBillingUsage_BillingCycleSchema.nullable().optional(),\n sending: MailtrapGetBillingUsage_ServiceBillingSchema.nullable().optional(),\n testing: MailtrapGetBillingUsage_ServiceBillingSchema.nullable().optional(),\n}).describe(\"Response model for retrieving current billing cycle usage.\");\n\nexport const mailtrapGetBillingUsage = action(\"MAILTRAP_GET_BILLING_USAGE\", {\n slug: \"mailtrap-get-billing-usage\",\n name: \"Get Billing Usage\",\n description: \"Tool to retrieve current billing cycle usage for an account. Use when you need to check billing information, usage limits, or consumption for Email Sandbox and Email Sending services.\",\n input: MailtrapGetBillingUsageInput,\n output: MailtrapGetBillingUsageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB,EAC3D,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,4CAA4CA,IAAAA,EAAE,OAAO,EACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpE,CAAC,CAAC,CAAC,SAAS,8BAA8B;AAC1C,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,qBAAqB,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACpF,0BAA0B,2CAA2C,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,MAAM,0CAA0C,SAAS,CAAC,CAAC,SAAS;CACpE,OAAO,2CAA2C,SAAS,CAAC,CAAC,SAAS;AACxE,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,SAAS,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACxE,SAAS,6CAA6C,SAAS,CAAC,CAAC,SAAS;CAC1E,SAAS,6CAA6C,SAAS,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,SAAS,4DAA4D;AAExE,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-billing-usage.cjs","names":["z","action"],"sources":["../../src/actions/get-billing-usage.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapGetBillingUsageInput = z.object({\n account_id: z.number().int().describe(\"Unique account ID\"),\n}).describe(\"Request model for retrieving current billing cycle usage.\");\nconst MailtrapGetBillingUsage_BillingCycleSchema = z.object({\n cycle_end: z.string().describe(\"Billing cycle end date (ISO 8601 format)\").nullable().optional(),\n cycle_start: z.string().describe(\"Billing cycle start date (ISO 8601 format)\").nullable().optional(),\n}).passthrough().describe(\"Represents the billing cycle time period.\");\nconst MailtrapGetBillingUsage_PlanDetailsSchema = z.object({\n name: z.string().describe(\"Name of the plan\").nullable().optional(),\n}).passthrough().describe(\"Represents plan information.\");\nconst MailtrapGetBillingUsage_MessageCountSchema = z.object({\n limit: z.number().int().describe(\"Maximum allowed messages\").nullable().optional(),\n current: z.number().int().describe(\"Current message count\").nullable().optional(),\n}).passthrough().describe(\"Represents current usage and limit for a message type.\");\nconst MailtrapGetBillingUsage_UsageDetailsSchema = z.object({\n sent_messages_count: MailtrapGetBillingUsage_MessageCountSchema.nullable().optional(),\n forwarded_messages_count: MailtrapGetBillingUsage_MessageCountSchema.nullable().optional(),\n}).passthrough().describe(\"Represents usage details for a service.\");\nconst MailtrapGetBillingUsage_ServiceBillingSchema = z.object({\n plan: MailtrapGetBillingUsage_PlanDetailsSchema.nullable().optional(),\n usage: MailtrapGetBillingUsage_UsageDetailsSchema.nullable().optional(),\n}).passthrough().describe(\"Represents billing information for a service (testing or sending).\");\nexport const MailtrapGetBillingUsageOutput = z.object({\n billing: MailtrapGetBillingUsage_BillingCycleSchema.nullable().optional(),\n sending: MailtrapGetBillingUsage_ServiceBillingSchema.nullable().optional(),\n testing: MailtrapGetBillingUsage_ServiceBillingSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for retrieving current billing cycle usage.\");\n\nexport const mailtrapGetBillingUsage = action(\"MAILTRAP_GET_BILLING_USAGE\", {\n slug: \"mailtrap-get-billing-usage\",\n name: \"Get Billing Usage\",\n description: \"Tool to retrieve current billing cycle usage for an account. Use when you need to check billing information, usage limits, or consumption for Email Sandbox and Email Sending services.\",\n input: MailtrapGetBillingUsageInput,\n output: MailtrapGetBillingUsageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB,EAC3D,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AACrE,MAAM,4CAA4CA,IAAAA,EAAE,OAAO,EACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8BAA8B;AACxD,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAClF,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,qBAAqB,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACpF,0BAA0B,2CAA2C,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AACnE,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,MAAM,0CAA0C,SAAS,CAAC,CAAC,SAAS;CACpE,OAAO,2CAA2C,SAAS,CAAC,CAAC,SAAS;AACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oEAAoE;AAC9F,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,SAAS,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACxE,SAAS,6CAA6C,SAAS,CAAC,CAAC,SAAS;CAC1E,SAAS,6CAA6C,SAAS,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AAEtF,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -8,38 +8,38 @@ declare const MailtrapGetBillingUsageOutput: z.ZodObject<{
8
8
  billing: z.ZodOptional<z.ZodNullable<z.ZodObject<{
9
9
  cycle_end: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
10
  cycle_start: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
- }, z.core.$strip>>>;
11
+ }, z.core.$loose>>>;
12
12
  sending: z.ZodOptional<z.ZodNullable<z.ZodObject<{
13
13
  plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
14
14
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
- }, z.core.$strip>>>;
15
+ }, z.core.$loose>>>;
16
16
  usage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
17
17
  sent_messages_count: z.ZodOptional<z.ZodNullable<z.ZodObject<{
18
18
  limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
19
19
  current: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
20
- }, z.core.$strip>>>;
20
+ }, z.core.$loose>>>;
21
21
  forwarded_messages_count: z.ZodOptional<z.ZodNullable<z.ZodObject<{
22
22
  limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23
23
  current: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
24
- }, z.core.$strip>>>;
25
- }, z.core.$strip>>>;
26
- }, z.core.$strip>>>;
24
+ }, z.core.$loose>>>;
25
+ }, z.core.$loose>>>;
26
+ }, z.core.$loose>>>;
27
27
  testing: z.ZodOptional<z.ZodNullable<z.ZodObject<{
28
28
  plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
29
29
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
- }, z.core.$strip>>>;
30
+ }, z.core.$loose>>>;
31
31
  usage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
32
32
  sent_messages_count: z.ZodOptional<z.ZodNullable<z.ZodObject<{
33
33
  limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
34
34
  current: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
35
- }, z.core.$strip>>>;
35
+ }, z.core.$loose>>>;
36
36
  forwarded_messages_count: z.ZodOptional<z.ZodNullable<z.ZodObject<{
37
37
  limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
38
38
  current: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
39
- }, z.core.$strip>>>;
40
- }, z.core.$strip>>>;
41
- }, z.core.$strip>>>;
42
- }, z.core.$strip>;
39
+ }, z.core.$loose>>>;
40
+ }, z.core.$loose>>>;
41
+ }, z.core.$loose>>>;
42
+ }, z.core.$loose>;
43
43
  declare const mailtrapGetBillingUsage: import("@keystrokehq/action").WorkflowActionDefinition<{
44
44
  account_id: number;
45
45
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -8,38 +8,38 @@ declare const MailtrapGetBillingUsageOutput: z.ZodObject<{
8
8
  billing: z.ZodOptional<z.ZodNullable<z.ZodObject<{
9
9
  cycle_end: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
10
  cycle_start: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
- }, z.core.$strip>>>;
11
+ }, z.core.$loose>>>;
12
12
  sending: z.ZodOptional<z.ZodNullable<z.ZodObject<{
13
13
  plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
14
14
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
- }, z.core.$strip>>>;
15
+ }, z.core.$loose>>>;
16
16
  usage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
17
17
  sent_messages_count: z.ZodOptional<z.ZodNullable<z.ZodObject<{
18
18
  limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
19
19
  current: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
20
- }, z.core.$strip>>>;
20
+ }, z.core.$loose>>>;
21
21
  forwarded_messages_count: z.ZodOptional<z.ZodNullable<z.ZodObject<{
22
22
  limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23
23
  current: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
24
- }, z.core.$strip>>>;
25
- }, z.core.$strip>>>;
26
- }, z.core.$strip>>>;
24
+ }, z.core.$loose>>>;
25
+ }, z.core.$loose>>>;
26
+ }, z.core.$loose>>>;
27
27
  testing: z.ZodOptional<z.ZodNullable<z.ZodObject<{
28
28
  plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
29
29
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
- }, z.core.$strip>>>;
30
+ }, z.core.$loose>>>;
31
31
  usage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
32
32
  sent_messages_count: z.ZodOptional<z.ZodNullable<z.ZodObject<{
33
33
  limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
34
34
  current: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
35
- }, z.core.$strip>>>;
35
+ }, z.core.$loose>>>;
36
36
  forwarded_messages_count: z.ZodOptional<z.ZodNullable<z.ZodObject<{
37
37
  limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
38
38
  current: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
39
- }, z.core.$strip>>>;
40
- }, z.core.$strip>>>;
41
- }, z.core.$strip>>>;
42
- }, z.core.$strip>;
39
+ }, z.core.$loose>>>;
40
+ }, z.core.$loose>>>;
41
+ }, z.core.$loose>>>;
42
+ }, z.core.$loose>;
43
43
  declare const mailtrapGetBillingUsage: import("@keystrokehq/action").WorkflowActionDefinition<{
44
44
  account_id: number;
45
45
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -5,20 +5,20 @@ const MailtrapGetBillingUsageInput = z.object({ account_id: z.number().int().des
5
5
  const MailtrapGetBillingUsage_BillingCycleSchema = z.object({
6
6
  cycle_end: z.string().describe("Billing cycle end date (ISO 8601 format)").nullable().optional(),
7
7
  cycle_start: z.string().describe("Billing cycle start date (ISO 8601 format)").nullable().optional()
8
- }).describe("Represents the billing cycle time period.");
9
- const MailtrapGetBillingUsage_PlanDetailsSchema = z.object({ name: z.string().describe("Name of the plan").nullable().optional() }).describe("Represents plan information.");
8
+ }).passthrough().describe("Represents the billing cycle time period.");
9
+ const MailtrapGetBillingUsage_PlanDetailsSchema = z.object({ name: z.string().describe("Name of the plan").nullable().optional() }).passthrough().describe("Represents plan information.");
10
10
  const MailtrapGetBillingUsage_MessageCountSchema = z.object({
11
11
  limit: z.number().int().describe("Maximum allowed messages").nullable().optional(),
12
12
  current: z.number().int().describe("Current message count").nullable().optional()
13
- }).describe("Represents current usage and limit for a message type.");
13
+ }).passthrough().describe("Represents current usage and limit for a message type.");
14
14
  const MailtrapGetBillingUsage_UsageDetailsSchema = z.object({
15
15
  sent_messages_count: MailtrapGetBillingUsage_MessageCountSchema.nullable().optional(),
16
16
  forwarded_messages_count: MailtrapGetBillingUsage_MessageCountSchema.nullable().optional()
17
- }).describe("Represents usage details for a service.");
17
+ }).passthrough().describe("Represents usage details for a service.");
18
18
  const MailtrapGetBillingUsage_ServiceBillingSchema = z.object({
19
19
  plan: MailtrapGetBillingUsage_PlanDetailsSchema.nullable().optional(),
20
20
  usage: MailtrapGetBillingUsage_UsageDetailsSchema.nullable().optional()
21
- }).describe("Represents billing information for a service (testing or sending).");
21
+ }).passthrough().describe("Represents billing information for a service (testing or sending).");
22
22
  const mailtrapGetBillingUsage = action("MAILTRAP_GET_BILLING_USAGE", {
23
23
  slug: "mailtrap-get-billing-usage",
24
24
  name: "Get Billing Usage",
@@ -28,7 +28,7 @@ const mailtrapGetBillingUsage = action("MAILTRAP_GET_BILLING_USAGE", {
28
28
  billing: MailtrapGetBillingUsage_BillingCycleSchema.nullable().optional(),
29
29
  sending: MailtrapGetBillingUsage_ServiceBillingSchema.nullable().optional(),
30
30
  testing: MailtrapGetBillingUsage_ServiceBillingSchema.nullable().optional()
31
- }).describe("Response model for retrieving current billing cycle usage.")
31
+ }).passthrough().describe("Response model for retrieving current billing cycle usage.")
32
32
  });
33
33
  //#endregion
34
34
  export { mailtrapGetBillingUsage };
@@ -1 +1 @@
1
- {"version":3,"file":"get-billing-usage.mjs","names":[],"sources":["../../src/actions/get-billing-usage.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapGetBillingUsageInput = z.object({\n account_id: z.number().int().describe(\"Unique account ID\"),\n}).describe(\"Request model for retrieving current billing cycle usage.\");\nconst MailtrapGetBillingUsage_BillingCycleSchema = z.object({\n cycle_end: z.string().describe(\"Billing cycle end date (ISO 8601 format)\").nullable().optional(),\n cycle_start: z.string().describe(\"Billing cycle start date (ISO 8601 format)\").nullable().optional(),\n}).describe(\"Represents the billing cycle time period.\");\nconst MailtrapGetBillingUsage_PlanDetailsSchema = z.object({\n name: z.string().describe(\"Name of the plan\").nullable().optional(),\n}).describe(\"Represents plan information.\");\nconst MailtrapGetBillingUsage_MessageCountSchema = z.object({\n limit: z.number().int().describe(\"Maximum allowed messages\").nullable().optional(),\n current: z.number().int().describe(\"Current message count\").nullable().optional(),\n}).describe(\"Represents current usage and limit for a message type.\");\nconst MailtrapGetBillingUsage_UsageDetailsSchema = z.object({\n sent_messages_count: MailtrapGetBillingUsage_MessageCountSchema.nullable().optional(),\n forwarded_messages_count: MailtrapGetBillingUsage_MessageCountSchema.nullable().optional(),\n}).describe(\"Represents usage details for a service.\");\nconst MailtrapGetBillingUsage_ServiceBillingSchema = z.object({\n plan: MailtrapGetBillingUsage_PlanDetailsSchema.nullable().optional(),\n usage: MailtrapGetBillingUsage_UsageDetailsSchema.nullable().optional(),\n}).describe(\"Represents billing information for a service (testing or sending).\");\nexport const MailtrapGetBillingUsageOutput = z.object({\n billing: MailtrapGetBillingUsage_BillingCycleSchema.nullable().optional(),\n sending: MailtrapGetBillingUsage_ServiceBillingSchema.nullable().optional(),\n testing: MailtrapGetBillingUsage_ServiceBillingSchema.nullable().optional(),\n}).describe(\"Response model for retrieving current billing cycle usage.\");\n\nexport const mailtrapGetBillingUsage = action(\"MAILTRAP_GET_BILLING_USAGE\", {\n slug: \"mailtrap-get-billing-usage\",\n name: \"Get Billing Usage\",\n description: \"Tool to retrieve current billing cycle usage for an account. Use when you need to check billing information, usage limits, or consumption for Email Sandbox and Email Sending services.\",\n input: MailtrapGetBillingUsageInput,\n output: MailtrapGetBillingUsageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO,EACnD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB,EAC3D,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,6CAA6C,EAAE,OAAO;CAC1D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,4CAA4C,EAAE,OAAO,EACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpE,CAAC,CAAC,CAAC,SAAS,8BAA8B;AAC1C,MAAM,6CAA6C,EAAE,OAAO;CAC1D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,6CAA6C,EAAE,OAAO;CAC1D,qBAAqB,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACpF,0BAA0B,2CAA2C,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,+CAA+C,EAAE,OAAO;CAC5D,MAAM,0CAA0C,SAAS,CAAC,CAAC,SAAS;CACpE,OAAO,2CAA2C,SAAS,CAAC,CAAC,SAAS;AACxE,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAOhF,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX2C,EAAE,OAAO;EACpD,SAAS,2CAA2C,SAAS,CAAC,CAAC,SAAS;EACxE,SAAS,6CAA6C,SAAS,CAAC,CAAC,SAAS;EAC1E,SAAS,6CAA6C,SAAS,CAAC,CAAC,SAAS;CAC5E,CAAC,CAAC,CAAC,SAAS,4DAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-billing-usage.mjs","names":[],"sources":["../../src/actions/get-billing-usage.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapGetBillingUsageInput = z.object({\n account_id: z.number().int().describe(\"Unique account ID\"),\n}).describe(\"Request model for retrieving current billing cycle usage.\");\nconst MailtrapGetBillingUsage_BillingCycleSchema = z.object({\n cycle_end: z.string().describe(\"Billing cycle end date (ISO 8601 format)\").nullable().optional(),\n cycle_start: z.string().describe(\"Billing cycle start date (ISO 8601 format)\").nullable().optional(),\n}).passthrough().describe(\"Represents the billing cycle time period.\");\nconst MailtrapGetBillingUsage_PlanDetailsSchema = z.object({\n name: z.string().describe(\"Name of the plan\").nullable().optional(),\n}).passthrough().describe(\"Represents plan information.\");\nconst MailtrapGetBillingUsage_MessageCountSchema = z.object({\n limit: z.number().int().describe(\"Maximum allowed messages\").nullable().optional(),\n current: z.number().int().describe(\"Current message count\").nullable().optional(),\n}).passthrough().describe(\"Represents current usage and limit for a message type.\");\nconst MailtrapGetBillingUsage_UsageDetailsSchema = z.object({\n sent_messages_count: MailtrapGetBillingUsage_MessageCountSchema.nullable().optional(),\n forwarded_messages_count: MailtrapGetBillingUsage_MessageCountSchema.nullable().optional(),\n}).passthrough().describe(\"Represents usage details for a service.\");\nconst MailtrapGetBillingUsage_ServiceBillingSchema = z.object({\n plan: MailtrapGetBillingUsage_PlanDetailsSchema.nullable().optional(),\n usage: MailtrapGetBillingUsage_UsageDetailsSchema.nullable().optional(),\n}).passthrough().describe(\"Represents billing information for a service (testing or sending).\");\nexport const MailtrapGetBillingUsageOutput = z.object({\n billing: MailtrapGetBillingUsage_BillingCycleSchema.nullable().optional(),\n sending: MailtrapGetBillingUsage_ServiceBillingSchema.nullable().optional(),\n testing: MailtrapGetBillingUsage_ServiceBillingSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for retrieving current billing cycle usage.\");\n\nexport const mailtrapGetBillingUsage = action(\"MAILTRAP_GET_BILLING_USAGE\", {\n slug: \"mailtrap-get-billing-usage\",\n name: \"Get Billing Usage\",\n description: \"Tool to retrieve current billing cycle usage for an account. Use when you need to check billing information, usage limits, or consumption for Email Sandbox and Email Sending services.\",\n input: MailtrapGetBillingUsageInput,\n output: MailtrapGetBillingUsageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO,EACnD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB,EAC3D,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,6CAA6C,EAAE,OAAO;CAC1D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AACrE,MAAM,4CAA4C,EAAE,OAAO,EACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8BAA8B;AACxD,MAAM,6CAA6C,EAAE,OAAO;CAC1D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAClF,MAAM,6CAA6C,EAAE,OAAO;CAC1D,qBAAqB,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACpF,0BAA0B,2CAA2C,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AACnE,MAAM,+CAA+C,EAAE,OAAO;CAC5D,MAAM,0CAA0C,SAAS,CAAC,CAAC,SAAS;CACpE,OAAO,2CAA2C,SAAS,CAAC,CAAC,SAAS;AACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oEAAoE;AAO9F,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX2C,EAAE,OAAO;EACpD,SAAS,2CAA2C,SAAS,CAAC,CAAC,SAAS;EACxE,SAAS,6CAA6C,SAAS,CAAC,CAAC,SAAS;EAC1E,SAAS,6CAA6C,SAAS,CAAC,CAAC,SAAS;CAC5E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAOhB;AACV,CAAC"}
@@ -16,7 +16,7 @@ const MailtrapGetContactExportOutput = zod.z.object({
16
16
  status: MailtrapGetContactExport_ExportStatusSchema.nullable().optional(),
17
17
  created_at: zod.z.string().describe("ISO 8601 timestamp when the export was created.").nullable().optional(),
18
18
  updated_at: zod.z.string().describe("ISO 8601 timestamp when the export was last updated.").nullable().optional()
19
- }).describe("Response model for contact export status.");
19
+ }).passthrough().describe("Response model for contact export status.");
20
20
  const mailtrapGetContactExport = require_action.action("MAILTRAP_GET_CONTACT_EXPORT", {
21
21
  slug: "mailtrap-get-contact-export",
22
22
  name: "Get Contact Export",
@@ -1 +1 @@
1
- {"version":3,"file":"get-contact-export.cjs","names":["z","action"],"sources":["../../src/actions/get-contact-export.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapGetContactExportInput = z.object({\n export_id: z.number().int().describe(\"Unique Contact Export ID to retrieve.\"),\n account_id: z.number().int().describe(\"Unique account ID for the Mailtrap account.\"),\n}).describe(\"Request model for getting a contact export status.\");\nconst MailtrapGetContactExport_ExportStatusSchema = z.enum([\"created\", \"started\", \"finished\"]).describe(\"Status of the contact export.\");\nexport const MailtrapGetContactExportOutput = z.object({\n id: z.number().int().describe(\"Unique ID of the contact export.\").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: MailtrapGetContactExport_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}).describe(\"Response model for contact export status.\");\n\nexport const mailtrapGetContactExport = action(\"MAILTRAP_GET_CONTACT_EXPORT\", {\n slug: \"mailtrap-get-contact-export\",\n name: \"Get Contact Export\",\n description: \"Tool to retrieve the status of a contact export. Use when you need to check the progress of an export or download the exported contacts file.\",\n input: MailtrapGetContactExportInput,\n output: MailtrapGetContactExportOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC;CAC5E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;AACrF,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,8CAA8CA,IAAAA,EAAE,KAAK;CAAC;CAAW;CAAW;AAAU,CAAC,CAAC,CAAC,SAAS,+BAA+B;AACvI,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,QAAQ,4CAA4C,SAAS,CAAC,CAAC,SAAS;CACxE,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,SAAS,2CAA2C;AAEvD,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-contact-export.cjs","names":["z","action"],"sources":["../../src/actions/get-contact-export.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapGetContactExportInput = z.object({\n export_id: z.number().int().describe(\"Unique Contact Export ID to retrieve.\"),\n account_id: z.number().int().describe(\"Unique account ID for the Mailtrap account.\"),\n}).describe(\"Request model for getting a contact export status.\");\nconst MailtrapGetContactExport_ExportStatusSchema = z.enum([\"created\", \"started\", \"finished\"]).describe(\"Status of the contact export.\");\nexport const MailtrapGetContactExportOutput = z.object({\n id: z.number().int().describe(\"Unique ID of the contact export.\").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: MailtrapGetContactExport_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().describe(\"Response model for contact export status.\");\n\nexport const mailtrapGetContactExport = action(\"MAILTRAP_GET_CONTACT_EXPORT\", {\n slug: \"mailtrap-get-contact-export\",\n name: \"Get Contact Export\",\n description: \"Tool to retrieve the status of a contact export. Use when you need to check the progress of an export or download the exported contacts file.\",\n input: MailtrapGetContactExportInput,\n output: MailtrapGetContactExportOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC;CAC5E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;AACrF,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,8CAA8CA,IAAAA,EAAE,KAAK;CAAC;CAAW;CAAW;AAAU,CAAC,CAAC,CAAC,SAAS,+BAA+B;AACvI,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,QAAQ,4CAA4C,SAAS,CAAC,CAAC,SAAS;CACxE,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,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -15,7 +15,7 @@ declare const MailtrapGetContactExportOutput: z.ZodObject<{
15
15
  }>>>;
16
16
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
17
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
- }, z.core.$strip>;
18
+ }, z.core.$loose>;
19
19
  declare const mailtrapGetContactExport: import("@keystrokehq/action").WorkflowActionDefinition<{
20
20
  export_id: number;
21
21
  account_id: number;
@@ -15,7 +15,7 @@ declare const MailtrapGetContactExportOutput: z.ZodObject<{
15
15
  }>>>;
16
16
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
17
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
- }, z.core.$strip>;
18
+ }, z.core.$loose>;
19
19
  declare const mailtrapGetContactExport: import("@keystrokehq/action").WorkflowActionDefinition<{
20
20
  export_id: number;
21
21
  account_id: number;
@@ -21,7 +21,7 @@ const mailtrapGetContactExport = action("MAILTRAP_GET_CONTACT_EXPORT", {
21
21
  status: MailtrapGetContactExport_ExportStatusSchema.nullable().optional(),
22
22
  created_at: z.string().describe("ISO 8601 timestamp when the export was created.").nullable().optional(),
23
23
  updated_at: z.string().describe("ISO 8601 timestamp when the export was last updated.").nullable().optional()
24
- }).describe("Response model for contact export status.")
24
+ }).passthrough().describe("Response model for contact export status.")
25
25
  });
26
26
  //#endregion
27
27
  export { mailtrapGetContactExport };
@@ -1 +1 @@
1
- {"version":3,"file":"get-contact-export.mjs","names":[],"sources":["../../src/actions/get-contact-export.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapGetContactExportInput = z.object({\n export_id: z.number().int().describe(\"Unique Contact Export ID to retrieve.\"),\n account_id: z.number().int().describe(\"Unique account ID for the Mailtrap account.\"),\n}).describe(\"Request model for getting a contact export status.\");\nconst MailtrapGetContactExport_ExportStatusSchema = z.enum([\"created\", \"started\", \"finished\"]).describe(\"Status of the contact export.\");\nexport const MailtrapGetContactExportOutput = z.object({\n id: z.number().int().describe(\"Unique ID of the contact export.\").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: MailtrapGetContactExport_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}).describe(\"Response model for contact export status.\");\n\nexport const mailtrapGetContactExport = action(\"MAILTRAP_GET_CONTACT_EXPORT\", {\n slug: \"mailtrap-get-contact-export\",\n name: \"Get Contact Export\",\n description: \"Tool to retrieve the status of a contact export. Use when you need to check the progress of an export or download the exported contacts file.\",\n input: MailtrapGetContactExportInput,\n output: MailtrapGetContactExportOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO;CACpD,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC;CAC5E,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;AACrF,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,8CAA8C,EAAE,KAAK;CAAC;CAAW;CAAW;AAAU,CAAC,CAAC,CAAC,SAAS,+BAA+B;AASvI,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb4C,EAAE,OAAO;EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnI,QAAQ,4CAA4C,SAAS,CAAC,CAAC,SAAS;EACxE,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,SAAS,2CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-contact-export.mjs","names":[],"sources":["../../src/actions/get-contact-export.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapGetContactExportInput = z.object({\n export_id: z.number().int().describe(\"Unique Contact Export ID to retrieve.\"),\n account_id: z.number().int().describe(\"Unique account ID for the Mailtrap account.\"),\n}).describe(\"Request model for getting a contact export status.\");\nconst MailtrapGetContactExport_ExportStatusSchema = z.enum([\"created\", \"started\", \"finished\"]).describe(\"Status of the contact export.\");\nexport const MailtrapGetContactExportOutput = z.object({\n id: z.number().int().describe(\"Unique ID of the contact export.\").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: MailtrapGetContactExport_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().describe(\"Response model for contact export status.\");\n\nexport const mailtrapGetContactExport = action(\"MAILTRAP_GET_CONTACT_EXPORT\", {\n slug: \"mailtrap-get-contact-export\",\n name: \"Get Contact Export\",\n description: \"Tool to retrieve the status of a contact export. Use when you need to check the progress of an export or download the exported contacts file.\",\n input: MailtrapGetContactExportInput,\n output: MailtrapGetContactExportOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO;CACpD,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC;CAC5E,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;AACrF,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,8CAA8C,EAAE,KAAK;CAAC;CAAW;CAAW;AAAU,CAAC,CAAC,CAAC,SAAS,+BAA+B;AASvI,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb4C,EAAE,OAAO;EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnI,QAAQ,4CAA4C,SAAS,CAAC,CAAC,SAAS;EACxE,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,YAAY,CAAC,CAAC,SAAS,2CAOhB;AACV,CAAC"}
@@ -10,7 +10,7 @@ const MailtrapGetContactFieldOutput = zod.z.object({
10
10
  name: zod.z.string().describe("The name of the contact field").nullable().optional(),
11
11
  data_type: zod.z.string().describe("The data type of the field: text, integer, float, boolean, or date").nullable().optional(),
12
12
  merge_tag: zod.z.string().describe("Personalize your campaigns by adding a merge tag. This field will be replaced with unique contact details for each recipient.").nullable().optional()
13
- }).describe("Response schema containing contact field details.");
13
+ }).passthrough().describe("Response schema containing contact field details.");
14
14
  const mailtrapGetContactField = require_action.action("MAILTRAP_GET_CONTACT_FIELD", {
15
15
  slug: "mailtrap-get-contact-field",
16
16
  name: "Get Contact Field",
@@ -1 +1 @@
1
- {"version":3,"file":"get-contact-field.cjs","names":["z","action"],"sources":["../../src/actions/get-contact-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapGetContactFieldInput = z.object({\n field_id: z.number().int().describe(\"Unique Contact Field ID\"),\n account_id: z.number().int().describe(\"Unique account ID\"),\n}).describe(\"Request schema for getting a contact field by ID.\");\nexport const MailtrapGetContactFieldOutput = z.object({\n id: z.number().int().describe(\"The unique identifier of the contact field\").nullable().optional(),\n name: z.string().describe(\"The name of the contact field\").nullable().optional(),\n data_type: z.string().describe(\"The data type of the field: text, integer, float, boolean, or date\").nullable().optional(),\n merge_tag: z.string().describe(\"Personalize your campaigns by adding a merge tag. This field will be replaced with unique contact details for each recipient.\").nullable().optional(),\n}).describe(\"Response schema containing contact field details.\");\n\nexport const mailtrapGetContactField = action(\"MAILTRAP_GET_CONTACT_FIELD\", {\n slug: \"mailtrap-get-contact-field\",\n name: \"Get Contact Field\",\n description: \"Tool to retrieve contact field details by field ID. Use when you need to get information about a specific custom field in your contacts.\",\n input: MailtrapGetContactFieldInput,\n output: MailtrapGetContactFieldOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB;CAC7D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB;AAC3D,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtL,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAE/D,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-contact-field.cjs","names":["z","action"],"sources":["../../src/actions/get-contact-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapGetContactFieldInput = z.object({\n field_id: z.number().int().describe(\"Unique Contact Field ID\"),\n account_id: z.number().int().describe(\"Unique account ID\"),\n}).describe(\"Request schema for getting a contact field by ID.\");\nexport const MailtrapGetContactFieldOutput = z.object({\n id: z.number().int().describe(\"The unique identifier of the contact field\").nullable().optional(),\n name: z.string().describe(\"The name of the contact field\").nullable().optional(),\n data_type: z.string().describe(\"The data type of the field: text, integer, float, boolean, or date\").nullable().optional(),\n merge_tag: z.string().describe(\"Personalize your campaigns by adding a merge tag. This field will be replaced with unique contact details for each recipient.\").nullable().optional(),\n}).passthrough().describe(\"Response schema containing contact field details.\");\n\nexport const mailtrapGetContactField = action(\"MAILTRAP_GET_CONTACT_FIELD\", {\n slug: \"mailtrap-get-contact-field\",\n name: \"Get Contact Field\",\n description: \"Tool to retrieve contact field details by field ID. Use when you need to get information about a specific custom field in your contacts.\",\n input: MailtrapGetContactFieldInput,\n output: MailtrapGetContactFieldOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB;CAC7D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB;AAC3D,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAE7E,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -10,7 +10,7 @@ declare const MailtrapGetContactFieldOutput: z.ZodObject<{
10
10
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
11
  data_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
12
  merge_tag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
- }, z.core.$strip>;
13
+ }, z.core.$loose>;
14
14
  declare const mailtrapGetContactField: import("@keystrokehq/action").WorkflowActionDefinition<{
15
15
  field_id: number;
16
16
  account_id: number;
@@ -10,7 +10,7 @@ declare const MailtrapGetContactFieldOutput: z.ZodObject<{
10
10
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
11
  data_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
12
  merge_tag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
- }, z.core.$strip>;
13
+ }, z.core.$loose>;
14
14
  declare const mailtrapGetContactField: import("@keystrokehq/action").WorkflowActionDefinition<{
15
15
  field_id: number;
16
16
  account_id: number;
@@ -13,7 +13,7 @@ const mailtrapGetContactField = action("MAILTRAP_GET_CONTACT_FIELD", {
13
13
  name: z.string().describe("The name of the contact field").nullable().optional(),
14
14
  data_type: z.string().describe("The data type of the field: text, integer, float, boolean, or date").nullable().optional(),
15
15
  merge_tag: z.string().describe("Personalize your campaigns by adding a merge tag. This field will be replaced with unique contact details for each recipient.").nullable().optional()
16
- }).describe("Response schema containing contact field details.")
16
+ }).passthrough().describe("Response schema containing contact field details.")
17
17
  });
18
18
  //#endregion
19
19
  export { mailtrapGetContactField };
@@ -1 +1 @@
1
- {"version":3,"file":"get-contact-field.mjs","names":[],"sources":["../../src/actions/get-contact-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapGetContactFieldInput = z.object({\n field_id: z.number().int().describe(\"Unique Contact Field ID\"),\n account_id: z.number().int().describe(\"Unique account ID\"),\n}).describe(\"Request schema for getting a contact field by ID.\");\nexport const MailtrapGetContactFieldOutput = z.object({\n id: z.number().int().describe(\"The unique identifier of the contact field\").nullable().optional(),\n name: z.string().describe(\"The name of the contact field\").nullable().optional(),\n data_type: z.string().describe(\"The data type of the field: text, integer, float, boolean, or date\").nullable().optional(),\n merge_tag: z.string().describe(\"Personalize your campaigns by adding a merge tag. This field will be replaced with unique contact details for each recipient.\").nullable().optional(),\n}).describe(\"Response schema containing contact field details.\");\n\nexport const mailtrapGetContactField = action(\"MAILTRAP_GET_CONTACT_FIELD\", {\n slug: \"mailtrap-get-contact-field\",\n name: \"Get Contact Field\",\n description: \"Tool to retrieve contact field details by field ID. Use when you need to get information about a specific custom field in your contacts.\",\n input: MailtrapGetContactFieldInput,\n output: MailtrapGetContactFieldOutput,\n});\n"],"mappings":";;AAeA,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAf0C,EAAE,OAAO;EACnD,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB;EAC7D,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB;CAC3D,CAAC,CAAC,CAAC,SAAS,mDAYH;CACP,QAZ2C,EAAE,OAAO;EACpD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtL,CAAC,CAAC,CAAC,SAAS,mDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-contact-field.mjs","names":[],"sources":["../../src/actions/get-contact-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapGetContactFieldInput = z.object({\n field_id: z.number().int().describe(\"Unique Contact Field ID\"),\n account_id: z.number().int().describe(\"Unique account ID\"),\n}).describe(\"Request schema for getting a contact field by ID.\");\nexport const MailtrapGetContactFieldOutput = z.object({\n id: z.number().int().describe(\"The unique identifier of the contact field\").nullable().optional(),\n name: z.string().describe(\"The name of the contact field\").nullable().optional(),\n data_type: z.string().describe(\"The data type of the field: text, integer, float, boolean, or date\").nullable().optional(),\n merge_tag: z.string().describe(\"Personalize your campaigns by adding a merge tag. This field will be replaced with unique contact details for each recipient.\").nullable().optional(),\n}).passthrough().describe(\"Response schema containing contact field details.\");\n\nexport const mailtrapGetContactField = action(\"MAILTRAP_GET_CONTACT_FIELD\", {\n slug: \"mailtrap-get-contact-field\",\n name: \"Get Contact Field\",\n description: \"Tool to retrieve contact field details by field ID. Use when you need to get information about a specific custom field in your contacts.\",\n input: MailtrapGetContactFieldInput,\n output: MailtrapGetContactFieldOutput,\n});\n"],"mappings":";;AAeA,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAf0C,EAAE,OAAO;EACnD,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB;EAC7D,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB;CAC3D,CAAC,CAAC,CAAC,SAAS,mDAYH;CACP,QAZ2C,EAAE,OAAO;EACpD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAOhB;AACV,CAAC"}
@@ -17,7 +17,7 @@ const MailtrapGetContactImportOutput = zod.z.object({
17
17
  created_contacts_count: zod.z.number().int().describe("Number of new contacts created during import. Only provided when status is 'finished'.").nullable().optional(),
18
18
  updated_contacts_count: zod.z.number().int().describe("Number of existing contacts updated during import. Only provided when status is 'finished'.").nullable().optional(),
19
19
  contacts_over_limit_count: zod.z.number().int().describe("Number of contacts that exceeded the account limit. Only provided when status is 'finished'.").nullable().optional()
20
- }).describe("Response model for contact import status.\n\nFields like contacts_over_limit_count, created_contacts_count, and\nupdated_contacts_count are only provided when status is 'finished'.");
20
+ }).passthrough().describe("Response model for contact import status.\n\nFields like contacts_over_limit_count, created_contacts_count, and\nupdated_contacts_count are only provided when status is 'finished'.");
21
21
  const mailtrapGetContactImport = require_action.action("MAILTRAP_GET_CONTACT_IMPORT", {
22
22
  slug: "mailtrap-get-contact-import",
23
23
  name: "Get Contact Import Status",
@@ -1 +1 @@
1
- {"version":3,"file":"get-contact-import.cjs","names":["z","action"],"sources":["../../src/actions/get-contact-import.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapGetContactImportInput = z.object({\n import_id: z.number().int().describe(\"Unique Contact Import ID for the import operation to retrieve.\"),\n account_id: z.number().int().describe(\"Unique account ID for the Mailtrap account.\"),\n}).describe(\"Request model for retrieving the status of a contact import operation.\");\nconst MailtrapGetContactImport_ContactImportStatusSchema = z.enum([\"created\", \"started\", \"finished\", \"failed\"]).describe(\"Status values for contact import operations.\");\nexport const MailtrapGetContactImportOutput = z.object({\n id: z.number().int().describe(\"Unique identifier for the contact import operation.\").nullable(),\n status: MailtrapGetContactImport_ContactImportStatusSchema.nullable(),\n created_contacts_count: z.number().int().describe(\"Number of new contacts created during import. Only provided when status is 'finished'.\").nullable().optional(),\n updated_contacts_count: z.number().int().describe(\"Number of existing contacts updated during import. Only provided when status is 'finished'.\").nullable().optional(),\n contacts_over_limit_count: z.number().int().describe(\"Number of contacts that exceeded the account limit. Only provided when status is 'finished'.\").nullable().optional(),\n}).describe(\"Response model for contact import status.\\n\\nFields like contacts_over_limit_count, created_contacts_count, and\\nupdated_contacts_count are only provided when status is 'finished'.\");\n\nexport const mailtrapGetContactImport = action(\"MAILTRAP_GET_CONTACT_IMPORT\", {\n slug: \"mailtrap-get-contact-import\",\n name: \"Get Contact Import Status\",\n description: \"Tool to retrieve the status of a contact import operation. Use when you need to check the progress or completion status of a contact import. Use after initiating a contact import to monitor its status and retrieve statistics once finished.\",\n input: MailtrapGetContactImportInput,\n output: MailtrapGetContactImportOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE;CACrG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;AACrF,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAM,qDAAqDA,IAAAA,EAAE,KAAK;CAAC;CAAW;CAAW;CAAY;AAAQ,CAAC,CAAC,CAAC,SAAS,8CAA8C;AACvK,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC9F,QAAQ,mDAAmD,SAAS;CACpE,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChK,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrK,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3K,CAAC,CAAC,CAAC,SAAS,sLAAsL;AAElM,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-contact-import.cjs","names":["z","action"],"sources":["../../src/actions/get-contact-import.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapGetContactImportInput = z.object({\n import_id: z.number().int().describe(\"Unique Contact Import ID for the import operation to retrieve.\"),\n account_id: z.number().int().describe(\"Unique account ID for the Mailtrap account.\"),\n}).describe(\"Request model for retrieving the status of a contact import operation.\");\nconst MailtrapGetContactImport_ContactImportStatusSchema = z.enum([\"created\", \"started\", \"finished\", \"failed\"]).describe(\"Status values for contact import operations.\");\nexport const MailtrapGetContactImportOutput = z.object({\n id: z.number().int().describe(\"Unique identifier for the contact import operation.\").nullable(),\n status: MailtrapGetContactImport_ContactImportStatusSchema.nullable(),\n created_contacts_count: z.number().int().describe(\"Number of new contacts created during import. Only provided when status is 'finished'.\").nullable().optional(),\n updated_contacts_count: z.number().int().describe(\"Number of existing contacts updated during import. Only provided when status is 'finished'.\").nullable().optional(),\n contacts_over_limit_count: z.number().int().describe(\"Number of contacts that exceeded the account limit. Only provided when status is 'finished'.\").nullable().optional(),\n}).passthrough().describe(\"Response model for contact import status.\\n\\nFields like contacts_over_limit_count, created_contacts_count, and\\nupdated_contacts_count are only provided when status is 'finished'.\");\n\nexport const mailtrapGetContactImport = action(\"MAILTRAP_GET_CONTACT_IMPORT\", {\n slug: \"mailtrap-get-contact-import\",\n name: \"Get Contact Import Status\",\n description: \"Tool to retrieve the status of a contact import operation. Use when you need to check the progress or completion status of a contact import. Use after initiating a contact import to monitor its status and retrieve statistics once finished.\",\n input: MailtrapGetContactImportInput,\n output: MailtrapGetContactImportOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE;CACrG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;AACrF,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAM,qDAAqDA,IAAAA,EAAE,KAAK;CAAC;CAAW;CAAW;CAAY;AAAQ,CAAC,CAAC,CAAC,SAAS,8CAA8C;AACvK,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC9F,QAAQ,mDAAmD,SAAS;CACpE,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChK,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrK,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sLAAsL;AAEhN,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -16,7 +16,7 @@ declare const MailtrapGetContactImportOutput: z.ZodObject<{
16
16
  created_contacts_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17
17
  updated_contacts_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
18
18
  contacts_over_limit_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
19
- }, z.core.$strip>;
19
+ }, z.core.$loose>;
20
20
  declare const mailtrapGetContactImport: import("@keystrokehq/action").WorkflowActionDefinition<{
21
21
  import_id: number;
22
22
  account_id: number;
@@ -16,7 +16,7 @@ declare const MailtrapGetContactImportOutput: z.ZodObject<{
16
16
  created_contacts_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17
17
  updated_contacts_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
18
18
  contacts_over_limit_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
19
- }, z.core.$strip>;
19
+ }, z.core.$loose>;
20
20
  declare const mailtrapGetContactImport: import("@keystrokehq/action").WorkflowActionDefinition<{
21
21
  import_id: number;
22
22
  account_id: number;
@@ -22,7 +22,7 @@ const mailtrapGetContactImport = action("MAILTRAP_GET_CONTACT_IMPORT", {
22
22
  created_contacts_count: z.number().int().describe("Number of new contacts created during import. Only provided when status is 'finished'.").nullable().optional(),
23
23
  updated_contacts_count: z.number().int().describe("Number of existing contacts updated during import. Only provided when status is 'finished'.").nullable().optional(),
24
24
  contacts_over_limit_count: z.number().int().describe("Number of contacts that exceeded the account limit. Only provided when status is 'finished'.").nullable().optional()
25
- }).describe("Response model for contact import status.\n\nFields like contacts_over_limit_count, created_contacts_count, and\nupdated_contacts_count are only provided when status is 'finished'.")
25
+ }).passthrough().describe("Response model for contact import status.\n\nFields like contacts_over_limit_count, created_contacts_count, and\nupdated_contacts_count are only provided when status is 'finished'.")
26
26
  });
27
27
  //#endregion
28
28
  export { mailtrapGetContactImport };
@@ -1 +1 @@
1
- {"version":3,"file":"get-contact-import.mjs","names":[],"sources":["../../src/actions/get-contact-import.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapGetContactImportInput = z.object({\n import_id: z.number().int().describe(\"Unique Contact Import ID for the import operation to retrieve.\"),\n account_id: z.number().int().describe(\"Unique account ID for the Mailtrap account.\"),\n}).describe(\"Request model for retrieving the status of a contact import operation.\");\nconst MailtrapGetContactImport_ContactImportStatusSchema = z.enum([\"created\", \"started\", \"finished\", \"failed\"]).describe(\"Status values for contact import operations.\");\nexport const MailtrapGetContactImportOutput = z.object({\n id: z.number().int().describe(\"Unique identifier for the contact import operation.\").nullable(),\n status: MailtrapGetContactImport_ContactImportStatusSchema.nullable(),\n created_contacts_count: z.number().int().describe(\"Number of new contacts created during import. Only provided when status is 'finished'.\").nullable().optional(),\n updated_contacts_count: z.number().int().describe(\"Number of existing contacts updated during import. Only provided when status is 'finished'.\").nullable().optional(),\n contacts_over_limit_count: z.number().int().describe(\"Number of contacts that exceeded the account limit. Only provided when status is 'finished'.\").nullable().optional(),\n}).describe(\"Response model for contact import status.\\n\\nFields like contacts_over_limit_count, created_contacts_count, and\\nupdated_contacts_count are only provided when status is 'finished'.\");\n\nexport const mailtrapGetContactImport = action(\"MAILTRAP_GET_CONTACT_IMPORT\", {\n slug: \"mailtrap-get-contact-import\",\n name: \"Get Contact Import Status\",\n description: \"Tool to retrieve the status of a contact import operation. Use when you need to check the progress or completion status of a contact import. Use after initiating a contact import to monitor its status and retrieve statistics once finished.\",\n input: MailtrapGetContactImportInput,\n output: MailtrapGetContactImportOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO;CACpD,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE;CACrG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;AACrF,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAM,qDAAqD,EAAE,KAAK;CAAC;CAAW;CAAW;CAAY;AAAQ,CAAC,CAAC,CAAC,SAAS,8CAA8C;AASvK,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb4C,EAAE,OAAO;EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EAC9F,QAAQ,mDAAmD,SAAS;EACpE,wBAAwB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChK,wBAAwB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrK,2BAA2B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3K,CAAC,CAAC,CAAC,SAAS,sLAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-contact-import.mjs","names":[],"sources":["../../src/actions/get-contact-import.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapGetContactImportInput = z.object({\n import_id: z.number().int().describe(\"Unique Contact Import ID for the import operation to retrieve.\"),\n account_id: z.number().int().describe(\"Unique account ID for the Mailtrap account.\"),\n}).describe(\"Request model for retrieving the status of a contact import operation.\");\nconst MailtrapGetContactImport_ContactImportStatusSchema = z.enum([\"created\", \"started\", \"finished\", \"failed\"]).describe(\"Status values for contact import operations.\");\nexport const MailtrapGetContactImportOutput = z.object({\n id: z.number().int().describe(\"Unique identifier for the contact import operation.\").nullable(),\n status: MailtrapGetContactImport_ContactImportStatusSchema.nullable(),\n created_contacts_count: z.number().int().describe(\"Number of new contacts created during import. Only provided when status is 'finished'.\").nullable().optional(),\n updated_contacts_count: z.number().int().describe(\"Number of existing contacts updated during import. Only provided when status is 'finished'.\").nullable().optional(),\n contacts_over_limit_count: z.number().int().describe(\"Number of contacts that exceeded the account limit. Only provided when status is 'finished'.\").nullable().optional(),\n}).passthrough().describe(\"Response model for contact import status.\\n\\nFields like contacts_over_limit_count, created_contacts_count, and\\nupdated_contacts_count are only provided when status is 'finished'.\");\n\nexport const mailtrapGetContactImport = action(\"MAILTRAP_GET_CONTACT_IMPORT\", {\n slug: \"mailtrap-get-contact-import\",\n name: \"Get Contact Import Status\",\n description: \"Tool to retrieve the status of a contact import operation. Use when you need to check the progress or completion status of a contact import. Use after initiating a contact import to monitor its status and retrieve statistics once finished.\",\n input: MailtrapGetContactImportInput,\n output: MailtrapGetContactImportOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO;CACpD,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE;CACrG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;AACrF,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAM,qDAAqD,EAAE,KAAK;CAAC;CAAW;CAAW;CAAY;AAAQ,CAAC,CAAC,CAAC,SAAS,8CAA8C;AASvK,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb4C,EAAE,OAAO;EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EAC9F,QAAQ,mDAAmD,SAAS;EACpE,wBAAwB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChK,wBAAwB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrK,2BAA2B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sLAOhB;AACV,CAAC"}
@@ -8,7 +8,7 @@ const MailtrapGetContactListInput = zod.z.object({
8
8
  const MailtrapGetContactListOutput = zod.z.object({
9
9
  id: zod.z.number().int().describe("Unique identifier of the contact list").nullable().optional(),
10
10
  name: zod.z.string().describe("Name of the contact list (max 255 characters)").nullable().optional()
11
- }).describe("Response model containing contact list details.");
11
+ }).passthrough().describe("Response model containing contact list details.");
12
12
  const mailtrapGetContactList = require_action.action("MAILTRAP_GET_CONTACT_LIST", {
13
13
  slug: "mailtrap-get-contact-list",
14
14
  name: "Get Contact List",