@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
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export interface GraphSubgraphSource {
|
|
2
|
+
/** Provider-assigned identifier for this source (e.g. Slack channel ID). */
|
|
3
|
+
appExternalId?: string;
|
|
4
|
+
/** App integration category, populated for connector-synced sources. */
|
|
5
|
+
appKind?: string;
|
|
6
|
+
/** Provider name for app-sourced items (e.g. `slack`, `github`). */
|
|
7
|
+
appProvider?: string;
|
|
8
|
+
/** Depth is the BFS distance from the seed (0 for the seed itself). */
|
|
9
|
+
depth?: number;
|
|
10
|
+
discoveredRelation?: string;
|
|
11
|
+
/**
|
|
12
|
+
* DiscoveredVia and DiscoveredRelation record the traversal provenance:
|
|
13
|
+
* which already-admitted source this member was first reached from, and
|
|
14
|
+
* through which mechanism — a RELATES_TO relation_type (reply_to,
|
|
15
|
+
* child_of, ...), same_thread, parent or child. Empty on the seed.
|
|
16
|
+
*/
|
|
17
|
+
discoveredVia?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Hydration carries the same resolved/stub/placeholder classification
|
|
20
|
+
* Entity.Hydration documents: a RELATES_TO target may be a MERGE-created
|
|
21
|
+
* forward reference to a document that has not been ingested yet.
|
|
22
|
+
*/
|
|
23
|
+
hydration?: string;
|
|
24
|
+
sourceId?: string;
|
|
25
|
+
threadId?: string;
|
|
26
|
+
/** Title or name of the source. */
|
|
27
|
+
title?: string;
|
|
28
|
+
}
|
|
@@ -6,4 +6,11 @@ export interface GraphTripletWithEvidence {
|
|
|
6
6
|
relations?: HydraDB.GraphRelationEvidence[];
|
|
7
7
|
source?: HydraDB.GraphEntity;
|
|
8
8
|
target?: HydraDB.GraphEntity;
|
|
9
|
+
/**
|
|
10
|
+
* Truncated is set on auxiliary triplets whose fan-out hit a per-node cap,
|
|
11
|
+
* so a caller can tell "this source has no more comments" from "we stopped
|
|
12
|
+
* counting". Omitted (false) on entity relations, which are bounded by the
|
|
13
|
+
* request's own limit/cursor instead.
|
|
14
|
+
*/
|
|
15
|
+
truncated?: boolean;
|
|
9
16
|
}
|
|
@@ -7,5 +7,20 @@ export interface HandlerCatalogConnector {
|
|
|
7
7
|
provider?: string;
|
|
8
8
|
/** Rank is the dashboard display order (lower first); null means unranked. */
|
|
9
9
|
rank?: number;
|
|
10
|
+
rbacDescription?: string;
|
|
11
|
+
/**
|
|
12
|
+
* RBACSupport reports whether document-level ACL capture (PRO-1684) is
|
|
13
|
+
* enabled for this provider (the acl_supported control-plane flag), and
|
|
14
|
+
* RBACDescription says in one sentence WHAT is captured, so the dashboard
|
|
15
|
+
* can explain the capability instead of showing a bare boolean.
|
|
16
|
+
*/
|
|
17
|
+
rbacSupport?: boolean;
|
|
10
18
|
supported?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* WebhookSupport marks a provider fed by an inbound webhook. The dashboard
|
|
21
|
+
* needs it to pick the credential form: it otherwise reads moveit_support=false
|
|
22
|
+
* as "classic", and renders the single-token form instead of the provider's
|
|
23
|
+
* declared credential schema.
|
|
24
|
+
*/
|
|
25
|
+
webhookSupport?: boolean;
|
|
11
26
|
}
|
|
@@ -1,4 +1,13 @@
|
|
|
1
1
|
export interface HandlerConnectorApiView {
|
|
2
|
+
/**
|
|
3
|
+
* ACLChangesCursor is the provider permission-change feed's persisted
|
|
4
|
+
* cursor (PRO-1684; e.g. the Drive changes.list page token). Empty means
|
|
5
|
+
* uninitialized: the next cycle fetches a baseline and starts from now.
|
|
6
|
+
* Advanced ONLY after every reported change was applied, so a failed
|
|
7
|
+
* apply replays the same changes next cycle (at-least-once; the writes
|
|
8
|
+
* are idempotent full replacements).
|
|
9
|
+
*/
|
|
10
|
+
aclChangesCursor?: string;
|
|
2
11
|
/**
|
|
3
12
|
* ActiveResourceCount mirrors the number of non-disabled resource rows so
|
|
4
13
|
* list responses can distinguish "no resources configured yet"
|
|
@@ -11,6 +20,12 @@ export interface HandlerConnectorApiView {
|
|
|
11
20
|
collection?: string;
|
|
12
21
|
/** Connector this resource belongs to. */
|
|
13
22
|
connectorId?: string;
|
|
23
|
+
/**
|
|
24
|
+
* CustomInstructions is optional free-text guidance applied when this
|
|
25
|
+
* connector's documents are ingested: it steers how content is interpreted
|
|
26
|
+
* and indexed. Max 4000 characters; changes apply from the next sync cycle.
|
|
27
|
+
*/
|
|
28
|
+
customInstructions?: string;
|
|
14
29
|
/**
|
|
15
30
|
* Database/Collection are the canonical v2 names for the deprecated
|
|
16
31
|
* tenant_id/sub_tenant_id wire fields. They mirror the same values so a v2
|
|
@@ -60,6 +75,21 @@ export interface HandlerConnectorApiView {
|
|
|
60
75
|
needsReauthReason?: string;
|
|
61
76
|
/** RFC3339 timestamp when the next scheduled sync will run. */
|
|
62
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;
|
|
63
93
|
/** External provider being synced (e.g. `slack`, `github`, `linear`, `notion`, `gmail`). */
|
|
64
94
|
provider?: string;
|
|
65
95
|
/** Identifier for the external account (e.g. Slack workspace ID, GitHub org name). Must be distinct across connectors for the same provider. */
|
|
@@ -1,4 +1,13 @@
|
|
|
1
1
|
export interface HandlerConnectorCreateResponse {
|
|
2
|
+
/**
|
|
3
|
+
* ACLChangesCursor is the provider permission-change feed's persisted
|
|
4
|
+
* cursor (PRO-1684; e.g. the Drive changes.list page token). Empty means
|
|
5
|
+
* uninitialized: the next cycle fetches a baseline and starts from now.
|
|
6
|
+
* Advanced ONLY after every reported change was applied, so a failed
|
|
7
|
+
* apply replays the same changes next cycle (at-least-once; the writes
|
|
8
|
+
* are idempotent full replacements).
|
|
9
|
+
*/
|
|
10
|
+
aclChangesCursor?: string;
|
|
2
11
|
/**
|
|
3
12
|
* ActiveResourceCount mirrors the number of non-disabled resource rows so
|
|
4
13
|
* list responses can distinguish "no resources configured yet"
|
|
@@ -11,6 +20,12 @@ export interface HandlerConnectorCreateResponse {
|
|
|
11
20
|
collection?: string;
|
|
12
21
|
/** Connector this resource belongs to. */
|
|
13
22
|
connectorId?: string;
|
|
23
|
+
/**
|
|
24
|
+
* CustomInstructions is optional free-text guidance applied when this
|
|
25
|
+
* connector's documents are ingested: it steers how content is interpreted
|
|
26
|
+
* and indexed. Max 4000 characters; changes apply from the next sync cycle.
|
|
27
|
+
*/
|
|
28
|
+
customInstructions?: string;
|
|
14
29
|
/**
|
|
15
30
|
* Database/Collection are the canonical v2 names for the deprecated
|
|
16
31
|
* tenant_id/sub_tenant_id wire fields. They mirror the same values so a v2
|
|
@@ -64,6 +79,21 @@ export interface HandlerConnectorCreateResponse {
|
|
|
64
79
|
needsReauthReason?: string;
|
|
65
80
|
/** RFC3339 timestamp when the next scheduled sync will run. */
|
|
66
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;
|
|
67
97
|
/** External provider being synced (e.g. `slack`, `github`, `linear`, `notion`, `gmail`). */
|
|
68
98
|
provider?: string;
|
|
69
99
|
/** Identifier for the external account (e.g. Slack workspace ID, GitHub org name). Must be distinct across connectors for the same provider. */
|
|
@@ -3,9 +3,13 @@ export interface HandlerConnectorListResponse {
|
|
|
3
3
|
connectors?: HydraDB.HandlerConnectorApiView[];
|
|
4
4
|
/**
|
|
5
5
|
* 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
|
|
6
|
+
* checking | capped), present only when the caller asks for
|
|
7
|
+
* `?include=health`. A connector missing from the map has an unknown
|
|
8
|
+
* rollup — its resources could not be read — which clients must not
|
|
9
|
+
* render as a failure. `capped` is not a rollup of the connector: it is
|
|
10
|
+
* overlaid on a healthy, degraded or checking one when the org is at a
|
|
11
|
+
* plan cap, and PlanCap says which.
|
|
9
12
|
*/
|
|
10
13
|
health?: Record<string, string>;
|
|
14
|
+
planCap?: HydraDB.HandlerPlanCapView;
|
|
11
15
|
}
|
|
@@ -1,4 +1,22 @@
|
|
|
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;
|
|
18
|
+
/** Action is what the user must do, when there is something they can do. */
|
|
19
|
+
action?: string;
|
|
2
20
|
checkedAt?: string;
|
|
3
21
|
/** Human-readable name for this resource. */
|
|
4
22
|
displayName?: string;
|
|
@@ -8,6 +26,17 @@ export interface HandlerConnectorResourceStatus {
|
|
|
8
26
|
lastRowCount?: number;
|
|
9
27
|
/** Message is the provider's own words when Status is failed. */
|
|
10
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;
|
|
11
40
|
/** Resource identifier from the Discover endpoint. */
|
|
12
41
|
resourceId?: string;
|
|
13
42
|
/**
|
|
@@ -18,4 +47,18 @@ export interface HandlerConnectorResourceStatus {
|
|
|
18
47
|
retryable?: boolean;
|
|
19
48
|
/** Status is one of ok | empty | failed | checking | unknown. */
|
|
20
49
|
status?: string;
|
|
50
|
+
/**
|
|
51
|
+
* SyncBlocked reports that this resource has stopped syncing. Distinct from
|
|
52
|
+
* a failed status: a resource can fail a cycle and be retried, and the
|
|
53
|
+
* difference between "failing" and "given up on" is the one a user needs to
|
|
54
|
+
* act on.
|
|
55
|
+
*/
|
|
56
|
+
syncBlocked?: boolean;
|
|
57
|
+
/** SyncBlockedAt is when it stopped (RFC3339). */
|
|
58
|
+
syncBlockedAt?: string;
|
|
59
|
+
/**
|
|
60
|
+
* SyncBlockedReason is why it stopped, preserved from the failure that
|
|
61
|
+
* stopped it so it survives later syncs overwriting the health block.
|
|
62
|
+
*/
|
|
63
|
+
syncBlockedReason?: string;
|
|
21
64
|
}
|
|
@@ -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
|
/**
|
|
@@ -6,6 +6,11 @@ export interface HandlerConnectorUpdateResponse {
|
|
|
6
6
|
* re-written (and any needs-reauth flag cleared) by this request.
|
|
7
7
|
*/
|
|
8
8
|
credentialsUpdated?: boolean;
|
|
9
|
+
/**
|
|
10
|
+
* CustomInstructionsUpdated reports that the steering text was rewritten
|
|
11
|
+
* (or cleared) by this request; it takes effect from the next sync cycle.
|
|
12
|
+
*/
|
|
13
|
+
customInstructionsUpdated?: boolean;
|
|
9
14
|
/** Largest sync_interval_seconds this connector's provider allows. */
|
|
10
15
|
maxSyncIntervalSeconds?: number;
|
|
11
16
|
/** Smallest sync_interval_seconds this connector's provider allows. Values below it are rejected, never clamped. */
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type * as HydraDB from "../index.js";
|
|
2
|
+
export interface HandlerEnvelopeGraphSourceSubgraphResponse {
|
|
3
|
+
data?: HydraDB.GraphSourceSubgraphResponse;
|
|
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 HandlerEnvelopeHandlerSupabaseWebhookAck {
|
|
3
|
+
data?: HydraDB.HandlerSupabaseWebhookAck;
|
|
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 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
|
+
}
|
|
@@ -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
|
+
}
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
import type * as HydraDB from "../index.js";
|
|
2
2
|
export interface HandlerResourceMapping {
|
|
3
|
+
/**
|
|
4
|
+
* ACL restricts every object synced from this resource to the listed
|
|
5
|
+
* principals (emails, or prefixed principals, see the query-side
|
|
6
|
+
* user_email parameter). Omitted means unrestricted. An explicitly empty
|
|
7
|
+
* list means private (visible only to unfiltered queries).
|
|
8
|
+
*/
|
|
9
|
+
acl?: string[];
|
|
3
10
|
/**
|
|
4
11
|
* AdditionalMetadata is merged into the additional_metadata layer of every
|
|
5
12
|
* object synced from this resource. Provider-generated fields take precedence.
|
|
@@ -13,6 +20,13 @@ export interface HandlerResourceMapping {
|
|
|
13
20
|
* Configure before toResource runs.
|
|
14
21
|
*/
|
|
15
22
|
collection?: string;
|
|
23
|
+
/**
|
|
24
|
+
* CustomInstructions optionally steers how documents synced from this
|
|
25
|
+
* resource are ingested and indexed. When set it replaces the
|
|
26
|
+
* connector-level custom_instructions for this resource; empty inherits
|
|
27
|
+
* the connector's value. Max 4000 characters.
|
|
28
|
+
*/
|
|
29
|
+
customInstructions?: string;
|
|
16
30
|
/**
|
|
17
31
|
* Database is the canonical v2 name for the per-resource tenant override:
|
|
18
32
|
* routes synced objects from this resource into a specific database.
|
|
@@ -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,56 @@
|
|
|
1
|
+
import type * as HydraDB from "../index.js";
|
|
2
|
+
export interface MemoriesIngestItem {
|
|
3
|
+
/**
|
|
4
|
+
* ACL is the item's access-control list (PRO-1684), the same contract as
|
|
5
|
+
* an app_knowledge item's `acl` on a split database: bare emails,
|
|
6
|
+
* user_email:/group:/domain: principals, or the __public__/__private__
|
|
7
|
+
* sentinels. Omitted (nil) leaves the context unrestricted; an explicitly
|
|
8
|
+
* empty list stores __private__. Normalised here, all-or-nothing, so a
|
|
9
|
+
* malformed principal is a 400 on the request rather than a silently
|
|
10
|
+
* mis-scoped context. Enforced by every read that takes `acl`.
|
|
11
|
+
*/
|
|
12
|
+
acl?: string[];
|
|
13
|
+
attributes?: Record<string, unknown>;
|
|
14
|
+
/** Extracted text content of the source document. */
|
|
15
|
+
content?: string;
|
|
16
|
+
/**
|
|
17
|
+
* ContextCategory files this context under one of the three buckets
|
|
18
|
+
* (PRO-1618). Omitted or "auto" leaves it to HydraDB; naming a bucket pins
|
|
19
|
+
* it and inference will not overwrite it. See
|
|
20
|
+
* domain/ingestion/context_category.go.
|
|
21
|
+
*/
|
|
22
|
+
contextCategory?: HydraDB.MemoriesIngestItemContextCategory;
|
|
23
|
+
contextId?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Conversation is the canonical name; `messages` is accepted as an alias.
|
|
26
|
+
* Both are the shape a developer already builds for OpenAI or Anthropic.
|
|
27
|
+
*/
|
|
28
|
+
conversation?: HydraDB.MemoriesConversationTurn[];
|
|
29
|
+
customAttributes?: Record<string, unknown>;
|
|
30
|
+
customInstructions?: string;
|
|
31
|
+
enrich?: boolean;
|
|
32
|
+
happenedAt?: string;
|
|
33
|
+
/**
|
|
34
|
+
* IsMarkdown tells the pipeline the text is markdown, so it is chunked on
|
|
35
|
+
* structure rather than as flat prose. The split memories[] path has always
|
|
36
|
+
* carried it; a unified database has no other ingest shape, so without it
|
|
37
|
+
* here a markdown sync has nowhere to say so.
|
|
38
|
+
*/
|
|
39
|
+
isMarkdown?: boolean;
|
|
40
|
+
messages?: HydraDB.MemoriesConversationTurn[];
|
|
41
|
+
/** Text is the canonical name; `content` is accepted as an alias. */
|
|
42
|
+
text?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Title names the context. It becomes the context's document title, and it
|
|
45
|
+
* is what distinguishes two items whose text is identical: the document id
|
|
46
|
+
* is generated from the title, so without one they collide.
|
|
47
|
+
*/
|
|
48
|
+
title?: string;
|
|
49
|
+
/**
|
|
50
|
+
* UserName is the speaker identity for a TEXT item. A conversation names
|
|
51
|
+
* its speaker per turn instead, and that stays authoritative: this field
|
|
52
|
+
* only fills in when the turns supplied none. Empty ends up as "User",
|
|
53
|
+
* matching the split path, so the pipeline is never handed a blank.
|
|
54
|
+
*/
|
|
55
|
+
userName?: string;
|
|
56
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ContextCategory files this context under one of the three buckets
|
|
3
|
+
* (PRO-1618). Omitted or "auto" leaves it to HydraDB; naming a bucket pins
|
|
4
|
+
* it and inference will not overwrite it. See
|
|
5
|
+
* domain/ingestion/context_category.go.
|
|
6
|
+
*/
|
|
7
|
+
export declare const MemoriesIngestItemContextCategory: {
|
|
8
|
+
readonly Auto: "auto";
|
|
9
|
+
readonly UserPreference: "user_preference";
|
|
10
|
+
readonly BusinessKnowledge: "business_knowledge";
|
|
11
|
+
readonly DecisionTrace: "decision_trace";
|
|
12
|
+
};
|
|
13
|
+
export type MemoriesIngestItemContextCategory = (typeof MemoriesIngestItemContextCategory)[keyof typeof MemoriesIngestItemContextCategory];
|