@keystrokehq/parsio_io 0.1.5 → 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 -21
- package/dist/actions/create-html-text-document.d.cts.map +1 -1
- package/dist/actions/create-html-text-document.d.mts +3 -21
- 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 -15
- package/dist/actions/create-mailbox.d.cts.map +1 -1
- package/dist/actions/create-mailbox.d.mts +3 -15
- 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 -19
- package/dist/actions/create-webhook.d.cts.map +1 -1
- package/dist/actions/create-webhook.d.mts +3 -19
- 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 -15
- package/dist/actions/delete-mailbox.d.cts.map +1 -1
- package/dist/actions/delete-mailbox.d.mts +3 -15
- 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 -15
- package/dist/actions/delete-templates.d.cts.map +1 -1
- package/dist/actions/delete-templates.d.mts +3 -15
- 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 -15
- package/dist/actions/delete-webhooks.d.cts.map +1 -1
- package/dist/actions/delete-webhooks.d.mts +3 -15
- 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 -15
- package/dist/actions/disable-templates.d.cts.map +1 -1
- package/dist/actions/disable-templates.d.mts +3 -15
- 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 -15
- package/dist/actions/enable-templates.d.cts.map +1 -1
- package/dist/actions/enable-templates.d.mts +3 -15
- 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 -15
- package/dist/actions/get-document.d.cts.map +1 -1
- package/dist/actions/get-document.d.mts +3 -15
- 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 -15
- package/dist/actions/get-mailbox.d.cts.map +1 -1
- package/dist/actions/get-mailbox.d.mts +3 -15
- 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 -18
- package/dist/actions/get-parsed-data.d.cts.map +1 -1
- package/dist/actions/get-parsed-data.d.mts +3 -18
- 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 -15
- package/dist/actions/get-template.d.cts.map +1 -1
- package/dist/actions/get-template.d.mts +3 -15
- 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 -15
- package/dist/actions/get-webhook.d.cts.map +1 -1
- package/dist/actions/get-webhook.d.mts +3 -15
- 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 -16
- package/dist/actions/list-collected-emails.d.cts.map +1 -1
- package/dist/actions/list-collected-emails.d.mts +3 -16
- 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 -20
- package/dist/actions/list-documents.d.cts.map +1 -1
- package/dist/actions/list-documents.d.mts +3 -20
- 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 -13
- package/dist/actions/list-mailboxes.d.cts.map +1 -1
- package/dist/actions/list-mailboxes.d.mts +3 -13
- 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 -15
- package/dist/actions/list-table-fields.d.cts.map +1 -1
- package/dist/actions/list-table-fields.d.mts +3 -15
- 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 -16
- package/dist/actions/list-templates.d.cts.map +1 -1
- package/dist/actions/list-templates.d.mts +3 -16
- 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 -15
- package/dist/actions/list-webhooks.d.cts.map +1 -1
- package/dist/actions/list-webhooks.d.mts +3 -15
- 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 -15
- package/dist/actions/parse-document.d.cts.map +1 -1
- package/dist/actions/parse-document.d.mts +3 -15
- 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 -16
- package/dist/actions/skip-documents.d.cts.map +1 -1
- package/dist/actions/skip-documents.d.mts +3 -16
- 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 -20
- package/dist/actions/update-mailbox.d.cts.map +1 -1
- package/dist/actions/update-mailbox.d.mts +3 -20
- 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 -19
- package/dist/actions/update-webhook.d.cts.map +1 -1
- package/dist/actions/update-webhook.d.mts +3 -19
- 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 -21
- package/dist/actions/upload-file.d.cts.map +1 -1
- package/dist/actions/upload-file.d.mts +3 -21
- 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 +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- 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-mailboxes.cjs","names":["z","action"],"sources":["../../src/actions/list-mailboxes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParsioIoListMailboxesInput = z.object({}).describe(\"Request model for listing all mailboxes in the account.\");\nconst ParsioIoListMailboxes_MailboxItemSchema = 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(\"Schema for a single mailbox item.\");\nexport const ParsioIoListMailboxesOutput = z.object({\n mailboxes: z.array(ParsioIoListMailboxes_MailboxItemSchema).describe(\"List of mailbox objects in the account.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for listing mailboxes.\");\n\nexport const parsioIoListMailboxes = action(\"PARSIO_IO_LIST_MAILBOXES\", {\n slug: \"parsio_io-list-mailboxes\",\n name: \"List Mailboxes\",\n description: \"Tool to retrieve all mailboxes in the account. Use when you need to list all available mailboxes and their configurations.\",\n input: ParsioIoListMailboxesInput,\n output: ParsioIoListMailboxesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-mailboxes.cjs","names":["z","action"],"sources":["../../src/actions/list-mailboxes.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 ParsioIoListMailboxesInput = z.object({}).describe(\"Request model for listing all mailboxes in the account.\");\nconst ParsioIoListMailboxes_MailboxItemSchema = 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(\"Schema for a single mailbox item.\");\nexport const ParsioIoListMailboxesOutput = z.object({\n mailboxes: z.array(ParsioIoListMailboxes_MailboxItemSchema).describe(\"List of mailbox objects in the account.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for listing mailboxes.\");\n\nexport const parsioIoListMailboxes: AppAction<\n typeof ParsioIoListMailboxesInput,\n typeof ParsioIoListMailboxesOutput,\n typeof parsioIo.credential\n> = action(\"PARSIO_IO_LIST_MAILBOXES\", {\n slug: \"parsio_io-list-mailboxes\",\n name: \"List Mailboxes\",\n description: \"Tool to retrieve all mailboxes in the account. Use when you need to list all available mailboxes and their configurations.\",\n input: ParsioIoListMailboxesInput,\n output: ParsioIoListMailboxesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACzH,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,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,mCAAmC;AAC7D,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,WAAWA,IAAAA,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACtI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,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/list-mailboxes.d.ts
|
|
@@ -12,19 +14,7 @@ declare const ParsioIoListMailboxesOutput: z.ZodObject<{
|
|
|
12
14
|
process_attachments: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
13
15
|
}, z.core.$loose>>>>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const parsioIoListMailboxes:
|
|
16
|
-
connectionId: z.ZodString;
|
|
17
|
-
entityId: z.ZodString;
|
|
18
|
-
instanceId: z.ZodString;
|
|
19
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
20
|
-
generic_api_key: z.ZodString;
|
|
21
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"parsio_io", z.ZodObject<{
|
|
22
|
-
connectionId: z.ZodString;
|
|
23
|
-
entityId: z.ZodString;
|
|
24
|
-
instanceId: z.ZodString;
|
|
25
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
26
|
-
generic_api_key: z.ZodString;
|
|
27
|
-
}, z.core.$strip>>]>;
|
|
17
|
+
declare const parsioIoListMailboxes: AppAction<typeof ParsioIoListMailboxesInput, typeof ParsioIoListMailboxesOutput, typeof parsioIo.credential>;
|
|
28
18
|
//#endregion
|
|
29
19
|
export { parsioIoListMailboxes };
|
|
30
20
|
//# sourceMappingURL=list-mailboxes.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-mailboxes.d.cts","names":[],"sources":["../../src/actions/list-mailboxes.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-mailboxes.d.cts","names":[],"sources":["../../src/actions/list-mailboxes.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAS1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;cAI3B,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/list-mailboxes.d.ts
|
|
@@ -12,19 +14,7 @@ declare const ParsioIoListMailboxesOutput: z.ZodObject<{
|
|
|
12
14
|
process_attachments: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
13
15
|
}, z.core.$loose>>>>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const parsioIoListMailboxes:
|
|
16
|
-
connectionId: z.ZodString;
|
|
17
|
-
entityId: z.ZodString;
|
|
18
|
-
instanceId: z.ZodString;
|
|
19
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
20
|
-
generic_api_key: z.ZodString;
|
|
21
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"parsio_io", z.ZodObject<{
|
|
22
|
-
connectionId: z.ZodString;
|
|
23
|
-
entityId: z.ZodString;
|
|
24
|
-
instanceId: z.ZodString;
|
|
25
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
26
|
-
generic_api_key: z.ZodString;
|
|
27
|
-
}, z.core.$strip>>]>;
|
|
17
|
+
declare const parsioIoListMailboxes: AppAction<typeof ParsioIoListMailboxesInput, typeof ParsioIoListMailboxesOutput, typeof parsioIo.credential>;
|
|
28
18
|
//#endregion
|
|
29
19
|
export { parsioIoListMailboxes };
|
|
30
20
|
//# sourceMappingURL=list-mailboxes.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-mailboxes.d.mts","names":[],"sources":["../../src/actions/list-mailboxes.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-mailboxes.d.mts","names":[],"sources":["../../src/actions/list-mailboxes.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAS1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;cAI3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-mailboxes.mjs","names":[],"sources":["../../src/actions/list-mailboxes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParsioIoListMailboxesInput = z.object({}).describe(\"Request model for listing all mailboxes in the account.\");\nconst ParsioIoListMailboxes_MailboxItemSchema = 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(\"Schema for a single mailbox item.\");\nexport const ParsioIoListMailboxesOutput = z.object({\n mailboxes: z.array(ParsioIoListMailboxes_MailboxItemSchema).describe(\"List of mailbox objects in the account.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for listing mailboxes.\");\n\nexport const parsioIoListMailboxes = action(\"PARSIO_IO_LIST_MAILBOXES\", {\n slug: \"parsio_io-list-mailboxes\",\n name: \"List Mailboxes\",\n description: \"Tool to retrieve all mailboxes in the account. Use when you need to list all available mailboxes and their configurations.\",\n input: ParsioIoListMailboxesInput,\n output: ParsioIoListMailboxesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-mailboxes.mjs","names":[],"sources":["../../src/actions/list-mailboxes.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 ParsioIoListMailboxesInput = z.object({}).describe(\"Request model for listing all mailboxes in the account.\");\nconst ParsioIoListMailboxes_MailboxItemSchema = 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(\"Schema for a single mailbox item.\");\nexport const ParsioIoListMailboxesOutput = z.object({\n mailboxes: z.array(ParsioIoListMailboxes_MailboxItemSchema).describe(\"List of mailbox objects in the account.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for listing mailboxes.\");\n\nexport const parsioIoListMailboxes: AppAction<\n typeof ParsioIoListMailboxesInput,\n typeof ParsioIoListMailboxesOutput,\n typeof parsioIo.credential\n> = action(\"PARSIO_IO_LIST_MAILBOXES\", {\n slug: \"parsio_io-list-mailboxes\",\n name: \"List Mailboxes\",\n description: \"Tool to retrieve all mailboxes in the account. Use when you need to list all available mailboxes and their configurations.\",\n input: ParsioIoListMailboxesInput,\n output: ParsioIoListMailboxesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACzH,MAAM,0CAA0C,EAAE,OAAO;CACvD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,qBAAqB,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAK7D,MAAa,wBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbyC,EAAE,OAAO,EAClD,WAAW,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACtI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-table-fields.cjs","names":["z","action"],"sources":["../../src/actions/list-table-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParsioIoListTableFieldsInput = z.object({\n mailbox_id: z.string().describe(\"The unique identifier of the mailbox whose table fields you want to retrieve.\"),\n}).describe(\"Request model for listing table fields in a mailbox.\");\nconst ParsioIoListTableFields_TableFieldItemSchema = z.object({\n _id: z.string().describe(\"Unique identifier for the table field.\").nullable().optional(),\n name: z.string().describe(\"Name of the table field.\").nullable().optional(),\n type: z.string().describe(\"Data type of the field (e.g., 'string', 'number', 'date').\").nullable().optional(),\n mailbox_id: z.string().describe(\"Identifier of the mailbox this field belongs to.\").nullable().optional(),\n}).passthrough().describe(\"Schema for a single table field item.\");\nexport const ParsioIoListTableFieldsOutput = z.object({\n table_fields: z.array(ParsioIoListTableFields_TableFieldItemSchema).describe(\"List of table field objects configured for the mailbox.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for listing table fields.\");\n\nexport const parsioIoListTableFields = action(\"PARSIO_IO_LIST_TABLE_FIELDS\", {\n slug: \"parsio_io-list-table-fields\",\n name: \"List Table Fields\",\n description: \"Tool to list all table fields in a specific mailbox. Use when you need to view the structure of data fields available for a mailbox.\",\n input: ParsioIoListTableFieldsInput,\n output: ParsioIoListTableFieldsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-table-fields.cjs","names":["z","action"],"sources":["../../src/actions/list-table-fields.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 ParsioIoListTableFieldsInput = z.object({\n mailbox_id: z.string().describe(\"The unique identifier of the mailbox whose table fields you want to retrieve.\"),\n}).describe(\"Request model for listing table fields in a mailbox.\");\nconst ParsioIoListTableFields_TableFieldItemSchema = z.object({\n _id: z.string().describe(\"Unique identifier for the table field.\").nullable().optional(),\n name: z.string().describe(\"Name of the table field.\").nullable().optional(),\n type: z.string().describe(\"Data type of the field (e.g., 'string', 'number', 'date').\").nullable().optional(),\n mailbox_id: z.string().describe(\"Identifier of the mailbox this field belongs to.\").nullable().optional(),\n}).passthrough().describe(\"Schema for a single table field item.\");\nexport const ParsioIoListTableFieldsOutput = z.object({\n table_fields: z.array(ParsioIoListTableFields_TableFieldItemSchema).describe(\"List of table field objects configured for the mailbox.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for listing table fields.\");\n\nexport const parsioIoListTableFields: AppAction<\n typeof ParsioIoListTableFieldsInput,\n typeof ParsioIoListTableFieldsOutput,\n typeof parsioIo.credential\n> = action(\"PARSIO_IO_LIST_TABLE_FIELDS\", {\n slug: \"parsio_io-list-table-fields\",\n name: \"List Table Fields\",\n description: \"Tool to list all table fields in a specific mailbox. Use when you need to view the structure of data fields available for a mailbox.\",\n input: ParsioIoListTableFieldsInput,\n output: ParsioIoListTableFieldsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,EACjH,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AACjE,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,cAAcA,IAAAA,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC9J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,0BAITC,eAAAA,OAAO,+BAA+B;CACxC,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-table-fields.d.ts
|
|
@@ -12,21 +14,7 @@ declare const ParsioIoListTableFieldsOutput: z.ZodObject<{
|
|
|
12
14
|
mailbox_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
15
|
}, z.core.$loose>>>>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const parsioIoListTableFields:
|
|
16
|
-
mailbox_id: string;
|
|
17
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"parsio_io", z.ZodObject<{
|
|
18
|
-
connectionId: z.ZodString;
|
|
19
|
-
entityId: z.ZodString;
|
|
20
|
-
instanceId: z.ZodString;
|
|
21
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
22
|
-
generic_api_key: z.ZodString;
|
|
23
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"parsio_io", z.ZodObject<{
|
|
24
|
-
connectionId: z.ZodString;
|
|
25
|
-
entityId: z.ZodString;
|
|
26
|
-
instanceId: z.ZodString;
|
|
27
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
28
|
-
generic_api_key: z.ZodString;
|
|
29
|
-
}, z.core.$strip>>]>;
|
|
17
|
+
declare const parsioIoListTableFields: AppAction<typeof ParsioIoListTableFieldsInput, typeof ParsioIoListTableFieldsOutput, typeof parsioIo.credential>;
|
|
30
18
|
//#endregion
|
|
31
19
|
export { parsioIoListTableFields };
|
|
32
20
|
//# sourceMappingURL=list-table-fields.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-table-fields.d.cts","names":[],"sources":["../../src/actions/list-table-fields.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-table-fields.d.cts","names":[],"sources":["../../src/actions/list-table-fields.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAS5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;cAI7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,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-table-fields.d.ts
|
|
@@ -12,21 +14,7 @@ declare const ParsioIoListTableFieldsOutput: z.ZodObject<{
|
|
|
12
14
|
mailbox_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
15
|
}, z.core.$loose>>>>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const parsioIoListTableFields:
|
|
16
|
-
mailbox_id: string;
|
|
17
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"parsio_io", z.ZodObject<{
|
|
18
|
-
connectionId: z.ZodString;
|
|
19
|
-
entityId: z.ZodString;
|
|
20
|
-
instanceId: z.ZodString;
|
|
21
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
22
|
-
generic_api_key: z.ZodString;
|
|
23
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"parsio_io", z.ZodObject<{
|
|
24
|
-
connectionId: z.ZodString;
|
|
25
|
-
entityId: z.ZodString;
|
|
26
|
-
instanceId: z.ZodString;
|
|
27
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
28
|
-
generic_api_key: z.ZodString;
|
|
29
|
-
}, z.core.$strip>>]>;
|
|
17
|
+
declare const parsioIoListTableFields: AppAction<typeof ParsioIoListTableFieldsInput, typeof ParsioIoListTableFieldsOutput, typeof parsioIo.credential>;
|
|
30
18
|
//#endregion
|
|
31
19
|
export { parsioIoListTableFields };
|
|
32
20
|
//# sourceMappingURL=list-table-fields.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-table-fields.d.mts","names":[],"sources":["../../src/actions/list-table-fields.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-table-fields.d.mts","names":[],"sources":["../../src/actions/list-table-fields.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAS5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;cAI7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-table-fields.mjs","names":[],"sources":["../../src/actions/list-table-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParsioIoListTableFieldsInput = z.object({\n mailbox_id: z.string().describe(\"The unique identifier of the mailbox whose table fields you want to retrieve.\"),\n}).describe(\"Request model for listing table fields in a mailbox.\");\nconst ParsioIoListTableFields_TableFieldItemSchema = z.object({\n _id: z.string().describe(\"Unique identifier for the table field.\").nullable().optional(),\n name: z.string().describe(\"Name of the table field.\").nullable().optional(),\n type: z.string().describe(\"Data type of the field (e.g., 'string', 'number', 'date').\").nullable().optional(),\n mailbox_id: z.string().describe(\"Identifier of the mailbox this field belongs to.\").nullable().optional(),\n}).passthrough().describe(\"Schema for a single table field item.\");\nexport const ParsioIoListTableFieldsOutput = z.object({\n table_fields: z.array(ParsioIoListTableFields_TableFieldItemSchema).describe(\"List of table field objects configured for the mailbox.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for listing table fields.\");\n\nexport const parsioIoListTableFields = action(\"PARSIO_IO_LIST_TABLE_FIELDS\", {\n slug: \"parsio_io-list-table-fields\",\n name: \"List Table Fields\",\n description: \"Tool to list all table fields in a specific mailbox. Use when you need to view the structure of data fields available for a mailbox.\",\n input: ParsioIoListTableFieldsInput,\n output: ParsioIoListTableFieldsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-table-fields.mjs","names":[],"sources":["../../src/actions/list-table-fields.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 ParsioIoListTableFieldsInput = z.object({\n mailbox_id: z.string().describe(\"The unique identifier of the mailbox whose table fields you want to retrieve.\"),\n}).describe(\"Request model for listing table fields in a mailbox.\");\nconst ParsioIoListTableFields_TableFieldItemSchema = z.object({\n _id: z.string().describe(\"Unique identifier for the table field.\").nullable().optional(),\n name: z.string().describe(\"Name of the table field.\").nullable().optional(),\n type: z.string().describe(\"Data type of the field (e.g., 'string', 'number', 'date').\").nullable().optional(),\n mailbox_id: z.string().describe(\"Identifier of the mailbox this field belongs to.\").nullable().optional(),\n}).passthrough().describe(\"Schema for a single table field item.\");\nexport const ParsioIoListTableFieldsOutput = z.object({\n table_fields: z.array(ParsioIoListTableFields_TableFieldItemSchema).describe(\"List of table field objects configured for the mailbox.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for listing table fields.\");\n\nexport const parsioIoListTableFields: AppAction<\n typeof ParsioIoListTableFieldsInput,\n typeof ParsioIoListTableFieldsOutput,\n typeof parsioIo.credential\n> = action(\"PARSIO_IO_LIST_TABLE_FIELDS\", {\n slug: \"parsio_io-list-table-fields\",\n name: \"List Table Fields\",\n description: \"Tool to list all table fields in a specific mailbox. Use when you need to view the structure of data fields available for a mailbox.\",\n input: ParsioIoListTableFieldsInput,\n output: ParsioIoListTableFieldsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+B,EAAE,OAAO,EACnD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,EACjH,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,+CAA+C,EAAE,OAAO;CAC5D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAKjE,MAAa,0BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb2C,EAAE,OAAO,EACpD,cAAc,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC9J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-templates.cjs","names":["z","action"],"sources":["../../src/actions/list-templates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParsioIoListTemplatesInput = z.object({\n page: z.number().int().describe(\"Page number for pagination. Use this to navigate through multiple pages of templates.\").optional(),\n mailbox_id: z.string().describe(\"The unique identifier of the mailbox to list templates from\"),\n}).describe(\"Request model for listing all parsing templates in a mailbox.\");\nconst ParsioIoListTemplates_TemplateSchema = z.object({\n _id: z.string().describe(\"Unique identifier of the template\").nullable().optional(),\n name: z.string().describe(\"Name of the parsing template\").nullable().optional(),\n enabled: z.boolean().describe(\"Whether the template is currently enabled or disabled\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the template was created\").nullable().optional(),\n mailbox_id: z.string().describe(\"The mailbox identifier this template belongs to\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the template was last updated\").nullable().optional(),\n}).passthrough().describe(\"Schema for a single template object.\");\nexport const ParsioIoListTemplatesOutput = z.object({\n docs: z.array(ParsioIoListTemplates_TemplateSchema).describe(\"Array of template objects containing parsing configurations\").nullable().optional(),\n page: z.number().int().describe(\"Current page number\").nullable().optional(),\n limit: z.number().int().describe(\"Maximum number of templates per page\").nullable().optional(),\n nextPage: z.number().int().describe(\"Next page number\").nullable().optional(),\n prevPage: z.number().int().describe(\"Previous page number\").nullable().optional(),\n totalDocs: z.number().int().describe(\"Total number of templates available\").nullable().optional(),\n totalPages: z.number().int().describe(\"Total number of pages\").nullable().optional(),\n hasNextPage: z.boolean().describe(\"Whether there is a next page\").nullable().optional(),\n hasPrevPage: z.boolean().describe(\"Whether there is a previous page\").nullable().optional(),\n pagingCounter: z.number().int().describe(\"Paging counter\").nullable().optional(),\n}).passthrough().describe(\"Response schema for listing parsing templates.\");\n\nexport const parsioIoListTemplates = action(\"PARSIO_IO_LIST_TEMPLATES\", {\n slug: \"parsio_io-list-templates\",\n name: \"List Templates in Mailbox\",\n description: \"Tool to list all parsing templates associated with a specific mailbox. Use when you need to retrieve all template configurations for a mailbox, including their enabled status and metadata. Supports pagination for mailboxes with many templates.\",\n input: ParsioIoListTemplatesInput,\n output: ParsioIoListTemplatesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-templates.cjs","names":["z","action"],"sources":["../../src/actions/list-templates.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 ParsioIoListTemplatesInput = z.object({\n page: z.number().int().describe(\"Page number for pagination. Use this to navigate through multiple pages of templates.\").optional(),\n mailbox_id: z.string().describe(\"The unique identifier of the mailbox to list templates from\"),\n}).describe(\"Request model for listing all parsing templates in a mailbox.\");\nconst ParsioIoListTemplates_TemplateSchema = z.object({\n _id: z.string().describe(\"Unique identifier of the template\").nullable().optional(),\n name: z.string().describe(\"Name of the parsing template\").nullable().optional(),\n enabled: z.boolean().describe(\"Whether the template is currently enabled or disabled\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the template was created\").nullable().optional(),\n mailbox_id: z.string().describe(\"The mailbox identifier this template belongs to\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the template was last updated\").nullable().optional(),\n}).passthrough().describe(\"Schema for a single template object.\");\nexport const ParsioIoListTemplatesOutput = z.object({\n docs: z.array(ParsioIoListTemplates_TemplateSchema).describe(\"Array of template objects containing parsing configurations\").nullable().optional(),\n page: z.number().int().describe(\"Current page number\").nullable().optional(),\n limit: z.number().int().describe(\"Maximum number of templates per page\").nullable().optional(),\n nextPage: z.number().int().describe(\"Next page number\").nullable().optional(),\n prevPage: z.number().int().describe(\"Previous page number\").nullable().optional(),\n totalDocs: z.number().int().describe(\"Total number of templates available\").nullable().optional(),\n totalPages: z.number().int().describe(\"Total number of pages\").nullable().optional(),\n hasNextPage: z.boolean().describe(\"Whether there is a next page\").nullable().optional(),\n hasPrevPage: z.boolean().describe(\"Whether there is a previous page\").nullable().optional(),\n pagingCounter: z.number().int().describe(\"Paging counter\").nullable().optional(),\n}).passthrough().describe(\"Response schema for listing parsing templates.\");\n\nexport const parsioIoListTemplates: AppAction<\n typeof ParsioIoListTemplatesInput,\n typeof ParsioIoListTemplatesOutput,\n typeof parsioIo.credential\n> = action(\"PARSIO_IO_LIST_TEMPLATES\", {\n slug: \"parsio_io-list-templates\",\n name: \"List Templates in Mailbox\",\n description: \"Tool to list all parsing templates associated with a specific mailbox. Use when you need to retrieve all template configurations for a mailbox, including their enabled status and metadata. Supports pagination for mailboxes with many templates.\",\n input: ParsioIoListTemplatesInput,\n output: ParsioIoListTemplatesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CAClI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;AAC/F,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAChE,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChJ,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,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,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/list-templates.d.ts
|
|
@@ -24,22 +26,7 @@ declare const ParsioIoListTemplatesOutput: z.ZodObject<{
|
|
|
24
26
|
hasPrevPage: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
25
27
|
pagingCounter: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
26
28
|
}, z.core.$loose>;
|
|
27
|
-
declare const parsioIoListTemplates:
|
|
28
|
-
mailbox_id: string;
|
|
29
|
-
page?: number | undefined;
|
|
30
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"parsio_io", z.ZodObject<{
|
|
31
|
-
connectionId: z.ZodString;
|
|
32
|
-
entityId: z.ZodString;
|
|
33
|
-
instanceId: z.ZodString;
|
|
34
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
35
|
-
generic_api_key: z.ZodString;
|
|
36
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"parsio_io", z.ZodObject<{
|
|
37
|
-
connectionId: z.ZodString;
|
|
38
|
-
entityId: z.ZodString;
|
|
39
|
-
instanceId: z.ZodString;
|
|
40
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
41
|
-
generic_api_key: z.ZodString;
|
|
42
|
-
}, z.core.$strip>>]>;
|
|
29
|
+
declare const parsioIoListTemplates: AppAction<typeof ParsioIoListTemplatesInput, typeof ParsioIoListTemplatesOutput, typeof parsioIo.credential>;
|
|
43
30
|
//#endregion
|
|
44
31
|
export { parsioIoListTemplates };
|
|
45
32
|
//# sourceMappingURL=list-templates.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-templates.d.cts","names":[],"sources":["../../src/actions/list-templates.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-templates.d.cts","names":[],"sources":["../../src/actions/list-templates.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAY1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAa3B,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/list-templates.d.ts
|
|
@@ -24,22 +26,7 @@ declare const ParsioIoListTemplatesOutput: z.ZodObject<{
|
|
|
24
26
|
hasPrevPage: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
25
27
|
pagingCounter: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
26
28
|
}, z.core.$loose>;
|
|
27
|
-
declare const parsioIoListTemplates:
|
|
28
|
-
mailbox_id: string;
|
|
29
|
-
page?: number | undefined;
|
|
30
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"parsio_io", z.ZodObject<{
|
|
31
|
-
connectionId: z.ZodString;
|
|
32
|
-
entityId: z.ZodString;
|
|
33
|
-
instanceId: z.ZodString;
|
|
34
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
35
|
-
generic_api_key: z.ZodString;
|
|
36
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"parsio_io", z.ZodObject<{
|
|
37
|
-
connectionId: z.ZodString;
|
|
38
|
-
entityId: z.ZodString;
|
|
39
|
-
instanceId: z.ZodString;
|
|
40
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
41
|
-
generic_api_key: z.ZodString;
|
|
42
|
-
}, z.core.$strip>>]>;
|
|
29
|
+
declare const parsioIoListTemplates: AppAction<typeof ParsioIoListTemplatesInput, typeof ParsioIoListTemplatesOutput, typeof parsioIo.credential>;
|
|
43
30
|
//#endregion
|
|
44
31
|
export { parsioIoListTemplates };
|
|
45
32
|
//# sourceMappingURL=list-templates.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-templates.d.mts","names":[],"sources":["../../src/actions/list-templates.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-templates.d.mts","names":[],"sources":["../../src/actions/list-templates.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAY1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAa3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-templates.mjs","names":[],"sources":["../../src/actions/list-templates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParsioIoListTemplatesInput = z.object({\n page: z.number().int().describe(\"Page number for pagination. Use this to navigate through multiple pages of templates.\").optional(),\n mailbox_id: z.string().describe(\"The unique identifier of the mailbox to list templates from\"),\n}).describe(\"Request model for listing all parsing templates in a mailbox.\");\nconst ParsioIoListTemplates_TemplateSchema = z.object({\n _id: z.string().describe(\"Unique identifier of the template\").nullable().optional(),\n name: z.string().describe(\"Name of the parsing template\").nullable().optional(),\n enabled: z.boolean().describe(\"Whether the template is currently enabled or disabled\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the template was created\").nullable().optional(),\n mailbox_id: z.string().describe(\"The mailbox identifier this template belongs to\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the template was last updated\").nullable().optional(),\n}).passthrough().describe(\"Schema for a single template object.\");\nexport const ParsioIoListTemplatesOutput = z.object({\n docs: z.array(ParsioIoListTemplates_TemplateSchema).describe(\"Array of template objects containing parsing configurations\").nullable().optional(),\n page: z.number().int().describe(\"Current page number\").nullable().optional(),\n limit: z.number().int().describe(\"Maximum number of templates per page\").nullable().optional(),\n nextPage: z.number().int().describe(\"Next page number\").nullable().optional(),\n prevPage: z.number().int().describe(\"Previous page number\").nullable().optional(),\n totalDocs: z.number().int().describe(\"Total number of templates available\").nullable().optional(),\n totalPages: z.number().int().describe(\"Total number of pages\").nullable().optional(),\n hasNextPage: z.boolean().describe(\"Whether there is a next page\").nullable().optional(),\n hasPrevPage: z.boolean().describe(\"Whether there is a previous page\").nullable().optional(),\n pagingCounter: z.number().int().describe(\"Paging counter\").nullable().optional(),\n}).passthrough().describe(\"Response schema for listing parsing templates.\");\n\nexport const parsioIoListTemplates = action(\"PARSIO_IO_LIST_TEMPLATES\", {\n slug: \"parsio_io-list-templates\",\n name: \"List Templates in Mailbox\",\n description: \"Tool to list all parsing templates associated with a specific mailbox. Use when you need to retrieve all template configurations for a mailbox, including their enabled status and metadata. Supports pagination for mailboxes with many templates.\",\n input: ParsioIoListTemplatesInput,\n output: ParsioIoListTemplatesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-templates.mjs","names":[],"sources":["../../src/actions/list-templates.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 ParsioIoListTemplatesInput = z.object({\n page: z.number().int().describe(\"Page number for pagination. Use this to navigate through multiple pages of templates.\").optional(),\n mailbox_id: z.string().describe(\"The unique identifier of the mailbox to list templates from\"),\n}).describe(\"Request model for listing all parsing templates in a mailbox.\");\nconst ParsioIoListTemplates_TemplateSchema = z.object({\n _id: z.string().describe(\"Unique identifier of the template\").nullable().optional(),\n name: z.string().describe(\"Name of the parsing template\").nullable().optional(),\n enabled: z.boolean().describe(\"Whether the template is currently enabled or disabled\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the template was created\").nullable().optional(),\n mailbox_id: z.string().describe(\"The mailbox identifier this template belongs to\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the template was last updated\").nullable().optional(),\n}).passthrough().describe(\"Schema for a single template object.\");\nexport const ParsioIoListTemplatesOutput = z.object({\n docs: z.array(ParsioIoListTemplates_TemplateSchema).describe(\"Array of template objects containing parsing configurations\").nullable().optional(),\n page: z.number().int().describe(\"Current page number\").nullable().optional(),\n limit: z.number().int().describe(\"Maximum number of templates per page\").nullable().optional(),\n nextPage: z.number().int().describe(\"Next page number\").nullable().optional(),\n prevPage: z.number().int().describe(\"Previous page number\").nullable().optional(),\n totalDocs: z.number().int().describe(\"Total number of templates available\").nullable().optional(),\n totalPages: z.number().int().describe(\"Total number of pages\").nullable().optional(),\n hasNextPage: z.boolean().describe(\"Whether there is a next page\").nullable().optional(),\n hasPrevPage: z.boolean().describe(\"Whether there is a previous page\").nullable().optional(),\n pagingCounter: z.number().int().describe(\"Paging counter\").nullable().optional(),\n}).passthrough().describe(\"Response schema for listing parsing templates.\");\n\nexport const parsioIoListTemplates: AppAction<\n typeof ParsioIoListTemplatesInput,\n typeof ParsioIoListTemplatesOutput,\n typeof parsioIo.credential\n> = action(\"PARSIO_IO_LIST_TEMPLATES\", {\n slug: \"parsio_io-list-templates\",\n name: \"List Templates in Mailbox\",\n description: \"Tool to list all parsing templates associated with a specific mailbox. Use when you need to retrieve all template configurations for a mailbox, including their enabled status and metadata. Supports pagination for mailboxes with many templates.\",\n input: ParsioIoListTemplatesInput,\n output: ParsioIoListTemplatesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6B,EAAE,OAAO;CACjD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CAClI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;AAC/F,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,uCAAuC,EAAE,OAAO;CACpD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAchE,MAAa,wBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAtByC,EAAE,OAAO;EAClD,MAAM,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChJ,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,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5E,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAWhB;AACV,CAAC"}
|
|
@@ -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,21 +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<"parsio_io", z.ZodObject<{
|
|
19
|
-
connectionId: z.ZodString;
|
|
20
|
-
entityId: z.ZodString;
|
|
21
|
-
instanceId: z.ZodString;
|
|
22
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
23
|
-
generic_api_key: z.ZodString;
|
|
24
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"parsio_io", z.ZodObject<{
|
|
25
|
-
connectionId: z.ZodString;
|
|
26
|
-
entityId: z.ZodString;
|
|
27
|
-
instanceId: z.ZodString;
|
|
28
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
-
generic_api_key: z.ZodString;
|
|
30
|
-
}, z.core.$strip>>]>;
|
|
18
|
+
declare const parsioIoListWebhooks: AppAction<typeof ParsioIoListWebhooksInput, typeof ParsioIoListWebhooksOutput, typeof parsioIo.credential>;
|
|
31
19
|
//#endregion
|
|
32
20
|
export { parsioIoListWebhooks };
|
|
33
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,21 +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<"parsio_io", z.ZodObject<{
|
|
19
|
-
connectionId: z.ZodString;
|
|
20
|
-
entityId: z.ZodString;
|
|
21
|
-
instanceId: z.ZodString;
|
|
22
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
23
|
-
generic_api_key: z.ZodString;
|
|
24
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"parsio_io", z.ZodObject<{
|
|
25
|
-
connectionId: z.ZodString;
|
|
26
|
-
entityId: z.ZodString;
|
|
27
|
-
instanceId: z.ZodString;
|
|
28
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
-
generic_api_key: z.ZodString;
|
|
30
|
-
}, z.core.$strip>>]>;
|
|
18
|
+
declare const parsioIoListWebhooks: AppAction<typeof ParsioIoListWebhooksInput, typeof ParsioIoListWebhooksOutput, typeof parsioIo.credential>;
|
|
31
19
|
//#endregion
|
|
32
20
|
export { parsioIoListWebhooks };
|
|
33
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,21 +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<"parsio_io", z.ZodObject<{
|
|
16
|
-
connectionId: z.ZodString;
|
|
17
|
-
entityId: z.ZodString;
|
|
18
|
-
instanceId: z.ZodString;
|
|
19
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
20
|
-
generic_api_key: z.ZodString;
|
|
21
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"parsio_io", z.ZodObject<{
|
|
22
|
-
connectionId: z.ZodString;
|
|
23
|
-
entityId: z.ZodString;
|
|
24
|
-
instanceId: z.ZodString;
|
|
25
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
26
|
-
generic_api_key: z.ZodString;
|
|
27
|
-
}, z.core.$strip>>]>;
|
|
15
|
+
declare const parsioIoParseDocument: AppAction<typeof ParsioIoParseDocumentInput, typeof ParsioIoParseDocumentOutput, typeof parsioIo.credential>;
|
|
28
16
|
//#endregion
|
|
29
17
|
export { parsioIoParseDocument };
|
|
30
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,21 +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<"parsio_io", z.ZodObject<{
|
|
16
|
-
connectionId: z.ZodString;
|
|
17
|
-
entityId: z.ZodString;
|
|
18
|
-
instanceId: z.ZodString;
|
|
19
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
20
|
-
generic_api_key: z.ZodString;
|
|
21
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"parsio_io", z.ZodObject<{
|
|
22
|
-
connectionId: z.ZodString;
|
|
23
|
-
entityId: z.ZodString;
|
|
24
|
-
instanceId: z.ZodString;
|
|
25
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
26
|
-
generic_api_key: z.ZodString;
|
|
27
|
-
}, z.core.$strip>>]>;
|
|
15
|
+
declare const parsioIoParseDocument: AppAction<typeof ParsioIoParseDocumentInput, typeof ParsioIoParseDocumentOutput, typeof parsioIo.credential>;
|
|
28
16
|
//#endregion
|
|
29
17
|
export { parsioIoParseDocument };
|
|
30
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"}
|