@keystrokehq/ragie 0.1.0 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (262) hide show
  1. package/README.md +1 -1
  2. package/dist/action.cjs.map +1 -1
  3. package/dist/action.mjs.map +1 -1
  4. package/dist/actions/create-document-from-url.cjs +6 -6
  5. package/dist/actions/create-document-from-url.cjs.map +1 -1
  6. package/dist/actions/create-document-from-url.d.cts +28 -3
  7. package/dist/actions/create-document-from-url.d.cts.map +1 -1
  8. package/dist/actions/create-document-from-url.d.mts +28 -3
  9. package/dist/actions/create-document-from-url.d.mts.map +1 -1
  10. package/dist/actions/create-document-from-url.mjs +6 -6
  11. package/dist/actions/create-document-from-url.mjs.map +1 -1
  12. package/dist/actions/create-document-raw.cjs +7 -7
  13. package/dist/actions/create-document-raw.cjs.map +1 -1
  14. package/dist/actions/create-document-raw.d.cts +26 -3
  15. package/dist/actions/create-document-raw.d.cts.map +1 -1
  16. package/dist/actions/create-document-raw.d.mts +26 -3
  17. package/dist/actions/create-document-raw.d.mts.map +1 -1
  18. package/dist/actions/create-document-raw.mjs +7 -7
  19. package/dist/actions/create-document-raw.mjs.map +1 -1
  20. package/dist/actions/create-document.cjs +9 -9
  21. package/dist/actions/create-document.cjs.map +1 -1
  22. package/dist/actions/create-document.d.cts +42 -3
  23. package/dist/actions/create-document.d.cts.map +1 -1
  24. package/dist/actions/create-document.d.mts +42 -3
  25. package/dist/actions/create-document.d.mts.map +1 -1
  26. package/dist/actions/create-document.mjs +9 -9
  27. package/dist/actions/create-document.mjs.map +1 -1
  28. package/dist/actions/create-instruction.cjs +8 -8
  29. package/dist/actions/create-instruction.cjs.map +1 -1
  30. package/dist/actions/create-instruction.d.cts +33 -3
  31. package/dist/actions/create-instruction.d.cts.map +1 -1
  32. package/dist/actions/create-instruction.d.mts +33 -3
  33. package/dist/actions/create-instruction.d.mts.map +1 -1
  34. package/dist/actions/create-instruction.mjs +8 -8
  35. package/dist/actions/create-instruction.mjs.map +1 -1
  36. package/dist/actions/create-oauth-redirect-url.cjs +1 -1
  37. package/dist/actions/create-oauth-redirect-url.cjs.map +1 -1
  38. package/dist/actions/create-oauth-redirect-url.d.cts +25 -3
  39. package/dist/actions/create-oauth-redirect-url.d.cts.map +1 -1
  40. package/dist/actions/create-oauth-redirect-url.d.mts +25 -3
  41. package/dist/actions/create-oauth-redirect-url.d.mts.map +1 -1
  42. package/dist/actions/create-oauth-redirect-url.mjs +1 -1
  43. package/dist/actions/create-oauth-redirect-url.mjs.map +1 -1
  44. package/dist/actions/create-partition-partitions-post.cjs +9 -9
  45. package/dist/actions/create-partition-partitions-post.cjs.map +1 -1
  46. package/dist/actions/create-partition-partitions-post.d.cts +83 -3
  47. package/dist/actions/create-partition-partitions-post.d.cts.map +1 -1
  48. package/dist/actions/create-partition-partitions-post.d.mts +83 -3
  49. package/dist/actions/create-partition-partitions-post.d.mts.map +1 -1
  50. package/dist/actions/create-partition-partitions-post.mjs +9 -9
  51. package/dist/actions/create-partition-partitions-post.mjs.map +1 -1
  52. package/dist/actions/delete-document.cjs +1 -1
  53. package/dist/actions/delete-document.cjs.map +1 -1
  54. package/dist/actions/delete-document.d.cts +13 -3
  55. package/dist/actions/delete-document.d.cts.map +1 -1
  56. package/dist/actions/delete-document.d.mts +13 -3
  57. package/dist/actions/delete-document.d.mts.map +1 -1
  58. package/dist/actions/delete-document.mjs +1 -1
  59. package/dist/actions/delete-document.mjs.map +1 -1
  60. package/dist/actions/delete-instruction.cjs +1 -1
  61. package/dist/actions/delete-instruction.cjs.map +1 -1
  62. package/dist/actions/delete-instruction.d.cts +9 -3
  63. package/dist/actions/delete-instruction.d.cts.map +1 -1
  64. package/dist/actions/delete-instruction.d.mts +9 -3
  65. package/dist/actions/delete-instruction.d.mts.map +1 -1
  66. package/dist/actions/delete-instruction.mjs +1 -1
  67. package/dist/actions/delete-instruction.mjs.map +1 -1
  68. package/dist/actions/delete-partition.cjs +1 -1
  69. package/dist/actions/delete-partition.cjs.map +1 -1
  70. package/dist/actions/delete-partition.d.cts +11 -3
  71. package/dist/actions/delete-partition.d.cts.map +1 -1
  72. package/dist/actions/delete-partition.d.mts +11 -3
  73. package/dist/actions/delete-partition.d.mts.map +1 -1
  74. package/dist/actions/delete-partition.mjs +1 -1
  75. package/dist/actions/delete-partition.mjs.map +1 -1
  76. package/dist/actions/get-document-chunk-content.cjs +2 -2
  77. package/dist/actions/get-document-chunk-content.cjs.map +1 -1
  78. package/dist/actions/get-document-chunk-content.d.cts +31 -3
  79. package/dist/actions/get-document-chunk-content.d.cts.map +1 -1
  80. package/dist/actions/get-document-chunk-content.d.mts +31 -3
  81. package/dist/actions/get-document-chunk-content.d.mts.map +1 -1
  82. package/dist/actions/get-document-chunk-content.mjs +2 -2
  83. package/dist/actions/get-document-chunk-content.mjs.map +1 -1
  84. package/dist/actions/get-document-chunk.cjs +7 -7
  85. package/dist/actions/get-document-chunk.cjs.map +1 -1
  86. package/dist/actions/get-document-chunk.d.cts +18 -3
  87. package/dist/actions/get-document-chunk.d.cts.map +1 -1
  88. package/dist/actions/get-document-chunk.d.mts +18 -3
  89. package/dist/actions/get-document-chunk.d.mts.map +1 -1
  90. package/dist/actions/get-document-chunk.mjs +7 -7
  91. package/dist/actions/get-document-chunk.mjs.map +1 -1
  92. package/dist/actions/get-document-chunks.cjs +8 -8
  93. package/dist/actions/get-document-chunks.cjs.map +1 -1
  94. package/dist/actions/get-document-chunks.d.cts +29 -3
  95. package/dist/actions/get-document-chunks.d.cts.map +1 -1
  96. package/dist/actions/get-document-chunks.d.mts +29 -3
  97. package/dist/actions/get-document-chunks.d.mts.map +1 -1
  98. package/dist/actions/get-document-chunks.mjs +8 -8
  99. package/dist/actions/get-document-chunks.mjs.map +1 -1
  100. package/dist/actions/get-document-content.cjs +3 -3
  101. package/dist/actions/get-document-content.cjs.map +1 -1
  102. package/dist/actions/get-document-content.d.cts +27 -3
  103. package/dist/actions/get-document-content.d.cts.map +1 -1
  104. package/dist/actions/get-document-content.d.mts +27 -3
  105. package/dist/actions/get-document-content.d.mts.map +1 -1
  106. package/dist/actions/get-document-content.mjs +3 -3
  107. package/dist/actions/get-document-content.mjs.map +1 -1
  108. package/dist/actions/get-document-summary.cjs +3 -3
  109. package/dist/actions/get-document-summary.cjs.map +1 -1
  110. package/dist/actions/get-document-summary.d.cts +12 -3
  111. package/dist/actions/get-document-summary.d.cts.map +1 -1
  112. package/dist/actions/get-document-summary.d.mts +12 -3
  113. package/dist/actions/get-document-summary.d.mts.map +1 -1
  114. package/dist/actions/get-document-summary.mjs +3 -3
  115. package/dist/actions/get-document-summary.mjs.map +1 -1
  116. package/dist/actions/get-document.cjs +8 -8
  117. package/dist/actions/get-document.cjs.map +1 -1
  118. package/dist/actions/get-document.d.cts +21 -3
  119. package/dist/actions/get-document.d.cts.map +1 -1
  120. package/dist/actions/get-document.d.mts +21 -3
  121. package/dist/actions/get-document.d.mts.map +1 -1
  122. package/dist/actions/get-document.mjs +8 -8
  123. package/dist/actions/get-document.mjs.map +1 -1
  124. package/dist/actions/get-partition.cjs +6 -6
  125. package/dist/actions/get-partition.cjs.map +1 -1
  126. package/dist/actions/get-partition.d.cts +43 -3
  127. package/dist/actions/get-partition.d.cts.map +1 -1
  128. package/dist/actions/get-partition.d.mts +43 -3
  129. package/dist/actions/get-partition.d.mts.map +1 -1
  130. package/dist/actions/get-partition.mjs +6 -6
  131. package/dist/actions/get-partition.mjs.map +1 -1
  132. package/dist/actions/get-response.cjs +10 -10
  133. package/dist/actions/get-response.cjs.map +1 -1
  134. package/dist/actions/get-response.d.cts +78 -3
  135. package/dist/actions/get-response.d.cts.map +1 -1
  136. package/dist/actions/get-response.d.mts +78 -3
  137. package/dist/actions/get-response.d.mts.map +1 -1
  138. package/dist/actions/get-response.mjs +10 -10
  139. package/dist/actions/get-response.mjs.map +1 -1
  140. package/dist/actions/list-connection-source-types.cjs +6 -6
  141. package/dist/actions/list-connection-source-types.cjs.map +1 -1
  142. package/dist/actions/list-connection-source-types.d.cts +10 -3
  143. package/dist/actions/list-connection-source-types.d.cts.map +1 -1
  144. package/dist/actions/list-connection-source-types.d.mts +10 -3
  145. package/dist/actions/list-connection-source-types.d.mts.map +1 -1
  146. package/dist/actions/list-connection-source-types.mjs +6 -6
  147. package/dist/actions/list-connection-source-types.mjs.map +1 -1
  148. package/dist/actions/list-connections-connections-get.cjs +11 -11
  149. package/dist/actions/list-connections-connections-get.cjs.map +1 -1
  150. package/dist/actions/list-connections-connections-get.d.cts +31 -3
  151. package/dist/actions/list-connections-connections-get.d.cts.map +1 -1
  152. package/dist/actions/list-connections-connections-get.d.mts +31 -3
  153. package/dist/actions/list-connections-connections-get.d.mts.map +1 -1
  154. package/dist/actions/list-connections-connections-get.mjs +11 -11
  155. package/dist/actions/list-connections-connections-get.mjs.map +1 -1
  156. package/dist/actions/list-documents.cjs +11 -11
  157. package/dist/actions/list-documents.cjs.map +1 -1
  158. package/dist/actions/list-documents.d.cts +30 -3
  159. package/dist/actions/list-documents.d.cts.map +1 -1
  160. package/dist/actions/list-documents.d.mts +30 -3
  161. package/dist/actions/list-documents.d.mts.map +1 -1
  162. package/dist/actions/list-documents.mjs +11 -11
  163. package/dist/actions/list-documents.mjs.map +1 -1
  164. package/dist/actions/list-entities-by-document.cjs +10 -10
  165. package/dist/actions/list-entities-by-document.cjs.map +1 -1
  166. package/dist/actions/list-entities-by-document.d.cts +27 -3
  167. package/dist/actions/list-entities-by-document.d.cts.map +1 -1
  168. package/dist/actions/list-entities-by-document.d.mts +27 -3
  169. package/dist/actions/list-entities-by-document.d.mts.map +1 -1
  170. package/dist/actions/list-entities-by-document.mjs +10 -10
  171. package/dist/actions/list-entities-by-document.mjs.map +1 -1
  172. package/dist/actions/list-entities-by-instruction.cjs +10 -10
  173. package/dist/actions/list-entities-by-instruction.cjs.map +1 -1
  174. package/dist/actions/list-entities-by-instruction.d.cts +27 -3
  175. package/dist/actions/list-entities-by-instruction.d.cts.map +1 -1
  176. package/dist/actions/list-entities-by-instruction.d.mts +27 -3
  177. package/dist/actions/list-entities-by-instruction.d.mts.map +1 -1
  178. package/dist/actions/list-entities-by-instruction.mjs +10 -10
  179. package/dist/actions/list-entities-by-instruction.mjs.map +1 -1
  180. package/dist/actions/list-instructions.cjs +9 -9
  181. package/dist/actions/list-instructions.cjs.map +1 -1
  182. package/dist/actions/list-instructions.d.cts +19 -3
  183. package/dist/actions/list-instructions.d.cts.map +1 -1
  184. package/dist/actions/list-instructions.d.mts +19 -3
  185. package/dist/actions/list-instructions.d.mts.map +1 -1
  186. package/dist/actions/list-instructions.mjs +9 -9
  187. package/dist/actions/list-instructions.mjs.map +1 -1
  188. package/dist/actions/list-partitions.cjs +8 -8
  189. package/dist/actions/list-partitions.cjs.map +1 -1
  190. package/dist/actions/list-partitions.d.cts +36 -3
  191. package/dist/actions/list-partitions.d.cts.map +1 -1
  192. package/dist/actions/list-partitions.d.mts +36 -3
  193. package/dist/actions/list-partitions.d.mts.map +1 -1
  194. package/dist/actions/list-partitions.mjs +8 -8
  195. package/dist/actions/list-partitions.mjs.map +1 -1
  196. package/dist/actions/patch-document-metadata.cjs +3 -3
  197. package/dist/actions/patch-document-metadata.cjs.map +1 -1
  198. package/dist/actions/patch-document-metadata.d.cts +16 -3
  199. package/dist/actions/patch-document-metadata.d.cts.map +1 -1
  200. package/dist/actions/patch-document-metadata.d.mts +16 -3
  201. package/dist/actions/patch-document-metadata.d.mts.map +1 -1
  202. package/dist/actions/patch-document-metadata.mjs +3 -3
  203. package/dist/actions/patch-document-metadata.mjs.map +1 -1
  204. package/dist/actions/retrieve.cjs +2 -2
  205. package/dist/actions/retrieve.cjs.map +1 -1
  206. package/dist/actions/retrieve.d.cts +31 -3
  207. package/dist/actions/retrieve.d.cts.map +1 -1
  208. package/dist/actions/retrieve.d.mts +31 -3
  209. package/dist/actions/retrieve.d.mts.map +1 -1
  210. package/dist/actions/retrieve.mjs +2 -2
  211. package/dist/actions/retrieve.mjs.map +1 -1
  212. package/dist/actions/set-partition-limits.cjs +6 -6
  213. package/dist/actions/set-partition-limits.cjs.map +1 -1
  214. package/dist/actions/set-partition-limits.d.cts +61 -3
  215. package/dist/actions/set-partition-limits.d.cts.map +1 -1
  216. package/dist/actions/set-partition-limits.d.mts +61 -3
  217. package/dist/actions/set-partition-limits.d.mts.map +1 -1
  218. package/dist/actions/set-partition-limits.mjs +6 -6
  219. package/dist/actions/set-partition-limits.mjs.map +1 -1
  220. package/dist/actions/update-document-from-url.cjs +2 -2
  221. package/dist/actions/update-document-from-url.cjs.map +1 -1
  222. package/dist/actions/update-document-from-url.d.cts +23 -3
  223. package/dist/actions/update-document-from-url.d.cts.map +1 -1
  224. package/dist/actions/update-document-from-url.d.mts +23 -3
  225. package/dist/actions/update-document-from-url.d.mts.map +1 -1
  226. package/dist/actions/update-document-from-url.mjs +2 -2
  227. package/dist/actions/update-document-from-url.mjs.map +1 -1
  228. package/dist/actions/update-document-raw.cjs +1 -1
  229. package/dist/actions/update-document-raw.cjs.map +1 -1
  230. package/dist/actions/update-document-raw.d.cts +11 -3
  231. package/dist/actions/update-document-raw.d.cts.map +1 -1
  232. package/dist/actions/update-document-raw.d.mts +11 -3
  233. package/dist/actions/update-document-raw.d.mts.map +1 -1
  234. package/dist/actions/update-document-raw.mjs +1 -1
  235. package/dist/actions/update-document-raw.mjs.map +1 -1
  236. package/dist/actions/update-instruction.cjs +9 -9
  237. package/dist/actions/update-instruction.cjs.map +1 -1
  238. package/dist/actions/update-instruction.d.cts +20 -3
  239. package/dist/actions/update-instruction.d.cts.map +1 -1
  240. package/dist/actions/update-instruction.d.mts +20 -3
  241. package/dist/actions/update-instruction.d.mts.map +1 -1
  242. package/dist/actions/update-instruction.mjs +9 -9
  243. package/dist/actions/update-instruction.mjs.map +1 -1
  244. package/dist/actions/update-partition.cjs +19 -19
  245. package/dist/actions/update-partition.cjs.map +1 -1
  246. package/dist/actions/update-partition.d.cts +49 -3
  247. package/dist/actions/update-partition.d.cts.map +1 -1
  248. package/dist/actions/update-partition.d.mts +49 -3
  249. package/dist/actions/update-partition.d.mts.map +1 -1
  250. package/dist/actions/update-partition.mjs +19 -19
  251. package/dist/actions/update-partition.mjs.map +1 -1
  252. package/dist/catalog.cjs +7 -1
  253. package/dist/catalog.cjs.map +1 -1
  254. package/dist/catalog.d.cts +8 -0
  255. package/dist/catalog.d.mts +8 -0
  256. package/dist/catalog.mjs +7 -1
  257. package/dist/catalog.mjs.map +1 -1
  258. package/dist/execute.cjs +1 -1
  259. package/dist/execute.cjs.map +1 -1
  260. package/dist/execute.mjs +1 -1
  261. package/dist/execute.mjs.map +1 -1
  262. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"create-document.d.mts","names":[],"sources":["../../src/actions/create-document.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAcqB;AAAA,cACjD,yBAAA,EAA2B,CAAA,CAAE,UAWkB;AAAA,cAE/C,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-document.d.mts","names":[],"sources":["../../src/actions/create-document.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAexB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAazB,mBAAA,gCAAmB,wBAAA;;;;;;;;aAM9B,MAAA"}
@@ -9,28 +9,28 @@ const ragieCreateDocument = action("RAGIE_CREATE_DOCUMENT", {
9
9
  name: z.string().describe("The filename that will be used when uploading the file to the destination service"),
10
10
  s3key: z.string().describe("The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service."),
11
11
  mimetype: z.string().describe("The MIME type of the file")
12
- }).describe("The document file to upload. Supported formats: Plain Text (.eml.html.json.md.msg.rst.rtf.txt.xml), Images (.png.webp.jpg.jpeg.tiff.bmp.heic), Documents (.csv.doc.docx.epub.odt.pdf.ppt.pptx.tsv.xlsx.xls). Note: PDFs exceeding 2000 pages are unsupported in hi_res mode. If not provided, use raw_content and raw_filename instead.").optional(),
12
+ }).describe("The document file to upload. Supported formats: Plain Text (.eml.html.json.md.msg.rst.rtf.txt.xml), Images (.png.webp.jpg.jpeg.tiff.bmp.heic), Documents (.csv.doc.docx.epub.odt.pdf.ppt.pptx.tsv.xlsx.xls). Note: PDFs exceeding 2000 pages are unsupported in hi_res mode. If not provided, use inline file content with a filename instead.").optional(),
13
13
  mode: z.union([z.string(), z.boolean()]).optional(),
14
14
  name: z.string().describe("Custom document name. Defaults to the file's name if omitted.").optional(),
15
- metadata: z.object({}).describe("Custom key-value pairs for document metadata. Keys must be strings. Values can be strings, numbers, booleans, or string arrays. Maximum 1000 total values allowed.").optional(),
15
+ metadata: z.record(z.string(), z.unknown()).describe("Custom key-value pairs for document metadata. Keys must be strings. Values can be strings, numbers, booleans, or string arrays. Maximum 1000 total values allowed.").optional(),
16
16
  partition: z.string().describe("Partition scope for the document. Must be lowercase alphanumeric with only '_' and '-' allowed.").optional(),
17
17
  rawContent: z.union([z.string(), z.string()]).optional(),
18
18
  external_id: z.string().describe("Custom identifier for the document (e.g., external system ID or source URL).").optional(),
19
- rawFilename: z.string().describe("Filename for inline content (e.g., 'document.txt'). Required when using raw_content.").optional(),
19
+ rawFilename: z.string().describe("Filename for inline content (e.g., 'document.txt'). Required when using inline file content.").optional(),
20
20
  rawMimetype: z.string().describe("MIME type for the inline content (e.g., 'text/plain', 'application/pdf'). Defaults to text/plain.").optional()
21
21
  }).describe("Request model for creating a document in Ragie."),
22
22
  output: z.object({
23
- id: z.string().describe("Unique identifier for the document (UUID format)."),
24
- name: z.string().describe("Name of the document."),
25
- status: z.string().describe("Current processing state of the document."),
23
+ id: z.string().describe("Unique identifier for the document (UUID format).").nullable(),
24
+ name: z.string().describe("Name of the document.").nullable(),
25
+ status: z.string().describe("Current processing state of the document.").nullable(),
26
26
  metadata: z.record(z.string(), z.unknown()).describe("Custom metadata key-value pairs associated with the document.").nullable().optional(),
27
27
  partition: z.string().describe("Partition identifier for the document.").nullable().optional(),
28
- created_at: z.string().describe("Timestamp when the document was created (datetime format)."),
28
+ created_at: z.string().describe("Timestamp when the document was created (datetime format).").nullable(),
29
29
  page_count: z.number().describe("Total number of pages in the document.").nullable().optional(),
30
- updated_at: z.string().describe("Timestamp of the last modification (datetime format)."),
30
+ updated_at: z.string().describe("Timestamp of the last modification (datetime format).").nullable(),
31
31
  chunk_count: z.number().int().describe("Number of chunks extracted from the document during processing.").nullable().optional(),
32
32
  external_id: z.string().describe("Custom identifier provided during upload.").nullable().optional()
33
- }).describe("Response model for created document in Ragie.")
33
+ }).passthrough().describe("Response model for created document in Ragie.")
34
34
  });
35
35
  //#endregion
36
36
  export { ragieCreateDocument };
@@ -1 +1 @@
1
- {"version":3,"file":"create-document.mjs","names":[],"sources":["../../src/actions/create-document.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieCreateDocumentInput: z.ZodTypeAny = z.object({\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"The document file to upload. Supported formats: Plain Text (.eml.html.json.md.msg.rst.rtf.txt.xml), Images (.png.webp.jpg.jpeg.tiff.bmp.heic), Documents (.csv.doc.docx.epub.odt.pdf.ppt.pptx.tsv.xlsx.xls). Note: PDFs exceeding 2000 pages are unsupported in hi_res mode. If not provided, use raw_content and raw_filename instead.\").optional(),\n mode: z.union([z.string(), z.boolean()]).optional(),\n name: z.string().describe(\"Custom document name. Defaults to the file's name if omitted.\").optional(),\n metadata: z.object({}).describe(\"Custom key-value pairs for document metadata. Keys must be strings. Values can be strings, numbers, booleans, or string arrays. Maximum 1000 total values allowed.\").optional(),\n partition: z.string().describe(\"Partition scope for the document. Must be lowercase alphanumeric with only '_' and '-' allowed.\").optional(),\n rawContent: z.union([z.string(), z.string()]).optional(),\n external_id: z.string().describe(\"Custom identifier for the document (e.g., external system ID or source URL).\").optional(),\n rawFilename: z.string().describe(\"Filename for inline content (e.g., 'document.txt'). Required when using raw_content.\").optional(),\n rawMimetype: z.string().describe(\"MIME type for the inline content (e.g., 'text/plain', 'application/pdf'). Defaults to text/plain.\").optional(),\n}).describe(\"Request model for creating a document in Ragie.\");\nexport const RagieCreateDocumentOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the document (UUID format).\"),\n name: z.string().describe(\"Name of the document.\"),\n status: z.string().describe(\"Current processing state of the document.\"),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata key-value pairs associated with the document.\").nullable().optional(),\n partition: z.string().describe(\"Partition identifier for the document.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the document was created (datetime format).\"),\n page_count: z.number().describe(\"Total number of pages in the document.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp of the last modification (datetime format).\"),\n chunk_count: z.number().int().describe(\"Number of chunks extracted from the document during processing.\").nullable().optional(),\n external_id: z.string().describe(\"Custom identifier provided during upload.\").nullable().optional(),\n}).describe(\"Response model for created document in Ragie.\");\n\nexport const ragieCreateDocument = action(\"RAGIE_CREATE_DOCUMENT\", {\n slug: \"ragie-create-document\",\n name: \"Create Document\",\n description: \"Tool to upload and process a document file in Ragie. Use when you need to create a new document with support for various formats including text, images, and documents. The endpoint accepts multipart/form-data and returns a Document object with processing status and metadata.\",\n input: RagieCreateDocumentInput,\n output: RagieCreateDocumentOutput,\n});\n"],"mappings":";;AAgCA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhCoD,EAAE,OAAO;EAC7D,MAAM,EAAE,OAAO;GACf,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;GAC7G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wM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,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;EACvF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9H,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,CAAC,CAAC,CAAC,SAAS,+CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-document.mjs","names":[],"sources":["../../src/actions/create-document.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieCreateDocumentInput = z.object({\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"The document file to upload. Supported formats: Plain Text (.eml.html.json.md.msg.rst.rtf.txt.xml), Images (.png.webp.jpg.jpeg.tiff.bmp.heic), Documents (.csv.doc.docx.epub.odt.pdf.ppt.pptx.tsv.xlsx.xls). Note: PDFs exceeding 2000 pages are unsupported in hi_res mode. If not provided, use inline file content with a filename instead.\").optional(),\n mode: z.union([z.string(), z.boolean()]).optional(),\n name: z.string().describe(\"Custom document name. Defaults to the file's name if omitted.\").optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value pairs for document metadata. Keys must be strings. Values can be strings, numbers, booleans, or string arrays. Maximum 1000 total values allowed.\").optional(),\n partition: z.string().describe(\"Partition scope for the document. Must be lowercase alphanumeric with only '_' and '-' allowed.\").optional(),\n rawContent: z.union([z.string(), z.string()]).optional(),\n external_id: z.string().describe(\"Custom identifier for the document (e.g., external system ID or source URL).\").optional(),\n rawFilename: z.string().describe(\"Filename for inline content (e.g., 'document.txt'). Required when using inline file content.\").optional(),\n rawMimetype: z.string().describe(\"MIME type for the inline content (e.g., 'text/plain', 'application/pdf'). Defaults to text/plain.\").optional(),\n}).describe(\"Request model for creating a document in Ragie.\");\nexport const RagieCreateDocumentOutput = z.object({\n id: z.string().describe(\"Unique identifier for the document (UUID format).\").nullable(),\n name: z.string().describe(\"Name of the document.\").nullable(),\n status: z.string().describe(\"Current processing state of the document.\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata key-value pairs associated with the document.\").nullable().optional(),\n partition: z.string().describe(\"Partition identifier for the document.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the document was created (datetime format).\").nullable(),\n page_count: z.number().describe(\"Total number of pages in the document.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp of the last modification (datetime format).\").nullable(),\n chunk_count: z.number().int().describe(\"Number of chunks extracted from the document during processing.\").nullable().optional(),\n external_id: z.string().describe(\"Custom identifier provided during upload.\").nullable().optional(),\n}).passthrough().describe(\"Response model for created document in Ragie.\");\n\nexport const ragieCreateDocument = action(\"RAGIE_CREATE_DOCUMENT\", {\n slug: \"ragie-create-document\",\n name: \"Create Document\",\n description: \"Tool to upload and process a document file in Ragie. Use when you need to create a new document with support for various formats including text, images, and documents. The endpoint accepts multipart/form-data and returns a Document object with processing status and metadata.\",\n input: RagieCreateDocumentInput,\n output: RagieCreateDocumentOutput,\n});\n"],"mappings":";;AAgCA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhCsC,EAAE,OAAO;EAC/C,MAAM,EAAE,OAAO;GACf,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;GAC7G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;GACnO,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EAC3D,CAAC,CAAC,CAAC,SAAS,gVAAgV,CAAC,CAAC,SAAS;EACrW,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,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EAClG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9H,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAOhB;AACV,CAAC"}
@@ -11,17 +11,17 @@ const RagieCreateInstructionInput = zod.z.object({
11
11
  entity_schema: zod.z.record(zod.z.string(), zod.z.unknown()).describe("JSON Schema defining the entity structure generated by the instruction")
12
12
  }).describe("Request model for creating a new instruction in Ragie.");
13
13
  const RagieCreateInstructionOutput = zod.z.object({
14
- id: zod.z.string().describe("Unique instruction identifier (UUID)"),
15
- name: zod.z.string().describe("Instruction name"),
16
- scope: zod.z.string().describe("Scope: 'document' or 'chunk'"),
17
- active: zod.z.boolean().describe("Active status"),
14
+ id: zod.z.string().describe("Unique instruction identifier (UUID)").nullable(),
15
+ name: zod.z.string().describe("Instruction name").nullable(),
16
+ scope: zod.z.string().describe("Scope: 'document' or 'chunk'").nullable(),
17
+ active: zod.z.boolean().describe("Active status").nullable(),
18
18
  filter: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Applied metadata filter (if any)").nullable().optional(),
19
- prompt: zod.z.string().describe("The instruction prompt text"),
19
+ prompt: zod.z.string().describe("The instruction prompt text").nullable(),
20
20
  partition: zod.z.string().describe("Associated partition (if any)").nullable().optional(),
21
- created_at: zod.z.string().describe("Creation timestamp"),
22
- updated_at: zod.z.string().describe("Last update timestamp"),
21
+ created_at: zod.z.string().describe("Creation timestamp").nullable(),
22
+ updated_at: zod.z.string().describe("Last update timestamp").nullable(),
23
23
  entity_schema: zod.z.record(zod.z.string(), zod.z.unknown()).describe("JSON Schema for generated entities")
24
- }).describe("Response model for created instruction.");
24
+ }).passthrough().describe("Response model for created instruction.");
25
25
  const ragieCreateInstruction = require_action.action("RAGIE_CREATE_INSTRUCTION", {
26
26
  slug: "ragie-create-instruction",
27
27
  name: "Create Instruction",
@@ -1 +1 @@
1
- {"version":3,"file":"create-instruction.cjs","names":["z","action"],"sources":["../../src/actions/create-instruction.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieCreateInstructionInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Unique identifier for the instruction\"),\n scope: z.enum([\"document\", \"chunk\"]).default(\"chunk\").describe(\"Scope of instruction: 'document' for full analysis, 'chunk' for granular search (default: 'chunk')\").optional(),\n active: z.boolean().default(true).describe(\"Whether instruction applies to new/updated documents (default: true)\").optional(),\n filter: z.record(z.string(), z.unknown()).describe(\"Optional metadata filter matching document metadata before applying instruction\").optional(),\n prompt: z.string().describe(\"Natural language instruction which will be applied to documents as they are created and updated\"),\n partition: z.string().describe(\"Optional partition identifier to scope instruction to specific partition\").optional(),\n entity_schema: z.record(z.string(), z.unknown()).describe(\"JSON Schema defining the entity structure generated by the instruction\"),\n}).describe(\"Request model for creating a new instruction in Ragie.\");\nexport const RagieCreateInstructionOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique instruction identifier (UUID)\"),\n name: z.string().describe(\"Instruction name\"),\n scope: z.string().describe(\"Scope: 'document' or 'chunk'\"),\n active: z.boolean().describe(\"Active status\"),\n filter: z.record(z.string(), z.unknown()).describe(\"Applied metadata filter (if any)\").nullable().optional(),\n prompt: z.string().describe(\"The instruction prompt text\"),\n partition: z.string().describe(\"Associated partition (if any)\").nullable().optional(),\n created_at: z.string().describe(\"Creation timestamp\"),\n updated_at: z.string().describe(\"Last update timestamp\"),\n entity_schema: z.record(z.string(), z.unknown()).describe(\"JSON Schema for generated entities\"),\n}).describe(\"Response model for created instruction.\");\n\nexport const ragieCreateInstruction = action(\"RAGIE_CREATE_INSTRUCTION\", {\n slug: \"ragie-create-instruction\",\n name: \"Create Instruction\",\n description: \"Tool to create a new instruction that applies natural language directives to documents as they're ingested or updated. Use when you need to define structured data extraction or analysis rules for documents in Ragie.\",\n input: RagieCreateInstructionInput,\n output: RagieCreateInstructionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACjE,OAAOA,IAAAA,EAAE,KAAK,CAAC,YAAY,OAAO,CAAC,CAAC,CAAC,QAAQ,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CAC9K,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC5H,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAC/I,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG;CAC7H,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CACpH,eAAeA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpI,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAC5C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACzD,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,eAAe;CAC5C,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACzD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;CACpD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACvD,eAAeA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChG,CAAC,CAAC,CAAC,SAAS,yCAAyC;AAErD,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-instruction.cjs","names":["z","action"],"sources":["../../src/actions/create-instruction.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieCreateInstructionInput = z.object({\n name: z.string().describe(\"Unique identifier for the instruction\"),\n scope: z.enum([\"document\", \"chunk\"]).default(\"chunk\").describe(\"Scope of instruction: 'document' for full analysis, 'chunk' for granular search (default: 'chunk')\").optional(),\n active: z.boolean().default(true).describe(\"Whether instruction applies to new/updated documents (default: true)\").optional(),\n filter: z.record(z.string(), z.unknown()).describe(\"Optional metadata filter matching document metadata before applying instruction\").optional(),\n prompt: z.string().describe(\"Natural language instruction which will be applied to documents as they are created and updated\"),\n partition: z.string().describe(\"Optional partition identifier to scope instruction to specific partition\").optional(),\n entity_schema: z.record(z.string(), z.unknown()).describe(\"JSON Schema defining the entity structure generated by the instruction\"),\n}).describe(\"Request model for creating a new instruction in Ragie.\");\nexport const RagieCreateInstructionOutput = z.object({\n id: z.string().describe(\"Unique instruction identifier (UUID)\").nullable(),\n name: z.string().describe(\"Instruction name\").nullable(),\n scope: z.string().describe(\"Scope: 'document' or 'chunk'\").nullable(),\n active: z.boolean().describe(\"Active status\").nullable(),\n filter: z.record(z.string(), z.unknown()).describe(\"Applied metadata filter (if any)\").nullable().optional(),\n prompt: z.string().describe(\"The instruction prompt text\").nullable(),\n partition: z.string().describe(\"Associated partition (if any)\").nullable().optional(),\n created_at: z.string().describe(\"Creation timestamp\").nullable(),\n updated_at: z.string().describe(\"Last update timestamp\").nullable(),\n entity_schema: z.record(z.string(), z.unknown()).describe(\"JSON Schema for generated entities\"),\n}).passthrough().describe(\"Response model for created instruction.\");\n\nexport const ragieCreateInstruction = action(\"RAGIE_CREATE_INSTRUCTION\", {\n slug: \"ragie-create-instruction\",\n name: \"Create Instruction\",\n description: \"Tool to create a new instruction that applies natural language directives to documents as they're ingested or updated. Use when you need to define structured data extraction or analysis rules for documents in Ragie.\",\n input: RagieCreateInstructionInput,\n output: RagieCreateInstructionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACjE,OAAOA,IAAAA,EAAE,KAAK,CAAC,YAAY,OAAO,CAAC,CAAC,CAAC,QAAQ,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CAC9K,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC5H,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAC/I,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS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C;AAEnE,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,39 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-instruction.d.ts
4
- declare const RagieCreateInstructionInput: z.ZodTypeAny;
5
- declare const RagieCreateInstructionOutput: z.ZodTypeAny;
6
- declare const ragieCreateInstruction: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RagieCreateInstructionInput: z.ZodObject<{
5
+ name: z.ZodString;
6
+ scope: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
7
+ document: "document";
8
+ chunk: "chunk";
9
+ }>>>;
10
+ active: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
11
+ filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
12
+ prompt: z.ZodString;
13
+ partition: z.ZodOptional<z.ZodString>;
14
+ entity_schema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
15
+ }, z.core.$strip>;
16
+ declare const RagieCreateInstructionOutput: z.ZodObject<{
17
+ id: z.ZodNullable<z.ZodString>;
18
+ name: z.ZodNullable<z.ZodString>;
19
+ scope: z.ZodNullable<z.ZodString>;
20
+ active: z.ZodNullable<z.ZodBoolean>;
21
+ filter: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
22
+ prompt: z.ZodNullable<z.ZodString>;
23
+ partition: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ created_at: z.ZodNullable<z.ZodString>;
25
+ updated_at: z.ZodNullable<z.ZodString>;
26
+ entity_schema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
27
+ }, z.core.$loose>;
28
+ declare const ragieCreateInstruction: import("@keystrokehq/action").WorkflowActionDefinition<{
29
+ name: string;
30
+ prompt: string;
31
+ entity_schema: Record<string, unknown>;
32
+ scope?: "document" | "chunk" | undefined;
33
+ active?: boolean | undefined;
34
+ filter?: Record<string, unknown> | undefined;
35
+ partition?: string | undefined;
36
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
37
  //#endregion
8
38
  export { ragieCreateInstruction };
9
39
  //# sourceMappingURL=create-instruction.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-instruction.d.cts","names":[],"sources":["../../src/actions/create-instruction.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAQyB;AAAA,cACxD,4BAAA,EAA8B,CAAA,CAAE,UAWS;AAAA,cAEzC,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-instruction.d.cts","names":[],"sources":["../../src/actions/create-instruction.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAS3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAa5B,sBAAA,gCAAsB,wBAAA;;;iBAMjC,MAAA;;;WAAA,MAAA"}
@@ -1,9 +1,39 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-instruction.d.ts
4
- declare const RagieCreateInstructionInput: z.ZodTypeAny;
5
- declare const RagieCreateInstructionOutput: z.ZodTypeAny;
6
- declare const ragieCreateInstruction: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RagieCreateInstructionInput: z.ZodObject<{
5
+ name: z.ZodString;
6
+ scope: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
7
+ document: "document";
8
+ chunk: "chunk";
9
+ }>>>;
10
+ active: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
11
+ filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
12
+ prompt: z.ZodString;
13
+ partition: z.ZodOptional<z.ZodString>;
14
+ entity_schema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
15
+ }, z.core.$strip>;
16
+ declare const RagieCreateInstructionOutput: z.ZodObject<{
17
+ id: z.ZodNullable<z.ZodString>;
18
+ name: z.ZodNullable<z.ZodString>;
19
+ scope: z.ZodNullable<z.ZodString>;
20
+ active: z.ZodNullable<z.ZodBoolean>;
21
+ filter: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
22
+ prompt: z.ZodNullable<z.ZodString>;
23
+ partition: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ created_at: z.ZodNullable<z.ZodString>;
25
+ updated_at: z.ZodNullable<z.ZodString>;
26
+ entity_schema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
27
+ }, z.core.$loose>;
28
+ declare const ragieCreateInstruction: import("@keystrokehq/action").WorkflowActionDefinition<{
29
+ name: string;
30
+ prompt: string;
31
+ entity_schema: Record<string, unknown>;
32
+ scope?: "document" | "chunk" | undefined;
33
+ active?: boolean | undefined;
34
+ filter?: Record<string, unknown> | undefined;
35
+ partition?: string | undefined;
36
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
37
  //#endregion
8
38
  export { ragieCreateInstruction };
9
39
  //# sourceMappingURL=create-instruction.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-instruction.d.mts","names":[],"sources":["../../src/actions/create-instruction.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAQyB;AAAA,cACxD,4BAAA,EAA8B,CAAA,CAAE,UAWS;AAAA,cAEzC,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-instruction.d.mts","names":[],"sources":["../../src/actions/create-instruction.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAS3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAa5B,sBAAA,gCAAsB,wBAAA;;;iBAMjC,MAAA;;;WAAA,MAAA"}
@@ -14,17 +14,17 @@ const ragieCreateInstruction = action("RAGIE_CREATE_INSTRUCTION", {
14
14
  entity_schema: z.record(z.string(), z.unknown()).describe("JSON Schema defining the entity structure generated by the instruction")
15
15
  }).describe("Request model for creating a new instruction in Ragie."),
16
16
  output: z.object({
17
- id: z.string().describe("Unique instruction identifier (UUID)"),
18
- name: z.string().describe("Instruction name"),
19
- scope: z.string().describe("Scope: 'document' or 'chunk'"),
20
- active: z.boolean().describe("Active status"),
17
+ id: z.string().describe("Unique instruction identifier (UUID)").nullable(),
18
+ name: z.string().describe("Instruction name").nullable(),
19
+ scope: z.string().describe("Scope: 'document' or 'chunk'").nullable(),
20
+ active: z.boolean().describe("Active status").nullable(),
21
21
  filter: z.record(z.string(), z.unknown()).describe("Applied metadata filter (if any)").nullable().optional(),
22
- prompt: z.string().describe("The instruction prompt text"),
22
+ prompt: z.string().describe("The instruction prompt text").nullable(),
23
23
  partition: z.string().describe("Associated partition (if any)").nullable().optional(),
24
- created_at: z.string().describe("Creation timestamp"),
25
- updated_at: z.string().describe("Last update timestamp"),
24
+ created_at: z.string().describe("Creation timestamp").nullable(),
25
+ updated_at: z.string().describe("Last update timestamp").nullable(),
26
26
  entity_schema: z.record(z.string(), z.unknown()).describe("JSON Schema for generated entities")
27
- }).describe("Response model for created instruction.")
27
+ }).passthrough().describe("Response model for created instruction.")
28
28
  });
29
29
  //#endregion
30
30
  export { ragieCreateInstruction };
@@ -1 +1 @@
1
- {"version":3,"file":"create-instruction.mjs","names":[],"sources":["../../src/actions/create-instruction.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieCreateInstructionInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Unique identifier for the instruction\"),\n scope: z.enum([\"document\", \"chunk\"]).default(\"chunk\").describe(\"Scope of instruction: 'document' for full analysis, 'chunk' for granular search (default: 'chunk')\").optional(),\n active: z.boolean().default(true).describe(\"Whether instruction applies to new/updated documents (default: true)\").optional(),\n filter: z.record(z.string(), z.unknown()).describe(\"Optional metadata filter matching document metadata before applying instruction\").optional(),\n prompt: z.string().describe(\"Natural language instruction which will be applied to documents as they are created and updated\"),\n partition: z.string().describe(\"Optional partition identifier to scope instruction to specific partition\").optional(),\n entity_schema: z.record(z.string(), z.unknown()).describe(\"JSON Schema defining the entity structure generated by the instruction\"),\n}).describe(\"Request model for creating a new instruction in Ragie.\");\nexport const RagieCreateInstructionOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique instruction identifier (UUID)\"),\n name: z.string().describe(\"Instruction name\"),\n scope: z.string().describe(\"Scope: 'document' or 'chunk'\"),\n active: z.boolean().describe(\"Active status\"),\n filter: z.record(z.string(), z.unknown()).describe(\"Applied metadata filter (if any)\").nullable().optional(),\n prompt: z.string().describe(\"The instruction prompt text\"),\n partition: z.string().describe(\"Associated partition (if any)\").nullable().optional(),\n created_at: z.string().describe(\"Creation timestamp\"),\n updated_at: z.string().describe(\"Last update timestamp\"),\n entity_schema: z.record(z.string(), z.unknown()).describe(\"JSON Schema for generated entities\"),\n}).describe(\"Response model for created instruction.\");\n\nexport const ragieCreateInstruction = action(\"RAGIE_CREATE_INSTRUCTION\", {\n slug: \"ragie-create-instruction\",\n name: \"Create Instruction\",\n description: \"Tool to create a new instruction that applies natural language directives to documents as they're ingested or updated. Use when you need to define structured data extraction or analysis rules for documents in Ragie.\",\n input: RagieCreateInstructionInput,\n output: RagieCreateInstructionOutput,\n});\n"],"mappings":";;AA0BA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,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AAC,SAAS,uBAAuB;EACvD,eAAe,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC;CAChG,CAAC,CAAC,CAAC,SAAS,yCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-instruction.mjs","names":[],"sources":["../../src/actions/create-instruction.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieCreateInstructionInput = z.object({\n name: z.string().describe(\"Unique identifier for the instruction\"),\n scope: z.enum([\"document\", \"chunk\"]).default(\"chunk\").describe(\"Scope of instruction: 'document' for full analysis, 'chunk' for granular search (default: 'chunk')\").optional(),\n active: z.boolean().default(true).describe(\"Whether instruction applies to new/updated documents (default: true)\").optional(),\n filter: z.record(z.string(), z.unknown()).describe(\"Optional metadata filter matching document metadata before applying instruction\").optional(),\n prompt: z.string().describe(\"Natural language instruction which will be applied to documents as they are created and updated\"),\n partition: z.string().describe(\"Optional partition identifier to scope instruction to specific partition\").optional(),\n entity_schema: z.record(z.string(), z.unknown()).describe(\"JSON Schema defining the entity structure generated by the instruction\"),\n}).describe(\"Request model for creating a new instruction in Ragie.\");\nexport const RagieCreateInstructionOutput = z.object({\n id: z.string().describe(\"Unique instruction identifier (UUID)\").nullable(),\n name: z.string().describe(\"Instruction name\").nullable(),\n scope: z.string().describe(\"Scope: 'document' or 'chunk'\").nullable(),\n active: z.boolean().describe(\"Active status\").nullable(),\n filter: z.record(z.string(), z.unknown()).describe(\"Applied metadata filter (if any)\").nullable().optional(),\n prompt: z.string().describe(\"The instruction prompt text\").nullable(),\n partition: z.string().describe(\"Associated partition (if any)\").nullable().optional(),\n created_at: z.string().describe(\"Creation timestamp\").nullable(),\n updated_at: z.string().describe(\"Last update timestamp\").nullable(),\n entity_schema: z.record(z.string(), z.unknown()).describe(\"JSON Schema for generated entities\"),\n}).passthrough().describe(\"Response model for created instruction.\");\n\nexport const ragieCreateInstruction = action(\"RAGIE_CREATE_INSTRUCTION\", {\n slug: \"ragie-create-instruction\",\n name: \"Create Instruction\",\n description: \"Tool to create a new instruction that applies natural language directives to documents as they're ingested or updated. Use when you need to define structured data extraction or analysis rules for documents in Ragie.\",\n input: RagieCreateInstructionInput,\n output: RagieCreateInstructionOutput,\n});\n"],"mappings":";;AA0BA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA1ByC,EAAE,OAAO;EAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;EACjE,OAAO,EAAE,KAAK,CAAC,YAAY,OAAO,CAAC,CAAC,CAAC,QAAQ,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;EAC9K,QAAQ,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;EAC5H,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;EAC/I,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG;EAC7H,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EACpH,eAAe,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wEAAwE;CACpI,CAAC,CAAC,CAAC,SAAS,wDAkBH;CACP,QAlB0C,EAAE,OAAO;EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;EACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACpE,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;EACvD,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EACpE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;EAC/D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EAClE,eAAe,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC;CAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAOhB;AACV,CAAC"}
@@ -12,7 +12,7 @@ const RagieCreateOauthRedirectUrlInput = zod.z.object({
12
12
  redirect_uri: zod.z.string().describe("The URI where users return after OAuth authentication."),
13
13
  authenticator_id: zod.z.string().describe("Optional authenticator ID for white-labeled credentials (UUID format).").optional()
14
14
  }).describe("Request model for creating an OAuth redirect URL for embedded connector flows.");
15
- const RagieCreateOauthRedirectUrlOutput = zod.z.object({ url: zod.z.string().describe("The redirect URL for OAuth initialization where the user should be redirected to complete the OAuth flow.") }).describe("Response model for OAuth redirect URL creation.");
15
+ const RagieCreateOauthRedirectUrlOutput = zod.z.object({ url: zod.z.string().describe("The redirect URL for OAuth initialization where the user should be redirected to complete the OAuth flow.").nullable() }).passthrough().describe("Response model for OAuth redirect URL creation.");
16
16
  const ragieCreateOauthRedirectUrl = require_action.action("RAGIE_CREATE_OAUTH_REDIRECT_URL", {
17
17
  slug: "ragie-create-oauth-redirect-url",
18
18
  name: "Create OAuth Redirect URL",
@@ -1 +1 @@
1
- {"version":3,"file":"create-oauth-redirect-url.cjs","names":["z","action"],"sources":["../../src/actions/create-oauth-redirect-url.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieCreateOauthRedirectUrlInput: z.ZodTypeAny = z.object({\n mode: z.string().describe(\"Processing strategy (hi_res/fast for text, true/false for audio, audio_only/video_only/audio_video for video).\").optional(),\n theme: z.string().describe(\"UI theme preference: 'light', 'dark', or 'system'; defaults to 'system'.\").optional(),\n config: z.record(z.string(), z.unknown()).describe(\"Optional connector-specific configuration.\").optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Document metadata with string/number/boolean/array values; max 1000 total values.\").optional(),\n partition: z.string().describe(\"Optional partition identifier to scope the connection.\").optional(),\n page_limit: z.number().int().describe(\"Maximum pages to sync; connection disables when limit reached.\").optional(),\n source_type: z.string().describe(\"Connector type (e.g., google_drive, notion, hubspot); defaults to 'google_drive'.\").optional(),\n redirect_uri: z.string().describe(\"The URI where users return after OAuth authentication.\"),\n authenticator_id: z.string().describe(\"Optional authenticator ID for white-labeled credentials (UUID format).\").optional(),\n}).describe(\"Request model for creating an OAuth redirect URL for embedded connector flows.\");\nexport const RagieCreateOauthRedirectUrlOutput: z.ZodTypeAny = z.object({\n url: z.string().describe(\"The redirect URL for OAuth initialization where the user should be redirected to complete the OAuth flow.\"),\n}).describe(\"Response model for OAuth redirect URL creation.\");\n\nexport const ragieCreateOauthRedirectUrl = action(\"RAGIE_CREATE_OAUTH_REDIRECT_URL\", {\n slug: \"ragie-create-oauth-redirect-url\",\n name: \"Create OAuth Redirect URL\",\n description: \"Tool to create an OAuth redirect URL for initializing embedded connector OAuth flows. Use when you need to set up OAuth authentication for connectors like Google Drive, Notion, or HubSpot.\",\n input: RagieCreateOauthRedirectUrlInput,\n output: RagieCreateOauthRedirectUrlOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;CACrJ,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CAChH,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC1G,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CACnJ,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAClG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CACjH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAC/H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CAC1F,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,SAAS,gFAAgF;AAC5F,MAAa,oCAAkDA,IAAAA,EAAE,OAAO,EACtE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,EACtI,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAE7D,MAAa,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-oauth-redirect-url.cjs","names":["z","action"],"sources":["../../src/actions/create-oauth-redirect-url.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieCreateOauthRedirectUrlInput = z.object({\n mode: z.string().describe(\"Processing strategy (hi_res/fast for text, true/false for audio, audio_only/video_only/audio_video for video).\").optional(),\n theme: z.string().describe(\"UI theme preference: 'light', 'dark', or 'system'; defaults to 'system'.\").optional(),\n config: z.record(z.string(), z.unknown()).describe(\"Optional connector-specific configuration.\").optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Document metadata with string/number/boolean/array values; max 1000 total values.\").optional(),\n partition: z.string().describe(\"Optional partition identifier to scope the connection.\").optional(),\n page_limit: z.number().int().describe(\"Maximum pages to sync; connection disables when limit reached.\").optional(),\n source_type: z.string().describe(\"Connector type (e.g., google_drive, notion, hubspot); defaults to 'google_drive'.\").optional(),\n redirect_uri: z.string().describe(\"The URI where users return after OAuth authentication.\"),\n authenticator_id: z.string().describe(\"Optional authenticator ID for white-labeled credentials (UUID format).\").optional(),\n}).describe(\"Request model for creating an OAuth redirect URL for embedded connector flows.\");\nexport const RagieCreateOauthRedirectUrlOutput = z.object({\n url: z.string().describe(\"The redirect URL for OAuth initialization where the user should be redirected to complete the OAuth flow.\").nullable(),\n}).passthrough().describe(\"Response model for OAuth redirect URL creation.\");\n\nexport const ragieCreateOauthRedirectUrl = action(\"RAGIE_CREATE_OAUTH_REDIRECT_URL\", {\n slug: \"ragie-create-oauth-redirect-url\",\n name: \"Create OAuth Redirect URL\",\n description: \"Tool to create an OAuth redirect URL for initializing embedded connector OAuth flows. Use when you need to set up OAuth authentication for connectors like Google Drive, Notion, or HubSpot.\",\n input: RagieCreateOauthRedirectUrlInput,\n output: RagieCreateOauthRedirectUrlOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;CACrJ,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CAChH,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC1G,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CACnJ,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAClG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CACjH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAC/H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CAC1F,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,SAAS,gFAAgF;AAC5F,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS,EACjJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAE3E,MAAa,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,31 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-oauth-redirect-url.d.ts
4
- declare const RagieCreateOauthRedirectUrlInput: z.ZodTypeAny;
5
- declare const RagieCreateOauthRedirectUrlOutput: z.ZodTypeAny;
6
- declare const ragieCreateOauthRedirectUrl: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RagieCreateOauthRedirectUrlInput: z.ZodObject<{
5
+ mode: z.ZodOptional<z.ZodString>;
6
+ theme: z.ZodOptional<z.ZodString>;
7
+ config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
8
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
9
+ partition: z.ZodOptional<z.ZodString>;
10
+ page_limit: z.ZodOptional<z.ZodNumber>;
11
+ source_type: z.ZodOptional<z.ZodString>;
12
+ redirect_uri: z.ZodString;
13
+ authenticator_id: z.ZodOptional<z.ZodString>;
14
+ }, z.core.$strip>;
15
+ declare const RagieCreateOauthRedirectUrlOutput: z.ZodObject<{
16
+ url: z.ZodNullable<z.ZodString>;
17
+ }, z.core.$loose>;
18
+ declare const ragieCreateOauthRedirectUrl: import("@keystrokehq/action").WorkflowActionDefinition<{
19
+ redirect_uri: string;
20
+ mode?: string | undefined;
21
+ theme?: string | undefined;
22
+ config?: Record<string, unknown> | undefined;
23
+ metadata?: Record<string, unknown> | undefined;
24
+ partition?: string | undefined;
25
+ page_limit?: number | undefined;
26
+ source_type?: string | undefined;
27
+ authenticator_id?: string | undefined;
28
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
29
  //#endregion
8
30
  export { ragieCreateOauthRedirectUrl };
9
31
  //# sourceMappingURL=create-oauth-redirect-url.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-oauth-redirect-url.d.cts","names":[],"sources":["../../src/actions/create-oauth-redirect-url.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAU4C;AAAA,cAChF,iCAAA,EAAmC,CAAA,CAAE,UAEY;AAAA,cAEjD,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-oauth-redirect-url.d.cts","names":[],"sources":["../../src/actions/create-oauth-redirect-url.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;cAWhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAIjC,2BAAA,gCAA2B,wBAAA;;;;WAMtC,MAAA;aAAA,MAAA"}
@@ -1,9 +1,31 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-oauth-redirect-url.d.ts
4
- declare const RagieCreateOauthRedirectUrlInput: z.ZodTypeAny;
5
- declare const RagieCreateOauthRedirectUrlOutput: z.ZodTypeAny;
6
- declare const ragieCreateOauthRedirectUrl: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RagieCreateOauthRedirectUrlInput: z.ZodObject<{
5
+ mode: z.ZodOptional<z.ZodString>;
6
+ theme: z.ZodOptional<z.ZodString>;
7
+ config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
8
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
9
+ partition: z.ZodOptional<z.ZodString>;
10
+ page_limit: z.ZodOptional<z.ZodNumber>;
11
+ source_type: z.ZodOptional<z.ZodString>;
12
+ redirect_uri: z.ZodString;
13
+ authenticator_id: z.ZodOptional<z.ZodString>;
14
+ }, z.core.$strip>;
15
+ declare const RagieCreateOauthRedirectUrlOutput: z.ZodObject<{
16
+ url: z.ZodNullable<z.ZodString>;
17
+ }, z.core.$loose>;
18
+ declare const ragieCreateOauthRedirectUrl: import("@keystrokehq/action").WorkflowActionDefinition<{
19
+ redirect_uri: string;
20
+ mode?: string | undefined;
21
+ theme?: string | undefined;
22
+ config?: Record<string, unknown> | undefined;
23
+ metadata?: Record<string, unknown> | undefined;
24
+ partition?: string | undefined;
25
+ page_limit?: number | undefined;
26
+ source_type?: string | undefined;
27
+ authenticator_id?: string | undefined;
28
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
29
  //#endregion
8
30
  export { ragieCreateOauthRedirectUrl };
9
31
  //# sourceMappingURL=create-oauth-redirect-url.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-oauth-redirect-url.d.mts","names":[],"sources":["../../src/actions/create-oauth-redirect-url.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAU4C;AAAA,cAChF,iCAAA,EAAmC,CAAA,CAAE,UAEY;AAAA,cAEjD,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-oauth-redirect-url.d.mts","names":[],"sources":["../../src/actions/create-oauth-redirect-url.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;cAWhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAIjC,2BAAA,gCAA2B,wBAAA;;;;WAMtC,MAAA;aAAA,MAAA"}
@@ -15,7 +15,7 @@ const ragieCreateOauthRedirectUrl = action("RAGIE_CREATE_OAUTH_REDIRECT_URL", {
15
15
  redirect_uri: z.string().describe("The URI where users return after OAuth authentication."),
16
16
  authenticator_id: z.string().describe("Optional authenticator ID for white-labeled credentials (UUID format).").optional()
17
17
  }).describe("Request model for creating an OAuth redirect URL for embedded connector flows."),
18
- output: z.object({ url: z.string().describe("The redirect URL for OAuth initialization where the user should be redirected to complete the OAuth flow.") }).describe("Response model for OAuth redirect URL creation.")
18
+ output: z.object({ url: z.string().describe("The redirect URL for OAuth initialization where the user should be redirected to complete the OAuth flow.").nullable() }).passthrough().describe("Response model for OAuth redirect URL creation.")
19
19
  });
20
20
  //#endregion
21
21
  export { ragieCreateOauthRedirectUrl };
@@ -1 +1 @@
1
- {"version":3,"file":"create-oauth-redirect-url.mjs","names":[],"sources":["../../src/actions/create-oauth-redirect-url.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieCreateOauthRedirectUrlInput: z.ZodTypeAny = z.object({\n mode: z.string().describe(\"Processing strategy (hi_res/fast for text, true/false for audio, audio_only/video_only/audio_video for video).\").optional(),\n theme: z.string().describe(\"UI theme preference: 'light', 'dark', or 'system'; defaults to 'system'.\").optional(),\n config: z.record(z.string(), z.unknown()).describe(\"Optional connector-specific configuration.\").optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Document metadata with string/number/boolean/array values; max 1000 total values.\").optional(),\n partition: z.string().describe(\"Optional partition identifier to scope the connection.\").optional(),\n page_limit: z.number().int().describe(\"Maximum pages to sync; connection disables when limit reached.\").optional(),\n source_type: z.string().describe(\"Connector type (e.g., google_drive, notion, hubspot); defaults to 'google_drive'.\").optional(),\n redirect_uri: z.string().describe(\"The URI where users return after OAuth authentication.\"),\n authenticator_id: z.string().describe(\"Optional authenticator ID for white-labeled credentials (UUID format).\").optional(),\n}).describe(\"Request model for creating an OAuth redirect URL for embedded connector flows.\");\nexport const RagieCreateOauthRedirectUrlOutput: z.ZodTypeAny = z.object({\n url: z.string().describe(\"The redirect URL for OAuth initialization where the user should be redirected to complete the OAuth flow.\"),\n}).describe(\"Response model for OAuth redirect URL creation.\");\n\nexport const ragieCreateOauthRedirectUrl = action(\"RAGIE_CREATE_OAUTH_REDIRECT_URL\", {\n slug: \"ragie-create-oauth-redirect-url\",\n name: \"Create OAuth Redirect URL\",\n description: \"Tool to create an OAuth redirect URL for initializing embedded connector OAuth flows. Use when you need to set up OAuth authentication for connectors like Google Drive, Notion, or HubSpot.\",\n input: RagieCreateOauthRedirectUrlInput,\n output: RagieCreateOauthRedirectUrlOutput,\n});\n"],"mappings":";;AAmBA,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnB4D,EAAE,OAAO;EACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;EACrJ,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EAChH,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EAC1G,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;EACnJ,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;EAClG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;EACjH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;EAC/H,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;EAC1F,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC3H,CAAC,CAAC,CAAC,SAAS,gFASH;CACP,QAT6D,EAAE,OAAO,EACtE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,EACtI,CAAC,CAAC,CAAC,SAAS,iDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-oauth-redirect-url.mjs","names":[],"sources":["../../src/actions/create-oauth-redirect-url.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieCreateOauthRedirectUrlInput = z.object({\n mode: z.string().describe(\"Processing strategy (hi_res/fast for text, true/false for audio, audio_only/video_only/audio_video for video).\").optional(),\n theme: z.string().describe(\"UI theme preference: 'light', 'dark', or 'system'; defaults to 'system'.\").optional(),\n config: z.record(z.string(), z.unknown()).describe(\"Optional connector-specific configuration.\").optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Document metadata with string/number/boolean/array values; max 1000 total values.\").optional(),\n partition: z.string().describe(\"Optional partition identifier to scope the connection.\").optional(),\n page_limit: z.number().int().describe(\"Maximum pages to sync; connection disables when limit reached.\").optional(),\n source_type: z.string().describe(\"Connector type (e.g., google_drive, notion, hubspot); defaults to 'google_drive'.\").optional(),\n redirect_uri: z.string().describe(\"The URI where users return after OAuth authentication.\"),\n authenticator_id: z.string().describe(\"Optional authenticator ID for white-labeled credentials (UUID format).\").optional(),\n}).describe(\"Request model for creating an OAuth redirect URL for embedded connector flows.\");\nexport const RagieCreateOauthRedirectUrlOutput = z.object({\n url: z.string().describe(\"The redirect URL for OAuth initialization where the user should be redirected to complete the OAuth flow.\").nullable(),\n}).passthrough().describe(\"Response model for OAuth redirect URL creation.\");\n\nexport const ragieCreateOauthRedirectUrl = action(\"RAGIE_CREATE_OAUTH_REDIRECT_URL\", {\n slug: \"ragie-create-oauth-redirect-url\",\n name: \"Create OAuth Redirect URL\",\n description: \"Tool to create an OAuth redirect URL for initializing embedded connector OAuth flows. Use when you need to set up OAuth authentication for connectors like Google Drive, Notion, or HubSpot.\",\n input: RagieCreateOauthRedirectUrlInput,\n output: RagieCreateOauthRedirectUrlOutput,\n});\n"],"mappings":";;AAmBA,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnB8C,EAAE,OAAO;EACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;EACrJ,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EAChH,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EAC1G,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;EACnJ,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;EAClG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;EACjH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;EAC/H,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;EAC1F,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC3H,CAAC,CAAC,CAAC,SAAS,gFASH;CACP,QAT+C,EAAE,OAAO,EACxD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS,EACjJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAOhB;AACV,CAAC"}
@@ -4,7 +4,7 @@ let zod = require("zod");
4
4
  const RagieCreatePartitionPartitionsPostInput = zod.z.object({
5
5
  name: zod.z.string().describe("Identifier for the partition. This is a required field that uniquely identifies the partition."),
6
6
  description: zod.z.string().describe("Overview text describing the partition's purpose or usage").optional(),
7
- metadata_schema: zod.z.object({}).describe("Optional subset of document metadata defined as JSON Schema. Allows defining custom metadata structure for documents in this partition.").optional(),
7
+ metadata_schema: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Optional subset of document metadata defined as JSON Schema. Allows defining custom metadata structure for documents in this partition.").optional(),
8
8
  media_hosted_limit_max: zod.z.number().int().describe("Maximum limit, in MBs, for media hosted").optional(),
9
9
  pages_hosted_limit_max: zod.z.number().int().describe("Maximum limit, in pages, for hosted documents").optional(),
10
10
  media_streamed_limit_max: zod.z.number().int().describe("Maximum limit, in MBs, for media streamed").optional(),
@@ -21,7 +21,7 @@ const RagieCreatePartitionPartitionsPostInput = zod.z.object({
21
21
  const RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema = zod.z.object({
22
22
  total: zod.z.number().int().describe("Total count").nullable().optional(),
23
23
  monthly: zod.z.number().int().describe("Monthly count").nullable().optional()
24
- }).describe("Statistics detail with monthly and total counts.");
24
+ }).passthrough().describe("Statistics detail with monthly and total counts.");
25
25
  const RagieCreatePartitionPartitionsPost_PartitionStatsSchema = zod.z.object({
26
26
  documents: zod.z.number().int().describe("Number of documents").nullable().optional(),
27
27
  media_hosted: RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema.nullable().optional(),
@@ -30,7 +30,7 @@ const RagieCreatePartitionPartitionsPost_PartitionStatsSchema = zod.z.object({
30
30
  audio_processed: RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema.nullable().optional(),
31
31
  pages_processed: RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema.nullable().optional(),
32
32
  video_processed: RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema.nullable().optional()
33
- }).describe("Statistics for partition usage.");
33
+ }).passthrough().describe("Statistics for partition usage.");
34
34
  const RagieCreatePartitionPartitionsPost_PartitionLimitsSchema = zod.z.object({
35
35
  media_hosted_limit_max: zod.z.number().int().describe("Maximum limit, in MBs, for media hosted").nullable().optional(),
36
36
  pages_hosted_limit_max: zod.z.number().int().describe("Maximum limit, in pages, for hosted documents").nullable().optional(),
@@ -44,17 +44,17 @@ const RagieCreatePartitionPartitionsPost_PartitionLimitsSchema = zod.z.object({
44
44
  audio_processed_limit_monthly: zod.z.number().int().describe("Monthly limit, in minutes, for audio processing").nullable().optional(),
45
45
  pages_processed_limit_monthly: zod.z.number().int().describe("Monthly limit, in pages, for processed documents").nullable().optional(),
46
46
  video_processed_limit_monthly: zod.z.number().int().describe("Monthly limit, in minutes, for video processing").nullable().optional()
47
- }).describe("Limits for various partition resources.");
47
+ }).passthrough().describe("Limits for various partition resources.");
48
48
  const RagieCreatePartitionPartitionsPostOutput = zod.z.object({
49
- name: zod.z.string().describe("Partition identifier"),
49
+ name: zod.z.string().describe("Partition identifier").nullable(),
50
50
  stats: RagieCreatePartitionPartitionsPost_PartitionStatsSchema.nullable().optional(),
51
51
  limits: RagieCreatePartitionPartitionsPost_PartitionLimitsSchema.nullable().optional(),
52
- is_default: zod.z.boolean().describe("Whether this is the default partition"),
52
+ is_default: zod.z.boolean().describe("Whether this is the default partition").nullable(),
53
53
  description: zod.z.string().describe("Partition description").nullable().optional(),
54
- context_aware: zod.z.boolean().describe("Indicates if context-aware description is enabled"),
55
- metadata_schema: zod.z.object({}).describe("Applied metadata schema as JSON Schema").nullable().optional(),
54
+ context_aware: zod.z.boolean().describe("Indicates if context-aware description is enabled").nullable(),
55
+ metadata_schema: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Applied metadata schema as JSON Schema").nullable().optional(),
56
56
  limit_exceeded_at: zod.z.string().describe("Timestamp when limit was exceeded").nullable().optional()
57
- }).describe("Response schema for partition creation containing partition details.");
57
+ }).passthrough().describe("Response schema for partition creation containing partition details.");
58
58
  const ragieCreatePartitionPartitionsPost = require_action.action("RAGIE_CREATE_PARTITION_PARTITIONS_POST", {
59
59
  slug: "ragie-create-partition-partitions-post",
60
60
  name: "Create Partition",
@@ -1 +1 @@
1
- {"version":3,"file":"create-partition-partitions-post.cjs","names":["z","action"],"sources":["../../src/actions/create-partition-partitions-post.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieCreatePartitionPartitionsPostInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Identifier for the partition. This is a required field that uniquely identifies the partition.\"),\n description: z.string().describe(\"Overview text describing the partition's purpose or usage\").optional(),\n metadata_schema: z.object({}).describe(\"Optional subset of document metadata defined as JSON Schema. Allows defining custom metadata structure for documents in this partition.\").optional(),\n media_hosted_limit_max: z.number().int().describe(\"Maximum limit, in MBs, for media hosted\").optional(),\n pages_hosted_limit_max: z.number().int().describe(\"Maximum limit, in pages, for hosted documents\").optional(),\n media_streamed_limit_max: z.number().int().describe(\"Maximum limit, in MBs, for media streamed\").optional(),\n audio_processed_limit_max: z.number().int().describe(\"Maximum limit, in minutes, for audio processing\").optional(),\n pages_processed_limit_max: z.number().int().describe(\"Maximum limit, in pages, for processed documents\").optional(),\n video_processed_limit_max: z.number().int().describe(\"Maximum limit, in minutes, for video processing\").optional(),\n media_hosted_limit_monthly: z.number().int().describe(\"Monthly limit, in MBs, for media hosted\").optional(),\n pages_hosted_limit_monthly: z.number().int().describe(\"Monthly limit of hosted pages added in the current month\").optional(),\n media_streamed_limit_monthly: z.number().int().describe(\"Monthly limit, in MBs, for media streamed\").optional(),\n audio_processed_limit_monthly: z.number().int().describe(\"Monthly limit, in minutes, for audio processing\").optional(),\n pages_processed_limit_monthly: z.number().int().describe(\"Monthly limit, in pages, for processed documents\").optional(),\n video_processed_limit_monthly: z.number().int().describe(\"Monthly limit, in minutes, for video processing\").optional(),\n}).describe(\"Request schema for creating a new partition.\");\nconst RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema: z.ZodTypeAny = z.object({\n total: z.number().int().describe(\"Total count\").nullable().optional(),\n monthly: z.number().int().describe(\"Monthly count\").nullable().optional(),\n}).describe(\"Statistics detail with monthly and total counts.\");\nconst RagieCreatePartitionPartitionsPost_PartitionStatsSchema: z.ZodTypeAny = z.object({\n documents: z.number().int().describe(\"Number of documents\").nullable().optional(),\n media_hosted: RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema.nullable().optional(),\n pages_hosted: RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema.nullable().optional(),\n media_streamed: RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema.nullable().optional(),\n audio_processed: RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema.nullable().optional(),\n pages_processed: RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema.nullable().optional(),\n video_processed: RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema.nullable().optional(),\n}).describe(\"Statistics for partition usage.\");\nconst RagieCreatePartitionPartitionsPost_PartitionLimitsSchema: z.ZodTypeAny = z.object({\n media_hosted_limit_max: z.number().int().describe(\"Maximum limit, in MBs, for media hosted\").nullable().optional(),\n pages_hosted_limit_max: z.number().int().describe(\"Maximum limit, in pages, for hosted documents\").nullable().optional(),\n media_streamed_limit_max: z.number().int().describe(\"Maximum limit, in MBs, for media streamed\").nullable().optional(),\n audio_processed_limit_max: z.number().int().describe(\"Maximum limit, in minutes, for audio processing\").nullable().optional(),\n pages_processed_limit_max: z.number().int().describe(\"Maximum limit, in pages, for processed documents\").nullable().optional(),\n video_processed_limit_max: z.number().int().describe(\"Maximum limit, in minutes, for video processing\").nullable().optional(),\n media_hosted_limit_monthly: z.number().int().describe(\"Monthly limit, in MBs, for media hosted\").nullable().optional(),\n pages_hosted_limit_monthly: z.number().int().describe(\"Monthly limit of hosted pages added in the current month\").nullable().optional(),\n media_streamed_limit_monthly: z.number().int().describe(\"Monthly limit, in MBs, for media streamed\").nullable().optional(),\n audio_processed_limit_monthly: z.number().int().describe(\"Monthly limit, in minutes, for audio processing\").nullable().optional(),\n pages_processed_limit_monthly: z.number().int().describe(\"Monthly limit, in pages, for processed documents\").nullable().optional(),\n video_processed_limit_monthly: z.number().int().describe(\"Monthly limit, in minutes, for video processing\").nullable().optional(),\n}).describe(\"Limits for various partition resources.\");\nexport const RagieCreatePartitionPartitionsPostOutput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Partition identifier\"),\n stats: RagieCreatePartitionPartitionsPost_PartitionStatsSchema.nullable().optional(),\n limits: RagieCreatePartitionPartitionsPost_PartitionLimitsSchema.nullable().optional(),\n is_default: z.boolean().describe(\"Whether this is the default partition\"),\n description: z.string().describe(\"Partition description\").nullable().optional(),\n context_aware: z.boolean().describe(\"Indicates if context-aware description is enabled\"),\n metadata_schema: z.object({}).describe(\"Applied metadata schema as JSON Schema\").nullable().optional(),\n limit_exceeded_at: z.string().describe(\"Timestamp when limit was exceeded\").nullable().optional(),\n}).describe(\"Response schema for partition creation containing partition details.\");\n\nexport const ragieCreatePartitionPartitionsPost = action(\"RAGIE_CREATE_PARTITION_PARTITIONS_POST\", {\n slug: \"ragie-create-partition-partitions-post\",\n name: \"Create Partition\",\n description: \"Tool to create a new partition for scoping documents and connections in Ragie. Use when you need to organize documents and set resource limits for different workspaces or tenants.\",\n input: RagieCreat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AC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClI,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAa,2CAAyDA,IAAAA,EAAE,OAAO;CAC7E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CAChD,OAAO,wDAAwD,SAAS,CAAC,CAAC,SAAS;CACnF,QAAQ,yDAAyD,SAAS,CAAC,CAAC,SAAS;CACrF,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC;CACxE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD;CACvF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAElF,MAAa,qCAAqCC,eAAAA,OAAO,0CAA0C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-partition-partitions-post.cjs","names":["z","action"],"sources":["../../src/actions/create-partition-partitions-post.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieCreatePartitionPartitionsPostInput = z.object({\n name: z.string().describe(\"Identifier for the partition. This is a required field that uniquely identifies the partition.\"),\n description: z.string().describe(\"Overview text describing the partition's purpose or usage\").optional(),\n metadata_schema: z.record(z.string(), z.unknown()).describe(\"Optional subset of document metadata defined as JSON Schema. Allows defining custom metadata structure for documents in this partition.\").optional(),\n media_hosted_limit_max: z.number().int().describe(\"Maximum limit, in MBs, for media hosted\").optional(),\n pages_hosted_limit_max: z.number().int().describe(\"Maximum limit, in pages, for hosted documents\").optional(),\n media_streamed_limit_max: z.number().int().describe(\"Maximum limit, in MBs, for media streamed\").optional(),\n audio_processed_limit_max: z.number().int().describe(\"Maximum limit, in minutes, for audio processing\").optional(),\n pages_processed_limit_max: z.number().int().describe(\"Maximum limit, in pages, for processed documents\").optional(),\n video_processed_limit_max: z.number().int().describe(\"Maximum limit, in minutes, for video processing\").optional(),\n media_hosted_limit_monthly: z.number().int().describe(\"Monthly limit, in MBs, for media hosted\").optional(),\n pages_hosted_limit_monthly: z.number().int().describe(\"Monthly limit of hosted pages added in the current month\").optional(),\n media_streamed_limit_monthly: z.number().int().describe(\"Monthly limit, in MBs, for media streamed\").optional(),\n audio_processed_limit_monthly: z.number().int().describe(\"Monthly limit, in minutes, for audio processing\").optional(),\n pages_processed_limit_monthly: z.number().int().describe(\"Monthly limit, in pages, for processed documents\").optional(),\n video_processed_limit_monthly: z.number().int().describe(\"Monthly limit, in minutes, for video processing\").optional(),\n}).describe(\"Request schema for creating a new partition.\");\nconst RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema = z.object({\n total: z.number().int().describe(\"Total count\").nullable().optional(),\n monthly: z.number().int().describe(\"Monthly count\").nullable().optional(),\n}).passthrough().describe(\"Statistics detail with monthly and total counts.\");\nconst RagieCreatePartitionPartitionsPost_PartitionStatsSchema = z.object({\n documents: z.number().int().describe(\"Number of documents\").nullable().optional(),\n media_hosted: RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema.nullable().optional(),\n pages_hosted: RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema.nullable().optional(),\n media_streamed: RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema.nullable().optional(),\n audio_processed: RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema.nullable().optional(),\n pages_processed: RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema.nullable().optional(),\n video_processed: RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema.nullable().optional(),\n}).passthrough().describe(\"Statistics for partition usage.\");\nconst RagieCreatePartitionPartitionsPost_PartitionLimitsSchema = z.object({\n media_hosted_limit_max: z.number().int().describe(\"Maximum limit, in MBs, for media hosted\").nullable().optional(),\n pages_hosted_limit_max: z.number().int().describe(\"Maximum limit, in pages, for hosted documents\").nullable().optional(),\n media_streamed_limit_max: z.number().int().describe(\"Maximum limit, in MBs, for media streamed\").nullable().optional(),\n audio_processed_limit_max: z.number().int().describe(\"Maximum limit, in minutes, for audio processing\").nullable().optional(),\n pages_processed_limit_max: z.number().int().describe(\"Maximum limit, in pages, for processed documents\").nullable().optional(),\n video_processed_limit_max: z.number().int().describe(\"Maximum limit, in minutes, for video processing\").nullable().optional(),\n media_hosted_limit_monthly: z.number().int().describe(\"Monthly limit, in MBs, for media hosted\").nullable().optional(),\n pages_hosted_limit_monthly: z.number().int().describe(\"Monthly limit of hosted pages added in the current month\").nullable().optional(),\n media_streamed_limit_monthly: z.number().int().describe(\"Monthly limit, in MBs, for media streamed\").nullable().optional(),\n audio_processed_limit_monthly: z.number().int().describe(\"Monthly limit, in minutes, for audio processing\").nullable().optional(),\n pages_processed_limit_monthly: z.number().int().describe(\"Monthly limit, in pages, for processed documents\").nullable().optional(),\n video_processed_limit_monthly: z.number().int().describe(\"Monthly limit, in minutes, for video processing\").nullable().optional(),\n}).passthrough().describe(\"Limits for various partition resources.\");\nexport const RagieCreatePartitionPartitionsPostOutput = z.object({\n name: z.string().describe(\"Partition identifier\").nullable(),\n stats: RagieCreatePartitionPartitionsPost_PartitionStatsSchema.nullable().optional(),\n limits: RagieCreatePartitionPartitionsPost_PartitionLimitsSchema.nullable().optional(),\n is_default: z.boolean().describe(\"Whether this is the default partition\").nullable(),\n description: z.string().describe(\"Partition description\").nullable().optional(),\n context_aware: z.boolean().describe(\"Indicates if context-aware description is enabled\").nullable(),\n metadata_schema: z.record(z.string(), z.unknown()).describe(\"Applied metadata schema as JSON Schema\").nullable().optional(),\n limit_exceeded_at: z.string().describe(\"Timestamp when limit was exceeded\").nullable().optional(),\n}).passthrough().describe(\"Response schema for partition creation containing partition details.\");\n\nexport const ragieCreatePartitionPartitionsPost = action(\"RAGIE_CREATE_PARTITION_PARTITIONS_POST\", {\n slug: \"ragie-create-partition-partitions-post\",\n name: \"Create Partition\",\n description: \"Tool to create a new partition for scoping documents and connections in Ragie. Use when you need to organize documents and set resource limits for different workspaces or tenants.\",\n input: RagieCreatePartitionPartitionsPostInput,\n output: RagieCreatePartitionPartitionsPostOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;CAC1H,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACvG,iBAAiBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yIAAyI,CAAC,CAAC,SAAS;CAChN,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACtG,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC5G,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC1G,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACjH,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAClH,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CA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