@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.
- package/README.md +10 -7
- package/dist/Client.d.ts +1 -1
- package/dist/Client.js +1 -1
- package/dist/api/client/requests/SearchQueryRequest.d.ts +44 -4
- package/dist/api/resources/connectors/client/Client.d.ts +80 -1
- package/dist/api/resources/connectors/client/Client.js +322 -1
- package/dist/api/resources/connectors/client/requests/HandlerConfigureReq.d.ts +7 -0
- package/dist/api/resources/connectors/client/requests/HandlerVaultCredentialRevealReq.d.ts +12 -0
- package/dist/api/resources/connectors/client/requests/HandlerVaultCredentialUpdateReq.d.ts +15 -0
- package/dist/api/resources/connectors/client/requests/PauseConnectorsRequest.d.ts +10 -0
- package/dist/api/resources/connectors/client/requests/ResumeConnectorsRequest.d.ts +10 -0
- package/dist/api/resources/connectors/client/requests/index.d.ts +4 -0
- package/dist/api/resources/context/client/Client.d.ts +45 -5
- package/dist/api/resources/context/client/Client.js +200 -8
- package/dist/api/resources/context/client/requests/ChunksContextRequest.d.ts +31 -0
- package/dist/api/resources/context/client/requests/IngestContextRequest.d.ts +8 -4
- package/dist/api/resources/context/client/requests/ListV2ListContentRequest.d.ts +4 -1
- package/dist/api/resources/context/client/requests/ProfileContextRequest.d.ts +30 -0
- package/dist/api/resources/context/client/requests/RelationsContextRequest.d.ts +1 -1
- package/dist/api/resources/context/client/requests/SourcesV2SourceDeleteRequest.d.ts +4 -1
- package/dist/api/resources/context/client/requests/SubgraphContextRequest.d.ts +8 -8
- package/dist/api/resources/context/client/requests/index.d.ts +2 -0
- package/dist/api/resources/context/types/ChunksContextRequestType.d.ts +6 -0
- package/dist/api/resources/context/types/ChunksContextRequestType.js +9 -0
- package/dist/api/resources/context/types/ListV2ListContentRequestType.d.ts +5 -1
- package/dist/api/resources/context/types/ListV2ListContentRequestType.js +5 -1
- package/dist/api/resources/context/types/ProfileContextRequestType.d.ts +5 -0
- package/dist/api/resources/context/types/ProfileContextRequestType.js +8 -0
- package/dist/api/resources/context/types/RelationsContextRequestType.d.ts +1 -0
- package/dist/api/resources/context/types/RelationsContextRequestType.js +1 -0
- package/dist/api/resources/context/types/SourcesV2SourceDeleteRequestType.d.ts +5 -1
- package/dist/api/resources/context/types/SourcesV2SourceDeleteRequestType.js +5 -1
- package/dist/api/resources/context/types/SubgraphContextRequestType.d.ts +1 -0
- package/dist/api/resources/context/types/SubgraphContextRequestType.js +1 -0
- package/dist/api/resources/context/types/index.d.ts +2 -0
- package/dist/api/resources/context/types/index.js +2 -0
- package/dist/api/resources/databases/client/Client.d.ts +71 -0
- package/dist/api/resources/databases/client/Client.js +309 -0
- package/dist/api/resources/databases/client/requests/DeleteCollectionDatabasesRequest.d.ts +13 -0
- package/dist/api/resources/databases/client/requests/DeleteCollectionDatabasesRequest.js +3 -0
- package/dist/api/resources/databases/client/requests/GetInstructionsDatabasesRequest.d.ts +10 -0
- package/dist/api/resources/databases/client/requests/GetInstructionsDatabasesRequest.js +3 -0
- package/dist/api/resources/databases/client/requests/HandlerInstructionsUpdateReq.d.ts +20 -0
- package/dist/api/resources/databases/client/requests/HandlerInstructionsUpdateReq.js +3 -0
- package/dist/api/resources/databases/client/requests/TenantsTenantCreateRequest.d.ts +1 -0
- package/dist/api/resources/databases/client/requests/TenantsTenantRenameRequest.d.ts +21 -0
- package/dist/api/resources/databases/client/requests/TenantsTenantRenameRequest.js +3 -0
- package/dist/api/resources/databases/client/requests/index.d.ts +4 -0
- package/dist/api/resources/feedback/client/Client.d.ts +1 -3
- package/dist/api/resources/feedback/client/Client.js +1 -3
- package/dist/api/resources/feedback/client/index.d.ts +1 -1
- package/dist/api/resources/feedback/client/index.js +15 -0
- package/dist/api/resources/feedback/client/requests/FeedbackSubmitRequest.d.ts +29 -0
- package/dist/api/resources/feedback/client/requests/FeedbackSubmitRequest.js +3 -0
- package/dist/api/resources/feedback/client/requests/index.d.ts +1 -0
- package/dist/api/resources/feedback/client/requests/index.js +2 -0
- package/dist/api/resources/index.d.ts +1 -0
- package/dist/api/resources/index.js +1 -0
- package/dist/api/types/ConnectorsResource.d.ts +58 -0
- package/dist/api/types/GithubComHydradbHydradbApplicationInternalPlatformStoragelayoutLayout.d.ts +11 -0
- package/dist/api/types/GithubComHydradbHydradbApplicationInternalPlatformStoragelayoutLayout.js +14 -0
- package/dist/api/types/GraphRelationEvidence.d.ts +7 -0
- package/dist/api/types/HandlerConnectorApiView.d.ts +15 -0
- package/dist/api/types/HandlerConnectorCreateResponse.d.ts +15 -0
- package/dist/api/types/HandlerConnectorLimitView.d.ts +15 -0
- package/dist/api/types/HandlerConnectorLimitView.js +3 -0
- package/dist/api/types/HandlerConnectorListResponse.d.ts +8 -3
- package/dist/api/types/HandlerConnectorPauseResponse.d.ts +6 -0
- package/dist/api/types/HandlerConnectorPauseResponse.js +3 -0
- package/dist/api/types/HandlerConnectorResourceStatus.d.ts +27 -0
- package/dist/api/types/HandlerConnectorStatusError.d.ts +4 -3
- package/dist/api/types/HandlerConnectorStatusResponse.d.ts +5 -2
- package/dist/api/types/HandlerEnvelopeSearchChunkInspectResult.d.ts +9 -0
- package/dist/api/types/HandlerEnvelopeSearchChunkInspectResult.js +3 -0
- package/dist/api/types/HandlerEnvelopeSearchEntityProfileView.d.ts +9 -0
- package/dist/api/types/HandlerEnvelopeSearchEntityProfileView.js +3 -0
- package/dist/api/types/HandlerEnvelopeSearchV2RetrievalResult.d.ts +2 -1
- package/dist/api/types/HandlerEnvelopeSearchV2RetrievalResultData.d.ts +5 -0
- package/dist/api/types/HandlerEnvelopeSearchV2RetrievalResultData.js +3 -0
- package/dist/api/types/HandlerEnvelopeTenantsSubTenantDeleteResponse.d.ts +9 -0
- package/dist/api/types/HandlerEnvelopeTenantsSubTenantDeleteResponse.js +3 -0
- package/dist/api/types/HandlerEnvelopeTenantsTenantRenameResponse.d.ts +9 -0
- package/dist/api/types/HandlerEnvelopeTenantsTenantRenameResponse.js +3 -0
- package/dist/api/types/HandlerInstructionsResponse.d.ts +13 -0
- package/dist/api/types/HandlerInstructionsResponse.js +3 -0
- package/dist/api/types/HandlerPlanCapView.d.ts +11 -0
- package/dist/api/types/HandlerPlanCapView.js +3 -0
- package/dist/api/types/HandlerVaultCredentialEntry.d.ts +13 -0
- package/dist/api/types/HandlerVaultCredentialEntry.js +3 -0
- package/dist/api/types/HandlerVaultCredentialListResponse.d.ts +8 -0
- package/dist/api/types/HandlerVaultCredentialListResponse.js +3 -0
- package/dist/api/types/HandlerVaultCredentialRevealResponse.d.ts +7 -0
- package/dist/api/types/HandlerVaultCredentialRevealResponse.js +3 -0
- package/dist/api/types/HandlerVaultCredentialUpdateResponse.d.ts +5 -0
- package/dist/api/types/HandlerVaultCredentialUpdateResponse.js +3 -0
- package/dist/api/types/IngestionGraphEntity.d.ts +8 -0
- package/dist/api/types/IngestionGraphEntity.js +3 -0
- package/dist/api/types/IngestionGraphPayload.d.ts +5 -0
- package/dist/api/types/IngestionGraphPayload.js +3 -0
- package/dist/api/types/IngestionGraphRelation.d.ts +9 -0
- package/dist/api/types/IngestionGraphRelation.js +3 -0
- package/dist/api/types/ListV2MemoryItem.d.ts +8 -0
- package/dist/api/types/ListV2SourceItem.d.ts +8 -0
- package/dist/api/types/MemoriesConversationTurn.d.ts +5 -0
- package/dist/api/types/MemoriesConversationTurn.js +3 -0
- package/dist/api/types/MemoriesForcefulRelations.d.ts +11 -0
- package/dist/api/types/MemoriesForcefulRelations.js +3 -0
- package/dist/api/types/MemoriesIngestItem.d.ts +56 -0
- package/dist/api/types/MemoriesIngestItem.js +3 -0
- package/dist/api/types/MemoriesIngestItemContextCategory.d.ts +13 -0
- package/dist/api/types/MemoriesIngestItemContextCategory.js +16 -0
- package/dist/api/types/MemoriesUnifiedIngestRequest.d.ts +26 -0
- package/dist/api/types/MemoriesUnifiedIngestRequest.js +3 -0
- package/dist/api/types/SearchAliasExpansionNote.d.ts +4 -0
- package/dist/api/types/SearchAliasExpansionNote.js +3 -0
- package/dist/api/types/SearchAppSearchFusionDiagnostics.d.ts +31 -0
- package/dist/api/types/SearchAppSearchFusionDiagnostics.js +3 -0
- package/dist/api/types/SearchAppSearchFusionStats.d.ts +43 -0
- package/dist/api/types/SearchAppSearchFusionStats.js +3 -0
- package/dist/api/types/SearchChunkInspectResult.d.ts +24 -0
- package/dist/api/types/SearchChunkInspectResult.js +3 -0
- package/dist/api/types/SearchCodeSearchRepoResult.d.ts +11 -0
- package/dist/api/types/SearchCodeSearchRepoResult.js +3 -0
- package/dist/api/types/SearchCodeSearchResult.d.ts +24 -0
- package/dist/api/types/SearchCodeSearchResult.js +3 -0
- package/dist/api/types/SearchEntityProfileView.d.ts +18 -0
- package/dist/api/types/SearchEntityProfileView.js +3 -0
- package/dist/api/types/SearchForcefulRelationEntry.d.ts +5 -0
- package/dist/api/types/SearchForcefulRelationEntry.js +3 -0
- package/dist/api/types/SearchForcefulRelationsBucket.d.ts +11 -0
- package/dist/api/types/SearchForcefulRelationsBucket.js +3 -0
- package/dist/api/types/SearchGraphPath.d.ts +10 -0
- package/dist/api/types/SearchGraphPath.js +3 -0
- package/dist/api/types/SearchGraphPlane.d.ts +11 -0
- package/dist/api/types/SearchGraphPlane.js +3 -0
- package/dist/api/types/SearchMetadataFilters.d.ts +1 -1
- package/dist/api/types/SearchProfileContext.d.ts +17 -0
- package/dist/api/types/SearchProfileContext.js +3 -0
- package/dist/api/types/SearchProfileEntry.d.ts +11 -0
- package/dist/api/types/SearchProfileEntry.js +3 -0
- package/dist/api/types/SearchProfileFilterInfo.d.ts +10 -0
- package/dist/api/types/SearchProfileFilterInfo.js +3 -0
- package/dist/api/types/SearchQueryChunk.d.ts +19 -0
- package/dist/api/types/SearchQueryChunk.js +3 -0
- package/dist/api/types/SearchQueryChunkEnrichmentKind.d.ts +7 -0
- package/dist/api/types/SearchQueryChunkEnrichmentKind.js +10 -0
- package/dist/api/types/SearchQueryChunkTemporal.d.ts +8 -0
- package/dist/api/types/SearchQueryChunkTemporal.js +3 -0
- package/dist/api/types/SearchQueryForcefulRelation.d.ts +6 -0
- package/dist/api/types/SearchQueryForcefulRelation.js +3 -0
- package/dist/api/types/SearchQueryGraphEdge.d.ts +13 -0
- package/dist/api/types/SearchQueryGraphEdge.js +3 -0
- package/dist/api/types/SearchQueryGraphEntity.d.ts +4 -0
- package/dist/api/types/SearchQueryGraphEntity.js +3 -0
- package/dist/api/types/SearchQueryGraphPath.d.ts +9 -0
- package/dist/api/types/SearchQueryGraphPath.js +3 -0
- package/dist/api/types/SearchQueryGraphPathOrigin.d.ts +6 -0
- package/dist/api/types/SearchQueryGraphPathOrigin.js +9 -0
- package/dist/api/types/SearchQueryGraphTriplet.d.ts +6 -0
- package/dist/api/types/SearchQueryGraphTriplet.js +3 -0
- package/dist/api/types/SearchQueryResult.d.ts +14 -0
- package/dist/api/types/SearchQueryResult.js +3 -0
- package/dist/api/types/SearchRelationVia.d.ts +4 -0
- package/dist/api/types/SearchRelationVia.js +3 -0
- package/dist/api/types/SearchResolvedReference.d.ts +4 -0
- package/dist/api/types/SearchResolvedReference.js +3 -0
- package/dist/api/types/SearchV2RetrievalResult.d.ts +32 -1
- package/dist/api/types/SearchVectorStoreChunk.d.ts +28 -0
- package/dist/api/types/SearchVectorStoreChunk.js +3 -0
- package/dist/api/types/TenantsDatabaseDetail.d.ts +11 -0
- package/dist/api/types/TenantsDatabaseDetail.js +3 -0
- package/dist/api/types/TenantsDatabaseDetailType.d.ts +9 -0
- package/dist/api/types/TenantsDatabaseDetailType.js +12 -0
- package/dist/api/types/TenantsInfraStatusResponseV2.d.ts +5 -0
- package/dist/api/types/TenantsInfraStatusResponseV2Type.d.ts +8 -0
- package/dist/api/types/TenantsInfraStatusResponseV2Type.js +11 -0
- package/dist/api/types/TenantsMilvusDataType.d.ts +1 -0
- package/dist/api/types/TenantsMilvusDataType.js +1 -0
- package/dist/api/types/TenantsSubTenantDeleteResponse.d.ts +12 -0
- package/dist/api/types/TenantsSubTenantDeleteResponse.js +3 -0
- package/dist/api/types/TenantsTenantIdsResponse.d.ts +2 -0
- package/dist/api/types/TenantsTenantRenameResponse.d.ts +20 -0
- package/dist/api/types/TenantsTenantRenameResponse.js +3 -0
- package/dist/api/types/index.d.ts +54 -6
- package/dist/api/types/index.js +54 -6
- package/dist/helpers/buildString.d.ts +9 -3
- package/dist/helpers/buildString.js +28 -3
- package/dist/serialization/client/requests/SearchQueryRequest.d.ts +7 -0
- package/dist/serialization/client/requests/SearchQueryRequest.js +7 -0
- package/dist/serialization/resources/connectors/client/requests/HandlerConfigureReq.d.ts +1 -0
- package/dist/serialization/resources/connectors/client/requests/HandlerConfigureReq.js +1 -0
- package/dist/serialization/resources/connectors/client/requests/HandlerVaultCredentialRevealReq.d.ts +9 -0
- package/dist/serialization/resources/connectors/client/requests/HandlerVaultCredentialRevealReq.js +41 -0
- package/dist/serialization/resources/connectors/client/requests/HandlerVaultCredentialUpdateReq.d.ts +9 -0
- package/dist/serialization/resources/connectors/client/requests/HandlerVaultCredentialUpdateReq.js +41 -0
- package/dist/serialization/resources/connectors/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/connectors/client/requests/index.js +5 -1
- package/dist/serialization/resources/context/types/ChunksContextRequestType.d.ts +7 -0
- package/dist/serialization/resources/context/types/ChunksContextRequestType.js +39 -0
- package/dist/serialization/resources/context/types/ListV2ListContentRequestType.d.ts +1 -1
- package/dist/serialization/resources/context/types/ListV2ListContentRequestType.js +1 -1
- package/dist/serialization/resources/context/types/ProfileContextRequestType.d.ts +7 -0
- package/dist/serialization/resources/context/types/ProfileContextRequestType.js +39 -0
- package/dist/serialization/resources/context/types/RelationsContextRequestType.d.ts +1 -1
- package/dist/serialization/resources/context/types/RelationsContextRequestType.js +1 -1
- package/dist/serialization/resources/context/types/SourcesV2SourceDeleteRequestType.d.ts +1 -1
- package/dist/serialization/resources/context/types/SourcesV2SourceDeleteRequestType.js +1 -1
- package/dist/serialization/resources/context/types/SubgraphContextRequestType.d.ts +1 -1
- package/dist/serialization/resources/context/types/SubgraphContextRequestType.js +1 -1
- package/dist/serialization/resources/context/types/index.d.ts +2 -0
- package/dist/serialization/resources/context/types/index.js +2 -0
- package/dist/serialization/resources/databases/client/requests/HandlerInstructionsUpdateReq.d.ts +10 -0
- package/dist/serialization/resources/databases/client/requests/HandlerInstructionsUpdateReq.js +44 -0
- package/dist/serialization/resources/databases/client/requests/TenantsTenantCreateRequest.d.ts +2 -0
- package/dist/serialization/resources/databases/client/requests/TenantsTenantCreateRequest.js +2 -0
- package/dist/serialization/resources/databases/client/requests/TenantsTenantRenameRequest.d.ts +9 -0
- package/dist/serialization/resources/databases/client/requests/TenantsTenantRenameRequest.js +41 -0
- package/dist/serialization/resources/databases/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/databases/client/requests/index.js +5 -1
- package/dist/serialization/resources/feedback/client/index.d.ts +1 -0
- package/dist/serialization/resources/feedback/client/index.js +17 -0
- package/dist/serialization/resources/feedback/client/requests/FeedbackSubmitRequest.d.ts +21 -0
- package/dist/serialization/{types → resources/feedback/client/requests}/FeedbackSubmitRequest.js +16 -4
- package/dist/serialization/resources/feedback/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/feedback/client/requests/index.js +5 -0
- package/dist/serialization/resources/feedback/index.d.ts +1 -0
- package/dist/serialization/resources/feedback/index.js +17 -0
- package/dist/serialization/resources/index.d.ts +2 -0
- package/dist/serialization/resources/index.js +3 -1
- package/dist/serialization/types/ConnectorsResource.d.ts +6 -0
- package/dist/serialization/types/ConnectorsResource.js +6 -0
- package/dist/serialization/types/GithubComHydradbHydradbApplicationInternalPlatformStoragelayoutLayout.d.ts +7 -0
- package/dist/serialization/types/GithubComHydradbHydradbApplicationInternalPlatformStoragelayoutLayout.js +39 -0
- package/dist/serialization/types/GraphRelationEvidence.d.ts +1 -0
- package/dist/serialization/types/GraphRelationEvidence.js +1 -0
- package/dist/serialization/types/HandlerConnectorApiView.d.ts +3 -0
- package/dist/serialization/types/HandlerConnectorApiView.js +3 -0
- package/dist/serialization/types/HandlerConnectorCreateResponse.d.ts +3 -0
- package/dist/serialization/types/HandlerConnectorCreateResponse.js +3 -0
- package/dist/serialization/types/HandlerConnectorLimitView.d.ts +12 -0
- package/dist/serialization/types/{FeedbackSubmitRequestGroundTruth.js → HandlerConnectorLimitView.js} +6 -4
- package/dist/serialization/types/HandlerConnectorListResponse.d.ts +4 -0
- package/dist/serialization/types/HandlerConnectorListResponse.js +4 -0
- package/dist/serialization/types/HandlerConnectorPauseResponse.d.ts +11 -0
- package/dist/serialization/types/HandlerConnectorPauseResponse.js +43 -0
- package/dist/serialization/types/HandlerConnectorResourceStatus.d.ts +4 -0
- package/dist/serialization/types/HandlerConnectorResourceStatus.js +4 -0
- package/dist/serialization/types/HandlerConnectorStatusResponse.d.ts +2 -0
- package/dist/serialization/types/HandlerConnectorStatusResponse.js +2 -0
- package/dist/serialization/types/HandlerEnvelopeSearchChunkInspectResult.d.ts +15 -0
- package/dist/serialization/types/HandlerEnvelopeSearchChunkInspectResult.js +47 -0
- package/dist/serialization/types/HandlerEnvelopeSearchEntityProfileView.d.ts +15 -0
- package/dist/serialization/types/HandlerEnvelopeSearchEntityProfileView.js +47 -0
- package/dist/serialization/types/HandlerEnvelopeSearchV2RetrievalResult.d.ts +2 -2
- package/dist/serialization/types/HandlerEnvelopeSearchV2RetrievalResult.js +2 -2
- package/dist/serialization/types/HandlerEnvelopeSearchV2RetrievalResultData.d.ts +9 -0
- package/dist/serialization/types/HandlerEnvelopeSearchV2RetrievalResultData.js +41 -0
- package/dist/serialization/types/HandlerEnvelopeTenantsSubTenantDeleteResponse.d.ts +15 -0
- package/dist/serialization/types/HandlerEnvelopeTenantsSubTenantDeleteResponse.js +47 -0
- package/dist/serialization/types/HandlerEnvelopeTenantsTenantRenameResponse.d.ts +15 -0
- package/dist/serialization/types/HandlerEnvelopeTenantsTenantRenameResponse.js +47 -0
- package/dist/serialization/types/HandlerInstructionsResponse.d.ts +12 -0
- package/dist/serialization/types/HandlerInstructionsResponse.js +44 -0
- package/dist/serialization/types/HandlerPlanCapView.d.ts +11 -0
- package/dist/serialization/types/{FeedbackSubmitRequestGroundTruthGroundTruthSourceIds.js → HandlerPlanCapView.js} +5 -3
- package/dist/serialization/types/HandlerVaultCredentialEntry.d.ts +15 -0
- package/dist/serialization/types/HandlerVaultCredentialEntry.js +47 -0
- package/dist/serialization/types/HandlerVaultCredentialListResponse.d.ts +12 -0
- package/dist/serialization/types/HandlerVaultCredentialListResponse.js +44 -0
- package/dist/serialization/types/HandlerVaultCredentialRevealResponse.d.ts +12 -0
- package/dist/serialization/types/HandlerVaultCredentialRevealResponse.js +44 -0
- package/dist/serialization/types/HandlerVaultCredentialUpdateResponse.d.ts +10 -0
- package/dist/serialization/types/HandlerVaultCredentialUpdateResponse.js +42 -0
- package/dist/serialization/types/IngestionGraphEntity.d.ts +12 -0
- package/dist/serialization/types/IngestionGraphEntity.js +44 -0
- package/dist/serialization/types/IngestionGraphPayload.d.ts +12 -0
- package/dist/serialization/types/IngestionGraphPayload.js +44 -0
- package/dist/serialization/types/IngestionGraphRelation.d.ts +13 -0
- package/dist/serialization/types/IngestionGraphRelation.js +45 -0
- package/dist/serialization/types/ListV2MemoryItem.d.ts +1 -0
- package/dist/serialization/types/ListV2MemoryItem.js +1 -0
- package/dist/serialization/types/ListV2SourceItem.d.ts +1 -0
- package/dist/serialization/types/ListV2SourceItem.js +1 -0
- package/dist/serialization/types/MemoriesConversationTurn.d.ts +10 -0
- package/dist/serialization/types/MemoriesConversationTurn.js +42 -0
- package/dist/serialization/types/MemoriesForcefulRelations.d.ts +10 -0
- package/dist/serialization/types/MemoriesForcefulRelations.js +42 -0
- package/dist/serialization/types/MemoriesIngestItem.d.ts +25 -0
- package/dist/serialization/types/MemoriesIngestItem.js +57 -0
- package/dist/serialization/types/MemoriesIngestItemContextCategory.d.ts +7 -0
- package/dist/serialization/types/MemoriesIngestItemContextCategory.js +39 -0
- package/dist/serialization/types/MemoriesUnifiedIngestRequest.d.ts +19 -0
- package/dist/serialization/types/MemoriesUnifiedIngestRequest.js +51 -0
- package/dist/serialization/types/SearchAliasExpansionNote.d.ts +10 -0
- package/dist/serialization/types/SearchAliasExpansionNote.js +42 -0
- package/dist/serialization/types/SearchAppSearchFusionDiagnostics.d.ts +13 -0
- package/dist/serialization/types/SearchAppSearchFusionDiagnostics.js +45 -0
- package/dist/serialization/types/SearchAppSearchFusionStats.d.ts +19 -0
- package/dist/serialization/types/SearchAppSearchFusionStats.js +51 -0
- package/dist/serialization/types/SearchChunkInspectResult.d.ts +14 -0
- package/dist/serialization/types/SearchChunkInspectResult.js +46 -0
- package/dist/serialization/types/SearchCodeSearchRepoResult.d.ts +15 -0
- package/dist/serialization/types/SearchCodeSearchRepoResult.js +47 -0
- package/dist/serialization/types/SearchCodeSearchResult.d.ts +14 -0
- package/dist/serialization/types/SearchCodeSearchResult.js +46 -0
- package/dist/serialization/types/SearchEntityProfileView.d.ts +22 -0
- package/dist/serialization/types/SearchEntityProfileView.js +54 -0
- package/dist/serialization/types/SearchForcefulRelationEntry.d.ts +12 -0
- package/dist/serialization/types/SearchForcefulRelationEntry.js +44 -0
- package/dist/serialization/types/SearchForcefulRelationsBucket.d.ts +11 -0
- package/dist/serialization/types/SearchForcefulRelationsBucket.js +43 -0
- package/dist/serialization/types/SearchGraphPath.d.ts +13 -0
- package/dist/serialization/types/SearchGraphPath.js +45 -0
- package/dist/serialization/types/SearchGraphPlane.d.ts +10 -0
- package/dist/serialization/types/SearchGraphPlane.js +42 -0
- package/dist/serialization/types/SearchProfileContext.d.ts +17 -0
- package/dist/serialization/types/SearchProfileContext.js +49 -0
- package/dist/serialization/types/SearchProfileEntry.d.ts +15 -0
- package/dist/serialization/types/SearchProfileEntry.js +47 -0
- package/dist/serialization/types/SearchProfileFilterInfo.d.ts +15 -0
- package/dist/serialization/types/SearchProfileFilterInfo.js +47 -0
- package/dist/serialization/types/SearchQueryChunk.d.ts +18 -0
- package/dist/serialization/types/SearchQueryChunk.js +50 -0
- package/dist/serialization/types/SearchQueryChunkEnrichmentKind.d.ts +7 -0
- package/dist/serialization/types/SearchQueryChunkEnrichmentKind.js +39 -0
- package/dist/serialization/types/SearchQueryChunkTemporal.d.ts +11 -0
- package/dist/serialization/types/SearchQueryChunkTemporal.js +43 -0
- package/dist/serialization/types/SearchQueryForcefulRelation.d.ts +12 -0
- package/dist/serialization/types/SearchQueryForcefulRelation.js +44 -0
- package/dist/serialization/types/SearchQueryGraphEdge.d.ts +14 -0
- package/dist/serialization/types/SearchQueryGraphEdge.js +46 -0
- package/dist/serialization/types/SearchQueryGraphEntity.d.ts +10 -0
- package/dist/serialization/types/SearchQueryGraphEntity.js +42 -0
- package/dist/serialization/types/SearchQueryGraphPath.d.ts +13 -0
- package/dist/serialization/types/SearchQueryGraphPath.js +45 -0
- package/dist/serialization/types/SearchQueryGraphPathOrigin.d.ts +7 -0
- package/dist/serialization/types/{FeedbackSubmitRequestFeedback.js → SearchQueryGraphPathOrigin.js} +2 -4
- package/dist/serialization/types/SearchQueryGraphTriplet.d.ts +13 -0
- package/dist/serialization/types/SearchQueryGraphTriplet.js +45 -0
- package/dist/serialization/types/SearchQueryResult.d.ts +15 -0
- package/dist/serialization/types/SearchQueryResult.js +47 -0
- package/dist/serialization/types/SearchRelationVia.d.ts +10 -0
- package/dist/serialization/types/{FeedbackSubmitRequestGroundTruthGroundTruthAnswer.js → SearchRelationVia.js} +4 -3
- package/dist/serialization/types/SearchResolvedReference.d.ts +10 -0
- package/dist/serialization/types/SearchResolvedReference.js +42 -0
- package/dist/serialization/types/SearchV2RetrievalResult.d.ts +18 -0
- package/dist/serialization/types/SearchV2RetrievalResult.js +18 -0
- package/dist/serialization/types/SearchVectorStoreChunk.d.ts +21 -0
- package/dist/serialization/types/SearchVectorStoreChunk.js +53 -0
- package/dist/serialization/types/TenantsDatabaseDetail.d.ts +11 -0
- package/dist/serialization/types/TenantsDatabaseDetail.js +43 -0
- package/dist/serialization/types/TenantsDatabaseDetailType.d.ts +7 -0
- package/dist/serialization/types/TenantsDatabaseDetailType.js +39 -0
- package/dist/serialization/types/TenantsInfraStatusResponseV2.d.ts +2 -0
- package/dist/serialization/types/TenantsInfraStatusResponseV2.js +2 -0
- package/dist/serialization/types/TenantsInfraStatusResponseV2Type.d.ts +7 -0
- package/dist/serialization/types/TenantsInfraStatusResponseV2Type.js +39 -0
- package/dist/serialization/types/TenantsSubTenantDeleteResponse.d.ts +14 -0
- package/dist/serialization/types/TenantsSubTenantDeleteResponse.js +46 -0
- package/dist/serialization/types/TenantsTenantIdsResponse.d.ts +2 -0
- package/dist/serialization/types/TenantsTenantIdsResponse.js +2 -0
- package/dist/serialization/types/TenantsTenantRenameResponse.d.ts +15 -0
- package/dist/serialization/types/TenantsTenantRenameResponse.js +47 -0
- package/dist/serialization/types/index.d.ts +54 -6
- package/dist/serialization/types/index.js +54 -6
- package/package.json +1 -1
- package/dist/api/types/FeedbackSubmitRequest.d.ts +0 -2
- package/dist/api/types/FeedbackSubmitRequestFeedback.d.ts +0 -3
- package/dist/api/types/FeedbackSubmitRequestGroundTruth.d.ts +0 -4
- package/dist/api/types/FeedbackSubmitRequestGroundTruthGroundTruth.d.ts +0 -2
- package/dist/api/types/FeedbackSubmitRequestGroundTruthGroundTruthAnswer.d.ts +0 -3
- package/dist/api/types/FeedbackSubmitRequestGroundTruthGroundTruthSourceIds.d.ts +0 -3
- package/dist/serialization/types/FeedbackSubmitRequest.d.ts +0 -9
- package/dist/serialization/types/FeedbackSubmitRequestFeedback.d.ts +0 -9
- package/dist/serialization/types/FeedbackSubmitRequestGroundTruth.d.ts +0 -10
- package/dist/serialization/types/FeedbackSubmitRequestGroundTruthGroundTruth.d.ts +0 -9
- package/dist/serialization/types/FeedbackSubmitRequestGroundTruthGroundTruth.js +0 -44
- package/dist/serialization/types/FeedbackSubmitRequestGroundTruthGroundTruthAnswer.d.ts +0 -9
- package/dist/serialization/types/FeedbackSubmitRequestGroundTruthGroundTruthSourceIds.d.ts +0 -9
- /package/dist/api/{types/FeedbackSubmitRequest.js → resources/connectors/client/requests/HandlerVaultCredentialRevealReq.js} +0 -0
- /package/dist/api/{types/FeedbackSubmitRequestFeedback.js → resources/connectors/client/requests/HandlerVaultCredentialUpdateReq.js} +0 -0
- /package/dist/api/{types/FeedbackSubmitRequestGroundTruth.js → resources/connectors/client/requests/PauseConnectorsRequest.js} +0 -0
- /package/dist/api/{types/FeedbackSubmitRequestGroundTruthGroundTruth.js → resources/connectors/client/requests/ResumeConnectorsRequest.js} +0 -0
- /package/dist/api/{types/FeedbackSubmitRequestGroundTruthGroundTruthAnswer.js → resources/context/client/requests/ChunksContextRequest.js} +0 -0
- /package/dist/api/{types/FeedbackSubmitRequestGroundTruthGroundTruthSourceIds.js → resources/context/client/requests/ProfileContextRequest.js} +0 -0
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type * as HydraDB from "../../../../index.js";
|
|
2
|
+
/**
|
|
3
|
+
* @example
|
|
4
|
+
* {
|
|
5
|
+
* requestId: "9d13aef4-02f4-4e73-8c62-4c2601d04f9d"
|
|
6
|
+
* }
|
|
7
|
+
*/
|
|
8
|
+
export interface FeedbackSubmitRequest {
|
|
9
|
+
/** Optional collection scope for this feedback. A collection is scoped to a database, so `database` must be sent alongside it; sending `collection` on its own is rejected. */
|
|
10
|
+
collection?: string;
|
|
11
|
+
/** Owning database. Formerly `tenant_id`; the `tenant_id` alias is still accepted (deprecated). */
|
|
12
|
+
database?: string;
|
|
13
|
+
/** Free-text comment describing what was right or wrong about the results. Required unless `ground_truth` is supplied. */
|
|
14
|
+
feedback?: string;
|
|
15
|
+
/** What you already know the right answer to be, when you know it. Supply an expected `answer`, the `source_ids` that contain it, or both — at least one is required if the field is present. Machine-checkable, so it is a stronger signal than a comment: submit it alone and `feedback` becomes optional. */
|
|
16
|
+
groundTruth?: HydraDB.FeedbackGroundTruth;
|
|
17
|
+
/** Free-form key-value context stored alongside the feedback (e.g. agent name, conversation or eval-run ID). */
|
|
18
|
+
metadata?: Record<string, string>;
|
|
19
|
+
/** Optional overall judgement: `positive`, `negative`, or `neutral`. Omit to send a comment with no rating. */
|
|
20
|
+
rating?: HydraDB.FeedbackRating;
|
|
21
|
+
/** The `request_id` from `response.meta` of the query this feedback is about. Required — it is what links the feedback to the query that ran. */
|
|
22
|
+
requestId: string;
|
|
23
|
+
/** Who is submitting: `user` (default) or `agent`. */
|
|
24
|
+
source?: HydraDB.FeedbackSource;
|
|
25
|
+
/** deprecated: use collection */
|
|
26
|
+
subTenantId?: string;
|
|
27
|
+
/** deprecated: use database */
|
|
28
|
+
tenantId?: string;
|
|
29
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { FeedbackSubmitRequest } from "./FeedbackSubmitRequest.js";
|
|
@@ -5,6 +5,7 @@ export * as context from "./context/index.js";
|
|
|
5
5
|
export * from "./context/types/index.js";
|
|
6
6
|
export * from "./databases/client/requests/index.js";
|
|
7
7
|
export * as databases from "./databases/index.js";
|
|
8
|
+
export * from "./feedback/client/requests/index.js";
|
|
8
9
|
export * as feedback from "./feedback/index.js";
|
|
9
10
|
export * from "./webhooks/client/requests/index.js";
|
|
10
11
|
export * as webhooks from "./webhooks/index.js";
|
|
@@ -44,6 +44,7 @@ exports.context = __importStar(require("./context/index.js"));
|
|
|
44
44
|
__exportStar(require("./context/types/index.js"), exports);
|
|
45
45
|
__exportStar(require("./databases/client/requests/index.js"), exports);
|
|
46
46
|
exports.databases = __importStar(require("./databases/index.js"));
|
|
47
|
+
__exportStar(require("./feedback/client/requests/index.js"), exports);
|
|
47
48
|
exports.feedback = __importStar(require("./feedback/index.js"));
|
|
48
49
|
__exportStar(require("./webhooks/client/requests/index.js"), exports);
|
|
49
50
|
exports.webhooks = __importStar(require("./webhooks/index.js"));
|
|
@@ -15,6 +15,19 @@ export interface ConnectorsResource {
|
|
|
15
15
|
* nothing has been applied yet (first capture-enabled sync).
|
|
16
16
|
*/
|
|
17
17
|
aclFingerprint?: string;
|
|
18
|
+
/**
|
|
19
|
+
* ACLWarning explains, in the provider's own words, why this resource's
|
|
20
|
+
* permissions could not be captured. Capture fails OPEN, so the resource
|
|
21
|
+
* is readable by everyone while this is set; without surfacing it, that
|
|
22
|
+
* widening would be invisible to the person who turned RBAC on. Cleared
|
|
23
|
+
* automatically by the next successful capture.
|
|
24
|
+
*/
|
|
25
|
+
aclWarning?: string;
|
|
26
|
+
/**
|
|
27
|
+
* ACLWarningAt is when this warning last CHANGED (RFC3339). An unchanged
|
|
28
|
+
* warning is not rewritten each cycle, so it reads as "open since".
|
|
29
|
+
*/
|
|
30
|
+
aclWarningAt?: string;
|
|
18
31
|
/**
|
|
19
32
|
* AdditionalMetadata is merged into the additional_metadata (document
|
|
20
33
|
* metadata) layer of every object synced from this resource. User-supplied
|
|
@@ -27,6 +40,26 @@ export interface ConnectorsResource {
|
|
|
27
40
|
* time so the scheduler can thread it into each chunk's workflow input.
|
|
28
41
|
*/
|
|
29
42
|
backfillChunkIntervalSeconds?: number;
|
|
43
|
+
/**
|
|
44
|
+
* BackfillFloor is the fixed oldest boundary the historical crawl is working
|
|
45
|
+
* towards, stamped once at configure time as now-lookback_days.
|
|
46
|
+
*
|
|
47
|
+
* It exists because the floor used to be recomputed per chunk from the
|
|
48
|
+
* workflow's own clock, which made it a *moving* target: every hour the
|
|
49
|
+
* crawl was delayed, the boundary advanced an hour with it. A connector
|
|
50
|
+
* paused mid-backfill (PRO-1762) makes that trivially reachable — pause for
|
|
51
|
+
* longer than the crawl has left and it resumes, finds backfill_oldest
|
|
52
|
+
* already at or past the recomputed floor, declares itself complete and
|
|
53
|
+
* clears the marker. The remaining history is never fetched and nothing
|
|
54
|
+
* reports it missing. Anchoring the boundary is what makes "backfill 30
|
|
55
|
+
* days" mean 30 days from when it was asked for, however long the crawl
|
|
56
|
+
* takes.
|
|
57
|
+
*
|
|
58
|
+
* Empty on rows configured before this field existed; the workflow falls
|
|
59
|
+
* back to the old now-relative computation for those, so their behaviour is
|
|
60
|
+
* unchanged rather than silently altered by a deploy.
|
|
61
|
+
*/
|
|
62
|
+
backfillFloor?: string;
|
|
30
63
|
/**
|
|
31
64
|
* BackfillNextChunkAt is the RFC3339 time the next chunk becomes due. The
|
|
32
65
|
* backfill workflow processes one chunk then sets this to now+interval and
|
|
@@ -78,6 +111,31 @@ export interface ConnectorsResource {
|
|
|
78
111
|
* system-set fields.
|
|
79
112
|
*/
|
|
80
113
|
metadata?: Record<string, unknown>;
|
|
114
|
+
/**
|
|
115
|
+
* PageACLWarning is the same signal for SOURCE-level failures inside this
|
|
116
|
+
* resource: individual pages whose own restrictions could not be resolved
|
|
117
|
+
* and were therefore opened (Confluence, PRO-1684).
|
|
118
|
+
*
|
|
119
|
+
* A SEPARATE field from ACLWarning on purpose. The two are written by
|
|
120
|
+
* different steps at different points in a sync, and ACLWarning is CLEARED
|
|
121
|
+
* whenever resource capture succeeds. Sharing one field would let a healthy
|
|
122
|
+
* space wipe a live page warning every cycle, leaving a window in which the
|
|
123
|
+
* dashboard reports no problems while pages are still open — a false
|
|
124
|
+
* all-clear on an access-control surface, which is worse than no surface.
|
|
125
|
+
*/
|
|
126
|
+
pageAclWarning?: string;
|
|
127
|
+
/** PageACLWarningAt is when PageACLWarning last CHANGED (RFC3339). */
|
|
128
|
+
pageAclWarningAt?: string;
|
|
129
|
+
/**
|
|
130
|
+
* PageACLWarningRun is the drain run that last observed a page failing open
|
|
131
|
+
* here. It is what makes the warning self-clearing: the drain settles each
|
|
132
|
+
* resource at the END of a cycle, and a stored run that is not the current
|
|
133
|
+
* one means that whole cycle passed with nothing failing, so the warning is
|
|
134
|
+
* withdrawn. Durable on purpose — the alternative was remembering it in the
|
|
135
|
+
* worker, which a restart loses and which has no moment that means "all
|
|
136
|
+
* pages have now been judged".
|
|
137
|
+
*/
|
|
138
|
+
pageAclWarningRun?: string;
|
|
81
139
|
/** Bookmark of the last synced position. Non-empty value confirms the first sync has run. */
|
|
82
140
|
providerCursor?: string;
|
|
83
141
|
/** Additional provider-supplied metadata for this resource. */
|
package/dist/api/types/GithubComHydradbHydradbApplicationInternalPlatformStoragelayoutLayout.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* StorageLayout is the physical storage layout the database is created with,
|
|
3
|
+
* from the request's `type` field. "split" is the two-collection layout every
|
|
4
|
+
* database uses, and the default. Fixed at creation and IMMUTABLE thereafter:
|
|
5
|
+
* the layout decides how every entity id is hashed, so a database that changed
|
|
6
|
+
* its mind would orphan everything already stored.
|
|
7
|
+
*/
|
|
8
|
+
export declare const GithubComHydradbHydradbApplicationInternalPlatformStoragelayoutLayout: {
|
|
9
|
+
readonly LayoutSplit: "split";
|
|
10
|
+
};
|
|
11
|
+
export type GithubComHydradbHydradbApplicationInternalPlatformStoragelayoutLayout = (typeof GithubComHydradbHydradbApplicationInternalPlatformStoragelayoutLayout)[keyof typeof GithubComHydradbHydradbApplicationInternalPlatformStoragelayoutLayout];
|
package/dist/api/types/GithubComHydradbHydradbApplicationInternalPlatformStoragelayoutLayout.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.GithubComHydradbHydradbApplicationInternalPlatformStoragelayoutLayout = void 0;
|
|
5
|
+
/**
|
|
6
|
+
* StorageLayout is the physical storage layout the database is created with,
|
|
7
|
+
* from the request's `type` field. "split" is the two-collection layout every
|
|
8
|
+
* database uses, and the default. Fixed at creation and IMMUTABLE thereafter:
|
|
9
|
+
* the layout decides how every entity id is hashed, so a database that changed
|
|
10
|
+
* its mind would orphan everything already stored.
|
|
11
|
+
*/
|
|
12
|
+
exports.GithubComHydradbHydradbApplicationInternalPlatformStoragelayoutLayout = {
|
|
13
|
+
LayoutSplit: "split",
|
|
14
|
+
};
|
|
@@ -7,6 +7,13 @@ export interface GraphRelationEvidence {
|
|
|
7
7
|
confidence?: number;
|
|
8
8
|
/** Verbatim passage from the source that evidences the relationship. */
|
|
9
9
|
context?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Properties are the caller's own properties on a forceful_relation edge,
|
|
12
|
+
* exactly as declared at ingest (`forceful_relations.properties`). Flat
|
|
13
|
+
* scalars. Omitted on every other edge and on a forceful relation that
|
|
14
|
+
* declared none.
|
|
15
|
+
*/
|
|
16
|
+
properties?: Record<string, unknown>;
|
|
10
17
|
/** As-extracted predicate before normalization. */
|
|
11
18
|
rawPredicate?: string;
|
|
12
19
|
/** Unique identifier for this relationship instance. */
|
|
@@ -75,6 +75,21 @@ export interface HandlerConnectorApiView {
|
|
|
75
75
|
needsReauthReason?: string;
|
|
76
76
|
/** RFC3339 timestamp when the next scheduled sync will run. */
|
|
77
77
|
nextSyncAt?: string;
|
|
78
|
+
/**
|
|
79
|
+
* Paused marks a connector its owner deliberately stopped (PRO-1762). It
|
|
80
|
+
* parks next_sync_at as SyncBlocked does, but stays a separate field:
|
|
81
|
+
* blocking clears itself once the cause is fixed, whereas only an explicit
|
|
82
|
+
* resume lifts a pause. Resources keep their committed provider_cursor, so
|
|
83
|
+
* resuming continues from where each stream stopped.
|
|
84
|
+
*/
|
|
85
|
+
paused?: boolean;
|
|
86
|
+
pausedAt?: string;
|
|
87
|
+
/**
|
|
88
|
+
* PausedNextSyncAt preserves the schedule the pause displaced. Resume makes
|
|
89
|
+
* the connector due immediately, so this is read back only to recover from
|
|
90
|
+
* a pause applied by mistake.
|
|
91
|
+
*/
|
|
92
|
+
pausedNextSyncAt?: string;
|
|
78
93
|
/** External provider being synced (e.g. `slack`, `github`, `linear`, `notion`, `gmail`). */
|
|
79
94
|
provider?: string;
|
|
80
95
|
/** Identifier for the external account (e.g. Slack workspace ID, GitHub org name). Must be distinct across connectors for the same provider. */
|
|
@@ -79,6 +79,21 @@ export interface HandlerConnectorCreateResponse {
|
|
|
79
79
|
needsReauthReason?: string;
|
|
80
80
|
/** RFC3339 timestamp when the next scheduled sync will run. */
|
|
81
81
|
nextSyncAt?: string;
|
|
82
|
+
/**
|
|
83
|
+
* Paused marks a connector its owner deliberately stopped (PRO-1762). It
|
|
84
|
+
* parks next_sync_at as SyncBlocked does, but stays a separate field:
|
|
85
|
+
* blocking clears itself once the cause is fixed, whereas only an explicit
|
|
86
|
+
* resume lifts a pause. Resources keep their committed provider_cursor, so
|
|
87
|
+
* resuming continues from where each stream stopped.
|
|
88
|
+
*/
|
|
89
|
+
paused?: boolean;
|
|
90
|
+
pausedAt?: string;
|
|
91
|
+
/**
|
|
92
|
+
* PausedNextSyncAt preserves the schedule the pause displaced. Resume makes
|
|
93
|
+
* the connector due immediately, so this is read back only to recover from
|
|
94
|
+
* a pause applied by mistake.
|
|
95
|
+
*/
|
|
96
|
+
pausedNextSyncAt?: string;
|
|
82
97
|
/** External provider being synced (e.g. `slack`, `github`, `linear`, `notion`, `gmail`). */
|
|
83
98
|
provider?: string;
|
|
84
99
|
/** Identifier for the external account (e.g. Slack workspace ID, GitHub org name). Must be distinct across connectors for the same provider. */
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ConnectorLimit is present when the org has used its plan's connector
|
|
3
|
+
* allowance (Free: 3) and the caps mode enforces it: creating another
|
|
4
|
+
* connector is refused with 402. Connectors already past the allowance
|
|
5
|
+
* keep syncing; the limit applies to creating one. Absent otherwise, and
|
|
6
|
+
* sent with the health rollups only.
|
|
7
|
+
*/
|
|
8
|
+
export interface HandlerConnectorLimitView {
|
|
9
|
+
/** Total number of items returned. */
|
|
10
|
+
count?: number;
|
|
11
|
+
limit?: number;
|
|
12
|
+
/** Human-readable result message. */
|
|
13
|
+
message?: string;
|
|
14
|
+
plan?: string;
|
|
15
|
+
}
|
|
@@ -1,11 +1,16 @@
|
|
|
1
1
|
import type * as HydraDB from "../index.js";
|
|
2
2
|
export interface HandlerConnectorListResponse {
|
|
3
|
+
connectorLimit?: HydraDB.HandlerConnectorLimitView;
|
|
3
4
|
connectors?: HydraDB.HandlerConnectorApiView[];
|
|
4
5
|
/**
|
|
5
6
|
* Health maps connector_id to its rollup (healthy | degraded | failed |
|
|
6
|
-
* checking), present only when the caller asks for
|
|
7
|
-
* A connector missing from the map has an unknown
|
|
8
|
-
* could not be read — which clients must not
|
|
7
|
+
* checking | capped), present only when the caller asks for
|
|
8
|
+
* `?include=health`. A connector missing from the map has an unknown
|
|
9
|
+
* rollup — its resources could not be read — which clients must not
|
|
10
|
+
* render as a failure. `capped` is not a rollup of the connector: it is
|
|
11
|
+
* overlaid on a healthy, degraded or checking one when the org is at a
|
|
12
|
+
* plan cap, and PlanCap says which.
|
|
9
13
|
*/
|
|
10
14
|
health?: Record<string, string>;
|
|
15
|
+
planCap?: HydraDB.HandlerPlanCapView;
|
|
11
16
|
}
|
|
@@ -1,4 +1,20 @@
|
|
|
1
1
|
export interface HandlerConnectorResourceStatus {
|
|
2
|
+
/**
|
|
3
|
+
* ACLWarning explains why permission capture could not read this
|
|
4
|
+
* resource. Capture fails OPEN, so while this is set the resource is
|
|
5
|
+
* readable by EVERY caller regardless of the ACL they send. Deliberately
|
|
6
|
+
* not folded into Status: the resource is syncing fine and its content is
|
|
7
|
+
* current, so calling it failed would be wrong and would train people to
|
|
8
|
+
* ignore a red badge. It is a separate signal because it needs a separate
|
|
9
|
+
* reaction (grant the missing permission, or set an access rule).
|
|
10
|
+
*/
|
|
11
|
+
aclWarning?: string;
|
|
12
|
+
/**
|
|
13
|
+
* ACLWarningAt is when this warning was last CHANGED (RFC3339), not when
|
|
14
|
+
* the failure was last observed. An unchanged warning is deliberately not
|
|
15
|
+
* rewritten every cycle, so treat this as "open since", not "checked at".
|
|
16
|
+
*/
|
|
17
|
+
aclWarningAt?: string;
|
|
2
18
|
/** Action is what the user must do, when there is something they can do. */
|
|
3
19
|
action?: string;
|
|
4
20
|
checkedAt?: string;
|
|
@@ -10,6 +26,17 @@ export interface HandlerConnectorResourceStatus {
|
|
|
10
26
|
lastRowCount?: number;
|
|
11
27
|
/** Message is the provider's own words when Status is failed. */
|
|
12
28
|
message?: string;
|
|
29
|
+
/**
|
|
30
|
+
* PageACLWarning reports that individual PAGES inside this resource could
|
|
31
|
+
* not have their own restrictions resolved and were opened to every caller.
|
|
32
|
+
* Distinct from ACLWarning above, which is about the resource itself: a
|
|
33
|
+
* resource can capture perfectly while pages inside it fail, and a healthy
|
|
34
|
+
* resource capture clears ACLWarning, so sharing one field would blank this
|
|
35
|
+
* every cycle and report all-clear while pages are still open.
|
|
36
|
+
*/
|
|
37
|
+
pageAclWarning?: string;
|
|
38
|
+
/** PageACLWarningAt is when PageACLWarning last CHANGED (RFC3339). */
|
|
39
|
+
pageAclWarningAt?: string;
|
|
13
40
|
/** Resource identifier from the Discover endpoint. */
|
|
14
41
|
resourceId?: string;
|
|
15
42
|
/**
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Error is the connector-level failure
|
|
3
|
-
*
|
|
4
|
-
*
|
|
2
|
+
* Error is the connector-level failure: a rejected credential, a blocked
|
|
3
|
+
* connector, or a latest sync cycle that failed as a whole. Absent when the
|
|
4
|
+
* trouble is confined to individual resources — those carry their own
|
|
5
|
+
* messages below.
|
|
5
6
|
*/
|
|
6
7
|
export interface HandlerConnectorStatusError {
|
|
7
8
|
/** Action is what the user must do, when there is something they can do. */
|
|
@@ -17,6 +17,7 @@ export interface HandlerConnectorStatusResponse {
|
|
|
17
17
|
lifecycle?: string;
|
|
18
18
|
/** RFC3339 timestamp when the next scheduled sync will run. */
|
|
19
19
|
nextSyncAt?: string;
|
|
20
|
+
planCap?: HydraDB.HandlerPlanCapView;
|
|
20
21
|
/** External provider being synced (e.g. `slack`, `github`, `linear`, `notion`, `gmail`). */
|
|
21
22
|
provider?: string;
|
|
22
23
|
/**
|
|
@@ -25,8 +26,10 @@ export interface HandlerConnectorStatusResponse {
|
|
|
25
26
|
*/
|
|
26
27
|
resources?: HydraDB.HandlerConnectorResourceStatus[];
|
|
27
28
|
/**
|
|
28
|
-
* Status is the rollup: healthy | degraded | failed | checking
|
|
29
|
-
*
|
|
29
|
+
* Status is the rollup: healthy | degraded | failed | checking, or capped
|
|
30
|
+
* when the org is at an enforced plan cap and the rollup was healthy,
|
|
31
|
+
* degraded or checking (PlanCap then says which cap). It is the worst of
|
|
32
|
+
* the credential state and every resource state.
|
|
30
33
|
*/
|
|
31
34
|
status?: string;
|
|
32
35
|
/**
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type * as HydraDB from "../index.js";
|
|
2
|
+
export interface HandlerEnvelopeSearchChunkInspectResult {
|
|
3
|
+
data?: HydraDB.SearchChunkInspectResult;
|
|
4
|
+
/** Error message, empty string on success. */
|
|
5
|
+
error?: HydraDB.HandlerApiError;
|
|
6
|
+
meta?: HydraDB.HandlerResponseMeta;
|
|
7
|
+
/** Whether the request succeeded. */
|
|
8
|
+
success?: boolean;
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type * as HydraDB from "../index.js";
|
|
2
|
+
export interface HandlerEnvelopeSearchEntityProfileView {
|
|
3
|
+
data?: HydraDB.SearchEntityProfileView;
|
|
4
|
+
/** Error message, empty string on success. */
|
|
5
|
+
error?: HydraDB.HandlerApiError;
|
|
6
|
+
meta?: HydraDB.HandlerResponseMeta;
|
|
7
|
+
/** Whether the request succeeded. */
|
|
8
|
+
success?: boolean;
|
|
9
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type * as HydraDB from "../index.js";
|
|
2
2
|
export interface HandlerEnvelopeSearchV2RetrievalResult {
|
|
3
|
-
|
|
3
|
+
/** The response body, in the shape the database answers with: the v2 body (chunks, graph_context, sources and related fields), or the four-key body (chunks, graph, forceful_relations, llm_prompt). */
|
|
4
|
+
data?: HydraDB.HandlerEnvelopeSearchV2RetrievalResultData;
|
|
4
5
|
/** Error message, empty string on success. */
|
|
5
6
|
error?: HydraDB.HandlerApiError;
|
|
6
7
|
meta?: HydraDB.HandlerResponseMeta;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type * as HydraDB from "../index.js";
|
|
2
|
+
/**
|
|
3
|
+
* The response body, in the shape the database answers with: the v2 body (chunks, graph_context, sources and related fields), or the four-key body (chunks, graph, forceful_relations, llm_prompt).
|
|
4
|
+
*/
|
|
5
|
+
export type HandlerEnvelopeSearchV2RetrievalResultData = HydraDB.SearchV2RetrievalResult | HydraDB.SearchQueryResult;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type * as HydraDB from "../index.js";
|
|
2
|
+
export interface HandlerEnvelopeTenantsSubTenantDeleteResponse {
|
|
3
|
+
data?: HydraDB.TenantsSubTenantDeleteResponse;
|
|
4
|
+
/** Error message, empty string on success. */
|
|
5
|
+
error?: HydraDB.HandlerApiError;
|
|
6
|
+
meta?: HydraDB.HandlerResponseMeta;
|
|
7
|
+
/** Whether the request succeeded. */
|
|
8
|
+
success?: boolean;
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type * as HydraDB from "../index.js";
|
|
2
|
+
export interface HandlerEnvelopeTenantsTenantRenameResponse {
|
|
3
|
+
data?: HydraDB.TenantsTenantRenameResponse;
|
|
4
|
+
/** Error message, empty string on success. */
|
|
5
|
+
error?: HydraDB.HandlerApiError;
|
|
6
|
+
meta?: HydraDB.HandlerResponseMeta;
|
|
7
|
+
/** Whether the request succeeded. */
|
|
8
|
+
success?: boolean;
|
|
9
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface HandlerInstructionsResponse {
|
|
2
|
+
/** Collections maps collection name to that collection's own instructions. */
|
|
3
|
+
collections?: Record<string, string>;
|
|
4
|
+
/** CustomInstructions applies to every document ingested into the database. */
|
|
5
|
+
customInstructions?: string;
|
|
6
|
+
/** Owning database. Formerly `tenant_id`; the `tenant_id` alias is still accepted (deprecated). */
|
|
7
|
+
database?: string;
|
|
8
|
+
/**
|
|
9
|
+
* TenantID mirrors Database as a deprecated alias, matching every other v2
|
|
10
|
+
* tenant response.
|
|
11
|
+
*/
|
|
12
|
+
tenantId?: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PlanCap is present when the org is at a plan cap the caps mode
|
|
3
|
+
* enforces; every sync is skipped until the month resets or the plan
|
|
4
|
+
* changes.
|
|
5
|
+
*/
|
|
6
|
+
export interface HandlerPlanCapView {
|
|
7
|
+
/** Human-readable result message. */
|
|
8
|
+
message?: string;
|
|
9
|
+
meter?: string;
|
|
10
|
+
plan?: string;
|
|
11
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface HandlerVaultCredentialEntry {
|
|
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
|
+
/** Connector this resource belongs to. */
|
|
5
|
+
connectorId?: string;
|
|
6
|
+
credentialId?: string;
|
|
7
|
+
/** Owning database. Formerly `tenant_id`; the `tenant_id` alias is still accepted (deprecated). */
|
|
8
|
+
database?: string;
|
|
9
|
+
fields?: string[];
|
|
10
|
+
label?: string;
|
|
11
|
+
/** External provider being synced (e.g. `slack`, `github`, `linear`, `notion`, `gmail`). */
|
|
12
|
+
provider?: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type * as HydraDB from "../index.js";
|
|
2
|
+
export interface HandlerVaultCredentialListResponse {
|
|
3
|
+
/** Total number of items returned. */
|
|
4
|
+
count?: number;
|
|
5
|
+
/** Provider-specific credentials (typically `{"api_token": "..."}` or `{"access_token": "..."}`). */
|
|
6
|
+
credentials?: HydraDB.HandlerVaultCredentialEntry[];
|
|
7
|
+
unavailableCount?: number;
|
|
8
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export interface IngestionGraphRelation {
|
|
2
|
+
/** Verbatim passage from the source that evidences the relationship. */
|
|
3
|
+
context?: string;
|
|
4
|
+
predicate?: string;
|
|
5
|
+
source?: string;
|
|
6
|
+
target?: string;
|
|
7
|
+
/** Temporal context extracted alongside the relationship (e.g. `since 2024`). Serialized as null rather than omitted. */
|
|
8
|
+
temporalDetails?: string;
|
|
9
|
+
}
|
|
@@ -35,6 +35,14 @@ export interface ListV2MemoryItem {
|
|
|
35
35
|
*/
|
|
36
36
|
comments?: Record<string, unknown>[];
|
|
37
37
|
commentsTruncated?: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* ContextCategory is the context category the caller pinned on ingest:
|
|
40
|
+
* one of user_preference, business_knowledge or decision_trace, written
|
|
41
|
+
* onto the source row by the ingestion pipeline (PRO-1618). Absent when no
|
|
42
|
+
* category was pinned, on rows ingested before the category existed, and
|
|
43
|
+
* on every split-database row, which carries no category.
|
|
44
|
+
*/
|
|
45
|
+
contextCategory?: string;
|
|
38
46
|
/** Database is the canonical name for the scope this row was listed from. */
|
|
39
47
|
database: string;
|
|
40
48
|
/** Human-readable description of the source. */
|
|
@@ -38,6 +38,14 @@ export interface ListV2SourceItem {
|
|
|
38
38
|
comments?: Record<string, unknown>[];
|
|
39
39
|
/** True when the inline `comments` array hit the per-parent cap and more children exist. Fetch them via `filters.additional_metadata` on the parent's external ID. */
|
|
40
40
|
commentsTruncated?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* ContextCategory is the context category the caller pinned on ingest:
|
|
43
|
+
* one of user_preference, business_knowledge or decision_trace, written
|
|
44
|
+
* onto the source row by the ingestion pipeline (PRO-1618). Absent when no
|
|
45
|
+
* category was pinned, on rows ingested before the category existed, and
|
|
46
|
+
* on every split-database row, which carries no category.
|
|
47
|
+
*/
|
|
48
|
+
contextCategory?: string;
|
|
41
49
|
/** Database is the canonical name for the scope this row was listed from. */
|
|
42
50
|
database: string;
|
|
43
51
|
/** Human-readable description of the source. */
|