@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,9 +1,16 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-connection-source-types.d.ts
4
- declare const RagieListConnectionSourceTypesInput: z.ZodTypeAny;
5
- declare const RagieListConnectionSourceTypesOutput: z.ZodTypeAny;
6
- declare const ragieListConnectionSourceTypes: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RagieListConnectionSourceTypesInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const RagieListConnectionSourceTypesOutput: z.ZodObject<{
6
+ connectors: z.ZodArray<z.ZodObject<{
7
+ docs_url: z.ZodNullable<z.ZodString>;
8
+ icon_url: z.ZodNullable<z.ZodString>;
9
+ source_type: z.ZodNullable<z.ZodString>;
10
+ display_name: z.ZodNullable<z.ZodString>;
11
+ }, z.core.$loose>>;
12
+ }, z.core.$loose>;
13
+ declare const ragieListConnectionSourceTypes: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
14
  //#endregion
8
15
  export { ragieListConnectionSourceTypes };
9
16
  //# sourceMappingURL=list-connection-source-types.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-connection-source-types.d.cts","names":[],"sources":["../../src/actions/list-connection-source-types.ts"],"mappings":";;;cAIa,mCAAA,EAAqC,CAAA,CAAE,UAA+H;AAAA,cAOtK,oCAAA,EAAsC,CAAA,CAAE,UAEa;AAAA,cAErD,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-connection-source-types.d.cts","names":[],"sources":["../../src/actions/list-connection-source-types.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAOnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;cAIpC,8BAAA,gCAA8B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -1,9 +1,16 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-connection-source-types.d.ts
4
- declare const RagieListConnectionSourceTypesInput: z.ZodTypeAny;
5
- declare const RagieListConnectionSourceTypesOutput: z.ZodTypeAny;
6
- declare const ragieListConnectionSourceTypes: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RagieListConnectionSourceTypesInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const RagieListConnectionSourceTypesOutput: z.ZodObject<{
6
+ connectors: z.ZodArray<z.ZodObject<{
7
+ docs_url: z.ZodNullable<z.ZodString>;
8
+ icon_url: z.ZodNullable<z.ZodString>;
9
+ source_type: z.ZodNullable<z.ZodString>;
10
+ display_name: z.ZodNullable<z.ZodString>;
11
+ }, z.core.$loose>>;
12
+ }, z.core.$loose>;
13
+ declare const ragieListConnectionSourceTypes: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
14
  //#endregion
8
15
  export { ragieListConnectionSourceTypes };
9
16
  //# sourceMappingURL=list-connection-source-types.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-connection-source-types.d.mts","names":[],"sources":["../../src/actions/list-connection-source-types.ts"],"mappings":";;;cAIa,mCAAA,EAAqC,CAAA,CAAE,UAA+H;AAAA,cAOtK,oCAAA,EAAsC,CAAA,CAAE,UAEa;AAAA,cAErD,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-connection-source-types.d.mts","names":[],"sources":["../../src/actions/list-connection-source-types.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAOnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;cAIpC,8BAAA,gCAA8B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -3,17 +3,17 @@ import { z } from "zod";
3
3
  //#region src/actions/list-connection-source-types.ts
4
4
  const RagieListConnectionSourceTypesInput = z.object({}).describe("Request model for listing connection source types.\nThis endpoint requires no parameters.");
5
5
  const RagieListConnectionSourceTypes_ConnectorSourceTypeInfoSchema = z.object({
6
- docs_url: z.string().describe("URL to the connector's documentation."),
7
- icon_url: z.string().describe("URL to the connector's icon image."),
8
- source_type: z.string().describe("The connector type identifier (e.g., 'google_drive', 'notion')."),
9
- display_name: z.string().describe("Human-readable name for the connector.")
10
- }).describe("Information about a connector source type.");
6
+ docs_url: z.string().describe("URL to the connector's documentation.").nullable(),
7
+ icon_url: z.string().describe("URL to the connector's icon image.").nullable(),
8
+ source_type: z.string().describe("The connector type identifier (e.g., 'google_drive', 'notion').").nullable(),
9
+ display_name: z.string().describe("Human-readable name for the connector.").nullable()
10
+ }).passthrough().describe("Information about a connector source type.");
11
11
  const ragieListConnectionSourceTypes = action("RAGIE_LIST_CONNECTION_SOURCE_TYPES", {
12
12
  slug: "ragie-list-connection-source-types",
13
13
  name: "List Connection Source Types",
14
14
  description: "Tool to list available connection source types like 'google_drive' and 'notion' along with their metadata. Use when you need to discover what connector types are available in Ragie.",
15
15
  input: RagieListConnectionSourceTypesInput,
16
- output: z.object({ connectors: z.array(RagieListConnectionSourceTypes_ConnectorSourceTypeInfoSchema).describe("Array of available connector source types with their metadata.") }).describe("Response model for listing connection source types.")
16
+ output: z.object({ connectors: z.array(RagieListConnectionSourceTypes_ConnectorSourceTypeInfoSchema).describe("Array of available connector source types with their metadata.") }).passthrough().describe("Response model for listing connection source types.")
17
17
  });
18
18
  //#endregion
19
19
  export { ragieListConnectionSourceTypes };
@@ -1 +1 @@
1
- {"version":3,"file":"list-connection-source-types.mjs","names":[],"sources":["../../src/actions/list-connection-source-types.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieListConnectionSourceTypesInput: z.ZodTypeAny = z.object({}).describe(\"Request model for listing connection source types.\\nThis endpoint requires no parameters.\");\nconst RagieListConnectionSourceTypes_ConnectorSourceTypeInfoSchema: z.ZodTypeAny = z.object({\n docs_url: z.string().describe(\"URL to the connector's documentation.\"),\n icon_url: z.string().describe(\"URL to the connector's icon image.\"),\n source_type: z.string().describe(\"The connector type identifier (e.g., 'google_drive', 'notion').\"),\n display_name: z.string().describe(\"Human-readable name for the connector.\"),\n}).describe(\"Information about a connector source type.\");\nexport const RagieListConnectionSourceTypesOutput: z.ZodTypeAny = z.object({\n connectors: z.array(RagieListConnectionSourceTypes_ConnectorSourceTypeInfoSchema).describe(\"Array of available connector source types with their metadata.\"),\n}).describe(\"Response model for listing connection source types.\");\n\nexport const ragieListConnectionSourceTypes = action(\"RAGIE_LIST_CONNECTION_SOURCE_TYPES\", {\n slug: \"ragie-list-connection-source-types\",\n name: \"List Connection Source Types\",\n description: \"Tool to list available connection source types like 'google_drive' and 'notion' along with their metadata. Use when you need to discover what connector types are available in Ragie.\",\n input: RagieListConnectionSourceTypesInput,\n output: RagieListConnectionSourceTypesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAoD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2FAA2F;AAClL,MAAM,+DAA6E,EAAE,OAAO;CAC1F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACrE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAClE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;CAClG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;AAC5E,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAKxD,MAAa,iCAAiC,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATgE,EAAE,OAAO,EACzE,YAAY,EAAE,MAAM,4DAA4D,CAAC,CAAC,SAAS,gEAAgE,EAC7J,CAAC,CAAC,CAAC,SAAS,qDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-connection-source-types.mjs","names":[],"sources":["../../src/actions/list-connection-source-types.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieListConnectionSourceTypesInput = z.object({}).describe(\"Request model for listing connection source types.\\nThis endpoint requires no parameters.\");\nconst RagieListConnectionSourceTypes_ConnectorSourceTypeInfoSchema = z.object({\n docs_url: z.string().describe(\"URL to the connector's documentation.\").nullable(),\n icon_url: z.string().describe(\"URL to the connector's icon image.\").nullable(),\n source_type: z.string().describe(\"The connector type identifier (e.g., 'google_drive', 'notion').\").nullable(),\n display_name: z.string().describe(\"Human-readable name for the connector.\").nullable(),\n}).passthrough().describe(\"Information about a connector source type.\");\nexport const RagieListConnectionSourceTypesOutput = z.object({\n connectors: z.array(RagieListConnectionSourceTypes_ConnectorSourceTypeInfoSchema).describe(\"Array of available connector source types with their metadata.\"),\n}).passthrough().describe(\"Response model for listing connection source types.\");\n\nexport const ragieListConnectionSourceTypes = action(\"RAGIE_LIST_CONNECTION_SOURCE_TYPES\", {\n slug: \"ragie-list-connection-source-types\",\n name: \"List Connection Source Types\",\n description: \"Tool to list available connection source types like 'google_drive' and 'notion' along with their metadata. Use when you need to discover what connector types are available in Ragie.\",\n input: RagieListConnectionSourceTypesInput,\n output: RagieListConnectionSourceTypesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2FAA2F;AACpK,MAAM,+DAA+D,EAAE,OAAO;CAC5E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAChF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC7E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAC7G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAKtE,MAAa,iCAAiC,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATkD,EAAE,OAAO,EAC3D,YAAY,EAAE,MAAM,4DAA4D,CAAC,CAAC,SAAS,gEAAgE,EAC7J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAOhB;AACV,CAAC"}
@@ -9,25 +9,25 @@ const RagieListConnectionsConnectionsGetInput = zod.z.object({
9
9
  }).describe("Request model for listing connections.");
10
10
  const RagieListConnectionsConnectionsGet_PaginationInfoSchema = zod.z.object({
11
11
  next_cursor: zod.z.string().describe("Token for retrieving next page of results.").nullable().optional(),
12
- total_count: zod.z.number().int().describe("Total number of connections available.")
13
- }).describe("Pagination information for the response.");
12
+ total_count: zod.z.number().int().describe("Total number of connections available.").nullable()
13
+ }).passthrough().describe("Pagination information for the response.");
14
14
  const RagieListConnectionsConnectionsGet_ConnectionSchema = zod.z.object({
15
- id: zod.z.string().describe("Unique connection identifier (UUID)."),
16
- name: zod.z.string().describe("Display name of the connection."),
17
- type: zod.z.string().describe("Connection type identifier."),
15
+ id: zod.z.string().describe("Unique connection identifier (UUID).").nullable(),
16
+ name: zod.z.string().describe("Display name of the connection.").nullable(),
17
+ type: zod.z.string().describe("Connection type identifier.").nullable(),
18
18
  source: zod.z.unknown().describe("Source specification for the connection.").nullable().optional(),
19
- enabled: zod.z.boolean().describe("Whether the connection is currently active."),
19
+ enabled: zod.z.boolean().describe("Whether the connection is currently active.").nullable(),
20
20
  metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom key-value metadata pairs."),
21
- created_at: zod.z.string().describe("Timestamp when connection was created (ISO 8601 date-time format)."),
21
+ created_at: zod.z.string().describe("Timestamp when connection was created (ISO 8601 date-time format).").nullable(),
22
22
  page_limit: zod.z.number().int().describe("Maximum number of pages allowed for this connection.").nullable().optional(),
23
- updated_at: zod.z.string().describe("Timestamp of last modification (ISO 8601 date-time format)."),
24
- disabled_by_system: zod.z.boolean().describe("Whether the connection was disabled by the system."),
23
+ updated_at: zod.z.string().describe("Timestamp of last modification (ISO 8601 date-time format).").nullable(),
24
+ disabled_by_system: zod.z.boolean().describe("Whether the connection was disabled by the system.").nullable(),
25
25
  disabled_by_system_reason: zod.z.string().describe("Reason if system disabled the connection.").nullable().optional()
26
- }).describe("Connection object details.");
26
+ }).passthrough().describe("Connection object details.");
27
27
  const RagieListConnectionsConnectionsGetOutput = zod.z.object({
28
28
  pagination: RagieListConnectionsConnectionsGet_PaginationInfoSchema.nullable(),
29
29
  connections: zod.z.array(RagieListConnectionsConnectionsGet_ConnectionSchema).describe("List of Connection objects.")
30
- }).describe("Response model for listing connections.");
30
+ }).passthrough().describe("Response model for listing connections.");
31
31
  const ragieListConnectionsConnectionsGet = require_action.action("RAGIE_LIST_CONNECTIONS_CONNECTIONS_GET", {
32
32
  slug: "ragie-list-connections-connections-get",
33
33
  name: "List Connections",
@@ -1 +1 @@
1
- {"version":3,"file":"list-connections-connections-get.cjs","names":["z","action"],"sources":["../../src/actions/list-connections-connections-get.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieListConnectionsConnectionsGetInput: z.ZodTypeAny = z.object({\n cursor: z.string().describe(\"Pagination token for navigating to next page.\").optional(),\n filter: z.string().describe(\"Metadata filter supporting operators ($eq, $ne, $gt, $gte, $lt, $lte, $in, $nin) with AND/OR logic.\").optional(),\n page_size: z.number().int().describe(\"Number of items per page, range 1-100, defaults to 10.\").optional(),\n partition: z.string().describe(\"Partition identifier to scope the request. Defaults to default partition if omitted.\").optional(),\n}).describe(\"Request model for listing connections.\");\nconst RagieListConnectionsConnectionsGet_PaginationInfoSchema: z.ZodTypeAny = z.object({\n next_cursor: z.string().describe(\"Token for retrieving next page of results.\").nullable().optional(),\n total_count: z.number().int().describe(\"Total number of connections available.\"),\n}).describe(\"Pagination information for the response.\");\nconst RagieListConnectionsConnectionsGet_ConnectionSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique connection identifier (UUID).\"),\n name: z.string().describe(\"Display name of the connection.\"),\n type: z.string().describe(\"Connection type identifier.\"),\n source: z.unknown().describe(\"Source specification for the connection.\").nullable().optional(),\n enabled: z.boolean().describe(\"Whether the connection is currently active.\"),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value metadata pairs.\"),\n created_at: z.string().describe(\"Timestamp when connection was created (ISO 8601 date-time format).\"),\n page_limit: z.number().int().describe(\"Maximum number of pages allowed for this connection.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp of last modification (ISO 8601 date-time format).\"),\n disabled_by_system: z.boolean().describe(\"Whether the connection was disabled by the system.\"),\n disabled_by_system_reason: z.string().describe(\"Reason if system disabled the connection.\").nullable().optional(),\n}).describe(\"Connection object details.\");\nexport const RagieListConnectionsConnectionsGetOutput: z.ZodTypeAny = z.object({\n pagination: RagieListConnectionsConnectionsGet_PaginationInfoSchema.nullable(),\n connections: z.array(RagieListConnectionsConnectionsGet_ConnectionSchema).describe(\"List of Connection objects.\"),\n}).describe(\"Response model for listing connections.\");\n\nexport const ragieListConnectionsConnectionsGet = action(\"RAGIE_LIST_CONNECTIONS_CONNECTIONS_GET\", {\n slug: \"ragie-list-connections-connections-get\",\n name: \"List Connections\",\n description: \"Tool to list all connections sorted by creation date descending with pagination support. Use when you need to retrieve connections, optionally filtered by metadata.\",\n input: RagieListConnectionsConnectionsGetInput,\n output: RagieListConnectionsConnectionsGetOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAAwDA,IAAAA,EAAE,OAAO;CAC5E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACtF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAC5I,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACxG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;AAClI,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,0DAAwEA,IAAAA,EAAE,OAAO;CACrF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC;AACjF,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAM,sDAAoEA,IAAAA,EAAE,OAAO;CACjF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACvD,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C;CAC3E,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kCAAkC;CACvF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;CACpG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;CAC7F,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD;CAC7F,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,SAAS,4BAA4B;AACxC,MAAa,2CAAyDA,IAAAA,EAAE,OAAO;CAC7E,YAAY,wDAAwD,SAAS;CAC7E,aAAaA,IAAAA,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,6BAA6B;AAClH,CAAC,CAAC,CAAC,SAAS,yCAAyC;AAErD,MAAa,qCAAqCC,eAAAA,OAAO,0CAA0C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-connections-connections-get.cjs","names":["z","action"],"sources":["../../src/actions/list-connections-connections-get.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieListConnectionsConnectionsGetInput = z.object({\n cursor: z.string().describe(\"Pagination token for navigating to next page.\").optional(),\n filter: z.string().describe(\"Metadata filter supporting operators ($eq, $ne, $gt, $gte, $lt, $lte, $in, $nin) with AND/OR logic.\").optional(),\n page_size: z.number().int().describe(\"Number of items per page, range 1-100, defaults to 10.\").optional(),\n partition: z.string().describe(\"Partition identifier to scope the request. Defaults to default partition if omitted.\").optional(),\n}).describe(\"Request model for listing connections.\");\nconst RagieListConnectionsConnectionsGet_PaginationInfoSchema = z.object({\n next_cursor: z.string().describe(\"Token for retrieving next page of results.\").nullable().optional(),\n total_count: z.number().int().describe(\"Total number of connections available.\").nullable(),\n}).passthrough().describe(\"Pagination information for the response.\");\nconst RagieListConnectionsConnectionsGet_ConnectionSchema = z.object({\n id: z.string().describe(\"Unique connection identifier (UUID).\").nullable(),\n name: z.string().describe(\"Display name of the connection.\").nullable(),\n type: z.string().describe(\"Connection type identifier.\").nullable(),\n source: z.unknown().describe(\"Source specification for the connection.\").nullable().optional(),\n enabled: z.boolean().describe(\"Whether the connection is currently active.\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value metadata pairs.\"),\n created_at: z.string().describe(\"Timestamp when connection was created (ISO 8601 date-time format).\").nullable(),\n page_limit: z.number().int().describe(\"Maximum number of pages allowed for this connection.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp of last modification (ISO 8601 date-time format).\").nullable(),\n disabled_by_system: z.boolean().describe(\"Whether the connection was disabled by the system.\").nullable(),\n disabled_by_system_reason: z.string().describe(\"Reason if system disabled the connection.\").nullable().optional(),\n}).passthrough().describe(\"Connection object details.\");\nexport const RagieListConnectionsConnectionsGetOutput = z.object({\n pagination: RagieListConnectionsConnectionsGet_PaginationInfoSchema.nullable(),\n connections: z.array(RagieListConnectionsConnectionsGet_ConnectionSchema).describe(\"List of Connection objects.\"),\n}).passthrough().describe(\"Response model for listing connections.\");\n\nexport const ragieListConnectionsConnectionsGet = action(\"RAGIE_LIST_CONNECTIONS_CONNECTIONS_GET\", {\n slug: \"ragie-list-connections-connections-get\",\n name: \"List Connections\",\n description: \"Tool to list all connections sorted by creation date descending with pagination support. Use when you need to retrieve connections, optionally filtered by metadata.\",\n input: RagieListConnectionsConnectionsGetInput,\n output: RagieListConnectionsConnectionsGetOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACtF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAC5I,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACxG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;AAClI,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,0DAA0DA,IAAAA,EAAE,OAAO;CACvE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAM,sDAAsDA,IAAAA,EAAE,OAAO;CACnE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAClE,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACtF,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kCAAkC;CACvF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAC/G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACxG,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACxG,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4BAA4B;AACtD,MAAa,2CAA2CA,IAAAA,EAAE,OAAO;CAC/D,YAAY,wDAAwD,SAAS;CAC7E,aAAaA,IAAAA,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,6BAA6B;AAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAEnE,MAAa,qCAAqCC,eAAAA,OAAO,0CAA0C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,37 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-connections-connections-get.d.ts
4
- declare const RagieListConnectionsConnectionsGetInput: z.ZodTypeAny;
5
- declare const RagieListConnectionsConnectionsGetOutput: z.ZodTypeAny;
6
- declare const ragieListConnectionsConnectionsGet: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RagieListConnectionsConnectionsGetInput: z.ZodObject<{
5
+ cursor: z.ZodOptional<z.ZodString>;
6
+ filter: z.ZodOptional<z.ZodString>;
7
+ page_size: z.ZodOptional<z.ZodNumber>;
8
+ partition: z.ZodOptional<z.ZodString>;
9
+ }, z.core.$strip>;
10
+ declare const RagieListConnectionsConnectionsGetOutput: z.ZodObject<{
11
+ pagination: z.ZodNullable<z.ZodObject<{
12
+ next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ total_count: z.ZodNullable<z.ZodNumber>;
14
+ }, z.core.$loose>>;
15
+ connections: z.ZodArray<z.ZodObject<{
16
+ id: z.ZodNullable<z.ZodString>;
17
+ name: z.ZodNullable<z.ZodString>;
18
+ type: z.ZodNullable<z.ZodString>;
19
+ source: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
20
+ enabled: z.ZodNullable<z.ZodBoolean>;
21
+ metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
22
+ created_at: z.ZodNullable<z.ZodString>;
23
+ page_limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
24
+ updated_at: z.ZodNullable<z.ZodString>;
25
+ disabled_by_system: z.ZodNullable<z.ZodBoolean>;
26
+ disabled_by_system_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ }, z.core.$loose>>;
28
+ }, z.core.$loose>;
29
+ declare const ragieListConnectionsConnectionsGet: import("@keystrokehq/action").WorkflowActionDefinition<{
30
+ cursor?: string | undefined;
31
+ filter?: string | undefined;
32
+ page_size?: number | undefined;
33
+ partition?: string | undefined;
34
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
35
  //#endregion
8
36
  export { ragieListConnectionsConnectionsGet };
9
37
  //# sourceMappingURL=list-connections-connections-get.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-connections-connections-get.d.cts","names":[],"sources":["../../src/actions/list-connections-connections-get.ts"],"mappings":";;;cAIa,uCAAA,EAAyC,CAAA,CAAE,UAKH;AAAA,cAkBxC,wCAAA,EAA0C,CAAA,CAAE,UAGH;AAAA,cAEzC,kCAAA,gCAAkC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-connections-connections-get.d.cts","names":[],"sources":["../../src/actions/list-connections-connections-get.ts"],"mappings":";;;cAIa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;cAuBvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAKxC,kCAAA,gCAAkC,wBAAA"}
@@ -1,9 +1,37 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-connections-connections-get.d.ts
4
- declare const RagieListConnectionsConnectionsGetInput: z.ZodTypeAny;
5
- declare const RagieListConnectionsConnectionsGetOutput: z.ZodTypeAny;
6
- declare const ragieListConnectionsConnectionsGet: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RagieListConnectionsConnectionsGetInput: z.ZodObject<{
5
+ cursor: z.ZodOptional<z.ZodString>;
6
+ filter: z.ZodOptional<z.ZodString>;
7
+ page_size: z.ZodOptional<z.ZodNumber>;
8
+ partition: z.ZodOptional<z.ZodString>;
9
+ }, z.core.$strip>;
10
+ declare const RagieListConnectionsConnectionsGetOutput: z.ZodObject<{
11
+ pagination: z.ZodNullable<z.ZodObject<{
12
+ next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ total_count: z.ZodNullable<z.ZodNumber>;
14
+ }, z.core.$loose>>;
15
+ connections: z.ZodArray<z.ZodObject<{
16
+ id: z.ZodNullable<z.ZodString>;
17
+ name: z.ZodNullable<z.ZodString>;
18
+ type: z.ZodNullable<z.ZodString>;
19
+ source: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
20
+ enabled: z.ZodNullable<z.ZodBoolean>;
21
+ metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
22
+ created_at: z.ZodNullable<z.ZodString>;
23
+ page_limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
24
+ updated_at: z.ZodNullable<z.ZodString>;
25
+ disabled_by_system: z.ZodNullable<z.ZodBoolean>;
26
+ disabled_by_system_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ }, z.core.$loose>>;
28
+ }, z.core.$loose>;
29
+ declare const ragieListConnectionsConnectionsGet: import("@keystrokehq/action").WorkflowActionDefinition<{
30
+ cursor?: string | undefined;
31
+ filter?: string | undefined;
32
+ page_size?: number | undefined;
33
+ partition?: string | undefined;
34
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
35
  //#endregion
8
36
  export { ragieListConnectionsConnectionsGet };
9
37
  //# sourceMappingURL=list-connections-connections-get.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-connections-connections-get.d.mts","names":[],"sources":["../../src/actions/list-connections-connections-get.ts"],"mappings":";;;cAIa,uCAAA,EAAyC,CAAA,CAAE,UAKH;AAAA,cAkBxC,wCAAA,EAA0C,CAAA,CAAE,UAGH;AAAA,cAEzC,kCAAA,gCAAkC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-connections-connections-get.d.mts","names":[],"sources":["../../src/actions/list-connections-connections-get.ts"],"mappings":";;;cAIa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;cAuBvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAKxC,kCAAA,gCAAkC,wBAAA"}
@@ -9,21 +9,21 @@ const RagieListConnectionsConnectionsGetInput = z.object({
9
9
  }).describe("Request model for listing connections.");
10
10
  const RagieListConnectionsConnectionsGet_PaginationInfoSchema = z.object({
11
11
  next_cursor: z.string().describe("Token for retrieving next page of results.").nullable().optional(),
12
- total_count: z.number().int().describe("Total number of connections available.")
13
- }).describe("Pagination information for the response.");
12
+ total_count: z.number().int().describe("Total number of connections available.").nullable()
13
+ }).passthrough().describe("Pagination information for the response.");
14
14
  const RagieListConnectionsConnectionsGet_ConnectionSchema = z.object({
15
- id: z.string().describe("Unique connection identifier (UUID)."),
16
- name: z.string().describe("Display name of the connection."),
17
- type: z.string().describe("Connection type identifier."),
15
+ id: z.string().describe("Unique connection identifier (UUID).").nullable(),
16
+ name: z.string().describe("Display name of the connection.").nullable(),
17
+ type: z.string().describe("Connection type identifier.").nullable(),
18
18
  source: z.unknown().describe("Source specification for the connection.").nullable().optional(),
19
- enabled: z.boolean().describe("Whether the connection is currently active."),
19
+ enabled: z.boolean().describe("Whether the connection is currently active.").nullable(),
20
20
  metadata: z.record(z.string(), z.unknown()).describe("Custom key-value metadata pairs."),
21
- created_at: z.string().describe("Timestamp when connection was created (ISO 8601 date-time format)."),
21
+ created_at: z.string().describe("Timestamp when connection was created (ISO 8601 date-time format).").nullable(),
22
22
  page_limit: z.number().int().describe("Maximum number of pages allowed for this connection.").nullable().optional(),
23
- updated_at: z.string().describe("Timestamp of last modification (ISO 8601 date-time format)."),
24
- disabled_by_system: z.boolean().describe("Whether the connection was disabled by the system."),
23
+ updated_at: z.string().describe("Timestamp of last modification (ISO 8601 date-time format).").nullable(),
24
+ disabled_by_system: z.boolean().describe("Whether the connection was disabled by the system.").nullable(),
25
25
  disabled_by_system_reason: z.string().describe("Reason if system disabled the connection.").nullable().optional()
26
- }).describe("Connection object details.");
26
+ }).passthrough().describe("Connection object details.");
27
27
  const ragieListConnectionsConnectionsGet = action("RAGIE_LIST_CONNECTIONS_CONNECTIONS_GET", {
28
28
  slug: "ragie-list-connections-connections-get",
29
29
  name: "List Connections",
@@ -32,7 +32,7 @@ const ragieListConnectionsConnectionsGet = action("RAGIE_LIST_CONNECTIONS_CONNEC
32
32
  output: z.object({
33
33
  pagination: RagieListConnectionsConnectionsGet_PaginationInfoSchema.nullable(),
34
34
  connections: z.array(RagieListConnectionsConnectionsGet_ConnectionSchema).describe("List of Connection objects.")
35
- }).describe("Response model for listing connections.")
35
+ }).passthrough().describe("Response model for listing connections.")
36
36
  });
37
37
  //#endregion
38
38
  export { ragieListConnectionsConnectionsGet };
@@ -1 +1 @@
1
- {"version":3,"file":"list-connections-connections-get.mjs","names":[],"sources":["../../src/actions/list-connections-connections-get.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieListConnectionsConnectionsGetInput: z.ZodTypeAny = z.object({\n cursor: z.string().describe(\"Pagination token for navigating to next page.\").optional(),\n filter: z.string().describe(\"Metadata filter supporting operators ($eq, $ne, $gt, $gte, $lt, $lte, $in, $nin) with AND/OR logic.\").optional(),\n page_size: z.number().int().describe(\"Number of items per page, range 1-100, defaults to 10.\").optional(),\n partition: z.string().describe(\"Partition identifier to scope the request. Defaults to default partition if omitted.\").optional(),\n}).describe(\"Request model for listing connections.\");\nconst RagieListConnectionsConnectionsGet_PaginationInfoSchema: z.ZodTypeAny = z.object({\n next_cursor: z.string().describe(\"Token for retrieving next page of results.\").nullable().optional(),\n total_count: z.number().int().describe(\"Total number of connections available.\"),\n}).describe(\"Pagination information for the response.\");\nconst RagieListConnectionsConnectionsGet_ConnectionSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique connection identifier (UUID).\"),\n name: z.string().describe(\"Display name of the connection.\"),\n type: z.string().describe(\"Connection type identifier.\"),\n source: z.unknown().describe(\"Source specification for the connection.\").nullable().optional(),\n enabled: z.boolean().describe(\"Whether the connection is currently active.\"),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value metadata pairs.\"),\n created_at: z.string().describe(\"Timestamp when connection was created (ISO 8601 date-time format).\"),\n page_limit: z.number().int().describe(\"Maximum number of pages allowed for this connection.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp of last modification (ISO 8601 date-time format).\"),\n disabled_by_system: z.boolean().describe(\"Whether the connection was disabled by the system.\"),\n disabled_by_system_reason: z.string().describe(\"Reason if system disabled the connection.\").nullable().optional(),\n}).describe(\"Connection object details.\");\nexport const RagieListConnectionsConnectionsGetOutput: z.ZodTypeAny = z.object({\n pagination: RagieListConnectionsConnectionsGet_PaginationInfoSchema.nullable(),\n connections: z.array(RagieListConnectionsConnectionsGet_ConnectionSchema).describe(\"List of Connection objects.\"),\n}).describe(\"Response model for listing connections.\");\n\nexport const ragieListConnectionsConnectionsGet = action(\"RAGIE_LIST_CONNECTIONS_CONNECTIONS_GET\", {\n slug: \"ragie-list-connections-connections-get\",\n name: \"List Connections\",\n description: \"Tool to list all connections sorted by creation date descending with pagination support. Use when you need to retrieve connections, optionally filtered by metadata.\",\n input: RagieListConnectionsConnectionsGetInput,\n output: RagieListConnectionsConnectionsGetOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAAwD,EAAE,OAAO;CAC5E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACtF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAC5I,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACxG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;AAClI,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,0DAAwE,EAAE,OAAO;CACrF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC;AACjF,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAM,sDAAoE,EAAE,OAAO;CACjF,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACvD,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C;CAC3E,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kCAAkC;CACvF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;CACpG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;CAC7F,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD;CAC7F,2BAA2B,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,SAAS,4BAA4B;AAMxC,MAAa,qCAAqC,OAAO,0CAA0C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVoE,EAAE,OAAO;EAC7E,YAAY,wDAAwD,SAAS;EAC7E,aAAa,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,6BAA6B;CAClH,CAAC,CAAC,CAAC,SAAS,yCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-connections-connections-get.mjs","names":[],"sources":["../../src/actions/list-connections-connections-get.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieListConnectionsConnectionsGetInput = z.object({\n cursor: z.string().describe(\"Pagination token for navigating to next page.\").optional(),\n filter: z.string().describe(\"Metadata filter supporting operators ($eq, $ne, $gt, $gte, $lt, $lte, $in, $nin) with AND/OR logic.\").optional(),\n page_size: z.number().int().describe(\"Number of items per page, range 1-100, defaults to 10.\").optional(),\n partition: z.string().describe(\"Partition identifier to scope the request. Defaults to default partition if omitted.\").optional(),\n}).describe(\"Request model for listing connections.\");\nconst RagieListConnectionsConnectionsGet_PaginationInfoSchema = z.object({\n next_cursor: z.string().describe(\"Token for retrieving next page of results.\").nullable().optional(),\n total_count: z.number().int().describe(\"Total number of connections available.\").nullable(),\n}).passthrough().describe(\"Pagination information for the response.\");\nconst RagieListConnectionsConnectionsGet_ConnectionSchema = z.object({\n id: z.string().describe(\"Unique connection identifier (UUID).\").nullable(),\n name: z.string().describe(\"Display name of the connection.\").nullable(),\n type: z.string().describe(\"Connection type identifier.\").nullable(),\n source: z.unknown().describe(\"Source specification for the connection.\").nullable().optional(),\n enabled: z.boolean().describe(\"Whether the connection is currently active.\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value metadata pairs.\"),\n created_at: z.string().describe(\"Timestamp when connection was created (ISO 8601 date-time format).\").nullable(),\n page_limit: z.number().int().describe(\"Maximum number of pages allowed for this connection.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp of last modification (ISO 8601 date-time format).\").nullable(),\n disabled_by_system: z.boolean().describe(\"Whether the connection was disabled by the system.\").nullable(),\n disabled_by_system_reason: z.string().describe(\"Reason if system disabled the connection.\").nullable().optional(),\n}).passthrough().describe(\"Connection object details.\");\nexport const RagieListConnectionsConnectionsGetOutput = z.object({\n pagination: RagieListConnectionsConnectionsGet_PaginationInfoSchema.nullable(),\n connections: z.array(RagieListConnectionsConnectionsGet_ConnectionSchema).describe(\"List of Connection objects.\"),\n}).passthrough().describe(\"Response model for listing connections.\");\n\nexport const ragieListConnectionsConnectionsGet = action(\"RAGIE_LIST_CONNECTIONS_CONNECTIONS_GET\", {\n slug: \"ragie-list-connections-connections-get\",\n name: \"List Connections\",\n description: \"Tool to list all connections sorted by creation date descending with pagination support. Use when you need to retrieve connections, optionally filtered by metadata.\",\n input: RagieListConnectionsConnectionsGetInput,\n output: RagieListConnectionsConnectionsGetOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAA0C,EAAE,OAAO;CAC9D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACtF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAC5I,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACxG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;AAClI,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,0DAA0D,EAAE,OAAO;CACvE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAM,sDAAsD,EAAE,OAAO;CACnE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAClE,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACtF,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kCAAkC;CACvF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAC/G,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACxG,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACxG,2BAA2B,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4BAA4B;AAMtD,MAAa,qCAAqC,OAAO,0CAA0C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVsD,EAAE,OAAO;EAC/D,YAAY,wDAAwD,SAAS;EAC7E,aAAa,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,6BAA6B;CAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAOhB;AACV,CAAC"}
@@ -8,25 +8,25 @@ const RagieListDocumentsInput = zod.z.object({
8
8
  partition: zod.z.string().describe("Scopes request to specific partition. If not provided, default behavior varies by account creation date.").optional()
9
9
  }).describe("Request model for listing documents with pagination and filtering support.");
10
10
  const RagieListDocuments_DocumentSchema = zod.z.object({
11
- id: zod.z.string().describe("Unique document identifier (UUID)."),
12
- name: zod.z.string().describe("Document name."),
13
- status: zod.z.string().describe("Document processing status."),
14
- metadata: zod.z.object({}).describe("Key-value pairs of document metadata."),
15
- partition: zod.z.string().describe("Partition the document belongs to."),
16
- created_at: zod.z.string().describe("Document creation timestamp."),
11
+ id: zod.z.string().describe("Unique document identifier (UUID).").nullable(),
12
+ name: zod.z.string().describe("Document name.").nullable(),
13
+ status: zod.z.string().describe("Document processing status.").nullable(),
14
+ metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Key-value pairs of document metadata."),
15
+ partition: zod.z.string().describe("Partition the document belongs to.").nullable(),
16
+ created_at: zod.z.string().describe("Document creation timestamp.").nullable(),
17
17
  page_count: zod.z.union([zod.z.number().int(), zod.z.number()]).nullable().optional(),
18
- updated_at: zod.z.string().describe("Document last update timestamp."),
18
+ updated_at: zod.z.string().describe("Document last update timestamp.").nullable(),
19
19
  chunk_count: zod.z.number().int().describe("Number of chunks the document is split into.").nullable().optional(),
20
20
  external_id: zod.z.string().describe("External identifier for the document.").nullable().optional()
21
- }).describe("Document object with metadata and processing information.");
21
+ }).passthrough().describe("Document object with metadata and processing information.");
22
22
  const RagieListDocuments_PaginationSchema = zod.z.object({
23
23
  next_cursor: zod.z.string().describe("Cursor for next page. Null if no more pages available.").nullable().optional(),
24
- total_count: zod.z.number().int().describe("Total number of documents matching the query.")
25
- }).describe("Pagination metadata for document list.");
24
+ total_count: zod.z.number().int().describe("Total number of documents matching the query.").nullable()
25
+ }).passthrough().describe("Pagination metadata for document list.");
26
26
  const RagieListDocumentsOutput = zod.z.object({
27
27
  documents: zod.z.array(RagieListDocuments_DocumentSchema).describe("List of documents sorted by created_at descending."),
28
28
  pagination: RagieListDocuments_PaginationSchema.nullable()
29
- }).describe("Response model for listing documents.");
29
+ }).passthrough().describe("Response model for listing documents.");
30
30
  const ragieListDocuments = require_action.action("RAGIE_LIST_DOCUMENTS", {
31
31
  slug: "ragie-list-documents",
32
32
  name: "List Documents",
@@ -1 +1 @@
1
- {"version":3,"file":"list-documents.cjs","names":["z","action"],"sources":["../../src/actions/list-documents.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieListDocumentsInput: z.ZodTypeAny = z.object({\n cursor: z.string().describe(\"An opaque cursor for pagination. Use the next_cursor from previous response to get next page.\").optional(),\n filter: z.string().describe(\"Filter expression for documents. Supports operators: $eq, $ne, $gt, $gte, $lt, $lte, $in, $nin. Can combine with AND/OR logic.\").optional(),\n page_size: z.number().int().describe(\"The number of items per page. Must be between 1 and 100. Default is 10.\").optional(),\n partition: z.string().describe(\"Scopes request to specific partition. If not provided, default behavior varies by account creation date.\").optional(),\n}).describe(\"Request model for listing documents with pagination and filtering support.\");\nconst RagieListDocuments_DocumentSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique document identifier (UUID).\"),\n name: z.string().describe(\"Document name.\"),\n status: z.string().describe(\"Document processing status.\"),\n metadata: z.object({}).describe(\"Key-value pairs of document metadata.\"),\n partition: z.string().describe(\"Partition the document belongs to.\"),\n created_at: z.string().describe(\"Document creation timestamp.\"),\n page_count: z.union([z.number().int(), z.number()]).nullable().optional(),\n updated_at: z.string().describe(\"Document last update timestamp.\"),\n chunk_count: z.number().int().describe(\"Number of chunks the document is split into.\").nullable().optional(),\n external_id: z.string().describe(\"External identifier for the document.\").nullable().optional(),\n}).describe(\"Document object with metadata and processing information.\");\nconst RagieListDocuments_PaginationSchema: z.ZodTypeAny = z.object({\n next_cursor: z.string().describe(\"Cursor for next page. Null if no more pages available.\").nullable().optional(),\n total_count: z.number().int().describe(\"Total number of documents matching the query.\"),\n}).describe(\"Pagination metadata for document list.\");\nexport const RagieListDocumentsOutput: z.ZodTypeAny = z.object({\n documents: z.array(RagieListDocuments_DocumentSchema).describe(\"List of documents sorted by created_at descending.\"),\n pagination: RagieListDocuments_PaginationSchema.nullable(),\n}).describe(\"Response model for listing documents.\");\n\nexport const ragieListDocuments = action(\"RAGIE_LIST_DOCUMENTS\", {\n slug: \"ragie-list-documents\",\n name: \"List Documents\",\n description: \"Tool to list all documents sorted by creation date (descending) with pagination support. Use when you need to browse or retrieve document metadata. Supports filtering and pagination up to 100 items per page.\",\n input: RagieListDocumentsInput,\n output: RagieListDocumentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwCA,IAAAA,EAAE,OAAO;CAC5D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CACtI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gIAAgI,CAAC,CAAC,SAAS;CACvK,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACzH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,SAAS,4EAA4E;AACxF,MAAM,oCAAkDA,IAAAA,EAAE,OAAO;CAC/D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB;CAC1C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACzD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uCAAuC;CACvE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACnE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CAC9D,YAAYA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CACjE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,sCAAoDA,IAAAA,EAAE,OAAO;CACjE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C;AACxF,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,WAAWA,IAAAA,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,oDAAoD;CACnH,YAAY,oCAAoC,SAAS;AAC3D,CAAC,CAAC,CAAC,SAAS,uCAAuC;AAEnD,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-documents.cjs","names":["z","action"],"sources":["../../src/actions/list-documents.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieListDocumentsInput = z.object({\n cursor: z.string().describe(\"An opaque cursor for pagination. Use the next_cursor from previous response to get next page.\").optional(),\n filter: z.string().describe(\"Filter expression for documents. Supports operators: $eq, $ne, $gt, $gte, $lt, $lte, $in, $nin. Can combine with AND/OR logic.\").optional(),\n page_size: z.number().int().describe(\"The number of items per page. Must be between 1 and 100. Default is 10.\").optional(),\n partition: z.string().describe(\"Scopes request to specific partition. If not provided, default behavior varies by account creation date.\").optional(),\n}).describe(\"Request model for listing documents with pagination and filtering support.\");\nconst RagieListDocuments_DocumentSchema = z.object({\n id: z.string().describe(\"Unique document identifier (UUID).\").nullable(),\n name: z.string().describe(\"Document name.\").nullable(),\n status: z.string().describe(\"Document processing status.\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Key-value pairs of document metadata.\"),\n partition: z.string().describe(\"Partition the document belongs to.\").nullable(),\n created_at: z.string().describe(\"Document creation timestamp.\").nullable(),\n page_count: z.union([z.number().int(), z.number()]).nullable().optional(),\n updated_at: z.string().describe(\"Document last update timestamp.\").nullable(),\n chunk_count: z.number().int().describe(\"Number of chunks the document is split into.\").nullable().optional(),\n external_id: z.string().describe(\"External identifier for the document.\").nullable().optional(),\n}).passthrough().describe(\"Document object with metadata and processing information.\");\nconst RagieListDocuments_PaginationSchema = z.object({\n next_cursor: z.string().describe(\"Cursor for next page. Null if no more pages available.\").nullable().optional(),\n total_count: z.number().int().describe(\"Total number of documents matching the query.\").nullable(),\n}).passthrough().describe(\"Pagination metadata for document list.\");\nexport const RagieListDocumentsOutput = z.object({\n documents: z.array(RagieListDocuments_DocumentSchema).describe(\"List of documents sorted by created_at descending.\"),\n pagination: RagieListDocuments_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response model for listing documents.\");\n\nexport const ragieListDocuments = action(\"RAGIE_LIST_DOCUMENTS\", {\n slug: \"ragie-list-documents\",\n name: \"List Documents\",\n description: \"Tool to list all documents sorted by creation date (descending) with pagination support. Use when you need to browse or retrieve document metadata. Supports filtering and pagination up to 100 items per page.\",\n input: RagieListDocumentsInput,\n output: RagieListDocumentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CACtI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gIAAgI,CAAC,CAAC,SAAS;CACvK,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACzH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,SAAS,4EAA4E;AACxF,MAAM,oCAAoCA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACrD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACpE,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uCAAuC;CAC5F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC9E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACzE,YAAYA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC5E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AACrF,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,WAAWA,IAAAA,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,oDAAoD;CACnH,YAAY,oCAAoC,SAAS;AAC3D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAEjE,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,36 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-documents.d.ts
4
- declare const RagieListDocumentsInput: z.ZodTypeAny;
5
- declare const RagieListDocumentsOutput: z.ZodTypeAny;
6
- declare const ragieListDocuments: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RagieListDocumentsInput: z.ZodObject<{
5
+ cursor: z.ZodOptional<z.ZodString>;
6
+ filter: z.ZodOptional<z.ZodString>;
7
+ page_size: z.ZodOptional<z.ZodNumber>;
8
+ partition: z.ZodOptional<z.ZodString>;
9
+ }, z.core.$strip>;
10
+ declare const RagieListDocumentsOutput: z.ZodObject<{
11
+ documents: z.ZodArray<z.ZodObject<{
12
+ id: z.ZodNullable<z.ZodString>;
13
+ name: z.ZodNullable<z.ZodString>;
14
+ status: z.ZodNullable<z.ZodString>;
15
+ metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
16
+ partition: z.ZodNullable<z.ZodString>;
17
+ created_at: z.ZodNullable<z.ZodString>;
18
+ page_count: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodNumber]>>>;
19
+ updated_at: z.ZodNullable<z.ZodString>;
20
+ chunk_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
21
+ external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ }, z.core.$loose>>;
23
+ pagination: z.ZodNullable<z.ZodObject<{
24
+ next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ total_count: z.ZodNullable<z.ZodNumber>;
26
+ }, z.core.$loose>>;
27
+ }, z.core.$loose>;
28
+ declare const ragieListDocuments: import("@keystrokehq/action").WorkflowActionDefinition<{
29
+ cursor?: string | undefined;
30
+ filter?: string | undefined;
31
+ page_size?: number | undefined;
32
+ partition?: string | undefined;
33
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
34
  //#endregion
8
35
  export { ragieListDocuments };
9
36
  //# sourceMappingURL=list-documents.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-documents.d.cts","names":[],"sources":["../../src/actions/list-documents.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAKiD;AAAA,cAiB5E,wBAAA,EAA0B,CAAA,CAAE,UAGW;AAAA,cAEvC,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-documents.d.cts","names":[],"sources":["../../src/actions/list-documents.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;cAsBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAKxB,kBAAA,gCAAkB,wBAAA"}
@@ -1,9 +1,36 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-documents.d.ts
4
- declare const RagieListDocumentsInput: z.ZodTypeAny;
5
- declare const RagieListDocumentsOutput: z.ZodTypeAny;
6
- declare const ragieListDocuments: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RagieListDocumentsInput: z.ZodObject<{
5
+ cursor: z.ZodOptional<z.ZodString>;
6
+ filter: z.ZodOptional<z.ZodString>;
7
+ page_size: z.ZodOptional<z.ZodNumber>;
8
+ partition: z.ZodOptional<z.ZodString>;
9
+ }, z.core.$strip>;
10
+ declare const RagieListDocumentsOutput: z.ZodObject<{
11
+ documents: z.ZodArray<z.ZodObject<{
12
+ id: z.ZodNullable<z.ZodString>;
13
+ name: z.ZodNullable<z.ZodString>;
14
+ status: z.ZodNullable<z.ZodString>;
15
+ metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
16
+ partition: z.ZodNullable<z.ZodString>;
17
+ created_at: z.ZodNullable<z.ZodString>;
18
+ page_count: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodNumber]>>>;
19
+ updated_at: z.ZodNullable<z.ZodString>;
20
+ chunk_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
21
+ external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ }, z.core.$loose>>;
23
+ pagination: z.ZodNullable<z.ZodObject<{
24
+ next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ total_count: z.ZodNullable<z.ZodNumber>;
26
+ }, z.core.$loose>>;
27
+ }, z.core.$loose>;
28
+ declare const ragieListDocuments: import("@keystrokehq/action").WorkflowActionDefinition<{
29
+ cursor?: string | undefined;
30
+ filter?: string | undefined;
31
+ page_size?: number | undefined;
32
+ partition?: string | undefined;
33
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
34
  //#endregion
8
35
  export { ragieListDocuments };
9
36
  //# sourceMappingURL=list-documents.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-documents.d.mts","names":[],"sources":["../../src/actions/list-documents.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAKiD;AAAA,cAiB5E,wBAAA,EAA0B,CAAA,CAAE,UAGW;AAAA,cAEvC,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-documents.d.mts","names":[],"sources":["../../src/actions/list-documents.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;cAsBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAKxB,kBAAA,gCAAkB,wBAAA"}
@@ -8,21 +8,21 @@ const RagieListDocumentsInput = z.object({
8
8
  partition: z.string().describe("Scopes request to specific partition. If not provided, default behavior varies by account creation date.").optional()
9
9
  }).describe("Request model for listing documents with pagination and filtering support.");
10
10
  const RagieListDocuments_DocumentSchema = z.object({
11
- id: z.string().describe("Unique document identifier (UUID)."),
12
- name: z.string().describe("Document name."),
13
- status: z.string().describe("Document processing status."),
14
- metadata: z.object({}).describe("Key-value pairs of document metadata."),
15
- partition: z.string().describe("Partition the document belongs to."),
16
- created_at: z.string().describe("Document creation timestamp."),
11
+ id: z.string().describe("Unique document identifier (UUID).").nullable(),
12
+ name: z.string().describe("Document name.").nullable(),
13
+ status: z.string().describe("Document processing status.").nullable(),
14
+ metadata: z.record(z.string(), z.unknown()).describe("Key-value pairs of document metadata."),
15
+ partition: z.string().describe("Partition the document belongs to.").nullable(),
16
+ created_at: z.string().describe("Document creation timestamp.").nullable(),
17
17
  page_count: z.union([z.number().int(), z.number()]).nullable().optional(),
18
- updated_at: z.string().describe("Document last update timestamp."),
18
+ updated_at: z.string().describe("Document last update timestamp.").nullable(),
19
19
  chunk_count: z.number().int().describe("Number of chunks the document is split into.").nullable().optional(),
20
20
  external_id: z.string().describe("External identifier for the document.").nullable().optional()
21
- }).describe("Document object with metadata and processing information.");
21
+ }).passthrough().describe("Document object with metadata and processing information.");
22
22
  const RagieListDocuments_PaginationSchema = z.object({
23
23
  next_cursor: z.string().describe("Cursor for next page. Null if no more pages available.").nullable().optional(),
24
- total_count: z.number().int().describe("Total number of documents matching the query.")
25
- }).describe("Pagination metadata for document list.");
24
+ total_count: z.number().int().describe("Total number of documents matching the query.").nullable()
25
+ }).passthrough().describe("Pagination metadata for document list.");
26
26
  const ragieListDocuments = action("RAGIE_LIST_DOCUMENTS", {
27
27
  slug: "ragie-list-documents",
28
28
  name: "List Documents",
@@ -31,7 +31,7 @@ const ragieListDocuments = action("RAGIE_LIST_DOCUMENTS", {
31
31
  output: z.object({
32
32
  documents: z.array(RagieListDocuments_DocumentSchema).describe("List of documents sorted by created_at descending."),
33
33
  pagination: RagieListDocuments_PaginationSchema.nullable()
34
- }).describe("Response model for listing documents.")
34
+ }).passthrough().describe("Response model for listing documents.")
35
35
  });
36
36
  //#endregion
37
37
  export { ragieListDocuments };
@@ -1 +1 @@
1
- {"version":3,"file":"list-documents.mjs","names":[],"sources":["../../src/actions/list-documents.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieListDocumentsInput: z.ZodTypeAny = z.object({\n cursor: z.string().describe(\"An opaque cursor for pagination. Use the next_cursor from previous response to get next page.\").optional(),\n filter: z.string().describe(\"Filter expression for documents. Supports operators: $eq, $ne, $gt, $gte, $lt, $lte, $in, $nin. Can combine with AND/OR logic.\").optional(),\n page_size: z.number().int().describe(\"The number of items per page. Must be between 1 and 100. Default is 10.\").optional(),\n partition: z.string().describe(\"Scopes request to specific partition. If not provided, default behavior varies by account creation date.\").optional(),\n}).describe(\"Request model for listing documents with pagination and filtering support.\");\nconst RagieListDocuments_DocumentSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique document identifier (UUID).\"),\n name: z.string().describe(\"Document name.\"),\n status: z.string().describe(\"Document processing status.\"),\n metadata: z.object({}).describe(\"Key-value pairs of document metadata.\"),\n partition: z.string().describe(\"Partition the document belongs to.\"),\n created_at: z.string().describe(\"Document creation timestamp.\"),\n page_count: z.union([z.number().int(), z.number()]).nullable().optional(),\n updated_at: z.string().describe(\"Document last update timestamp.\"),\n chunk_count: z.number().int().describe(\"Number of chunks the document is split into.\").nullable().optional(),\n external_id: z.string().describe(\"External identifier for the document.\").nullable().optional(),\n}).describe(\"Document object with metadata and processing information.\");\nconst RagieListDocuments_PaginationSchema: z.ZodTypeAny = z.object({\n next_cursor: z.string().describe(\"Cursor for next page. Null if no more pages available.\").nullable().optional(),\n total_count: z.number().int().describe(\"Total number of documents matching the query.\"),\n}).describe(\"Pagination metadata for document list.\");\nexport const RagieListDocumentsOutput: z.ZodTypeAny = z.object({\n documents: z.array(RagieListDocuments_DocumentSchema).describe(\"List of documents sorted by created_at descending.\"),\n pagination: RagieListDocuments_PaginationSchema.nullable(),\n}).describe(\"Response model for listing documents.\");\n\nexport const ragieListDocuments = action(\"RAGIE_LIST_DOCUMENTS\", {\n slug: \"ragie-list-documents\",\n name: \"List Documents\",\n description: \"Tool to list all documents sorted by creation date (descending) with pagination support. Use when you need to browse or retrieve document metadata. Supports filtering and pagination up to 100 items per page.\",\n input: RagieListDocumentsInput,\n output: RagieListDocumentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwC,EAAE,OAAO;CAC5D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CACtI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gIAAgI,CAAC,CAAC,SAAS;CACvK,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACzH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,SAAS,4EAA4E;AACxF,MAAM,oCAAkD,EAAE,OAAO;CAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB;CAC1C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACzD,UAAU,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uCAAuC;CACvE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACnE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CAC9D,YAAY,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CACjE,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,sCAAoD,EAAE,OAAO;CACjE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C;AACxF,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAMpD,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVoD,EAAE,OAAO;EAC7D,WAAW,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,oDAAoD;EACnH,YAAY,oCAAoC,SAAS;CAC3D,CAAC,CAAC,CAAC,SAAS,uCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-documents.mjs","names":[],"sources":["../../src/actions/list-documents.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieListDocumentsInput = z.object({\n cursor: z.string().describe(\"An opaque cursor for pagination. Use the next_cursor from previous response to get next page.\").optional(),\n filter: z.string().describe(\"Filter expression for documents. Supports operators: $eq, $ne, $gt, $gte, $lt, $lte, $in, $nin. Can combine with AND/OR logic.\").optional(),\n page_size: z.number().int().describe(\"The number of items per page. Must be between 1 and 100. Default is 10.\").optional(),\n partition: z.string().describe(\"Scopes request to specific partition. If not provided, default behavior varies by account creation date.\").optional(),\n}).describe(\"Request model for listing documents with pagination and filtering support.\");\nconst RagieListDocuments_DocumentSchema = z.object({\n id: z.string().describe(\"Unique document identifier (UUID).\").nullable(),\n name: z.string().describe(\"Document name.\").nullable(),\n status: z.string().describe(\"Document processing status.\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Key-value pairs of document metadata.\"),\n partition: z.string().describe(\"Partition the document belongs to.\").nullable(),\n created_at: z.string().describe(\"Document creation timestamp.\").nullable(),\n page_count: z.union([z.number().int(), z.number()]).nullable().optional(),\n updated_at: z.string().describe(\"Document last update timestamp.\").nullable(),\n chunk_count: z.number().int().describe(\"Number of chunks the document is split into.\").nullable().optional(),\n external_id: z.string().describe(\"External identifier for the document.\").nullable().optional(),\n}).passthrough().describe(\"Document object with metadata and processing information.\");\nconst RagieListDocuments_PaginationSchema = z.object({\n next_cursor: z.string().describe(\"Cursor for next page. Null if no more pages available.\").nullable().optional(),\n total_count: z.number().int().describe(\"Total number of documents matching the query.\").nullable(),\n}).passthrough().describe(\"Pagination metadata for document list.\");\nexport const RagieListDocumentsOutput = z.object({\n documents: z.array(RagieListDocuments_DocumentSchema).describe(\"List of documents sorted by created_at descending.\"),\n pagination: RagieListDocuments_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response model for listing documents.\");\n\nexport const ragieListDocuments = action(\"RAGIE_LIST_DOCUMENTS\", {\n slug: \"ragie-list-documents\",\n name: \"List Documents\",\n description: \"Tool to list all documents sorted by creation date (descending) with pagination support. Use when you need to browse or retrieve document metadata. Supports filtering and pagination up to 100 items per page.\",\n input: RagieListDocumentsInput,\n output: RagieListDocumentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CACtI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gIAAgI,CAAC,CAAC,SAAS;CACvK,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACzH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,SAAS,4EAA4E;AACxF,MAAM,oCAAoC,EAAE,OAAO;CACjD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACrD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACpE,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uCAAuC;CAC5F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC9E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACzE,YAAY,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC5E,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AACrF,MAAM,sCAAsC,EAAE,OAAO;CACnD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAMlE,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVsC,EAAE,OAAO;EAC/C,WAAW,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,oDAAoD;EACnH,YAAY,oCAAoC,SAAS;CAC3D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAOhB;AACV,CAAC"}
@@ -8,22 +8,22 @@ const RagieListEntitiesByDocumentInput = zod.z.object({
8
8
  document_id: zod.z.string().describe("The ID of the document from which to retrieve entities. Must be a valid UUID.")
9
9
  }).describe("Request model for listing entities extracted from a specific document.");
10
10
  const RagieListEntitiesByDocument_EntityItemSchema = zod.z.object({
11
- id: zod.z.string().describe("Unique identifier of the entity."),
12
- data: zod.z.object({}).describe("The extracted entity data as a key-value mapping."),
11
+ id: zod.z.string().describe("Unique identifier of the entity.").nullable(),
12
+ data: zod.z.record(zod.z.string(), zod.z.unknown()).describe("The extracted entity data as a key-value mapping."),
13
13
  chunk_id: zod.z.string().describe("Optional ID of the chunk if entity is chunk-scoped. None if entity is document-scoped.").nullable().optional(),
14
- created_at: zod.z.string().describe("Timestamp when the entity was created (ISO 8601 datetime)."),
15
- updated_at: zod.z.string().describe("Timestamp when the entity was last updated (ISO 8601 datetime)."),
16
- document_id: zod.z.string().describe("ID of the document containing this entity."),
17
- instruction_id: zod.z.string().describe("ID of the instruction that generated this entity.")
18
- }).describe("Represents a single extracted entity from a document.");
14
+ created_at: zod.z.string().describe("Timestamp when the entity was created (ISO 8601 datetime).").nullable(),
15
+ updated_at: zod.z.string().describe("Timestamp when the entity was last updated (ISO 8601 datetime).").nullable(),
16
+ document_id: zod.z.string().describe("ID of the document containing this entity.").nullable(),
17
+ instruction_id: zod.z.string().describe("ID of the instruction that generated this entity.").nullable()
18
+ }).passthrough().describe("Represents a single extracted entity from a document.");
19
19
  const RagieListEntitiesByDocument_PaginationSchema = zod.z.object({
20
20
  next_cursor: zod.z.string().describe("Cursor for the next page of results. None if no more pages available.").nullable().optional(),
21
- total_count: zod.z.number().int().describe("Total number of entities available for this document.")
22
- }).describe("Pagination metadata for the entity list response.");
21
+ total_count: zod.z.number().int().describe("Total number of entities available for this document.").nullable()
22
+ }).passthrough().describe("Pagination metadata for the entity list response.");
23
23
  const RagieListEntitiesByDocumentOutput = zod.z.object({
24
24
  entities: zod.z.array(RagieListEntitiesByDocument_EntityItemSchema).describe("List of extracted entities from the document."),
25
25
  pagination: RagieListEntitiesByDocument_PaginationSchema.nullable()
26
- }).describe("Response model for listing entities from a document.");
26
+ }).passthrough().describe("Response model for listing entities from a document.");
27
27
  const ragieListEntitiesByDocument = require_action.action("RAGIE_LIST_ENTITIES_BY_DOCUMENT", {
28
28
  slug: "ragie-list-entities-by-document",
29
29
  name: "List Entities By Document",