@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
@@ -7,7 +7,7 @@ declare const MailtrapImportContactsInput: z.ZodObject<{
7
7
  fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
8
8
  list_ids_excluded: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
9
9
  list_ids_included: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
10
- }, z.core.$strip>>;
10
+ }, z.core.$loose>>;
11
11
  account_id: z.ZodNumber;
12
12
  }, z.core.$strip>;
13
13
  declare const MailtrapImportContactsOutput: z.ZodObject<{
@@ -16,9 +16,10 @@ declare const MailtrapImportContactsOutput: 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 mailtrapImportContacts: import("@keystrokehq/action").WorkflowActionDefinition<{
21
21
  contacts: {
22
+ [x: string]: unknown;
22
23
  email: string;
23
24
  fields?: Record<string, unknown> | undefined;
24
25
  list_ids_excluded?: number[] | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"import-contacts.d.cts","names":[],"sources":["../../src/actions/import-contacts.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;cAS3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;cAQ5B,sBAAA,gCAAsB,wBAAA;;;aAMjC,MAAA"}
1
+ {"version":3,"file":"import-contacts.d.cts","names":[],"sources":["../../src/actions/import-contacts.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;cAS3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;cAQ5B,sBAAA,gCAAsB,wBAAA;;;;aAMjC,MAAA"}
@@ -7,7 +7,7 @@ declare const MailtrapImportContactsInput: z.ZodObject<{
7
7
  fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
8
8
  list_ids_excluded: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
9
9
  list_ids_included: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
10
- }, z.core.$strip>>;
10
+ }, z.core.$loose>>;
11
11
  account_id: z.ZodNumber;
12
12
  }, z.core.$strip>;
13
13
  declare const MailtrapImportContactsOutput: z.ZodObject<{
@@ -16,9 +16,10 @@ declare const MailtrapImportContactsOutput: 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 mailtrapImportContacts: import("@keystrokehq/action").WorkflowActionDefinition<{
21
21
  contacts: {
22
+ [x: string]: unknown;
22
23
  email: string;
23
24
  fields?: Record<string, unknown> | undefined;
24
25
  list_ids_excluded?: number[] | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"import-contacts.d.mts","names":[],"sources":["../../src/actions/import-contacts.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;cAS3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;cAQ5B,sBAAA,gCAAsB,wBAAA;;;aAMjC,MAAA"}
1
+ {"version":3,"file":"import-contacts.d.mts","names":[],"sources":["../../src/actions/import-contacts.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;cAS3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;cAQ5B,sBAAA,gCAAsB,wBAAA;;;;aAMjC,MAAA"}
@@ -10,7 +10,7 @@ const mailtrapImportContacts = action("MAILTRAP_IMPORT_CONTACTS", {
10
10
  fields: z.record(z.string(), z.unknown()).describe("Custom fields for a contact.").optional(),
11
11
  list_ids_excluded: z.array(z.number().int()).describe("List of mailing list IDs to exclude this contact from.").optional(),
12
12
  list_ids_included: z.array(z.number().int()).describe("List of mailing list IDs to add this contact to.").optional()
13
- }).describe("Individual contact to import.")).describe("List of contacts to import. Each contact must have an email address and can have optional custom fields and list associations."),
13
+ }).passthrough().describe("Individual contact to import.")).describe("List of contacts to import. Each contact must have an email address and can have optional custom fields and list associations."),
14
14
  account_id: z.number().int().describe("Unique account ID for the Mailtrap account.")
15
15
  }).describe("Request schema for ImportContacts."),
16
16
  output: z.object({
@@ -19,7 +19,7 @@ const mailtrapImportContacts = action("MAILTRAP_IMPORT_CONTACTS", {
19
19
  created_contacts_count: z.number().int().describe("Number of new contacts created. Only provided when status is 'finished'.").nullable().optional(),
20
20
  updated_contacts_count: z.number().int().describe("Number of existing contacts updated. Only provided when status is 'finished'.").nullable().optional(),
21
21
  contacts_over_limit_count: z.number().int().describe("Number of contacts that exceeded account limits. Only provided when status is 'finished'.").nullable().optional()
22
- }).describe("Response schema for ImportContacts.")
22
+ }).passthrough().describe("Response schema for ImportContacts.")
23
23
  });
24
24
  //#endregion
25
25
  export { mailtrapImportContacts };
@@ -1 +1 @@
1
- {"version":3,"file":"import-contacts.mjs","names":[],"sources":["../../src/actions/import-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapImportContactsInput = z.object({\n contacts: z.array(z.object({\n email: z.string().describe(\"Email address of the contact.\"),\n fields: z.record(z.string(), z.unknown()).describe(\"Custom fields for a contact.\").optional(),\n list_ids_excluded: z.array(z.number().int()).describe(\"List of mailing list IDs to exclude this contact from.\").optional(),\n list_ids_included: z.array(z.number().int()).describe(\"List of mailing list IDs to add this contact to.\").optional(),\n}).describe(\"Individual contact to import.\")).describe(\"List of contacts to import. Each contact must have an email address and can have optional custom fields and list associations.\"),\n account_id: z.number().int().describe(\"Unique account ID for the Mailtrap account.\"),\n}).describe(\"Request schema for ImportContacts.\");\nexport const MailtrapImportContactsOutput = z.object({\n id: z.number().int().describe(\"Unique identifier for the import job.\").nullable().optional(),\n status: z.string().describe(\"Status of the import job. Values: 'created', 'started', 'finished', or 'failed'.\").nullable().optional(),\n created_contacts_count: z.number().int().describe(\"Number of new contacts created. Only provided when status is 'finished'.\").nullable().optional(),\n updated_contacts_count: z.number().int().describe(\"Number of existing contacts updated. Only provided when status is 'finished'.\").nullable().optional(),\n contacts_over_limit_count: z.number().int().describe(\"Number of contacts that exceeded account limits. Only provided when status is 'finished'.\").nullable().optional(),\n}).describe(\"Response schema for ImportContacts.\");\n\nexport const mailtrapImportContacts = action(\"MAILTRAP_IMPORT_CONTACTS\", {\n slug: \"mailtrap-import-contacts\",\n name: \"Import Contacts\",\n description: \"Tool to import contacts in bulk to Mailtrap. Use when you need to add or update multiple contacts at once. The import operation is asynchronous and returns a job ID that can be used to check the status later.\",\n input: MailtrapImportContactsInput,\n output: MailtrapImportContactsOutput,\n});\n"],"mappings":";;AAqBA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArByC,EAAE,OAAO;EAClD,UAAU,EAAE,MAAM,EAAE,OAAO;GAC3B,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;GAC1D,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;GAC5F,mBAAmB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;GACzH,mBAAmB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EACrH,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,CAAC,SAAS,gIAAgI;EACrL,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;CACrF,CAAC,CAAC,CAAC,SAAS,oCAaH;CACP,QAb0C,EAAE,OAAO;EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpI,wBAAwB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClJ,wBAAwB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvJ,2BAA2B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxK,CAAC,CAAC,CAAC,SAAS,qCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"import-contacts.mjs","names":[],"sources":["../../src/actions/import-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapImportContactsInput = z.object({\n contacts: z.array(z.object({\n email: z.string().describe(\"Email address of the contact.\"),\n fields: z.record(z.string(), z.unknown()).describe(\"Custom fields for a contact.\").optional(),\n list_ids_excluded: z.array(z.number().int()).describe(\"List of mailing list IDs to exclude this contact from.\").optional(),\n list_ids_included: z.array(z.number().int()).describe(\"List of mailing list IDs to add this contact to.\").optional(),\n}).passthrough().describe(\"Individual contact to import.\")).describe(\"List of contacts to import. Each contact must have an email address and can have optional custom fields and list associations.\"),\n account_id: z.number().int().describe(\"Unique account ID for the Mailtrap account.\"),\n}).describe(\"Request schema for ImportContacts.\");\nexport const MailtrapImportContactsOutput = z.object({\n id: z.number().int().describe(\"Unique identifier for the import job.\").nullable().optional(),\n status: z.string().describe(\"Status of the import job. Values: 'created', 'started', 'finished', or 'failed'.\").nullable().optional(),\n created_contacts_count: z.number().int().describe(\"Number of new contacts created. Only provided when status is 'finished'.\").nullable().optional(),\n updated_contacts_count: z.number().int().describe(\"Number of existing contacts updated. Only provided when status is 'finished'.\").nullable().optional(),\n contacts_over_limit_count: z.number().int().describe(\"Number of contacts that exceeded account limits. Only provided when status is 'finished'.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for ImportContacts.\");\n\nexport const mailtrapImportContacts = action(\"MAILTRAP_IMPORT_CONTACTS\", {\n slug: \"mailtrap-import-contacts\",\n name: \"Import Contacts\",\n description: \"Tool to import contacts in bulk to Mailtrap. Use when you need to add or update multiple contacts at once. The import operation is asynchronous and returns a job ID that can be used to check the status later.\",\n input: MailtrapImportContactsInput,\n output: MailtrapImportContactsOutput,\n});\n"],"mappings":";;AAqBA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArByC,EAAE,OAAO;EAClD,UAAU,EAAE,MAAM,EAAE,OAAO;GAC3B,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;GAC1D,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;GAC5F,mBAAmB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;GACzH,mBAAmB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,CAAC,SAAS,gIAAgI;EACnM,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;CACrF,CAAC,CAAC,CAAC,SAAS,oCAaH;CACP,QAb0C,EAAE,OAAO;EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpI,wBAAwB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClJ,wBAAwB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvJ,2BAA2B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAOhB;AACV,CAAC"}
@@ -6,8 +6,8 @@ const MailtrapListAccounts_AccountSchema = zod.z.object({
6
6
  id: zod.z.number().int().describe("Account ID").nullable(),
7
7
  name: zod.z.string().describe("Account name").nullable(),
8
8
  access_levels: zod.z.array(zod.z.number().int()).describe("Access levels for the account. Possible values: 1000 (account owner), 100 (admin), 10 (viewer)")
9
- }).describe("Mailtrap account information.");
10
- const MailtrapListAccountsOutput = zod.z.object({ accounts: zod.z.array(MailtrapListAccounts_AccountSchema).describe("List of accounts the API token has access to") }).describe("Response model containing list of accounts.");
9
+ }).passthrough().describe("Mailtrap account information.");
10
+ const MailtrapListAccountsOutput = zod.z.object({ accounts: zod.z.array(MailtrapListAccounts_AccountSchema).describe("List of accounts the API token has access to") }).passthrough().describe("Response model containing list of accounts.");
11
11
  const mailtrapListAccounts = require_action.action("MAILTRAP_LIST_ACCOUNTS", {
12
12
  slug: "mailtrap-list-accounts",
13
13
  name: "List Accounts",
@@ -1 +1 @@
1
- {"version":3,"file":"list-accounts.cjs","names":["z","action"],"sources":["../../src/actions/list-accounts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapListAccountsInput = z.object({}).describe(\"Request model for listing accounts. This endpoint requires no parameters.\");\nconst MailtrapListAccounts_AccountSchema = z.object({\n id: z.number().int().describe(\"Account ID\").nullable(),\n name: z.string().describe(\"Account name\").nullable(),\n access_levels: z.array(z.number().int()).describe(\"Access levels for the account. Possible values: 1000 (account owner), 100 (admin), 10 (viewer)\"),\n}).describe(\"Mailtrap account information.\");\nexport const MailtrapListAccountsOutput = z.object({\n accounts: z.array(MailtrapListAccounts_AccountSchema).describe(\"List of accounts the API token has access to\"),\n}).describe(\"Response model containing list of accounts.\");\n\nexport const mailtrapListAccounts = action(\"MAILTRAP_LIST_ACCOUNTS\", {\n slug: \"mailtrap-list-accounts\",\n name: \"List Accounts\",\n description: \"Tool to list all Mailtrap accounts you have access to. Use when you need to retrieve account information or get account IDs for other operations. Returns account ID, name, and access levels (1000=owner, 100=admin, 10=viewer).\",\n input: MailtrapListAccountsInput,\n output: MailtrapListAccountsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2EAA2E;AAC1I,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CACnD,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,gGAAgG;AACpJ,CAAC,CAAC,CAAC,SAAS,+BAA+B;AAC3C,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,UAAUA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,8CAA8C,EAC/G,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAEzD,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-accounts.cjs","names":["z","action"],"sources":["../../src/actions/list-accounts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapListAccountsInput = z.object({}).describe(\"Request model for listing accounts. This endpoint requires no parameters.\");\nconst MailtrapListAccounts_AccountSchema = z.object({\n id: z.number().int().describe(\"Account ID\").nullable(),\n name: z.string().describe(\"Account name\").nullable(),\n access_levels: z.array(z.number().int()).describe(\"Access levels for the account. Possible values: 1000 (account owner), 100 (admin), 10 (viewer)\"),\n}).passthrough().describe(\"Mailtrap account information.\");\nexport const MailtrapListAccountsOutput = z.object({\n accounts: z.array(MailtrapListAccounts_AccountSchema).describe(\"List of accounts the API token has access to\"),\n}).passthrough().describe(\"Response model containing list of accounts.\");\n\nexport const mailtrapListAccounts = action(\"MAILTRAP_LIST_ACCOUNTS\", {\n slug: \"mailtrap-list-accounts\",\n name: \"List Accounts\",\n description: \"Tool to list all Mailtrap accounts you have access to. Use when you need to retrieve account information or get account IDs for other operations. Returns account ID, name, and access levels (1000=owner, 100=admin, 10=viewer).\",\n input: MailtrapListAccountsInput,\n output: MailtrapListAccountsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2EAA2E;AAC1I,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CACnD,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,gGAAgG;AACpJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B;AACzD,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,UAAUA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,8CAA8C,EAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -7,8 +7,8 @@ declare const MailtrapListAccountsOutput: z.ZodObject<{
7
7
  id: z.ZodNullable<z.ZodNumber>;
8
8
  name: z.ZodNullable<z.ZodString>;
9
9
  access_levels: z.ZodArray<z.ZodNumber>;
10
- }, z.core.$strip>>;
11
- }, z.core.$strip>;
10
+ }, z.core.$loose>>;
11
+ }, z.core.$loose>;
12
12
  declare const mailtrapListAccounts: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
13
  //#endregion
14
14
  export { mailtrapListAccounts };
@@ -7,8 +7,8 @@ declare const MailtrapListAccountsOutput: z.ZodObject<{
7
7
  id: z.ZodNullable<z.ZodNumber>;
8
8
  name: z.ZodNullable<z.ZodString>;
9
9
  access_levels: z.ZodArray<z.ZodNumber>;
10
- }, z.core.$strip>>;
11
- }, z.core.$strip>;
10
+ }, z.core.$loose>>;
11
+ }, z.core.$loose>;
12
12
  declare const mailtrapListAccounts: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
13
  //#endregion
14
14
  export { mailtrapListAccounts };
@@ -6,13 +6,13 @@ const MailtrapListAccounts_AccountSchema = z.object({
6
6
  id: z.number().int().describe("Account ID").nullable(),
7
7
  name: z.string().describe("Account name").nullable(),
8
8
  access_levels: z.array(z.number().int()).describe("Access levels for the account. Possible values: 1000 (account owner), 100 (admin), 10 (viewer)")
9
- }).describe("Mailtrap account information.");
9
+ }).passthrough().describe("Mailtrap account information.");
10
10
  const mailtrapListAccounts = action("MAILTRAP_LIST_ACCOUNTS", {
11
11
  slug: "mailtrap-list-accounts",
12
12
  name: "List Accounts",
13
13
  description: "Tool to list all Mailtrap accounts you have access to. Use when you need to retrieve account information or get account IDs for other operations. Returns account ID, name, and access levels (1000=owner, 100=admin, 10=viewer).",
14
14
  input: MailtrapListAccountsInput,
15
- output: z.object({ accounts: z.array(MailtrapListAccounts_AccountSchema).describe("List of accounts the API token has access to") }).describe("Response model containing list of accounts.")
15
+ output: z.object({ accounts: z.array(MailtrapListAccounts_AccountSchema).describe("List of accounts the API token has access to") }).passthrough().describe("Response model containing list of accounts.")
16
16
  });
17
17
  //#endregion
18
18
  export { mailtrapListAccounts };
@@ -1 +1 @@
1
- {"version":3,"file":"list-accounts.mjs","names":[],"sources":["../../src/actions/list-accounts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapListAccountsInput = z.object({}).describe(\"Request model for listing accounts. This endpoint requires no parameters.\");\nconst MailtrapListAccounts_AccountSchema = z.object({\n id: z.number().int().describe(\"Account ID\").nullable(),\n name: z.string().describe(\"Account name\").nullable(),\n access_levels: z.array(z.number().int()).describe(\"Access levels for the account. Possible values: 1000 (account owner), 100 (admin), 10 (viewer)\"),\n}).describe(\"Mailtrap account information.\");\nexport const MailtrapListAccountsOutput = z.object({\n accounts: z.array(MailtrapListAccounts_AccountSchema).describe(\"List of accounts the API token has access to\"),\n}).describe(\"Response model containing list of accounts.\");\n\nexport const mailtrapListAccounts = action(\"MAILTRAP_LIST_ACCOUNTS\", {\n slug: \"mailtrap-list-accounts\",\n name: \"List Accounts\",\n description: \"Tool to list all Mailtrap accounts you have access to. Use when you need to retrieve account information or get account IDs for other operations. Returns account ID, name, and access levels (1000=owner, 100=admin, 10=viewer).\",\n input: MailtrapListAccountsInput,\n output: MailtrapListAccountsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2EAA2E;AAC1I,MAAM,qCAAqC,EAAE,OAAO;CAClD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;CACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CACnD,eAAe,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,gGAAgG;AACpJ,CAAC,CAAC,CAAC,SAAS,+BAA+B;AAK3C,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATwC,EAAE,OAAO,EACjD,UAAU,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,8CAA8C,EAC/G,CAAC,CAAC,CAAC,SAAS,6CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-accounts.mjs","names":[],"sources":["../../src/actions/list-accounts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapListAccountsInput = z.object({}).describe(\"Request model for listing accounts. This endpoint requires no parameters.\");\nconst MailtrapListAccounts_AccountSchema = z.object({\n id: z.number().int().describe(\"Account ID\").nullable(),\n name: z.string().describe(\"Account name\").nullable(),\n access_levels: z.array(z.number().int()).describe(\"Access levels for the account. Possible values: 1000 (account owner), 100 (admin), 10 (viewer)\"),\n}).passthrough().describe(\"Mailtrap account information.\");\nexport const MailtrapListAccountsOutput = z.object({\n accounts: z.array(MailtrapListAccounts_AccountSchema).describe(\"List of accounts the API token has access to\"),\n}).passthrough().describe(\"Response model containing list of accounts.\");\n\nexport const mailtrapListAccounts = action(\"MAILTRAP_LIST_ACCOUNTS\", {\n slug: \"mailtrap-list-accounts\",\n name: \"List Accounts\",\n description: \"Tool to list all Mailtrap accounts you have access to. Use when you need to retrieve account information or get account IDs for other operations. Returns account ID, name, and access levels (1000=owner, 100=admin, 10=viewer).\",\n input: MailtrapListAccountsInput,\n output: MailtrapListAccountsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2EAA2E;AAC1I,MAAM,qCAAqC,EAAE,OAAO;CAClD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;CACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CACnD,eAAe,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,gGAAgG;AACpJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B;AAKzD,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATwC,EAAE,OAAO,EACjD,UAAU,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,8CAA8C,EAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAOhB;AACV,CAAC"}
@@ -14,8 +14,8 @@ const MailtrapListContactFields_ContactFieldSchema = zod.z.object({
14
14
  name: zod.z.string().describe("Name of the contact field").nullable().optional(),
15
15
  data_type: MailtrapListContactFields_DataTypeSchema.nullable().optional(),
16
16
  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()
17
- }).describe("Represents a single contact field configuration.");
18
- const MailtrapListContactFieldsOutput = zod.z.object({ fields: zod.z.array(MailtrapListContactFields_ContactFieldSchema).describe("Array of all contact fields for the account") }).describe("Response model for listing contact fields.");
17
+ }).passthrough().describe("Represents a single contact field configuration.");
18
+ const MailtrapListContactFieldsOutput = zod.z.object({ fields: zod.z.array(MailtrapListContactFields_ContactFieldSchema).describe("Array of all contact fields for the account") }).passthrough().describe("Response model for listing contact fields.");
19
19
  const mailtrapListContactFields = require_action.action("MAILTRAP_LIST_CONTACT_FIELDS", {
20
20
  slug: "mailtrap-list-contact-fields",
21
21
  name: "List Contact Fields",
@@ -1 +1 @@
1
- {"version":3,"file":"list-contact-fields.cjs","names":["z","action"],"sources":["../../src/actions/list-contact-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapListContactFieldsInput = z.object({\n account_id: z.number().int().describe(\"Unique account ID for the Mailtrap account.\"),\n}).describe(\"Request model for listing contact fields in a Mailtrap account.\");\nconst MailtrapListContactFields_DataTypeSchema = z.enum([\"text\", \"integer\", \"float\", \"boolean\", \"date\"]).describe(\"Enum for contact field data types.\");\nconst MailtrapListContactFields_ContactFieldSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact field\").nullable().optional(),\n name: z.string().describe(\"Name of the contact field\").nullable().optional(),\n data_type: MailtrapListContactFields_DataTypeSchema.nullable().optional(),\n merge_tag: z.string().describe(\"Personalize your campaigns by adding a merge tag. This field will be replaced with unique contact details for each recipient.\").nullable().optional(),\n}).describe(\"Represents a single contact field configuration.\");\nexport const MailtrapListContactFieldsOutput = z.object({\n fields: z.array(MailtrapListContactFields_ContactFieldSchema).describe(\"Array of all contact fields for the account\"),\n}).describe(\"Response model for listing contact fields.\");\n\nexport const mailtrapListContactFields = action(\"MAILTRAP_LIST_CONTACT_FIELDS\", {\n slug: \"mailtrap-list-contact-fields\",\n name: \"List Contact Fields\",\n description: \"Tool to get all contact fields for a Mailtrap account. Use when you need to retrieve custom field definitions for contacts.\",\n input: MailtrapListContactFieldsInput,\n output: MailtrapListContactFieldsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,EACrF,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,2CAA2CA,IAAAA,EAAE,KAAK;CAAC;CAAQ;CAAW;CAAS;CAAW;AAAM,CAAC,CAAC,CAAC,SAAS,oCAAoC;AACtJ,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,WAAW,yCAAyC,SAAS,CAAC,CAAC,SAAS;CACxE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtL,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,QAAQA,IAAAA,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,6CAA6C,EACtH,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAExD,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-contact-fields.cjs","names":["z","action"],"sources":["../../src/actions/list-contact-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapListContactFieldsInput = z.object({\n account_id: z.number().int().describe(\"Unique account ID for the Mailtrap account.\"),\n}).describe(\"Request model for listing contact fields in a Mailtrap account.\");\nconst MailtrapListContactFields_DataTypeSchema = z.enum([\"text\", \"integer\", \"float\", \"boolean\", \"date\"]).describe(\"Enum for contact field data types.\");\nconst MailtrapListContactFields_ContactFieldSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact field\").nullable().optional(),\n name: z.string().describe(\"Name of the contact field\").nullable().optional(),\n data_type: MailtrapListContactFields_DataTypeSchema.nullable().optional(),\n merge_tag: z.string().describe(\"Personalize your campaigns by adding a merge tag. This field will be replaced with unique contact details for each recipient.\").nullable().optional(),\n}).passthrough().describe(\"Represents a single contact field configuration.\");\nexport const MailtrapListContactFieldsOutput = z.object({\n fields: z.array(MailtrapListContactFields_ContactFieldSchema).describe(\"Array of all contact fields for the account\"),\n}).passthrough().describe(\"Response model for listing contact fields.\");\n\nexport const mailtrapListContactFields = action(\"MAILTRAP_LIST_CONTACT_FIELDS\", {\n slug: \"mailtrap-list-contact-fields\",\n name: \"List Contact Fields\",\n description: \"Tool to get all contact fields for a Mailtrap account. Use when you need to retrieve custom field definitions for contacts.\",\n input: MailtrapListContactFieldsInput,\n output: MailtrapListContactFieldsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,EACrF,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,2CAA2CA,IAAAA,EAAE,KAAK;CAAC;CAAQ;CAAW;CAAS;CAAW;AAAM,CAAC,CAAC,CAAC,SAAS,oCAAoC;AACtJ,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,WAAW,yCAAyC,SAAS,CAAC,CAAC,SAAS;CACxE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAC5E,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,QAAQA,IAAAA,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,6CAA6C,EACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -16,8 +16,8 @@ declare const MailtrapListContactFieldsOutput: z.ZodObject<{
16
16
  float: "float";
17
17
  }>>>;
18
18
  merge_tag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
- }, z.core.$strip>>;
20
- }, z.core.$strip>;
19
+ }, z.core.$loose>>;
20
+ }, z.core.$loose>;
21
21
  declare const mailtrapListContactFields: import("@keystrokehq/action").WorkflowActionDefinition<{
22
22
  account_id: number;
23
23
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -16,8 +16,8 @@ declare const MailtrapListContactFieldsOutput: z.ZodObject<{
16
16
  float: "float";
17
17
  }>>>;
18
18
  merge_tag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
- }, z.core.$strip>>;
20
- }, z.core.$strip>;
19
+ }, z.core.$loose>>;
20
+ }, z.core.$loose>;
21
21
  declare const mailtrapListContactFields: import("@keystrokehq/action").WorkflowActionDefinition<{
22
22
  account_id: number;
23
23
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -14,13 +14,13 @@ const MailtrapListContactFields_ContactFieldSchema = z.object({
14
14
  name: z.string().describe("Name of the contact field").nullable().optional(),
15
15
  data_type: MailtrapListContactFields_DataTypeSchema.nullable().optional(),
16
16
  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()
17
- }).describe("Represents a single contact field configuration.");
17
+ }).passthrough().describe("Represents a single contact field configuration.");
18
18
  const mailtrapListContactFields = action("MAILTRAP_LIST_CONTACT_FIELDS", {
19
19
  slug: "mailtrap-list-contact-fields",
20
20
  name: "List Contact Fields",
21
21
  description: "Tool to get all contact fields for a Mailtrap account. Use when you need to retrieve custom field definitions for contacts.",
22
22
  input: MailtrapListContactFieldsInput,
23
- output: z.object({ fields: z.array(MailtrapListContactFields_ContactFieldSchema).describe("Array of all contact fields for the account") }).describe("Response model for listing contact fields.")
23
+ output: z.object({ fields: z.array(MailtrapListContactFields_ContactFieldSchema).describe("Array of all contact fields for the account") }).passthrough().describe("Response model for listing contact fields.")
24
24
  });
25
25
  //#endregion
26
26
  export { mailtrapListContactFields };
@@ -1 +1 @@
1
- {"version":3,"file":"list-contact-fields.mjs","names":[],"sources":["../../src/actions/list-contact-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapListContactFieldsInput = z.object({\n account_id: z.number().int().describe(\"Unique account ID for the Mailtrap account.\"),\n}).describe(\"Request model for listing contact fields in a Mailtrap account.\");\nconst MailtrapListContactFields_DataTypeSchema = z.enum([\"text\", \"integer\", \"float\", \"boolean\", \"date\"]).describe(\"Enum for contact field data types.\");\nconst MailtrapListContactFields_ContactFieldSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact field\").nullable().optional(),\n name: z.string().describe(\"Name of the contact field\").nullable().optional(),\n data_type: MailtrapListContactFields_DataTypeSchema.nullable().optional(),\n merge_tag: z.string().describe(\"Personalize your campaigns by adding a merge tag. This field will be replaced with unique contact details for each recipient.\").nullable().optional(),\n}).describe(\"Represents a single contact field configuration.\");\nexport const MailtrapListContactFieldsOutput = z.object({\n fields: z.array(MailtrapListContactFields_ContactFieldSchema).describe(\"Array of all contact fields for the account\"),\n}).describe(\"Response model for listing contact fields.\");\n\nexport const mailtrapListContactFields = action(\"MAILTRAP_LIST_CONTACT_FIELDS\", {\n slug: \"mailtrap-list-contact-fields\",\n name: \"List Contact Fields\",\n description: \"Tool to get all contact fields for a Mailtrap account. Use when you need to retrieve custom field definitions for contacts.\",\n input: MailtrapListContactFieldsInput,\n output: MailtrapListContactFieldsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO,EACrD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,EACrF,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,2CAA2C,EAAE,KAAK;CAAC;CAAQ;CAAW;CAAS;CAAW;AAAM,CAAC,CAAC,CAAC,SAAS,oCAAoC;AACtJ,MAAM,+CAA+C,EAAE,OAAO;CAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,WAAW,yCAAyC,SAAS,CAAC,CAAC,SAAS;CACxE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtL,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAK9D,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT6C,EAAE,OAAO,EACtD,QAAQ,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,6CAA6C,EACtH,CAAC,CAAC,CAAC,SAAS,4CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-contact-fields.mjs","names":[],"sources":["../../src/actions/list-contact-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapListContactFieldsInput = z.object({\n account_id: z.number().int().describe(\"Unique account ID for the Mailtrap account.\"),\n}).describe(\"Request model for listing contact fields in a Mailtrap account.\");\nconst MailtrapListContactFields_DataTypeSchema = z.enum([\"text\", \"integer\", \"float\", \"boolean\", \"date\"]).describe(\"Enum for contact field data types.\");\nconst MailtrapListContactFields_ContactFieldSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact field\").nullable().optional(),\n name: z.string().describe(\"Name of the contact field\").nullable().optional(),\n data_type: MailtrapListContactFields_DataTypeSchema.nullable().optional(),\n merge_tag: z.string().describe(\"Personalize your campaigns by adding a merge tag. This field will be replaced with unique contact details for each recipient.\").nullable().optional(),\n}).passthrough().describe(\"Represents a single contact field configuration.\");\nexport const MailtrapListContactFieldsOutput = z.object({\n fields: z.array(MailtrapListContactFields_ContactFieldSchema).describe(\"Array of all contact fields for the account\"),\n}).passthrough().describe(\"Response model for listing contact fields.\");\n\nexport const mailtrapListContactFields = action(\"MAILTRAP_LIST_CONTACT_FIELDS\", {\n slug: \"mailtrap-list-contact-fields\",\n name: \"List Contact Fields\",\n description: \"Tool to get all contact fields for a Mailtrap account. Use when you need to retrieve custom field definitions for contacts.\",\n input: MailtrapListContactFieldsInput,\n output: MailtrapListContactFieldsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO,EACrD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,EACrF,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,2CAA2C,EAAE,KAAK;CAAC;CAAQ;CAAW;CAAS;CAAW;AAAM,CAAC,CAAC,CAAC,SAAS,oCAAoC;AACtJ,MAAM,+CAA+C,EAAE,OAAO;CAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,WAAW,yCAAyC,SAAS,CAAC,CAAC,SAAS;CACxE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAK5E,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT6C,EAAE,OAAO,EACtD,QAAQ,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,6CAA6C,EACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAOhB;AACV,CAAC"}
@@ -5,8 +5,8 @@ const MailtrapListContactListsInput = zod.z.object({ account_id: zod.z.number().
5
5
  const MailtrapListContactLists_ContactListSchema = zod.z.object({
6
6
  id: zod.z.number().int().describe("Unique identifier of the contact list").nullable(),
7
7
  name: zod.z.string().describe("Name of the contact list (max 255 characters)").nullable()
8
- });
9
- const MailtrapListContactListsOutput = zod.z.object({ contact_lists: zod.z.array(MailtrapListContactLists_ContactListSchema).describe("Array of contact lists for the account") });
8
+ }).passthrough();
9
+ const MailtrapListContactListsOutput = zod.z.object({ contact_lists: zod.z.array(MailtrapListContactLists_ContactListSchema).describe("Array of contact lists for the account") }).passthrough();
10
10
  const mailtrapListContactLists = require_action.action("MAILTRAP_LIST_CONTACT_LISTS", {
11
11
  slug: "mailtrap-list-contact-lists",
12
12
  name: "List Contact Lists",
@@ -1 +1 @@
1
- {"version":3,"file":"list-contact-lists.cjs","names":["z","action"],"sources":["../../src/actions/list-contact-lists.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapListContactListsInput = z.object({\n account_id: z.number().int().describe(\"Unique account ID. You can obtain this from your Mailtrap account settings.\"),\n});\nconst MailtrapListContactLists_ContactListSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact list\").nullable(),\n name: z.string().describe(\"Name of the contact list (max 255 characters)\").nullable(),\n});\nexport const MailtrapListContactListsOutput = z.object({\n contact_lists: z.array(MailtrapListContactLists_ContactListSchema).describe(\"Array of contact lists for the account\"),\n});\n\nexport const mailtrapListContactLists = action(\"MAILTRAP_LIST_CONTACT_LISTS\", {\n slug: \"mailtrap-list-contact-lists\",\n name: \"List Contact Lists\",\n description: \"Tool to retrieve all contact lists for a Mailtrap account. Use when you need to view available contact lists or obtain contact list IDs for other operations.\",\n input: MailtrapListContactListsInput,\n output: MailtrapListContactListsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,EACrH,CAAC;AACD,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AACtF,CAAC;AACD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,eAAeA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,wCAAwC,EACtH,CAAC;AAED,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-contact-lists.cjs","names":["z","action"],"sources":["../../src/actions/list-contact-lists.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapListContactListsInput = z.object({\n account_id: z.number().int().describe(\"Unique account ID. You can obtain this from your Mailtrap account settings.\"),\n});\nconst MailtrapListContactLists_ContactListSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact list\").nullable(),\n name: z.string().describe(\"Name of the contact list (max 255 characters)\").nullable(),\n}).passthrough();\nexport const MailtrapListContactListsOutput = z.object({\n contact_lists: z.array(MailtrapListContactLists_ContactListSchema).describe(\"Array of contact lists for the account\"),\n}).passthrough();\n\nexport const mailtrapListContactLists = action(\"MAILTRAP_LIST_CONTACT_LISTS\", {\n slug: \"mailtrap-list-contact-lists\",\n name: \"List Contact Lists\",\n description: \"Tool to retrieve all contact lists for a Mailtrap account. Use when you need to view available contact lists or obtain contact list IDs for other operations.\",\n input: MailtrapListContactListsInput,\n output: MailtrapListContactListsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,EACrH,CAAC;AACD,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,eAAeA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,wCAAwC,EACtH,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -8,8 +8,8 @@ declare const MailtrapListContactListsOutput: z.ZodObject<{
8
8
  contact_lists: z.ZodArray<z.ZodObject<{
9
9
  id: z.ZodNullable<z.ZodNumber>;
10
10
  name: z.ZodNullable<z.ZodString>;
11
- }, z.core.$strip>>;
12
- }, z.core.$strip>;
11
+ }, z.core.$loose>>;
12
+ }, z.core.$loose>;
13
13
  declare const mailtrapListContactLists: import("@keystrokehq/action").WorkflowActionDefinition<{
14
14
  account_id: number;
15
15
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -8,8 +8,8 @@ declare const MailtrapListContactListsOutput: z.ZodObject<{
8
8
  contact_lists: z.ZodArray<z.ZodObject<{
9
9
  id: z.ZodNullable<z.ZodNumber>;
10
10
  name: z.ZodNullable<z.ZodString>;
11
- }, z.core.$strip>>;
12
- }, z.core.$strip>;
11
+ }, z.core.$loose>>;
12
+ }, z.core.$loose>;
13
13
  declare const mailtrapListContactLists: import("@keystrokehq/action").WorkflowActionDefinition<{
14
14
  account_id: number;
15
15
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -5,13 +5,13 @@ const MailtrapListContactListsInput = z.object({ account_id: z.number().int().de
5
5
  const MailtrapListContactLists_ContactListSchema = z.object({
6
6
  id: z.number().int().describe("Unique identifier of the contact list").nullable(),
7
7
  name: z.string().describe("Name of the contact list (max 255 characters)").nullable()
8
- });
8
+ }).passthrough();
9
9
  const mailtrapListContactLists = action("MAILTRAP_LIST_CONTACT_LISTS", {
10
10
  slug: "mailtrap-list-contact-lists",
11
11
  name: "List Contact Lists",
12
12
  description: "Tool to retrieve all contact lists for a Mailtrap account. Use when you need to view available contact lists or obtain contact list IDs for other operations.",
13
13
  input: MailtrapListContactListsInput,
14
- output: z.object({ contact_lists: z.array(MailtrapListContactLists_ContactListSchema).describe("Array of contact lists for the account") })
14
+ output: z.object({ contact_lists: z.array(MailtrapListContactLists_ContactListSchema).describe("Array of contact lists for the account") }).passthrough()
15
15
  });
16
16
  //#endregion
17
17
  export { mailtrapListContactLists };
@@ -1 +1 @@
1
- {"version":3,"file":"list-contact-lists.mjs","names":[],"sources":["../../src/actions/list-contact-lists.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapListContactListsInput = z.object({\n account_id: z.number().int().describe(\"Unique account ID. You can obtain this from your Mailtrap account settings.\"),\n});\nconst MailtrapListContactLists_ContactListSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact list\").nullable(),\n name: z.string().describe(\"Name of the contact list (max 255 characters)\").nullable(),\n});\nexport const MailtrapListContactListsOutput = z.object({\n contact_lists: z.array(MailtrapListContactLists_ContactListSchema).describe(\"Array of contact lists for the account\"),\n});\n\nexport const mailtrapListContactLists = action(\"MAILTRAP_LIST_CONTACT_LISTS\", {\n slug: \"mailtrap-list-contact-lists\",\n name: \"List Contact Lists\",\n description: \"Tool to retrieve all contact lists for a Mailtrap account. Use when you need to view available contact lists or obtain contact list IDs for other operations.\",\n input: MailtrapListContactListsInput,\n output: MailtrapListContactListsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO,EACpD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,EACrH,CAAC;AACD,MAAM,6CAA6C,EAAE,OAAO;CAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAChF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AACtF,CAAC;AAKD,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT4C,EAAE,OAAO,EACrD,eAAe,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,wCAAwC,EACtH,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"list-contact-lists.mjs","names":[],"sources":["../../src/actions/list-contact-lists.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapListContactListsInput = z.object({\n account_id: z.number().int().describe(\"Unique account ID. You can obtain this from your Mailtrap account settings.\"),\n});\nconst MailtrapListContactLists_ContactListSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact list\").nullable(),\n name: z.string().describe(\"Name of the contact list (max 255 characters)\").nullable(),\n}).passthrough();\nexport const MailtrapListContactListsOutput = z.object({\n contact_lists: z.array(MailtrapListContactLists_ContactListSchema).describe(\"Array of contact lists for the account\"),\n}).passthrough();\n\nexport const mailtrapListContactLists = action(\"MAILTRAP_LIST_CONTACT_LISTS\", {\n slug: \"mailtrap-list-contact-lists\",\n name: \"List Contact Lists\",\n description: \"Tool to retrieve all contact lists for a Mailtrap account. Use when you need to view available contact lists or obtain contact list IDs for other operations.\",\n input: MailtrapListContactListsInput,\n output: MailtrapListContactListsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO,EACpD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,EACrH,CAAC;AACD,MAAM,6CAA6C,EAAE,OAAO;CAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAChF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT4C,EAAE,OAAO,EACrD,eAAe,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,wCAAwC,EACtH,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -12,8 +12,8 @@ const MailtrapListEmailTemplates_EmailTemplateSchema = zod.z.object({
12
12
  body_text: zod.z.string().describe("Plain text body content of the email template").nullable().optional(),
13
13
  created_at: zod.z.string().describe("Timestamp when the template was created (ISO 8601 format)").nullable().optional(),
14
14
  updated_at: zod.z.string().describe("Timestamp when the template was last updated (ISO 8601 format)").nullable().optional()
15
- }).describe("Email template information.");
16
- const MailtrapListEmailTemplatesOutput = zod.z.object({ templates: zod.z.array(MailtrapListEmailTemplates_EmailTemplateSchema).describe("List of email templates for the specified account") }).describe("Response model containing list of email templates.");
15
+ }).passthrough().describe("Email template information.");
16
+ const MailtrapListEmailTemplatesOutput = zod.z.object({ templates: zod.z.array(MailtrapListEmailTemplates_EmailTemplateSchema).describe("List of email templates for the specified account") }).passthrough().describe("Response model containing list of email templates.");
17
17
  const mailtrapListEmailTemplates = require_action.action("MAILTRAP_LIST_EMAIL_TEMPLATES", {
18
18
  slug: "mailtrap-list-email-templates",
19
19
  name: "List Email Templates",
@@ -1 +1 @@
1
- {"version":3,"file":"list-email-templates.cjs","names":["z","action"],"sources":["../../src/actions/list-email-templates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapListEmailTemplatesInput = z.object({\n account_id: z.number().int().describe(\"Account ID\"),\n}).describe(\"Request model for listing email templates.\");\nconst MailtrapListEmailTemplates_EmailTemplateSchema = z.object({\n id: z.number().int().describe(\"Email template ID\").nullable().optional(),\n name: z.string().describe(\"Name of the email template (max 255 characters)\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier for the email template in UUID format\").nullable().optional(),\n subject: z.string().describe(\"Email subject line (max 255 characters)\").nullable().optional(),\n category: z.string().describe(\"Category or type of the email template (max 255 characters)\").nullable().optional(),\n body_html: z.string().describe(\"HTML body content of the email template\").nullable().optional(),\n body_text: z.string().describe(\"Plain text body content of the email template\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the template was created (ISO 8601 format)\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the template was last updated (ISO 8601 format)\").nullable().optional(),\n}).describe(\"Email template information.\");\nexport const MailtrapListEmailTemplatesOutput = z.object({\n templates: z.array(MailtrapListEmailTemplates_EmailTemplateSchema).describe(\"List of email templates for the specified account\"),\n}).describe(\"Response model containing list of email templates.\");\n\nexport const mailtrapListEmailTemplates = action(\"MAILTRAP_LIST_EMAIL_TEMPLATES\", {\n slug: \"mailtrap-list-email-templates\",\n name: \"List Email Templates\",\n description: \"Tool to retrieve all email templates for a Mailtrap account. Use when you need to list available templates, browse template configurations, or find a specific template by name or attributes.\",\n input: MailtrapListEmailTemplatesInput,\n output: MailtrapListEmailTemplatesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,YAAY,EACpD,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,SAAS,6BAA6B;AACzC,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,WAAWA,IAAAA,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,mDAAmD,EACjI,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAEhE,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-email-templates.cjs","names":["z","action"],"sources":["../../src/actions/list-email-templates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapListEmailTemplatesInput = z.object({\n account_id: z.number().int().describe(\"Account ID\"),\n}).describe(\"Request model for listing email templates.\");\nconst MailtrapListEmailTemplates_EmailTemplateSchema = z.object({\n id: z.number().int().describe(\"Email template ID\").nullable().optional(),\n name: z.string().describe(\"Name of the email template (max 255 characters)\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier for the email template in UUID format\").nullable().optional(),\n subject: z.string().describe(\"Email subject line (max 255 characters)\").nullable().optional(),\n category: z.string().describe(\"Category or type of the email template (max 255 characters)\").nullable().optional(),\n body_html: z.string().describe(\"HTML body content of the email template\").nullable().optional(),\n body_text: z.string().describe(\"Plain text body content of the email template\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the template was created (ISO 8601 format)\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the template was last updated (ISO 8601 format)\").nullable().optional(),\n}).passthrough().describe(\"Email template information.\");\nexport const MailtrapListEmailTemplatesOutput = z.object({\n templates: z.array(MailtrapListEmailTemplates_EmailTemplateSchema).describe(\"List of email templates for the specified account\"),\n}).passthrough().describe(\"Response model containing list of email templates.\");\n\nexport const mailtrapListEmailTemplates = action(\"MAILTRAP_LIST_EMAIL_TEMPLATES\", {\n slug: \"mailtrap-list-email-templates\",\n name: \"List Email Templates\",\n description: \"Tool to retrieve all email templates for a Mailtrap account. Use when you need to list available templates, browse template configurations, or find a specific template by name or attributes.\",\n input: MailtrapListEmailTemplatesInput,\n output: MailtrapListEmailTemplatesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,YAAY,EACpD,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6BAA6B;AACvD,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,WAAWA,IAAAA,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,mDAAmD,EACjI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -15,8 +15,8 @@ declare const MailtrapListEmailTemplatesOutput: z.ZodObject<{
15
15
  body_text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
16
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
17
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
- }, z.core.$strip>>;
19
- }, z.core.$strip>;
18
+ }, z.core.$loose>>;
19
+ }, z.core.$loose>;
20
20
  declare const mailtrapListEmailTemplates: import("@keystrokehq/action").WorkflowActionDefinition<{
21
21
  account_id: number;
22
22
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -15,8 +15,8 @@ declare const MailtrapListEmailTemplatesOutput: z.ZodObject<{
15
15
  body_text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
16
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
17
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
- }, z.core.$strip>>;
19
- }, z.core.$strip>;
18
+ }, z.core.$loose>>;
19
+ }, z.core.$loose>;
20
20
  declare const mailtrapListEmailTemplates: import("@keystrokehq/action").WorkflowActionDefinition<{
21
21
  account_id: number;
22
22
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -12,13 +12,13 @@ const MailtrapListEmailTemplates_EmailTemplateSchema = z.object({
12
12
  body_text: z.string().describe("Plain text body content of the email template").nullable().optional(),
13
13
  created_at: z.string().describe("Timestamp when the template was created (ISO 8601 format)").nullable().optional(),
14
14
  updated_at: z.string().describe("Timestamp when the template was last updated (ISO 8601 format)").nullable().optional()
15
- }).describe("Email template information.");
15
+ }).passthrough().describe("Email template information.");
16
16
  const mailtrapListEmailTemplates = action("MAILTRAP_LIST_EMAIL_TEMPLATES", {
17
17
  slug: "mailtrap-list-email-templates",
18
18
  name: "List Email Templates",
19
19
  description: "Tool to retrieve all email templates for a Mailtrap account. Use when you need to list available templates, browse template configurations, or find a specific template by name or attributes.",
20
20
  input: MailtrapListEmailTemplatesInput,
21
- output: z.object({ templates: z.array(MailtrapListEmailTemplates_EmailTemplateSchema).describe("List of email templates for the specified account") }).describe("Response model containing list of email templates.")
21
+ output: z.object({ templates: z.array(MailtrapListEmailTemplates_EmailTemplateSchema).describe("List of email templates for the specified account") }).passthrough().describe("Response model containing list of email templates.")
22
22
  });
23
23
  //#endregion
24
24
  export { mailtrapListEmailTemplates };
@@ -1 +1 @@
1
- {"version":3,"file":"list-email-templates.mjs","names":[],"sources":["../../src/actions/list-email-templates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapListEmailTemplatesInput = z.object({\n account_id: z.number().int().describe(\"Account ID\"),\n}).describe(\"Request model for listing email templates.\");\nconst MailtrapListEmailTemplates_EmailTemplateSchema = z.object({\n id: z.number().int().describe(\"Email template ID\").nullable().optional(),\n name: z.string().describe(\"Name of the email template (max 255 characters)\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier for the email template in UUID format\").nullable().optional(),\n subject: z.string().describe(\"Email subject line (max 255 characters)\").nullable().optional(),\n category: z.string().describe(\"Category or type of the email template (max 255 characters)\").nullable().optional(),\n body_html: z.string().describe(\"HTML body content of the email template\").nullable().optional(),\n body_text: z.string().describe(\"Plain text body content of the email template\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the template was created (ISO 8601 format)\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the template was last updated (ISO 8601 format)\").nullable().optional(),\n}).describe(\"Email template information.\");\nexport const MailtrapListEmailTemplatesOutput = z.object({\n templates: z.array(MailtrapListEmailTemplates_EmailTemplateSchema).describe(\"List of email templates for the specified account\"),\n}).describe(\"Response model containing list of email templates.\");\n\nexport const mailtrapListEmailTemplates = action(\"MAILTRAP_LIST_EMAIL_TEMPLATES\", {\n slug: \"mailtrap-list-email-templates\",\n name: \"List Email Templates\",\n description: \"Tool to retrieve all email templates for a Mailtrap account. Use when you need to list available templates, browse template configurations, or find a specific template by name or attributes.\",\n input: MailtrapListEmailTemplatesInput,\n output: MailtrapListEmailTemplatesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO,EACtD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,YAAY,EACpD,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,iDAAiD,EAAE,OAAO;CAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,SAAS,6BAA6B;AAKzC,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT8C,EAAE,OAAO,EACvD,WAAW,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,mDAAmD,EACjI,CAAC,CAAC,CAAC,SAAS,oDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-email-templates.mjs","names":[],"sources":["../../src/actions/list-email-templates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapListEmailTemplatesInput = z.object({\n account_id: z.number().int().describe(\"Account ID\"),\n}).describe(\"Request model for listing email templates.\");\nconst MailtrapListEmailTemplates_EmailTemplateSchema = z.object({\n id: z.number().int().describe(\"Email template ID\").nullable().optional(),\n name: z.string().describe(\"Name of the email template (max 255 characters)\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier for the email template in UUID format\").nullable().optional(),\n subject: z.string().describe(\"Email subject line (max 255 characters)\").nullable().optional(),\n category: z.string().describe(\"Category or type of the email template (max 255 characters)\").nullable().optional(),\n body_html: z.string().describe(\"HTML body content of the email template\").nullable().optional(),\n body_text: z.string().describe(\"Plain text body content of the email template\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the template was created (ISO 8601 format)\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the template was last updated (ISO 8601 format)\").nullable().optional(),\n}).passthrough().describe(\"Email template information.\");\nexport const MailtrapListEmailTemplatesOutput = z.object({\n templates: z.array(MailtrapListEmailTemplates_EmailTemplateSchema).describe(\"List of email templates for the specified account\"),\n}).passthrough().describe(\"Response model containing list of email templates.\");\n\nexport const mailtrapListEmailTemplates = action(\"MAILTRAP_LIST_EMAIL_TEMPLATES\", {\n slug: \"mailtrap-list-email-templates\",\n name: \"List Email Templates\",\n description: \"Tool to retrieve all email templates for a Mailtrap account. Use when you need to list available templates, browse template configurations, or find a specific template by name or attributes.\",\n input: MailtrapListEmailTemplatesInput,\n output: MailtrapListEmailTemplatesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO,EACtD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,YAAY,EACpD,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,iDAAiD,EAAE,OAAO;CAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6BAA6B;AAKvD,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT8C,EAAE,OAAO,EACvD,WAAW,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,mDAAmD,EACjI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
@@ -12,7 +12,7 @@ const MailtrapListInboxes_InboxPermissionsSchema = zod.z.object({
12
12
  can_leave: zod.z.boolean().describe("Whether the user can leave the inbox").nullable(),
13
13
  can_update: zod.z.boolean().describe("Whether the user can update the inbox").nullable(),
14
14
  can_destroy: zod.z.boolean().describe("Whether the user can destroy the inbox").nullable()
15
- }).describe("Permissions for an inbox");
15
+ }).passthrough().describe("Permissions for an inbox");
16
16
  const MailtrapListInboxes_InboxSchema = zod.z.object({
17
17
  id: zod.z.number().int().describe("Unique inbox ID").nullable(),
18
18
  name: zod.z.string().describe("Inbox name").nullable(),
@@ -38,8 +38,8 @@ const MailtrapListInboxes_InboxSchema = zod.z.object({
38
38
  email_username_enabled: zod.z.boolean().describe("Whether the email username is enabled").nullable(),
39
39
  forwarded_messages_count: zod.z.number().int().describe("Count of forwarded messages").nullable(),
40
40
  forward_from_email_address: zod.z.string().describe("Email address for forwarding messages").nullable()
41
- }).describe("Mailtrap inbox object");
42
- const MailtrapListInboxesOutput = zod.z.object({ inboxes: zod.z.array(MailtrapListInboxes_InboxSchema).describe("List of inboxes in the account to which the API token has access") }).describe("Response model for listing Mailtrap inboxes");
41
+ }).passthrough().describe("Mailtrap inbox object");
42
+ const MailtrapListInboxesOutput = zod.z.object({ inboxes: zod.z.array(MailtrapListInboxes_InboxSchema).describe("List of inboxes in the account to which the API token has access") }).passthrough().describe("Response model for listing Mailtrap inboxes");
43
43
  const mailtrapListInboxes = require_action.action("MAILTRAP_LIST_INBOXES", {
44
44
  slug: "mailtrap-list-inboxes",
45
45
  name: "List Inboxes",
@@ -1 +1 @@
1
- {"version":3,"file":"list-inboxes.cjs","names":["z","action"],"sources":["../../src/actions/list-inboxes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapListInboxesInput = z.object({\n account_id: z.number().int().describe(\"Unique account ID to list inboxes for\"),\n}).describe(\"Request model for listing Mailtrap inboxes\");\nconst MailtrapListInboxes_InboxStatusSchema = z.enum([\"active\", \"inactive\", \"pending\"]).describe(\"Inbox status enum\");\nconst MailtrapListInboxes_InboxPermissionsSchema = z.object({\n can_read: z.boolean().describe(\"Whether the user can read the inbox\").nullable(),\n can_leave: z.boolean().describe(\"Whether the user can leave the inbox\").nullable(),\n can_update: z.boolean().describe(\"Whether the user can update the inbox\").nullable(),\n can_destroy: z.boolean().describe(\"Whether the user can destroy the inbox\").nullable(),\n}).describe(\"Permissions for an inbox\");\nconst MailtrapListInboxes_InboxSchema = z.object({\n id: z.number().int().describe(\"Unique inbox ID\").nullable(),\n name: z.string().describe(\"Inbox name\").nullable(),\n used: z.boolean().describe(\"Whether the inbox has been used\").nullable(),\n domain: z.string().describe(\"Domain for the inbox\").nullable(),\n status: MailtrapListInboxes_InboxStatusSchema.nullable(),\n max_size: z.number().int().describe(\"Maximum size limit for the inbox\").nullable(),\n password: z.string().describe(\"Password for SMTP/POP3 authentication. Only available if you have admin permissions for the inbox.\").nullable().optional(),\n username: z.string().describe(\"Username for SMTP/POP3 authentication\").nullable(),\n api_domain: z.string().describe(\"API domain for the inbox\").nullable(),\n pop3_ports: z.array(z.number().int()).describe(\"Available POP3 ports for the inbox\"),\n project_id: z.number().int().describe(\"ID of the project this inbox belongs to\").nullable(),\n smtp_ports: z.array(z.number().int()).describe(\"Available SMTP ports for the inbox\"),\n permissions: MailtrapListInboxes_InboxPermissionsSchema.nullable(),\n pop3_domain: z.string().describe(\"POP3 domain for the inbox\").nullable(),\n email_domain: z.string().describe(\"Email domain for the inbox\").nullable(),\n emails_count: z.number().int().describe(\"Total count of emails in the inbox\").nullable(),\n email_username: z.string().describe(\"Email username for the inbox\").nullable(),\n max_message_size: z.number().int().describe(\"Maximum message size in bytes\").nullable(),\n emails_unread_count: z.number().int().describe(\"Count of unread emails in the inbox\").nullable(),\n sent_messages_count: z.number().int().describe(\"Count of sent messages\").nullable(),\n last_message_sent_at: z.string().describe(\"Timestamp of the last message sent\").nullable().optional(),\n email_username_enabled: z.boolean().describe(\"Whether the email username is enabled\").nullable(),\n forwarded_messages_count: z.number().int().describe(\"Count of forwarded messages\").nullable(),\n forward_from_email_address: z.string().describe(\"Email address for forwarding messages\").nullable(),\n}).describe(\"Mailtrap inbox object\");\nexport const MailtrapListInboxesOutput = z.object({\n inboxes: z.array(MailtrapListInboxes_InboxSchema).describe(\"List of inboxes in the account to which the API token has access\"),\n}).describe(\"Response model for listing Mailtrap inboxes\");\n\nexport const mailtrapListInboxes = action(\"MAILTRAP_LIST_INBOXES\", {\n slug: \"mailtrap-list-inboxes\",\n name: \"List Inboxes\",\n description: \"Tool to get a list of inboxes for a Mailtrap account. Use when you need to retrieve all inboxes associated with an account ID. Returns the list of inboxes with their configuration, permissions, and statistics.\",\n input: MailtrapListInboxesInput,\n output: MailtrapListInboxesOutput,\n});\n"],"mappings":"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"}
1
+ {"version":3,"file":"list-inboxes.cjs","names":["z","action"],"sources":["../../src/actions/list-inboxes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MailtrapListInboxesInput = z.object({\n account_id: z.number().int().describe(\"Unique account ID to list inboxes for\"),\n}).describe(\"Request model for listing Mailtrap inboxes\");\nconst MailtrapListInboxes_InboxStatusSchema = z.enum([\"active\", \"inactive\", \"pending\"]).describe(\"Inbox status enum\");\nconst MailtrapListInboxes_InboxPermissionsSchema = z.object({\n can_read: z.boolean().describe(\"Whether the user can read the inbox\").nullable(),\n can_leave: z.boolean().describe(\"Whether the user can leave the inbox\").nullable(),\n can_update: z.boolean().describe(\"Whether the user can update the inbox\").nullable(),\n can_destroy: z.boolean().describe(\"Whether the user can destroy the inbox\").nullable(),\n}).passthrough().describe(\"Permissions for an inbox\");\nconst MailtrapListInboxes_InboxSchema = z.object({\n id: z.number().int().describe(\"Unique inbox ID\").nullable(),\n name: z.string().describe(\"Inbox name\").nullable(),\n used: z.boolean().describe(\"Whether the inbox has been used\").nullable(),\n domain: z.string().describe(\"Domain for the inbox\").nullable(),\n status: MailtrapListInboxes_InboxStatusSchema.nullable(),\n max_size: z.number().int().describe(\"Maximum size limit for the inbox\").nullable(),\n password: z.string().describe(\"Password for SMTP/POP3 authentication. Only available if you have admin permissions for the inbox.\").nullable().optional(),\n username: z.string().describe(\"Username for SMTP/POP3 authentication\").nullable(),\n api_domain: z.string().describe(\"API domain for the inbox\").nullable(),\n pop3_ports: z.array(z.number().int()).describe(\"Available POP3 ports for the inbox\"),\n project_id: z.number().int().describe(\"ID of the project this inbox belongs to\").nullable(),\n smtp_ports: z.array(z.number().int()).describe(\"Available SMTP ports for the inbox\"),\n permissions: MailtrapListInboxes_InboxPermissionsSchema.nullable(),\n pop3_domain: z.string().describe(\"POP3 domain for the inbox\").nullable(),\n email_domain: z.string().describe(\"Email domain for the inbox\").nullable(),\n emails_count: z.number().int().describe(\"Total count of emails in the inbox\").nullable(),\n email_username: z.string().describe(\"Email username for the inbox\").nullable(),\n max_message_size: z.number().int().describe(\"Maximum message size in bytes\").nullable(),\n emails_unread_count: z.number().int().describe(\"Count of unread emails in the inbox\").nullable(),\n sent_messages_count: z.number().int().describe(\"Count of sent messages\").nullable(),\n last_message_sent_at: z.string().describe(\"Timestamp of the last message sent\").nullable().optional(),\n email_username_enabled: z.boolean().describe(\"Whether the email username is enabled\").nullable(),\n forwarded_messages_count: z.number().int().describe(\"Count of forwarded messages\").nullable(),\n forward_from_email_address: z.string().describe(\"Email address for forwarding messages\").nullable(),\n}).passthrough().describe(\"Mailtrap inbox object\");\nexport const MailtrapListInboxesOutput = z.object({\n inboxes: z.array(MailtrapListInboxes_InboxSchema).describe(\"List of inboxes in the account to which the API token has access\"),\n}).passthrough().describe(\"Response model for listing Mailtrap inboxes\");\n\nexport const mailtrapListInboxes = action(\"MAILTRAP_LIST_INBOXES\", {\n slug: \"mailtrap-list-inboxes\",\n name: \"List Inboxes\",\n description: \"Tool to get a list of inboxes for a Mailtrap account. Use when you need to retrieve all inboxes associated with an account ID. Returns the list of inboxes with their configuration, permissions, and statistics.\",\n input: MailtrapListInboxesInput,\n output: MailtrapListInboxesOutput,\n});\n"],"mappings":"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"}
@@ -27,7 +27,7 @@ declare const MailtrapListInboxesOutput: z.ZodObject<{
27
27
  can_leave: z.ZodNullable<z.ZodBoolean>;
28
28
  can_update: z.ZodNullable<z.ZodBoolean>;
29
29
  can_destroy: z.ZodNullable<z.ZodBoolean>;
30
- }, z.core.$strip>>;
30
+ }, z.core.$loose>>;
31
31
  pop3_domain: z.ZodNullable<z.ZodString>;
32
32
  email_domain: z.ZodNullable<z.ZodString>;
33
33
  emails_count: z.ZodNullable<z.ZodNumber>;
@@ -39,8 +39,8 @@ declare const MailtrapListInboxesOutput: z.ZodObject<{
39
39
  email_username_enabled: z.ZodNullable<z.ZodBoolean>;
40
40
  forwarded_messages_count: z.ZodNullable<z.ZodNumber>;
41
41
  forward_from_email_address: z.ZodNullable<z.ZodString>;
42
- }, z.core.$strip>>;
43
- }, z.core.$strip>;
42
+ }, z.core.$loose>>;
43
+ }, z.core.$loose>;
44
44
  declare const mailtrapListInboxes: import("@keystrokehq/action").WorkflowActionDefinition<{
45
45
  account_id: number;
46
46
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -27,7 +27,7 @@ declare const MailtrapListInboxesOutput: z.ZodObject<{
27
27
  can_leave: z.ZodNullable<z.ZodBoolean>;
28
28
  can_update: z.ZodNullable<z.ZodBoolean>;
29
29
  can_destroy: z.ZodNullable<z.ZodBoolean>;
30
- }, z.core.$strip>>;
30
+ }, z.core.$loose>>;
31
31
  pop3_domain: z.ZodNullable<z.ZodString>;
32
32
  email_domain: z.ZodNullable<z.ZodString>;
33
33
  emails_count: z.ZodNullable<z.ZodNumber>;
@@ -39,8 +39,8 @@ declare const MailtrapListInboxesOutput: z.ZodObject<{
39
39
  email_username_enabled: z.ZodNullable<z.ZodBoolean>;
40
40
  forwarded_messages_count: z.ZodNullable<z.ZodNumber>;
41
41
  forward_from_email_address: z.ZodNullable<z.ZodString>;
42
- }, z.core.$strip>>;
43
- }, z.core.$strip>;
42
+ }, z.core.$loose>>;
43
+ }, z.core.$loose>;
44
44
  declare const mailtrapListInboxes: import("@keystrokehq/action").WorkflowActionDefinition<{
45
45
  account_id: number;
46
46
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -12,7 +12,7 @@ const MailtrapListInboxes_InboxPermissionsSchema = z.object({
12
12
  can_leave: z.boolean().describe("Whether the user can leave the inbox").nullable(),
13
13
  can_update: z.boolean().describe("Whether the user can update the inbox").nullable(),
14
14
  can_destroy: z.boolean().describe("Whether the user can destroy the inbox").nullable()
15
- }).describe("Permissions for an inbox");
15
+ }).passthrough().describe("Permissions for an inbox");
16
16
  const MailtrapListInboxes_InboxSchema = z.object({
17
17
  id: z.number().int().describe("Unique inbox ID").nullable(),
18
18
  name: z.string().describe("Inbox name").nullable(),
@@ -38,13 +38,13 @@ const MailtrapListInboxes_InboxSchema = z.object({
38
38
  email_username_enabled: z.boolean().describe("Whether the email username is enabled").nullable(),
39
39
  forwarded_messages_count: z.number().int().describe("Count of forwarded messages").nullable(),
40
40
  forward_from_email_address: z.string().describe("Email address for forwarding messages").nullable()
41
- }).describe("Mailtrap inbox object");
41
+ }).passthrough().describe("Mailtrap inbox object");
42
42
  const mailtrapListInboxes = action("MAILTRAP_LIST_INBOXES", {
43
43
  slug: "mailtrap-list-inboxes",
44
44
  name: "List Inboxes",
45
45
  description: "Tool to get a list of inboxes for a Mailtrap account. Use when you need to retrieve all inboxes associated with an account ID. Returns the list of inboxes with their configuration, permissions, and statistics.",
46
46
  input: MailtrapListInboxesInput,
47
- output: z.object({ inboxes: z.array(MailtrapListInboxes_InboxSchema).describe("List of inboxes in the account to which the API token has access") }).describe("Response model for listing Mailtrap inboxes")
47
+ output: z.object({ inboxes: z.array(MailtrapListInboxes_InboxSchema).describe("List of inboxes in the account to which the API token has access") }).passthrough().describe("Response model for listing Mailtrap inboxes")
48
48
  });
49
49
  //#endregion
50
50
  export { mailtrapListInboxes };