@keystrokehq/parsio_io 0.1.0 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (201) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/create-html-text-document.cjs +2 -2
  4. package/dist/actions/create-html-text-document.cjs.map +1 -1
  5. package/dist/actions/create-html-text-document.d.cts +23 -3
  6. package/dist/actions/create-html-text-document.d.cts.map +1 -1
  7. package/dist/actions/create-html-text-document.d.mts +23 -3
  8. package/dist/actions/create-html-text-document.d.mts.map +1 -1
  9. package/dist/actions/create-html-text-document.mjs +2 -2
  10. package/dist/actions/create-html-text-document.mjs.map +1 -1
  11. package/dist/actions/create-mailbox.cjs +1 -1
  12. package/dist/actions/create-mailbox.cjs.map +1 -1
  13. package/dist/actions/create-mailbox.d.cts +11 -3
  14. package/dist/actions/create-mailbox.d.cts.map +1 -1
  15. package/dist/actions/create-mailbox.d.mts +11 -3
  16. package/dist/actions/create-mailbox.d.mts.map +1 -1
  17. package/dist/actions/create-mailbox.mjs +1 -1
  18. package/dist/actions/create-mailbox.mjs.map +1 -1
  19. package/dist/actions/create-webhook.cjs +1 -1
  20. package/dist/actions/create-webhook.cjs.map +1 -1
  21. package/dist/actions/create-webhook.d.cts +29 -3
  22. package/dist/actions/create-webhook.d.cts.map +1 -1
  23. package/dist/actions/create-webhook.d.mts +29 -3
  24. package/dist/actions/create-webhook.d.mts.map +1 -1
  25. package/dist/actions/create-webhook.mjs +1 -1
  26. package/dist/actions/create-webhook.mjs.map +1 -1
  27. package/dist/actions/delete-mailbox.cjs +1 -1
  28. package/dist/actions/delete-mailbox.cjs.map +1 -1
  29. package/dist/actions/delete-mailbox.d.cts +10 -3
  30. package/dist/actions/delete-mailbox.d.cts.map +1 -1
  31. package/dist/actions/delete-mailbox.d.mts +10 -3
  32. package/dist/actions/delete-mailbox.d.mts.map +1 -1
  33. package/dist/actions/delete-mailbox.mjs +1 -1
  34. package/dist/actions/delete-mailbox.mjs.map +1 -1
  35. package/dist/actions/delete-templates.cjs +1 -1
  36. package/dist/actions/delete-templates.cjs.map +1 -1
  37. package/dist/actions/delete-templates.d.cts +10 -3
  38. package/dist/actions/delete-templates.d.cts.map +1 -1
  39. package/dist/actions/delete-templates.d.mts +10 -3
  40. package/dist/actions/delete-templates.d.mts.map +1 -1
  41. package/dist/actions/delete-templates.mjs +1 -1
  42. package/dist/actions/delete-templates.mjs.map +1 -1
  43. package/dist/actions/delete-webhooks.cjs +2 -2
  44. package/dist/actions/delete-webhooks.cjs.map +1 -1
  45. package/dist/actions/delete-webhooks.d.cts +10 -3
  46. package/dist/actions/delete-webhooks.d.cts.map +1 -1
  47. package/dist/actions/delete-webhooks.d.mts +10 -3
  48. package/dist/actions/delete-webhooks.d.mts.map +1 -1
  49. package/dist/actions/delete-webhooks.mjs +2 -2
  50. package/dist/actions/delete-webhooks.mjs.map +1 -1
  51. package/dist/actions/disable-templates.cjs +1 -1
  52. package/dist/actions/disable-templates.cjs.map +1 -1
  53. package/dist/actions/disable-templates.d.cts +9 -3
  54. package/dist/actions/disable-templates.d.cts.map +1 -1
  55. package/dist/actions/disable-templates.d.mts +9 -3
  56. package/dist/actions/disable-templates.d.mts.map +1 -1
  57. package/dist/actions/disable-templates.mjs +1 -1
  58. package/dist/actions/disable-templates.mjs.map +1 -1
  59. package/dist/actions/enable-templates.cjs +1 -1
  60. package/dist/actions/enable-templates.cjs.map +1 -1
  61. package/dist/actions/enable-templates.d.cts +9 -3
  62. package/dist/actions/enable-templates.d.cts.map +1 -1
  63. package/dist/actions/enable-templates.d.mts +9 -3
  64. package/dist/actions/enable-templates.d.mts.map +1 -1
  65. package/dist/actions/enable-templates.mjs +1 -1
  66. package/dist/actions/enable-templates.mjs.map +1 -1
  67. package/dist/actions/get-document.cjs +1 -1
  68. package/dist/actions/get-document.cjs.map +1 -1
  69. package/dist/actions/get-document.d.cts +12 -3
  70. package/dist/actions/get-document.d.cts.map +1 -1
  71. package/dist/actions/get-document.d.mts +12 -3
  72. package/dist/actions/get-document.d.mts.map +1 -1
  73. package/dist/actions/get-document.mjs +1 -1
  74. package/dist/actions/get-document.mjs.map +1 -1
  75. package/dist/actions/get-mailbox.cjs +1 -1
  76. package/dist/actions/get-mailbox.cjs.map +1 -1
  77. package/dist/actions/get-mailbox.d.cts +14 -3
  78. package/dist/actions/get-mailbox.d.cts.map +1 -1
  79. package/dist/actions/get-mailbox.d.mts +14 -3
  80. package/dist/actions/get-mailbox.d.mts.map +1 -1
  81. package/dist/actions/get-mailbox.mjs +1 -1
  82. package/dist/actions/get-mailbox.mjs.map +1 -1
  83. package/dist/actions/get-parsed-data.cjs +2 -2
  84. package/dist/actions/get-parsed-data.cjs.map +1 -1
  85. package/dist/actions/get-parsed-data.d.cts +23 -3
  86. package/dist/actions/get-parsed-data.d.cts.map +1 -1
  87. package/dist/actions/get-parsed-data.d.mts +23 -3
  88. package/dist/actions/get-parsed-data.d.mts.map +1 -1
  89. package/dist/actions/get-parsed-data.mjs +2 -2
  90. package/dist/actions/get-parsed-data.mjs.map +1 -1
  91. package/dist/actions/get-template.cjs +2 -2
  92. package/dist/actions/get-template.cjs.map +1 -1
  93. package/dist/actions/get-template.d.cts +16 -3
  94. package/dist/actions/get-template.d.cts.map +1 -1
  95. package/dist/actions/get-template.d.mts +16 -3
  96. package/dist/actions/get-template.d.mts.map +1 -1
  97. package/dist/actions/get-template.mjs +2 -2
  98. package/dist/actions/get-template.mjs.map +1 -1
  99. package/dist/actions/get-webhook.cjs +1 -1
  100. package/dist/actions/get-webhook.cjs.map +1 -1
  101. package/dist/actions/get-webhook.d.cts +13 -3
  102. package/dist/actions/get-webhook.d.cts.map +1 -1
  103. package/dist/actions/get-webhook.d.mts +13 -3
  104. package/dist/actions/get-webhook.d.mts.map +1 -1
  105. package/dist/actions/get-webhook.mjs +1 -1
  106. package/dist/actions/get-webhook.mjs.map +1 -1
  107. package/dist/actions/list-collected-emails.cjs +2 -2
  108. package/dist/actions/list-collected-emails.cjs.map +1 -1
  109. package/dist/actions/list-collected-emails.d.cts +18 -3
  110. package/dist/actions/list-collected-emails.d.cts.map +1 -1
  111. package/dist/actions/list-collected-emails.d.mts +18 -3
  112. package/dist/actions/list-collected-emails.d.mts.map +1 -1
  113. package/dist/actions/list-collected-emails.mjs +2 -2
  114. package/dist/actions/list-collected-emails.mjs.map +1 -1
  115. package/dist/actions/list-documents.cjs +2 -2
  116. package/dist/actions/list-documents.cjs.map +1 -1
  117. package/dist/actions/list-documents.d.cts +28 -3
  118. package/dist/actions/list-documents.d.cts.map +1 -1
  119. package/dist/actions/list-documents.d.mts +28 -3
  120. package/dist/actions/list-documents.d.mts.map +1 -1
  121. package/dist/actions/list-documents.mjs +2 -2
  122. package/dist/actions/list-documents.mjs.map +1 -1
  123. package/dist/actions/list-mailboxes.cjs +2 -2
  124. package/dist/actions/list-mailboxes.cjs.map +1 -1
  125. package/dist/actions/list-mailboxes.d.cts +12 -3
  126. package/dist/actions/list-mailboxes.d.cts.map +1 -1
  127. package/dist/actions/list-mailboxes.d.mts +12 -3
  128. package/dist/actions/list-mailboxes.d.mts.map +1 -1
  129. package/dist/actions/list-mailboxes.mjs +2 -2
  130. package/dist/actions/list-mailboxes.mjs.map +1 -1
  131. package/dist/actions/list-table-fields.cjs +2 -2
  132. package/dist/actions/list-table-fields.cjs.map +1 -1
  133. package/dist/actions/list-table-fields.d.cts +14 -3
  134. package/dist/actions/list-table-fields.d.cts.map +1 -1
  135. package/dist/actions/list-table-fields.d.mts +14 -3
  136. package/dist/actions/list-table-fields.d.mts.map +1 -1
  137. package/dist/actions/list-table-fields.mjs +2 -2
  138. package/dist/actions/list-table-fields.mjs.map +1 -1
  139. package/dist/actions/list-templates.cjs +2 -2
  140. package/dist/actions/list-templates.cjs.map +1 -1
  141. package/dist/actions/list-templates.d.cts +27 -3
  142. package/dist/actions/list-templates.d.cts.map +1 -1
  143. package/dist/actions/list-templates.d.mts +27 -3
  144. package/dist/actions/list-templates.d.mts.map +1 -1
  145. package/dist/actions/list-templates.mjs +2 -2
  146. package/dist/actions/list-templates.mjs.map +1 -1
  147. package/dist/actions/list-webhooks.cjs +2 -2
  148. package/dist/actions/list-webhooks.cjs.map +1 -1
  149. package/dist/actions/list-webhooks.d.cts +15 -3
  150. package/dist/actions/list-webhooks.d.cts.map +1 -1
  151. package/dist/actions/list-webhooks.d.mts +15 -3
  152. package/dist/actions/list-webhooks.d.mts.map +1 -1
  153. package/dist/actions/list-webhooks.mjs +2 -2
  154. package/dist/actions/list-webhooks.mjs.map +1 -1
  155. package/dist/actions/parse-document.cjs +1 -1
  156. package/dist/actions/parse-document.cjs.map +1 -1
  157. package/dist/actions/parse-document.d.cts +12 -3
  158. package/dist/actions/parse-document.d.cts.map +1 -1
  159. package/dist/actions/parse-document.d.mts +12 -3
  160. package/dist/actions/parse-document.d.mts.map +1 -1
  161. package/dist/actions/parse-document.mjs +1 -1
  162. package/dist/actions/parse-document.mjs.map +1 -1
  163. package/dist/actions/skip-documents.cjs +2 -2
  164. package/dist/actions/skip-documents.cjs.map +1 -1
  165. package/dist/actions/skip-documents.d.cts +12 -3
  166. package/dist/actions/skip-documents.d.cts.map +1 -1
  167. package/dist/actions/skip-documents.d.mts +12 -3
  168. package/dist/actions/skip-documents.d.mts.map +1 -1
  169. package/dist/actions/skip-documents.mjs +2 -2
  170. package/dist/actions/skip-documents.mjs.map +1 -1
  171. package/dist/actions/update-mailbox.cjs +1 -1
  172. package/dist/actions/update-mailbox.cjs.map +1 -1
  173. package/dist/actions/update-mailbox.d.cts +24 -3
  174. package/dist/actions/update-mailbox.d.cts.map +1 -1
  175. package/dist/actions/update-mailbox.d.mts +24 -3
  176. package/dist/actions/update-mailbox.d.mts.map +1 -1
  177. package/dist/actions/update-mailbox.mjs +1 -1
  178. package/dist/actions/update-mailbox.mjs.map +1 -1
  179. package/dist/actions/update-webhook.cjs +1 -1
  180. package/dist/actions/update-webhook.cjs.map +1 -1
  181. package/dist/actions/update-webhook.d.cts +27 -3
  182. package/dist/actions/update-webhook.d.cts.map +1 -1
  183. package/dist/actions/update-webhook.d.mts +27 -3
  184. package/dist/actions/update-webhook.d.mts.map +1 -1
  185. package/dist/actions/update-webhook.mjs +1 -1
  186. package/dist/actions/update-webhook.mjs.map +1 -1
  187. package/dist/actions/upload-file.cjs +2 -2
  188. package/dist/actions/upload-file.cjs.map +1 -1
  189. package/dist/actions/upload-file.d.cts +23 -3
  190. package/dist/actions/upload-file.d.cts.map +1 -1
  191. package/dist/actions/upload-file.d.mts +23 -3
  192. package/dist/actions/upload-file.d.mts.map +1 -1
  193. package/dist/actions/upload-file.mjs +2 -2
  194. package/dist/actions/upload-file.mjs.map +1 -1
  195. package/dist/catalog.cjs +7 -1
  196. package/dist/catalog.cjs.map +1 -1
  197. package/dist/catalog.d.cts +8 -0
  198. package/dist/catalog.d.mts +8 -0
  199. package/dist/catalog.mjs +7 -1
  200. package/dist/catalog.mjs.map +1 -1
  201. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"action.cjs","names":["parsioIo","executeParsioIoTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { parsioIo } from \"./app\";\nimport { executeParsioIoTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return parsioIo.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeParsioIoTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,SAAS,OAAO;EACrB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,oBAAoB,MAAM,KAAgC,CAAC;EAC3F;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.cjs","names":["parsioIo","executeParsioIoTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { parsioIo } from \"./app\";\nimport { executeParsioIoTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return parsioIo.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeParsioIoTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,SAAS,OAAO;EACrB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,oBAAoB,MAAM,KAAgC,CAAC;EAC3F;CACF,CAAC;AACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { parsioIo } from \"./app\";\nimport { executeParsioIoTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return parsioIo.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeParsioIoTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,SAAS,OAAO;EACrB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,oBAAoB,MAAM,KAAgC,CAAC;EAC3F;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { parsioIo } from \"./app\";\nimport { executeParsioIoTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return parsioIo.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeParsioIoTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,SAAS,OAAO;EACrB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,oBAAoB,MAAM,KAAgC,CAAC;EAC3F;CACF,CAAC;AACH"}
@@ -5,7 +5,7 @@ const ParsioIoCreateHtmlTextDocumentInput = zod.z.object({
5
5
  to: zod.z.string().describe("Recipient's email address").optional(),
6
6
  from: zod.z.string().describe("Sender's email address").optional(),
7
7
  html: zod.z.string().describe("HTML content to parse. At least one of html or text must be provided. If both are provided, HTML takes precedence.").optional(),
8
- meta: zod.z.object({}).describe("Additional payload data as key-value pairs").optional(),
8
+ meta: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Additional payload data as key-value pairs").optional(),
9
9
  name: zod.z.string().describe("Document's name or subject line for emails"),
10
10
  text: zod.z.string().describe("Text content to parse. At least one of html or text must be provided.").optional(),
11
11
  mailbox_id: zod.z.string().describe("The unique identifier of the mailbox where the document will be processed")
@@ -14,7 +14,7 @@ const ParsioIoCreateHtmlTextDocumentOutput = zod.z.object({
14
14
  _id: zod.z.string().describe("Unique identifier for the created document").nullable().optional(),
15
15
  status: zod.z.string().describe("Status of the document processing").nullable().optional(),
16
16
  message: zod.z.string().describe("Additional message or information about the document creation").nullable().optional()
17
- }).describe("Response schema for creating HTML or text documents.");
17
+ }).passthrough().describe("Response schema for creating HTML or text documents.");
18
18
  const parsioIoCreateHtmlTextDocument = require_action.action("PARSIO_IO_CREATE_HTML_TEXT_DOCUMENT", {
19
19
  slug: "parsio_io-create-html-text-document",
20
20
  name: "Create HTML/Text Document",
@@ -1 +1 @@
1
- {"version":3,"file":"create-html-text-document.cjs","names":["z","action"],"sources":["../../src/actions/create-html-text-document.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParsioIoCreateHtmlTextDocumentInput: z.ZodTypeAny = z.object({\n to: z.string().describe(\"Recipient's email address\").optional(),\n from: z.string().describe(\"Sender's email address\").optional(),\n html: z.string().describe(\"HTML content to parse. At least one of html or text must be provided. If both are provided, HTML takes precedence.\").optional(),\n meta: z.object({}).describe(\"Additional payload data as key-value pairs\").optional(),\n name: z.string().describe(\"Document's name or subject line for emails\"),\n text: z.string().describe(\"Text content to parse. At least one of html or text must be provided.\").optional(),\n mailbox_id: z.string().describe(\"The unique identifier of the mailbox where the document will be processed\"),\n}).describe(\"Request model for creating and parsing HTML or text documents.\");\nexport const ParsioIoCreateHtmlTextDocumentOutput: z.ZodTypeAny = z.object({\n _id: z.string().describe(\"Unique identifier for the created document\").nullable().optional(),\n status: z.string().describe(\"Status of the document processing\").nullable().optional(),\n message: z.string().describe(\"Additional message or information about the document creation\").nullable().optional(),\n}).describe(\"Response schema for creating HTML or text documents.\");\n\nexport const parsioIoCreateHtmlTextDocument = action(\"PARSIO_IO_CREATE_HTML_TEXT_DOCUMENT\", {\n slug: \"parsio_io-create-html-text-document\",\n name: \"Create HTML/Text Document\",\n description: \"Tool to create and parse HTML or text documents via API. Use when you need to submit HTML or text content to a Parsio mailbox for data extraction. At least one of html or text must be provided.\",\n input: ParsioIoCreateHtmlTextDocumentInput,\n output: ParsioIoCreateHtmlTextDocumentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAoDA,IAAAA,EAAE,OAAO;CACxE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;CACzJ,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACnF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC5G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;AAC7G,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAa,uCAAqDA,IAAAA,EAAE,OAAO;CACzE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAElE,MAAa,iCAAiCC,eAAAA,OAAO,uCAAuC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-html-text-document.cjs","names":["z","action"],"sources":["../../src/actions/create-html-text-document.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParsioIoCreateHtmlTextDocumentInput = z.object({\n to: z.string().describe(\"Recipient's email address\").optional(),\n from: z.string().describe(\"Sender's email address\").optional(),\n html: z.string().describe(\"HTML content to parse. At least one of html or text must be provided. If both are provided, HTML takes precedence.\").optional(),\n meta: z.record(z.string(), z.unknown()).describe(\"Additional payload data as key-value pairs\").optional(),\n name: z.string().describe(\"Document's name or subject line for emails\"),\n text: z.string().describe(\"Text content to parse. At least one of html or text must be provided.\").optional(),\n mailbox_id: z.string().describe(\"The unique identifier of the mailbox where the document will be processed\"),\n}).describe(\"Request model for creating and parsing HTML or text documents.\");\nexport const ParsioIoCreateHtmlTextDocumentOutput = z.object({\n _id: z.string().describe(\"Unique identifier for the created document\").nullable().optional(),\n status: z.string().describe(\"Status of the document processing\").nullable().optional(),\n message: z.string().describe(\"Additional message or information about the document creation\").nullable().optional(),\n}).passthrough().describe(\"Response schema for creating HTML or text documents.\");\n\nexport const parsioIoCreateHtmlTextDocument = action(\"PARSIO_IO_CREATE_HTML_TEXT_DOCUMENT\", {\n slug: \"parsio_io-create-html-text-document\",\n name: \"Create HTML/Text Document\",\n description: \"Tool to create and parse HTML or text documents via API. Use when you need to submit HTML or text content to a Parsio mailbox for data extraction. At least one of html or text must be provided.\",\n input: ParsioIoCreateHtmlTextDocumentInput,\n output: ParsioIoCreateHtmlTextDocumentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;CACzJ,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACxG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC5G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;AAC7G,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,iCAAiCC,eAAAA,OAAO,uCAAuC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,29 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-html-text-document.d.ts
4
- declare const ParsioIoCreateHtmlTextDocumentInput: z.ZodTypeAny;
5
- declare const ParsioIoCreateHtmlTextDocumentOutput: z.ZodTypeAny;
6
- declare const parsioIoCreateHtmlTextDocument: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ParsioIoCreateHtmlTextDocumentInput: z.ZodObject<{
5
+ to: z.ZodOptional<z.ZodString>;
6
+ from: z.ZodOptional<z.ZodString>;
7
+ html: z.ZodOptional<z.ZodString>;
8
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
9
+ name: z.ZodString;
10
+ text: z.ZodOptional<z.ZodString>;
11
+ mailbox_id: z.ZodString;
12
+ }, z.core.$strip>;
13
+ declare const ParsioIoCreateHtmlTextDocumentOutput: z.ZodObject<{
14
+ _id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ }, z.core.$loose>;
18
+ declare const parsioIoCreateHtmlTextDocument: import("@keystrokehq/action").WorkflowActionDefinition<{
19
+ name: string;
20
+ mailbox_id: string;
21
+ to?: string | undefined;
22
+ from?: string | undefined;
23
+ html?: string | undefined;
24
+ meta?: Record<string, unknown> | undefined;
25
+ text?: string | undefined;
26
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
27
  //#endregion
8
28
  export { parsioIoCreateHtmlTextDocument };
9
29
  //# sourceMappingURL=create-html-text-document.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-html-text-document.d.cts","names":[],"sources":["../../src/actions/create-html-text-document.ts"],"mappings":";;;cAIa,mCAAA,EAAqC,CAAA,CAAE,UAQyB;AAAA,cAChE,oCAAA,EAAsC,CAAA,CAAE,UAIc;AAAA,cAEtD,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-html-text-document.d.cts","names":[],"sources":["../../src/actions/create-html-text-document.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;cASnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;cAMpC,8BAAA,gCAA8B,wBAAA;;;;;;SAMzC,MAAA"}
@@ -1,9 +1,29 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-html-text-document.d.ts
4
- declare const ParsioIoCreateHtmlTextDocumentInput: z.ZodTypeAny;
5
- declare const ParsioIoCreateHtmlTextDocumentOutput: z.ZodTypeAny;
6
- declare const parsioIoCreateHtmlTextDocument: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ParsioIoCreateHtmlTextDocumentInput: z.ZodObject<{
5
+ to: z.ZodOptional<z.ZodString>;
6
+ from: z.ZodOptional<z.ZodString>;
7
+ html: z.ZodOptional<z.ZodString>;
8
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
9
+ name: z.ZodString;
10
+ text: z.ZodOptional<z.ZodString>;
11
+ mailbox_id: z.ZodString;
12
+ }, z.core.$strip>;
13
+ declare const ParsioIoCreateHtmlTextDocumentOutput: z.ZodObject<{
14
+ _id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ }, z.core.$loose>;
18
+ declare const parsioIoCreateHtmlTextDocument: import("@keystrokehq/action").WorkflowActionDefinition<{
19
+ name: string;
20
+ mailbox_id: string;
21
+ to?: string | undefined;
22
+ from?: string | undefined;
23
+ html?: string | undefined;
24
+ meta?: Record<string, unknown> | undefined;
25
+ text?: string | undefined;
26
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
27
  //#endregion
8
28
  export { parsioIoCreateHtmlTextDocument };
9
29
  //# sourceMappingURL=create-html-text-document.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-html-text-document.d.mts","names":[],"sources":["../../src/actions/create-html-text-document.ts"],"mappings":";;;cAIa,mCAAA,EAAqC,CAAA,CAAE,UAQyB;AAAA,cAChE,oCAAA,EAAsC,CAAA,CAAE,UAIc;AAAA,cAEtD,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-html-text-document.d.mts","names":[],"sources":["../../src/actions/create-html-text-document.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;cASnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;cAMpC,8BAAA,gCAA8B,wBAAA;;;;;;SAMzC,MAAA"}
@@ -8,7 +8,7 @@ const parsioIoCreateHtmlTextDocument = action("PARSIO_IO_CREATE_HTML_TEXT_DOCUME
8
8
  to: z.string().describe("Recipient's email address").optional(),
9
9
  from: z.string().describe("Sender's email address").optional(),
10
10
  html: z.string().describe("HTML content to parse. At least one of html or text must be provided. If both are provided, HTML takes precedence.").optional(),
11
- meta: z.object({}).describe("Additional payload data as key-value pairs").optional(),
11
+ meta: z.record(z.string(), z.unknown()).describe("Additional payload data as key-value pairs").optional(),
12
12
  name: z.string().describe("Document's name or subject line for emails"),
13
13
  text: z.string().describe("Text content to parse. At least one of html or text must be provided.").optional(),
14
14
  mailbox_id: z.string().describe("The unique identifier of the mailbox where the document will be processed")
@@ -17,7 +17,7 @@ const parsioIoCreateHtmlTextDocument = action("PARSIO_IO_CREATE_HTML_TEXT_DOCUME
17
17
  _id: z.string().describe("Unique identifier for the created document").nullable().optional(),
18
18
  status: z.string().describe("Status of the document processing").nullable().optional(),
19
19
  message: z.string().describe("Additional message or information about the document creation").nullable().optional()
20
- }).describe("Response schema for creating HTML or text documents.")
20
+ }).passthrough().describe("Response schema for creating HTML or text documents.")
21
21
  });
22
22
  //#endregion
23
23
  export { parsioIoCreateHtmlTextDocument };
@@ -1 +1 @@
1
- {"version":3,"file":"create-html-text-document.mjs","names":[],"sources":["../../src/actions/create-html-text-document.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParsioIoCreateHtmlTextDocumentInput: z.ZodTypeAny = z.object({\n to: z.string().describe(\"Recipient's email address\").optional(),\n from: z.string().describe(\"Sender's email address\").optional(),\n html: z.string().describe(\"HTML content to parse. At least one of html or text must be provided. If both are provided, HTML takes precedence.\").optional(),\n meta: z.object({}).describe(\"Additional payload data as key-value pairs\").optional(),\n name: z.string().describe(\"Document's name or subject line for emails\"),\n text: z.string().describe(\"Text content to parse. At least one of html or text must be provided.\").optional(),\n mailbox_id: z.string().describe(\"The unique identifier of the mailbox where the document will be processed\"),\n}).describe(\"Request model for creating and parsing HTML or text documents.\");\nexport const ParsioIoCreateHtmlTextDocumentOutput: z.ZodTypeAny = z.object({\n _id: z.string().describe(\"Unique identifier for the created document\").nullable().optional(),\n status: z.string().describe(\"Status of the document processing\").nullable().optional(),\n message: z.string().describe(\"Additional message or information about the document creation\").nullable().optional(),\n}).describe(\"Response schema for creating HTML or text documents.\");\n\nexport const parsioIoCreateHtmlTextDocument = action(\"PARSIO_IO_CREATE_HTML_TEXT_DOCUMENT\", {\n slug: \"parsio_io-create-html-text-document\",\n name: \"Create HTML/Text Document\",\n description: \"Tool to create and parse HTML or text documents via API. Use when you need to submit HTML or text content to a Parsio mailbox for data extraction. At least one of html or text must be provided.\",\n input: ParsioIoCreateHtmlTextDocumentInput,\n output: ParsioIoCreateHtmlTextDocumentOutput,\n});\n"],"mappings":";;AAmBA,MAAa,iCAAiC,OAAO,uCAAuC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnB+D,EAAE,OAAO;EACxE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;EACzJ,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACnF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;EAC5G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;CAC7G,CAAC,CAAC,CAAC,SAAS,gEAWH;CACP,QAXgE,EAAE,OAAO;EACzE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,CAAC,CAAC,CAAC,SAAS,sDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-html-text-document.mjs","names":[],"sources":["../../src/actions/create-html-text-document.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParsioIoCreateHtmlTextDocumentInput = z.object({\n to: z.string().describe(\"Recipient's email address\").optional(),\n from: z.string().describe(\"Sender's email address\").optional(),\n html: z.string().describe(\"HTML content to parse. At least one of html or text must be provided. If both are provided, HTML takes precedence.\").optional(),\n meta: z.record(z.string(), z.unknown()).describe(\"Additional payload data as key-value pairs\").optional(),\n name: z.string().describe(\"Document's name or subject line for emails\"),\n text: z.string().describe(\"Text content to parse. At least one of html or text must be provided.\").optional(),\n mailbox_id: z.string().describe(\"The unique identifier of the mailbox where the document will be processed\"),\n}).describe(\"Request model for creating and parsing HTML or text documents.\");\nexport const ParsioIoCreateHtmlTextDocumentOutput = z.object({\n _id: z.string().describe(\"Unique identifier for the created document\").nullable().optional(),\n status: z.string().describe(\"Status of the document processing\").nullable().optional(),\n message: z.string().describe(\"Additional message or information about the document creation\").nullable().optional(),\n}).passthrough().describe(\"Response schema for creating HTML or text documents.\");\n\nexport const parsioIoCreateHtmlTextDocument = action(\"PARSIO_IO_CREATE_HTML_TEXT_DOCUMENT\", {\n slug: \"parsio_io-create-html-text-document\",\n name: \"Create HTML/Text Document\",\n description: \"Tool to create and parse HTML or text documents via API. Use when you need to submit HTML or text content to a Parsio mailbox for data extraction. At least one of html or text must be provided.\",\n input: ParsioIoCreateHtmlTextDocumentInput,\n output: ParsioIoCreateHtmlTextDocumentOutput,\n});\n"],"mappings":";;AAmBA,MAAa,iCAAiC,OAAO,uCAAuC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBiD,EAAE,OAAO;EAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;EACzJ,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACxG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;EAC5G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;CAC7G,CAAC,CAAC,CAAC,SAAS,gEAWH;CACP,QAXkD,EAAE,OAAO;EAC3D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAOhB;AACV,CAAC"}
@@ -6,7 +6,7 @@ const ParsioIoCreateMailboxOutput = zod.z.object({
6
6
  _id: zod.z.string().describe("Unique identifier of the created mailbox").nullable().optional(),
7
7
  name: zod.z.string().describe("Name of the created mailbox").nullable().optional(),
8
8
  email: zod.z.string().describe("Email address assigned to the mailbox for receiving emails").nullable().optional()
9
- }).describe("Response schema for mailbox creation.");
9
+ }).passthrough().describe("Response schema for mailbox creation.");
10
10
  const parsioIoCreateMailbox = require_action.action("PARSIO_IO_CREATE_MAILBOX", {
11
11
  slug: "parsio_io-create-mailbox",
12
12
  name: "Create Mailbox",
@@ -1 +1 @@
1
- {"version":3,"file":"create-mailbox.cjs","names":["z","action"],"sources":["../../src/actions/create-mailbox.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParsioIoCreateMailboxInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The name to assign to the new mailbox\"),\n}).describe(\"Request model for creating a new mailbox.\");\nexport const ParsioIoCreateMailboxOutput: z.ZodTypeAny = z.object({\n _id: z.string().describe(\"Unique identifier of the created mailbox\").nullable().optional(),\n name: z.string().describe(\"Name of the created mailbox\").nullable().optional(),\n email: z.string().describe(\"Email address assigned to the mailbox for receiving emails\").nullable().optional(),\n}).describe(\"Response schema for mailbox creation.\");\n\nexport const parsioIoCreateMailbox = action(\"PARSIO_IO_CREATE_MAILBOX\", {\n slug: \"parsio_io-create-mailbox\",\n name: \"Create Mailbox\",\n description: \"Tool to create a new mailbox with a specified name. Use when you need to set up a new mailbox for email parsing in Parsio.\",\n input: ParsioIoCreateMailboxInput,\n output: ParsioIoCreateMailboxOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2CA,IAAAA,EAAE,OAAO,EAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,EACnE,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,SAAS,uCAAuC;AAEnD,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-mailbox.cjs","names":["z","action"],"sources":["../../src/actions/create-mailbox.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParsioIoCreateMailboxInput = z.object({\n name: z.string().describe(\"The name to assign to the new mailbox\"),\n}).describe(\"Request model for creating a new mailbox.\");\nexport const ParsioIoCreateMailboxOutput = z.object({\n _id: z.string().describe(\"Unique identifier of the created mailbox\").nullable().optional(),\n name: z.string().describe(\"Name of the created mailbox\").nullable().optional(),\n email: z.string().describe(\"Email address assigned to the mailbox for receiving emails\").nullable().optional(),\n}).passthrough().describe(\"Response schema for mailbox creation.\");\n\nexport const parsioIoCreateMailbox = action(\"PARSIO_IO_CREATE_MAILBOX\", {\n slug: \"parsio_io-create-mailbox\",\n name: \"Create Mailbox\",\n description: \"Tool to create a new mailbox with a specified name. Use when you need to set up a new mailbox for email parsing in Parsio.\",\n input: ParsioIoCreateMailboxInput,\n output: ParsioIoCreateMailboxOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,EACnE,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAEjE,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,17 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-mailbox.d.ts
4
- declare const ParsioIoCreateMailboxInput: z.ZodTypeAny;
5
- declare const ParsioIoCreateMailboxOutput: z.ZodTypeAny;
6
- declare const parsioIoCreateMailbox: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ParsioIoCreateMailboxInput: z.ZodObject<{
5
+ name: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const ParsioIoCreateMailboxOutput: z.ZodObject<{
8
+ _id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ }, z.core.$loose>;
12
+ declare const parsioIoCreateMailbox: import("@keystrokehq/action").WorkflowActionDefinition<{
13
+ name: string;
14
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
15
  //#endregion
8
16
  export { parsioIoCreateMailbox };
9
17
  //# sourceMappingURL=create-mailbox.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-mailbox.d.cts","names":[],"sources":["../../src/actions/create-mailbox.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAEa;AAAA,cAC3C,2BAAA,EAA6B,CAAA,CAAE,UAIQ;AAAA,cAEvC,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-mailbox.d.cts","names":[],"sources":["../../src/actions/create-mailbox.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAG1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;cAM3B,qBAAA,gCAAqB,wBAAA"}
@@ -1,9 +1,17 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-mailbox.d.ts
4
- declare const ParsioIoCreateMailboxInput: z.ZodTypeAny;
5
- declare const ParsioIoCreateMailboxOutput: z.ZodTypeAny;
6
- declare const parsioIoCreateMailbox: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ParsioIoCreateMailboxInput: z.ZodObject<{
5
+ name: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const ParsioIoCreateMailboxOutput: z.ZodObject<{
8
+ _id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ }, z.core.$loose>;
12
+ declare const parsioIoCreateMailbox: import("@keystrokehq/action").WorkflowActionDefinition<{
13
+ name: string;
14
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
15
  //#endregion
8
16
  export { parsioIoCreateMailbox };
9
17
  //# sourceMappingURL=create-mailbox.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-mailbox.d.mts","names":[],"sources":["../../src/actions/create-mailbox.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAEa;AAAA,cAC3C,2BAAA,EAA6B,CAAA,CAAE,UAIQ;AAAA,cAEvC,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-mailbox.d.mts","names":[],"sources":["../../src/actions/create-mailbox.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAG1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;cAM3B,qBAAA,gCAAqB,wBAAA"}
@@ -9,7 +9,7 @@ const parsioIoCreateMailbox = action("PARSIO_IO_CREATE_MAILBOX", {
9
9
  _id: z.string().describe("Unique identifier of the created mailbox").nullable().optional(),
10
10
  name: z.string().describe("Name of the created mailbox").nullable().optional(),
11
11
  email: z.string().describe("Email address assigned to the mailbox for receiving emails").nullable().optional()
12
- }).describe("Response schema for mailbox creation.")
12
+ }).passthrough().describe("Response schema for mailbox creation.")
13
13
  });
14
14
  //#endregion
15
15
  export { parsioIoCreateMailbox };
@@ -1 +1 @@
1
- {"version":3,"file":"create-mailbox.mjs","names":[],"sources":["../../src/actions/create-mailbox.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParsioIoCreateMailboxInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The name to assign to the new mailbox\"),\n}).describe(\"Request model for creating a new mailbox.\");\nexport const ParsioIoCreateMailboxOutput: z.ZodTypeAny = z.object({\n _id: z.string().describe(\"Unique identifier of the created mailbox\").nullable().optional(),\n name: z.string().describe(\"Name of the created mailbox\").nullable().optional(),\n email: z.string().describe(\"Email address assigned to the mailbox for receiving emails\").nullable().optional(),\n}).describe(\"Response schema for mailbox creation.\");\n\nexport const parsioIoCreateMailbox = action(\"PARSIO_IO_CREATE_MAILBOX\", {\n slug: \"parsio_io-create-mailbox\",\n name: \"Create Mailbox\",\n description: \"Tool to create a new mailbox with a specified name. Use when you need to set up a new mailbox for email parsing in Parsio.\",\n input: ParsioIoCreateMailboxInput,\n output: ParsioIoCreateMailboxOutput,\n});\n"],"mappings":";;AAaA,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbsD,EAAE,OAAO,EAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,EACnE,CAAC,CAAC,CAAC,SAAS,2CAWH;CACP,QAXuD,EAAE,OAAO;EAChE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,CAAC,CAAC,CAAC,SAAS,uCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-mailbox.mjs","names":[],"sources":["../../src/actions/create-mailbox.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParsioIoCreateMailboxInput = z.object({\n name: z.string().describe(\"The name to assign to the new mailbox\"),\n}).describe(\"Request model for creating a new mailbox.\");\nexport const ParsioIoCreateMailboxOutput = z.object({\n _id: z.string().describe(\"Unique identifier of the created mailbox\").nullable().optional(),\n name: z.string().describe(\"Name of the created mailbox\").nullable().optional(),\n email: z.string().describe(\"Email address assigned to the mailbox for receiving emails\").nullable().optional(),\n}).passthrough().describe(\"Response schema for mailbox creation.\");\n\nexport const parsioIoCreateMailbox = action(\"PARSIO_IO_CREATE_MAILBOX\", {\n slug: \"parsio_io-create-mailbox\",\n name: \"Create Mailbox\",\n description: \"Tool to create a new mailbox with a specified name. Use when you need to set up a new mailbox for email parsing in Parsio.\",\n input: ParsioIoCreateMailboxInput,\n output: ParsioIoCreateMailboxOutput,\n});\n"],"mappings":";;AAaA,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbwC,EAAE,OAAO,EACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,EACnE,CAAC,CAAC,CAAC,SAAS,2CAWH;CACP,QAXyC,EAAE,OAAO;EAClD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAOhB;AACV,CAAC"}
@@ -22,7 +22,7 @@ const ParsioIoCreateWebhookOutput = zod.z.object({
22
22
  table_id: zod.z.string().describe("Table ID if the webhook is for table.parsed events.").nullable().optional(),
23
23
  created_at: zod.z.string().describe("ISO 8601 timestamp when the webhook was created.").nullable().optional(),
24
24
  mailbox_id: zod.z.string().describe("The mailbox ID this webhook is attached to.").nullable().optional()
25
- }).describe("Response schema for webhook creation.\n\nThe API documentation does not specify the exact response structure.\nThis model captures common webhook creation response fields.");
25
+ }).passthrough().describe("Response schema for webhook creation.\n\nThe API documentation does not specify the exact response structure.\nThis model captures common webhook creation response fields.");
26
26
  const parsioIoCreateWebhook = require_action.action("PARSIO_IO_CREATE_WEBHOOK", {
27
27
  slug: "parsio_io-create-webhook",
28
28
  name: "Create Webhook",
@@ -1 +1 @@
1
- {"version":3,"file":"create-webhook.cjs","names":["z","action"],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParsioIoCreateWebhookInput: z.ZodTypeAny = z.object({\n url: z.string().describe(\"The webhook URL where events will be sent. Must be a valid HTTPS URL.\"),\n event: z.enum([\"doc.parsed\", \"doc.parsed.flat\", \"doc.fail\", \"doc.received\", \"table.parsed\"]).describe(\"Trigger event type for the webhook. Accepted values: 'doc.parsed' for parsed documents, 'doc.parsed.flat' for flat parsed data, 'doc.fail' for failed documents, 'doc.received' for received documents, 'table.parsed' for parsed tables (requires table_id).\"),\n enabled: z.boolean().describe(\"Whether the webhook is active and should trigger on events.\"),\n table_id: z.string().describe(\"Table ID identifier. Required only when event is 'table.parsed'. Leave empty or omit for other event types.\").optional(),\n mailbox_id: z.string().describe(\"The unique identifier of the mailbox to attach the webhook to.\"),\n}).describe(\"Request model for creating a new webhook for a mailbox.\\n\\nRequired fields: mailbox_id, url, event, enabled\\nOptional fields: table_id (required only for 'table.parsed' events)\");\nexport const ParsioIoCreateWebhookOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the created webhook.\").nullable().optional(),\n url: z.string().describe(\"The webhook URL that was registered.\").nullable().optional(),\n event: z.string().describe(\"The event type that triggers this webhook.\").nullable().optional(),\n enabled: z.boolean().describe(\"Whether the webhook is currently active.\").nullable().optional(),\n table_id: z.string().describe(\"Table ID if the webhook is for table.parsed events.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the webhook was created.\").nullable().optional(),\n mailbox_id: z.string().describe(\"The mailbox ID this webhook is attached to.\").nullable().optional(),\n}).describe(\"Response schema for webhook creation.\\n\\nThe API documentation does not specify the exact response structure.\\nThis model captures common webhook creation response fields.\");\n\nexport const parsioIoCreateWebhook = action(\"PARSIO_IO_CREATE_WEBHOOK\", {\n slug: \"parsio_io-create-webhook\",\n name: \"Create Webhook\",\n description: \"Tool to create a new webhook for a mailbox with specified URL, event trigger, and settings. Use when you need to register a webhook endpoint to receive automated notifications for mailbox events.\",\n input: ParsioIoCreateWebhookInput,\n output: ParsioIoCreateWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CAChG,OAAOA,IAAAA,EAAE,KAAK;EAAC;EAAc;EAAmB;EAAY;EAAgB;CAAc,CAAC,CAAC,CAAC,SAAS,+PAA+P;CACrW,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D;CAC3F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CACtJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;AAClG,CAAC,CAAC,CAAC,SAAS,kLAAkL;AAC9L,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,SAAS,6KAA6K;AAEzL,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-webhook.cjs","names":["z","action"],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParsioIoCreateWebhookInput = z.object({\n url: z.string().describe(\"The webhook URL where events will be sent. Must be a valid HTTPS URL.\"),\n event: z.enum([\"doc.parsed\", \"doc.parsed.flat\", \"doc.fail\", \"doc.received\", \"table.parsed\"]).describe(\"Trigger event type for the webhook. Accepted values: 'doc.parsed' for parsed documents, 'doc.parsed.flat' for flat parsed data, 'doc.fail' for failed documents, 'doc.received' for received documents, 'table.parsed' for parsed tables (requires table_id).\"),\n enabled: z.boolean().describe(\"Whether the webhook is active and should trigger on events.\"),\n table_id: z.string().describe(\"Table ID identifier. Required only when event is 'table.parsed'. Leave empty or omit for other event types.\").optional(),\n mailbox_id: z.string().describe(\"The unique identifier of the mailbox to attach the webhook to.\"),\n}).describe(\"Request model for creating a new webhook for a mailbox.\\n\\nRequired fields: mailbox_id, url, event, enabled\\nOptional fields: table_id (required only for 'table.parsed' events)\");\nexport const ParsioIoCreateWebhookOutput = z.object({\n id: z.string().describe(\"Unique identifier of the created webhook.\").nullable().optional(),\n url: z.string().describe(\"The webhook URL that was registered.\").nullable().optional(),\n event: z.string().describe(\"The event type that triggers this webhook.\").nullable().optional(),\n enabled: z.boolean().describe(\"Whether the webhook is currently active.\").nullable().optional(),\n table_id: z.string().describe(\"Table ID if the webhook is for table.parsed events.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the webhook was created.\").nullable().optional(),\n mailbox_id: z.string().describe(\"The mailbox ID this webhook is attached to.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for webhook creation.\\n\\nThe API documentation does not specify the exact response structure.\\nThis model captures common webhook creation response fields.\");\n\nexport const parsioIoCreateWebhook = action(\"PARSIO_IO_CREATE_WEBHOOK\", {\n slug: \"parsio_io-create-webhook\",\n name: \"Create Webhook\",\n description: \"Tool to create a new webhook for a mailbox with specified URL, event trigger, and settings. Use when you need to register a webhook endpoint to receive automated notifications for mailbox events.\",\n input: ParsioIoCreateWebhookInput,\n output: ParsioIoCreateWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CAChG,OAAOA,IAAAA,EAAE,KAAK;EAAC;EAAc;EAAmB;EAAY;EAAgB;CAAc,CAAC,CAAC,CAAC,SAAS,+PAA+P;CACrW,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D;CAC3F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CACtJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;AAClG,CAAC,CAAC,CAAC,SAAS,kLAAkL;AAC9L,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6KAA6K;AAEvM,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,35 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-webhook.d.ts
4
- declare const ParsioIoCreateWebhookInput: z.ZodTypeAny;
5
- declare const ParsioIoCreateWebhookOutput: z.ZodTypeAny;
6
- declare const parsioIoCreateWebhook: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ParsioIoCreateWebhookInput: z.ZodObject<{
5
+ url: z.ZodString;
6
+ event: z.ZodEnum<{
7
+ "doc.parsed": "doc.parsed";
8
+ "doc.parsed.flat": "doc.parsed.flat";
9
+ "doc.fail": "doc.fail";
10
+ "doc.received": "doc.received";
11
+ "table.parsed": "table.parsed";
12
+ }>;
13
+ enabled: z.ZodBoolean;
14
+ table_id: z.ZodOptional<z.ZodString>;
15
+ mailbox_id: z.ZodString;
16
+ }, z.core.$strip>;
17
+ declare const ParsioIoCreateWebhookOutput: z.ZodObject<{
18
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ event: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ enabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
22
+ table_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ mailbox_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ }, z.core.$loose>;
26
+ declare const parsioIoCreateWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
27
+ url: string;
28
+ event: "doc.parsed" | "doc.parsed.flat" | "doc.fail" | "doc.received" | "table.parsed";
29
+ enabled: boolean;
30
+ mailbox_id: string;
31
+ table_id?: string | undefined;
32
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
33
  //#endregion
8
34
  export { parsioIoCreateWebhook };
9
35
  //# sourceMappingURL=create-webhook.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-webhook.d.cts","names":[],"sources":["../../src/actions/create-webhook.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAMoJ;AAAA,cAClL,2BAAA,EAA6B,CAAA,CAAE,UAQ8I;AAAA,cAE7K,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-webhook.d.cts","names":[],"sources":["../../src/actions/create-webhook.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAO1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;cAU3B,qBAAA,gCAAqB,wBAAA"}
@@ -1,9 +1,35 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-webhook.d.ts
4
- declare const ParsioIoCreateWebhookInput: z.ZodTypeAny;
5
- declare const ParsioIoCreateWebhookOutput: z.ZodTypeAny;
6
- declare const parsioIoCreateWebhook: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ParsioIoCreateWebhookInput: z.ZodObject<{
5
+ url: z.ZodString;
6
+ event: z.ZodEnum<{
7
+ "doc.parsed": "doc.parsed";
8
+ "doc.parsed.flat": "doc.parsed.flat";
9
+ "doc.fail": "doc.fail";
10
+ "doc.received": "doc.received";
11
+ "table.parsed": "table.parsed";
12
+ }>;
13
+ enabled: z.ZodBoolean;
14
+ table_id: z.ZodOptional<z.ZodString>;
15
+ mailbox_id: z.ZodString;
16
+ }, z.core.$strip>;
17
+ declare const ParsioIoCreateWebhookOutput: z.ZodObject<{
18
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ event: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ enabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
22
+ table_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ mailbox_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ }, z.core.$loose>;
26
+ declare const parsioIoCreateWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
27
+ url: string;
28
+ event: "doc.parsed" | "doc.parsed.flat" | "doc.fail" | "doc.received" | "table.parsed";
29
+ enabled: boolean;
30
+ mailbox_id: string;
31
+ table_id?: string | undefined;
32
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
33
  //#endregion
8
34
  export { parsioIoCreateWebhook };
9
35
  //# sourceMappingURL=create-webhook.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-webhook.d.mts","names":[],"sources":["../../src/actions/create-webhook.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAMoJ;AAAA,cAClL,2BAAA,EAA6B,CAAA,CAAE,UAQ8I;AAAA,cAE7K,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-webhook.d.mts","names":[],"sources":["../../src/actions/create-webhook.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAO1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;cAU3B,qBAAA,gCAAqB,wBAAA"}
@@ -25,7 +25,7 @@ const parsioIoCreateWebhook = action("PARSIO_IO_CREATE_WEBHOOK", {
25
25
  table_id: z.string().describe("Table ID if the webhook is for table.parsed events.").nullable().optional(),
26
26
  created_at: z.string().describe("ISO 8601 timestamp when the webhook was created.").nullable().optional(),
27
27
  mailbox_id: z.string().describe("The mailbox ID this webhook is attached to.").nullable().optional()
28
- }).describe("Response schema for webhook creation.\n\nThe API documentation does not specify the exact response structure.\nThis model captures common webhook creation response fields.")
28
+ }).passthrough().describe("Response schema for webhook creation.\n\nThe API documentation does not specify the exact response structure.\nThis model captures common webhook creation response fields.")
29
29
  });
30
30
  //#endregion
31
31
  export { parsioIoCreateWebhook };
@@ -1 +1 @@
1
- {"version":3,"file":"create-webhook.mjs","names":[],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParsioIoCreateWebhookInput: z.ZodTypeAny = z.object({\n url: z.string().describe(\"The webhook URL where events will be sent. Must be a valid HTTPS URL.\"),\n event: z.enum([\"doc.parsed\", \"doc.parsed.flat\", \"doc.fail\", \"doc.received\", \"table.parsed\"]).describe(\"Trigger event type for the webhook. Accepted values: 'doc.parsed' for parsed documents, 'doc.parsed.flat' for flat parsed data, 'doc.fail' for failed documents, 'doc.received' for received documents, 'table.parsed' for parsed tables (requires table_id).\"),\n enabled: z.boolean().describe(\"Whether the webhook is active and should trigger on events.\"),\n table_id: z.string().describe(\"Table ID identifier. Required only when event is 'table.parsed'. Leave empty or omit for other event types.\").optional(),\n mailbox_id: z.string().describe(\"The unique identifier of the mailbox to attach the webhook to.\"),\n}).describe(\"Request model for creating a new webhook for a mailbox.\\n\\nRequired fields: mailbox_id, url, event, enabled\\nOptional fields: table_id (required only for 'table.parsed' events)\");\nexport const ParsioIoCreateWebhookOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the created webhook.\").nullable().optional(),\n url: z.string().describe(\"The webhook URL that was registered.\").nullable().optional(),\n event: z.string().describe(\"The event type that triggers this webhook.\").nullable().optional(),\n enabled: z.boolean().describe(\"Whether the webhook is currently active.\").nullable().optional(),\n table_id: z.string().describe(\"Table ID if the webhook is for table.parsed events.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the webhook was created.\").nullable().optional(),\n mailbox_id: z.string().describe(\"The mailbox ID this webhook is attached to.\").nullable().optional(),\n}).describe(\"Response schema for webhook creation.\\n\\nThe API documentation does not specify the exact response structure.\\nThis model captures common webhook creation response fields.\");\n\nexport const parsioIoCreateWebhook = action(\"PARSIO_IO_CREATE_WEBHOOK\", {\n slug: \"parsio_io-create-webhook\",\n name: \"Create Webhook\",\n description: \"Tool to create a new webhook for a mailbox with specified URL, event trigger, and settings. Use when you need to register a webhook endpoint to receive automated notifications for mailbox events.\",\n input: ParsioIoCreateWebhookInput,\n output: ParsioIoCreateWebhookOutput,\n});\n"],"mappings":";;AAqBA,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArBsD,EAAE,OAAO;EAC/D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;EAChG,OAAO,EAAE,KAAK;GAAC;GAAc;GAAmB;GAAY;GAAgB;EAAc,CAAC,CAAC,CAAC,SAAS,+PAA+P;EACrW,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D;EAC3F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;EACtJ,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;CAClG,CAAC,CAAC,CAAC,SAAS,kLAeH;CACP,QAfuD,EAAE,OAAO;EAChE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,CAAC,CAAC,CAAC,SAAS,6KAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-webhook.mjs","names":[],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParsioIoCreateWebhookInput = z.object({\n url: z.string().describe(\"The webhook URL where events will be sent. Must be a valid HTTPS URL.\"),\n event: z.enum([\"doc.parsed\", \"doc.parsed.flat\", \"doc.fail\", \"doc.received\", \"table.parsed\"]).describe(\"Trigger event type for the webhook. Accepted values: 'doc.parsed' for parsed documents, 'doc.parsed.flat' for flat parsed data, 'doc.fail' for failed documents, 'doc.received' for received documents, 'table.parsed' for parsed tables (requires table_id).\"),\n enabled: z.boolean().describe(\"Whether the webhook is active and should trigger on events.\"),\n table_id: z.string().describe(\"Table ID identifier. Required only when event is 'table.parsed'. Leave empty or omit for other event types.\").optional(),\n mailbox_id: z.string().describe(\"The unique identifier of the mailbox to attach the webhook to.\"),\n}).describe(\"Request model for creating a new webhook for a mailbox.\\n\\nRequired fields: mailbox_id, url, event, enabled\\nOptional fields: table_id (required only for 'table.parsed' events)\");\nexport const ParsioIoCreateWebhookOutput = z.object({\n id: z.string().describe(\"Unique identifier of the created webhook.\").nullable().optional(),\n url: z.string().describe(\"The webhook URL that was registered.\").nullable().optional(),\n event: z.string().describe(\"The event type that triggers this webhook.\").nullable().optional(),\n enabled: z.boolean().describe(\"Whether the webhook is currently active.\").nullable().optional(),\n table_id: z.string().describe(\"Table ID if the webhook is for table.parsed events.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the webhook was created.\").nullable().optional(),\n mailbox_id: z.string().describe(\"The mailbox ID this webhook is attached to.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for webhook creation.\\n\\nThe API documentation does not specify the exact response structure.\\nThis model captures common webhook creation response fields.\");\n\nexport const parsioIoCreateWebhook = action(\"PARSIO_IO_CREATE_WEBHOOK\", {\n slug: \"parsio_io-create-webhook\",\n name: \"Create Webhook\",\n description: \"Tool to create a new webhook for a mailbox with specified URL, event trigger, and settings. Use when you need to register a webhook endpoint to receive automated notifications for mailbox events.\",\n input: ParsioIoCreateWebhookInput,\n output: ParsioIoCreateWebhookOutput,\n});\n"],"mappings":";;AAqBA,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArBwC,EAAE,OAAO;EACjD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;EAChG,OAAO,EAAE,KAAK;GAAC;GAAc;GAAmB;GAAY;GAAgB;EAAc,CAAC,CAAC,CAAC,SAAS,+PAA+P;EACrW,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D;EAC3F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;EACtJ,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;CAClG,CAAC,CAAC,CAAC,SAAS,kLAeH;CACP,QAfyC,EAAE,OAAO;EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6KAOhB;AACV,CAAC"}
@@ -5,7 +5,7 @@ const ParsioIoDeleteMailboxInput = zod.z.object({ mailbox_id: zod.z.string().des
5
5
  const ParsioIoDeleteMailboxOutput = zod.z.object({
6
6
  message: zod.z.string().describe("Additional information about the deletion result").nullable().optional(),
7
7
  success: zod.z.boolean().describe("Indicates whether the mailbox was successfully deleted").nullable().optional()
8
- }).describe("Response schema for the delete mailbox action.");
8
+ }).passthrough().describe("Response schema for the delete mailbox action.");
9
9
  const parsioIoDeleteMailbox = require_action.action("PARSIO_IO_DELETE_MAILBOX", {
10
10
  slug: "parsio_io-delete-mailbox",
11
11
  name: "Delete Mailbox",
@@ -1 +1 @@
1
- {"version":3,"file":"delete-mailbox.cjs","names":["z","action"],"sources":["../../src/actions/delete-mailbox.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParsioIoDeleteMailboxInput: z.ZodTypeAny = z.object({\n mailbox_id: z.string().describe(\"Unique identifier of the mailbox to delete\"),\n}).describe(\"Request model for deleting a mailbox by its unique identifier.\");\nexport const ParsioIoDeleteMailboxOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Additional information about the deletion result\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the mailbox was successfully deleted\").nullable().optional(),\n}).describe(\"Response schema for the delete mailbox action.\");\n\nexport const parsioIoDeleteMailbox = action(\"PARSIO_IO_DELETE_MAILBOX\", {\n slug: \"parsio_io-delete-mailbox\",\n name: \"Delete Mailbox\",\n description: \"Tool to delete a specific mailbox from your Parsio account. Use when you need to permanently remove a mailbox.\",\n input: ParsioIoDeleteMailboxInput,\n output: ParsioIoDeleteMailboxOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2CA,IAAAA,EAAE,OAAO,EAC/D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,EAC9E,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAE5D,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-mailbox.cjs","names":["z","action"],"sources":["../../src/actions/delete-mailbox.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParsioIoDeleteMailboxInput = z.object({\n mailbox_id: z.string().describe(\"Unique identifier of the mailbox to delete\"),\n}).describe(\"Request model for deleting a mailbox by its unique identifier.\");\nexport const ParsioIoDeleteMailboxOutput = z.object({\n message: z.string().describe(\"Additional information about the deletion result\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the mailbox was successfully deleted\").nullable().optional(),\n}).passthrough().describe(\"Response schema for the delete mailbox action.\");\n\nexport const parsioIoDeleteMailbox = action(\"PARSIO_IO_DELETE_MAILBOX\", {\n slug: \"parsio_io-delete-mailbox\",\n name: \"Delete Mailbox\",\n description: \"Tool to delete a specific mailbox from your Parsio account. Use when you need to permanently remove a mailbox.\",\n input: ParsioIoDeleteMailboxInput,\n output: ParsioIoDeleteMailboxOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,EAC9E,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,16 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-mailbox.d.ts
4
- declare const ParsioIoDeleteMailboxInput: z.ZodTypeAny;
5
- declare const ParsioIoDeleteMailboxOutput: z.ZodTypeAny;
6
- declare const parsioIoDeleteMailbox: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ParsioIoDeleteMailboxInput: z.ZodObject<{
5
+ mailbox_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const ParsioIoDeleteMailboxOutput: z.ZodObject<{
8
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
10
+ }, z.core.$loose>;
11
+ declare const parsioIoDeleteMailbox: import("@keystrokehq/action").WorkflowActionDefinition<{
12
+ mailbox_id: string;
13
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
14
  //#endregion
8
15
  export { parsioIoDeleteMailbox };
9
16
  //# sourceMappingURL=delete-mailbox.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-mailbox.d.cts","names":[],"sources":["../../src/actions/delete-mailbox.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAEkC;AAAA,cAChE,2BAAA,EAA6B,CAAA,CAAE,UAGiB;AAAA,cAEhD,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-mailbox.d.cts","names":[],"sources":["../../src/actions/delete-mailbox.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAG1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAK3B,qBAAA,gCAAqB,wBAAA"}
@@ -1,9 +1,16 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-mailbox.d.ts
4
- declare const ParsioIoDeleteMailboxInput: z.ZodTypeAny;
5
- declare const ParsioIoDeleteMailboxOutput: z.ZodTypeAny;
6
- declare const parsioIoDeleteMailbox: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ParsioIoDeleteMailboxInput: z.ZodObject<{
5
+ mailbox_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const ParsioIoDeleteMailboxOutput: z.ZodObject<{
8
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
10
+ }, z.core.$loose>;
11
+ declare const parsioIoDeleteMailbox: import("@keystrokehq/action").WorkflowActionDefinition<{
12
+ mailbox_id: string;
13
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
14
  //#endregion
8
15
  export { parsioIoDeleteMailbox };
9
16
  //# sourceMappingURL=delete-mailbox.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-mailbox.d.mts","names":[],"sources":["../../src/actions/delete-mailbox.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAEkC;AAAA,cAChE,2BAAA,EAA6B,CAAA,CAAE,UAGiB;AAAA,cAEhD,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-mailbox.d.mts","names":[],"sources":["../../src/actions/delete-mailbox.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAG1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAK3B,qBAAA,gCAAqB,wBAAA"}
@@ -8,7 +8,7 @@ const parsioIoDeleteMailbox = action("PARSIO_IO_DELETE_MAILBOX", {
8
8
  output: z.object({
9
9
  message: z.string().describe("Additional information about the deletion result").nullable().optional(),
10
10
  success: z.boolean().describe("Indicates whether the mailbox was successfully deleted").nullable().optional()
11
- }).describe("Response schema for the delete mailbox action.")
11
+ }).passthrough().describe("Response schema for the delete mailbox action.")
12
12
  });
13
13
  //#endregion
14
14
  export { parsioIoDeleteMailbox };
@@ -1 +1 @@
1
- {"version":3,"file":"delete-mailbox.mjs","names":[],"sources":["../../src/actions/delete-mailbox.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParsioIoDeleteMailboxInput: z.ZodTypeAny = z.object({\n mailbox_id: z.string().describe(\"Unique identifier of the mailbox to delete\"),\n}).describe(\"Request model for deleting a mailbox by its unique identifier.\");\nexport const ParsioIoDeleteMailboxOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Additional information about the deletion result\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the mailbox was successfully deleted\").nullable().optional(),\n}).describe(\"Response schema for the delete mailbox action.\");\n\nexport const parsioIoDeleteMailbox = action(\"PARSIO_IO_DELETE_MAILBOX\", {\n slug: \"parsio_io-delete-mailbox\",\n name: \"Delete Mailbox\",\n description: \"Tool to delete a specific mailbox from your Parsio account. Use when you need to permanently remove a mailbox.\",\n input: ParsioIoDeleteMailboxInput,\n output: ParsioIoDeleteMailboxOutput,\n});\n"],"mappings":";;AAYA,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZsD,EAAE,OAAO,EAC/D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,EAC9E,CAAC,CAAC,CAAC,SAAS,gEAUH;CACP,QAVuD,EAAE,OAAO;EAChE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"delete-mailbox.mjs","names":[],"sources":["../../src/actions/delete-mailbox.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParsioIoDeleteMailboxInput = z.object({\n mailbox_id: z.string().describe(\"Unique identifier of the mailbox to delete\"),\n}).describe(\"Request model for deleting a mailbox by its unique identifier.\");\nexport const ParsioIoDeleteMailboxOutput = z.object({\n message: z.string().describe(\"Additional information about the deletion result\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the mailbox was successfully deleted\").nullable().optional(),\n}).passthrough().describe(\"Response schema for the delete mailbox action.\");\n\nexport const parsioIoDeleteMailbox = action(\"PARSIO_IO_DELETE_MAILBOX\", {\n slug: \"parsio_io-delete-mailbox\",\n name: \"Delete Mailbox\",\n description: \"Tool to delete a specific mailbox from your Parsio account. Use when you need to permanently remove a mailbox.\",\n input: ParsioIoDeleteMailboxInput,\n output: ParsioIoDeleteMailboxOutput,\n});\n"],"mappings":";;AAYA,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZwC,EAAE,OAAO,EACjD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,EAC9E,CAAC,CAAC,CAAC,SAAS,gEAUH;CACP,QAVyC,EAAE,OAAO;EAClD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAOhB;AACV,CAAC"}
@@ -5,7 +5,7 @@ const ParsioIoDeleteTemplatesInput = zod.z.object({ ids: zod.z.array(zod.z.strin
5
5
  const ParsioIoDeleteTemplatesOutput = zod.z.object({
6
6
  message: zod.z.string().describe("Message providing details about the deletion result").nullable().optional(),
7
7
  success: zod.z.boolean().describe("Indicates whether the deletion operation was successful").nullable().optional()
8
- }).describe("Response model for delete templates operation.");
8
+ }).passthrough().describe("Response model for delete templates operation.");
9
9
  const parsioIoDeleteTemplates = require_action.action("PARSIO_IO_DELETE_TEMPLATES", {
10
10
  slug: "parsio_io-delete-templates",
11
11
  name: "Delete Templates",
@@ -1 +1 @@
1
- {"version":3,"file":"delete-templates.cjs","names":["z","action"],"sources":["../../src/actions/delete-templates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParsioIoDeleteTemplatesInput: z.ZodTypeAny = z.object({\n ids: z.array(z.string()).describe(\"Array of template IDs to delete. Collection of template identifiers to be removed from the mailbox.\"),\n}).describe(\"Request model for deleting multiple templates by their IDs.\");\nexport const ParsioIoDeleteTemplatesOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Message providing details about the deletion result\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the deletion operation was successful\").nullable().optional(),\n}).describe(\"Response model for delete templates operation.\");\n\nexport const parsioIoDeleteTemplates = action(\"PARSIO_IO_DELETE_TEMPLATES\", {\n slug: \"parsio_io-delete-templates\",\n name: \"Delete Templates\",\n description: \"Tool to delete multiple templates by providing an array of template IDs. Use when you need to remove one or more templates from a mailbox.\",\n input: ParsioIoDeleteTemplatesInput,\n output: ParsioIoDeleteTemplatesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6CA,IAAAA,EAAE,OAAO,EACjE,KAAKA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qGAAqG,EACzI,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAE5D,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-templates.cjs","names":["z","action"],"sources":["../../src/actions/delete-templates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParsioIoDeleteTemplatesInput = z.object({\n ids: z.array(z.string()).describe(\"Array of template IDs to delete. Collection of template identifiers to be removed from the mailbox.\"),\n}).describe(\"Request model for deleting multiple templates by their IDs.\");\nexport const ParsioIoDeleteTemplatesOutput = z.object({\n message: z.string().describe(\"Message providing details about the deletion result\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the deletion operation was successful\").nullable().optional(),\n}).passthrough().describe(\"Response model for delete templates operation.\");\n\nexport const parsioIoDeleteTemplates = action(\"PARSIO_IO_DELETE_TEMPLATES\", {\n slug: \"parsio_io-delete-templates\",\n name: \"Delete Templates\",\n description: \"Tool to delete multiple templates by providing an array of template IDs. Use when you need to remove one or more templates from a mailbox.\",\n input: ParsioIoDeleteTemplatesInput,\n output: ParsioIoDeleteTemplatesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,KAAKA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qGAAqG,EACzI,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,16 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-templates.d.ts
4
- declare const ParsioIoDeleteTemplatesInput: z.ZodTypeAny;
5
- declare const ParsioIoDeleteTemplatesOutput: z.ZodTypeAny;
6
- declare const parsioIoDeleteTemplates: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ParsioIoDeleteTemplatesInput: z.ZodObject<{
5
+ ids: z.ZodArray<z.ZodString>;
6
+ }, z.core.$strip>;
7
+ declare const ParsioIoDeleteTemplatesOutput: z.ZodObject<{
8
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
10
+ }, z.core.$loose>;
11
+ declare const parsioIoDeleteTemplates: import("@keystrokehq/action").WorkflowActionDefinition<{
12
+ ids: string[];
13
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
14
  //#endregion
8
15
  export { parsioIoDeleteTemplates };
9
16
  //# sourceMappingURL=delete-templates.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-templates.d.cts","names":[],"sources":["../../src/actions/delete-templates.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAE6B;AAAA,cAC7D,6BAAA,EAA+B,CAAA,CAAE,UAGe;AAAA,cAEhD,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-templates.d.cts","names":[],"sources":["../../src/actions/delete-templates.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAG5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAK7B,uBAAA,gCAAuB,wBAAA"}