@keystrokehq/ragie 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 (261) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/create-document-from-url.cjs +1 -0
  4. package/dist/actions/create-document-from-url.cjs.map +1 -1
  5. package/dist/actions/create-document-from-url.d.cts +3 -20
  6. package/dist/actions/create-document-from-url.d.cts.map +1 -1
  7. package/dist/actions/create-document-from-url.d.mts +3 -20
  8. package/dist/actions/create-document-from-url.d.mts.map +1 -1
  9. package/dist/actions/create-document-from-url.mjs +1 -0
  10. package/dist/actions/create-document-from-url.mjs.map +1 -1
  11. package/dist/actions/create-document-raw.cjs +1 -0
  12. package/dist/actions/create-document-raw.cjs.map +1 -1
  13. package/dist/actions/create-document-raw.d.cts +3 -19
  14. package/dist/actions/create-document-raw.d.cts.map +1 -1
  15. package/dist/actions/create-document-raw.d.mts +3 -19
  16. package/dist/actions/create-document-raw.d.mts.map +1 -1
  17. package/dist/actions/create-document-raw.mjs +1 -0
  18. package/dist/actions/create-document-raw.mjs.map +1 -1
  19. package/dist/actions/create-document.cjs +1 -0
  20. package/dist/actions/create-document.cjs.map +1 -1
  21. package/dist/actions/create-document.d.cts +3 -27
  22. package/dist/actions/create-document.d.cts.map +1 -1
  23. package/dist/actions/create-document.d.mts +3 -27
  24. package/dist/actions/create-document.d.mts.map +1 -1
  25. package/dist/actions/create-document.mjs +1 -0
  26. package/dist/actions/create-document.mjs.map +1 -1
  27. package/dist/actions/create-instruction.cjs +1 -0
  28. package/dist/actions/create-instruction.cjs.map +1 -1
  29. package/dist/actions/create-instruction.d.cts +3 -21
  30. package/dist/actions/create-instruction.d.cts.map +1 -1
  31. package/dist/actions/create-instruction.d.mts +3 -21
  32. package/dist/actions/create-instruction.d.mts.map +1 -1
  33. package/dist/actions/create-instruction.mjs +1 -0
  34. package/dist/actions/create-instruction.mjs.map +1 -1
  35. package/dist/actions/create-oauth-redirect-url.cjs +1 -0
  36. package/dist/actions/create-oauth-redirect-url.cjs.map +1 -1
  37. package/dist/actions/create-oauth-redirect-url.d.cts +3 -23
  38. package/dist/actions/create-oauth-redirect-url.d.cts.map +1 -1
  39. package/dist/actions/create-oauth-redirect-url.d.mts +3 -23
  40. package/dist/actions/create-oauth-redirect-url.d.mts.map +1 -1
  41. package/dist/actions/create-oauth-redirect-url.mjs +1 -0
  42. package/dist/actions/create-oauth-redirect-url.mjs.map +1 -1
  43. package/dist/actions/create-partition-partitions-post.cjs +1 -0
  44. package/dist/actions/create-partition-partitions-post.cjs.map +1 -1
  45. package/dist/actions/create-partition-partitions-post.d.cts +3 -29
  46. package/dist/actions/create-partition-partitions-post.d.cts.map +1 -1
  47. package/dist/actions/create-partition-partitions-post.d.mts +3 -29
  48. package/dist/actions/create-partition-partitions-post.d.mts.map +1 -1
  49. package/dist/actions/create-partition-partitions-post.mjs +1 -0
  50. package/dist/actions/create-partition-partitions-post.mjs.map +1 -1
  51. package/dist/actions/delete-document.cjs +1 -0
  52. package/dist/actions/delete-document.cjs.map +1 -1
  53. package/dist/actions/delete-document.d.cts +3 -17
  54. package/dist/actions/delete-document.d.cts.map +1 -1
  55. package/dist/actions/delete-document.d.mts +3 -17
  56. package/dist/actions/delete-document.d.mts.map +1 -1
  57. package/dist/actions/delete-document.mjs +1 -0
  58. package/dist/actions/delete-document.mjs.map +1 -1
  59. package/dist/actions/delete-instruction.cjs +1 -0
  60. package/dist/actions/delete-instruction.cjs.map +1 -1
  61. package/dist/actions/delete-instruction.d.cts +3 -15
  62. package/dist/actions/delete-instruction.d.cts.map +1 -1
  63. package/dist/actions/delete-instruction.d.mts +3 -15
  64. package/dist/actions/delete-instruction.d.mts.map +1 -1
  65. package/dist/actions/delete-instruction.mjs +1 -0
  66. package/dist/actions/delete-instruction.mjs.map +1 -1
  67. package/dist/actions/delete-partition.cjs +1 -0
  68. package/dist/actions/delete-partition.cjs.map +1 -1
  69. package/dist/actions/delete-partition.d.cts +3 -16
  70. package/dist/actions/delete-partition.d.cts.map +1 -1
  71. package/dist/actions/delete-partition.d.mts +3 -16
  72. package/dist/actions/delete-partition.d.mts.map +1 -1
  73. package/dist/actions/delete-partition.mjs +1 -0
  74. package/dist/actions/delete-partition.mjs.map +1 -1
  75. package/dist/actions/get-document-chunk-content.cjs +1 -0
  76. package/dist/actions/get-document-chunk-content.cjs.map +1 -1
  77. package/dist/actions/get-document-chunk-content.d.cts +3 -20
  78. package/dist/actions/get-document-chunk-content.d.cts.map +1 -1
  79. package/dist/actions/get-document-chunk-content.d.mts +3 -20
  80. package/dist/actions/get-document-chunk-content.d.mts.map +1 -1
  81. package/dist/actions/get-document-chunk-content.mjs +1 -0
  82. package/dist/actions/get-document-chunk-content.mjs.map +1 -1
  83. package/dist/actions/get-document-chunk.cjs +1 -0
  84. package/dist/actions/get-document-chunk.cjs.map +1 -1
  85. package/dist/actions/get-document-chunk.d.cts +3 -17
  86. package/dist/actions/get-document-chunk.d.cts.map +1 -1
  87. package/dist/actions/get-document-chunk.d.mts +3 -17
  88. package/dist/actions/get-document-chunk.d.mts.map +1 -1
  89. package/dist/actions/get-document-chunk.mjs +1 -0
  90. package/dist/actions/get-document-chunk.mjs.map +1 -1
  91. package/dist/actions/get-document-chunks.cjs +1 -0
  92. package/dist/actions/get-document-chunks.cjs.map +1 -1
  93. package/dist/actions/get-document-chunks.d.cts +3 -20
  94. package/dist/actions/get-document-chunks.d.cts.map +1 -1
  95. package/dist/actions/get-document-chunks.d.mts +3 -20
  96. package/dist/actions/get-document-chunks.d.mts.map +1 -1
  97. package/dist/actions/get-document-chunks.mjs +1 -0
  98. package/dist/actions/get-document-chunks.mjs.map +1 -1
  99. package/dist/actions/get-document-content.cjs +1 -0
  100. package/dist/actions/get-document-content.cjs.map +1 -1
  101. package/dist/actions/get-document-content.d.cts +3 -19
  102. package/dist/actions/get-document-content.d.cts.map +1 -1
  103. package/dist/actions/get-document-content.d.mts +3 -19
  104. package/dist/actions/get-document-content.d.mts.map +1 -1
  105. package/dist/actions/get-document-content.mjs +1 -0
  106. package/dist/actions/get-document-content.mjs.map +1 -1
  107. package/dist/actions/get-document-summary.cjs +1 -0
  108. package/dist/actions/get-document-summary.cjs.map +1 -1
  109. package/dist/actions/get-document-summary.d.cts +3 -16
  110. package/dist/actions/get-document-summary.d.cts.map +1 -1
  111. package/dist/actions/get-document-summary.d.mts +3 -16
  112. package/dist/actions/get-document-summary.d.mts.map +1 -1
  113. package/dist/actions/get-document-summary.mjs +1 -0
  114. package/dist/actions/get-document-summary.mjs.map +1 -1
  115. package/dist/actions/get-document.cjs +1 -0
  116. package/dist/actions/get-document.cjs.map +1 -1
  117. package/dist/actions/get-document.d.cts +3 -16
  118. package/dist/actions/get-document.d.cts.map +1 -1
  119. package/dist/actions/get-document.d.mts +3 -16
  120. package/dist/actions/get-document.d.mts.map +1 -1
  121. package/dist/actions/get-document.mjs +1 -0
  122. package/dist/actions/get-document.mjs.map +1 -1
  123. package/dist/actions/get-partition.cjs +1 -0
  124. package/dist/actions/get-partition.cjs.map +1 -1
  125. package/dist/actions/get-partition.d.cts +3 -15
  126. package/dist/actions/get-partition.d.cts.map +1 -1
  127. package/dist/actions/get-partition.d.mts +3 -15
  128. package/dist/actions/get-partition.d.mts.map +1 -1
  129. package/dist/actions/get-partition.mjs +1 -0
  130. package/dist/actions/get-partition.mjs.map +1 -1
  131. package/dist/actions/get-response.cjs +1 -0
  132. package/dist/actions/get-response.cjs.map +1 -1
  133. package/dist/actions/get-response.d.cts +3 -15
  134. package/dist/actions/get-response.d.cts.map +1 -1
  135. package/dist/actions/get-response.d.mts +3 -15
  136. package/dist/actions/get-response.d.mts.map +1 -1
  137. package/dist/actions/get-response.mjs +1 -0
  138. package/dist/actions/get-response.mjs.map +1 -1
  139. package/dist/actions/list-connection-source-types.cjs +1 -0
  140. package/dist/actions/list-connection-source-types.cjs.map +1 -1
  141. package/dist/actions/list-connection-source-types.d.cts +3 -13
  142. package/dist/actions/list-connection-source-types.d.cts.map +1 -1
  143. package/dist/actions/list-connection-source-types.d.mts +3 -13
  144. package/dist/actions/list-connection-source-types.d.mts.map +1 -1
  145. package/dist/actions/list-connection-source-types.mjs +1 -0
  146. package/dist/actions/list-connection-source-types.mjs.map +1 -1
  147. package/dist/actions/list-connections-connections-get.cjs +1 -0
  148. package/dist/actions/list-connections-connections-get.cjs.map +1 -1
  149. package/dist/actions/list-connections-connections-get.d.cts +3 -18
  150. package/dist/actions/list-connections-connections-get.d.cts.map +1 -1
  151. package/dist/actions/list-connections-connections-get.d.mts +3 -18
  152. package/dist/actions/list-connections-connections-get.d.mts.map +1 -1
  153. package/dist/actions/list-connections-connections-get.mjs +1 -0
  154. package/dist/actions/list-connections-connections-get.mjs.map +1 -1
  155. package/dist/actions/list-documents.cjs +1 -0
  156. package/dist/actions/list-documents.cjs.map +1 -1
  157. package/dist/actions/list-documents.d.cts +3 -18
  158. package/dist/actions/list-documents.d.cts.map +1 -1
  159. package/dist/actions/list-documents.d.mts +3 -18
  160. package/dist/actions/list-documents.d.mts.map +1 -1
  161. package/dist/actions/list-documents.mjs +1 -0
  162. package/dist/actions/list-documents.mjs.map +1 -1
  163. package/dist/actions/list-entities-by-document.cjs +1 -0
  164. package/dist/actions/list-entities-by-document.cjs.map +1 -1
  165. package/dist/actions/list-entities-by-document.d.cts +3 -18
  166. package/dist/actions/list-entities-by-document.d.cts.map +1 -1
  167. package/dist/actions/list-entities-by-document.d.mts +3 -18
  168. package/dist/actions/list-entities-by-document.d.mts.map +1 -1
  169. package/dist/actions/list-entities-by-document.mjs +1 -0
  170. package/dist/actions/list-entities-by-document.mjs.map +1 -1
  171. package/dist/actions/list-entities-by-instruction.cjs +1 -0
  172. package/dist/actions/list-entities-by-instruction.cjs.map +1 -1
  173. package/dist/actions/list-entities-by-instruction.d.cts +3 -18
  174. package/dist/actions/list-entities-by-instruction.d.cts.map +1 -1
  175. package/dist/actions/list-entities-by-instruction.d.mts +3 -18
  176. package/dist/actions/list-entities-by-instruction.d.mts.map +1 -1
  177. package/dist/actions/list-entities-by-instruction.mjs +1 -0
  178. package/dist/actions/list-entities-by-instruction.mjs.map +1 -1
  179. package/dist/actions/list-instructions.cjs +1 -0
  180. package/dist/actions/list-instructions.cjs.map +1 -1
  181. package/dist/actions/list-instructions.d.cts +3 -13
  182. package/dist/actions/list-instructions.d.cts.map +1 -1
  183. package/dist/actions/list-instructions.d.mts +3 -13
  184. package/dist/actions/list-instructions.d.mts.map +1 -1
  185. package/dist/actions/list-instructions.mjs +1 -0
  186. package/dist/actions/list-instructions.mjs.map +1 -1
  187. package/dist/actions/list-partitions.cjs +1 -0
  188. package/dist/actions/list-partitions.cjs.map +1 -1
  189. package/dist/actions/list-partitions.d.cts +3 -16
  190. package/dist/actions/list-partitions.d.cts.map +1 -1
  191. package/dist/actions/list-partitions.d.mts +3 -16
  192. package/dist/actions/list-partitions.d.mts.map +1 -1
  193. package/dist/actions/list-partitions.mjs +1 -0
  194. package/dist/actions/list-partitions.mjs.map +1 -1
  195. package/dist/actions/patch-document-metadata.cjs +1 -0
  196. package/dist/actions/patch-document-metadata.cjs.map +1 -1
  197. package/dist/actions/patch-document-metadata.d.cts +3 -18
  198. package/dist/actions/patch-document-metadata.d.cts.map +1 -1
  199. package/dist/actions/patch-document-metadata.d.mts +3 -18
  200. package/dist/actions/patch-document-metadata.d.mts.map +1 -1
  201. package/dist/actions/patch-document-metadata.mjs +1 -0
  202. package/dist/actions/patch-document-metadata.mjs.map +1 -1
  203. package/dist/actions/retrieve.cjs +1 -0
  204. package/dist/actions/retrieve.cjs.map +1 -1
  205. package/dist/actions/retrieve.d.cts +3 -21
  206. package/dist/actions/retrieve.d.cts.map +1 -1
  207. package/dist/actions/retrieve.d.mts +3 -21
  208. package/dist/actions/retrieve.d.mts.map +1 -1
  209. package/dist/actions/retrieve.mjs +1 -0
  210. package/dist/actions/retrieve.mjs.map +1 -1
  211. package/dist/actions/set-partition-limits.cjs +1 -0
  212. package/dist/actions/set-partition-limits.cjs.map +1 -1
  213. package/dist/actions/set-partition-limits.d.cts +3 -27
  214. package/dist/actions/set-partition-limits.d.cts.map +1 -1
  215. package/dist/actions/set-partition-limits.d.mts +3 -27
  216. package/dist/actions/set-partition-limits.d.mts.map +1 -1
  217. package/dist/actions/set-partition-limits.mjs +1 -0
  218. package/dist/actions/set-partition-limits.mjs.map +1 -1
  219. package/dist/actions/update-document-from-url.cjs +1 -0
  220. package/dist/actions/update-document-from-url.cjs.map +1 -1
  221. package/dist/actions/update-document-from-url.d.cts +3 -21
  222. package/dist/actions/update-document-from-url.d.cts.map +1 -1
  223. package/dist/actions/update-document-from-url.d.mts +3 -21
  224. package/dist/actions/update-document-from-url.d.mts.map +1 -1
  225. package/dist/actions/update-document-from-url.mjs +1 -0
  226. package/dist/actions/update-document-from-url.mjs.map +1 -1
  227. package/dist/actions/update-document-raw.cjs +1 -0
  228. package/dist/actions/update-document-raw.cjs.map +1 -1
  229. package/dist/actions/update-document-raw.d.cts +3 -16
  230. package/dist/actions/update-document-raw.d.cts.map +1 -1
  231. package/dist/actions/update-document-raw.d.mts +3 -16
  232. package/dist/actions/update-document-raw.d.mts.map +1 -1
  233. package/dist/actions/update-document-raw.mjs +1 -0
  234. package/dist/actions/update-document-raw.mjs.map +1 -1
  235. package/dist/actions/update-instruction.cjs +1 -0
  236. package/dist/actions/update-instruction.cjs.map +1 -1
  237. package/dist/actions/update-instruction.d.cts +3 -16
  238. package/dist/actions/update-instruction.d.cts.map +1 -1
  239. package/dist/actions/update-instruction.d.mts +3 -16
  240. package/dist/actions/update-instruction.d.mts.map +1 -1
  241. package/dist/actions/update-instruction.mjs +1 -0
  242. package/dist/actions/update-instruction.mjs.map +1 -1
  243. package/dist/actions/update-partition.cjs +1 -0
  244. package/dist/actions/update-partition.cjs.map +1 -1
  245. package/dist/actions/update-partition.d.cts +3 -18
  246. package/dist/actions/update-partition.d.cts.map +1 -1
  247. package/dist/actions/update-partition.d.mts +3 -18
  248. package/dist/actions/update-partition.d.mts.map +1 -1
  249. package/dist/actions/update-partition.mjs +1 -0
  250. package/dist/actions/update-partition.mjs.map +1 -1
  251. package/dist/app.cjs +2 -2
  252. package/dist/app.cjs.map +1 -1
  253. package/dist/app.d.cts +4 -6
  254. package/dist/app.d.cts.map +1 -1
  255. package/dist/app.d.mts +4 -6
  256. package/dist/app.d.mts.map +1 -1
  257. package/dist/app.mjs +0 -1
  258. package/dist/app.mjs.map +1 -1
  259. package/dist/index.d.cts +1 -1
  260. package/dist/index.d.mts +1 -1
  261. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"delete-partition.cjs","names":["z","action"],"sources":["../../src/actions/delete-partition.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieDeletePartitionInput = z.object({\n partition_id: z.string().describe(\"The partition identifier to delete\"),\n async_deletion: z.boolean().describe(\"When true, performs partition deletion asynchronously. Defaults to false.\").optional(),\n}).describe(\"Request model for deleting a partition.\");\nexport const RagieDeletePartitionOutput = z.object({\n message: z.string().describe(\"Status message indicating the result of the deletion operation\").nullable().optional(),\n}).passthrough().describe(\"Response model for partition deletion operation.\");\n\nexport const ragieDeletePartition = action(\"RAGIE_DELETE_PARTITION\", {\n slug: \"ragie-delete-partition\",\n name: \"Delete Partition\",\n description: \"Tool to delete a partition and all associated data irreversibly. Use when you need to permanently remove a partition. Returns status 200 for synchronous deletion or 202 for asynchronous deletion.\",\n input: RagieDeletePartitionInput,\n output: RagieDeletePartitionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACtE,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;AAC7H,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-partition.cjs","names":["z","action"],"sources":["../../src/actions/delete-partition.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ragie } from \"../app\";\n\nexport const RagieDeletePartitionInput = z.object({\n partition_id: z.string().describe(\"The partition identifier to delete\"),\n async_deletion: z.boolean().describe(\"When true, performs partition deletion asynchronously. Defaults to false.\").optional(),\n}).describe(\"Request model for deleting a partition.\");\nexport const RagieDeletePartitionOutput = z.object({\n message: z.string().describe(\"Status message indicating the result of the deletion operation\").nullable().optional(),\n}).passthrough().describe(\"Response model for partition deletion operation.\");\n\nexport const ragieDeletePartition: AppAction<\n typeof RagieDeletePartitionInput,\n typeof RagieDeletePartitionOutput,\n typeof ragie.credential\n> = action(\"RAGIE_DELETE_PARTITION\", {\n slug: \"ragie-delete-partition\",\n name: \"Delete Partition\",\n description: \"Tool to delete a partition and all associated data irreversibly. Use when you need to permanently remove a partition. Returns status 200 for synchronous deletion or 202 for asynchronous deletion.\",\n input: RagieDeletePartitionInput,\n output: RagieDeletePartitionOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACtE,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;AAC7H,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,uBAITC,eAAAA,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { ragie } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-partition.d.ts
@@ -8,22 +10,7 @@ declare const RagieDeletePartitionInput: z.ZodObject<{
8
10
  declare const RagieDeletePartitionOutput: z.ZodObject<{
9
11
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
12
  }, z.core.$loose>;
11
- declare const ragieDeletePartition: import("@keystrokehq/action").WorkflowActionDefinition<{
12
- partition_id: string;
13
- async_deletion?: boolean | undefined;
14
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"ragie", z.ZodObject<{
15
- connectionId: z.ZodString;
16
- entityId: z.ZodString;
17
- instanceId: z.ZodString;
18
- }, z.core.$strip>, z.ZodObject<{
19
- generic_api_key: z.ZodString;
20
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"ragie", z.ZodObject<{
21
- connectionId: z.ZodString;
22
- entityId: z.ZodString;
23
- instanceId: z.ZodString;
24
- }, z.core.$strip>, z.ZodObject<{
25
- generic_api_key: z.ZodString;
26
- }, z.core.$strip>>]>;
13
+ declare const ragieDeletePartition: AppAction<typeof RagieDeletePartitionInput, typeof RagieDeletePartitionOutput, typeof ragie.credential>;
27
14
  //#endregion
28
15
  export { ragieDeletePartition };
29
16
  //# sourceMappingURL=delete-partition.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-partition.d.cts","names":[],"sources":["../../src/actions/delete-partition.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAIzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAI1B,oBAAA,gCAAoB,wBAAA"}
1
+ {"version":3,"file":"delete-partition.d.cts","names":[],"sources":["../../src/actions/delete-partition.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAIzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAI1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { ragie } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-partition.d.ts
@@ -8,22 +10,7 @@ declare const RagieDeletePartitionInput: z.ZodObject<{
8
10
  declare const RagieDeletePartitionOutput: z.ZodObject<{
9
11
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
12
  }, z.core.$loose>;
11
- declare const ragieDeletePartition: import("@keystrokehq/action").WorkflowActionDefinition<{
12
- partition_id: string;
13
- async_deletion?: boolean | undefined;
14
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"ragie", z.ZodObject<{
15
- connectionId: z.ZodString;
16
- entityId: z.ZodString;
17
- instanceId: z.ZodString;
18
- }, z.core.$strip>, z.ZodObject<{
19
- generic_api_key: z.ZodString;
20
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"ragie", z.ZodObject<{
21
- connectionId: z.ZodString;
22
- entityId: z.ZodString;
23
- instanceId: z.ZodString;
24
- }, z.core.$strip>, z.ZodObject<{
25
- generic_api_key: z.ZodString;
26
- }, z.core.$strip>>]>;
13
+ declare const ragieDeletePartition: AppAction<typeof RagieDeletePartitionInput, typeof RagieDeletePartitionOutput, typeof ragie.credential>;
27
14
  //#endregion
28
15
  export { ragieDeletePartition };
29
16
  //# sourceMappingURL=delete-partition.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-partition.d.mts","names":[],"sources":["../../src/actions/delete-partition.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAIzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAI1B,oBAAA,gCAAoB,wBAAA"}
1
+ {"version":3,"file":"delete-partition.d.mts","names":[],"sources":["../../src/actions/delete-partition.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAIzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAI1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,KAAA,CAAM,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 ragieDeletePartition = action("RAGIE_DELETE_PARTITION", {
@@ -1 +1 @@
1
- {"version":3,"file":"delete-partition.mjs","names":[],"sources":["../../src/actions/delete-partition.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieDeletePartitionInput = z.object({\n partition_id: z.string().describe(\"The partition identifier to delete\"),\n async_deletion: z.boolean().describe(\"When true, performs partition deletion asynchronously. Defaults to false.\").optional(),\n}).describe(\"Request model for deleting a partition.\");\nexport const RagieDeletePartitionOutput = z.object({\n message: z.string().describe(\"Status message indicating the result of the deletion operation\").nullable().optional(),\n}).passthrough().describe(\"Response model for partition deletion operation.\");\n\nexport const ragieDeletePartition = action(\"RAGIE_DELETE_PARTITION\", {\n slug: \"ragie-delete-partition\",\n name: \"Delete Partition\",\n description: \"Tool to delete a partition and all associated data irreversibly. Use when you need to permanently remove a partition. Returns status 200 for synchronous deletion or 202 for asynchronous deletion.\",\n input: RagieDeletePartitionInput,\n output: RagieDeletePartitionOutput,\n});\n"],"mappings":";;AAYA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZuC,EAAE,OAAO;EAChD,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;EACtE,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CAC7H,CAAC,CAAC,CAAC,SAAS,yCASH;CACP,QATwC,EAAE,OAAO,EACjD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"delete-partition.mjs","names":[],"sources":["../../src/actions/delete-partition.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ragie } from \"../app\";\n\nexport const RagieDeletePartitionInput = z.object({\n partition_id: z.string().describe(\"The partition identifier to delete\"),\n async_deletion: z.boolean().describe(\"When true, performs partition deletion asynchronously. Defaults to false.\").optional(),\n}).describe(\"Request model for deleting a partition.\");\nexport const RagieDeletePartitionOutput = z.object({\n message: z.string().describe(\"Status message indicating the result of the deletion operation\").nullable().optional(),\n}).passthrough().describe(\"Response model for partition deletion operation.\");\n\nexport const ragieDeletePartition: AppAction<\n typeof RagieDeletePartitionInput,\n typeof RagieDeletePartitionOutput,\n typeof ragie.credential\n> = action(\"RAGIE_DELETE_PARTITION\", {\n slug: \"ragie-delete-partition\",\n name: \"Delete Partition\",\n description: \"Tool to delete a partition and all associated data irreversibly. Use when you need to permanently remove a partition. Returns status 200 for synchronous deletion or 202 for asynchronous deletion.\",\n input: RagieDeletePartitionInput,\n output: RagieDeletePartitionOutput,\n});\n"],"mappings":";;;AAcA,MAAa,uBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBuC,EAAE,OAAO;EAChD,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;EACtE,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CAC7H,CAAC,CAAC,CAAC,SAAS,yCAaH;CACP,QAbwC,EAAE,OAAO,EACjD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAWhB;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/get-document-chunk-content.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-document-chunk-content.cjs","names":["z","action"],"sources":["../../src/actions/get-document-chunk-content.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieGetDocumentChunkContentInput = z.object({\n chunk_id: z.string().describe(\"The unique identifier of the chunk (UUID format).\"),\n download: z.boolean().default(false).describe(\"Whether to return the content as a file download or a raw stream. Default is false.\").optional(),\n partition: z.string().describe(\"Optional partition identifier to scope the request for multi-tenant isolation.\").optional(),\n media_type: z.enum([\"text/plain\", \"audio/mpeg\", \"video/mp4\", \"image/webp\", \"image/heic\", \"image/bmp\", \"image/png\", \"image/jpeg\", \"image/tiff\"]).describe(\"Desired output format as MIME type. If not specified, returns the content in its original format.\").optional(),\n document_id: z.string().describe(\"The unique identifier of the document (UUID format).\"),\n range_header: z.string().describe(\"Standard HTTP range header for byte-range requests (partial content), e.g., 'bytes=0-1023'.\").optional(),\n}).describe(\"Request model for retrieving document chunk content.\");\nexport const RagieGetDocumentChunkContentOutput = z.object({\n content: z.string().describe(\"The chunk content. For text/plain, contains the text. For binary formats, contains base64-encoded data or URL to the content.\").nullable(),\n content_type: z.string().describe(\"The MIME type of the returned content.\").nullable().optional(),\n content_length: z.number().int().describe(\"The size of the content in bytes.\").nullable().optional(),\n}).passthrough().describe(\"Response model for document chunk content.\");\n\nexport const ragieGetDocumentChunkContent = action(\"RAGIE_GET_DOCUMENT_CHUNK_CONTENT\", {\n slug: \"ragie-get-document-chunk-content\",\n name: \"Get Document Chunk Content\",\n description: \"Tool to retrieve document chunk content in requested format with streaming support for media. Use when you need to get the actual content of a specific chunk from a document.\",\n input: RagieGetDocumentChunkContentInput,\n output: RagieGetDocumentChunkContentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CACjF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CAC9I,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CAC1H,YAAYA,IAAAA,EAAE,KAAK;EAAC;EAAc;EAAc;EAAa;EAAc;EAAc;EAAa;EAAa;EAAc;CAAY,CAAC,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;CACvQ,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACvF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;AAC5I,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;CACvK,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,+BAA+BC,eAAAA,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-document-chunk-content.cjs","names":["z","action"],"sources":["../../src/actions/get-document-chunk-content.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ragie } from \"../app\";\n\nexport const RagieGetDocumentChunkContentInput = z.object({\n chunk_id: z.string().describe(\"The unique identifier of the chunk (UUID format).\"),\n download: z.boolean().default(false).describe(\"Whether to return the content as a file download or a raw stream. Default is false.\").optional(),\n partition: z.string().describe(\"Optional partition identifier to scope the request for multi-tenant isolation.\").optional(),\n media_type: z.enum([\"text/plain\", \"audio/mpeg\", \"video/mp4\", \"image/webp\", \"image/heic\", \"image/bmp\", \"image/png\", \"image/jpeg\", \"image/tiff\"]).describe(\"Desired output format as MIME type. If not specified, returns the content in its original format.\").optional(),\n document_id: z.string().describe(\"The unique identifier of the document (UUID format).\"),\n range_header: z.string().describe(\"Standard HTTP range header for byte-range requests (partial content), e.g., 'bytes=0-1023'.\").optional(),\n}).describe(\"Request model for retrieving document chunk content.\");\nexport const RagieGetDocumentChunkContentOutput = z.object({\n content: z.string().describe(\"The chunk content. For text/plain, contains the text. For binary formats, contains base64-encoded data or URL to the content.\").nullable(),\n content_type: z.string().describe(\"The MIME type of the returned content.\").nullable().optional(),\n content_length: z.number().int().describe(\"The size of the content in bytes.\").nullable().optional(),\n}).passthrough().describe(\"Response model for document chunk content.\");\n\nexport const ragieGetDocumentChunkContent: AppAction<\n typeof RagieGetDocumentChunkContentInput,\n typeof RagieGetDocumentChunkContentOutput,\n typeof ragie.credential\n> = action(\"RAGIE_GET_DOCUMENT_CHUNK_CONTENT\", {\n slug: \"ragie-get-document-chunk-content\",\n name: \"Get Document Chunk Content\",\n description: \"Tool to retrieve document chunk content in requested format with streaming support for media. Use when you need to get the actual content of a specific chunk from a document.\",\n input: RagieGetDocumentChunkContentInput,\n output: RagieGetDocumentChunkContentOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CACjF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CAC9I,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CAC1H,YAAYA,IAAAA,EAAE,KAAK;EAAC;EAAc;EAAc;EAAa;EAAc;EAAc;EAAa;EAAa;EAAc;CAAY,CAAC,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;CACvQ,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACvF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;AAC5I,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;CACvK,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,+BAITC,eAAAA,OAAO,oCAAoC;CAC7C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { ragie } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-document-chunk-content.d.ts
@@ -24,26 +26,7 @@ declare const RagieGetDocumentChunkContentOutput: z.ZodObject<{
24
26
  content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
27
  content_length: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
26
28
  }, z.core.$loose>;
27
- declare const ragieGetDocumentChunkContent: import("@keystrokehq/action").WorkflowActionDefinition<{
28
- chunk_id: string;
29
- document_id: string;
30
- download?: boolean | undefined;
31
- partition?: string | undefined;
32
- media_type?: "text/plain" | "audio/mpeg" | "video/mp4" | "image/webp" | "image/heic" | "image/bmp" | "image/png" | "image/jpeg" | "image/tiff" | undefined;
33
- range_header?: string | undefined;
34
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"ragie", z.ZodObject<{
35
- connectionId: z.ZodString;
36
- entityId: z.ZodString;
37
- instanceId: z.ZodString;
38
- }, z.core.$strip>, z.ZodObject<{
39
- generic_api_key: z.ZodString;
40
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"ragie", z.ZodObject<{
41
- connectionId: z.ZodString;
42
- entityId: z.ZodString;
43
- instanceId: z.ZodString;
44
- }, z.core.$strip>, z.ZodObject<{
45
- generic_api_key: z.ZodString;
46
- }, z.core.$strip>>]>;
29
+ declare const ragieGetDocumentChunkContent: AppAction<typeof RagieGetDocumentChunkContentInput, typeof RagieGetDocumentChunkContentOutput, typeof ragie.credential>;
47
30
  //#endregion
48
31
  export { ragieGetDocumentChunkContent };
49
32
  //# sourceMappingURL=get-document-chunk-content.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-document-chunk-content.d.cts","names":[],"sources":["../../src/actions/get-document-chunk-content.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAQjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;cAMlC,4BAAA,gCAA4B,wBAAA"}
1
+ {"version":3,"file":"get-document-chunk-content.d.cts","names":[],"sources":["../../src/actions/get-document-chunk-content.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAQjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;cAMlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { ragie } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-document-chunk-content.d.ts
@@ -24,26 +26,7 @@ declare const RagieGetDocumentChunkContentOutput: z.ZodObject<{
24
26
  content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
27
  content_length: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
26
28
  }, z.core.$loose>;
27
- declare const ragieGetDocumentChunkContent: import("@keystrokehq/action").WorkflowActionDefinition<{
28
- chunk_id: string;
29
- document_id: string;
30
- download?: boolean | undefined;
31
- partition?: string | undefined;
32
- media_type?: "text/plain" | "audio/mpeg" | "video/mp4" | "image/webp" | "image/heic" | "image/bmp" | "image/png" | "image/jpeg" | "image/tiff" | undefined;
33
- range_header?: string | undefined;
34
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"ragie", z.ZodObject<{
35
- connectionId: z.ZodString;
36
- entityId: z.ZodString;
37
- instanceId: z.ZodString;
38
- }, z.core.$strip>, z.ZodObject<{
39
- generic_api_key: z.ZodString;
40
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"ragie", z.ZodObject<{
41
- connectionId: z.ZodString;
42
- entityId: z.ZodString;
43
- instanceId: z.ZodString;
44
- }, z.core.$strip>, z.ZodObject<{
45
- generic_api_key: z.ZodString;
46
- }, z.core.$strip>>]>;
29
+ declare const ragieGetDocumentChunkContent: AppAction<typeof RagieGetDocumentChunkContentInput, typeof RagieGetDocumentChunkContentOutput, typeof ragie.credential>;
47
30
  //#endregion
48
31
  export { ragieGetDocumentChunkContent };
49
32
  //# sourceMappingURL=get-document-chunk-content.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-document-chunk-content.d.mts","names":[],"sources":["../../src/actions/get-document-chunk-content.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAQjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;cAMlC,4BAAA,gCAA4B,wBAAA"}
1
+ {"version":3,"file":"get-document-chunk-content.d.mts","names":[],"sources":["../../src/actions/get-document-chunk-content.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAQjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;cAMlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,KAAA,CAAM,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 ragieGetDocumentChunkContent = action("RAGIE_GET_DOCUMENT_CHUNK_CONTENT", {
@@ -1 +1 @@
1
- {"version":3,"file":"get-document-chunk-content.mjs","names":[],"sources":["../../src/actions/get-document-chunk-content.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieGetDocumentChunkContentInput = z.object({\n chunk_id: z.string().describe(\"The unique identifier of the chunk (UUID format).\"),\n download: z.boolean().default(false).describe(\"Whether to return the content as a file download or a raw stream. Default is false.\").optional(),\n partition: z.string().describe(\"Optional partition identifier to scope the request for multi-tenant isolation.\").optional(),\n media_type: z.enum([\"text/plain\", \"audio/mpeg\", \"video/mp4\", \"image/webp\", \"image/heic\", \"image/bmp\", \"image/png\", \"image/jpeg\", \"image/tiff\"]).describe(\"Desired output format as MIME type. If not specified, returns the content in its original format.\").optional(),\n document_id: z.string().describe(\"The unique identifier of the document (UUID format).\"),\n range_header: z.string().describe(\"Standard HTTP range header for byte-range requests (partial content), e.g., 'bytes=0-1023'.\").optional(),\n}).describe(\"Request model for retrieving document chunk content.\");\nexport const RagieGetDocumentChunkContentOutput = z.object({\n content: z.string().describe(\"The chunk content. For text/plain, contains the text. For binary formats, contains base64-encoded data or URL to the content.\").nullable(),\n content_type: z.string().describe(\"The MIME type of the returned content.\").nullable().optional(),\n content_length: z.number().int().describe(\"The size of the content in bytes.\").nullable().optional(),\n}).passthrough().describe(\"Response model for document chunk content.\");\n\nexport const ragieGetDocumentChunkContent = action(\"RAGIE_GET_DOCUMENT_CHUNK_CONTENT\", {\n slug: \"ragie-get-document-chunk-content\",\n name: \"Get Document Chunk Content\",\n description: \"Tool to retrieve document chunk content in requested format with streaming support for media. Use when you need to get the actual content of a specific chunk from a document.\",\n input: RagieGetDocumentChunkContentInput,\n output: RagieGetDocumentChunkContentOutput,\n});\n"],"mappings":";;AAkBA,MAAa,+BAA+B,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB+C,EAAE,OAAO;EACxD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;EACjF,UAAU,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;EAC9I,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;EAC1H,YAAY,EAAE,KAAK;GAAC;GAAc;GAAc;GAAa;GAAc;GAAc;GAAa;GAAa;GAAc;EAAY,CAAC,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;EACvQ,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;EACvF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;CAC5I,CAAC,CAAC,CAAC,SAAS,sDAWH;CACP,QAXgD,EAAE,OAAO;EACzD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;EACvK,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-document-chunk-content.mjs","names":[],"sources":["../../src/actions/get-document-chunk-content.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ragie } from \"../app\";\n\nexport const RagieGetDocumentChunkContentInput = z.object({\n chunk_id: z.string().describe(\"The unique identifier of the chunk (UUID format).\"),\n download: z.boolean().default(false).describe(\"Whether to return the content as a file download or a raw stream. Default is false.\").optional(),\n partition: z.string().describe(\"Optional partition identifier to scope the request for multi-tenant isolation.\").optional(),\n media_type: z.enum([\"text/plain\", \"audio/mpeg\", \"video/mp4\", \"image/webp\", \"image/heic\", \"image/bmp\", \"image/png\", \"image/jpeg\", \"image/tiff\"]).describe(\"Desired output format as MIME type. If not specified, returns the content in its original format.\").optional(),\n document_id: z.string().describe(\"The unique identifier of the document (UUID format).\"),\n range_header: z.string().describe(\"Standard HTTP range header for byte-range requests (partial content), e.g., 'bytes=0-1023'.\").optional(),\n}).describe(\"Request model for retrieving document chunk content.\");\nexport const RagieGetDocumentChunkContentOutput = z.object({\n content: z.string().describe(\"The chunk content. For text/plain, contains the text. For binary formats, contains base64-encoded data or URL to the content.\").nullable(),\n content_type: z.string().describe(\"The MIME type of the returned content.\").nullable().optional(),\n content_length: z.number().int().describe(\"The size of the content in bytes.\").nullable().optional(),\n}).passthrough().describe(\"Response model for document chunk content.\");\n\nexport const ragieGetDocumentChunkContent: AppAction<\n typeof RagieGetDocumentChunkContentInput,\n typeof RagieGetDocumentChunkContentOutput,\n typeof ragie.credential\n> = action(\"RAGIE_GET_DOCUMENT_CHUNK_CONTENT\", {\n slug: \"ragie-get-document-chunk-content\",\n name: \"Get Document Chunk Content\",\n description: \"Tool to retrieve document chunk content in requested format with streaming support for media. Use when you need to get the actual content of a specific chunk from a document.\",\n input: RagieGetDocumentChunkContentInput,\n output: RagieGetDocumentChunkContentOutput,\n});\n"],"mappings":";;;AAoBA,MAAa,+BAIT,OAAO,oCAAoC;CAC7C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtB+C,EAAE,OAAO;EACxD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;EACjF,UAAU,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;EAC9I,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;EAC1H,YAAY,EAAE,KAAK;GAAC;GAAc;GAAc;GAAa;GAAc;GAAc;GAAa;GAAa;GAAc;EAAY,CAAC,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;EACvQ,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;EACvF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;CAC5I,CAAC,CAAC,CAAC,SAAS,sDAeH;CACP,QAfgD,EAAE,OAAO;EACzD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;EACvK,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAWhB;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/get-document-chunk.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-document-chunk.cjs","names":["z","action"],"sources":["../../src/actions/get-document-chunk.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieGetDocumentChunkInput = z.object({\n chunk_id: z.string().describe(\"The ID of the chunk (UUID format).\"),\n partition: z.string().describe(\"Optional partition to scope the request; if omitted, defaults to the default partition for newer accounts.\").optional(),\n document_id: z.string().describe(\"The ID of the document (UUID format).\"),\n}).describe(\"Request model for retrieving a document chunk by document and chunk ID.\");\nconst RagieGetDocumentChunk_ChunkMetadataSchema = z.record(z.string(), z.unknown()).describe(\"Custom chunk metadata.\");\nconst RagieGetDocumentChunk_ModalityDataSchema = z.record(z.string(), z.unknown()).describe(\"Additional data for audio/video chunks, including word-level timestamps.\");\nexport const RagieGetDocumentChunkOutput = z.object({\n id: z.string().describe(\"The chunk identifier (UUID).\").nullable(),\n text: z.string().describe(\"Chunk content.\").nullable(),\n index: z.number().int().describe(\"Position within document (default: -1).\").nullable(),\n links: z.record(z.string(), z.unknown()).describe(\"Dictionary of Link objects with href and type properties.\").nullable().optional(),\n metadata: RagieGetDocumentChunk_ChunkMetadataSchema.nullable().optional(),\n modality_data: RagieGetDocumentChunk_ModalityDataSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for document chunk details.\");\n\nexport const ragieGetDocumentChunk = action(\"RAGIE_GET_DOCUMENT_CHUNK\", {\n slug: \"ragie-get-document-chunk\",\n name: \"Get Document Chunk\",\n description: \"Tool to retrieve a specific document chunk by its document and chunk ID. Use when you need detailed information about a specific chunk within a document, including its content, metadata, position index, and optional modality data for audio/video chunks.\",\n input: RagieGetDocumentChunkInput,\n output: RagieGetDocumentChunkOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAClE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;CACtJ,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;AAC1E,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,4CAA4CA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wBAAwB;AACrH,MAAM,2CAA2CA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtK,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACrD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACrF,OAAOA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,UAAU,0CAA0C,SAAS,CAAC,CAAC,SAAS;CACxE,eAAe,yCAAyC,SAAS,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-document-chunk.cjs","names":["z","action"],"sources":["../../src/actions/get-document-chunk.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ragie } from \"../app\";\n\nexport const RagieGetDocumentChunkInput = z.object({\n chunk_id: z.string().describe(\"The ID of the chunk (UUID format).\"),\n partition: z.string().describe(\"Optional partition to scope the request; if omitted, defaults to the default partition for newer accounts.\").optional(),\n document_id: z.string().describe(\"The ID of the document (UUID format).\"),\n}).describe(\"Request model for retrieving a document chunk by document and chunk ID.\");\nconst RagieGetDocumentChunk_ChunkMetadataSchema = z.record(z.string(), z.unknown()).describe(\"Custom chunk metadata.\");\nconst RagieGetDocumentChunk_ModalityDataSchema = z.record(z.string(), z.unknown()).describe(\"Additional data for audio/video chunks, including word-level timestamps.\");\nexport const RagieGetDocumentChunkOutput = z.object({\n id: z.string().describe(\"The chunk identifier (UUID).\").nullable(),\n text: z.string().describe(\"Chunk content.\").nullable(),\n index: z.number().int().describe(\"Position within document (default: -1).\").nullable(),\n links: z.record(z.string(), z.unknown()).describe(\"Dictionary of Link objects with href and type properties.\").nullable().optional(),\n metadata: RagieGetDocumentChunk_ChunkMetadataSchema.nullable().optional(),\n modality_data: RagieGetDocumentChunk_ModalityDataSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for document chunk details.\");\n\nexport const ragieGetDocumentChunk: AppAction<\n typeof RagieGetDocumentChunkInput,\n typeof RagieGetDocumentChunkOutput,\n typeof ragie.credential\n> = action(\"RAGIE_GET_DOCUMENT_CHUNK\", {\n slug: \"ragie-get-document-chunk\",\n name: \"Get Document Chunk\",\n description: \"Tool to retrieve a specific document chunk by its document and chunk ID. Use when you need detailed information about a specific chunk within a document, including its content, metadata, position index, and optional modality data for audio/video chunks.\",\n input: RagieGetDocumentChunkInput,\n output: RagieGetDocumentChunkOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAClE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;CACtJ,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;AAC1E,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,4CAA4CA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wBAAwB;AACrH,MAAM,2CAA2CA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtK,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACrD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACrF,OAAOA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,UAAU,0CAA0C,SAAS,CAAC,CAAC,SAAS;CACxE,eAAe,yCAAyC,SAAS,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,wBAITC,eAAAA,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { ragie } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-document-chunk.d.ts
@@ -14,23 +16,7 @@ declare const RagieGetDocumentChunkOutput: z.ZodObject<{
14
16
  metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
15
17
  modality_data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
16
18
  }, z.core.$loose>;
17
- declare const ragieGetDocumentChunk: import("@keystrokehq/action").WorkflowActionDefinition<{
18
- chunk_id: string;
19
- document_id: string;
20
- partition?: string | undefined;
21
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"ragie", 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>>]>, readonly [import("@keystrokehq/shared").Credential<"ragie", 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>>]>;
19
+ declare const ragieGetDocumentChunk: AppAction<typeof RagieGetDocumentChunkInput, typeof RagieGetDocumentChunkOutput, typeof ragie.credential>;
34
20
  //#endregion
35
21
  export { ragieGetDocumentChunk };
36
22
  //# sourceMappingURL=get-document-chunk.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-document-chunk.d.cts","names":[],"sources":["../../src/actions/get-document-chunk.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cAO1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;cAS3B,qBAAA,gCAAqB,wBAAA"}
1
+ {"version":3,"file":"get-document-chunk.d.cts","names":[],"sources":["../../src/actions/get-document-chunk.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cAO1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;cAS3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { ragie } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-document-chunk.d.ts
@@ -14,23 +16,7 @@ declare const RagieGetDocumentChunkOutput: z.ZodObject<{
14
16
  metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
15
17
  modality_data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
16
18
  }, z.core.$loose>;
17
- declare const ragieGetDocumentChunk: import("@keystrokehq/action").WorkflowActionDefinition<{
18
- chunk_id: string;
19
- document_id: string;
20
- partition?: string | undefined;
21
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"ragie", 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>>]>, readonly [import("@keystrokehq/shared").Credential<"ragie", 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>>]>;
19
+ declare const ragieGetDocumentChunk: AppAction<typeof RagieGetDocumentChunkInput, typeof RagieGetDocumentChunkOutput, typeof ragie.credential>;
34
20
  //#endregion
35
21
  export { ragieGetDocumentChunk };
36
22
  //# sourceMappingURL=get-document-chunk.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-document-chunk.d.mts","names":[],"sources":["../../src/actions/get-document-chunk.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cAO1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;cAS3B,qBAAA,gCAAqB,wBAAA"}
1
+ {"version":3,"file":"get-document-chunk.d.mts","names":[],"sources":["../../src/actions/get-document-chunk.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cAO1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;cAS3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-document-chunk.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-document-chunk.mjs","names":[],"sources":["../../src/actions/get-document-chunk.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieGetDocumentChunkInput = z.object({\n chunk_id: z.string().describe(\"The ID of the chunk (UUID format).\"),\n partition: z.string().describe(\"Optional partition to scope the request; if omitted, defaults to the default partition for newer accounts.\").optional(),\n document_id: z.string().describe(\"The ID of the document (UUID format).\"),\n}).describe(\"Request model for retrieving a document chunk by document and chunk ID.\");\nconst RagieGetDocumentChunk_ChunkMetadataSchema = z.record(z.string(), z.unknown()).describe(\"Custom chunk metadata.\");\nconst RagieGetDocumentChunk_ModalityDataSchema = z.record(z.string(), z.unknown()).describe(\"Additional data for audio/video chunks, including word-level timestamps.\");\nexport const RagieGetDocumentChunkOutput = z.object({\n id: z.string().describe(\"The chunk identifier (UUID).\").nullable(),\n text: z.string().describe(\"Chunk content.\").nullable(),\n index: z.number().int().describe(\"Position within document (default: -1).\").nullable(),\n links: z.record(z.string(), z.unknown()).describe(\"Dictionary of Link objects with href and type properties.\").nullable().optional(),\n metadata: RagieGetDocumentChunk_ChunkMetadataSchema.nullable().optional(),\n modality_data: RagieGetDocumentChunk_ModalityDataSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for document chunk details.\");\n\nexport const ragieGetDocumentChunk = action(\"RAGIE_GET_DOCUMENT_CHUNK\", {\n slug: \"ragie-get-document-chunk\",\n name: \"Get Document Chunk\",\n description: \"Tool to retrieve a specific document chunk by its document and chunk ID. Use when you need detailed information about a specific chunk within a document, including its content, metadata, position index, and optional modality data for audio/video chunks.\",\n input: RagieGetDocumentChunkInput,\n output: RagieGetDocumentChunkOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO;CACjD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAClE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;CACtJ,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;AAC1E,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,4CAA4C,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wBAAwB;AACrH,MAAM,2CAA2C,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0EAA0E;AAUtK,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdyC,EAAE,OAAO;EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;EACrD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EACrF,OAAO,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnI,UAAU,0CAA0C,SAAS,CAAC,CAAC,SAAS;EACxE,eAAe,yCAAyC,SAAS,CAAC,CAAC,SAAS;CAC9E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-document-chunk.mjs","names":[],"sources":["../../src/actions/get-document-chunk.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ragie } from \"../app\";\n\nexport const RagieGetDocumentChunkInput = z.object({\n chunk_id: z.string().describe(\"The ID of the chunk (UUID format).\"),\n partition: z.string().describe(\"Optional partition to scope the request; if omitted, defaults to the default partition for newer accounts.\").optional(),\n document_id: z.string().describe(\"The ID of the document (UUID format).\"),\n}).describe(\"Request model for retrieving a document chunk by document and chunk ID.\");\nconst RagieGetDocumentChunk_ChunkMetadataSchema = z.record(z.string(), z.unknown()).describe(\"Custom chunk metadata.\");\nconst RagieGetDocumentChunk_ModalityDataSchema = z.record(z.string(), z.unknown()).describe(\"Additional data for audio/video chunks, including word-level timestamps.\");\nexport const RagieGetDocumentChunkOutput = z.object({\n id: z.string().describe(\"The chunk identifier (UUID).\").nullable(),\n text: z.string().describe(\"Chunk content.\").nullable(),\n index: z.number().int().describe(\"Position within document (default: -1).\").nullable(),\n links: z.record(z.string(), z.unknown()).describe(\"Dictionary of Link objects with href and type properties.\").nullable().optional(),\n metadata: RagieGetDocumentChunk_ChunkMetadataSchema.nullable().optional(),\n modality_data: RagieGetDocumentChunk_ModalityDataSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for document chunk details.\");\n\nexport const ragieGetDocumentChunk: AppAction<\n typeof RagieGetDocumentChunkInput,\n typeof RagieGetDocumentChunkOutput,\n typeof ragie.credential\n> = action(\"RAGIE_GET_DOCUMENT_CHUNK\", {\n slug: \"ragie-get-document-chunk\",\n name: \"Get Document Chunk\",\n description: \"Tool to retrieve a specific document chunk by its document and chunk ID. Use when you need detailed information about a specific chunk within a document, including its content, metadata, position index, and optional modality data for audio/video chunks.\",\n input: RagieGetDocumentChunkInput,\n output: RagieGetDocumentChunkOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6B,EAAE,OAAO;CACjD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAClE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;CACtJ,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;AAC1E,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,4CAA4C,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wBAAwB;AACrH,MAAM,2CAA2C,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0EAA0E;AAUtK,MAAa,wBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAlByC,EAAE,OAAO;EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;EACrD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EACrF,OAAO,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnI,UAAU,0CAA0C,SAAS,CAAC,CAAC,SAAS;EACxE,eAAe,yCAAyC,SAAS,CAAC,CAAC,SAAS;CAC9E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAWhB;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/get-document-chunks.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-document-chunks.cjs","names":["z","action"],"sources":["../../src/actions/get-document-chunks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieGetDocumentChunksInput = z.object({\n cursor: z.string().describe(\"An opaque cursor for pagination used to retrieve subsequent pages.\").optional(),\n end_index: z.number().int().describe(\"The inclusive ending index of the chunk range to list. Omitting both start_index and end_index returns all chunks.\").optional(),\n page_size: z.number().int().describe(\"The number of items per page (range: 1-100, default: 10).\").optional(),\n partition: z.string().describe(\"Header parameter scoping results to a specific partition.\").optional(),\n document_id: z.string().describe(\"The UUID of the document to retrieve chunks from.\"),\n start_index: z.number().int().describe(\"The inclusive starting index of the chunk range to list. Omitting both start_index and end_index returns all chunks.\").optional(),\n}).describe(\"Request model for retrieving document chunks with pagination support.\");\nconst RagieGetDocumentChunks_DocumentChunkSchema = z.object({\n id: z.string().describe(\"Chunk identifier (UUID).\").nullable(),\n text: z.string().describe(\"Chunk content text.\").nullable(),\n index: z.number().int().default(-1).describe(\"Chunk sequence number. Default is -1.\").nullable().optional(),\n links: z.record(z.string(), z.unknown()).describe(\"HREF and type mappings for chunk sources.\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Chunk-level metadata as a dictionary.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single document chunk.\");\nconst RagieGetDocumentChunks_PaginationSchema = z.object({\n next_cursor: z.string().describe(\"Cursor for retrieving the next page. Null if no more pages.\").nullable().optional(),\n total_count: z.number().int().describe(\"Total number of matching chunks across all pages.\").nullable(),\n}).passthrough().describe(\"Model representing pagination information.\");\nexport const RagieGetDocumentChunksOutput = z.object({\n chunks: z.array(RagieGetDocumentChunks_DocumentChunkSchema).describe(\"List of document chunks sorted by index in ascending order.\"),\n pagination: RagieGetDocumentChunks_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response model for retrieving document chunks with pagination.\");\n\nexport const ragieGetDocumentChunks = action(\"RAGIE_GET_DOCUMENT_CHUNKS\", {\n slug: \"ragie-get-document-chunks\",\n name: \"Get Document Chunks\",\n description: \"Tool to retrieve document chunks with pagination support. Lists all document chunks sorted by index in ascending order (max 100 items per page). Documents created prior to 9/18/2024 that have not been updated since have chunks sorted by ID instead of index.\",\n input: RagieGetDocumentChunksInput,\n output: RagieGetDocumentChunksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAC3G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;CACpK,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAC3G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACrG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CACpF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS;AAC1K,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC1D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,OAAOA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,QAAQA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,6DAA6D;CAClI,YAAY,wCAAwC,SAAS;AAC/D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAAgE;AAE1F,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-document-chunks.cjs","names":["z","action"],"sources":["../../src/actions/get-document-chunks.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ragie } from \"../app\";\n\nexport const RagieGetDocumentChunksInput = z.object({\n cursor: z.string().describe(\"An opaque cursor for pagination used to retrieve subsequent pages.\").optional(),\n end_index: z.number().int().describe(\"The inclusive ending index of the chunk range to list. Omitting both start_index and end_index returns all chunks.\").optional(),\n page_size: z.number().int().describe(\"The number of items per page (range: 1-100, default: 10).\").optional(),\n partition: z.string().describe(\"Header parameter scoping results to a specific partition.\").optional(),\n document_id: z.string().describe(\"The UUID of the document to retrieve chunks from.\"),\n start_index: z.number().int().describe(\"The inclusive starting index of the chunk range to list. Omitting both start_index and end_index returns all chunks.\").optional(),\n}).describe(\"Request model for retrieving document chunks with pagination support.\");\nconst RagieGetDocumentChunks_DocumentChunkSchema = z.object({\n id: z.string().describe(\"Chunk identifier (UUID).\").nullable(),\n text: z.string().describe(\"Chunk content text.\").nullable(),\n index: z.number().int().default(-1).describe(\"Chunk sequence number. Default is -1.\").nullable().optional(),\n links: z.record(z.string(), z.unknown()).describe(\"HREF and type mappings for chunk sources.\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Chunk-level metadata as a dictionary.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single document chunk.\");\nconst RagieGetDocumentChunks_PaginationSchema = z.object({\n next_cursor: z.string().describe(\"Cursor for retrieving the next page. Null if no more pages.\").nullable().optional(),\n total_count: z.number().int().describe(\"Total number of matching chunks across all pages.\").nullable(),\n}).passthrough().describe(\"Model representing pagination information.\");\nexport const RagieGetDocumentChunksOutput = z.object({\n chunks: z.array(RagieGetDocumentChunks_DocumentChunkSchema).describe(\"List of document chunks sorted by index in ascending order.\"),\n pagination: RagieGetDocumentChunks_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response model for retrieving document chunks with pagination.\");\n\nexport const ragieGetDocumentChunks: AppAction<\n typeof RagieGetDocumentChunksInput,\n typeof RagieGetDocumentChunksOutput,\n typeof ragie.credential\n> = action(\"RAGIE_GET_DOCUMENT_CHUNKS\", {\n slug: \"ragie-get-document-chunks\",\n name: \"Get Document Chunks\",\n description: \"Tool to retrieve document chunks with pagination support. Lists all document chunks sorted by index in ascending order (max 100 items per page). Documents created prior to 9/18/2024 that have not been updated since have chunks sorted by ID instead of index.\",\n input: RagieGetDocumentChunksInput,\n output: RagieGetDocumentChunksOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAC3G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;CACpK,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAC3G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACrG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CACpF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS;AAC1K,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC1D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,OAAOA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,QAAQA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,6DAA6D;CAClI,YAAY,wCAAwC,SAAS;AAC/D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAAgE;AAE1F,MAAa,yBAITC,eAAAA,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { ragie } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-document-chunks.d.ts
@@ -22,26 +24,7 @@ declare const RagieGetDocumentChunksOutput: z.ZodObject<{
22
24
  total_count: z.ZodNullable<z.ZodNumber>;
23
25
  }, z.core.$loose>>;
24
26
  }, z.core.$loose>;
25
- declare const ragieGetDocumentChunks: import("@keystrokehq/action").WorkflowActionDefinition<{
26
- document_id: string;
27
- cursor?: string | undefined;
28
- end_index?: number | undefined;
29
- page_size?: number | undefined;
30
- partition?: string | undefined;
31
- start_index?: number | undefined;
32
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"ragie", 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>>]>, readonly [import("@keystrokehq/shared").Credential<"ragie", z.ZodObject<{
39
- connectionId: z.ZodString;
40
- entityId: z.ZodString;
41
- instanceId: z.ZodString;
42
- }, z.core.$strip>, z.ZodObject<{
43
- generic_api_key: z.ZodString;
44
- }, z.core.$strip>>]>;
27
+ declare const ragieGetDocumentChunks: AppAction<typeof RagieGetDocumentChunksInput, typeof RagieGetDocumentChunksOutput, typeof ragie.credential>;
45
28
  //#endregion
46
29
  export { ragieGetDocumentChunks };
47
30
  //# sourceMappingURL=get-document-chunks.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-document-chunks.d.cts","names":[],"sources":["../../src/actions/get-document-chunks.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;cAmB3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAK5B,sBAAA,gCAAsB,wBAAA"}
1
+ {"version":3,"file":"get-document-chunks.d.cts","names":[],"sources":["../../src/actions/get-document-chunks.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;cAmB3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAK5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { ragie } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-document-chunks.d.ts
@@ -22,26 +24,7 @@ declare const RagieGetDocumentChunksOutput: z.ZodObject<{
22
24
  total_count: z.ZodNullable<z.ZodNumber>;
23
25
  }, z.core.$loose>>;
24
26
  }, z.core.$loose>;
25
- declare const ragieGetDocumentChunks: import("@keystrokehq/action").WorkflowActionDefinition<{
26
- document_id: string;
27
- cursor?: string | undefined;
28
- end_index?: number | undefined;
29
- page_size?: number | undefined;
30
- partition?: string | undefined;
31
- start_index?: number | undefined;
32
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"ragie", 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>>]>, readonly [import("@keystrokehq/shared").Credential<"ragie", z.ZodObject<{
39
- connectionId: z.ZodString;
40
- entityId: z.ZodString;
41
- instanceId: z.ZodString;
42
- }, z.core.$strip>, z.ZodObject<{
43
- generic_api_key: z.ZodString;
44
- }, z.core.$strip>>]>;
27
+ declare const ragieGetDocumentChunks: AppAction<typeof RagieGetDocumentChunksInput, typeof RagieGetDocumentChunksOutput, typeof ragie.credential>;
45
28
  //#endregion
46
29
  export { ragieGetDocumentChunks };
47
30
  //# sourceMappingURL=get-document-chunks.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-document-chunks.d.mts","names":[],"sources":["../../src/actions/get-document-chunks.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;cAmB3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAK5B,sBAAA,gCAAsB,wBAAA"}
1
+ {"version":3,"file":"get-document-chunks.d.mts","names":[],"sources":["../../src/actions/get-document-chunks.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;cAmB3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAK5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-document-chunks.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-document-chunks.mjs","names":[],"sources":["../../src/actions/get-document-chunks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieGetDocumentChunksInput = z.object({\n cursor: z.string().describe(\"An opaque cursor for pagination used to retrieve subsequent pages.\").optional(),\n end_index: z.number().int().describe(\"The inclusive ending index of the chunk range to list. Omitting both start_index and end_index returns all chunks.\").optional(),\n page_size: z.number().int().describe(\"The number of items per page (range: 1-100, default: 10).\").optional(),\n partition: z.string().describe(\"Header parameter scoping results to a specific partition.\").optional(),\n document_id: z.string().describe(\"The UUID of the document to retrieve chunks from.\"),\n start_index: z.number().int().describe(\"The inclusive starting index of the chunk range to list. Omitting both start_index and end_index returns all chunks.\").optional(),\n}).describe(\"Request model for retrieving document chunks with pagination support.\");\nconst RagieGetDocumentChunks_DocumentChunkSchema = z.object({\n id: z.string().describe(\"Chunk identifier (UUID).\").nullable(),\n text: z.string().describe(\"Chunk content text.\").nullable(),\n index: z.number().int().default(-1).describe(\"Chunk sequence number. Default is -1.\").nullable().optional(),\n links: z.record(z.string(), z.unknown()).describe(\"HREF and type mappings for chunk sources.\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Chunk-level metadata as a dictionary.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single document chunk.\");\nconst RagieGetDocumentChunks_PaginationSchema = z.object({\n next_cursor: z.string().describe(\"Cursor for retrieving the next page. Null if no more pages.\").nullable().optional(),\n total_count: z.number().int().describe(\"Total number of matching chunks across all pages.\").nullable(),\n}).passthrough().describe(\"Model representing pagination information.\");\nexport const RagieGetDocumentChunksOutput = z.object({\n chunks: z.array(RagieGetDocumentChunks_DocumentChunkSchema).describe(\"List of document chunks sorted by index in ascending order.\"),\n pagination: RagieGetDocumentChunks_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response model for retrieving document chunks with pagination.\");\n\nexport const ragieGetDocumentChunks = action(\"RAGIE_GET_DOCUMENT_CHUNKS\", {\n slug: \"ragie-get-document-chunks\",\n name: \"Get Document Chunks\",\n description: \"Tool to retrieve document chunks with pagination support. Lists all document chunks sorted by index in ascending order (max 100 items per page). Documents created prior to 9/18/2024 that have not been updated since have chunks sorted by ID instead of index.\",\n input: RagieGetDocumentChunksInput,\n output: RagieGetDocumentChunksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAC3G,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;CACpK,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAC3G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACrG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CACpF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS;AAC1K,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAM,6CAA6C,EAAE,OAAO;CAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC1D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,OAAO,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAM,0CAA0C,EAAE,OAAO;CACvD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAMtE,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV0C,EAAE,OAAO;EACnD,QAAQ,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,6DAA6D;EAClI,YAAY,wCAAwC,SAAS;CAC/D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-document-chunks.mjs","names":[],"sources":["../../src/actions/get-document-chunks.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ragie } from \"../app\";\n\nexport const RagieGetDocumentChunksInput = z.object({\n cursor: z.string().describe(\"An opaque cursor for pagination used to retrieve subsequent pages.\").optional(),\n end_index: z.number().int().describe(\"The inclusive ending index of the chunk range to list. Omitting both start_index and end_index returns all chunks.\").optional(),\n page_size: z.number().int().describe(\"The number of items per page (range: 1-100, default: 10).\").optional(),\n partition: z.string().describe(\"Header parameter scoping results to a specific partition.\").optional(),\n document_id: z.string().describe(\"The UUID of the document to retrieve chunks from.\"),\n start_index: z.number().int().describe(\"The inclusive starting index of the chunk range to list. Omitting both start_index and end_index returns all chunks.\").optional(),\n}).describe(\"Request model for retrieving document chunks with pagination support.\");\nconst RagieGetDocumentChunks_DocumentChunkSchema = z.object({\n id: z.string().describe(\"Chunk identifier (UUID).\").nullable(),\n text: z.string().describe(\"Chunk content text.\").nullable(),\n index: z.number().int().default(-1).describe(\"Chunk sequence number. Default is -1.\").nullable().optional(),\n links: z.record(z.string(), z.unknown()).describe(\"HREF and type mappings for chunk sources.\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Chunk-level metadata as a dictionary.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single document chunk.\");\nconst RagieGetDocumentChunks_PaginationSchema = z.object({\n next_cursor: z.string().describe(\"Cursor for retrieving the next page. Null if no more pages.\").nullable().optional(),\n total_count: z.number().int().describe(\"Total number of matching chunks across all pages.\").nullable(),\n}).passthrough().describe(\"Model representing pagination information.\");\nexport const RagieGetDocumentChunksOutput = z.object({\n chunks: z.array(RagieGetDocumentChunks_DocumentChunkSchema).describe(\"List of document chunks sorted by index in ascending order.\"),\n pagination: RagieGetDocumentChunks_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response model for retrieving document chunks with pagination.\");\n\nexport const ragieGetDocumentChunks: AppAction<\n typeof RagieGetDocumentChunksInput,\n typeof RagieGetDocumentChunksOutput,\n typeof ragie.credential\n> = action(\"RAGIE_GET_DOCUMENT_CHUNKS\", {\n slug: \"ragie-get-document-chunks\",\n name: \"Get Document Chunks\",\n description: \"Tool to retrieve document chunks with pagination support. Lists all document chunks sorted by index in ascending order (max 100 items per page). Documents created prior to 9/18/2024 that have not been updated since have chunks sorted by ID instead of index.\",\n input: RagieGetDocumentChunksInput,\n output: RagieGetDocumentChunksOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8B,EAAE,OAAO;CAClD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAC3G,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;CACpK,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAC3G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACrG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CACpF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS;AAC1K,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAM,6CAA6C,EAAE,OAAO;CAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC1D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,OAAO,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAM,0CAA0C,EAAE,OAAO;CACvD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAMtE,MAAa,yBAIT,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd0C,EAAE,OAAO;EACnD,QAAQ,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,6DAA6D;EAClI,YAAY,wCAAwC,SAAS;CAC/D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAWhB;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/get-document-content.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-document-content.cjs","names":["z","action"],"sources":["../../src/actions/get-document-content.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieGetDocumentContentInput = z.object({\n range: z.string().describe(\"HTTP range header for partial content requests.\").optional(),\n download: z.boolean().describe(\"Whether to return content as file download. Defaults to false.\").optional(),\n partition: z.string().describe(\"An optional partition to scope the request to.\").optional(),\n media_type: z.string().describe(\"Format to return content in. Accepts: text/plain, audio/mpeg, video/mp4, image/webp, image/heic, image/bmp, image/png, image/jpeg, image/tiff, or application/json. Default returns content with text descriptions of non-textual media.\").optional(),\n document_id: z.string().describe(\"The UUID of the document to retrieve content for.\"),\n}).describe(\"Request model for retrieving document content by ID.\");\nexport const RagieGetDocumentContentOutput = z.object({\n id: z.string().describe(\"Document identifier (UUID).\").nullable().optional(),\n name: z.string().describe(\"Document name.\").nullable().optional(),\n status: z.string().describe(\"Document processing status.\").nullable().optional(),\n content: z.string().describe(\"The document content in requested format.\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value metadata with string/number/boolean/array values.\").nullable().optional(),\n partition: z.string().describe(\"Partition identifier.\").nullable().optional(),\n created_at: z.string().describe(\"Creation timestamp.\").nullable().optional(),\n page_count: z.number().describe(\"Total page count.\").nullable().optional(),\n updated_at: z.string().describe(\"Last update timestamp.\").nullable().optional(),\n chunk_count: z.number().int().describe(\"Number of document chunks.\").nullable().optional(),\n external_id: z.string().describe(\"External system identifier.\").nullable().optional(),\n}).passthrough().describe(\"Response model for document content retrieval.\\nWhen media_type is application/json, returns full document metadata with content.\\nWhen media_type is text/plain or other formats, returns just the content.\");\n\nexport const ragieGetDocumentContent = action(\"RAGIE_GET_DOCUMENT_CONTENT\", {\n slug: \"ragie-get-document-content\",\n name: \"Get Document Content\",\n description: \"Tool to retrieve the content of a document by its ID. Use when you need to access the full content of a specific document. The media_type parameter can be used to request content in different formats.\",\n input: RagieGetDocumentContentInput,\n output: RagieGetDocumentContentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACvF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC1G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC1F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0OAA0O,CAAC,CAAC,SAAS;CACrR,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;AACtF,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACnF,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8MAA8M;AAExO,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-document-content.cjs","names":["z","action"],"sources":["../../src/actions/get-document-content.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ragie } from \"../app\";\n\nexport const RagieGetDocumentContentInput = z.object({\n range: z.string().describe(\"HTTP range header for partial content requests.\").optional(),\n download: z.boolean().describe(\"Whether to return content as file download. Defaults to false.\").optional(),\n partition: z.string().describe(\"An optional partition to scope the request to.\").optional(),\n media_type: z.string().describe(\"Format to return content in. Accepts: text/plain, audio/mpeg, video/mp4, image/webp, image/heic, image/bmp, image/png, image/jpeg, image/tiff, or application/json. Default returns content with text descriptions of non-textual media.\").optional(),\n document_id: z.string().describe(\"The UUID of the document to retrieve content for.\"),\n}).describe(\"Request model for retrieving document content by ID.\");\nexport const RagieGetDocumentContentOutput = z.object({\n id: z.string().describe(\"Document identifier (UUID).\").nullable().optional(),\n name: z.string().describe(\"Document name.\").nullable().optional(),\n status: z.string().describe(\"Document processing status.\").nullable().optional(),\n content: z.string().describe(\"The document content in requested format.\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value metadata with string/number/boolean/array values.\").nullable().optional(),\n partition: z.string().describe(\"Partition identifier.\").nullable().optional(),\n created_at: z.string().describe(\"Creation timestamp.\").nullable().optional(),\n page_count: z.number().describe(\"Total page count.\").nullable().optional(),\n updated_at: z.string().describe(\"Last update timestamp.\").nullable().optional(),\n chunk_count: z.number().int().describe(\"Number of document chunks.\").nullable().optional(),\n external_id: z.string().describe(\"External system identifier.\").nullable().optional(),\n}).passthrough().describe(\"Response model for document content retrieval.\\nWhen media_type is application/json, returns full document metadata with content.\\nWhen media_type is text/plain or other formats, returns just the content.\");\n\nexport const ragieGetDocumentContent: AppAction<\n typeof RagieGetDocumentContentInput,\n typeof RagieGetDocumentContentOutput,\n typeof ragie.credential\n> = action(\"RAGIE_GET_DOCUMENT_CONTENT\", {\n slug: \"ragie-get-document-content\",\n name: \"Get Document Content\",\n description: \"Tool to retrieve the content of a document by its ID. Use when you need to access the full content of a specific document. The media_type parameter can be used to request content in different formats.\",\n input: RagieGetDocumentContentInput,\n output: RagieGetDocumentContentOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACvF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC1G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC1F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0OAA0O,CAAC,CAAC,SAAS;CACrR,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;AACtF,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACnF,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8MAA8M;AAExO,MAAa,0BAITC,eAAAA,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { ragie } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-document-content.d.ts
@@ -21,25 +23,7 @@ declare const RagieGetDocumentContentOutput: z.ZodObject<{
21
23
  chunk_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
22
24
  external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
25
  }, z.core.$loose>;
24
- declare const ragieGetDocumentContent: import("@keystrokehq/action").WorkflowActionDefinition<{
25
- document_id: string;
26
- range?: string | undefined;
27
- download?: boolean | undefined;
28
- partition?: string | undefined;
29
- media_type?: string | undefined;
30
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"ragie", 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<"ragie", 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 ragieGetDocumentContent: AppAction<typeof RagieGetDocumentContentInput, typeof RagieGetDocumentContentOutput, typeof ragie.credential>;
43
27
  //#endregion
44
28
  export { ragieGetDocumentContent };
45
29
  //# sourceMappingURL=get-document-content.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-document-content.d.cts","names":[],"sources":["../../src/actions/get-document-content.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;cAO5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAc7B,uBAAA,gCAAuB,wBAAA"}
1
+ {"version":3,"file":"get-document-content.d.cts","names":[],"sources":["../../src/actions/get-document-content.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;cAO5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAc7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { ragie } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-document-content.d.ts
@@ -21,25 +23,7 @@ declare const RagieGetDocumentContentOutput: z.ZodObject<{
21
23
  chunk_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
22
24
  external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
25
  }, z.core.$loose>;
24
- declare const ragieGetDocumentContent: import("@keystrokehq/action").WorkflowActionDefinition<{
25
- document_id: string;
26
- range?: string | undefined;
27
- download?: boolean | undefined;
28
- partition?: string | undefined;
29
- media_type?: string | undefined;
30
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"ragie", 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<"ragie", 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 ragieGetDocumentContent: AppAction<typeof RagieGetDocumentContentInput, typeof RagieGetDocumentContentOutput, typeof ragie.credential>;
43
27
  //#endregion
44
28
  export { ragieGetDocumentContent };
45
29
  //# sourceMappingURL=get-document-content.d.mts.map