@keystrokehq/parseur 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (157) hide show
  1. package/dist/actions/copy-document.cjs +2 -2
  2. package/dist/actions/copy-document.cjs.map +1 -1
  3. package/dist/actions/copy-document.d.cts +2 -2
  4. package/dist/actions/copy-document.d.mts +2 -2
  5. package/dist/actions/copy-document.mjs +2 -2
  6. package/dist/actions/copy-document.mjs.map +1 -1
  7. package/dist/actions/copy-mailbox.cjs +2 -2
  8. package/dist/actions/copy-mailbox.cjs.map +1 -1
  9. package/dist/actions/copy-mailbox.d.cts +2 -2
  10. package/dist/actions/copy-mailbox.d.mts +2 -2
  11. package/dist/actions/copy-mailbox.mjs +2 -2
  12. package/dist/actions/copy-mailbox.mjs.map +1 -1
  13. package/dist/actions/create-custom-download.cjs +1 -1
  14. package/dist/actions/create-custom-download.cjs.map +1 -1
  15. package/dist/actions/create-custom-download.d.cts +1 -1
  16. package/dist/actions/create-custom-download.d.mts +1 -1
  17. package/dist/actions/create-custom-download.mjs +1 -1
  18. package/dist/actions/create-custom-download.mjs.map +1 -1
  19. package/dist/actions/create-mailbox.cjs +6 -6
  20. package/dist/actions/create-mailbox.cjs.map +1 -1
  21. package/dist/actions/create-mailbox.d.cts +6 -6
  22. package/dist/actions/create-mailbox.d.mts +6 -6
  23. package/dist/actions/create-mailbox.mjs +6 -6
  24. package/dist/actions/create-mailbox.mjs.map +1 -1
  25. package/dist/actions/delete-custom-download.cjs +1 -1
  26. package/dist/actions/delete-custom-download.cjs.map +1 -1
  27. package/dist/actions/delete-custom-download.d.cts +1 -1
  28. package/dist/actions/delete-custom-download.d.mts +1 -1
  29. package/dist/actions/delete-custom-download.mjs +1 -1
  30. package/dist/actions/delete-custom-download.mjs.map +1 -1
  31. package/dist/actions/delete-document.cjs +1 -1
  32. package/dist/actions/delete-document.cjs.map +1 -1
  33. package/dist/actions/delete-document.d.cts +1 -1
  34. package/dist/actions/delete-document.d.mts +1 -1
  35. package/dist/actions/delete-document.mjs +1 -1
  36. package/dist/actions/delete-document.mjs.map +1 -1
  37. package/dist/actions/delete-mailbox.cjs +2 -2
  38. package/dist/actions/delete-mailbox.cjs.map +1 -1
  39. package/dist/actions/delete-mailbox.d.cts +2 -2
  40. package/dist/actions/delete-mailbox.d.mts +2 -2
  41. package/dist/actions/delete-mailbox.mjs +2 -2
  42. package/dist/actions/delete-mailbox.mjs.map +1 -1
  43. package/dist/actions/delete-webhook.cjs +1 -1
  44. package/dist/actions/delete-webhook.cjs.map +1 -1
  45. package/dist/actions/delete-webhook.d.cts +1 -1
  46. package/dist/actions/delete-webhook.d.mts +1 -1
  47. package/dist/actions/delete-webhook.mjs +1 -1
  48. package/dist/actions/delete-webhook.mjs.map +1 -1
  49. package/dist/actions/disable-webhook.cjs +4 -4
  50. package/dist/actions/disable-webhook.cjs.map +1 -1
  51. package/dist/actions/disable-webhook.d.cts +6 -6
  52. package/dist/actions/disable-webhook.d.mts +6 -6
  53. package/dist/actions/disable-webhook.mjs +4 -4
  54. package/dist/actions/disable-webhook.mjs.map +1 -1
  55. package/dist/actions/enable-webhook.cjs +2 -2
  56. package/dist/actions/enable-webhook.cjs.map +1 -1
  57. package/dist/actions/enable-webhook.d.cts +2 -2
  58. package/dist/actions/enable-webhook.d.mts +2 -2
  59. package/dist/actions/enable-webhook.mjs +2 -2
  60. package/dist/actions/enable-webhook.mjs.map +1 -1
  61. package/dist/actions/get-bootstrap-config.cjs +9 -9
  62. package/dist/actions/get-bootstrap-config.cjs.map +1 -1
  63. package/dist/actions/get-bootstrap-config.d.cts +9 -9
  64. package/dist/actions/get-bootstrap-config.d.mts +9 -9
  65. package/dist/actions/get-bootstrap-config.mjs +9 -9
  66. package/dist/actions/get-bootstrap-config.mjs.map +1 -1
  67. package/dist/actions/get-document-logs.cjs +2 -2
  68. package/dist/actions/get-document-logs.cjs.map +1 -1
  69. package/dist/actions/get-document-logs.d.cts +2 -2
  70. package/dist/actions/get-document-logs.d.mts +2 -2
  71. package/dist/actions/get-document-logs.mjs +2 -2
  72. package/dist/actions/get-document-logs.mjs.map +1 -1
  73. package/dist/actions/get-document.cjs +4 -4
  74. package/dist/actions/get-document.cjs.map +1 -1
  75. package/dist/actions/get-document.d.cts +4 -4
  76. package/dist/actions/get-document.d.mts +4 -4
  77. package/dist/actions/get-document.mjs +4 -4
  78. package/dist/actions/get-document.mjs.map +1 -1
  79. package/dist/actions/get-mailbox-schema.cjs +1 -1
  80. package/dist/actions/get-mailbox-schema.cjs.map +1 -1
  81. package/dist/actions/get-mailbox-schema.d.cts +1 -1
  82. package/dist/actions/get-mailbox-schema.d.mts +1 -1
  83. package/dist/actions/get-mailbox-schema.mjs +1 -1
  84. package/dist/actions/get-mailbox-schema.mjs.map +1 -1
  85. package/dist/actions/get-mailbox.cjs +8 -8
  86. package/dist/actions/get-mailbox.cjs.map +1 -1
  87. package/dist/actions/get-mailbox.d.cts +11 -11
  88. package/dist/actions/get-mailbox.d.mts +11 -11
  89. package/dist/actions/get-mailbox.mjs +8 -8
  90. package/dist/actions/get-mailbox.mjs.map +1 -1
  91. package/dist/actions/list-custom-downloads.cjs +2 -2
  92. package/dist/actions/list-custom-downloads.cjs.map +1 -1
  93. package/dist/actions/list-custom-downloads.d.cts +2 -2
  94. package/dist/actions/list-custom-downloads.d.mts +2 -2
  95. package/dist/actions/list-custom-downloads.mjs +2 -2
  96. package/dist/actions/list-custom-downloads.mjs.map +1 -1
  97. package/dist/actions/list-documents-in-mailbox.cjs +3 -3
  98. package/dist/actions/list-documents-in-mailbox.cjs.map +1 -1
  99. package/dist/actions/list-documents-in-mailbox.d.cts +3 -3
  100. package/dist/actions/list-documents-in-mailbox.d.mts +3 -3
  101. package/dist/actions/list-documents-in-mailbox.mjs +3 -3
  102. package/dist/actions/list-documents-in-mailbox.mjs.map +1 -1
  103. package/dist/actions/list-mailboxes2.cjs +7 -7
  104. package/dist/actions/list-mailboxes2.cjs.map +1 -1
  105. package/dist/actions/list-mailboxes2.d.cts +8 -8
  106. package/dist/actions/list-mailboxes2.d.mts +8 -8
  107. package/dist/actions/list-mailboxes2.mjs +7 -7
  108. package/dist/actions/list-mailboxes2.mjs.map +1 -1
  109. package/dist/actions/list-templates.cjs +2 -2
  110. package/dist/actions/list-templates.cjs.map +1 -1
  111. package/dist/actions/list-templates.d.cts +4 -4
  112. package/dist/actions/list-templates.d.mts +4 -4
  113. package/dist/actions/list-templates.mjs +2 -2
  114. package/dist/actions/list-templates.mjs.map +1 -1
  115. package/dist/actions/reprocess-document.cjs +2 -2
  116. package/dist/actions/reprocess-document.cjs.map +1 -1
  117. package/dist/actions/reprocess-document.d.cts +2 -2
  118. package/dist/actions/reprocess-document.d.mts +2 -2
  119. package/dist/actions/reprocess-document.mjs +2 -2
  120. package/dist/actions/reprocess-document.mjs.map +1 -1
  121. package/dist/actions/retrieve-webhook.cjs +2 -2
  122. package/dist/actions/retrieve-webhook.cjs.map +1 -1
  123. package/dist/actions/retrieve-webhook.d.cts +2 -2
  124. package/dist/actions/retrieve-webhook.d.mts +2 -2
  125. package/dist/actions/retrieve-webhook.mjs +2 -2
  126. package/dist/actions/retrieve-webhook.mjs.map +1 -1
  127. package/dist/actions/skip-document.cjs +4 -4
  128. package/dist/actions/skip-document.cjs.map +1 -1
  129. package/dist/actions/skip-document.d.cts +4 -4
  130. package/dist/actions/skip-document.d.mts +4 -4
  131. package/dist/actions/skip-document.mjs +4 -4
  132. package/dist/actions/skip-document.mjs.map +1 -1
  133. package/dist/actions/update-custom-download.cjs +1 -1
  134. package/dist/actions/update-custom-download.cjs.map +1 -1
  135. package/dist/actions/update-custom-download.d.cts +1 -1
  136. package/dist/actions/update-custom-download.d.mts +1 -1
  137. package/dist/actions/update-custom-download.mjs +1 -1
  138. package/dist/actions/update-custom-download.mjs.map +1 -1
  139. package/dist/actions/update-mailbox.cjs +8 -8
  140. package/dist/actions/update-mailbox.cjs.map +1 -1
  141. package/dist/actions/update-mailbox.d.cts +13 -10
  142. package/dist/actions/update-mailbox.d.mts +13 -10
  143. package/dist/actions/update-mailbox.mjs +8 -8
  144. package/dist/actions/update-mailbox.mjs.map +1 -1
  145. package/dist/actions/update-webhook.cjs +3 -3
  146. package/dist/actions/update-webhook.cjs.map +1 -1
  147. package/dist/actions/update-webhook.d.cts +4 -4
  148. package/dist/actions/update-webhook.d.mts +4 -4
  149. package/dist/actions/update-webhook.mjs +3 -3
  150. package/dist/actions/update-webhook.mjs.map +1 -1
  151. package/dist/actions/upload-email-document.cjs +1 -1
  152. package/dist/actions/upload-email-document.cjs.map +1 -1
  153. package/dist/actions/upload-email-document.d.cts +1 -1
  154. package/dist/actions/upload-email-document.d.mts +1 -1
  155. package/dist/actions/upload-email-document.mjs +1 -1
  156. package/dist/actions/upload-email-document.mjs.map +1 -1
  157. package/package.json +1 -1
@@ -7,7 +7,7 @@ declare const ParseurDeleteCustomDownloadInput: z.ZodObject<{
7
7
  }, z.core.$strip>;
8
8
  declare const ParseurDeleteCustomDownloadOutput: z.ZodObject<{
9
9
  message: z.ZodNullable<z.ZodString>;
10
- }, z.core.$strip>;
10
+ }, z.core.$loose>;
11
11
  declare const parseurDeleteCustomDownload: import("@keystrokehq/action").WorkflowActionDefinition<{
12
12
  id: string;
13
13
  mailbox_id: string;
@@ -7,7 +7,7 @@ declare const ParseurDeleteCustomDownloadInput: z.ZodObject<{
7
7
  }, z.core.$strip>;
8
8
  declare const ParseurDeleteCustomDownloadOutput: z.ZodObject<{
9
9
  message: z.ZodNullable<z.ZodString>;
10
- }, z.core.$strip>;
10
+ }, z.core.$loose>;
11
11
  declare const parseurDeleteCustomDownload: import("@keystrokehq/action").WorkflowActionDefinition<{
12
12
  id: string;
13
13
  mailbox_id: string;
@@ -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.").nullable() }).describe("Response model for deleting a custom download.")
11
+ output: z.object({ message: z.string().describe("Confirmation message after custom download deletion.").nullable() }).passthrough().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.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"}
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}).passthrough().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,YAAY,CAAC,CAAC,SAAS,gDAOhB;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.").nullable() }).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() }).passthrough().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.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
+ {"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}).passthrough().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,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAE3E,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -6,7 +6,7 @@ declare const ParseurDeleteDocumentInput: z.ZodObject<{
6
6
  }, z.core.$strip>;
7
7
  declare const ParseurDeleteDocumentOutput: z.ZodObject<{
8
8
  message: z.ZodNullable<z.ZodString>;
9
- }, z.core.$strip>;
9
+ }, z.core.$loose>;
10
10
  declare const parseurDeleteDocument: import("@keystrokehq/action").WorkflowActionDefinition<{
11
11
  document_id: string;
12
12
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -6,7 +6,7 @@ declare const ParseurDeleteDocumentInput: z.ZodObject<{
6
6
  }, z.core.$strip>;
7
7
  declare const ParseurDeleteDocumentOutput: z.ZodObject<{
8
8
  message: z.ZodNullable<z.ZodString>;
9
- }, z.core.$strip>;
9
+ }, z.core.$loose>;
10
10
  declare const parseurDeleteDocument: import("@keystrokehq/action").WorkflowActionDefinition<{
11
11
  document_id: string;
12
12
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -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.").nullable() }).describe("Response model for deleting a Parseur document.")
8
+ output: z.object({ message: z.string().describe("Confirmation message after document deletion.").nullable() }).passthrough().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.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
+ {"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}).passthrough().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,YAAY,CAAC,CAAC,SAAS,iDAOhB;AACV,CAAC"}
@@ -2,8 +2,8 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/delete-mailbox.ts
4
4
  const ParseurDeleteMailboxInput = zod.z.object({ id: zod.z.number().int().describe("Unique identifier of the mailbox (parser) to delete.") }).describe("Request model for deleting a specific Parseur mailbox (parser).");
5
- const ParseurDeleteMailbox_NotificationSetSchema = zod.z.object({ info: zod.z.array(zod.z.string()).describe("List of informational messages about the deletion operation.").nullable().optional() }).describe("Notification information returned after mailbox deletion.");
6
- const ParseurDeleteMailboxOutput = zod.z.object({ notification_set: ParseurDeleteMailbox_NotificationSetSchema.nullable().optional() }).describe("Response model for deleting a Parseur mailbox.");
5
+ const ParseurDeleteMailbox_NotificationSetSchema = zod.z.object({ info: zod.z.array(zod.z.string()).describe("List of informational messages about the deletion operation.").nullable().optional() }).passthrough().describe("Notification information returned after mailbox deletion.");
6
+ const ParseurDeleteMailboxOutput = zod.z.object({ notification_set: ParseurDeleteMailbox_NotificationSetSchema.nullable().optional() }).passthrough().describe("Response model for deleting a Parseur mailbox.");
7
7
  const parseurDeleteMailbox = require_action.action("PARSEUR_DELETE_MAILBOX", {
8
8
  slug: "parseur-delete-mailbox",
9
9
  name: "Delete mailbox",
@@ -1 +1 @@
1
- {"version":3,"file":"delete-mailbox.cjs","names":["z","action"],"sources":["../../src/actions/delete-mailbox.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const 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
+ {"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}).passthrough().describe(\"Notification information returned after mailbox deletion.\");\nexport const ParseurDeleteMailboxOutput = z.object({\n notification_set: ParseurDeleteMailbox_NotificationSetSchema.nullable().optional(),\n}).passthrough().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,YAAY,CAAC,CAAC,SAAS,2DAA2D;AACrF,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,kBAAkB,2CAA2C,SAAS,CAAC,CAAC,SAAS,EACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -7,8 +7,8 @@ declare const ParseurDeleteMailboxInput: z.ZodObject<{
7
7
  declare const ParseurDeleteMailboxOutput: z.ZodObject<{
8
8
  notification_set: z.ZodOptional<z.ZodNullable<z.ZodObject<{
9
9
  info: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
10
- }, z.core.$strip>>>;
11
- }, z.core.$strip>;
10
+ }, z.core.$loose>>>;
11
+ }, z.core.$loose>;
12
12
  declare const parseurDeleteMailbox: import("@keystrokehq/action").WorkflowActionDefinition<{
13
13
  id: number;
14
14
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -7,8 +7,8 @@ declare const ParseurDeleteMailboxInput: z.ZodObject<{
7
7
  declare const ParseurDeleteMailboxOutput: z.ZodObject<{
8
8
  notification_set: z.ZodOptional<z.ZodNullable<z.ZodObject<{
9
9
  info: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
10
- }, z.core.$strip>>>;
11
- }, z.core.$strip>;
10
+ }, z.core.$loose>>>;
11
+ }, z.core.$loose>;
12
12
  declare const parseurDeleteMailbox: import("@keystrokehq/action").WorkflowActionDefinition<{
13
13
  id: number;
14
14
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -2,13 +2,13 @@ import { action } from "../action.mjs";
2
2
  import { z } from "zod";
3
3
  //#region src/actions/delete-mailbox.ts
4
4
  const ParseurDeleteMailboxInput = z.object({ id: z.number().int().describe("Unique identifier of the mailbox (parser) to delete.") }).describe("Request model for deleting a specific Parseur mailbox (parser).");
5
- const ParseurDeleteMailbox_NotificationSetSchema = z.object({ info: z.array(z.string()).describe("List of informational messages about the deletion operation.").nullable().optional() }).describe("Notification information returned after mailbox deletion.");
5
+ const ParseurDeleteMailbox_NotificationSetSchema = z.object({ info: z.array(z.string()).describe("List of informational messages about the deletion operation.").nullable().optional() }).passthrough().describe("Notification information returned after mailbox deletion.");
6
6
  const parseurDeleteMailbox = action("PARSEUR_DELETE_MAILBOX", {
7
7
  slug: "parseur-delete-mailbox",
8
8
  name: "Delete mailbox",
9
9
  description: "Tool to delete a mailbox (parser) by ID. Use when permanently removing a mailbox after confirming its ID.",
10
10
  input: ParseurDeleteMailboxInput,
11
- output: z.object({ notification_set: ParseurDeleteMailbox_NotificationSetSchema.nullable().optional() }).describe("Response model for deleting a Parseur mailbox.")
11
+ output: z.object({ notification_set: ParseurDeleteMailbox_NotificationSetSchema.nullable().optional() }).passthrough().describe("Response model for deleting a Parseur mailbox.")
12
12
  });
13
13
  //#endregion
14
14
  export { parseurDeleteMailbox };
@@ -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.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"}
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}).passthrough().describe(\"Notification information returned after mailbox deletion.\");\nexport const ParseurDeleteMailboxOutput = z.object({\n notification_set: ParseurDeleteMailbox_NotificationSetSchema.nullable().optional(),\n}).passthrough().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,YAAY,CAAC,CAAC,SAAS,2DAA2D;AAKrF,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,YAAY,CAAC,CAAC,SAAS,gDAOhB;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.").nullable() }).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() }).passthrough().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.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
+ {"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}).passthrough().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,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -6,7 +6,7 @@ declare const ParseurDeleteWebhookInput: z.ZodObject<{
6
6
  }, z.core.$strip>;
7
7
  declare const ParseurDeleteWebhookOutput: z.ZodObject<{
8
8
  message: z.ZodNullable<z.ZodString>;
9
- }, z.core.$strip>;
9
+ }, z.core.$loose>;
10
10
  declare const parseurDeleteWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
11
11
  webhook_id: number;
12
12
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -6,7 +6,7 @@ declare const ParseurDeleteWebhookInput: z.ZodObject<{
6
6
  }, z.core.$strip>;
7
7
  declare const ParseurDeleteWebhookOutput: z.ZodObject<{
8
8
  message: z.ZodNullable<z.ZodString>;
9
- }, z.core.$strip>;
9
+ }, z.core.$loose>;
10
10
  declare const parseurDeleteWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
11
11
  webhook_id: number;
12
12
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -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.").nullable() }).describe("Response model for deleting a Parseur webhook.")
8
+ output: z.object({ message: z.string().describe("Confirmation message after webhook deletion.").nullable() }).passthrough().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.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"}
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}).passthrough().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,YAAY,CAAC,CAAC,SAAS,gDAOhB;AACV,CAAC"}
@@ -10,10 +10,10 @@ const ParseurDisableWebhook_WebhookInfoSchema = zod.z.object({
10
10
  name: zod.z.string().describe("Custom name of the webhook").nullable().optional(),
11
11
  event: zod.z.string().describe("Event type that triggers the webhook").nullable(),
12
12
  target: zod.z.string().describe("Target URL where webhook payloads are sent").nullable(),
13
- headers: zod.z.object({}).describe("Custom HTTP headers sent with the webhook payload").nullable().optional(),
13
+ headers: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom HTTP headers sent with the webhook payload").nullable().optional(),
14
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
+ }).passthrough();
17
17
  const ParseurDisableWebhook_DocumentPerStatusCountSchema = zod.z.object({
18
18
  SPLIT: zod.z.number().int().describe("Files that were split into multiple documents").nullable().optional(),
19
19
  INVALID: zod.z.number().int().describe("Files that were not processed because they are not supported by our system").nullable().optional(),
@@ -26,7 +26,7 @@ const ParseurDisableWebhook_DocumentPerStatusCountSchema = zod.z.object({
26
26
  PROGRESS: zod.z.number().int().describe("Files currently being processed by active AI engine for that mailbox").nullable().optional(),
27
27
  QUOTAEXC: zod.z.number().int().describe("Files where processing was stopped because the user does not have enough credits to process them").nullable().optional(),
28
28
  ANALYZING: zod.z.number().int().describe("Files being analyzed against our system's import parameters and the user's mailbox settings").nullable().optional()
29
- });
29
+ }).passthrough();
30
30
  const ParseurDisableWebhookOutput = zod.z.object({
31
31
  id: zod.z.number().int().describe("The internal ID number for the parser").nullable().optional(),
32
32
  name: zod.z.string().describe("The name of the parser").nullable().optional(),
@@ -37,7 +37,7 @@ const ParseurDisableWebhookOutput = zod.z.object({
37
37
  last_activity: zod.z.string().describe("Last activity timestamp").nullable().optional(),
38
38
  available_webhook_set: zod.z.array(ParseurDisableWebhook_WebhookInfoSchema).describe("List of available (paused/disabled) webhooks. The disabled webhook will appear here.").nullable().optional(),
39
39
  document_per_status_count: ParseurDisableWebhook_DocumentPerStatusCountSchema.nullable().optional()
40
- });
40
+ }).passthrough();
41
41
  const parseurDisableWebhook = require_action.action("PARSEUR_DISABLE_WEBHOOK", {
42
42
  slug: "parseur-disable-webhook",
43
43
  name: "Disable webhook",
@@ -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.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,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CAC3D,kBAAkBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvI,CAAC;AACD,M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6FAA6F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1J,CAAC;AACD,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,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.record(z.string(), z.unknown()).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}).passthrough();\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}).passthrough();\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}).passthrough();\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,OA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AAC,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,CAAC,CAAC,YAAY;AAEf,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -14,10 +14,10 @@ declare const ParseurDisableWebhookOutput: z.ZodObject<{
14
14
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
15
  event: z.ZodNullable<z.ZodString>;
16
16
  target: z.ZodNullable<z.ZodString>;
17
- headers: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
17
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
18
18
  category: z.ZodNullable<z.ZodString>;
19
19
  parser_field_set: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
20
- }, z.core.$strip>>>>;
20
+ }, z.core.$loose>>>>;
21
21
  account_uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
22
  email_prefix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
23
  last_activity: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -26,10 +26,10 @@ declare const ParseurDisableWebhookOutput: z.ZodObject<{
26
26
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
27
  event: z.ZodNullable<z.ZodString>;
28
28
  target: z.ZodNullable<z.ZodString>;
29
- headers: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
29
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
30
30
  category: z.ZodNullable<z.ZodString>;
31
31
  parser_field_set: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
32
- }, z.core.$strip>>>>;
32
+ }, z.core.$loose>>>>;
33
33
  document_per_status_count: z.ZodOptional<z.ZodNullable<z.ZodObject<{
34
34
  SPLIT: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
35
35
  INVALID: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -42,8 +42,8 @@ declare const ParseurDisableWebhookOutput: z.ZodObject<{
42
42
  PROGRESS: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
43
43
  QUOTAEXC: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
44
44
  ANALYZING: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
45
- }, z.core.$strip>>>;
46
- }, z.core.$strip>;
45
+ }, z.core.$loose>>>;
46
+ }, z.core.$loose>;
47
47
  declare const parseurDisableWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
48
48
  mailbox_id: number;
49
49
  webhook_id: number;
@@ -14,10 +14,10 @@ declare const ParseurDisableWebhookOutput: z.ZodObject<{
14
14
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
15
  event: z.ZodNullable<z.ZodString>;
16
16
  target: z.ZodNullable<z.ZodString>;
17
- headers: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
17
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
18
18
  category: z.ZodNullable<z.ZodString>;
19
19
  parser_field_set: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
20
- }, z.core.$strip>>>>;
20
+ }, z.core.$loose>>>>;
21
21
  account_uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
22
  email_prefix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
23
  last_activity: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -26,10 +26,10 @@ declare const ParseurDisableWebhookOutput: z.ZodObject<{
26
26
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
27
  event: z.ZodNullable<z.ZodString>;
28
28
  target: z.ZodNullable<z.ZodString>;
29
- headers: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
29
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
30
30
  category: z.ZodNullable<z.ZodString>;
31
31
  parser_field_set: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
32
- }, z.core.$strip>>>>;
32
+ }, z.core.$loose>>>>;
33
33
  document_per_status_count: z.ZodOptional<z.ZodNullable<z.ZodObject<{
34
34
  SPLIT: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
35
35
  INVALID: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -42,8 +42,8 @@ declare const ParseurDisableWebhookOutput: z.ZodObject<{
42
42
  PROGRESS: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
43
43
  QUOTAEXC: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
44
44
  ANALYZING: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
45
- }, z.core.$strip>>>;
46
- }, z.core.$strip>;
45
+ }, z.core.$loose>>>;
46
+ }, z.core.$loose>;
47
47
  declare const parseurDisableWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
48
48
  mailbox_id: number;
49
49
  webhook_id: number;
@@ -10,10 +10,10 @@ const ParseurDisableWebhook_WebhookInfoSchema = z.object({
10
10
  name: z.string().describe("Custom name of the webhook").nullable().optional(),
11
11
  event: z.string().describe("Event type that triggers the webhook").nullable(),
12
12
  target: z.string().describe("Target URL where webhook payloads are sent").nullable(),
13
- headers: z.object({}).describe("Custom HTTP headers sent with the webhook payload").nullable().optional(),
13
+ headers: z.record(z.string(), z.unknown()).describe("Custom HTTP headers sent with the webhook payload").nullable().optional(),
14
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
+ }).passthrough();
17
17
  const ParseurDisableWebhook_DocumentPerStatusCountSchema = z.object({
18
18
  SPLIT: z.number().int().describe("Files that were split into multiple documents").nullable().optional(),
19
19
  INVALID: z.number().int().describe("Files that were not processed because they are not supported by our system").nullable().optional(),
@@ -26,7 +26,7 @@ const ParseurDisableWebhook_DocumentPerStatusCountSchema = z.object({
26
26
  PROGRESS: z.number().int().describe("Files currently being processed by active AI engine for that mailbox").nullable().optional(),
27
27
  QUOTAEXC: z.number().int().describe("Files where processing was stopped because the user does not have enough credits to process them").nullable().optional(),
28
28
  ANALYZING: z.number().int().describe("Files being analyzed against our system's import parameters and the user's mailbox settings").nullable().optional()
29
- });
29
+ }).passthrough();
30
30
  const parseurDisableWebhook = action("PARSEUR_DISABLE_WEBHOOK", {
31
31
  slug: "parseur-disable-webhook",
32
32
  name: "Disable webhook",
@@ -42,7 +42,7 @@ const parseurDisableWebhook = action("PARSEUR_DISABLE_WEBHOOK", {
42
42
  last_activity: z.string().describe("Last activity timestamp").nullable().optional(),
43
43
  available_webhook_set: z.array(ParseurDisableWebhook_WebhookInfoSchema).describe("List of available (paused/disabled) webhooks. The disabled webhook will appear here.").nullable().optional(),
44
44
  document_per_status_count: ParseurDisableWebhook_DocumentPerStatusCountSchema.nullable().optional()
45
- })
45
+ }).passthrough()
46
46
  });
47
47
  //#endregion
48
48
  export { parseurDisableWebhook };
@@ -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.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,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC5E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACnF,SAAS,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CAC3D,kBAAkB,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC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Aa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAjByC,EAAE,OAAO;EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxE,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjI,aAAa,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1L,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,uBAAuB,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,sFAAsF,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.record(z.string(), z.unknown()).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}).passthrough();\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}).passthrough();\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}).passthrough();\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,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC5E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACnF,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAA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W,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1J,CAAC,CAAC,CAAC,YAAY;AAaf,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAjByC,EAAE,OAAO;EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxE,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjI,aAAa,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1L,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,uBAAuB,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7L,2BAA2B,mDAAmD,SAAS,CAAC,CAAC,SAAS;CACpG,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -17,12 +17,12 @@ const ParseurEnableWebhookOutput = zod.z.object({
17
17
  parser: zod.z.number().int().describe("ID of the mailbox (parser) associated with the webhook").nullable().optional(),
18
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
- headers: zod.z.object({}).describe("Custom HTTP headers sent with the webhook payload").nullable().optional(),
20
+ headers: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom HTTP headers sent with the webhook payload").nullable().optional(),
21
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()
25
- });
25
+ }).passthrough();
26
26
  const parseurEnableWebhook = require_action.action("PARSEUR_ENABLE_WEBHOOK", {
27
27
  slug: "parseur-enable-webhook",
28
28
  name: "Enable webhook",
@@ -1 +1 @@
1
- {"version":3,"file":"enable-webhook.cjs","names":["z","action"],"sources":["../../src/actions/enable-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseurEnableWebhookInput = 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 paused webhook to enable. Obtain from available_webhook_set via List Webhooks action.\"),\n});\nexport const ParseurEnableWebhookOutput = z.object({\n id: z.number().int().describe(\"Unique ID of the webhook\").nullable(),\n name: z.string().describe(\"Custom name of the webhook\").nullable().optional(),\n event: z.enum([\"document.processed\", \"document.processed.flattened\", \"document.template_needed\", \"table.processed\"]).describe(\"Event type that triggers the webhook\").nullable(),\n parser: z.number().int().describe(\"ID of the mailbox (parser) associated with the webhook\").nullable().optional(),\n target: z.string().describe(\"Target URL where webhook payloads are sent\").nullable(),\n api_key: z.string().describe(\"API key associated with the webhook, if any\").nullable().optional(),\n headers: z.object({}).describe(\"Custom HTTP headers sent with the webhook payload\").nullable().optional(),\n category: z.string().describe(\"Webhook category (always 'CUSTOM' for user-created webhooks)\").nullable(),\n parser_field: z.string().describe(\"ID of the field that triggers the webhook (format: 'PF12345'), if any\").nullable().optional(),\n parser_field_set: z.array(z.unknown()).describe(\"List of parser fields or table-fields assigned to the webhook\").nullable().optional(),\n default_driver_fee_percentage: z.number().describe(\"Default driver fee percentage for the webhook, if applicable\").nullable().optional(),\n});\n\nexport const parseurEnableWebhook = action(\"PARSEUR_ENABLE_WEBHOOK\", {\n slug: \"parseur-enable-webhook\",\n name: \"Enable webhook\",\n description: \"Enables a paused webhook for a specified mailbox, allowing it to receive and forward parsed document events. Use this action to re-enable a webhook that was previously paused. Only webhooks listed in 'available_webhook_set' (paused webhooks) can be enabled. After enabling, the webhook will appear in 'webhook_set' (active webhooks) and begin sending HTTP POST requests to its target URL when the configured event occurs (e.g., document.processed).\",\n input: ParseurEnableWebhookInput,\n output: ParseurEnableWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mGAAmG;CACzI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gHAAgH;AACxJ,CAAC;AACD,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,OAAOA,IAAAA,EAAE,KAAK;EAAC;EAAsB;EAAgC;EAA4B;CAAiB,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC/K,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACnF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACvG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,kBAAkBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,+BAA+BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzI,CAAC;AAED,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"enable-webhook.cjs","names":["z","action"],"sources":["../../src/actions/enable-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseurEnableWebhookInput = 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 paused webhook to enable. Obtain from available_webhook_set via List Webhooks action.\"),\n});\nexport const ParseurEnableWebhookOutput = z.object({\n id: z.number().int().describe(\"Unique ID of the webhook\").nullable(),\n name: z.string().describe(\"Custom name of the webhook\").nullable().optional(),\n event: z.enum([\"document.processed\", \"document.processed.flattened\", \"document.template_needed\", \"table.processed\"]).describe(\"Event type that triggers the webhook\").nullable(),\n parser: z.number().int().describe(\"ID of the mailbox (parser) associated with the webhook\").nullable().optional(),\n target: z.string().describe(\"Target URL where webhook payloads are sent\").nullable(),\n api_key: z.string().describe(\"API key associated with the webhook, if any\").nullable().optional(),\n headers: z.record(z.string(), z.unknown()).describe(\"Custom HTTP headers sent with the webhook payload\").nullable().optional(),\n category: z.string().describe(\"Webhook category (always 'CUSTOM' for user-created webhooks)\").nullable(),\n parser_field: z.string().describe(\"ID of the field that triggers the webhook (format: 'PF12345'), if any\").nullable().optional(),\n parser_field_set: z.array(z.unknown()).describe(\"List of parser fields or table-fields assigned to the webhook\").nullable().optional(),\n default_driver_fee_percentage: z.number().describe(\"Default driver fee percentage for the webhook, if applicable\").nullable().optional(),\n}).passthrough();\n\nexport const parseurEnableWebhook = action(\"PARSEUR_ENABLE_WEBHOOK\", {\n slug: \"parseur-enable-webhook\",\n name: \"Enable webhook\",\n description: \"Enables a paused webhook for a specified mailbox, allowing it to receive and forward parsed document events. Use this action to re-enable a webhook that was previously paused. Only webhooks listed in 'available_webhook_set' (paused webhooks) can be enabled. After enabling, the webhook will appear in 'webhook_set' (active webhooks) and begin sending HTTP POST requests to its target URL when the configured event occurs (e.g., document.processed).\",\n input: ParseurEnableWebhookInput,\n output: ParseurEnableWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mGAAmG;CACzI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gHAAgH;AACxJ,CAAC;AACD,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAA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.ZodObject<{
17
17
  parser: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
18
18
  target: z.ZodNullable<z.ZodString>;
19
19
  api_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
- headers: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
20
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
21
21
  category: z.ZodNullable<z.ZodString>;
22
22
  parser_field: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
23
  parser_field_set: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
24
24
  default_driver_fee_percentage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
25
- }, z.core.$strip>;
25
+ }, z.core.$loose>;
26
26
  declare const parseurEnableWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
27
27
  mailbox_id: number;
28
28
  webhook_id: number;
@@ -17,12 +17,12 @@ declare const ParseurEnableWebhookOutput: z.ZodObject<{
17
17
  parser: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
18
18
  target: z.ZodNullable<z.ZodString>;
19
19
  api_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
- headers: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
20
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
21
21
  category: z.ZodNullable<z.ZodString>;
22
22
  parser_field: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
23
  parser_field_set: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
24
24
  default_driver_fee_percentage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
25
- }, z.core.$strip>;
25
+ }, z.core.$loose>;
26
26
  declare const parseurEnableWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
27
27
  mailbox_id: number;
28
28
  webhook_id: number;
@@ -20,12 +20,12 @@ const parseurEnableWebhook = action("PARSEUR_ENABLE_WEBHOOK", {
20
20
  parser: z.number().int().describe("ID of the mailbox (parser) associated with the webhook").nullable().optional(),
21
21
  target: z.string().describe("Target URL where webhook payloads are sent").nullable(),
22
22
  api_key: z.string().describe("API key associated with the webhook, if any").nullable().optional(),
23
- headers: z.object({}).describe("Custom HTTP headers sent with the webhook payload").nullable().optional(),
23
+ headers: z.record(z.string(), z.unknown()).describe("Custom HTTP headers sent with the webhook payload").nullable().optional(),
24
24
  category: z.string().describe("Webhook category (always 'CUSTOM' for user-created webhooks)").nullable(),
25
25
  parser_field: z.string().describe("ID of the field that triggers the webhook (format: 'PF12345'), if any").nullable().optional(),
26
26
  parser_field_set: z.array(z.unknown()).describe("List of parser fields or table-fields assigned to the webhook").nullable().optional(),
27
27
  default_driver_fee_percentage: z.number().describe("Default driver fee percentage for the webhook, if applicable").nullable().optional()
28
- })
28
+ }).passthrough()
29
29
  });
30
30
  //#endregion
31
31
  export { parseurEnableWebhook };
@@ -1 +1 @@
1
- {"version":3,"file":"enable-webhook.mjs","names":[],"sources":["../../src/actions/enable-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseurEnableWebhookInput = 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 paused webhook to enable. Obtain from available_webhook_set via List Webhooks action.\"),\n});\nexport const ParseurEnableWebhookOutput = z.object({\n id: z.number().int().describe(\"Unique ID of the webhook\").nullable(),\n name: z.string().describe(\"Custom name of the webhook\").nullable().optional(),\n event: z.enum([\"document.processed\", \"document.processed.flattened\", \"document.template_needed\", \"table.processed\"]).describe(\"Event type that triggers the webhook\").nullable(),\n parser: z.number().int().describe(\"ID of the mailbox (parser) associated with the webhook\").nullable().optional(),\n target: z.string().describe(\"Target URL where webhook payloads are sent\").nullable(),\n api_key: z.string().describe(\"API key associated with the webhook, if any\").nullable().optional(),\n headers: z.object({}).describe(\"Custom HTTP headers sent with the webhook payload\").nullable().optional(),\n category: z.string().describe(\"Webhook category (always 'CUSTOM' for user-created webhooks)\").nullable(),\n parser_field: z.string().describe(\"ID of the field that triggers the webhook (format: 'PF12345'), if any\").nullable().optional(),\n parser_field_set: z.array(z.unknown()).describe(\"List of parser fields or table-fields assigned to the webhook\").nullable().optional(),\n default_driver_fee_percentage: z.number().describe(\"Default driver fee percentage for the webhook, if applicable\").nullable().optional(),\n});\n\nexport const parseurEnableWebhook = action(\"PARSEUR_ENABLE_WEBHOOK\", {\n slug: \"parseur-enable-webhook\",\n name: \"Enable webhook\",\n description: \"Enables a paused webhook for a specified mailbox, allowing it to receive and forward parsed document events. Use this action to re-enable a webhook that was previously paused. Only webhooks listed in 'available_webhook_set' (paused webhooks) can be enabled. After enabling, the webhook will appear in 'webhook_set' (active webhooks) and begin sending HTTP POST requests to its target URL when the configured event occurs (e.g., document.processed).\",\n input: ParseurEnableWebhookInput,\n output: ParseurEnableWebhookOutput,\n});\n"],"mappings":";;AAsBA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtBuC,EAAE,OAAO;EAChD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mGAAmG;EACzI,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gHAAgH;CACxJ,CAmBS;CACP,QAnBwC,EAAE,OAAO;EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5E,OAAO,EAAE,KAAK;GAAC;GAAsB;GAAgC;GAA4B;EAAiB,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAC/K,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACnF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,SAAS,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;EACvG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/H,kBAAkB,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrI,+BAA+B,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"enable-webhook.mjs","names":[],"sources":["../../src/actions/enable-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseurEnableWebhookInput = 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 paused webhook to enable. Obtain from available_webhook_set via List Webhooks action.\"),\n});\nexport const ParseurEnableWebhookOutput = z.object({\n id: z.number().int().describe(\"Unique ID of the webhook\").nullable(),\n name: z.string().describe(\"Custom name of the webhook\").nullable().optional(),\n event: z.enum([\"document.processed\", \"document.processed.flattened\", \"document.template_needed\", \"table.processed\"]).describe(\"Event type that triggers the webhook\").nullable(),\n parser: z.number().int().describe(\"ID of the mailbox (parser) associated with the webhook\").nullable().optional(),\n target: z.string().describe(\"Target URL where webhook payloads are sent\").nullable(),\n api_key: z.string().describe(\"API key associated with the webhook, if any\").nullable().optional(),\n headers: z.record(z.string(), z.unknown()).describe(\"Custom HTTP headers sent with the webhook payload\").nullable().optional(),\n category: z.string().describe(\"Webhook category (always 'CUSTOM' for user-created webhooks)\").nullable(),\n parser_field: z.string().describe(\"ID of the field that triggers the webhook (format: 'PF12345'), if any\").nullable().optional(),\n parser_field_set: z.array(z.unknown()).describe(\"List of parser fields or table-fields assigned to the webhook\").nullable().optional(),\n default_driver_fee_percentage: z.number().describe(\"Default driver fee percentage for the webhook, if applicable\").nullable().optional(),\n}).passthrough();\n\nexport const parseurEnableWebhook = action(\"PARSEUR_ENABLE_WEBHOOK\", {\n slug: \"parseur-enable-webhook\",\n name: \"Enable webhook\",\n description: \"Enables a paused webhook for a specified mailbox, allowing it to receive and forward parsed document events. Use this action to re-enable a webhook that was previously paused. Only webhooks listed in 'available_webhook_set' (paused webhooks) can be enabled. After enabling, the webhook will appear in 'webhook_set' (active webhooks) and begin sending HTTP POST requests to its target URL when the configured event occurs (e.g., document.processed).\",\n input: ParseurEnableWebhookInput,\n output: ParseurEnableWebhookOutput,\n});\n"],"mappings":";;AAsBA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtBuC,EAAE,OAAO;EAChD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mGAAmG;EACzI,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gHAAgH;CACxJ,CAmBS;CACP,QAnBwC,EAAE,OAAO;EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5E,OAAO,EAAE,KAAK;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