@hydradb/sdk 0.0.1

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 (413) hide show
  1. package/LICENSE +24 -0
  2. package/README.md +578 -0
  3. package/dist/BaseClient.d.ts +42 -0
  4. package/dist/BaseClient.js +65 -0
  5. package/dist/Client.d.ts +58 -0
  6. package/dist/Client.js +142 -0
  7. package/dist/api/errors/BadRequestError.d.ts +5 -0
  8. package/dist/api/errors/BadRequestError.js +44 -0
  9. package/dist/api/errors/ForbiddenError.d.ts +5 -0
  10. package/dist/api/errors/ForbiddenError.js +44 -0
  11. package/dist/api/errors/InternalServerError.d.ts +5 -0
  12. package/dist/api/errors/InternalServerError.js +44 -0
  13. package/dist/api/errors/NotFoundError.d.ts +5 -0
  14. package/dist/api/errors/NotFoundError.js +44 -0
  15. package/dist/api/errors/ServiceUnavailableError.d.ts +5 -0
  16. package/dist/api/errors/ServiceUnavailableError.js +44 -0
  17. package/dist/api/errors/TooManyRequestsError.d.ts +6 -0
  18. package/dist/api/errors/TooManyRequestsError.js +44 -0
  19. package/dist/api/errors/UnauthorizedError.d.ts +5 -0
  20. package/dist/api/errors/UnauthorizedError.js +44 -0
  21. package/dist/api/errors/UnprocessableEntityError.d.ts +5 -0
  22. package/dist/api/errors/UnprocessableEntityError.js +44 -0
  23. package/dist/api/errors/index.d.ts +8 -0
  24. package/dist/api/errors/index.js +24 -0
  25. package/dist/api/index.d.ts +3 -0
  26. package/dist/api/index.js +19 -0
  27. package/dist/api/resources/data/client/Client.d.ts +33 -0
  28. package/dist/api/resources/data/client/Client.js +108 -0
  29. package/dist/api/resources/data/client/index.d.ts +1 -0
  30. package/dist/api/resources/data/client/index.js +17 -0
  31. package/dist/api/resources/data/client/requests/SourceDeleteRequest.d.ts +13 -0
  32. package/dist/api/resources/data/client/requests/SourceDeleteRequest.js +3 -0
  33. package/dist/api/resources/data/client/requests/index.d.ts +1 -0
  34. package/dist/api/resources/data/client/requests/index.js +2 -0
  35. package/dist/api/resources/data/exports.d.ts +2 -0
  36. package/dist/api/resources/data/exports.js +21 -0
  37. package/dist/api/resources/data/index.d.ts +1 -0
  38. package/dist/api/resources/data/index.js +17 -0
  39. package/dist/api/resources/embeddings/client/Client.d.ts +111 -0
  40. package/dist/api/resources/embeddings/client/Client.js +339 -0
  41. package/dist/api/resources/embeddings/client/index.d.ts +1 -0
  42. package/dist/api/resources/embeddings/client/index.js +17 -0
  43. package/dist/api/resources/embeddings/client/requests/BodyFilterRawEmbeddingsEndpointEmbeddingsFilterRawEmbeddingsPost.d.ts +21 -0
  44. package/dist/api/resources/embeddings/client/requests/BodyFilterRawEmbeddingsEndpointEmbeddingsFilterRawEmbeddingsPost.js +3 -0
  45. package/dist/api/resources/embeddings/client/requests/BodyInsertRawEmbeddingsEndpointEmbeddingsInsertRawEmbeddingsPost.d.ts +36 -0
  46. package/dist/api/resources/embeddings/client/requests/BodyInsertRawEmbeddingsEndpointEmbeddingsInsertRawEmbeddingsPost.js +3 -0
  47. package/dist/api/resources/embeddings/client/requests/BodySearchRawEmbeddingsEndpointEmbeddingsSearchRawEmbeddingsPost.d.ts +22 -0
  48. package/dist/api/resources/embeddings/client/requests/BodySearchRawEmbeddingsEndpointEmbeddingsSearchRawEmbeddingsPost.js +3 -0
  49. package/dist/api/resources/embeddings/client/requests/DeleteEmbeddingsRequest.d.ts +16 -0
  50. package/dist/api/resources/embeddings/client/requests/DeleteEmbeddingsRequest.js +3 -0
  51. package/dist/api/resources/embeddings/client/requests/index.d.ts +4 -0
  52. package/dist/api/resources/embeddings/client/requests/index.js +2 -0
  53. package/dist/api/resources/embeddings/exports.d.ts +2 -0
  54. package/dist/api/resources/embeddings/exports.js +21 -0
  55. package/dist/api/resources/embeddings/index.d.ts +1 -0
  56. package/dist/api/resources/embeddings/index.js +17 -0
  57. package/dist/api/resources/fetch/client/Client.d.ts +72 -0
  58. package/dist/api/resources/fetch/client/Client.js +252 -0
  59. package/dist/api/resources/fetch/client/index.d.ts +1 -0
  60. package/dist/api/resources/fetch/client/index.js +17 -0
  61. package/dist/api/resources/fetch/client/requests/GraphRelationsBySourceIdFetchRequest.d.ts +19 -0
  62. package/dist/api/resources/fetch/client/requests/GraphRelationsBySourceIdFetchRequest.js +3 -0
  63. package/dist/api/resources/fetch/client/requests/ListContentRequest.d.ts +25 -0
  64. package/dist/api/resources/fetch/client/requests/ListContentRequest.js +3 -0
  65. package/dist/api/resources/fetch/client/requests/SourceFetchRequest.d.ts +20 -0
  66. package/dist/api/resources/fetch/client/requests/SourceFetchRequest.js +3 -0
  67. package/dist/api/resources/fetch/client/requests/index.d.ts +3 -0
  68. package/dist/api/resources/fetch/client/requests/index.js +2 -0
  69. package/dist/api/resources/fetch/exports.d.ts +2 -0
  70. package/dist/api/resources/fetch/exports.js +21 -0
  71. package/dist/api/resources/fetch/index.d.ts +2 -0
  72. package/dist/api/resources/fetch/index.js +18 -0
  73. package/dist/api/resources/fetch/types/ListDataFetchResponse.d.ts +2 -0
  74. package/dist/api/resources/fetch/types/ListDataFetchResponse.js +3 -0
  75. package/dist/api/resources/fetch/types/index.d.ts +1 -0
  76. package/dist/api/resources/fetch/types/index.js +17 -0
  77. package/dist/api/resources/graphHealth/client/Client.d.ts +32 -0
  78. package/dist/api/resources/graphHealth/client/Client.js +115 -0
  79. package/dist/api/resources/graphHealth/client/index.d.ts +1 -0
  80. package/dist/api/resources/graphHealth/client/index.js +17 -0
  81. package/dist/api/resources/graphHealth/client/requests/GetSuperNodesGraphHealthSuperNodesGetRequest.d.ts +16 -0
  82. package/dist/api/resources/graphHealth/client/requests/GetSuperNodesGraphHealthSuperNodesGetRequest.js +3 -0
  83. package/dist/api/resources/graphHealth/client/requests/index.d.ts +1 -0
  84. package/dist/api/resources/graphHealth/client/requests/index.js +2 -0
  85. package/dist/api/resources/graphHealth/exports.d.ts +2 -0
  86. package/dist/api/resources/graphHealth/exports.js +21 -0
  87. package/dist/api/resources/graphHealth/index.d.ts +1 -0
  88. package/dist/api/resources/graphHealth/index.js +17 -0
  89. package/dist/api/resources/index.d.ts +19 -0
  90. package/dist/api/resources/index.js +48 -0
  91. package/dist/api/resources/ingestionPipeline/client/Client.d.ts +27 -0
  92. package/dist/api/resources/ingestionPipeline/client/Client.js +90 -0
  93. package/dist/api/resources/ingestionPipeline/client/index.d.ts +1 -0
  94. package/dist/api/resources/ingestionPipeline/client/index.js +17 -0
  95. package/dist/api/resources/ingestionPipeline/client/requests/MemoryIngestRequest.d.ts +19 -0
  96. package/dist/api/resources/ingestionPipeline/client/requests/MemoryIngestRequest.js +3 -0
  97. package/dist/api/resources/ingestionPipeline/client/requests/index.d.ts +1 -0
  98. package/dist/api/resources/ingestionPipeline/client/requests/index.js +2 -0
  99. package/dist/api/resources/ingestionPipeline/exports.d.ts +2 -0
  100. package/dist/api/resources/ingestionPipeline/exports.js +21 -0
  101. package/dist/api/resources/ingestionPipeline/index.d.ts +1 -0
  102. package/dist/api/resources/ingestionPipeline/index.js +17 -0
  103. package/dist/api/resources/key/client/Client.d.ts +30 -0
  104. package/dist/api/resources/key/client/Client.js +104 -0
  105. package/dist/api/resources/key/client/index.d.ts +1 -0
  106. package/dist/api/resources/key/client/index.js +17 -0
  107. package/dist/api/resources/key/client/requests/ApiKeyCreateRequest.d.ts +14 -0
  108. package/dist/api/resources/key/client/requests/ApiKeyCreateRequest.js +3 -0
  109. package/dist/api/resources/key/client/requests/index.d.ts +1 -0
  110. package/dist/api/resources/key/client/requests/index.js +2 -0
  111. package/dist/api/resources/key/exports.d.ts +2 -0
  112. package/dist/api/resources/key/exports.js +21 -0
  113. package/dist/api/resources/key/index.d.ts +1 -0
  114. package/dist/api/resources/key/index.js +17 -0
  115. package/dist/api/resources/recall/client/Client.d.ts +97 -0
  116. package/dist/api/resources/recall/client/Client.js +324 -0
  117. package/dist/api/resources/recall/client/index.d.ts +1 -0
  118. package/dist/api/resources/recall/client/index.js +17 -0
  119. package/dist/api/resources/recall/client/requests/FullTextSearchRequest.d.ts +22 -0
  120. package/dist/api/resources/recall/client/requests/FullTextSearchRequest.js +3 -0
  121. package/dist/api/resources/recall/client/requests/QnASearchRequest.d.ts +38 -0
  122. package/dist/api/resources/recall/client/requests/QnASearchRequest.js +3 -0
  123. package/dist/api/resources/recall/client/requests/index.d.ts +2 -0
  124. package/dist/api/resources/recall/client/requests/index.js +2 -0
  125. package/dist/api/resources/recall/exports.d.ts +2 -0
  126. package/dist/api/resources/recall/exports.js +21 -0
  127. package/dist/api/resources/recall/index.d.ts +1 -0
  128. package/dist/api/resources/recall/index.js +17 -0
  129. package/dist/api/resources/tenant/client/Client.d.ts +124 -0
  130. package/dist/api/resources/tenant/client/Client.js +456 -0
  131. package/dist/api/resources/tenant/client/index.d.ts +1 -0
  132. package/dist/api/resources/tenant/client/index.js +17 -0
  133. package/dist/api/resources/tenant/client/requests/DeleteTenantTenantRequest.d.ts +10 -0
  134. package/dist/api/resources/tenant/client/requests/DeleteTenantTenantRequest.js +3 -0
  135. package/dist/api/resources/tenant/client/requests/GetInfraStatusTenantRequest.d.ts +10 -0
  136. package/dist/api/resources/tenant/client/requests/GetInfraStatusTenantRequest.js +3 -0
  137. package/dist/api/resources/tenant/client/requests/GetSubTenantIdsTenantRequest.d.ts +10 -0
  138. package/dist/api/resources/tenant/client/requests/GetSubTenantIdsTenantRequest.js +3 -0
  139. package/dist/api/resources/tenant/client/requests/MonitorTenantRequest.d.ts +10 -0
  140. package/dist/api/resources/tenant/client/requests/MonitorTenantRequest.js +3 -0
  141. package/dist/api/resources/tenant/client/requests/TenantCreateRequest.d.ts +17 -0
  142. package/dist/api/resources/tenant/client/requests/TenantCreateRequest.js +3 -0
  143. package/dist/api/resources/tenant/client/requests/index.d.ts +5 -0
  144. package/dist/api/resources/tenant/client/requests/index.js +2 -0
  145. package/dist/api/resources/tenant/exports.d.ts +2 -0
  146. package/dist/api/resources/tenant/exports.js +21 -0
  147. package/dist/api/resources/tenant/index.d.ts +1 -0
  148. package/dist/api/resources/tenant/index.js +17 -0
  149. package/dist/api/resources/upload/client/Client.d.ts +92 -0
  150. package/dist/api/resources/upload/client/Client.js +349 -0
  151. package/dist/api/resources/upload/client/index.d.ts +1 -0
  152. package/dist/api/resources/upload/client/index.js +17 -0
  153. package/dist/api/resources/upload/client/requests/BodyAddMemoryMemoriesAddMemoryPost.d.ts +18 -0
  154. package/dist/api/resources/upload/client/requests/BodyAddMemoryMemoriesAddMemoryPost.js +3 -0
  155. package/dist/api/resources/upload/client/requests/BodyUploadKnowledgeIngestionUploadKnowledgePost.d.ts +23 -0
  156. package/dist/api/resources/upload/client/requests/BodyUploadKnowledgeIngestionUploadKnowledgePost.js +3 -0
  157. package/dist/api/resources/upload/client/requests/DeleteMemoryUploadRequest.d.ts +15 -0
  158. package/dist/api/resources/upload/client/requests/DeleteMemoryUploadRequest.js +3 -0
  159. package/dist/api/resources/upload/client/requests/VerifyProcessingUploadRequest.d.ts +16 -0
  160. package/dist/api/resources/upload/client/requests/VerifyProcessingUploadRequest.js +3 -0
  161. package/dist/api/resources/upload/client/requests/index.d.ts +4 -0
  162. package/dist/api/resources/upload/client/requests/index.js +2 -0
  163. package/dist/api/resources/upload/exports.d.ts +2 -0
  164. package/dist/api/resources/upload/exports.js +21 -0
  165. package/dist/api/resources/upload/index.d.ts +1 -0
  166. package/dist/api/resources/upload/index.js +17 -0
  167. package/dist/api/types/ActualErrorResponse.d.ts +4 -0
  168. package/dist/api/types/ActualErrorResponse.js +3 -0
  169. package/dist/api/types/AddMemoryResponse.d.ts +14 -0
  170. package/dist/api/types/AddMemoryResponse.js +3 -0
  171. package/dist/api/types/ApiKeyCreateResponse.d.ts +14 -0
  172. package/dist/api/types/ApiKeyCreateResponse.js +3 -0
  173. package/dist/api/types/AttachmentModel.d.ts +17 -0
  174. package/dist/api/types/AttachmentModel.js +3 -0
  175. package/dist/api/types/BatchProcessingStatus.d.ts +5 -0
  176. package/dist/api/types/BatchProcessingStatus.js +3 -0
  177. package/dist/api/types/Bm25OperatorType.d.ts +6 -0
  178. package/dist/api/types/Bm25OperatorType.js +9 -0
  179. package/dist/api/types/CollectionStats.d.ts +6 -0
  180. package/dist/api/types/CollectionStats.js +3 -0
  181. package/dist/api/types/ContentFilter.d.ts +24 -0
  182. package/dist/api/types/ContentFilter.js +3 -0
  183. package/dist/api/types/ContentModel.d.ts +14 -0
  184. package/dist/api/types/ContentModel.js +3 -0
  185. package/dist/api/types/CortexModelsResponseCommonsActualErrorResponse.d.ts +4 -0
  186. package/dist/api/types/CortexModelsResponseCommonsActualErrorResponse.js +3 -0
  187. package/dist/api/types/CortexModelsResponseCommonsErrorResponse.d.ts +5 -0
  188. package/dist/api/types/CortexModelsResponseCommonsErrorResponse.js +3 -0
  189. package/dist/api/types/CustomPropertyDefinition.d.ts +34 -0
  190. package/dist/api/types/CustomPropertyDefinition.js +3 -0
  191. package/dist/api/types/DeleteResult.d.ts +11 -0
  192. package/dist/api/types/DeleteResult.js +3 -0
  193. package/dist/api/types/DeleteUserMemoryResponse.d.ts +9 -0
  194. package/dist/api/types/DeleteUserMemoryResponse.js +3 -0
  195. package/dist/api/types/Entity.d.ts +12 -0
  196. package/dist/api/types/Entity.js +3 -0
  197. package/dist/api/types/ErrorResponse.d.ts +5 -0
  198. package/dist/api/types/ErrorResponse.js +3 -0
  199. package/dist/api/types/FetchMode.d.ts +7 -0
  200. package/dist/api/types/FetchMode.js +10 -0
  201. package/dist/api/types/ForcefulRelationsPayload.d.ts +6 -0
  202. package/dist/api/types/ForcefulRelationsPayload.js +3 -0
  203. package/dist/api/types/GraphContext.d.ts +11 -0
  204. package/dist/api/types/GraphContext.js +3 -0
  205. package/dist/api/types/HttpValidationError.d.ts +4 -0
  206. package/dist/api/types/HttpValidationError.js +3 -0
  207. package/dist/api/types/Infra.d.ts +5 -0
  208. package/dist/api/types/Infra.js +3 -0
  209. package/dist/api/types/InfraStatusResponse.d.ts +14 -0
  210. package/dist/api/types/InfraStatusResponse.js +3 -0
  211. package/dist/api/types/IngestResponse.d.ts +4 -0
  212. package/dist/api/types/IngestResponse.js +3 -0
  213. package/dist/api/types/InsertResult.d.ts +13 -0
  214. package/dist/api/types/InsertResult.js +3 -0
  215. package/dist/api/types/ListContentKind.d.ts +5 -0
  216. package/dist/api/types/ListContentKind.js +8 -0
  217. package/dist/api/types/ListUserMemoriesResponse.d.ts +14 -0
  218. package/dist/api/types/ListUserMemoriesResponse.js +3 -0
  219. package/dist/api/types/MemoryItem.d.ts +44 -0
  220. package/dist/api/types/MemoryItem.js +3 -0
  221. package/dist/api/types/MemoryResultItem.d.ts +16 -0
  222. package/dist/api/types/MemoryResultItem.js +3 -0
  223. package/dist/api/types/MilvusDataType.d.ts +16 -0
  224. package/dist/api/types/MilvusDataType.js +19 -0
  225. package/dist/api/types/PaginationMeta.d.ts +17 -0
  226. package/dist/api/types/PaginationMeta.js +3 -0
  227. package/dist/api/types/PathTriplet.d.ts +6 -0
  228. package/dist/api/types/PathTriplet.js +3 -0
  229. package/dist/api/types/ProcessingStatus.d.ts +26 -0
  230. package/dist/api/types/ProcessingStatus.js +16 -0
  231. package/dist/api/types/QnASearchResponse.d.ts +17 -0
  232. package/dist/api/types/QnASearchResponse.js +3 -0
  233. package/dist/api/types/RawEmbeddingDocument.d.ts +16 -0
  234. package/dist/api/types/RawEmbeddingDocument.js +3 -0
  235. package/dist/api/types/RawEmbeddingSearchResult.d.ts +16 -0
  236. package/dist/api/types/RawEmbeddingSearchResult.js +3 -0
  237. package/dist/api/types/RawEmbeddingVector.d.ts +9 -0
  238. package/dist/api/types/RawEmbeddingVector.js +3 -0
  239. package/dist/api/types/RecallSearchRequest.d.ts +34 -0
  240. package/dist/api/types/RecallSearchRequest.js +3 -0
  241. package/dist/api/types/RelationEvidence.d.ts +25 -0
  242. package/dist/api/types/RelationEvidence.js +3 -0
  243. package/dist/api/types/RetrievalResult.d.ts +12 -0
  244. package/dist/api/types/RetrievalResult.js +3 -0
  245. package/dist/api/types/RetrieveMode.d.ts +5 -0
  246. package/dist/api/types/RetrieveMode.js +8 -0
  247. package/dist/api/types/ScoredPathResponse.d.ts +10 -0
  248. package/dist/api/types/ScoredPathResponse.js +3 -0
  249. package/dist/api/types/SearchMode.d.ts +6 -0
  250. package/dist/api/types/SearchMode.js +9 -0
  251. package/dist/api/types/SourceDeleteResponse.d.ts +11 -0
  252. package/dist/api/types/SourceDeleteResponse.js +3 -0
  253. package/dist/api/types/SourceDeleteResultItem.d.ts +11 -0
  254. package/dist/api/types/SourceDeleteResultItem.js +3 -0
  255. package/dist/api/types/SourceFetchResponse.d.ts +23 -0
  256. package/dist/api/types/SourceFetchResponse.js +3 -0
  257. package/dist/api/types/SourceGraphRelationsResponse.d.ts +9 -0
  258. package/dist/api/types/SourceGraphRelationsResponse.js +3 -0
  259. package/dist/api/types/SourceInfo.d.ts +18 -0
  260. package/dist/api/types/SourceInfo.js +3 -0
  261. package/dist/api/types/SourceListResponse.d.ts +1 -0
  262. package/dist/api/types/SourceListResponse.js +3 -0
  263. package/dist/api/types/SourceModel.d.ts +42 -0
  264. package/dist/api/types/SourceModel.js +3 -0
  265. package/dist/api/types/SourceStatus.d.ts +7 -0
  266. package/dist/api/types/SourceStatus.js +10 -0
  267. package/dist/api/types/SourceUploadResponse.d.ts +11 -0
  268. package/dist/api/types/SourceUploadResponse.js +3 -0
  269. package/dist/api/types/SourceUploadResultItem.d.ts +11 -0
  270. package/dist/api/types/SourceUploadResultItem.js +3 -0
  271. package/dist/api/types/SubTenantIdsResponse.d.ts +9 -0
  272. package/dist/api/types/SubTenantIdsResponse.js +3 -0
  273. package/dist/api/types/SuperNodeItem.d.ts +9 -0
  274. package/dist/api/types/SuperNodeItem.js +3 -0
  275. package/dist/api/types/SuperNodeResponse.d.ts +11 -0
  276. package/dist/api/types/SuperNodeResponse.js +3 -0
  277. package/dist/api/types/SupportedLlmProviders.d.ts +8 -0
  278. package/dist/api/types/SupportedLlmProviders.js +11 -0
  279. package/dist/api/types/TenantCreateAcceptedResponse.d.ts +11 -0
  280. package/dist/api/types/TenantCreateAcceptedResponse.js +3 -0
  281. package/dist/api/types/TenantDeleteResponse.d.ts +6 -0
  282. package/dist/api/types/TenantDeleteResponse.js +3 -0
  283. package/dist/api/types/TenantIdsResponse.d.ts +8 -0
  284. package/dist/api/types/TenantIdsResponse.js +3 -0
  285. package/dist/api/types/TenantStatsResponse.d.ts +11 -0
  286. package/dist/api/types/TenantStatsResponse.js +3 -0
  287. package/dist/api/types/TripletWithEvidence.d.ts +12 -0
  288. package/dist/api/types/TripletWithEvidence.js +3 -0
  289. package/dist/api/types/UserAssistantPair.d.ts +9 -0
  290. package/dist/api/types/UserAssistantPair.js +3 -0
  291. package/dist/api/types/UserMemory.d.ts +9 -0
  292. package/dist/api/types/UserMemory.js +3 -0
  293. package/dist/api/types/ValidationError.d.ts +11 -0
  294. package/dist/api/types/ValidationError.js +3 -0
  295. package/dist/api/types/VectorStoreChunk.d.ts +26 -0
  296. package/dist/api/types/VectorStoreChunk.js +3 -0
  297. package/dist/api/types/index.d.ts +65 -0
  298. package/dist/api/types/index.js +81 -0
  299. package/dist/auth/BearerAuthProvider.d.ts +20 -0
  300. package/dist/auth/BearerAuthProvider.js +58 -0
  301. package/dist/auth/index.d.ts +1 -0
  302. package/dist/auth/index.js +5 -0
  303. package/dist/core/auth/AuthProvider.d.ts +8 -0
  304. package/dist/core/auth/AuthProvider.js +10 -0
  305. package/dist/core/auth/AuthRequest.d.ts +9 -0
  306. package/dist/core/auth/AuthRequest.js +2 -0
  307. package/dist/core/auth/BasicAuth.d.ts +8 -0
  308. package/dist/core/auth/BasicAuth.js +33 -0
  309. package/dist/core/auth/BearerToken.d.ts +7 -0
  310. package/dist/core/auth/BearerToken.js +16 -0
  311. package/dist/core/auth/NoOpAuthProvider.d.ts +5 -0
  312. package/dist/core/auth/NoOpAuthProvider.js +9 -0
  313. package/dist/core/auth/index.d.ts +5 -0
  314. package/dist/core/auth/index.js +11 -0
  315. package/dist/core/base64.d.ts +2 -0
  316. package/dist/core/base64.js +27 -0
  317. package/dist/core/exports.d.ts +2 -0
  318. package/dist/core/exports.js +18 -0
  319. package/dist/core/fetcher/APIResponse.d.ts +20 -0
  320. package/dist/core/fetcher/APIResponse.js +2 -0
  321. package/dist/core/fetcher/BinaryResponse.d.ts +19 -0
  322. package/dist/core/fetcher/BinaryResponse.js +18 -0
  323. package/dist/core/fetcher/EndpointMetadata.d.ts +13 -0
  324. package/dist/core/fetcher/EndpointMetadata.js +2 -0
  325. package/dist/core/fetcher/EndpointSupplier.d.ts +12 -0
  326. package/dist/core/fetcher/EndpointSupplier.js +13 -0
  327. package/dist/core/fetcher/Fetcher.d.ts +56 -0
  328. package/dist/core/fetcher/Fetcher.js +312 -0
  329. package/dist/core/fetcher/Headers.d.ts +3 -0
  330. package/dist/core/fetcher/Headers.js +92 -0
  331. package/dist/core/fetcher/HttpResponsePromise.d.ts +58 -0
  332. package/dist/core/fetcher/HttpResponsePromise.js +92 -0
  333. package/dist/core/fetcher/RawResponse.d.ts +29 -0
  334. package/dist/core/fetcher/RawResponse.js +44 -0
  335. package/dist/core/fetcher/Supplier.d.ts +4 -0
  336. package/dist/core/fetcher/Supplier.js +13 -0
  337. package/dist/core/fetcher/createRequestUrl.d.ts +1 -0
  338. package/dist/core/fetcher/createRequestUrl.js +9 -0
  339. package/dist/core/fetcher/getErrorResponseBody.d.ts +1 -0
  340. package/dist/core/fetcher/getErrorResponseBody.js +35 -0
  341. package/dist/core/fetcher/getFetchFn.d.ts +1 -0
  342. package/dist/core/fetcher/getFetchFn.js +7 -0
  343. package/dist/core/fetcher/getHeader.d.ts +1 -0
  344. package/dist/core/fetcher/getHeader.js +12 -0
  345. package/dist/core/fetcher/getRequestBody.d.ts +7 -0
  346. package/dist/core/fetcher/getRequestBody.js +17 -0
  347. package/dist/core/fetcher/getResponseBody.d.ts +1 -0
  348. package/dist/core/fetcher/getResponseBody.js +59 -0
  349. package/dist/core/fetcher/index.d.ts +13 -0
  350. package/dist/core/fetcher/index.js +19 -0
  351. package/dist/core/fetcher/makePassthroughRequest.d.ts +49 -0
  352. package/dist/core/fetcher/makePassthroughRequest.js +123 -0
  353. package/dist/core/fetcher/makeRequest.d.ts +6 -0
  354. package/dist/core/fetcher/makeRequest.js +52 -0
  355. package/dist/core/fetcher/requestWithRetries.d.ts +1 -0
  356. package/dist/core/fetcher/requestWithRetries.js +60 -0
  357. package/dist/core/fetcher/signals.d.ts +5 -0
  358. package/dist/core/fetcher/signals.js +25 -0
  359. package/dist/core/file/exports.d.ts +1 -0
  360. package/dist/core/file/exports.js +2 -0
  361. package/dist/core/file/file.d.ts +10 -0
  362. package/dist/core/file/file.js +194 -0
  363. package/dist/core/file/index.d.ts +2 -0
  364. package/dist/core/file/index.js +18 -0
  365. package/dist/core/file/types.d.ts +70 -0
  366. package/dist/core/file/types.js +2 -0
  367. package/dist/core/form-data-utils/FormDataWrapper.d.ts +15 -0
  368. package/dist/core/form-data-utils/FormDataWrapper.js +155 -0
  369. package/dist/core/form-data-utils/encodeAsFormParameter.d.ts +1 -0
  370. package/dist/core/form-data-utils/encodeAsFormParameter.js +13 -0
  371. package/dist/core/form-data-utils/index.d.ts +2 -0
  372. package/dist/core/form-data-utils/index.js +20 -0
  373. package/dist/core/headers.d.ts +3 -0
  374. package/dist/core/headers.js +30 -0
  375. package/dist/core/index.d.ts +8 -0
  376. package/dist/core/index.js +37 -0
  377. package/dist/core/json.d.ts +15 -0
  378. package/dist/core/json.js +24 -0
  379. package/dist/core/logging/exports.d.ts +18 -0
  380. package/dist/core/logging/exports.js +35 -0
  381. package/dist/core/logging/index.d.ts +1 -0
  382. package/dist/core/logging/index.js +17 -0
  383. package/dist/core/logging/logger.d.ts +126 -0
  384. package/dist/core/logging/logger.js +144 -0
  385. package/dist/core/runtime/index.d.ts +1 -0
  386. package/dist/core/runtime/index.js +5 -0
  387. package/dist/core/runtime/runtime.d.ts +9 -0
  388. package/dist/core/runtime/runtime.js +104 -0
  389. package/dist/core/url/QueryStringBuilder.d.ts +47 -0
  390. package/dist/core/url/QueryStringBuilder.js +84 -0
  391. package/dist/core/url/encodePathParam.d.ts +1 -0
  392. package/dist/core/url/encodePathParam.js +22 -0
  393. package/dist/core/url/index.d.ts +4 -0
  394. package/dist/core/url/index.js +11 -0
  395. package/dist/core/url/join.d.ts +1 -0
  396. package/dist/core/url/join.js +69 -0
  397. package/dist/core/url/qs.d.ts +7 -0
  398. package/dist/core/url/qs.js +77 -0
  399. package/dist/environments.d.ts +4 -0
  400. package/dist/environments.js +7 -0
  401. package/dist/errors/HydraDBError.d.ts +14 -0
  402. package/dist/errors/HydraDBError.js +35 -0
  403. package/dist/errors/HydraDBTimeoutError.d.ts +6 -0
  404. package/dist/errors/HydraDBTimeoutError.js +18 -0
  405. package/dist/errors/handleNonStatusCodeError.d.ts +2 -0
  406. package/dist/errors/handleNonStatusCodeError.js +59 -0
  407. package/dist/errors/index.d.ts +2 -0
  408. package/dist/errors/index.js +7 -0
  409. package/dist/exports.d.ts +1 -0
  410. package/dist/exports.js +17 -0
  411. package/dist/index.d.ts +6 -0
  412. package/dist/index.js +38 -0
  413. package/package.json +34 -0
@@ -0,0 +1,4 @@
1
+ export type { BodyAddMemoryMemoriesAddMemoryPost } from "./BodyAddMemoryMemoriesAddMemoryPost.js";
2
+ export type { BodyUploadKnowledgeIngestionUploadKnowledgePost } from "./BodyUploadKnowledgeIngestionUploadKnowledgePost.js";
3
+ export type { DeleteMemoryUploadRequest } from "./DeleteMemoryUploadRequest.js";
4
+ export type { VerifyProcessingUploadRequest } from "./VerifyProcessingUploadRequest.js";
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ export { UploadClient } from "./client/Client.js";
2
+ export * from "./client/index.js";
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
16
+ };
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.UploadClient = void 0;
19
+ var Client_js_1 = require("./client/Client.js");
20
+ Object.defineProperty(exports, "UploadClient", { enumerable: true, get: function () { return Client_js_1.UploadClient; } });
21
+ __exportStar(require("./client/index.js"), exports);
@@ -0,0 +1 @@
1
+ export * from "./client/index.js";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./client/index.js"), exports);
@@ -0,0 +1,4 @@
1
+ import type * as HydraDB from "../index.js";
2
+ export interface ActualErrorResponse {
3
+ detail: HydraDB.ErrorResponse;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,14 @@
1
+ import type * as HydraDB from "../index.js";
2
+ /**
3
+ * Response model for add_memory endpoint.
4
+ */
5
+ export interface AddMemoryResponse {
6
+ success?: boolean | undefined;
7
+ message?: string | undefined;
8
+ /** List of results for each ingested memory item. */
9
+ results?: HydraDB.MemoryResultItem[] | undefined;
10
+ /** Number of items successfully queued for ingestion. */
11
+ success_count?: number | undefined;
12
+ /** Number of items that failed to queue. */
13
+ failed_count?: number | undefined;
14
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,14 @@
1
+ export interface ApiKeyCreateResponse {
2
+ /** Identifier used for API key lookup. */
3
+ api_key_id: string;
4
+ /** Owner identifier for the key. */
5
+ owner: string;
6
+ /** Assigned scopes (if any). */
7
+ scopes?: string[] | undefined;
8
+ /** Environment tag embedded into the key. */
9
+ env: string;
10
+ /** The full API key (shown only once). Store this securely. */
11
+ full_api_key: string;
12
+ /** Creation timestamp (UTC). */
13
+ created_at: string;
14
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,17 @@
1
+ import type * as HydraDB from "../index.js";
2
+ export interface AttachmentModel {
3
+ /** Unique identifier for the attachment. */
4
+ id?: string | undefined;
5
+ /** Public or internal URL referencing the attachment resource. */
6
+ url?: string | undefined;
7
+ /** Human-readable title or filename of the attachment. */
8
+ title?: string | undefined;
9
+ /** MIME type of the attachment (e.g., application/pdf). */
10
+ content_type?: string | undefined;
11
+ /** Direct URL for content retrieval when different from the reference URL. */
12
+ content_url?: string | undefined;
13
+ /** Additional attachment attributes defined by the tenant (free-form). */
14
+ misc?: Record<string, unknown> | undefined;
15
+ /** Structured content payload for the attachment when available. */
16
+ content?: HydraDB.ContentModel | undefined;
17
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ import type * as HydraDB from "../index.js";
2
+ export interface BatchProcessingStatus {
3
+ /** List of processing statuses, one per requested file ID. */
4
+ statuses: HydraDB.ProcessingStatus[];
5
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ export declare const Bm25OperatorType: {
2
+ readonly Or: "or";
3
+ readonly And: "and";
4
+ readonly Phrase: "phrase";
5
+ };
6
+ export type Bm25OperatorType = (typeof Bm25OperatorType)[keyof typeof Bm25OperatorType];
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.Bm25OperatorType = void 0;
5
+ exports.Bm25OperatorType = {
6
+ Or: "or",
7
+ And: "and",
8
+ Phrase: "phrase",
9
+ };
@@ -0,0 +1,6 @@
1
+ export interface CollectionStats {
2
+ /** Number of rows in the collection */
3
+ row_count: number;
4
+ /** Number of dimensions in the collection */
5
+ dimensions: number;
6
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Optional filters for narrowing list results.
3
+ *
4
+ * All filter categories use **AND** logic — every provided key-value pair
5
+ * must match for a document to be included.
6
+ *
7
+ * Examples
8
+ * --------
9
+ * ```json
10
+ * {
11
+ * "tenant_metadata": {"department": "Finance", "region": "US"},
12
+ * "document_metadata": {"author": "Alice Smith"},
13
+ * "source_fields": {"type": "slack", "title": "standup notes"}
14
+ * }
15
+ * ```
16
+ */
17
+ export interface ContentFilter {
18
+ /** Key-value pairs matched against source.tenant_metadata. All provided pairs must match (AND logic). */
19
+ tenant_metadata?: (Record<string, unknown> | null) | undefined;
20
+ /** Key-value pairs matched against source.document_metadata. All provided pairs must match (AND logic). */
21
+ document_metadata?: (Record<string, unknown> | null) | undefined;
22
+ /** Key-value pairs matched against top-level source fields that you supply during ingestion. Allowed keys: description, timestamp, title, type, url. All provided pairs must match (AND logic). */
23
+ source_fields?: (Record<string, unknown> | null) | undefined;
24
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,14 @@
1
+ export interface ContentModel {
2
+ /** Plain text content extracted or provided for indexing. */
3
+ text?: string | undefined;
4
+ /** Base64-encoded HTML content preserving structure and formatting. */
5
+ html_base64?: string | undefined;
6
+ /** Base64-encoded CSV data for tabular content ingestion. */
7
+ csv_base64?: string | undefined;
8
+ /** Raw Markdown content to be indexed as rich text. */
9
+ markdown?: string | undefined;
10
+ /** List of file descriptors associated with the source (e.g., filenames, sizes). */
11
+ files?: Record<string, unknown>[] | undefined;
12
+ /** Optional layout metadata such as sections or blocks to guide chunking. */
13
+ layout?: Record<string, unknown>[] | undefined;
14
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ import type * as HydraDB from "../index.js";
2
+ export interface CortexModelsResponseCommonsActualErrorResponse {
3
+ detail: HydraDB.CortexModelsResponseCommonsErrorResponse;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ export interface CortexModelsResponseCommonsErrorResponse {
2
+ success?: boolean | undefined;
3
+ message?: string | undefined;
4
+ error_code?: (string | null) | undefined;
5
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,34 @@
1
+ import type * as HydraDB from "../index.js";
2
+ /**
3
+ * Definition for custom/dynamic properties on a collection.
4
+ *
5
+ * Use this to define tenant metadata fields that can enhance search capabilities:
6
+ * - enable_dense_embedding: Creates a dense vector field for semantic similarity search
7
+ * - enable_sparse_embedding: Creates a sparse vector field for BM25 keyword search
8
+ *
9
+ * Example:
10
+ * CustomPropertyDefinition(
11
+ * name="product_description",
12
+ * data_type="string",
13
+ * enable_dense_embedding=True,
14
+ * enable_sparse_embedding=True,
15
+ * )
16
+ */
17
+ export interface CustomPropertyDefinition {
18
+ /** Property name */
19
+ name: string;
20
+ /** Field data type. Accepts friendly names: 'string', 'integer', 'float', 'boolean', 'array', 'object'. Raw internal types are also accepted. */
21
+ data_type?: HydraDB.MilvusDataType | undefined;
22
+ /** Max length for string fields. Increase for longer text content. */
23
+ max_length?: number | undefined;
24
+ /** Enable text analyzer for full-text search capabilities */
25
+ enable_analyzer?: boolean | undefined;
26
+ /** Enable exact keyword filtering on this field */
27
+ enable_match?: boolean | undefined;
28
+ /** Index this field for semantic similarity search. Only applicable to string fields. */
29
+ enable_dense_embedding?: boolean | undefined;
30
+ /** Index this field for keyword (BM25) search. Only applicable to string fields. */
31
+ enable_sparse_embedding?: boolean | undefined;
32
+ /** Whether field can be null */
33
+ nullable?: boolean | undefined;
34
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Result of a delete operation.
3
+ */
4
+ export interface DeleteResult {
5
+ /** Number of entities deleted */
6
+ delete_count: number;
7
+ /** Whether delete succeeded */
8
+ success?: boolean | undefined;
9
+ /** Error message if failed */
10
+ error?: (string | null) | undefined;
11
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Response model for deleting a user memory.
3
+ */
4
+ export interface DeleteUserMemoryResponse {
5
+ /** Indicates whether the memory deletion operation was successful */
6
+ success?: boolean | undefined;
7
+ /** Confirms whether the specific memory was successfully deleted */
8
+ user_memory_deleted: boolean;
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,12 @@
1
+ export interface Entity {
2
+ /** Normalized entity name */
3
+ name: string;
4
+ /** PERSON, ORGANIZATION, PROJECT, PRODUCT, ERROR_CODE, etc. */
5
+ type: string;
6
+ /** Context category like 'employees', 'projects' */
7
+ namespace?: string | undefined;
8
+ /** Internal unique entity ID from graph database */
9
+ entity_id: string;
10
+ /** Unique ID like email, employee_id, URL */
11
+ identifier?: (string | null) | undefined;
12
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ export interface ErrorResponse {
2
+ success?: boolean | undefined;
3
+ message?: string | undefined;
4
+ error_code?: (string | null) | undefined;
5
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ /** Mode for fetching file content. */
2
+ export declare const FetchMode: {
3
+ readonly Content: "content";
4
+ readonly Url: "url";
5
+ readonly Both: "both";
6
+ };
7
+ export type FetchMode = (typeof FetchMode)[keyof typeof FetchMode];
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.FetchMode = void 0;
5
+ /** Mode for fetching file content. */
6
+ exports.FetchMode = {
7
+ Content: "content",
8
+ Url: "url",
9
+ Both: "both",
10
+ };
@@ -0,0 +1,6 @@
1
+ export interface ForcefulRelationsPayload {
2
+ /** Cortex source IDs to forcefully relate to the uploaded source. */
3
+ cortex_source_ids?: (string[] | null) | undefined;
4
+ /** Optional properties to attach to the forceful relation. */
5
+ properties?: (Record<string, unknown> | null) | undefined;
6
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,11 @@
1
+ import type * as HydraDB from "../index.js";
2
+ /**
3
+ * Graph context containing query-based paths and chunk-based relation paths.
4
+ */
5
+ export interface GraphContext {
6
+ query_paths?: HydraDB.ScoredPathResponse[] | undefined;
7
+ chunk_relations?: HydraDB.ScoredPathResponse[] | undefined;
8
+ chunk_id_to_group_ids?: Record<string, string[]> | undefined;
9
+ /** LLM-generated summary of how sub-query results connect, present only for multi-step queries with requires_synthesis=True. */
10
+ synthesis_context?: (string | null) | undefined;
11
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ import type * as HydraDB from "../index.js";
2
+ export interface HttpValidationError {
3
+ detail?: HydraDB.ValidationError[] | undefined;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ export interface Infra {
2
+ scheduler_status: boolean;
3
+ graph_status: boolean;
4
+ vectorstore_status: unknown[];
5
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,14 @@
1
+ import type * as HydraDB from "../index.js";
2
+ /**
3
+ * Response for deployed infrastructure status checks.
4
+ */
5
+ export interface InfraStatusResponse {
6
+ /** Tenant identifier when status is queried for a specific tenant */
7
+ tenant_id?: (string | null) | undefined;
8
+ /** Organization identifier */
9
+ org_id: string;
10
+ /** Deployed infrastructure status */
11
+ infra: HydraDB.Infra;
12
+ /** Summary message */
13
+ message?: string | undefined;
14
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ export interface IngestResponse {
2
+ doc_id: string;
3
+ status?: string | undefined;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Result of an insert operation.
3
+ */
4
+ export interface InsertResult {
5
+ /** Number of entities inserted */
6
+ insert_count: number;
7
+ /** Inserted entity IDs */
8
+ ids?: string[] | undefined;
9
+ /** Whether insert succeeded */
10
+ success?: boolean | undefined;
11
+ /** Error message if failed */
12
+ error?: (string | null) | undefined;
13
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ export declare const ListContentKind: {
2
+ readonly Knowledge: "knowledge";
3
+ readonly Memories: "memories";
4
+ };
5
+ export type ListContentKind = (typeof ListContentKind)[keyof typeof ListContentKind];
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.ListContentKind = void 0;
5
+ exports.ListContentKind = {
6
+ Knowledge: "knowledge",
7
+ Memories: "memories",
8
+ };
@@ -0,0 +1,14 @@
1
+ import type * as HydraDB from "../index.js";
2
+ /**
3
+ * Response model for listing all user memories.
4
+ */
5
+ export interface ListUserMemoriesResponse {
6
+ /** Indicates whether the memory listing operation was successful */
7
+ success?: boolean | undefined;
8
+ /** Array of user memories for the current page */
9
+ user_memories?: HydraDB.UserMemory[] | undefined;
10
+ /** Total number of user memories matching the query */
11
+ total?: number | undefined;
12
+ /** Pagination metadata for navigating through results. */
13
+ pagination: HydraDB.PaginationMeta;
14
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,44 @@
1
+ import type * as HydraDB from "../index.js";
2
+ /**
3
+ * Represents a single memory item for ingestion.
4
+ * Supports raw text, markdown, and user/assistant conversation pairs.
5
+ */
6
+ export interface MemoryItem {
7
+ /** Optional unique identifier. Auto-generated if not provided. */
8
+ source_id?: (string | null) | undefined;
9
+ /** Display title for this memory item. */
10
+ title?: (string | null) | undefined;
11
+ /** Raw text or markdown content to be indexed. */
12
+ text?: (string | null) | undefined;
13
+ /** Array of user/assistant conversation pairs to store as memory. */
14
+ user_assistant_pairs?: (HydraDB.UserAssistantPair[] | null) | undefined;
15
+ /** Whether the text is markdown formatted. */
16
+ is_markdown?: boolean | undefined;
17
+ /** If true, process and extract additional insights/inferences from the contentbefore indexingUseful for extracting implicit information from conversations */
18
+ infer?: boolean | undefined;
19
+ /** Custom instructions to guide inference processing. */
20
+ custom_instructions?: (string | null) | undefined;
21
+ /** User's name for personalization in conversation pairs. */
22
+ user_name?: string | undefined;
23
+ /** Optional TTL in seconds for this memory. */
24
+ expiry_time?: (number | null) | undefined;
25
+ /** Key-value metadata attached to this memory. */
26
+ metadata?: Record<string, unknown> | undefined;
27
+ /** Additional key-value metadata for this memory. */
28
+ additional_metadata?: Record<string, unknown> | undefined;
29
+ /**
30
+ * JSON string containing tenant-level document metadata (e.g., department, compliance_tag)
31
+ *
32
+ * Example: > "{"department":"Finance","compliance_tag":"GDPR"}"
33
+ */
34
+ tenant_metadata?: (string | null) | undefined;
35
+ /**
36
+ * JSON string containing document-specific metadata (e.g., title, author, file_id). If file_id is not provided, the system will generate an ID automatically.
37
+ *
38
+ * Example: > "{"title":"Q1 Report.pdf","author":"Alice Smith","file_id":"custom_file_123"}"
39
+ *
40
+ */
41
+ document_metadata?: (string | null) | undefined;
42
+ /** Forcefully connect 2 sources based on cortex source ids or common properties. */
43
+ relations?: (HydraDB.ForcefulRelationsPayload | null) | undefined;
44
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,16 @@
1
+ import type * as HydraDB from "../index.js";
2
+ /**
3
+ * Result for a single ingested memory item.
4
+ */
5
+ export interface MemoryResultItem {
6
+ /** Unique identifier for the ingested source. */
7
+ source_id: string;
8
+ /** Title of the memory if provided. */
9
+ title?: (string | null) | undefined;
10
+ /** Initial processing status. */
11
+ status?: HydraDB.SourceStatus | undefined;
12
+ /** Whether inference was requested for this memory. */
13
+ infer?: boolean | undefined;
14
+ /** Error message if ingestion failed. */
15
+ error?: (string | null) | undefined;
16
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,16 @@
1
+ /** Milvus data types mapped from Weaviate schema. */
2
+ export declare const MilvusDataType: {
3
+ readonly Bool: "BOOL";
4
+ readonly Int8: "INT8";
5
+ readonly Int16: "INT16";
6
+ readonly Int32: "INT32";
7
+ readonly Int64: "INT64";
8
+ readonly Float: "FLOAT";
9
+ readonly Double: "DOUBLE";
10
+ readonly Varchar: "VARCHAR";
11
+ readonly Json: "JSON";
12
+ readonly Array: "ARRAY";
13
+ readonly FloatVector: "FLOAT_VECTOR";
14
+ readonly SparseFloatVector: "SPARSE_FLOAT_VECTOR";
15
+ };
16
+ export type MilvusDataType = (typeof MilvusDataType)[keyof typeof MilvusDataType];