@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.
- 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 +47 -3
- package/dist/api/resources/connectors/client/Client.d.ts +102 -2
- package/dist/api/resources/connectors/client/Client.js +404 -2
- package/dist/api/resources/connectors/client/requests/HandlerConnectorCreateReq.d.ts +6 -0
- package/dist/api/resources/connectors/client/requests/HandlerConnectorUpdateReq.d.ts +6 -0
- package/dist/api/resources/connectors/client/requests/HandlerResourceCreateReq.d.ts +12 -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/UpdateResourceAclConnectorsRequest.d.ts +17 -0
- package/dist/api/resources/connectors/client/requests/index.d.ts +5 -0
- package/dist/api/resources/context/client/Client.d.ts +61 -2
- package/dist/api/resources/context/client/Client.js +282 -5
- package/dist/api/resources/context/client/requests/ChunksContextRequest.d.ts +31 -0
- package/dist/api/resources/context/client/requests/HandlerContextMetadataUpdateRequest.d.ts +14 -0
- package/dist/api/resources/context/client/requests/IngestContextRequest.d.ts +6 -4
- package/dist/api/resources/context/client/requests/InspectContextRequest.d.ts +2 -0
- package/dist/api/resources/context/client/requests/ListV2ListContentRequest.d.ts +7 -1
- package/dist/api/resources/context/client/requests/ProfileContextRequest.d.ts +30 -0
- package/dist/api/resources/context/client/requests/ProfileContextRequest.js +3 -0
- package/dist/api/resources/context/client/requests/RelationsContextRequest.d.ts +3 -1
- package/dist/api/resources/context/client/requests/SourcesV2SourceDeleteRequest.d.ts +4 -1
- package/dist/api/resources/context/client/requests/SubgraphContextRequest.d.ts +31 -0
- package/dist/api/resources/context/client/requests/SubgraphContextRequest.js +3 -0
- package/dist/api/resources/context/client/requests/index.d.ts +3 -0
- package/dist/api/resources/context/types/ChunksContextRequestType.d.ts +7 -0
- package/dist/api/resources/context/types/ChunksContextRequestType.js +10 -0
- package/dist/api/resources/context/types/IngestContextRequestType.d.ts +1 -0
- package/dist/api/resources/context/types/IngestContextRequestType.js +1 -0
- package/dist/api/resources/context/types/ListV2ListContentRequestType.d.ts +7 -1
- package/dist/api/resources/context/types/ListV2ListContentRequestType.js +7 -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 +2 -0
- package/dist/api/resources/context/types/RelationsContextRequestType.js +2 -0
- package/dist/api/resources/context/types/SourcesV2SourceDeleteRequestType.d.ts +6 -1
- package/dist/api/resources/context/types/SourcesV2SourceDeleteRequestType.js +6 -1
- package/dist/api/resources/context/types/SubgraphContextRequestType.d.ts +7 -0
- package/dist/api/resources/context/types/SubgraphContextRequestType.js +10 -0
- package/dist/api/resources/context/types/index.d.ts +3 -0
- package/dist/api/resources/context/types/index.js +3 -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/resources/webhooks/client/Client.d.ts +19 -0
- package/dist/api/resources/webhooks/client/Client.js +80 -0
- package/dist/api/resources/webhooks/client/requests/PostWebhooksSupabaseRequest.d.ts +14 -0
- package/dist/api/resources/webhooks/client/requests/PostWebhooksSupabaseRequest.js +3 -0
- package/dist/api/resources/webhooks/client/requests/index.d.ts +1 -0
- package/dist/api/types/ConnectorsResource.d.ts +101 -0
- package/dist/api/types/GithubComHydradbHydradbApplicationInternalPlatformStoragelayoutLayout.d.ts +13 -0
- package/dist/api/types/GithubComHydradbHydradbApplicationInternalPlatformStoragelayoutLayout.js +16 -0
- package/dist/api/types/GithubComHydradbHydradbApplicationInternalServiceMetadataEditResult.d.ts +30 -0
- package/dist/api/types/GraphEntity.d.ts +12 -0
- package/dist/api/types/GraphGraphRelationsResponse.d.ts +23 -0
- package/dist/api/types/GraphRelationEvidence.d.ts +8 -0
- package/dist/api/types/GraphSourceSubgraphResponse.d.ts +40 -0
- package/dist/api/types/GraphSourceSubgraphResponse.js +3 -0
- package/dist/api/types/GraphSubgraphSource.d.ts +28 -0
- package/dist/api/types/GraphSubgraphSource.js +3 -0
- package/dist/api/types/GraphTripletWithEvidence.d.ts +7 -0
- package/dist/api/types/HandlerCatalogConnector.d.ts +15 -0
- package/dist/api/types/HandlerConnectorApiView.d.ts +30 -0
- package/dist/api/types/HandlerConnectorCreateResponse.d.ts +30 -0
- package/dist/api/types/HandlerConnectorListResponse.d.ts +7 -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 +43 -0
- package/dist/api/types/HandlerConnectorStatusError.d.ts +4 -3
- package/dist/api/types/HandlerConnectorStatusResponse.d.ts +5 -2
- package/dist/api/types/HandlerConnectorUpdateResponse.d.ts +5 -0
- package/dist/api/types/HandlerEnvelopeGraphSourceSubgraphResponse.d.ts +9 -0
- package/dist/api/types/HandlerEnvelopeGraphSourceSubgraphResponse.js +3 -0
- package/dist/api/types/HandlerEnvelopeHandlerSupabaseWebhookAck.d.ts +9 -0
- package/dist/api/types/HandlerEnvelopeHandlerSupabaseWebhookAck.js +3 -0
- 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/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/HandlerResourceMapping.d.ts +14 -0
- package/dist/api/types/HandlerSupabaseWebhookAck.d.ts +7 -0
- package/dist/api/types/HandlerSupabaseWebhookAck.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/MemoriesConversationTurn.d.ts +7 -0
- package/dist/api/types/MemoriesConversationTurn.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 +14 -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/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/SearchRelationVia.d.ts +4 -0
- package/dist/api/types/SearchRelationVia.js +3 -0
- package/dist/api/types/SearchSourceFact.d.ts +18 -0
- package/dist/api/types/SearchSourceFact.js +3 -0
- package/dist/api/types/SearchSourceFilterInfo.d.ts +15 -0
- package/dist/api/types/SearchSourceFilterInfo.js +3 -0
- package/dist/api/types/SearchSourceType.d.ts +1 -0
- package/dist/api/types/SearchSourceType.js +1 -0
- package/dist/api/types/SearchV2RetrievalResult.d.ts +18 -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 +10 -0
- package/dist/api/types/TenantsDatabaseDetailType.js +13 -0
- package/dist/api/types/TenantsInfraStatusResponseV2.d.ts +5 -0
- package/dist/api/types/TenantsInfraStatusResponseV2Type.d.ts +9 -0
- package/dist/api/types/TenantsInfraStatusResponseV2Type.js +12 -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 +6 -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 +42 -6
- package/dist/api/types/index.js +42 -6
- package/dist/serialization/client/requests/SearchQueryRequest.d.ts +6 -0
- package/dist/serialization/client/requests/SearchQueryRequest.js +6 -0
- package/dist/serialization/resources/connectors/client/index.d.ts +1 -0
- package/dist/serialization/resources/connectors/client/index.js +2 -1
- package/dist/serialization/resources/connectors/client/requests/HandlerConnectorCreateReq.d.ts +1 -0
- package/dist/serialization/resources/connectors/client/requests/HandlerConnectorCreateReq.js +1 -0
- package/dist/serialization/resources/connectors/client/requests/HandlerConnectorUpdateReq.d.ts +1 -0
- package/dist/serialization/resources/connectors/client/requests/HandlerConnectorUpdateReq.js +1 -0
- package/dist/serialization/resources/connectors/client/requests/HandlerResourceCreateReq.d.ts +2 -0
- package/dist/serialization/resources/connectors/client/requests/HandlerResourceCreateReq.js +2 -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/connectors/client/updateResourceAcl.d.ts +10 -0
- package/dist/serialization/resources/connectors/client/updateResourceAcl.js +40 -0
- package/dist/serialization/resources/context/client/requests/HandlerContextMetadataUpdateRequest.d.ts +1 -0
- package/dist/serialization/resources/context/client/requests/HandlerContextMetadataUpdateRequest.js +1 -0
- package/dist/serialization/resources/context/client/requests/ListV2ListContentRequest.d.ts +1 -0
- package/dist/serialization/resources/context/client/requests/ListV2ListContentRequest.js +1 -0
- 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/IngestContextRequestType.d.ts +1 -1
- package/dist/serialization/resources/context/types/IngestContextRequestType.js +1 -1
- 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 +7 -0
- package/dist/serialization/resources/context/types/SubgraphContextRequestType.js +39 -0
- package/dist/serialization/resources/context/types/index.d.ts +3 -0
- package/dist/serialization/resources/context/types/index.js +3 -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/resources/webhooks/client/index.d.ts +1 -0
- package/dist/serialization/resources/webhooks/client/index.js +24 -0
- package/dist/serialization/resources/webhooks/client/supabaseRowChangeWebhook.d.ts +6 -0
- package/dist/serialization/resources/webhooks/client/supabaseRowChangeWebhook.js +39 -0
- package/dist/serialization/types/ConnectorsResource.d.ts +12 -0
- package/dist/serialization/types/ConnectorsResource.js +12 -0
- package/dist/serialization/types/GithubComHydradbHydradbApplicationInternalPlatformStoragelayoutLayout.d.ts +7 -0
- package/dist/serialization/types/GithubComHydradbHydradbApplicationInternalPlatformStoragelayoutLayout.js +39 -0
- package/dist/serialization/types/GithubComHydradbHydradbApplicationInternalServiceMetadataEditResult.d.ts +5 -0
- package/dist/serialization/types/GithubComHydradbHydradbApplicationInternalServiceMetadataEditResult.js +5 -0
- package/dist/serialization/types/GraphEntity.d.ts +1 -0
- package/dist/serialization/types/GraphEntity.js +1 -0
- package/dist/serialization/types/GraphGraphRelationsResponse.d.ts +2 -0
- package/dist/serialization/types/GraphGraphRelationsResponse.js +2 -0
- package/dist/serialization/types/GraphRelationEvidence.d.ts +1 -0
- package/dist/serialization/types/GraphRelationEvidence.js +1 -0
- package/dist/serialization/types/GraphSourceSubgraphResponse.d.ts +19 -0
- package/dist/serialization/types/GraphSourceSubgraphResponse.js +51 -0
- package/dist/serialization/types/GraphSubgraphSource.d.ts +18 -0
- package/dist/serialization/types/GraphSubgraphSource.js +50 -0
- package/dist/serialization/types/GraphTripletWithEvidence.d.ts +1 -0
- package/dist/serialization/types/GraphTripletWithEvidence.js +1 -0
- package/dist/serialization/types/HandlerCatalogConnector.d.ts +3 -0
- package/dist/serialization/types/HandlerCatalogConnector.js +3 -0
- package/dist/serialization/types/HandlerConnectorApiView.d.ts +5 -0
- package/dist/serialization/types/HandlerConnectorApiView.js +5 -0
- package/dist/serialization/types/HandlerConnectorCreateResponse.d.ts +5 -0
- package/dist/serialization/types/HandlerConnectorCreateResponse.js +5 -0
- package/dist/serialization/types/HandlerConnectorListResponse.d.ts +2 -0
- package/dist/serialization/types/HandlerConnectorListResponse.js +2 -0
- package/dist/serialization/types/HandlerConnectorPauseResponse.d.ts +11 -0
- package/dist/serialization/types/{FeedbackSubmitRequestGroundTruth.js → HandlerConnectorPauseResponse.js} +5 -4
- package/dist/serialization/types/HandlerConnectorResourceStatus.d.ts +8 -0
- package/dist/serialization/types/HandlerConnectorResourceStatus.js +8 -0
- package/dist/serialization/types/HandlerConnectorStatusResponse.d.ts +2 -0
- package/dist/serialization/types/HandlerConnectorStatusResponse.js +2 -0
- package/dist/serialization/types/HandlerConnectorUpdateResponse.d.ts +1 -0
- package/dist/serialization/types/HandlerConnectorUpdateResponse.js +1 -0
- package/dist/serialization/types/HandlerEnvelopeGraphSourceSubgraphResponse.d.ts +15 -0
- package/dist/serialization/types/HandlerEnvelopeGraphSourceSubgraphResponse.js +47 -0
- package/dist/serialization/types/HandlerEnvelopeHandlerSupabaseWebhookAck.d.ts +15 -0
- package/dist/serialization/types/HandlerEnvelopeHandlerSupabaseWebhookAck.js +47 -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/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/HandlerResourceMapping.d.ts +2 -0
- package/dist/serialization/types/HandlerResourceMapping.js +2 -0
- package/dist/serialization/types/HandlerSupabaseWebhookAck.d.ts +11 -0
- package/dist/serialization/types/HandlerSupabaseWebhookAck.js +43 -0
- 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/MemoriesConversationTurn.d.ts +11 -0
- package/dist/serialization/types/MemoriesConversationTurn.js +43 -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 +14 -0
- package/dist/serialization/types/MemoriesUnifiedIngestRequest.js +46 -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/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/SearchRelationVia.d.ts +10 -0
- package/dist/serialization/types/{FeedbackSubmitRequestGroundTruthGroundTruthAnswer.js → SearchRelationVia.js} +4 -3
- package/dist/serialization/types/SearchSourceFact.d.ts +20 -0
- package/dist/serialization/types/SearchSourceFact.js +52 -0
- package/dist/serialization/types/SearchSourceFilterInfo.d.ts +17 -0
- package/dist/serialization/types/SearchSourceFilterInfo.js +49 -0
- package/dist/serialization/types/SearchSourceType.d.ts +1 -1
- package/dist/serialization/types/SearchSourceType.js +1 -1
- package/dist/serialization/types/SearchV2RetrievalResult.d.ts +16 -0
- package/dist/serialization/types/SearchV2RetrievalResult.js +16 -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/{FeedbackSubmitRequestFeedback.js → TenantsDatabaseDetailType.js} +2 -4
- 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 +42 -6
- package/dist/serialization/types/index.js +42 -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/connectors/client/requests/UpdateResourceAclConnectorsRequest.js} +0 -0
- /package/dist/api/{types/FeedbackSubmitRequestGroundTruthGroundTruthSourceIds.js → resources/context/client/requests/ChunksContextRequest.js} +0 -0
package/README.md
CHANGED
|
@@ -235,8 +235,8 @@ metadata, checking processing status, reading graph relations, and deleting.
|
|
|
235
235
|
|
|
236
236
|
`POST /context/ingest` (multipart) → `HandlerEnvelopeIngestionV2SourceUploadResponse`
|
|
237
237
|
|
|
238
|
-
Ingest knowledge documents or memories. `documents` is a file
|
|
239
|
-
fields are JSON strings.
|
|
238
|
+
Ingest knowledge documents or memories. `documents` is a list of file uploads (one request may
|
|
239
|
+
carry several); the other structured fields are JSON strings.
|
|
240
240
|
|
|
241
241
|
```typescript
|
|
242
242
|
import { createReadStream } from "fs";
|
|
@@ -244,11 +244,14 @@ import { createReadStream } from "fs";
|
|
|
244
244
|
// Ingest a document file
|
|
245
245
|
const res = await client.context.ingest({
|
|
246
246
|
database: "acme-corp", // required
|
|
247
|
-
documents: createReadStream("handbook.pdf"),
|
|
247
|
+
documents: [createReadStream("handbook.pdf")], // one entry per file
|
|
248
248
|
collection: "hr",
|
|
249
249
|
type: "knowledge",
|
|
250
|
-
// documentMetadata is a JSON *array* — one object per uploaded file.
|
|
251
|
-
|
|
250
|
+
// documentMetadata is a JSON *array* — one object per uploaded file. Your own
|
|
251
|
+
// per-document fields go under `additional_metadata`; the item's other top-level keys
|
|
252
|
+
// are the API's (metadata, evidence_kind, evidence_subject, id, relations, ...) —
|
|
253
|
+
// an unknown top-level key such as `title` is rejected with 400.
|
|
254
|
+
documentMetadata: JSON.stringify([{ additional_metadata: { title: "Employee Handbook", author: "HR" } }]),
|
|
252
255
|
upsert: "true", // form field is a string
|
|
253
256
|
});
|
|
254
257
|
|
|
@@ -265,9 +268,9 @@ await client.context.ingest({
|
|
|
265
268
|
| Field | Type | Notes |
|
|
266
269
|
| ------------------ | ------------------------ | ----- |
|
|
267
270
|
| `database` | `string` (required) | Database (tenant scope). Alias: `tenantId`. |
|
|
268
|
-
| `documents` | `Uploadable`
|
|
271
|
+
| `documents` | `Uploadable[]` | File uploads (stream, `Blob`, `Buffer`, etc.), one entry per file. |
|
|
269
272
|
| `memories` | `string` | JSON **array** string; each item needs `text` (or `user_assistant_pairs`). |
|
|
270
|
-
| `documentMetadata` | `string` | JSON **array** string
|
|
273
|
+
| `documentMetadata` | `string` | JSON **array** string — one object per uploaded file (count must match). Put your own fields under `additional_metadata`; the API's item keys (`metadata`, `evidence_kind`, `evidence_subject`, `id`, `relations`, ...) may sit alongside it. Unknown top-level keys return 400. |
|
|
271
274
|
| `appKnowledge` | `string` | App‑knowledge items as a JSON **array** string (not raw text). |
|
|
272
275
|
| `graphPayload` | `string` | Pre‑computed graph payload. |
|
|
273
276
|
| `collection` | `string` | Collection (sub‑tenant scope). Alias: `subTenantId`. |
|
package/dist/Client.d.ts
CHANGED
|
@@ -51,7 +51,7 @@ export declare class HydraDBClient {
|
|
|
51
51
|
listProviders(request?: HydraDB.ListProvidersRequest, requestOptions?: HydraDBClient.RequestOptions): core.HttpResponsePromise<HydraDB.HandlerProviderListResponse>;
|
|
52
52
|
private __listProviders;
|
|
53
53
|
/**
|
|
54
|
-
* Unified query endpoint that dispatches across type (knowledge
|
|
54
|
+
* Unified query endpoint that dispatches across type and query_by (hybrid/text). Optionally filter by one or more exact document titles with `titles`; these are resolved to source IDs before normal retrieval. Filter with `attributes` (an operator language, pushed into the vector search); `metadata_filters` is deprecated in favour of it and still works. On a SPLIT database `type` is knowledge (the default), memory, or all (both, merged), unchanged. On a UNIFIED database there is one corpus: omit `type`, or send `unified` (`all` is accepted and means the same); knowledge and memory are rejected there. Prefer sub_tenant_ids for sub-tenant scoping; legacy sub_tenant_id is deprecated for /query and cannot be sent together with sub_tenant_ids.
|
|
55
55
|
*
|
|
56
56
|
* @param {HydraDB.SearchQueryRequest} request
|
|
57
57
|
* @param {HydraDBClient.RequestOptions} requestOptions - Request-specific configuration.
|
package/dist/Client.js
CHANGED
|
@@ -180,7 +180,7 @@ class HydraDBClient {
|
|
|
180
180
|
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/connectors/providers");
|
|
181
181
|
}
|
|
182
182
|
/**
|
|
183
|
-
* Unified query endpoint that dispatches across type (knowledge
|
|
183
|
+
* Unified query endpoint that dispatches across type and query_by (hybrid/text). Optionally filter by one or more exact document titles with `titles`; these are resolved to source IDs before normal retrieval. Filter with `attributes` (an operator language, pushed into the vector search); `metadata_filters` is deprecated in favour of it and still works. On a SPLIT database `type` is knowledge (the default), memory, or all (both, merged), unchanged. On a UNIFIED database there is one corpus: omit `type`, or send `unified` (`all` is accepted and means the same); knowledge and memory are rejected there. Prefer sub_tenant_ids for sub-tenant scoping; legacy sub_tenant_id is deprecated for /query and cannot be sent together with sub_tenant_ids.
|
|
184
184
|
*
|
|
185
185
|
* @param {HydraDB.SearchQueryRequest} request
|
|
186
186
|
* @param {HydraDBClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -4,10 +4,39 @@ import type * as HydraDB from "../../index.js";
|
|
|
4
4
|
* {}
|
|
5
5
|
*/
|
|
6
6
|
export interface SearchQueryRequest {
|
|
7
|
+
/**
|
|
8
|
+
* ACL scopes retrieval to documents the given principals may access
|
|
9
|
+
* (PRO-1684 document ACLs): a document matches when its stored ACL is
|
|
10
|
+
* empty (unrestricted, pre-RBAC content and connectors without permission
|
|
11
|
+
* support), contains __public__, or intersects these principals. Entries
|
|
12
|
+
* are bare emails or prefixed principals (user_email:/group:/domain:).
|
|
13
|
+
* Omitted, empty, or ["*"] disables ACL filtering entirely, today's
|
|
14
|
+
* behavior. Like IDs, the resulting clause survives the metadata
|
|
15
|
+
* zero-result retry. An entry that is not a known principal fails CLOSED:
|
|
16
|
+
* it matches only public and unrestricted documents, never restricted.
|
|
17
|
+
*/
|
|
18
|
+
acl?: string[];
|
|
7
19
|
/** Optional context string prepended to the query to improve retrieval relevance. */
|
|
8
20
|
additionalContext?: string;
|
|
9
21
|
/** Weighting balance between dense and sparse retrieval in hybrid mode. `"auto"` lets HydraDB choose; a number from 0 (full BM25) to 1 (full dense) sets it explicitly. */
|
|
10
22
|
alpha?: unknown;
|
|
23
|
+
/**
|
|
24
|
+
* Attributes is the go-forward metadata filter: a MongoDB-like operator query
|
|
25
|
+
* ($eq/$ne/$gt/$gte/$lt/$lte/$in/$nin/$and/$or/$not/$exists) over the
|
|
26
|
+
* database attributes, translated to a safe Milvus scalar pre-filter by
|
|
27
|
+
* BuildAttributesFilterExpr (PRO-1618). It composes (AND) with the
|
|
28
|
+
* deprecated metadata_filters while both exist. Field names are allowlisted
|
|
29
|
+
* and values escaped, so it is injection-safe.
|
|
30
|
+
*
|
|
31
|
+
* It is applied everywhere metadata_filters is, and nowhere else: the
|
|
32
|
+
* chunks a query returns, the additional context and forceful-relation
|
|
33
|
+
* chunks (the fail-closed post-filter net in the service), and the graph
|
|
34
|
+
* paths, which the graph lane prunes by resolving every source a path
|
|
35
|
+
* cites and dropping the paths that touch one failing the predicate
|
|
36
|
+
* (disallowedGraphSources). Product decision 2026-09-04: `attributes`
|
|
37
|
+
* behaves like `metadata_filters` on every part of the response.
|
|
38
|
+
*/
|
|
39
|
+
attributes?: Record<string, unknown>;
|
|
11
40
|
/** Collection scope. Defaults to the default collection when omitted. Formerly `sub_tenant_id`; the `sub_tenant_id` alias is still accepted (deprecated). */
|
|
12
41
|
collection?: string;
|
|
13
42
|
/** Preferred /query scope selector. Send either a list of collection IDs for equal normalized weighting, or an object mapping collection ID to a positive relative ranking weight with at most one decimal place. Do not send together with the deprecated sub_tenant_ids or sub_tenant_id. */
|
|
@@ -58,15 +87,28 @@ export interface SearchQueryRequest {
|
|
|
58
87
|
/** Number of adjacent chunks to pull alongside each matched chunk for additional context. */
|
|
59
88
|
numRelatedChunks?: number;
|
|
60
89
|
operator?: HydraDB.SearchOperator;
|
|
90
|
+
/**
|
|
91
|
+
* ProfileEntityType/ProfileNamespace refine the subject's graph identity;
|
|
92
|
+
* defaults ("PERSON"/"users") cover the common case of a person subject.
|
|
93
|
+
*/
|
|
94
|
+
profileEntityType?: string;
|
|
95
|
+
profileNamespace?: string;
|
|
96
|
+
/**
|
|
97
|
+
* ProfileSubject names the entity whose compiled profile should ride the
|
|
98
|
+
* response as profile_context/profile_filter (PRO-1797). Payload-only:
|
|
99
|
+
* chunk ranking is never altered. Omitted = no profile block. Dark until
|
|
100
|
+
* the repo-level ENTITY_PROFILE_CONTEXT_ENABLED flag is on.
|
|
101
|
+
*/
|
|
102
|
+
profileSubject?: string;
|
|
61
103
|
/** Natural-language search query. */
|
|
62
104
|
query?: string;
|
|
63
|
-
/** Whether to include app-aware knowledge retrieval. Applies to knowledge hybrid queries. */
|
|
105
|
+
/** Whether to include app-aware knowledge retrieval. Applies to knowledge hybrid queries. Defaults to true when omitted; pass false to search files only. */
|
|
64
106
|
queryApps?: boolean;
|
|
65
107
|
/** Retrieval method to use for the query. */
|
|
66
108
|
queryBy?: HydraDB.SearchQueryBy;
|
|
67
109
|
/** Whether to force relation expansion for graph-aware query retrieval. Defaults to true when omitted. */
|
|
68
110
|
queryForcefulRelations?: boolean;
|
|
69
|
-
/** Recency boost applied to ranking. 0
|
|
111
|
+
/** Recency boost applied to ranking (0.0-1.0). Omit it to get the always-on default baseline of 0.40 (a bounded <=40% swing on normalized relevance — it reorders within a relevance gap of up to 0.40 but never buries a more strongly relevant result); send 0 to disable recency entirely; higher values favour more recent sources more strongly. */
|
|
70
112
|
recencyBias?: number;
|
|
71
113
|
/** Deprecated for /query (since 2.0.1). Use collection for a single scope or collections for multiple. Backwards-compatible and will be removed in a future version. Do not send together with a multi-scope selector. */
|
|
72
114
|
subTenantId?: string;
|
|
@@ -94,6 +136,8 @@ export interface SearchQueryRequest {
|
|
|
94
136
|
temporalReasoning?: boolean;
|
|
95
137
|
/** deprecated: use database */
|
|
96
138
|
tenantId?: string;
|
|
97
|
-
/**
|
|
139
|
+
/** Optional exact document-title filter. Values are matched case-insensitively and ORed, resolved to source IDs, then the normal query pipeline runs within that source scope. When ids is also supplied, the two filters are intersected. */
|
|
140
|
+
titles?: string[];
|
|
141
|
+
/** Corpus to query. Split database: knowledge (the default), memory, or all (both, merged). Unified database: omit it, or send unified (all is accepted and means the same); knowledge and memory are rejected there. */
|
|
98
142
|
type?: HydraDB.SearchSourceType;
|
|
99
143
|
}
|
|
@@ -94,7 +94,7 @@ export declare class ConnectorsClient {
|
|
|
94
94
|
delete(request: HydraDB.DeleteConnectorsRequest, requestOptions?: ConnectorsClient.RequestOptions): core.HttpResponsePromise<HydraDB.HandlerConnectorDeleteResponse>;
|
|
95
95
|
private __delete;
|
|
96
96
|
/**
|
|
97
|
-
* Update a connector's mutable settings. `sync_interval_seconds` sets the cadence at which the scheduler starts incremental syncs: the allowed range is provider-aware and returned in the response; values outside it are rejected rather than clamped; 0 resets to the provider default; changing it re-anchors the next sync so a shorter cadence takes effect immediately. `credentials` reconnects the connector in place: send the provider's full credential set (what create accepts); supplied keys replace their stored values, other stored keys survive, the bundle is re-validated against the provider's credential schema, and a pending needs-reauth flag is cleared — the connector keeps its id, resources, and sync cursors.
|
|
97
|
+
* Update a connector's mutable settings. `sync_interval_seconds` sets the cadence at which the scheduler starts incremental syncs: the allowed range is provider-aware and returned in the response; values outside it are rejected rather than clamped; 0 resets to the provider default; changing it re-anchors the next sync so a shorter cadence takes effect immediately. `credentials` reconnects the connector in place: send the provider's full credential set (what create accepts); supplied keys replace their stored values, other stored keys survive, the bundle is re-validated against the provider's credential schema, and a pending needs-reauth flag is cleared — the connector keeps its id, resources, and sync cursors. `custom_instructions` replaces the free-text steering applied when this connector's documents are ingested (an explicit empty string clears it); the change applies from the next sync cycle and does not re-process already-ingested documents. When several fields are supplied together they are validated up front and applied atomically: an invalid value rejects the whole request with nothing changed.
|
|
98
98
|
*
|
|
99
99
|
* @param {HydraDB.HandlerConnectorUpdateReq} request
|
|
100
100
|
* @param {ConnectorsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -174,6 +174,7 @@ export declare class ConnectorsClient {
|
|
|
174
174
|
* @throws {@link HydraDB.NotFoundError}
|
|
175
175
|
* @throws {@link HydraDB.InternalServerError}
|
|
176
176
|
* @throws {@link HydraDB.BadGatewayError}
|
|
177
|
+
* @throws {@link HydraDB.ServiceUnavailableError}
|
|
177
178
|
*
|
|
178
179
|
* @example
|
|
179
180
|
* await client.connectors.discover({
|
|
@@ -182,6 +183,23 @@ export declare class ConnectorsClient {
|
|
|
182
183
|
*/
|
|
183
184
|
discover(request: HydraDB.DiscoverConnectorsRequest, requestOptions?: ConnectorsClient.RequestOptions): core.HttpResponsePromise<HydraDB.HandlerDiscoverResponseBody>;
|
|
184
185
|
private __discover;
|
|
186
|
+
/**
|
|
187
|
+
* Stop scheduling syncs and backfills for a connector until it is resumed. A sync already running is allowed to finish. Cursors are preserved, so resuming continues from where each resource left off.
|
|
188
|
+
*
|
|
189
|
+
* @param {HydraDB.PauseConnectorsRequest} request
|
|
190
|
+
* @param {ConnectorsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
191
|
+
*
|
|
192
|
+
* @throws {@link HydraDB.NotFoundError}
|
|
193
|
+
* @throws {@link HydraDB.ConflictError}
|
|
194
|
+
* @throws {@link HydraDB.InternalServerError}
|
|
195
|
+
*
|
|
196
|
+
* @example
|
|
197
|
+
* await client.connectors.pause({
|
|
198
|
+
* id: "HydraDoc1234"
|
|
199
|
+
* })
|
|
200
|
+
*/
|
|
201
|
+
pause(request: HydraDB.PauseConnectorsRequest, requestOptions?: ConnectorsClient.RequestOptions): core.HttpResponsePromise<HydraDB.HandlerConnectorPauseResponse>;
|
|
202
|
+
private __pause;
|
|
185
203
|
/**
|
|
186
204
|
* List the configured resources for a connector.
|
|
187
205
|
*
|
|
@@ -235,7 +253,45 @@ export declare class ConnectorsClient {
|
|
|
235
253
|
deleteResource(request: HydraDB.DeleteResourceConnectorsRequest, requestOptions?: ConnectorsClient.RequestOptions): core.HttpResponsePromise<HydraDB.HandlerResourceDeleteResponse>;
|
|
236
254
|
private __deleteResource;
|
|
237
255
|
/**
|
|
238
|
-
*
|
|
256
|
+
* Updates per-resource settings. `acl` sets the customer-declared ACL for one connector resource (PRO-1684): the rule is normalized (emails prefixed, __public__ dominates, explicit-empty becomes __private__), persisted on the resource, and applied to enforcement immediately via the resource's ACL row, every already-indexed document of the resource is governed by it on the next query, with no re-sync. For providers with provider-derived ACL capture enabled, the provider's own ACL takes precedence again at the next sync; the rule is the standing fallback. `custom_instructions` sets the resource-level ingestion-instructions override (max 4000 characters): when set it replaces the connector-level custom_instructions for documents synced from this resource, an explicit empty string clears the override back to inheriting the connector's value, and changes apply from the next sync cycle. At least one field must be supplied; omitted fields are left unchanged.
|
|
257
|
+
*
|
|
258
|
+
* @param {HydraDB.UpdateResourceAclConnectorsRequest} request
|
|
259
|
+
* @param {ConnectorsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
260
|
+
*
|
|
261
|
+
* @throws {@link HydraDB.BadRequestError}
|
|
262
|
+
* @throws {@link HydraDB.NotFoundError}
|
|
263
|
+
* @throws {@link HydraDB.InternalServerError}
|
|
264
|
+
*
|
|
265
|
+
* @example
|
|
266
|
+
* await client.connectors.updateResourceAcl({
|
|
267
|
+
* id: "HydraDoc1234",
|
|
268
|
+
* resourceId: "C0123456789",
|
|
269
|
+
* body: {
|
|
270
|
+
* "key": "value"
|
|
271
|
+
* }
|
|
272
|
+
* })
|
|
273
|
+
*/
|
|
274
|
+
updateResourceAcl(request: HydraDB.UpdateResourceAclConnectorsRequest, requestOptions?: ConnectorsClient.RequestOptions): core.HttpResponsePromise<Record<string, unknown>>;
|
|
275
|
+
private __updateResourceAcl;
|
|
276
|
+
/**
|
|
277
|
+
* Return a paused connector to the schedule and make it due immediately. Each resource continues from its committed cursor, so data created during the pause is collected on the next cycle rather than skipped.
|
|
278
|
+
*
|
|
279
|
+
* @param {HydraDB.ResumeConnectorsRequest} request
|
|
280
|
+
* @param {ConnectorsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
281
|
+
*
|
|
282
|
+
* @throws {@link HydraDB.NotFoundError}
|
|
283
|
+
* @throws {@link HydraDB.ConflictError}
|
|
284
|
+
* @throws {@link HydraDB.InternalServerError}
|
|
285
|
+
*
|
|
286
|
+
* @example
|
|
287
|
+
* await client.connectors.resume({
|
|
288
|
+
* id: "HydraDoc1234"
|
|
289
|
+
* })
|
|
290
|
+
*/
|
|
291
|
+
resume(request: HydraDB.ResumeConnectorsRequest, requestOptions?: ConnectorsClient.RequestOptions): core.HttpResponsePromise<HydraDB.HandlerConnectorPauseResponse>;
|
|
292
|
+
private __resume;
|
|
293
|
+
/**
|
|
294
|
+
* Report whether a connector is working, in one call: a rollup status (healthy, degraded, failed, checking) plus per-resource detail. `degraded` means the connector is scheduled but not fully working: at least one configured resource is failing, or the latest sync cycle failed after the resources reported (in which case `error` carries the failure and `retryable` says whether waiting can fix it). `failed` means only the user can fix it: a rejected credential, a blocked connector, or a terminal cycle failure.
|
|
239
295
|
*
|
|
240
296
|
* @param {HydraDB.StatusConnectorsRequest} request
|
|
241
297
|
* @param {ConnectorsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -268,4 +324,48 @@ export declare class ConnectorsClient {
|
|
|
268
324
|
*/
|
|
269
325
|
sync(request: HydraDB.SyncConnectorsRequest, requestOptions?: ConnectorsClient.RequestOptions): core.HttpResponsePromise<HydraDB.HandlerConnectorSyncResponse>;
|
|
270
326
|
private __sync;
|
|
327
|
+
/**
|
|
328
|
+
* List metadata and field names for credentials already used by connectors in the current workspace.
|
|
329
|
+
*
|
|
330
|
+
* @param {ConnectorsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
331
|
+
*
|
|
332
|
+
* @example
|
|
333
|
+
* await client.connectors.listConnectorCredentials()
|
|
334
|
+
*/
|
|
335
|
+
listConnectorCredentials(requestOptions?: ConnectorsClient.RequestOptions): core.HttpResponsePromise<HydraDB.HandlerVaultCredentialListResponse>;
|
|
336
|
+
private __listConnectorCredentials;
|
|
337
|
+
/**
|
|
338
|
+
* Update fields on the credential currently used by a connector. Owner-only human action.
|
|
339
|
+
*
|
|
340
|
+
* @param {HydraDB.HandlerVaultCredentialUpdateReq} request
|
|
341
|
+
* @param {ConnectorsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
342
|
+
*
|
|
343
|
+
* @throws {@link HydraDB.NotFoundError}
|
|
344
|
+
*
|
|
345
|
+
* @example
|
|
346
|
+
* await client.connectors.updateConnectorCredentials({
|
|
347
|
+
* id: "HydraDoc1234",
|
|
348
|
+
* credentials: {
|
|
349
|
+
* "api_token": "xoxb-..."
|
|
350
|
+
* }
|
|
351
|
+
* })
|
|
352
|
+
*/
|
|
353
|
+
updateConnectorCredentials(request: HydraDB.HandlerVaultCredentialUpdateReq, requestOptions?: ConnectorsClient.RequestOptions): core.HttpResponsePromise<HydraDB.HandlerVaultCredentialUpdateResponse>;
|
|
354
|
+
private __updateConnectorCredentials;
|
|
355
|
+
/**
|
|
356
|
+
* Reveal one field from the credential currently used by a connector in the workspace. The response must never be cached.
|
|
357
|
+
*
|
|
358
|
+
* @param {HydraDB.HandlerVaultCredentialRevealReq} request
|
|
359
|
+
* @param {ConnectorsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
360
|
+
*
|
|
361
|
+
* @throws {@link HydraDB.NotFoundError}
|
|
362
|
+
*
|
|
363
|
+
* @example
|
|
364
|
+
* await client.connectors.revealAConnectorCredentialValue({
|
|
365
|
+
* id: "HydraDoc1234",
|
|
366
|
+
* field: "field"
|
|
367
|
+
* })
|
|
368
|
+
*/
|
|
369
|
+
revealAConnectorCredentialValue(request: HydraDB.HandlerVaultCredentialRevealReq, requestOptions?: ConnectorsClient.RequestOptions): core.HttpResponsePromise<HydraDB.HandlerVaultCredentialRevealResponse>;
|
|
370
|
+
private __revealAConnectorCredentialValue;
|
|
271
371
|
}
|