@keystrokehq/parsio_io 0.1.4 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (205) 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 +1 -0
  4. package/dist/actions/create-html-text-document.cjs.map +1 -1
  5. package/dist/actions/create-html-text-document.d.cts +3 -9
  6. package/dist/actions/create-html-text-document.d.cts.map +1 -1
  7. package/dist/actions/create-html-text-document.d.mts +3 -9
  8. package/dist/actions/create-html-text-document.d.mts.map +1 -1
  9. package/dist/actions/create-html-text-document.mjs +1 -0
  10. package/dist/actions/create-html-text-document.mjs.map +1 -1
  11. package/dist/actions/create-mailbox.cjs +1 -0
  12. package/dist/actions/create-mailbox.cjs.map +1 -1
  13. package/dist/actions/create-mailbox.d.cts +3 -3
  14. package/dist/actions/create-mailbox.d.cts.map +1 -1
  15. package/dist/actions/create-mailbox.d.mts +3 -3
  16. package/dist/actions/create-mailbox.d.mts.map +1 -1
  17. package/dist/actions/create-mailbox.mjs +1 -0
  18. package/dist/actions/create-mailbox.mjs.map +1 -1
  19. package/dist/actions/create-webhook.cjs +1 -0
  20. package/dist/actions/create-webhook.cjs.map +1 -1
  21. package/dist/actions/create-webhook.d.cts +3 -7
  22. package/dist/actions/create-webhook.d.cts.map +1 -1
  23. package/dist/actions/create-webhook.d.mts +3 -7
  24. package/dist/actions/create-webhook.d.mts.map +1 -1
  25. package/dist/actions/create-webhook.mjs +1 -0
  26. package/dist/actions/create-webhook.mjs.map +1 -1
  27. package/dist/actions/delete-mailbox.cjs +1 -0
  28. package/dist/actions/delete-mailbox.cjs.map +1 -1
  29. package/dist/actions/delete-mailbox.d.cts +3 -3
  30. package/dist/actions/delete-mailbox.d.cts.map +1 -1
  31. package/dist/actions/delete-mailbox.d.mts +3 -3
  32. package/dist/actions/delete-mailbox.d.mts.map +1 -1
  33. package/dist/actions/delete-mailbox.mjs +1 -0
  34. package/dist/actions/delete-mailbox.mjs.map +1 -1
  35. package/dist/actions/delete-templates.cjs +1 -0
  36. package/dist/actions/delete-templates.cjs.map +1 -1
  37. package/dist/actions/delete-templates.d.cts +3 -3
  38. package/dist/actions/delete-templates.d.cts.map +1 -1
  39. package/dist/actions/delete-templates.d.mts +3 -3
  40. package/dist/actions/delete-templates.d.mts.map +1 -1
  41. package/dist/actions/delete-templates.mjs +1 -0
  42. package/dist/actions/delete-templates.mjs.map +1 -1
  43. package/dist/actions/delete-webhooks.cjs +1 -0
  44. package/dist/actions/delete-webhooks.cjs.map +1 -1
  45. package/dist/actions/delete-webhooks.d.cts +3 -3
  46. package/dist/actions/delete-webhooks.d.cts.map +1 -1
  47. package/dist/actions/delete-webhooks.d.mts +3 -3
  48. package/dist/actions/delete-webhooks.d.mts.map +1 -1
  49. package/dist/actions/delete-webhooks.mjs +1 -0
  50. package/dist/actions/delete-webhooks.mjs.map +1 -1
  51. package/dist/actions/disable-templates.cjs +1 -0
  52. package/dist/actions/disable-templates.cjs.map +1 -1
  53. package/dist/actions/disable-templates.d.cts +3 -3
  54. package/dist/actions/disable-templates.d.cts.map +1 -1
  55. package/dist/actions/disable-templates.d.mts +3 -3
  56. package/dist/actions/disable-templates.d.mts.map +1 -1
  57. package/dist/actions/disable-templates.mjs +1 -0
  58. package/dist/actions/disable-templates.mjs.map +1 -1
  59. package/dist/actions/enable-templates.cjs +1 -0
  60. package/dist/actions/enable-templates.cjs.map +1 -1
  61. package/dist/actions/enable-templates.d.cts +3 -3
  62. package/dist/actions/enable-templates.d.cts.map +1 -1
  63. package/dist/actions/enable-templates.d.mts +3 -3
  64. package/dist/actions/enable-templates.d.mts.map +1 -1
  65. package/dist/actions/enable-templates.mjs +1 -0
  66. package/dist/actions/enable-templates.mjs.map +1 -1
  67. package/dist/actions/get-document.cjs +1 -0
  68. package/dist/actions/get-document.cjs.map +1 -1
  69. package/dist/actions/get-document.d.cts +3 -3
  70. package/dist/actions/get-document.d.cts.map +1 -1
  71. package/dist/actions/get-document.d.mts +3 -3
  72. package/dist/actions/get-document.d.mts.map +1 -1
  73. package/dist/actions/get-document.mjs +1 -0
  74. package/dist/actions/get-document.mjs.map +1 -1
  75. package/dist/actions/get-mailbox.cjs +1 -0
  76. package/dist/actions/get-mailbox.cjs.map +1 -1
  77. package/dist/actions/get-mailbox.d.cts +3 -3
  78. package/dist/actions/get-mailbox.d.cts.map +1 -1
  79. package/dist/actions/get-mailbox.d.mts +3 -3
  80. package/dist/actions/get-mailbox.d.mts.map +1 -1
  81. package/dist/actions/get-mailbox.mjs +1 -0
  82. package/dist/actions/get-mailbox.mjs.map +1 -1
  83. package/dist/actions/get-parsed-data.cjs +1 -0
  84. package/dist/actions/get-parsed-data.cjs.map +1 -1
  85. package/dist/actions/get-parsed-data.d.cts +3 -6
  86. package/dist/actions/get-parsed-data.d.cts.map +1 -1
  87. package/dist/actions/get-parsed-data.d.mts +3 -6
  88. package/dist/actions/get-parsed-data.d.mts.map +1 -1
  89. package/dist/actions/get-parsed-data.mjs +1 -0
  90. package/dist/actions/get-parsed-data.mjs.map +1 -1
  91. package/dist/actions/get-template.cjs +1 -0
  92. package/dist/actions/get-template.cjs.map +1 -1
  93. package/dist/actions/get-template.d.cts +3 -3
  94. package/dist/actions/get-template.d.cts.map +1 -1
  95. package/dist/actions/get-template.d.mts +3 -3
  96. package/dist/actions/get-template.d.mts.map +1 -1
  97. package/dist/actions/get-template.mjs +1 -0
  98. package/dist/actions/get-template.mjs.map +1 -1
  99. package/dist/actions/get-webhook.cjs +1 -0
  100. package/dist/actions/get-webhook.cjs.map +1 -1
  101. package/dist/actions/get-webhook.d.cts +3 -3
  102. package/dist/actions/get-webhook.d.cts.map +1 -1
  103. package/dist/actions/get-webhook.d.mts +3 -3
  104. package/dist/actions/get-webhook.d.mts.map +1 -1
  105. package/dist/actions/get-webhook.mjs +1 -0
  106. package/dist/actions/get-webhook.mjs.map +1 -1
  107. package/dist/actions/list-collected-emails.cjs +1 -0
  108. package/dist/actions/list-collected-emails.cjs.map +1 -1
  109. package/dist/actions/list-collected-emails.d.cts +3 -4
  110. package/dist/actions/list-collected-emails.d.cts.map +1 -1
  111. package/dist/actions/list-collected-emails.d.mts +3 -4
  112. package/dist/actions/list-collected-emails.d.mts.map +1 -1
  113. package/dist/actions/list-collected-emails.mjs +1 -0
  114. package/dist/actions/list-collected-emails.mjs.map +1 -1
  115. package/dist/actions/list-documents.cjs +1 -0
  116. package/dist/actions/list-documents.cjs.map +1 -1
  117. package/dist/actions/list-documents.d.cts +3 -8
  118. package/dist/actions/list-documents.d.cts.map +1 -1
  119. package/dist/actions/list-documents.d.mts +3 -8
  120. package/dist/actions/list-documents.d.mts.map +1 -1
  121. package/dist/actions/list-documents.mjs +1 -0
  122. package/dist/actions/list-documents.mjs.map +1 -1
  123. package/dist/actions/list-mailboxes.cjs +1 -0
  124. package/dist/actions/list-mailboxes.cjs.map +1 -1
  125. package/dist/actions/list-mailboxes.d.cts +3 -1
  126. package/dist/actions/list-mailboxes.d.cts.map +1 -1
  127. package/dist/actions/list-mailboxes.d.mts +3 -1
  128. package/dist/actions/list-mailboxes.d.mts.map +1 -1
  129. package/dist/actions/list-mailboxes.mjs +1 -0
  130. package/dist/actions/list-mailboxes.mjs.map +1 -1
  131. package/dist/actions/list-table-fields.cjs +1 -0
  132. package/dist/actions/list-table-fields.cjs.map +1 -1
  133. package/dist/actions/list-table-fields.d.cts +3 -3
  134. package/dist/actions/list-table-fields.d.cts.map +1 -1
  135. package/dist/actions/list-table-fields.d.mts +3 -3
  136. package/dist/actions/list-table-fields.d.mts.map +1 -1
  137. package/dist/actions/list-table-fields.mjs +1 -0
  138. package/dist/actions/list-table-fields.mjs.map +1 -1
  139. package/dist/actions/list-templates.cjs +1 -0
  140. package/dist/actions/list-templates.cjs.map +1 -1
  141. package/dist/actions/list-templates.d.cts +3 -4
  142. package/dist/actions/list-templates.d.cts.map +1 -1
  143. package/dist/actions/list-templates.d.mts +3 -4
  144. package/dist/actions/list-templates.d.mts.map +1 -1
  145. package/dist/actions/list-templates.mjs +1 -0
  146. package/dist/actions/list-templates.mjs.map +1 -1
  147. package/dist/actions/list-webhooks.cjs +1 -0
  148. package/dist/actions/list-webhooks.cjs.map +1 -1
  149. package/dist/actions/list-webhooks.d.cts +3 -3
  150. package/dist/actions/list-webhooks.d.cts.map +1 -1
  151. package/dist/actions/list-webhooks.d.mts +3 -3
  152. package/dist/actions/list-webhooks.d.mts.map +1 -1
  153. package/dist/actions/list-webhooks.mjs +1 -0
  154. package/dist/actions/list-webhooks.mjs.map +1 -1
  155. package/dist/actions/parse-document.cjs +1 -0
  156. package/dist/actions/parse-document.cjs.map +1 -1
  157. package/dist/actions/parse-document.d.cts +3 -3
  158. package/dist/actions/parse-document.d.cts.map +1 -1
  159. package/dist/actions/parse-document.d.mts +3 -3
  160. package/dist/actions/parse-document.d.mts.map +1 -1
  161. package/dist/actions/parse-document.mjs +1 -0
  162. package/dist/actions/parse-document.mjs.map +1 -1
  163. package/dist/actions/skip-documents.cjs +1 -0
  164. package/dist/actions/skip-documents.cjs.map +1 -1
  165. package/dist/actions/skip-documents.d.cts +3 -4
  166. package/dist/actions/skip-documents.d.cts.map +1 -1
  167. package/dist/actions/skip-documents.d.mts +3 -4
  168. package/dist/actions/skip-documents.d.mts.map +1 -1
  169. package/dist/actions/skip-documents.mjs +1 -0
  170. package/dist/actions/skip-documents.mjs.map +1 -1
  171. package/dist/actions/update-mailbox.cjs +1 -0
  172. package/dist/actions/update-mailbox.cjs.map +1 -1
  173. package/dist/actions/update-mailbox.d.cts +3 -8
  174. package/dist/actions/update-mailbox.d.cts.map +1 -1
  175. package/dist/actions/update-mailbox.d.mts +3 -8
  176. package/dist/actions/update-mailbox.d.mts.map +1 -1
  177. package/dist/actions/update-mailbox.mjs +1 -0
  178. package/dist/actions/update-mailbox.mjs.map +1 -1
  179. package/dist/actions/update-webhook.cjs +1 -0
  180. package/dist/actions/update-webhook.cjs.map +1 -1
  181. package/dist/actions/update-webhook.d.cts +3 -7
  182. package/dist/actions/update-webhook.d.cts.map +1 -1
  183. package/dist/actions/update-webhook.d.mts +3 -7
  184. package/dist/actions/update-webhook.d.mts.map +1 -1
  185. package/dist/actions/update-webhook.mjs +1 -0
  186. package/dist/actions/update-webhook.mjs.map +1 -1
  187. package/dist/actions/upload-file.cjs +1 -0
  188. package/dist/actions/upload-file.cjs.map +1 -1
  189. package/dist/actions/upload-file.d.cts +3 -9
  190. package/dist/actions/upload-file.d.cts.map +1 -1
  191. package/dist/actions/upload-file.d.mts +3 -9
  192. package/dist/actions/upload-file.d.mts.map +1 -1
  193. package/dist/actions/upload-file.mjs +1 -0
  194. package/dist/actions/upload-file.mjs.map +1 -1
  195. package/dist/app.cjs +5 -2
  196. package/dist/app.cjs.map +1 -1
  197. package/dist/app.d.cts +7 -1
  198. package/dist/app.d.cts.map +1 -1
  199. package/dist/app.d.mts +7 -1
  200. package/dist/app.d.mts.map +1 -1
  201. package/dist/app.mjs +3 -2
  202. package/dist/app.mjs.map +1 -1
  203. package/dist/index.d.cts +1 -1
  204. package/dist/index.d.mts +1 -1
  205. 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<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
+ {"version":3,"file":"action.cjs","names":["parsioIo","executeParsioIoTool"],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { 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, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof parsioIo.credential> {\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":";;;;;AAOA,SAAgB,OACd,MACA,KAOwD;CACxD,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<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"}
1
+ {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { 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, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof parsioIo.credential> {\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":";;;;;AAOA,SAAgB,OACd,MACA,KAOwD;CACxD,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,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/create-html-text-document.ts
@@ -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.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
+ {"version":3,"file":"create-html-text-document.cjs","names":["z","action"],"sources":["../../src/actions/create-html-text-document.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parsioIo } from \"../app\";\n\nexport const 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: AppAction<\n typeof ParsioIoCreateHtmlTextDocumentInput,\n typeof ParsioIoCreateHtmlTextDocumentOutput,\n typeof parsioIo.credential\n> = 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":";;;;AAMA,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,iCAITC,eAAAA,OAAO,uCAAuC;CAChD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { parsioIo } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-html-text-document.d.ts
@@ -15,15 +17,7 @@ declare const ParsioIoCreateHtmlTextDocumentOutput: z.ZodObject<{
15
17
  status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
18
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
19
  }, z.core.$loose>;
18
- declare const 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]>;
20
+ declare const parsioIoCreateHtmlTextDocument: AppAction<typeof ParsioIoCreateHtmlTextDocumentInput, typeof ParsioIoCreateHtmlTextDocumentOutput, typeof parsioIo.credential>;
27
21
  //#endregion
28
22
  export { parsioIoCreateHtmlTextDocument };
29
23
  //# 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,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;cASnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;cAMpC,8BAAA,gCAA8B,wBAAA;;;;;;SAMzC,MAAA"}
1
+ {"version":3,"file":"create-html-text-document.d.cts","names":[],"sources":["../../src/actions/create-html-text-document.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;cASnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;cAMpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { parsioIo } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-html-text-document.d.ts
@@ -15,15 +17,7 @@ declare const ParsioIoCreateHtmlTextDocumentOutput: z.ZodObject<{
15
17
  status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
18
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
19
  }, z.core.$loose>;
18
- declare const 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]>;
20
+ declare const parsioIoCreateHtmlTextDocument: AppAction<typeof ParsioIoCreateHtmlTextDocumentInput, typeof ParsioIoCreateHtmlTextDocumentOutput, typeof parsioIo.credential>;
27
21
  //#endregion
28
22
  export { parsioIoCreateHtmlTextDocument };
29
23
  //# 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,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;cASnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;cAMpC,8BAAA,gCAA8B,wBAAA;;;;;;SAMzC,MAAA"}
1
+ {"version":3,"file":"create-html-text-document.d.mts","names":[],"sources":["../../src/actions/create-html-text-document.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;cASnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;cAMpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const parsioIoCreateHtmlTextDocument = action("PARSIO_IO_CREATE_HTML_TEXT_DOCUMENT", {
@@ -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.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"}
1
+ {"version":3,"file":"create-html-text-document.mjs","names":[],"sources":["../../src/actions/create-html-text-document.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parsioIo } from \"../app\";\n\nexport const 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: AppAction<\n typeof ParsioIoCreateHtmlTextDocumentInput,\n typeof ParsioIoCreateHtmlTextDocumentOutput,\n typeof parsioIo.credential\n> = 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":";;;AAqBA,MAAa,iCAIT,OAAO,uCAAuC;CAChD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvBiD,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,gEAeH;CACP,QAfkD,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,sDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/create-mailbox.ts
@@ -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.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
+ {"version":3,"file":"create-mailbox.cjs","names":["z","action"],"sources":["../../src/actions/create-mailbox.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parsioIo } from \"../app\";\n\nexport const 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: AppAction<\n typeof ParsioIoCreateMailboxInput,\n typeof ParsioIoCreateMailboxOutput,\n typeof parsioIo.credential\n> = 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":";;;;AAMA,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,wBAITC,eAAAA,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { parsioIo } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-mailbox.d.ts
@@ -9,9 +11,7 @@ declare const ParsioIoCreateMailboxOutput: z.ZodObject<{
9
11
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
12
  email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
13
  }, 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]>;
14
+ declare const parsioIoCreateMailbox: AppAction<typeof ParsioIoCreateMailboxInput, typeof ParsioIoCreateMailboxOutput, typeof parsioIo.credential>;
15
15
  //#endregion
16
16
  export { parsioIoCreateMailbox };
17
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,EAA0B,CAAA,CAAA,SAAA;;;cAG1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;cAM3B,qBAAA,gCAAqB,wBAAA"}
1
+ {"version":3,"file":"create-mailbox.d.cts","names":[],"sources":["../../src/actions/create-mailbox.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAG1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;cAM3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { parsioIo } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-mailbox.d.ts
@@ -9,9 +11,7 @@ declare const ParsioIoCreateMailboxOutput: z.ZodObject<{
9
11
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
12
  email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
13
  }, 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]>;
14
+ declare const parsioIoCreateMailbox: AppAction<typeof ParsioIoCreateMailboxInput, typeof ParsioIoCreateMailboxOutput, typeof parsioIo.credential>;
15
15
  //#endregion
16
16
  export { parsioIoCreateMailbox };
17
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,EAA0B,CAAA,CAAA,SAAA;;;cAG1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;cAM3B,qBAAA,gCAAqB,wBAAA"}
1
+ {"version":3,"file":"create-mailbox.d.mts","names":[],"sources":["../../src/actions/create-mailbox.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAG1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;cAM3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const parsioIoCreateMailbox = action("PARSIO_IO_CREATE_MAILBOX", {
@@ -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.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"}
1
+ {"version":3,"file":"create-mailbox.mjs","names":[],"sources":["../../src/actions/create-mailbox.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parsioIo } from \"../app\";\n\nexport const 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: AppAction<\n typeof ParsioIoCreateMailboxInput,\n typeof ParsioIoCreateMailboxOutput,\n typeof parsioIo.credential\n> = 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":";;;AAeA,MAAa,wBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBwC,EAAE,OAAO,EACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,EACnE,CAAC,CAAC,CAAC,SAAS,2CAeH;CACP,QAfyC,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,uCAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/create-webhook.ts
@@ -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.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
+ {"version":3,"file":"create-webhook.cjs","names":["z","action"],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parsioIo } from \"../app\";\n\nexport const 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: AppAction<\n typeof ParsioIoCreateWebhookInput,\n typeof ParsioIoCreateWebhookOutput,\n typeof parsioIo.credential\n> = 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":";;;;AAMA,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,wBAITC,eAAAA,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { parsioIo } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-webhook.d.ts
@@ -23,13 +25,7 @@ declare const ParsioIoCreateWebhookOutput: z.ZodObject<{
23
25
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
26
  mailbox_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
27
  }, 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]>;
28
+ declare const parsioIoCreateWebhook: AppAction<typeof ParsioIoCreateWebhookInput, typeof ParsioIoCreateWebhookOutput, typeof parsioIo.credential>;
33
29
  //#endregion
34
30
  export { parsioIoCreateWebhook };
35
31
  //# 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,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAO1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;cAU3B,qBAAA,gCAAqB,wBAAA"}
1
+ {"version":3,"file":"create-webhook.d.cts","names":[],"sources":["../../src/actions/create-webhook.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAO1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;cAU3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { parsioIo } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-webhook.d.ts
@@ -23,13 +25,7 @@ declare const ParsioIoCreateWebhookOutput: z.ZodObject<{
23
25
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
26
  mailbox_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
27
  }, 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]>;
28
+ declare const parsioIoCreateWebhook: AppAction<typeof ParsioIoCreateWebhookInput, typeof ParsioIoCreateWebhookOutput, typeof parsioIo.credential>;
33
29
  //#endregion
34
30
  export { parsioIoCreateWebhook };
35
31
  //# 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,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAO1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;cAU3B,qBAAA,gCAAqB,wBAAA"}
1
+ {"version":3,"file":"create-webhook.d.mts","names":[],"sources":["../../src/actions/create-webhook.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAO1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;cAU3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const parsioIoCreateWebhook = action("PARSIO_IO_CREATE_WEBHOOK", {
@@ -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.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"}
1
+ {"version":3,"file":"create-webhook.mjs","names":[],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parsioIo } from \"../app\";\n\nexport const 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: AppAction<\n typeof ParsioIoCreateWebhookInput,\n typeof ParsioIoCreateWebhookOutput,\n typeof parsioIo.credential\n> = 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":";;;AAuBA,MAAa,wBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAzBwC,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,kLAmBH;CACP,QAnByC,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,6KAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/delete-mailbox.ts
@@ -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.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
+ {"version":3,"file":"delete-mailbox.cjs","names":["z","action"],"sources":["../../src/actions/delete-mailbox.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parsioIo } from \"../app\";\n\nexport const 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: AppAction<\n typeof ParsioIoDeleteMailboxInput,\n typeof ParsioIoDeleteMailboxOutput,\n typeof parsioIo.credential\n> = 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":";;;;AAMA,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,wBAITC,eAAAA,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { parsioIo } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-mailbox.d.ts
@@ -8,9 +10,7 @@ declare const ParsioIoDeleteMailboxOutput: z.ZodObject<{
8
10
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
11
  success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
10
12
  }, 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]>;
13
+ declare const parsioIoDeleteMailbox: AppAction<typeof ParsioIoDeleteMailboxInput, typeof ParsioIoDeleteMailboxOutput, typeof parsioIo.credential>;
14
14
  //#endregion
15
15
  export { parsioIoDeleteMailbox };
16
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,EAA0B,CAAA,CAAA,SAAA;;;cAG1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAK3B,qBAAA,gCAAqB,wBAAA"}
1
+ {"version":3,"file":"delete-mailbox.d.cts","names":[],"sources":["../../src/actions/delete-mailbox.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAG1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAK3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { parsioIo } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-mailbox.d.ts
@@ -8,9 +10,7 @@ declare const ParsioIoDeleteMailboxOutput: z.ZodObject<{
8
10
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
11
  success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
10
12
  }, 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]>;
13
+ declare const parsioIoDeleteMailbox: AppAction<typeof ParsioIoDeleteMailboxInput, typeof ParsioIoDeleteMailboxOutput, typeof parsioIo.credential>;
14
14
  //#endregion
15
15
  export { parsioIoDeleteMailbox };
16
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,EAA0B,CAAA,CAAA,SAAA;;;cAG1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAK3B,qBAAA,gCAAqB,wBAAA"}
1
+ {"version":3,"file":"delete-mailbox.d.mts","names":[],"sources":["../../src/actions/delete-mailbox.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAG1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAK3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const parsioIoDeleteMailbox = action("PARSIO_IO_DELETE_MAILBOX", {
@@ -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.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"}
1
+ {"version":3,"file":"delete-mailbox.mjs","names":[],"sources":["../../src/actions/delete-mailbox.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parsioIo } from \"../app\";\n\nexport const 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: AppAction<\n typeof ParsioIoDeleteMailboxInput,\n typeof ParsioIoDeleteMailboxOutput,\n typeof parsioIo.credential\n> = 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":";;;AAcA,MAAa,wBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBwC,EAAE,OAAO,EACjD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,EAC9E,CAAC,CAAC,CAAC,SAAS,gEAcH;CACP,QAdyC,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,gDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/delete-templates.ts
@@ -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.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
+ {"version":3,"file":"delete-templates.cjs","names":["z","action"],"sources":["../../src/actions/delete-templates.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parsioIo } from \"../app\";\n\nexport const 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: AppAction<\n typeof ParsioIoDeleteTemplatesInput,\n typeof ParsioIoDeleteTemplatesOutput,\n typeof parsioIo.credential\n> = 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":";;;;AAMA,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,0BAITC,eAAAA,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { parsioIo } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-templates.d.ts
@@ -8,9 +10,7 @@ declare const ParsioIoDeleteTemplatesOutput: z.ZodObject<{
8
10
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
11
  success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
10
12
  }, 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]>;
13
+ declare const parsioIoDeleteTemplates: AppAction<typeof ParsioIoDeleteTemplatesInput, typeof ParsioIoDeleteTemplatesOutput, typeof parsioIo.credential>;
14
14
  //#endregion
15
15
  export { parsioIoDeleteTemplates };
16
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,EAA4B,CAAA,CAAA,SAAA;;;cAG5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAK7B,uBAAA,gCAAuB,wBAAA"}
1
+ {"version":3,"file":"delete-templates.d.cts","names":[],"sources":["../../src/actions/delete-templates.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAG5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAK7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { parsioIo } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-templates.d.ts
@@ -8,9 +10,7 @@ declare const ParsioIoDeleteTemplatesOutput: z.ZodObject<{
8
10
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
11
  success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
10
12
  }, 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]>;
13
+ declare const parsioIoDeleteTemplates: AppAction<typeof ParsioIoDeleteTemplatesInput, typeof ParsioIoDeleteTemplatesOutput, typeof parsioIo.credential>;
14
14
  //#endregion
15
15
  export { parsioIoDeleteTemplates };
16
16
  //# sourceMappingURL=delete-templates.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-templates.d.mts","names":[],"sources":["../../src/actions/delete-templates.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAG5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAK7B,uBAAA,gCAAuB,wBAAA"}
1
+ {"version":3,"file":"delete-templates.d.mts","names":[],"sources":["../../src/actions/delete-templates.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAG5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAK7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const parsioIoDeleteTemplates = action("PARSIO_IO_DELETE_TEMPLATES", {
@@ -1 +1 @@
1
- {"version":3,"file":"delete-templates.mjs","names":[],"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":";;AAYA,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ0C,EAAE,OAAO,EACnD,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qGAAqG,EACzI,CAAC,CAAC,CAAC,SAAS,6DAUH;CACP,QAV2C,EAAE,OAAO;EACpD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"delete-templates.mjs","names":[],"sources":["../../src/actions/delete-templates.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parsioIo } from \"../app\";\n\nexport const 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: AppAction<\n typeof ParsioIoDeleteTemplatesInput,\n typeof ParsioIoDeleteTemplatesOutput,\n typeof parsioIo.credential\n> = 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":";;;AAcA,MAAa,0BAIT,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB0C,EAAE,OAAO,EACnD,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qGAAqG,EACzI,CAAC,CAAC,CAAC,SAAS,6DAcH;CACP,QAd2C,EAAE,OAAO;EACpD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/delete-webhooks.ts
@@ -1 +1 @@
1
- {"version":3,"file":"delete-webhooks.cjs","names":["z","action"],"sources":["../../src/actions/delete-webhooks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParsioIoDeleteWebhooksInput = z.object({\n ids: z.array(z.string()).describe(\"Array of webhook IDs to delete\"),\n}).describe(\"Request model for deleting multiple webhooks by providing webhook IDs.\");\nexport const ParsioIoDeleteWebhooksOutput = z.object({\n message: z.string().describe(\"Additional information about the deletion operation\").nullable().optional(),\n success: z.boolean().describe(\"Indicates if the webhooks were deleted successfully\").nullable(),\n}).passthrough().describe(\"Response model for webhook deletion operation.\");\n\nexport const parsioIoDeleteWebhooks = action(\"PARSIO_IO_DELETE_WEBHOOKS\", {\n slug: \"parsio_io-delete-webhooks\",\n name: \"Delete Webhooks\",\n description: \"Tool to delete multiple webhooks from a mailbox. Use when you need to remove one or more webhook configurations by providing their IDs.\",\n input: ParsioIoDeleteWebhooksInput,\n output: ParsioIoDeleteWebhooksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,KAAKA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gCAAgC,EACpE,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-webhooks.cjs","names":["z","action"],"sources":["../../src/actions/delete-webhooks.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parsioIo } from \"../app\";\n\nexport const ParsioIoDeleteWebhooksInput = z.object({\n ids: z.array(z.string()).describe(\"Array of webhook IDs to delete\"),\n}).describe(\"Request model for deleting multiple webhooks by providing webhook IDs.\");\nexport const ParsioIoDeleteWebhooksOutput = z.object({\n message: z.string().describe(\"Additional information about the deletion operation\").nullable().optional(),\n success: z.boolean().describe(\"Indicates if the webhooks were deleted successfully\").nullable(),\n}).passthrough().describe(\"Response model for webhook deletion operation.\");\n\nexport const parsioIoDeleteWebhooks: AppAction<\n typeof ParsioIoDeleteWebhooksInput,\n typeof ParsioIoDeleteWebhooksOutput,\n typeof parsioIo.credential\n> = action(\"PARSIO_IO_DELETE_WEBHOOKS\", {\n slug: \"parsio_io-delete-webhooks\",\n name: \"Delete Webhooks\",\n description: \"Tool to delete multiple webhooks from a mailbox. Use when you need to remove one or more webhook configurations by providing their IDs.\",\n input: ParsioIoDeleteWebhooksInput,\n output: ParsioIoDeleteWebhooksOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,KAAKA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gCAAgC,EACpE,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,yBAITC,eAAAA,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { parsioIo } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-webhooks.d.ts
@@ -8,9 +10,7 @@ declare const ParsioIoDeleteWebhooksOutput: z.ZodObject<{
8
10
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
11
  success: z.ZodNullable<z.ZodBoolean>;
10
12
  }, z.core.$loose>;
11
- declare const parsioIoDeleteWebhooks: import("@keystrokehq/action").WorkflowActionDefinition<{
12
- ids: string[];
13
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ declare const parsioIoDeleteWebhooks: AppAction<typeof ParsioIoDeleteWebhooksInput, typeof ParsioIoDeleteWebhooksOutput, typeof parsioIo.credential>;
14
14
  //#endregion
15
15
  export { parsioIoDeleteWebhooks };
16
16
  //# sourceMappingURL=delete-webhooks.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-webhooks.d.cts","names":[],"sources":["../../src/actions/delete-webhooks.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAK5B,sBAAA,gCAAsB,wBAAA"}
1
+ {"version":3,"file":"delete-webhooks.d.cts","names":[],"sources":["../../src/actions/delete-webhooks.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAK5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { parsioIo } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-webhooks.d.ts
@@ -8,9 +10,7 @@ declare const ParsioIoDeleteWebhooksOutput: z.ZodObject<{
8
10
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
11
  success: z.ZodNullable<z.ZodBoolean>;
10
12
  }, z.core.$loose>;
11
- declare const parsioIoDeleteWebhooks: import("@keystrokehq/action").WorkflowActionDefinition<{
12
- ids: string[];
13
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ declare const parsioIoDeleteWebhooks: AppAction<typeof ParsioIoDeleteWebhooksInput, typeof ParsioIoDeleteWebhooksOutput, typeof parsioIo.credential>;
14
14
  //#endregion
15
15
  export { parsioIoDeleteWebhooks };
16
16
  //# sourceMappingURL=delete-webhooks.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-webhooks.d.mts","names":[],"sources":["../../src/actions/delete-webhooks.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAK5B,sBAAA,gCAAsB,wBAAA"}
1
+ {"version":3,"file":"delete-webhooks.d.mts","names":[],"sources":["../../src/actions/delete-webhooks.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAK5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const parsioIoDeleteWebhooks = action("PARSIO_IO_DELETE_WEBHOOKS", {
@@ -1 +1 @@
1
- {"version":3,"file":"delete-webhooks.mjs","names":[],"sources":["../../src/actions/delete-webhooks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParsioIoDeleteWebhooksInput = z.object({\n ids: z.array(z.string()).describe(\"Array of webhook IDs to delete\"),\n}).describe(\"Request model for deleting multiple webhooks by providing webhook IDs.\");\nexport const ParsioIoDeleteWebhooksOutput = z.object({\n message: z.string().describe(\"Additional information about the deletion operation\").nullable().optional(),\n success: z.boolean().describe(\"Indicates if the webhooks were deleted successfully\").nullable(),\n}).passthrough().describe(\"Response model for webhook deletion operation.\");\n\nexport const parsioIoDeleteWebhooks = action(\"PARSIO_IO_DELETE_WEBHOOKS\", {\n slug: \"parsio_io-delete-webhooks\",\n name: \"Delete Webhooks\",\n description: \"Tool to delete multiple webhooks from a mailbox. Use when you need to remove one or more webhook configurations by providing their IDs.\",\n input: ParsioIoDeleteWebhooksInput,\n output: ParsioIoDeleteWebhooksOutput,\n});\n"],"mappings":";;AAYA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZyC,EAAE,OAAO,EAClD,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gCAAgC,EACpE,CAAC,CAAC,CAAC,SAAS,wEAUH;CACP,QAV0C,EAAE,OAAO;EACnD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"delete-webhooks.mjs","names":[],"sources":["../../src/actions/delete-webhooks.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parsioIo } from \"../app\";\n\nexport const ParsioIoDeleteWebhooksInput = z.object({\n ids: z.array(z.string()).describe(\"Array of webhook IDs to delete\"),\n}).describe(\"Request model for deleting multiple webhooks by providing webhook IDs.\");\nexport const ParsioIoDeleteWebhooksOutput = z.object({\n message: z.string().describe(\"Additional information about the deletion operation\").nullable().optional(),\n success: z.boolean().describe(\"Indicates if the webhooks were deleted successfully\").nullable(),\n}).passthrough().describe(\"Response model for webhook deletion operation.\");\n\nexport const parsioIoDeleteWebhooks: AppAction<\n typeof ParsioIoDeleteWebhooksInput,\n typeof ParsioIoDeleteWebhooksOutput,\n typeof parsioIo.credential\n> = action(\"PARSIO_IO_DELETE_WEBHOOKS\", {\n slug: \"parsio_io-delete-webhooks\",\n name: \"Delete Webhooks\",\n description: \"Tool to delete multiple webhooks from a mailbox. Use when you need to remove one or more webhook configurations by providing their IDs.\",\n input: ParsioIoDeleteWebhooksInput,\n output: ParsioIoDeleteWebhooksOutput,\n});\n"],"mappings":";;;AAcA,MAAa,yBAIT,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhByC,EAAE,OAAO,EAClD,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gCAAgC,EACpE,CAAC,CAAC,CAAC,SAAS,wEAcH;CACP,QAd0C,EAAE,OAAO;EACnD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/disable-templates.ts