@keystrokehq/parsio_io 0.1.4 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/create-html-text-document.cjs +1 -0
- package/dist/actions/create-html-text-document.cjs.map +1 -1
- package/dist/actions/create-html-text-document.d.cts +3 -9
- package/dist/actions/create-html-text-document.d.cts.map +1 -1
- package/dist/actions/create-html-text-document.d.mts +3 -9
- package/dist/actions/create-html-text-document.d.mts.map +1 -1
- package/dist/actions/create-html-text-document.mjs +1 -0
- package/dist/actions/create-html-text-document.mjs.map +1 -1
- package/dist/actions/create-mailbox.cjs +1 -0
- package/dist/actions/create-mailbox.cjs.map +1 -1
- package/dist/actions/create-mailbox.d.cts +3 -3
- package/dist/actions/create-mailbox.d.cts.map +1 -1
- package/dist/actions/create-mailbox.d.mts +3 -3
- package/dist/actions/create-mailbox.d.mts.map +1 -1
- package/dist/actions/create-mailbox.mjs +1 -0
- package/dist/actions/create-mailbox.mjs.map +1 -1
- package/dist/actions/create-webhook.cjs +1 -0
- package/dist/actions/create-webhook.cjs.map +1 -1
- package/dist/actions/create-webhook.d.cts +3 -7
- package/dist/actions/create-webhook.d.cts.map +1 -1
- package/dist/actions/create-webhook.d.mts +3 -7
- package/dist/actions/create-webhook.d.mts.map +1 -1
- package/dist/actions/create-webhook.mjs +1 -0
- package/dist/actions/create-webhook.mjs.map +1 -1
- package/dist/actions/delete-mailbox.cjs +1 -0
- package/dist/actions/delete-mailbox.cjs.map +1 -1
- package/dist/actions/delete-mailbox.d.cts +3 -3
- package/dist/actions/delete-mailbox.d.cts.map +1 -1
- package/dist/actions/delete-mailbox.d.mts +3 -3
- package/dist/actions/delete-mailbox.d.mts.map +1 -1
- package/dist/actions/delete-mailbox.mjs +1 -0
- package/dist/actions/delete-mailbox.mjs.map +1 -1
- package/dist/actions/delete-templates.cjs +1 -0
- package/dist/actions/delete-templates.cjs.map +1 -1
- package/dist/actions/delete-templates.d.cts +3 -3
- package/dist/actions/delete-templates.d.cts.map +1 -1
- package/dist/actions/delete-templates.d.mts +3 -3
- package/dist/actions/delete-templates.d.mts.map +1 -1
- package/dist/actions/delete-templates.mjs +1 -0
- package/dist/actions/delete-templates.mjs.map +1 -1
- package/dist/actions/delete-webhooks.cjs +1 -0
- package/dist/actions/delete-webhooks.cjs.map +1 -1
- package/dist/actions/delete-webhooks.d.cts +3 -3
- package/dist/actions/delete-webhooks.d.cts.map +1 -1
- package/dist/actions/delete-webhooks.d.mts +3 -3
- package/dist/actions/delete-webhooks.d.mts.map +1 -1
- package/dist/actions/delete-webhooks.mjs +1 -0
- package/dist/actions/delete-webhooks.mjs.map +1 -1
- package/dist/actions/disable-templates.cjs +1 -0
- package/dist/actions/disable-templates.cjs.map +1 -1
- package/dist/actions/disable-templates.d.cts +3 -3
- package/dist/actions/disable-templates.d.cts.map +1 -1
- package/dist/actions/disable-templates.d.mts +3 -3
- package/dist/actions/disable-templates.d.mts.map +1 -1
- package/dist/actions/disable-templates.mjs +1 -0
- package/dist/actions/disable-templates.mjs.map +1 -1
- package/dist/actions/enable-templates.cjs +1 -0
- package/dist/actions/enable-templates.cjs.map +1 -1
- package/dist/actions/enable-templates.d.cts +3 -3
- package/dist/actions/enable-templates.d.cts.map +1 -1
- package/dist/actions/enable-templates.d.mts +3 -3
- package/dist/actions/enable-templates.d.mts.map +1 -1
- package/dist/actions/enable-templates.mjs +1 -0
- package/dist/actions/enable-templates.mjs.map +1 -1
- package/dist/actions/get-document.cjs +1 -0
- package/dist/actions/get-document.cjs.map +1 -1
- package/dist/actions/get-document.d.cts +3 -3
- package/dist/actions/get-document.d.cts.map +1 -1
- package/dist/actions/get-document.d.mts +3 -3
- package/dist/actions/get-document.d.mts.map +1 -1
- package/dist/actions/get-document.mjs +1 -0
- package/dist/actions/get-document.mjs.map +1 -1
- package/dist/actions/get-mailbox.cjs +1 -0
- package/dist/actions/get-mailbox.cjs.map +1 -1
- package/dist/actions/get-mailbox.d.cts +3 -3
- package/dist/actions/get-mailbox.d.cts.map +1 -1
- package/dist/actions/get-mailbox.d.mts +3 -3
- package/dist/actions/get-mailbox.d.mts.map +1 -1
- package/dist/actions/get-mailbox.mjs +1 -0
- package/dist/actions/get-mailbox.mjs.map +1 -1
- package/dist/actions/get-parsed-data.cjs +1 -0
- package/dist/actions/get-parsed-data.cjs.map +1 -1
- package/dist/actions/get-parsed-data.d.cts +3 -6
- package/dist/actions/get-parsed-data.d.cts.map +1 -1
- package/dist/actions/get-parsed-data.d.mts +3 -6
- package/dist/actions/get-parsed-data.d.mts.map +1 -1
- package/dist/actions/get-parsed-data.mjs +1 -0
- package/dist/actions/get-parsed-data.mjs.map +1 -1
- package/dist/actions/get-template.cjs +1 -0
- package/dist/actions/get-template.cjs.map +1 -1
- package/dist/actions/get-template.d.cts +3 -3
- package/dist/actions/get-template.d.cts.map +1 -1
- package/dist/actions/get-template.d.mts +3 -3
- package/dist/actions/get-template.d.mts.map +1 -1
- package/dist/actions/get-template.mjs +1 -0
- package/dist/actions/get-template.mjs.map +1 -1
- package/dist/actions/get-webhook.cjs +1 -0
- package/dist/actions/get-webhook.cjs.map +1 -1
- package/dist/actions/get-webhook.d.cts +3 -3
- package/dist/actions/get-webhook.d.cts.map +1 -1
- package/dist/actions/get-webhook.d.mts +3 -3
- package/dist/actions/get-webhook.d.mts.map +1 -1
- package/dist/actions/get-webhook.mjs +1 -0
- package/dist/actions/get-webhook.mjs.map +1 -1
- package/dist/actions/list-collected-emails.cjs +1 -0
- package/dist/actions/list-collected-emails.cjs.map +1 -1
- package/dist/actions/list-collected-emails.d.cts +3 -4
- package/dist/actions/list-collected-emails.d.cts.map +1 -1
- package/dist/actions/list-collected-emails.d.mts +3 -4
- package/dist/actions/list-collected-emails.d.mts.map +1 -1
- package/dist/actions/list-collected-emails.mjs +1 -0
- package/dist/actions/list-collected-emails.mjs.map +1 -1
- package/dist/actions/list-documents.cjs +1 -0
- package/dist/actions/list-documents.cjs.map +1 -1
- package/dist/actions/list-documents.d.cts +3 -8
- package/dist/actions/list-documents.d.cts.map +1 -1
- package/dist/actions/list-documents.d.mts +3 -8
- package/dist/actions/list-documents.d.mts.map +1 -1
- package/dist/actions/list-documents.mjs +1 -0
- package/dist/actions/list-documents.mjs.map +1 -1
- package/dist/actions/list-mailboxes.cjs +1 -0
- package/dist/actions/list-mailboxes.cjs.map +1 -1
- package/dist/actions/list-mailboxes.d.cts +3 -1
- package/dist/actions/list-mailboxes.d.cts.map +1 -1
- package/dist/actions/list-mailboxes.d.mts +3 -1
- package/dist/actions/list-mailboxes.d.mts.map +1 -1
- package/dist/actions/list-mailboxes.mjs +1 -0
- package/dist/actions/list-mailboxes.mjs.map +1 -1
- package/dist/actions/list-table-fields.cjs +1 -0
- package/dist/actions/list-table-fields.cjs.map +1 -1
- package/dist/actions/list-table-fields.d.cts +3 -3
- package/dist/actions/list-table-fields.d.cts.map +1 -1
- package/dist/actions/list-table-fields.d.mts +3 -3
- package/dist/actions/list-table-fields.d.mts.map +1 -1
- package/dist/actions/list-table-fields.mjs +1 -0
- package/dist/actions/list-table-fields.mjs.map +1 -1
- package/dist/actions/list-templates.cjs +1 -0
- package/dist/actions/list-templates.cjs.map +1 -1
- package/dist/actions/list-templates.d.cts +3 -4
- package/dist/actions/list-templates.d.cts.map +1 -1
- package/dist/actions/list-templates.d.mts +3 -4
- package/dist/actions/list-templates.d.mts.map +1 -1
- package/dist/actions/list-templates.mjs +1 -0
- package/dist/actions/list-templates.mjs.map +1 -1
- package/dist/actions/list-webhooks.cjs +1 -0
- package/dist/actions/list-webhooks.cjs.map +1 -1
- package/dist/actions/list-webhooks.d.cts +3 -3
- package/dist/actions/list-webhooks.d.cts.map +1 -1
- package/dist/actions/list-webhooks.d.mts +3 -3
- package/dist/actions/list-webhooks.d.mts.map +1 -1
- package/dist/actions/list-webhooks.mjs +1 -0
- package/dist/actions/list-webhooks.mjs.map +1 -1
- package/dist/actions/parse-document.cjs +1 -0
- package/dist/actions/parse-document.cjs.map +1 -1
- package/dist/actions/parse-document.d.cts +3 -3
- package/dist/actions/parse-document.d.cts.map +1 -1
- package/dist/actions/parse-document.d.mts +3 -3
- package/dist/actions/parse-document.d.mts.map +1 -1
- package/dist/actions/parse-document.mjs +1 -0
- package/dist/actions/parse-document.mjs.map +1 -1
- package/dist/actions/skip-documents.cjs +1 -0
- package/dist/actions/skip-documents.cjs.map +1 -1
- package/dist/actions/skip-documents.d.cts +3 -4
- package/dist/actions/skip-documents.d.cts.map +1 -1
- package/dist/actions/skip-documents.d.mts +3 -4
- package/dist/actions/skip-documents.d.mts.map +1 -1
- package/dist/actions/skip-documents.mjs +1 -0
- package/dist/actions/skip-documents.mjs.map +1 -1
- package/dist/actions/update-mailbox.cjs +1 -0
- package/dist/actions/update-mailbox.cjs.map +1 -1
- package/dist/actions/update-mailbox.d.cts +3 -8
- package/dist/actions/update-mailbox.d.cts.map +1 -1
- package/dist/actions/update-mailbox.d.mts +3 -8
- package/dist/actions/update-mailbox.d.mts.map +1 -1
- package/dist/actions/update-mailbox.mjs +1 -0
- package/dist/actions/update-mailbox.mjs.map +1 -1
- package/dist/actions/update-webhook.cjs +1 -0
- package/dist/actions/update-webhook.cjs.map +1 -1
- package/dist/actions/update-webhook.d.cts +3 -7
- package/dist/actions/update-webhook.d.cts.map +1 -1
- package/dist/actions/update-webhook.d.mts +3 -7
- package/dist/actions/update-webhook.d.mts.map +1 -1
- package/dist/actions/update-webhook.mjs +1 -0
- package/dist/actions/update-webhook.mjs.map +1 -1
- package/dist/actions/upload-file.cjs +1 -0
- package/dist/actions/upload-file.cjs.map +1 -1
- package/dist/actions/upload-file.d.cts +3 -9
- package/dist/actions/upload-file.d.cts.map +1 -1
- package/dist/actions/upload-file.d.mts +3 -9
- package/dist/actions/upload-file.d.mts.map +1 -1
- package/dist/actions/upload-file.mjs +1 -0
- package/dist/actions/upload-file.mjs.map +1 -1
- package/dist/app.cjs +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +7 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +7 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -2
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-webhooks.cjs","names":["z","action"],"sources":["../../src/actions/list-webhooks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParsioIoListWebhooksInput = z.object({\n mailbox_id: z.string().describe(\"The unique identifier for the mailbox whose webhooks you want to retrieve.\"),\n}).describe(\"Request model for listing webhooks by mailbox ID.\");\nconst ParsioIoListWebhooks_WebhookItemSchema = z.object({\n _id: z.string().describe(\"Unique identifier for the webhook.\").nullable().optional(),\n url: z.string().describe(\"Webhook destination URL.\").nullable().optional(),\n event: z.string().describe(\"Trigger event type (e.g., 'doc.parsed', 'doc.parsed.flat', 'doc.fail', 'doc.received', 'table.parsed').\").nullable().optional(),\n enabled: z.boolean().describe(\"Active status of the webhook.\").nullable().optional(),\n table_id: z.string().describe(\"Table identifier (for 'table.parsed' events).\").nullable().optional(),\n}).passthrough().describe(\"Schema for a single webhook item.\");\nexport const ParsioIoListWebhooksOutput = z.object({\n webhooks: z.array(ParsioIoListWebhooks_WebhookItemSchema).describe(\"List of webhook objects configured for the mailbox.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for listing webhooks.\");\n\nexport const parsioIoListWebhooks = action(\"PARSIO_IO_LIST_WEBHOOKS\", {\n slug: \"parsio_io-list-webhooks\",\n name: \"List Webhooks\",\n description: \"Tool to retrieve all webhooks configured for a specific mailbox. Use when you need to list webhooks associated with a mailbox.\",\n input: ParsioIoListWebhooksInput,\n output: ParsioIoListWebhooksOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-webhooks.cjs","names":["z","action"],"sources":["../../src/actions/list-webhooks.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parsioIo } from \"../app\";\n\nexport const ParsioIoListWebhooksInput = z.object({\n mailbox_id: z.string().describe(\"The unique identifier for the mailbox whose webhooks you want to retrieve.\"),\n}).describe(\"Request model for listing webhooks by mailbox ID.\");\nconst ParsioIoListWebhooks_WebhookItemSchema = z.object({\n _id: z.string().describe(\"Unique identifier for the webhook.\").nullable().optional(),\n url: z.string().describe(\"Webhook destination URL.\").nullable().optional(),\n event: z.string().describe(\"Trigger event type (e.g., 'doc.parsed', 'doc.parsed.flat', 'doc.fail', 'doc.received', 'table.parsed').\").nullable().optional(),\n enabled: z.boolean().describe(\"Active status of the webhook.\").nullable().optional(),\n table_id: z.string().describe(\"Table identifier (for 'table.parsed' events).\").nullable().optional(),\n}).passthrough().describe(\"Schema for a single webhook item.\");\nexport const ParsioIoListWebhooksOutput = z.object({\n webhooks: z.array(ParsioIoListWebhooks_WebhookItemSchema).describe(\"List of webhook objects configured for the mailbox.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for listing webhooks.\");\n\nexport const parsioIoListWebhooks: AppAction<\n typeof ParsioIoListWebhooksInput,\n typeof ParsioIoListWebhooksOutput,\n typeof parsioIo.credential\n> = action(\"PARSIO_IO_LIST_WEBHOOKS\", {\n slug: \"parsio_io-list-webhooks\",\n name: \"List Webhooks\",\n description: \"Tool to retrieve all webhooks configured for a specific mailbox. Use when you need to list webhooks associated with a mailbox.\",\n input: ParsioIoListWebhooksInput,\n output: ParsioIoListWebhooksOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,EAC9G,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1J,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAC7D,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,UAAUA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAChJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAEjE,MAAa,uBAITC,eAAAA,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { parsioIo } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-webhooks.d.ts
|
|
@@ -13,9 +15,7 @@ declare const ParsioIoListWebhooksOutput: z.ZodObject<{
|
|
|
13
15
|
table_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
16
|
}, z.core.$loose>>>>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const parsioIoListWebhooks:
|
|
17
|
-
mailbox_id: string;
|
|
18
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
18
|
+
declare const parsioIoListWebhooks: AppAction<typeof ParsioIoListWebhooksInput, typeof ParsioIoListWebhooksOutput, typeof parsioIo.credential>;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { parsioIoListWebhooks };
|
|
21
21
|
//# sourceMappingURL=list-webhooks.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-webhooks.d.cts","names":[],"sources":["../../src/actions/list-webhooks.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-webhooks.d.cts","names":[],"sources":["../../src/actions/list-webhooks.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAUzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;cAI1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { parsioIo } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-webhooks.d.ts
|
|
@@ -13,9 +15,7 @@ declare const ParsioIoListWebhooksOutput: z.ZodObject<{
|
|
|
13
15
|
table_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
16
|
}, z.core.$loose>>>>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const parsioIoListWebhooks:
|
|
17
|
-
mailbox_id: string;
|
|
18
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
18
|
+
declare const parsioIoListWebhooks: AppAction<typeof ParsioIoListWebhooksInput, typeof ParsioIoListWebhooksOutput, typeof parsioIo.credential>;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { parsioIoListWebhooks };
|
|
21
21
|
//# sourceMappingURL=list-webhooks.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-webhooks.d.mts","names":[],"sources":["../../src/actions/list-webhooks.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-webhooks.d.mts","names":[],"sources":["../../src/actions/list-webhooks.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAUzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;cAI1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-webhooks.mjs","names":[],"sources":["../../src/actions/list-webhooks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParsioIoListWebhooksInput = z.object({\n mailbox_id: z.string().describe(\"The unique identifier for the mailbox whose webhooks you want to retrieve.\"),\n}).describe(\"Request model for listing webhooks by mailbox ID.\");\nconst ParsioIoListWebhooks_WebhookItemSchema = z.object({\n _id: z.string().describe(\"Unique identifier for the webhook.\").nullable().optional(),\n url: z.string().describe(\"Webhook destination URL.\").nullable().optional(),\n event: z.string().describe(\"Trigger event type (e.g., 'doc.parsed', 'doc.parsed.flat', 'doc.fail', 'doc.received', 'table.parsed').\").nullable().optional(),\n enabled: z.boolean().describe(\"Active status of the webhook.\").nullable().optional(),\n table_id: z.string().describe(\"Table identifier (for 'table.parsed' events).\").nullable().optional(),\n}).passthrough().describe(\"Schema for a single webhook item.\");\nexport const ParsioIoListWebhooksOutput = z.object({\n webhooks: z.array(ParsioIoListWebhooks_WebhookItemSchema).describe(\"List of webhook objects configured for the mailbox.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for listing webhooks.\");\n\nexport const parsioIoListWebhooks = action(\"PARSIO_IO_LIST_WEBHOOKS\", {\n slug: \"parsio_io-list-webhooks\",\n name: \"List Webhooks\",\n description: \"Tool to retrieve all webhooks configured for a specific mailbox. Use when you need to list webhooks associated with a mailbox.\",\n input: ParsioIoListWebhooksInput,\n output: ParsioIoListWebhooksOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-webhooks.mjs","names":[],"sources":["../../src/actions/list-webhooks.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parsioIo } from \"../app\";\n\nexport const ParsioIoListWebhooksInput = z.object({\n mailbox_id: z.string().describe(\"The unique identifier for the mailbox whose webhooks you want to retrieve.\"),\n}).describe(\"Request model for listing webhooks by mailbox ID.\");\nconst ParsioIoListWebhooks_WebhookItemSchema = z.object({\n _id: z.string().describe(\"Unique identifier for the webhook.\").nullable().optional(),\n url: z.string().describe(\"Webhook destination URL.\").nullable().optional(),\n event: z.string().describe(\"Trigger event type (e.g., 'doc.parsed', 'doc.parsed.flat', 'doc.fail', 'doc.received', 'table.parsed').\").nullable().optional(),\n enabled: z.boolean().describe(\"Active status of the webhook.\").nullable().optional(),\n table_id: z.string().describe(\"Table identifier (for 'table.parsed' events).\").nullable().optional(),\n}).passthrough().describe(\"Schema for a single webhook item.\");\nexport const ParsioIoListWebhooksOutput = z.object({\n webhooks: z.array(ParsioIoListWebhooks_WebhookItemSchema).describe(\"List of webhook objects configured for the mailbox.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for listing webhooks.\");\n\nexport const parsioIoListWebhooks: AppAction<\n typeof ParsioIoListWebhooksInput,\n typeof ParsioIoListWebhooksOutput,\n typeof parsioIo.credential\n> = action(\"PARSIO_IO_LIST_WEBHOOKS\", {\n slug: \"parsio_io-list-webhooks\",\n name: \"List Webhooks\",\n description: \"Tool to retrieve all webhooks configured for a specific mailbox. Use when you need to list webhooks associated with a mailbox.\",\n input: ParsioIoListWebhooksInput,\n output: ParsioIoListWebhooksOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4B,EAAE,OAAO,EAChD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,EAC9G,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,yCAAyC,EAAE,OAAO;CACtD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1J,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAK7D,MAAa,uBAIT,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbwC,EAAE,OAAO,EACjD,UAAU,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAChJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parse-document.cjs","names":["z","action"],"sources":["../../src/actions/parse-document.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParsioIoParseDocumentInput = z.object({\n document_id: z.string().describe(\"The unique identifier of the document to parse. This ID is returned when a document is created or uploaded.\"),\n}).describe(\"Request model for triggering parsing of a specific document.\");\nexport const ParsioIoParseDocumentOutput = z.object({\n id: z.string().describe(\"The unique identifier of the document that was parsed\").nullable().optional(),\n job_id: z.number().int().describe(\"The job ID returned when parsing is triggered. This is an internal reference for the parsing job.\").nullable().optional(),\n status: z.string().describe(\"The processing status of the document after triggering parse. Values include: parsed, fail, parsing, new, skipped, quota, exception.\").nullable().optional(),\n message: z.string().describe(\"Optional message providing additional information about the parsing operation\").nullable().optional(),\n}).passthrough().describe(\"Response model for parse document operation.\");\n\nexport const parsioIoParseDocument = action(\"PARSIO_IO_PARSE_DOCUMENT\", {\n slug: \"parsio_io-parse-document\",\n name: \"Parse Document\",\n description: \"Tool to trigger parsing of a specific document. Use when you need to initiate parsing for a document that has already been uploaded or created in Parsio.\",\n input: ParsioIoParseDocumentInput,\n output: ParsioIoParseDocumentOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"parse-document.cjs","names":["z","action"],"sources":["../../src/actions/parse-document.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parsioIo } from \"../app\";\n\nexport const ParsioIoParseDocumentInput = z.object({\n document_id: z.string().describe(\"The unique identifier of the document to parse. This ID is returned when a document is created or uploaded.\"),\n}).describe(\"Request model for triggering parsing of a specific document.\");\nexport const ParsioIoParseDocumentOutput = z.object({\n id: z.string().describe(\"The unique identifier of the document that was parsed\").nullable().optional(),\n job_id: z.number().int().describe(\"The job ID returned when parsing is triggered. This is an internal reference for the parsing job.\").nullable().optional(),\n status: z.string().describe(\"The processing status of the document after triggering parse. Values include: parsed, fail, parsing, new, skipped, quota, exception.\").nullable().optional(),\n message: z.string().describe(\"Optional message providing additional information about the parsing operation\").nullable().optional(),\n}).passthrough().describe(\"Response model for parse document operation.\");\n\nexport const parsioIoParseDocument: AppAction<\n typeof ParsioIoParseDocumentInput,\n typeof ParsioIoParseDocumentOutput,\n typeof parsioIo.credential\n> = action(\"PARSIO_IO_PARSE_DOCUMENT\", {\n slug: \"parsio_io-parse-document\",\n name: \"Parse Document\",\n description: \"Tool to trigger parsing of a specific document. Use when you need to initiate parsing for a document that has already been uploaded or created in Parsio.\",\n input: ParsioIoParseDocumentInput,\n output: ParsioIoParseDocumentOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,EAChJ,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3J,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxL,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,wBAITC,eAAAA,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { parsioIo } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/parse-document.d.ts
|
|
@@ -10,9 +12,7 @@ declare const ParsioIoParseDocumentOutput: z.ZodObject<{
|
|
|
10
12
|
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
13
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
14
|
}, z.core.$loose>;
|
|
13
|
-
declare const parsioIoParseDocument:
|
|
14
|
-
document_id: string;
|
|
15
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
15
|
+
declare const parsioIoParseDocument: AppAction<typeof ParsioIoParseDocumentInput, typeof ParsioIoParseDocumentOutput, typeof parsioIo.credential>;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { parsioIoParseDocument };
|
|
18
18
|
//# sourceMappingURL=parse-document.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parse-document.d.cts","names":[],"sources":["../../src/actions/parse-document.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"parse-document.d.cts","names":[],"sources":["../../src/actions/parse-document.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAG1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;cAO3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { parsioIo } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/parse-document.d.ts
|
|
@@ -10,9 +12,7 @@ declare const ParsioIoParseDocumentOutput: z.ZodObject<{
|
|
|
10
12
|
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
13
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
14
|
}, z.core.$loose>;
|
|
13
|
-
declare const parsioIoParseDocument:
|
|
14
|
-
document_id: string;
|
|
15
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
15
|
+
declare const parsioIoParseDocument: AppAction<typeof ParsioIoParseDocumentInput, typeof ParsioIoParseDocumentOutput, typeof parsioIo.credential>;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { parsioIoParseDocument };
|
|
18
18
|
//# sourceMappingURL=parse-document.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parse-document.d.mts","names":[],"sources":["../../src/actions/parse-document.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"parse-document.d.mts","names":[],"sources":["../../src/actions/parse-document.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAG1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;cAO3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parse-document.mjs","names":[],"sources":["../../src/actions/parse-document.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParsioIoParseDocumentInput = z.object({\n document_id: z.string().describe(\"The unique identifier of the document to parse. This ID is returned when a document is created or uploaded.\"),\n}).describe(\"Request model for triggering parsing of a specific document.\");\nexport const ParsioIoParseDocumentOutput = z.object({\n id: z.string().describe(\"The unique identifier of the document that was parsed\").nullable().optional(),\n job_id: z.number().int().describe(\"The job ID returned when parsing is triggered. This is an internal reference for the parsing job.\").nullable().optional(),\n status: z.string().describe(\"The processing status of the document after triggering parse. Values include: parsed, fail, parsing, new, skipped, quota, exception.\").nullable().optional(),\n message: z.string().describe(\"Optional message providing additional information about the parsing operation\").nullable().optional(),\n}).passthrough().describe(\"Response model for parse document operation.\");\n\nexport const parsioIoParseDocument = action(\"PARSIO_IO_PARSE_DOCUMENT\", {\n slug: \"parsio_io-parse-document\",\n name: \"Parse Document\",\n description: \"Tool to trigger parsing of a specific document. Use when you need to initiate parsing for a document that has already been uploaded or created in Parsio.\",\n input: ParsioIoParseDocumentInput,\n output: ParsioIoParseDocumentOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"parse-document.mjs","names":[],"sources":["../../src/actions/parse-document.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parsioIo } from \"../app\";\n\nexport const ParsioIoParseDocumentInput = z.object({\n document_id: z.string().describe(\"The unique identifier of the document to parse. This ID is returned when a document is created or uploaded.\"),\n}).describe(\"Request model for triggering parsing of a specific document.\");\nexport const ParsioIoParseDocumentOutput = z.object({\n id: z.string().describe(\"The unique identifier of the document that was parsed\").nullable().optional(),\n job_id: z.number().int().describe(\"The job ID returned when parsing is triggered. This is an internal reference for the parsing job.\").nullable().optional(),\n status: z.string().describe(\"The processing status of the document after triggering parse. Values include: parsed, fail, parsing, new, skipped, quota, exception.\").nullable().optional(),\n message: z.string().describe(\"Optional message providing additional information about the parsing operation\").nullable().optional(),\n}).passthrough().describe(\"Response model for parse document operation.\");\n\nexport const parsioIoParseDocument: AppAction<\n typeof ParsioIoParseDocumentInput,\n typeof ParsioIoParseDocumentOutput,\n typeof parsioIo.credential\n> = action(\"PARSIO_IO_PARSE_DOCUMENT\", {\n slug: \"parsio_io-parse-document\",\n name: \"Parse Document\",\n description: \"Tool to trigger parsing of a specific document. Use when you need to initiate parsing for a document that has already been uploaded or created in Parsio.\",\n input: ParsioIoParseDocumentInput,\n output: ParsioIoParseDocumentOutput,\n});\n"],"mappings":";;;AAgBA,MAAa,wBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBwC,EAAE,OAAO,EACjD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,EAChJ,CAAC,CAAC,CAAC,SAAS,8DAgBH;CACP,QAhByC,EAAE,OAAO;EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3J,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxL,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skip-documents.cjs","names":["z","action"],"sources":["../../src/actions/skip-documents.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParsioIoSkipDocumentsInput = z.object({\n ids: z.array(z.string()).describe(\"Array of document IDs to skip. Each ID must be a valid document identifier.\"),\n mailbox_id: z.string().describe(\"The unique identifier of the mailbox containing the documents to skip.\"),\n}).describe(\"Request model for skipping multiple documents in a mailbox.\");\nexport const ParsioIoSkipDocumentsOutput = z.object({\n message: z.string().describe(\"Optional message providing additional information about the operation.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the skip operation was successful.\").nullable(),\n}).passthrough().describe(\"Response model for skip documents operation.\");\n\nexport const parsioIoSkipDocuments = action(\"PARSIO_IO_SKIP_DOCUMENTS\", {\n slug: \"parsio_io-skip-documents\",\n name: \"Skip Documents\",\n description: \"Tool to skip multiple documents in a mailbox by providing document IDs. Use when you need to mark documents as skipped rather than parsing them.\",\n input: ParsioIoSkipDocumentsInput,\n output: ParsioIoSkipDocumentsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"skip-documents.cjs","names":["z","action"],"sources":["../../src/actions/skip-documents.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parsioIo } from \"../app\";\n\nexport const ParsioIoSkipDocumentsInput = z.object({\n ids: z.array(z.string()).describe(\"Array of document IDs to skip. Each ID must be a valid document identifier.\"),\n mailbox_id: z.string().describe(\"The unique identifier of the mailbox containing the documents to skip.\"),\n}).describe(\"Request model for skipping multiple documents in a mailbox.\");\nexport const ParsioIoSkipDocumentsOutput = z.object({\n message: z.string().describe(\"Optional message providing additional information about the operation.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the skip operation was successful.\").nullable(),\n}).passthrough().describe(\"Response model for skip documents operation.\");\n\nexport const parsioIoSkipDocuments: AppAction<\n typeof ParsioIoSkipDocumentsInput,\n typeof ParsioIoSkipDocumentsOutput,\n typeof parsioIo.credential\n> = action(\"PARSIO_IO_SKIP_DOCUMENTS\", {\n slug: \"parsio_io-skip-documents\",\n name: \"Skip Documents\",\n description: \"Tool to skip multiple documents in a mailbox by providing document IDs. Use when you need to mark documents as skipped rather than parsing them.\",\n input: ParsioIoSkipDocumentsInput,\n output: ParsioIoSkipDocumentsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,KAAKA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6EAA6E;CAC/G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;AAC1G,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,wBAITC,eAAAA,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { parsioIo } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/skip-documents.d.ts
|
|
@@ -9,10 +11,7 @@ declare const ParsioIoSkipDocumentsOutput: z.ZodObject<{
|
|
|
9
11
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
12
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
11
13
|
}, z.core.$loose>;
|
|
12
|
-
declare const parsioIoSkipDocuments:
|
|
13
|
-
ids: string[];
|
|
14
|
-
mailbox_id: string;
|
|
15
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
14
|
+
declare const parsioIoSkipDocuments: AppAction<typeof ParsioIoSkipDocumentsInput, typeof ParsioIoSkipDocumentsOutput, typeof parsioIo.credential>;
|
|
16
15
|
//#endregion
|
|
17
16
|
export { parsioIoSkipDocuments };
|
|
18
17
|
//# sourceMappingURL=skip-documents.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skip-documents.d.cts","names":[],"sources":["../../src/actions/skip-documents.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"skip-documents.d.cts","names":[],"sources":["../../src/actions/skip-documents.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAI1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAK3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { parsioIo } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/skip-documents.d.ts
|
|
@@ -9,10 +11,7 @@ declare const ParsioIoSkipDocumentsOutput: z.ZodObject<{
|
|
|
9
11
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
12
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
11
13
|
}, z.core.$loose>;
|
|
12
|
-
declare const parsioIoSkipDocuments:
|
|
13
|
-
ids: string[];
|
|
14
|
-
mailbox_id: string;
|
|
15
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
14
|
+
declare const parsioIoSkipDocuments: AppAction<typeof ParsioIoSkipDocumentsInput, typeof ParsioIoSkipDocumentsOutput, typeof parsioIo.credential>;
|
|
16
15
|
//#endregion
|
|
17
16
|
export { parsioIoSkipDocuments };
|
|
18
17
|
//# sourceMappingURL=skip-documents.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skip-documents.d.mts","names":[],"sources":["../../src/actions/skip-documents.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"skip-documents.d.mts","names":[],"sources":["../../src/actions/skip-documents.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAI1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAK3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skip-documents.mjs","names":[],"sources":["../../src/actions/skip-documents.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParsioIoSkipDocumentsInput = z.object({\n ids: z.array(z.string()).describe(\"Array of document IDs to skip. Each ID must be a valid document identifier.\"),\n mailbox_id: z.string().describe(\"The unique identifier of the mailbox containing the documents to skip.\"),\n}).describe(\"Request model for skipping multiple documents in a mailbox.\");\nexport const ParsioIoSkipDocumentsOutput = z.object({\n message: z.string().describe(\"Optional message providing additional information about the operation.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the skip operation was successful.\").nullable(),\n}).passthrough().describe(\"Response model for skip documents operation.\");\n\nexport const parsioIoSkipDocuments = action(\"PARSIO_IO_SKIP_DOCUMENTS\", {\n slug: \"parsio_io-skip-documents\",\n name: \"Skip Documents\",\n description: \"Tool to skip multiple documents in a mailbox by providing document IDs. Use when you need to mark documents as skipped rather than parsing them.\",\n input: ParsioIoSkipDocumentsInput,\n output: ParsioIoSkipDocumentsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"skip-documents.mjs","names":[],"sources":["../../src/actions/skip-documents.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parsioIo } from \"../app\";\n\nexport const ParsioIoSkipDocumentsInput = z.object({\n ids: z.array(z.string()).describe(\"Array of document IDs to skip. Each ID must be a valid document identifier.\"),\n mailbox_id: z.string().describe(\"The unique identifier of the mailbox containing the documents to skip.\"),\n}).describe(\"Request model for skipping multiple documents in a mailbox.\");\nexport const ParsioIoSkipDocumentsOutput = z.object({\n message: z.string().describe(\"Optional message providing additional information about the operation.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the skip operation was successful.\").nullable(),\n}).passthrough().describe(\"Response model for skip documents operation.\");\n\nexport const parsioIoSkipDocuments: AppAction<\n typeof ParsioIoSkipDocumentsInput,\n typeof ParsioIoSkipDocumentsOutput,\n typeof parsioIo.credential\n> = action(\"PARSIO_IO_SKIP_DOCUMENTS\", {\n slug: \"parsio_io-skip-documents\",\n name: \"Skip Documents\",\n description: \"Tool to skip multiple documents in a mailbox by providing document IDs. Use when you need to mark documents as skipped rather than parsing them.\",\n input: ParsioIoSkipDocumentsInput,\n output: ParsioIoSkipDocumentsOutput,\n});\n"],"mappings":";;;AAeA,MAAa,wBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBwC,EAAE,OAAO;EACjD,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6EAA6E;EAC/G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;CAC1G,CAAC,CAAC,CAAC,SAAS,6DAcH;CACP,QAdyC,EAAE,OAAO;EAClD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3H,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-mailbox.cjs","names":["z","action"],"sources":["../../src/actions/update-mailbox.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParsioIoUpdateMailboxInput = z.object({\n name: z.string().describe(\"Update the mailbox's display name.\").optional(),\n mailbox_id: z.string().describe(\"The unique identifier of the mailbox to update.\"),\n email_prefix: z.string().describe(\"Modify the email prefix associated with the mailbox.\").optional(),\n alert_email_h: z.number().int().describe(\"Email alerts frequency in hours. Specifies how often to receive alerts.\").optional(),\n collect_emails: z.boolean().describe(\"Enable or disable automatic email address collection.\").optional(),\n process_attachments: z.boolean().describe(\"Store or ignore email attachments. Set to true to process attachments, false to ignore them.\").optional(),\n}).describe(\"Request model for updating mailbox settings.\");\nexport const ParsioIoUpdateMailboxOutput = 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 updated mailbox details.\");\n\nexport const parsioIoUpdateMailbox = action(\"PARSIO_IO_UPDATE_MAILBOX\", {\n slug: \"parsio_io-update-mailbox\",\n name: \"Update Mailbox Settings\",\n description: \"Tool to update mailbox settings including name, email prefix, and processing options. Use when you need to modify configuration settings for an existing mailbox.\",\n input: ParsioIoUpdateMailboxInput,\n output: ParsioIoUpdateMailboxOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-mailbox.cjs","names":["z","action"],"sources":["../../src/actions/update-mailbox.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parsioIo } from \"../app\";\n\nexport const ParsioIoUpdateMailboxInput = z.object({\n name: z.string().describe(\"Update the mailbox's display name.\").optional(),\n mailbox_id: z.string().describe(\"The unique identifier of the mailbox to update.\"),\n email_prefix: z.string().describe(\"Modify the email prefix associated with the mailbox.\").optional(),\n alert_email_h: z.number().int().describe(\"Email alerts frequency in hours. Specifies how often to receive alerts.\").optional(),\n collect_emails: z.boolean().describe(\"Enable or disable automatic email address collection.\").optional(),\n process_attachments: z.boolean().describe(\"Store or ignore email attachments. Set to true to process attachments, false to ignore them.\").optional(),\n}).describe(\"Request model for updating mailbox settings.\");\nexport const ParsioIoUpdateMailboxOutput = 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 updated mailbox details.\");\n\nexport const parsioIoUpdateMailbox: AppAction<\n typeof ParsioIoUpdateMailboxInput,\n typeof ParsioIoUpdateMailboxOutput,\n typeof parsioIo.credential\n> = action(\"PARSIO_IO_UPDATE_MAILBOX\", {\n slug: \"parsio_io-update-mailbox\",\n name: \"Update Mailbox Settings\",\n description: \"Tool to update mailbox settings including name, email prefix, and processing options. Use when you need to modify configuration settings for an existing mailbox.\",\n input: ParsioIoUpdateMailboxInput,\n output: ParsioIoUpdateMailboxOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACzE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CACjF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACnG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAC7H,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACvG,qBAAqBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;AACrJ,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,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,6CAA6C;AAEvE,MAAa,wBAITC,eAAAA,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { parsioIo } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-mailbox.d.ts
|
|
@@ -17,14 +19,7 @@ declare const ParsioIoUpdateMailboxOutput: z.ZodObject<{
|
|
|
17
19
|
collect_emails: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
18
20
|
process_attachments: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
19
21
|
}, z.core.$loose>;
|
|
20
|
-
declare const parsioIoUpdateMailbox:
|
|
21
|
-
mailbox_id: string;
|
|
22
|
-
name?: string | undefined;
|
|
23
|
-
email_prefix?: string | undefined;
|
|
24
|
-
alert_email_h?: number | undefined;
|
|
25
|
-
collect_emails?: boolean | undefined;
|
|
26
|
-
process_attachments?: boolean | undefined;
|
|
27
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
22
|
+
declare const parsioIoUpdateMailbox: AppAction<typeof ParsioIoUpdateMailboxInput, typeof ParsioIoUpdateMailboxOutput, typeof parsioIo.credential>;
|
|
28
23
|
//#endregion
|
|
29
24
|
export { parsioIoUpdateMailbox };
|
|
30
25
|
//# sourceMappingURL=update-mailbox.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-mailbox.d.cts","names":[],"sources":["../../src/actions/update-mailbox.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-mailbox.d.cts","names":[],"sources":["../../src/actions/update-mailbox.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;cAQ1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;cAS3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { parsioIo } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-mailbox.d.ts
|
|
@@ -17,14 +19,7 @@ declare const ParsioIoUpdateMailboxOutput: z.ZodObject<{
|
|
|
17
19
|
collect_emails: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
18
20
|
process_attachments: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
19
21
|
}, z.core.$loose>;
|
|
20
|
-
declare const parsioIoUpdateMailbox:
|
|
21
|
-
mailbox_id: string;
|
|
22
|
-
name?: string | undefined;
|
|
23
|
-
email_prefix?: string | undefined;
|
|
24
|
-
alert_email_h?: number | undefined;
|
|
25
|
-
collect_emails?: boolean | undefined;
|
|
26
|
-
process_attachments?: boolean | undefined;
|
|
27
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
22
|
+
declare const parsioIoUpdateMailbox: AppAction<typeof ParsioIoUpdateMailboxInput, typeof ParsioIoUpdateMailboxOutput, typeof parsioIo.credential>;
|
|
28
23
|
//#endregion
|
|
29
24
|
export { parsioIoUpdateMailbox };
|
|
30
25
|
//# sourceMappingURL=update-mailbox.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-mailbox.d.mts","names":[],"sources":["../../src/actions/update-mailbox.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-mailbox.d.mts","names":[],"sources":["../../src/actions/update-mailbox.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;cAQ1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;cAS3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-mailbox.mjs","names":[],"sources":["../../src/actions/update-mailbox.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParsioIoUpdateMailboxInput = z.object({\n name: z.string().describe(\"Update the mailbox's display name.\").optional(),\n mailbox_id: z.string().describe(\"The unique identifier of the mailbox to update.\"),\n email_prefix: z.string().describe(\"Modify the email prefix associated with the mailbox.\").optional(),\n alert_email_h: z.number().int().describe(\"Email alerts frequency in hours. Specifies how often to receive alerts.\").optional(),\n collect_emails: z.boolean().describe(\"Enable or disable automatic email address collection.\").optional(),\n process_attachments: z.boolean().describe(\"Store or ignore email attachments. Set to true to process attachments, false to ignore them.\").optional(),\n}).describe(\"Request model for updating mailbox settings.\");\nexport const ParsioIoUpdateMailboxOutput = 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 updated mailbox details.\");\n\nexport const parsioIoUpdateMailbox = action(\"PARSIO_IO_UPDATE_MAILBOX\", {\n slug: \"parsio_io-update-mailbox\",\n name: \"Update Mailbox Settings\",\n description: \"Tool to update mailbox settings including name, email prefix, and processing options. Use when you need to modify configuration settings for an existing mailbox.\",\n input: ParsioIoUpdateMailboxInput,\n output: ParsioIoUpdateMailboxOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-mailbox.mjs","names":[],"sources":["../../src/actions/update-mailbox.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parsioIo } from \"../app\";\n\nexport const ParsioIoUpdateMailboxInput = z.object({\n name: z.string().describe(\"Update the mailbox's display name.\").optional(),\n mailbox_id: z.string().describe(\"The unique identifier of the mailbox to update.\"),\n email_prefix: z.string().describe(\"Modify the email prefix associated with the mailbox.\").optional(),\n alert_email_h: z.number().int().describe(\"Email alerts frequency in hours. Specifies how often to receive alerts.\").optional(),\n collect_emails: z.boolean().describe(\"Enable or disable automatic email address collection.\").optional(),\n process_attachments: z.boolean().describe(\"Store or ignore email attachments. Set to true to process attachments, false to ignore them.\").optional(),\n}).describe(\"Request model for updating mailbox settings.\");\nexport const ParsioIoUpdateMailboxOutput = 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 updated mailbox details.\");\n\nexport const parsioIoUpdateMailbox: AppAction<\n typeof ParsioIoUpdateMailboxInput,\n typeof ParsioIoUpdateMailboxOutput,\n typeof parsioIo.credential\n> = action(\"PARSIO_IO_UPDATE_MAILBOX\", {\n slug: \"parsio_io-update-mailbox\",\n name: \"Update Mailbox Settings\",\n description: \"Tool to update mailbox settings including name, email prefix, and processing options. Use when you need to modify configuration settings for an existing mailbox.\",\n input: ParsioIoUpdateMailboxInput,\n output: ParsioIoUpdateMailboxOutput,\n});\n"],"mappings":";;;AAuBA,MAAa,wBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAzBwC,EAAE,OAAO;EACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EACzE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;EACjF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EACnG,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;EAC7H,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EACvG,qBAAqB,EAAE,QAAQ,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;CACrJ,CAAC,CAAC,CAAC,SAAS,8CAkBH;CACP,QAlByC,EAAE,OAAO;EAClD,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,6CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-webhook.cjs","names":["z","action"],"sources":["../../src/actions/update-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParsioIoUpdateWebhookInput = z.object({\n _id: z.string().describe(\"Unique identifier of the webhook to update\"),\n url: z.string().describe(\"Webhook URL endpoint that will receive webhook payloads\"),\n event: z.enum([\"doc.parsed\", \"doc.parsed.flat\", \"doc.fail\", \"doc.received\", \"table.parsed\"]).describe(\"Trigger event type for the webhook. Options: 'doc.parsed', 'doc.parsed.flat', 'doc.fail', 'doc.received', 'table.parsed'\"),\n enabled: z.boolean().describe(\"Whether the webhook is active or disabled\"),\n table_id: z.string().default(\"\").describe(\"Table identifier, required only for 'table.parsed' events. Leave empty for other event types.\").optional(),\n}).describe(\"Request model for updating an existing webhook.\");\nexport const ParsioIoUpdateWebhookOutput = z.object({\n _id: z.string().describe(\"Unique identifier of the updated 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\").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, applicable only for 'table.parsed' events\").nullable().optional(),\n}).passthrough().describe(\"Response schema for updating a webhook.\");\n\nexport const parsioIoUpdateWebhook = action(\"PARSIO_IO_UPDATE_WEBHOOK\", {\n slug: \"parsio_io-update-webhook\",\n name: \"Update Webhook\",\n description: \"Tool to update an existing webhook's configuration. Use when you need to modify webhook settings like URL, event type, or activation status.\",\n input: ParsioIoUpdateWebhookInput,\n output: ParsioIoUpdateWebhookOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-webhook.cjs","names":["z","action"],"sources":["../../src/actions/update-webhook.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parsioIo } from \"../app\";\n\nexport const ParsioIoUpdateWebhookInput = z.object({\n _id: z.string().describe(\"Unique identifier of the webhook to update\"),\n url: z.string().describe(\"Webhook URL endpoint that will receive webhook payloads\"),\n event: z.enum([\"doc.parsed\", \"doc.parsed.flat\", \"doc.fail\", \"doc.received\", \"table.parsed\"]).describe(\"Trigger event type for the webhook. Options: 'doc.parsed', 'doc.parsed.flat', 'doc.fail', 'doc.received', 'table.parsed'\"),\n enabled: z.boolean().describe(\"Whether the webhook is active or disabled\"),\n table_id: z.string().default(\"\").describe(\"Table identifier, required only for 'table.parsed' events. Leave empty for other event types.\").optional(),\n}).describe(\"Request model for updating an existing webhook.\");\nexport const ParsioIoUpdateWebhookOutput = z.object({\n _id: z.string().describe(\"Unique identifier of the updated 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\").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, applicable only for 'table.parsed' events\").nullable().optional(),\n}).passthrough().describe(\"Response schema for updating a webhook.\");\n\nexport const parsioIoUpdateWebhook: AppAction<\n typeof ParsioIoUpdateWebhookInput,\n typeof ParsioIoUpdateWebhookOutput,\n typeof parsioIo.credential\n> = action(\"PARSIO_IO_UPDATE_WEBHOOK\", {\n slug: \"parsio_io-update-webhook\",\n name: \"Update Webhook\",\n description: \"Tool to update an existing webhook's configuration. Use when you need to modify webhook settings like URL, event type, or activation status.\",\n input: ParsioIoUpdateWebhookInput,\n output: ParsioIoUpdateWebhookOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACrE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CAClF,OAAOA,IAAAA,EAAE,KAAK;EAAC;EAAc;EAAmB;EAAY;EAAgB;CAAc,CAAC,CAAC,CAAC,SAAS,0HAA0H;CAChO,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C;CACzE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAEnE,MAAa,wBAITC,eAAAA,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { parsioIo } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-webhook.d.ts
|
|
@@ -21,13 +23,7 @@ declare const ParsioIoUpdateWebhookOutput: z.ZodObject<{
|
|
|
21
23
|
enabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
22
24
|
table_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
25
|
}, z.core.$loose>;
|
|
24
|
-
declare const parsioIoUpdateWebhook:
|
|
25
|
-
_id: string;
|
|
26
|
-
url: string;
|
|
27
|
-
event: "doc.parsed" | "doc.parsed.flat" | "doc.fail" | "doc.received" | "table.parsed";
|
|
28
|
-
enabled: boolean;
|
|
29
|
-
table_id?: string | undefined;
|
|
30
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
26
|
+
declare const parsioIoUpdateWebhook: AppAction<typeof ParsioIoUpdateWebhookInput, typeof ParsioIoUpdateWebhookOutput, typeof parsioIo.credential>;
|
|
31
27
|
//#endregion
|
|
32
28
|
export { parsioIoUpdateWebhook };
|
|
33
29
|
//# sourceMappingURL=update-webhook.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-webhook.d.cts","names":[],"sources":["../../src/actions/update-webhook.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-webhook.d.cts","names":[],"sources":["../../src/actions/update-webhook.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAO1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;cAQ3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { parsioIo } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-webhook.d.ts
|
|
@@ -21,13 +23,7 @@ declare const ParsioIoUpdateWebhookOutput: z.ZodObject<{
|
|
|
21
23
|
enabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
22
24
|
table_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
25
|
}, z.core.$loose>;
|
|
24
|
-
declare const parsioIoUpdateWebhook:
|
|
25
|
-
_id: string;
|
|
26
|
-
url: string;
|
|
27
|
-
event: "doc.parsed" | "doc.parsed.flat" | "doc.fail" | "doc.received" | "table.parsed";
|
|
28
|
-
enabled: boolean;
|
|
29
|
-
table_id?: string | undefined;
|
|
30
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
26
|
+
declare const parsioIoUpdateWebhook: AppAction<typeof ParsioIoUpdateWebhookInput, typeof ParsioIoUpdateWebhookOutput, typeof parsioIo.credential>;
|
|
31
27
|
//#endregion
|
|
32
28
|
export { parsioIoUpdateWebhook };
|
|
33
29
|
//# sourceMappingURL=update-webhook.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-webhook.d.mts","names":[],"sources":["../../src/actions/update-webhook.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-webhook.d.mts","names":[],"sources":["../../src/actions/update-webhook.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAO1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;cAQ3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-webhook.mjs","names":[],"sources":["../../src/actions/update-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParsioIoUpdateWebhookInput = z.object({\n _id: z.string().describe(\"Unique identifier of the webhook to update\"),\n url: z.string().describe(\"Webhook URL endpoint that will receive webhook payloads\"),\n event: z.enum([\"doc.parsed\", \"doc.parsed.flat\", \"doc.fail\", \"doc.received\", \"table.parsed\"]).describe(\"Trigger event type for the webhook. Options: 'doc.parsed', 'doc.parsed.flat', 'doc.fail', 'doc.received', 'table.parsed'\"),\n enabled: z.boolean().describe(\"Whether the webhook is active or disabled\"),\n table_id: z.string().default(\"\").describe(\"Table identifier, required only for 'table.parsed' events. Leave empty for other event types.\").optional(),\n}).describe(\"Request model for updating an existing webhook.\");\nexport const ParsioIoUpdateWebhookOutput = z.object({\n _id: z.string().describe(\"Unique identifier of the updated 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\").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, applicable only for 'table.parsed' events\").nullable().optional(),\n}).passthrough().describe(\"Response schema for updating a webhook.\");\n\nexport const parsioIoUpdateWebhook = action(\"PARSIO_IO_UPDATE_WEBHOOK\", {\n slug: \"parsio_io-update-webhook\",\n name: \"Update Webhook\",\n description: \"Tool to update an existing webhook's configuration. Use when you need to modify webhook settings like URL, event type, or activation status.\",\n input: ParsioIoUpdateWebhookInput,\n output: ParsioIoUpdateWebhookOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-webhook.mjs","names":[],"sources":["../../src/actions/update-webhook.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parsioIo } from \"../app\";\n\nexport const ParsioIoUpdateWebhookInput = z.object({\n _id: z.string().describe(\"Unique identifier of the webhook to update\"),\n url: z.string().describe(\"Webhook URL endpoint that will receive webhook payloads\"),\n event: z.enum([\"doc.parsed\", \"doc.parsed.flat\", \"doc.fail\", \"doc.received\", \"table.parsed\"]).describe(\"Trigger event type for the webhook. Options: 'doc.parsed', 'doc.parsed.flat', 'doc.fail', 'doc.received', 'table.parsed'\"),\n enabled: z.boolean().describe(\"Whether the webhook is active or disabled\"),\n table_id: z.string().default(\"\").describe(\"Table identifier, required only for 'table.parsed' events. Leave empty for other event types.\").optional(),\n}).describe(\"Request model for updating an existing webhook.\");\nexport const ParsioIoUpdateWebhookOutput = z.object({\n _id: z.string().describe(\"Unique identifier of the updated 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\").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, applicable only for 'table.parsed' events\").nullable().optional(),\n}).passthrough().describe(\"Response schema for updating a webhook.\");\n\nexport const parsioIoUpdateWebhook: AppAction<\n typeof ParsioIoUpdateWebhookInput,\n typeof ParsioIoUpdateWebhookOutput,\n typeof parsioIo.credential\n> = action(\"PARSIO_IO_UPDATE_WEBHOOK\", {\n slug: \"parsio_io-update-webhook\",\n name: \"Update Webhook\",\n description: \"Tool to update an existing webhook's configuration. Use when you need to modify webhook settings like URL, event type, or activation status.\",\n input: ParsioIoUpdateWebhookInput,\n output: ParsioIoUpdateWebhookOutput,\n});\n"],"mappings":";;;AAqBA,MAAa,wBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvBwC,EAAE,OAAO;EACjD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EACrE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;EAClF,OAAO,EAAE,KAAK;GAAC;GAAc;GAAmB;GAAY;GAAgB;EAAc,CAAC,CAAC,CAAC,SAAS,0HAA0H;EAChO,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C;EACzE,UAAU,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CACtJ,CAAC,CAAC,CAAC,SAAS,iDAiBH;CACP,QAjByC,EAAE,OAAO;EAClD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upload-file.cjs","names":["z","action"],"sources":["../../src/actions/upload-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParsioIoUploadFileInput = z.object({\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"File to upload and parse. Supported formats: PDF, HTML, CSV, TXT, DOCX, RTF, or XML. Maximum file size: 20MB.\"),\n meta: z.record(z.string(), z.unknown()).describe(\"Custom payload data that will be included in the parsed JSON output as __meta__ field. Useful for linking the document with external databases (e.g., {'order_id': '12345', 'customer': 'John Doe'}).\").optional(),\n mailbox_id: z.string().describe(\"The unique identifier of the mailbox where the file will be uploaded\"),\n}).describe(\"Request model for uploading and parsing files to a mailbox.\");\nexport const ParsioIoUploadFileOutput = z.object({\n _id: z.string().describe(\"Unique identifier of the uploaded document for tracking and retrieval of parsing results\").nullable().optional(),\n status: z.string().describe(\"Status of the document. Possible values: parsed, fail, skipped, new, quota, parsing, exception\").nullable().optional(),\n message: z.string().describe(\"Additional message or information about the document upload and parsing\").nullable().optional(),\n}).passthrough().describe(\"Response schema for file upload.\");\n\nexport const parsioIoUploadFile = action(\"PARSIO_IO_UPLOAD_FILE\", {\n slug: \"parsio_io-upload-file\",\n name: \"Upload File\",\n description: \"Tool to upload and parse PDF, HTML, CSV, TXT, DOCX, RTF or XML files (max 20MB) to a mailbox. Use when you need to submit a file to Parsio for automated data extraction.\",\n input: ParsioIoUploadFileInput,\n output: ParsioIoUploadFileOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"upload-file.cjs","names":["z","action"],"sources":["../../src/actions/upload-file.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parsioIo } from \"../app\";\n\nexport const ParsioIoUploadFileInput = z.object({\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"File to upload and parse. Supported formats: PDF, HTML, CSV, TXT, DOCX, RTF, or XML. Maximum file size: 20MB.\"),\n meta: z.record(z.string(), z.unknown()).describe(\"Custom payload data that will be included in the parsed JSON output as __meta__ field. Useful for linking the document with external databases (e.g., {'order_id': '12345', 'customer': 'John Doe'}).\").optional(),\n mailbox_id: z.string().describe(\"The unique identifier of the mailbox where the file will be uploaded\"),\n}).describe(\"Request model for uploading and parsing files to a mailbox.\");\nexport const ParsioIoUploadFileOutput = z.object({\n _id: z.string().describe(\"Unique identifier of the uploaded document for tracking and retrieval of parsing results\").nullable().optional(),\n status: z.string().describe(\"Status of the document. Possible values: parsed, fail, skipped, new, quota, parsing, exception\").nullable().optional(),\n message: z.string().describe(\"Additional message or information about the document upload and parsing\").nullable().optional(),\n}).passthrough().describe(\"Response schema for file upload.\");\n\nexport const parsioIoUploadFile: AppAction<\n typeof ParsioIoUploadFileInput,\n typeof ParsioIoUploadFileOutput,\n typeof parsioIo.credential\n> = action(\"PARSIO_IO_UPLOAD_FILE\", {\n slug: \"parsio_io-upload-file\",\n name: \"Upload File\",\n description: \"Tool to upload and parse PDF, HTML, CSV, TXT, DOCX, RTF or XML files (max 20MB) to a mailbox. Use when you need to submit a file to Parsio for automated data extraction.\",\n input: ParsioIoUploadFileInput,\n output: ParsioIoUploadFileOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,OAAO;EACf,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;EAC7G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;EACnO,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC3D,CAAC,CAAC,CAAC,SAAS,+GAA+G;CACzH,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uMAAuM,CAAC,CAAC,SAAS;CACnQ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE;AACxG,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClJ,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAE5D,MAAa,qBAITC,eAAAA,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { parsioIo } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/upload-file.d.ts
|
|
@@ -15,15 +17,7 @@ declare const ParsioIoUploadFileOutput: z.ZodObject<{
|
|
|
15
17
|
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
18
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
19
|
}, z.core.$loose>;
|
|
18
|
-
declare const parsioIoUploadFile:
|
|
19
|
-
file: {
|
|
20
|
-
name: string;
|
|
21
|
-
s3key: string;
|
|
22
|
-
mimetype: string;
|
|
23
|
-
};
|
|
24
|
-
mailbox_id: string;
|
|
25
|
-
meta?: Record<string, unknown> | undefined;
|
|
26
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
20
|
+
declare const parsioIoUploadFile: AppAction<typeof ParsioIoUploadFileInput, typeof ParsioIoUploadFileOutput, typeof parsioIo.credential>;
|
|
27
21
|
//#endregion
|
|
28
22
|
export { parsioIoUploadFile };
|
|
29
23
|
//# sourceMappingURL=upload-file.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upload-file.d.cts","names":[],"sources":["../../src/actions/upload-file.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"upload-file.d.cts","names":[],"sources":["../../src/actions/upload-file.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;cASvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;cAMxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { parsioIo } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/upload-file.d.ts
|
|
@@ -15,15 +17,7 @@ declare const ParsioIoUploadFileOutput: z.ZodObject<{
|
|
|
15
17
|
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
18
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
19
|
}, z.core.$loose>;
|
|
18
|
-
declare const parsioIoUploadFile:
|
|
19
|
-
file: {
|
|
20
|
-
name: string;
|
|
21
|
-
s3key: string;
|
|
22
|
-
mimetype: string;
|
|
23
|
-
};
|
|
24
|
-
mailbox_id: string;
|
|
25
|
-
meta?: Record<string, unknown> | undefined;
|
|
26
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
20
|
+
declare const parsioIoUploadFile: AppAction<typeof ParsioIoUploadFileInput, typeof ParsioIoUploadFileOutput, typeof parsioIo.credential>;
|
|
27
21
|
//#endregion
|
|
28
22
|
export { parsioIoUploadFile };
|
|
29
23
|
//# sourceMappingURL=upload-file.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upload-file.d.mts","names":[],"sources":["../../src/actions/upload-file.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"upload-file.d.mts","names":[],"sources":["../../src/actions/upload-file.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;cASvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;cAMxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upload-file.mjs","names":[],"sources":["../../src/actions/upload-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParsioIoUploadFileInput = z.object({\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"File to upload and parse. Supported formats: PDF, HTML, CSV, TXT, DOCX, RTF, or XML. Maximum file size: 20MB.\"),\n meta: z.record(z.string(), z.unknown()).describe(\"Custom payload data that will be included in the parsed JSON output as __meta__ field. Useful for linking the document with external databases (e.g., {'order_id': '12345', 'customer': 'John Doe'}).\").optional(),\n mailbox_id: z.string().describe(\"The unique identifier of the mailbox where the file will be uploaded\"),\n}).describe(\"Request model for uploading and parsing files to a mailbox.\");\nexport const ParsioIoUploadFileOutput = z.object({\n _id: z.string().describe(\"Unique identifier of the uploaded document for tracking and retrieval of parsing results\").nullable().optional(),\n status: z.string().describe(\"Status of the document. Possible values: parsed, fail, skipped, new, quota, parsing, exception\").nullable().optional(),\n message: z.string().describe(\"Additional message or information about the document upload and parsing\").nullable().optional(),\n}).passthrough().describe(\"Response schema for file upload.\");\n\nexport const parsioIoUploadFile = action(\"PARSIO_IO_UPLOAD_FILE\", {\n slug: \"parsio_io-upload-file\",\n name: \"Upload File\",\n description: \"Tool to upload and parse PDF, HTML, CSV, TXT, DOCX, RTF or XML files (max 20MB) to a mailbox. Use when you need to submit a file to Parsio for automated data extraction.\",\n input: ParsioIoUploadFileInput,\n output: ParsioIoUploadFileOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"upload-file.mjs","names":[],"sources":["../../src/actions/upload-file.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parsioIo } from \"../app\";\n\nexport const ParsioIoUploadFileInput = z.object({\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"File to upload and parse. Supported formats: PDF, HTML, CSV, TXT, DOCX, RTF, or XML. Maximum file size: 20MB.\"),\n meta: z.record(z.string(), z.unknown()).describe(\"Custom payload data that will be included in the parsed JSON output as __meta__ field. Useful for linking the document with external databases (e.g., {'order_id': '12345', 'customer': 'John Doe'}).\").optional(),\n mailbox_id: z.string().describe(\"The unique identifier of the mailbox where the file will be uploaded\"),\n}).describe(\"Request model for uploading and parsing files to a mailbox.\");\nexport const ParsioIoUploadFileOutput = z.object({\n _id: z.string().describe(\"Unique identifier of the uploaded document for tracking and retrieval of parsing results\").nullable().optional(),\n status: z.string().describe(\"Status of the document. Possible values: parsed, fail, skipped, new, quota, parsing, exception\").nullable().optional(),\n message: z.string().describe(\"Additional message or information about the document upload and parsing\").nullable().optional(),\n}).passthrough().describe(\"Response schema for file upload.\");\n\nexport const parsioIoUploadFile: AppAction<\n typeof ParsioIoUploadFileInput,\n typeof ParsioIoUploadFileOutput,\n typeof parsioIo.credential\n> = action(\"PARSIO_IO_UPLOAD_FILE\", {\n slug: \"parsio_io-upload-file\",\n name: \"Upload File\",\n description: \"Tool to upload and parse PDF, HTML, CSV, TXT, DOCX, RTF or XML files (max 20MB) to a mailbox. Use when you need to submit a file to Parsio for automated data extraction.\",\n input: ParsioIoUploadFileInput,\n output: ParsioIoUploadFileOutput,\n});\n"],"mappings":";;;AAqBA,MAAa,qBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvBqC,EAAE,OAAO;EAC9C,MAAM,EAAE,OAAO;GACf,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;GAC7G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;GACnO,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EAC3D,CAAC,CAAC,CAAC,SAAS,+GAA+G;EACzH,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uMAAuM,CAAC,CAAC,SAAS;EACnQ,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE;CACxG,CAAC,CAAC,CAAC,SAAS,6DAeH;CACP,QAfsC,EAAE,OAAO;EAC/C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClJ,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAWhB;AACV,CAAC"}
|