@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.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/copy-document.cjs +2 -2
- package/dist/actions/copy-document.cjs.map +1 -1
- package/dist/actions/copy-document.d.cts +13 -3
- package/dist/actions/copy-document.d.cts.map +1 -1
- package/dist/actions/copy-document.d.mts +13 -3
- package/dist/actions/copy-document.d.mts.map +1 -1
- package/dist/actions/copy-document.mjs +2 -2
- package/dist/actions/copy-document.mjs.map +1 -1
- package/dist/actions/copy-mailbox.cjs +2 -2
- package/dist/actions/copy-mailbox.cjs.map +1 -1
- package/dist/actions/copy-mailbox.d.cts +11 -3
- package/dist/actions/copy-mailbox.d.cts.map +1 -1
- package/dist/actions/copy-mailbox.d.mts +11 -3
- package/dist/actions/copy-mailbox.d.mts.map +1 -1
- package/dist/actions/copy-mailbox.mjs +2 -2
- package/dist/actions/copy-mailbox.mjs.map +1 -1
- package/dist/actions/create-custom-download.cjs +4 -4
- package/dist/actions/create-custom-download.cjs.map +1 -1
- package/dist/actions/create-custom-download.d.cts +38 -3
- package/dist/actions/create-custom-download.d.cts.map +1 -1
- package/dist/actions/create-custom-download.d.mts +38 -3
- package/dist/actions/create-custom-download.d.mts.map +1 -1
- package/dist/actions/create-custom-download.mjs +4 -4
- package/dist/actions/create-custom-download.mjs.map +1 -1
- package/dist/actions/create-mailbox.cjs +35 -35
- package/dist/actions/create-mailbox.cjs.map +1 -1
- package/dist/actions/create-mailbox.d.cts +187 -3
- package/dist/actions/create-mailbox.d.cts.map +1 -1
- package/dist/actions/create-mailbox.d.mts +187 -3
- package/dist/actions/create-mailbox.d.mts.map +1 -1
- package/dist/actions/create-mailbox.mjs +35 -35
- package/dist/actions/create-mailbox.mjs.map +1 -1
- package/dist/actions/delete-custom-download.cjs +1 -1
- package/dist/actions/delete-custom-download.cjs.map +1 -1
- package/dist/actions/delete-custom-download.d.cts +11 -3
- package/dist/actions/delete-custom-download.d.cts.map +1 -1
- package/dist/actions/delete-custom-download.d.mts +11 -3
- package/dist/actions/delete-custom-download.d.mts.map +1 -1
- package/dist/actions/delete-custom-download.mjs +1 -1
- package/dist/actions/delete-custom-download.mjs.map +1 -1
- package/dist/actions/delete-document.cjs +1 -1
- package/dist/actions/delete-document.cjs.map +1 -1
- package/dist/actions/delete-document.d.cts +9 -3
- package/dist/actions/delete-document.d.cts.map +1 -1
- package/dist/actions/delete-document.d.mts +9 -3
- package/dist/actions/delete-document.d.mts.map +1 -1
- package/dist/actions/delete-document.mjs +1 -1
- package/dist/actions/delete-document.mjs.map +1 -1
- package/dist/actions/delete-mailbox.cjs +2 -2
- package/dist/actions/delete-mailbox.cjs.map +1 -1
- package/dist/actions/delete-mailbox.d.cts +11 -3
- package/dist/actions/delete-mailbox.d.cts.map +1 -1
- package/dist/actions/delete-mailbox.d.mts +11 -3
- package/dist/actions/delete-mailbox.d.mts.map +1 -1
- package/dist/actions/delete-mailbox.mjs +2 -2
- package/dist/actions/delete-mailbox.mjs.map +1 -1
- package/dist/actions/delete-webhook.cjs +1 -1
- package/dist/actions/delete-webhook.cjs.map +1 -1
- package/dist/actions/delete-webhook.d.cts +9 -3
- package/dist/actions/delete-webhook.d.cts.map +1 -1
- package/dist/actions/delete-webhook.d.mts +9 -3
- package/dist/actions/delete-webhook.d.mts.map +1 -1
- package/dist/actions/delete-webhook.mjs +1 -1
- package/dist/actions/delete-webhook.mjs.map +1 -1
- package/dist/actions/disable-webhook.cjs +8 -8
- package/dist/actions/disable-webhook.cjs.map +1 -1
- package/dist/actions/disable-webhook.d.cts +47 -3
- package/dist/actions/disable-webhook.d.cts.map +1 -1
- package/dist/actions/disable-webhook.d.mts +47 -3
- package/dist/actions/disable-webhook.d.mts.map +1 -1
- package/dist/actions/disable-webhook.mjs +8 -8
- package/dist/actions/disable-webhook.mjs.map +1 -1
- package/dist/actions/enable-webhook.cjs +6 -6
- package/dist/actions/enable-webhook.cjs.map +1 -1
- package/dist/actions/enable-webhook.d.cts +26 -3
- package/dist/actions/enable-webhook.d.cts.map +1 -1
- package/dist/actions/enable-webhook.d.mts +26 -3
- package/dist/actions/enable-webhook.d.mts.map +1 -1
- package/dist/actions/enable-webhook.mjs +6 -6
- package/dist/actions/enable-webhook.mjs.map +1 -1
- package/dist/actions/get-bootstrap-config.cjs +18 -18
- package/dist/actions/get-bootstrap-config.cjs.map +1 -1
- package/dist/actions/get-bootstrap-config.d.cts +54 -3
- package/dist/actions/get-bootstrap-config.d.cts.map +1 -1
- package/dist/actions/get-bootstrap-config.d.mts +54 -3
- package/dist/actions/get-bootstrap-config.d.mts.map +1 -1
- package/dist/actions/get-bootstrap-config.mjs +18 -18
- package/dist/actions/get-bootstrap-config.mjs.map +1 -1
- package/dist/actions/get-document-logs.cjs +15 -15
- package/dist/actions/get-document-logs.cjs.map +1 -1
- package/dist/actions/get-document-logs.d.cts +34 -3
- package/dist/actions/get-document-logs.d.cts.map +1 -1
- package/dist/actions/get-document-logs.d.mts +34 -3
- package/dist/actions/get-document-logs.d.mts.map +1 -1
- package/dist/actions/get-document-logs.mjs +15 -15
- package/dist/actions/get-document-logs.mjs.map +1 -1
- package/dist/actions/get-document.cjs +29 -29
- package/dist/actions/get-document.cjs.map +1 -1
- package/dist/actions/get-document.d.cts +65 -3
- package/dist/actions/get-document.d.cts.map +1 -1
- package/dist/actions/get-document.d.mts +65 -3
- package/dist/actions/get-document.d.mts.map +1 -1
- package/dist/actions/get-document.mjs +29 -29
- package/dist/actions/get-document.mjs.map +1 -1
- package/dist/actions/get-mailbox-schema.cjs +2 -2
- package/dist/actions/get-mailbox-schema.cjs.map +1 -1
- package/dist/actions/get-mailbox-schema.d.cts +10 -3
- package/dist/actions/get-mailbox-schema.d.cts.map +1 -1
- package/dist/actions/get-mailbox-schema.d.mts +10 -3
- package/dist/actions/get-mailbox-schema.d.mts.map +1 -1
- package/dist/actions/get-mailbox-schema.mjs +2 -2
- package/dist/actions/get-mailbox-schema.mjs.map +1 -1
- package/dist/actions/get-mailbox.cjs +43 -43
- package/dist/actions/get-mailbox.cjs.map +1 -1
- package/dist/actions/get-mailbox.d.cts +147 -3
- package/dist/actions/get-mailbox.d.cts.map +1 -1
- package/dist/actions/get-mailbox.d.mts +147 -3
- package/dist/actions/get-mailbox.d.mts.map +1 -1
- package/dist/actions/get-mailbox.mjs +43 -43
- package/dist/actions/get-mailbox.mjs.map +1 -1
- package/dist/actions/list-custom-downloads.cjs +9 -9
- package/dist/actions/list-custom-downloads.cjs.map +1 -1
- package/dist/actions/list-custom-downloads.d.cts +21 -3
- package/dist/actions/list-custom-downloads.d.cts.map +1 -1
- package/dist/actions/list-custom-downloads.d.mts +21 -3
- package/dist/actions/list-custom-downloads.d.mts.map +1 -1
- package/dist/actions/list-custom-downloads.mjs +9 -9
- package/dist/actions/list-custom-downloads.mjs.map +1 -1
- package/dist/actions/list-documents-in-mailbox.cjs +10 -10
- package/dist/actions/list-documents-in-mailbox.cjs.map +1 -1
- package/dist/actions/list-documents-in-mailbox.d.cts +49 -3
- package/dist/actions/list-documents-in-mailbox.d.cts.map +1 -1
- package/dist/actions/list-documents-in-mailbox.d.mts +49 -3
- package/dist/actions/list-documents-in-mailbox.d.mts.map +1 -1
- package/dist/actions/list-documents-in-mailbox.mjs +10 -10
- package/dist/actions/list-documents-in-mailbox.mjs.map +1 -1
- package/dist/actions/list-mailboxes2.cjs +13 -13
- package/dist/actions/list-mailboxes2.cjs.map +1 -1
- package/dist/actions/list-mailboxes2.d.cts +120 -3
- package/dist/actions/list-mailboxes2.d.cts.map +1 -1
- package/dist/actions/list-mailboxes2.d.mts +120 -3
- package/dist/actions/list-mailboxes2.d.mts.map +1 -1
- package/dist/actions/list-mailboxes2.mjs +13 -13
- package/dist/actions/list-mailboxes2.mjs.map +1 -1
- package/dist/actions/list-templates.cjs +12 -12
- package/dist/actions/list-templates.cjs.map +1 -1
- package/dist/actions/list-templates.d.cts +41 -3
- package/dist/actions/list-templates.d.cts.map +1 -1
- package/dist/actions/list-templates.d.mts +41 -3
- package/dist/actions/list-templates.d.mts.map +1 -1
- package/dist/actions/list-templates.mjs +12 -12
- package/dist/actions/list-templates.mjs.map +1 -1
- package/dist/actions/reprocess-document.cjs +2 -2
- package/dist/actions/reprocess-document.cjs.map +1 -1
- package/dist/actions/reprocess-document.d.cts +11 -3
- package/dist/actions/reprocess-document.d.cts.map +1 -1
- package/dist/actions/reprocess-document.d.mts +11 -3
- package/dist/actions/reprocess-document.d.mts.map +1 -1
- package/dist/actions/reprocess-document.mjs +2 -2
- package/dist/actions/reprocess-document.mjs.map +1 -1
- package/dist/actions/retrieve-webhook.cjs +6 -6
- package/dist/actions/retrieve-webhook.cjs.map +1 -1
- package/dist/actions/retrieve-webhook.d.cts +23 -3
- package/dist/actions/retrieve-webhook.d.cts.map +1 -1
- package/dist/actions/retrieve-webhook.d.mts +23 -3
- package/dist/actions/retrieve-webhook.d.mts.map +1 -1
- package/dist/actions/retrieve-webhook.mjs +6 -6
- package/dist/actions/retrieve-webhook.mjs.map +1 -1
- package/dist/actions/skip-document.cjs +30 -30
- package/dist/actions/skip-document.cjs.map +1 -1
- package/dist/actions/skip-document.d.cts +45 -3
- package/dist/actions/skip-document.d.cts.map +1 -1
- package/dist/actions/skip-document.d.mts +45 -3
- package/dist/actions/skip-document.d.mts.map +1 -1
- package/dist/actions/skip-document.mjs +30 -30
- package/dist/actions/skip-document.mjs.map +1 -1
- package/dist/actions/update-custom-download.cjs +5 -5
- package/dist/actions/update-custom-download.cjs.map +1 -1
- package/dist/actions/update-custom-download.d.cts +34 -3
- package/dist/actions/update-custom-download.d.cts.map +1 -1
- package/dist/actions/update-custom-download.d.mts +34 -3
- package/dist/actions/update-custom-download.d.mts.map +1 -1
- package/dist/actions/update-custom-download.mjs +5 -5
- package/dist/actions/update-custom-download.mjs.map +1 -1
- package/dist/actions/update-mailbox.cjs +37 -37
- package/dist/actions/update-mailbox.cjs.map +1 -1
- package/dist/actions/update-mailbox.d.cts +197 -3
- package/dist/actions/update-mailbox.d.cts.map +1 -1
- package/dist/actions/update-mailbox.d.mts +197 -3
- package/dist/actions/update-mailbox.d.mts.map +1 -1
- package/dist/actions/update-mailbox.mjs +37 -37
- package/dist/actions/update-mailbox.mjs.map +1 -1
- package/dist/actions/update-webhook.cjs +7 -7
- package/dist/actions/update-webhook.cjs.map +1 -1
- package/dist/actions/update-webhook.d.cts +37 -3
- package/dist/actions/update-webhook.d.cts.map +1 -1
- package/dist/actions/update-webhook.d.mts +37 -3
- package/dist/actions/update-webhook.d.mts.map +1 -1
- package/dist/actions/update-webhook.mjs +7 -7
- package/dist/actions/update-webhook.mjs.map +1 -1
- package/dist/actions/upload-email-document.cjs +1 -1
- package/dist/actions/upload-email-document.cjs.map +1 -1
- package/dist/actions/upload-email-document.d.cts +25 -3
- package/dist/actions/upload-email-document.d.cts.map +1 -1
- package/dist/actions/upload-email-document.d.mts +25 -3
- package/dist/actions/upload-email-document.d.mts.map +1 -1
- package/dist/actions/upload-email-document.mjs +1 -1
- package/dist/actions/upload-email-document.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-mailbox.mjs","names":[],"sources":["../../src/actions/create-mailbox.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseurCreateMailboxInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The name of the parser/mailbox. If not specified, a default name will be assigned.\").optional(),\n ai_engine: z.enum([\"DISABLED\", \"GCP_AI_1\", \"GCP_AI_2\", \"GCP_AI_2_5\"]).describe(\"AI engine options for document parsing.\").optional(),\n force_ocr: z.boolean().describe(\"Whether to force OCR on every document uploaded to this parser.\").optional(),\n ai_instructions: z.string().describe(\"General AI instructions for this parser to guide the parsing behavior.\").optional(),\n retention_policy: z.number().int().describe(\"Number of days documents and data are stored before deletion. Default is 90 days.\").optional(),\n allowed_extensions: z.array(z.enum([\"bmp\", \"csv\", \"doc\", \"docx\", \"eml\", \"gif\", \"html\", \"ics\", \"jpg\", \"mbox\", \"msg\", \"ods\", \"odt\", \"pdf\", \"png\", \"rtf\", \"tif\", \"txt\", \"xhtml\", \"xls\", \"xlsm\", \"xlsx\", \"xml\", \"zip\"]).describe(\"Allowed file extensions for document processing.\")).describe(\"List of file extensions allowed for processing. If not specified, all extensions are enabled.\").optional(),\n master_parser_slug: z.enum([\"invoices\", \"statements\", \"job-application\", \"leads\", \"resume-cv\", \"food-delivery\", \"search-alerts\", \"real-estate\", \"work-order\", \"financial-statement\", \"utility\", \"contact-list\", \"delivery-notes\", \"property-bookings\", \"job-search\", \"travel\", \"automotive\", \"payslip\", \"event-ticketing\"]).describe(\"Master parser template options.\").optional(),\n process_attachments: z.boolean().describe(\"Whether email attachment processing is enabled on this parser.\").optional(),\n identification_status: z.enum([\"REQUESTED\", \"PROGRESS\", \"COMPLETED\", \"MANUAL\"]).describe(\"Identification status options for the parser.\").optional(),\n}).describe(\"Request parameters for creating a new mailbox (parser).\");\nconst ParseurCreateMailbox_AIEngineSchema: z.ZodTypeAny = z.enum([\"DISABLED\", \"GCP_AI_1\", \"GCP_AI_2\", \"GCP_AI_2_5\"]).describe(\"AI engine options for document parsing.\");\nconst ParseurCreateMailbox_TableItemSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Table ID.\"),\n name: z.string().describe(\"Table name.\"),\n}).describe(\"Table configuration item.\");\nconst ParseurCreateMailbox_FileExtensionSchema: z.ZodTypeAny = z.enum([\"bmp\", \"csv\", \"doc\", \"docx\", \"eml\", \"gif\", \"html\", \"ics\", \"jpg\", \"mbox\", \"msg\", \"ods\", \"odt\", \"pdf\", \"png\", \"rtf\", \"tif\", \"txt\", \"xhtml\", \"xls\", \"xlsm\", \"xlsx\", \"xml\", \"zip\"]).describe(\"Allowed file extensions for document processing.\");\nconst ParseurCreateMailbox_MasterParserSlugSchema: z.ZodTypeAny = z.enum([\"invoices\", \"statements\", \"job-application\", \"leads\", \"resume-cv\", \"food-delivery\", \"search-alerts\", \"real-estate\", \"work-order\", \"financial-statement\", \"utility\", \"contact-list\", \"delivery-notes\", \"property-bookings\", \"job-search\", \"travel\", \"automotive\", \"payslip\", \"event-ticketing\"]).describe(\"Master parser template options.\");\nconst ParseurCreateMailbox_WebhookItemSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Webhook ID.\"),\n name: z.string().describe(\"Webhook name.\").nullable().optional(),\n event: z.string().describe(\"Event type for the webhook.\"),\n target: z.string().describe(\"Target URL for the webhook.\"),\n headers: z.object({}).describe(\"Custom headers for the webhook.\").nullable().optional(),\n category: z.string().describe(\"Webhook category.\"),\n parser_field_set: z.array(z.object({})).describe(\"Parser fields associated with the webhook.\").nullable().optional(),\n}).describe(\"Webhook configuration item.\");\nconst ParseurCreateMailbox_IdentificationStatusSchema: z.ZodTypeAny = z.enum([\"REQUESTED\", \"PROGRESS\", \"COMPLETED\", \"MANUAL\"]).describe(\"Identification status options for the parser.\");\nconst ParseurCreateMailbox_DocumentStatusCountSchema: z.ZodTypeAny = z.object({\n SPLIT: z.number().int().describe(\"Files split into multiple documents.\"),\n INVALID: z.number().int().describe(\"Files not supported by the system and not processed.\"),\n SKIPPED: z.number().int().describe(\"Files skipped because of a template.\"),\n TRANSKO: z.number().int().describe(\"Files where Python post-processing failed.\"),\n EXPORTKO: z.number().int().describe(\"Files where exporting parsed data failed.\"),\n INCOMING: z.number().int().describe(\"Files received by the system awaiting processing.\"),\n PARSEDKO: z.number().int().describe(\"Files where processing failed.\"),\n PARSEDOK: z.number().int().describe(\"Files successfully processed with data available for export.\"),\n PROGRESS: z.number().int().describe(\"Files currently being processed by active AI engine.\"),\n QUOTAEXC: z.number().int().describe(\"Files where processing stopped due to insufficient credits.\"),\n ANALYZING: z.number().int().describe(\"Files being analyzed against system parameters.\"),\n}).describe(\"Breakdown of documents by processing status.\");\nexport const ParseurCreateMailboxOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"The internal ID number for the parser.\"),\n name: z.string().describe(\"The name of the parser.\").nullable().optional(),\n secret: z.string().describe(\"Secret key for the parser.\"),\n ai_engine: ParseurCreateMailbox_AIEngineSchema.nullable(),\n force_ocr: z.boolean().describe(\"Whether Parseur runs its own OCR on every document.\").nullable().optional(),\n is_master: z.boolean().describe(\"Whether this is a master parser that passes its instructions to others.\"),\n table_set: z.array(ParseurCreateMailbox_TableItemSchema).describe(\"List of tables configured in the parser.\"),\n account_uuid: z.string().describe(\"The Universally Unique Identifier for your account.\"),\n csv_download: z.string().describe(\"URL to download data as CSV.\"),\n email_prefix: z.string().describe(\"The email prefix for the parser.\").nullable().optional(),\n xls_download: z.string().describe(\"URL to download data as XLS.\"),\n can_transform: z.boolean().describe(\"Whether Python Post-Processing is enabled for this parser.\"),\n json_download: z.string().describe(\"URL to download data as JSON.\"),\n last_activity: z.string().describe(\"Timestamp of last activity (ISO 8601 format).\"),\n webhook_count: z.number().int().describe(\"The number of webhooks the parser has.\").nullable().optional(),\n document_count: z.number().int().describe(\"The number of documents in the parser.\"),\n template_count: z.number().int().describe(\"The number of templates the parser has.\").nullable().optional(),\n ai_instructions: z.string().describe(\"General AI instruction for this parser.\").nullable().optional(),\n attachments_only: z.boolean().describe(\"Whether the parser skips email processing.\"),\n retention_policy: z.number().int().describe(\"How many days documents and data are stored before deletion.\").nullable().optional(),\n allowed_extensions: z.array(ParseurCreateMailbox_FileExtensionSchema).describe(\"List of file extensions to process. If not present, all extensions are enabled.\").nullable().optional(),\n master_parser_name: z.string().describe(\"The name of this parser's master parser.\").nullable().optional(),\n master_parser_slug: ParseurCreateMailbox_MasterParserSlugSchema.nullable().optional(),\n parser_object_count: z.number().int().describe(\"The total number of field and metadata outputs currently configured in the parser.\"),\n process_attachments: z.boolean().describe(\"Whether email attachment processing is enabled.\").nullable().optional(),\n available_webhook_set: z.array(ParseurCreateMailbox_WebhookItemSchema).describe(\"List of available webhooks for the parser.\"),\n identification_status: ParseurCreateMailbox_IdentificationStatusSchema.nullable().optional(),\n document_per_status_count: ParseurCreateMailbox_DocumentStatusCountSchema.nullable(),\n template_set_last_modified: z.string().describe(\"Timestamp when templates were last modified.\").nullable().optional(),\n parser_object_set_last_modified: z.string().describe(\"Timestamp when parser objects were last modified.\").nullable().optional(),\n}).describe(\"Response containing the created mailbox details.\");\n\nexport const parseurCreateMailbox = action(\"PARSEUR_CREATE_MAILBOX\", {\n slug: \"parseur-create-mailbox\",\n name: \"Create mailbox\",\n description: \"Tool to create a new mailbox (parser) in Parseur. Use when you need to set up a new parser for document parsing with custom configuration.\",\n input: ParseurCreateMailboxInput,\n output: ParseurCreateMailboxOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0C,EAAE,OAAO;CAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CACzH,WAAW,EAAE,KAAK;EAAC;EAAY;EAAY;EAAY;CAAY,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACnI,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAC5G,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CACxH,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAC1I,oBAAoB,EAAE,MAAM,EAAE,KAAK;EAAC;EAAO;EAAO;EAAO;EAAQ;EAAO;EAAO;EAAQ;EAAO;EAAO;EAAQ;EAAO;EAAO;EAAO;EAAO;EAAO;EAAO;EAAO;EAAO;EAAS;EAAO;EAAQ;EAAQ;EAAO;CAAK,CAAC,CAAC,CAA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|
1
|
+
{"version":3,"file":"create-mailbox.mjs","names":[],"sources":["../../src/actions/create-mailbox.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseurCreateMailboxInput = z.object({\n name: z.string().describe(\"The name of the parser/mailbox. If not specified, a default name will be assigned.\").optional(),\n ai_engine: z.enum([\"DISABLED\", \"GCP_AI_1\", \"GCP_AI_2\", \"GCP_AI_2_5\"]).describe(\"AI engine options for document parsing.\").optional(),\n force_ocr: z.boolean().describe(\"Whether to force OCR on every document uploaded to this parser.\").optional(),\n ai_instructions: z.string().describe(\"General AI instructions for this parser to guide the parsing behavior.\").optional(),\n retention_policy: z.number().int().describe(\"Number of days documents and data are stored before deletion. Default is 90 days.\").optional(),\n allowed_extensions: z.array(z.enum([\"bmp\", \"csv\", \"doc\", \"docx\", \"eml\", \"gif\", \"html\", \"ics\", \"jpg\", \"mbox\", \"msg\", \"ods\", \"odt\", \"pdf\", \"png\", \"rtf\", \"tif\", \"txt\", \"xhtml\", \"xls\", \"xlsm\", \"xlsx\", \"xml\", \"zip\"]).describe(\"Allowed file extensions for document processing.\")).describe(\"List of file extensions allowed for processing. If not specified, all extensions are enabled.\").optional(),\n master_parser_slug: z.enum([\"invoices\", \"statements\", \"job-application\", \"leads\", \"resume-cv\", \"food-delivery\", \"search-alerts\", \"real-estate\", \"work-order\", \"financial-statement\", \"utility\", \"contact-list\", \"delivery-notes\", \"property-bookings\", \"job-search\", \"travel\", \"automotive\", \"payslip\", \"event-ticketing\"]).describe(\"Master parser template options.\").optional(),\n process_attachments: z.boolean().describe(\"Whether email attachment processing is enabled on this parser.\").optional(),\n identification_status: z.enum([\"REQUESTED\", \"PROGRESS\", \"COMPLETED\", \"MANUAL\"]).describe(\"Identification status options for the parser.\").optional(),\n}).describe(\"Request parameters for creating a new mailbox (parser).\");\nconst ParseurCreateMailbox_AIEngineSchema = z.enum([\"DISABLED\", \"GCP_AI_1\", \"GCP_AI_2\", \"GCP_AI_2_5\"]).describe(\"AI engine options for document parsing.\");\nconst ParseurCreateMailbox_TableItemSchema = z.object({\n id: z.string().describe(\"Table ID.\").nullable(),\n name: z.string().describe(\"Table name.\").nullable(),\n}).passthrough().describe(\"Table configuration item.\");\nconst ParseurCreateMailbox_FileExtensionSchema = z.enum([\"bmp\", \"csv\", \"doc\", \"docx\", \"eml\", \"gif\", \"html\", \"ics\", \"jpg\", \"mbox\", \"msg\", \"ods\", \"odt\", \"pdf\", \"png\", \"rtf\", \"tif\", \"txt\", \"xhtml\", \"xls\", \"xlsm\", \"xlsx\", \"xml\", \"zip\"]).describe(\"Allowed file extensions for document processing.\");\nconst ParseurCreateMailbox_MasterParserSlugSchema = z.enum([\"invoices\", \"statements\", \"job-application\", \"leads\", \"resume-cv\", \"food-delivery\", \"search-alerts\", \"real-estate\", \"work-order\", \"financial-statement\", \"utility\", \"contact-list\", \"delivery-notes\", \"property-bookings\", \"job-search\", \"travel\", \"automotive\", \"payslip\", \"event-ticketing\"]).describe(\"Master parser template options.\");\nconst ParseurCreateMailbox_WebhookItemSchema = z.object({\n id: z.number().int().describe(\"Webhook ID.\").nullable(),\n name: z.string().describe(\"Webhook name.\").nullable().optional(),\n event: z.string().describe(\"Event type for the webhook.\").nullable(),\n target: z.string().describe(\"Target URL for the webhook.\").nullable(),\n headers: z.record(z.string(), z.unknown()).describe(\"Custom headers for the webhook.\").nullable().optional(),\n category: z.string().describe(\"Webhook category.\").nullable(),\n parser_field_set: z.array(z.record(z.string(), z.unknown())).describe(\"Parser fields associated with the webhook.\").nullable().optional(),\n}).passthrough().describe(\"Webhook configuration item.\");\nconst ParseurCreateMailbox_IdentificationStatusSchema = z.enum([\"REQUESTED\", \"PROGRESS\", \"COMPLETED\", \"MANUAL\"]).describe(\"Identification status options for the parser.\");\nconst ParseurCreateMailbox_DocumentStatusCountSchema = z.object({\n SPLIT: z.number().int().describe(\"Files split into multiple documents.\").nullable(),\n INVALID: z.number().int().describe(\"Files not supported by the system and not processed.\").nullable(),\n SKIPPED: z.number().int().describe(\"Files skipped because of a template.\").nullable(),\n TRANSKO: z.number().int().describe(\"Files where Python post-processing failed.\").nullable(),\n EXPORTKO: z.number().int().describe(\"Files where exporting parsed data failed.\").nullable(),\n INCOMING: z.number().int().describe(\"Files received by the system awaiting processing.\").nullable(),\n PARSEDKO: z.number().int().describe(\"Files where processing failed.\").nullable(),\n PARSEDOK: z.number().int().describe(\"Files successfully processed with data available for export.\").nullable(),\n PROGRESS: z.number().int().describe(\"Files currently being processed by active AI engine.\").nullable(),\n QUOTAEXC: z.number().int().describe(\"Files where processing stopped due to insufficient credits.\").nullable(),\n ANALYZING: z.number().int().describe(\"Files being analyzed against system parameters.\").nullable(),\n}).passthrough().describe(\"Breakdown of documents by processing status.\");\nexport const ParseurCreateMailboxOutput = z.object({\n id: z.number().int().describe(\"The internal ID number for the parser.\").nullable(),\n name: z.string().describe(\"The name of the parser.\").nullable().optional(),\n secret: z.string().describe(\"Secret key for the parser.\").nullable(),\n ai_engine: ParseurCreateMailbox_AIEngineSchema.nullable(),\n force_ocr: z.boolean().describe(\"Whether Parseur runs its own OCR on every document.\").nullable().optional(),\n is_master: z.boolean().describe(\"Whether this is a master parser that passes its instructions to others.\").nullable(),\n table_set: z.array(ParseurCreateMailbox_TableItemSchema).describe(\"List of tables configured in the parser.\"),\n account_uuid: z.string().describe(\"The Universally Unique Identifier for your account.\").nullable(),\n csv_download: z.string().describe(\"URL to download data as CSV.\").nullable(),\n email_prefix: z.string().describe(\"The email prefix for the parser.\").nullable().optional(),\n xls_download: z.string().describe(\"URL to download data as XLS.\").nullable(),\n can_transform: z.boolean().describe(\"Whether Python Post-Processing is enabled for this parser.\").nullable(),\n json_download: z.string().describe(\"URL to download data as JSON.\").nullable(),\n last_activity: z.string().describe(\"Timestamp of last activity (ISO 8601 format).\").nullable(),\n webhook_count: z.number().int().describe(\"The number of webhooks the parser has.\").nullable().optional(),\n document_count: z.number().int().describe(\"The number of documents in the parser.\").nullable(),\n template_count: z.number().int().describe(\"The number of templates the parser has.\").nullable().optional(),\n ai_instructions: z.string().describe(\"General AI instruction for this parser.\").nullable().optional(),\n attachments_only: z.boolean().describe(\"Whether the parser skips email processing.\").nullable(),\n retention_policy: z.number().int().describe(\"How many days documents and data are stored before deletion.\").nullable().optional(),\n allowed_extensions: z.array(ParseurCreateMailbox_FileExtensionSchema).describe(\"List of file extensions to process. If not present, all extensions are enabled.\").nullable().optional(),\n master_parser_name: z.string().describe(\"The name of this parser's master parser.\").nullable().optional(),\n master_parser_slug: ParseurCreateMailbox_MasterParserSlugSchema.nullable().optional(),\n parser_object_count: z.number().int().describe(\"The total number of field and metadata outputs currently configured in the parser.\").nullable(),\n process_attachments: z.boolean().describe(\"Whether email attachment processing is enabled.\").nullable().optional(),\n available_webhook_set: z.array(ParseurCreateMailbox_WebhookItemSchema).describe(\"List of available webhooks for the parser.\"),\n identification_status: ParseurCreateMailbox_IdentificationStatusSchema.nullable().optional(),\n document_per_status_count: ParseurCreateMailbox_DocumentStatusCountSchema.nullable(),\n template_set_last_modified: z.string().describe(\"Timestamp when templates were last modified.\").nullable().optional(),\n parser_object_set_last_modified: z.string().describe(\"Timestamp when parser objects were last modified.\").nullable().optional(),\n}).passthrough().describe(\"Response containing the created mailbox details.\");\n\nexport const parseurCreateMailbox = action(\"PARSEUR_CREATE_MAILBOX\", {\n slug: \"parseur-create-mailbox\",\n name: \"Create mailbox\",\n description: \"Tool to create a new mailbox (parser) in Parseur. Use when you need to set up a new parser for document parsing with custom configuration.\",\n input: ParseurCreateMailboxInput,\n output: ParseurCreateMailboxOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CACzH,WAAW,EAAE,KAAK;EAAC;EAAY;EAAY;EAAY;CAAY,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACnI,WAAW,EAAE,QAAQ,CAAC,C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ACzG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,kBAAkB,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EAC9F,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChI,oBAAoB,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtL,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,oBAAoB,4CAA4C,SAAS,CAAC,CAAC,SAAS;EACpF,qBAAqB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;EAC9I,qBAAqB,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,uBAAuB,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,4CAA4C;EAC5H,uBAAuB,gDAAgD,SAAS,CAAC,CAAC,SAAS;EAC3F,2BAA2B,+CAA+C,SAAS;EACnF,4BAA4B,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpH,iCAAiC,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAOhB;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ const ParseurDeleteCustomDownloadInput = zod.z.object({
|
|
|
5
5
|
id: zod.z.string().describe("Unique identifier of the custom download (export configuration) to delete."),
|
|
6
6
|
mailbox_id: zod.z.string().describe("Unique identifier of the mailbox (parser) that contains the custom download. Obtain from List Mailboxes action.")
|
|
7
7
|
}).describe("Request model for deleting a custom download (export configuration).");
|
|
8
|
-
const ParseurDeleteCustomDownloadOutput = zod.z.object({ message: zod.z.string().describe("Confirmation message after custom download deletion.") }).describe("Response model for deleting a custom download.");
|
|
8
|
+
const ParseurDeleteCustomDownloadOutput = zod.z.object({ message: zod.z.string().describe("Confirmation message after custom download deletion.").nullable() }).passthrough().describe("Response model for deleting a custom download.");
|
|
9
9
|
const parseurDeleteCustomDownload = require_action.action("PARSEUR_DELETE_CUSTOM_DOWNLOAD", {
|
|
10
10
|
slug: "parseur-delete-custom-download",
|
|
11
11
|
name: "Delete custom download",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-custom-download.cjs","names":["z","action"],"sources":["../../src/actions/delete-custom-download.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseurDeleteCustomDownloadInput
|
|
1
|
+
{"version":3,"file":"delete-custom-download.cjs","names":["z","action"],"sources":["../../src/actions/delete-custom-download.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseurDeleteCustomDownloadInput = z.object({\n id: z.string().describe(\"Unique identifier of the custom download (export configuration) to delete.\"),\n mailbox_id: z.string().describe(\"Unique identifier of the mailbox (parser) that contains the custom download. Obtain from List Mailboxes action.\"),\n}).describe(\"Request model for deleting a custom download (export configuration).\");\nexport const ParseurDeleteCustomDownloadOutput = z.object({\n message: z.string().describe(\"Confirmation message after custom download deletion.\").nullable(),\n}).passthrough().describe(\"Response model for deleting a custom download.\");\n\nexport const parseurDeleteCustomDownload = action(\"PARSEUR_DELETE_CUSTOM_DOWNLOAD\", {\n slug: \"parseur-delete-custom-download\",\n name: \"Delete custom download\",\n description: \"Tool to delete a custom download (export configuration) from a mailbox. Use when permanently removing an export configuration after confirming its ID.\",\n input: ParseurDeleteCustomDownloadInput,\n output: ParseurDeleteCustomDownloadOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E;CACpG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH;AACnJ,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,EAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,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/delete-custom-download.d.ts
|
|
4
|
-
declare const ParseurDeleteCustomDownloadInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ParseurDeleteCustomDownloadInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
mailbox_id: z.ZodString;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const ParseurDeleteCustomDownloadOutput: z.ZodObject<{
|
|
9
|
+
message: z.ZodNullable<z.ZodString>;
|
|
10
|
+
}, z.core.$loose>;
|
|
11
|
+
declare const parseurDeleteCustomDownload: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
|
+
id: string;
|
|
13
|
+
mailbox_id: string;
|
|
14
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
15
|
//#endregion
|
|
8
16
|
export { parseurDeleteCustomDownload };
|
|
9
17
|
//# sourceMappingURL=delete-custom-download.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-custom-download.d.cts","names":[],"sources":["../../src/actions/delete-custom-download.ts"],"mappings":";;;cAIa,gCAAA,
|
|
1
|
+
{"version":3,"file":"delete-custom-download.d.cts","names":[],"sources":["../../src/actions/delete-custom-download.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAIhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAIjC,2BAAA,gCAA2B,wBAAA"}
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/delete-custom-download.d.ts
|
|
4
|
-
declare const ParseurDeleteCustomDownloadInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ParseurDeleteCustomDownloadInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
mailbox_id: z.ZodString;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const ParseurDeleteCustomDownloadOutput: z.ZodObject<{
|
|
9
|
+
message: z.ZodNullable<z.ZodString>;
|
|
10
|
+
}, z.core.$loose>;
|
|
11
|
+
declare const parseurDeleteCustomDownload: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
|
+
id: string;
|
|
13
|
+
mailbox_id: string;
|
|
14
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
15
|
//#endregion
|
|
8
16
|
export { parseurDeleteCustomDownload };
|
|
9
17
|
//# sourceMappingURL=delete-custom-download.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-custom-download.d.mts","names":[],"sources":["../../src/actions/delete-custom-download.ts"],"mappings":";;;cAIa,gCAAA,
|
|
1
|
+
{"version":3,"file":"delete-custom-download.d.mts","names":[],"sources":["../../src/actions/delete-custom-download.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAIhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAIjC,2BAAA,gCAA2B,wBAAA"}
|
|
@@ -8,7 +8,7 @@ const parseurDeleteCustomDownload = action("PARSEUR_DELETE_CUSTOM_DOWNLOAD", {
|
|
|
8
8
|
id: z.string().describe("Unique identifier of the custom download (export configuration) to delete."),
|
|
9
9
|
mailbox_id: z.string().describe("Unique identifier of the mailbox (parser) that contains the custom download. Obtain from List Mailboxes action.")
|
|
10
10
|
}).describe("Request model for deleting a custom download (export configuration)."),
|
|
11
|
-
output: z.object({ message: z.string().describe("Confirmation message after custom download deletion.") }).describe("Response model for deleting a custom download.")
|
|
11
|
+
output: z.object({ message: z.string().describe("Confirmation message after custom download deletion.").nullable() }).passthrough().describe("Response model for deleting a custom download.")
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
14
14
|
export { parseurDeleteCustomDownload };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-custom-download.mjs","names":[],"sources":["../../src/actions/delete-custom-download.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseurDeleteCustomDownloadInput
|
|
1
|
+
{"version":3,"file":"delete-custom-download.mjs","names":[],"sources":["../../src/actions/delete-custom-download.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseurDeleteCustomDownloadInput = z.object({\n id: z.string().describe(\"Unique identifier of the custom download (export configuration) to delete.\"),\n mailbox_id: z.string().describe(\"Unique identifier of the mailbox (parser) that contains the custom download. Obtain from List Mailboxes action.\"),\n}).describe(\"Request model for deleting a custom download (export configuration).\");\nexport const ParseurDeleteCustomDownloadOutput = z.object({\n message: z.string().describe(\"Confirmation message after custom download deletion.\").nullable(),\n}).passthrough().describe(\"Response model for deleting a custom download.\");\n\nexport const parseurDeleteCustomDownload = action(\"PARSEUR_DELETE_CUSTOM_DOWNLOAD\", {\n slug: \"parseur-delete-custom-download\",\n name: \"Delete custom download\",\n description: \"Tool to delete a custom download (export configuration) from a mailbox. Use when permanently removing an export configuration after confirming its ID.\",\n input: ParseurDeleteCustomDownloadInput,\n output: ParseurDeleteCustomDownloadOutput,\n});\n"],"mappings":";;AAYA,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ8C,EAAE,OAAO;EACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E;EACpG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH;CACnJ,CAAC,CAAC,CAAC,SAAS,sEASH;CACP,QAT+C,EAAE,OAAO,EACxD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,EAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAOhB;AACV,CAAC"}
|
|
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/delete-document.ts
|
|
4
4
|
const ParseurDeleteDocumentInput = zod.z.object({ document_id: zod.z.string().describe("Unique identifier of the document to delete.") }).describe("Request model for deleting a specific Parseur document.");
|
|
5
|
-
const ParseurDeleteDocumentOutput = zod.z.object({ message: zod.z.string().describe("Confirmation message after document deletion.") }).describe("Response model for deleting a Parseur document.");
|
|
5
|
+
const ParseurDeleteDocumentOutput = zod.z.object({ message: zod.z.string().describe("Confirmation message after document deletion.").nullable() }).passthrough().describe("Response model for deleting a Parseur document.");
|
|
6
6
|
const parseurDeleteDocument = require_action.action("PARSEUR_DELETE_DOCUMENT", {
|
|
7
7
|
slug: "parseur-delete-document",
|
|
8
8
|
name: "Delete document",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-document.cjs","names":["z","action"],"sources":["../../src/actions/delete-document.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseurDeleteDocumentInput
|
|
1
|
+
{"version":3,"file":"delete-document.cjs","names":["z","action"],"sources":["../../src/actions/delete-document.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseurDeleteDocumentInput = z.object({\n document_id: z.string().describe(\"Unique identifier of the document to delete.\"),\n}).describe(\"Request model for deleting a specific Parseur document.\");\nexport const ParseurDeleteDocumentOutput = z.object({\n message: z.string().describe(\"Confirmation message after document deletion.\").nullable(),\n}).passthrough().describe(\"Response model for deleting a Parseur document.\");\n\nexport const parseurDeleteDocument = action(\"PARSEUR_DELETE_DOCUMENT\", {\n slug: \"parseur-delete-document\",\n name: \"Delete document\",\n description: \"Tool to delete a specific document by ID. Use when permanently removing a document after confirming its ID.\",\n input: ParseurDeleteDocumentInput,\n output: ParseurDeleteDocumentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,EACjF,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,EACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAE3E,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/delete-document.d.ts
|
|
4
|
-
declare const ParseurDeleteDocumentInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ParseurDeleteDocumentInput: z.ZodObject<{
|
|
5
|
+
document_id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const ParseurDeleteDocumentOutput: z.ZodObject<{
|
|
8
|
+
message: z.ZodNullable<z.ZodString>;
|
|
9
|
+
}, z.core.$loose>;
|
|
10
|
+
declare const parseurDeleteDocument: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
|
+
document_id: string;
|
|
12
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
13
|
//#endregion
|
|
8
14
|
export { parseurDeleteDocument };
|
|
9
15
|
//# sourceMappingURL=delete-document.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-document.d.cts","names":[],"sources":["../../src/actions/delete-document.ts"],"mappings":";;;cAIa,0BAAA,
|
|
1
|
+
{"version":3,"file":"delete-document.d.cts","names":[],"sources":["../../src/actions/delete-document.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAG1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAI3B,qBAAA,gCAAqB,wBAAA"}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/delete-document.d.ts
|
|
4
|
-
declare const ParseurDeleteDocumentInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ParseurDeleteDocumentInput: z.ZodObject<{
|
|
5
|
+
document_id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const ParseurDeleteDocumentOutput: z.ZodObject<{
|
|
8
|
+
message: z.ZodNullable<z.ZodString>;
|
|
9
|
+
}, z.core.$loose>;
|
|
10
|
+
declare const parseurDeleteDocument: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
|
+
document_id: string;
|
|
12
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
13
|
//#endregion
|
|
8
14
|
export { parseurDeleteDocument };
|
|
9
15
|
//# sourceMappingURL=delete-document.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-document.d.mts","names":[],"sources":["../../src/actions/delete-document.ts"],"mappings":";;;cAIa,0BAAA,
|
|
1
|
+
{"version":3,"file":"delete-document.d.mts","names":[],"sources":["../../src/actions/delete-document.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAG1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAI3B,qBAAA,gCAAqB,wBAAA"}
|
|
@@ -5,7 +5,7 @@ const parseurDeleteDocument = action("PARSEUR_DELETE_DOCUMENT", {
|
|
|
5
5
|
name: "Delete document",
|
|
6
6
|
description: "Tool to delete a specific document by ID. Use when permanently removing a document after confirming its ID.",
|
|
7
7
|
input: z.object({ document_id: z.string().describe("Unique identifier of the document to delete.") }).describe("Request model for deleting a specific Parseur document."),
|
|
8
|
-
output: z.object({ message: z.string().describe("Confirmation message after document deletion.") }).describe("Response model for deleting a Parseur document.")
|
|
8
|
+
output: z.object({ message: z.string().describe("Confirmation message after document deletion.").nullable() }).passthrough().describe("Response model for deleting a Parseur document.")
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
export { parseurDeleteDocument };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-document.mjs","names":[],"sources":["../../src/actions/delete-document.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseurDeleteDocumentInput
|
|
1
|
+
{"version":3,"file":"delete-document.mjs","names":[],"sources":["../../src/actions/delete-document.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseurDeleteDocumentInput = z.object({\n document_id: z.string().describe(\"Unique identifier of the document to delete.\"),\n}).describe(\"Request model for deleting a specific Parseur document.\");\nexport const ParseurDeleteDocumentOutput = z.object({\n message: z.string().describe(\"Confirmation message after document deletion.\").nullable(),\n}).passthrough().describe(\"Response model for deleting a Parseur document.\");\n\nexport const parseurDeleteDocument = action(\"PARSEUR_DELETE_DOCUMENT\", {\n slug: \"parseur-delete-document\",\n name: \"Delete document\",\n description: \"Tool to delete a specific document by ID. Use when permanently removing a document after confirming its ID.\",\n input: ParseurDeleteDocumentInput,\n output: ParseurDeleteDocumentOutput,\n});\n"],"mappings":";;AAWA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXwC,EAAE,OAAO,EACjD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,EACjF,CAAC,CAAC,CAAC,SAAS,yDASH;CACP,QATyC,EAAE,OAAO,EAClD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,EACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAOhB;AACV,CAAC"}
|
|
@@ -2,8 +2,8 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/delete-mailbox.ts
|
|
4
4
|
const ParseurDeleteMailboxInput = zod.z.object({ id: zod.z.number().int().describe("Unique identifier of the mailbox (parser) to delete.") }).describe("Request model for deleting a specific Parseur mailbox (parser).");
|
|
5
|
-
const ParseurDeleteMailbox_NotificationSetSchema = zod.z.object({ info: zod.z.array(zod.z.string()).describe("List of informational messages about the deletion operation.").nullable().optional() }).describe("Notification information returned after mailbox deletion.");
|
|
6
|
-
const ParseurDeleteMailboxOutput = zod.z.object({ notification_set: ParseurDeleteMailbox_NotificationSetSchema.nullable().optional() }).describe("Response model for deleting a Parseur mailbox.");
|
|
5
|
+
const ParseurDeleteMailbox_NotificationSetSchema = zod.z.object({ info: zod.z.array(zod.z.string()).describe("List of informational messages about the deletion operation.").nullable().optional() }).passthrough().describe("Notification information returned after mailbox deletion.");
|
|
6
|
+
const ParseurDeleteMailboxOutput = zod.z.object({ notification_set: ParseurDeleteMailbox_NotificationSetSchema.nullable().optional() }).passthrough().describe("Response model for deleting a Parseur mailbox.");
|
|
7
7
|
const parseurDeleteMailbox = require_action.action("PARSEUR_DELETE_MAILBOX", {
|
|
8
8
|
slug: "parseur-delete-mailbox",
|
|
9
9
|
name: "Delete mailbox",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-mailbox.cjs","names":["z","action"],"sources":["../../src/actions/delete-mailbox.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseurDeleteMailboxInput
|
|
1
|
+
{"version":3,"file":"delete-mailbox.cjs","names":["z","action"],"sources":["../../src/actions/delete-mailbox.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseurDeleteMailboxInput = z.object({\n id: z.number().int().describe(\"Unique identifier of the mailbox (parser) to delete.\"),\n}).describe(\"Request model for deleting a specific Parseur mailbox (parser).\");\nconst ParseurDeleteMailbox_NotificationSetSchema = z.object({\n info: z.array(z.string()).describe(\"List of informational messages about the deletion operation.\").nullable().optional(),\n}).passthrough().describe(\"Notification information returned after mailbox deletion.\");\nexport const ParseurDeleteMailboxOutput = z.object({\n notification_set: ParseurDeleteMailbox_NotificationSetSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for deleting a Parseur mailbox.\");\n\nexport const parseurDeleteMailbox = action(\"PARSEUR_DELETE_MAILBOX\", {\n slug: \"parseur-delete-mailbox\",\n name: \"Delete mailbox\",\n description: \"Tool to delete a mailbox (parser) by ID. Use when permanently removing a mailbox after confirming its ID.\",\n input: ParseurDeleteMailboxInput,\n output: ParseurDeleteMailboxOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,EACtF,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,6CAA6CA,IAAAA,EAAE,OAAO,EAC1D,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AACrF,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,kBAAkB,2CAA2C,SAAS,CAAC,CAAC,SAAS,EACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,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/delete-mailbox.d.ts
|
|
4
|
-
declare const ParseurDeleteMailboxInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ParseurDeleteMailboxInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodNumber;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const ParseurDeleteMailboxOutput: z.ZodObject<{
|
|
8
|
+
notification_set: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
9
|
+
info: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
10
|
+
}, z.core.$loose>>>;
|
|
11
|
+
}, z.core.$loose>;
|
|
12
|
+
declare const parseurDeleteMailbox: 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 { parseurDeleteMailbox };
|
|
9
17
|
//# sourceMappingURL=delete-mailbox.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-mailbox.d.cts","names":[],"sources":["../../src/actions/delete-mailbox.ts"],"mappings":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"delete-mailbox.d.cts","names":[],"sources":["../../src/actions/delete-mailbox.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAMzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cAI1B,oBAAA,gCAAoB,wBAAA"}
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/delete-mailbox.d.ts
|
|
4
|
-
declare const ParseurDeleteMailboxInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ParseurDeleteMailboxInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodNumber;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const ParseurDeleteMailboxOutput: z.ZodObject<{
|
|
8
|
+
notification_set: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
9
|
+
info: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
10
|
+
}, z.core.$loose>>>;
|
|
11
|
+
}, z.core.$loose>;
|
|
12
|
+
declare const parseurDeleteMailbox: 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 { parseurDeleteMailbox };
|
|
9
17
|
//# sourceMappingURL=delete-mailbox.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-mailbox.d.mts","names":[],"sources":["../../src/actions/delete-mailbox.ts"],"mappings":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"delete-mailbox.d.mts","names":[],"sources":["../../src/actions/delete-mailbox.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAMzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cAI1B,oBAAA,gCAAoB,wBAAA"}
|
|
@@ -2,13 +2,13 @@ import { action } from "../action.mjs";
|
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
//#region src/actions/delete-mailbox.ts
|
|
4
4
|
const ParseurDeleteMailboxInput = z.object({ id: z.number().int().describe("Unique identifier of the mailbox (parser) to delete.") }).describe("Request model for deleting a specific Parseur mailbox (parser).");
|
|
5
|
-
const ParseurDeleteMailbox_NotificationSetSchema = z.object({ info: z.array(z.string()).describe("List of informational messages about the deletion operation.").nullable().optional() }).describe("Notification information returned after mailbox deletion.");
|
|
5
|
+
const ParseurDeleteMailbox_NotificationSetSchema = z.object({ info: z.array(z.string()).describe("List of informational messages about the deletion operation.").nullable().optional() }).passthrough().describe("Notification information returned after mailbox deletion.");
|
|
6
6
|
const parseurDeleteMailbox = action("PARSEUR_DELETE_MAILBOX", {
|
|
7
7
|
slug: "parseur-delete-mailbox",
|
|
8
8
|
name: "Delete mailbox",
|
|
9
9
|
description: "Tool to delete a mailbox (parser) by ID. Use when permanently removing a mailbox after confirming its ID.",
|
|
10
10
|
input: ParseurDeleteMailboxInput,
|
|
11
|
-
output: z.object({ notification_set: ParseurDeleteMailbox_NotificationSetSchema.nullable().optional() }).describe("Response model for deleting a Parseur mailbox.")
|
|
11
|
+
output: z.object({ notification_set: ParseurDeleteMailbox_NotificationSetSchema.nullable().optional() }).passthrough().describe("Response model for deleting a Parseur mailbox.")
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
14
14
|
export { parseurDeleteMailbox };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-mailbox.mjs","names":[],"sources":["../../src/actions/delete-mailbox.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseurDeleteMailboxInput
|
|
1
|
+
{"version":3,"file":"delete-mailbox.mjs","names":[],"sources":["../../src/actions/delete-mailbox.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseurDeleteMailboxInput = z.object({\n id: z.number().int().describe(\"Unique identifier of the mailbox (parser) to delete.\"),\n}).describe(\"Request model for deleting a specific Parseur mailbox (parser).\");\nconst ParseurDeleteMailbox_NotificationSetSchema = z.object({\n info: z.array(z.string()).describe(\"List of informational messages about the deletion operation.\").nullable().optional(),\n}).passthrough().describe(\"Notification information returned after mailbox deletion.\");\nexport const ParseurDeleteMailboxOutput = z.object({\n notification_set: ParseurDeleteMailbox_NotificationSetSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for deleting a Parseur mailbox.\");\n\nexport const parseurDeleteMailbox = action(\"PARSEUR_DELETE_MAILBOX\", {\n slug: \"parseur-delete-mailbox\",\n name: \"Delete mailbox\",\n description: \"Tool to delete a mailbox (parser) by ID. Use when permanently removing a mailbox after confirming its ID.\",\n input: ParseurDeleteMailboxInput,\n output: ParseurDeleteMailboxOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO,EAChD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,EACtF,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,6CAA6C,EAAE,OAAO,EAC1D,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AAKrF,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATwC,EAAE,OAAO,EACjD,kBAAkB,2CAA2C,SAAS,CAAC,CAAC,SAAS,EACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAOhB;AACV,CAAC"}
|
|
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/delete-webhook.ts
|
|
4
4
|
const ParseurDeleteWebhookInput = zod.z.object({ webhook_id: zod.z.number().int().describe("Unique identifier of the webhook to delete.") }).describe("Request model for deleting a specific Parseur webhook.");
|
|
5
|
-
const ParseurDeleteWebhookOutput = zod.z.object({ message: zod.z.string().describe("Confirmation message after webhook deletion.") }).describe("Response model for deleting a Parseur webhook.");
|
|
5
|
+
const ParseurDeleteWebhookOutput = zod.z.object({ message: zod.z.string().describe("Confirmation message after webhook deletion.").nullable() }).passthrough().describe("Response model for deleting a Parseur webhook.");
|
|
6
6
|
const parseurDeleteWebhook = require_action.action("PARSEUR_DELETE_WEBHOOK", {
|
|
7
7
|
slug: "parseur-delete-webhook",
|
|
8
8
|
name: "Delete webhook",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-webhook.cjs","names":["z","action"],"sources":["../../src/actions/delete-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseurDeleteWebhookInput
|
|
1
|
+
{"version":3,"file":"delete-webhook.cjs","names":["z","action"],"sources":["../../src/actions/delete-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseurDeleteWebhookInput = z.object({\n webhook_id: z.number().int().describe(\"Unique identifier of the webhook to delete.\"),\n}).describe(\"Request model for deleting a specific Parseur webhook.\");\nexport const ParseurDeleteWebhookOutput = z.object({\n message: z.string().describe(\"Confirmation message after webhook deletion.\").nullable(),\n}).passthrough().describe(\"Response model for deleting a Parseur webhook.\");\n\nexport const parseurDeleteWebhook = action(\"PARSEUR_DELETE_WEBHOOK\", {\n slug: \"parseur-delete-webhook\",\n name: \"Delete webhook\",\n description: \"Tool to delete a specific webhook. Use when permanently removing a webhook after confirming its ID.\",\n input: ParseurDeleteWebhookInput,\n output: ParseurDeleteWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,EACrF,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,EACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/delete-webhook.d.ts
|
|
4
|
-
declare const ParseurDeleteWebhookInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ParseurDeleteWebhookInput: z.ZodObject<{
|
|
5
|
+
webhook_id: z.ZodNumber;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const ParseurDeleteWebhookOutput: z.ZodObject<{
|
|
8
|
+
message: z.ZodNullable<z.ZodString>;
|
|
9
|
+
}, z.core.$loose>;
|
|
10
|
+
declare const parseurDeleteWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
|
+
webhook_id: number;
|
|
12
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
13
|
//#endregion
|
|
8
14
|
export { parseurDeleteWebhook };
|
|
9
15
|
//# sourceMappingURL=delete-webhook.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-webhook.d.cts","names":[],"sources":["../../src/actions/delete-webhook.ts"],"mappings":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"delete-webhook.d.cts","names":[],"sources":["../../src/actions/delete-webhook.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAI1B,oBAAA,gCAAoB,wBAAA"}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/delete-webhook.d.ts
|
|
4
|
-
declare const ParseurDeleteWebhookInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ParseurDeleteWebhookInput: z.ZodObject<{
|
|
5
|
+
webhook_id: z.ZodNumber;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const ParseurDeleteWebhookOutput: z.ZodObject<{
|
|
8
|
+
message: z.ZodNullable<z.ZodString>;
|
|
9
|
+
}, z.core.$loose>;
|
|
10
|
+
declare const parseurDeleteWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
|
+
webhook_id: number;
|
|
12
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
13
|
//#endregion
|
|
8
14
|
export { parseurDeleteWebhook };
|
|
9
15
|
//# sourceMappingURL=delete-webhook.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-webhook.d.mts","names":[],"sources":["../../src/actions/delete-webhook.ts"],"mappings":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"delete-webhook.d.mts","names":[],"sources":["../../src/actions/delete-webhook.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAI1B,oBAAA,gCAAoB,wBAAA"}
|
|
@@ -5,7 +5,7 @@ const parseurDeleteWebhook = action("PARSEUR_DELETE_WEBHOOK", {
|
|
|
5
5
|
name: "Delete webhook",
|
|
6
6
|
description: "Tool to delete a specific webhook. Use when permanently removing a webhook after confirming its ID.",
|
|
7
7
|
input: z.object({ webhook_id: z.number().int().describe("Unique identifier of the webhook to delete.") }).describe("Request model for deleting a specific Parseur webhook."),
|
|
8
|
-
output: z.object({ message: z.string().describe("Confirmation message after webhook deletion.") }).describe("Response model for deleting a Parseur webhook.")
|
|
8
|
+
output: z.object({ message: z.string().describe("Confirmation message after webhook deletion.").nullable() }).passthrough().describe("Response model for deleting a Parseur webhook.")
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
export { parseurDeleteWebhook };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-webhook.mjs","names":[],"sources":["../../src/actions/delete-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseurDeleteWebhookInput
|
|
1
|
+
{"version":3,"file":"delete-webhook.mjs","names":[],"sources":["../../src/actions/delete-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseurDeleteWebhookInput = z.object({\n webhook_id: z.number().int().describe(\"Unique identifier of the webhook to delete.\"),\n}).describe(\"Request model for deleting a specific Parseur webhook.\");\nexport const ParseurDeleteWebhookOutput = z.object({\n message: z.string().describe(\"Confirmation message after webhook deletion.\").nullable(),\n}).passthrough().describe(\"Response model for deleting a Parseur webhook.\");\n\nexport const parseurDeleteWebhook = action(\"PARSEUR_DELETE_WEBHOOK\", {\n slug: \"parseur-delete-webhook\",\n name: \"Delete webhook\",\n description: \"Tool to delete a specific webhook. Use when permanently removing a webhook after confirming its ID.\",\n input: ParseurDeleteWebhookInput,\n output: ParseurDeleteWebhookOutput,\n});\n"],"mappings":";;AAWA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXuC,EAAE,OAAO,EAChD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,EACrF,CAAC,CAAC,CAAC,SAAS,wDASH;CACP,QATwC,EAAE,OAAO,EACjD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,EACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAOhB;AACV,CAAC"}
|
|
@@ -6,14 +6,14 @@ const ParseurDisableWebhookInput = zod.z.object({
|
|
|
6
6
|
webhook_id: zod.z.number().int().describe("Unique numeric ID of the active webhook to disable. Obtain from webhook_set via List Webhooks action.")
|
|
7
7
|
});
|
|
8
8
|
const ParseurDisableWebhook_WebhookInfoSchema = zod.z.object({
|
|
9
|
-
id: zod.z.number().int().describe("Webhook ID"),
|
|
9
|
+
id: zod.z.number().int().describe("Webhook ID").nullable(),
|
|
10
10
|
name: zod.z.string().describe("Custom name of the webhook").nullable().optional(),
|
|
11
|
-
event: zod.z.string().describe("Event type that triggers the webhook"),
|
|
12
|
-
target: zod.z.string().describe("Target URL where webhook payloads are sent"),
|
|
13
|
-
headers: zod.z.
|
|
14
|
-
category: zod.z.string().describe("Webhook category"),
|
|
11
|
+
event: zod.z.string().describe("Event type that triggers the webhook").nullable(),
|
|
12
|
+
target: zod.z.string().describe("Target URL where webhook payloads are sent").nullable(),
|
|
13
|
+
headers: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom HTTP headers sent with the webhook payload").nullable().optional(),
|
|
14
|
+
category: zod.z.string().describe("Webhook category").nullable(),
|
|
15
15
|
parser_field_set: zod.z.array(zod.z.unknown()).describe("List of parser fields or table-fields assigned to the webhook").nullable().optional()
|
|
16
|
-
});
|
|
16
|
+
}).passthrough();
|
|
17
17
|
const ParseurDisableWebhook_DocumentPerStatusCountSchema = zod.z.object({
|
|
18
18
|
SPLIT: zod.z.number().int().describe("Files that were split into multiple documents").nullable().optional(),
|
|
19
19
|
INVALID: zod.z.number().int().describe("Files that were not processed because they are not supported by our system").nullable().optional(),
|
|
@@ -26,7 +26,7 @@ const ParseurDisableWebhook_DocumentPerStatusCountSchema = zod.z.object({
|
|
|
26
26
|
PROGRESS: zod.z.number().int().describe("Files currently being processed by active AI engine for that mailbox").nullable().optional(),
|
|
27
27
|
QUOTAEXC: zod.z.number().int().describe("Files where processing was stopped because the user does not have enough credits to process them").nullable().optional(),
|
|
28
28
|
ANALYZING: zod.z.number().int().describe("Files being analyzed against our system's import parameters and the user's mailbox settings").nullable().optional()
|
|
29
|
-
});
|
|
29
|
+
}).passthrough();
|
|
30
30
|
const ParseurDisableWebhookOutput = zod.z.object({
|
|
31
31
|
id: zod.z.number().int().describe("The internal ID number for the parser").nullable().optional(),
|
|
32
32
|
name: zod.z.string().describe("The name of the parser").nullable().optional(),
|
|
@@ -37,7 +37,7 @@ const ParseurDisableWebhookOutput = zod.z.object({
|
|
|
37
37
|
last_activity: zod.z.string().describe("Last activity timestamp").nullable().optional(),
|
|
38
38
|
available_webhook_set: zod.z.array(ParseurDisableWebhook_WebhookInfoSchema).describe("List of available (paused/disabled) webhooks. The disabled webhook will appear here.").nullable().optional(),
|
|
39
39
|
document_per_status_count: ParseurDisableWebhook_DocumentPerStatusCountSchema.nullable().optional()
|
|
40
|
-
});
|
|
40
|
+
}).passthrough();
|
|
41
41
|
const parseurDisableWebhook = require_action.action("PARSEUR_DISABLE_WEBHOOK", {
|
|
42
42
|
slug: "parseur-disable-webhook",
|
|
43
43
|
name: "Disable webhook",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"disable-webhook.cjs","names":["z","action"],"sources":["../../src/actions/disable-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseurDisableWebhookInput
|
|
1
|
+
{"version":3,"file":"disable-webhook.cjs","names":["z","action"],"sources":["../../src/actions/disable-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseurDisableWebhookInput = z.object({\n mailbox_id: z.number().int().describe(\"Unique numeric ID of the parser mailbox containing the webhook. Obtain via List Mailboxes action.\"),\n webhook_id: z.number().int().describe(\"Unique numeric ID of the active webhook to disable. Obtain from webhook_set via List Webhooks action.\"),\n});\nconst ParseurDisableWebhook_WebhookInfoSchema = z.object({\n id: z.number().int().describe(\"Webhook ID\").nullable(),\n name: z.string().describe(\"Custom name of the webhook\").nullable().optional(),\n event: z.string().describe(\"Event type that triggers the webhook\").nullable(),\n target: z.string().describe(\"Target URL where webhook payloads are sent\").nullable(),\n headers: z.record(z.string(), z.unknown()).describe(\"Custom HTTP headers sent with the webhook payload\").nullable().optional(),\n category: z.string().describe(\"Webhook category\").nullable(),\n parser_field_set: z.array(z.unknown()).describe(\"List of parser fields or table-fields assigned to the webhook\").nullable().optional(),\n}).passthrough();\nconst ParseurDisableWebhook_DocumentPerStatusCountSchema = z.object({\n SPLIT: z.number().int().describe(\"Files that were split into multiple documents\").nullable().optional(),\n INVALID: z.number().int().describe(\"Files that were not processed because they are not supported by our system\").nullable().optional(),\n SKIPPED: z.number().int().describe(\"Files that were skipped because of a template\").nullable().optional(),\n TRANSKO: z.number().int().describe(\"Files where our Python post-processing failed to process\").nullable().optional(),\n EXPORTKO: z.number().int().describe(\"Files where exporting the parsed data failed\").nullable().optional(),\n INCOMING: z.number().int().describe(\"Files that have been received by our system but are awaiting processing\").nullable().optional(),\n PARSEDKO: z.number().int().describe(\"Files where processing failed\").nullable().optional(),\n PARSEDOK: z.number().int().describe(\"Files that have been processed and data is available for export\").nullable().optional(),\n PROGRESS: z.number().int().describe(\"Files currently being processed by active AI engine for that mailbox\").nullable().optional(),\n QUOTAEXC: z.number().int().describe(\"Files where processing was stopped because the user does not have enough credits to process them\").nullable().optional(),\n ANALYZING: z.number().int().describe(\"Files being analyzed against our system's import parameters and the user's mailbox settings\").nullable().optional(),\n}).passthrough();\nexport const ParseurDisableWebhookOutput = z.object({\n id: z.number().int().describe(\"The internal ID number for the parser\").nullable().optional(),\n name: z.string().describe(\"The name of the parser\").nullable().optional(),\n is_master: z.boolean().describe(\"Whether this is a master parser that passes its instructions on to others\").nullable().optional(),\n webhook_set: z.array(ParseurDisableWebhook_WebhookInfoSchema).describe(\"List of active webhooks for this parser. The disabled webhook will not appear in this list.\").nullable().optional(),\n account_uuid: z.string().describe(\"The Universally Unique Identifier for your account\").nullable().optional(),\n email_prefix: z.string().describe(\"The email prefix for the parser\").nullable().optional(),\n last_activity: z.string().describe(\"Last activity timestamp\").nullable().optional(),\n available_webhook_set: z.array(ParseurDisableWebhook_WebhookInfoSchema).describe(\"List of available (paused/disabled) webhooks. The disabled webhook will appear here.\").nullable().optional(),\n document_per_status_count: ParseurDisableWebhook_DocumentPerStatusCountSchema.nullable().optional(),\n}).passthrough();\n\nexport const parseurDisableWebhook = action(\"PARSEUR_DISABLE_WEBHOOK\", {\n slug: \"parseur-disable-webhook\",\n name: \"Disable webhook\",\n description: \"Tool to disable a webhook for a mailbox. Removes the webhook association from the specified mailbox. Use when you need to stop an active webhook from sending parsed data.\",\n input: ParseurDisableWebhookInput,\n output: ParseurDisableWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mGAAmG;CACzI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uGAAuG;AAC/I,CAAC;AACD,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC5E,QAAQA,IAAAA,EAAE,OAAO,CAA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