@hydradb/sdk 2.1.2 → 2.1.4
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/dist/Client.d.ts +5 -2
- package/dist/Client.js +9 -11
- package/dist/api/client/requests/SearchQueryRequest.d.ts +32 -0
- package/dist/api/errors/ConflictError.d.ts +1 -2
- package/dist/api/errors/InternalServerError.d.ts +1 -2
- package/dist/api/resources/connectors/client/Client.d.ts +68 -14
- package/dist/api/resources/connectors/client/Client.js +239 -94
- package/dist/api/resources/connectors/client/requests/HandlerConfigureReq.d.ts +8 -0
- package/dist/api/resources/connectors/client/requests/HandlerConnectorCreateReq.d.ts +7 -7
- package/dist/api/resources/connectors/client/requests/HandlerConnectorUpdateReq.d.ts +20 -0
- package/dist/api/resources/connectors/client/requests/HandlerResourceCreateReq.d.ts +14 -2
- package/dist/api/resources/connectors/client/requests/StatusConnectorsRequest.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 +3 -0
- package/dist/api/resources/context/client/Client.d.ts +38 -2
- package/dist/api/resources/context/client/Client.js +125 -13
- package/dist/api/resources/context/client/requests/HandlerContextMetadataUpdateRequest.d.ts +18 -4
- package/dist/api/resources/context/client/requests/IngestContextRequest.d.ts +3 -0
- package/dist/api/resources/context/client/requests/InspectContextRequest.d.ts +2 -0
- package/dist/api/resources/context/client/requests/ListV2ListContentRequest.d.ts +10 -0
- package/dist/api/resources/context/client/requests/RelationsContextRequest.d.ts +2 -0
- package/dist/api/resources/context/client/requests/SourcesV2SourceDeleteRequest.d.ts +2 -0
- package/dist/api/resources/context/client/requests/SubgraphContextRequest.d.ts +31 -0
- package/dist/api/resources/context/client/requests/index.d.ts +1 -0
- package/dist/api/resources/context/types/DeleteContextRequestXHydraDbDeleteStatus.d.ts +5 -0
- package/dist/api/resources/context/types/DeleteContextRequestXHydraDbDeleteStatus.js +8 -0
- package/dist/api/resources/context/types/SubgraphContextRequestType.d.ts +5 -0
- package/dist/api/resources/context/types/SubgraphContextRequestType.js +8 -0
- package/dist/api/resources/context/types/index.d.ts +2 -0
- package/dist/api/resources/context/types/index.js +2 -0
- package/dist/api/resources/databases/client/Client.d.ts +17 -0
- package/dist/api/resources/databases/client/Client.js +75 -58
- package/dist/api/resources/databases/client/requests/GetMetadataSchemaDatabasesRequest.d.ts +10 -0
- package/dist/api/resources/databases/client/requests/index.d.ts +1 -0
- package/dist/api/resources/feedback/client/Client.d.ts +32 -0
- package/dist/api/resources/feedback/client/Client.js +129 -0
- package/dist/api/resources/feedback/client/index.d.ts +1 -0
- package/dist/api/resources/feedback/client/index.js +2 -0
- package/dist/api/resources/feedback/exports.d.ts +2 -0
- package/dist/api/resources/feedback/exports.js +21 -0
- package/dist/api/resources/feedback/index.d.ts +1 -0
- package/dist/api/resources/feedback/index.js +17 -0
- package/dist/api/resources/index.d.ts +1 -0
- package/dist/api/resources/index.js +2 -1
- package/dist/api/resources/webhooks/client/Client.d.ts +46 -1
- package/dist/api/resources/webhooks/client/Client.js +207 -1
- package/dist/api/resources/webhooks/client/requests/PostWebhooksSupabaseRequest.d.ts +14 -0
- package/dist/api/resources/webhooks/client/requests/WebhooksSigningSecretRequest.d.ts +8 -0
- package/dist/api/resources/webhooks/client/requests/WebhooksWebhookRegisterRequest.d.ts +3 -1
- package/dist/api/resources/webhooks/client/requests/index.d.ts +2 -0
- package/dist/api/types/ConnectorsResource.d.ts +43 -0
- package/dist/api/types/FeedbackGroundTruth.d.ts +12 -0
- package/dist/api/types/FeedbackGroundTruth.js +3 -0
- package/dist/api/types/FeedbackRating.d.ts +6 -0
- package/dist/api/types/FeedbackRating.js +9 -0
- package/dist/api/types/FeedbackSource.d.ts +5 -0
- package/dist/api/types/FeedbackSource.js +8 -0
- package/dist/api/types/FeedbackSubmitRequest.d.ts +2 -0
- package/dist/api/types/FeedbackSubmitRequest.js +3 -0
- package/dist/api/types/FeedbackSubmitRequestFeedback.d.ts +3 -0
- package/dist/api/types/FeedbackSubmitRequestFeedback.js +3 -0
- package/dist/api/types/FeedbackSubmitRequestGroundTruth.d.ts +4 -0
- package/dist/api/types/FeedbackSubmitRequestGroundTruth.js +3 -0
- package/dist/api/types/FeedbackSubmitRequestGroundTruthGroundTruth.d.ts +2 -0
- package/dist/api/types/FeedbackSubmitRequestGroundTruthGroundTruth.js +3 -0
- package/dist/api/types/FeedbackSubmitRequestGroundTruthGroundTruthAnswer.d.ts +3 -0
- package/dist/api/types/FeedbackSubmitRequestGroundTruthGroundTruthAnswer.js +3 -0
- package/dist/api/types/FeedbackSubmitRequestGroundTruthGroundTruthSourceIds.d.ts +3 -0
- package/dist/api/types/FeedbackSubmitRequestGroundTruthGroundTruthSourceIds.js +3 -0
- package/dist/api/types/FeedbackSubmitResponse.d.ts +12 -0
- package/dist/api/types/FeedbackSubmitResponse.js +3 -0
- package/dist/api/types/FetchV2SourceFetchResponse.d.ts +7 -1
- package/dist/api/types/GithubComHydradbHydradbApplicationInternalServiceMetadataEditResult.d.ts +36 -2
- package/dist/api/types/GraphEntity.d.ts +12 -0
- package/dist/api/types/GraphGraphRelationsResponse.d.ts +30 -1
- 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 +26 -0
- package/dist/api/types/HandlerCatalogConnector.js +3 -0
- package/dist/api/types/HandlerConfigureResponse.d.ts +24 -0
- package/dist/api/types/HandlerConfigureResponse.js +3 -0
- package/dist/api/types/HandlerConfigureResponseMeta.d.ts +4 -0
- package/dist/api/types/HandlerConfigureResponseMeta.js +3 -0
- package/dist/api/types/HandlerConnectorApiView.d.ts +139 -0
- package/dist/api/types/HandlerConnectorApiView.js +3 -0
- package/dist/api/types/HandlerConnectorCatalogResponse.d.ts +4 -0
- package/dist/api/types/HandlerConnectorCatalogResponse.js +3 -0
- package/dist/api/types/HandlerConnectorCreateResponse.d.ts +143 -0
- package/dist/api/types/HandlerConnectorCreateResponse.js +3 -0
- package/dist/api/types/HandlerConnectorDeleteResponse.d.ts +6 -0
- package/dist/api/types/HandlerConnectorDeleteResponse.js +3 -0
- package/dist/api/types/HandlerConnectorListResponse.d.ts +11 -0
- package/dist/api/types/HandlerConnectorListResponse.js +3 -0
- package/dist/api/types/HandlerConnectorResourceStatus.d.ts +37 -0
- package/dist/api/types/HandlerConnectorResourceStatus.js +3 -0
- package/dist/api/types/HandlerConnectorResourcesResponse.d.ts +4 -0
- package/dist/api/types/HandlerConnectorResourcesResponse.js +3 -0
- package/dist/api/types/HandlerConnectorStatusError.d.ts +19 -0
- package/dist/api/types/HandlerConnectorStatusError.js +3 -0
- package/dist/api/types/HandlerConnectorStatusResponse.d.ts +37 -0
- package/dist/api/types/HandlerConnectorStatusResponse.js +3 -0
- package/dist/api/types/HandlerConnectorSyncResponse.d.ts +4 -0
- package/dist/api/types/HandlerConnectorSyncResponse.js +3 -0
- package/dist/api/types/HandlerConnectorUpdateResponse.d.ts +22 -0
- package/dist/api/types/HandlerConnectorUpdateResponse.js +3 -0
- package/dist/api/types/HandlerCredentialsUpdateResponse.d.ts +6 -0
- package/dist/api/types/HandlerCredentialsUpdateResponse.js +3 -0
- package/dist/api/types/HandlerDiscoverResponseBody.d.ts +9 -0
- package/dist/api/types/HandlerDiscoverResponseBody.js +3 -0
- package/dist/api/types/HandlerDiscoveredResourceDto.d.ts +9 -0
- package/dist/api/types/HandlerDiscoveredResourceDto.js +3 -0
- package/dist/api/types/{HandlerEnvelopeListV2SourceListResponse.d.ts → HandlerEnvelopeFeedbackSubmitResponse.d.ts} +2 -2
- package/dist/api/types/HandlerEnvelopeFeedbackSubmitResponse.js +3 -0
- package/dist/api/types/{HandlerEnvelopeIngestionV2SourceUploadResponse.d.ts → HandlerEnvelopeGraphSourceSubgraphResponse.d.ts} +2 -2
- 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/HandlerEnvelopeIngestionV2IngestResponse.d.ts +9 -0
- package/dist/api/types/HandlerEnvelopeIngestionV2IngestResponse.js +3 -0
- package/dist/api/types/HandlerEnvelopeListV2ListResponse.d.ts +9 -0
- package/dist/api/types/HandlerEnvelopeListV2ListResponse.js +3 -0
- package/dist/api/types/HandlerEnvelopeTenantsTenantMetadataSchemaResponse.d.ts +9 -0
- package/dist/api/types/HandlerEnvelopeTenantsTenantMetadataSchemaResponse.js +3 -0
- package/dist/api/types/HandlerEnvelopeWebhooksSigningSecretResponse.d.ts +9 -0
- package/dist/api/types/HandlerEnvelopeWebhooksSigningSecretResponse.js +3 -0
- package/dist/api/types/HandlerErrorDetail.d.ts +8 -1
- package/dist/api/types/HandlerErrorEnvelopeSourcesMemoryDeleteResponse.d.ts +10 -0
- package/dist/api/types/HandlerErrorEnvelopeSourcesMemoryDeleteResponse.js +3 -0
- package/dist/api/types/HandlerProviderListResponse.d.ts +4 -0
- package/dist/api/types/HandlerProviderListResponse.js +3 -0
- package/dist/api/types/HandlerResourceDeleteResponse.d.ts +8 -0
- package/dist/api/types/HandlerResourceDeleteResponse.js +3 -0
- package/dist/api/types/HandlerResourceMapping.d.ts +25 -0
- package/dist/api/types/HandlerResourceMappingSyncMode.d.ts +14 -0
- package/dist/api/types/HandlerResourceMappingSyncMode.js +17 -0
- package/dist/api/types/HandlerSupabaseWebhookAck.d.ts +7 -0
- package/dist/api/types/HandlerSupabaseWebhookAck.js +3 -0
- package/dist/api/types/HandlerTableConfigEntry.d.ts +5 -0
- package/dist/api/types/HandlerTableConfigEntry.js +3 -0
- package/dist/api/types/IngestionSourceStatus.d.ts +4 -0
- package/dist/api/types/IngestionSourceStatus.js +4 -0
- package/dist/api/types/IngestionV2IngestResponse.d.ts +21 -0
- package/dist/api/types/IngestionV2IngestResponse.js +3 -0
- package/dist/api/types/IngestionV2IngestResultItem.d.ts +30 -0
- package/dist/api/types/IngestionV2IngestResultItem.js +3 -0
- package/dist/api/types/IngestionV2ProcessingStatus.d.ts +9 -1
- package/dist/api/types/ListContentFilter.d.ts +8 -2
- package/dist/api/types/ListV2ListResponse.d.ts +23 -0
- package/dist/api/types/ListV2ListResponse.js +3 -0
- package/dist/api/types/ListV2MemoryItem.d.ts +66 -0
- package/dist/api/types/ListV2MemoryItem.js +3 -0
- package/dist/api/types/ListV2SourceItem.d.ts +70 -0
- package/dist/api/types/ListV2SourceItem.js +3 -0
- package/dist/api/types/SearchMetadataFilters.d.ts +1 -1
- 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/SearchSourceInfo.d.ts +3 -1
- package/dist/api/types/SearchTemporalDuration.d.ts +24 -0
- package/dist/api/types/SearchTemporalDuration.js +3 -0
- package/dist/api/types/SearchTemporalFact.d.ts +25 -0
- package/dist/api/types/SearchTemporalFact.js +3 -0
- package/dist/api/types/SearchTemporalFilterInfo.d.ts +27 -0
- package/dist/api/types/SearchTemporalFilterInfo.js +3 -0
- package/dist/api/types/SearchTemporalIntentOverride.d.ts +14 -0
- package/dist/api/types/SearchTemporalIntentOverride.js +3 -0
- package/dist/api/types/SearchV2Chunk.d.ts +3 -1
- package/dist/api/types/SearchV2RetrievalResult.d.ts +13 -0
- package/dist/api/types/SourcesMemoryDeleteResponse.d.ts +9 -1
- package/dist/api/types/TenantsCustomPropertyDefinition.d.ts +0 -2
- package/dist/api/types/TenantsInfraV2.d.ts +2 -2
- package/dist/api/types/TenantsTenantMetadataSchemaResponse.d.ts +7 -0
- package/dist/api/types/TenantsTenantMetadataSchemaResponse.js +3 -0
- package/dist/api/types/WebhooksDeliveryItem.d.ts +6 -0
- package/dist/api/types/WebhooksSigningSecretResponse.d.ts +8 -0
- package/dist/api/types/WebhooksSigningSecretResponse.js +3 -0
- package/dist/api/types/WebhooksWebhookRegisterResponse.d.ts +2 -0
- package/dist/api/types/index.d.ts +55 -7
- package/dist/api/types/index.js +55 -7
- package/dist/helpers/buildString.js +140 -16
- package/dist/helpers/index.d.ts +1 -0
- package/dist/helpers/index.js +6 -1
- package/dist/helpers/verifyWebhook.d.ts +31 -0
- package/dist/helpers/verifyWebhook.js +56 -0
- package/dist/serialization/client/index.d.ts +0 -2
- package/dist/serialization/client/index.js +0 -25
- package/dist/serialization/client/requests/SearchQueryRequest.d.ts +5 -0
- package/dist/serialization/client/requests/SearchQueryRequest.js +5 -0
- package/dist/serialization/resources/connectors/client/index.d.ts +2 -9
- package/dist/serialization/resources/connectors/client/index.js +6 -13
- package/dist/serialization/resources/connectors/client/requests/HandlerConfigureReq.d.ts +2 -0
- package/dist/serialization/resources/connectors/client/requests/HandlerConfigureReq.js +2 -0
- package/dist/serialization/resources/connectors/client/requests/HandlerConnectorCreateReq.d.ts +1 -3
- package/dist/serialization/resources/connectors/client/requests/HandlerConnectorCreateReq.js +1 -3
- package/dist/serialization/resources/connectors/client/requests/HandlerConnectorUpdateReq.d.ts +11 -0
- package/dist/serialization/resources/connectors/client/requests/HandlerConnectorUpdateReq.js +43 -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/index.d.ts +1 -0
- package/dist/serialization/resources/connectors/client/requests/index.js +3 -1
- package/dist/serialization/resources/connectors/client/rotateAConnectorsStoredOAuthRefreshTokenInternalUseOnly.d.ts +6 -0
- package/dist/serialization/resources/connectors/client/{deleteResource.js → rotateAConnectorsStoredOAuthRefreshTokenInternalUseOnly.js} +2 -2
- package/dist/serialization/resources/connectors/client/{rotateAConnectorsStoredOAuthRefreshToken.d.ts → updateResourceAcl.d.ts} +2 -2
- 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 +2 -0
- package/dist/serialization/resources/context/client/requests/ListV2ListContentRequest.js +2 -0
- package/dist/serialization/resources/context/client/requests/SourcesV2SourceDeleteRequest.d.ts +1 -1
- package/dist/serialization/resources/context/types/DeleteContextRequestXHydraDbDeleteStatus.d.ts +7 -0
- package/dist/serialization/resources/{connectors/client/delete.js → context/types/DeleteContextRequestXHydraDbDeleteStatus.js} +2 -2
- package/dist/serialization/resources/context/types/SubgraphContextRequestType.d.ts +7 -0
- package/dist/serialization/resources/{connectors/client/configure.js → context/types/SubgraphContextRequestType.js} +2 -2
- package/dist/serialization/resources/context/types/index.d.ts +2 -0
- package/dist/serialization/resources/context/types/index.js +2 -0
- package/dist/serialization/resources/webhooks/client/index.d.ts +1 -0
- package/dist/serialization/resources/webhooks/client/index.js +24 -0
- package/dist/serialization/resources/webhooks/client/requests/WebhooksSigningSecretRequest.d.ts +9 -0
- package/dist/serialization/resources/webhooks/client/requests/WebhooksSigningSecretRequest.js +41 -0
- package/dist/serialization/resources/webhooks/client/requests/WebhooksWebhookRegisterRequest.d.ts +1 -0
- package/dist/serialization/resources/webhooks/client/requests/WebhooksWebhookRegisterRequest.js +1 -0
- package/dist/serialization/resources/webhooks/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/webhooks/client/requests/index.js +3 -1
- package/dist/serialization/resources/webhooks/client/supabaseRowChangeWebhook.d.ts +6 -0
- package/dist/serialization/resources/{connectors/client/discover.js → webhooks/client/supabaseRowChangeWebhook.js} +2 -2
- package/dist/serialization/types/ConnectorsResource.d.ts +6 -0
- package/dist/serialization/types/ConnectorsResource.js +6 -0
- package/dist/serialization/types/FeedbackGroundTruth.d.ts +10 -0
- package/dist/serialization/types/FeedbackGroundTruth.js +42 -0
- package/dist/serialization/types/FeedbackRating.d.ts +7 -0
- package/dist/serialization/{client/catalog.js → types/FeedbackRating.js} +2 -2
- package/dist/serialization/types/FeedbackSource.d.ts +7 -0
- package/dist/serialization/{client/listProviders.js → types/FeedbackSource.js} +2 -2
- package/dist/serialization/types/FeedbackSubmitRequest.d.ts +9 -0
- package/dist/serialization/types/FeedbackSubmitRequest.js +41 -0
- package/dist/serialization/types/FeedbackSubmitRequestFeedback.d.ts +9 -0
- package/dist/serialization/types/FeedbackSubmitRequestFeedback.js +41 -0
- package/dist/serialization/types/FeedbackSubmitRequestGroundTruth.d.ts +10 -0
- package/dist/serialization/types/FeedbackSubmitRequestGroundTruth.js +42 -0
- package/dist/serialization/types/FeedbackSubmitRequestGroundTruthGroundTruth.d.ts +9 -0
- package/dist/serialization/types/FeedbackSubmitRequestGroundTruthGroundTruth.js +44 -0
- package/dist/serialization/types/FeedbackSubmitRequestGroundTruthGroundTruthAnswer.d.ts +9 -0
- package/dist/serialization/types/{ListV2SourceListResponse.js → FeedbackSubmitRequestGroundTruthGroundTruthAnswer.js} +3 -4
- package/dist/serialization/types/FeedbackSubmitRequestGroundTruthGroundTruthSourceIds.d.ts +9 -0
- package/dist/serialization/types/FeedbackSubmitRequestGroundTruthGroundTruthSourceIds.js +41 -0
- package/dist/serialization/types/FeedbackSubmitResponse.d.ts +13 -0
- package/dist/serialization/types/FeedbackSubmitResponse.js +45 -0
- package/dist/serialization/types/GithubComHydradbHydradbApplicationInternalServiceMetadataEditResult.d.ts +7 -0
- package/dist/serialization/types/GithubComHydradbHydradbApplicationInternalServiceMetadataEditResult.js +7 -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 +18 -0
- package/dist/serialization/types/HandlerCatalogConnector.js +50 -0
- package/dist/serialization/types/HandlerConfigureResponse.d.ts +16 -0
- package/dist/serialization/types/HandlerConfigureResponse.js +48 -0
- package/dist/serialization/types/HandlerConfigureResponseMeta.d.ts +10 -0
- package/dist/serialization/types/HandlerConfigureResponseMeta.js +42 -0
- package/dist/serialization/types/{ConnectorsConnector.d.ts → HandlerConnectorApiView.d.ts} +16 -7
- package/dist/serialization/types/{ConnectorsConnector.js → HandlerConnectorApiView.js} +16 -7
- package/dist/serialization/types/HandlerConnectorCatalogResponse.d.ts +10 -0
- package/dist/serialization/types/HandlerConnectorCatalogResponse.js +42 -0
- package/dist/serialization/types/HandlerConnectorCreateResponse.d.ts +41 -0
- package/dist/serialization/types/HandlerConnectorCreateResponse.js +73 -0
- package/dist/serialization/types/HandlerConnectorDeleteResponse.d.ts +10 -0
- package/dist/serialization/types/HandlerConnectorDeleteResponse.js +42 -0
- package/dist/serialization/types/HandlerConnectorListResponse.d.ts +11 -0
- package/dist/serialization/types/HandlerConnectorListResponse.js +43 -0
- package/dist/serialization/types/HandlerConnectorResourceStatus.d.ts +20 -0
- package/dist/serialization/types/HandlerConnectorResourceStatus.js +52 -0
- package/dist/serialization/types/HandlerConnectorResourcesResponse.d.ts +10 -0
- package/dist/serialization/types/HandlerConnectorResourcesResponse.js +42 -0
- package/dist/serialization/types/HandlerConnectorStatusError.d.ts +12 -0
- package/dist/serialization/types/HandlerConnectorStatusError.js +44 -0
- package/dist/serialization/types/HandlerConnectorStatusResponse.d.ts +20 -0
- package/dist/serialization/types/HandlerConnectorStatusResponse.js +52 -0
- package/dist/serialization/types/HandlerConnectorSyncResponse.d.ts +10 -0
- package/dist/serialization/types/HandlerConnectorSyncResponse.js +42 -0
- package/dist/serialization/types/HandlerConnectorUpdateResponse.d.ts +15 -0
- package/dist/serialization/types/HandlerConnectorUpdateResponse.js +47 -0
- package/dist/serialization/types/HandlerCredentialsUpdateResponse.d.ts +10 -0
- package/dist/serialization/types/HandlerCredentialsUpdateResponse.js +42 -0
- package/dist/serialization/types/HandlerDiscoverResponseBody.d.ts +13 -0
- package/dist/serialization/types/HandlerDiscoverResponseBody.js +45 -0
- package/dist/serialization/types/HandlerDiscoveredResourceDto.d.ts +12 -0
- package/dist/serialization/types/HandlerDiscoveredResourceDto.js +44 -0
- package/dist/serialization/types/{HandlerEnvelopeListV2SourceListResponse.d.ts → HandlerEnvelopeFeedbackSubmitResponse.d.ts} +4 -4
- package/dist/serialization/types/{HandlerEnvelopeListV2SourceListResponse.js → HandlerEnvelopeFeedbackSubmitResponse.js} +4 -4
- 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/HandlerEnvelopeIngestionV2IngestResponse.d.ts +15 -0
- package/dist/serialization/types/HandlerEnvelopeIngestionV2IngestResponse.js +47 -0
- package/dist/serialization/types/HandlerEnvelopeListV2ListResponse.d.ts +15 -0
- package/dist/serialization/types/{HandlerEnvelopeIngestionV2SourceUploadResponse.js → HandlerEnvelopeListV2ListResponse.js} +4 -4
- package/dist/serialization/types/HandlerEnvelopeTenantsTenantMetadataSchemaResponse.d.ts +15 -0
- package/dist/serialization/types/HandlerEnvelopeTenantsTenantMetadataSchemaResponse.js +47 -0
- package/dist/serialization/types/HandlerEnvelopeWebhooksSigningSecretResponse.d.ts +15 -0
- package/dist/serialization/types/HandlerEnvelopeWebhooksSigningSecretResponse.js +47 -0
- package/dist/serialization/types/HandlerErrorEnvelopeSourcesMemoryDeleteResponse.d.ts +17 -0
- package/dist/serialization/types/HandlerErrorEnvelopeSourcesMemoryDeleteResponse.js +49 -0
- package/dist/serialization/types/HandlerProviderListResponse.d.ts +10 -0
- package/dist/serialization/types/HandlerProviderListResponse.js +42 -0
- package/dist/serialization/types/HandlerResourceDeleteResponse.d.ts +11 -0
- package/dist/serialization/types/HandlerResourceDeleteResponse.js +43 -0
- package/dist/serialization/types/HandlerResourceMapping.d.ts +4 -0
- package/dist/serialization/types/HandlerResourceMapping.js +4 -0
- package/dist/serialization/types/HandlerResourceMappingSyncMode.d.ts +7 -0
- package/dist/serialization/types/HandlerResourceMappingSyncMode.js +39 -0
- package/dist/serialization/types/HandlerSupabaseWebhookAck.d.ts +11 -0
- package/dist/serialization/types/HandlerSupabaseWebhookAck.js +43 -0
- package/dist/serialization/types/HandlerTableConfigEntry.d.ts +11 -0
- package/dist/serialization/types/HandlerTableConfigEntry.js +43 -0
- package/dist/serialization/types/IngestionV2IngestResponse.d.ts +14 -0
- package/dist/serialization/types/{IngestionV2SourceUploadResponse.js → IngestionV2IngestResponse.js} +4 -4
- package/dist/serialization/types/{IngestionV2SourceUploadResultItem.d.ts → IngestionV2IngestResultItem.d.ts} +4 -2
- package/dist/serialization/types/{IngestionV2SourceUploadResultItem.js → IngestionV2IngestResultItem.js} +4 -2
- package/dist/serialization/types/ListV2ListResponse.d.ts +17 -0
- package/dist/serialization/types/{ListSourceListResponse.js → ListV2ListResponse.js} +6 -5
- package/dist/serialization/types/ListV2MemoryItem.d.ts +29 -0
- package/dist/serialization/types/ListV2MemoryItem.js +63 -0
- package/dist/serialization/types/ListV2SourceItem.d.ts +29 -0
- package/dist/serialization/types/ListV2SourceItem.js +63 -0
- 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/SearchSourceInfo.d.ts +1 -0
- package/dist/serialization/types/SearchSourceInfo.js +1 -0
- package/dist/serialization/types/SearchTemporalDuration.d.ts +16 -0
- package/dist/serialization/types/SearchTemporalDuration.js +48 -0
- package/dist/serialization/types/SearchTemporalFact.d.ts +20 -0
- package/dist/serialization/types/SearchTemporalFact.js +52 -0
- package/dist/serialization/types/SearchTemporalFilterInfo.d.ts +16 -0
- package/dist/serialization/types/SearchTemporalFilterInfo.js +48 -0
- package/dist/serialization/types/SearchTemporalIntentOverride.d.ts +14 -0
- package/dist/serialization/types/SearchTemporalIntentOverride.js +46 -0
- package/dist/serialization/types/SearchV2Chunk.d.ts +1 -0
- package/dist/serialization/types/SearchV2Chunk.js +1 -0
- package/dist/serialization/types/SearchV2RetrievalResult.d.ts +10 -0
- package/dist/serialization/types/SearchV2RetrievalResult.js +10 -0
- package/dist/serialization/types/TenantsCustomPropertyDefinition.d.ts +0 -1
- package/dist/serialization/types/TenantsCustomPropertyDefinition.js +0 -1
- package/dist/serialization/types/TenantsTenantMetadataSchemaResponse.d.ts +12 -0
- package/dist/serialization/types/TenantsTenantMetadataSchemaResponse.js +44 -0
- package/dist/serialization/types/WebhooksDeliveryItem.d.ts +1 -0
- package/dist/serialization/types/WebhooksDeliveryItem.js +1 -0
- package/dist/serialization/types/WebhooksSigningSecretResponse.d.ts +11 -0
- package/dist/serialization/types/WebhooksSigningSecretResponse.js +43 -0
- package/dist/serialization/types/WebhooksWebhookRegisterResponse.d.ts +1 -0
- package/dist/serialization/types/WebhooksWebhookRegisterResponse.js +1 -0
- package/dist/serialization/types/index.d.ts +55 -7
- package/dist/serialization/types/index.js +55 -7
- package/package.json +1 -1
- package/dist/api/types/ConnectorsConnector.d.ts +0 -58
- package/dist/api/types/IngestionV2SourceUploadResponse.d.ts +0 -13
- package/dist/api/types/IngestionV2SourceUploadResultItem.d.ts +0 -17
- package/dist/api/types/ListSourceListResponse.d.ts +0 -12
- package/dist/api/types/ListV2SourceListResponse.d.ts +0 -4
- package/dist/serialization/client/catalog.d.ts +0 -6
- package/dist/serialization/client/listProviders.d.ts +0 -6
- package/dist/serialization/resources/connectors/client/configure.d.ts +0 -6
- package/dist/serialization/resources/connectors/client/delete.d.ts +0 -6
- package/dist/serialization/resources/connectors/client/deleteResource.d.ts +0 -6
- package/dist/serialization/resources/connectors/client/discover.d.ts +0 -6
- package/dist/serialization/resources/connectors/client/discoverPreview.d.ts +0 -6
- package/dist/serialization/resources/connectors/client/discoverPreview.js +0 -39
- package/dist/serialization/resources/connectors/client/list.d.ts +0 -6
- package/dist/serialization/resources/connectors/client/list.js +0 -39
- package/dist/serialization/resources/connectors/client/listResources.d.ts +0 -6
- package/dist/serialization/resources/connectors/client/listResources.js +0 -39
- package/dist/serialization/resources/connectors/client/sync.d.ts +0 -6
- package/dist/serialization/resources/connectors/client/sync.js +0 -39
- package/dist/serialization/types/HandlerEnvelopeIngestionV2SourceUploadResponse.d.ts +0 -15
- package/dist/serialization/types/IngestionV2SourceUploadResponse.d.ts +0 -14
- package/dist/serialization/types/ListSourceListResponse.d.ts +0 -14
- package/dist/serialization/types/ListV2SourceListResponse.d.ts +0 -10
- /package/dist/api/{types/ConnectorsConnector.js → resources/connectors/client/requests/HandlerConnectorUpdateReq.js} +0 -0
- /package/dist/api/{types/HandlerEnvelopeIngestionV2SourceUploadResponse.js → resources/connectors/client/requests/StatusConnectorsRequest.js} +0 -0
- /package/dist/api/{types/HandlerEnvelopeListV2SourceListResponse.js → resources/connectors/client/requests/UpdateResourceAclConnectorsRequest.js} +0 -0
- /package/dist/api/{types/IngestionV2SourceUploadResponse.js → resources/context/client/requests/SubgraphContextRequest.js} +0 -0
- /package/dist/api/{types/IngestionV2SourceUploadResultItem.js → resources/databases/client/requests/GetMetadataSchemaDatabasesRequest.js} +0 -0
- /package/dist/api/{types/ListSourceListResponse.js → resources/webhooks/client/requests/PostWebhooksSupabaseRequest.js} +0 -0
- /package/dist/api/{types/ListV2SourceListResponse.js → resources/webhooks/client/requests/WebhooksSigningSecretRequest.js} +0 -0
- /package/dist/serialization/resources/connectors/client/{rotateAConnectorsStoredOAuthRefreshToken.js → updateResourceAcl.js} +0 -0
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
export interface ListV2SourceItem {
|
|
2
|
+
/**
|
|
3
|
+
* AdditionalMetadata is the caller-supplied per-document metadata (stored as
|
|
4
|
+
* document_metadata).
|
|
5
|
+
*/
|
|
6
|
+
additionalMetadata?: Record<string, unknown>;
|
|
7
|
+
/** Provider-assigned identifier for this source (e.g. Slack channel ID). */
|
|
8
|
+
appExternalId?: string;
|
|
9
|
+
/** App integration category, populated for connector-synced sources. */
|
|
10
|
+
appKind?: string;
|
|
11
|
+
/**
|
|
12
|
+
* AppParentID is the provider external id of this source's conversational
|
|
13
|
+
* parent (a Jira comment carries its issue key, a Slack reply its thread
|
|
14
|
+
* root), and AppThreadID the discussion grouping key. Mirrored from the
|
|
15
|
+
* ingestion pipeline; absent for sources without a parent/thread.
|
|
16
|
+
*/
|
|
17
|
+
appParentId?: string;
|
|
18
|
+
/**
|
|
19
|
+
* App* carry connector provenance, mirrored onto the source document by the
|
|
20
|
+
* ingestion pipeline. Null for sources that were not connector-ingested.
|
|
21
|
+
*/
|
|
22
|
+
appProvider?: string;
|
|
23
|
+
/** Connector-derived relations for this source. Present on connector-ingested rows. */
|
|
24
|
+
appRelations?: unknown;
|
|
25
|
+
/** Discussion grouping key shared by a thread root and its replies/comments. Absent for unthreaded sources. */
|
|
26
|
+
appThreadId?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Collection is the canonical name for the sub-scope this row was listed
|
|
29
|
+
* from. Empty string when the row lives in the database's default collection.
|
|
30
|
+
*/
|
|
31
|
+
collection: string;
|
|
32
|
+
/**
|
|
33
|
+
* Comments is the group_threads discussion: the source's comment/message
|
|
34
|
+
* children as full sibling rows, newest first, capped per parent with
|
|
35
|
+
* CommentsTruncated marking an overflow. Present (possibly empty) on every
|
|
36
|
+
* row of a group_threads response; absent otherwise.
|
|
37
|
+
*/
|
|
38
|
+
comments?: Record<string, unknown>[];
|
|
39
|
+
/** True when the inline `comments` array hit the per-parent cap and more children exist. Fetch them via `filters.additional_metadata` on the parent's external ID. */
|
|
40
|
+
commentsTruncated?: boolean;
|
|
41
|
+
/** Database is the canonical name for the scope this row was listed from. */
|
|
42
|
+
database: string;
|
|
43
|
+
/** Human-readable description of the source. */
|
|
44
|
+
description?: string;
|
|
45
|
+
/**
|
|
46
|
+
* ID is the source identifier. Always present: buildProjection pins
|
|
47
|
+
* source.id as an identity field on every projection path.
|
|
48
|
+
*/
|
|
49
|
+
id: string;
|
|
50
|
+
/** Metadata is the caller-supplied source metadata (stored as tenant_metadata). */
|
|
51
|
+
metadata?: Record<string, unknown>;
|
|
52
|
+
/** Free-form note attached to the source. */
|
|
53
|
+
note?: string;
|
|
54
|
+
/**
|
|
55
|
+
* Relations/AppRelations are passthrough graph subtrees, returned only when
|
|
56
|
+
* requested via include_fields. Their internal source_id/source_ids keys are
|
|
57
|
+
* renamed to id/ids on the way out; the rest of the subtree is unconstrained.
|
|
58
|
+
*/
|
|
59
|
+
relations?: unknown;
|
|
60
|
+
/** SubTenantID is the deprecated spelling of Collection, carrying an identical value. */
|
|
61
|
+
subTenantId: string;
|
|
62
|
+
/** TenantID is the deprecated spelling of Database, carrying an identical value. */
|
|
63
|
+
tenantId: string;
|
|
64
|
+
/** RFC3339 timestamp associated with this item. */
|
|
65
|
+
timestamp?: string;
|
|
66
|
+
/** Title or name of the source. */
|
|
67
|
+
title?: string;
|
|
68
|
+
/** Type is the source kind, e.g. "knowledge" or "memory". */
|
|
69
|
+
type?: string;
|
|
70
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Filters results by source metadata. Top-level keys target tenant metadata (for example department, priority, active, or tags). Nested additional_metadata keys target document metadata.
|
|
2
|
+
* Filters results by source metadata. Top-level keys target tenant metadata (for example department, priority, active, or tags). Nested additional_metadata keys target document metadata. Separate keys are ANDed. A scalar value is an exact match; an array means match ANY one of the listed values (OR) - there is no ALL/AND operator within a single key. Arrays are supported on VARCHAR fields only: an array passed for a declared field of any other type is rejected with 400 VALIDATION_ERROR. Size limits: each list may hold at most 500 values, and the whole metadata_filters object is capped at 64 KiB measured on its compact JSON encoding in UTF-8 bytes (keys and punctuation count). Exceeding either returns 400 naming the offending key or the actual byte count.
|
|
3
3
|
*/
|
|
4
4
|
export type SearchMetadataFilters = Record<string, unknown>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export interface SearchSourceFact {
|
|
2
|
+
actor?: string;
|
|
3
|
+
actorRole?: string;
|
|
4
|
+
/** App integration category, populated for connector-synced sources. */
|
|
5
|
+
appKind?: string;
|
|
6
|
+
/** Chunk that provides evidence for this relation. */
|
|
7
|
+
chunkId?: string;
|
|
8
|
+
connector?: string;
|
|
9
|
+
container?: string;
|
|
10
|
+
/** External provider being synced (e.g. `slack`, `github`, `linear`, `notion`, `gmail`). */
|
|
11
|
+
provider?: string;
|
|
12
|
+
relation?: string;
|
|
13
|
+
/** Unique identifier for this relationship instance. */
|
|
14
|
+
relationshipId?: string;
|
|
15
|
+
sourceId?: string;
|
|
16
|
+
syncedAt?: number;
|
|
17
|
+
threadId?: string;
|
|
18
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SourceFilter reports what the source layer did for this request.
|
|
3
|
+
*/
|
|
4
|
+
export interface SearchSourceFilterInfo {
|
|
5
|
+
actorScope?: string;
|
|
6
|
+
applied?: boolean;
|
|
7
|
+
containerScope?: string;
|
|
8
|
+
degraded?: boolean;
|
|
9
|
+
matchedFacts?: number;
|
|
10
|
+
mode?: string;
|
|
11
|
+
/** External provider being synced (e.g. `slack`, `github`, `linear`, `notion`, `gmail`). */
|
|
12
|
+
provider?: string;
|
|
13
|
+
threadScope?: boolean;
|
|
14
|
+
truncated?: boolean;
|
|
15
|
+
}
|
|
@@ -10,6 +10,8 @@ export interface SearchSourceInfo {
|
|
|
10
10
|
appKind?: string;
|
|
11
11
|
/** Provider name for app-sourced items (e.g. `slack`, `github`). */
|
|
12
12
|
appProvider?: string;
|
|
13
|
+
/** Collection this source belongs to. Canonical name; mirrors the deprecated `sub_tenant_id` alias. */
|
|
14
|
+
collection?: string;
|
|
13
15
|
/** Human-readable description of the source. */
|
|
14
16
|
description?: string;
|
|
15
17
|
/** Unique identifier for this resource. */
|
|
@@ -19,7 +21,7 @@ export interface SearchSourceInfo {
|
|
|
19
21
|
* the wire (Python default_factory=dict), unlike chunk metadata which is null.
|
|
20
22
|
*/
|
|
21
23
|
metadata?: Record<string, unknown>;
|
|
22
|
-
/**
|
|
24
|
+
/** deprecated: use collection */
|
|
23
25
|
subTenantId?: string;
|
|
24
26
|
/** RFC3339 timestamp associated with this item. */
|
|
25
27
|
timestamp?: string;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type * as HydraDB from "../index.js";
|
|
2
|
+
/**
|
|
3
|
+
* TemporalDuration is the computed event-duration answer, when resolved.
|
|
4
|
+
*/
|
|
5
|
+
export interface SearchTemporalDuration {
|
|
6
|
+
/**
|
|
7
|
+
* Approximate is set when either endpoint's granularity is coarser than a
|
|
8
|
+
* day (month/year brackets) — the day count is then a floor-to-floor
|
|
9
|
+
* estimate, not an exact span; consumers should not present it as exact.
|
|
10
|
+
*/
|
|
11
|
+
approximate?: boolean;
|
|
12
|
+
days?: number;
|
|
13
|
+
from?: HydraDB.SearchTemporalFact;
|
|
14
|
+
fromDate?: string;
|
|
15
|
+
/**
|
|
16
|
+
* PairingConfidence is the normalized pair-scorer margin (0..1); low values
|
|
17
|
+
* mean the endpoints were weakly anchored to the question. Durations whose
|
|
18
|
+
* endpoints share no entity token with the question are suppressed
|
|
19
|
+
* entirely (P4: a wrong confident day count misleads answerers).
|
|
20
|
+
*/
|
|
21
|
+
pairingConfidence?: number;
|
|
22
|
+
to?: HydraDB.SearchTemporalFact;
|
|
23
|
+
toDate?: string;
|
|
24
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export interface SearchTemporalFact {
|
|
2
|
+
/** Chunk that provides evidence for this relation. */
|
|
3
|
+
chunkId?: string;
|
|
4
|
+
/**
|
|
5
|
+
* DatePrecision is the resolution of the resolved dates: "day", "month",
|
|
6
|
+
* "year" (coarser-than-day dates are floored to bracket starts).
|
|
7
|
+
*/
|
|
8
|
+
datePrecision?: string;
|
|
9
|
+
eventEnd?: number;
|
|
10
|
+
eventStart?: number;
|
|
11
|
+
/**
|
|
12
|
+
* EvidencePhrase is the verbatim source phrase the dates were resolved
|
|
13
|
+
* from (e.g. "today", "two weeks ago").
|
|
14
|
+
*/
|
|
15
|
+
evidencePhrase?: string;
|
|
16
|
+
factType?: string;
|
|
17
|
+
object?: string;
|
|
18
|
+
relation?: string;
|
|
19
|
+
/** Unique identifier for this relationship instance. */
|
|
20
|
+
relationshipId?: string;
|
|
21
|
+
sourceId?: string;
|
|
22
|
+
/** Current lifecycle or processing state. */
|
|
23
|
+
status?: string;
|
|
24
|
+
subject?: string;
|
|
25
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* TemporalFilter reports what the temporal layer did for this request.
|
|
3
|
+
*/
|
|
4
|
+
export interface SearchTemporalFilterInfo {
|
|
5
|
+
/**
|
|
6
|
+
* Applied is true when the temporal layer engaged for a classified temporal
|
|
7
|
+
* query — including when it matched zero dated facts; MatchedFacts carries the
|
|
8
|
+
* actual count. It is false only when the fact lookup degraded (Degraded).
|
|
9
|
+
*/
|
|
10
|
+
applied?: boolean;
|
|
11
|
+
chunkScope?: number;
|
|
12
|
+
/**
|
|
13
|
+
* Degraded is true when the fact lookup FAILED (as opposed to matching
|
|
14
|
+
* nothing) — callers must not read an empty payload as "no temporal facts
|
|
15
|
+
* exist" when this is set.
|
|
16
|
+
*/
|
|
17
|
+
degraded?: boolean;
|
|
18
|
+
matchedFacts?: number;
|
|
19
|
+
mode?: string;
|
|
20
|
+
promoted?: number;
|
|
21
|
+
/**
|
|
22
|
+
* Scope reports how the chunk scope was applied: "soft" (bounded ranking
|
|
23
|
+
* promotion) or "" (no scope). Hard scoping was removed after TEMPO.
|
|
24
|
+
*/
|
|
25
|
+
scope?: string;
|
|
26
|
+
truncated?: boolean;
|
|
27
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* TemporalIntent (EXPERIMENTAL) lets the caller supply the classification
|
|
3
|
+
* (mode/window/phrases) directly, bypassing the regex classifier — for
|
|
4
|
+
* agents whose own LLM already understands the query, and for non-English
|
|
5
|
+
* queries. Invalid overrides fall back to the classifier.
|
|
6
|
+
*/
|
|
7
|
+
export interface SearchTemporalIntentOverride {
|
|
8
|
+
cutoff?: string;
|
|
9
|
+
durationToNow?: boolean;
|
|
10
|
+
eventPhrases?: string[];
|
|
11
|
+
mode?: string;
|
|
12
|
+
windowEnd?: string;
|
|
13
|
+
windowStart?: string;
|
|
14
|
+
}
|
|
@@ -8,6 +8,8 @@ export interface SearchV2Chunk {
|
|
|
8
8
|
chunkContent?: string;
|
|
9
9
|
/** Unique identifier for this individual chunk. */
|
|
10
10
|
chunkUuid?: string;
|
|
11
|
+
/** Collection this chunk belongs to. Canonical name; mirrors the deprecated `sub_tenant_id` alias. */
|
|
12
|
+
collection?: string;
|
|
11
13
|
/** IDs of adjacent chunks pulled in as surrounding context. */
|
|
12
14
|
extraContextIds?: string[];
|
|
13
15
|
/** Unique identifier for this resource. */
|
|
@@ -26,6 +28,6 @@ export interface SearchV2Chunk {
|
|
|
26
28
|
sourceType?: string;
|
|
27
29
|
/** RFC3339 timestamp when the source was ingested. */
|
|
28
30
|
sourceUploadTime?: string;
|
|
29
|
-
/**
|
|
31
|
+
/** deprecated: use collection */
|
|
30
32
|
subTenantId?: string;
|
|
31
33
|
}
|
|
@@ -5,6 +5,19 @@ export interface SearchV2RetrievalResult {
|
|
|
5
5
|
/** Retrieved and ranked chunks from the knowledge store or memories. */
|
|
6
6
|
chunks?: HydraDB.SearchV2Chunk[];
|
|
7
7
|
graphContext?: HydraDB.SearchGraphContext;
|
|
8
|
+
/**
|
|
9
|
+
* SourceFacts surface the matched app-native (edge_source) facts when
|
|
10
|
+
* source_reasoning was active; omitted otherwise (PRO-1602).
|
|
11
|
+
*/
|
|
12
|
+
sourceFacts?: HydraDB.SearchSourceFact[];
|
|
13
|
+
sourceFilter?: HydraDB.SearchSourceFilterInfo;
|
|
8
14
|
/** Deduplicated source-level metadata for all returned chunks. */
|
|
9
15
|
sources?: HydraDB.SearchSourceInfo[];
|
|
16
|
+
temporalDuration?: HydraDB.SearchTemporalDuration;
|
|
17
|
+
/**
|
|
18
|
+
* TemporalFacts surface the matched edge-level temporal facts when
|
|
19
|
+
* temporal_reasoning was requested; omitted otherwise.
|
|
20
|
+
*/
|
|
21
|
+
temporalFacts?: HydraDB.SearchTemporalFact[];
|
|
22
|
+
temporalFilter?: HydraDB.SearchTemporalFilterInfo;
|
|
10
23
|
}
|
|
@@ -6,7 +6,15 @@ export interface SourcesMemoryDeleteResponse {
|
|
|
6
6
|
message?: string;
|
|
7
7
|
/** Per-item results. */
|
|
8
8
|
results?: HydraDB.SourcesSourceDeleteResultItem[];
|
|
9
|
-
/**
|
|
9
|
+
/**
|
|
10
|
+
* Deprecated for API clients: whether the REQUEST succeeded is the HTTP
|
|
11
|
+
* status code, or equivalently the envelope's top-level `success`. Whether
|
|
12
|
+
* anything was actually removed is deleted_count (0 means the ids matched
|
|
13
|
+
* nothing) and per-id results[].deleted / results[].error. This flag is
|
|
14
|
+
* true even for a delete that removed nothing, so it cannot answer either
|
|
15
|
+
* question on its own. Still emitted unchanged for existing clients
|
|
16
|
+
* (PRO-1208).
|
|
17
|
+
*/
|
|
10
18
|
success?: boolean;
|
|
11
19
|
/** Number of memory items deleted. */
|
|
12
20
|
userMemoryDeleted?: number;
|
|
@@ -2,8 +2,6 @@ import type * as HydraDB from "../index.js";
|
|
|
2
2
|
export interface TenantsCustomPropertyDefinition {
|
|
3
3
|
/** Milvus data type for this metadata field. */
|
|
4
4
|
dataType?: HydraDB.TenantsMilvusDataType;
|
|
5
|
-
/** Whether to enable text analysis (tokenization) for BM25 search on this field. */
|
|
6
|
-
enableAnalyzer?: boolean;
|
|
7
5
|
/** Whether to enable semantic (dense) embedding search on this field. */
|
|
8
6
|
enableDenseEmbedding?: boolean;
|
|
9
7
|
/** Whether to enable exact-match filtering on this field. */
|
|
@@ -2,9 +2,9 @@ import type * as HydraDB from "../index.js";
|
|
|
2
2
|
export interface TenantsInfraV2 {
|
|
3
3
|
/** Whether the graph store is healthy for this database. */
|
|
4
4
|
graphStatus?: boolean;
|
|
5
|
-
/** Derived readiness flag: true only when scheduler_status, graph_status, and both vectorstore_status.knowledge and vectorstore_status.memories are true — i.e. the database is fully provisioned and ready to accept ingestion and serve queries. Database creation is asynchronous, so poll GET /databases/status until this is true before ingesting or querying. */
|
|
5
|
+
/** Derived readiness flag: true only when scheduler_status (lifecycle provisioning finished), graph_status, and both vectorstore_status.knowledge and vectorstore_status.memories are true — i.e. the database is fully provisioned and ready to accept ingestion and serve queries. Database creation is asynchronous: collections may appear before provisioning completes, so poll GET /databases/status until this is true before ingesting or querying. */
|
|
6
6
|
readyForIngestion?: boolean;
|
|
7
|
-
/** Whether
|
|
7
|
+
/** Whether lifecycle provisioning has finished for this database (creation_status is ready). False while the database is still being created, even if individual collections already exist. */
|
|
8
8
|
schedulerStatus?: boolean;
|
|
9
9
|
vectorstoreStatus?: HydraDB.TenantsVectorstoreStatusV2;
|
|
10
10
|
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as HydraDB from "../index.js";
|
|
2
|
+
export interface TenantsTenantMetadataSchemaResponse {
|
|
3
|
+
/** Owning database. Formerly `tenant_id`; the `tenant_id` alias is still accepted (deprecated). */
|
|
4
|
+
database?: string;
|
|
5
|
+
fields?: HydraDB.TenantsCustomPropertyDefinition[];
|
|
6
|
+
tenantId?: string;
|
|
7
|
+
}
|
|
@@ -19,4 +19,10 @@ export interface WebhooksDeliveryItem {
|
|
|
19
19
|
status?: string;
|
|
20
20
|
/** RFC3339 timestamp of the most recent update. */
|
|
21
21
|
updatedAt?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Endpoint this delivery was aimed at. Attributes history to the endpoint
|
|
24
|
+
* that was registered when the delivery was created, rather than to whatever
|
|
25
|
+
* is registered now, so a changed URL does not inherit the old one's failures.
|
|
26
|
+
*/
|
|
27
|
+
webhookUrl?: string;
|
|
22
28
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export interface WebhooksSigningSecretResponse {
|
|
2
|
+
/** Whether the returned secret was generated by HydraDB rather than supplied by you. */
|
|
3
|
+
generated?: boolean;
|
|
4
|
+
/** Human-readable result message. */
|
|
5
|
+
message?: string;
|
|
6
|
+
/** Secret used to sign webhook payloads. Deliveries carry `X-HydraDB-Signature: sha256=<hex>`, the HMAC-SHA256 of the raw request body keyed by this secret. Minimum 16 characters when you supply your own; omit it and one is generated for you. On registration, omitting this field preserves any existing secret - to disable signing, call DELETE /webhooks/indexing/signing-secret. */
|
|
7
|
+
signingSecret?: string;
|
|
8
|
+
}
|
|
@@ -5,6 +5,8 @@ export interface WebhooksWebhookRegisterResponse {
|
|
|
5
5
|
message?: string;
|
|
6
6
|
/** Whether a webhook is registered for this API key. */
|
|
7
7
|
registered?: boolean;
|
|
8
|
+
/** Secret used to sign webhook payloads. Deliveries carry `X-HydraDB-Signature: sha256=<hex>`, the HMAC-SHA256 of the raw request body keyed by this secret. Minimum 16 characters when you supply your own; omit it and one is generated for you. On registration, omitting this field preserves any existing secret - to disable signing, call DELETE /webhooks/indexing/signing-secret. */
|
|
9
|
+
signingSecret?: string;
|
|
8
10
|
/** Whether a signing secret has been configured for payload verification. */
|
|
9
11
|
signingSecretConfigured?: boolean;
|
|
10
12
|
/** Registered endpoint URL that receives webhook event deliveries. */
|
|
@@ -1,20 +1,51 @@
|
|
|
1
|
-
export * from "./ConnectorsConnector.js";
|
|
2
1
|
export * from "./ConnectorsResource.js";
|
|
3
2
|
export * from "./DashboardPaginationMeta.js";
|
|
3
|
+
export * from "./FeedbackGroundTruth.js";
|
|
4
|
+
export * from "./FeedbackRating.js";
|
|
5
|
+
export * from "./FeedbackSource.js";
|
|
6
|
+
export * from "./FeedbackSubmitRequest.js";
|
|
7
|
+
export * from "./FeedbackSubmitRequestFeedback.js";
|
|
8
|
+
export * from "./FeedbackSubmitRequestGroundTruth.js";
|
|
9
|
+
export * from "./FeedbackSubmitRequestGroundTruthGroundTruth.js";
|
|
10
|
+
export * from "./FeedbackSubmitRequestGroundTruthGroundTruthAnswer.js";
|
|
11
|
+
export * from "./FeedbackSubmitRequestGroundTruthGroundTruthSourceIds.js";
|
|
12
|
+
export * from "./FeedbackSubmitResponse.js";
|
|
4
13
|
export * from "./FetchV2SourceFetchResponse.js";
|
|
5
14
|
export * from "./GithubComHydradbHydradbApplicationInternalServiceMetadataEditResult.js";
|
|
6
15
|
export * from "./GraphEntity.js";
|
|
7
16
|
export * from "./GraphGraphRelationsResponse.js";
|
|
8
17
|
export * from "./GraphRelationEvidence.js";
|
|
18
|
+
export * from "./GraphSourceSubgraphResponse.js";
|
|
19
|
+
export * from "./GraphSubgraphSource.js";
|
|
9
20
|
export * from "./GraphTripletWithEvidence.js";
|
|
10
21
|
export * from "./HandlerApiError.js";
|
|
22
|
+
export * from "./HandlerCatalogConnector.js";
|
|
23
|
+
export * from "./HandlerConfigureResponse.js";
|
|
24
|
+
export * from "./HandlerConfigureResponseMeta.js";
|
|
25
|
+
export * from "./HandlerConnectorApiView.js";
|
|
26
|
+
export * from "./HandlerConnectorCatalogResponse.js";
|
|
27
|
+
export * from "./HandlerConnectorCreateResponse.js";
|
|
28
|
+
export * from "./HandlerConnectorDeleteResponse.js";
|
|
29
|
+
export * from "./HandlerConnectorListResponse.js";
|
|
30
|
+
export * from "./HandlerConnectorResourceStatus.js";
|
|
31
|
+
export * from "./HandlerConnectorResourcesResponse.js";
|
|
32
|
+
export * from "./HandlerConnectorStatusError.js";
|
|
33
|
+
export * from "./HandlerConnectorStatusResponse.js";
|
|
34
|
+
export * from "./HandlerConnectorSyncResponse.js";
|
|
35
|
+
export * from "./HandlerConnectorUpdateResponse.js";
|
|
36
|
+
export * from "./HandlerCredentialsUpdateResponse.js";
|
|
11
37
|
export * from "./HandlerDeprecationNotice.js";
|
|
38
|
+
export * from "./HandlerDiscoveredResourceDto.js";
|
|
39
|
+
export * from "./HandlerDiscoverResponseBody.js";
|
|
40
|
+
export * from "./HandlerEnvelopeFeedbackSubmitResponse.js";
|
|
12
41
|
export * from "./HandlerEnvelopeFetchV2SourceFetchResponse.js";
|
|
13
42
|
export * from "./HandlerEnvelopeGithubComHydradbHydradbApplicationInternalServiceMetadataEditResult.js";
|
|
14
43
|
export * from "./HandlerEnvelopeGraphGraphRelationsResponse.js";
|
|
44
|
+
export * from "./HandlerEnvelopeGraphSourceSubgraphResponse.js";
|
|
45
|
+
export * from "./HandlerEnvelopeHandlerSupabaseWebhookAck.js";
|
|
15
46
|
export * from "./HandlerEnvelopeIngestionV2BatchProcessingStatus.js";
|
|
16
|
-
export * from "./
|
|
17
|
-
export * from "./
|
|
47
|
+
export * from "./HandlerEnvelopeIngestionV2IngestResponse.js";
|
|
48
|
+
export * from "./HandlerEnvelopeListV2ListResponse.js";
|
|
18
49
|
export * from "./HandlerEnvelopeSearchV2RetrievalResult.js";
|
|
19
50
|
export * from "./HandlerEnvelopeSourcesMemoryDeleteResponse.js";
|
|
20
51
|
export * from "./HandlerEnvelopeTenantsInfraStatusResponseV2.js";
|
|
@@ -22,28 +53,37 @@ export * from "./HandlerEnvelopeTenantsSubTenantIdsResponse.js";
|
|
|
22
53
|
export * from "./HandlerEnvelopeTenantsTenantCreateAcceptedResponse.js";
|
|
23
54
|
export * from "./HandlerEnvelopeTenantsTenantDeleteResponse.js";
|
|
24
55
|
export * from "./HandlerEnvelopeTenantsTenantIdsResponse.js";
|
|
56
|
+
export * from "./HandlerEnvelopeTenantsTenantMetadataSchemaResponse.js";
|
|
25
57
|
export * from "./HandlerEnvelopeTenantsTenantStatsResponse.js";
|
|
26
58
|
export * from "./HandlerEnvelopeWebhooksDeliveryItem.js";
|
|
27
59
|
export * from "./HandlerEnvelopeWebhooksDeliveryListResponse.js";
|
|
28
60
|
export * from "./HandlerEnvelopeWebhooksRetryResponse.js";
|
|
61
|
+
export * from "./HandlerEnvelopeWebhooksSigningSecretResponse.js";
|
|
29
62
|
export * from "./HandlerEnvelopeWebhooksWebhookDeleteResponse.js";
|
|
30
63
|
export * from "./HandlerEnvelopeWebhooksWebhookGetResponse.js";
|
|
31
64
|
export * from "./HandlerEnvelopeWebhooksWebhookRegisterResponse.js";
|
|
32
65
|
export * from "./HandlerEnvelopeWebhooksWebhookTestResponse.js";
|
|
33
66
|
export * from "./HandlerErrorDetail.js";
|
|
67
|
+
export * from "./HandlerErrorEnvelopeSourcesMemoryDeleteResponse.js";
|
|
34
68
|
export * from "./HandlerErrorMeta.js";
|
|
35
69
|
export * from "./HandlerErrorResponse.js";
|
|
36
70
|
export * from "./HandlerMetadataSchemaUpdateResponse.js";
|
|
71
|
+
export * from "./HandlerProviderListResponse.js";
|
|
72
|
+
export * from "./HandlerResourceDeleteResponse.js";
|
|
37
73
|
export * from "./HandlerResourceMapping.js";
|
|
74
|
+
export * from "./HandlerResourceMappingSyncMode.js";
|
|
38
75
|
export * from "./HandlerResponseMeta.js";
|
|
76
|
+
export * from "./HandlerSupabaseWebhookAck.js";
|
|
77
|
+
export * from "./HandlerTableConfigEntry.js";
|
|
39
78
|
export * from "./IngestionSourceStatus.js";
|
|
40
79
|
export * from "./IngestionV2BatchProcessingStatus.js";
|
|
80
|
+
export * from "./IngestionV2IngestResponse.js";
|
|
81
|
+
export * from "./IngestionV2IngestResultItem.js";
|
|
41
82
|
export * from "./IngestionV2ProcessingStatus.js";
|
|
42
|
-
export * from "./IngestionV2SourceUploadResponse.js";
|
|
43
|
-
export * from "./IngestionV2SourceUploadResultItem.js";
|
|
44
83
|
export * from "./ListContentFilter.js";
|
|
45
|
-
export * from "./
|
|
46
|
-
export * from "./
|
|
84
|
+
export * from "./ListV2ListResponse.js";
|
|
85
|
+
export * from "./ListV2MemoryItem.js";
|
|
86
|
+
export * from "./ListV2SourceItem.js";
|
|
47
87
|
export * from "./SearchGraphContext.js";
|
|
48
88
|
export * from "./SearchMetadataFilters.js";
|
|
49
89
|
export * from "./SearchOperator.js";
|
|
@@ -53,8 +93,14 @@ export * from "./SearchQueryRequestCollections.js";
|
|
|
53
93
|
export * from "./SearchQueryRequestSubTenantIds.js";
|
|
54
94
|
export * from "./SearchRecallMode.js";
|
|
55
95
|
export * from "./SearchScoredPathResponse.js";
|
|
96
|
+
export * from "./SearchSourceFact.js";
|
|
97
|
+
export * from "./SearchSourceFilterInfo.js";
|
|
56
98
|
export * from "./SearchSourceInfo.js";
|
|
57
99
|
export * from "./SearchSourceType.js";
|
|
100
|
+
export * from "./SearchTemporalDuration.js";
|
|
101
|
+
export * from "./SearchTemporalFact.js";
|
|
102
|
+
export * from "./SearchTemporalFilterInfo.js";
|
|
103
|
+
export * from "./SearchTemporalIntentOverride.js";
|
|
58
104
|
export * from "./SearchV2Chunk.js";
|
|
59
105
|
export * from "./SearchV2RetrievalResult.js";
|
|
60
106
|
export * from "./SourcesMemoryDeleteResponse.js";
|
|
@@ -69,11 +115,13 @@ export * from "./TenantsSubTenantIdsResponse.js";
|
|
|
69
115
|
export * from "./TenantsTenantCreateAcceptedResponse.js";
|
|
70
116
|
export * from "./TenantsTenantDeleteResponse.js";
|
|
71
117
|
export * from "./TenantsTenantIdsResponse.js";
|
|
118
|
+
export * from "./TenantsTenantMetadataSchemaResponse.js";
|
|
72
119
|
export * from "./TenantsTenantStatsResponse.js";
|
|
73
120
|
export * from "./TenantsVectorstoreStatusV2.js";
|
|
74
121
|
export * from "./WebhooksDeliveryItem.js";
|
|
75
122
|
export * from "./WebhooksDeliveryListResponse.js";
|
|
76
123
|
export * from "./WebhooksRetryResponse.js";
|
|
124
|
+
export * from "./WebhooksSigningSecretResponse.js";
|
|
77
125
|
export * from "./WebhooksWebhookDeleteResponse.js";
|
|
78
126
|
export * from "./WebhooksWebhookGetResponse.js";
|
|
79
127
|
export * from "./WebhooksWebhookRegisterResponse.js";
|