@keystrokehq/parseur 0.1.0 → 0.1.2

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 (209) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/copy-document.cjs.map +1 -1
  4. package/dist/actions/copy-document.d.cts +13 -3
  5. package/dist/actions/copy-document.d.cts.map +1 -1
  6. package/dist/actions/copy-document.d.mts +13 -3
  7. package/dist/actions/copy-document.d.mts.map +1 -1
  8. package/dist/actions/copy-document.mjs.map +1 -1
  9. package/dist/actions/copy-mailbox.cjs.map +1 -1
  10. package/dist/actions/copy-mailbox.d.cts +11 -3
  11. package/dist/actions/copy-mailbox.d.cts.map +1 -1
  12. package/dist/actions/copy-mailbox.d.mts +11 -3
  13. package/dist/actions/copy-mailbox.d.mts.map +1 -1
  14. package/dist/actions/copy-mailbox.mjs.map +1 -1
  15. package/dist/actions/create-custom-download.cjs +3 -3
  16. package/dist/actions/create-custom-download.cjs.map +1 -1
  17. package/dist/actions/create-custom-download.d.cts +38 -3
  18. package/dist/actions/create-custom-download.d.cts.map +1 -1
  19. package/dist/actions/create-custom-download.d.mts +38 -3
  20. package/dist/actions/create-custom-download.d.mts.map +1 -1
  21. package/dist/actions/create-custom-download.mjs +3 -3
  22. package/dist/actions/create-custom-download.mjs.map +1 -1
  23. package/dist/actions/create-mailbox.cjs +29 -29
  24. package/dist/actions/create-mailbox.cjs.map +1 -1
  25. package/dist/actions/create-mailbox.d.cts +187 -3
  26. package/dist/actions/create-mailbox.d.cts.map +1 -1
  27. package/dist/actions/create-mailbox.d.mts +187 -3
  28. package/dist/actions/create-mailbox.d.mts.map +1 -1
  29. package/dist/actions/create-mailbox.mjs +29 -29
  30. package/dist/actions/create-mailbox.mjs.map +1 -1
  31. package/dist/actions/delete-custom-download.cjs +1 -1
  32. package/dist/actions/delete-custom-download.cjs.map +1 -1
  33. package/dist/actions/delete-custom-download.d.cts +11 -3
  34. package/dist/actions/delete-custom-download.d.cts.map +1 -1
  35. package/dist/actions/delete-custom-download.d.mts +11 -3
  36. package/dist/actions/delete-custom-download.d.mts.map +1 -1
  37. package/dist/actions/delete-custom-download.mjs +1 -1
  38. package/dist/actions/delete-custom-download.mjs.map +1 -1
  39. package/dist/actions/delete-document.cjs +1 -1
  40. package/dist/actions/delete-document.cjs.map +1 -1
  41. package/dist/actions/delete-document.d.cts +9 -3
  42. package/dist/actions/delete-document.d.cts.map +1 -1
  43. package/dist/actions/delete-document.d.mts +9 -3
  44. package/dist/actions/delete-document.d.mts.map +1 -1
  45. package/dist/actions/delete-document.mjs +1 -1
  46. package/dist/actions/delete-document.mjs.map +1 -1
  47. package/dist/actions/delete-mailbox.cjs.map +1 -1
  48. package/dist/actions/delete-mailbox.d.cts +11 -3
  49. package/dist/actions/delete-mailbox.d.cts.map +1 -1
  50. package/dist/actions/delete-mailbox.d.mts +11 -3
  51. package/dist/actions/delete-mailbox.d.mts.map +1 -1
  52. package/dist/actions/delete-mailbox.mjs.map +1 -1
  53. package/dist/actions/delete-webhook.cjs +1 -1
  54. package/dist/actions/delete-webhook.cjs.map +1 -1
  55. package/dist/actions/delete-webhook.d.cts +9 -3
  56. package/dist/actions/delete-webhook.d.cts.map +1 -1
  57. package/dist/actions/delete-webhook.d.mts +9 -3
  58. package/dist/actions/delete-webhook.d.mts.map +1 -1
  59. package/dist/actions/delete-webhook.mjs +1 -1
  60. package/dist/actions/delete-webhook.mjs.map +1 -1
  61. package/dist/actions/disable-webhook.cjs +4 -4
  62. package/dist/actions/disable-webhook.cjs.map +1 -1
  63. package/dist/actions/disable-webhook.d.cts +47 -3
  64. package/dist/actions/disable-webhook.d.cts.map +1 -1
  65. package/dist/actions/disable-webhook.d.mts +47 -3
  66. package/dist/actions/disable-webhook.d.mts.map +1 -1
  67. package/dist/actions/disable-webhook.mjs +4 -4
  68. package/dist/actions/disable-webhook.mjs.map +1 -1
  69. package/dist/actions/enable-webhook.cjs +4 -4
  70. package/dist/actions/enable-webhook.cjs.map +1 -1
  71. package/dist/actions/enable-webhook.d.cts +26 -3
  72. package/dist/actions/enable-webhook.d.cts.map +1 -1
  73. package/dist/actions/enable-webhook.d.mts +26 -3
  74. package/dist/actions/enable-webhook.d.mts.map +1 -1
  75. package/dist/actions/enable-webhook.mjs +4 -4
  76. package/dist/actions/enable-webhook.mjs.map +1 -1
  77. package/dist/actions/get-bootstrap-config.cjs +9 -9
  78. package/dist/actions/get-bootstrap-config.cjs.map +1 -1
  79. package/dist/actions/get-bootstrap-config.d.cts +54 -3
  80. package/dist/actions/get-bootstrap-config.d.cts.map +1 -1
  81. package/dist/actions/get-bootstrap-config.d.mts +54 -3
  82. package/dist/actions/get-bootstrap-config.d.mts.map +1 -1
  83. package/dist/actions/get-bootstrap-config.mjs +9 -9
  84. package/dist/actions/get-bootstrap-config.mjs.map +1 -1
  85. package/dist/actions/get-document-logs.cjs +13 -13
  86. package/dist/actions/get-document-logs.cjs.map +1 -1
  87. package/dist/actions/get-document-logs.d.cts +34 -3
  88. package/dist/actions/get-document-logs.d.cts.map +1 -1
  89. package/dist/actions/get-document-logs.d.mts +34 -3
  90. package/dist/actions/get-document-logs.d.mts.map +1 -1
  91. package/dist/actions/get-document-logs.mjs +13 -13
  92. package/dist/actions/get-document-logs.mjs.map +1 -1
  93. package/dist/actions/get-document.cjs +25 -25
  94. package/dist/actions/get-document.cjs.map +1 -1
  95. package/dist/actions/get-document.d.cts +65 -3
  96. package/dist/actions/get-document.d.cts.map +1 -1
  97. package/dist/actions/get-document.d.mts +65 -3
  98. package/dist/actions/get-document.d.mts.map +1 -1
  99. package/dist/actions/get-document.mjs +25 -25
  100. package/dist/actions/get-document.mjs.map +1 -1
  101. package/dist/actions/get-mailbox-schema.cjs +1 -1
  102. package/dist/actions/get-mailbox-schema.cjs.map +1 -1
  103. package/dist/actions/get-mailbox-schema.d.cts +10 -3
  104. package/dist/actions/get-mailbox-schema.d.cts.map +1 -1
  105. package/dist/actions/get-mailbox-schema.d.mts +10 -3
  106. package/dist/actions/get-mailbox-schema.d.mts.map +1 -1
  107. package/dist/actions/get-mailbox-schema.mjs +1 -1
  108. package/dist/actions/get-mailbox-schema.mjs.map +1 -1
  109. package/dist/actions/get-mailbox.cjs +35 -35
  110. package/dist/actions/get-mailbox.cjs.map +1 -1
  111. package/dist/actions/get-mailbox.d.cts +147 -3
  112. package/dist/actions/get-mailbox.d.cts.map +1 -1
  113. package/dist/actions/get-mailbox.d.mts +147 -3
  114. package/dist/actions/get-mailbox.d.mts.map +1 -1
  115. package/dist/actions/get-mailbox.mjs +35 -35
  116. package/dist/actions/get-mailbox.mjs.map +1 -1
  117. package/dist/actions/list-custom-downloads.cjs +7 -7
  118. package/dist/actions/list-custom-downloads.cjs.map +1 -1
  119. package/dist/actions/list-custom-downloads.d.cts +21 -3
  120. package/dist/actions/list-custom-downloads.d.cts.map +1 -1
  121. package/dist/actions/list-custom-downloads.d.mts +21 -3
  122. package/dist/actions/list-custom-downloads.d.mts.map +1 -1
  123. package/dist/actions/list-custom-downloads.mjs +7 -7
  124. package/dist/actions/list-custom-downloads.mjs.map +1 -1
  125. package/dist/actions/list-documents-in-mailbox.cjs +7 -7
  126. package/dist/actions/list-documents-in-mailbox.cjs.map +1 -1
  127. package/dist/actions/list-documents-in-mailbox.d.cts +49 -3
  128. package/dist/actions/list-documents-in-mailbox.d.cts.map +1 -1
  129. package/dist/actions/list-documents-in-mailbox.d.mts +49 -3
  130. package/dist/actions/list-documents-in-mailbox.d.mts.map +1 -1
  131. package/dist/actions/list-documents-in-mailbox.mjs +7 -7
  132. package/dist/actions/list-documents-in-mailbox.mjs.map +1 -1
  133. package/dist/actions/list-mailboxes2.cjs +6 -6
  134. package/dist/actions/list-mailboxes2.cjs.map +1 -1
  135. package/dist/actions/list-mailboxes2.d.cts +120 -3
  136. package/dist/actions/list-mailboxes2.d.cts.map +1 -1
  137. package/dist/actions/list-mailboxes2.d.mts +120 -3
  138. package/dist/actions/list-mailboxes2.d.mts.map +1 -1
  139. package/dist/actions/list-mailboxes2.mjs +6 -6
  140. package/dist/actions/list-mailboxes2.mjs.map +1 -1
  141. package/dist/actions/list-templates.cjs +10 -10
  142. package/dist/actions/list-templates.cjs.map +1 -1
  143. package/dist/actions/list-templates.d.cts +41 -3
  144. package/dist/actions/list-templates.d.cts.map +1 -1
  145. package/dist/actions/list-templates.d.mts +41 -3
  146. package/dist/actions/list-templates.d.mts.map +1 -1
  147. package/dist/actions/list-templates.mjs +10 -10
  148. package/dist/actions/list-templates.mjs.map +1 -1
  149. package/dist/actions/reprocess-document.cjs.map +1 -1
  150. package/dist/actions/reprocess-document.d.cts +11 -3
  151. package/dist/actions/reprocess-document.d.cts.map +1 -1
  152. package/dist/actions/reprocess-document.d.mts +11 -3
  153. package/dist/actions/reprocess-document.d.mts.map +1 -1
  154. package/dist/actions/reprocess-document.mjs.map +1 -1
  155. package/dist/actions/retrieve-webhook.cjs +4 -4
  156. package/dist/actions/retrieve-webhook.cjs.map +1 -1
  157. package/dist/actions/retrieve-webhook.d.cts +23 -3
  158. package/dist/actions/retrieve-webhook.d.cts.map +1 -1
  159. package/dist/actions/retrieve-webhook.d.mts +23 -3
  160. package/dist/actions/retrieve-webhook.d.mts.map +1 -1
  161. package/dist/actions/retrieve-webhook.mjs +4 -4
  162. package/dist/actions/retrieve-webhook.mjs.map +1 -1
  163. package/dist/actions/skip-document.cjs +26 -26
  164. package/dist/actions/skip-document.cjs.map +1 -1
  165. package/dist/actions/skip-document.d.cts +45 -3
  166. package/dist/actions/skip-document.d.cts.map +1 -1
  167. package/dist/actions/skip-document.d.mts +45 -3
  168. package/dist/actions/skip-document.d.mts.map +1 -1
  169. package/dist/actions/skip-document.mjs +26 -26
  170. package/dist/actions/skip-document.mjs.map +1 -1
  171. package/dist/actions/update-custom-download.cjs +4 -4
  172. package/dist/actions/update-custom-download.cjs.map +1 -1
  173. package/dist/actions/update-custom-download.d.cts +34 -3
  174. package/dist/actions/update-custom-download.d.cts.map +1 -1
  175. package/dist/actions/update-custom-download.d.mts +34 -3
  176. package/dist/actions/update-custom-download.d.mts.map +1 -1
  177. package/dist/actions/update-custom-download.mjs +4 -4
  178. package/dist/actions/update-custom-download.mjs.map +1 -1
  179. package/dist/actions/update-mailbox.cjs +29 -29
  180. package/dist/actions/update-mailbox.cjs.map +1 -1
  181. package/dist/actions/update-mailbox.d.cts +194 -3
  182. package/dist/actions/update-mailbox.d.cts.map +1 -1
  183. package/dist/actions/update-mailbox.d.mts +194 -3
  184. package/dist/actions/update-mailbox.d.mts.map +1 -1
  185. package/dist/actions/update-mailbox.mjs +29 -29
  186. package/dist/actions/update-mailbox.mjs.map +1 -1
  187. package/dist/actions/update-webhook.cjs +4 -4
  188. package/dist/actions/update-webhook.cjs.map +1 -1
  189. package/dist/actions/update-webhook.d.cts +37 -3
  190. package/dist/actions/update-webhook.d.cts.map +1 -1
  191. package/dist/actions/update-webhook.d.mts +37 -3
  192. package/dist/actions/update-webhook.d.mts.map +1 -1
  193. package/dist/actions/update-webhook.mjs +4 -4
  194. package/dist/actions/update-webhook.mjs.map +1 -1
  195. package/dist/actions/upload-email-document.cjs +1 -1
  196. package/dist/actions/upload-email-document.cjs.map +1 -1
  197. package/dist/actions/upload-email-document.d.cts +25 -3
  198. package/dist/actions/upload-email-document.d.cts.map +1 -1
  199. package/dist/actions/upload-email-document.d.mts +25 -3
  200. package/dist/actions/upload-email-document.d.mts.map +1 -1
  201. package/dist/actions/upload-email-document.mjs +1 -1
  202. package/dist/actions/upload-email-document.mjs.map +1 -1
  203. package/dist/catalog.cjs +7 -1
  204. package/dist/catalog.cjs.map +1 -1
  205. package/dist/catalog.d.cts +8 -0
  206. package/dist/catalog.d.mts +8 -0
  207. package/dist/catalog.mjs +7 -1
  208. package/dist/catalog.mjs.map +1 -1
  209. package/package.json +2 -2
@@ -1,9 +1,17 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-custom-download.d.ts
4
- declare const ParseurDeleteCustomDownloadInput: z.ZodTypeAny;
5
- declare const ParseurDeleteCustomDownloadOutput: z.ZodTypeAny;
6
- declare const parseurDeleteCustomDownload: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ParseurDeleteCustomDownloadInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ mailbox_id: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const ParseurDeleteCustomDownloadOutput: z.ZodObject<{
9
+ message: z.ZodNullable<z.ZodString>;
10
+ }, z.core.$strip>;
11
+ declare const parseurDeleteCustomDownload: import("@keystrokehq/action").WorkflowActionDefinition<{
12
+ id: string;
13
+ mailbox_id: string;
14
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
15
  //#endregion
8
16
  export { parseurDeleteCustomDownload };
9
17
  //# sourceMappingURL=delete-custom-download.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-custom-download.d.mts","names":[],"sources":["../../src/actions/delete-custom-download.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAGkC;AAAA,cACtE,iCAAA,EAAmC,CAAA,CAAE,UAEW;AAAA,cAEhD,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-custom-download.d.mts","names":[],"sources":["../../src/actions/delete-custom-download.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAIhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAIjC,2BAAA,gCAA2B,wBAAA"}
@@ -8,7 +8,7 @@ const parseurDeleteCustomDownload = action("PARSEUR_DELETE_CUSTOM_DOWNLOAD", {
8
8
  id: z.string().describe("Unique identifier of the custom download (export configuration) to delete."),
9
9
  mailbox_id: z.string().describe("Unique identifier of the mailbox (parser) that contains the custom download. Obtain from List Mailboxes action.")
10
10
  }).describe("Request model for deleting a custom download (export configuration)."),
11
- output: z.object({ message: z.string().describe("Confirmation message after custom download deletion.") }).describe("Response model for deleting a custom download.")
11
+ output: z.object({ message: z.string().describe("Confirmation message after custom download deletion.").nullable() }).describe("Response model for deleting a custom download.")
12
12
  });
13
13
  //#endregion
14
14
  export { parseurDeleteCustomDownload };
@@ -1 +1 @@
1
- {"version":3,"file":"delete-custom-download.mjs","names":[],"sources":["../../src/actions/delete-custom-download.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseurDeleteCustomDownloadInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the custom download (export configuration) to delete.\"),\n mailbox_id: z.string().describe(\"Unique identifier of the mailbox (parser) that contains the custom download. Obtain from List Mailboxes action.\"),\n}).describe(\"Request model for deleting a custom download (export configuration).\");\nexport const ParseurDeleteCustomDownloadOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Confirmation message after custom download deletion.\"),\n}).describe(\"Response model for deleting a custom download.\");\n\nexport const parseurDeleteCustomDownload = action(\"PARSEUR_DELETE_CUSTOM_DOWNLOAD\", {\n slug: \"parseur-delete-custom-download\",\n name: \"Delete custom download\",\n description: \"Tool to delete a custom download (export configuration) from a mailbox. Use when permanently removing an export configuration after confirming its ID.\",\n input: ParseurDeleteCustomDownloadInput,\n output: ParseurDeleteCustomDownloadOutput,\n});\n"],"mappings":";;AAYA,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ4D,EAAE,OAAO;EACrE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E;EACpG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH;CACnJ,CAAC,CAAC,CAAC,SAAS,sEASH;CACP,QAT6D,EAAE,OAAO,EACtE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,EACrF,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"delete-custom-download.mjs","names":[],"sources":["../../src/actions/delete-custom-download.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseurDeleteCustomDownloadInput = z.object({\n id: z.string().describe(\"Unique identifier of the custom download (export configuration) to delete.\"),\n mailbox_id: z.string().describe(\"Unique identifier of the mailbox (parser) that contains the custom download. Obtain from List Mailboxes action.\"),\n}).describe(\"Request model for deleting a custom download (export configuration).\");\nexport const ParseurDeleteCustomDownloadOutput = z.object({\n message: z.string().describe(\"Confirmation message after custom download deletion.\").nullable(),\n}).describe(\"Response model for deleting a custom download.\");\n\nexport const parseurDeleteCustomDownload = action(\"PARSEUR_DELETE_CUSTOM_DOWNLOAD\", {\n slug: \"parseur-delete-custom-download\",\n name: \"Delete custom download\",\n description: \"Tool to delete a custom download (export configuration) from a mailbox. Use when permanently removing an export configuration after confirming its ID.\",\n input: ParseurDeleteCustomDownloadInput,\n output: ParseurDeleteCustomDownloadOutput,\n});\n"],"mappings":";;AAYA,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ8C,EAAE,OAAO;EACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E;EACpG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH;CACnJ,CAAC,CAAC,CAAC,SAAS,sEASH;CACP,QAT+C,EAAE,OAAO,EACxD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,EAChG,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/delete-document.ts
4
4
  const ParseurDeleteDocumentInput = zod.z.object({ document_id: zod.z.string().describe("Unique identifier of the document to delete.") }).describe("Request model for deleting a specific Parseur document.");
5
- const ParseurDeleteDocumentOutput = zod.z.object({ message: zod.z.string().describe("Confirmation message after document deletion.") }).describe("Response model for deleting a Parseur document.");
5
+ const ParseurDeleteDocumentOutput = zod.z.object({ message: zod.z.string().describe("Confirmation message after document deletion.").nullable() }).describe("Response model for deleting a Parseur document.");
6
6
  const parseurDeleteDocument = require_action.action("PARSEUR_DELETE_DOCUMENT", {
7
7
  slug: "parseur-delete-document",
8
8
  name: "Delete document",
@@ -1 +1 @@
1
- {"version":3,"file":"delete-document.cjs","names":["z","action"],"sources":["../../src/actions/delete-document.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseurDeleteDocumentInput: z.ZodTypeAny = z.object({\n document_id: z.string().describe(\"Unique identifier of the document to delete.\"),\n}).describe(\"Request model for deleting a specific Parseur document.\");\nexport const ParseurDeleteDocumentOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Confirmation message after document deletion.\"),\n}).describe(\"Response model for deleting a Parseur document.\");\n\nexport const parseurDeleteDocument = action(\"PARSEUR_DELETE_DOCUMENT\", {\n slug: \"parseur-delete-document\",\n name: \"Delete document\",\n description: \"Tool to delete a specific document by ID. Use when permanently removing a document after confirming its ID.\",\n input: ParseurDeleteDocumentInput,\n output: ParseurDeleteDocumentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2CA,IAAAA,EAAE,OAAO,EAC/D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,EACjF,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAa,8BAA4CA,IAAAA,EAAE,OAAO,EAChE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,EAC9E,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAE7D,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-document.cjs","names":["z","action"],"sources":["../../src/actions/delete-document.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseurDeleteDocumentInput = z.object({\n document_id: z.string().describe(\"Unique identifier of the document to delete.\"),\n}).describe(\"Request model for deleting a specific Parseur document.\");\nexport const ParseurDeleteDocumentOutput = z.object({\n message: z.string().describe(\"Confirmation message after document deletion.\").nullable(),\n}).describe(\"Response model for deleting a Parseur document.\");\n\nexport const parseurDeleteDocument = action(\"PARSEUR_DELETE_DOCUMENT\", {\n slug: \"parseur-delete-document\",\n name: \"Delete document\",\n description: \"Tool to delete a specific document by ID. Use when permanently removing a document after confirming its ID.\",\n input: ParseurDeleteDocumentInput,\n output: ParseurDeleteDocumentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,EACjF,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,EACzF,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAE7D,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,15 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-document.d.ts
4
- declare const ParseurDeleteDocumentInput: z.ZodTypeAny;
5
- declare const ParseurDeleteDocumentOutput: z.ZodTypeAny;
6
- declare const parseurDeleteDocument: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ParseurDeleteDocumentInput: z.ZodObject<{
5
+ document_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const ParseurDeleteDocumentOutput: z.ZodObject<{
8
+ message: z.ZodNullable<z.ZodString>;
9
+ }, z.core.$strip>;
10
+ declare const parseurDeleteDocument: import("@keystrokehq/action").WorkflowActionDefinition<{
11
+ document_id: string;
12
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
13
  //#endregion
8
14
  export { parseurDeleteDocument };
9
15
  //# sourceMappingURL=delete-document.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-document.d.cts","names":[],"sources":["../../src/actions/delete-document.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAE2B;AAAA,cACzD,2BAAA,EAA6B,CAAA,CAAE,UAEkB;AAAA,cAEjD,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-document.d.cts","names":[],"sources":["../../src/actions/delete-document.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAG1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAI3B,qBAAA,gCAAqB,wBAAA"}
@@ -1,9 +1,15 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-document.d.ts
4
- declare const ParseurDeleteDocumentInput: z.ZodTypeAny;
5
- declare const ParseurDeleteDocumentOutput: z.ZodTypeAny;
6
- declare const parseurDeleteDocument: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ParseurDeleteDocumentInput: z.ZodObject<{
5
+ document_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const ParseurDeleteDocumentOutput: z.ZodObject<{
8
+ message: z.ZodNullable<z.ZodString>;
9
+ }, z.core.$strip>;
10
+ declare const parseurDeleteDocument: import("@keystrokehq/action").WorkflowActionDefinition<{
11
+ document_id: string;
12
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
13
  //#endregion
8
14
  export { parseurDeleteDocument };
9
15
  //# sourceMappingURL=delete-document.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-document.d.mts","names":[],"sources":["../../src/actions/delete-document.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAE2B;AAAA,cACzD,2BAAA,EAA6B,CAAA,CAAE,UAEkB;AAAA,cAEjD,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-document.d.mts","names":[],"sources":["../../src/actions/delete-document.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAG1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAI3B,qBAAA,gCAAqB,wBAAA"}
@@ -5,7 +5,7 @@ const parseurDeleteDocument = action("PARSEUR_DELETE_DOCUMENT", {
5
5
  name: "Delete document",
6
6
  description: "Tool to delete a specific document by ID. Use when permanently removing a document after confirming its ID.",
7
7
  input: z.object({ document_id: z.string().describe("Unique identifier of the document to delete.") }).describe("Request model for deleting a specific Parseur document."),
8
- output: z.object({ message: z.string().describe("Confirmation message after document deletion.") }).describe("Response model for deleting a Parseur document.")
8
+ output: z.object({ message: z.string().describe("Confirmation message after document deletion.").nullable() }).describe("Response model for deleting a Parseur document.")
9
9
  });
10
10
  //#endregion
11
11
  export { parseurDeleteDocument };
@@ -1 +1 @@
1
- {"version":3,"file":"delete-document.mjs","names":[],"sources":["../../src/actions/delete-document.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseurDeleteDocumentInput: z.ZodTypeAny = z.object({\n document_id: z.string().describe(\"Unique identifier of the document to delete.\"),\n}).describe(\"Request model for deleting a specific Parseur document.\");\nexport const ParseurDeleteDocumentOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Confirmation message after document deletion.\"),\n}).describe(\"Response model for deleting a Parseur document.\");\n\nexport const parseurDeleteDocument = action(\"PARSEUR_DELETE_DOCUMENT\", {\n slug: \"parseur-delete-document\",\n name: \"Delete document\",\n description: \"Tool to delete a specific document by ID. Use when permanently removing a document after confirming its ID.\",\n input: ParseurDeleteDocumentInput,\n output: ParseurDeleteDocumentOutput,\n});\n"],"mappings":";;AAWA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXsD,EAAE,OAAO,EAC/D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,EACjF,CAAC,CAAC,CAAC,SAAS,yDASH;CACP,QATuD,EAAE,OAAO,EAChE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,EAC9E,CAAC,CAAC,CAAC,SAAS,iDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"delete-document.mjs","names":[],"sources":["../../src/actions/delete-document.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseurDeleteDocumentInput = z.object({\n document_id: z.string().describe(\"Unique identifier of the document to delete.\"),\n}).describe(\"Request model for deleting a specific Parseur document.\");\nexport const ParseurDeleteDocumentOutput = z.object({\n message: z.string().describe(\"Confirmation message after document deletion.\").nullable(),\n}).describe(\"Response model for deleting a Parseur document.\");\n\nexport const parseurDeleteDocument = action(\"PARSEUR_DELETE_DOCUMENT\", {\n slug: \"parseur-delete-document\",\n name: \"Delete document\",\n description: \"Tool to delete a specific document by ID. Use when permanently removing a document after confirming its ID.\",\n input: ParseurDeleteDocumentInput,\n output: ParseurDeleteDocumentOutput,\n});\n"],"mappings":";;AAWA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXwC,EAAE,OAAO,EACjD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,EACjF,CAAC,CAAC,CAAC,SAAS,yDASH;CACP,QATyC,EAAE,OAAO,EAClD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,EACzF,CAAC,CAAC,CAAC,SAAS,iDAOF;AACV,CAAC"}
@@ -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 ParseurDeleteMailboxInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the mailbox (parser) to delete.\"),\n}).describe(\"Request model for deleting a specific Parseur mailbox (parser).\");\nconst ParseurDeleteMailbox_NotificationSetSchema: z.ZodTypeAny = z.object({\n info: z.array(z.string()).describe(\"List of informational messages about the deletion operation.\").nullable().optional(),\n}).describe(\"Notification information returned after mailbox deletion.\");\nexport const ParseurDeleteMailboxOutput: z.ZodTypeAny = z.object({\n notification_set: ParseurDeleteMailbox_NotificationSetSchema.nullable().optional(),\n}).describe(\"Response model for deleting a Parseur mailbox.\");\n\nexport const parseurDeleteMailbox = action(\"PARSEUR_DELETE_MAILBOX\", {\n slug: \"parseur-delete-mailbox\",\n name: \"Delete mailbox\",\n description: \"Tool to delete a mailbox (parser) by ID. Use when permanently removing a mailbox after confirming its ID.\",\n input: ParseurDeleteMailboxInput,\n output: ParseurDeleteMailboxOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO,EAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,EACtF,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,6CAA2DA,IAAAA,EAAE,OAAO,EACxE,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzH,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,6BAA2CA,IAAAA,EAAE,OAAO,EAC/D,kBAAkB,2CAA2C,SAAS,CAAC,CAAC,SAAS,EACnF,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAE5D,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-mailbox.cjs","names":["z","action"],"sources":["../../src/actions/delete-mailbox.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseurDeleteMailboxInput = z.object({\n id: z.number().int().describe(\"Unique identifier of the mailbox (parser) to delete.\"),\n}).describe(\"Request model for deleting a specific Parseur mailbox (parser).\");\nconst ParseurDeleteMailbox_NotificationSetSchema = z.object({\n info: z.array(z.string()).describe(\"List of informational messages about the deletion operation.\").nullable().optional(),\n}).describe(\"Notification information returned after mailbox deletion.\");\nexport const ParseurDeleteMailboxOutput = z.object({\n notification_set: ParseurDeleteMailbox_NotificationSetSchema.nullable().optional(),\n}).describe(\"Response model for deleting a Parseur mailbox.\");\n\nexport const parseurDeleteMailbox = action(\"PARSEUR_DELETE_MAILBOX\", {\n slug: \"parseur-delete-mailbox\",\n name: \"Delete mailbox\",\n description: \"Tool to delete a mailbox (parser) by ID. Use when permanently removing a mailbox after confirming its ID.\",\n input: ParseurDeleteMailboxInput,\n output: ParseurDeleteMailboxOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,EACtF,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,6CAA6CA,IAAAA,EAAE,OAAO,EAC1D,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzH,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,kBAAkB,2CAA2C,SAAS,CAAC,CAAC,SAAS,EACnF,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAE5D,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,17 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-mailbox.d.ts
4
- declare const ParseurDeleteMailboxInput: z.ZodTypeAny;
5
- declare const ParseurDeleteMailboxOutput: z.ZodTypeAny;
6
- declare const parseurDeleteMailbox: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ParseurDeleteMailboxInput: z.ZodObject<{
5
+ id: z.ZodNumber;
6
+ }, z.core.$strip>;
7
+ declare const ParseurDeleteMailboxOutput: z.ZodObject<{
8
+ notification_set: z.ZodOptional<z.ZodNullable<z.ZodObject<{
9
+ info: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
10
+ }, z.core.$strip>>>;
11
+ }, z.core.$strip>;
12
+ declare const parseurDeleteMailbox: import("@keystrokehq/action").WorkflowActionDefinition<{
13
+ id: number;
14
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
15
  //#endregion
8
16
  export { parseurDeleteMailbox };
9
17
  //# 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,yBAAA,EAA2B,CAAA,CAAE,UAEoC;AAAA,cAIjE,0BAAA,EAA4B,CAAA,CAAE,UAEkB;AAAA,cAEhD,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-mailbox.d.cts","names":[],"sources":["../../src/actions/delete-mailbox.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAMzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cAI1B,oBAAA,gCAAoB,wBAAA"}
@@ -1,9 +1,17 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-mailbox.d.ts
4
- declare const ParseurDeleteMailboxInput: z.ZodTypeAny;
5
- declare const ParseurDeleteMailboxOutput: z.ZodTypeAny;
6
- declare const parseurDeleteMailbox: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ParseurDeleteMailboxInput: z.ZodObject<{
5
+ id: z.ZodNumber;
6
+ }, z.core.$strip>;
7
+ declare const ParseurDeleteMailboxOutput: z.ZodObject<{
8
+ notification_set: z.ZodOptional<z.ZodNullable<z.ZodObject<{
9
+ info: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
10
+ }, z.core.$strip>>>;
11
+ }, z.core.$strip>;
12
+ declare const parseurDeleteMailbox: import("@keystrokehq/action").WorkflowActionDefinition<{
13
+ id: number;
14
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
15
  //#endregion
8
16
  export { parseurDeleteMailbox };
9
17
  //# 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,yBAAA,EAA2B,CAAA,CAAE,UAEoC;AAAA,cAIjE,0BAAA,EAA4B,CAAA,CAAE,UAEkB;AAAA,cAEhD,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-mailbox.d.mts","names":[],"sources":["../../src/actions/delete-mailbox.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAMzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cAI1B,oBAAA,gCAAoB,wBAAA"}
@@ -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 ParseurDeleteMailboxInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the mailbox (parser) to delete.\"),\n}).describe(\"Request model for deleting a specific Parseur mailbox (parser).\");\nconst ParseurDeleteMailbox_NotificationSetSchema: z.ZodTypeAny = z.object({\n info: z.array(z.string()).describe(\"List of informational messages about the deletion operation.\").nullable().optional(),\n}).describe(\"Notification information returned after mailbox deletion.\");\nexport const ParseurDeleteMailboxOutput: z.ZodTypeAny = z.object({\n notification_set: ParseurDeleteMailbox_NotificationSetSchema.nullable().optional(),\n}).describe(\"Response model for deleting a Parseur mailbox.\");\n\nexport const parseurDeleteMailbox = action(\"PARSEUR_DELETE_MAILBOX\", {\n slug: \"parseur-delete-mailbox\",\n name: \"Delete mailbox\",\n description: \"Tool to delete a mailbox (parser) by ID. Use when permanently removing a mailbox after confirming its ID.\",\n input: ParseurDeleteMailboxInput,\n output: ParseurDeleteMailboxOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0C,EAAE,OAAO,EAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,EACtF,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,6CAA2D,EAAE,OAAO,EACxE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzH,CAAC,CAAC,CAAC,SAAS,2DAA2D;AAKvE,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATsD,EAAE,OAAO,EAC/D,kBAAkB,2CAA2C,SAAS,CAAC,CAAC,SAAS,EACnF,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"delete-mailbox.mjs","names":[],"sources":["../../src/actions/delete-mailbox.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseurDeleteMailboxInput = z.object({\n id: z.number().int().describe(\"Unique identifier of the mailbox (parser) to delete.\"),\n}).describe(\"Request model for deleting a specific Parseur mailbox (parser).\");\nconst ParseurDeleteMailbox_NotificationSetSchema = z.object({\n info: z.array(z.string()).describe(\"List of informational messages about the deletion operation.\").nullable().optional(),\n}).describe(\"Notification information returned after mailbox deletion.\");\nexport const ParseurDeleteMailboxOutput = z.object({\n notification_set: ParseurDeleteMailbox_NotificationSetSchema.nullable().optional(),\n}).describe(\"Response model for deleting a Parseur mailbox.\");\n\nexport const parseurDeleteMailbox = action(\"PARSEUR_DELETE_MAILBOX\", {\n slug: \"parseur-delete-mailbox\",\n name: \"Delete mailbox\",\n description: \"Tool to delete a mailbox (parser) by ID. Use when permanently removing a mailbox after confirming its ID.\",\n input: ParseurDeleteMailboxInput,\n output: ParseurDeleteMailboxOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO,EAChD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,EACtF,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,6CAA6C,EAAE,OAAO,EAC1D,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzH,CAAC,CAAC,CAAC,SAAS,2DAA2D;AAKvE,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATwC,EAAE,OAAO,EACjD,kBAAkB,2CAA2C,SAAS,CAAC,CAAC,SAAS,EACnF,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/delete-webhook.ts
4
4
  const ParseurDeleteWebhookInput = zod.z.object({ webhook_id: zod.z.number().int().describe("Unique identifier of the webhook to delete.") }).describe("Request model for deleting a specific Parseur webhook.");
5
- const ParseurDeleteWebhookOutput = zod.z.object({ message: zod.z.string().describe("Confirmation message after webhook deletion.") }).describe("Response model for deleting a Parseur webhook.");
5
+ const ParseurDeleteWebhookOutput = zod.z.object({ message: zod.z.string().describe("Confirmation message after webhook deletion.").nullable() }).describe("Response model for deleting a Parseur webhook.");
6
6
  const parseurDeleteWebhook = require_action.action("PARSEUR_DELETE_WEBHOOK", {
7
7
  slug: "parseur-delete-webhook",
8
8
  name: "Delete webhook",
@@ -1 +1 @@
1
- {"version":3,"file":"delete-webhook.cjs","names":["z","action"],"sources":["../../src/actions/delete-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseurDeleteWebhookInput: z.ZodTypeAny = z.object({\n webhook_id: z.number().int().describe(\"Unique identifier of the webhook to delete.\"),\n}).describe(\"Request model for deleting a specific Parseur webhook.\");\nexport const ParseurDeleteWebhookOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Confirmation message after webhook deletion.\"),\n}).describe(\"Response model for deleting a Parseur webhook.\");\n\nexport const parseurDeleteWebhook = action(\"PARSEUR_DELETE_WEBHOOK\", {\n slug: \"parseur-delete-webhook\",\n name: \"Delete webhook\",\n description: \"Tool to delete a specific webhook. Use when permanently removing a webhook after confirming its ID.\",\n input: ParseurDeleteWebhookInput,\n output: ParseurDeleteWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO,EAC9D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,EACrF,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,6BAA2CA,IAAAA,EAAE,OAAO,EAC/D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,EAC7E,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAE5D,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-webhook.cjs","names":["z","action"],"sources":["../../src/actions/delete-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseurDeleteWebhookInput = z.object({\n webhook_id: z.number().int().describe(\"Unique identifier of the webhook to delete.\"),\n}).describe(\"Request model for deleting a specific Parseur webhook.\");\nexport const ParseurDeleteWebhookOutput = z.object({\n message: z.string().describe(\"Confirmation message after webhook deletion.\").nullable(),\n}).describe(\"Response model for deleting a Parseur webhook.\");\n\nexport const parseurDeleteWebhook = action(\"PARSEUR_DELETE_WEBHOOK\", {\n slug: \"parseur-delete-webhook\",\n name: \"Delete webhook\",\n description: \"Tool to delete a specific webhook. Use when permanently removing a webhook after confirming its ID.\",\n input: ParseurDeleteWebhookInput,\n output: ParseurDeleteWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,EACrF,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,EACxF,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAE5D,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,15 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-webhook.d.ts
4
- declare const ParseurDeleteWebhookInput: z.ZodTypeAny;
5
- declare const ParseurDeleteWebhookOutput: z.ZodTypeAny;
6
- declare const parseurDeleteWebhook: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ParseurDeleteWebhookInput: z.ZodObject<{
5
+ webhook_id: z.ZodNumber;
6
+ }, z.core.$strip>;
7
+ declare const ParseurDeleteWebhookOutput: z.ZodObject<{
8
+ message: z.ZodNullable<z.ZodString>;
9
+ }, z.core.$strip>;
10
+ declare const parseurDeleteWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
11
+ webhook_id: number;
12
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
13
  //#endregion
8
14
  export { parseurDeleteWebhook };
9
15
  //# sourceMappingURL=delete-webhook.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-webhook.d.cts","names":[],"sources":["../../src/actions/delete-webhook.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAE2B;AAAA,cACxD,0BAAA,EAA4B,CAAA,CAAE,UAEkB;AAAA,cAEhD,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-webhook.d.cts","names":[],"sources":["../../src/actions/delete-webhook.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAI1B,oBAAA,gCAAoB,wBAAA"}
@@ -1,9 +1,15 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-webhook.d.ts
4
- declare const ParseurDeleteWebhookInput: z.ZodTypeAny;
5
- declare const ParseurDeleteWebhookOutput: z.ZodTypeAny;
6
- declare const parseurDeleteWebhook: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ParseurDeleteWebhookInput: z.ZodObject<{
5
+ webhook_id: z.ZodNumber;
6
+ }, z.core.$strip>;
7
+ declare const ParseurDeleteWebhookOutput: z.ZodObject<{
8
+ message: z.ZodNullable<z.ZodString>;
9
+ }, z.core.$strip>;
10
+ declare const parseurDeleteWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
11
+ webhook_id: number;
12
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
13
  //#endregion
8
14
  export { parseurDeleteWebhook };
9
15
  //# sourceMappingURL=delete-webhook.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-webhook.d.mts","names":[],"sources":["../../src/actions/delete-webhook.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAE2B;AAAA,cACxD,0BAAA,EAA4B,CAAA,CAAE,UAEkB;AAAA,cAEhD,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-webhook.d.mts","names":[],"sources":["../../src/actions/delete-webhook.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAI1B,oBAAA,gCAAoB,wBAAA"}
@@ -5,7 +5,7 @@ const parseurDeleteWebhook = action("PARSEUR_DELETE_WEBHOOK", {
5
5
  name: "Delete webhook",
6
6
  description: "Tool to delete a specific webhook. Use when permanently removing a webhook after confirming its ID.",
7
7
  input: z.object({ webhook_id: z.number().int().describe("Unique identifier of the webhook to delete.") }).describe("Request model for deleting a specific Parseur webhook."),
8
- output: z.object({ message: z.string().describe("Confirmation message after webhook deletion.") }).describe("Response model for deleting a Parseur webhook.")
8
+ output: z.object({ message: z.string().describe("Confirmation message after webhook deletion.").nullable() }).describe("Response model for deleting a Parseur webhook.")
9
9
  });
10
10
  //#endregion
11
11
  export { parseurDeleteWebhook };
@@ -1 +1 @@
1
- {"version":3,"file":"delete-webhook.mjs","names":[],"sources":["../../src/actions/delete-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseurDeleteWebhookInput: z.ZodTypeAny = z.object({\n webhook_id: z.number().int().describe(\"Unique identifier of the webhook to delete.\"),\n}).describe(\"Request model for deleting a specific Parseur webhook.\");\nexport const ParseurDeleteWebhookOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Confirmation message after webhook deletion.\"),\n}).describe(\"Response model for deleting a Parseur webhook.\");\n\nexport const parseurDeleteWebhook = action(\"PARSEUR_DELETE_WEBHOOK\", {\n slug: \"parseur-delete-webhook\",\n name: \"Delete webhook\",\n description: \"Tool to delete a specific webhook. Use when permanently removing a webhook after confirming its ID.\",\n input: ParseurDeleteWebhookInput,\n output: ParseurDeleteWebhookOutput,\n});\n"],"mappings":";;AAWA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXqD,EAAE,OAAO,EAC9D,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,EACrF,CAAC,CAAC,CAAC,SAAS,wDASH;CACP,QATsD,EAAE,OAAO,EAC/D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,EAC7E,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"delete-webhook.mjs","names":[],"sources":["../../src/actions/delete-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseurDeleteWebhookInput = z.object({\n webhook_id: z.number().int().describe(\"Unique identifier of the webhook to delete.\"),\n}).describe(\"Request model for deleting a specific Parseur webhook.\");\nexport const ParseurDeleteWebhookOutput = z.object({\n message: z.string().describe(\"Confirmation message after webhook deletion.\").nullable(),\n}).describe(\"Response model for deleting a Parseur webhook.\");\n\nexport const parseurDeleteWebhook = action(\"PARSEUR_DELETE_WEBHOOK\", {\n slug: \"parseur-delete-webhook\",\n name: \"Delete webhook\",\n description: \"Tool to delete a specific webhook. Use when permanently removing a webhook after confirming its ID.\",\n input: ParseurDeleteWebhookInput,\n output: ParseurDeleteWebhookOutput,\n});\n"],"mappings":";;AAWA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXuC,EAAE,OAAO,EAChD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,EACrF,CAAC,CAAC,CAAC,SAAS,wDASH;CACP,QATwC,EAAE,OAAO,EACjD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,EACxF,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
@@ -6,12 +6,12 @@ const ParseurDisableWebhookInput = zod.z.object({
6
6
  webhook_id: zod.z.number().int().describe("Unique numeric ID of the active webhook to disable. Obtain from webhook_set via List Webhooks action.")
7
7
  });
8
8
  const ParseurDisableWebhook_WebhookInfoSchema = zod.z.object({
9
- id: zod.z.number().int().describe("Webhook ID"),
9
+ id: zod.z.number().int().describe("Webhook ID").nullable(),
10
10
  name: zod.z.string().describe("Custom name of the webhook").nullable().optional(),
11
- event: zod.z.string().describe("Event type that triggers the webhook"),
12
- target: zod.z.string().describe("Target URL where webhook payloads are sent"),
11
+ event: zod.z.string().describe("Event type that triggers the webhook").nullable(),
12
+ target: zod.z.string().describe("Target URL where webhook payloads are sent").nullable(),
13
13
  headers: zod.z.object({}).describe("Custom HTTP headers sent with the webhook payload").nullable().optional(),
14
- category: zod.z.string().describe("Webhook category"),
14
+ category: zod.z.string().describe("Webhook category").nullable(),
15
15
  parser_field_set: zod.z.array(zod.z.unknown()).describe("List of parser fields or table-fields assigned to the webhook").nullable().optional()
16
16
  });
17
17
  const ParseurDisableWebhook_DocumentPerStatusCountSchema = zod.z.object({
@@ -1 +1 @@
1
- {"version":3,"file":"disable-webhook.cjs","names":["z","action"],"sources":["../../src/actions/disable-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseurDisableWebhookInput: z.ZodTypeAny = z.object({\n mailbox_id: z.number().int().describe(\"Unique numeric ID of the parser mailbox containing the webhook. Obtain via List Mailboxes action.\"),\n webhook_id: z.number().int().describe(\"Unique numeric ID of the active webhook to disable. Obtain from webhook_set via List Webhooks action.\"),\n});\nconst ParseurDisableWebhook_WebhookInfoSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Webhook ID\"),\n name: z.string().describe(\"Custom name of the webhook\").nullable().optional(),\n event: z.string().describe(\"Event type that triggers the webhook\"),\n target: z.string().describe(\"Target URL where webhook payloads are sent\"),\n headers: z.object({}).describe(\"Custom HTTP headers sent with the webhook payload\").nullable().optional(),\n category: z.string().describe(\"Webhook category\"),\n parser_field_set: z.array(z.unknown()).describe(\"List of parser fields or table-fields assigned to the webhook\").nullable().optional(),\n});\nconst ParseurDisableWebhook_DocumentPerStatusCountSchema: z.ZodTypeAny = z.object({\n SPLIT: z.number().int().describe(\"Files that were split into multiple documents\").nullable().optional(),\n INVALID: z.number().int().describe(\"Files that were not processed because they are not supported by our system\").nullable().optional(),\n SKIPPED: z.number().int().describe(\"Files that were skipped because of a template\").nullable().optional(),\n TRANSKO: z.number().int().describe(\"Files where our Python post-processing failed to process\").nullable().optional(),\n EXPORTKO: z.number().int().describe(\"Files where exporting the parsed data failed\").nullable().optional(),\n INCOMING: z.number().int().describe(\"Files that have been received by our system but are awaiting processing\").nullable().optional(),\n PARSEDKO: z.number().int().describe(\"Files where processing failed\").nullable().optional(),\n PARSEDOK: z.number().int().describe(\"Files that have been processed and data is available for export\").nullable().optional(),\n PROGRESS: z.number().int().describe(\"Files currently being processed by active AI engine for that mailbox\").nullable().optional(),\n QUOTAEXC: z.number().int().describe(\"Files where processing was stopped because the user does not have enough credits to process them\").nullable().optional(),\n ANALYZING: z.number().int().describe(\"Files being analyzed against our system's import parameters and the user's mailbox settings\").nullable().optional(),\n});\nexport const ParseurDisableWebhookOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"The internal ID number for the parser\").nullable().optional(),\n name: z.string().describe(\"The name of the parser\").nullable().optional(),\n is_master: z.boolean().describe(\"Whether this is a master parser that passes its instructions on to others\").nullable().optional(),\n webhook_set: z.array(ParseurDisableWebhook_WebhookInfoSchema).describe(\"List of active webhooks for this parser. The disabled webhook will not appear in this list.\").nullable().optional(),\n account_uuid: z.string().describe(\"The Universally Unique Identifier for your account\").nullable().optional(),\n email_prefix: z.string().describe(\"The email prefix for the parser\").nullable().optional(),\n last_activity: z.string().describe(\"Last activity timestamp\").nullable().optional(),\n available_webhook_set: z.array(ParseurDisableWebhook_WebhookInfoSchema).describe(\"List of available (paused/disabled) webhooks. The disabled webhook will appear here.\").nullable().optional(),\n document_per_status_count: ParseurDisableWebhook_DocumentPerStatusCountSchema.nullable().optional(),\n});\n\nexport const parseurDisableWebhook = action(\"PARSEUR_DISABLE_WEBHOOK\", {\n slug: \"parseur-disable-webhook\",\n name: \"Disable webhook\",\n description: \"Tool to disable a webhook for a mailbox. Removes the webhook association from the specified mailbox. Use when you need to stop an active webhook from sending parsed data.\",\n input: ParseurDisableWebhookInput,\n output: ParseurDisableWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mGAAmG;CACzI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uGAAuG;AAC/I,CAAC;AACD,MAAM,0CAAwDA,IAAAA,EAAE,OAAO;CACrE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,YAAY;CAC1C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CACjE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACxE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAChD,kBAAkBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvI,CAAC;AACD,MAAM,qDAAmEA,IAAAA,EAAE,OAAO;CAChF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;C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CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,aAAaA,IAAAA,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1L,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,uBAAuBA,IAAAA,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7L,2BAA2B,mDAAmD,SAAS,CAAC,CAAC,SAAS;AACpG,CAAC;AAED,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"disable-webhook.cjs","names":["z","action"],"sources":["../../src/actions/disable-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseurDisableWebhookInput = z.object({\n mailbox_id: z.number().int().describe(\"Unique numeric ID of the parser mailbox containing the webhook. Obtain via List Mailboxes action.\"),\n webhook_id: z.number().int().describe(\"Unique numeric ID of the active webhook to disable. Obtain from webhook_set via List Webhooks action.\"),\n});\nconst ParseurDisableWebhook_WebhookInfoSchema = z.object({\n id: z.number().int().describe(\"Webhook ID\").nullable(),\n name: z.string().describe(\"Custom name of the webhook\").nullable().optional(),\n event: z.string().describe(\"Event type that triggers the webhook\").nullable(),\n target: z.string().describe(\"Target URL where webhook payloads are sent\").nullable(),\n headers: z.object({}).describe(\"Custom HTTP headers sent with the webhook payload\").nullable().optional(),\n category: z.string().describe(\"Webhook category\").nullable(),\n parser_field_set: z.array(z.unknown()).describe(\"List of parser fields or table-fields assigned to the webhook\").nullable().optional(),\n});\nconst ParseurDisableWebhook_DocumentPerStatusCountSchema = z.object({\n SPLIT: z.number().int().describe(\"Files that were split into multiple documents\").nullable().optional(),\n INVALID: z.number().int().describe(\"Files that were not processed because they are not supported by our system\").nullable().optional(),\n SKIPPED: z.number().int().describe(\"Files that were skipped because of a template\").nullable().optional(),\n TRANSKO: z.number().int().describe(\"Files where our Python post-processing failed to process\").nullable().optional(),\n EXPORTKO: z.number().int().describe(\"Files where exporting the parsed data failed\").nullable().optional(),\n INCOMING: z.number().int().describe(\"Files that have been received by our system but are awaiting processing\").nullable().optional(),\n PARSEDKO: z.number().int().describe(\"Files where processing failed\").nullable().optional(),\n PARSEDOK: z.number().int().describe(\"Files that have been processed and data is available for export\").nullable().optional(),\n PROGRESS: z.number().int().describe(\"Files currently being processed by active AI engine for that mailbox\").nullable().optional(),\n QUOTAEXC: z.number().int().describe(\"Files where processing was stopped because the user does not have enough credits to process them\").nullable().optional(),\n ANALYZING: z.number().int().describe(\"Files being analyzed against our system's import parameters and the user's mailbox settings\").nullable().optional(),\n});\nexport const ParseurDisableWebhookOutput = z.object({\n id: z.number().int().describe(\"The internal ID number for the parser\").nullable().optional(),\n name: z.string().describe(\"The name of the parser\").nullable().optional(),\n is_master: z.boolean().describe(\"Whether this is a master parser that passes its instructions on to others\").nullable().optional(),\n webhook_set: z.array(ParseurDisableWebhook_WebhookInfoSchema).describe(\"List of active webhooks for this parser. The disabled webhook will not appear in this list.\").nullable().optional(),\n account_uuid: z.string().describe(\"The Universally Unique Identifier for your account\").nullable().optional(),\n email_prefix: z.string().describe(\"The email prefix for the parser\").nullable().optional(),\n last_activity: z.string().describe(\"Last activity timestamp\").nullable().optional(),\n available_webhook_set: z.array(ParseurDisableWebhook_WebhookInfoSchema).describe(\"List of available (paused/disabled) webhooks. The disabled webhook will appear here.\").nullable().optional(),\n document_per_status_count: ParseurDisableWebhook_DocumentPerStatusCountSchema.nullable().optional(),\n});\n\nexport const parseurDisableWebhook = action(\"PARSEUR_DISABLE_WEBHOOK\", {\n slug: \"parseur-disable-webhook\",\n name: \"Disable webhook\",\n description: \"Tool to disable a webhook for a mailbox. Removes the webhook association from the specified mailbox. Use when you need to stop an active webhook from sending parsed data.\",\n input: ParseurDisableWebhookInput,\n output: ParseurDisableWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mGAAmG;CACzI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uGAAuG;AAC/I,CAAC;AACD,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC5E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACnF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,UAAUA,IAAAA,EAAE,O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b,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,53 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/disable-webhook.d.ts
4
- declare const ParseurDisableWebhookInput: z.ZodTypeAny;
5
- declare const ParseurDisableWebhookOutput: z.ZodTypeAny;
6
- declare const parseurDisableWebhook: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ParseurDisableWebhookInput: z.ZodObject<{
5
+ mailbox_id: z.ZodNumber;
6
+ webhook_id: z.ZodNumber;
7
+ }, z.core.$strip>;
8
+ declare const ParseurDisableWebhookOutput: z.ZodObject<{
9
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
10
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ is_master: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
12
+ webhook_set: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
13
+ id: z.ZodNullable<z.ZodNumber>;
14
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ event: z.ZodNullable<z.ZodString>;
16
+ target: z.ZodNullable<z.ZodString>;
17
+ headers: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
18
+ category: z.ZodNullable<z.ZodString>;
19
+ parser_field_set: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
20
+ }, z.core.$strip>>>>;
21
+ account_uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ email_prefix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ last_activity: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ available_webhook_set: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
25
+ id: z.ZodNullable<z.ZodNumber>;
26
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ event: z.ZodNullable<z.ZodString>;
28
+ target: z.ZodNullable<z.ZodString>;
29
+ headers: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
30
+ category: z.ZodNullable<z.ZodString>;
31
+ parser_field_set: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
32
+ }, z.core.$strip>>>>;
33
+ document_per_status_count: z.ZodOptional<z.ZodNullable<z.ZodObject<{
34
+ SPLIT: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
35
+ INVALID: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
36
+ SKIPPED: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
37
+ TRANSKO: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
38
+ EXPORTKO: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
39
+ INCOMING: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
40
+ PARSEDKO: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
41
+ PARSEDOK: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
42
+ PROGRESS: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
43
+ QUOTAEXC: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
44
+ ANALYZING: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
45
+ }, z.core.$strip>>>;
46
+ }, z.core.$strip>;
47
+ declare const parseurDisableWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
48
+ mailbox_id: number;
49
+ webhook_id: number;
50
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
51
  //#endregion
8
52
  export { parseurDisableWebhook };
9
53
  //# sourceMappingURL=disable-webhook.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"disable-webhook.d.cts","names":[],"sources":["../../src/actions/disable-webhook.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAGzC;AAAA,cAuBW,2BAAA,EAA6B,CAAA,CAAE,UAU1C;AAAA,cAEW,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"disable-webhook.d.cts","names":[],"sources":["../../src/actions/disable-webhook.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cA0B1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAY3B,qBAAA,gCAAqB,wBAAA"}
@@ -1,9 +1,53 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/disable-webhook.d.ts
4
- declare const ParseurDisableWebhookInput: z.ZodTypeAny;
5
- declare const ParseurDisableWebhookOutput: z.ZodTypeAny;
6
- declare const parseurDisableWebhook: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ParseurDisableWebhookInput: z.ZodObject<{
5
+ mailbox_id: z.ZodNumber;
6
+ webhook_id: z.ZodNumber;
7
+ }, z.core.$strip>;
8
+ declare const ParseurDisableWebhookOutput: z.ZodObject<{
9
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
10
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ is_master: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
12
+ webhook_set: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
13
+ id: z.ZodNullable<z.ZodNumber>;
14
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ event: z.ZodNullable<z.ZodString>;
16
+ target: z.ZodNullable<z.ZodString>;
17
+ headers: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
18
+ category: z.ZodNullable<z.ZodString>;
19
+ parser_field_set: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
20
+ }, z.core.$strip>>>>;
21
+ account_uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ email_prefix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ last_activity: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ available_webhook_set: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
25
+ id: z.ZodNullable<z.ZodNumber>;
26
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ event: z.ZodNullable<z.ZodString>;
28
+ target: z.ZodNullable<z.ZodString>;
29
+ headers: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
30
+ category: z.ZodNullable<z.ZodString>;
31
+ parser_field_set: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
32
+ }, z.core.$strip>>>>;
33
+ document_per_status_count: z.ZodOptional<z.ZodNullable<z.ZodObject<{
34
+ SPLIT: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
35
+ INVALID: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
36
+ SKIPPED: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
37
+ TRANSKO: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
38
+ EXPORTKO: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
39
+ INCOMING: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
40
+ PARSEDKO: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
41
+ PARSEDOK: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
42
+ PROGRESS: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
43
+ QUOTAEXC: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
44
+ ANALYZING: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
45
+ }, z.core.$strip>>>;
46
+ }, z.core.$strip>;
47
+ declare const parseurDisableWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
48
+ mailbox_id: number;
49
+ webhook_id: number;
50
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
51
  //#endregion
8
52
  export { parseurDisableWebhook };
9
53
  //# sourceMappingURL=disable-webhook.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"disable-webhook.d.mts","names":[],"sources":["../../src/actions/disable-webhook.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAGzC;AAAA,cAuBW,2BAAA,EAA6B,CAAA,CAAE,UAU1C;AAAA,cAEW,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"disable-webhook.d.mts","names":[],"sources":["../../src/actions/disable-webhook.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cA0B1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAY3B,qBAAA,gCAAqB,wBAAA"}
@@ -6,12 +6,12 @@ const ParseurDisableWebhookInput = z.object({
6
6
  webhook_id: z.number().int().describe("Unique numeric ID of the active webhook to disable. Obtain from webhook_set via List Webhooks action.")
7
7
  });
8
8
  const ParseurDisableWebhook_WebhookInfoSchema = z.object({
9
- id: z.number().int().describe("Webhook ID"),
9
+ id: z.number().int().describe("Webhook ID").nullable(),
10
10
  name: z.string().describe("Custom name of the webhook").nullable().optional(),
11
- event: z.string().describe("Event type that triggers the webhook"),
12
- target: z.string().describe("Target URL where webhook payloads are sent"),
11
+ event: z.string().describe("Event type that triggers the webhook").nullable(),
12
+ target: z.string().describe("Target URL where webhook payloads are sent").nullable(),
13
13
  headers: z.object({}).describe("Custom HTTP headers sent with the webhook payload").nullable().optional(),
14
- category: z.string().describe("Webhook category"),
14
+ category: z.string().describe("Webhook category").nullable(),
15
15
  parser_field_set: z.array(z.unknown()).describe("List of parser fields or table-fields assigned to the webhook").nullable().optional()
16
16
  });
17
17
  const ParseurDisableWebhook_DocumentPerStatusCountSchema = z.object({
@@ -1 +1 @@
1
- {"version":3,"file":"disable-webhook.mjs","names":[],"sources":["../../src/actions/disable-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseurDisableWebhookInput: z.ZodTypeAny = z.object({\n mailbox_id: z.number().int().describe(\"Unique numeric ID of the parser mailbox containing the webhook. Obtain via List Mailboxes action.\"),\n webhook_id: z.number().int().describe(\"Unique numeric ID of the active webhook to disable. Obtain from webhook_set via List Webhooks action.\"),\n});\nconst ParseurDisableWebhook_WebhookInfoSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Webhook ID\"),\n name: z.string().describe(\"Custom name of the webhook\").nullable().optional(),\n event: z.string().describe(\"Event type that triggers the webhook\"),\n target: z.string().describe(\"Target URL where webhook payloads are sent\"),\n headers: z.object({}).describe(\"Custom HTTP headers sent with the webhook payload\").nullable().optional(),\n category: z.string().describe(\"Webhook category\"),\n parser_field_set: z.array(z.unknown()).describe(\"List of parser fields or table-fields assigned to the webhook\").nullable().optional(),\n});\nconst ParseurDisableWebhook_DocumentPerStatusCountSchema: z.ZodTypeAny = z.object({\n SPLIT: z.number().int().describe(\"Files that were split into multiple documents\").nullable().optional(),\n INVALID: z.number().int().describe(\"Files that were not processed because they are not supported by our system\").nullable().optional(),\n SKIPPED: z.number().int().describe(\"Files that were skipped because of a template\").nullable().optional(),\n TRANSKO: z.number().int().describe(\"Files where our Python post-processing failed to process\").nullable().optional(),\n EXPORTKO: z.number().int().describe(\"Files where exporting the parsed data failed\").nullable().optional(),\n INCOMING: z.number().int().describe(\"Files that have been received by our system but are awaiting processing\").nullable().optional(),\n PARSEDKO: z.number().int().describe(\"Files where processing failed\").nullable().optional(),\n PARSEDOK: z.number().int().describe(\"Files that have been processed and data is available for export\").nullable().optional(),\n PROGRESS: z.number().int().describe(\"Files currently being processed by active AI engine for that mailbox\").nullable().optional(),\n QUOTAEXC: z.number().int().describe(\"Files where processing was stopped because the user does not have enough credits to process them\").nullable().optional(),\n ANALYZING: z.number().int().describe(\"Files being analyzed against our system's import parameters and the user's mailbox settings\").nullable().optional(),\n});\nexport const ParseurDisableWebhookOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"The internal ID number for the parser\").nullable().optional(),\n name: z.string().describe(\"The name of the parser\").nullable().optional(),\n is_master: z.boolean().describe(\"Whether this is a master parser that passes its instructions on to others\").nullable().optional(),\n webhook_set: z.array(ParseurDisableWebhook_WebhookInfoSchema).describe(\"List of active webhooks for this parser. The disabled webhook will not appear in this list.\").nullable().optional(),\n account_uuid: z.string().describe(\"The Universally Unique Identifier for your account\").nullable().optional(),\n email_prefix: z.string().describe(\"The email prefix for the parser\").nullable().optional(),\n last_activity: z.string().describe(\"Last activity timestamp\").nullable().optional(),\n available_webhook_set: z.array(ParseurDisableWebhook_WebhookInfoSchema).describe(\"List of available (paused/disabled) webhooks. The disabled webhook will appear here.\").nullable().optional(),\n document_per_status_count: ParseurDisableWebhook_DocumentPerStatusCountSchema.nullable().optional(),\n});\n\nexport const parseurDisableWebhook = action(\"PARSEUR_DISABLE_WEBHOOK\", {\n slug: \"parseur-disable-webhook\",\n name: \"Disable webhook\",\n description: \"Tool to disable a webhook for a mailbox. Removes the webhook association from the specified mailbox. Use when you need to stop an active webhook from sending parsed data.\",\n input: ParseurDisableWebhookInput,\n output: ParseurDisableWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2C,EAAE,OAAO;CAC/D,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mGAAmG;CACzI,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uGAAuG;AAC/I,CAAC;AACD,MAAM,0CAAwD,EAAE,OAAO;CACrE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,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AsF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7L,2BAA2B,mDAAmD,SAAS,CAAC,CAAC,SAAS;CACpG,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"disable-webhook.mjs","names":[],"sources":["../../src/actions/disable-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseurDisableWebhookInput = z.object({\n mailbox_id: z.number().int().describe(\"Unique numeric ID of the parser mailbox containing the webhook. Obtain via List Mailboxes action.\"),\n webhook_id: z.number().int().describe(\"Unique numeric ID of the active webhook to disable. Obtain from webhook_set via List Webhooks action.\"),\n});\nconst ParseurDisableWebhook_WebhookInfoSchema = z.object({\n id: z.number().int().describe(\"Webhook ID\").nullable(),\n name: z.string().describe(\"Custom name of the webhook\").nullable().optional(),\n event: z.string().describe(\"Event type that triggers the webhook\").nullable(),\n target: z.string().describe(\"Target URL where webhook payloads are sent\").nullable(),\n headers: z.object({}).describe(\"Custom HTTP headers sent with the webhook payload\").nullable().optional(),\n category: z.string().describe(\"Webhook category\").nullable(),\n parser_field_set: z.array(z.unknown()).describe(\"List of parser fields or table-fields assigned to the webhook\").nullable().optional(),\n});\nconst ParseurDisableWebhook_DocumentPerStatusCountSchema = z.object({\n SPLIT: z.number().int().describe(\"Files that were split into multiple documents\").nullable().optional(),\n INVALID: z.number().int().describe(\"Files that were not processed because they are not supported by our system\").nullable().optional(),\n SKIPPED: z.number().int().describe(\"Files that were skipped because of a template\").nullable().optional(),\n TRANSKO: z.number().int().describe(\"Files where our Python post-processing failed to process\").nullable().optional(),\n EXPORTKO: z.number().int().describe(\"Files where exporting the parsed data failed\").nullable().optional(),\n INCOMING: z.number().int().describe(\"Files that have been received by our system but are awaiting processing\").nullable().optional(),\n PARSEDKO: z.number().int().describe(\"Files where processing failed\").nullable().optional(),\n PARSEDOK: z.number().int().describe(\"Files that have been processed and data is available for export\").nullable().optional(),\n PROGRESS: z.number().int().describe(\"Files currently being processed by active AI engine for that mailbox\").nullable().optional(),\n QUOTAEXC: z.number().int().describe(\"Files where processing was stopped because the user does not have enough credits to process them\").nullable().optional(),\n ANALYZING: z.number().int().describe(\"Files being analyzed against our system's import parameters and the user's mailbox settings\").nullable().optional(),\n});\nexport const ParseurDisableWebhookOutput = z.object({\n id: z.number().int().describe(\"The internal ID number for the parser\").nullable().optional(),\n name: z.string().describe(\"The name of the parser\").nullable().optional(),\n is_master: z.boolean().describe(\"Whether this is a master parser that passes its instructions on to others\").nullable().optional(),\n webhook_set: z.array(ParseurDisableWebhook_WebhookInfoSchema).describe(\"List of active webhooks for this parser. The disabled webhook will not appear in this list.\").nullable().optional(),\n account_uuid: z.string().describe(\"The Universally Unique Identifier for your account\").nullable().optional(),\n email_prefix: z.string().describe(\"The email prefix for the parser\").nullable().optional(),\n last_activity: z.string().describe(\"Last activity timestamp\").nullable().optional(),\n available_webhook_set: z.array(ParseurDisableWebhook_WebhookInfoSchema).describe(\"List of available (paused/disabled) webhooks. The disabled webhook will appear here.\").nullable().optional(),\n document_per_status_count: ParseurDisableWebhook_DocumentPerStatusCountSchema.nullable().optional(),\n});\n\nexport const parseurDisableWebhook = action(\"PARSEUR_DISABLE_WEBHOOK\", {\n slug: \"parseur-disable-webhook\",\n name: \"Disable webhook\",\n description: \"Tool to disable a webhook for a mailbox. Removes the webhook association from the specified mailbox. Use when you need to stop an active webhook from sending parsed data.\",\n input: ParseurDisableWebhookInput,\n output: ParseurDisableWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO;CACjD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mGAAmG;CACzI,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uGAAuG;AAC/I,CAAC;AACD,MAAM,0CAA0C,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;CACrD,MAA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E,MAAM,uCAAuC,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7L,2BAA2B,mDAAmD,SAAS,CAAC,CAAC,SAAS;CACpG,CAOU;AACV,CAAC"}
@@ -6,19 +6,19 @@ const ParseurEnableWebhookInput = zod.z.object({
6
6
  webhook_id: zod.z.number().int().describe("Unique numeric ID of the paused webhook to enable. Obtain from available_webhook_set via List Webhooks action.")
7
7
  });
8
8
  const ParseurEnableWebhookOutput = zod.z.object({
9
- id: zod.z.number().int().describe("Unique ID of the webhook"),
9
+ id: zod.z.number().int().describe("Unique ID of the webhook").nullable(),
10
10
  name: zod.z.string().describe("Custom name of the webhook").nullable().optional(),
11
11
  event: zod.z.enum([
12
12
  "document.processed",
13
13
  "document.processed.flattened",
14
14
  "document.template_needed",
15
15
  "table.processed"
16
- ]).describe("Event type that triggers the webhook"),
16
+ ]).describe("Event type that triggers the webhook").nullable(),
17
17
  parser: zod.z.number().int().describe("ID of the mailbox (parser) associated with the webhook").nullable().optional(),
18
- target: zod.z.string().describe("Target URL where webhook payloads are sent"),
18
+ target: zod.z.string().describe("Target URL where webhook payloads are sent").nullable(),
19
19
  api_key: zod.z.string().describe("API key associated with the webhook, if any").nullable().optional(),
20
20
  headers: zod.z.object({}).describe("Custom HTTP headers sent with the webhook payload").nullable().optional(),
21
- category: zod.z.string().describe("Webhook category (always 'CUSTOM' for user-created webhooks)"),
21
+ category: zod.z.string().describe("Webhook category (always 'CUSTOM' for user-created webhooks)").nullable(),
22
22
  parser_field: zod.z.string().describe("ID of the field that triggers the webhook (format: 'PF12345'), if any").nullable().optional(),
23
23
  parser_field_set: zod.z.array(zod.z.unknown()).describe("List of parser fields or table-fields assigned to the webhook").nullable().optional(),
24
24
  default_driver_fee_percentage: zod.z.number().describe("Default driver fee percentage for the webhook, if applicable").nullable().optional()