@keystrokehq/parsio_io 0.1.2 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (151) hide show
  1. package/dist/actions/create-html-text-document.cjs +2 -2
  2. package/dist/actions/create-html-text-document.cjs.map +1 -1
  3. package/dist/actions/create-html-text-document.d.cts +3 -3
  4. package/dist/actions/create-html-text-document.d.mts +3 -3
  5. package/dist/actions/create-html-text-document.mjs +2 -2
  6. package/dist/actions/create-html-text-document.mjs.map +1 -1
  7. package/dist/actions/create-mailbox.cjs +1 -1
  8. package/dist/actions/create-mailbox.cjs.map +1 -1
  9. package/dist/actions/create-mailbox.d.cts +1 -1
  10. package/dist/actions/create-mailbox.d.mts +1 -1
  11. package/dist/actions/create-mailbox.mjs +1 -1
  12. package/dist/actions/create-mailbox.mjs.map +1 -1
  13. package/dist/actions/create-webhook.cjs +1 -1
  14. package/dist/actions/create-webhook.cjs.map +1 -1
  15. package/dist/actions/create-webhook.d.cts +1 -1
  16. package/dist/actions/create-webhook.d.mts +1 -1
  17. package/dist/actions/create-webhook.mjs +1 -1
  18. package/dist/actions/create-webhook.mjs.map +1 -1
  19. package/dist/actions/delete-mailbox.cjs +1 -1
  20. package/dist/actions/delete-mailbox.cjs.map +1 -1
  21. package/dist/actions/delete-mailbox.d.cts +1 -1
  22. package/dist/actions/delete-mailbox.d.mts +1 -1
  23. package/dist/actions/delete-mailbox.mjs +1 -1
  24. package/dist/actions/delete-mailbox.mjs.map +1 -1
  25. package/dist/actions/delete-templates.cjs +1 -1
  26. package/dist/actions/delete-templates.cjs.map +1 -1
  27. package/dist/actions/delete-templates.d.cts +1 -1
  28. package/dist/actions/delete-templates.d.mts +1 -1
  29. package/dist/actions/delete-templates.mjs +1 -1
  30. package/dist/actions/delete-templates.mjs.map +1 -1
  31. package/dist/actions/delete-webhooks.cjs +1 -1
  32. package/dist/actions/delete-webhooks.cjs.map +1 -1
  33. package/dist/actions/delete-webhooks.d.cts +1 -1
  34. package/dist/actions/delete-webhooks.d.mts +1 -1
  35. package/dist/actions/delete-webhooks.mjs +1 -1
  36. package/dist/actions/delete-webhooks.mjs.map +1 -1
  37. package/dist/actions/disable-templates.cjs +1 -1
  38. package/dist/actions/disable-templates.cjs.map +1 -1
  39. package/dist/actions/disable-templates.d.cts +1 -1
  40. package/dist/actions/disable-templates.d.mts +1 -1
  41. package/dist/actions/disable-templates.mjs +1 -1
  42. package/dist/actions/disable-templates.mjs.map +1 -1
  43. package/dist/actions/enable-templates.cjs +1 -1
  44. package/dist/actions/enable-templates.cjs.map +1 -1
  45. package/dist/actions/enable-templates.d.cts +1 -1
  46. package/dist/actions/enable-templates.d.mts +1 -1
  47. package/dist/actions/enable-templates.mjs +1 -1
  48. package/dist/actions/enable-templates.mjs.map +1 -1
  49. package/dist/actions/get-document.cjs +1 -1
  50. package/dist/actions/get-document.cjs.map +1 -1
  51. package/dist/actions/get-document.d.cts +1 -1
  52. package/dist/actions/get-document.d.mts +1 -1
  53. package/dist/actions/get-document.mjs +1 -1
  54. package/dist/actions/get-document.mjs.map +1 -1
  55. package/dist/actions/get-mailbox.cjs +1 -1
  56. package/dist/actions/get-mailbox.cjs.map +1 -1
  57. package/dist/actions/get-mailbox.d.cts +1 -1
  58. package/dist/actions/get-mailbox.d.mts +1 -1
  59. package/dist/actions/get-mailbox.mjs +1 -1
  60. package/dist/actions/get-mailbox.mjs.map +1 -1
  61. package/dist/actions/get-parsed-data.cjs +2 -2
  62. package/dist/actions/get-parsed-data.cjs.map +1 -1
  63. package/dist/actions/get-parsed-data.d.cts +2 -2
  64. package/dist/actions/get-parsed-data.d.mts +2 -2
  65. package/dist/actions/get-parsed-data.mjs +2 -2
  66. package/dist/actions/get-parsed-data.mjs.map +1 -1
  67. package/dist/actions/get-template.cjs +2 -2
  68. package/dist/actions/get-template.cjs.map +1 -1
  69. package/dist/actions/get-template.d.cts +2 -2
  70. package/dist/actions/get-template.d.mts +2 -2
  71. package/dist/actions/get-template.mjs +2 -2
  72. package/dist/actions/get-template.mjs.map +1 -1
  73. package/dist/actions/get-webhook.cjs +1 -1
  74. package/dist/actions/get-webhook.cjs.map +1 -1
  75. package/dist/actions/get-webhook.d.cts +1 -1
  76. package/dist/actions/get-webhook.d.mts +1 -1
  77. package/dist/actions/get-webhook.mjs +1 -1
  78. package/dist/actions/get-webhook.mjs.map +1 -1
  79. package/dist/actions/list-collected-emails.cjs +2 -2
  80. package/dist/actions/list-collected-emails.cjs.map +1 -1
  81. package/dist/actions/list-collected-emails.d.cts +2 -2
  82. package/dist/actions/list-collected-emails.d.mts +2 -2
  83. package/dist/actions/list-collected-emails.mjs +2 -2
  84. package/dist/actions/list-collected-emails.mjs.map +1 -1
  85. package/dist/actions/list-documents.cjs +2 -2
  86. package/dist/actions/list-documents.cjs.map +1 -1
  87. package/dist/actions/list-documents.d.cts +2 -2
  88. package/dist/actions/list-documents.d.mts +2 -2
  89. package/dist/actions/list-documents.mjs +2 -2
  90. package/dist/actions/list-documents.mjs.map +1 -1
  91. package/dist/actions/list-mailboxes.cjs +2 -2
  92. package/dist/actions/list-mailboxes.cjs.map +1 -1
  93. package/dist/actions/list-mailboxes.d.cts +2 -2
  94. package/dist/actions/list-mailboxes.d.mts +2 -2
  95. package/dist/actions/list-mailboxes.mjs +2 -2
  96. package/dist/actions/list-mailboxes.mjs.map +1 -1
  97. package/dist/actions/list-table-fields.cjs +2 -2
  98. package/dist/actions/list-table-fields.cjs.map +1 -1
  99. package/dist/actions/list-table-fields.d.cts +2 -2
  100. package/dist/actions/list-table-fields.d.mts +2 -2
  101. package/dist/actions/list-table-fields.mjs +2 -2
  102. package/dist/actions/list-table-fields.mjs.map +1 -1
  103. package/dist/actions/list-templates.cjs +2 -2
  104. package/dist/actions/list-templates.cjs.map +1 -1
  105. package/dist/actions/list-templates.d.cts +2 -2
  106. package/dist/actions/list-templates.d.mts +2 -2
  107. package/dist/actions/list-templates.mjs +2 -2
  108. package/dist/actions/list-templates.mjs.map +1 -1
  109. package/dist/actions/list-webhooks.cjs +2 -2
  110. package/dist/actions/list-webhooks.cjs.map +1 -1
  111. package/dist/actions/list-webhooks.d.cts +2 -2
  112. package/dist/actions/list-webhooks.d.mts +2 -2
  113. package/dist/actions/list-webhooks.mjs +2 -2
  114. package/dist/actions/list-webhooks.mjs.map +1 -1
  115. package/dist/actions/parse-document.cjs +1 -1
  116. package/dist/actions/parse-document.cjs.map +1 -1
  117. package/dist/actions/parse-document.d.cts +1 -1
  118. package/dist/actions/parse-document.d.mts +1 -1
  119. package/dist/actions/parse-document.mjs +1 -1
  120. package/dist/actions/parse-document.mjs.map +1 -1
  121. package/dist/actions/skip-documents.cjs +1 -1
  122. package/dist/actions/skip-documents.cjs.map +1 -1
  123. package/dist/actions/skip-documents.d.cts +1 -1
  124. package/dist/actions/skip-documents.d.mts +1 -1
  125. package/dist/actions/skip-documents.mjs +1 -1
  126. package/dist/actions/skip-documents.mjs.map +1 -1
  127. package/dist/actions/update-mailbox.cjs +1 -1
  128. package/dist/actions/update-mailbox.cjs.map +1 -1
  129. package/dist/actions/update-mailbox.d.cts +1 -1
  130. package/dist/actions/update-mailbox.d.mts +1 -1
  131. package/dist/actions/update-mailbox.mjs +1 -1
  132. package/dist/actions/update-mailbox.mjs.map +1 -1
  133. package/dist/actions/update-webhook.cjs +1 -1
  134. package/dist/actions/update-webhook.cjs.map +1 -1
  135. package/dist/actions/update-webhook.d.cts +1 -1
  136. package/dist/actions/update-webhook.d.mts +1 -1
  137. package/dist/actions/update-webhook.mjs +1 -1
  138. package/dist/actions/update-webhook.mjs.map +1 -1
  139. package/dist/actions/upload-file.cjs +2 -2
  140. package/dist/actions/upload-file.cjs.map +1 -1
  141. package/dist/actions/upload-file.d.cts +3 -3
  142. package/dist/actions/upload-file.d.mts +3 -3
  143. package/dist/actions/upload-file.mjs +2 -2
  144. package/dist/actions/upload-file.mjs.map +1 -1
  145. package/dist/catalog.cjs +1 -1
  146. package/dist/catalog.cjs.map +1 -1
  147. package/dist/catalog.d.cts +1 -1
  148. package/dist/catalog.d.mts +1 -1
  149. package/dist/catalog.mjs +1 -1
  150. package/dist/catalog.mjs.map +1 -1
  151. package/package.json +1 -1
@@ -8,7 +8,7 @@ declare const ParsioIoSkipDocumentsInput: z.ZodObject<{
8
8
  declare const ParsioIoSkipDocumentsOutput: z.ZodObject<{
9
9
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
10
  success: z.ZodNullable<z.ZodBoolean>;
11
- }, z.core.$strip>;
11
+ }, z.core.$loose>;
12
12
  declare const parsioIoSkipDocuments: import("@keystrokehq/action").WorkflowActionDefinition<{
13
13
  ids: string[];
14
14
  mailbox_id: string;
@@ -8,7 +8,7 @@ declare const ParsioIoSkipDocumentsInput: z.ZodObject<{
8
8
  declare const ParsioIoSkipDocumentsOutput: z.ZodObject<{
9
9
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
10
  success: z.ZodNullable<z.ZodBoolean>;
11
- }, z.core.$strip>;
11
+ }, z.core.$loose>;
12
12
  declare const parsioIoSkipDocuments: import("@keystrokehq/action").WorkflowActionDefinition<{
13
13
  ids: string[];
14
14
  mailbox_id: string;
@@ -11,7 +11,7 @@ const parsioIoSkipDocuments = action("PARSIO_IO_SKIP_DOCUMENTS", {
11
11
  output: z.object({
12
12
  message: z.string().describe("Optional message providing additional information about the operation.").nullable().optional(),
13
13
  success: z.boolean().describe("Indicates whether the skip operation was successful.").nullable()
14
- }).describe("Response model for skip documents operation.")
14
+ }).passthrough().describe("Response model for skip documents operation.")
15
15
  });
16
16
  //#endregion
17
17
  export { parsioIoSkipDocuments };
@@ -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}).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":";;AAaA,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbwC,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,6DAUH;CACP,QAVyC,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,SAAS,8CAOF;AACV,CAAC"}
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":";;AAaA,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbwC,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,6DAUH;CACP,QAVyC,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,8CAOhB;AACV,CAAC"}
@@ -16,7 +16,7 @@ const ParsioIoUpdateMailboxOutput = zod.z.object({
16
16
  alert_email_h: zod.z.number().int().describe("Email alerts frequency in hours.").nullable().optional(),
17
17
  collect_emails: zod.z.boolean().describe("Whether automatic email address collection is enabled.").nullable().optional(),
18
18
  process_attachments: zod.z.boolean().describe("Whether email attachments are stored or ignored.").nullable().optional()
19
- }).describe("Response model for updated mailbox details.");
19
+ }).passthrough().describe("Response model for updated mailbox details.");
20
20
  const parsioIoUpdateMailbox = require_action.action("PARSIO_IO_UPDATE_MAILBOX", {
21
21
  slug: "parsio_io-update-mailbox",
22
22
  name: "Update Mailbox Settings",
@@ -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}).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":";;;AAIA,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,SAAS,6CAA6C;AAEzD,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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":";;;AAIA,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,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -16,7 +16,7 @@ declare const ParsioIoUpdateMailboxOutput: z.ZodObject<{
16
16
  alert_email_h: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17
17
  collect_emails: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
18
18
  process_attachments: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
19
- }, z.core.$strip>;
19
+ }, z.core.$loose>;
20
20
  declare const parsioIoUpdateMailbox: import("@keystrokehq/action").WorkflowActionDefinition<{
21
21
  mailbox_id: string;
22
22
  name?: string | undefined;
@@ -16,7 +16,7 @@ declare const ParsioIoUpdateMailboxOutput: z.ZodObject<{
16
16
  alert_email_h: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17
17
  collect_emails: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
18
18
  process_attachments: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
19
- }, z.core.$strip>;
19
+ }, z.core.$loose>;
20
20
  declare const parsioIoUpdateMailbox: import("@keystrokehq/action").WorkflowActionDefinition<{
21
21
  mailbox_id: string;
22
22
  name?: string | undefined;
@@ -19,7 +19,7 @@ const parsioIoUpdateMailbox = action("PARSIO_IO_UPDATE_MAILBOX", {
19
19
  alert_email_h: z.number().int().describe("Email alerts frequency in hours.").nullable().optional(),
20
20
  collect_emails: z.boolean().describe("Whether automatic email address collection is enabled.").nullable().optional(),
21
21
  process_attachments: z.boolean().describe("Whether email attachments are stored or ignored.").nullable().optional()
22
- }).describe("Response model for updated mailbox details.")
22
+ }).passthrough().describe("Response model for updated mailbox details.")
23
23
  });
24
24
  //#endregion
25
25
  export { parsioIoUpdateMailbox };
@@ -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}).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":";;AAqBA,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArBwC,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,8CAcH;CACP,QAdyC,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,SAAS,6CAOF;AACV,CAAC"}
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":";;AAqBA,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArBwC,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,8CAcH;CACP,QAdyC,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,6CAOhB;AACV,CAAC"}
@@ -20,7 +20,7 @@ const ParsioIoUpdateWebhookOutput = zod.z.object({
20
20
  event: zod.z.string().describe("Event type that triggers the webhook").nullable().optional(),
21
21
  enabled: zod.z.boolean().describe("Whether the webhook is currently active or inactive").nullable().optional(),
22
22
  table_id: zod.z.string().describe("Table identifier, applicable only for 'table.parsed' events").nullable().optional()
23
- }).describe("Response schema for updating a webhook.");
23
+ }).passthrough().describe("Response schema for updating a webhook.");
24
24
  const parsioIoUpdateWebhook = require_action.action("PARSIO_IO_UPDATE_WEBHOOK", {
25
25
  slug: "parsio_io-update-webhook",
26
26
  name: "Update Webhook",
@@ -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}).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":";;;AAIA,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,SAAS,yCAAyC;AAErD,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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":";;;AAIA,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,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -20,7 +20,7 @@ declare const ParsioIoUpdateWebhookOutput: z.ZodObject<{
20
20
  event: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
21
  enabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
22
22
  table_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
- }, z.core.$strip>;
23
+ }, z.core.$loose>;
24
24
  declare const parsioIoUpdateWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
25
25
  _id: string;
26
26
  url: string;
@@ -20,7 +20,7 @@ declare const ParsioIoUpdateWebhookOutput: z.ZodObject<{
20
20
  event: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
21
  enabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
22
22
  table_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
- }, z.core.$strip>;
23
+ }, z.core.$loose>;
24
24
  declare const parsioIoUpdateWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
25
25
  _id: string;
26
26
  url: string;
@@ -23,7 +23,7 @@ const parsioIoUpdateWebhook = action("PARSIO_IO_UPDATE_WEBHOOK", {
23
23
  event: z.string().describe("Event type that triggers the webhook").nullable().optional(),
24
24
  enabled: z.boolean().describe("Whether the webhook is currently active or inactive").nullable().optional(),
25
25
  table_id: z.string().describe("Table identifier, applicable only for 'table.parsed' events").nullable().optional()
26
- }).describe("Response schema for updating a webhook.")
26
+ }).passthrough().describe("Response schema for updating a webhook.")
27
27
  });
28
28
  //#endregion
29
29
  export { parsioIoUpdateWebhook };
@@ -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}).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":";;AAmBA,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBwC,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,iDAaH;CACP,QAbyC,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,SAAS,yCAOF;AACV,CAAC"}
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":";;AAmBA,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBwC,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,iDAaH;CACP,QAbyC,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,yCAOhB;AACV,CAAC"}
@@ -7,14 +7,14 @@ const ParsioIoUploadFileInput = zod.z.object({
7
7
  s3key: zod.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."),
8
8
  mimetype: zod.z.string().describe("The MIME type of the file")
9
9
  }).describe("File to upload and parse. Supported formats: PDF, HTML, CSV, TXT, DOCX, RTF, or XML. Maximum file size: 20MB."),
10
- meta: zod.z.object({}).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(),
10
+ meta: zod.z.record(zod.z.string(), zod.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(),
11
11
  mailbox_id: zod.z.string().describe("The unique identifier of the mailbox where the file will be uploaded")
12
12
  }).describe("Request model for uploading and parsing files to a mailbox.");
13
13
  const ParsioIoUploadFileOutput = zod.z.object({
14
14
  _id: zod.z.string().describe("Unique identifier of the uploaded document for tracking and retrieval of parsing results").nullable().optional(),
15
15
  status: zod.z.string().describe("Status of the document. Possible values: parsed, fail, skipped, new, quota, parsing, exception").nullable().optional(),
16
16
  message: zod.z.string().describe("Additional message or information about the document upload and parsing").nullable().optional()
17
- }).describe("Response schema for file upload.");
17
+ }).passthrough().describe("Response schema for file upload.");
18
18
  const parsioIoUploadFile = require_action.action("PARSIO_IO_UPLOAD_FILE", {
19
19
  slug: "parsio_io-upload-file",
20
20
  name: "Upload File",
@@ -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.object({}).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}).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":";;;AAIA,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,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uMAAuM,CAAC,CAAC,SAAS;CAC9O,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,SAAS,kCAAkC;AAE9C,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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":";;;AAIA,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,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -7,14 +7,14 @@ declare const ParsioIoUploadFileInput: z.ZodObject<{
7
7
  s3key: z.ZodString;
8
8
  mimetype: z.ZodString;
9
9
  }, z.core.$strip>;
10
- meta: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
10
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
11
11
  mailbox_id: z.ZodString;
12
12
  }, z.core.$strip>;
13
13
  declare const ParsioIoUploadFileOutput: z.ZodObject<{
14
14
  _id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
15
  status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
16
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
- }, z.core.$strip>;
17
+ }, z.core.$loose>;
18
18
  declare const parsioIoUploadFile: import("@keystrokehq/action").WorkflowActionDefinition<{
19
19
  file: {
20
20
  name: string;
@@ -22,7 +22,7 @@ declare const parsioIoUploadFile: import("@keystrokehq/action").WorkflowActionDe
22
22
  mimetype: string;
23
23
  };
24
24
  mailbox_id: string;
25
- meta?: Record<string, never> | undefined;
25
+ meta?: Record<string, unknown> | undefined;
26
26
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
27
27
  //#endregion
28
28
  export { parsioIoUploadFile };
@@ -7,14 +7,14 @@ declare const ParsioIoUploadFileInput: z.ZodObject<{
7
7
  s3key: z.ZodString;
8
8
  mimetype: z.ZodString;
9
9
  }, z.core.$strip>;
10
- meta: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
10
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
11
11
  mailbox_id: z.ZodString;
12
12
  }, z.core.$strip>;
13
13
  declare const ParsioIoUploadFileOutput: z.ZodObject<{
14
14
  _id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
15
  status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
16
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
- }, z.core.$strip>;
17
+ }, z.core.$loose>;
18
18
  declare const parsioIoUploadFile: import("@keystrokehq/action").WorkflowActionDefinition<{
19
19
  file: {
20
20
  name: string;
@@ -22,7 +22,7 @@ declare const parsioIoUploadFile: import("@keystrokehq/action").WorkflowActionDe
22
22
  mimetype: string;
23
23
  };
24
24
  mailbox_id: string;
25
- meta?: Record<string, never> | undefined;
25
+ meta?: Record<string, unknown> | undefined;
26
26
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
27
27
  //#endregion
28
28
  export { parsioIoUploadFile };
@@ -10,14 +10,14 @@ const parsioIoUploadFile = action("PARSIO_IO_UPLOAD_FILE", {
10
10
  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."),
11
11
  mimetype: z.string().describe("The MIME type of the file")
12
12
  }).describe("File to upload and parse. Supported formats: PDF, HTML, CSV, TXT, DOCX, RTF, or XML. Maximum file size: 20MB."),
13
- meta: z.object({}).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(),
13
+ 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(),
14
14
  mailbox_id: z.string().describe("The unique identifier of the mailbox where the file will be uploaded")
15
15
  }).describe("Request model for uploading and parsing files to a mailbox."),
16
16
  output: z.object({
17
17
  _id: z.string().describe("Unique identifier of the uploaded document for tracking and retrieval of parsing results").nullable().optional(),
18
18
  status: z.string().describe("Status of the document. Possible values: parsed, fail, skipped, new, quota, parsing, exception").nullable().optional(),
19
19
  message: z.string().describe("Additional message or information about the document upload and parsing").nullable().optional()
20
- }).describe("Response schema for file upload.")
20
+ }).passthrough().describe("Response schema for file upload.")
21
21
  });
22
22
  //#endregion
23
23
  export { parsioIoUploadFile };
@@ -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.object({}).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}).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":";;AAmBA,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBqC,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,CAAC,CAAC,CAAC,CAAC,SAAS,uMAAuM,CAAC,CAAC,SAAS;EAC9O,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE;CACxG,CAAC,CAAC,CAAC,SAAS,6DAWH;CACP,QAXsC,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,SAAS,kCAOF;AACV,CAAC"}
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":";;AAmBA,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBqC,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,6DAWH;CACP,QAXsC,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,kCAOhB;AACV,CAAC"}
package/dist/catalog.cjs CHANGED
@@ -8,7 +8,7 @@ const parsioIoCatalog = {
8
8
  "logo": "https://logos.composio.dev/api/parsio_io",
9
9
  "authKind": "keystroke",
10
10
  "oauthScopes": [],
11
- "credentialFields": { "api_key": {
11
+ "credentialFields": { "generic_api_key": {
12
12
  "label": "API Key",
13
13
  "secret": true,
14
14
  "description": "To retrieve your API key, navigate to your Parsio.io account settings at https://app.parsio.io/account"
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const parsioIoCatalog = {\n \"slug\": \"parsio_io\",\n \"name\": \"Parsio.io\",\n \"description\": \"No-code email parser to extract and export valuable data from emails, PDFs and documents\",\n \"category\": \"AI Document Extraction\",\n \"logo\": \"https://logos.composio.dev/api/parsio_io\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"API Key\",\n \"secret\": true,\n \"description\": \"To retrieve your API key, navigate to your Parsio.io account settings at https://app.parsio.io/account\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,kBAAkB;CAC7B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
1
+ {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const parsioIoCatalog = {\n \"slug\": \"parsio_io\",\n \"name\": \"Parsio.io\",\n \"description\": \"No-code email parser to extract and export valuable data from emails, PDFs and documents\",\n \"category\": \"AI Document Extraction\",\n \"logo\": \"https://logos.composio.dev/api/parsio_io\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"generic_api_key\": {\n \"label\": \"API Key\",\n \"secret\": true,\n \"description\": \"To retrieve your API key, navigate to your Parsio.io account settings at https://app.parsio.io/account\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,kBAAkB;CAC7B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,mBAAmB;EACjB,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
@@ -9,7 +9,7 @@ declare const parsioIoCatalog: {
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
11
  readonly credentialFields: {
12
- readonly api_key: {
12
+ readonly generic_api_key: {
13
13
  readonly label: "API Key";
14
14
  readonly secret: true;
15
15
  readonly description: "To retrieve your API key, navigate to your Parsio.io account settings at https://app.parsio.io/account";
@@ -9,7 +9,7 @@ declare const parsioIoCatalog: {
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
11
  readonly credentialFields: {
12
- readonly api_key: {
12
+ readonly generic_api_key: {
13
13
  readonly label: "API Key";
14
14
  readonly secret: true;
15
15
  readonly description: "To retrieve your API key, navigate to your Parsio.io account settings at https://app.parsio.io/account";
package/dist/catalog.mjs CHANGED
@@ -8,7 +8,7 @@ const parsioIoCatalog = {
8
8
  "logo": "https://logos.composio.dev/api/parsio_io",
9
9
  "authKind": "keystroke",
10
10
  "oauthScopes": [],
11
- "credentialFields": { "api_key": {
11
+ "credentialFields": { "generic_api_key": {
12
12
  "label": "API Key",
13
13
  "secret": true,
14
14
  "description": "To retrieve your API key, navigate to your Parsio.io account settings at https://app.parsio.io/account"
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const parsioIoCatalog = {\n \"slug\": \"parsio_io\",\n \"name\": \"Parsio.io\",\n \"description\": \"No-code email parser to extract and export valuable data from emails, PDFs and documents\",\n \"category\": \"AI Document Extraction\",\n \"logo\": \"https://logos.composio.dev/api/parsio_io\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"API Key\",\n \"secret\": true,\n \"description\": \"To retrieve your API key, navigate to your Parsio.io account settings at https://app.parsio.io/account\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,kBAAkB;CAC7B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
1
+ {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const parsioIoCatalog = {\n \"slug\": \"parsio_io\",\n \"name\": \"Parsio.io\",\n \"description\": \"No-code email parser to extract and export valuable data from emails, PDFs and documents\",\n \"category\": \"AI Document Extraction\",\n \"logo\": \"https://logos.composio.dev/api/parsio_io\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"generic_api_key\": {\n \"label\": \"API Key\",\n \"secret\": true,\n \"description\": \"To retrieve your API key, navigate to your Parsio.io account settings at https://app.parsio.io/account\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,kBAAkB;CAC7B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,mBAAmB;EACjB,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/parsio_io",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"