@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":"list-mailboxes2.mjs","names":[],"sources":["../../src/actions/list-mailboxes2.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseurListMailboxes2Input: z.ZodTypeAny = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination (default is 1).\").optional(),\n search: z.string().describe(\"Case-insensitive partial match search to filter mailboxes by name or email prefix.\").optional(),\n ordering: z.enum([\"name\", \"-name\", \"document_count\", \"-document_count\", \"template_count\", \"-template_count\", \"PARSEDOK_count\", \"-PARSEDOK_count\", \"PARSEDKO_count\", \"-PARSEDKO_count\", \"QUOTAEXC_count\", \"-QUOTAEXC_count\", \"EXPORTKO_count\", \"-EXPORTKO_count\", \"TRANSKO_count\", \"-TRANSKO_count\"]).describe(\"Ordering options for mailbox list.\").optional(),\n page_size: z.number().int().default(25).describe(\"Number of results per page (default is 25, maximum 100).\").optional(),\n}).describe(\"Request parameters for listing mailboxes (parsers).\");\nconst ParseurListMailboxes2_PageRangeItemSchema: z.ZodTypeAny = z.object({\n end_page: z.number().int().describe(\"Ending page number.\").nullable().optional(),\n start_page: z.number().int().describe(\"Starting page number.\").nullable().optional(),\n}).describe(\"Page range specification.\");\nconst ParseurListMailboxes2_DocumentStatusCountSchema: z.ZodTypeAny = z.object({\n SPLIT: z.number().int().describe(\"Documents that were split.\").nullable().optional(),\n DELETED: z.number().int().describe(\"Documents that were deleted.\").nullable().optional(),\n INVALID: z.number().int().describe(\"Invalid documents.\").nullable().optional(),\n SKIPPED: z.number().int().describe(\"Documents that were skipped.\").nullable().optional(),\n TRANSKO: z.number().int().describe(\"Documents with transformation errors.\").nullable().optional(),\n EXPORTKO: z.number().int().describe(\"Documents that failed export.\").nullable().optional(),\n INCOMING: z.number().int().describe(\"Documents waiting to be processed.\").nullable().optional(),\n PARSEDKO: z.number().int().describe(\"Documents that failed parsing.\").nullable().optional(),\n PARSEDOK: z.number().int().describe(\"Documents successfully parsed.\").nullable().optional(),\n PROGRESS: z.number().int().describe(\"Documents in progress.\").nullable().optional(),\n QUOTAEXC: z.number().int().describe(\"Documents that exceeded quota.\").nullable().optional(),\n ANALYZING: z.number().int().describe(\"Documents currently being analyzed.\").nullable().optional(),\n}).describe(\"Counts of documents grouped by processing status.\");\nconst ParseurListMailboxes2_MailboxSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier for the mailbox.\"),\n name: z.string().describe(\"Display name of the mailbox.\"),\n cc_field: z.boolean().default(false).describe(\"Whether CC field is enabled.\").nullable().optional(),\n to_field: z.boolean().default(false).describe(\"Whether 'To' field is enabled.\").nullable().optional(),\n ai_engine: z.string().describe(\"AI engine used for parsing.\").nullable().optional(),\n bcc_field: z.boolean().default(false).describe(\"Whether BCC field is enabled.\").nullable().optional(),\n force_ocr: z.boolean().default(false).describe(\"Whether to force OCR processing.\").nullable().optional(),\n is_master: z.boolean().default(false).describe(\"Whether this is a master parser.\").nullable().optional(),\n odd_pages: z.boolean().default(false).describe(\"Whether to process odd pages only.\").nullable().optional(),\n table_set: z.array(z.object({})).describe(\"List of table configurations.\").nullable().optional(),\n even_pages: z.boolean().default(false).describe(\"Whether to process even pages only.\").nullable().optional(),\n split_page: z.number().int().describe(\"Page number to split at.\").nullable().optional(),\n webhook_set: z.array(z.object({})).describe(\"List of webhook configurations.\").nullable().optional(),\n account_uuid: z.string().describe(\"UUID of the account that owns this mailbox.\").nullable().optional(),\n email_prefix: z.string().describe(\"Email prefix for this mailbox (used to receive documents via email).\"),\n sender_field: z.boolean().default(false).describe(\"Whether sender field is enabled.\").nullable().optional(),\n can_transform: z.boolean().default(false).describe(\"Whether transformation is available.\").nullable().optional(),\n content_field: z.boolean().default(false).describe(\"Whether content field is enabled.\").nullable().optional(),\n headers_field: z.boolean().default(false).describe(\"Whether headers field is enabled.\").nullable().optional(),\n last_activity: z.string().describe(\"Timestamp of last activity (ISO 8601 format).\").nullable().optional(),\n subject_field: z.boolean().default(false).describe(\"Whether subject field is enabled.\").nullable().optional(),\n webhook_count: z.number().int().default(0).describe(\"Number of webhooks configured.\").nullable().optional(),\n disable_deskew: z.boolean().default(false).describe(\"Whether deskew is disabled.\").nullable().optional(),\n document_count: z.number().int().default(0).describe(\"Total number of documents in this mailbox.\").nullable().optional(),\n page_range_set: z.array(ParseurListMailboxes2_PageRangeItemSchema).describe(\"List of page ranges to process.\").nullable().optional(),\n received_field: z.boolean().default(false).describe(\"Whether received field is enabled.\").nullable().optional(),\n reply_to_field: z.boolean().default(false).describe(\"Whether reply-to field is enabled.\").nullable().optional(),\n split_keywords: z.array(z.string()).describe(\"Keywords used for document splitting.\").nullable().optional(),\n template_count: z.number().int().default(0).describe(\"Number of parsing templates configured.\").nullable().optional(),\n template_field: z.boolean().default(false).describe(\"Whether template field is enabled.\").nullable().optional(),\n parent_id_field: z.boolean().default(false).describe(\"Whether parent ID field is enabled.\").nullable().optional(),\n processed_field: z.boolean().default(false).describe(\"Whether processed field is enabled.\").nullable().optional(),\n recipient_field: z.boolean().default(false).describe(\"Whether recipient field is enabled.\").nullable().optional(),\n attachments_only: z.boolean().default(false).describe(\"Whether to process attachments only.\").nullable().optional(),\n enable_image_ocr: z.boolean().default(false).describe(\"Whether image OCR is enabled.\").nullable().optional(),\n last_reply_field: z.boolean().default(false).describe(\"Whether last reply field is enabled.\").nullable().optional(),\n mailbox_id_field: z.boolean().default(false).describe(\"Whether mailbox ID field is enabled.\").nullable().optional(),\n page_count_field: z.boolean().default(false).describe(\"Whether page count field is enabled.\").nullable().optional(),\n retention_policy: z.number().int().describe(\"Number of days to retain documents (null for indefinite).\").nullable().optional(),\n attachments_field: z.boolean().default(false).describe(\"Whether attachments field is enabled.\").nullable().optional(),\n document_id_field: z.boolean().default(false).describe(\"Whether document ID field is enabled.\").nullable().optional(),\n sender_name_field: z.boolean().default(false).describe(\"Whether sender name field is enabled.\").nullable().optional(),\n credit_count_field: z.boolean().default(false).describe(\"Whether credit count field is enabled.\").nullable().optional(),\n document_url_field: z.boolean().default(false).describe(\"Whether document URL field is enabled.\").nullable().optional(),\n html_document_field: z.boolean().default(false).describe(\"Whether HTML document field is enabled.\").nullable().optional(),\n parser_object_count: z.number().int().default(0).describe(\"Number of parser objects configured.\").nullable().optional(),\n process_attachments: z.boolean().default(false).describe(\"Whether to process attachments.\").nullable().optional(),\n received_date_field: z.boolean().default(false).describe(\"Whether received date field is enabled.\").nullable().optional(),\n received_time_field: z.boolean().default(false).describe(\"Whether received time field is enabled.\").nullable().optional(),\n text_document_field: z.boolean().default(false).describe(\"Whether text document field is enabled.\").nullable().optional(),\n enable_layouted_text: z.boolean().default(false).describe(\"Whether layouted text extraction is enabled.\").nullable().optional(),\n parsing_engine_field: z.boolean().default(false).describe(\"Whether parsing engine field is enabled.\").nullable().optional(),\n processed_date_field: z.boolean().default(false).describe(\"Whether processed date field is enabled.\").nullable().optional(),\n processed_time_field: z.boolean().default(false).describe(\"Whether processed time field is enabled.\").nullable().optional(),\n searchable_pdf_field: z.boolean().default(false).describe(\"Whether searchable PDF field is enabled.\").nullable().optional(),\n split_page_range_set: z.array(ParseurListMailboxes2_PageRangeItemSchema).describe(\"List of split page ranges.\").nullable().optional(),\n available_webhook_set: z.array(z.object({})).describe(\"List of available webhook configurations.\").nullable().optional(),\n recipient_suffix_field: z.boolean().default(false).describe(\"Whether recipient suffix field is enabled.\").nullable().optional(),\n split_page_range_field: z.boolean().default(false).describe(\"Whether split page range field is enabled.\").nullable().optional(),\n original_document_field: z.boolean().default(false).describe(\"Whether original document field is enabled.\").nullable().optional(),\n original_recipient_field: z.boolean().default(false).describe(\"Whether original recipient field is enabled.\").nullable().optional(),\n attachments_only_override: z.boolean().describe(\"Override for attachments_only setting.\").nullable().optional(),\n document_per_status_count: ParseurListMailboxes2_DocumentStatusCountSchema.nullable().optional(),\n public_document_url_field: z.boolean().default(false).describe(\"Whether public document URL field is enabled.\").nullable().optional(),\n parser_object_set_last_modified: z.string().describe(\"Timestamp when parser objects were last modified (ISO 8601 format).\").nullable().optional(),\n}).describe(\"A Parseur mailbox (parser) configuration with full details.\");\nexport const ParseurListMailboxes2Output: z.ZodTypeAny = z.object({\n count: z.number().int().describe(\"Total number of mailboxes matching the query.\"),\n total: z.number().int().describe(\"Total number of pages available.\"),\n current: z.number().int().describe(\"Current page number (1-indexed).\"),\n results: z.array(ParseurListMailboxes2_MailboxSchema).describe(\"List of mailbox objects on the current page with full configuration.\"),\n}).describe(\"Paginated response containing mailbox listings with complete configuration details.\");\n\nexport const parseurListMailboxes2 = action(\"PARSEUR_LIST_MAILBOXES2\", {\n slug: \"parseur-list-mailboxes2\",\n name: \"List Mailboxes (Full Details)\",\n description: \"Tool to list mailboxes (parsers) with full configuration details. Returns paginated list of all mailboxes with document counts, processing statistics, and complete configuration settings. Use when you need comprehensive mailbox information including field configurations, processing options, and webhook settings.\",\n input: ParseurListMailboxes2Input,\n output: ParseurListMailboxes2Output,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2C,EAAE,OAAO;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAClG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CAC3H,UAAU,EAAE,KAAK;EAAC;EAAQ;EAAS;EAAkB;EAAmB;EAAkB;EAAmB;EAAkB;EAAmB;EAAkB;EAAmB;EAAkB;EAAmB;EAAkB;EAAmB;EAAiB;CAAgB,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC7V,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,C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,SAAS,CAAC,CAAC,SAAS;CAC/F,2BAA2B,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpI,iCAAiC,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClJ,CAAC,CAAC,CAAC,SAAS,6DAA6D;AAQzE,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZuD,EAAE,OAAO;EAChE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C;EAChF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC;EACnE,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC;EACrE,SAAS,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,sEAAsE;CACvI,CAAC,CAAC,CAAC,SAAS,qFAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-mailboxes2.mjs","names":[],"sources":["../../src/actions/list-mailboxes2.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseurListMailboxes2Input = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination (default is 1).\").optional(),\n search: z.string().describe(\"Case-insensitive partial match search to filter mailboxes by name or email prefix.\").optional(),\n ordering: z.enum([\"name\", \"-name\", \"document_count\", \"-document_count\", \"template_count\", \"-template_count\", \"PARSEDOK_count\", \"-PARSEDOK_count\", \"PARSEDKO_count\", \"-PARSEDKO_count\", \"QUOTAEXC_count\", \"-QUOTAEXC_count\", \"EXPORTKO_count\", \"-EXPORTKO_count\", \"TRANSKO_count\", \"-TRANSKO_count\"]).describe(\"Ordering options for mailbox list.\").optional(),\n page_size: z.number().int().default(25).describe(\"Number of results per page (default is 25, maximum 100).\").optional(),\n}).describe(\"Request parameters for listing mailboxes (parsers).\");\nconst ParseurListMailboxes2_PageRangeItemSchema = z.object({\n end_page: z.number().int().describe(\"Ending page number.\").nullable().optional(),\n start_page: z.number().int().describe(\"Starting page number.\").nullable().optional(),\n}).passthrough().describe(\"Page range specification.\");\nconst ParseurListMailboxes2_DocumentStatusCountSchema = z.object({\n SPLIT: z.number().int().describe(\"Documents that were split.\").nullable().optional(),\n DELETED: z.number().int().describe(\"Documents that were deleted.\").nullable().optional(),\n INVALID: z.number().int().describe(\"Invalid documents.\").nullable().optional(),\n SKIPPED: z.number().int().describe(\"Documents that were skipped.\").nullable().optional(),\n TRANSKO: z.number().int().describe(\"Documents with transformation errors.\").nullable().optional(),\n EXPORTKO: z.number().int().describe(\"Documents that failed export.\").nullable().optional(),\n INCOMING: z.number().int().describe(\"Documents waiting to be processed.\").nullable().optional(),\n PARSEDKO: z.number().int().describe(\"Documents that failed parsing.\").nullable().optional(),\n PARSEDOK: z.number().int().describe(\"Documents successfully parsed.\").nullable().optional(),\n PROGRESS: z.number().int().describe(\"Documents in progress.\").nullable().optional(),\n QUOTAEXC: z.number().int().describe(\"Documents that exceeded quota.\").nullable().optional(),\n ANALYZING: z.number().int().describe(\"Documents currently being analyzed.\").nullable().optional(),\n}).passthrough().describe(\"Counts of documents grouped by processing status.\");\nconst ParseurListMailboxes2_MailboxSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the mailbox.\").nullable(),\n name: z.string().describe(\"Display name of the mailbox.\").nullable(),\n cc_field: z.boolean().default(false).describe(\"Whether CC field is enabled.\").nullable().optional(),\n to_field: z.boolean().default(false).describe(\"Whether 'To' field is enabled.\").nullable().optional(),\n ai_engine: z.string().describe(\"AI engine used for parsing.\").nullable().optional(),\n bcc_field: z.boolean().default(false).describe(\"Whether BCC field is enabled.\").nullable().optional(),\n force_ocr: z.boolean().default(false).describe(\"Whether to force OCR processing.\").nullable().optional(),\n is_master: z.boolean().default(false).describe(\"Whether this is a master parser.\").nullable().optional(),\n odd_pages: z.boolean().default(false).describe(\"Whether to process odd pages only.\").nullable().optional(),\n table_set: z.array(z.record(z.string(), z.unknown())).describe(\"List of table configurations.\").nullable().optional(),\n even_pages: z.boolean().default(false).describe(\"Whether to process even pages only.\").nullable().optional(),\n split_page: z.number().int().describe(\"Page number to split at.\").nullable().optional(),\n webhook_set: z.array(z.record(z.string(), z.unknown())).describe(\"List of webhook configurations.\").nullable().optional(),\n account_uuid: z.string().describe(\"UUID of the account that owns this mailbox.\").nullable().optional(),\n email_prefix: z.string().describe(\"Email prefix for this mailbox (used to receive documents via email).\").nullable(),\n sender_field: z.boolean().default(false).describe(\"Whether sender field is enabled.\").nullable().optional(),\n can_transform: z.boolean().default(false).describe(\"Whether transformation is available.\").nullable().optional(),\n content_field: z.boolean().default(false).describe(\"Whether content field is enabled.\").nullable().optional(),\n headers_field: z.boolean().default(false).describe(\"Whether headers field is enabled.\").nullable().optional(),\n last_activity: z.string().describe(\"Timestamp of last activity (ISO 8601 format).\").nullable().optional(),\n subject_field: z.boolean().default(false).describe(\"Whether subject field is enabled.\").nullable().optional(),\n webhook_count: z.number().int().default(0).describe(\"Number of webhooks configured.\").nullable().optional(),\n disable_deskew: z.boolean().default(false).describe(\"Whether deskew is disabled.\").nullable().optional(),\n document_count: z.number().int().default(0).describe(\"Total number of documents in this mailbox.\").nullable().optional(),\n page_range_set: z.array(ParseurListMailboxes2_PageRangeItemSchema).describe(\"List of page ranges to process.\").nullable().optional(),\n received_field: z.boolean().default(false).describe(\"Whether received field is enabled.\").nullable().optional(),\n reply_to_field: z.boolean().default(false).describe(\"Whether reply-to field is enabled.\").nullable().optional(),\n split_keywords: z.array(z.string()).describe(\"Keywords used for document splitting.\").nullable().optional(),\n template_count: z.number().int().default(0).describe(\"Number of parsing templates configured.\").nullable().optional(),\n template_field: z.boolean().default(false).describe(\"Whether template field is enabled.\").nullable().optional(),\n parent_id_field: z.boolean().default(false).describe(\"Whether parent ID field is enabled.\").nullable().optional(),\n processed_field: z.boolean().default(false).describe(\"Whether processed field is enabled.\").nullable().optional(),\n recipient_field: z.boolean().default(false).describe(\"Whether recipient field is enabled.\").nullable().optional(),\n attachments_only: z.boolean().default(false).describe(\"Whether to process attachments only.\").nullable().optional(),\n enable_image_ocr: z.boolean().default(false).describe(\"Whether image OCR is enabled.\").nullable().optional(),\n last_reply_field: z.boolean().default(false).describe(\"Whether last reply field is enabled.\").nullable().optional(),\n mailbox_id_field: z.boolean().default(false).describe(\"Whether mailbox ID field is enabled.\").nullable().optional(),\n page_count_field: z.boolean().default(false).describe(\"Whether page count field is enabled.\").nullable().optional(),\n retention_policy: z.number().int().describe(\"Number of days to retain documents (null for indefinite).\").nullable().optional(),\n attachments_field: z.boolean().default(false).describe(\"Whether attachments field is enabled.\").nullable().optional(),\n document_id_field: z.boolean().default(false).describe(\"Whether document ID field is enabled.\").nullable().optional(),\n sender_name_field: z.boolean().default(false).describe(\"Whether sender name field is enabled.\").nullable().optional(),\n credit_count_field: z.boolean().default(false).describe(\"Whether credit count field is enabled.\").nullable().optional(),\n document_url_field: z.boolean().default(false).describe(\"Whether document URL field is enabled.\").nullable().optional(),\n html_document_field: z.boolean().default(false).describe(\"Whether HTML document field is enabled.\").nullable().optional(),\n parser_object_count: z.number().int().default(0).describe(\"Number of parser objects configured.\").nullable().optional(),\n process_attachments: z.boolean().default(false).describe(\"Whether to process attachments.\").nullable().optional(),\n received_date_field: z.boolean().default(false).describe(\"Whether received date field is enabled.\").nullable().optional(),\n received_time_field: z.boolean().default(false).describe(\"Whether received time field is enabled.\").nullable().optional(),\n text_document_field: z.boolean().default(false).describe(\"Whether text document field is enabled.\").nullable().optional(),\n enable_layouted_text: z.boolean().default(false).describe(\"Whether layouted text extraction is enabled.\").nullable().optional(),\n parsing_engine_field: z.boolean().default(false).describe(\"Whether parsing engine field is enabled.\").nullable().optional(),\n processed_date_field: z.boolean().default(false).describe(\"Whether processed date field is enabled.\").nullable().optional(),\n processed_time_field: z.boolean().default(false).describe(\"Whether processed time field is enabled.\").nullable().optional(),\n searchable_pdf_field: z.boolean().default(false).describe(\"Whether searchable PDF field is enabled.\").nullable().optional(),\n split_page_range_set: z.array(ParseurListMailboxes2_PageRangeItemSchema).describe(\"List of split page ranges.\").nullable().optional(),\n available_webhook_set: z.array(z.record(z.string(), z.unknown())).describe(\"List of available webhook configurations.\").nullable().optional(),\n recipient_suffix_field: z.boolean().default(false).describe(\"Whether recipient suffix field is enabled.\").nullable().optional(),\n split_page_range_field: z.boolean().default(false).describe(\"Whether split page range field is enabled.\").nullable().optional(),\n original_document_field: z.boolean().default(false).describe(\"Whether original document field is enabled.\").nullable().optional(),\n original_recipient_field: z.boolean().default(false).describe(\"Whether original recipient field is enabled.\").nullable().optional(),\n attachments_only_override: z.boolean().describe(\"Override for attachments_only setting.\").nullable().optional(),\n document_per_status_count: ParseurListMailboxes2_DocumentStatusCountSchema.nullable().optional(),\n public_document_url_field: z.boolean().default(false).describe(\"Whether public document URL field is enabled.\").nullable().optional(),\n parser_object_set_last_modified: z.string().describe(\"Timestamp when parser objects were last modified (ISO 8601 format).\").nullable().optional(),\n}).passthrough().describe(\"A Parseur mailbox (parser) configuration with full details.\");\nexport const ParseurListMailboxes2Output = z.object({\n count: z.number().int().describe(\"Total number of mailboxes matching the query.\").nullable(),\n total: z.number().int().describe(\"Total number of pages available.\").nullable(),\n current: z.number().int().describe(\"Current page number (1-indexed).\").nullable(),\n results: z.array(ParseurListMailboxes2_MailboxSchema).describe(\"List of mailbox objects on the current page with full configuration.\"),\n}).passthrough().describe(\"Paginated response containing mailbox listings with complete configuration details.\");\n\nexport const parseurListMailboxes2 = action(\"PARSEUR_LIST_MAILBOXES2\", {\n slug: \"parseur-list-mailboxes2\",\n name: \"List Mailboxes (Full Details)\",\n description: \"Tool to list mailboxes (parsers) with full configuration details. Returns paginated list of all mailboxes with document counts, processing statistics, and complete configuration settings. Use when you need comprehensive mailbox information including field configurations, processing options, and webhook settings.\",\n input: ParseurListMailboxes2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AAS,kCAAkC,CAAC,CAAC,SAAS;EAC9E,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAChF,SAAS,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,sEAAsE;CACvI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qFAOhB;AACV,CAAC"}
@@ -22,20 +22,20 @@ const ParseurListTemplatesInput = zod.z.object({
22
22
  mailbox_id: zod.z.string().describe("The numeric ID of the mailbox (parser) to list templates for. Obtain this from the List Mailboxes action.")
23
23
  });
24
24
  const ParseurListTemplates_TemplateItemSchema = zod.z.object({
25
- id: zod.z.number().int().describe("Unique template identifier."),
26
- name: zod.z.string().describe("Name of the template."),
27
- status: zod.z.string().describe("Current status of the template (e.g. ACTIVE)."),
28
- created: zod.z.string().describe("When the template was first created (ISO 8601)."),
29
- modified: zod.z.string().describe("When the template was last updated (ISO 8601)."),
30
- last_activity: zod.z.string().describe("Last time this template was used (ISO 8601)."),
31
- document_count: zod.z.number().int().describe("Number of documents matched by this template.")
32
- });
25
+ id: zod.z.number().int().describe("Unique template identifier.").nullable(),
26
+ name: zod.z.string().describe("Name of the template.").nullable(),
27
+ status: zod.z.string().describe("Current status of the template (e.g. ACTIVE).").nullable(),
28
+ created: zod.z.string().describe("When the template was first created (ISO 8601).").nullable(),
29
+ modified: zod.z.string().describe("When the template was last updated (ISO 8601).").nullable(),
30
+ last_activity: zod.z.string().describe("Last time this template was used (ISO 8601).").nullable(),
31
+ document_count: zod.z.number().int().describe("Number of documents matched by this template.").nullable()
32
+ }).passthrough();
33
33
  const ParseurListTemplatesOutput = zod.z.object({
34
- count: zod.z.number().int().describe("Total number of templates in this mailbox."),
35
- total: zod.z.number().int().describe("Total number of pages available."),
36
- current: zod.z.number().int().describe("Current page number."),
34
+ count: zod.z.number().int().describe("Total number of templates in this mailbox.").nullable(),
35
+ total: zod.z.number().int().describe("Total number of pages available.").nullable(),
36
+ current: zod.z.number().int().describe("Current page number.").nullable(),
37
37
  results: zod.z.array(ParseurListTemplates_TemplateItemSchema).describe("List of templates on the requested page.").nullable().optional()
38
- });
38
+ }).passthrough();
39
39
  const parseurListTemplates = require_action.action("PARSEUR_LIST_TEMPLATES", {
40
40
  slug: "parseur-list-templates",
41
41
  name: "List Templates for Mailbox",
@@ -1 +1 @@
1
- {"version":3,"file":"list-templates.cjs","names":["z","action"],"sources":["../../src/actions/list-templates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseurListTemplatesInput: z.ZodTypeAny = z.object({\n page: z.number().int().default(1).describe(\"Page number to retrieve (pagination). Defaults to 1.\").optional(),\n search: z.string().describe(\"Filter templates whose name contains this string (case-insensitive).\").optional(),\n ordering: z.enum([\"name\", \"-name\", \"created\", \"-created\", \"modified\", \"-modified\", \"last_activity\", \"-last_activity\", \"status\", \"-status\", \"document_count\", \"-document_count\"]).describe(\"Field to sort by. Prepend a minus to reverse order. Supported: name, created, modified, last_activity, status, document_count.\").optional(),\n page_size: z.number().int().default(25).describe(\"Number of items per page. Defaults to 25.\").optional(),\n mailbox_id: z.string().describe(\"The numeric ID of the mailbox (parser) to list templates for. Obtain this from the List Mailboxes action.\"),\n});\nconst ParseurListTemplates_TemplateItemSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique template identifier.\"),\n name: z.string().describe(\"Name of the template.\"),\n status: z.string().describe(\"Current status of the template (e.g. ACTIVE).\"),\n created: z.string().describe(\"When the template was first created (ISO 8601).\"),\n modified: z.string().describe(\"When the template was last updated (ISO 8601).\"),\n last_activity: z.string().describe(\"Last time this template was used (ISO 8601).\"),\n document_count: z.number().int().describe(\"Number of documents matched by this template.\"),\n});\nexport const ParseurListTemplatesOutput: z.ZodTypeAny = z.object({\n count: z.number().int().describe(\"Total number of templates in this mailbox.\"),\n total: z.number().int().describe(\"Total number of pages available.\"),\n current: z.number().int().describe(\"Current page number.\"),\n results: z.array(ParseurListTemplates_TemplateItemSchema).describe(\"List of templates on the requested page.\").nullable().optional(),\n});\n\nexport const parseurListTemplates = action(\"PARSEUR_LIST_TEMPLATES\", {\n slug: \"parseur-list-templates\",\n name: \"List Templates for Mailbox\",\n description: \"Tool to list all templates in a given mailbox. Use after fetching mailbox details when you need to page through and inspect available templates for further actions.\",\n input: ParseurListTemplatesInput,\n output: ParseurListTemplatesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC5G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC7G,UAAUA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAS;EAAW;EAAY;EAAY;EAAa;EAAiB;EAAkB;EAAU;EAAW;EAAkB;CAAiB,CAAC,CAAC,CAAC,SAAS,gIAAgI,CAAC,CAAC,SAAS;CACrU,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACvG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G;AAC7I,CAAC;AACD,MAAM,0CAAwDA,IAAAA,EAAE,OAAO;CACrE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACjD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC3E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC9E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAC9E,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CACjF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C;AAC3F,CAAC;AACD,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C;CAC7E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC;CACnE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB;CACzD,SAASA,IAAAA,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrI,CAAC;AAED,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-templates.cjs","names":["z","action"],"sources":["../../src/actions/list-templates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseurListTemplatesInput = z.object({\n page: z.number().int().default(1).describe(\"Page number to retrieve (pagination). Defaults to 1.\").optional(),\n search: z.string().describe(\"Filter templates whose name contains this string (case-insensitive).\").optional(),\n ordering: z.enum([\"name\", \"-name\", \"created\", \"-created\", \"modified\", \"-modified\", \"last_activity\", \"-last_activity\", \"status\", \"-status\", \"document_count\", \"-document_count\"]).describe(\"Field to sort by. Prepend a minus to reverse order. Supported: name, created, modified, last_activity, status, document_count.\").optional(),\n page_size: z.number().int().default(25).describe(\"Number of items per page. Defaults to 25.\").optional(),\n mailbox_id: z.string().describe(\"The numeric ID of the mailbox (parser) to list templates for. Obtain this from the List Mailboxes action.\"),\n});\nconst ParseurListTemplates_TemplateItemSchema = z.object({\n id: z.number().int().describe(\"Unique template identifier.\").nullable(),\n name: z.string().describe(\"Name of the template.\").nullable(),\n status: z.string().describe(\"Current status of the template (e.g. ACTIVE).\").nullable(),\n created: z.string().describe(\"When the template was first created (ISO 8601).\").nullable(),\n modified: z.string().describe(\"When the template was last updated (ISO 8601).\").nullable(),\n last_activity: z.string().describe(\"Last time this template was used (ISO 8601).\").nullable(),\n document_count: z.number().int().describe(\"Number of documents matched by this template.\").nullable(),\n}).passthrough();\nexport const ParseurListTemplatesOutput = z.object({\n count: z.number().int().describe(\"Total number of templates in this mailbox.\").nullable(),\n total: z.number().int().describe(\"Total number of pages available.\").nullable(),\n current: z.number().int().describe(\"Current page number.\").nullable(),\n results: z.array(ParseurListTemplates_TemplateItemSchema).describe(\"List of templates on the requested page.\").nullable().optional(),\n}).passthrough();\n\nexport const parseurListTemplates = action(\"PARSEUR_LIST_TEMPLATES\", {\n slug: \"parseur-list-templates\",\n name: \"List Templates for Mailbox\",\n description: \"Tool to list all templates in a given mailbox. Use after fetching mailbox details when you need to page through and inspect available templates for further actions.\",\n input: ParseurListTemplatesInput,\n output: ParseurListTemplatesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC5G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC7G,UAAUA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAS;EAAW;EAAY;EAAY;EAAa;EAAiB;EAAkB;EAAU;EAAW;EAAkB;CAAiB,CAAC,CAAC,CAAC,SAAS,gIAAgI,CAAC,CAAC,SAAS;CACrU,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,S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MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,47 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-templates.d.ts
4
- declare const ParseurListTemplatesInput: z.ZodTypeAny;
5
- declare const ParseurListTemplatesOutput: z.ZodTypeAny;
6
- declare const parseurListTemplates: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ParseurListTemplatesInput: z.ZodObject<{
5
+ page: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
6
+ search: z.ZodOptional<z.ZodString>;
7
+ ordering: z.ZodOptional<z.ZodEnum<{
8
+ name: "name";
9
+ last_activity: "last_activity";
10
+ document_count: "document_count";
11
+ status: "status";
12
+ created: "created";
13
+ "-name": "-name";
14
+ "-created": "-created";
15
+ modified: "modified";
16
+ "-modified": "-modified";
17
+ "-status": "-status";
18
+ "-last_activity": "-last_activity";
19
+ "-document_count": "-document_count";
20
+ }>>;
21
+ page_size: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
22
+ mailbox_id: z.ZodString;
23
+ }, z.core.$strip>;
24
+ declare const ParseurListTemplatesOutput: z.ZodObject<{
25
+ count: z.ZodNullable<z.ZodNumber>;
26
+ total: z.ZodNullable<z.ZodNumber>;
27
+ current: z.ZodNullable<z.ZodNumber>;
28
+ results: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
29
+ id: z.ZodNullable<z.ZodNumber>;
30
+ name: z.ZodNullable<z.ZodString>;
31
+ status: z.ZodNullable<z.ZodString>;
32
+ created: z.ZodNullable<z.ZodString>;
33
+ modified: z.ZodNullable<z.ZodString>;
34
+ last_activity: z.ZodNullable<z.ZodString>;
35
+ document_count: z.ZodNullable<z.ZodNumber>;
36
+ }, z.core.$loose>>>>;
37
+ }, z.core.$loose>;
38
+ declare const parseurListTemplates: import("@keystrokehq/action").WorkflowActionDefinition<{
39
+ mailbox_id: string;
40
+ page?: number | undefined;
41
+ search?: string | undefined;
42
+ ordering?: "name" | "last_activity" | "document_count" | "status" | "created" | "-name" | "-created" | "modified" | "-modified" | "-status" | "-last_activity" | "-document_count" | undefined;
43
+ page_size?: number | undefined;
44
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
45
  //#endregion
8
46
  export { parseurListTemplates };
9
47
  //# sourceMappingURL=list-templates.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-templates.d.cts","names":[],"sources":["../../src/actions/list-templates.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAMxC;AAAA,cAUW,0BAAA,EAA4B,CAAA,CAAE,UAKzC;AAAA,cAEW,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-templates.d.cts","names":[],"sources":["../../src/actions/list-templates.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAgBzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAO1B,oBAAA,gCAAoB,wBAAA"}
@@ -1,9 +1,47 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-templates.d.ts
4
- declare const ParseurListTemplatesInput: z.ZodTypeAny;
5
- declare const ParseurListTemplatesOutput: z.ZodTypeAny;
6
- declare const parseurListTemplates: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ParseurListTemplatesInput: z.ZodObject<{
5
+ page: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
6
+ search: z.ZodOptional<z.ZodString>;
7
+ ordering: z.ZodOptional<z.ZodEnum<{
8
+ name: "name";
9
+ last_activity: "last_activity";
10
+ document_count: "document_count";
11
+ status: "status";
12
+ created: "created";
13
+ "-name": "-name";
14
+ "-created": "-created";
15
+ modified: "modified";
16
+ "-modified": "-modified";
17
+ "-status": "-status";
18
+ "-last_activity": "-last_activity";
19
+ "-document_count": "-document_count";
20
+ }>>;
21
+ page_size: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
22
+ mailbox_id: z.ZodString;
23
+ }, z.core.$strip>;
24
+ declare const ParseurListTemplatesOutput: z.ZodObject<{
25
+ count: z.ZodNullable<z.ZodNumber>;
26
+ total: z.ZodNullable<z.ZodNumber>;
27
+ current: z.ZodNullable<z.ZodNumber>;
28
+ results: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
29
+ id: z.ZodNullable<z.ZodNumber>;
30
+ name: z.ZodNullable<z.ZodString>;
31
+ status: z.ZodNullable<z.ZodString>;
32
+ created: z.ZodNullable<z.ZodString>;
33
+ modified: z.ZodNullable<z.ZodString>;
34
+ last_activity: z.ZodNullable<z.ZodString>;
35
+ document_count: z.ZodNullable<z.ZodNumber>;
36
+ }, z.core.$loose>>>>;
37
+ }, z.core.$loose>;
38
+ declare const parseurListTemplates: import("@keystrokehq/action").WorkflowActionDefinition<{
39
+ mailbox_id: string;
40
+ page?: number | undefined;
41
+ search?: string | undefined;
42
+ ordering?: "name" | "last_activity" | "document_count" | "status" | "created" | "-name" | "-created" | "modified" | "-modified" | "-status" | "-last_activity" | "-document_count" | undefined;
43
+ page_size?: number | undefined;
44
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
45
  //#endregion
8
46
  export { parseurListTemplates };
9
47
  //# sourceMappingURL=list-templates.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-templates.d.mts","names":[],"sources":["../../src/actions/list-templates.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAMxC;AAAA,cAUW,0BAAA,EAA4B,CAAA,CAAE,UAKzC;AAAA,cAEW,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-templates.d.mts","names":[],"sources":["../../src/actions/list-templates.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAgBzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAO1B,oBAAA,gCAAoB,wBAAA"}
@@ -22,25 +22,25 @@ const ParseurListTemplatesInput = z.object({
22
22
  mailbox_id: z.string().describe("The numeric ID of the mailbox (parser) to list templates for. Obtain this from the List Mailboxes action.")
23
23
  });
24
24
  const ParseurListTemplates_TemplateItemSchema = z.object({
25
- id: z.number().int().describe("Unique template identifier."),
26
- name: z.string().describe("Name of the template."),
27
- status: z.string().describe("Current status of the template (e.g. ACTIVE)."),
28
- created: z.string().describe("When the template was first created (ISO 8601)."),
29
- modified: z.string().describe("When the template was last updated (ISO 8601)."),
30
- last_activity: z.string().describe("Last time this template was used (ISO 8601)."),
31
- document_count: z.number().int().describe("Number of documents matched by this template.")
32
- });
25
+ id: z.number().int().describe("Unique template identifier.").nullable(),
26
+ name: z.string().describe("Name of the template.").nullable(),
27
+ status: z.string().describe("Current status of the template (e.g. ACTIVE).").nullable(),
28
+ created: z.string().describe("When the template was first created (ISO 8601).").nullable(),
29
+ modified: z.string().describe("When the template was last updated (ISO 8601).").nullable(),
30
+ last_activity: z.string().describe("Last time this template was used (ISO 8601).").nullable(),
31
+ document_count: z.number().int().describe("Number of documents matched by this template.").nullable()
32
+ }).passthrough();
33
33
  const parseurListTemplates = action("PARSEUR_LIST_TEMPLATES", {
34
34
  slug: "parseur-list-templates",
35
35
  name: "List Templates for Mailbox",
36
36
  description: "Tool to list all templates in a given mailbox. Use after fetching mailbox details when you need to page through and inspect available templates for further actions.",
37
37
  input: ParseurListTemplatesInput,
38
38
  output: z.object({
39
- count: z.number().int().describe("Total number of templates in this mailbox."),
40
- total: z.number().int().describe("Total number of pages available."),
41
- current: z.number().int().describe("Current page number."),
39
+ count: z.number().int().describe("Total number of templates in this mailbox.").nullable(),
40
+ total: z.number().int().describe("Total number of pages available.").nullable(),
41
+ current: z.number().int().describe("Current page number.").nullable(),
42
42
  results: z.array(ParseurListTemplates_TemplateItemSchema).describe("List of templates on the requested page.").nullable().optional()
43
- })
43
+ }).passthrough()
44
44
  });
45
45
  //#endregion
46
46
  export { parseurListTemplates };
@@ -1 +1 @@
1
- {"version":3,"file":"list-templates.mjs","names":[],"sources":["../../src/actions/list-templates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseurListTemplatesInput: z.ZodTypeAny = z.object({\n page: z.number().int().default(1).describe(\"Page number to retrieve (pagination). Defaults to 1.\").optional(),\n search: z.string().describe(\"Filter templates whose name contains this string (case-insensitive).\").optional(),\n ordering: z.enum([\"name\", \"-name\", \"created\", \"-created\", \"modified\", \"-modified\", \"last_activity\", \"-last_activity\", \"status\", \"-status\", \"document_count\", \"-document_count\"]).describe(\"Field to sort by. Prepend a minus to reverse order. Supported: name, created, modified, last_activity, status, document_count.\").optional(),\n page_size: z.number().int().default(25).describe(\"Number of items per page. Defaults to 25.\").optional(),\n mailbox_id: z.string().describe(\"The numeric ID of the mailbox (parser) to list templates for. Obtain this from the List Mailboxes action.\"),\n});\nconst ParseurListTemplates_TemplateItemSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique template identifier.\"),\n name: z.string().describe(\"Name of the template.\"),\n status: z.string().describe(\"Current status of the template (e.g. ACTIVE).\"),\n created: z.string().describe(\"When the template was first created (ISO 8601).\"),\n modified: z.string().describe(\"When the template was last updated (ISO 8601).\"),\n last_activity: z.string().describe(\"Last time this template was used (ISO 8601).\"),\n document_count: z.number().int().describe(\"Number of documents matched by this template.\"),\n});\nexport const ParseurListTemplatesOutput: z.ZodTypeAny = z.object({\n count: z.number().int().describe(\"Total number of templates in this mailbox.\"),\n total: z.number().int().describe(\"Total number of pages available.\"),\n current: z.number().int().describe(\"Current page number.\"),\n results: z.array(ParseurListTemplates_TemplateItemSchema).describe(\"List of templates on the requested page.\").nullable().optional(),\n});\n\nexport const parseurListTemplates = action(\"PARSEUR_LIST_TEMPLATES\", {\n slug: \"parseur-list-templates\",\n name: \"List Templates for Mailbox\",\n description: \"Tool to list all templates in a given mailbox. Use after fetching mailbox details when you need to page through and inspect available templates for further actions.\",\n input: ParseurListTemplatesInput,\n output: ParseurListTemplatesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0C,EAAE,OAAO;CAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC5G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC7G,UAAU,EAAE,KAAK;EAAC;EAAQ;EAAS;EAAW;EAAY;EAAY;EAAa;EAAiB;EAAkB;EAAU;EAAW;EAAkB;CAAiB,CAAC,CAAC,CAAC,SAAS,gIAAgI,CAAC,CAAC,SAAS;CACrU,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACvG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G;AAC7I,CAAC;AACD,MAAM,0CAAwD,EAAE,OAAO;CACrE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B;CAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACjD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC3E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC9E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAC9E,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CACjF,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C;AAC3F,CAAC;AAQD,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZsD,EAAE,OAAO;EAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C;EAC7E,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC;EACnE,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB;EACzD,SAAS,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"list-templates.mjs","names":[],"sources":["../../src/actions/list-templates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseurListTemplatesInput = z.object({\n page: z.number().int().default(1).describe(\"Page number to retrieve (pagination). Defaults to 1.\").optional(),\n search: z.string().describe(\"Filter templates whose name contains this string (case-insensitive).\").optional(),\n ordering: z.enum([\"name\", \"-name\", \"created\", \"-created\", \"modified\", \"-modified\", \"last_activity\", \"-last_activity\", \"status\", \"-status\", \"document_count\", \"-document_count\"]).describe(\"Field to sort by. Prepend a minus to reverse order. Supported: name, created, modified, last_activity, status, document_count.\").optional(),\n page_size: z.number().int().default(25).describe(\"Number of items per page. Defaults to 25.\").optional(),\n mailbox_id: z.string().describe(\"The numeric ID of the mailbox (parser) to list templates for. Obtain this from the List Mailboxes action.\"),\n});\nconst ParseurListTemplates_TemplateItemSchema = z.object({\n id: z.number().int().describe(\"Unique template identifier.\").nullable(),\n name: z.string().describe(\"Name of the template.\").nullable(),\n status: z.string().describe(\"Current status of the template (e.g. ACTIVE).\").nullable(),\n created: z.string().describe(\"When the template was first created (ISO 8601).\").nullable(),\n modified: z.string().describe(\"When the template was last updated (ISO 8601).\").nullable(),\n last_activity: z.string().describe(\"Last time this template was used (ISO 8601).\").nullable(),\n document_count: z.number().int().describe(\"Number of documents matched by this template.\").nullable(),\n}).passthrough();\nexport const ParseurListTemplatesOutput = z.object({\n count: z.number().int().describe(\"Total number of templates in this mailbox.\").nullable(),\n total: z.number().int().describe(\"Total number of pages available.\").nullable(),\n current: z.number().int().describe(\"Current page number.\").nullable(),\n results: z.array(ParseurListTemplates_TemplateItemSchema).describe(\"List of templates on the requested page.\").nullable().optional(),\n}).passthrough();\n\nexport const parseurListTemplates = action(\"PARSEUR_LIST_TEMPLATES\", {\n slug: \"parseur-list-templates\",\n name: \"List Templates for Mailbox\",\n description: \"Tool to list all templates in a given mailbox. Use after fetching mailbox details when you need to page through and inspect available templates for further actions.\",\n input: ParseurListTemplatesInput,\n output: ParseurListTemplatesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC5G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC7G,UAAU,EAAE,KAAK;EAAC;EAAQ;EAAS;EAAW;EAAY;EAAY;EAAa;EAAiB;EAAkB;EAAU;EAAW;EAAkB;CAAiB,CAAC,CAAC,CAAC,SAAS,gIAAgI,CAAC,CAAC,SAAS;CACrU,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACvG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G;AAC7I,CAAC;AACD,MAAM,0CAA0C,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC5D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACtF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACzF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACzF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC5F,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY;AAQf,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZwC,EAAE,OAAO;EACjD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACxF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC9E,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EACpE,SAAS,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -2,8 +2,8 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/reprocess-document.ts
4
4
  const ParseurReprocessDocumentInput = zod.z.object({ document_id: zod.z.string().describe("Unique identifier of the document to reprocess. Obtain this ID from the List Documents action.") });
5
- const ParseurReprocessDocument_NotificationSetSchema = zod.z.object({ info: zod.z.array(zod.z.string()).describe("List of informational messages about the reprocessing status.") });
6
- const ParseurReprocessDocumentOutput = zod.z.object({ notification_set: ParseurReprocessDocument_NotificationSetSchema.nullable() });
5
+ const ParseurReprocessDocument_NotificationSetSchema = zod.z.object({ info: zod.z.array(zod.z.string()).describe("List of informational messages about the reprocessing status.") }).passthrough();
6
+ const ParseurReprocessDocumentOutput = zod.z.object({ notification_set: ParseurReprocessDocument_NotificationSetSchema.nullable() }).passthrough();
7
7
  const parseurReprocessDocument = require_action.action("PARSEUR_REPROCESS_DOCUMENT", {
8
8
  slug: "parseur-reprocess-document",
9
9
  name: "Reprocess a document",
@@ -1 +1 @@
1
- {"version":3,"file":"reprocess-document.cjs","names":["z","action"],"sources":["../../src/actions/reprocess-document.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseurReprocessDocumentInput: z.ZodTypeAny = z.object({\n document_id: z.string().describe(\"Unique identifier of the document to reprocess. Obtain this ID from the List Documents action.\"),\n});\nconst ParseurReprocessDocument_NotificationSetSchema: z.ZodTypeAny = z.object({\n info: z.array(z.string()).describe(\"List of informational messages about the reprocessing status.\"),\n});\nexport const ParseurReprocessDocumentOutput: z.ZodTypeAny = z.object({\n notification_set: ParseurReprocessDocument_NotificationSetSchema.nullable(),\n});\n\nexport const parseurReprocessDocument = action(\"PARSEUR_REPROCESS_DOCUMENT\", {\n slug: \"parseur-reprocess-document\",\n name: \"Reprocess a document\",\n description: \"Tool to reprocess a document. Triggers re-parsing of the document with the current template configuration. Use when you need to re-parse a document after template updates or to retry failed parsing.\",\n input: ParseurReprocessDocumentInput,\n output: ParseurReprocessDocumentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8CA,IAAAA,EAAE,OAAO,EAClE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,EACnI,CAAC;AACD,MAAM,iDAA+DA,IAAAA,EAAE,OAAO,EAC5E,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+DAA+D,EACpG,CAAC;AACD,MAAa,iCAA+CA,IAAAA,EAAE,OAAO,EACnE,kBAAkB,+CAA+C,SAAS,EAC5E,CAAC;AAED,MAAa,2BAA2BC,eAAAA,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"reprocess-document.cjs","names":["z","action"],"sources":["../../src/actions/reprocess-document.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseurReprocessDocumentInput = z.object({\n document_id: z.string().describe(\"Unique identifier of the document to reprocess. Obtain this ID from the List Documents action.\"),\n});\nconst ParseurReprocessDocument_NotificationSetSchema = z.object({\n info: z.array(z.string()).describe(\"List of informational messages about the reprocessing status.\"),\n}).passthrough();\nexport const ParseurReprocessDocumentOutput = z.object({\n notification_set: ParseurReprocessDocument_NotificationSetSchema.nullable(),\n}).passthrough();\n\nexport const parseurReprocessDocument = action(\"PARSEUR_REPROCESS_DOCUMENT\", {\n slug: \"parseur-reprocess-document\",\n name: \"Reprocess a document\",\n description: \"Tool to reprocess a document. Triggers re-parsing of the document with the current template configuration. Use when you need to re-parse a document after template updates or to retry failed parsing.\",\n input: ParseurReprocessDocumentInput,\n output: ParseurReprocessDocumentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,EACnI,CAAC;AACD,MAAM,iDAAiDA,IAAAA,EAAE,OAAO,EAC9D,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+DAA+D,EACpG,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,kBAAkB,+CAA+C,SAAS,EAC5E,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,2BAA2BC,eAAAA,OAAO,8BAA8B;CAC3E,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/reprocess-document.d.ts
4
- declare const ParseurReprocessDocumentInput: z.ZodTypeAny;
5
- declare const ParseurReprocessDocumentOutput: z.ZodTypeAny;
6
- declare const parseurReprocessDocument: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ParseurReprocessDocumentInput: z.ZodObject<{
5
+ document_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const ParseurReprocessDocumentOutput: 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 parseurReprocessDocument: import("@keystrokehq/action").WorkflowActionDefinition<{
13
+ document_id: string;
14
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
15
  //#endregion
8
16
  export { parseurReprocessDocument };
9
17
  //# sourceMappingURL=reprocess-document.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"reprocess-document.d.cts","names":[],"sources":["../../src/actions/reprocess-document.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAE5C;AAAA,cAIW,8BAAA,EAAgC,CAAA,CAAE,UAE7C;AAAA,cAEW,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"reprocess-document.d.cts","names":[],"sources":["../../src/actions/reprocess-document.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAM7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;cAI9B,wBAAA,gCAAwB,wBAAA"}
@@ -1,9 +1,17 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/reprocess-document.d.ts
4
- declare const ParseurReprocessDocumentInput: z.ZodTypeAny;
5
- declare const ParseurReprocessDocumentOutput: z.ZodTypeAny;
6
- declare const parseurReprocessDocument: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ParseurReprocessDocumentInput: z.ZodObject<{
5
+ document_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const ParseurReprocessDocumentOutput: 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 parseurReprocessDocument: import("@keystrokehq/action").WorkflowActionDefinition<{
13
+ document_id: string;
14
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
15
  //#endregion
8
16
  export { parseurReprocessDocument };
9
17
  //# sourceMappingURL=reprocess-document.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"reprocess-document.d.mts","names":[],"sources":["../../src/actions/reprocess-document.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAE5C;AAAA,cAIW,8BAAA,EAAgC,CAAA,CAAE,UAE7C;AAAA,cAEW,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"reprocess-document.d.mts","names":[],"sources":["../../src/actions/reprocess-document.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAM7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;cAI9B,wBAAA,gCAAwB,wBAAA"}
@@ -2,13 +2,13 @@ import { action } from "../action.mjs";
2
2
  import { z } from "zod";
3
3
  //#region src/actions/reprocess-document.ts
4
4
  const ParseurReprocessDocumentInput = z.object({ document_id: z.string().describe("Unique identifier of the document to reprocess. Obtain this ID from the List Documents action.") });
5
- const ParseurReprocessDocument_NotificationSetSchema = z.object({ info: z.array(z.string()).describe("List of informational messages about the reprocessing status.") });
5
+ const ParseurReprocessDocument_NotificationSetSchema = z.object({ info: z.array(z.string()).describe("List of informational messages about the reprocessing status.") }).passthrough();
6
6
  const parseurReprocessDocument = action("PARSEUR_REPROCESS_DOCUMENT", {
7
7
  slug: "parseur-reprocess-document",
8
8
  name: "Reprocess a document",
9
9
  description: "Tool to reprocess a document. Triggers re-parsing of the document with the current template configuration. Use when you need to re-parse a document after template updates or to retry failed parsing.",
10
10
  input: ParseurReprocessDocumentInput,
11
- output: z.object({ notification_set: ParseurReprocessDocument_NotificationSetSchema.nullable() })
11
+ output: z.object({ notification_set: ParseurReprocessDocument_NotificationSetSchema.nullable() }).passthrough()
12
12
  });
13
13
  //#endregion
14
14
  export { parseurReprocessDocument };
@@ -1 +1 @@
1
- {"version":3,"file":"reprocess-document.mjs","names":[],"sources":["../../src/actions/reprocess-document.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseurReprocessDocumentInput: z.ZodTypeAny = z.object({\n document_id: z.string().describe(\"Unique identifier of the document to reprocess. Obtain this ID from the List Documents action.\"),\n});\nconst ParseurReprocessDocument_NotificationSetSchema: z.ZodTypeAny = z.object({\n info: z.array(z.string()).describe(\"List of informational messages about the reprocessing status.\"),\n});\nexport const ParseurReprocessDocumentOutput: z.ZodTypeAny = z.object({\n notification_set: ParseurReprocessDocument_NotificationSetSchema.nullable(),\n});\n\nexport const parseurReprocessDocument = action(\"PARSEUR_REPROCESS_DOCUMENT\", {\n slug: \"parseur-reprocess-document\",\n name: \"Reprocess a document\",\n description: \"Tool to reprocess a document. Triggers re-parsing of the document with the current template configuration. Use when you need to re-parse a document after template updates or to retry failed parsing.\",\n input: ParseurReprocessDocumentInput,\n output: ParseurReprocessDocumentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8C,EAAE,OAAO,EAClE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,EACnI,CAAC;AACD,MAAM,iDAA+D,EAAE,OAAO,EAC5E,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+DAA+D,EACpG,CAAC;AAKD,MAAa,2BAA2B,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT0D,EAAE,OAAO,EACnE,kBAAkB,+CAA+C,SAAS,EAC5E,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"reprocess-document.mjs","names":[],"sources":["../../src/actions/reprocess-document.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseurReprocessDocumentInput = z.object({\n document_id: z.string().describe(\"Unique identifier of the document to reprocess. Obtain this ID from the List Documents action.\"),\n});\nconst ParseurReprocessDocument_NotificationSetSchema = z.object({\n info: z.array(z.string()).describe(\"List of informational messages about the reprocessing status.\"),\n}).passthrough();\nexport const ParseurReprocessDocumentOutput = z.object({\n notification_set: ParseurReprocessDocument_NotificationSetSchema.nullable(),\n}).passthrough();\n\nexport const parseurReprocessDocument = action(\"PARSEUR_REPROCESS_DOCUMENT\", {\n slug: \"parseur-reprocess-document\",\n name: \"Reprocess a document\",\n description: \"Tool to reprocess a document. Triggers re-parsing of the document with the current template configuration. Use when you need to re-parse a document after template updates or to retry failed parsing.\",\n input: ParseurReprocessDocumentInput,\n output: ParseurReprocessDocumentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO,EACpD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,EACnI,CAAC;AACD,MAAM,iDAAiD,EAAE,OAAO,EAC9D,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+DAA+D,EACpG,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,2BAA2B,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT4C,EAAE,OAAO,EACrD,kBAAkB,+CAA+C,SAAS,EAC5E,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -3,22 +3,22 @@ let zod = require("zod");
3
3
  //#region src/actions/retrieve-webhook.ts
4
4
  const ParseurRetrieveWebhookInput = zod.z.object({ webhook_id: zod.z.string().describe("Unique identifier of the webhook to retrieve. Obtain from list webhooks or create webhook responses.") });
5
5
  const ParseurRetrieveWebhookOutput = zod.z.object({
6
- id: zod.z.number().int().describe("Unique webhook identifier"),
6
+ id: zod.z.number().int().describe("Unique webhook identifier").nullable(),
7
7
  name: zod.z.string().describe("Custom name for the webhook, or null if not set (defaults to target URL)").nullable().optional(),
8
8
  event: zod.z.enum([
9
9
  "document.processed",
10
10
  "document.processed.flattened",
11
11
  "document.template_needed",
12
12
  "table.processed"
13
- ]).describe("Event type that triggers this webhook"),
13
+ ]).describe("Event type that triggers this webhook").nullable(),
14
14
  parser: zod.z.number().int().describe("ID of the mailbox (parser) this webhook belongs to, if returned by API").nullable().optional(),
15
- target: zod.z.string().describe("The URL to which webhook payloads are sent"),
15
+ target: zod.z.string().describe("The URL to which webhook payloads are sent").nullable(),
16
16
  api_key: zod.z.string().describe("API key associated with the webhook, or null if not set").nullable().optional(),
17
- headers: zod.z.object({}).describe("Custom HTTP headers included in webhook requests, or null if none").nullable().optional(),
18
- category: zod.z.string().describe("Webhook category (always 'CUSTOM' for user-created webhooks)"),
17
+ headers: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom HTTP headers included in webhook requests, or null if none").nullable().optional(),
18
+ category: zod.z.string().describe("Webhook category (always 'CUSTOM' for user-created webhooks)").nullable(),
19
19
  parser_field_set: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("List of parser fields or table-fields assigned to this webhook").nullable().optional(),
20
20
  default_driver_fee_percentage: zod.z.number().describe("Default driver fee percentage if applicable, or null").nullable().optional()
21
- });
21
+ }).passthrough();
22
22
  const parseurRetrieveWebhook = require_action.action("PARSEUR_RETRIEVE_WEBHOOK", {
23
23
  slug: "parseur-retrieve-webhook",
24
24
  name: "Retrieve a webhook",
@@ -1 +1 @@
1
- {"version":3,"file":"retrieve-webhook.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseurRetrieveWebhookInput: z.ZodTypeAny = z.object({\n webhook_id: z.string().describe(\"Unique identifier of the webhook to retrieve. Obtain from list webhooks or create webhook responses.\"),\n});\nexport const ParseurRetrieveWebhookOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique webhook identifier\"),\n name: z.string().describe(\"Custom name for the webhook, or null if not set (defaults to target URL)\").nullable().optional(),\n event: z.enum([\"document.processed\", \"document.processed.flattened\", \"document.template_needed\", \"table.processed\"]).describe(\"Event type that triggers this webhook\"),\n parser: z.number().int().describe(\"ID of the mailbox (parser) this webhook belongs to, if returned by API\").nullable().optional(),\n target: z.string().describe(\"The URL to which webhook payloads are sent\"),\n api_key: z.string().describe(\"API key associated with the webhook, or null if not set\").nullable().optional(),\n headers: z.object({}).describe(\"Custom HTTP headers included in webhook requests, or null if none\").nullable().optional(),\n category: z.string().describe(\"Webhook category (always 'CUSTOM' for user-created webhooks)\"),\n parser_field_set: z.array(z.record(z.string(), z.unknown())).describe(\"List of parser fields or table-fields assigned to this webhook\").nullable().optional(),\n default_driver_fee_percentage: z.number().describe(\"Default driver fee percentage if applicable, or null\").nullable().optional(),\n});\n\nexport const parseurRetrieveWebhook = action(\"PARSEUR_RETRIEVE_WEBHOOK\", {\n slug: \"parseur-retrieve-webhook\",\n name: \"Retrieve a webhook\",\n description: \"Tool to retrieve details of a specific webhook. Use after creating or listing webhooks.\",\n input: ParseurRetrieveWebhookInput,\n output: ParseurRetrieveWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO,EAChE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,EACxI,CAAC;AACD,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,OAAOA,IAAAA,EAAE,KAAK;EAAC;EAAsB;EAAgC;EAA4B;CAAiB,CAAC,CAAC,CAAC,SAAS,uCAAuC;CACrK,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACxE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;CAC5F,kBAAkBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5J,+BAA+BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjI,CAAC;AAED,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"retrieve-webhook.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseurRetrieveWebhookInput = z.object({\n webhook_id: z.string().describe(\"Unique identifier of the webhook to retrieve. Obtain from list webhooks or create webhook responses.\"),\n});\nexport const ParseurRetrieveWebhookOutput = z.object({\n id: z.number().int().describe(\"Unique webhook identifier\").nullable(),\n name: z.string().describe(\"Custom name for the webhook, or null if not set (defaults to target URL)\").nullable().optional(),\n event: z.enum([\"document.processed\", \"document.processed.flattened\", \"document.template_needed\", \"table.processed\"]).describe(\"Event type that triggers this webhook\").nullable(),\n parser: z.number().int().describe(\"ID of the mailbox (parser) this webhook belongs to, if returned by API\").nullable().optional(),\n target: z.string().describe(\"The URL to which webhook payloads are sent\").nullable(),\n api_key: z.string().describe(\"API key associated with the webhook, or null if not set\").nullable().optional(),\n headers: z.record(z.string(), z.unknown()).describe(\"Custom HTTP headers included in webhook requests, or null if none\").nullable().optional(),\n category: z.string().describe(\"Webhook category (always 'CUSTOM' for user-created webhooks)\").nullable(),\n parser_field_set: z.array(z.record(z.string(), z.unknown())).describe(\"List of parser fields or table-fields assigned to this webhook\").nullable().optional(),\n default_driver_fee_percentage: z.number().describe(\"Default driver fee percentage if applicable, or null\").nullable().optional(),\n}).passthrough();\n\nexport const parseurRetrieveWebhook = action(\"PARSEUR_RETRIEVE_WEBHOOK\", {\n slug: \"parseur-retrieve-webhook\",\n name: \"Retrieve a webhook\",\n description: \"Tool to retrieve details of a specific webhook. Use after creating or listing webhooks.\",\n input: ParseurRetr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E,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjI,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,29 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/retrieve-webhook.d.ts
4
- declare const ParseurRetrieveWebhookInput: z.ZodTypeAny;
5
- declare const ParseurRetrieveWebhookOutput: z.ZodTypeAny;
6
- declare const parseurRetrieveWebhook: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ParseurRetrieveWebhookInput: z.ZodObject<{
5
+ webhook_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const ParseurRetrieveWebhookOutput: z.ZodObject<{
8
+ id: z.ZodNullable<z.ZodNumber>;
9
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ event: z.ZodNullable<z.ZodEnum<{
11
+ "document.processed": "document.processed";
12
+ "document.processed.flattened": "document.processed.flattened";
13
+ "document.template_needed": "document.template_needed";
14
+ "table.processed": "table.processed";
15
+ }>>;
16
+ parser: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17
+ target: z.ZodNullable<z.ZodString>;
18
+ api_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
20
+ category: z.ZodNullable<z.ZodString>;
21
+ parser_field_set: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
22
+ default_driver_fee_percentage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23
+ }, z.core.$loose>;
24
+ declare const parseurRetrieveWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
25
+ webhook_id: string;
26
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
27
  //#endregion
8
28
  export { parseurRetrieveWebhook };
9
29
  //# sourceMappingURL=retrieve-webhook.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"retrieve-webhook.d.cts","names":[],"sources":["../../src/actions/retrieve-webhook.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAE1C;AAAA,cACW,4BAAA,EAA8B,CAAA,CAAE,UAW3C;AAAA,cAEW,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"retrieve-webhook.d.cts","names":[],"sources":["../../src/actions/retrieve-webhook.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAa5B,sBAAA,gCAAsB,wBAAA"}
@@ -1,9 +1,29 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/retrieve-webhook.d.ts
4
- declare const ParseurRetrieveWebhookInput: z.ZodTypeAny;
5
- declare const ParseurRetrieveWebhookOutput: z.ZodTypeAny;
6
- declare const parseurRetrieveWebhook: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ParseurRetrieveWebhookInput: z.ZodObject<{
5
+ webhook_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const ParseurRetrieveWebhookOutput: z.ZodObject<{
8
+ id: z.ZodNullable<z.ZodNumber>;
9
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ event: z.ZodNullable<z.ZodEnum<{
11
+ "document.processed": "document.processed";
12
+ "document.processed.flattened": "document.processed.flattened";
13
+ "document.template_needed": "document.template_needed";
14
+ "table.processed": "table.processed";
15
+ }>>;
16
+ parser: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17
+ target: z.ZodNullable<z.ZodString>;
18
+ api_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
20
+ category: z.ZodNullable<z.ZodString>;
21
+ parser_field_set: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
22
+ default_driver_fee_percentage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23
+ }, z.core.$loose>;
24
+ declare const parseurRetrieveWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
25
+ webhook_id: string;
26
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
27
  //#endregion
8
28
  export { parseurRetrieveWebhook };
9
29
  //# sourceMappingURL=retrieve-webhook.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"retrieve-webhook.d.mts","names":[],"sources":["../../src/actions/retrieve-webhook.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAE1C;AAAA,cACW,4BAAA,EAA8B,CAAA,CAAE,UAW3C;AAAA,cAEW,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"retrieve-webhook.d.mts","names":[],"sources":["../../src/actions/retrieve-webhook.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAa5B,sBAAA,gCAAsB,wBAAA"}