@keystrokehq/parsio_io 0.1.5 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (205) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/create-html-text-document.cjs +1 -0
  4. package/dist/actions/create-html-text-document.cjs.map +1 -1
  5. package/dist/actions/create-html-text-document.d.cts +3 -21
  6. package/dist/actions/create-html-text-document.d.cts.map +1 -1
  7. package/dist/actions/create-html-text-document.d.mts +3 -21
  8. package/dist/actions/create-html-text-document.d.mts.map +1 -1
  9. package/dist/actions/create-html-text-document.mjs +1 -0
  10. package/dist/actions/create-html-text-document.mjs.map +1 -1
  11. package/dist/actions/create-mailbox.cjs +1 -0
  12. package/dist/actions/create-mailbox.cjs.map +1 -1
  13. package/dist/actions/create-mailbox.d.cts +3 -15
  14. package/dist/actions/create-mailbox.d.cts.map +1 -1
  15. package/dist/actions/create-mailbox.d.mts +3 -15
  16. package/dist/actions/create-mailbox.d.mts.map +1 -1
  17. package/dist/actions/create-mailbox.mjs +1 -0
  18. package/dist/actions/create-mailbox.mjs.map +1 -1
  19. package/dist/actions/create-webhook.cjs +1 -0
  20. package/dist/actions/create-webhook.cjs.map +1 -1
  21. package/dist/actions/create-webhook.d.cts +3 -19
  22. package/dist/actions/create-webhook.d.cts.map +1 -1
  23. package/dist/actions/create-webhook.d.mts +3 -19
  24. package/dist/actions/create-webhook.d.mts.map +1 -1
  25. package/dist/actions/create-webhook.mjs +1 -0
  26. package/dist/actions/create-webhook.mjs.map +1 -1
  27. package/dist/actions/delete-mailbox.cjs +1 -0
  28. package/dist/actions/delete-mailbox.cjs.map +1 -1
  29. package/dist/actions/delete-mailbox.d.cts +3 -15
  30. package/dist/actions/delete-mailbox.d.cts.map +1 -1
  31. package/dist/actions/delete-mailbox.d.mts +3 -15
  32. package/dist/actions/delete-mailbox.d.mts.map +1 -1
  33. package/dist/actions/delete-mailbox.mjs +1 -0
  34. package/dist/actions/delete-mailbox.mjs.map +1 -1
  35. package/dist/actions/delete-templates.cjs +1 -0
  36. package/dist/actions/delete-templates.cjs.map +1 -1
  37. package/dist/actions/delete-templates.d.cts +3 -15
  38. package/dist/actions/delete-templates.d.cts.map +1 -1
  39. package/dist/actions/delete-templates.d.mts +3 -15
  40. package/dist/actions/delete-templates.d.mts.map +1 -1
  41. package/dist/actions/delete-templates.mjs +1 -0
  42. package/dist/actions/delete-templates.mjs.map +1 -1
  43. package/dist/actions/delete-webhooks.cjs +1 -0
  44. package/dist/actions/delete-webhooks.cjs.map +1 -1
  45. package/dist/actions/delete-webhooks.d.cts +3 -15
  46. package/dist/actions/delete-webhooks.d.cts.map +1 -1
  47. package/dist/actions/delete-webhooks.d.mts +3 -15
  48. package/dist/actions/delete-webhooks.d.mts.map +1 -1
  49. package/dist/actions/delete-webhooks.mjs +1 -0
  50. package/dist/actions/delete-webhooks.mjs.map +1 -1
  51. package/dist/actions/disable-templates.cjs +1 -0
  52. package/dist/actions/disable-templates.cjs.map +1 -1
  53. package/dist/actions/disable-templates.d.cts +3 -15
  54. package/dist/actions/disable-templates.d.cts.map +1 -1
  55. package/dist/actions/disable-templates.d.mts +3 -15
  56. package/dist/actions/disable-templates.d.mts.map +1 -1
  57. package/dist/actions/disable-templates.mjs +1 -0
  58. package/dist/actions/disable-templates.mjs.map +1 -1
  59. package/dist/actions/enable-templates.cjs +1 -0
  60. package/dist/actions/enable-templates.cjs.map +1 -1
  61. package/dist/actions/enable-templates.d.cts +3 -15
  62. package/dist/actions/enable-templates.d.cts.map +1 -1
  63. package/dist/actions/enable-templates.d.mts +3 -15
  64. package/dist/actions/enable-templates.d.mts.map +1 -1
  65. package/dist/actions/enable-templates.mjs +1 -0
  66. package/dist/actions/enable-templates.mjs.map +1 -1
  67. package/dist/actions/get-document.cjs +1 -0
  68. package/dist/actions/get-document.cjs.map +1 -1
  69. package/dist/actions/get-document.d.cts +3 -15
  70. package/dist/actions/get-document.d.cts.map +1 -1
  71. package/dist/actions/get-document.d.mts +3 -15
  72. package/dist/actions/get-document.d.mts.map +1 -1
  73. package/dist/actions/get-document.mjs +1 -0
  74. package/dist/actions/get-document.mjs.map +1 -1
  75. package/dist/actions/get-mailbox.cjs +1 -0
  76. package/dist/actions/get-mailbox.cjs.map +1 -1
  77. package/dist/actions/get-mailbox.d.cts +3 -15
  78. package/dist/actions/get-mailbox.d.cts.map +1 -1
  79. package/dist/actions/get-mailbox.d.mts +3 -15
  80. package/dist/actions/get-mailbox.d.mts.map +1 -1
  81. package/dist/actions/get-mailbox.mjs +1 -0
  82. package/dist/actions/get-mailbox.mjs.map +1 -1
  83. package/dist/actions/get-parsed-data.cjs +1 -0
  84. package/dist/actions/get-parsed-data.cjs.map +1 -1
  85. package/dist/actions/get-parsed-data.d.cts +3 -18
  86. package/dist/actions/get-parsed-data.d.cts.map +1 -1
  87. package/dist/actions/get-parsed-data.d.mts +3 -18
  88. package/dist/actions/get-parsed-data.d.mts.map +1 -1
  89. package/dist/actions/get-parsed-data.mjs +1 -0
  90. package/dist/actions/get-parsed-data.mjs.map +1 -1
  91. package/dist/actions/get-template.cjs +1 -0
  92. package/dist/actions/get-template.cjs.map +1 -1
  93. package/dist/actions/get-template.d.cts +3 -15
  94. package/dist/actions/get-template.d.cts.map +1 -1
  95. package/dist/actions/get-template.d.mts +3 -15
  96. package/dist/actions/get-template.d.mts.map +1 -1
  97. package/dist/actions/get-template.mjs +1 -0
  98. package/dist/actions/get-template.mjs.map +1 -1
  99. package/dist/actions/get-webhook.cjs +1 -0
  100. package/dist/actions/get-webhook.cjs.map +1 -1
  101. package/dist/actions/get-webhook.d.cts +3 -15
  102. package/dist/actions/get-webhook.d.cts.map +1 -1
  103. package/dist/actions/get-webhook.d.mts +3 -15
  104. package/dist/actions/get-webhook.d.mts.map +1 -1
  105. package/dist/actions/get-webhook.mjs +1 -0
  106. package/dist/actions/get-webhook.mjs.map +1 -1
  107. package/dist/actions/list-collected-emails.cjs +1 -0
  108. package/dist/actions/list-collected-emails.cjs.map +1 -1
  109. package/dist/actions/list-collected-emails.d.cts +3 -16
  110. package/dist/actions/list-collected-emails.d.cts.map +1 -1
  111. package/dist/actions/list-collected-emails.d.mts +3 -16
  112. package/dist/actions/list-collected-emails.d.mts.map +1 -1
  113. package/dist/actions/list-collected-emails.mjs +1 -0
  114. package/dist/actions/list-collected-emails.mjs.map +1 -1
  115. package/dist/actions/list-documents.cjs +1 -0
  116. package/dist/actions/list-documents.cjs.map +1 -1
  117. package/dist/actions/list-documents.d.cts +3 -20
  118. package/dist/actions/list-documents.d.cts.map +1 -1
  119. package/dist/actions/list-documents.d.mts +3 -20
  120. package/dist/actions/list-documents.d.mts.map +1 -1
  121. package/dist/actions/list-documents.mjs +1 -0
  122. package/dist/actions/list-documents.mjs.map +1 -1
  123. package/dist/actions/list-mailboxes.cjs +1 -0
  124. package/dist/actions/list-mailboxes.cjs.map +1 -1
  125. package/dist/actions/list-mailboxes.d.cts +3 -13
  126. package/dist/actions/list-mailboxes.d.cts.map +1 -1
  127. package/dist/actions/list-mailboxes.d.mts +3 -13
  128. package/dist/actions/list-mailboxes.d.mts.map +1 -1
  129. package/dist/actions/list-mailboxes.mjs +1 -0
  130. package/dist/actions/list-mailboxes.mjs.map +1 -1
  131. package/dist/actions/list-table-fields.cjs +1 -0
  132. package/dist/actions/list-table-fields.cjs.map +1 -1
  133. package/dist/actions/list-table-fields.d.cts +3 -15
  134. package/dist/actions/list-table-fields.d.cts.map +1 -1
  135. package/dist/actions/list-table-fields.d.mts +3 -15
  136. package/dist/actions/list-table-fields.d.mts.map +1 -1
  137. package/dist/actions/list-table-fields.mjs +1 -0
  138. package/dist/actions/list-table-fields.mjs.map +1 -1
  139. package/dist/actions/list-templates.cjs +1 -0
  140. package/dist/actions/list-templates.cjs.map +1 -1
  141. package/dist/actions/list-templates.d.cts +3 -16
  142. package/dist/actions/list-templates.d.cts.map +1 -1
  143. package/dist/actions/list-templates.d.mts +3 -16
  144. package/dist/actions/list-templates.d.mts.map +1 -1
  145. package/dist/actions/list-templates.mjs +1 -0
  146. package/dist/actions/list-templates.mjs.map +1 -1
  147. package/dist/actions/list-webhooks.cjs +1 -0
  148. package/dist/actions/list-webhooks.cjs.map +1 -1
  149. package/dist/actions/list-webhooks.d.cts +3 -15
  150. package/dist/actions/list-webhooks.d.cts.map +1 -1
  151. package/dist/actions/list-webhooks.d.mts +3 -15
  152. package/dist/actions/list-webhooks.d.mts.map +1 -1
  153. package/dist/actions/list-webhooks.mjs +1 -0
  154. package/dist/actions/list-webhooks.mjs.map +1 -1
  155. package/dist/actions/parse-document.cjs +1 -0
  156. package/dist/actions/parse-document.cjs.map +1 -1
  157. package/dist/actions/parse-document.d.cts +3 -15
  158. package/dist/actions/parse-document.d.cts.map +1 -1
  159. package/dist/actions/parse-document.d.mts +3 -15
  160. package/dist/actions/parse-document.d.mts.map +1 -1
  161. package/dist/actions/parse-document.mjs +1 -0
  162. package/dist/actions/parse-document.mjs.map +1 -1
  163. package/dist/actions/skip-documents.cjs +1 -0
  164. package/dist/actions/skip-documents.cjs.map +1 -1
  165. package/dist/actions/skip-documents.d.cts +3 -16
  166. package/dist/actions/skip-documents.d.cts.map +1 -1
  167. package/dist/actions/skip-documents.d.mts +3 -16
  168. package/dist/actions/skip-documents.d.mts.map +1 -1
  169. package/dist/actions/skip-documents.mjs +1 -0
  170. package/dist/actions/skip-documents.mjs.map +1 -1
  171. package/dist/actions/update-mailbox.cjs +1 -0
  172. package/dist/actions/update-mailbox.cjs.map +1 -1
  173. package/dist/actions/update-mailbox.d.cts +3 -20
  174. package/dist/actions/update-mailbox.d.cts.map +1 -1
  175. package/dist/actions/update-mailbox.d.mts +3 -20
  176. package/dist/actions/update-mailbox.d.mts.map +1 -1
  177. package/dist/actions/update-mailbox.mjs +1 -0
  178. package/dist/actions/update-mailbox.mjs.map +1 -1
  179. package/dist/actions/update-webhook.cjs +1 -0
  180. package/dist/actions/update-webhook.cjs.map +1 -1
  181. package/dist/actions/update-webhook.d.cts +3 -19
  182. package/dist/actions/update-webhook.d.cts.map +1 -1
  183. package/dist/actions/update-webhook.d.mts +3 -19
  184. package/dist/actions/update-webhook.d.mts.map +1 -1
  185. package/dist/actions/update-webhook.mjs +1 -0
  186. package/dist/actions/update-webhook.mjs.map +1 -1
  187. package/dist/actions/upload-file.cjs +1 -0
  188. package/dist/actions/upload-file.cjs.map +1 -1
  189. package/dist/actions/upload-file.d.cts +3 -21
  190. package/dist/actions/upload-file.d.cts.map +1 -1
  191. package/dist/actions/upload-file.d.mts +3 -21
  192. package/dist/actions/upload-file.d.mts.map +1 -1
  193. package/dist/actions/upload-file.mjs +1 -0
  194. package/dist/actions/upload-file.mjs.map +1 -1
  195. package/dist/app.cjs +2 -2
  196. package/dist/app.cjs.map +1 -1
  197. package/dist/app.d.cts +4 -6
  198. package/dist/app.d.cts.map +1 -1
  199. package/dist/app.d.mts +4 -6
  200. package/dist/app.d.mts.map +1 -1
  201. package/dist/app.mjs +0 -1
  202. package/dist/app.mjs.map +1 -1
  203. package/dist/index.d.cts +1 -1
  204. package/dist/index.d.mts +1 -1
  205. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"skip-documents.cjs","names":["z","action"],"sources":["../../src/actions/skip-documents.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParsioIoSkipDocumentsInput = z.object({\n ids: z.array(z.string()).describe(\"Array of document IDs to skip. Each ID must be a valid document identifier.\"),\n mailbox_id: z.string().describe(\"The unique identifier of the mailbox containing the documents to skip.\"),\n}).describe(\"Request model for skipping multiple documents in a mailbox.\");\nexport const ParsioIoSkipDocumentsOutput = z.object({\n message: z.string().describe(\"Optional message providing additional information about the operation.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the skip operation was successful.\").nullable(),\n}).passthrough().describe(\"Response model for skip documents operation.\");\n\nexport const parsioIoSkipDocuments = action(\"PARSIO_IO_SKIP_DOCUMENTS\", {\n slug: \"parsio_io-skip-documents\",\n name: \"Skip Documents\",\n description: \"Tool to skip multiple documents in a mailbox by providing document IDs. Use when you need to mark documents as skipped rather than parsing them.\",\n input: ParsioIoSkipDocumentsInput,\n output: ParsioIoSkipDocumentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,KAAKA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6EAA6E;CAC/G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;AAC1G,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"skip-documents.cjs","names":["z","action"],"sources":["../../src/actions/skip-documents.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parsioIo } from \"../app\";\n\nexport const ParsioIoSkipDocumentsInput = z.object({\n ids: z.array(z.string()).describe(\"Array of document IDs to skip. Each ID must be a valid document identifier.\"),\n mailbox_id: z.string().describe(\"The unique identifier of the mailbox containing the documents to skip.\"),\n}).describe(\"Request model for skipping multiple documents in a mailbox.\");\nexport const ParsioIoSkipDocumentsOutput = z.object({\n message: z.string().describe(\"Optional message providing additional information about the operation.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the skip operation was successful.\").nullable(),\n}).passthrough().describe(\"Response model for skip documents operation.\");\n\nexport const parsioIoSkipDocuments: AppAction<\n typeof ParsioIoSkipDocumentsInput,\n typeof ParsioIoSkipDocumentsOutput,\n typeof parsioIo.credential\n> = action(\"PARSIO_IO_SKIP_DOCUMENTS\", {\n slug: \"parsio_io-skip-documents\",\n name: \"Skip Documents\",\n description: \"Tool to skip multiple documents in a mailbox by providing document IDs. Use when you need to mark documents as skipped rather than parsing them.\",\n input: ParsioIoSkipDocumentsInput,\n output: ParsioIoSkipDocumentsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,KAAKA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6EAA6E;CAC/G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;AAC1G,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,wBAITC,eAAAA,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { parsioIo } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/skip-documents.d.ts
@@ -9,22 +11,7 @@ declare const ParsioIoSkipDocumentsOutput: z.ZodObject<{
9
11
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
12
  success: z.ZodNullable<z.ZodBoolean>;
11
13
  }, z.core.$loose>;
12
- declare const parsioIoSkipDocuments: import("@keystrokehq/action").WorkflowActionDefinition<{
13
- ids: string[];
14
- mailbox_id: string;
15
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"parsio_io", z.ZodObject<{
16
- connectionId: z.ZodString;
17
- entityId: z.ZodString;
18
- instanceId: z.ZodString;
19
- }, z.core.$strip>, z.ZodObject<{
20
- generic_api_key: z.ZodString;
21
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"parsio_io", z.ZodObject<{
22
- connectionId: z.ZodString;
23
- entityId: z.ZodString;
24
- instanceId: z.ZodString;
25
- }, z.core.$strip>, z.ZodObject<{
26
- generic_api_key: z.ZodString;
27
- }, z.core.$strip>>]>;
14
+ declare const parsioIoSkipDocuments: AppAction<typeof ParsioIoSkipDocumentsInput, typeof ParsioIoSkipDocumentsOutput, typeof parsioIo.credential>;
28
15
  //#endregion
29
16
  export { parsioIoSkipDocuments };
30
17
  //# sourceMappingURL=skip-documents.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"skip-documents.d.cts","names":[],"sources":["../../src/actions/skip-documents.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAI1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAK3B,qBAAA,gCAAqB,wBAAA"}
1
+ {"version":3,"file":"skip-documents.d.cts","names":[],"sources":["../../src/actions/skip-documents.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAI1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAK3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { parsioIo } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/skip-documents.d.ts
@@ -9,22 +11,7 @@ declare const ParsioIoSkipDocumentsOutput: z.ZodObject<{
9
11
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
12
  success: z.ZodNullable<z.ZodBoolean>;
11
13
  }, z.core.$loose>;
12
- declare const parsioIoSkipDocuments: import("@keystrokehq/action").WorkflowActionDefinition<{
13
- ids: string[];
14
- mailbox_id: string;
15
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"parsio_io", z.ZodObject<{
16
- connectionId: z.ZodString;
17
- entityId: z.ZodString;
18
- instanceId: z.ZodString;
19
- }, z.core.$strip>, z.ZodObject<{
20
- generic_api_key: z.ZodString;
21
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"parsio_io", z.ZodObject<{
22
- connectionId: z.ZodString;
23
- entityId: z.ZodString;
24
- instanceId: z.ZodString;
25
- }, z.core.$strip>, z.ZodObject<{
26
- generic_api_key: z.ZodString;
27
- }, z.core.$strip>>]>;
14
+ declare const parsioIoSkipDocuments: AppAction<typeof ParsioIoSkipDocumentsInput, typeof ParsioIoSkipDocumentsOutput, typeof parsioIo.credential>;
28
15
  //#endregion
29
16
  export { parsioIoSkipDocuments };
30
17
  //# sourceMappingURL=skip-documents.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"skip-documents.d.mts","names":[],"sources":["../../src/actions/skip-documents.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAI1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAK3B,qBAAA,gCAAqB,wBAAA"}
1
+ {"version":3,"file":"skip-documents.d.mts","names":[],"sources":["../../src/actions/skip-documents.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAI1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAK3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const parsioIoSkipDocuments = action("PARSIO_IO_SKIP_DOCUMENTS", {
@@ -1 +1 @@
1
- {"version":3,"file":"skip-documents.mjs","names":[],"sources":["../../src/actions/skip-documents.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParsioIoSkipDocumentsInput = z.object({\n ids: z.array(z.string()).describe(\"Array of document IDs to skip. Each ID must be a valid document identifier.\"),\n mailbox_id: z.string().describe(\"The unique identifier of the mailbox containing the documents to skip.\"),\n}).describe(\"Request model for skipping multiple documents in a mailbox.\");\nexport const ParsioIoSkipDocumentsOutput = z.object({\n message: z.string().describe(\"Optional message providing additional information about the operation.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the skip operation was successful.\").nullable(),\n}).passthrough().describe(\"Response model for skip documents operation.\");\n\nexport const parsioIoSkipDocuments = action(\"PARSIO_IO_SKIP_DOCUMENTS\", {\n slug: \"parsio_io-skip-documents\",\n name: \"Skip Documents\",\n description: \"Tool to skip multiple documents in a mailbox by providing document IDs. Use when you need to mark documents as skipped rather than parsing them.\",\n input: ParsioIoSkipDocumentsInput,\n output: ParsioIoSkipDocumentsOutput,\n});\n"],"mappings":";;AAaA,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbwC,EAAE,OAAO;EACjD,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6EAA6E;EAC/G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;CAC1G,CAAC,CAAC,CAAC,SAAS,6DAUH;CACP,QAVyC,EAAE,OAAO;EAClD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3H,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"skip-documents.mjs","names":[],"sources":["../../src/actions/skip-documents.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parsioIo } from \"../app\";\n\nexport const ParsioIoSkipDocumentsInput = z.object({\n ids: z.array(z.string()).describe(\"Array of document IDs to skip. Each ID must be a valid document identifier.\"),\n mailbox_id: z.string().describe(\"The unique identifier of the mailbox containing the documents to skip.\"),\n}).describe(\"Request model for skipping multiple documents in a mailbox.\");\nexport const ParsioIoSkipDocumentsOutput = z.object({\n message: z.string().describe(\"Optional message providing additional information about the operation.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the skip operation was successful.\").nullable(),\n}).passthrough().describe(\"Response model for skip documents operation.\");\n\nexport const parsioIoSkipDocuments: AppAction<\n typeof ParsioIoSkipDocumentsInput,\n typeof ParsioIoSkipDocumentsOutput,\n typeof parsioIo.credential\n> = action(\"PARSIO_IO_SKIP_DOCUMENTS\", {\n slug: \"parsio_io-skip-documents\",\n name: \"Skip Documents\",\n description: \"Tool to skip multiple documents in a mailbox by providing document IDs. Use when you need to mark documents as skipped rather than parsing them.\",\n input: ParsioIoSkipDocumentsInput,\n output: ParsioIoSkipDocumentsOutput,\n});\n"],"mappings":";;;AAeA,MAAa,wBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBwC,EAAE,OAAO;EACjD,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6EAA6E;EAC/G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;CAC1G,CAAC,CAAC,CAAC,SAAS,6DAcH;CACP,QAdyC,EAAE,OAAO;EAClD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3H,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/update-mailbox.ts
@@ -1 +1 @@
1
- {"version":3,"file":"update-mailbox.cjs","names":["z","action"],"sources":["../../src/actions/update-mailbox.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParsioIoUpdateMailboxInput = z.object({\n name: z.string().describe(\"Update the mailbox's display name.\").optional(),\n mailbox_id: z.string().describe(\"The unique identifier of the mailbox to update.\"),\n email_prefix: z.string().describe(\"Modify the email prefix associated with the mailbox.\").optional(),\n alert_email_h: z.number().int().describe(\"Email alerts frequency in hours. Specifies how often to receive alerts.\").optional(),\n collect_emails: z.boolean().describe(\"Enable or disable automatic email address collection.\").optional(),\n process_attachments: z.boolean().describe(\"Store or ignore email attachments. Set to true to process attachments, false to ignore them.\").optional(),\n}).describe(\"Request model for updating mailbox settings.\");\nexport const ParsioIoUpdateMailboxOutput = z.object({\n id: z.string().describe(\"The unique identifier for the mailbox.\").nullable().optional(),\n name: z.string().describe(\"The mailbox name/identifier.\").nullable().optional(),\n email_prefix: z.string().describe(\"Email prefix used for generating the mailbox email address.\").nullable().optional(),\n alert_email_h: z.number().int().describe(\"Email alerts frequency in hours.\").nullable().optional(),\n collect_emails: z.boolean().describe(\"Whether automatic email address collection is enabled.\").nullable().optional(),\n process_attachments: z.boolean().describe(\"Whether email attachments are stored or ignored.\").nullable().optional(),\n}).passthrough().describe(\"Response model for updated mailbox details.\");\n\nexport const parsioIoUpdateMailbox = action(\"PARSIO_IO_UPDATE_MAILBOX\", {\n slug: \"parsio_io-update-mailbox\",\n name: \"Update Mailbox Settings\",\n description: \"Tool to update mailbox settings including name, email prefix, and processing options. Use when you need to modify configuration settings for an existing mailbox.\",\n input: ParsioIoUpdateMailboxInput,\n output: ParsioIoUpdateMailboxOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACzE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CACjF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACnG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAC7H,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACvG,qBAAqBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;AACrJ,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,qBAAqBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-mailbox.cjs","names":["z","action"],"sources":["../../src/actions/update-mailbox.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parsioIo } from \"../app\";\n\nexport const ParsioIoUpdateMailboxInput = z.object({\n name: z.string().describe(\"Update the mailbox's display name.\").optional(),\n mailbox_id: z.string().describe(\"The unique identifier of the mailbox to update.\"),\n email_prefix: z.string().describe(\"Modify the email prefix associated with the mailbox.\").optional(),\n alert_email_h: z.number().int().describe(\"Email alerts frequency in hours. Specifies how often to receive alerts.\").optional(),\n collect_emails: z.boolean().describe(\"Enable or disable automatic email address collection.\").optional(),\n process_attachments: z.boolean().describe(\"Store or ignore email attachments. Set to true to process attachments, false to ignore them.\").optional(),\n}).describe(\"Request model for updating mailbox settings.\");\nexport const ParsioIoUpdateMailboxOutput = z.object({\n id: z.string().describe(\"The unique identifier for the mailbox.\").nullable().optional(),\n name: z.string().describe(\"The mailbox name/identifier.\").nullable().optional(),\n email_prefix: z.string().describe(\"Email prefix used for generating the mailbox email address.\").nullable().optional(),\n alert_email_h: z.number().int().describe(\"Email alerts frequency in hours.\").nullable().optional(),\n collect_emails: z.boolean().describe(\"Whether automatic email address collection is enabled.\").nullable().optional(),\n process_attachments: z.boolean().describe(\"Whether email attachments are stored or ignored.\").nullable().optional(),\n}).passthrough().describe(\"Response model for updated mailbox details.\");\n\nexport const parsioIoUpdateMailbox: AppAction<\n typeof ParsioIoUpdateMailboxInput,\n typeof ParsioIoUpdateMailboxOutput,\n typeof parsioIo.credential\n> = action(\"PARSIO_IO_UPDATE_MAILBOX\", {\n slug: \"parsio_io-update-mailbox\",\n name: \"Update Mailbox Settings\",\n description: \"Tool to update mailbox settings including name, email prefix, and processing options. Use when you need to modify configuration settings for an existing mailbox.\",\n input: ParsioIoUpdateMailboxInput,\n output: ParsioIoUpdateMailboxOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACzE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CACjF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACnG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAC7H,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACvG,qBAAqBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;AACrJ,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,qBAAqBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,wBAITC,eAAAA,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { parsioIo } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/update-mailbox.d.ts
@@ -17,26 +19,7 @@ declare const ParsioIoUpdateMailboxOutput: z.ZodObject<{
17
19
  collect_emails: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
18
20
  process_attachments: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
19
21
  }, z.core.$loose>;
20
- declare const parsioIoUpdateMailbox: import("@keystrokehq/action").WorkflowActionDefinition<{
21
- mailbox_id: string;
22
- name?: string | undefined;
23
- email_prefix?: string | undefined;
24
- alert_email_h?: number | undefined;
25
- collect_emails?: boolean | undefined;
26
- process_attachments?: boolean | undefined;
27
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"parsio_io", z.ZodObject<{
28
- connectionId: z.ZodString;
29
- entityId: z.ZodString;
30
- instanceId: z.ZodString;
31
- }, z.core.$strip>, z.ZodObject<{
32
- generic_api_key: z.ZodString;
33
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"parsio_io", z.ZodObject<{
34
- connectionId: z.ZodString;
35
- entityId: z.ZodString;
36
- instanceId: z.ZodString;
37
- }, z.core.$strip>, z.ZodObject<{
38
- generic_api_key: z.ZodString;
39
- }, z.core.$strip>>]>;
22
+ declare const parsioIoUpdateMailbox: AppAction<typeof ParsioIoUpdateMailboxInput, typeof ParsioIoUpdateMailboxOutput, typeof parsioIo.credential>;
40
23
  //#endregion
41
24
  export { parsioIoUpdateMailbox };
42
25
  //# sourceMappingURL=update-mailbox.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-mailbox.d.cts","names":[],"sources":["../../src/actions/update-mailbox.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;cAQ1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;cAS3B,qBAAA,gCAAqB,wBAAA"}
1
+ {"version":3,"file":"update-mailbox.d.cts","names":[],"sources":["../../src/actions/update-mailbox.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;cAQ1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;cAS3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { parsioIo } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/update-mailbox.d.ts
@@ -17,26 +19,7 @@ declare const ParsioIoUpdateMailboxOutput: z.ZodObject<{
17
19
  collect_emails: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
18
20
  process_attachments: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
19
21
  }, z.core.$loose>;
20
- declare const parsioIoUpdateMailbox: import("@keystrokehq/action").WorkflowActionDefinition<{
21
- mailbox_id: string;
22
- name?: string | undefined;
23
- email_prefix?: string | undefined;
24
- alert_email_h?: number | undefined;
25
- collect_emails?: boolean | undefined;
26
- process_attachments?: boolean | undefined;
27
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"parsio_io", z.ZodObject<{
28
- connectionId: z.ZodString;
29
- entityId: z.ZodString;
30
- instanceId: z.ZodString;
31
- }, z.core.$strip>, z.ZodObject<{
32
- generic_api_key: z.ZodString;
33
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"parsio_io", z.ZodObject<{
34
- connectionId: z.ZodString;
35
- entityId: z.ZodString;
36
- instanceId: z.ZodString;
37
- }, z.core.$strip>, z.ZodObject<{
38
- generic_api_key: z.ZodString;
39
- }, z.core.$strip>>]>;
22
+ declare const parsioIoUpdateMailbox: AppAction<typeof ParsioIoUpdateMailboxInput, typeof ParsioIoUpdateMailboxOutput, typeof parsioIo.credential>;
40
23
  //#endregion
41
24
  export { parsioIoUpdateMailbox };
42
25
  //# sourceMappingURL=update-mailbox.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-mailbox.d.mts","names":[],"sources":["../../src/actions/update-mailbox.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;cAQ1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;cAS3B,qBAAA,gCAAqB,wBAAA"}
1
+ {"version":3,"file":"update-mailbox.d.mts","names":[],"sources":["../../src/actions/update-mailbox.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;cAQ1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;cAS3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const parsioIoUpdateMailbox = action("PARSIO_IO_UPDATE_MAILBOX", {
@@ -1 +1 @@
1
- {"version":3,"file":"update-mailbox.mjs","names":[],"sources":["../../src/actions/update-mailbox.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParsioIoUpdateMailboxInput = z.object({\n name: z.string().describe(\"Update the mailbox's display name.\").optional(),\n mailbox_id: z.string().describe(\"The unique identifier of the mailbox to update.\"),\n email_prefix: z.string().describe(\"Modify the email prefix associated with the mailbox.\").optional(),\n alert_email_h: z.number().int().describe(\"Email alerts frequency in hours. Specifies how often to receive alerts.\").optional(),\n collect_emails: z.boolean().describe(\"Enable or disable automatic email address collection.\").optional(),\n process_attachments: z.boolean().describe(\"Store or ignore email attachments. Set to true to process attachments, false to ignore them.\").optional(),\n}).describe(\"Request model for updating mailbox settings.\");\nexport const ParsioIoUpdateMailboxOutput = z.object({\n id: z.string().describe(\"The unique identifier for the mailbox.\").nullable().optional(),\n name: z.string().describe(\"The mailbox name/identifier.\").nullable().optional(),\n email_prefix: z.string().describe(\"Email prefix used for generating the mailbox email address.\").nullable().optional(),\n alert_email_h: z.number().int().describe(\"Email alerts frequency in hours.\").nullable().optional(),\n collect_emails: z.boolean().describe(\"Whether automatic email address collection is enabled.\").nullable().optional(),\n process_attachments: z.boolean().describe(\"Whether email attachments are stored or ignored.\").nullable().optional(),\n}).passthrough().describe(\"Response model for updated mailbox details.\");\n\nexport const parsioIoUpdateMailbox = action(\"PARSIO_IO_UPDATE_MAILBOX\", {\n slug: \"parsio_io-update-mailbox\",\n name: \"Update Mailbox Settings\",\n description: \"Tool to update mailbox settings including name, email prefix, and processing options. Use when you need to modify configuration settings for an existing mailbox.\",\n input: ParsioIoUpdateMailboxInput,\n output: ParsioIoUpdateMailboxOutput,\n});\n"],"mappings":";;AAqBA,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArBwC,EAAE,OAAO;EACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EACzE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;EACjF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EACnG,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;EAC7H,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EACvG,qBAAqB,EAAE,QAAQ,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;CACrJ,CAAC,CAAC,CAAC,SAAS,8CAcH;CACP,QAdyC,EAAE,OAAO;EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnH,qBAAqB,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"update-mailbox.mjs","names":[],"sources":["../../src/actions/update-mailbox.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parsioIo } from \"../app\";\n\nexport const ParsioIoUpdateMailboxInput = z.object({\n name: z.string().describe(\"Update the mailbox's display name.\").optional(),\n mailbox_id: z.string().describe(\"The unique identifier of the mailbox to update.\"),\n email_prefix: z.string().describe(\"Modify the email prefix associated with the mailbox.\").optional(),\n alert_email_h: z.number().int().describe(\"Email alerts frequency in hours. Specifies how often to receive alerts.\").optional(),\n collect_emails: z.boolean().describe(\"Enable or disable automatic email address collection.\").optional(),\n process_attachments: z.boolean().describe(\"Store or ignore email attachments. Set to true to process attachments, false to ignore them.\").optional(),\n}).describe(\"Request model for updating mailbox settings.\");\nexport const ParsioIoUpdateMailboxOutput = z.object({\n id: z.string().describe(\"The unique identifier for the mailbox.\").nullable().optional(),\n name: z.string().describe(\"The mailbox name/identifier.\").nullable().optional(),\n email_prefix: z.string().describe(\"Email prefix used for generating the mailbox email address.\").nullable().optional(),\n alert_email_h: z.number().int().describe(\"Email alerts frequency in hours.\").nullable().optional(),\n collect_emails: z.boolean().describe(\"Whether automatic email address collection is enabled.\").nullable().optional(),\n process_attachments: z.boolean().describe(\"Whether email attachments are stored or ignored.\").nullable().optional(),\n}).passthrough().describe(\"Response model for updated mailbox details.\");\n\nexport const parsioIoUpdateMailbox: AppAction<\n typeof ParsioIoUpdateMailboxInput,\n typeof ParsioIoUpdateMailboxOutput,\n typeof parsioIo.credential\n> = action(\"PARSIO_IO_UPDATE_MAILBOX\", {\n slug: \"parsio_io-update-mailbox\",\n name: \"Update Mailbox Settings\",\n description: \"Tool to update mailbox settings including name, email prefix, and processing options. Use when you need to modify configuration settings for an existing mailbox.\",\n input: ParsioIoUpdateMailboxInput,\n output: ParsioIoUpdateMailboxOutput,\n});\n"],"mappings":";;;AAuBA,MAAa,wBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAzBwC,EAAE,OAAO;EACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EACzE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;EACjF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EACnG,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;EAC7H,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EACvG,qBAAqB,EAAE,QAAQ,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;CACrJ,CAAC,CAAC,CAAC,SAAS,8CAkBH;CACP,QAlByC,EAAE,OAAO;EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnH,qBAAqB,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/update-webhook.ts
@@ -1 +1 @@
1
- {"version":3,"file":"update-webhook.cjs","names":["z","action"],"sources":["../../src/actions/update-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParsioIoUpdateWebhookInput = z.object({\n _id: z.string().describe(\"Unique identifier of the webhook to update\"),\n url: z.string().describe(\"Webhook URL endpoint that will receive webhook payloads\"),\n event: z.enum([\"doc.parsed\", \"doc.parsed.flat\", \"doc.fail\", \"doc.received\", \"table.parsed\"]).describe(\"Trigger event type for the webhook. Options: 'doc.parsed', 'doc.parsed.flat', 'doc.fail', 'doc.received', 'table.parsed'\"),\n enabled: z.boolean().describe(\"Whether the webhook is active or disabled\"),\n table_id: z.string().default(\"\").describe(\"Table identifier, required only for 'table.parsed' events. Leave empty for other event types.\").optional(),\n}).describe(\"Request model for updating an existing webhook.\");\nexport const ParsioIoUpdateWebhookOutput = z.object({\n _id: z.string().describe(\"Unique identifier of the updated webhook\").nullable().optional(),\n url: z.string().describe(\"Destination endpoint URL for webhook notifications\").nullable().optional(),\n event: z.string().describe(\"Event type that triggers the webhook\").nullable().optional(),\n enabled: z.boolean().describe(\"Whether the webhook is currently active or inactive\").nullable().optional(),\n table_id: z.string().describe(\"Table identifier, applicable only for 'table.parsed' events\").nullable().optional(),\n}).passthrough().describe(\"Response schema for updating a webhook.\");\n\nexport const parsioIoUpdateWebhook = action(\"PARSIO_IO_UPDATE_WEBHOOK\", {\n slug: \"parsio_io-update-webhook\",\n name: \"Update Webhook\",\n description: \"Tool to update an existing webhook's configuration. Use when you need to modify webhook settings like URL, event type, or activation status.\",\n input: ParsioIoUpdateWebhookInput,\n output: ParsioIoUpdateWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACrE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CAClF,OAAOA,IAAAA,EAAE,KAAK;EAAC;EAAc;EAAmB;EAAY;EAAgB;CAAc,CAAC,CAAC,CAAC,SAAS,0HAA0H;CAChO,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C;CACzE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAEnE,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-webhook.cjs","names":["z","action"],"sources":["../../src/actions/update-webhook.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parsioIo } from \"../app\";\n\nexport const ParsioIoUpdateWebhookInput = z.object({\n _id: z.string().describe(\"Unique identifier of the webhook to update\"),\n url: z.string().describe(\"Webhook URL endpoint that will receive webhook payloads\"),\n event: z.enum([\"doc.parsed\", \"doc.parsed.flat\", \"doc.fail\", \"doc.received\", \"table.parsed\"]).describe(\"Trigger event type for the webhook. Options: 'doc.parsed', 'doc.parsed.flat', 'doc.fail', 'doc.received', 'table.parsed'\"),\n enabled: z.boolean().describe(\"Whether the webhook is active or disabled\"),\n table_id: z.string().default(\"\").describe(\"Table identifier, required only for 'table.parsed' events. Leave empty for other event types.\").optional(),\n}).describe(\"Request model for updating an existing webhook.\");\nexport const ParsioIoUpdateWebhookOutput = z.object({\n _id: z.string().describe(\"Unique identifier of the updated webhook\").nullable().optional(),\n url: z.string().describe(\"Destination endpoint URL for webhook notifications\").nullable().optional(),\n event: z.string().describe(\"Event type that triggers the webhook\").nullable().optional(),\n enabled: z.boolean().describe(\"Whether the webhook is currently active or inactive\").nullable().optional(),\n table_id: z.string().describe(\"Table identifier, applicable only for 'table.parsed' events\").nullable().optional(),\n}).passthrough().describe(\"Response schema for updating a webhook.\");\n\nexport const parsioIoUpdateWebhook: AppAction<\n typeof ParsioIoUpdateWebhookInput,\n typeof ParsioIoUpdateWebhookOutput,\n typeof parsioIo.credential\n> = action(\"PARSIO_IO_UPDATE_WEBHOOK\", {\n slug: \"parsio_io-update-webhook\",\n name: \"Update Webhook\",\n description: \"Tool to update an existing webhook's configuration. Use when you need to modify webhook settings like URL, event type, or activation status.\",\n input: ParsioIoUpdateWebhookInput,\n output: ParsioIoUpdateWebhookOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACrE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CAClF,OAAOA,IAAAA,EAAE,KAAK;EAAC;EAAc;EAAmB;EAAY;EAAgB;CAAc,CAAC,CAAC,CAAC,SAAS,0HAA0H;CAChO,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C;CACzE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAEnE,MAAa,wBAITC,eAAAA,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { parsioIo } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/update-webhook.d.ts
@@ -21,25 +23,7 @@ declare const ParsioIoUpdateWebhookOutput: z.ZodObject<{
21
23
  enabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
22
24
  table_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
25
  }, z.core.$loose>;
24
- declare const parsioIoUpdateWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
25
- _id: string;
26
- url: string;
27
- event: "doc.parsed" | "doc.parsed.flat" | "doc.fail" | "doc.received" | "table.parsed";
28
- enabled: boolean;
29
- table_id?: string | undefined;
30
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"parsio_io", z.ZodObject<{
31
- connectionId: z.ZodString;
32
- entityId: z.ZodString;
33
- instanceId: z.ZodString;
34
- }, z.core.$strip>, z.ZodObject<{
35
- generic_api_key: z.ZodString;
36
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"parsio_io", z.ZodObject<{
37
- connectionId: z.ZodString;
38
- entityId: z.ZodString;
39
- instanceId: z.ZodString;
40
- }, z.core.$strip>, z.ZodObject<{
41
- generic_api_key: z.ZodString;
42
- }, z.core.$strip>>]>;
26
+ declare const parsioIoUpdateWebhook: AppAction<typeof ParsioIoUpdateWebhookInput, typeof ParsioIoUpdateWebhookOutput, typeof parsioIo.credential>;
43
27
  //#endregion
44
28
  export { parsioIoUpdateWebhook };
45
29
  //# sourceMappingURL=update-webhook.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-webhook.d.cts","names":[],"sources":["../../src/actions/update-webhook.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAO1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;cAQ3B,qBAAA,gCAAqB,wBAAA"}
1
+ {"version":3,"file":"update-webhook.d.cts","names":[],"sources":["../../src/actions/update-webhook.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAO1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;cAQ3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { parsioIo } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/update-webhook.d.ts
@@ -21,25 +23,7 @@ declare const ParsioIoUpdateWebhookOutput: z.ZodObject<{
21
23
  enabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
22
24
  table_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
25
  }, z.core.$loose>;
24
- declare const parsioIoUpdateWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
25
- _id: string;
26
- url: string;
27
- event: "doc.parsed" | "doc.parsed.flat" | "doc.fail" | "doc.received" | "table.parsed";
28
- enabled: boolean;
29
- table_id?: string | undefined;
30
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"parsio_io", z.ZodObject<{
31
- connectionId: z.ZodString;
32
- entityId: z.ZodString;
33
- instanceId: z.ZodString;
34
- }, z.core.$strip>, z.ZodObject<{
35
- generic_api_key: z.ZodString;
36
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"parsio_io", z.ZodObject<{
37
- connectionId: z.ZodString;
38
- entityId: z.ZodString;
39
- instanceId: z.ZodString;
40
- }, z.core.$strip>, z.ZodObject<{
41
- generic_api_key: z.ZodString;
42
- }, z.core.$strip>>]>;
26
+ declare const parsioIoUpdateWebhook: AppAction<typeof ParsioIoUpdateWebhookInput, typeof ParsioIoUpdateWebhookOutput, typeof parsioIo.credential>;
43
27
  //#endregion
44
28
  export { parsioIoUpdateWebhook };
45
29
  //# sourceMappingURL=update-webhook.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-webhook.d.mts","names":[],"sources":["../../src/actions/update-webhook.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAO1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;cAQ3B,qBAAA,gCAAqB,wBAAA"}
1
+ {"version":3,"file":"update-webhook.d.mts","names":[],"sources":["../../src/actions/update-webhook.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAO1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;cAQ3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const parsioIoUpdateWebhook = action("PARSIO_IO_UPDATE_WEBHOOK", {
@@ -1 +1 @@
1
- {"version":3,"file":"update-webhook.mjs","names":[],"sources":["../../src/actions/update-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParsioIoUpdateWebhookInput = z.object({\n _id: z.string().describe(\"Unique identifier of the webhook to update\"),\n url: z.string().describe(\"Webhook URL endpoint that will receive webhook payloads\"),\n event: z.enum([\"doc.parsed\", \"doc.parsed.flat\", \"doc.fail\", \"doc.received\", \"table.parsed\"]).describe(\"Trigger event type for the webhook. Options: 'doc.parsed', 'doc.parsed.flat', 'doc.fail', 'doc.received', 'table.parsed'\"),\n enabled: z.boolean().describe(\"Whether the webhook is active or disabled\"),\n table_id: z.string().default(\"\").describe(\"Table identifier, required only for 'table.parsed' events. Leave empty for other event types.\").optional(),\n}).describe(\"Request model for updating an existing webhook.\");\nexport const ParsioIoUpdateWebhookOutput = z.object({\n _id: z.string().describe(\"Unique identifier of the updated webhook\").nullable().optional(),\n url: z.string().describe(\"Destination endpoint URL for webhook notifications\").nullable().optional(),\n event: z.string().describe(\"Event type that triggers the webhook\").nullable().optional(),\n enabled: z.boolean().describe(\"Whether the webhook is currently active or inactive\").nullable().optional(),\n table_id: z.string().describe(\"Table identifier, applicable only for 'table.parsed' events\").nullable().optional(),\n}).passthrough().describe(\"Response schema for updating a webhook.\");\n\nexport const parsioIoUpdateWebhook = action(\"PARSIO_IO_UPDATE_WEBHOOK\", {\n slug: \"parsio_io-update-webhook\",\n name: \"Update Webhook\",\n description: \"Tool to update an existing webhook's configuration. Use when you need to modify webhook settings like URL, event type, or activation status.\",\n input: ParsioIoUpdateWebhookInput,\n output: ParsioIoUpdateWebhookOutput,\n});\n"],"mappings":";;AAmBA,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBwC,EAAE,OAAO;EACjD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EACrE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;EAClF,OAAO,EAAE,KAAK;GAAC;GAAc;GAAmB;GAAY;GAAgB;EAAc,CAAC,CAAC,CAAC,SAAS,0HAA0H;EAChO,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C;EACzE,UAAU,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CACtJ,CAAC,CAAC,CAAC,SAAS,iDAaH;CACP,QAbyC,EAAE,OAAO;EAClD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"update-webhook.mjs","names":[],"sources":["../../src/actions/update-webhook.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parsioIo } from \"../app\";\n\nexport const ParsioIoUpdateWebhookInput = z.object({\n _id: z.string().describe(\"Unique identifier of the webhook to update\"),\n url: z.string().describe(\"Webhook URL endpoint that will receive webhook payloads\"),\n event: z.enum([\"doc.parsed\", \"doc.parsed.flat\", \"doc.fail\", \"doc.received\", \"table.parsed\"]).describe(\"Trigger event type for the webhook. Options: 'doc.parsed', 'doc.parsed.flat', 'doc.fail', 'doc.received', 'table.parsed'\"),\n enabled: z.boolean().describe(\"Whether the webhook is active or disabled\"),\n table_id: z.string().default(\"\").describe(\"Table identifier, required only for 'table.parsed' events. Leave empty for other event types.\").optional(),\n}).describe(\"Request model for updating an existing webhook.\");\nexport const ParsioIoUpdateWebhookOutput = z.object({\n _id: z.string().describe(\"Unique identifier of the updated webhook\").nullable().optional(),\n url: z.string().describe(\"Destination endpoint URL for webhook notifications\").nullable().optional(),\n event: z.string().describe(\"Event type that triggers the webhook\").nullable().optional(),\n enabled: z.boolean().describe(\"Whether the webhook is currently active or inactive\").nullable().optional(),\n table_id: z.string().describe(\"Table identifier, applicable only for 'table.parsed' events\").nullable().optional(),\n}).passthrough().describe(\"Response schema for updating a webhook.\");\n\nexport const parsioIoUpdateWebhook: AppAction<\n typeof ParsioIoUpdateWebhookInput,\n typeof ParsioIoUpdateWebhookOutput,\n typeof parsioIo.credential\n> = action(\"PARSIO_IO_UPDATE_WEBHOOK\", {\n slug: \"parsio_io-update-webhook\",\n name: \"Update Webhook\",\n description: \"Tool to update an existing webhook's configuration. Use when you need to modify webhook settings like URL, event type, or activation status.\",\n input: ParsioIoUpdateWebhookInput,\n output: ParsioIoUpdateWebhookOutput,\n});\n"],"mappings":";;;AAqBA,MAAa,wBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvBwC,EAAE,OAAO;EACjD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EACrE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;EAClF,OAAO,EAAE,KAAK;GAAC;GAAc;GAAmB;GAAY;GAAgB;EAAc,CAAC,CAAC,CAAC,SAAS,0HAA0H;EAChO,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C;EACzE,UAAU,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CACtJ,CAAC,CAAC,CAAC,SAAS,iDAiBH;CACP,QAjByC,EAAE,OAAO;EAClD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/upload-file.ts
@@ -1 +1 @@
1
- {"version":3,"file":"upload-file.cjs","names":["z","action"],"sources":["../../src/actions/upload-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParsioIoUploadFileInput = z.object({\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"File to upload and parse. Supported formats: PDF, HTML, CSV, TXT, DOCX, RTF, or XML. Maximum file size: 20MB.\"),\n meta: z.record(z.string(), z.unknown()).describe(\"Custom payload data that will be included in the parsed JSON output as __meta__ field. Useful for linking the document with external databases (e.g., {'order_id': '12345', 'customer': 'John Doe'}).\").optional(),\n mailbox_id: z.string().describe(\"The unique identifier of the mailbox where the file will be uploaded\"),\n}).describe(\"Request model for uploading and parsing files to a mailbox.\");\nexport const ParsioIoUploadFileOutput = z.object({\n _id: z.string().describe(\"Unique identifier of the uploaded document for tracking and retrieval of parsing results\").nullable().optional(),\n status: z.string().describe(\"Status of the document. Possible values: parsed, fail, skipped, new, quota, parsing, exception\").nullable().optional(),\n message: z.string().describe(\"Additional message or information about the document upload and parsing\").nullable().optional(),\n}).passthrough().describe(\"Response schema for file upload.\");\n\nexport const parsioIoUploadFile = action(\"PARSIO_IO_UPLOAD_FILE\", {\n slug: \"parsio_io-upload-file\",\n name: \"Upload File\",\n description: \"Tool to upload and parse PDF, HTML, CSV, TXT, DOCX, RTF or XML files (max 20MB) to a mailbox. Use when you need to submit a file to Parsio for automated data extraction.\",\n input: ParsioIoUploadFileInput,\n output: ParsioIoUploadFileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,OAAO;EACf,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;EAC7G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;EACnO,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC3D,CAAC,CAAC,CAAC,SAAS,+GAA+G;CACzH,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uMAAuM,CAAC,CAAC,SAAS;CACnQ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE;AACxG,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClJ,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAE5D,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"upload-file.cjs","names":["z","action"],"sources":["../../src/actions/upload-file.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parsioIo } from \"../app\";\n\nexport const ParsioIoUploadFileInput = z.object({\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"File to upload and parse. Supported formats: PDF, HTML, CSV, TXT, DOCX, RTF, or XML. Maximum file size: 20MB.\"),\n meta: z.record(z.string(), z.unknown()).describe(\"Custom payload data that will be included in the parsed JSON output as __meta__ field. Useful for linking the document with external databases (e.g., {'order_id': '12345', 'customer': 'John Doe'}).\").optional(),\n mailbox_id: z.string().describe(\"The unique identifier of the mailbox where the file will be uploaded\"),\n}).describe(\"Request model for uploading and parsing files to a mailbox.\");\nexport const ParsioIoUploadFileOutput = z.object({\n _id: z.string().describe(\"Unique identifier of the uploaded document for tracking and retrieval of parsing results\").nullable().optional(),\n status: z.string().describe(\"Status of the document. Possible values: parsed, fail, skipped, new, quota, parsing, exception\").nullable().optional(),\n message: z.string().describe(\"Additional message or information about the document upload and parsing\").nullable().optional(),\n}).passthrough().describe(\"Response schema for file upload.\");\n\nexport const parsioIoUploadFile: AppAction<\n typeof ParsioIoUploadFileInput,\n typeof ParsioIoUploadFileOutput,\n typeof parsioIo.credential\n> = action(\"PARSIO_IO_UPLOAD_FILE\", {\n slug: \"parsio_io-upload-file\",\n name: \"Upload File\",\n description: \"Tool to upload and parse PDF, HTML, CSV, TXT, DOCX, RTF or XML files (max 20MB) to a mailbox. Use when you need to submit a file to Parsio for automated data extraction.\",\n input: ParsioIoUploadFileInput,\n output: ParsioIoUploadFileOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,OAAO;EACf,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;EAC7G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;EACnO,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC3D,CAAC,CAAC,CAAC,SAAS,+GAA+G;CACzH,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uMAAuM,CAAC,CAAC,SAAS;CACnQ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE;AACxG,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClJ,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAE5D,MAAa,qBAITC,eAAAA,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { parsioIo } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/upload-file.d.ts
@@ -15,27 +17,7 @@ declare const ParsioIoUploadFileOutput: z.ZodObject<{
15
17
  status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
18
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
19
  }, z.core.$loose>;
18
- declare const parsioIoUploadFile: import("@keystrokehq/action").WorkflowActionDefinition<{
19
- file: {
20
- name: string;
21
- s3key: string;
22
- mimetype: string;
23
- };
24
- mailbox_id: string;
25
- meta?: Record<string, unknown> | undefined;
26
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"parsio_io", z.ZodObject<{
27
- connectionId: z.ZodString;
28
- entityId: z.ZodString;
29
- instanceId: z.ZodString;
30
- }, z.core.$strip>, z.ZodObject<{
31
- generic_api_key: z.ZodString;
32
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"parsio_io", z.ZodObject<{
33
- connectionId: z.ZodString;
34
- entityId: z.ZodString;
35
- instanceId: z.ZodString;
36
- }, z.core.$strip>, z.ZodObject<{
37
- generic_api_key: z.ZodString;
38
- }, z.core.$strip>>]>;
20
+ declare const parsioIoUploadFile: AppAction<typeof ParsioIoUploadFileInput, typeof ParsioIoUploadFileOutput, typeof parsioIo.credential>;
39
21
  //#endregion
40
22
  export { parsioIoUploadFile };
41
23
  //# sourceMappingURL=upload-file.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"upload-file.d.cts","names":[],"sources":["../../src/actions/upload-file.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;cASvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;cAMxB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"upload-file.d.cts","names":[],"sources":["../../src/actions/upload-file.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;cASvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;cAMxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { parsioIo } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/upload-file.d.ts
@@ -15,27 +17,7 @@ declare const ParsioIoUploadFileOutput: z.ZodObject<{
15
17
  status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
18
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
19
  }, z.core.$loose>;
18
- declare const parsioIoUploadFile: import("@keystrokehq/action").WorkflowActionDefinition<{
19
- file: {
20
- name: string;
21
- s3key: string;
22
- mimetype: string;
23
- };
24
- mailbox_id: string;
25
- meta?: Record<string, unknown> | undefined;
26
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"parsio_io", z.ZodObject<{
27
- connectionId: z.ZodString;
28
- entityId: z.ZodString;
29
- instanceId: z.ZodString;
30
- }, z.core.$strip>, z.ZodObject<{
31
- generic_api_key: z.ZodString;
32
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"parsio_io", z.ZodObject<{
33
- connectionId: z.ZodString;
34
- entityId: z.ZodString;
35
- instanceId: z.ZodString;
36
- }, z.core.$strip>, z.ZodObject<{
37
- generic_api_key: z.ZodString;
38
- }, z.core.$strip>>]>;
20
+ declare const parsioIoUploadFile: AppAction<typeof ParsioIoUploadFileInput, typeof ParsioIoUploadFileOutput, typeof parsioIo.credential>;
39
21
  //#endregion
40
22
  export { parsioIoUploadFile };
41
23
  //# sourceMappingURL=upload-file.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"upload-file.d.mts","names":[],"sources":["../../src/actions/upload-file.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;cASvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;cAMxB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"upload-file.d.mts","names":[],"sources":["../../src/actions/upload-file.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;cASvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;cAMxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const parsioIoUploadFile = action("PARSIO_IO_UPLOAD_FILE", {
@@ -1 +1 @@
1
- {"version":3,"file":"upload-file.mjs","names":[],"sources":["../../src/actions/upload-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParsioIoUploadFileInput = z.object({\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"File to upload and parse. Supported formats: PDF, HTML, CSV, TXT, DOCX, RTF, or XML. Maximum file size: 20MB.\"),\n meta: z.record(z.string(), z.unknown()).describe(\"Custom payload data that will be included in the parsed JSON output as __meta__ field. Useful for linking the document with external databases (e.g., {'order_id': '12345', 'customer': 'John Doe'}).\").optional(),\n mailbox_id: z.string().describe(\"The unique identifier of the mailbox where the file will be uploaded\"),\n}).describe(\"Request model for uploading and parsing files to a mailbox.\");\nexport const ParsioIoUploadFileOutput = z.object({\n _id: z.string().describe(\"Unique identifier of the uploaded document for tracking and retrieval of parsing results\").nullable().optional(),\n status: z.string().describe(\"Status of the document. Possible values: parsed, fail, skipped, new, quota, parsing, exception\").nullable().optional(),\n message: z.string().describe(\"Additional message or information about the document upload and parsing\").nullable().optional(),\n}).passthrough().describe(\"Response schema for file upload.\");\n\nexport const parsioIoUploadFile = action(\"PARSIO_IO_UPLOAD_FILE\", {\n slug: \"parsio_io-upload-file\",\n name: \"Upload File\",\n description: \"Tool to upload and parse PDF, HTML, CSV, TXT, DOCX, RTF or XML files (max 20MB) to a mailbox. Use when you need to submit a file to Parsio for automated data extraction.\",\n input: ParsioIoUploadFileInput,\n output: ParsioIoUploadFileOutput,\n});\n"],"mappings":";;AAmBA,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBqC,EAAE,OAAO;EAC9C,MAAM,EAAE,OAAO;GACf,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;GAC7G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;GACnO,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EAC3D,CAAC,CAAC,CAAC,SAAS,+GAA+G;EACzH,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uMAAuM,CAAC,CAAC,SAAS;EACnQ,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE;CACxG,CAAC,CAAC,CAAC,SAAS,6DAWH;CACP,QAXsC,EAAE,OAAO;EAC/C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClJ,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"upload-file.mjs","names":[],"sources":["../../src/actions/upload-file.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parsioIo } from \"../app\";\n\nexport const ParsioIoUploadFileInput = z.object({\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"File to upload and parse. Supported formats: PDF, HTML, CSV, TXT, DOCX, RTF, or XML. Maximum file size: 20MB.\"),\n meta: z.record(z.string(), z.unknown()).describe(\"Custom payload data that will be included in the parsed JSON output as __meta__ field. Useful for linking the document with external databases (e.g., {'order_id': '12345', 'customer': 'John Doe'}).\").optional(),\n mailbox_id: z.string().describe(\"The unique identifier of the mailbox where the file will be uploaded\"),\n}).describe(\"Request model for uploading and parsing files to a mailbox.\");\nexport const ParsioIoUploadFileOutput = z.object({\n _id: z.string().describe(\"Unique identifier of the uploaded document for tracking and retrieval of parsing results\").nullable().optional(),\n status: z.string().describe(\"Status of the document. Possible values: parsed, fail, skipped, new, quota, parsing, exception\").nullable().optional(),\n message: z.string().describe(\"Additional message or information about the document upload and parsing\").nullable().optional(),\n}).passthrough().describe(\"Response schema for file upload.\");\n\nexport const parsioIoUploadFile: AppAction<\n typeof ParsioIoUploadFileInput,\n typeof ParsioIoUploadFileOutput,\n typeof parsioIo.credential\n> = action(\"PARSIO_IO_UPLOAD_FILE\", {\n slug: \"parsio_io-upload-file\",\n name: \"Upload File\",\n description: \"Tool to upload and parse PDF, HTML, CSV, TXT, DOCX, RTF or XML files (max 20MB) to a mailbox. Use when you need to submit a file to Parsio for automated data extraction.\",\n input: ParsioIoUploadFileInput,\n output: ParsioIoUploadFileOutput,\n});\n"],"mappings":";;;AAqBA,MAAa,qBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvBqC,EAAE,OAAO;EAC9C,MAAM,EAAE,OAAO;GACf,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;GAC7G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;GACnO,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EAC3D,CAAC,CAAC,CAAC,SAAS,+GAA+G;EACzH,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uMAAuM,CAAC,CAAC,SAAS;EACnQ,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE;CACxG,CAAC,CAAC,CAAC,SAAS,6DAeH;CACP,QAfsC,EAAE,OAAO;EAC/C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClJ,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAWhB;AACV,CAAC"}
package/dist/app.cjs CHANGED
@@ -1,10 +1,10 @@
1
1
  let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
2
- let zod = require("zod");
3
2
  //#region src/app.ts
3
+ const credential = { generic_api_key: require("zod").z.string() };
4
4
  const parsioIo = (0, _keystrokehq_keystroke_app.defineApp)({
5
5
  slug: "parsio_io",
6
6
  auth: "keystroke",
7
- credential: { generic_api_key: zod.z.string() }
7
+ credential
8
8
  });
9
9
  //#endregion
10
10
  exports.parsioIo = parsioIo;
package/dist/app.cjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const parsioIo = defineApp({\n slug: \"parsio_io\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,YAAA,GAAA,2BAAA,UAAA,CAAqB;CAChC,MAAM;CACN,MAAM;CACN,YAAY,EACV,iBAAiBA,IAAAA,EAAE,OAAO,EAC5B;AACF,CAAC"}
1
+ {"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const parsioIo: KeystrokeApp<\"parsio_io\", typeof credential> = defineApp({\n slug: \"parsio_io\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAGA,MAAM,aAAa,EACjB,8BAAiBA,CAAAA,CAAAA,EAAE,OAAO,EAC5B;AAEA,MAAa,YAAA,GAAA,2BAAA,UAAA,CAAmE;CAC9E,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
package/dist/app.d.cts CHANGED
@@ -1,13 +1,11 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
1
2
  import { z } from "zod";
2
3
 
3
4
  //#region src/app.d.ts
4
- declare const parsioIo: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"parsio_io", z.ZodObject<{
5
- connectionId: z.ZodString;
6
- entityId: z.ZodString;
7
- instanceId: z.ZodString;
8
- }, z.core.$strip>, z.ZodObject<{
5
+ declare const credential: {
9
6
  generic_api_key: z.ZodString;
10
- }, z.core.$strip>>>;
7
+ };
8
+ declare const parsioIo: KeystrokeApp<"parsio_io", typeof credential>;
11
9
  //#endregion
12
10
  export { parsioIo };
13
11
  //# sourceMappingURL=app.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,QAAA,6BAAQ,GAAA,+BAAA,UAAA,cAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,QAAA,EAAU,YAAY,qBAAqB,UAAA"}
package/dist/app.d.mts CHANGED
@@ -1,13 +1,11 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
1
2
  import { z } from "zod";
2
3
 
3
4
  //#region src/app.d.ts
4
- declare const parsioIo: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"parsio_io", z.ZodObject<{
5
- connectionId: z.ZodString;
6
- entityId: z.ZodString;
7
- instanceId: z.ZodString;
8
- }, z.core.$strip>, z.ZodObject<{
5
+ declare const credential: {
9
6
  generic_api_key: z.ZodString;
10
- }, z.core.$strip>>>;
7
+ };
8
+ declare const parsioIo: KeystrokeApp<"parsio_io", typeof credential>;
11
9
  //#endregion
12
10
  export { parsioIo };
13
11
  //# sourceMappingURL=app.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,QAAA,6BAAQ,GAAA,+BAAA,UAAA,cAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,QAAA,EAAU,YAAY,qBAAqB,UAAA"}
package/dist/app.mjs CHANGED
@@ -1,6 +1,5 @@
1
1
  import { defineApp } from "@keystrokehq/keystroke/app";
2
2
  import { z } from "zod";
3
- //#region src/app.ts
4
3
  const parsioIo = defineApp({
5
4
  slug: "parsio_io",
6
5
  auth: "keystroke",
package/dist/app.mjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const parsioIo = defineApp({\n slug: \"parsio_io\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,WAAW,UAAU;CAChC,MAAM;CACN,MAAM;CACN,YAAY,EACV,iBAAiB,EAAE,OAAO,EAC5B;AACF,CAAC"}
1
+ {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const parsioIo: KeystrokeApp<\"parsio_io\", typeof credential> = defineApp({\n slug: \"parsio_io\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAOA,MAAa,WAAyD,UAAU;CAC9E,MAAM;CACN,MAAM;CACN,cANA,iBAAiB,EAAE,OAAO,EAM1B;AACF,CAAC"}
package/dist/index.d.cts CHANGED
@@ -1,3 +1,4 @@
1
+ import { parsioIo } from "./app.cjs";
1
2
  import { parsioIoCreateHtmlTextDocument } from "./actions/create-html-text-document.cjs";
2
3
  import { parsioIoCreateMailbox } from "./actions/create-mailbox.cjs";
3
4
  import { parsioIoCreateWebhook } from "./actions/create-webhook.cjs";
@@ -22,6 +23,5 @@ import { parsioIoSkipDocuments } from "./actions/skip-documents.cjs";
22
23
  import { parsioIoUpdateMailbox } from "./actions/update-mailbox.cjs";
23
24
  import { parsioIoUpdateWebhook } from "./actions/update-webhook.cjs";
24
25
  import { parsioIoUploadFile } from "./actions/upload-file.cjs";
25
- import { parsioIo } from "./app.cjs";
26
26
  import { parsioIoCatalog } from "./catalog.cjs";
27
27
  export { parsioIo, parsioIoCatalog, parsioIoCreateHtmlTextDocument, parsioIoCreateMailbox, parsioIoCreateWebhook, parsioIoDeleteMailbox, parsioIoDeleteTemplates, parsioIoDeleteWebhooks, parsioIoDisableTemplates, parsioIoEnableTemplates, parsioIoGetDocument, parsioIoGetMailbox, parsioIoGetParsedData, parsioIoGetTemplate, parsioIoGetWebhook, parsioIoListCollectedEmails, parsioIoListDocuments, parsioIoListMailboxes, parsioIoListTableFields, parsioIoListTemplates, parsioIoListWebhooks, parsioIoParseDocument, parsioIoSkipDocuments, parsioIoUpdateMailbox, parsioIoUpdateWebhook, parsioIoUploadFile };
package/dist/index.d.mts CHANGED
@@ -1,3 +1,4 @@
1
+ import { parsioIo } from "./app.mjs";
1
2
  import { parsioIoCreateHtmlTextDocument } from "./actions/create-html-text-document.mjs";
2
3
  import { parsioIoCreateMailbox } from "./actions/create-mailbox.mjs";
3
4
  import { parsioIoCreateWebhook } from "./actions/create-webhook.mjs";
@@ -22,6 +23,5 @@ import { parsioIoSkipDocuments } from "./actions/skip-documents.mjs";
22
23
  import { parsioIoUpdateMailbox } from "./actions/update-mailbox.mjs";
23
24
  import { parsioIoUpdateWebhook } from "./actions/update-webhook.mjs";
24
25
  import { parsioIoUploadFile } from "./actions/upload-file.mjs";
25
- import { parsioIo } from "./app.mjs";
26
26
  import { parsioIoCatalog } from "./catalog.mjs";
27
27
  export { parsioIo, parsioIoCatalog, parsioIoCreateHtmlTextDocument, parsioIoCreateMailbox, parsioIoCreateWebhook, parsioIoDeleteMailbox, parsioIoDeleteTemplates, parsioIoDeleteWebhooks, parsioIoDisableTemplates, parsioIoEnableTemplates, parsioIoGetDocument, parsioIoGetMailbox, parsioIoGetParsedData, parsioIoGetTemplate, parsioIoGetWebhook, parsioIoListCollectedEmails, parsioIoListDocuments, parsioIoListMailboxes, parsioIoListTableFields, parsioIoListTemplates, parsioIoListWebhooks, parsioIoParseDocument, parsioIoSkipDocuments, parsioIoUpdateMailbox, parsioIoUpdateWebhook, parsioIoUploadFile };