@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,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @example
|
|
3
|
+
* {
|
|
4
|
+
* id: "HydraDoc1234",
|
|
5
|
+
* resourceId: "C0123456789",
|
|
6
|
+
* body: {
|
|
7
|
+
* "key": "value"
|
|
8
|
+
* }
|
|
9
|
+
* }
|
|
10
|
+
*/
|
|
11
|
+
export interface UpdateResourceAclConnectorsRequest {
|
|
12
|
+
/** Connector ID */
|
|
13
|
+
id: string;
|
|
14
|
+
/** Resource ID */
|
|
15
|
+
resourceId: string;
|
|
16
|
+
body: Record<string, unknown>;
|
|
17
|
+
}
|
|
@@ -4,9 +4,12 @@ export type { DiscoverConnectorsRequest } from "./DiscoverConnectorsRequest.js";
|
|
|
4
4
|
export type { GetConnectorsRequest } from "./GetConnectorsRequest.js";
|
|
5
5
|
export type { HandlerConfigureReq } from "./HandlerConfigureReq.js";
|
|
6
6
|
export type { HandlerConnectorCreateReq } from "./HandlerConnectorCreateReq.js";
|
|
7
|
+
export type { HandlerConnectorUpdateReq } from "./HandlerConnectorUpdateReq.js";
|
|
7
8
|
export type { HandlerDiscoverPreviewReq } from "./HandlerDiscoverPreviewReq.js";
|
|
8
9
|
export type { HandlerResourceCreateReq } from "./HandlerResourceCreateReq.js";
|
|
9
10
|
export type { ListConnectorsRequest } from "./ListConnectorsRequest.js";
|
|
10
11
|
export type { ListResourcesConnectorsRequest } from "./ListResourcesConnectorsRequest.js";
|
|
11
12
|
export type { PatchConnectorsIdCredentialsRequest } from "./PatchConnectorsIdCredentialsRequest.js";
|
|
13
|
+
export type { StatusConnectorsRequest } from "./StatusConnectorsRequest.js";
|
|
12
14
|
export type { SyncConnectorsRequest } from "./SyncConnectorsRequest.js";
|
|
15
|
+
export type { UpdateResourceAclConnectorsRequest } from "./UpdateResourceAclConnectorsRequest.js";
|
|
@@ -13,10 +13,27 @@ export declare class ContextClient {
|
|
|
13
13
|
/**
|
|
14
14
|
* Delete one or more knowledge sources or memories by ID.
|
|
15
15
|
*
|
|
16
|
+
* By default this endpoint answers 200 for every outcome, including a delete
|
|
17
|
+
* that removed nothing — check `data.deleted_count` and `data.results` rather
|
|
18
|
+
* than the status code.
|
|
19
|
+
*
|
|
20
|
+
* Send `X-HydraDB-Delete-Status: strict` to opt in to honest status codes: a
|
|
21
|
+
* delete that did not happen then answers 404/409/500 and never 200. This is
|
|
22
|
+
* the recommended mode for new integrations. On those failures the response
|
|
23
|
+
* `data` still carries the same `results` / `deleted_count` payload a 200
|
|
24
|
+
* carries, so per-id outcomes stay readable either way.
|
|
25
|
+
*
|
|
26
|
+
* The default is expected to become strict in a future release, at which
|
|
27
|
+
* point `X-HydraDB-Delete-Status: legacy` keeps the unconditional 200 for a
|
|
28
|
+
* caller that is not ready.
|
|
29
|
+
*
|
|
16
30
|
* @param {HydraDB.SourcesV2SourceDeleteRequest} request
|
|
17
31
|
* @param {ContextClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
18
32
|
*
|
|
19
33
|
* @throws {@link HydraDB.BadRequestError}
|
|
34
|
+
* @throws {@link HydraDB.NotFoundError}
|
|
35
|
+
* @throws {@link HydraDB.ConflictError}
|
|
36
|
+
* @throws {@link HydraDB.InternalServerError}
|
|
20
37
|
*
|
|
21
38
|
* @example
|
|
22
39
|
* await client.context.delete()
|
|
@@ -40,7 +57,7 @@ export declare class ContextClient {
|
|
|
40
57
|
* database: "database"
|
|
41
58
|
* })
|
|
42
59
|
*/
|
|
43
|
-
ingest(request: HydraDB.IngestContextRequest, requestOptions?: ContextClient.RequestOptions): core.HttpResponsePromise<HydraDB.
|
|
60
|
+
ingest(request: HydraDB.IngestContextRequest, requestOptions?: ContextClient.RequestOptions): core.HttpResponsePromise<HydraDB.HandlerEnvelopeIngestionV2IngestResponse>;
|
|
44
61
|
private __ingest;
|
|
45
62
|
/**
|
|
46
63
|
* Fetch a previously ingested source's content, inferred content, and a downloadable URL.
|
|
@@ -74,7 +91,7 @@ export declare class ContextClient {
|
|
|
74
91
|
* @example
|
|
75
92
|
* await client.context.list()
|
|
76
93
|
*/
|
|
77
|
-
list(request?: HydraDB.ListV2ListContentRequest, requestOptions?: ContextClient.RequestOptions): core.HttpResponsePromise<HydraDB.
|
|
94
|
+
list(request?: HydraDB.ListV2ListContentRequest, requestOptions?: ContextClient.RequestOptions): core.HttpResponsePromise<HydraDB.HandlerEnvelopeListV2ListResponse>;
|
|
78
95
|
private __list;
|
|
79
96
|
/**
|
|
80
97
|
* Return knowledge-graph relations for a tenant or a single source.
|
|
@@ -114,6 +131,25 @@ export declare class ContextClient {
|
|
|
114
131
|
*/
|
|
115
132
|
status(request: HydraDB.StatusContextRequest, requestOptions?: ContextClient.RequestOptions): core.HttpResponsePromise<HydraDB.HandlerEnvelopeIngestionV2BatchProcessingStatus>;
|
|
116
133
|
private __status;
|
|
134
|
+
/**
|
|
135
|
+
* Return the connected subgraph of a source: every source reachable from it through source-level relations (RELATES_TO edges, shared thread, parent/child hierarchy, traversed BFS), the relations among them, and the auxiliary graph around them (entities, comments, attachments, actors). Chunk-level entity relations are not included.
|
|
136
|
+
*
|
|
137
|
+
* @param {HydraDB.SubgraphContextRequest} request
|
|
138
|
+
* @param {ContextClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
139
|
+
*
|
|
140
|
+
* @throws {@link HydraDB.BadRequestError}
|
|
141
|
+
*
|
|
142
|
+
* @example
|
|
143
|
+
* await client.context.subgraph({
|
|
144
|
+
* database: "acme_corp",
|
|
145
|
+
* collection: "team_docs",
|
|
146
|
+
* tenantId: "tenant_1234",
|
|
147
|
+
* subTenantId: "sub_tenant_4567",
|
|
148
|
+
* id: "HydraDoc1234"
|
|
149
|
+
* })
|
|
150
|
+
*/
|
|
151
|
+
subgraph(request: HydraDB.SubgraphContextRequest, requestOptions?: ContextClient.RequestOptions): core.HttpResponsePromise<HydraDB.HandlerEnvelopeGraphSourceSubgraphResponse>;
|
|
152
|
+
private __subgraph;
|
|
117
153
|
/**
|
|
118
154
|
* Merge/upsert database_metadata and additional_metadata for one source. collection is required.
|
|
119
155
|
*
|
|
@@ -50,10 +50,27 @@ class ContextClient {
|
|
|
50
50
|
/**
|
|
51
51
|
* Delete one or more knowledge sources or memories by ID.
|
|
52
52
|
*
|
|
53
|
+
* By default this endpoint answers 200 for every outcome, including a delete
|
|
54
|
+
* that removed nothing — check `data.deleted_count` and `data.results` rather
|
|
55
|
+
* than the status code.
|
|
56
|
+
*
|
|
57
|
+
* Send `X-HydraDB-Delete-Status: strict` to opt in to honest status codes: a
|
|
58
|
+
* delete that did not happen then answers 404/409/500 and never 200. This is
|
|
59
|
+
* the recommended mode for new integrations. On those failures the response
|
|
60
|
+
* `data` still carries the same `results` / `deleted_count` payload a 200
|
|
61
|
+
* carries, so per-id outcomes stay readable either way.
|
|
62
|
+
*
|
|
63
|
+
* The default is expected to become strict in a future release, at which
|
|
64
|
+
* point `X-HydraDB-Delete-Status: legacy` keeps the unconditional 200 for a
|
|
65
|
+
* caller that is not ready.
|
|
66
|
+
*
|
|
53
67
|
* @param {HydraDB.SourcesV2SourceDeleteRequest} request
|
|
54
68
|
* @param {ContextClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
55
69
|
*
|
|
56
70
|
* @throws {@link HydraDB.BadRequestError}
|
|
71
|
+
* @throws {@link HydraDB.NotFoundError}
|
|
72
|
+
* @throws {@link HydraDB.ConflictError}
|
|
73
|
+
* @throws {@link HydraDB.InternalServerError}
|
|
57
74
|
*
|
|
58
75
|
* @example
|
|
59
76
|
* await client.context.delete()
|
|
@@ -62,8 +79,12 @@ class ContextClient {
|
|
|
62
79
|
return core.HttpResponsePromise.fromPromise(this.__delete(request, requestOptions));
|
|
63
80
|
}
|
|
64
81
|
async __delete(request = {}, requestOptions) {
|
|
82
|
+
const { hydraDbDeleteStatus, ..._body } = request;
|
|
65
83
|
const _authRequest = await this._options.authProvider.getAuthRequest();
|
|
66
|
-
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, this._options?.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({
|
|
84
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, this._options?.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({
|
|
85
|
+
"X-HydraDB-Delete-Status": hydraDbDeleteStatus,
|
|
86
|
+
"API-Version": requestOptions?.apiVersion ?? this._options?.apiVersion ?? "2",
|
|
87
|
+
}), requestOptions?.headers);
|
|
67
88
|
const _response = await core.fetcher({
|
|
68
89
|
url: core.url.join((await core.Supplier.get(this._options.baseUrl)) ??
|
|
69
90
|
(await core.Supplier.get(this._options.environment)) ??
|
|
@@ -73,7 +94,7 @@ class ContextClient {
|
|
|
73
94
|
contentType: "application/json",
|
|
74
95
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions?.queryParams).build(),
|
|
75
96
|
requestType: "json",
|
|
76
|
-
body: serializers.SourcesV2SourceDeleteRequest.jsonOrThrow(
|
|
97
|
+
body: serializers.SourcesV2SourceDeleteRequest.jsonOrThrow(_body, {
|
|
77
98
|
unrecognizedObjectKeys: "strip",
|
|
78
99
|
omitUndefined: true,
|
|
79
100
|
}),
|
|
@@ -105,6 +126,12 @@ class ContextClient {
|
|
|
105
126
|
skipValidation: true,
|
|
106
127
|
breadcrumbsPrefix: ["response"],
|
|
107
128
|
}), _response.rawResponse);
|
|
129
|
+
case 404:
|
|
130
|
+
throw new HydraDB.NotFoundError(_response.error.body, _response.rawResponse);
|
|
131
|
+
case 409:
|
|
132
|
+
throw new HydraDB.ConflictError(_response.error.body, _response.rawResponse);
|
|
133
|
+
case 500:
|
|
134
|
+
throw new HydraDB.InternalServerError(_response.error.body, _response.rawResponse);
|
|
108
135
|
default:
|
|
109
136
|
throw new errors.HydraDBError({
|
|
110
137
|
statusCode: _response.error.statusCode,
|
|
@@ -195,7 +222,7 @@ class ContextClient {
|
|
|
195
222
|
});
|
|
196
223
|
if (_response.ok) {
|
|
197
224
|
return {
|
|
198
|
-
data: serializers.
|
|
225
|
+
data: serializers.HandlerEnvelopeIngestionV2IngestResponse.parseOrThrow(_response.body, {
|
|
199
226
|
unrecognizedObjectKeys: "passthrough",
|
|
200
227
|
allowUnrecognizedUnionMembers: true,
|
|
201
228
|
allowUnrecognizedEnumValues: true,
|
|
@@ -272,7 +299,7 @@ class ContextClient {
|
|
|
272
299
|
return core.HttpResponsePromise.fromPromise(this.__inspect(request, requestOptions));
|
|
273
300
|
}
|
|
274
301
|
async __inspect(request, requestOptions) {
|
|
275
|
-
const { id, database, collection, tenantId, subTenantId, expirySeconds, mode } = request;
|
|
302
|
+
const { id, database, collection, tenantId, subTenantId, expirySeconds, mode, acl } = request;
|
|
276
303
|
const _queryParams = {
|
|
277
304
|
id,
|
|
278
305
|
database,
|
|
@@ -281,6 +308,7 @@ class ContextClient {
|
|
|
281
308
|
sub_tenant_id: subTenantId,
|
|
282
309
|
expiry_seconds: expirySeconds,
|
|
283
310
|
mode,
|
|
311
|
+
acl,
|
|
284
312
|
};
|
|
285
313
|
const _authRequest = await this._options.authProvider.getAuthRequest();
|
|
286
314
|
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, this._options?.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "API-Version": requestOptions?.apiVersion ?? this._options?.apiVersion ?? "2" }), requestOptions?.headers);
|
|
@@ -373,7 +401,7 @@ class ContextClient {
|
|
|
373
401
|
});
|
|
374
402
|
if (_response.ok) {
|
|
375
403
|
return {
|
|
376
|
-
data: serializers.
|
|
404
|
+
data: serializers.HandlerEnvelopeListV2ListResponse.parseOrThrow(_response.body, {
|
|
377
405
|
unrecognizedObjectKeys: "passthrough",
|
|
378
406
|
allowUnrecognizedUnionMembers: true,
|
|
379
407
|
allowUnrecognizedEnumValues: true,
|
|
@@ -424,7 +452,7 @@ class ContextClient {
|
|
|
424
452
|
return core.HttpResponsePromise.fromPromise(this.__relations(request, requestOptions));
|
|
425
453
|
}
|
|
426
454
|
async __relations(request, requestOptions) {
|
|
427
|
-
const { database, collection, tenantId, subTenantId, id, type: type_, limit, cursor } = request;
|
|
455
|
+
const { database, collection, tenantId, subTenantId, id, type: type_, limit, cursor, acl } = request;
|
|
428
456
|
const _queryParams = {
|
|
429
457
|
database,
|
|
430
458
|
collection,
|
|
@@ -439,6 +467,7 @@ class ContextClient {
|
|
|
439
467
|
: undefined,
|
|
440
468
|
limit,
|
|
441
469
|
cursor,
|
|
470
|
+
acl,
|
|
442
471
|
};
|
|
443
472
|
const _authRequest = await this._options.authProvider.getAuthRequest();
|
|
444
473
|
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, this._options?.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "API-Version": requestOptions?.apiVersion ?? this._options?.apiVersion ?? "2" }), requestOptions?.headers);
|
|
@@ -572,6 +601,95 @@ class ContextClient {
|
|
|
572
601
|
}
|
|
573
602
|
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/context/status");
|
|
574
603
|
}
|
|
604
|
+
/**
|
|
605
|
+
* Return the connected subgraph of a source: every source reachable from it through source-level relations (RELATES_TO edges, shared thread, parent/child hierarchy, traversed BFS), the relations among them, and the auxiliary graph around them (entities, comments, attachments, actors). Chunk-level entity relations are not included.
|
|
606
|
+
*
|
|
607
|
+
* @param {HydraDB.SubgraphContextRequest} request
|
|
608
|
+
* @param {ContextClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
609
|
+
*
|
|
610
|
+
* @throws {@link HydraDB.BadRequestError}
|
|
611
|
+
*
|
|
612
|
+
* @example
|
|
613
|
+
* await client.context.subgraph({
|
|
614
|
+
* database: "acme_corp",
|
|
615
|
+
* collection: "team_docs",
|
|
616
|
+
* tenantId: "tenant_1234",
|
|
617
|
+
* subTenantId: "sub_tenant_4567",
|
|
618
|
+
* id: "HydraDoc1234"
|
|
619
|
+
* })
|
|
620
|
+
*/
|
|
621
|
+
subgraph(request, requestOptions) {
|
|
622
|
+
return core.HttpResponsePromise.fromPromise(this.__subgraph(request, requestOptions));
|
|
623
|
+
}
|
|
624
|
+
async __subgraph(request, requestOptions) {
|
|
625
|
+
const { database, collection, tenantId, subTenantId, id, type: type_, depth, maxSources, acl } = request;
|
|
626
|
+
const _queryParams = {
|
|
627
|
+
database,
|
|
628
|
+
collection,
|
|
629
|
+
tenant_id: tenantId,
|
|
630
|
+
sub_tenant_id: subTenantId,
|
|
631
|
+
id,
|
|
632
|
+
type: type_ != null
|
|
633
|
+
? serializers.SubgraphContextRequestType.jsonOrThrow(type_, {
|
|
634
|
+
unrecognizedObjectKeys: "strip",
|
|
635
|
+
omitUndefined: true,
|
|
636
|
+
})
|
|
637
|
+
: undefined,
|
|
638
|
+
depth,
|
|
639
|
+
max_sources: maxSources,
|
|
640
|
+
acl,
|
|
641
|
+
};
|
|
642
|
+
const _authRequest = await this._options.authProvider.getAuthRequest();
|
|
643
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, this._options?.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "API-Version": requestOptions?.apiVersion ?? this._options?.apiVersion ?? "2" }), requestOptions?.headers);
|
|
644
|
+
const _response = await core.fetcher({
|
|
645
|
+
url: core.url.join((await core.Supplier.get(this._options.baseUrl)) ??
|
|
646
|
+
(await core.Supplier.get(this._options.environment)) ??
|
|
647
|
+
environments.HydraDBEnvironment.Default, "context/subgraph"),
|
|
648
|
+
method: "GET",
|
|
649
|
+
headers: _headers,
|
|
650
|
+
queryString: core.url
|
|
651
|
+
.queryBuilder()
|
|
652
|
+
.addMany(_queryParams)
|
|
653
|
+
.mergeAdditional(requestOptions?.queryParams)
|
|
654
|
+
.build(),
|
|
655
|
+
timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
|
|
656
|
+
maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
|
|
657
|
+
abortSignal: requestOptions?.abortSignal,
|
|
658
|
+
fetchFn: this._options?.fetch,
|
|
659
|
+
logging: this._options.logging,
|
|
660
|
+
});
|
|
661
|
+
if (_response.ok) {
|
|
662
|
+
return {
|
|
663
|
+
data: serializers.HandlerEnvelopeGraphSourceSubgraphResponse.parseOrThrow(_response.body, {
|
|
664
|
+
unrecognizedObjectKeys: "passthrough",
|
|
665
|
+
allowUnrecognizedUnionMembers: true,
|
|
666
|
+
allowUnrecognizedEnumValues: true,
|
|
667
|
+
skipValidation: true,
|
|
668
|
+
breadcrumbsPrefix: ["response"],
|
|
669
|
+
}),
|
|
670
|
+
rawResponse: _response.rawResponse,
|
|
671
|
+
};
|
|
672
|
+
}
|
|
673
|
+
if (_response.error.reason === "status-code") {
|
|
674
|
+
switch (_response.error.statusCode) {
|
|
675
|
+
case 400:
|
|
676
|
+
throw new HydraDB.BadRequestError(serializers.HandlerErrorResponse.parseOrThrow(_response.error.body, {
|
|
677
|
+
unrecognizedObjectKeys: "passthrough",
|
|
678
|
+
allowUnrecognizedUnionMembers: true,
|
|
679
|
+
allowUnrecognizedEnumValues: true,
|
|
680
|
+
skipValidation: true,
|
|
681
|
+
breadcrumbsPrefix: ["response"],
|
|
682
|
+
}), _response.rawResponse);
|
|
683
|
+
default:
|
|
684
|
+
throw new errors.HydraDBError({
|
|
685
|
+
statusCode: _response.error.statusCode,
|
|
686
|
+
body: _response.error.body,
|
|
687
|
+
rawResponse: _response.rawResponse,
|
|
688
|
+
});
|
|
689
|
+
}
|
|
690
|
+
}
|
|
691
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/context/subgraph");
|
|
692
|
+
}
|
|
575
693
|
/**
|
|
576
694
|
* Merge/upsert database_metadata and additional_metadata for one source. collection is required.
|
|
577
695
|
*
|
|
@@ -638,13 +756,7 @@ class ContextClient {
|
|
|
638
756
|
case 404:
|
|
639
757
|
throw new HydraDB.NotFoundError(_response.error.body, _response.rawResponse);
|
|
640
758
|
case 500:
|
|
641
|
-
throw new HydraDB.InternalServerError(
|
|
642
|
-
unrecognizedObjectKeys: "passthrough",
|
|
643
|
-
allowUnrecognizedUnionMembers: true,
|
|
644
|
-
allowUnrecognizedEnumValues: true,
|
|
645
|
-
skipValidation: true,
|
|
646
|
-
breadcrumbsPrefix: ["response"],
|
|
647
|
-
}), _response.rawResponse);
|
|
759
|
+
throw new HydraDB.InternalServerError(_response.error.body, _response.rawResponse);
|
|
648
760
|
default:
|
|
649
761
|
throw new errors.HydraDBError({
|
|
650
762
|
statusCode: _response.error.statusCode,
|
|
@@ -7,7 +7,21 @@
|
|
|
7
7
|
export interface HandlerContextMetadataUpdateRequest {
|
|
8
8
|
/** Source ID */
|
|
9
9
|
id: string;
|
|
10
|
-
/**
|
|
10
|
+
/**
|
|
11
|
+
* ACL, when present, REPLACES the source's access-control list without
|
|
12
|
+
* re-ingestion (PRO-1684): pass the COMPLETE new allow-list (adding a
|
|
13
|
+
* third user means sending all three), an empty list to make the source
|
|
14
|
+
* private, or ["__public__"] to open it to every identified caller. A
|
|
15
|
+
* pointer so omitted (nil, ACL untouched) is distinguishable from an
|
|
16
|
+
* explicit empty list (private).
|
|
17
|
+
* ACL uses RawMessage so the handler can tell three wire states apart:
|
|
18
|
+
* absent (leave the stored ACL untouched), explicit null (revoke to
|
|
19
|
+
* nobody, JSON-merge-patch semantics), and a list (replace). A plain
|
|
20
|
+
* *[]string cannot: encoding/json leaves the pointer nil for BOTH
|
|
21
|
+
* absent and null, which silently ignored an explicit null revocation.
|
|
22
|
+
*/
|
|
23
|
+
acl?: string[];
|
|
24
|
+
/** Free-form key-value pairs to merge into the source's `additional_metadata`. The only accepted spelling for document metadata on this endpoint. Capped at 1 KiB, measured on the compact JSON encoding of the whole map in UTF-8 bytes — keys, quotes, commas and braces count toward the budget. Over-cap returns 400 with the actual byte count. */
|
|
11
25
|
additionalMetadata?: Record<string, unknown>;
|
|
12
26
|
/** Collection scope. Defaults to the default collection when omitted. Formerly `sub_tenant_id`; the `sub_tenant_id` alias is still accepted (deprecated). */
|
|
13
27
|
collection?: string;
|
|
@@ -17,14 +31,14 @@ export interface HandlerContextMetadataUpdateRequest {
|
|
|
17
31
|
* the request body before binding, so the handler reads TenantID/SubTenantID.
|
|
18
32
|
*/
|
|
19
33
|
database?: string;
|
|
20
|
-
/** Schema-backed metadata fields to merge into the source's `metadata` (database metadata). Canonical name; `tenant_metadata` is a deprecated alias. */
|
|
34
|
+
/** Schema-backed metadata fields to merge into the source's `metadata` (database metadata). Canonical name; `tenant_metadata` is a deprecated alias. Capped at 16 KiB, measured on the compact JSON encoding of the whole map in UTF-8 bytes — keys, quotes, commas and braces count toward the budget. Over-cap returns 400 with the actual byte count. */
|
|
21
35
|
databaseMetadata?: Record<string, unknown>;
|
|
22
|
-
/**
|
|
36
|
+
/** Not accepted on this endpoint. Sending any non-null value returns 400 (`document_metadata is not accepted; use additional_metadata`), regardless of size. Use `additional_metadata` instead. Accepted as an alias on /context/ingest only. */
|
|
23
37
|
documentMetadata?: Record<string, unknown>;
|
|
24
38
|
/** deprecated: use collection */
|
|
25
39
|
subTenantId?: string;
|
|
26
40
|
/** deprecated: use database */
|
|
27
41
|
tenantId?: string;
|
|
28
|
-
/**
|
|
42
|
+
/** Deprecated alias for `database_metadata`, still accepted here; `database_metadata` wins when both are sent. Capped at 16 KiB, measured on the compact JSON encoding of the whole map in UTF-8 bytes — keys, quotes, commas and braces count toward the budget. Over-cap returns 400 with the actual byte count. */
|
|
29
43
|
tenantMetadata?: Record<string, unknown>;
|
|
30
44
|
}
|
|
@@ -7,12 +7,15 @@ import type * as HydraDB from "../../../../index.js";
|
|
|
7
7
|
* }
|
|
8
8
|
*/
|
|
9
9
|
export interface IngestContextRequest {
|
|
10
|
+
/** App-knowledge items as a JSON array (type=knowledge). Per item, `metadata` is capped at 16 KiB and `additional_metadata` at 1 KiB, measured on the compact JSON encoding of the whole map in UTF-8 bytes (keys and punctuation count). The deprecated `tenant_metadata` / `document_metadata` spellings are accepted here and held to the same caps. Over-cap returns 400 with the actual byte count. Each item may also carry `acl`, a list of principals (`user_email:<email>`, a bare email, `group:<provider>:<id>`, `domain:<domain>`, or `__public__`) restricting who may retrieve it; omit it to leave the document unrestricted, and send an empty list to restrict it to nobody. A malformed principal rejects the whole request with 400. */
|
|
10
11
|
appKnowledge?: string;
|
|
11
12
|
collection?: string;
|
|
12
13
|
database: string;
|
|
14
|
+
/** Per-document metadata as a JSON array (type=knowledge). Per item, `metadata` is capped at 16 KiB and `additional_metadata` at 1 KiB. Both caps are measured on the compact JSON encoding of the whole map in UTF-8 bytes, so keys, quotes, commas and braces count toward the budget. Over-cap returns 400 with the actual byte count. */
|
|
13
15
|
documentMetadata?: string;
|
|
14
16
|
documents?: core.file.Uploadable | undefined;
|
|
15
17
|
graphPayload?: string;
|
|
18
|
+
/** Memory items as a JSON array (type=memory). Per item, `metadata` is capped at 16 KiB and `additional_metadata` at 1 KiB, measured on the compact JSON encoding of the whole map in UTF-8 bytes (keys and punctuation count). Over-cap returns 400 with the actual byte count. */
|
|
16
19
|
memories?: string;
|
|
17
20
|
subTenantId?: string;
|
|
18
21
|
tenantId?: string;
|
|
@@ -24,4 +24,6 @@ export interface InspectContextRequest {
|
|
|
24
24
|
expirySeconds?: number;
|
|
25
25
|
/** Fetch mode */
|
|
26
26
|
mode?: string;
|
|
27
|
+
/** Principals to answer as (PRO-1684 document ACLs): the source must be visible to them, or the response is 404. Repeated (acl=a&acl=b) or comma-separated. Omit for no ACL scoping. */
|
|
28
|
+
acl?: string | string[];
|
|
27
29
|
}
|
|
@@ -4,6 +4,8 @@ import type * as HydraDB from "../../../../index.js";
|
|
|
4
4
|
* {}
|
|
5
5
|
*/
|
|
6
6
|
export interface ListV2ListContentRequest {
|
|
7
|
+
/** ACL: see ListContentRequest.ACL (PRO-1684 document ACLs). */
|
|
8
|
+
acl?: string[];
|
|
7
9
|
/** Collection scope. Defaults to the default collection when omitted. Formerly `sub_tenant_id`; the `sub_tenant_id` alias is still accepted (deprecated). */
|
|
8
10
|
collection?: string;
|
|
9
11
|
/**
|
|
@@ -13,6 +15,14 @@ export interface ListV2ListContentRequest {
|
|
|
13
15
|
*/
|
|
14
16
|
database?: string;
|
|
15
17
|
filters?: HydraDB.ListContentFilter;
|
|
18
|
+
/**
|
|
19
|
+
* GroupThreads (type=knowledge only) folds each ticket's/thread root's
|
|
20
|
+
* discussion (comment and message app sources carrying an app_parent_id)
|
|
21
|
+
* under the parent row as `comments`, newest first, instead of listing them
|
|
22
|
+
* as separate top-level rows. Off by default: the flat shape is the
|
|
23
|
+
* existing contract.
|
|
24
|
+
*/
|
|
25
|
+
groupThreads?: boolean;
|
|
16
26
|
/** When provided, only items with these IDs are returned. Pagination and filters still apply. */
|
|
17
27
|
ids?: string[];
|
|
18
28
|
/** Field projection — only the listed fields plus id, database, collection are returned. Only applies to type=knowledge. */
|
|
@@ -26,4 +26,6 @@ export interface RelationsContextRequest {
|
|
|
26
26
|
limit?: number;
|
|
27
27
|
/** Pagination cursor */
|
|
28
28
|
cursor?: number;
|
|
29
|
+
/** Principals to answer as (PRO-1684 document ACLs): only relations attributable to sources they may see are returned. Repeated (acl=a&acl=b) or comma-separated. Omit for no ACL scoping. */
|
|
30
|
+
acl?: string | string[];
|
|
29
31
|
}
|
|
@@ -4,6 +4,8 @@ import type * as HydraDB from "../../../../index.js";
|
|
|
4
4
|
* {}
|
|
5
5
|
*/
|
|
6
6
|
export interface SourcesV2SourceDeleteRequest {
|
|
7
|
+
/** Selects the status behaviour for this request. `strict` opts in to honest 404/409/500 codes when the delete did not happen; `legacy` forces the unconditional 200. Omitted, the server default applies — currently `legacy`. */
|
|
8
|
+
hydraDbDeleteStatus?: HydraDB.DeleteContextRequestXHydraDbDeleteStatus;
|
|
7
9
|
/** Collection scope. Defaults to the default collection when omitted. Formerly `sub_tenant_id`; the `sub_tenant_id` alias is still accepted (deprecated). */
|
|
8
10
|
collection?: string;
|
|
9
11
|
/**
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type * as HydraDB from "../../../../index.js";
|
|
2
|
+
/**
|
|
3
|
+
* @example
|
|
4
|
+
* {
|
|
5
|
+
* database: "acme_corp",
|
|
6
|
+
* collection: "team_docs",
|
|
7
|
+
* tenantId: "tenant_1234",
|
|
8
|
+
* subTenantId: "sub_tenant_4567",
|
|
9
|
+
* id: "HydraDoc1234"
|
|
10
|
+
* }
|
|
11
|
+
*/
|
|
12
|
+
export interface SubgraphContextRequest {
|
|
13
|
+
/** Database (canonical name for the tenant scope) */
|
|
14
|
+
database: string;
|
|
15
|
+
/** Collection (canonical name for the sub-tenant scope) */
|
|
16
|
+
collection?: string;
|
|
17
|
+
/** Deprecated alias for database */
|
|
18
|
+
tenantId?: string;
|
|
19
|
+
/** Deprecated alias for collection */
|
|
20
|
+
subTenantId?: string;
|
|
21
|
+
/** Seed source ID */
|
|
22
|
+
id: string;
|
|
23
|
+
/** Corpus type: 'knowledge' or 'memory' */
|
|
24
|
+
type?: HydraDB.SubgraphContextRequestType;
|
|
25
|
+
/** Max BFS depth */
|
|
26
|
+
depth?: number;
|
|
27
|
+
/** Max subgraph members */
|
|
28
|
+
maxSources?: number;
|
|
29
|
+
/** Principals to answer as (PRO-1684 document ACLs): the subgraph contains only sources they may see, filtered at every hop. Repeated (acl=a&acl=b) or comma-separated. Omit for no ACL scoping. */
|
|
30
|
+
acl?: string | string[];
|
|
31
|
+
}
|
|
@@ -5,3 +5,4 @@ export type { ListV2ListContentRequest } from "./ListV2ListContentRequest.js";
|
|
|
5
5
|
export type { RelationsContextRequest } from "./RelationsContextRequest.js";
|
|
6
6
|
export type { SourcesV2SourceDeleteRequest } from "./SourcesV2SourceDeleteRequest.js";
|
|
7
7
|
export type { StatusContextRequest } from "./StatusContextRequest.js";
|
|
8
|
+
export type { SubgraphContextRequest } from "./SubgraphContextRequest.js";
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const DeleteContextRequestXHydraDbDeleteStatus: {
|
|
2
|
+
readonly Strict: "strict";
|
|
3
|
+
readonly Legacy: "legacy";
|
|
4
|
+
};
|
|
5
|
+
export type DeleteContextRequestXHydraDbDeleteStatus = (typeof DeleteContextRequestXHydraDbDeleteStatus)[keyof typeof DeleteContextRequestXHydraDbDeleteStatus];
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.DeleteContextRequestXHydraDbDeleteStatus = void 0;
|
|
5
|
+
exports.DeleteContextRequestXHydraDbDeleteStatus = {
|
|
6
|
+
Strict: "strict",
|
|
7
|
+
Legacy: "legacy",
|
|
8
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.SubgraphContextRequestType = void 0;
|
|
5
|
+
exports.SubgraphContextRequestType = {
|
|
6
|
+
Knowledge: "knowledge",
|
|
7
|
+
Memory: "memory",
|
|
8
|
+
};
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
export * from "./DeleteContextRequestXHydraDbDeleteStatus.js";
|
|
1
2
|
export * from "./IngestContextRequestType.js";
|
|
2
3
|
export * from "./ListV2ListContentRequestType.js";
|
|
3
4
|
export * from "./RelationsContextRequestType.js";
|
|
4
5
|
export * from "./SourcesV2SourceDeleteRequestType.js";
|
|
6
|
+
export * from "./SubgraphContextRequestType.js";
|
|
@@ -14,7 +14,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./DeleteContextRequestXHydraDbDeleteStatus.js"), exports);
|
|
17
18
|
__exportStar(require("./IngestContextRequestType.js"), exports);
|
|
18
19
|
__exportStar(require("./ListV2ListContentRequestType.js"), exports);
|
|
19
20
|
__exportStar(require("./RelationsContextRequestType.js"), exports);
|
|
20
21
|
__exportStar(require("./SourcesV2SourceDeleteRequestType.js"), exports);
|
|
22
|
+
__exportStar(require("./SubgraphContextRequestType.js"), exports);
|
|
@@ -106,6 +106,23 @@ export declare class DatabasesClient {
|
|
|
106
106
|
*/
|
|
107
107
|
status(request: HydraDB.StatusDatabasesRequest, requestOptions?: DatabasesClient.RequestOptions): core.HttpResponsePromise<HydraDB.HandlerEnvelopeTenantsInfraStatusResponseV2>;
|
|
108
108
|
private __status;
|
|
109
|
+
/**
|
|
110
|
+
* Read the database's declared metadata schema fields. Returns the same field shape accepted by database creation and by Update Metadata Schema, so the response round-trips into add_fields.
|
|
111
|
+
*
|
|
112
|
+
* @param {HydraDB.GetMetadataSchemaDatabasesRequest} request
|
|
113
|
+
* @param {DatabasesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
114
|
+
*
|
|
115
|
+
* @throws {@link HydraDB.BadRequestError}
|
|
116
|
+
* @throws {@link HydraDB.NotFoundError}
|
|
117
|
+
* @throws {@link HydraDB.InternalServerError}
|
|
118
|
+
*
|
|
119
|
+
* @example
|
|
120
|
+
* await client.databases.getMetadataSchema({
|
|
121
|
+
* database: "acme_corp"
|
|
122
|
+
* })
|
|
123
|
+
*/
|
|
124
|
+
getMetadataSchema(request: HydraDB.GetMetadataSchemaDatabasesRequest, requestOptions?: DatabasesClient.RequestOptions): core.HttpResponsePromise<HydraDB.HandlerEnvelopeTenantsTenantMetadataSchemaResponse>;
|
|
125
|
+
private __getMetadataSchema;
|
|
109
126
|
/**
|
|
110
127
|
* Add new metadata schema fields to an existing database. Additive only — existing fields cannot be deleted or retyped.
|
|
111
128
|
*
|