@hydradb/sdk 2.1.3 → 2.1.5

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 (383) 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 +47 -3
  5. package/dist/api/resources/connectors/client/Client.d.ts +102 -2
  6. package/dist/api/resources/connectors/client/Client.js +404 -2
  7. package/dist/api/resources/connectors/client/requests/HandlerConnectorCreateReq.d.ts +6 -0
  8. package/dist/api/resources/connectors/client/requests/HandlerConnectorUpdateReq.d.ts +6 -0
  9. package/dist/api/resources/connectors/client/requests/HandlerResourceCreateReq.d.ts +12 -0
  10. package/dist/api/resources/connectors/client/requests/HandlerVaultCredentialRevealReq.d.ts +12 -0
  11. package/dist/api/resources/connectors/client/requests/HandlerVaultCredentialUpdateReq.d.ts +15 -0
  12. package/dist/api/resources/connectors/client/requests/PauseConnectorsRequest.d.ts +10 -0
  13. package/dist/api/resources/connectors/client/requests/ResumeConnectorsRequest.d.ts +10 -0
  14. package/dist/api/resources/connectors/client/requests/UpdateResourceAclConnectorsRequest.d.ts +17 -0
  15. package/dist/api/resources/connectors/client/requests/index.d.ts +5 -0
  16. package/dist/api/resources/context/client/Client.d.ts +61 -2
  17. package/dist/api/resources/context/client/Client.js +282 -5
  18. package/dist/api/resources/context/client/requests/ChunksContextRequest.d.ts +31 -0
  19. package/dist/api/resources/context/client/requests/HandlerContextMetadataUpdateRequest.d.ts +14 -0
  20. package/dist/api/resources/context/client/requests/IngestContextRequest.d.ts +6 -4
  21. package/dist/api/resources/context/client/requests/InspectContextRequest.d.ts +2 -0
  22. package/dist/api/resources/context/client/requests/ListV2ListContentRequest.d.ts +7 -1
  23. package/dist/api/resources/context/client/requests/ProfileContextRequest.d.ts +30 -0
  24. package/dist/api/resources/context/client/requests/ProfileContextRequest.js +3 -0
  25. package/dist/api/resources/context/client/requests/RelationsContextRequest.d.ts +3 -1
  26. package/dist/api/resources/context/client/requests/SourcesV2SourceDeleteRequest.d.ts +4 -1
  27. package/dist/api/resources/context/client/requests/SubgraphContextRequest.d.ts +31 -0
  28. package/dist/api/resources/context/client/requests/SubgraphContextRequest.js +3 -0
  29. package/dist/api/resources/context/client/requests/index.d.ts +3 -0
  30. package/dist/api/resources/context/types/ChunksContextRequestType.d.ts +7 -0
  31. package/dist/api/resources/context/types/ChunksContextRequestType.js +10 -0
  32. package/dist/api/resources/context/types/IngestContextRequestType.d.ts +1 -0
  33. package/dist/api/resources/context/types/IngestContextRequestType.js +1 -0
  34. package/dist/api/resources/context/types/ListV2ListContentRequestType.d.ts +7 -1
  35. package/dist/api/resources/context/types/ListV2ListContentRequestType.js +7 -1
  36. package/dist/api/resources/context/types/ProfileContextRequestType.d.ts +5 -0
  37. package/dist/api/resources/context/types/ProfileContextRequestType.js +8 -0
  38. package/dist/api/resources/context/types/RelationsContextRequestType.d.ts +2 -0
  39. package/dist/api/resources/context/types/RelationsContextRequestType.js +2 -0
  40. package/dist/api/resources/context/types/SourcesV2SourceDeleteRequestType.d.ts +6 -1
  41. package/dist/api/resources/context/types/SourcesV2SourceDeleteRequestType.js +6 -1
  42. package/dist/api/resources/context/types/SubgraphContextRequestType.d.ts +7 -0
  43. package/dist/api/resources/context/types/SubgraphContextRequestType.js +10 -0
  44. package/dist/api/resources/context/types/index.d.ts +3 -0
  45. package/dist/api/resources/context/types/index.js +3 -0
  46. package/dist/api/resources/databases/client/Client.d.ts +71 -0
  47. package/dist/api/resources/databases/client/Client.js +309 -0
  48. package/dist/api/resources/databases/client/requests/DeleteCollectionDatabasesRequest.d.ts +13 -0
  49. package/dist/api/resources/databases/client/requests/DeleteCollectionDatabasesRequest.js +3 -0
  50. package/dist/api/resources/databases/client/requests/GetInstructionsDatabasesRequest.d.ts +10 -0
  51. package/dist/api/resources/databases/client/requests/GetInstructionsDatabasesRequest.js +3 -0
  52. package/dist/api/resources/databases/client/requests/HandlerInstructionsUpdateReq.d.ts +20 -0
  53. package/dist/api/resources/databases/client/requests/HandlerInstructionsUpdateReq.js +3 -0
  54. package/dist/api/resources/databases/client/requests/TenantsTenantCreateRequest.d.ts +1 -0
  55. package/dist/api/resources/databases/client/requests/TenantsTenantRenameRequest.d.ts +21 -0
  56. package/dist/api/resources/databases/client/requests/TenantsTenantRenameRequest.js +3 -0
  57. package/dist/api/resources/databases/client/requests/index.d.ts +4 -0
  58. package/dist/api/resources/feedback/client/Client.d.ts +1 -3
  59. package/dist/api/resources/feedback/client/Client.js +1 -3
  60. package/dist/api/resources/feedback/client/index.d.ts +1 -1
  61. package/dist/api/resources/feedback/client/index.js +15 -0
  62. package/dist/api/resources/feedback/client/requests/FeedbackSubmitRequest.d.ts +29 -0
  63. package/dist/api/resources/feedback/client/requests/FeedbackSubmitRequest.js +3 -0
  64. package/dist/api/resources/feedback/client/requests/index.d.ts +1 -0
  65. package/dist/api/resources/feedback/client/requests/index.js +2 -0
  66. package/dist/api/resources/index.d.ts +1 -0
  67. package/dist/api/resources/index.js +1 -0
  68. package/dist/api/resources/webhooks/client/Client.d.ts +19 -0
  69. package/dist/api/resources/webhooks/client/Client.js +80 -0
  70. package/dist/api/resources/webhooks/client/requests/PostWebhooksSupabaseRequest.d.ts +14 -0
  71. package/dist/api/resources/webhooks/client/requests/PostWebhooksSupabaseRequest.js +3 -0
  72. package/dist/api/resources/webhooks/client/requests/index.d.ts +1 -0
  73. package/dist/api/types/ConnectorsResource.d.ts +101 -0
  74. package/dist/api/types/GithubComHydradbHydradbApplicationInternalPlatformStoragelayoutLayout.d.ts +13 -0
  75. package/dist/api/types/GithubComHydradbHydradbApplicationInternalPlatformStoragelayoutLayout.js +16 -0
  76. package/dist/api/types/GithubComHydradbHydradbApplicationInternalServiceMetadataEditResult.d.ts +30 -0
  77. package/dist/api/types/GraphEntity.d.ts +12 -0
  78. package/dist/api/types/GraphGraphRelationsResponse.d.ts +23 -0
  79. package/dist/api/types/GraphRelationEvidence.d.ts +8 -0
  80. package/dist/api/types/GraphSourceSubgraphResponse.d.ts +40 -0
  81. package/dist/api/types/GraphSourceSubgraphResponse.js +3 -0
  82. package/dist/api/types/GraphSubgraphSource.d.ts +28 -0
  83. package/dist/api/types/GraphSubgraphSource.js +3 -0
  84. package/dist/api/types/GraphTripletWithEvidence.d.ts +7 -0
  85. package/dist/api/types/HandlerCatalogConnector.d.ts +15 -0
  86. package/dist/api/types/HandlerConnectorApiView.d.ts +30 -0
  87. package/dist/api/types/HandlerConnectorCreateResponse.d.ts +30 -0
  88. package/dist/api/types/HandlerConnectorListResponse.d.ts +7 -3
  89. package/dist/api/types/HandlerConnectorPauseResponse.d.ts +6 -0
  90. package/dist/api/types/HandlerConnectorPauseResponse.js +3 -0
  91. package/dist/api/types/HandlerConnectorResourceStatus.d.ts +43 -0
  92. package/dist/api/types/HandlerConnectorStatusError.d.ts +4 -3
  93. package/dist/api/types/HandlerConnectorStatusResponse.d.ts +5 -2
  94. package/dist/api/types/HandlerConnectorUpdateResponse.d.ts +5 -0
  95. package/dist/api/types/HandlerEnvelopeGraphSourceSubgraphResponse.d.ts +9 -0
  96. package/dist/api/types/HandlerEnvelopeGraphSourceSubgraphResponse.js +3 -0
  97. package/dist/api/types/HandlerEnvelopeHandlerSupabaseWebhookAck.d.ts +9 -0
  98. package/dist/api/types/HandlerEnvelopeHandlerSupabaseWebhookAck.js +3 -0
  99. package/dist/api/types/HandlerEnvelopeSearchChunkInspectResult.d.ts +9 -0
  100. package/dist/api/types/HandlerEnvelopeSearchChunkInspectResult.js +3 -0
  101. package/dist/api/types/HandlerEnvelopeSearchEntityProfileView.d.ts +9 -0
  102. package/dist/api/types/HandlerEnvelopeSearchEntityProfileView.js +3 -0
  103. package/dist/api/types/HandlerEnvelopeTenantsSubTenantDeleteResponse.d.ts +9 -0
  104. package/dist/api/types/HandlerEnvelopeTenantsSubTenantDeleteResponse.js +3 -0
  105. package/dist/api/types/HandlerEnvelopeTenantsTenantRenameResponse.d.ts +9 -0
  106. package/dist/api/types/HandlerEnvelopeTenantsTenantRenameResponse.js +3 -0
  107. package/dist/api/types/HandlerInstructionsResponse.d.ts +13 -0
  108. package/dist/api/types/HandlerInstructionsResponse.js +3 -0
  109. package/dist/api/types/HandlerPlanCapView.d.ts +11 -0
  110. package/dist/api/types/HandlerPlanCapView.js +3 -0
  111. package/dist/api/types/HandlerResourceMapping.d.ts +14 -0
  112. package/dist/api/types/HandlerSupabaseWebhookAck.d.ts +7 -0
  113. package/dist/api/types/HandlerSupabaseWebhookAck.js +3 -0
  114. package/dist/api/types/HandlerVaultCredentialEntry.d.ts +13 -0
  115. package/dist/api/types/HandlerVaultCredentialEntry.js +3 -0
  116. package/dist/api/types/HandlerVaultCredentialListResponse.d.ts +8 -0
  117. package/dist/api/types/HandlerVaultCredentialListResponse.js +3 -0
  118. package/dist/api/types/HandlerVaultCredentialRevealResponse.d.ts +7 -0
  119. package/dist/api/types/HandlerVaultCredentialRevealResponse.js +3 -0
  120. package/dist/api/types/HandlerVaultCredentialUpdateResponse.d.ts +5 -0
  121. package/dist/api/types/HandlerVaultCredentialUpdateResponse.js +3 -0
  122. package/dist/api/types/MemoriesConversationTurn.d.ts +7 -0
  123. package/dist/api/types/MemoriesConversationTurn.js +3 -0
  124. package/dist/api/types/MemoriesIngestItem.d.ts +56 -0
  125. package/dist/api/types/MemoriesIngestItem.js +3 -0
  126. package/dist/api/types/MemoriesIngestItemContextCategory.d.ts +13 -0
  127. package/dist/api/types/MemoriesIngestItemContextCategory.js +16 -0
  128. package/dist/api/types/MemoriesUnifiedIngestRequest.d.ts +14 -0
  129. package/dist/api/types/MemoriesUnifiedIngestRequest.js +3 -0
  130. package/dist/api/types/SearchAliasExpansionNote.d.ts +4 -0
  131. package/dist/api/types/SearchAliasExpansionNote.js +3 -0
  132. package/dist/api/types/SearchAppSearchFusionDiagnostics.d.ts +31 -0
  133. package/dist/api/types/SearchAppSearchFusionDiagnostics.js +3 -0
  134. package/dist/api/types/SearchAppSearchFusionStats.d.ts +43 -0
  135. package/dist/api/types/SearchAppSearchFusionStats.js +3 -0
  136. package/dist/api/types/SearchChunkInspectResult.d.ts +24 -0
  137. package/dist/api/types/SearchChunkInspectResult.js +3 -0
  138. package/dist/api/types/SearchEntityProfileView.d.ts +18 -0
  139. package/dist/api/types/SearchEntityProfileView.js +3 -0
  140. package/dist/api/types/SearchForcefulRelationEntry.d.ts +5 -0
  141. package/dist/api/types/SearchForcefulRelationEntry.js +3 -0
  142. package/dist/api/types/SearchForcefulRelationsBucket.d.ts +11 -0
  143. package/dist/api/types/SearchForcefulRelationsBucket.js +3 -0
  144. package/dist/api/types/SearchGraphPath.d.ts +10 -0
  145. package/dist/api/types/SearchGraphPath.js +3 -0
  146. package/dist/api/types/SearchGraphPlane.d.ts +11 -0
  147. package/dist/api/types/SearchGraphPlane.js +3 -0
  148. package/dist/api/types/SearchMetadataFilters.d.ts +1 -1
  149. package/dist/api/types/SearchProfileContext.d.ts +17 -0
  150. package/dist/api/types/SearchProfileContext.js +3 -0
  151. package/dist/api/types/SearchProfileEntry.d.ts +11 -0
  152. package/dist/api/types/SearchProfileEntry.js +3 -0
  153. package/dist/api/types/SearchProfileFilterInfo.d.ts +10 -0
  154. package/dist/api/types/SearchProfileFilterInfo.js +3 -0
  155. package/dist/api/types/SearchRelationVia.d.ts +4 -0
  156. package/dist/api/types/SearchRelationVia.js +3 -0
  157. package/dist/api/types/SearchSourceFact.d.ts +18 -0
  158. package/dist/api/types/SearchSourceFact.js +3 -0
  159. package/dist/api/types/SearchSourceFilterInfo.d.ts +15 -0
  160. package/dist/api/types/SearchSourceFilterInfo.js +3 -0
  161. package/dist/api/types/SearchSourceType.d.ts +1 -0
  162. package/dist/api/types/SearchSourceType.js +1 -0
  163. package/dist/api/types/SearchV2RetrievalResult.d.ts +18 -1
  164. package/dist/api/types/SearchVectorStoreChunk.d.ts +28 -0
  165. package/dist/api/types/SearchVectorStoreChunk.js +3 -0
  166. package/dist/api/types/TenantsDatabaseDetail.d.ts +11 -0
  167. package/dist/api/types/TenantsDatabaseDetail.js +3 -0
  168. package/dist/api/types/TenantsDatabaseDetailType.d.ts +10 -0
  169. package/dist/api/types/TenantsDatabaseDetailType.js +13 -0
  170. package/dist/api/types/TenantsInfraStatusResponseV2.d.ts +5 -0
  171. package/dist/api/types/TenantsInfraStatusResponseV2Type.d.ts +9 -0
  172. package/dist/api/types/TenantsInfraStatusResponseV2Type.js +12 -0
  173. package/dist/api/types/TenantsMilvusDataType.d.ts +1 -0
  174. package/dist/api/types/TenantsMilvusDataType.js +1 -0
  175. package/dist/api/types/TenantsSubTenantDeleteResponse.d.ts +12 -0
  176. package/dist/api/types/TenantsSubTenantDeleteResponse.js +3 -0
  177. package/dist/api/types/TenantsTenantIdsResponse.d.ts +6 -0
  178. package/dist/api/types/TenantsTenantRenameResponse.d.ts +20 -0
  179. package/dist/api/types/TenantsTenantRenameResponse.js +3 -0
  180. package/dist/api/types/index.d.ts +42 -6
  181. package/dist/api/types/index.js +42 -6
  182. package/dist/serialization/client/requests/SearchQueryRequest.d.ts +6 -0
  183. package/dist/serialization/client/requests/SearchQueryRequest.js +6 -0
  184. package/dist/serialization/resources/connectors/client/index.d.ts +1 -0
  185. package/dist/serialization/resources/connectors/client/index.js +2 -1
  186. package/dist/serialization/resources/connectors/client/requests/HandlerConnectorCreateReq.d.ts +1 -0
  187. package/dist/serialization/resources/connectors/client/requests/HandlerConnectorCreateReq.js +1 -0
  188. package/dist/serialization/resources/connectors/client/requests/HandlerConnectorUpdateReq.d.ts +1 -0
  189. package/dist/serialization/resources/connectors/client/requests/HandlerConnectorUpdateReq.js +1 -0
  190. package/dist/serialization/resources/connectors/client/requests/HandlerResourceCreateReq.d.ts +2 -0
  191. package/dist/serialization/resources/connectors/client/requests/HandlerResourceCreateReq.js +2 -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/connectors/client/updateResourceAcl.d.ts +10 -0
  199. package/dist/serialization/resources/connectors/client/updateResourceAcl.js +40 -0
  200. package/dist/serialization/resources/context/client/requests/HandlerContextMetadataUpdateRequest.d.ts +1 -0
  201. package/dist/serialization/resources/context/client/requests/HandlerContextMetadataUpdateRequest.js +1 -0
  202. package/dist/serialization/resources/context/client/requests/ListV2ListContentRequest.d.ts +1 -0
  203. package/dist/serialization/resources/context/client/requests/ListV2ListContentRequest.js +1 -0
  204. package/dist/serialization/resources/context/types/ChunksContextRequestType.d.ts +7 -0
  205. package/dist/serialization/resources/context/types/ChunksContextRequestType.js +39 -0
  206. package/dist/serialization/resources/context/types/IngestContextRequestType.d.ts +1 -1
  207. package/dist/serialization/resources/context/types/IngestContextRequestType.js +1 -1
  208. package/dist/serialization/resources/context/types/ListV2ListContentRequestType.d.ts +1 -1
  209. package/dist/serialization/resources/context/types/ListV2ListContentRequestType.js +1 -1
  210. package/dist/serialization/resources/context/types/ProfileContextRequestType.d.ts +7 -0
  211. package/dist/serialization/resources/context/types/ProfileContextRequestType.js +39 -0
  212. package/dist/serialization/resources/context/types/RelationsContextRequestType.d.ts +1 -1
  213. package/dist/serialization/resources/context/types/RelationsContextRequestType.js +1 -1
  214. package/dist/serialization/resources/context/types/SourcesV2SourceDeleteRequestType.d.ts +1 -1
  215. package/dist/serialization/resources/context/types/SourcesV2SourceDeleteRequestType.js +1 -1
  216. package/dist/serialization/resources/context/types/SubgraphContextRequestType.d.ts +7 -0
  217. package/dist/serialization/resources/context/types/SubgraphContextRequestType.js +39 -0
  218. package/dist/serialization/resources/context/types/index.d.ts +3 -0
  219. package/dist/serialization/resources/context/types/index.js +3 -0
  220. package/dist/serialization/resources/databases/client/requests/HandlerInstructionsUpdateReq.d.ts +10 -0
  221. package/dist/serialization/resources/databases/client/requests/HandlerInstructionsUpdateReq.js +44 -0
  222. package/dist/serialization/resources/databases/client/requests/TenantsTenantCreateRequest.d.ts +2 -0
  223. package/dist/serialization/resources/databases/client/requests/TenantsTenantCreateRequest.js +2 -0
  224. package/dist/serialization/resources/databases/client/requests/TenantsTenantRenameRequest.d.ts +9 -0
  225. package/dist/serialization/resources/databases/client/requests/TenantsTenantRenameRequest.js +41 -0
  226. package/dist/serialization/resources/databases/client/requests/index.d.ts +2 -0
  227. package/dist/serialization/resources/databases/client/requests/index.js +5 -1
  228. package/dist/serialization/resources/feedback/client/index.d.ts +1 -0
  229. package/dist/serialization/resources/feedback/client/index.js +17 -0
  230. package/dist/serialization/resources/feedback/client/requests/FeedbackSubmitRequest.d.ts +21 -0
  231. package/dist/serialization/{types → resources/feedback/client/requests}/FeedbackSubmitRequest.js +16 -4
  232. package/dist/serialization/resources/feedback/client/requests/index.d.ts +1 -0
  233. package/dist/serialization/resources/feedback/client/requests/index.js +5 -0
  234. package/dist/serialization/resources/feedback/index.d.ts +1 -0
  235. package/dist/serialization/resources/feedback/index.js +17 -0
  236. package/dist/serialization/resources/index.d.ts +2 -0
  237. package/dist/serialization/resources/index.js +3 -1
  238. package/dist/serialization/resources/webhooks/client/index.d.ts +1 -0
  239. package/dist/serialization/resources/webhooks/client/index.js +24 -0
  240. package/dist/serialization/resources/webhooks/client/supabaseRowChangeWebhook.d.ts +6 -0
  241. package/dist/serialization/resources/webhooks/client/supabaseRowChangeWebhook.js +39 -0
  242. package/dist/serialization/types/ConnectorsResource.d.ts +12 -0
  243. package/dist/serialization/types/ConnectorsResource.js +12 -0
  244. package/dist/serialization/types/GithubComHydradbHydradbApplicationInternalPlatformStoragelayoutLayout.d.ts +7 -0
  245. package/dist/serialization/types/GithubComHydradbHydradbApplicationInternalPlatformStoragelayoutLayout.js +39 -0
  246. package/dist/serialization/types/GithubComHydradbHydradbApplicationInternalServiceMetadataEditResult.d.ts +5 -0
  247. package/dist/serialization/types/GithubComHydradbHydradbApplicationInternalServiceMetadataEditResult.js +5 -0
  248. package/dist/serialization/types/GraphEntity.d.ts +1 -0
  249. package/dist/serialization/types/GraphEntity.js +1 -0
  250. package/dist/serialization/types/GraphGraphRelationsResponse.d.ts +2 -0
  251. package/dist/serialization/types/GraphGraphRelationsResponse.js +2 -0
  252. package/dist/serialization/types/GraphRelationEvidence.d.ts +1 -0
  253. package/dist/serialization/types/GraphRelationEvidence.js +1 -0
  254. package/dist/serialization/types/GraphSourceSubgraphResponse.d.ts +19 -0
  255. package/dist/serialization/types/GraphSourceSubgraphResponse.js +51 -0
  256. package/dist/serialization/types/GraphSubgraphSource.d.ts +18 -0
  257. package/dist/serialization/types/GraphSubgraphSource.js +50 -0
  258. package/dist/serialization/types/GraphTripletWithEvidence.d.ts +1 -0
  259. package/dist/serialization/types/GraphTripletWithEvidence.js +1 -0
  260. package/dist/serialization/types/HandlerCatalogConnector.d.ts +3 -0
  261. package/dist/serialization/types/HandlerCatalogConnector.js +3 -0
  262. package/dist/serialization/types/HandlerConnectorApiView.d.ts +5 -0
  263. package/dist/serialization/types/HandlerConnectorApiView.js +5 -0
  264. package/dist/serialization/types/HandlerConnectorCreateResponse.d.ts +5 -0
  265. package/dist/serialization/types/HandlerConnectorCreateResponse.js +5 -0
  266. package/dist/serialization/types/HandlerConnectorListResponse.d.ts +2 -0
  267. package/dist/serialization/types/HandlerConnectorListResponse.js +2 -0
  268. package/dist/serialization/types/HandlerConnectorPauseResponse.d.ts +11 -0
  269. package/dist/serialization/types/{FeedbackSubmitRequestGroundTruth.js → HandlerConnectorPauseResponse.js} +5 -4
  270. package/dist/serialization/types/HandlerConnectorResourceStatus.d.ts +8 -0
  271. package/dist/serialization/types/HandlerConnectorResourceStatus.js +8 -0
  272. package/dist/serialization/types/HandlerConnectorStatusResponse.d.ts +2 -0
  273. package/dist/serialization/types/HandlerConnectorStatusResponse.js +2 -0
  274. package/dist/serialization/types/HandlerConnectorUpdateResponse.d.ts +1 -0
  275. package/dist/serialization/types/HandlerConnectorUpdateResponse.js +1 -0
  276. package/dist/serialization/types/HandlerEnvelopeGraphSourceSubgraphResponse.d.ts +15 -0
  277. package/dist/serialization/types/HandlerEnvelopeGraphSourceSubgraphResponse.js +47 -0
  278. package/dist/serialization/types/HandlerEnvelopeHandlerSupabaseWebhookAck.d.ts +15 -0
  279. package/dist/serialization/types/HandlerEnvelopeHandlerSupabaseWebhookAck.js +47 -0
  280. package/dist/serialization/types/HandlerEnvelopeSearchChunkInspectResult.d.ts +15 -0
  281. package/dist/serialization/types/HandlerEnvelopeSearchChunkInspectResult.js +47 -0
  282. package/dist/serialization/types/HandlerEnvelopeSearchEntityProfileView.d.ts +15 -0
  283. package/dist/serialization/types/HandlerEnvelopeSearchEntityProfileView.js +47 -0
  284. package/dist/serialization/types/HandlerEnvelopeTenantsSubTenantDeleteResponse.d.ts +15 -0
  285. package/dist/serialization/types/HandlerEnvelopeTenantsSubTenantDeleteResponse.js +47 -0
  286. package/dist/serialization/types/HandlerEnvelopeTenantsTenantRenameResponse.d.ts +15 -0
  287. package/dist/serialization/types/HandlerEnvelopeTenantsTenantRenameResponse.js +47 -0
  288. package/dist/serialization/types/HandlerInstructionsResponse.d.ts +12 -0
  289. package/dist/serialization/types/HandlerInstructionsResponse.js +44 -0
  290. package/dist/serialization/types/HandlerPlanCapView.d.ts +11 -0
  291. package/dist/serialization/types/{FeedbackSubmitRequestGroundTruthGroundTruthSourceIds.js → HandlerPlanCapView.js} +5 -3
  292. package/dist/serialization/types/HandlerResourceMapping.d.ts +2 -0
  293. package/dist/serialization/types/HandlerResourceMapping.js +2 -0
  294. package/dist/serialization/types/HandlerSupabaseWebhookAck.d.ts +11 -0
  295. package/dist/serialization/types/HandlerSupabaseWebhookAck.js +43 -0
  296. package/dist/serialization/types/HandlerVaultCredentialEntry.d.ts +15 -0
  297. package/dist/serialization/types/HandlerVaultCredentialEntry.js +47 -0
  298. package/dist/serialization/types/HandlerVaultCredentialListResponse.d.ts +12 -0
  299. package/dist/serialization/types/HandlerVaultCredentialListResponse.js +44 -0
  300. package/dist/serialization/types/HandlerVaultCredentialRevealResponse.d.ts +12 -0
  301. package/dist/serialization/types/HandlerVaultCredentialRevealResponse.js +44 -0
  302. package/dist/serialization/types/HandlerVaultCredentialUpdateResponse.d.ts +10 -0
  303. package/dist/serialization/types/HandlerVaultCredentialUpdateResponse.js +42 -0
  304. package/dist/serialization/types/MemoriesConversationTurn.d.ts +11 -0
  305. package/dist/serialization/types/MemoriesConversationTurn.js +43 -0
  306. package/dist/serialization/types/MemoriesIngestItem.d.ts +25 -0
  307. package/dist/serialization/types/MemoriesIngestItem.js +57 -0
  308. package/dist/serialization/types/MemoriesIngestItemContextCategory.d.ts +7 -0
  309. package/dist/serialization/types/MemoriesIngestItemContextCategory.js +39 -0
  310. package/dist/serialization/types/MemoriesUnifiedIngestRequest.d.ts +14 -0
  311. package/dist/serialization/types/MemoriesUnifiedIngestRequest.js +46 -0
  312. package/dist/serialization/types/SearchAliasExpansionNote.d.ts +10 -0
  313. package/dist/serialization/types/SearchAliasExpansionNote.js +42 -0
  314. package/dist/serialization/types/SearchAppSearchFusionDiagnostics.d.ts +13 -0
  315. package/dist/serialization/types/SearchAppSearchFusionDiagnostics.js +45 -0
  316. package/dist/serialization/types/SearchAppSearchFusionStats.d.ts +19 -0
  317. package/dist/serialization/types/SearchAppSearchFusionStats.js +51 -0
  318. package/dist/serialization/types/SearchChunkInspectResult.d.ts +14 -0
  319. package/dist/serialization/types/SearchChunkInspectResult.js +46 -0
  320. package/dist/serialization/types/SearchEntityProfileView.d.ts +22 -0
  321. package/dist/serialization/types/SearchEntityProfileView.js +54 -0
  322. package/dist/serialization/types/SearchForcefulRelationEntry.d.ts +12 -0
  323. package/dist/serialization/types/SearchForcefulRelationEntry.js +44 -0
  324. package/dist/serialization/types/SearchForcefulRelationsBucket.d.ts +11 -0
  325. package/dist/serialization/types/SearchForcefulRelationsBucket.js +43 -0
  326. package/dist/serialization/types/SearchGraphPath.d.ts +13 -0
  327. package/dist/serialization/types/SearchGraphPath.js +45 -0
  328. package/dist/serialization/types/SearchGraphPlane.d.ts +10 -0
  329. package/dist/serialization/types/SearchGraphPlane.js +42 -0
  330. package/dist/serialization/types/SearchProfileContext.d.ts +17 -0
  331. package/dist/serialization/types/SearchProfileContext.js +49 -0
  332. package/dist/serialization/types/SearchProfileEntry.d.ts +15 -0
  333. package/dist/serialization/types/SearchProfileEntry.js +47 -0
  334. package/dist/serialization/types/SearchProfileFilterInfo.d.ts +15 -0
  335. package/dist/serialization/types/SearchProfileFilterInfo.js +47 -0
  336. package/dist/serialization/types/SearchRelationVia.d.ts +10 -0
  337. package/dist/serialization/types/{FeedbackSubmitRequestGroundTruthGroundTruthAnswer.js → SearchRelationVia.js} +4 -3
  338. package/dist/serialization/types/SearchSourceFact.d.ts +20 -0
  339. package/dist/serialization/types/SearchSourceFact.js +52 -0
  340. package/dist/serialization/types/SearchSourceFilterInfo.d.ts +17 -0
  341. package/dist/serialization/types/SearchSourceFilterInfo.js +49 -0
  342. package/dist/serialization/types/SearchSourceType.d.ts +1 -1
  343. package/dist/serialization/types/SearchSourceType.js +1 -1
  344. package/dist/serialization/types/SearchV2RetrievalResult.d.ts +16 -0
  345. package/dist/serialization/types/SearchV2RetrievalResult.js +16 -0
  346. package/dist/serialization/types/SearchVectorStoreChunk.d.ts +21 -0
  347. package/dist/serialization/types/SearchVectorStoreChunk.js +53 -0
  348. package/dist/serialization/types/TenantsDatabaseDetail.d.ts +11 -0
  349. package/dist/serialization/types/TenantsDatabaseDetail.js +43 -0
  350. package/dist/serialization/types/TenantsDatabaseDetailType.d.ts +7 -0
  351. package/dist/serialization/types/{FeedbackSubmitRequestFeedback.js → TenantsDatabaseDetailType.js} +2 -4
  352. package/dist/serialization/types/TenantsInfraStatusResponseV2.d.ts +2 -0
  353. package/dist/serialization/types/TenantsInfraStatusResponseV2.js +2 -0
  354. package/dist/serialization/types/TenantsInfraStatusResponseV2Type.d.ts +7 -0
  355. package/dist/serialization/types/TenantsInfraStatusResponseV2Type.js +39 -0
  356. package/dist/serialization/types/TenantsSubTenantDeleteResponse.d.ts +14 -0
  357. package/dist/serialization/types/TenantsSubTenantDeleteResponse.js +46 -0
  358. package/dist/serialization/types/TenantsTenantIdsResponse.d.ts +2 -0
  359. package/dist/serialization/types/TenantsTenantIdsResponse.js +2 -0
  360. package/dist/serialization/types/TenantsTenantRenameResponse.d.ts +15 -0
  361. package/dist/serialization/types/TenantsTenantRenameResponse.js +47 -0
  362. package/dist/serialization/types/index.d.ts +42 -6
  363. package/dist/serialization/types/index.js +42 -6
  364. package/package.json +1 -1
  365. package/dist/api/types/FeedbackSubmitRequest.d.ts +0 -2
  366. package/dist/api/types/FeedbackSubmitRequestFeedback.d.ts +0 -3
  367. package/dist/api/types/FeedbackSubmitRequestGroundTruth.d.ts +0 -4
  368. package/dist/api/types/FeedbackSubmitRequestGroundTruthGroundTruth.d.ts +0 -2
  369. package/dist/api/types/FeedbackSubmitRequestGroundTruthGroundTruthAnswer.d.ts +0 -3
  370. package/dist/api/types/FeedbackSubmitRequestGroundTruthGroundTruthSourceIds.d.ts +0 -3
  371. package/dist/serialization/types/FeedbackSubmitRequest.d.ts +0 -9
  372. package/dist/serialization/types/FeedbackSubmitRequestFeedback.d.ts +0 -9
  373. package/dist/serialization/types/FeedbackSubmitRequestGroundTruth.d.ts +0 -10
  374. package/dist/serialization/types/FeedbackSubmitRequestGroundTruthGroundTruth.d.ts +0 -9
  375. package/dist/serialization/types/FeedbackSubmitRequestGroundTruthGroundTruth.js +0 -44
  376. package/dist/serialization/types/FeedbackSubmitRequestGroundTruthGroundTruthAnswer.d.ts +0 -9
  377. package/dist/serialization/types/FeedbackSubmitRequestGroundTruthGroundTruthSourceIds.d.ts +0 -9
  378. /package/dist/api/{types/FeedbackSubmitRequest.js → resources/connectors/client/requests/HandlerVaultCredentialRevealReq.js} +0 -0
  379. /package/dist/api/{types/FeedbackSubmitRequestFeedback.js → resources/connectors/client/requests/HandlerVaultCredentialUpdateReq.js} +0 -0
  380. /package/dist/api/{types/FeedbackSubmitRequestGroundTruth.js → resources/connectors/client/requests/PauseConnectorsRequest.js} +0 -0
  381. /package/dist/api/{types/FeedbackSubmitRequestGroundTruthGroundTruth.js → resources/connectors/client/requests/ResumeConnectorsRequest.js} +0 -0
  382. /package/dist/api/{types/FeedbackSubmitRequestGroundTruthGroundTruthAnswer.js → resources/connectors/client/requests/UpdateResourceAclConnectorsRequest.js} +0 -0
  383. /package/dist/api/{types/FeedbackSubmitRequestGroundTruthGroundTruthSourceIds.js → resources/context/client/requests/ChunksContextRequest.js} +0 -0
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.MemoriesIngestItemContextCategory = void 0;
5
+ /**
6
+ * ContextCategory files this context under one of the three buckets
7
+ * (PRO-1618). Omitted or "auto" leaves it to HydraDB; naming a bucket pins
8
+ * it and inference will not overwrite it. See
9
+ * domain/ingestion/context_category.go.
10
+ */
11
+ exports.MemoriesIngestItemContextCategory = {
12
+ Auto: "auto",
13
+ UserPreference: "user_preference",
14
+ BusinessKnowledge: "business_knowledge",
15
+ DecisionTrace: "decision_trace",
16
+ };
@@ -0,0 +1,14 @@
1
+ import type * as HydraDB from "../index.js";
2
+ export interface MemoriesUnifiedIngestRequest {
3
+ /** Collection scope. Defaults to the default collection when omitted. Formerly `sub_tenant_id`; the `sub_tenant_id` alias is still accepted (deprecated). */
4
+ collection?: string;
5
+ contexts?: HydraDB.MemoriesIngestItem[];
6
+ /** Owning database. Formerly `tenant_id`; the `tenant_id` alias is still accepted (deprecated). */
7
+ database?: string;
8
+ /**
9
+ * Items is the canonical name from the design spec. `contexts` is accepted
10
+ * as an alias because the field was drafted under that name.
11
+ */
12
+ items?: HydraDB.MemoriesIngestItem[];
13
+ upsert?: boolean;
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 SearchAliasExpansionNote {
2
+ alias?: string;
3
+ canonical?: 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,31 @@
1
+ import type * as HydraDB from "../index.js";
2
+ /**
3
+ * AppSearchFusion is the diagnostic block of the query_apps fusion
4
+ * (PRO-1882): per-chunk lane attribution and counts. Present only when
5
+ * query_apps was on, the request was not ACL-scoped, and attributed chunks
6
+ * survived final filtering. Identifier maps cover only returned chunks.
7
+ */
8
+ export interface SearchAppSearchFusionDiagnostics {
9
+ /**
10
+ * AppRecipes maps the chunk_uuid of each final chunk the app lane returned to
11
+ * the recipe that produced it (exact_id, recall, dated, bm25, broad, ...),
12
+ * including chunks the normal lane also had, so a consensus can be
13
+ * attributed to a recipe.
14
+ */
15
+ appRecipes?: Record<string, string>;
16
+ /**
17
+ * ChunkOrigins maps every returned chunk_uuid to where the fusion placed it
18
+ * from: "normal" (normal lane only), "both" (both lanes, normal position
19
+ * kept), "exact_id" (promoted from the app lane's exact-identifier
20
+ * recipe), "app_tail" (appended from the app lane).
21
+ */
22
+ chunkOrigins?: Record<string, string>;
23
+ /** Counts for the first or only fusion pass before postprocessing, not final response counts or totals across alias alternatives. The entire diagnostic block is omitted for ACL-scoped requests. */
24
+ stats?: HydraDB.SearchAppSearchFusionStats;
25
+ /**
26
+ * StatsByPass preserves each independent fusion's accounting when results
27
+ * combine multiple passes, in merge order (original before alternate when
28
+ * both have diagnostics). Counts overlap; they are not unique totals.
29
+ */
30
+ statsByPass?: HydraDB.SearchAppSearchFusionStats[];
31
+ }
@@ -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,43 @@
1
+ /**
2
+ * Stats describes the first (or only) fusion pass before postprocessing,
3
+ * not final counts or a sum across alias alternatives/fan-out branches.
4
+ */
5
+ export interface SearchAppSearchFusionStats {
6
+ /** AppChunks is what the app lane returned. */
7
+ appChunks?: number;
8
+ /** AppHasExactIDs mirrors the app plan's exact-identifier marker. */
9
+ appHasExactIds?: boolean;
10
+ /**
11
+ * AppLaneEmptyText is true when the app lane returned no chunks (sources
12
+ * or side context only).
13
+ */
14
+ appLaneEmptyText?: boolean;
15
+ /**
16
+ * Consensus counts app chunks the normal lane already had; they keep the
17
+ * normal lane's position.
18
+ */
19
+ consensus?: number;
20
+ /**
21
+ * ExactCandidates counts app chunks the exact-identifier recipe found;
22
+ * ExactPromoted is how many of them were placed above the normal lane.
23
+ */
24
+ exactCandidates?: number;
25
+ /** Exact-identifier chunks placed above the normal lane. */
26
+ exactPromoted?: number;
27
+ /** Limit is the final chunk limit the fusion applied. */
28
+ limit?: number;
29
+ /** NormalChunks is what the normal lane returned. */
30
+ normalChunks?: number;
31
+ /**
32
+ * NormalDisplaced counts normal-lane chunks the promoted block and the
33
+ * tail pushed past the limit.
34
+ */
35
+ normalDisplaced?: number;
36
+ /** App-only chunks appended within the tail budget. */
37
+ tailAdded?: number;
38
+ /**
39
+ * TailCandidates counts app-only chunks eligible for the tail; TailAdded
40
+ * is how many were appended within the tail budget.
41
+ */
42
+ tailCandidates?: number;
43
+ }
@@ -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
+ import type * as HydraDB from "../index.js";
2
+ export interface SearchChunkInspectResult {
3
+ chunks?: HydraDB.SearchVectorStoreChunk[];
4
+ /**
5
+ * IsTruncated reports that the source has more chunks than the limit
6
+ * returned, so the reader knows the text they see is a prefix of the
7
+ * document and not the whole of it.
8
+ */
9
+ isTruncated?: boolean;
10
+ /** Human-readable result message. */
11
+ message?: string;
12
+ /**
13
+ * MissingChunkIDs are ids the caller asked for that have no chunk row in
14
+ * either store. An expected, documented state rather than an error: on
15
+ * staging 61% of one Slack collection's sources had graph relations but no
16
+ * chunk_data row at all (see attributedSourceID), and the vector store is
17
+ * not guaranteed to still hold a re-ingested source's older chunk ids.
18
+ * Always empty for a source-scoped read, which discovers ids rather than
19
+ * being handed them.
20
+ */
21
+ missingChunkIds?: string[];
22
+ /** Whether the request succeeded. */
23
+ success?: boolean;
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,18 @@
1
+ import type * as HydraDB from "../index.js";
2
+ export interface SearchEntityProfileView {
3
+ compiledAt?: string;
4
+ /** Unique identifier for this entity in the graph. */
5
+ entityId?: string;
6
+ entityType?: string;
7
+ entries?: HydraDB.SearchProfileEntry[];
8
+ headline?: string;
9
+ /** Human-readable label for this resource. */
10
+ name?: string;
11
+ pendingImportance?: number;
12
+ perspective?: string;
13
+ subject?: string;
14
+ summary?: string;
15
+ summaryCites?: string[];
16
+ unknown?: string[];
17
+ version?: number;
18
+ }
@@ -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 SearchForcefulRelationEntry {
3
+ chunk?: HydraDB.SearchV2Chunk;
4
+ via?: HydraDB.SearchRelationVia;
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,11 @@
1
+ import type * as HydraDB from "../index.js";
2
+ /**
3
+ * ForcefulRelations is the caller-declared relation bucket, carrying the
4
+ * from->to edge that additional_context discards when it flattens these
5
+ * into a chunk-uuid map. Always present, so a caller can read it
6
+ * unconditionally.
7
+ */
8
+ export interface SearchForcefulRelationsBucket {
9
+ declared?: HydraDB.SearchForcefulRelationEntry[];
10
+ inferred?: HydraDB.SearchForcefulRelationEntry[];
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,10 @@
1
+ import type * as HydraDB from "../index.js";
2
+ export interface SearchGraphPath {
3
+ chunkIds?: string[];
4
+ /** Merged text from all chunk passages in this relation path. */
5
+ combinedContext?: string;
6
+ /** Relevance score for this item against the query. */
7
+ relevancyScore?: number;
8
+ /** Knowledge-graph triplets that make up this relation path. */
9
+ triplets?: HydraDB.SearchPathTriplet[];
10
+ }
@@ -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 is the unified graph plane (PRO-1618): query_paths and
4
+ * chunk_relations consolidated into one ordered paths[] list, with each
5
+ * path carrying the chunk ids it supports so the caller no longer joins
6
+ * against chunk_id_to_group_ids. Populated whenever graph_context is on,
7
+ * on BOTH layouts; graph_context stays populated beside it.
8
+ */
9
+ export interface SearchGraphPlane {
10
+ paths?: HydraDB.SearchGraphPath[];
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 });
@@ -1,4 +1,4 @@
1
1
  /**
2
- * Filters results by source metadata. Top-level keys target tenant metadata (for example department, priority, active, or tags). Nested additional_metadata keys target document metadata. Separate keys are ANDed. A scalar value is an exact match; an array means match ANY one of the listed values (OR) - there is no ALL/AND operator within a single key. Arrays are supported on VARCHAR fields only: an array passed for a declared field of any other type is rejected with 400 VALIDATION_ERROR. Size limits: each list may hold at most 500 values, and the whole metadata_filters object is capped at 64 KiB measured on its compact JSON encoding in UTF-8 bytes (keys and punctuation count). Exceeding either returns 400 naming the offending key or the actual byte count.
2
+ * DEPRECATED: use `attributes`, which is an operator language pushed into the vector search rather than bare equality applied after it. `metadata_filters` keeps working, and is still the only way to filter on per-context custom_attributes, which `attributes` does not cover yet. Filters results by context metadata. Top-level keys target tenant metadata (for example department, priority, active, or tags). Nested additional_metadata keys target document metadata. Separate keys are ANDed. Each top-level key accepts an operator object naming the comparison: {"contains": value} matches sources whose field holds that value (multi-value fields are stored comma-joined, so this matches one member); {"contains_any": [values]} matches sources holding ANY one of the listed values; {"equals": value} matches sources whose field is exactly that value. The bare forms remain supported and unchanged but are deprecated in favour of the operators, because the comparison they perform is inferred from the JSON shape rather than stated: a bare scalar behaves as equals, a bare array as contains_any, and a bare single-element array as contains. Operators apply to top-level keys only; inside additional_metadata use the bare scalar or array forms. An operator used inside additional_metadata is NOT rejected - it is read as an exact-match filter against a stored object, so on a normal field it matches nothing and the request returns 200 with an empty result rather than an error. A known operator given the wrong operand type, or several operators in one object, is rejected with 400 VALIDATION_ERROR rather than silently matching nothing. A MISSPELLED operator is not: {"contian": "x"} is indistinguishable from a filter for a stored object with that key, so it is left alone and matches nothing. An object whose keys are not operator names is likewise treated as an exact-match filter against a stored object, unchanged. RESERVED NAMES: contains, contains_any and equals are reserved as the keys of a top-level filter object, so an object built only from them is read as an operator and is no longer available for exact object matching -- {"f": {"contains": "x"}} is read as the operator, and an object whose keys are ALL operator names is rejected with 400. A caller matching such an object in a JSON-typed field must rename the nested key or the field. Mixing an operator name with any other key ({"contains": "a", "other": 1}) is unaffected and still exact-matches. There is no ALL/AND operator within a single key. contains, contains_any and arrays are supported on VARCHAR fields only: any of them passed for a declared field of another type is rejected with 400 VALIDATION_ERROR. equals works on every declared type, so {"priority": {"equals": 7}} is valid on an INT64 field. Size limits: each list may hold at most 500 values, and the whole metadata_filters object is capped at 64 KiB measured on its compact JSON encoding in UTF-8 bytes AFTER operator objects are reduced to their values, so {"contains": "x"} is measured as ["x"] and the operator keyword itself costs nothing. The cap bounds the cost of the resulting vector-store expression, which the operator spelling does not change. Field names and punctuation count. Exceeding either returns 400 naming the offending key or the actual byte count.
3
3
  */
4
4
  export type SearchMetadataFilters = Record<string, unknown>;
@@ -0,0 +1,17 @@
1
+ import type * as HydraDB from "../index.js";
2
+ /**
3
+ * ProfileContext/ProfileFilter surface the entity-profile block when the
4
+ * request named a profile_subject (PRO-1797); omitted otherwise.
5
+ */
6
+ export interface SearchProfileContext {
7
+ /** Unique identifier for this entity in the graph. */
8
+ entityId?: string;
9
+ entries?: HydraDB.SearchProfileEntry[];
10
+ headline?: string;
11
+ /** Human-readable label for this resource. */
12
+ name?: string;
13
+ perspective?: string;
14
+ subject?: string;
15
+ summary?: string;
16
+ version?: number;
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,11 @@
1
+ export interface SearchProfileEntry {
2
+ /** Confidence score, from 0 to 1. */
3
+ confidence?: number;
4
+ facet?: string;
5
+ since?: string;
6
+ slot?: string;
7
+ /** stated | observed | inferred | record */
8
+ state?: string;
9
+ statementKeys?: string[];
10
+ text?: string;
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,10 @@
1
+ export interface SearchProfileFilterInfo {
2
+ applied?: boolean;
3
+ degraded?: boolean;
4
+ /** Unique identifier for this entity in the graph. */
5
+ entityId?: string;
6
+ found?: boolean;
7
+ selectedEntries?: number;
8
+ subject?: string;
9
+ version?: number;
10
+ }
@@ -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,18 @@
1
+ export interface SearchSourceFact {
2
+ actor?: string;
3
+ actorRole?: string;
4
+ /** App integration category, populated for connector-synced sources. */
5
+ appKind?: string;
6
+ /** Chunk that provides evidence for this relation. */
7
+ chunkId?: string;
8
+ connector?: string;
9
+ container?: string;
10
+ /** External provider being synced (e.g. `slack`, `github`, `linear`, `notion`, `gmail`). */
11
+ provider?: string;
12
+ relation?: string;
13
+ /** Unique identifier for this relationship instance. */
14
+ relationshipId?: string;
15
+ sourceId?: string;
16
+ syncedAt?: number;
17
+ threadId?: string;
18
+ }
@@ -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,15 @@
1
+ /**
2
+ * SourceFilter reports what the source layer did for this request.
3
+ */
4
+ export interface SearchSourceFilterInfo {
5
+ actorScope?: string;
6
+ applied?: boolean;
7
+ containerScope?: string;
8
+ degraded?: boolean;
9
+ matchedFacts?: number;
10
+ mode?: string;
11
+ /** External provider being synced (e.g. `slack`, `github`, `linear`, `notion`, `gmail`). */
12
+ provider?: string;
13
+ threadScope?: boolean;
14
+ truncated?: boolean;
15
+ }
@@ -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 });
@@ -7,5 +7,6 @@ export declare const SearchSourceType: {
7
7
  readonly Knowledge: "knowledge";
8
8
  readonly Memory: "memory";
9
9
  readonly All: "all";
10
+ readonly Unified: "unified";
10
11
  };
11
12
  export type SearchSourceType = (typeof SearchSourceType)[keyof typeof SearchSourceType];
@@ -11,4 +11,5 @@ exports.SearchSourceType = {
11
11
  Knowledge: "knowledge",
12
12
  Memory: "memory",
13
13
  All: "all",
14
+ Unified: "unified",
14
15
  };
@@ -1,10 +1,27 @@
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
+ forcefulRelations?: HydraDB.SearchForcefulRelationsBucket;
15
+ graph?: HydraDB.SearchGraphPlane;
7
16
  graphContext?: HydraDB.SearchGraphContext;
17
+ profileContext?: HydraDB.SearchProfileContext;
18
+ profileFilter?: HydraDB.SearchProfileFilterInfo;
19
+ /**
20
+ * SourceFacts surface the matched app-native (edge_source) facts when
21
+ * source_reasoning was active; omitted otherwise (PRO-1602).
22
+ */
23
+ sourceFacts?: HydraDB.SearchSourceFact[];
24
+ sourceFilter?: HydraDB.SearchSourceFilterInfo;
8
25
  /** Deduplicated source-level metadata for all returned chunks. */
9
26
  sources?: HydraDB.SearchSourceInfo[];
10
27
  temporalDuration?: HydraDB.SearchTemporalDuration;
@@ -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) or
8
+ * "unified" (one corpus; `type` defaults to unified).
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,10 @@
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) or
4
+ * "unified" (one corpus; `type` defaults to unified).
5
+ */
6
+ export declare const TenantsDatabaseDetailType: {
7
+ readonly Split: "split";
8
+ readonly Unified: "unified";
9
+ };
10
+ export type TenantsDatabaseDetailType = (typeof TenantsDatabaseDetailType)[keyof typeof TenantsDatabaseDetailType];
@@ -0,0 +1,13 @@
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) or
8
+ * "unified" (one corpus; `type` defaults to unified).
9
+ */
10
+ exports.TenantsDatabaseDetailType = {
11
+ Split: "split",
12
+ Unified: "unified",
13
+ };
@@ -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 (split or unified) the database was created
13
+ * with; absent while the database is deleting or unknown.
14
+ */
15
+ type?: HydraDB.TenantsInfraStatusResponseV2Type;
11
16
  }
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Type is the storage layout (split or unified) the database was created
3
+ * with; absent while the database is deleting or unknown.
4
+ */
5
+ export declare const TenantsInfraStatusResponseV2Type: {
6
+ readonly Split: "split";
7
+ readonly Unified: "unified";
8
+ };
9
+ export type TenantsInfraStatusResponseV2Type = (typeof TenantsInfraStatusResponseV2Type)[keyof typeof TenantsInfraStatusResponseV2Type];
@@ -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.TenantsInfraStatusResponseV2Type = void 0;
5
+ /**
6
+ * Type is the storage layout (split or unified) the database was created
7
+ * with; absent while the database is deleting or unknown.
8
+ */
9
+ exports.TenantsInfraStatusResponseV2Type = {
10
+ Split: "split",
11
+ Unified: "unified",
12
+ };
@@ -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,12 @@ import type * as HydraDB from "../index.js";
2
2
  export interface TenantsTenantIdsResponse {
3
3
  /** List of database identifiers. */
4
4
  databases?: string[];
5
+ /**
6
+ * Details carries one entry per live database with its storage layout
7
+ * (PRO-1618), so a client can tell a unified database (type-less
8
+ * items[] ingest and query) from a split one without a failed request.
9
+ */
10
+ details?: HydraDB.TenantsDatabaseDetail[];
5
11
  /** Databases that failed provisioning, with error details. */
6
12
  failedDatabases?: HydraDB.TenantsFailedTenant[];
7
13
  /** 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 });