@hydradb/sdk 2.1.4 → 2.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (385) hide show
  1. package/README.md +10 -7
  2. package/dist/Client.d.ts +1 -1
  3. package/dist/Client.js +1 -1
  4. package/dist/api/client/requests/SearchQueryRequest.d.ts +44 -4
  5. package/dist/api/resources/connectors/client/Client.d.ts +80 -1
  6. package/dist/api/resources/connectors/client/Client.js +322 -1
  7. package/dist/api/resources/connectors/client/requests/HandlerConfigureReq.d.ts +7 -0
  8. package/dist/api/resources/connectors/client/requests/HandlerVaultCredentialRevealReq.d.ts +12 -0
  9. package/dist/api/resources/connectors/client/requests/HandlerVaultCredentialUpdateReq.d.ts +15 -0
  10. package/dist/api/resources/connectors/client/requests/PauseConnectorsRequest.d.ts +10 -0
  11. package/dist/api/resources/connectors/client/requests/ResumeConnectorsRequest.d.ts +10 -0
  12. package/dist/api/resources/connectors/client/requests/index.d.ts +4 -0
  13. package/dist/api/resources/context/client/Client.d.ts +45 -5
  14. package/dist/api/resources/context/client/Client.js +200 -8
  15. package/dist/api/resources/context/client/requests/ChunksContextRequest.d.ts +31 -0
  16. package/dist/api/resources/context/client/requests/IngestContextRequest.d.ts +8 -4
  17. package/dist/api/resources/context/client/requests/ListV2ListContentRequest.d.ts +4 -1
  18. package/dist/api/resources/context/client/requests/ProfileContextRequest.d.ts +30 -0
  19. package/dist/api/resources/context/client/requests/RelationsContextRequest.d.ts +1 -1
  20. package/dist/api/resources/context/client/requests/SourcesV2SourceDeleteRequest.d.ts +4 -1
  21. package/dist/api/resources/context/client/requests/SubgraphContextRequest.d.ts +8 -8
  22. package/dist/api/resources/context/client/requests/index.d.ts +2 -0
  23. package/dist/api/resources/context/types/ChunksContextRequestType.d.ts +6 -0
  24. package/dist/api/resources/context/types/ChunksContextRequestType.js +9 -0
  25. package/dist/api/resources/context/types/ListV2ListContentRequestType.d.ts +5 -1
  26. package/dist/api/resources/context/types/ListV2ListContentRequestType.js +5 -1
  27. package/dist/api/resources/context/types/ProfileContextRequestType.d.ts +5 -0
  28. package/dist/api/resources/context/types/ProfileContextRequestType.js +8 -0
  29. package/dist/api/resources/context/types/RelationsContextRequestType.d.ts +1 -0
  30. package/dist/api/resources/context/types/RelationsContextRequestType.js +1 -0
  31. package/dist/api/resources/context/types/SourcesV2SourceDeleteRequestType.d.ts +5 -1
  32. package/dist/api/resources/context/types/SourcesV2SourceDeleteRequestType.js +5 -1
  33. package/dist/api/resources/context/types/SubgraphContextRequestType.d.ts +1 -0
  34. package/dist/api/resources/context/types/SubgraphContextRequestType.js +1 -0
  35. package/dist/api/resources/context/types/index.d.ts +2 -0
  36. package/dist/api/resources/context/types/index.js +2 -0
  37. package/dist/api/resources/databases/client/Client.d.ts +71 -0
  38. package/dist/api/resources/databases/client/Client.js +309 -0
  39. package/dist/api/resources/databases/client/requests/DeleteCollectionDatabasesRequest.d.ts +13 -0
  40. package/dist/api/resources/databases/client/requests/DeleteCollectionDatabasesRequest.js +3 -0
  41. package/dist/api/resources/databases/client/requests/GetInstructionsDatabasesRequest.d.ts +10 -0
  42. package/dist/api/resources/databases/client/requests/GetInstructionsDatabasesRequest.js +3 -0
  43. package/dist/api/resources/databases/client/requests/HandlerInstructionsUpdateReq.d.ts +20 -0
  44. package/dist/api/resources/databases/client/requests/HandlerInstructionsUpdateReq.js +3 -0
  45. package/dist/api/resources/databases/client/requests/TenantsTenantCreateRequest.d.ts +1 -0
  46. package/dist/api/resources/databases/client/requests/TenantsTenantRenameRequest.d.ts +21 -0
  47. package/dist/api/resources/databases/client/requests/TenantsTenantRenameRequest.js +3 -0
  48. package/dist/api/resources/databases/client/requests/index.d.ts +4 -0
  49. package/dist/api/resources/feedback/client/Client.d.ts +1 -3
  50. package/dist/api/resources/feedback/client/Client.js +1 -3
  51. package/dist/api/resources/feedback/client/index.d.ts +1 -1
  52. package/dist/api/resources/feedback/client/index.js +15 -0
  53. package/dist/api/resources/feedback/client/requests/FeedbackSubmitRequest.d.ts +29 -0
  54. package/dist/api/resources/feedback/client/requests/FeedbackSubmitRequest.js +3 -0
  55. package/dist/api/resources/feedback/client/requests/index.d.ts +1 -0
  56. package/dist/api/resources/feedback/client/requests/index.js +2 -0
  57. package/dist/api/resources/index.d.ts +1 -0
  58. package/dist/api/resources/index.js +1 -0
  59. package/dist/api/types/ConnectorsResource.d.ts +58 -0
  60. package/dist/api/types/GithubComHydradbHydradbApplicationInternalPlatformStoragelayoutLayout.d.ts +11 -0
  61. package/dist/api/types/GithubComHydradbHydradbApplicationInternalPlatformStoragelayoutLayout.js +14 -0
  62. package/dist/api/types/GraphRelationEvidence.d.ts +7 -0
  63. package/dist/api/types/HandlerConnectorApiView.d.ts +15 -0
  64. package/dist/api/types/HandlerConnectorCreateResponse.d.ts +15 -0
  65. package/dist/api/types/HandlerConnectorLimitView.d.ts +15 -0
  66. package/dist/api/types/HandlerConnectorLimitView.js +3 -0
  67. package/dist/api/types/HandlerConnectorListResponse.d.ts +8 -3
  68. package/dist/api/types/HandlerConnectorPauseResponse.d.ts +6 -0
  69. package/dist/api/types/HandlerConnectorPauseResponse.js +3 -0
  70. package/dist/api/types/HandlerConnectorResourceStatus.d.ts +27 -0
  71. package/dist/api/types/HandlerConnectorStatusError.d.ts +4 -3
  72. package/dist/api/types/HandlerConnectorStatusResponse.d.ts +5 -2
  73. package/dist/api/types/HandlerEnvelopeSearchChunkInspectResult.d.ts +9 -0
  74. package/dist/api/types/HandlerEnvelopeSearchChunkInspectResult.js +3 -0
  75. package/dist/api/types/HandlerEnvelopeSearchEntityProfileView.d.ts +9 -0
  76. package/dist/api/types/HandlerEnvelopeSearchEntityProfileView.js +3 -0
  77. package/dist/api/types/HandlerEnvelopeSearchV2RetrievalResult.d.ts +2 -1
  78. package/dist/api/types/HandlerEnvelopeSearchV2RetrievalResultData.d.ts +5 -0
  79. package/dist/api/types/HandlerEnvelopeSearchV2RetrievalResultData.js +3 -0
  80. package/dist/api/types/HandlerEnvelopeTenantsSubTenantDeleteResponse.d.ts +9 -0
  81. package/dist/api/types/HandlerEnvelopeTenantsSubTenantDeleteResponse.js +3 -0
  82. package/dist/api/types/HandlerEnvelopeTenantsTenantRenameResponse.d.ts +9 -0
  83. package/dist/api/types/HandlerEnvelopeTenantsTenantRenameResponse.js +3 -0
  84. package/dist/api/types/HandlerInstructionsResponse.d.ts +13 -0
  85. package/dist/api/types/HandlerInstructionsResponse.js +3 -0
  86. package/dist/api/types/HandlerPlanCapView.d.ts +11 -0
  87. package/dist/api/types/HandlerPlanCapView.js +3 -0
  88. package/dist/api/types/HandlerVaultCredentialEntry.d.ts +13 -0
  89. package/dist/api/types/HandlerVaultCredentialEntry.js +3 -0
  90. package/dist/api/types/HandlerVaultCredentialListResponse.d.ts +8 -0
  91. package/dist/api/types/HandlerVaultCredentialListResponse.js +3 -0
  92. package/dist/api/types/HandlerVaultCredentialRevealResponse.d.ts +7 -0
  93. package/dist/api/types/HandlerVaultCredentialRevealResponse.js +3 -0
  94. package/dist/api/types/HandlerVaultCredentialUpdateResponse.d.ts +5 -0
  95. package/dist/api/types/HandlerVaultCredentialUpdateResponse.js +3 -0
  96. package/dist/api/types/IngestionGraphEntity.d.ts +8 -0
  97. package/dist/api/types/IngestionGraphEntity.js +3 -0
  98. package/dist/api/types/IngestionGraphPayload.d.ts +5 -0
  99. package/dist/api/types/IngestionGraphPayload.js +3 -0
  100. package/dist/api/types/IngestionGraphRelation.d.ts +9 -0
  101. package/dist/api/types/IngestionGraphRelation.js +3 -0
  102. package/dist/api/types/ListV2MemoryItem.d.ts +8 -0
  103. package/dist/api/types/ListV2SourceItem.d.ts +8 -0
  104. package/dist/api/types/MemoriesConversationTurn.d.ts +5 -0
  105. package/dist/api/types/MemoriesConversationTurn.js +3 -0
  106. package/dist/api/types/MemoriesForcefulRelations.d.ts +11 -0
  107. package/dist/api/types/MemoriesForcefulRelations.js +3 -0
  108. package/dist/api/types/MemoriesIngestItem.d.ts +56 -0
  109. package/dist/api/types/MemoriesIngestItem.js +3 -0
  110. package/dist/api/types/MemoriesIngestItemContextCategory.d.ts +13 -0
  111. package/dist/api/types/MemoriesIngestItemContextCategory.js +16 -0
  112. package/dist/api/types/MemoriesUnifiedIngestRequest.d.ts +26 -0
  113. package/dist/api/types/MemoriesUnifiedIngestRequest.js +3 -0
  114. package/dist/api/types/SearchAliasExpansionNote.d.ts +4 -0
  115. package/dist/api/types/SearchAliasExpansionNote.js +3 -0
  116. package/dist/api/types/SearchAppSearchFusionDiagnostics.d.ts +31 -0
  117. package/dist/api/types/SearchAppSearchFusionDiagnostics.js +3 -0
  118. package/dist/api/types/SearchAppSearchFusionStats.d.ts +43 -0
  119. package/dist/api/types/SearchAppSearchFusionStats.js +3 -0
  120. package/dist/api/types/SearchChunkInspectResult.d.ts +24 -0
  121. package/dist/api/types/SearchChunkInspectResult.js +3 -0
  122. package/dist/api/types/SearchCodeSearchRepoResult.d.ts +11 -0
  123. package/dist/api/types/SearchCodeSearchRepoResult.js +3 -0
  124. package/dist/api/types/SearchCodeSearchResult.d.ts +24 -0
  125. package/dist/api/types/SearchCodeSearchResult.js +3 -0
  126. package/dist/api/types/SearchEntityProfileView.d.ts +18 -0
  127. package/dist/api/types/SearchEntityProfileView.js +3 -0
  128. package/dist/api/types/SearchForcefulRelationEntry.d.ts +5 -0
  129. package/dist/api/types/SearchForcefulRelationEntry.js +3 -0
  130. package/dist/api/types/SearchForcefulRelationsBucket.d.ts +11 -0
  131. package/dist/api/types/SearchForcefulRelationsBucket.js +3 -0
  132. package/dist/api/types/SearchGraphPath.d.ts +10 -0
  133. package/dist/api/types/SearchGraphPath.js +3 -0
  134. package/dist/api/types/SearchGraphPlane.d.ts +11 -0
  135. package/dist/api/types/SearchGraphPlane.js +3 -0
  136. package/dist/api/types/SearchMetadataFilters.d.ts +1 -1
  137. package/dist/api/types/SearchProfileContext.d.ts +17 -0
  138. package/dist/api/types/SearchProfileContext.js +3 -0
  139. package/dist/api/types/SearchProfileEntry.d.ts +11 -0
  140. package/dist/api/types/SearchProfileEntry.js +3 -0
  141. package/dist/api/types/SearchProfileFilterInfo.d.ts +10 -0
  142. package/dist/api/types/SearchProfileFilterInfo.js +3 -0
  143. package/dist/api/types/SearchQueryChunk.d.ts +19 -0
  144. package/dist/api/types/SearchQueryChunk.js +3 -0
  145. package/dist/api/types/SearchQueryChunkEnrichmentKind.d.ts +7 -0
  146. package/dist/api/types/SearchQueryChunkEnrichmentKind.js +10 -0
  147. package/dist/api/types/SearchQueryChunkTemporal.d.ts +8 -0
  148. package/dist/api/types/SearchQueryChunkTemporal.js +3 -0
  149. package/dist/api/types/SearchQueryForcefulRelation.d.ts +6 -0
  150. package/dist/api/types/SearchQueryForcefulRelation.js +3 -0
  151. package/dist/api/types/SearchQueryGraphEdge.d.ts +13 -0
  152. package/dist/api/types/SearchQueryGraphEdge.js +3 -0
  153. package/dist/api/types/SearchQueryGraphEntity.d.ts +4 -0
  154. package/dist/api/types/SearchQueryGraphEntity.js +3 -0
  155. package/dist/api/types/SearchQueryGraphPath.d.ts +9 -0
  156. package/dist/api/types/SearchQueryGraphPath.js +3 -0
  157. package/dist/api/types/SearchQueryGraphPathOrigin.d.ts +6 -0
  158. package/dist/api/types/SearchQueryGraphPathOrigin.js +9 -0
  159. package/dist/api/types/SearchQueryGraphTriplet.d.ts +6 -0
  160. package/dist/api/types/SearchQueryGraphTriplet.js +3 -0
  161. package/dist/api/types/SearchQueryResult.d.ts +14 -0
  162. package/dist/api/types/SearchQueryResult.js +3 -0
  163. package/dist/api/types/SearchRelationVia.d.ts +4 -0
  164. package/dist/api/types/SearchRelationVia.js +3 -0
  165. package/dist/api/types/SearchResolvedReference.d.ts +4 -0
  166. package/dist/api/types/SearchResolvedReference.js +3 -0
  167. package/dist/api/types/SearchV2RetrievalResult.d.ts +32 -1
  168. package/dist/api/types/SearchVectorStoreChunk.d.ts +28 -0
  169. package/dist/api/types/SearchVectorStoreChunk.js +3 -0
  170. package/dist/api/types/TenantsDatabaseDetail.d.ts +11 -0
  171. package/dist/api/types/TenantsDatabaseDetail.js +3 -0
  172. package/dist/api/types/TenantsDatabaseDetailType.d.ts +9 -0
  173. package/dist/api/types/TenantsDatabaseDetailType.js +12 -0
  174. package/dist/api/types/TenantsInfraStatusResponseV2.d.ts +5 -0
  175. package/dist/api/types/TenantsInfraStatusResponseV2Type.d.ts +8 -0
  176. package/dist/api/types/TenantsInfraStatusResponseV2Type.js +11 -0
  177. package/dist/api/types/TenantsMilvusDataType.d.ts +1 -0
  178. package/dist/api/types/TenantsMilvusDataType.js +1 -0
  179. package/dist/api/types/TenantsSubTenantDeleteResponse.d.ts +12 -0
  180. package/dist/api/types/TenantsSubTenantDeleteResponse.js +3 -0
  181. package/dist/api/types/TenantsTenantIdsResponse.d.ts +2 -0
  182. package/dist/api/types/TenantsTenantRenameResponse.d.ts +20 -0
  183. package/dist/api/types/TenantsTenantRenameResponse.js +3 -0
  184. package/dist/api/types/index.d.ts +54 -6
  185. package/dist/api/types/index.js +54 -6
  186. package/dist/helpers/buildString.d.ts +9 -3
  187. package/dist/helpers/buildString.js +28 -3
  188. package/dist/serialization/client/requests/SearchQueryRequest.d.ts +7 -0
  189. package/dist/serialization/client/requests/SearchQueryRequest.js +7 -0
  190. package/dist/serialization/resources/connectors/client/requests/HandlerConfigureReq.d.ts +1 -0
  191. package/dist/serialization/resources/connectors/client/requests/HandlerConfigureReq.js +1 -0
  192. package/dist/serialization/resources/connectors/client/requests/HandlerVaultCredentialRevealReq.d.ts +9 -0
  193. package/dist/serialization/resources/connectors/client/requests/HandlerVaultCredentialRevealReq.js +41 -0
  194. package/dist/serialization/resources/connectors/client/requests/HandlerVaultCredentialUpdateReq.d.ts +9 -0
  195. package/dist/serialization/resources/connectors/client/requests/HandlerVaultCredentialUpdateReq.js +41 -0
  196. package/dist/serialization/resources/connectors/client/requests/index.d.ts +2 -0
  197. package/dist/serialization/resources/connectors/client/requests/index.js +5 -1
  198. package/dist/serialization/resources/context/types/ChunksContextRequestType.d.ts +7 -0
  199. package/dist/serialization/resources/context/types/ChunksContextRequestType.js +39 -0
  200. package/dist/serialization/resources/context/types/ListV2ListContentRequestType.d.ts +1 -1
  201. package/dist/serialization/resources/context/types/ListV2ListContentRequestType.js +1 -1
  202. package/dist/serialization/resources/context/types/ProfileContextRequestType.d.ts +7 -0
  203. package/dist/serialization/resources/context/types/ProfileContextRequestType.js +39 -0
  204. package/dist/serialization/resources/context/types/RelationsContextRequestType.d.ts +1 -1
  205. package/dist/serialization/resources/context/types/RelationsContextRequestType.js +1 -1
  206. package/dist/serialization/resources/context/types/SourcesV2SourceDeleteRequestType.d.ts +1 -1
  207. package/dist/serialization/resources/context/types/SourcesV2SourceDeleteRequestType.js +1 -1
  208. package/dist/serialization/resources/context/types/SubgraphContextRequestType.d.ts +1 -1
  209. package/dist/serialization/resources/context/types/SubgraphContextRequestType.js +1 -1
  210. package/dist/serialization/resources/context/types/index.d.ts +2 -0
  211. package/dist/serialization/resources/context/types/index.js +2 -0
  212. package/dist/serialization/resources/databases/client/requests/HandlerInstructionsUpdateReq.d.ts +10 -0
  213. package/dist/serialization/resources/databases/client/requests/HandlerInstructionsUpdateReq.js +44 -0
  214. package/dist/serialization/resources/databases/client/requests/TenantsTenantCreateRequest.d.ts +2 -0
  215. package/dist/serialization/resources/databases/client/requests/TenantsTenantCreateRequest.js +2 -0
  216. package/dist/serialization/resources/databases/client/requests/TenantsTenantRenameRequest.d.ts +9 -0
  217. package/dist/serialization/resources/databases/client/requests/TenantsTenantRenameRequest.js +41 -0
  218. package/dist/serialization/resources/databases/client/requests/index.d.ts +2 -0
  219. package/dist/serialization/resources/databases/client/requests/index.js +5 -1
  220. package/dist/serialization/resources/feedback/client/index.d.ts +1 -0
  221. package/dist/serialization/resources/feedback/client/index.js +17 -0
  222. package/dist/serialization/resources/feedback/client/requests/FeedbackSubmitRequest.d.ts +21 -0
  223. package/dist/serialization/{types → resources/feedback/client/requests}/FeedbackSubmitRequest.js +16 -4
  224. package/dist/serialization/resources/feedback/client/requests/index.d.ts +1 -0
  225. package/dist/serialization/resources/feedback/client/requests/index.js +5 -0
  226. package/dist/serialization/resources/feedback/index.d.ts +1 -0
  227. package/dist/serialization/resources/feedback/index.js +17 -0
  228. package/dist/serialization/resources/index.d.ts +2 -0
  229. package/dist/serialization/resources/index.js +3 -1
  230. package/dist/serialization/types/ConnectorsResource.d.ts +6 -0
  231. package/dist/serialization/types/ConnectorsResource.js +6 -0
  232. package/dist/serialization/types/GithubComHydradbHydradbApplicationInternalPlatformStoragelayoutLayout.d.ts +7 -0
  233. package/dist/serialization/types/GithubComHydradbHydradbApplicationInternalPlatformStoragelayoutLayout.js +39 -0
  234. package/dist/serialization/types/GraphRelationEvidence.d.ts +1 -0
  235. package/dist/serialization/types/GraphRelationEvidence.js +1 -0
  236. package/dist/serialization/types/HandlerConnectorApiView.d.ts +3 -0
  237. package/dist/serialization/types/HandlerConnectorApiView.js +3 -0
  238. package/dist/serialization/types/HandlerConnectorCreateResponse.d.ts +3 -0
  239. package/dist/serialization/types/HandlerConnectorCreateResponse.js +3 -0
  240. package/dist/serialization/types/HandlerConnectorLimitView.d.ts +12 -0
  241. package/dist/serialization/types/{FeedbackSubmitRequestGroundTruth.js → HandlerConnectorLimitView.js} +6 -4
  242. package/dist/serialization/types/HandlerConnectorListResponse.d.ts +4 -0
  243. package/dist/serialization/types/HandlerConnectorListResponse.js +4 -0
  244. package/dist/serialization/types/HandlerConnectorPauseResponse.d.ts +11 -0
  245. package/dist/serialization/types/HandlerConnectorPauseResponse.js +43 -0
  246. package/dist/serialization/types/HandlerConnectorResourceStatus.d.ts +4 -0
  247. package/dist/serialization/types/HandlerConnectorResourceStatus.js +4 -0
  248. package/dist/serialization/types/HandlerConnectorStatusResponse.d.ts +2 -0
  249. package/dist/serialization/types/HandlerConnectorStatusResponse.js +2 -0
  250. package/dist/serialization/types/HandlerEnvelopeSearchChunkInspectResult.d.ts +15 -0
  251. package/dist/serialization/types/HandlerEnvelopeSearchChunkInspectResult.js +47 -0
  252. package/dist/serialization/types/HandlerEnvelopeSearchEntityProfileView.d.ts +15 -0
  253. package/dist/serialization/types/HandlerEnvelopeSearchEntityProfileView.js +47 -0
  254. package/dist/serialization/types/HandlerEnvelopeSearchV2RetrievalResult.d.ts +2 -2
  255. package/dist/serialization/types/HandlerEnvelopeSearchV2RetrievalResult.js +2 -2
  256. package/dist/serialization/types/HandlerEnvelopeSearchV2RetrievalResultData.d.ts +9 -0
  257. package/dist/serialization/types/HandlerEnvelopeSearchV2RetrievalResultData.js +41 -0
  258. package/dist/serialization/types/HandlerEnvelopeTenantsSubTenantDeleteResponse.d.ts +15 -0
  259. package/dist/serialization/types/HandlerEnvelopeTenantsSubTenantDeleteResponse.js +47 -0
  260. package/dist/serialization/types/HandlerEnvelopeTenantsTenantRenameResponse.d.ts +15 -0
  261. package/dist/serialization/types/HandlerEnvelopeTenantsTenantRenameResponse.js +47 -0
  262. package/dist/serialization/types/HandlerInstructionsResponse.d.ts +12 -0
  263. package/dist/serialization/types/HandlerInstructionsResponse.js +44 -0
  264. package/dist/serialization/types/HandlerPlanCapView.d.ts +11 -0
  265. package/dist/serialization/types/{FeedbackSubmitRequestGroundTruthGroundTruthSourceIds.js → HandlerPlanCapView.js} +5 -3
  266. package/dist/serialization/types/HandlerVaultCredentialEntry.d.ts +15 -0
  267. package/dist/serialization/types/HandlerVaultCredentialEntry.js +47 -0
  268. package/dist/serialization/types/HandlerVaultCredentialListResponse.d.ts +12 -0
  269. package/dist/serialization/types/HandlerVaultCredentialListResponse.js +44 -0
  270. package/dist/serialization/types/HandlerVaultCredentialRevealResponse.d.ts +12 -0
  271. package/dist/serialization/types/HandlerVaultCredentialRevealResponse.js +44 -0
  272. package/dist/serialization/types/HandlerVaultCredentialUpdateResponse.d.ts +10 -0
  273. package/dist/serialization/types/HandlerVaultCredentialUpdateResponse.js +42 -0
  274. package/dist/serialization/types/IngestionGraphEntity.d.ts +12 -0
  275. package/dist/serialization/types/IngestionGraphEntity.js +44 -0
  276. package/dist/serialization/types/IngestionGraphPayload.d.ts +12 -0
  277. package/dist/serialization/types/IngestionGraphPayload.js +44 -0
  278. package/dist/serialization/types/IngestionGraphRelation.d.ts +13 -0
  279. package/dist/serialization/types/IngestionGraphRelation.js +45 -0
  280. package/dist/serialization/types/ListV2MemoryItem.d.ts +1 -0
  281. package/dist/serialization/types/ListV2MemoryItem.js +1 -0
  282. package/dist/serialization/types/ListV2SourceItem.d.ts +1 -0
  283. package/dist/serialization/types/ListV2SourceItem.js +1 -0
  284. package/dist/serialization/types/MemoriesConversationTurn.d.ts +10 -0
  285. package/dist/serialization/types/MemoriesConversationTurn.js +42 -0
  286. package/dist/serialization/types/MemoriesForcefulRelations.d.ts +10 -0
  287. package/dist/serialization/types/MemoriesForcefulRelations.js +42 -0
  288. package/dist/serialization/types/MemoriesIngestItem.d.ts +25 -0
  289. package/dist/serialization/types/MemoriesIngestItem.js +57 -0
  290. package/dist/serialization/types/MemoriesIngestItemContextCategory.d.ts +7 -0
  291. package/dist/serialization/types/MemoriesIngestItemContextCategory.js +39 -0
  292. package/dist/serialization/types/MemoriesUnifiedIngestRequest.d.ts +19 -0
  293. package/dist/serialization/types/MemoriesUnifiedIngestRequest.js +51 -0
  294. package/dist/serialization/types/SearchAliasExpansionNote.d.ts +10 -0
  295. package/dist/serialization/types/SearchAliasExpansionNote.js +42 -0
  296. package/dist/serialization/types/SearchAppSearchFusionDiagnostics.d.ts +13 -0
  297. package/dist/serialization/types/SearchAppSearchFusionDiagnostics.js +45 -0
  298. package/dist/serialization/types/SearchAppSearchFusionStats.d.ts +19 -0
  299. package/dist/serialization/types/SearchAppSearchFusionStats.js +51 -0
  300. package/dist/serialization/types/SearchChunkInspectResult.d.ts +14 -0
  301. package/dist/serialization/types/SearchChunkInspectResult.js +46 -0
  302. package/dist/serialization/types/SearchCodeSearchRepoResult.d.ts +15 -0
  303. package/dist/serialization/types/SearchCodeSearchRepoResult.js +47 -0
  304. package/dist/serialization/types/SearchCodeSearchResult.d.ts +14 -0
  305. package/dist/serialization/types/SearchCodeSearchResult.js +46 -0
  306. package/dist/serialization/types/SearchEntityProfileView.d.ts +22 -0
  307. package/dist/serialization/types/SearchEntityProfileView.js +54 -0
  308. package/dist/serialization/types/SearchForcefulRelationEntry.d.ts +12 -0
  309. package/dist/serialization/types/SearchForcefulRelationEntry.js +44 -0
  310. package/dist/serialization/types/SearchForcefulRelationsBucket.d.ts +11 -0
  311. package/dist/serialization/types/SearchForcefulRelationsBucket.js +43 -0
  312. package/dist/serialization/types/SearchGraphPath.d.ts +13 -0
  313. package/dist/serialization/types/SearchGraphPath.js +45 -0
  314. package/dist/serialization/types/SearchGraphPlane.d.ts +10 -0
  315. package/dist/serialization/types/SearchGraphPlane.js +42 -0
  316. package/dist/serialization/types/SearchProfileContext.d.ts +17 -0
  317. package/dist/serialization/types/SearchProfileContext.js +49 -0
  318. package/dist/serialization/types/SearchProfileEntry.d.ts +15 -0
  319. package/dist/serialization/types/SearchProfileEntry.js +47 -0
  320. package/dist/serialization/types/SearchProfileFilterInfo.d.ts +15 -0
  321. package/dist/serialization/types/SearchProfileFilterInfo.js +47 -0
  322. package/dist/serialization/types/SearchQueryChunk.d.ts +18 -0
  323. package/dist/serialization/types/SearchQueryChunk.js +50 -0
  324. package/dist/serialization/types/SearchQueryChunkEnrichmentKind.d.ts +7 -0
  325. package/dist/serialization/types/SearchQueryChunkEnrichmentKind.js +39 -0
  326. package/dist/serialization/types/SearchQueryChunkTemporal.d.ts +11 -0
  327. package/dist/serialization/types/SearchQueryChunkTemporal.js +43 -0
  328. package/dist/serialization/types/SearchQueryForcefulRelation.d.ts +12 -0
  329. package/dist/serialization/types/SearchQueryForcefulRelation.js +44 -0
  330. package/dist/serialization/types/SearchQueryGraphEdge.d.ts +14 -0
  331. package/dist/serialization/types/SearchQueryGraphEdge.js +46 -0
  332. package/dist/serialization/types/SearchQueryGraphEntity.d.ts +10 -0
  333. package/dist/serialization/types/SearchQueryGraphEntity.js +42 -0
  334. package/dist/serialization/types/SearchQueryGraphPath.d.ts +13 -0
  335. package/dist/serialization/types/SearchQueryGraphPath.js +45 -0
  336. package/dist/serialization/types/SearchQueryGraphPathOrigin.d.ts +7 -0
  337. package/dist/serialization/types/{FeedbackSubmitRequestFeedback.js → SearchQueryGraphPathOrigin.js} +2 -4
  338. package/dist/serialization/types/SearchQueryGraphTriplet.d.ts +13 -0
  339. package/dist/serialization/types/SearchQueryGraphTriplet.js +45 -0
  340. package/dist/serialization/types/SearchQueryResult.d.ts +15 -0
  341. package/dist/serialization/types/SearchQueryResult.js +47 -0
  342. package/dist/serialization/types/SearchRelationVia.d.ts +10 -0
  343. package/dist/serialization/types/{FeedbackSubmitRequestGroundTruthGroundTruthAnswer.js → SearchRelationVia.js} +4 -3
  344. package/dist/serialization/types/SearchResolvedReference.d.ts +10 -0
  345. package/dist/serialization/types/SearchResolvedReference.js +42 -0
  346. package/dist/serialization/types/SearchV2RetrievalResult.d.ts +18 -0
  347. package/dist/serialization/types/SearchV2RetrievalResult.js +18 -0
  348. package/dist/serialization/types/SearchVectorStoreChunk.d.ts +21 -0
  349. package/dist/serialization/types/SearchVectorStoreChunk.js +53 -0
  350. package/dist/serialization/types/TenantsDatabaseDetail.d.ts +11 -0
  351. package/dist/serialization/types/TenantsDatabaseDetail.js +43 -0
  352. package/dist/serialization/types/TenantsDatabaseDetailType.d.ts +7 -0
  353. package/dist/serialization/types/TenantsDatabaseDetailType.js +39 -0
  354. package/dist/serialization/types/TenantsInfraStatusResponseV2.d.ts +2 -0
  355. package/dist/serialization/types/TenantsInfraStatusResponseV2.js +2 -0
  356. package/dist/serialization/types/TenantsInfraStatusResponseV2Type.d.ts +7 -0
  357. package/dist/serialization/types/TenantsInfraStatusResponseV2Type.js +39 -0
  358. package/dist/serialization/types/TenantsSubTenantDeleteResponse.d.ts +14 -0
  359. package/dist/serialization/types/TenantsSubTenantDeleteResponse.js +46 -0
  360. package/dist/serialization/types/TenantsTenantIdsResponse.d.ts +2 -0
  361. package/dist/serialization/types/TenantsTenantIdsResponse.js +2 -0
  362. package/dist/serialization/types/TenantsTenantRenameResponse.d.ts +15 -0
  363. package/dist/serialization/types/TenantsTenantRenameResponse.js +47 -0
  364. package/dist/serialization/types/index.d.ts +54 -6
  365. package/dist/serialization/types/index.js +54 -6
  366. package/package.json +1 -1
  367. package/dist/api/types/FeedbackSubmitRequest.d.ts +0 -2
  368. package/dist/api/types/FeedbackSubmitRequestFeedback.d.ts +0 -3
  369. package/dist/api/types/FeedbackSubmitRequestGroundTruth.d.ts +0 -4
  370. package/dist/api/types/FeedbackSubmitRequestGroundTruthGroundTruth.d.ts +0 -2
  371. package/dist/api/types/FeedbackSubmitRequestGroundTruthGroundTruthAnswer.d.ts +0 -3
  372. package/dist/api/types/FeedbackSubmitRequestGroundTruthGroundTruthSourceIds.d.ts +0 -3
  373. package/dist/serialization/types/FeedbackSubmitRequest.d.ts +0 -9
  374. package/dist/serialization/types/FeedbackSubmitRequestFeedback.d.ts +0 -9
  375. package/dist/serialization/types/FeedbackSubmitRequestGroundTruth.d.ts +0 -10
  376. package/dist/serialization/types/FeedbackSubmitRequestGroundTruthGroundTruth.d.ts +0 -9
  377. package/dist/serialization/types/FeedbackSubmitRequestGroundTruthGroundTruth.js +0 -44
  378. package/dist/serialization/types/FeedbackSubmitRequestGroundTruthGroundTruthAnswer.d.ts +0 -9
  379. package/dist/serialization/types/FeedbackSubmitRequestGroundTruthGroundTruthSourceIds.d.ts +0 -9
  380. /package/dist/api/{types/FeedbackSubmitRequest.js → resources/connectors/client/requests/HandlerVaultCredentialRevealReq.js} +0 -0
  381. /package/dist/api/{types/FeedbackSubmitRequestFeedback.js → resources/connectors/client/requests/HandlerVaultCredentialUpdateReq.js} +0 -0
  382. /package/dist/api/{types/FeedbackSubmitRequestGroundTruth.js → resources/connectors/client/requests/PauseConnectorsRequest.js} +0 -0
  383. /package/dist/api/{types/FeedbackSubmitRequestGroundTruthGroundTruth.js → resources/connectors/client/requests/ResumeConnectorsRequest.js} +0 -0
  384. /package/dist/api/{types/FeedbackSubmitRequestGroundTruthGroundTruthAnswer.js → resources/context/client/requests/ChunksContextRequest.js} +0 -0
  385. /package/dist/api/{types/FeedbackSubmitRequestGroundTruthGroundTruthSourceIds.js → resources/context/client/requests/ProfileContextRequest.js} +0 -0
@@ -0,0 +1,6 @@
1
+ import type * as HydraDB from "../index.js";
2
+ export interface SearchQueryGraphTriplet {
3
+ relation: HydraDB.SearchQueryGraphEdge;
4
+ source: HydraDB.SearchQueryGraphEntity;
5
+ target: HydraDB.SearchQueryGraphEntity;
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,14 @@
1
+ import type * as HydraDB from "../index.js";
2
+ /**
3
+ * The four-key /query response body: chunks, graph, forceful_relations and llm_prompt, and nothing else.
4
+ */
5
+ export interface SearchQueryResult {
6
+ /** Retrieved chunks, ranked. Each carries its own text, enrichment and received_at, and nothing else about its source: POST /context/list with its context_id in `ids` returns the source's title, type, collection and metadata. */
7
+ chunks: HydraDB.SearchQueryChunk[];
8
+ /** Chunks pulled in because the author declared forceful_relations at ingest. [] when none were declared or follow_forceful_relations was false. */
9
+ forcefulRelations: HydraDB.SearchQueryForcefulRelation[];
10
+ /** Graph paths, query paths first then chunk relations, deduplicated. [] when graph_context was false. */
11
+ graph: HydraDB.SearchQueryGraphPath[];
12
+ /** The whole response rendered as markdown for a model call: numbered results with their relevance, forceful relations, related facts labelled P1..Pn in `graph` order and citing the results they came from, temporal facts and sources. It also carries what this body has no key for: a computed duration, source facts, entity profiles, the code-search answer, the aliases and references the query was expanded with, decision-trace evidence, and a note when a lookup failed or was truncated. Inject it verbatim. */
13
+ llmPrompt: 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,4 @@
1
+ export interface SearchRelationVia {
2
+ from?: string;
3
+ to?: string;
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,4 @@
1
+ export interface SearchResolvedReference {
2
+ expression?: string;
3
+ resolvedTo?: string;
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 });
@@ -1,10 +1,41 @@
1
1
  import type * as HydraDB from "../index.js";
2
2
  export interface SearchV2RetrievalResult {
3
- /** Map of chunk ID to chunk content for sources declared as related by the author (query_forceful_relations). */
3
+ /** deprecated: use forceful_relations */
4
4
  additionalContext?: Record<string, HydraDB.SearchV2Chunk>;
5
+ /**
6
+ * AliasExpansions is the alias layer's honesty stamp (V0): which nickname
7
+ * was expanded to which canonical name for this answer.
8
+ */
9
+ aliasExpansions?: HydraDB.SearchAliasExpansionNote[];
10
+ /** App-search fusion diagnostics for unscoped requests: final returned chunk attribution and pre-postprocessing fusion counts. Omitted for ACL-scoped requests and when no attributed chunks remain. */
11
+ appSearchFusion?: HydraDB.SearchAppSearchFusionDiagnostics;
5
12
  /** Retrieved and ranked chunks from the knowledge store or memories. */
6
13
  chunks?: HydraDB.SearchV2Chunk[];
14
+ codeSearch?: HydraDB.SearchCodeSearchResult;
15
+ forcefulRelations?: HydraDB.SearchForcefulRelationsBucket;
16
+ graph?: HydraDB.SearchGraphPlane;
7
17
  graphContext?: HydraDB.SearchGraphContext;
18
+ /**
19
+ * LLMPrompt is the whole response rendered as Markdown for a model call
20
+ * (PRO-2067): numbered results with their content and citable ids, related
21
+ * facts with evidence, temporal facts, profiles and sources. It is never
22
+ * empty on /query — a zero-match query renders an explicit no-results
23
+ * message naming any filter that constrained the search. Inject it
24
+ * verbatim.
25
+ */
26
+ llmPrompt?: string;
27
+ profileContext?: HydraDB.SearchProfileContext;
28
+ profileFilter?: HydraDB.SearchProfileFilterInfo;
29
+ /**
30
+ * Profiles are the auto-selected profiles for the query's graph-resolved
31
+ * entities (PRO-1797); additive to ProfileContext, omitted when none.
32
+ */
33
+ profiles?: HydraDB.SearchProfileContext[];
34
+ /**
35
+ * ResolvedReferences report description-based references the query resolved
36
+ * and expanded with (PRO-1797 Stage 2); omitted when none.
37
+ */
38
+ resolvedReferences?: HydraDB.SearchResolvedReference[];
8
39
  /**
9
40
  * SourceFacts surface the matched app-native (edge_source) facts when
10
41
  * source_reasoning was active; omitted otherwise (PRO-1602).
@@ -0,0 +1,28 @@
1
+ export interface SearchVectorStoreChunk {
2
+ /**
3
+ * Pydantic aliases: document_metadata→additional_metadata, tenant_metadata→metadata.
4
+ * FastAPI serializes responses by_alias, so the wire uses the alias names.
5
+ */
6
+ additionalMetadata?: Record<string, unknown>;
7
+ /** Text content of this chunk. */
8
+ chunkContent?: string;
9
+ /** Unique identifier for this individual chunk. */
10
+ chunkUuid?: string;
11
+ /** IDs of adjacent chunks pulled in as surrounding context. */
12
+ extraContextIds?: string[];
13
+ /** Layout classification for this chunk (e.g. `text`, `table`, `image`). */
14
+ layout?: string;
15
+ metadata?: Record<string, unknown>;
16
+ /** Relevance score for this item against the query. */
17
+ relevancyScore?: number;
18
+ sourceId?: string;
19
+ /** RFC3339 timestamp when the source was last modified. */
20
+ sourceLastUpdatedTime?: string;
21
+ /** Title of the parent source document. */
22
+ sourceTitle?: string;
23
+ /** Type of the parent source (e.g. `file`, `slack`, `notion`). */
24
+ sourceType?: string;
25
+ /** RFC3339 timestamp when the source was ingested. */
26
+ sourceUploadTime?: string;
27
+ subTenantId?: string;
28
+ }
@@ -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
+ export interface TenantsDatabaseDetail {
3
+ /** Owning database. Formerly `tenant_id`; the `tenant_id` alias is still accepted (deprecated). */
4
+ database?: string;
5
+ /**
6
+ * Type is the storage layout the database was created with: "split" (a
7
+ * knowledge and a memory corpus, selected by `type` on every call).
8
+ * Absent where the deployment does not expose the layout.
9
+ */
10
+ type?: HydraDB.TenantsDatabaseDetailType;
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
+ * Type is the storage layout the database was created with: "split" (a
3
+ * knowledge and a memory corpus, selected by `type` on every call).
4
+ * Absent where the deployment does not expose the layout.
5
+ */
6
+ export declare const TenantsDatabaseDetailType: {
7
+ readonly Split: "split";
8
+ };
9
+ export type TenantsDatabaseDetailType = (typeof TenantsDatabaseDetailType)[keyof typeof TenantsDatabaseDetailType];
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.TenantsDatabaseDetailType = void 0;
5
+ /**
6
+ * Type is the storage layout the database was created with: "split" (a
7
+ * knowledge and a memory corpus, selected by `type` on every call).
8
+ * Absent where the deployment does not expose the layout.
9
+ */
10
+ exports.TenantsDatabaseDetailType = {
11
+ Split: "split",
12
+ };
@@ -8,4 +8,9 @@ export interface TenantsInfraStatusResponseV2 {
8
8
  /** Organization that owns this resource. */
9
9
  orgId?: string;
10
10
  tenantId?: string;
11
+ /**
12
+ * Type is the storage layout the database was created with; absent while the
13
+ * database is deleting or unknown.
14
+ */
15
+ type?: HydraDB.TenantsInfraStatusResponseV2Type;
11
16
  }
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Type is the storage layout the database was created with; absent while the
3
+ * database is deleting or unknown.
4
+ */
5
+ export declare const TenantsInfraStatusResponseV2Type: {
6
+ readonly Split: "split";
7
+ };
8
+ export type TenantsInfraStatusResponseV2Type = (typeof TenantsInfraStatusResponseV2Type)[keyof typeof TenantsInfraStatusResponseV2Type];
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.TenantsInfraStatusResponseV2Type = void 0;
5
+ /**
6
+ * Type is the storage layout the database was created with; absent while the
7
+ * database is deleting or unknown.
8
+ */
9
+ exports.TenantsInfraStatusResponseV2Type = {
10
+ Split: "split",
11
+ };
@@ -1,3 +1,4 @@
1
+ /** Declared type of a database metadata schema field. ARRAY appears in this enum because schemas persisted before it was rejected still read back and rebuild, but it CANNOT be declared on a new or evolved field: both the create and the update-metadata-schema endpoints answer 400 for it. For a field holding several values, declare VARCHAR and store the values comma-joined, then filter one member with the contains operator. */
1
2
  export declare const TenantsMilvusDataType: {
2
3
  readonly Bool: "BOOL";
3
4
  readonly Int8: "INT8";
@@ -2,6 +2,7 @@
2
2
  // This file was auto-generated by Fern from our API Definition.
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.TenantsMilvusDataType = void 0;
5
+ /** Declared type of a database metadata schema field. ARRAY appears in this enum because schemas persisted before it was rejected still read back and rebuild, but it CANNOT be declared on a new or evolved field: both the create and the update-metadata-schema endpoints answer 400 for it. For a field holding several values, declare VARCHAR and store the values comma-joined, then filter one member with the contains operator. */
5
6
  exports.TenantsMilvusDataType = {
6
7
  Bool: "BOOL",
7
8
  Int8: "INT8",
@@ -0,0 +1,12 @@
1
+ export interface TenantsSubTenantDeleteResponse {
2
+ /** Collection scope. Defaults to the default collection when omitted. Formerly `sub_tenant_id`; the `sub_tenant_id` alias is still accepted (deprecated). */
3
+ collection?: string;
4
+ /** Owning database. Formerly `tenant_id`; the `tenant_id` alias is still accepted (deprecated). */
5
+ database?: string;
6
+ /** Human-readable result message. */
7
+ message?: string;
8
+ /** Current lifecycle or processing state. */
9
+ status?: string;
10
+ subTenantId?: string;
11
+ tenantId?: string;
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 });
@@ -2,6 +2,8 @@ import type * as HydraDB from "../index.js";
2
2
  export interface TenantsTenantIdsResponse {
3
3
  /** List of database identifiers. */
4
4
  databases?: string[];
5
+ /** Details carries one entry per live database with its storage layout. */
6
+ details?: HydraDB.TenantsDatabaseDetail[];
5
7
  /** Databases that failed provisioning, with error details. */
6
8
  failedDatabases?: HydraDB.TenantsFailedTenant[];
7
9
  /** Deprecated alias for `failed_databases`. */
@@ -0,0 +1,20 @@
1
+ export interface TenantsTenantRenameResponse {
2
+ /**
3
+ * ConnectorReassignment reports how the rename's connector sweep ended:
4
+ * "complete" (every connector already targets the new name), "queued" (a
5
+ * durable background reconciliation owns the remainder and retries until
6
+ * drained), or "failed" (neither — contact support; the failure is also
7
+ * alerted on server-side). The rename itself has succeeded in all three
8
+ * states.
9
+ */
10
+ connectorReassignment?: string;
11
+ /** Owning database. Formerly `tenant_id`; the `tenant_id` alias is still accepted (deprecated). */
12
+ database?: string;
13
+ /** Human-readable result message. */
14
+ message?: string;
15
+ oldDatabase?: string;
16
+ oldTenantId?: string;
17
+ /** Current lifecycle or processing state. */
18
+ status?: string;
19
+ tenantId?: string;
20
+ }
@@ -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 });
@@ -3,14 +3,9 @@ export * from "./DashboardPaginationMeta.js";
3
3
  export * from "./FeedbackGroundTruth.js";
4
4
  export * from "./FeedbackRating.js";
5
5
  export * from "./FeedbackSource.js";
6
- export * from "./FeedbackSubmitRequest.js";
7
- export * from "./FeedbackSubmitRequestFeedback.js";
8
- export * from "./FeedbackSubmitRequestGroundTruth.js";
9
- export * from "./FeedbackSubmitRequestGroundTruthGroundTruth.js";
10
- export * from "./FeedbackSubmitRequestGroundTruthGroundTruthAnswer.js";
11
- export * from "./FeedbackSubmitRequestGroundTruthGroundTruthSourceIds.js";
12
6
  export * from "./FeedbackSubmitResponse.js";
13
7
  export * from "./FetchV2SourceFetchResponse.js";
8
+ export * from "./GithubComHydradbHydradbApplicationInternalPlatformStoragelayoutLayout.js";
14
9
  export * from "./GithubComHydradbHydradbApplicationInternalServiceMetadataEditResult.js";
15
10
  export * from "./GraphEntity.js";
16
11
  export * from "./GraphGraphRelationsResponse.js";
@@ -26,7 +21,9 @@ export * from "./HandlerConnectorApiView.js";
26
21
  export * from "./HandlerConnectorCatalogResponse.js";
27
22
  export * from "./HandlerConnectorCreateResponse.js";
28
23
  export * from "./HandlerConnectorDeleteResponse.js";
24
+ export * from "./HandlerConnectorLimitView.js";
29
25
  export * from "./HandlerConnectorListResponse.js";
26
+ export * from "./HandlerConnectorPauseResponse.js";
30
27
  export * from "./HandlerConnectorResourceStatus.js";
31
28
  export * from "./HandlerConnectorResourcesResponse.js";
32
29
  export * from "./HandlerConnectorStatusError.js";
@@ -46,14 +43,19 @@ export * from "./HandlerEnvelopeHandlerSupabaseWebhookAck.js";
46
43
  export * from "./HandlerEnvelopeIngestionV2BatchProcessingStatus.js";
47
44
  export * from "./HandlerEnvelopeIngestionV2IngestResponse.js";
48
45
  export * from "./HandlerEnvelopeListV2ListResponse.js";
46
+ export * from "./HandlerEnvelopeSearchChunkInspectResult.js";
47
+ export * from "./HandlerEnvelopeSearchEntityProfileView.js";
49
48
  export * from "./HandlerEnvelopeSearchV2RetrievalResult.js";
49
+ export * from "./HandlerEnvelopeSearchV2RetrievalResultData.js";
50
50
  export * from "./HandlerEnvelopeSourcesMemoryDeleteResponse.js";
51
51
  export * from "./HandlerEnvelopeTenantsInfraStatusResponseV2.js";
52
+ export * from "./HandlerEnvelopeTenantsSubTenantDeleteResponse.js";
52
53
  export * from "./HandlerEnvelopeTenantsSubTenantIdsResponse.js";
53
54
  export * from "./HandlerEnvelopeTenantsTenantCreateAcceptedResponse.js";
54
55
  export * from "./HandlerEnvelopeTenantsTenantDeleteResponse.js";
55
56
  export * from "./HandlerEnvelopeTenantsTenantIdsResponse.js";
56
57
  export * from "./HandlerEnvelopeTenantsTenantMetadataSchemaResponse.js";
58
+ export * from "./HandlerEnvelopeTenantsTenantRenameResponse.js";
57
59
  export * from "./HandlerEnvelopeTenantsTenantStatsResponse.js";
58
60
  export * from "./HandlerEnvelopeWebhooksDeliveryItem.js";
59
61
  export * from "./HandlerEnvelopeWebhooksDeliveryListResponse.js";
@@ -67,7 +69,9 @@ export * from "./HandlerErrorDetail.js";
67
69
  export * from "./HandlerErrorEnvelopeSourcesMemoryDeleteResponse.js";
68
70
  export * from "./HandlerErrorMeta.js";
69
71
  export * from "./HandlerErrorResponse.js";
72
+ export * from "./HandlerInstructionsResponse.js";
70
73
  export * from "./HandlerMetadataSchemaUpdateResponse.js";
74
+ export * from "./HandlerPlanCapView.js";
71
75
  export * from "./HandlerProviderListResponse.js";
72
76
  export * from "./HandlerResourceDeleteResponse.js";
73
77
  export * from "./HandlerResourceMapping.js";
@@ -75,6 +79,13 @@ export * from "./HandlerResourceMappingSyncMode.js";
75
79
  export * from "./HandlerResponseMeta.js";
76
80
  export * from "./HandlerSupabaseWebhookAck.js";
77
81
  export * from "./HandlerTableConfigEntry.js";
82
+ export * from "./HandlerVaultCredentialEntry.js";
83
+ export * from "./HandlerVaultCredentialListResponse.js";
84
+ export * from "./HandlerVaultCredentialRevealResponse.js";
85
+ export * from "./HandlerVaultCredentialUpdateResponse.js";
86
+ export * from "./IngestionGraphEntity.js";
87
+ export * from "./IngestionGraphPayload.js";
88
+ export * from "./IngestionGraphRelation.js";
78
89
  export * from "./IngestionSourceStatus.js";
79
90
  export * from "./IngestionV2BatchProcessingStatus.js";
80
91
  export * from "./IngestionV2IngestResponse.js";
@@ -84,14 +95,45 @@ export * from "./ListContentFilter.js";
84
95
  export * from "./ListV2ListResponse.js";
85
96
  export * from "./ListV2MemoryItem.js";
86
97
  export * from "./ListV2SourceItem.js";
98
+ export * from "./MemoriesConversationTurn.js";
99
+ export * from "./MemoriesForcefulRelations.js";
100
+ export * from "./MemoriesIngestItem.js";
101
+ export * from "./MemoriesIngestItemContextCategory.js";
102
+ export * from "./MemoriesUnifiedIngestRequest.js";
103
+ export * from "./SearchAliasExpansionNote.js";
104
+ export * from "./SearchAppSearchFusionDiagnostics.js";
105
+ export * from "./SearchAppSearchFusionStats.js";
106
+ export * from "./SearchChunkInspectResult.js";
107
+ export * from "./SearchCodeSearchRepoResult.js";
108
+ export * from "./SearchCodeSearchResult.js";
109
+ export * from "./SearchEntityProfileView.js";
110
+ export * from "./SearchForcefulRelationEntry.js";
111
+ export * from "./SearchForcefulRelationsBucket.js";
87
112
  export * from "./SearchGraphContext.js";
113
+ export * from "./SearchGraphPath.js";
114
+ export * from "./SearchGraphPlane.js";
88
115
  export * from "./SearchMetadataFilters.js";
89
116
  export * from "./SearchOperator.js";
90
117
  export * from "./SearchPathTriplet.js";
118
+ export * from "./SearchProfileContext.js";
119
+ export * from "./SearchProfileEntry.js";
120
+ export * from "./SearchProfileFilterInfo.js";
91
121
  export * from "./SearchQueryBy.js";
122
+ export * from "./SearchQueryChunk.js";
123
+ export * from "./SearchQueryChunkEnrichmentKind.js";
124
+ export * from "./SearchQueryChunkTemporal.js";
125
+ export * from "./SearchQueryForcefulRelation.js";
126
+ export * from "./SearchQueryGraphEdge.js";
127
+ export * from "./SearchQueryGraphEntity.js";
128
+ export * from "./SearchQueryGraphPath.js";
129
+ export * from "./SearchQueryGraphPathOrigin.js";
130
+ export * from "./SearchQueryGraphTriplet.js";
92
131
  export * from "./SearchQueryRequestCollections.js";
93
132
  export * from "./SearchQueryRequestSubTenantIds.js";
133
+ export * from "./SearchQueryResult.js";
94
134
  export * from "./SearchRecallMode.js";
135
+ export * from "./SearchRelationVia.js";
136
+ export * from "./SearchResolvedReference.js";
95
137
  export * from "./SearchScoredPathResponse.js";
96
138
  export * from "./SearchSourceFact.js";
97
139
  export * from "./SearchSourceFilterInfo.js";
@@ -103,19 +145,25 @@ export * from "./SearchTemporalFilterInfo.js";
103
145
  export * from "./SearchTemporalIntentOverride.js";
104
146
  export * from "./SearchV2Chunk.js";
105
147
  export * from "./SearchV2RetrievalResult.js";
148
+ export * from "./SearchVectorStoreChunk.js";
106
149
  export * from "./SourcesMemoryDeleteResponse.js";
107
150
  export * from "./SourcesSourceDeleteResultItem.js";
108
151
  export * from "./TenantsCollectionStats.js";
109
152
  export * from "./TenantsCustomPropertyDefinition.js";
153
+ export * from "./TenantsDatabaseDetail.js";
154
+ export * from "./TenantsDatabaseDetailType.js";
110
155
  export * from "./TenantsFailedTenant.js";
111
156
  export * from "./TenantsInfraStatusResponseV2.js";
157
+ export * from "./TenantsInfraStatusResponseV2Type.js";
112
158
  export * from "./TenantsInfraV2.js";
113
159
  export * from "./TenantsMilvusDataType.js";
160
+ export * from "./TenantsSubTenantDeleteResponse.js";
114
161
  export * from "./TenantsSubTenantIdsResponse.js";
115
162
  export * from "./TenantsTenantCreateAcceptedResponse.js";
116
163
  export * from "./TenantsTenantDeleteResponse.js";
117
164
  export * from "./TenantsTenantIdsResponse.js";
118
165
  export * from "./TenantsTenantMetadataSchemaResponse.js";
166
+ export * from "./TenantsTenantRenameResponse.js";
119
167
  export * from "./TenantsTenantStatsResponse.js";
120
168
  export * from "./TenantsVectorstoreStatusV2.js";
121
169
  export * from "./WebhooksDeliveryItem.js";
@@ -19,14 +19,9 @@ __exportStar(require("./DashboardPaginationMeta.js"), exports);
19
19
  __exportStar(require("./FeedbackGroundTruth.js"), exports);
20
20
  __exportStar(require("./FeedbackRating.js"), exports);
21
21
  __exportStar(require("./FeedbackSource.js"), exports);
22
- __exportStar(require("./FeedbackSubmitRequest.js"), exports);
23
- __exportStar(require("./FeedbackSubmitRequestFeedback.js"), exports);
24
- __exportStar(require("./FeedbackSubmitRequestGroundTruth.js"), exports);
25
- __exportStar(require("./FeedbackSubmitRequestGroundTruthGroundTruth.js"), exports);
26
- __exportStar(require("./FeedbackSubmitRequestGroundTruthGroundTruthAnswer.js"), exports);
27
- __exportStar(require("./FeedbackSubmitRequestGroundTruthGroundTruthSourceIds.js"), exports);
28
22
  __exportStar(require("./FeedbackSubmitResponse.js"), exports);
29
23
  __exportStar(require("./FetchV2SourceFetchResponse.js"), exports);
24
+ __exportStar(require("./GithubComHydradbHydradbApplicationInternalPlatformStoragelayoutLayout.js"), exports);
30
25
  __exportStar(require("./GithubComHydradbHydradbApplicationInternalServiceMetadataEditResult.js"), exports);
31
26
  __exportStar(require("./GraphEntity.js"), exports);
32
27
  __exportStar(require("./GraphGraphRelationsResponse.js"), exports);
@@ -42,7 +37,9 @@ __exportStar(require("./HandlerConnectorApiView.js"), exports);
42
37
  __exportStar(require("./HandlerConnectorCatalogResponse.js"), exports);
43
38
  __exportStar(require("./HandlerConnectorCreateResponse.js"), exports);
44
39
  __exportStar(require("./HandlerConnectorDeleteResponse.js"), exports);
40
+ __exportStar(require("./HandlerConnectorLimitView.js"), exports);
45
41
  __exportStar(require("./HandlerConnectorListResponse.js"), exports);
42
+ __exportStar(require("./HandlerConnectorPauseResponse.js"), exports);
46
43
  __exportStar(require("./HandlerConnectorResourceStatus.js"), exports);
47
44
  __exportStar(require("./HandlerConnectorResourcesResponse.js"), exports);
48
45
  __exportStar(require("./HandlerConnectorStatusError.js"), exports);
@@ -62,14 +59,19 @@ __exportStar(require("./HandlerEnvelopeHandlerSupabaseWebhookAck.js"), exports);
62
59
  __exportStar(require("./HandlerEnvelopeIngestionV2BatchProcessingStatus.js"), exports);
63
60
  __exportStar(require("./HandlerEnvelopeIngestionV2IngestResponse.js"), exports);
64
61
  __exportStar(require("./HandlerEnvelopeListV2ListResponse.js"), exports);
62
+ __exportStar(require("./HandlerEnvelopeSearchChunkInspectResult.js"), exports);
63
+ __exportStar(require("./HandlerEnvelopeSearchEntityProfileView.js"), exports);
65
64
  __exportStar(require("./HandlerEnvelopeSearchV2RetrievalResult.js"), exports);
65
+ __exportStar(require("./HandlerEnvelopeSearchV2RetrievalResultData.js"), exports);
66
66
  __exportStar(require("./HandlerEnvelopeSourcesMemoryDeleteResponse.js"), exports);
67
67
  __exportStar(require("./HandlerEnvelopeTenantsInfraStatusResponseV2.js"), exports);
68
+ __exportStar(require("./HandlerEnvelopeTenantsSubTenantDeleteResponse.js"), exports);
68
69
  __exportStar(require("./HandlerEnvelopeTenantsSubTenantIdsResponse.js"), exports);
69
70
  __exportStar(require("./HandlerEnvelopeTenantsTenantCreateAcceptedResponse.js"), exports);
70
71
  __exportStar(require("./HandlerEnvelopeTenantsTenantDeleteResponse.js"), exports);
71
72
  __exportStar(require("./HandlerEnvelopeTenantsTenantIdsResponse.js"), exports);
72
73
  __exportStar(require("./HandlerEnvelopeTenantsTenantMetadataSchemaResponse.js"), exports);
74
+ __exportStar(require("./HandlerEnvelopeTenantsTenantRenameResponse.js"), exports);
73
75
  __exportStar(require("./HandlerEnvelopeTenantsTenantStatsResponse.js"), exports);
74
76
  __exportStar(require("./HandlerEnvelopeWebhooksDeliveryItem.js"), exports);
75
77
  __exportStar(require("./HandlerEnvelopeWebhooksDeliveryListResponse.js"), exports);
@@ -83,7 +85,9 @@ __exportStar(require("./HandlerErrorDetail.js"), exports);
83
85
  __exportStar(require("./HandlerErrorEnvelopeSourcesMemoryDeleteResponse.js"), exports);
84
86
  __exportStar(require("./HandlerErrorMeta.js"), exports);
85
87
  __exportStar(require("./HandlerErrorResponse.js"), exports);
88
+ __exportStar(require("./HandlerInstructionsResponse.js"), exports);
86
89
  __exportStar(require("./HandlerMetadataSchemaUpdateResponse.js"), exports);
90
+ __exportStar(require("./HandlerPlanCapView.js"), exports);
87
91
  __exportStar(require("./HandlerProviderListResponse.js"), exports);
88
92
  __exportStar(require("./HandlerResourceDeleteResponse.js"), exports);
89
93
  __exportStar(require("./HandlerResourceMapping.js"), exports);
@@ -91,6 +95,13 @@ __exportStar(require("./HandlerResourceMappingSyncMode.js"), exports);
91
95
  __exportStar(require("./HandlerResponseMeta.js"), exports);
92
96
  __exportStar(require("./HandlerSupabaseWebhookAck.js"), exports);
93
97
  __exportStar(require("./HandlerTableConfigEntry.js"), exports);
98
+ __exportStar(require("./HandlerVaultCredentialEntry.js"), exports);
99
+ __exportStar(require("./HandlerVaultCredentialListResponse.js"), exports);
100
+ __exportStar(require("./HandlerVaultCredentialRevealResponse.js"), exports);
101
+ __exportStar(require("./HandlerVaultCredentialUpdateResponse.js"), exports);
102
+ __exportStar(require("./IngestionGraphEntity.js"), exports);
103
+ __exportStar(require("./IngestionGraphPayload.js"), exports);
104
+ __exportStar(require("./IngestionGraphRelation.js"), exports);
94
105
  __exportStar(require("./IngestionSourceStatus.js"), exports);
95
106
  __exportStar(require("./IngestionV2BatchProcessingStatus.js"), exports);
96
107
  __exportStar(require("./IngestionV2IngestResponse.js"), exports);
@@ -100,14 +111,45 @@ __exportStar(require("./ListContentFilter.js"), exports);
100
111
  __exportStar(require("./ListV2ListResponse.js"), exports);
101
112
  __exportStar(require("./ListV2MemoryItem.js"), exports);
102
113
  __exportStar(require("./ListV2SourceItem.js"), exports);
114
+ __exportStar(require("./MemoriesConversationTurn.js"), exports);
115
+ __exportStar(require("./MemoriesForcefulRelations.js"), exports);
116
+ __exportStar(require("./MemoriesIngestItem.js"), exports);
117
+ __exportStar(require("./MemoriesIngestItemContextCategory.js"), exports);
118
+ __exportStar(require("./MemoriesUnifiedIngestRequest.js"), exports);
119
+ __exportStar(require("./SearchAliasExpansionNote.js"), exports);
120
+ __exportStar(require("./SearchAppSearchFusionDiagnostics.js"), exports);
121
+ __exportStar(require("./SearchAppSearchFusionStats.js"), exports);
122
+ __exportStar(require("./SearchChunkInspectResult.js"), exports);
123
+ __exportStar(require("./SearchCodeSearchRepoResult.js"), exports);
124
+ __exportStar(require("./SearchCodeSearchResult.js"), exports);
125
+ __exportStar(require("./SearchEntityProfileView.js"), exports);
126
+ __exportStar(require("./SearchForcefulRelationEntry.js"), exports);
127
+ __exportStar(require("./SearchForcefulRelationsBucket.js"), exports);
103
128
  __exportStar(require("./SearchGraphContext.js"), exports);
129
+ __exportStar(require("./SearchGraphPath.js"), exports);
130
+ __exportStar(require("./SearchGraphPlane.js"), exports);
104
131
  __exportStar(require("./SearchMetadataFilters.js"), exports);
105
132
  __exportStar(require("./SearchOperator.js"), exports);
106
133
  __exportStar(require("./SearchPathTriplet.js"), exports);
134
+ __exportStar(require("./SearchProfileContext.js"), exports);
135
+ __exportStar(require("./SearchProfileEntry.js"), exports);
136
+ __exportStar(require("./SearchProfileFilterInfo.js"), exports);
107
137
  __exportStar(require("./SearchQueryBy.js"), exports);
138
+ __exportStar(require("./SearchQueryChunk.js"), exports);
139
+ __exportStar(require("./SearchQueryChunkEnrichmentKind.js"), exports);
140
+ __exportStar(require("./SearchQueryChunkTemporal.js"), exports);
141
+ __exportStar(require("./SearchQueryForcefulRelation.js"), exports);
142
+ __exportStar(require("./SearchQueryGraphEdge.js"), exports);
143
+ __exportStar(require("./SearchQueryGraphEntity.js"), exports);
144
+ __exportStar(require("./SearchQueryGraphPath.js"), exports);
145
+ __exportStar(require("./SearchQueryGraphPathOrigin.js"), exports);
146
+ __exportStar(require("./SearchQueryGraphTriplet.js"), exports);
108
147
  __exportStar(require("./SearchQueryRequestCollections.js"), exports);
109
148
  __exportStar(require("./SearchQueryRequestSubTenantIds.js"), exports);
149
+ __exportStar(require("./SearchQueryResult.js"), exports);
110
150
  __exportStar(require("./SearchRecallMode.js"), exports);
151
+ __exportStar(require("./SearchRelationVia.js"), exports);
152
+ __exportStar(require("./SearchResolvedReference.js"), exports);
111
153
  __exportStar(require("./SearchScoredPathResponse.js"), exports);
112
154
  __exportStar(require("./SearchSourceFact.js"), exports);
113
155
  __exportStar(require("./SearchSourceFilterInfo.js"), exports);
@@ -119,19 +161,25 @@ __exportStar(require("./SearchTemporalFilterInfo.js"), exports);
119
161
  __exportStar(require("./SearchTemporalIntentOverride.js"), exports);
120
162
  __exportStar(require("./SearchV2Chunk.js"), exports);
121
163
  __exportStar(require("./SearchV2RetrievalResult.js"), exports);
164
+ __exportStar(require("./SearchVectorStoreChunk.js"), exports);
122
165
  __exportStar(require("./SourcesMemoryDeleteResponse.js"), exports);
123
166
  __exportStar(require("./SourcesSourceDeleteResultItem.js"), exports);
124
167
  __exportStar(require("./TenantsCollectionStats.js"), exports);
125
168
  __exportStar(require("./TenantsCustomPropertyDefinition.js"), exports);
169
+ __exportStar(require("./TenantsDatabaseDetail.js"), exports);
170
+ __exportStar(require("./TenantsDatabaseDetailType.js"), exports);
126
171
  __exportStar(require("./TenantsFailedTenant.js"), exports);
127
172
  __exportStar(require("./TenantsInfraStatusResponseV2.js"), exports);
173
+ __exportStar(require("./TenantsInfraStatusResponseV2Type.js"), exports);
128
174
  __exportStar(require("./TenantsInfraV2.js"), exports);
129
175
  __exportStar(require("./TenantsMilvusDataType.js"), exports);
176
+ __exportStar(require("./TenantsSubTenantDeleteResponse.js"), exports);
130
177
  __exportStar(require("./TenantsSubTenantIdsResponse.js"), exports);
131
178
  __exportStar(require("./TenantsTenantCreateAcceptedResponse.js"), exports);
132
179
  __exportStar(require("./TenantsTenantDeleteResponse.js"), exports);
133
180
  __exportStar(require("./TenantsTenantIdsResponse.js"), exports);
134
181
  __exportStar(require("./TenantsTenantMetadataSchemaResponse.js"), exports);
182
+ __exportStar(require("./TenantsTenantRenameResponse.js"), exports);
135
183
  __exportStar(require("./TenantsTenantStatsResponse.js"), exports);
136
184
  __exportStar(require("./TenantsVectorstoreStatusV2.js"), exports);
137
185
  __exportStar(require("./WebhooksDeliveryItem.js"), exports);
@@ -1,15 +1,21 @@
1
1
  /**
2
2
  * Format a v2 query result into a plain string for LLM context injection.
3
3
  *
4
- * Accepts either:
4
+ * The canonical string rendering lives on the APPLICATION LAYER: every /query
5
+ * response body carries `llm_prompt`, the whole result rendered as a Markdown
6
+ * document by the server (the same code on every surface). When this helper
7
+ * finds it, it returns the server's string verbatim. The client-side
8
+ * formatting below is only the legacy fallback for responses from servers
9
+ * that predate `llm_prompt`.
10
+ *
11
+ * Accepts:
5
12
  * - The full v2 envelope (`{ success, data, error, meta }`) — auto-unwraps `.data`
6
13
  * - A bare retrieval result (with `chunks` / `graphContext`)
7
14
  *
8
15
  * @example
9
16
  * ```typescript
10
17
  * const response = await client.query({ query: "...", tenantId: "..." });
11
- * console.log(buildString(response)); // works on the envelope
12
- * console.log(buildString(response.data!)); // also works on just the data
18
+ * console.log(buildString(response)); // the server-rendered llm_prompt, verbatim
13
19
  * ```
14
20
  */
15
21
  export declare function buildString(result: any): string;