@keystrokehq/parsio_io 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/create-html-text-document.cjs +2 -2
- package/dist/actions/create-html-text-document.cjs.map +1 -1
- package/dist/actions/create-html-text-document.d.cts +3 -3
- package/dist/actions/create-html-text-document.d.mts +3 -3
- package/dist/actions/create-html-text-document.mjs +2 -2
- package/dist/actions/create-html-text-document.mjs.map +1 -1
- package/dist/actions/create-mailbox.cjs +1 -1
- package/dist/actions/create-mailbox.cjs.map +1 -1
- package/dist/actions/create-mailbox.d.cts +1 -1
- package/dist/actions/create-mailbox.d.mts +1 -1
- package/dist/actions/create-mailbox.mjs +1 -1
- package/dist/actions/create-mailbox.mjs.map +1 -1
- package/dist/actions/create-webhook.cjs +1 -1
- package/dist/actions/create-webhook.cjs.map +1 -1
- package/dist/actions/create-webhook.d.cts +1 -1
- package/dist/actions/create-webhook.d.mts +1 -1
- package/dist/actions/create-webhook.mjs +1 -1
- package/dist/actions/create-webhook.mjs.map +1 -1
- package/dist/actions/delete-mailbox.cjs +1 -1
- package/dist/actions/delete-mailbox.cjs.map +1 -1
- package/dist/actions/delete-mailbox.d.cts +1 -1
- package/dist/actions/delete-mailbox.d.mts +1 -1
- package/dist/actions/delete-mailbox.mjs +1 -1
- package/dist/actions/delete-mailbox.mjs.map +1 -1
- package/dist/actions/delete-templates.cjs +1 -1
- package/dist/actions/delete-templates.cjs.map +1 -1
- package/dist/actions/delete-templates.d.cts +1 -1
- package/dist/actions/delete-templates.d.mts +1 -1
- package/dist/actions/delete-templates.mjs +1 -1
- package/dist/actions/delete-templates.mjs.map +1 -1
- package/dist/actions/delete-webhooks.cjs +1 -1
- package/dist/actions/delete-webhooks.cjs.map +1 -1
- package/dist/actions/delete-webhooks.d.cts +1 -1
- package/dist/actions/delete-webhooks.d.mts +1 -1
- package/dist/actions/delete-webhooks.mjs +1 -1
- package/dist/actions/delete-webhooks.mjs.map +1 -1
- package/dist/actions/disable-templates.cjs +1 -1
- package/dist/actions/disable-templates.cjs.map +1 -1
- package/dist/actions/disable-templates.d.cts +1 -1
- package/dist/actions/disable-templates.d.mts +1 -1
- package/dist/actions/disable-templates.mjs +1 -1
- package/dist/actions/disable-templates.mjs.map +1 -1
- package/dist/actions/enable-templates.cjs +1 -1
- package/dist/actions/enable-templates.cjs.map +1 -1
- package/dist/actions/enable-templates.d.cts +1 -1
- package/dist/actions/enable-templates.d.mts +1 -1
- package/dist/actions/enable-templates.mjs +1 -1
- package/dist/actions/enable-templates.mjs.map +1 -1
- package/dist/actions/get-document.cjs +1 -1
- package/dist/actions/get-document.cjs.map +1 -1
- package/dist/actions/get-document.d.cts +1 -1
- package/dist/actions/get-document.d.mts +1 -1
- package/dist/actions/get-document.mjs +1 -1
- package/dist/actions/get-document.mjs.map +1 -1
- package/dist/actions/get-mailbox.cjs +1 -1
- package/dist/actions/get-mailbox.cjs.map +1 -1
- package/dist/actions/get-mailbox.d.cts +1 -1
- package/dist/actions/get-mailbox.d.mts +1 -1
- package/dist/actions/get-mailbox.mjs +1 -1
- package/dist/actions/get-mailbox.mjs.map +1 -1
- package/dist/actions/get-parsed-data.cjs +2 -2
- package/dist/actions/get-parsed-data.cjs.map +1 -1
- package/dist/actions/get-parsed-data.d.cts +2 -2
- package/dist/actions/get-parsed-data.d.mts +2 -2
- package/dist/actions/get-parsed-data.mjs +2 -2
- package/dist/actions/get-parsed-data.mjs.map +1 -1
- package/dist/actions/get-template.cjs +2 -2
- package/dist/actions/get-template.cjs.map +1 -1
- package/dist/actions/get-template.d.cts +2 -2
- package/dist/actions/get-template.d.mts +2 -2
- package/dist/actions/get-template.mjs +2 -2
- package/dist/actions/get-template.mjs.map +1 -1
- package/dist/actions/get-webhook.cjs +1 -1
- package/dist/actions/get-webhook.cjs.map +1 -1
- package/dist/actions/get-webhook.d.cts +1 -1
- package/dist/actions/get-webhook.d.mts +1 -1
- package/dist/actions/get-webhook.mjs +1 -1
- package/dist/actions/get-webhook.mjs.map +1 -1
- package/dist/actions/list-collected-emails.cjs +2 -2
- package/dist/actions/list-collected-emails.cjs.map +1 -1
- package/dist/actions/list-collected-emails.d.cts +2 -2
- package/dist/actions/list-collected-emails.d.mts +2 -2
- package/dist/actions/list-collected-emails.mjs +2 -2
- package/dist/actions/list-collected-emails.mjs.map +1 -1
- package/dist/actions/list-documents.cjs +2 -2
- package/dist/actions/list-documents.cjs.map +1 -1
- package/dist/actions/list-documents.d.cts +2 -2
- package/dist/actions/list-documents.d.mts +2 -2
- package/dist/actions/list-documents.mjs +2 -2
- package/dist/actions/list-documents.mjs.map +1 -1
- package/dist/actions/list-mailboxes.cjs +2 -2
- package/dist/actions/list-mailboxes.cjs.map +1 -1
- package/dist/actions/list-mailboxes.d.cts +2 -2
- package/dist/actions/list-mailboxes.d.mts +2 -2
- package/dist/actions/list-mailboxes.mjs +2 -2
- package/dist/actions/list-mailboxes.mjs.map +1 -1
- package/dist/actions/list-table-fields.cjs +2 -2
- package/dist/actions/list-table-fields.cjs.map +1 -1
- package/dist/actions/list-table-fields.d.cts +2 -2
- package/dist/actions/list-table-fields.d.mts +2 -2
- package/dist/actions/list-table-fields.mjs +2 -2
- package/dist/actions/list-table-fields.mjs.map +1 -1
- package/dist/actions/list-templates.cjs +2 -2
- package/dist/actions/list-templates.cjs.map +1 -1
- package/dist/actions/list-templates.d.cts +2 -2
- package/dist/actions/list-templates.d.mts +2 -2
- package/dist/actions/list-templates.mjs +2 -2
- package/dist/actions/list-templates.mjs.map +1 -1
- package/dist/actions/list-webhooks.cjs +2 -2
- package/dist/actions/list-webhooks.cjs.map +1 -1
- package/dist/actions/list-webhooks.d.cts +2 -2
- package/dist/actions/list-webhooks.d.mts +2 -2
- package/dist/actions/list-webhooks.mjs +2 -2
- package/dist/actions/list-webhooks.mjs.map +1 -1
- package/dist/actions/parse-document.cjs +1 -1
- package/dist/actions/parse-document.cjs.map +1 -1
- package/dist/actions/parse-document.d.cts +1 -1
- package/dist/actions/parse-document.d.mts +1 -1
- package/dist/actions/parse-document.mjs +1 -1
- package/dist/actions/parse-document.mjs.map +1 -1
- package/dist/actions/skip-documents.cjs +1 -1
- package/dist/actions/skip-documents.cjs.map +1 -1
- package/dist/actions/skip-documents.d.cts +1 -1
- package/dist/actions/skip-documents.d.mts +1 -1
- package/dist/actions/skip-documents.mjs +1 -1
- package/dist/actions/skip-documents.mjs.map +1 -1
- package/dist/actions/update-mailbox.cjs +1 -1
- package/dist/actions/update-mailbox.cjs.map +1 -1
- package/dist/actions/update-mailbox.d.cts +1 -1
- package/dist/actions/update-mailbox.d.mts +1 -1
- package/dist/actions/update-mailbox.mjs +1 -1
- package/dist/actions/update-mailbox.mjs.map +1 -1
- package/dist/actions/update-webhook.cjs +1 -1
- package/dist/actions/update-webhook.cjs.map +1 -1
- package/dist/actions/update-webhook.d.cts +1 -1
- package/dist/actions/update-webhook.d.mts +1 -1
- package/dist/actions/update-webhook.mjs +1 -1
- package/dist/actions/update-webhook.mjs.map +1 -1
- package/dist/actions/upload-file.cjs +2 -2
- package/dist/actions/upload-file.cjs.map +1 -1
- package/dist/actions/upload-file.d.cts +3 -3
- package/dist/actions/upload-file.d.mts +3 -3
- package/dist/actions/upload-file.mjs +2 -2
- package/dist/actions/upload-file.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -5,7 +5,7 @@ const parsioIoEnableTemplates = action("PARSIO_IO_ENABLE_TEMPLATES", {
|
|
|
5
5
|
name: "Enable Templates",
|
|
6
6
|
description: "Tool to enable multiple templates by providing an array of template IDs. Use when you need to activate multiple templates for use in a mailbox.",
|
|
7
7
|
input: z.object({ ids: z.array(z.string()).describe("Array of template identifiers to activate. Provide template IDs that need to be enabled.") }).describe("Request parameters for enabling multiple templates."),
|
|
8
|
-
output: z.object({ success: z.boolean().describe("Indicates whether the templates were successfully enabled").nullable() }).describe("Response model for enable templates action.")
|
|
8
|
+
output: z.object({ success: z.boolean().describe("Indicates whether the templates were successfully enabled").nullable() }).passthrough().describe("Response model for enable templates action.")
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
export { parsioIoEnableTemplates };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enable-templates.mjs","names":[],"sources":["../../src/actions/enable-templates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParsioIoEnableTemplatesInput = z.object({\n ids: z.array(z.string()).describe(\"Array of template identifiers to activate. Provide template IDs that need to be enabled.\"),\n}).describe(\"Request parameters for enabling multiple templates.\");\nexport const ParsioIoEnableTemplatesOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the templates were successfully enabled\").nullable(),\n}).describe(\"Response model for enable templates action.\");\n\nexport const parsioIoEnableTemplates = action(\"PARSIO_IO_ENABLE_TEMPLATES\", {\n slug: \"parsio_io-enable-templates\",\n name: \"Enable Templates\",\n description: \"Tool to enable multiple templates by providing an array of template IDs. Use when you need to activate multiple templates for use in a mailbox.\",\n input: ParsioIoEnableTemplatesInput,\n output: ParsioIoEnableTemplatesOutput,\n});\n"],"mappings":";;AAWA,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX0C,EAAE,OAAO,EACnD,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0FAA0F,EAC9H,CAAC,CAAC,CAAC,SAAS,qDASH;CACP,QAT2C,EAAE,OAAO,EACpD,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,EACtG,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"enable-templates.mjs","names":[],"sources":["../../src/actions/enable-templates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParsioIoEnableTemplatesInput = z.object({\n ids: z.array(z.string()).describe(\"Array of template identifiers to activate. Provide template IDs that need to be enabled.\"),\n}).describe(\"Request parameters for enabling multiple templates.\");\nexport const ParsioIoEnableTemplatesOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the templates were successfully enabled\").nullable(),\n}).passthrough().describe(\"Response model for enable templates action.\");\n\nexport const parsioIoEnableTemplates = action(\"PARSIO_IO_ENABLE_TEMPLATES\", {\n slug: \"parsio_io-enable-templates\",\n name: \"Enable Templates\",\n description: \"Tool to enable multiple templates by providing an array of template IDs. Use when you need to activate multiple templates for use in a mailbox.\",\n input: ParsioIoEnableTemplatesInput,\n output: ParsioIoEnableTemplatesOutput,\n});\n"],"mappings":";;AAWA,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX0C,EAAE,OAAO,EACnD,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0FAA0F,EAC9H,CAAC,CAAC,CAAC,SAAS,qDASH;CACP,QAT2C,EAAE,OAAO,EACpD,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,EACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAOhB;AACV,CAAC"}
|
|
@@ -7,7 +7,7 @@ const ParsioIoGetDocumentOutput = zod.z.object({
|
|
|
7
7
|
status: zod.z.string().describe("The processing status of the document").nullable().optional(),
|
|
8
8
|
created_at: zod.z.string().describe("Timestamp when the document was created").nullable().optional(),
|
|
9
9
|
parsed_data: zod.z.record(zod.z.string(), zod.z.unknown()).describe("The parsed data extracted from the document. Structure varies based on parser configuration.").nullable().optional()
|
|
10
|
-
}).describe("Response model for document retrieval with parsed data.");
|
|
10
|
+
}).passthrough().describe("Response model for document retrieval with parsed data.");
|
|
11
11
|
const parsioIoGetDocument = require_action.action("PARSIO_IO_GET_DOCUMENT", {
|
|
12
12
|
slug: "parsio_io-get-document",
|
|
13
13
|
name: "Get Document",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-document.cjs","names":["z","action"],"sources":["../../src/actions/get-document.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParsioIoGetDocumentInput = z.object({\n document_id: z.string().describe(\"The unique identifier of the document to retrieve\"),\n}).describe(\"Request model for retrieving a specific document with parsed data.\");\nexport const ParsioIoGetDocumentOutput = z.object({\n id: z.string().describe(\"The unique identifier of the document\").nullable().optional(),\n status: z.string().describe(\"The processing status of the document\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the document was created\").nullable().optional(),\n parsed_data: z.record(z.string(), z.unknown()).describe(\"The parsed data extracted from the document. Structure varies based on parser configuration.\").nullable().optional(),\n}).describe(\"Response model for document retrieval with parsed data.\");\n\nexport const parsioIoGetDocument = action(\"PARSIO_IO_GET_DOCUMENT\", {\n slug: \"parsio_io-get-document\",\n name: \"Get Document\",\n description: \"Tool to retrieve a specific document with parsed data as JSON. Use when you need to fetch details of a document by its ID.\",\n input: ParsioIoGetDocumentInput,\n output: ParsioIoGetDocumentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,EACtF,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,aAAaA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9K,CAAC,CAAC,CAAC,SAAS,yDAAyD;
|
|
1
|
+
{"version":3,"file":"get-document.cjs","names":["z","action"],"sources":["../../src/actions/get-document.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParsioIoGetDocumentInput = z.object({\n document_id: z.string().describe(\"The unique identifier of the document to retrieve\"),\n}).describe(\"Request model for retrieving a specific document with parsed data.\");\nexport const ParsioIoGetDocumentOutput = z.object({\n id: z.string().describe(\"The unique identifier of the document\").nullable().optional(),\n status: z.string().describe(\"The processing status of the document\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the document was created\").nullable().optional(),\n parsed_data: z.record(z.string(), z.unknown()).describe(\"The parsed data extracted from the document. Structure varies based on parser configuration.\").nullable().optional(),\n}).passthrough().describe(\"Response model for document retrieval with parsed data.\");\n\nexport const parsioIoGetDocument = action(\"PARSIO_IO_GET_DOCUMENT\", {\n slug: \"parsio_io-get-document\",\n name: \"Get Document\",\n description: \"Tool to retrieve a specific document with parsed data as JSON. Use when you need to fetch details of a document by its ID.\",\n input: ParsioIoGetDocumentInput,\n output: ParsioIoGetDocumentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,EACtF,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,aAAaA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAEnF,MAAa,sBAAsBC,eAAAA,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -9,7 +9,7 @@ declare const ParsioIoGetDocumentOutput: z.ZodObject<{
|
|
|
9
9
|
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
10
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
11
|
parsed_data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
12
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>;
|
|
13
13
|
declare const parsioIoGetDocument: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
14
|
document_id: string;
|
|
15
15
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -9,7 +9,7 @@ declare const ParsioIoGetDocumentOutput: z.ZodObject<{
|
|
|
9
9
|
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
10
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
11
|
parsed_data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
12
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>;
|
|
13
13
|
declare const parsioIoGetDocument: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
14
|
document_id: string;
|
|
15
15
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -10,7 +10,7 @@ const parsioIoGetDocument = action("PARSIO_IO_GET_DOCUMENT", {
|
|
|
10
10
|
status: z.string().describe("The processing status of the document").nullable().optional(),
|
|
11
11
|
created_at: z.string().describe("Timestamp when the document was created").nullable().optional(),
|
|
12
12
|
parsed_data: z.record(z.string(), z.unknown()).describe("The parsed data extracted from the document. Structure varies based on parser configuration.").nullable().optional()
|
|
13
|
-
}).describe("Response model for document retrieval with parsed data.")
|
|
13
|
+
}).passthrough().describe("Response model for document retrieval with parsed data.")
|
|
14
14
|
});
|
|
15
15
|
//#endregion
|
|
16
16
|
export { parsioIoGetDocument };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-document.mjs","names":[],"sources":["../../src/actions/get-document.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParsioIoGetDocumentInput = z.object({\n document_id: z.string().describe(\"The unique identifier of the document to retrieve\"),\n}).describe(\"Request model for retrieving a specific document with parsed data.\");\nexport const ParsioIoGetDocumentOutput = z.object({\n id: z.string().describe(\"The unique identifier of the document\").nullable().optional(),\n status: z.string().describe(\"The processing status of the document\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the document was created\").nullable().optional(),\n parsed_data: z.record(z.string(), z.unknown()).describe(\"The parsed data extracted from the document. Structure varies based on parser configuration.\").nullable().optional(),\n}).describe(\"Response model for document retrieval with parsed data.\");\n\nexport const parsioIoGetDocument = action(\"PARSIO_IO_GET_DOCUMENT\", {\n slug: \"parsio_io-get-document\",\n name: \"Get Document\",\n description: \"Tool to retrieve a specific document with parsed data as JSON. Use when you need to fetch details of a document by its ID.\",\n input: ParsioIoGetDocumentInput,\n output: ParsioIoGetDocumentOutput,\n});\n"],"mappings":";;AAcA,MAAa,sBAAsB,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdsC,EAAE,OAAO,EAC/C,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,EACtF,CAAC,CAAC,CAAC,SAAS,oEAYH;CACP,QAZuC,EAAE,OAAO;EAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,aAAa,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9K,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"get-document.mjs","names":[],"sources":["../../src/actions/get-document.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParsioIoGetDocumentInput = z.object({\n document_id: z.string().describe(\"The unique identifier of the document to retrieve\"),\n}).describe(\"Request model for retrieving a specific document with parsed data.\");\nexport const ParsioIoGetDocumentOutput = z.object({\n id: z.string().describe(\"The unique identifier of the document\").nullable().optional(),\n status: z.string().describe(\"The processing status of the document\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the document was created\").nullable().optional(),\n parsed_data: z.record(z.string(), z.unknown()).describe(\"The parsed data extracted from the document. Structure varies based on parser configuration.\").nullable().optional(),\n}).passthrough().describe(\"Response model for document retrieval with parsed data.\");\n\nexport const parsioIoGetDocument = action(\"PARSIO_IO_GET_DOCUMENT\", {\n slug: \"parsio_io-get-document\",\n name: \"Get Document\",\n description: \"Tool to retrieve a specific document with parsed data as JSON. Use when you need to fetch details of a document by its ID.\",\n input: ParsioIoGetDocumentInput,\n output: ParsioIoGetDocumentOutput,\n});\n"],"mappings":";;AAcA,MAAa,sBAAsB,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdsC,EAAE,OAAO,EAC/C,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,EACtF,CAAC,CAAC,CAAC,SAAS,oEAYH;CACP,QAZuC,EAAE,OAAO;EAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,aAAa,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAOhB;AACV,CAAC"}
|
|
@@ -9,7 +9,7 @@ const ParsioIoGetMailboxOutput = zod.z.object({
|
|
|
9
9
|
alert_email_h: zod.z.number().int().describe("Email alerts frequency in hours.").nullable().optional(),
|
|
10
10
|
collect_emails: zod.z.boolean().describe("Whether automatic email address collection is enabled.").nullable().optional(),
|
|
11
11
|
process_attachments: zod.z.boolean().describe("Whether email attachments are stored or ignored.").nullable().optional()
|
|
12
|
-
}).describe("Response model for mailbox details.");
|
|
12
|
+
}).passthrough().describe("Response model for mailbox details.");
|
|
13
13
|
const parsioIoGetMailbox = require_action.action("PARSIO_IO_GET_MAILBOX", {
|
|
14
14
|
slug: "parsio_io-get-mailbox",
|
|
15
15
|
name: "Get Mailbox Details",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-mailbox.cjs","names":["z","action"],"sources":["../../src/actions/get-mailbox.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParsioIoGetMailboxInput = z.object({\n mailbox_id: z.string().describe(\"The unique identifier of the mailbox to retrieve.\"),\n}).describe(\"Request model for retrieving mailbox details.\");\nexport const ParsioIoGetMailboxOutput = z.object({\n id: z.string().describe(\"The unique identifier for the mailbox.\").nullable().optional(),\n name: z.string().describe(\"The mailbox name/identifier.\").nullable().optional(),\n email_prefix: z.string().describe(\"Email prefix used for generating the mailbox email address.\").nullable().optional(),\n alert_email_h: z.number().int().describe(\"Email alerts frequency in hours.\").nullable().optional(),\n collect_emails: z.boolean().describe(\"Whether automatic email address collection is enabled.\").nullable().optional(),\n process_attachments: z.boolean().describe(\"Whether email attachments are stored or ignored.\").nullable().optional(),\n}).describe(\"Response model for mailbox details.\");\n\nexport const parsioIoGetMailbox = action(\"PARSIO_IO_GET_MAILBOX\", {\n slug: \"parsio_io-get-mailbox\",\n name: \"Get Mailbox Details\",\n description: \"Tool to retrieve details of a specific mailbox. Use when you need to fetch configuration and settings for a particular mailbox.\",\n input: ParsioIoGetMailboxInput,\n output: ParsioIoGetMailboxOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,EACrF,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,qBAAqBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,SAAS,qCAAqC;
|
|
1
|
+
{"version":3,"file":"get-mailbox.cjs","names":["z","action"],"sources":["../../src/actions/get-mailbox.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParsioIoGetMailboxInput = z.object({\n mailbox_id: z.string().describe(\"The unique identifier of the mailbox to retrieve.\"),\n}).describe(\"Request model for retrieving mailbox details.\");\nexport const ParsioIoGetMailboxOutput = z.object({\n id: z.string().describe(\"The unique identifier for the mailbox.\").nullable().optional(),\n name: z.string().describe(\"The mailbox name/identifier.\").nullable().optional(),\n email_prefix: z.string().describe(\"Email prefix used for generating the mailbox email address.\").nullable().optional(),\n alert_email_h: z.number().int().describe(\"Email alerts frequency in hours.\").nullable().optional(),\n collect_emails: z.boolean().describe(\"Whether automatic email address collection is enabled.\").nullable().optional(),\n process_attachments: z.boolean().describe(\"Whether email attachments are stored or ignored.\").nullable().optional(),\n}).passthrough().describe(\"Response model for mailbox details.\");\n\nexport const parsioIoGetMailbox = action(\"PARSIO_IO_GET_MAILBOX\", {\n slug: \"parsio_io-get-mailbox\",\n name: \"Get Mailbox Details\",\n description: \"Tool to retrieve details of a specific mailbox. Use when you need to fetch configuration and settings for a particular mailbox.\",\n input: ParsioIoGetMailboxInput,\n output: ParsioIoGetMailboxOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,EACrF,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,qBAAqBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAE/D,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -11,7 +11,7 @@ declare const ParsioIoGetMailboxOutput: z.ZodObject<{
|
|
|
11
11
|
alert_email_h: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12
12
|
collect_emails: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
13
13
|
process_attachments: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const parsioIoGetMailbox: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
mailbox_id: string;
|
|
17
17
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -11,7 +11,7 @@ declare const ParsioIoGetMailboxOutput: z.ZodObject<{
|
|
|
11
11
|
alert_email_h: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12
12
|
collect_emails: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
13
13
|
process_attachments: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const parsioIoGetMailbox: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
mailbox_id: string;
|
|
17
17
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -12,7 +12,7 @@ const parsioIoGetMailbox = action("PARSIO_IO_GET_MAILBOX", {
|
|
|
12
12
|
alert_email_h: z.number().int().describe("Email alerts frequency in hours.").nullable().optional(),
|
|
13
13
|
collect_emails: z.boolean().describe("Whether automatic email address collection is enabled.").nullable().optional(),
|
|
14
14
|
process_attachments: z.boolean().describe("Whether email attachments are stored or ignored.").nullable().optional()
|
|
15
|
-
}).describe("Response model for mailbox details.")
|
|
15
|
+
}).passthrough().describe("Response model for mailbox details.")
|
|
16
16
|
});
|
|
17
17
|
//#endregion
|
|
18
18
|
export { parsioIoGetMailbox };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-mailbox.mjs","names":[],"sources":["../../src/actions/get-mailbox.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParsioIoGetMailboxInput = z.object({\n mailbox_id: z.string().describe(\"The unique identifier of the mailbox to retrieve.\"),\n}).describe(\"Request model for retrieving mailbox details.\");\nexport const ParsioIoGetMailboxOutput = z.object({\n id: z.string().describe(\"The unique identifier for the mailbox.\").nullable().optional(),\n name: z.string().describe(\"The mailbox name/identifier.\").nullable().optional(),\n email_prefix: z.string().describe(\"Email prefix used for generating the mailbox email address.\").nullable().optional(),\n alert_email_h: z.number().int().describe(\"Email alerts frequency in hours.\").nullable().optional(),\n collect_emails: z.boolean().describe(\"Whether automatic email address collection is enabled.\").nullable().optional(),\n process_attachments: z.boolean().describe(\"Whether email attachments are stored or ignored.\").nullable().optional(),\n}).describe(\"Response model for mailbox details.\");\n\nexport const parsioIoGetMailbox = action(\"PARSIO_IO_GET_MAILBOX\", {\n slug: \"parsio_io-get-mailbox\",\n name: \"Get Mailbox Details\",\n description: \"Tool to retrieve details of a specific mailbox. Use when you need to fetch configuration and settings for a particular mailbox.\",\n input: ParsioIoGetMailboxInput,\n output: ParsioIoGetMailboxOutput,\n});\n"],"mappings":";;AAgBA,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBqC,EAAE,OAAO,EAC9C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,EACrF,CAAC,CAAC,CAAC,SAAS,+CAcH;CACP,QAdsC,EAAE,OAAO;EAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnH,qBAAqB,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"get-mailbox.mjs","names":[],"sources":["../../src/actions/get-mailbox.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParsioIoGetMailboxInput = z.object({\n mailbox_id: z.string().describe(\"The unique identifier of the mailbox to retrieve.\"),\n}).describe(\"Request model for retrieving mailbox details.\");\nexport const ParsioIoGetMailboxOutput = z.object({\n id: z.string().describe(\"The unique identifier for the mailbox.\").nullable().optional(),\n name: z.string().describe(\"The mailbox name/identifier.\").nullable().optional(),\n email_prefix: z.string().describe(\"Email prefix used for generating the mailbox email address.\").nullable().optional(),\n alert_email_h: z.number().int().describe(\"Email alerts frequency in hours.\").nullable().optional(),\n collect_emails: z.boolean().describe(\"Whether automatic email address collection is enabled.\").nullable().optional(),\n process_attachments: z.boolean().describe(\"Whether email attachments are stored or ignored.\").nullable().optional(),\n}).passthrough().describe(\"Response model for mailbox details.\");\n\nexport const parsioIoGetMailbox = action(\"PARSIO_IO_GET_MAILBOX\", {\n slug: \"parsio_io-get-mailbox\",\n name: \"Get Mailbox Details\",\n description: \"Tool to retrieve details of a specific mailbox. Use when you need to fetch configuration and settings for a particular mailbox.\",\n input: ParsioIoGetMailboxInput,\n output: ParsioIoGetMailboxOutput,\n});\n"],"mappings":";;AAgBA,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBqC,EAAE,OAAO,EAC9C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,EACrF,CAAC,CAAC,CAAC,SAAS,+CAcH;CACP,QAdsC,EAAE,OAAO;EAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnH,qBAAqB,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAOhB;AACV,CAAC"}
|
|
@@ -12,13 +12,13 @@ const ParsioIoGetParsedData_ParsedDocumentItemSchema = zod.z.object({
|
|
|
12
12
|
status: zod.z.string().describe("The processing status of the document").nullable().optional(),
|
|
13
13
|
created_at: zod.z.string().describe("Timestamp when the document was created").nullable().optional(),
|
|
14
14
|
parsed_data: zod.z.record(zod.z.string(), zod.z.unknown()).describe("The parsed data extracted from the document. Structure varies based on parser configuration.").nullable().optional()
|
|
15
|
-
}).describe("Schema for a single parsed document item.");
|
|
15
|
+
}).passthrough().describe("Schema for a single parsed document item.");
|
|
16
16
|
const ParsioIoGetParsedDataOutput = zod.z.object({
|
|
17
17
|
page: zod.z.number().int().describe("Current page number").nullable().optional(),
|
|
18
18
|
pages: zod.z.number().int().describe("Total number of pages available").nullable().optional(),
|
|
19
19
|
total: zod.z.number().int().describe("Total number of parsed documents available").nullable().optional(),
|
|
20
20
|
documents: zod.z.array(ParsioIoGetParsedData_ParsedDocumentItemSchema).describe("List of parsed documents from the mailbox").nullable().optional()
|
|
21
|
-
}).describe("Response schema for retrieving parsed data from a mailbox.");
|
|
21
|
+
}).passthrough().describe("Response schema for retrieving parsed data from a mailbox.");
|
|
22
22
|
const parsioIoGetParsedData = require_action.action("PARSIO_IO_GET_PARSED_DATA", {
|
|
23
23
|
slug: "parsio_io-get-parsed-data",
|
|
24
24
|
name: "Get Parsed Data",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-parsed-data.cjs","names":["z","action"],"sources":["../../src/actions/get-parsed-data.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParsioIoGetParsedDataInput = z.object({\n to: z.string().describe(\"End date filter in YYYY-MM-DD format to retrieve documents up to this date\").optional(),\n from: z.string().describe(\"Start date filter in YYYY-MM-DD format to retrieve documents from this date onwards\").optional(),\n page: z.number().int().describe(\"Page number for pagination. Use this to retrieve additional pages of results.\").optional(),\n mailbox_id: z.string().describe(\"The unique identifier of the mailbox to retrieve parsed data from\"),\n}).describe(\"Request model for retrieving parsed data from a mailbox.\");\nconst ParsioIoGetParsedData_ParsedDocumentItemSchema = z.object({\n id: z.string().describe(\"The unique identifier of the parsed document\").nullable().optional(),\n status: z.string().describe(\"The processing status of the document\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the document was created\").nullable().optional(),\n parsed_data: z.record(z.string(), z.unknown()).describe(\"The parsed data extracted from the document. Structure varies based on parser configuration.\").nullable().optional(),\n}).describe(\"Schema for a single parsed document item.\");\nexport const ParsioIoGetParsedDataOutput = z.object({\n page: z.number().int().describe(\"Current page number\").nullable().optional(),\n pages: z.number().int().describe(\"Total number of pages available\").nullable().optional(),\n total: z.number().int().describe(\"Total number of parsed documents available\").nullable().optional(),\n documents: z.array(ParsioIoGetParsedData_ParsedDocumentItemSchema).describe(\"List of parsed documents from the mailbox\").nullable().optional(),\n}).describe(\"Response schema for retrieving parsed data from a mailbox.\");\n\nexport const parsioIoGetParsedData = action(\"PARSIO_IO_GET_PARSED_DATA\", {\n slug: \"parsio_io-get-parsed-data\",\n name: \"Get Parsed Data\",\n description: \"Tool to get parsed data from a mailbox with optional date range filters and pagination. Use when you need to retrieve extracted information from documents that have been processed through Parsio's parsing system.\",\n input: ParsioIoGetParsedDataInput,\n output: ParsioIoGetParsedDataOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CAC/G,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CAC1H,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CAC1H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;AACrG,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,aAAaA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9K,CAAC,CAAC,CAAC,SAAS,2CAA2C;
|
|
1
|
+
{"version":3,"file":"get-parsed-data.cjs","names":["z","action"],"sources":["../../src/actions/get-parsed-data.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParsioIoGetParsedDataInput = z.object({\n to: z.string().describe(\"End date filter in YYYY-MM-DD format to retrieve documents up to this date\").optional(),\n from: z.string().describe(\"Start date filter in YYYY-MM-DD format to retrieve documents from this date onwards\").optional(),\n page: z.number().int().describe(\"Page number for pagination. Use this to retrieve additional pages of results.\").optional(),\n mailbox_id: z.string().describe(\"The unique identifier of the mailbox to retrieve parsed data from\"),\n}).describe(\"Request model for retrieving parsed data from a mailbox.\");\nconst ParsioIoGetParsedData_ParsedDocumentItemSchema = z.object({\n id: z.string().describe(\"The unique identifier of the parsed document\").nullable().optional(),\n status: z.string().describe(\"The processing status of the document\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the document was created\").nullable().optional(),\n parsed_data: z.record(z.string(), z.unknown()).describe(\"The parsed data extracted from the document. Structure varies based on parser configuration.\").nullable().optional(),\n}).passthrough().describe(\"Schema for a single parsed document item.\");\nexport const ParsioIoGetParsedDataOutput = z.object({\n page: z.number().int().describe(\"Current page number\").nullable().optional(),\n pages: z.number().int().describe(\"Total number of pages available\").nullable().optional(),\n total: z.number().int().describe(\"Total number of parsed documents available\").nullable().optional(),\n documents: z.array(ParsioIoGetParsedData_ParsedDocumentItemSchema).describe(\"List of parsed documents from the mailbox\").nullable().optional(),\n}).passthrough().describe(\"Response schema for retrieving parsed data from a mailbox.\");\n\nexport const parsioIoGetParsedData = action(\"PARSIO_IO_GET_PARSED_DATA\", {\n slug: \"parsio_io-get-parsed-data\",\n name: \"Get Parsed Data\",\n description: \"Tool to get parsed data from a mailbox with optional date range filters and pagination. Use when you need to retrieve extracted information from documents that have been processed through Parsio's parsing system.\",\n input: ParsioIoGetParsedDataInput,\n output: ParsioIoGetParsedDataOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CAC/G,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CAC1H,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CAC1H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;AACrG,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,aAAaA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AACrE,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,WAAWA,IAAAA,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AAEtF,MAAa,wBAAwBC,eAAAA,OAAO,6BAA6B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -16,8 +16,8 @@ declare const ParsioIoGetParsedDataOutput: z.ZodObject<{
|
|
|
16
16
|
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
parsed_data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
19
|
-
}, z.core.$
|
|
20
|
-
}, z.core.$
|
|
19
|
+
}, z.core.$loose>>>>;
|
|
20
|
+
}, z.core.$loose>;
|
|
21
21
|
declare const parsioIoGetParsedData: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
22
22
|
mailbox_id: string;
|
|
23
23
|
to?: string | undefined;
|
|
@@ -16,8 +16,8 @@ declare const ParsioIoGetParsedDataOutput: z.ZodObject<{
|
|
|
16
16
|
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
parsed_data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
19
|
-
}, z.core.$
|
|
20
|
-
}, z.core.$
|
|
19
|
+
}, z.core.$loose>>>>;
|
|
20
|
+
}, z.core.$loose>;
|
|
21
21
|
declare const parsioIoGetParsedData: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
22
22
|
mailbox_id: string;
|
|
23
23
|
to?: string | undefined;
|
|
@@ -12,7 +12,7 @@ const ParsioIoGetParsedData_ParsedDocumentItemSchema = z.object({
|
|
|
12
12
|
status: z.string().describe("The processing status of the document").nullable().optional(),
|
|
13
13
|
created_at: z.string().describe("Timestamp when the document was created").nullable().optional(),
|
|
14
14
|
parsed_data: z.record(z.string(), z.unknown()).describe("The parsed data extracted from the document. Structure varies based on parser configuration.").nullable().optional()
|
|
15
|
-
}).describe("Schema for a single parsed document item.");
|
|
15
|
+
}).passthrough().describe("Schema for a single parsed document item.");
|
|
16
16
|
const parsioIoGetParsedData = action("PARSIO_IO_GET_PARSED_DATA", {
|
|
17
17
|
slug: "parsio_io-get-parsed-data",
|
|
18
18
|
name: "Get Parsed Data",
|
|
@@ -23,7 +23,7 @@ const parsioIoGetParsedData = action("PARSIO_IO_GET_PARSED_DATA", {
|
|
|
23
23
|
pages: z.number().int().describe("Total number of pages available").nullable().optional(),
|
|
24
24
|
total: z.number().int().describe("Total number of parsed documents available").nullable().optional(),
|
|
25
25
|
documents: z.array(ParsioIoGetParsedData_ParsedDocumentItemSchema).describe("List of parsed documents from the mailbox").nullable().optional()
|
|
26
|
-
}).describe("Response schema for retrieving parsed data from a mailbox.")
|
|
26
|
+
}).passthrough().describe("Response schema for retrieving parsed data from a mailbox.")
|
|
27
27
|
});
|
|
28
28
|
//#endregion
|
|
29
29
|
export { parsioIoGetParsedData };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-parsed-data.mjs","names":[],"sources":["../../src/actions/get-parsed-data.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParsioIoGetParsedDataInput = z.object({\n to: z.string().describe(\"End date filter in YYYY-MM-DD format to retrieve documents up to this date\").optional(),\n from: z.string().describe(\"Start date filter in YYYY-MM-DD format to retrieve documents from this date onwards\").optional(),\n page: z.number().int().describe(\"Page number for pagination. Use this to retrieve additional pages of results.\").optional(),\n mailbox_id: z.string().describe(\"The unique identifier of the mailbox to retrieve parsed data from\"),\n}).describe(\"Request model for retrieving parsed data from a mailbox.\");\nconst ParsioIoGetParsedData_ParsedDocumentItemSchema = z.object({\n id: z.string().describe(\"The unique identifier of the parsed document\").nullable().optional(),\n status: z.string().describe(\"The processing status of the document\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the document was created\").nullable().optional(),\n parsed_data: z.record(z.string(), z.unknown()).describe(\"The parsed data extracted from the document. Structure varies based on parser configuration.\").nullable().optional(),\n}).describe(\"Schema for a single parsed document item.\");\nexport const ParsioIoGetParsedDataOutput = z.object({\n page: z.number().int().describe(\"Current page number\").nullable().optional(),\n pages: z.number().int().describe(\"Total number of pages available\").nullable().optional(),\n total: z.number().int().describe(\"Total number of parsed documents available\").nullable().optional(),\n documents: z.array(ParsioIoGetParsedData_ParsedDocumentItemSchema).describe(\"List of parsed documents from the mailbox\").nullable().optional(),\n}).describe(\"Response schema for retrieving parsed data from a mailbox.\");\n\nexport const parsioIoGetParsedData = action(\"PARSIO_IO_GET_PARSED_DATA\", {\n slug: \"parsio_io-get-parsed-data\",\n name: \"Get Parsed Data\",\n description: \"Tool to get parsed data from a mailbox with optional date range filters and pagination. Use when you need to retrieve extracted information from documents that have been processed through Parsio's parsing system.\",\n input: ParsioIoGetParsedDataInput,\n output: ParsioIoGetParsedDataOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO;CACjD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CAC/G,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CAC1H,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CAC1H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;AACrG,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,iDAAiD,EAAE,OAAO;CAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,aAAa,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9K,CAAC,CAAC,CAAC,SAAS,2CAA2C;
|
|
1
|
+
{"version":3,"file":"get-parsed-data.mjs","names":[],"sources":["../../src/actions/get-parsed-data.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParsioIoGetParsedDataInput = z.object({\n to: z.string().describe(\"End date filter in YYYY-MM-DD format to retrieve documents up to this date\").optional(),\n from: z.string().describe(\"Start date filter in YYYY-MM-DD format to retrieve documents from this date onwards\").optional(),\n page: z.number().int().describe(\"Page number for pagination. Use this to retrieve additional pages of results.\").optional(),\n mailbox_id: z.string().describe(\"The unique identifier of the mailbox to retrieve parsed data from\"),\n}).describe(\"Request model for retrieving parsed data from a mailbox.\");\nconst ParsioIoGetParsedData_ParsedDocumentItemSchema = z.object({\n id: z.string().describe(\"The unique identifier of the parsed document\").nullable().optional(),\n status: z.string().describe(\"The processing status of the document\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the document was created\").nullable().optional(),\n parsed_data: z.record(z.string(), z.unknown()).describe(\"The parsed data extracted from the document. Structure varies based on parser configuration.\").nullable().optional(),\n}).passthrough().describe(\"Schema for a single parsed document item.\");\nexport const ParsioIoGetParsedDataOutput = z.object({\n page: z.number().int().describe(\"Current page number\").nullable().optional(),\n pages: z.number().int().describe(\"Total number of pages available\").nullable().optional(),\n total: z.number().int().describe(\"Total number of parsed documents available\").nullable().optional(),\n documents: z.array(ParsioIoGetParsedData_ParsedDocumentItemSchema).describe(\"List of parsed documents from the mailbox\").nullable().optional(),\n}).passthrough().describe(\"Response schema for retrieving parsed data from a mailbox.\");\n\nexport const parsioIoGetParsedData = action(\"PARSIO_IO_GET_PARSED_DATA\", {\n slug: \"parsio_io-get-parsed-data\",\n name: \"Get Parsed Data\",\n description: \"Tool to get parsed data from a mailbox with optional date range filters and pagination. Use when you need to retrieve extracted information from documents that have been processed through Parsio's parsing system.\",\n input: ParsioIoGetParsedDataInput,\n output: ParsioIoGetParsedDataOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO;CACjD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CAC/G,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CAC1H,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CAC1H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;AACrG,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,iDAAiD,EAAE,OAAO;CAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,aAAa,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAQrE,MAAa,wBAAwB,OAAO,6BAA6B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZyC,EAAE,OAAO;EAClD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3E,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,WAAW,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAOhB;AACV,CAAC"}
|
|
@@ -6,12 +6,12 @@ const ParsioIoGetTemplateOutput = zod.z.object({
|
|
|
6
6
|
_id: zod.z.string().describe("Unique identifier of the template").nullable().optional(),
|
|
7
7
|
name: zod.z.string().describe("Name of the template").nullable().optional(),
|
|
8
8
|
found: zod.z.boolean().default(true).describe("Whether the template was found. False if template does not exist.").nullable().optional(),
|
|
9
|
-
fields: zod.z.array(zod.z.
|
|
9
|
+
fields: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("List of fields defined in the template for data extraction").nullable().optional(),
|
|
10
10
|
enabled: zod.z.boolean().describe("Whether the template is currently active or inactive").nullable().optional(),
|
|
11
11
|
created_at: zod.z.string().describe("Timestamp when the template was created").nullable().optional(),
|
|
12
12
|
mailbox_id: zod.z.string().describe("Identifier of the mailbox this template belongs to").nullable().optional(),
|
|
13
13
|
updated_at: zod.z.string().describe("Timestamp when the template was last updated").nullable().optional()
|
|
14
|
-
}).describe("Response schema for retrieving template details.");
|
|
14
|
+
}).passthrough().describe("Response schema for retrieving template details.");
|
|
15
15
|
const parsioIoGetTemplate = require_action.action("PARSIO_IO_GET_TEMPLATE", {
|
|
16
16
|
slug: "parsio_io-get-template",
|
|
17
17
|
name: "Get Template Details",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-template.cjs","names":["z","action"],"sources":["../../src/actions/get-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParsioIoGetTemplateInput = z.object({\n template_id: z.string().describe(\"Unique identifier of the template to retrieve\"),\n}).describe(\"Request model for retrieving a specific template by ID.\");\nexport const ParsioIoGetTemplateOutput = z.object({\n _id: z.string().describe(\"Unique identifier of the template\").nullable().optional(),\n name: z.string().describe(\"Name of the template\").nullable().optional(),\n found: z.boolean().default(true).describe(\"Whether the template was found. False if template does not exist.\").nullable().optional(),\n fields: z.array(z.
|
|
1
|
+
{"version":3,"file":"get-template.cjs","names":["z","action"],"sources":["../../src/actions/get-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParsioIoGetTemplateInput = z.object({\n template_id: z.string().describe(\"Unique identifier of the template to retrieve\"),\n}).describe(\"Request model for retrieving a specific template by ID.\");\nexport const ParsioIoGetTemplateOutput = z.object({\n _id: z.string().describe(\"Unique identifier of the template\").nullable().optional(),\n name: z.string().describe(\"Name of the template\").nullable().optional(),\n found: z.boolean().default(true).describe(\"Whether the template was found. False if template does not exist.\").nullable().optional(),\n fields: z.array(z.record(z.string(), z.unknown())).describe(\"List of fields defined in the template for data extraction\").nullable().optional(),\n enabled: z.boolean().describe(\"Whether the template is currently active or inactive\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the template was created\").nullable().optional(),\n mailbox_id: z.string().describe(\"Identifier of the mailbox this template belongs to\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the template was last updated\").nullable().optional(),\n}).passthrough().describe(\"Response schema for retrieving template details.\");\n\nexport const parsioIoGetTemplate = action(\"PARSIO_IO_GET_TEMPLATE\", {\n slug: \"parsio_io-get-template\",\n name: \"Get Template Details\",\n description: \"Tool to retrieve details of a specific parsing template by its ID. Use when you need to inspect a template's configuration, fields, or status.\",\n input: ParsioIoGetTemplateInput,\n output: ParsioIoGetTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,EAClF,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9I,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,sBAAsBC,eAAAA,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -8,12 +8,12 @@ declare const ParsioIoGetTemplateOutput: z.ZodObject<{
|
|
|
8
8
|
_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
9
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
10
|
found: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
11
|
-
fields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.
|
|
11
|
+
fields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
12
12
|
enabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
13
13
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
mailbox_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
15
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const parsioIoGetTemplate: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
18
|
template_id: string;
|
|
19
19
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -8,12 +8,12 @@ declare const ParsioIoGetTemplateOutput: z.ZodObject<{
|
|
|
8
8
|
_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
9
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
10
|
found: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
11
|
-
fields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.
|
|
11
|
+
fields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
12
12
|
enabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
13
13
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
mailbox_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
15
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const parsioIoGetTemplate: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
18
|
template_id: string;
|
|
19
19
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -9,12 +9,12 @@ const parsioIoGetTemplate = action("PARSIO_IO_GET_TEMPLATE", {
|
|
|
9
9
|
_id: z.string().describe("Unique identifier of the template").nullable().optional(),
|
|
10
10
|
name: z.string().describe("Name of the template").nullable().optional(),
|
|
11
11
|
found: z.boolean().default(true).describe("Whether the template was found. False if template does not exist.").nullable().optional(),
|
|
12
|
-
fields: z.array(z.
|
|
12
|
+
fields: z.array(z.record(z.string(), z.unknown())).describe("List of fields defined in the template for data extraction").nullable().optional(),
|
|
13
13
|
enabled: z.boolean().describe("Whether the template is currently active or inactive").nullable().optional(),
|
|
14
14
|
created_at: z.string().describe("Timestamp when the template was created").nullable().optional(),
|
|
15
15
|
mailbox_id: z.string().describe("Identifier of the mailbox this template belongs to").nullable().optional(),
|
|
16
16
|
updated_at: z.string().describe("Timestamp when the template was last updated").nullable().optional()
|
|
17
|
-
}).describe("Response schema for retrieving template details.")
|
|
17
|
+
}).passthrough().describe("Response schema for retrieving template details.")
|
|
18
18
|
});
|
|
19
19
|
//#endregion
|
|
20
20
|
export { parsioIoGetTemplate };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-template.mjs","names":[],"sources":["../../src/actions/get-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParsioIoGetTemplateInput = z.object({\n template_id: z.string().describe(\"Unique identifier of the template to retrieve\"),\n}).describe(\"Request model for retrieving a specific template by ID.\");\nexport const ParsioIoGetTemplateOutput = z.object({\n _id: z.string().describe(\"Unique identifier of the template\").nullable().optional(),\n name: z.string().describe(\"Name of the template\").nullable().optional(),\n found: z.boolean().default(true).describe(\"Whether the template was found. False if template does not exist.\").nullable().optional(),\n fields: z.array(z.
|
|
1
|
+
{"version":3,"file":"get-template.mjs","names":[],"sources":["../../src/actions/get-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParsioIoGetTemplateInput = z.object({\n template_id: z.string().describe(\"Unique identifier of the template to retrieve\"),\n}).describe(\"Request model for retrieving a specific template by ID.\");\nexport const ParsioIoGetTemplateOutput = z.object({\n _id: z.string().describe(\"Unique identifier of the template\").nullable().optional(),\n name: z.string().describe(\"Name of the template\").nullable().optional(),\n found: z.boolean().default(true).describe(\"Whether the template was found. False if template does not exist.\").nullable().optional(),\n fields: z.array(z.record(z.string(), z.unknown())).describe(\"List of fields defined in the template for data extraction\").nullable().optional(),\n enabled: z.boolean().describe(\"Whether the template is currently active or inactive\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the template was created\").nullable().optional(),\n mailbox_id: z.string().describe(\"Identifier of the mailbox this template belongs to\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the template was last updated\").nullable().optional(),\n}).passthrough().describe(\"Response schema for retrieving template details.\");\n\nexport const parsioIoGetTemplate = action(\"PARSIO_IO_GET_TEMPLATE\", {\n slug: \"parsio_io-get-template\",\n name: \"Get Template Details\",\n description: \"Tool to retrieve details of a specific parsing template by its ID. Use when you need to inspect a template's configuration, fields, or status.\",\n input: ParsioIoGetTemplateInput,\n output: ParsioIoGetTemplateOutput,\n});\n"],"mappings":";;AAkBA,MAAa,sBAAsB,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBsC,EAAE,OAAO,EAC/C,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,EAClF,CAAC,CAAC,CAAC,SAAS,yDAgBH;CACP,QAhBuC,EAAE,OAAO;EAChD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtE,OAAO,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnI,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9I,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAOhB;AACV,CAAC"}
|
|
@@ -8,7 +8,7 @@ const ParsioIoGetWebhookOutput = zod.z.object({
|
|
|
8
8
|
event: zod.z.string().describe("Event type that triggers the webhook. Supported values: 'doc.parsed', 'doc.parsed.flat', 'doc.fail', 'doc.received', 'table.parsed'").nullable().optional(),
|
|
9
9
|
enabled: zod.z.boolean().describe("Whether the webhook is currently active or inactive").nullable().optional(),
|
|
10
10
|
table_id: zod.z.string().describe("Table identifier, required only for 'table.parsed' events").nullable().optional()
|
|
11
|
-
}).describe("Response schema for retrieving webhook details.");
|
|
11
|
+
}).passthrough().describe("Response schema for retrieving webhook details.");
|
|
12
12
|
const parsioIoGetWebhook = require_action.action("PARSIO_IO_GET_WEBHOOK", {
|
|
13
13
|
slug: "parsio_io-get-webhook",
|
|
14
14
|
name: "Get Webhook Details",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-webhook.cjs","names":["z","action"],"sources":["../../src/actions/get-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParsioIoGetWebhookInput = z.object({\n webhook_id: z.string().describe(\"Unique identifier of the webhook to retrieve\"),\n}).describe(\"Request model for retrieving a specific webhook by ID.\");\nexport const ParsioIoGetWebhookOutput = z.object({\n _id: z.string().describe(\"Unique identifier of the webhook\").nullable().optional(),\n url: z.string().describe(\"Destination endpoint URL for webhook notifications\").nullable().optional(),\n event: z.string().describe(\"Event type that triggers the webhook. Supported values: 'doc.parsed', 'doc.parsed.flat', 'doc.fail', 'doc.received', 'table.parsed'\").nullable().optional(),\n enabled: z.boolean().describe(\"Whether the webhook is currently active or inactive\").nullable().optional(),\n table_id: z.string().describe(\"Table identifier, required only for 'table.parsed' events\").nullable().optional(),\n}).describe(\"Response schema for retrieving webhook details.\");\n\nexport const parsioIoGetWebhook = action(\"PARSIO_IO_GET_WEBHOOK\", {\n slug: \"parsio_io-get-webhook\",\n name: \"Get Webhook Details\",\n description: \"Tool to retrieve details of a specific webhook by its ID. Use when you need to inspect a webhook's configuration, status, or event type.\",\n input: ParsioIoGetWebhookInput,\n output: ParsioIoGetWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,EAChF,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qIAAqI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtL,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,iDAAiD;
|
|
1
|
+
{"version":3,"file":"get-webhook.cjs","names":["z","action"],"sources":["../../src/actions/get-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParsioIoGetWebhookInput = z.object({\n webhook_id: z.string().describe(\"Unique identifier of the webhook to retrieve\"),\n}).describe(\"Request model for retrieving a specific webhook by ID.\");\nexport const ParsioIoGetWebhookOutput = z.object({\n _id: z.string().describe(\"Unique identifier of the webhook\").nullable().optional(),\n url: z.string().describe(\"Destination endpoint URL for webhook notifications\").nullable().optional(),\n event: z.string().describe(\"Event type that triggers the webhook. Supported values: 'doc.parsed', 'doc.parsed.flat', 'doc.fail', 'doc.received', 'table.parsed'\").nullable().optional(),\n enabled: z.boolean().describe(\"Whether the webhook is currently active or inactive\").nullable().optional(),\n table_id: z.string().describe(\"Table identifier, required only for 'table.parsed' events\").nullable().optional(),\n}).passthrough().describe(\"Response schema for retrieving webhook details.\");\n\nexport const parsioIoGetWebhook = action(\"PARSIO_IO_GET_WEBHOOK\", {\n slug: \"parsio_io-get-webhook\",\n name: \"Get Webhook Details\",\n description: \"Tool to retrieve details of a specific webhook by its ID. Use when you need to inspect a webhook's configuration, status, or event type.\",\n input: ParsioIoGetWebhookInput,\n output: ParsioIoGetWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,EAChF,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qIAAqI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtL,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAE3E,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -10,7 +10,7 @@ declare const ParsioIoGetWebhookOutput: z.ZodObject<{
|
|
|
10
10
|
event: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
11
|
enabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
12
12
|
table_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>;
|
|
14
14
|
declare const parsioIoGetWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
15
15
|
webhook_id: string;
|
|
16
16
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -10,7 +10,7 @@ declare const ParsioIoGetWebhookOutput: z.ZodObject<{
|
|
|
10
10
|
event: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
11
|
enabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
12
12
|
table_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>;
|
|
14
14
|
declare const parsioIoGetWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
15
15
|
webhook_id: string;
|
|
16
16
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -11,7 +11,7 @@ const parsioIoGetWebhook = action("PARSIO_IO_GET_WEBHOOK", {
|
|
|
11
11
|
event: z.string().describe("Event type that triggers the webhook. Supported values: 'doc.parsed', 'doc.parsed.flat', 'doc.fail', 'doc.received', 'table.parsed'").nullable().optional(),
|
|
12
12
|
enabled: z.boolean().describe("Whether the webhook is currently active or inactive").nullable().optional(),
|
|
13
13
|
table_id: z.string().describe("Table identifier, required only for 'table.parsed' events").nullable().optional()
|
|
14
|
-
}).describe("Response schema for retrieving webhook details.")
|
|
14
|
+
}).passthrough().describe("Response schema for retrieving webhook details.")
|
|
15
15
|
});
|
|
16
16
|
//#endregion
|
|
17
17
|
export { parsioIoGetWebhook };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-webhook.mjs","names":[],"sources":["../../src/actions/get-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParsioIoGetWebhookInput = z.object({\n webhook_id: z.string().describe(\"Unique identifier of the webhook to retrieve\"),\n}).describe(\"Request model for retrieving a specific webhook by ID.\");\nexport const ParsioIoGetWebhookOutput = z.object({\n _id: z.string().describe(\"Unique identifier of the webhook\").nullable().optional(),\n url: z.string().describe(\"Destination endpoint URL for webhook notifications\").nullable().optional(),\n event: z.string().describe(\"Event type that triggers the webhook. Supported values: 'doc.parsed', 'doc.parsed.flat', 'doc.fail', 'doc.received', 'table.parsed'\").nullable().optional(),\n enabled: z.boolean().describe(\"Whether the webhook is currently active or inactive\").nullable().optional(),\n table_id: z.string().describe(\"Table identifier, required only for 'table.parsed' events\").nullable().optional(),\n}).describe(\"Response schema for retrieving webhook details.\");\n\nexport const parsioIoGetWebhook = action(\"PARSIO_IO_GET_WEBHOOK\", {\n slug: \"parsio_io-get-webhook\",\n name: \"Get Webhook Details\",\n description: \"Tool to retrieve details of a specific webhook by its ID. Use when you need to inspect a webhook's configuration, status, or event type.\",\n input: ParsioIoGetWebhookInput,\n output: ParsioIoGetWebhookOutput,\n});\n"],"mappings":";;AAeA,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfqC,EAAE,OAAO,EAC9C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,EAChF,CAAC,CAAC,CAAC,SAAS,wDAaH;CACP,QAbsC,EAAE,OAAO;EAC/C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qIAAqI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtL,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"get-webhook.mjs","names":[],"sources":["../../src/actions/get-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParsioIoGetWebhookInput = z.object({\n webhook_id: z.string().describe(\"Unique identifier of the webhook to retrieve\"),\n}).describe(\"Request model for retrieving a specific webhook by ID.\");\nexport const ParsioIoGetWebhookOutput = z.object({\n _id: z.string().describe(\"Unique identifier of the webhook\").nullable().optional(),\n url: z.string().describe(\"Destination endpoint URL for webhook notifications\").nullable().optional(),\n event: z.string().describe(\"Event type that triggers the webhook. Supported values: 'doc.parsed', 'doc.parsed.flat', 'doc.fail', 'doc.received', 'table.parsed'\").nullable().optional(),\n enabled: z.boolean().describe(\"Whether the webhook is currently active or inactive\").nullable().optional(),\n table_id: z.string().describe(\"Table identifier, required only for 'table.parsed' events\").nullable().optional(),\n}).passthrough().describe(\"Response schema for retrieving webhook details.\");\n\nexport const parsioIoGetWebhook = action(\"PARSIO_IO_GET_WEBHOOK\", {\n slug: \"parsio_io-get-webhook\",\n name: \"Get Webhook Details\",\n description: \"Tool to retrieve details of a specific webhook by its ID. Use when you need to inspect a webhook's configuration, status, or event type.\",\n input: ParsioIoGetWebhookInput,\n output: ParsioIoGetWebhookOutput,\n});\n"],"mappings":";;AAeA,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfqC,EAAE,OAAO,EAC9C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,EAChF,CAAC,CAAC,CAAC,SAAS,wDAaH;CACP,QAbsC,EAAE,OAAO;EAC/C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qIAAqI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtL,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAOhB;AACV,CAAC"}
|
|
@@ -9,13 +9,13 @@ const ParsioIoListCollectedEmails_EmailDataSchema = zod.z.object({
|
|
|
9
9
|
email: zod.z.string().describe("Collected email address").nullable().optional(),
|
|
10
10
|
created_at: zod.z.string().describe("Timestamp when the email was collected").nullable().optional(),
|
|
11
11
|
document_id: zod.z.string().describe("ID of the document from which the email was collected").nullable().optional()
|
|
12
|
-
}).describe("Schema for individual email address data.");
|
|
12
|
+
}).passthrough().describe("Schema for individual email address data.");
|
|
13
13
|
const ParsioIoListCollectedEmailsOutput = zod.z.object({
|
|
14
14
|
page: zod.z.number().int().describe("Current page number").nullable().optional(),
|
|
15
15
|
pages: zod.z.number().int().describe("Total number of pages available").nullable().optional(),
|
|
16
16
|
total: zod.z.number().int().describe("Total number of collected emails available").nullable().optional(),
|
|
17
17
|
emails: zod.z.array(ParsioIoListCollectedEmails_EmailDataSchema).describe("List of collected email addresses from the mailbox").nullable().optional()
|
|
18
|
-
}).describe("Response schema for listing collected email addresses.");
|
|
18
|
+
}).passthrough().describe("Response schema for listing collected email addresses.");
|
|
19
19
|
const parsioIoListCollectedEmails = require_action.action("PARSIO_IO_LIST_COLLECTED_EMAILS", {
|
|
20
20
|
slug: "parsio_io-list-collected-emails",
|
|
21
21
|
name: "List Collected Emails",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-collected-emails.cjs","names":["z","action"],"sources":["../../src/actions/list-collected-emails.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParsioIoListCollectedEmailsInput = z.object({\n page: z.number().int().describe(\"Page number for pagination. Use this to retrieve additional pages of results.\").optional(),\n mailbox_id: z.string().describe(\"Unique identifier of the mailbox to retrieve collected emails from\"),\n}).describe(\"Request model for listing collected email addresses from a mailbox.\");\nconst ParsioIoListCollectedEmails_EmailDataSchema = z.object({\n email: z.string().describe(\"Collected email address\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the email was collected\").nullable().optional(),\n document_id: z.string().describe(\"ID of the document from which the email was collected\").nullable().optional(),\n}).describe(\"Schema for individual email address data.\");\nexport const ParsioIoListCollectedEmailsOutput = z.object({\n page: z.number().int().describe(\"Current page number\").nullable().optional(),\n pages: z.number().int().describe(\"Total number of pages available\").nullable().optional(),\n total: z.number().int().describe(\"Total number of collected emails available\").nullable().optional(),\n emails: z.array(ParsioIoListCollectedEmails_EmailDataSchema).describe(\"List of collected email addresses from the mailbox\").nullable().optional(),\n}).describe(\"Response schema for listing collected email addresses.\");\n\nexport const parsioIoListCollectedEmails = action(\"PARSIO_IO_LIST_COLLECTED_EMAILS\", {\n slug: \"parsio_io-list-collected-emails\",\n name: \"List Collected Emails\",\n description: \"Tool to list all collected email addresses from a specific mailbox. Use when you need to retrieve email addresses that have been automatically collected during document parsing. The mailbox must have the 'collect_emails' setting enabled.\",\n input: ParsioIoListCollectedEmailsInput,\n output: ParsioIoListCollectedEmailsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CAC1H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;AACtG,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,SAAS,2CAA2C;
|
|
1
|
+
{"version":3,"file":"list-collected-emails.cjs","names":["z","action"],"sources":["../../src/actions/list-collected-emails.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParsioIoListCollectedEmailsInput = z.object({\n page: z.number().int().describe(\"Page number for pagination. Use this to retrieve additional pages of results.\").optional(),\n mailbox_id: z.string().describe(\"Unique identifier of the mailbox to retrieve collected emails from\"),\n}).describe(\"Request model for listing collected email addresses from a mailbox.\");\nconst ParsioIoListCollectedEmails_EmailDataSchema = z.object({\n email: z.string().describe(\"Collected email address\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the email was collected\").nullable().optional(),\n document_id: z.string().describe(\"ID of the document from which the email was collected\").nullable().optional(),\n}).passthrough().describe(\"Schema for individual email address data.\");\nexport const ParsioIoListCollectedEmailsOutput = z.object({\n page: z.number().int().describe(\"Current page number\").nullable().optional(),\n pages: z.number().int().describe(\"Total number of pages available\").nullable().optional(),\n total: z.number().int().describe(\"Total number of collected emails available\").nullable().optional(),\n emails: z.array(ParsioIoListCollectedEmails_EmailDataSchema).describe(\"List of collected email addresses from the mailbox\").nullable().optional(),\n}).passthrough().describe(\"Response schema for listing collected email addresses.\");\n\nexport const parsioIoListCollectedEmails = action(\"PARSIO_IO_LIST_COLLECTED_EMAILS\", {\n slug: \"parsio_io-list-collected-emails\",\n name: \"List Collected Emails\",\n description: \"Tool to list all collected email addresses from a specific mailbox. Use when you need to retrieve email addresses that have been automatically collected during document parsing. The mailbox must have the 'collect_emails' setting enabled.\",\n input: ParsioIoListCollectedEmailsInput,\n output: ParsioIoListCollectedEmailsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CAC1H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;AACtG,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AACrE,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,QAAQA,IAAAA,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAElF,MAAa,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -13,8 +13,8 @@ declare const ParsioIoListCollectedEmailsOutput: z.ZodObject<{
|
|
|
13
13
|
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
15
|
document_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
-
}, z.core.$
|
|
17
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>>>>;
|
|
17
|
+
}, z.core.$loose>;
|
|
18
18
|
declare const parsioIoListCollectedEmails: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
19
|
mailbox_id: string;
|
|
20
20
|
page?: number | undefined;
|
|
@@ -13,8 +13,8 @@ declare const ParsioIoListCollectedEmailsOutput: z.ZodObject<{
|
|
|
13
13
|
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
15
|
document_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
-
}, z.core.$
|
|
17
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>>>>;
|
|
17
|
+
}, z.core.$loose>;
|
|
18
18
|
declare const parsioIoListCollectedEmails: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
19
|
mailbox_id: string;
|
|
20
20
|
page?: number | undefined;
|
|
@@ -9,7 +9,7 @@ const ParsioIoListCollectedEmails_EmailDataSchema = z.object({
|
|
|
9
9
|
email: z.string().describe("Collected email address").nullable().optional(),
|
|
10
10
|
created_at: z.string().describe("Timestamp when the email was collected").nullable().optional(),
|
|
11
11
|
document_id: z.string().describe("ID of the document from which the email was collected").nullable().optional()
|
|
12
|
-
}).describe("Schema for individual email address data.");
|
|
12
|
+
}).passthrough().describe("Schema for individual email address data.");
|
|
13
13
|
const parsioIoListCollectedEmails = action("PARSIO_IO_LIST_COLLECTED_EMAILS", {
|
|
14
14
|
slug: "parsio_io-list-collected-emails",
|
|
15
15
|
name: "List Collected Emails",
|
|
@@ -20,7 +20,7 @@ const parsioIoListCollectedEmails = action("PARSIO_IO_LIST_COLLECTED_EMAILS", {
|
|
|
20
20
|
pages: z.number().int().describe("Total number of pages available").nullable().optional(),
|
|
21
21
|
total: z.number().int().describe("Total number of collected emails available").nullable().optional(),
|
|
22
22
|
emails: z.array(ParsioIoListCollectedEmails_EmailDataSchema).describe("List of collected email addresses from the mailbox").nullable().optional()
|
|
23
|
-
}).describe("Response schema for listing collected email addresses.")
|
|
23
|
+
}).passthrough().describe("Response schema for listing collected email addresses.")
|
|
24
24
|
});
|
|
25
25
|
//#endregion
|
|
26
26
|
export { parsioIoListCollectedEmails };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-collected-emails.mjs","names":[],"sources":["../../src/actions/list-collected-emails.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParsioIoListCollectedEmailsInput = z.object({\n page: z.number().int().describe(\"Page number for pagination. Use this to retrieve additional pages of results.\").optional(),\n mailbox_id: z.string().describe(\"Unique identifier of the mailbox to retrieve collected emails from\"),\n}).describe(\"Request model for listing collected email addresses from a mailbox.\");\nconst ParsioIoListCollectedEmails_EmailDataSchema = z.object({\n email: z.string().describe(\"Collected email address\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the email was collected\").nullable().optional(),\n document_id: z.string().describe(\"ID of the document from which the email was collected\").nullable().optional(),\n}).describe(\"Schema for individual email address data.\");\nexport const ParsioIoListCollectedEmailsOutput = z.object({\n page: z.number().int().describe(\"Current page number\").nullable().optional(),\n pages: z.number().int().describe(\"Total number of pages available\").nullable().optional(),\n total: z.number().int().describe(\"Total number of collected emails available\").nullable().optional(),\n emails: z.array(ParsioIoListCollectedEmails_EmailDataSchema).describe(\"List of collected email addresses from the mailbox\").nullable().optional(),\n}).describe(\"Response schema for listing collected email addresses.\");\n\nexport const parsioIoListCollectedEmails = action(\"PARSIO_IO_LIST_COLLECTED_EMAILS\", {\n slug: \"parsio_io-list-collected-emails\",\n name: \"List Collected Emails\",\n description: \"Tool to list all collected email addresses from a specific mailbox. Use when you need to retrieve email addresses that have been automatically collected during document parsing. The mailbox must have the 'collect_emails' setting enabled.\",\n input: ParsioIoListCollectedEmailsInput,\n output: ParsioIoListCollectedEmailsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO;CACvD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CAC1H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;AACtG,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAM,8CAA8C,EAAE,OAAO;CAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,SAAS,2CAA2C;
|
|
1
|
+
{"version":3,"file":"list-collected-emails.mjs","names":[],"sources":["../../src/actions/list-collected-emails.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParsioIoListCollectedEmailsInput = z.object({\n page: z.number().int().describe(\"Page number for pagination. Use this to retrieve additional pages of results.\").optional(),\n mailbox_id: z.string().describe(\"Unique identifier of the mailbox to retrieve collected emails from\"),\n}).describe(\"Request model for listing collected email addresses from a mailbox.\");\nconst ParsioIoListCollectedEmails_EmailDataSchema = z.object({\n email: z.string().describe(\"Collected email address\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the email was collected\").nullable().optional(),\n document_id: z.string().describe(\"ID of the document from which the email was collected\").nullable().optional(),\n}).passthrough().describe(\"Schema for individual email address data.\");\nexport const ParsioIoListCollectedEmailsOutput = z.object({\n page: z.number().int().describe(\"Current page number\").nullable().optional(),\n pages: z.number().int().describe(\"Total number of pages available\").nullable().optional(),\n total: z.number().int().describe(\"Total number of collected emails available\").nullable().optional(),\n emails: z.array(ParsioIoListCollectedEmails_EmailDataSchema).describe(\"List of collected email addresses from the mailbox\").nullable().optional(),\n}).passthrough().describe(\"Response schema for listing collected email addresses.\");\n\nexport const parsioIoListCollectedEmails = action(\"PARSIO_IO_LIST_COLLECTED_EMAILS\", {\n slug: \"parsio_io-list-collected-emails\",\n name: \"List Collected Emails\",\n description: \"Tool to list all collected email addresses from a specific mailbox. Use when you need to retrieve email addresses that have been automatically collected during document parsing. The mailbox must have the 'collect_emails' setting enabled.\",\n input: ParsioIoListCollectedEmailsInput,\n output: ParsioIoListCollectedEmailsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO;CACvD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CAC1H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;AACtG,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAM,8CAA8C,EAAE,OAAO;CAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAQrE,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZ+C,EAAE,OAAO;EACxD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3E,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,QAAQ,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAOhB;AACV,CAAC"}
|
|
@@ -15,13 +15,13 @@ const ParsioIoListDocuments_DocumentItemSchema = zod.z.object({
|
|
|
15
15
|
created_at: zod.z.string().describe("Timestamp when the document was created.").nullable().optional(),
|
|
16
16
|
mailbox_id: zod.z.string().describe("The unique identifier of the mailbox containing this document.").nullable().optional(),
|
|
17
17
|
parsed_data: zod.z.record(zod.z.string(), zod.z.unknown()).describe("The parsed data extracted from the document. Structure varies based on parser configuration.").nullable().optional()
|
|
18
|
-
}).describe("Schema for a single document item.");
|
|
18
|
+
}).passthrough().describe("Schema for a single document item.");
|
|
19
19
|
const ParsioIoListDocumentsOutput = zod.z.object({
|
|
20
20
|
page: zod.z.number().int().describe("Current page number.").nullable().optional(),
|
|
21
21
|
pages: zod.z.number().int().describe("Total number of pages available.").nullable().optional(),
|
|
22
22
|
total: zod.z.number().int().describe("Total number of documents available matching the filters.").nullable().optional(),
|
|
23
23
|
documents: zod.z.array(ParsioIoListDocuments_DocumentItemSchema).describe("List of document objects from the mailbox.").nullable().optional()
|
|
24
|
-
}).describe("Response model for listing documents from a mailbox.");
|
|
24
|
+
}).passthrough().describe("Response model for listing documents from a mailbox.");
|
|
25
25
|
const parsioIoListDocuments = require_action.action("PARSIO_IO_LIST_DOCUMENTS", {
|
|
26
26
|
slug: "parsio_io-list-documents",
|
|
27
27
|
name: "List Documents",
|