@keystrokehq/parseur 0.1.0 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (217) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/copy-document.cjs +2 -2
  4. package/dist/actions/copy-document.cjs.map +1 -1
  5. package/dist/actions/copy-document.d.cts +13 -3
  6. package/dist/actions/copy-document.d.cts.map +1 -1
  7. package/dist/actions/copy-document.d.mts +13 -3
  8. package/dist/actions/copy-document.d.mts.map +1 -1
  9. package/dist/actions/copy-document.mjs +2 -2
  10. package/dist/actions/copy-document.mjs.map +1 -1
  11. package/dist/actions/copy-mailbox.cjs +2 -2
  12. package/dist/actions/copy-mailbox.cjs.map +1 -1
  13. package/dist/actions/copy-mailbox.d.cts +11 -3
  14. package/dist/actions/copy-mailbox.d.cts.map +1 -1
  15. package/dist/actions/copy-mailbox.d.mts +11 -3
  16. package/dist/actions/copy-mailbox.d.mts.map +1 -1
  17. package/dist/actions/copy-mailbox.mjs +2 -2
  18. package/dist/actions/copy-mailbox.mjs.map +1 -1
  19. package/dist/actions/create-custom-download.cjs +4 -4
  20. package/dist/actions/create-custom-download.cjs.map +1 -1
  21. package/dist/actions/create-custom-download.d.cts +38 -3
  22. package/dist/actions/create-custom-download.d.cts.map +1 -1
  23. package/dist/actions/create-custom-download.d.mts +38 -3
  24. package/dist/actions/create-custom-download.d.mts.map +1 -1
  25. package/dist/actions/create-custom-download.mjs +4 -4
  26. package/dist/actions/create-custom-download.mjs.map +1 -1
  27. package/dist/actions/create-mailbox.cjs +35 -35
  28. package/dist/actions/create-mailbox.cjs.map +1 -1
  29. package/dist/actions/create-mailbox.d.cts +187 -3
  30. package/dist/actions/create-mailbox.d.cts.map +1 -1
  31. package/dist/actions/create-mailbox.d.mts +187 -3
  32. package/dist/actions/create-mailbox.d.mts.map +1 -1
  33. package/dist/actions/create-mailbox.mjs +35 -35
  34. package/dist/actions/create-mailbox.mjs.map +1 -1
  35. package/dist/actions/delete-custom-download.cjs +1 -1
  36. package/dist/actions/delete-custom-download.cjs.map +1 -1
  37. package/dist/actions/delete-custom-download.d.cts +11 -3
  38. package/dist/actions/delete-custom-download.d.cts.map +1 -1
  39. package/dist/actions/delete-custom-download.d.mts +11 -3
  40. package/dist/actions/delete-custom-download.d.mts.map +1 -1
  41. package/dist/actions/delete-custom-download.mjs +1 -1
  42. package/dist/actions/delete-custom-download.mjs.map +1 -1
  43. package/dist/actions/delete-document.cjs +1 -1
  44. package/dist/actions/delete-document.cjs.map +1 -1
  45. package/dist/actions/delete-document.d.cts +9 -3
  46. package/dist/actions/delete-document.d.cts.map +1 -1
  47. package/dist/actions/delete-document.d.mts +9 -3
  48. package/dist/actions/delete-document.d.mts.map +1 -1
  49. package/dist/actions/delete-document.mjs +1 -1
  50. package/dist/actions/delete-document.mjs.map +1 -1
  51. package/dist/actions/delete-mailbox.cjs +2 -2
  52. package/dist/actions/delete-mailbox.cjs.map +1 -1
  53. package/dist/actions/delete-mailbox.d.cts +11 -3
  54. package/dist/actions/delete-mailbox.d.cts.map +1 -1
  55. package/dist/actions/delete-mailbox.d.mts +11 -3
  56. package/dist/actions/delete-mailbox.d.mts.map +1 -1
  57. package/dist/actions/delete-mailbox.mjs +2 -2
  58. package/dist/actions/delete-mailbox.mjs.map +1 -1
  59. package/dist/actions/delete-webhook.cjs +1 -1
  60. package/dist/actions/delete-webhook.cjs.map +1 -1
  61. package/dist/actions/delete-webhook.d.cts +9 -3
  62. package/dist/actions/delete-webhook.d.cts.map +1 -1
  63. package/dist/actions/delete-webhook.d.mts +9 -3
  64. package/dist/actions/delete-webhook.d.mts.map +1 -1
  65. package/dist/actions/delete-webhook.mjs +1 -1
  66. package/dist/actions/delete-webhook.mjs.map +1 -1
  67. package/dist/actions/disable-webhook.cjs +8 -8
  68. package/dist/actions/disable-webhook.cjs.map +1 -1
  69. package/dist/actions/disable-webhook.d.cts +47 -3
  70. package/dist/actions/disable-webhook.d.cts.map +1 -1
  71. package/dist/actions/disable-webhook.d.mts +47 -3
  72. package/dist/actions/disable-webhook.d.mts.map +1 -1
  73. package/dist/actions/disable-webhook.mjs +8 -8
  74. package/dist/actions/disable-webhook.mjs.map +1 -1
  75. package/dist/actions/enable-webhook.cjs +6 -6
  76. package/dist/actions/enable-webhook.cjs.map +1 -1
  77. package/dist/actions/enable-webhook.d.cts +26 -3
  78. package/dist/actions/enable-webhook.d.cts.map +1 -1
  79. package/dist/actions/enable-webhook.d.mts +26 -3
  80. package/dist/actions/enable-webhook.d.mts.map +1 -1
  81. package/dist/actions/enable-webhook.mjs +6 -6
  82. package/dist/actions/enable-webhook.mjs.map +1 -1
  83. package/dist/actions/get-bootstrap-config.cjs +18 -18
  84. package/dist/actions/get-bootstrap-config.cjs.map +1 -1
  85. package/dist/actions/get-bootstrap-config.d.cts +54 -3
  86. package/dist/actions/get-bootstrap-config.d.cts.map +1 -1
  87. package/dist/actions/get-bootstrap-config.d.mts +54 -3
  88. package/dist/actions/get-bootstrap-config.d.mts.map +1 -1
  89. package/dist/actions/get-bootstrap-config.mjs +18 -18
  90. package/dist/actions/get-bootstrap-config.mjs.map +1 -1
  91. package/dist/actions/get-document-logs.cjs +15 -15
  92. package/dist/actions/get-document-logs.cjs.map +1 -1
  93. package/dist/actions/get-document-logs.d.cts +34 -3
  94. package/dist/actions/get-document-logs.d.cts.map +1 -1
  95. package/dist/actions/get-document-logs.d.mts +34 -3
  96. package/dist/actions/get-document-logs.d.mts.map +1 -1
  97. package/dist/actions/get-document-logs.mjs +15 -15
  98. package/dist/actions/get-document-logs.mjs.map +1 -1
  99. package/dist/actions/get-document.cjs +29 -29
  100. package/dist/actions/get-document.cjs.map +1 -1
  101. package/dist/actions/get-document.d.cts +65 -3
  102. package/dist/actions/get-document.d.cts.map +1 -1
  103. package/dist/actions/get-document.d.mts +65 -3
  104. package/dist/actions/get-document.d.mts.map +1 -1
  105. package/dist/actions/get-document.mjs +29 -29
  106. package/dist/actions/get-document.mjs.map +1 -1
  107. package/dist/actions/get-mailbox-schema.cjs +2 -2
  108. package/dist/actions/get-mailbox-schema.cjs.map +1 -1
  109. package/dist/actions/get-mailbox-schema.d.cts +10 -3
  110. package/dist/actions/get-mailbox-schema.d.cts.map +1 -1
  111. package/dist/actions/get-mailbox-schema.d.mts +10 -3
  112. package/dist/actions/get-mailbox-schema.d.mts.map +1 -1
  113. package/dist/actions/get-mailbox-schema.mjs +2 -2
  114. package/dist/actions/get-mailbox-schema.mjs.map +1 -1
  115. package/dist/actions/get-mailbox.cjs +43 -43
  116. package/dist/actions/get-mailbox.cjs.map +1 -1
  117. package/dist/actions/get-mailbox.d.cts +147 -3
  118. package/dist/actions/get-mailbox.d.cts.map +1 -1
  119. package/dist/actions/get-mailbox.d.mts +147 -3
  120. package/dist/actions/get-mailbox.d.mts.map +1 -1
  121. package/dist/actions/get-mailbox.mjs +43 -43
  122. package/dist/actions/get-mailbox.mjs.map +1 -1
  123. package/dist/actions/list-custom-downloads.cjs +9 -9
  124. package/dist/actions/list-custom-downloads.cjs.map +1 -1
  125. package/dist/actions/list-custom-downloads.d.cts +21 -3
  126. package/dist/actions/list-custom-downloads.d.cts.map +1 -1
  127. package/dist/actions/list-custom-downloads.d.mts +21 -3
  128. package/dist/actions/list-custom-downloads.d.mts.map +1 -1
  129. package/dist/actions/list-custom-downloads.mjs +9 -9
  130. package/dist/actions/list-custom-downloads.mjs.map +1 -1
  131. package/dist/actions/list-documents-in-mailbox.cjs +10 -10
  132. package/dist/actions/list-documents-in-mailbox.cjs.map +1 -1
  133. package/dist/actions/list-documents-in-mailbox.d.cts +49 -3
  134. package/dist/actions/list-documents-in-mailbox.d.cts.map +1 -1
  135. package/dist/actions/list-documents-in-mailbox.d.mts +49 -3
  136. package/dist/actions/list-documents-in-mailbox.d.mts.map +1 -1
  137. package/dist/actions/list-documents-in-mailbox.mjs +10 -10
  138. package/dist/actions/list-documents-in-mailbox.mjs.map +1 -1
  139. package/dist/actions/list-mailboxes2.cjs +13 -13
  140. package/dist/actions/list-mailboxes2.cjs.map +1 -1
  141. package/dist/actions/list-mailboxes2.d.cts +120 -3
  142. package/dist/actions/list-mailboxes2.d.cts.map +1 -1
  143. package/dist/actions/list-mailboxes2.d.mts +120 -3
  144. package/dist/actions/list-mailboxes2.d.mts.map +1 -1
  145. package/dist/actions/list-mailboxes2.mjs +13 -13
  146. package/dist/actions/list-mailboxes2.mjs.map +1 -1
  147. package/dist/actions/list-templates.cjs +12 -12
  148. package/dist/actions/list-templates.cjs.map +1 -1
  149. package/dist/actions/list-templates.d.cts +41 -3
  150. package/dist/actions/list-templates.d.cts.map +1 -1
  151. package/dist/actions/list-templates.d.mts +41 -3
  152. package/dist/actions/list-templates.d.mts.map +1 -1
  153. package/dist/actions/list-templates.mjs +12 -12
  154. package/dist/actions/list-templates.mjs.map +1 -1
  155. package/dist/actions/reprocess-document.cjs +2 -2
  156. package/dist/actions/reprocess-document.cjs.map +1 -1
  157. package/dist/actions/reprocess-document.d.cts +11 -3
  158. package/dist/actions/reprocess-document.d.cts.map +1 -1
  159. package/dist/actions/reprocess-document.d.mts +11 -3
  160. package/dist/actions/reprocess-document.d.mts.map +1 -1
  161. package/dist/actions/reprocess-document.mjs +2 -2
  162. package/dist/actions/reprocess-document.mjs.map +1 -1
  163. package/dist/actions/retrieve-webhook.cjs +6 -6
  164. package/dist/actions/retrieve-webhook.cjs.map +1 -1
  165. package/dist/actions/retrieve-webhook.d.cts +23 -3
  166. package/dist/actions/retrieve-webhook.d.cts.map +1 -1
  167. package/dist/actions/retrieve-webhook.d.mts +23 -3
  168. package/dist/actions/retrieve-webhook.d.mts.map +1 -1
  169. package/dist/actions/retrieve-webhook.mjs +6 -6
  170. package/dist/actions/retrieve-webhook.mjs.map +1 -1
  171. package/dist/actions/skip-document.cjs +30 -30
  172. package/dist/actions/skip-document.cjs.map +1 -1
  173. package/dist/actions/skip-document.d.cts +45 -3
  174. package/dist/actions/skip-document.d.cts.map +1 -1
  175. package/dist/actions/skip-document.d.mts +45 -3
  176. package/dist/actions/skip-document.d.mts.map +1 -1
  177. package/dist/actions/skip-document.mjs +30 -30
  178. package/dist/actions/skip-document.mjs.map +1 -1
  179. package/dist/actions/update-custom-download.cjs +5 -5
  180. package/dist/actions/update-custom-download.cjs.map +1 -1
  181. package/dist/actions/update-custom-download.d.cts +34 -3
  182. package/dist/actions/update-custom-download.d.cts.map +1 -1
  183. package/dist/actions/update-custom-download.d.mts +34 -3
  184. package/dist/actions/update-custom-download.d.mts.map +1 -1
  185. package/dist/actions/update-custom-download.mjs +5 -5
  186. package/dist/actions/update-custom-download.mjs.map +1 -1
  187. package/dist/actions/update-mailbox.cjs +37 -37
  188. package/dist/actions/update-mailbox.cjs.map +1 -1
  189. package/dist/actions/update-mailbox.d.cts +197 -3
  190. package/dist/actions/update-mailbox.d.cts.map +1 -1
  191. package/dist/actions/update-mailbox.d.mts +197 -3
  192. package/dist/actions/update-mailbox.d.mts.map +1 -1
  193. package/dist/actions/update-mailbox.mjs +37 -37
  194. package/dist/actions/update-mailbox.mjs.map +1 -1
  195. package/dist/actions/update-webhook.cjs +7 -7
  196. package/dist/actions/update-webhook.cjs.map +1 -1
  197. package/dist/actions/update-webhook.d.cts +37 -3
  198. package/dist/actions/update-webhook.d.cts.map +1 -1
  199. package/dist/actions/update-webhook.d.mts +37 -3
  200. package/dist/actions/update-webhook.d.mts.map +1 -1
  201. package/dist/actions/update-webhook.mjs +7 -7
  202. package/dist/actions/update-webhook.mjs.map +1 -1
  203. package/dist/actions/upload-email-document.cjs +1 -1
  204. package/dist/actions/upload-email-document.cjs.map +1 -1
  205. package/dist/actions/upload-email-document.d.cts +25 -3
  206. package/dist/actions/upload-email-document.d.cts.map +1 -1
  207. package/dist/actions/upload-email-document.d.mts +25 -3
  208. package/dist/actions/upload-email-document.d.mts.map +1 -1
  209. package/dist/actions/upload-email-document.mjs +1 -1
  210. package/dist/actions/upload-email-document.mjs.map +1 -1
  211. package/dist/catalog.cjs +7 -1
  212. package/dist/catalog.cjs.map +1 -1
  213. package/dist/catalog.d.cts +8 -0
  214. package/dist/catalog.d.mts +8 -0
  215. package/dist/catalog.mjs +7 -1
  216. package/dist/catalog.mjs.map +1 -1
  217. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"action.cjs","names":["parseur","executeParseurTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { parseur } from \"./app\";\nimport { executeParseurTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return parseur.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeParseurTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,QAAQ,OAAO;EACpB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,mBAAmB,MAAM,KAAgC,CAAC;EAC1F;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.cjs","names":["parseur","executeParseurTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { parseur } from \"./app\";\nimport { executeParseurTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return parseur.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeParseurTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,QAAQ,OAAO;EACpB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,mBAAmB,MAAM,KAAgC,CAAC;EAC1F;CACF,CAAC;AACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { parseur } from \"./app\";\nimport { executeParseurTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return parseur.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeParseurTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,QAAQ,OAAO;EACpB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,mBAAmB,MAAM,KAAgC,CAAC;EAC1F;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { parseur } from \"./app\";\nimport { executeParseurTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return parseur.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeParseurTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,QAAQ,OAAO;EACpB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,mBAAmB,MAAM,KAAgC,CAAC;EAC1F;CACF,CAAC;AACH"}
@@ -5,8 +5,8 @@ const ParseurCopyDocumentInput = zod.z.object({
5
5
  id: zod.z.string().describe("The unique identifier of the document to copy."),
6
6
  target_mailbox_id: zod.z.string().describe("The unique identifier of the target mailbox (parser) where the document will be copied.")
7
7
  }).describe("Request model for copying a document to another mailbox.");
8
- const ParseurCopyDocument_NotificationSetSchema = zod.z.object({ info: zod.z.array(zod.z.string()).describe("List of informational messages about the copy operation.") }).describe("Notification set containing informational messages about the copy operation.");
9
- const ParseurCopyDocumentOutput = zod.z.object({ notification_set: ParseurCopyDocument_NotificationSetSchema.nullable() }).describe("Response model for copying a document.");
8
+ const ParseurCopyDocument_NotificationSetSchema = zod.z.object({ info: zod.z.array(zod.z.string()).describe("List of informational messages about the copy operation.") }).passthrough().describe("Notification set containing informational messages about the copy operation.");
9
+ const ParseurCopyDocumentOutput = zod.z.object({ notification_set: ParseurCopyDocument_NotificationSetSchema.nullable() }).passthrough().describe("Response model for copying a document.");
10
10
  const parseurCopyDocument = require_action.action("PARSEUR_COPY_DOCUMENT", {
11
11
  slug: "parseur-copy-document",
12
12
  name: "Copy Document",
@@ -1 +1 @@
1
- {"version":3,"file":"copy-document.cjs","names":["z","action"],"sources":["../../src/actions/copy-document.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseurCopyDocumentInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the document to copy.\"),\n target_mailbox_id: z.string().describe(\"The unique identifier of the target mailbox (parser) where the document will be copied.\"),\n}).describe(\"Request model for copying a document to another mailbox.\");\nconst ParseurCopyDocument_NotificationSetSchema: z.ZodTypeAny = z.object({\n info: z.array(z.string()).describe(\"List of informational messages about the copy operation.\"),\n}).describe(\"Notification set containing informational messages about the copy operation.\");\nexport const ParseurCopyDocumentOutput: z.ZodTypeAny = z.object({\n notification_set: ParseurCopyDocument_NotificationSetSchema.nullable(),\n}).describe(\"Response model for copying a document.\");\n\nexport const parseurCopyDocument = action(\"PARSEUR_COPY_DOCUMENT\", {\n slug: \"parseur-copy-document\",\n name: \"Copy Document\",\n description: \"Tool to copy a document to another mailbox. Use when you need to duplicate a document from one mailbox to another mailbox within Parseur.\",\n input: ParseurCopyDocumentInput,\n output: ParseurCopyDocumentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CACxE,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF;AAClI,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,4CAA0DA,IAAAA,EAAE,OAAO,EACvE,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0DAA0D,EAC/F,CAAC,CAAC,CAAC,SAAS,8EAA8E;AAC1F,MAAa,4BAA0CA,IAAAA,EAAE,OAAO,EAC9D,kBAAkB,0CAA0C,SAAS,EACvE,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAEpD,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"copy-document.cjs","names":["z","action"],"sources":["../../src/actions/copy-document.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseurCopyDocumentInput = z.object({\n id: z.string().describe(\"The unique identifier of the document to copy.\"),\n target_mailbox_id: z.string().describe(\"The unique identifier of the target mailbox (parser) where the document will be copied.\"),\n}).describe(\"Request model for copying a document to another mailbox.\");\nconst ParseurCopyDocument_NotificationSetSchema = z.object({\n info: z.array(z.string()).describe(\"List of informational messages about the copy operation.\"),\n}).passthrough().describe(\"Notification set containing informational messages about the copy operation.\");\nexport const ParseurCopyDocumentOutput = z.object({\n notification_set: ParseurCopyDocument_NotificationSetSchema.nullable(),\n}).passthrough().describe(\"Response model for copying a document.\");\n\nexport const parseurCopyDocument = action(\"PARSEUR_COPY_DOCUMENT\", {\n slug: \"parseur-copy-document\",\n name: \"Copy Document\",\n description: \"Tool to copy a document to another mailbox. Use when you need to duplicate a document from one mailbox to another mailbox within Parseur.\",\n input: ParseurCopyDocumentInput,\n output: ParseurCopyDocumentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CACxE,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF;AAClI,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,4CAA4CA,IAAAA,EAAE,OAAO,EACzD,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0DAA0D,EAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8EAA8E;AACxG,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,kBAAkB,0CAA0C,SAAS,EACvE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,19 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/copy-document.d.ts
4
- declare const ParseurCopyDocumentInput: z.ZodTypeAny;
5
- declare const ParseurCopyDocumentOutput: z.ZodTypeAny;
6
- declare const parseurCopyDocument: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ParseurCopyDocumentInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ target_mailbox_id: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const ParseurCopyDocumentOutput: z.ZodObject<{
9
+ notification_set: z.ZodNullable<z.ZodObject<{
10
+ info: z.ZodArray<z.ZodString>;
11
+ }, z.core.$loose>>;
12
+ }, z.core.$loose>;
13
+ declare const parseurCopyDocument: import("@keystrokehq/action").WorkflowActionDefinition<{
14
+ id: string;
15
+ target_mailbox_id: string;
16
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
17
  //#endregion
8
18
  export { parseurCopyDocument };
9
19
  //# sourceMappingURL=copy-document.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"copy-document.d.cts","names":[],"sources":["../../src/actions/copy-document.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAG8B;AAAA,cAI1D,yBAAA,EAA2B,CAAA,CAAE,UAEW;AAAA,cAExC,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"copy-document.d.cts","names":[],"sources":["../../src/actions/copy-document.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAOxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;cAIzB,mBAAA,gCAAmB,wBAAA"}
@@ -1,9 +1,19 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/copy-document.d.ts
4
- declare const ParseurCopyDocumentInput: z.ZodTypeAny;
5
- declare const ParseurCopyDocumentOutput: z.ZodTypeAny;
6
- declare const parseurCopyDocument: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ParseurCopyDocumentInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ target_mailbox_id: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const ParseurCopyDocumentOutput: z.ZodObject<{
9
+ notification_set: z.ZodNullable<z.ZodObject<{
10
+ info: z.ZodArray<z.ZodString>;
11
+ }, z.core.$loose>>;
12
+ }, z.core.$loose>;
13
+ declare const parseurCopyDocument: import("@keystrokehq/action").WorkflowActionDefinition<{
14
+ id: string;
15
+ target_mailbox_id: string;
16
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
17
  //#endregion
8
18
  export { parseurCopyDocument };
9
19
  //# sourceMappingURL=copy-document.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"copy-document.d.mts","names":[],"sources":["../../src/actions/copy-document.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAG8B;AAAA,cAI1D,yBAAA,EAA2B,CAAA,CAAE,UAEW;AAAA,cAExC,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"copy-document.d.mts","names":[],"sources":["../../src/actions/copy-document.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAOxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;cAIzB,mBAAA,gCAAmB,wBAAA"}
@@ -5,13 +5,13 @@ const ParseurCopyDocumentInput = z.object({
5
5
  id: z.string().describe("The unique identifier of the document to copy."),
6
6
  target_mailbox_id: z.string().describe("The unique identifier of the target mailbox (parser) where the document will be copied.")
7
7
  }).describe("Request model for copying a document to another mailbox.");
8
- const ParseurCopyDocument_NotificationSetSchema = z.object({ info: z.array(z.string()).describe("List of informational messages about the copy operation.") }).describe("Notification set containing informational messages about the copy operation.");
8
+ const ParseurCopyDocument_NotificationSetSchema = z.object({ info: z.array(z.string()).describe("List of informational messages about the copy operation.") }).passthrough().describe("Notification set containing informational messages about the copy operation.");
9
9
  const parseurCopyDocument = action("PARSEUR_COPY_DOCUMENT", {
10
10
  slug: "parseur-copy-document",
11
11
  name: "Copy Document",
12
12
  description: "Tool to copy a document to another mailbox. Use when you need to duplicate a document from one mailbox to another mailbox within Parseur.",
13
13
  input: ParseurCopyDocumentInput,
14
- output: z.object({ notification_set: ParseurCopyDocument_NotificationSetSchema.nullable() }).describe("Response model for copying a document.")
14
+ output: z.object({ notification_set: ParseurCopyDocument_NotificationSetSchema.nullable() }).passthrough().describe("Response model for copying a document.")
15
15
  });
16
16
  //#endregion
17
17
  export { parseurCopyDocument };
@@ -1 +1 @@
1
- {"version":3,"file":"copy-document.mjs","names":[],"sources":["../../src/actions/copy-document.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseurCopyDocumentInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the document to copy.\"),\n target_mailbox_id: z.string().describe(\"The unique identifier of the target mailbox (parser) where the document will be copied.\"),\n}).describe(\"Request model for copying a document to another mailbox.\");\nconst ParseurCopyDocument_NotificationSetSchema: z.ZodTypeAny = z.object({\n info: z.array(z.string()).describe(\"List of informational messages about the copy operation.\"),\n}).describe(\"Notification set containing informational messages about the copy operation.\");\nexport const ParseurCopyDocumentOutput: z.ZodTypeAny = z.object({\n notification_set: ParseurCopyDocument_NotificationSetSchema.nullable(),\n}).describe(\"Response model for copying a document.\");\n\nexport const parseurCopyDocument = action(\"PARSEUR_COPY_DOCUMENT\", {\n slug: \"parseur-copy-document\",\n name: \"Copy Document\",\n description: \"Tool to copy a document to another mailbox. Use when you need to duplicate a document from one mailbox to another mailbox within Parseur.\",\n input: ParseurCopyDocumentInput,\n output: ParseurCopyDocumentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyC,EAAE,OAAO;CAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CACxE,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF;AAClI,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,4CAA0D,EAAE,OAAO,EACvE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0DAA0D,EAC/F,CAAC,CAAC,CAAC,SAAS,8EAA8E;AAK1F,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATqD,EAAE,OAAO,EAC9D,kBAAkB,0CAA0C,SAAS,EACvE,CAAC,CAAC,CAAC,SAAS,wCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"copy-document.mjs","names":[],"sources":["../../src/actions/copy-document.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseurCopyDocumentInput = z.object({\n id: z.string().describe(\"The unique identifier of the document to copy.\"),\n target_mailbox_id: z.string().describe(\"The unique identifier of the target mailbox (parser) where the document will be copied.\"),\n}).describe(\"Request model for copying a document to another mailbox.\");\nconst ParseurCopyDocument_NotificationSetSchema = z.object({\n info: z.array(z.string()).describe(\"List of informational messages about the copy operation.\"),\n}).passthrough().describe(\"Notification set containing informational messages about the copy operation.\");\nexport const ParseurCopyDocumentOutput = z.object({\n notification_set: ParseurCopyDocument_NotificationSetSchema.nullable(),\n}).passthrough().describe(\"Response model for copying a document.\");\n\nexport const parseurCopyDocument = action(\"PARSEUR_COPY_DOCUMENT\", {\n slug: \"parseur-copy-document\",\n name: \"Copy Document\",\n description: \"Tool to copy a document to another mailbox. Use when you need to duplicate a document from one mailbox to another mailbox within Parseur.\",\n input: ParseurCopyDocumentInput,\n output: ParseurCopyDocumentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CACxE,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF;AAClI,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,4CAA4C,EAAE,OAAO,EACzD,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0DAA0D,EAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8EAA8E;AAKxG,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATuC,EAAE,OAAO,EAChD,kBAAkB,0CAA0C,SAAS,EACvE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAOhB;AACV,CAAC"}
@@ -2,8 +2,8 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/copy-mailbox.ts
4
4
  const ParseurCopyMailboxInput = zod.z.object({ id: zod.z.number().int().describe("Unique identifier of the mailbox (parser) to copy.") }).describe("Request parameters for copying a mailbox (parser).");
5
- const ParseurCopyMailbox_NotificationSetSchema = zod.z.object({ info: zod.z.array(zod.z.string()).describe("List of informational messages about the copy operation.") }).describe("Notification information returned after copying a mailbox.");
6
- const ParseurCopyMailboxOutput = zod.z.object({ notification_set: ParseurCopyMailbox_NotificationSetSchema.nullable() }).describe("Response model for the copy mailbox action.");
5
+ const ParseurCopyMailbox_NotificationSetSchema = zod.z.object({ info: zod.z.array(zod.z.string()).describe("List of informational messages about the copy operation.") }).passthrough().describe("Notification information returned after copying a mailbox.");
6
+ const ParseurCopyMailboxOutput = zod.z.object({ notification_set: ParseurCopyMailbox_NotificationSetSchema.nullable() }).passthrough().describe("Response model for the copy mailbox action.");
7
7
  const parseurCopyMailbox = require_action.action("PARSEUR_COPY_MAILBOX", {
8
8
  slug: "parseur-copy-mailbox",
9
9
  name: "Copy Mailbox",
@@ -1 +1 @@
1
- {"version":3,"file":"copy-mailbox.cjs","names":["z","action"],"sources":["../../src/actions/copy-mailbox.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseurCopyMailboxInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the mailbox (parser) to copy.\"),\n}).describe(\"Request parameters for copying a mailbox (parser).\");\nconst ParseurCopyMailbox_NotificationSetSchema: z.ZodTypeAny = z.object({\n info: z.array(z.string()).describe(\"List of informational messages about the copy operation.\"),\n}).describe(\"Notification information returned after copying a mailbox.\");\nexport const ParseurCopyMailboxOutput: z.ZodTypeAny = z.object({\n notification_set: ParseurCopyMailbox_NotificationSetSchema.nullable(),\n}).describe(\"Response model for the copy mailbox action.\");\n\nexport const parseurCopyMailbox = action(\"PARSEUR_COPY_MAILBOX\", {\n slug: \"parseur-copy-mailbox\",\n name: \"Copy Mailbox\",\n description: \"Tool to copy a mailbox (parser) in Parseur. Creates a duplicate of the mailbox with all its configuration. Use when you need to duplicate an existing parser setup.\",\n input: ParseurCopyMailboxInput,\n output: ParseurCopyMailboxOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwCA,IAAAA,EAAE,OAAO,EAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,EACpF,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,2CAAyDA,IAAAA,EAAE,OAAO,EACtE,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0DAA0D,EAC/F,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAa,2BAAyCA,IAAAA,EAAE,OAAO,EAC7D,kBAAkB,yCAAyC,SAAS,EACtE,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAEzD,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"copy-mailbox.cjs","names":["z","action"],"sources":["../../src/actions/copy-mailbox.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseurCopyMailboxInput = z.object({\n id: z.number().int().describe(\"Unique identifier of the mailbox (parser) to copy.\"),\n}).describe(\"Request parameters for copying a mailbox (parser).\");\nconst ParseurCopyMailbox_NotificationSetSchema = z.object({\n info: z.array(z.string()).describe(\"List of informational messages about the copy operation.\"),\n}).passthrough().describe(\"Notification information returned after copying a mailbox.\");\nexport const ParseurCopyMailboxOutput = z.object({\n notification_set: ParseurCopyMailbox_NotificationSetSchema.nullable(),\n}).passthrough().describe(\"Response model for the copy mailbox action.\");\n\nexport const parseurCopyMailbox = action(\"PARSEUR_COPY_MAILBOX\", {\n slug: \"parseur-copy-mailbox\",\n name: \"Copy Mailbox\",\n description: \"Tool to copy a mailbox (parser) in Parseur. Creates a duplicate of the mailbox with all its configuration. Use when you need to duplicate an existing parser setup.\",\n input: ParseurCopyMailboxInput,\n output: ParseurCopyMailboxOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,EACpF,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,2CAA2CA,IAAAA,EAAE,OAAO,EACxD,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0DAA0D,EAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AACtF,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,kBAAkB,yCAAyC,SAAS,EACtE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,17 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/copy-mailbox.d.ts
4
- declare const ParseurCopyMailboxInput: z.ZodTypeAny;
5
- declare const ParseurCopyMailboxOutput: z.ZodTypeAny;
6
- declare const parseurCopyMailbox: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ParseurCopyMailboxInput: z.ZodObject<{
5
+ id: z.ZodNumber;
6
+ }, z.core.$strip>;
7
+ declare const ParseurCopyMailboxOutput: z.ZodObject<{
8
+ notification_set: z.ZodNullable<z.ZodObject<{
9
+ info: z.ZodArray<z.ZodString>;
10
+ }, z.core.$loose>>;
11
+ }, z.core.$loose>;
12
+ declare const parseurCopyMailbox: import("@keystrokehq/action").WorkflowActionDefinition<{
13
+ id: number;
14
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
15
  //#endregion
8
16
  export { parseurCopyMailbox };
9
17
  //# sourceMappingURL=copy-mailbox.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"copy-mailbox.d.cts","names":[],"sources":["../../src/actions/copy-mailbox.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAEyB;AAAA,cAIpD,wBAAA,EAA0B,CAAA,CAAE,UAEiB;AAAA,cAE7C,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"copy-mailbox.d.cts","names":[],"sources":["../../src/actions/copy-mailbox.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAMvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;cAIxB,kBAAA,gCAAkB,wBAAA"}
@@ -1,9 +1,17 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/copy-mailbox.d.ts
4
- declare const ParseurCopyMailboxInput: z.ZodTypeAny;
5
- declare const ParseurCopyMailboxOutput: z.ZodTypeAny;
6
- declare const parseurCopyMailbox: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ParseurCopyMailboxInput: z.ZodObject<{
5
+ id: z.ZodNumber;
6
+ }, z.core.$strip>;
7
+ declare const ParseurCopyMailboxOutput: z.ZodObject<{
8
+ notification_set: z.ZodNullable<z.ZodObject<{
9
+ info: z.ZodArray<z.ZodString>;
10
+ }, z.core.$loose>>;
11
+ }, z.core.$loose>;
12
+ declare const parseurCopyMailbox: import("@keystrokehq/action").WorkflowActionDefinition<{
13
+ id: number;
14
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
15
  //#endregion
8
16
  export { parseurCopyMailbox };
9
17
  //# sourceMappingURL=copy-mailbox.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"copy-mailbox.d.mts","names":[],"sources":["../../src/actions/copy-mailbox.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAEyB;AAAA,cAIpD,wBAAA,EAA0B,CAAA,CAAE,UAEiB;AAAA,cAE7C,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"copy-mailbox.d.mts","names":[],"sources":["../../src/actions/copy-mailbox.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAMvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;cAIxB,kBAAA,gCAAkB,wBAAA"}
@@ -2,13 +2,13 @@ import { action } from "../action.mjs";
2
2
  import { z } from "zod";
3
3
  //#region src/actions/copy-mailbox.ts
4
4
  const ParseurCopyMailboxInput = z.object({ id: z.number().int().describe("Unique identifier of the mailbox (parser) to copy.") }).describe("Request parameters for copying a mailbox (parser).");
5
- const ParseurCopyMailbox_NotificationSetSchema = z.object({ info: z.array(z.string()).describe("List of informational messages about the copy operation.") }).describe("Notification information returned after copying a mailbox.");
5
+ const ParseurCopyMailbox_NotificationSetSchema = z.object({ info: z.array(z.string()).describe("List of informational messages about the copy operation.") }).passthrough().describe("Notification information returned after copying a mailbox.");
6
6
  const parseurCopyMailbox = action("PARSEUR_COPY_MAILBOX", {
7
7
  slug: "parseur-copy-mailbox",
8
8
  name: "Copy Mailbox",
9
9
  description: "Tool to copy a mailbox (parser) in Parseur. Creates a duplicate of the mailbox with all its configuration. Use when you need to duplicate an existing parser setup.",
10
10
  input: ParseurCopyMailboxInput,
11
- output: z.object({ notification_set: ParseurCopyMailbox_NotificationSetSchema.nullable() }).describe("Response model for the copy mailbox action.")
11
+ output: z.object({ notification_set: ParseurCopyMailbox_NotificationSetSchema.nullable() }).passthrough().describe("Response model for the copy mailbox action.")
12
12
  });
13
13
  //#endregion
14
14
  export { parseurCopyMailbox };
@@ -1 +1 @@
1
- {"version":3,"file":"copy-mailbox.mjs","names":[],"sources":["../../src/actions/copy-mailbox.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseurCopyMailboxInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the mailbox (parser) to copy.\"),\n}).describe(\"Request parameters for copying a mailbox (parser).\");\nconst ParseurCopyMailbox_NotificationSetSchema: z.ZodTypeAny = z.object({\n info: z.array(z.string()).describe(\"List of informational messages about the copy operation.\"),\n}).describe(\"Notification information returned after copying a mailbox.\");\nexport const ParseurCopyMailboxOutput: z.ZodTypeAny = z.object({\n notification_set: ParseurCopyMailbox_NotificationSetSchema.nullable(),\n}).describe(\"Response model for the copy mailbox action.\");\n\nexport const parseurCopyMailbox = action(\"PARSEUR_COPY_MAILBOX\", {\n slug: \"parseur-copy-mailbox\",\n name: \"Copy Mailbox\",\n description: \"Tool to copy a mailbox (parser) in Parseur. Creates a duplicate of the mailbox with all its configuration. Use when you need to duplicate an existing parser setup.\",\n input: ParseurCopyMailboxInput,\n output: ParseurCopyMailboxOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwC,EAAE,OAAO,EAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,EACpF,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,2CAAyD,EAAE,OAAO,EACtE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0DAA0D,EAC/F,CAAC,CAAC,CAAC,SAAS,4DAA4D;AAKxE,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAToD,EAAE,OAAO,EAC7D,kBAAkB,yCAAyC,SAAS,EACtE,CAAC,CAAC,CAAC,SAAS,6CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"copy-mailbox.mjs","names":[],"sources":["../../src/actions/copy-mailbox.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseurCopyMailboxInput = z.object({\n id: z.number().int().describe(\"Unique identifier of the mailbox (parser) to copy.\"),\n}).describe(\"Request parameters for copying a mailbox (parser).\");\nconst ParseurCopyMailbox_NotificationSetSchema = z.object({\n info: z.array(z.string()).describe(\"List of informational messages about the copy operation.\"),\n}).passthrough().describe(\"Notification information returned after copying a mailbox.\");\nexport const ParseurCopyMailboxOutput = z.object({\n notification_set: ParseurCopyMailbox_NotificationSetSchema.nullable(),\n}).passthrough().describe(\"Response model for the copy mailbox action.\");\n\nexport const parseurCopyMailbox = action(\"PARSEUR_COPY_MAILBOX\", {\n slug: \"parseur-copy-mailbox\",\n name: \"Copy Mailbox\",\n description: \"Tool to copy a mailbox (parser) in Parseur. Creates a duplicate of the mailbox with all its configuration. Use when you need to duplicate an existing parser setup.\",\n input: ParseurCopyMailboxInput,\n output: ParseurCopyMailboxOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO,EAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,EACpF,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,2CAA2C,EAAE,OAAO,EACxD,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0DAA0D,EAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AAKtF,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATsC,EAAE,OAAO,EAC/C,kBAAkB,yCAAyC,SAAS,EACtE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAOhB;AACV,CAAC"}
@@ -14,15 +14,15 @@ const ParseurCreateCustomDownloadInput = zod.z.object({
14
14
  }).describe("Request model for creating a custom download (export configuration) for a mailbox.");
15
15
  const ParseurCreateCustomDownload_ExportConfigTypeSchema = zod.z.enum(["PARSER", "PARSER_FIELD"]).describe("Type of export configuration.");
16
16
  const ParseurCreateCustomDownloadOutput = zod.z.object({
17
- id: zod.z.number().int().describe("Numeric ID of the export configuration"),
17
+ id: zod.z.number().int().describe("Numeric ID of the export configuration").nullable(),
18
18
  name: zod.z.string().describe("Name of the custom download; null if not set").nullable().optional(),
19
19
  type: ParseurCreateCustomDownload_ExportConfigTypeSchema.nullable(),
20
20
  items: zod.z.array(zod.z.string()).describe("List of field names included in the export").nullable().optional(),
21
- csv_download: zod.z.string().describe("Identifier for the CSV download"),
22
- xls_download: zod.z.string().describe("Identifier for the XLS download"),
21
+ csv_download: zod.z.string().describe("Identifier for the CSV download").nullable(),
22
+ xls_download: zod.z.string().describe("Identifier for the XLS download").nullable(),
23
23
  parser_field_id: zod.z.string().describe("Parser field ID starting with PF; null if not set").nullable().optional(),
24
24
  parser_field_name: zod.z.string().describe("Name of the parser field; null if not set").nullable().optional()
25
- }).describe("Response model for the create custom download action.");
25
+ }).passthrough().describe("Response model for the create custom download action.");
26
26
  const parseurCreateCustomDownload = require_action.action("PARSEUR_CREATE_CUSTOM_DOWNLOAD", {
27
27
  slug: "parseur-create-custom-download",
28
28
  name: "Create custom download",
@@ -1 +1 @@
1
- {"version":3,"file":"create-custom-download.cjs","names":["z","action"],"sources":["../../src/actions/create-custom-download.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseurCreateCustomDownloadInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Numeric ID for the export configuration\"),\n name: z.string().describe(\"Name for the custom download\"),\n type: z.enum([\"PARSER\", \"PARSER_FIELD\"]).default(\"PARSER\").describe(\"Type of export configuration: PARSER for full parser exports, or PARSER_FIELD for field-specific exports\").optional(),\n items: z.array(z.string()).describe(\"List of field names to include in the export. Common system fields include: DocumentID, Sender, SenderName, Template, Recipient, ParsedAt, etc.\"),\n parser_id: z.string().describe(\"ID of the mailbox (parser) for which to create the custom download\"),\n csv_download: z.string().describe(\"Identifier or filename for the CSV download\"),\n xls_download: z.string().describe(\"Identifier or filename for the XLS download\"),\n parser_field_id: z.string().describe(\"Parser field ID starting with PF (required when type is PARSER_FIELD)\").optional(),\n parser_field_name: z.string().describe(\"Name of the parser field (required when type is PARSER_FIELD)\").optional(),\n}).describe(\"Request model for creating a custom download (export configuration) for a mailbox.\");\nconst ParseurCreateCustomDownload_ExportConfigTypeSchema: z.ZodTypeAny = z.enum([\"PARSER\", \"PARSER_FIELD\"]).describe(\"Type of export configuration.\");\nexport const ParseurCreateCustomDownloadOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Numeric ID of the export configuration\"),\n name: z.string().describe(\"Name of the custom download; null if not set\").nullable().optional(),\n type: ParseurCreateCustomDownload_ExportConfigTypeSchema.nullable(),\n items: z.array(z.string()).describe(\"List of field names included in the export\").nullable().optional(),\n csv_download: z.string().describe(\"Identifier for the CSV download\"),\n xls_download: z.string().describe(\"Identifier for the XLS download\"),\n parser_field_id: z.string().describe(\"Parser field ID starting with PF; null if not set\").nullable().optional(),\n parser_field_name: z.string().describe(\"Name of the parser field; null if not set\").nullable().optional(),\n}).describe(\"Response model for the create custom download action.\");\n\nexport const parseurCreateCustomDownload = action(\"PARSEUR_CREATE_CUSTOM_DOWNLOAD\", {\n slug: \"parseur-create-custom-download\",\n name: \"Create custom download\",\n description: \"Tool to create a custom download (export configuration) for a mailbox. Use when you need to define which fields should be exported to CSV or XLS format.\",\n input: ParseurCreateCustomDownloadInput,\n output: ParseurCreateCustomDownloadOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACxD,MAAMA,IAAAA,EAAE,KAAK,CAAC,UAAU,cAAc,CAAC,CAAC,CAAC,QAAQ,QAAQ,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;CACzL,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iJAAiJ;CACrL,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;CACnG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CAC/E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CAC/E,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CACvH,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,SAAS,oFAAoF;AAChG,MAAM,qDAAmEA,IAAAA,EAAE,KAAK,CAAC,UAAU,cAAc,CAAC,CAAC,CAAC,SAAS,+BAA+B;AACpJ,MAAa,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,MAAM,mDAAmD,SAAS;CAClE,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CACnE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CACnE,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,SAAS,uDAAuD;AAEnE,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-custom-download.cjs","names":["z","action"],"sources":["../../src/actions/create-custom-download.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseurCreateCustomDownloadInput = z.object({\n id: z.number().int().describe(\"Numeric ID for the export configuration\"),\n name: z.string().describe(\"Name for the custom download\"),\n type: z.enum([\"PARSER\", \"PARSER_FIELD\"]).default(\"PARSER\").describe(\"Type of export configuration: PARSER for full parser exports, or PARSER_FIELD for field-specific exports\").optional(),\n items: z.array(z.string()).describe(\"List of field names to include in the export. Common system fields include: DocumentID, Sender, SenderName, Template, Recipient, ParsedAt, etc.\"),\n parser_id: z.string().describe(\"ID of the mailbox (parser) for which to create the custom download\"),\n csv_download: z.string().describe(\"Identifier or filename for the CSV download\"),\n xls_download: z.string().describe(\"Identifier or filename for the XLS download\"),\n parser_field_id: z.string().describe(\"Parser field ID starting with PF (required when type is PARSER_FIELD)\").optional(),\n parser_field_name: z.string().describe(\"Name of the parser field (required when type is PARSER_FIELD)\").optional(),\n}).describe(\"Request model for creating a custom download (export configuration) for a mailbox.\");\nconst ParseurCreateCustomDownload_ExportConfigTypeSchema = z.enum([\"PARSER\", \"PARSER_FIELD\"]).describe(\"Type of export configuration.\");\nexport const ParseurCreateCustomDownloadOutput = z.object({\n id: z.number().int().describe(\"Numeric ID of the export configuration\").nullable(),\n name: z.string().describe(\"Name of the custom download; null if not set\").nullable().optional(),\n type: ParseurCreateCustomDownload_ExportConfigTypeSchema.nullable(),\n items: z.array(z.string()).describe(\"List of field names included in the export\").nullable().optional(),\n csv_download: z.string().describe(\"Identifier for the CSV download\").nullable(),\n xls_download: z.string().describe(\"Identifier for the XLS download\").nullable(),\n parser_field_id: z.string().describe(\"Parser field ID starting with PF; null if not set\").nullable().optional(),\n parser_field_name: z.string().describe(\"Name of the parser field; null if not set\").nullable().optional(),\n}).passthrough().describe(\"Response model for the create custom download action.\");\n\nexport const parseurCreateCustomDownload = action(\"PARSEUR_CREATE_CUSTOM_DOWNLOAD\", {\n slug: \"parseur-create-custom-download\",\n name: \"Create custom download\",\n description: \"Tool to create a custom download (export configuration) for a mailbox. Use when you need to define which fields should be exported to CSV or XLS format.\",\n input: ParseurCreateCustomDownloadInput,\n output: ParseurCreateCustomDownloadOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACxD,MAAMA,IAAAA,EAAE,KAAK,CAAC,UAAU,cAAc,CAAC,CAAC,CAAC,QAAQ,QAAQ,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;CACzL,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iJAAiJ;CACrL,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;CACnG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CAC/E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CAC/E,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CACvH,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,SAAS,oFAAoF;AAChG,MAAM,qDAAqDA,IAAAA,EAAE,KAAK,CAAC,UAAU,cAAc,CAAC,CAAC,CAAC,SAAS,+BAA+B;AACtI,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACjF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,MAAM,mDAAmD,SAAS;CAClE,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC9E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC9E,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAEjF,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,44 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-custom-download.d.ts
4
- declare const ParseurCreateCustomDownloadInput: z.ZodTypeAny;
5
- declare const ParseurCreateCustomDownloadOutput: z.ZodTypeAny;
6
- declare const parseurCreateCustomDownload: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ParseurCreateCustomDownloadInput: z.ZodObject<{
5
+ id: z.ZodNumber;
6
+ name: z.ZodString;
7
+ type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
8
+ PARSER: "PARSER";
9
+ PARSER_FIELD: "PARSER_FIELD";
10
+ }>>>;
11
+ items: z.ZodArray<z.ZodString>;
12
+ parser_id: z.ZodString;
13
+ csv_download: z.ZodString;
14
+ xls_download: z.ZodString;
15
+ parser_field_id: z.ZodOptional<z.ZodString>;
16
+ parser_field_name: z.ZodOptional<z.ZodString>;
17
+ }, z.core.$strip>;
18
+ declare const ParseurCreateCustomDownloadOutput: z.ZodObject<{
19
+ id: z.ZodNullable<z.ZodNumber>;
20
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ type: z.ZodNullable<z.ZodEnum<{
22
+ PARSER: "PARSER";
23
+ PARSER_FIELD: "PARSER_FIELD";
24
+ }>>;
25
+ items: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
26
+ csv_download: z.ZodNullable<z.ZodString>;
27
+ xls_download: z.ZodNullable<z.ZodString>;
28
+ parser_field_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ parser_field_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ }, z.core.$loose>;
31
+ declare const parseurCreateCustomDownload: import("@keystrokehq/action").WorkflowActionDefinition<{
32
+ id: number;
33
+ name: string;
34
+ items: string[];
35
+ parser_id: string;
36
+ csv_download: string;
37
+ xls_download: string;
38
+ type?: "PARSER" | "PARSER_FIELD" | undefined;
39
+ parser_field_id?: string | undefined;
40
+ parser_field_name?: string | undefined;
41
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
42
  //#endregion
8
43
  export { parseurCreateCustomDownload };
9
44
  //# sourceMappingURL=create-custom-download.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-custom-download.d.cts","names":[],"sources":["../../src/actions/create-custom-download.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAUgD;AAAA,cAEpF,iCAAA,EAAmC,CAAA,CAAE,UASkB;AAAA,cAEvD,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-custom-download.d.cts","names":[],"sources":["../../src/actions/create-custom-download.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAYhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAWjC,2BAAA,gCAA2B,wBAAA"}
@@ -1,9 +1,44 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-custom-download.d.ts
4
- declare const ParseurCreateCustomDownloadInput: z.ZodTypeAny;
5
- declare const ParseurCreateCustomDownloadOutput: z.ZodTypeAny;
6
- declare const parseurCreateCustomDownload: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ParseurCreateCustomDownloadInput: z.ZodObject<{
5
+ id: z.ZodNumber;
6
+ name: z.ZodString;
7
+ type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
8
+ PARSER: "PARSER";
9
+ PARSER_FIELD: "PARSER_FIELD";
10
+ }>>>;
11
+ items: z.ZodArray<z.ZodString>;
12
+ parser_id: z.ZodString;
13
+ csv_download: z.ZodString;
14
+ xls_download: z.ZodString;
15
+ parser_field_id: z.ZodOptional<z.ZodString>;
16
+ parser_field_name: z.ZodOptional<z.ZodString>;
17
+ }, z.core.$strip>;
18
+ declare const ParseurCreateCustomDownloadOutput: z.ZodObject<{
19
+ id: z.ZodNullable<z.ZodNumber>;
20
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ type: z.ZodNullable<z.ZodEnum<{
22
+ PARSER: "PARSER";
23
+ PARSER_FIELD: "PARSER_FIELD";
24
+ }>>;
25
+ items: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
26
+ csv_download: z.ZodNullable<z.ZodString>;
27
+ xls_download: z.ZodNullable<z.ZodString>;
28
+ parser_field_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ parser_field_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ }, z.core.$loose>;
31
+ declare const parseurCreateCustomDownload: import("@keystrokehq/action").WorkflowActionDefinition<{
32
+ id: number;
33
+ name: string;
34
+ items: string[];
35
+ parser_id: string;
36
+ csv_download: string;
37
+ xls_download: string;
38
+ type?: "PARSER" | "PARSER_FIELD" | undefined;
39
+ parser_field_id?: string | undefined;
40
+ parser_field_name?: string | undefined;
41
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
42
  //#endregion
8
43
  export { parseurCreateCustomDownload };
9
44
  //# sourceMappingURL=create-custom-download.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-custom-download.d.mts","names":[],"sources":["../../src/actions/create-custom-download.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAUgD;AAAA,cAEpF,iCAAA,EAAmC,CAAA,CAAE,UASkB;AAAA,cAEvD,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-custom-download.d.mts","names":[],"sources":["../../src/actions/create-custom-download.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAYhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAWjC,2BAAA,gCAA2B,wBAAA"}
@@ -19,15 +19,15 @@ const parseurCreateCustomDownload = action("PARSEUR_CREATE_CUSTOM_DOWNLOAD", {
19
19
  description: "Tool to create a custom download (export configuration) for a mailbox. Use when you need to define which fields should be exported to CSV or XLS format.",
20
20
  input: ParseurCreateCustomDownloadInput,
21
21
  output: z.object({
22
- id: z.number().int().describe("Numeric ID of the export configuration"),
22
+ id: z.number().int().describe("Numeric ID of the export configuration").nullable(),
23
23
  name: z.string().describe("Name of the custom download; null if not set").nullable().optional(),
24
24
  type: ParseurCreateCustomDownload_ExportConfigTypeSchema.nullable(),
25
25
  items: z.array(z.string()).describe("List of field names included in the export").nullable().optional(),
26
- csv_download: z.string().describe("Identifier for the CSV download"),
27
- xls_download: z.string().describe("Identifier for the XLS download"),
26
+ csv_download: z.string().describe("Identifier for the CSV download").nullable(),
27
+ xls_download: z.string().describe("Identifier for the XLS download").nullable(),
28
28
  parser_field_id: z.string().describe("Parser field ID starting with PF; null if not set").nullable().optional(),
29
29
  parser_field_name: z.string().describe("Name of the parser field; null if not set").nullable().optional()
30
- }).describe("Response model for the create custom download action.")
30
+ }).passthrough().describe("Response model for the create custom download action.")
31
31
  });
32
32
  //#endregion
33
33
  export { parseurCreateCustomDownload };
@@ -1 +1 @@
1
- {"version":3,"file":"create-custom-download.mjs","names":[],"sources":["../../src/actions/create-custom-download.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseurCreateCustomDownloadInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Numeric ID for the export configuration\"),\n name: z.string().describe(\"Name for the custom download\"),\n type: z.enum([\"PARSER\", \"PARSER_FIELD\"]).default(\"PARSER\").describe(\"Type of export configuration: PARSER for full parser exports, or PARSER_FIELD for field-specific exports\").optional(),\n items: z.array(z.string()).describe(\"List of field names to include in the export. Common system fields include: DocumentID, Sender, SenderName, Template, Recipient, ParsedAt, etc.\"),\n parser_id: z.string().describe(\"ID of the mailbox (parser) for which to create the custom download\"),\n csv_download: z.string().describe(\"Identifier or filename for the CSV download\"),\n xls_download: z.string().describe(\"Identifier or filename for the XLS download\"),\n parser_field_id: z.string().describe(\"Parser field ID starting with PF (required when type is PARSER_FIELD)\").optional(),\n parser_field_name: z.string().describe(\"Name of the parser field (required when type is PARSER_FIELD)\").optional(),\n}).describe(\"Request model for creating a custom download (export configuration) for a mailbox.\");\nconst ParseurCreateCustomDownload_ExportConfigTypeSchema: z.ZodTypeAny = z.enum([\"PARSER\", \"PARSER_FIELD\"]).describe(\"Type of export configuration.\");\nexport const ParseurCreateCustomDownloadOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Numeric ID of the export configuration\"),\n name: z.string().describe(\"Name of the custom download; null if not set\").nullable().optional(),\n type: ParseurCreateCustomDownload_ExportConfigTypeSchema.nullable(),\n items: z.array(z.string()).describe(\"List of field names included in the export\").nullable().optional(),\n csv_download: z.string().describe(\"Identifier for the CSV download\"),\n xls_download: z.string().describe(\"Identifier for the XLS download\"),\n parser_field_id: z.string().describe(\"Parser field ID starting with PF; null if not set\").nullable().optional(),\n parser_field_name: z.string().describe(\"Name of the parser field; null if not set\").nullable().optional(),\n}).describe(\"Response model for the create custom download action.\");\n\nexport const parseurCreateCustomDownload = action(\"PARSEUR_CREATE_CUSTOM_DOWNLOAD\", {\n slug: \"parseur-create-custom-download\",\n name: \"Create custom download\",\n description: \"Tool to create a custom download (export configuration) for a mailbox. Use when you need to define which fields should be exported to CSV or XLS format.\",\n input: ParseurCreateCustomDownloadInput,\n output: ParseurCreateCustomDownloadOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiD,EAAE,OAAO;CACrE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACxD,MAAM,EAAE,KAAK,CAAC,UAAU,cAAc,CAAC,CAAC,CAAC,QAAQ,QAAQ,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;CACzL,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iJAAiJ;CACrL,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;CACnG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CAC/E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CAC/E,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CACvH,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,SAAS,oFAAoF;AAChG,MAAM,qDAAmE,EAAE,KAAK,CAAC,UAAU,cAAc,CAAC,CAAC,CAAC,SAAS,+BAA+B;AAYpJ,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAhB6D,EAAE,OAAO;EACtE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC;EACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,MAAM,mDAAmD,SAAS;EAClE,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;EACnE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;EACnE,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,CAAC,CAAC,CAAC,SAAS,uDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-custom-download.mjs","names":[],"sources":["../../src/actions/create-custom-download.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseurCreateCustomDownloadInput = z.object({\n id: z.number().int().describe(\"Numeric ID for the export configuration\"),\n name: z.string().describe(\"Name for the custom download\"),\n type: z.enum([\"PARSER\", \"PARSER_FIELD\"]).default(\"PARSER\").describe(\"Type of export configuration: PARSER for full parser exports, or PARSER_FIELD for field-specific exports\").optional(),\n items: z.array(z.string()).describe(\"List of field names to include in the export. Common system fields include: DocumentID, Sender, SenderName, Template, Recipient, ParsedAt, etc.\"),\n parser_id: z.string().describe(\"ID of the mailbox (parser) for which to create the custom download\"),\n csv_download: z.string().describe(\"Identifier or filename for the CSV download\"),\n xls_download: z.string().describe(\"Identifier or filename for the XLS download\"),\n parser_field_id: z.string().describe(\"Parser field ID starting with PF (required when type is PARSER_FIELD)\").optional(),\n parser_field_name: z.string().describe(\"Name of the parser field (required when type is PARSER_FIELD)\").optional(),\n}).describe(\"Request model for creating a custom download (export configuration) for a mailbox.\");\nconst ParseurCreateCustomDownload_ExportConfigTypeSchema = z.enum([\"PARSER\", \"PARSER_FIELD\"]).describe(\"Type of export configuration.\");\nexport const ParseurCreateCustomDownloadOutput = z.object({\n id: z.number().int().describe(\"Numeric ID of the export configuration\").nullable(),\n name: z.string().describe(\"Name of the custom download; null if not set\").nullable().optional(),\n type: ParseurCreateCustomDownload_ExportConfigTypeSchema.nullable(),\n items: z.array(z.string()).describe(\"List of field names included in the export\").nullable().optional(),\n csv_download: z.string().describe(\"Identifier for the CSV download\").nullable(),\n xls_download: z.string().describe(\"Identifier for the XLS download\").nullable(),\n parser_field_id: z.string().describe(\"Parser field ID starting with PF; null if not set\").nullable().optional(),\n parser_field_name: z.string().describe(\"Name of the parser field; null if not set\").nullable().optional(),\n}).passthrough().describe(\"Response model for the create custom download action.\");\n\nexport const parseurCreateCustomDownload = action(\"PARSEUR_CREATE_CUSTOM_DOWNLOAD\", {\n slug: \"parseur-create-custom-download\",\n name: \"Create custom download\",\n description: \"Tool to create a custom download (export configuration) for a mailbox. Use when you need to define which fields should be exported to CSV or XLS format.\",\n input: ParseurCreateCustomDownloadInput,\n output: ParseurCreateCustomDownloadOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACxD,MAAM,EAAE,KAAK,CAAC,UAAU,cAAc,CAAC,CAAC,CAAC,QAAQ,QAAQ,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;CACzL,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iJAAiJ;CACrL,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;CACnG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CAC/E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CAC/E,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CACvH,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,SAAS,oFAAoF;AAChG,MAAM,qDAAqD,EAAE,KAAK,CAAC,UAAU,cAAc,CAAC,CAAC,CAAC,SAAS,+BAA+B;AAYtI,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAhB+C,EAAE,OAAO;EACxD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EACjF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,MAAM,mDAAmD,SAAS;EAClE,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EAC9E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EAC9E,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAOhB;AACV,CAAC"}
@@ -74,9 +74,9 @@ const ParseurCreateMailbox_AIEngineSchema = zod.z.enum([
74
74
  "GCP_AI_2_5"
75
75
  ]).describe("AI engine options for document parsing.");
76
76
  const ParseurCreateMailbox_TableItemSchema = zod.z.object({
77
- id: zod.z.string().describe("Table ID."),
78
- name: zod.z.string().describe("Table name.")
79
- }).describe("Table configuration item.");
77
+ id: zod.z.string().describe("Table ID.").nullable(),
78
+ name: zod.z.string().describe("Table name.").nullable()
79
+ }).passthrough().describe("Table configuration item.");
80
80
  const ParseurCreateMailbox_FileExtensionSchema = zod.z.enum([
81
81
  "bmp",
82
82
  "csv",
@@ -125,14 +125,14 @@ const ParseurCreateMailbox_MasterParserSlugSchema = zod.z.enum([
125
125
  "event-ticketing"
126
126
  ]).describe("Master parser template options.");
127
127
  const ParseurCreateMailbox_WebhookItemSchema = zod.z.object({
128
- id: zod.z.number().int().describe("Webhook ID."),
128
+ id: zod.z.number().int().describe("Webhook ID.").nullable(),
129
129
  name: zod.z.string().describe("Webhook name.").nullable().optional(),
130
- event: zod.z.string().describe("Event type for the webhook."),
131
- target: zod.z.string().describe("Target URL for the webhook."),
132
- headers: zod.z.object({}).describe("Custom headers for the webhook.").nullable().optional(),
133
- category: zod.z.string().describe("Webhook category."),
134
- parser_field_set: zod.z.array(zod.z.object({})).describe("Parser fields associated with the webhook.").nullable().optional()
135
- }).describe("Webhook configuration item.");
130
+ event: zod.z.string().describe("Event type for the webhook.").nullable(),
131
+ target: zod.z.string().describe("Target URL for the webhook.").nullable(),
132
+ headers: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom headers for the webhook.").nullable().optional(),
133
+ category: zod.z.string().describe("Webhook category.").nullable(),
134
+ parser_field_set: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Parser fields associated with the webhook.").nullable().optional()
135
+ }).passthrough().describe("Webhook configuration item.");
136
136
  const ParseurCreateMailbox_IdentificationStatusSchema = zod.z.enum([
137
137
  "REQUESTED",
138
138
  "PROGRESS",
@@ -140,50 +140,50 @@ const ParseurCreateMailbox_IdentificationStatusSchema = zod.z.enum([
140
140
  "MANUAL"
141
141
  ]).describe("Identification status options for the parser.");
142
142
  const ParseurCreateMailbox_DocumentStatusCountSchema = zod.z.object({
143
- SPLIT: zod.z.number().int().describe("Files split into multiple documents."),
144
- INVALID: zod.z.number().int().describe("Files not supported by the system and not processed."),
145
- SKIPPED: zod.z.number().int().describe("Files skipped because of a template."),
146
- TRANSKO: zod.z.number().int().describe("Files where Python post-processing failed."),
147
- EXPORTKO: zod.z.number().int().describe("Files where exporting parsed data failed."),
148
- INCOMING: zod.z.number().int().describe("Files received by the system awaiting processing."),
149
- PARSEDKO: zod.z.number().int().describe("Files where processing failed."),
150
- PARSEDOK: zod.z.number().int().describe("Files successfully processed with data available for export."),
151
- PROGRESS: zod.z.number().int().describe("Files currently being processed by active AI engine."),
152
- QUOTAEXC: zod.z.number().int().describe("Files where processing stopped due to insufficient credits."),
153
- ANALYZING: zod.z.number().int().describe("Files being analyzed against system parameters.")
154
- }).describe("Breakdown of documents by processing status.");
143
+ SPLIT: zod.z.number().int().describe("Files split into multiple documents.").nullable(),
144
+ INVALID: zod.z.number().int().describe("Files not supported by the system and not processed.").nullable(),
145
+ SKIPPED: zod.z.number().int().describe("Files skipped because of a template.").nullable(),
146
+ TRANSKO: zod.z.number().int().describe("Files where Python post-processing failed.").nullable(),
147
+ EXPORTKO: zod.z.number().int().describe("Files where exporting parsed data failed.").nullable(),
148
+ INCOMING: zod.z.number().int().describe("Files received by the system awaiting processing.").nullable(),
149
+ PARSEDKO: zod.z.number().int().describe("Files where processing failed.").nullable(),
150
+ PARSEDOK: zod.z.number().int().describe("Files successfully processed with data available for export.").nullable(),
151
+ PROGRESS: zod.z.number().int().describe("Files currently being processed by active AI engine.").nullable(),
152
+ QUOTAEXC: zod.z.number().int().describe("Files where processing stopped due to insufficient credits.").nullable(),
153
+ ANALYZING: zod.z.number().int().describe("Files being analyzed against system parameters.").nullable()
154
+ }).passthrough().describe("Breakdown of documents by processing status.");
155
155
  const ParseurCreateMailboxOutput = zod.z.object({
156
- id: zod.z.number().int().describe("The internal ID number for the parser."),
156
+ id: zod.z.number().int().describe("The internal ID number for the parser.").nullable(),
157
157
  name: zod.z.string().describe("The name of the parser.").nullable().optional(),
158
- secret: zod.z.string().describe("Secret key for the parser."),
158
+ secret: zod.z.string().describe("Secret key for the parser.").nullable(),
159
159
  ai_engine: ParseurCreateMailbox_AIEngineSchema.nullable(),
160
160
  force_ocr: zod.z.boolean().describe("Whether Parseur runs its own OCR on every document.").nullable().optional(),
161
- is_master: zod.z.boolean().describe("Whether this is a master parser that passes its instructions to others."),
161
+ is_master: zod.z.boolean().describe("Whether this is a master parser that passes its instructions to others.").nullable(),
162
162
  table_set: zod.z.array(ParseurCreateMailbox_TableItemSchema).describe("List of tables configured in the parser."),
163
- account_uuid: zod.z.string().describe("The Universally Unique Identifier for your account."),
164
- csv_download: zod.z.string().describe("URL to download data as CSV."),
163
+ account_uuid: zod.z.string().describe("The Universally Unique Identifier for your account.").nullable(),
164
+ csv_download: zod.z.string().describe("URL to download data as CSV.").nullable(),
165
165
  email_prefix: zod.z.string().describe("The email prefix for the parser.").nullable().optional(),
166
- xls_download: zod.z.string().describe("URL to download data as XLS."),
167
- can_transform: zod.z.boolean().describe("Whether Python Post-Processing is enabled for this parser."),
168
- json_download: zod.z.string().describe("URL to download data as JSON."),
169
- last_activity: zod.z.string().describe("Timestamp of last activity (ISO 8601 format)."),
166
+ xls_download: zod.z.string().describe("URL to download data as XLS.").nullable(),
167
+ can_transform: zod.z.boolean().describe("Whether Python Post-Processing is enabled for this parser.").nullable(),
168
+ json_download: zod.z.string().describe("URL to download data as JSON.").nullable(),
169
+ last_activity: zod.z.string().describe("Timestamp of last activity (ISO 8601 format).").nullable(),
170
170
  webhook_count: zod.z.number().int().describe("The number of webhooks the parser has.").nullable().optional(),
171
- document_count: zod.z.number().int().describe("The number of documents in the parser."),
171
+ document_count: zod.z.number().int().describe("The number of documents in the parser.").nullable(),
172
172
  template_count: zod.z.number().int().describe("The number of templates the parser has.").nullable().optional(),
173
173
  ai_instructions: zod.z.string().describe("General AI instruction for this parser.").nullable().optional(),
174
- attachments_only: zod.z.boolean().describe("Whether the parser skips email processing."),
174
+ attachments_only: zod.z.boolean().describe("Whether the parser skips email processing.").nullable(),
175
175
  retention_policy: zod.z.number().int().describe("How many days documents and data are stored before deletion.").nullable().optional(),
176
176
  allowed_extensions: zod.z.array(ParseurCreateMailbox_FileExtensionSchema).describe("List of file extensions to process. If not present, all extensions are enabled.").nullable().optional(),
177
177
  master_parser_name: zod.z.string().describe("The name of this parser's master parser.").nullable().optional(),
178
178
  master_parser_slug: ParseurCreateMailbox_MasterParserSlugSchema.nullable().optional(),
179
- parser_object_count: zod.z.number().int().describe("The total number of field and metadata outputs currently configured in the parser."),
179
+ parser_object_count: zod.z.number().int().describe("The total number of field and metadata outputs currently configured in the parser.").nullable(),
180
180
  process_attachments: zod.z.boolean().describe("Whether email attachment processing is enabled.").nullable().optional(),
181
181
  available_webhook_set: zod.z.array(ParseurCreateMailbox_WebhookItemSchema).describe("List of available webhooks for the parser."),
182
182
  identification_status: ParseurCreateMailbox_IdentificationStatusSchema.nullable().optional(),
183
183
  document_per_status_count: ParseurCreateMailbox_DocumentStatusCountSchema.nullable(),
184
184
  template_set_last_modified: zod.z.string().describe("Timestamp when templates were last modified.").nullable().optional(),
185
185
  parser_object_set_last_modified: zod.z.string().describe("Timestamp when parser objects were last modified.").nullable().optional()
186
- }).describe("Response containing the created mailbox details.");
186
+ }).passthrough().describe("Response containing the created mailbox details.");
187
187
  const parseurCreateMailbox = require_action.action("PARSEUR_CREATE_MAILBOX", {
188
188
  slug: "parseur-create-mailbox",
189
189
  name: "Create mailbox",