@hydradb/sdk 2.1.2 → 2.1.3
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 +20 -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 +47 -14
- package/dist/api/resources/connectors/client/Client.js +163 -99
- package/dist/api/resources/connectors/client/requests/HandlerConfigureReq.d.ts +8 -0
- package/dist/api/resources/connectors/client/requests/HandlerConnectorCreateReq.d.ts +1 -7
- package/dist/api/resources/connectors/client/requests/HandlerConnectorUpdateReq.d.ts +14 -0
- package/dist/api/resources/connectors/client/requests/HandlerResourceCreateReq.d.ts +2 -2
- package/dist/api/resources/connectors/client/requests/StatusConnectorsRequest.d.ts +10 -0
- package/dist/api/resources/connectors/client/requests/index.d.ts +2 -0
- package/dist/api/resources/context/client/Client.d.ts +19 -2
- package/dist/api/resources/context/client/Client.js +32 -11
- package/dist/api/resources/context/client/requests/HandlerContextMetadataUpdateRequest.d.ts +4 -4
- package/dist/api/resources/context/client/requests/IngestContextRequest.d.ts +3 -0
- package/dist/api/resources/context/client/requests/ListV2ListContentRequest.d.ts +8 -0
- package/dist/api/resources/context/client/requests/SourcesV2SourceDeleteRequest.d.ts +2 -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/index.d.ts +1 -0
- package/dist/api/resources/context/types/index.js +1 -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 +27 -1
- package/dist/api/resources/webhooks/client/Client.js +127 -1
- 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 +1 -0
- package/dist/api/types/FeedbackGroundTruth.d.ts +12 -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/FeedbackSubmitRequestFeedback.d.ts +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 +6 -2
- package/dist/api/types/GraphGraphRelationsResponse.d.ts +7 -1
- package/dist/api/types/HandlerCatalogConnector.d.ts +11 -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 +124 -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 +128 -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 +21 -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 +17 -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 → HandlerEnvelopeIngestionV2IngestResponse.d.ts} +2 -2
- 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 +11 -0
- package/dist/api/types/HandlerResourceMappingSyncMode.d.ts +14 -0
- package/dist/api/types/HandlerResourceMappingSyncMode.js +17 -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/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 +7 -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 +48 -7
- package/dist/api/types/index.js +48 -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 +4 -0
- package/dist/serialization/client/requests/SearchQueryRequest.js +4 -0
- package/dist/serialization/resources/connectors/client/index.d.ts +1 -9
- package/dist/serialization/resources/connectors/client/index.js +5 -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 +0 -3
- package/dist/serialization/resources/connectors/client/requests/HandlerConnectorCreateReq.js +0 -3
- package/dist/serialization/resources/connectors/client/requests/HandlerConnectorUpdateReq.d.ts +10 -0
- package/dist/serialization/resources/connectors/client/requests/HandlerConnectorUpdateReq.js +42 -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/context/client/requests/ListV2ListContentRequest.d.ts +1 -0
- package/dist/serialization/resources/context/client/requests/ListV2ListContentRequest.js +1 -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/discover.js → context/types/DeleteContextRequestXHydraDbDeleteStatus.js} +2 -2
- package/dist/serialization/resources/context/types/index.d.ts +1 -0
- package/dist/serialization/resources/context/types/index.js +1 -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/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/{resources/connectors/client/delete.js → types/FeedbackSubmitRequestFeedback.js} +5 -3
- 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 +2 -0
- package/dist/serialization/types/GithubComHydradbHydradbApplicationInternalServiceMetadataEditResult.js +2 -0
- package/dist/serialization/types/HandlerCatalogConnector.d.ts +15 -0
- package/dist/serialization/types/HandlerCatalogConnector.js +47 -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} +14 -7
- package/dist/serialization/types/{ConnectorsConnector.js → HandlerConnectorApiView.js} +14 -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 +39 -0
- package/dist/serialization/types/HandlerConnectorCreateResponse.js +71 -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 +16 -0
- package/dist/serialization/types/HandlerConnectorResourceStatus.js +48 -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 +14 -0
- package/dist/serialization/types/HandlerConnectorUpdateResponse.js +46 -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/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 +2 -0
- package/dist/serialization/types/HandlerResourceMapping.js +2 -0
- package/dist/serialization/types/HandlerResourceMappingSyncMode.d.ts +7 -0
- package/dist/serialization/{resources/connectors/client/configure.js → types/HandlerResourceMappingSyncMode.js} +3 -3
- 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/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 +6 -0
- package/dist/serialization/types/SearchV2RetrievalResult.js +6 -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 +48 -7
- package/dist/serialization/types/index.js +48 -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/rotateAConnectorsStoredOAuthRefreshToken.d.ts +0 -10
- package/dist/serialization/resources/connectors/client/rotateAConnectorsStoredOAuthRefreshToken.js +0 -40
- 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/databases/client/requests/GetMetadataSchemaDatabasesRequest.js} +0 -0
- /package/dist/api/{types/IngestionV2SourceUploadResponse.js → resources/webhooks/client/requests/WebhooksSigningSecretRequest.js} +0 -0
- /package/dist/api/types/{IngestionV2SourceUploadResultItem.js → FeedbackGroundTruth.js} +0 -0
- /package/dist/api/types/{ListSourceListResponse.js → FeedbackSubmitRequest.js} +0 -0
- /package/dist/api/types/{ListV2SourceListResponse.js → FeedbackSubmitRequestFeedback.js} +0 -0
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.ListV2MemoryItem = void 0;
|
|
38
|
+
const core = __importStar(require("../../core/index.js"));
|
|
39
|
+
exports.ListV2MemoryItem = core.serialization.object({
|
|
40
|
+
additionalMetadata: core.serialization.property("additional_metadata", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
|
|
41
|
+
appExternalId: core.serialization.property("app_external_id", core.serialization.string().optional()),
|
|
42
|
+
appKind: core.serialization.property("app_kind", core.serialization.string().optional()),
|
|
43
|
+
appParentId: core.serialization.property("app_parent_id", core.serialization.string().optional()),
|
|
44
|
+
appProvider: core.serialization.property("app_provider", core.serialization.string().optional()),
|
|
45
|
+
appRelations: core.serialization.property("app_relations", core.serialization.unknown().optional()),
|
|
46
|
+
appThreadId: core.serialization.property("app_thread_id", core.serialization.string().optional()),
|
|
47
|
+
collection: core.serialization.string(),
|
|
48
|
+
comments: core.serialization
|
|
49
|
+
.list(core.serialization.record(core.serialization.string(), core.serialization.unknown()))
|
|
50
|
+
.optional(),
|
|
51
|
+
commentsTruncated: core.serialization.property("comments_truncated", core.serialization.boolean().optional()),
|
|
52
|
+
database: core.serialization.string(),
|
|
53
|
+
description: core.serialization.string().optional(),
|
|
54
|
+
memoryId: core.serialization.property("memory_id", core.serialization.string()),
|
|
55
|
+
metadata: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
|
|
56
|
+
note: core.serialization.string().optional(),
|
|
57
|
+
relations: core.serialization.unknown().optional(),
|
|
58
|
+
subTenantId: core.serialization.property("sub_tenant_id", core.serialization.string()),
|
|
59
|
+
tenantId: core.serialization.property("tenant_id", core.serialization.string()),
|
|
60
|
+
timestamp: core.serialization.string().optional(),
|
|
61
|
+
title: core.serialization.string().optional(),
|
|
62
|
+
type: core.serialization.string().optional(),
|
|
63
|
+
});
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type * as HydraDB from "../../api/index.js";
|
|
2
|
+
import * as core from "../../core/index.js";
|
|
3
|
+
import type * as serializers from "../index.js";
|
|
4
|
+
export declare const ListV2SourceItem: core.serialization.ObjectSchema<serializers.ListV2SourceItem.Raw, HydraDB.ListV2SourceItem>;
|
|
5
|
+
export declare namespace ListV2SourceItem {
|
|
6
|
+
interface Raw {
|
|
7
|
+
additional_metadata?: Record<string, unknown> | null;
|
|
8
|
+
app_external_id?: string | null;
|
|
9
|
+
app_kind?: string | null;
|
|
10
|
+
app_parent_id?: string | null;
|
|
11
|
+
app_provider?: string | null;
|
|
12
|
+
app_relations?: unknown | null;
|
|
13
|
+
app_thread_id?: string | null;
|
|
14
|
+
collection: string;
|
|
15
|
+
comments?: Record<string, unknown>[] | null;
|
|
16
|
+
comments_truncated?: boolean | null;
|
|
17
|
+
database: string;
|
|
18
|
+
description?: string | null;
|
|
19
|
+
id: string;
|
|
20
|
+
metadata?: Record<string, unknown> | null;
|
|
21
|
+
note?: string | null;
|
|
22
|
+
relations?: unknown | null;
|
|
23
|
+
sub_tenant_id: string;
|
|
24
|
+
tenant_id: string;
|
|
25
|
+
timestamp?: string | null;
|
|
26
|
+
title?: string | null;
|
|
27
|
+
type?: string | null;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.ListV2SourceItem = void 0;
|
|
38
|
+
const core = __importStar(require("../../core/index.js"));
|
|
39
|
+
exports.ListV2SourceItem = core.serialization.object({
|
|
40
|
+
additionalMetadata: core.serialization.property("additional_metadata", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
|
|
41
|
+
appExternalId: core.serialization.property("app_external_id", core.serialization.string().optional()),
|
|
42
|
+
appKind: core.serialization.property("app_kind", core.serialization.string().optional()),
|
|
43
|
+
appParentId: core.serialization.property("app_parent_id", core.serialization.string().optional()),
|
|
44
|
+
appProvider: core.serialization.property("app_provider", core.serialization.string().optional()),
|
|
45
|
+
appRelations: core.serialization.property("app_relations", core.serialization.unknown().optional()),
|
|
46
|
+
appThreadId: core.serialization.property("app_thread_id", core.serialization.string().optional()),
|
|
47
|
+
collection: core.serialization.string(),
|
|
48
|
+
comments: core.serialization
|
|
49
|
+
.list(core.serialization.record(core.serialization.string(), core.serialization.unknown()))
|
|
50
|
+
.optional(),
|
|
51
|
+
commentsTruncated: core.serialization.property("comments_truncated", core.serialization.boolean().optional()),
|
|
52
|
+
database: core.serialization.string(),
|
|
53
|
+
description: core.serialization.string().optional(),
|
|
54
|
+
id: core.serialization.string(),
|
|
55
|
+
metadata: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
|
|
56
|
+
note: core.serialization.string().optional(),
|
|
57
|
+
relations: core.serialization.unknown().optional(),
|
|
58
|
+
subTenantId: core.serialization.property("sub_tenant_id", core.serialization.string()),
|
|
59
|
+
tenantId: core.serialization.property("tenant_id", core.serialization.string()),
|
|
60
|
+
timestamp: core.serialization.string().optional(),
|
|
61
|
+
title: core.serialization.string().optional(),
|
|
62
|
+
type: core.serialization.string().optional(),
|
|
63
|
+
});
|
|
@@ -8,6 +8,7 @@ export declare namespace SearchSourceInfo {
|
|
|
8
8
|
app_external_id?: string | null;
|
|
9
9
|
app_kind?: string | null;
|
|
10
10
|
app_provider?: string | null;
|
|
11
|
+
collection?: string | null;
|
|
11
12
|
description?: string | null;
|
|
12
13
|
id?: string | null;
|
|
13
14
|
metadata?: Record<string, unknown> | null;
|
|
@@ -41,6 +41,7 @@ exports.SearchSourceInfo = core.serialization.object({
|
|
|
41
41
|
appExternalId: core.serialization.property("app_external_id", core.serialization.string().optional()),
|
|
42
42
|
appKind: core.serialization.property("app_kind", core.serialization.string().optional()),
|
|
43
43
|
appProvider: core.serialization.property("app_provider", core.serialization.string().optional()),
|
|
44
|
+
collection: core.serialization.string().optional(),
|
|
44
45
|
description: core.serialization.string().optional(),
|
|
45
46
|
id: core.serialization.string().optional(),
|
|
46
47
|
metadata: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type * as HydraDB from "../../api/index.js";
|
|
2
|
+
import * as core from "../../core/index.js";
|
|
3
|
+
import type * as serializers from "../index.js";
|
|
4
|
+
import { SearchTemporalFact } from "./SearchTemporalFact.js";
|
|
5
|
+
export declare const SearchTemporalDuration: core.serialization.ObjectSchema<serializers.SearchTemporalDuration.Raw, HydraDB.SearchTemporalDuration>;
|
|
6
|
+
export declare namespace SearchTemporalDuration {
|
|
7
|
+
interface Raw {
|
|
8
|
+
approximate?: boolean | null;
|
|
9
|
+
days?: number | null;
|
|
10
|
+
from?: SearchTemporalFact.Raw | null;
|
|
11
|
+
from_date?: string | null;
|
|
12
|
+
pairing_confidence?: number | null;
|
|
13
|
+
to?: SearchTemporalFact.Raw | null;
|
|
14
|
+
to_date?: string | null;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.SearchTemporalDuration = void 0;
|
|
38
|
+
const core = __importStar(require("../../core/index.js"));
|
|
39
|
+
const SearchTemporalFact_js_1 = require("./SearchTemporalFact.js");
|
|
40
|
+
exports.SearchTemporalDuration = core.serialization.object({
|
|
41
|
+
approximate: core.serialization.boolean().optional(),
|
|
42
|
+
days: core.serialization.number().optional(),
|
|
43
|
+
from: SearchTemporalFact_js_1.SearchTemporalFact.optional(),
|
|
44
|
+
fromDate: core.serialization.property("from_date", core.serialization.string().optional()),
|
|
45
|
+
pairingConfidence: core.serialization.property("pairing_confidence", core.serialization.number().optional()),
|
|
46
|
+
to: SearchTemporalFact_js_1.SearchTemporalFact.optional(),
|
|
47
|
+
toDate: core.serialization.property("to_date", core.serialization.string().optional()),
|
|
48
|
+
});
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type * as HydraDB from "../../api/index.js";
|
|
2
|
+
import * as core from "../../core/index.js";
|
|
3
|
+
import type * as serializers from "../index.js";
|
|
4
|
+
export declare const SearchTemporalFact: core.serialization.ObjectSchema<serializers.SearchTemporalFact.Raw, HydraDB.SearchTemporalFact>;
|
|
5
|
+
export declare namespace SearchTemporalFact {
|
|
6
|
+
interface Raw {
|
|
7
|
+
chunk_id?: string | null;
|
|
8
|
+
date_precision?: string | null;
|
|
9
|
+
event_end?: number | null;
|
|
10
|
+
event_start?: number | null;
|
|
11
|
+
evidence_phrase?: string | null;
|
|
12
|
+
fact_type?: string | null;
|
|
13
|
+
object?: string | null;
|
|
14
|
+
relation?: string | null;
|
|
15
|
+
relationship_id?: string | null;
|
|
16
|
+
source_id?: string | null;
|
|
17
|
+
status?: string | null;
|
|
18
|
+
subject?: string | null;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.SearchTemporalFact = void 0;
|
|
38
|
+
const core = __importStar(require("../../core/index.js"));
|
|
39
|
+
exports.SearchTemporalFact = core.serialization.object({
|
|
40
|
+
chunkId: core.serialization.property("chunk_id", core.serialization.string().optional()),
|
|
41
|
+
datePrecision: core.serialization.property("date_precision", core.serialization.string().optional()),
|
|
42
|
+
eventEnd: core.serialization.property("event_end", core.serialization.number().optional()),
|
|
43
|
+
eventStart: core.serialization.property("event_start", core.serialization.number().optional()),
|
|
44
|
+
evidencePhrase: core.serialization.property("evidence_phrase", core.serialization.string().optional()),
|
|
45
|
+
factType: core.serialization.property("fact_type", core.serialization.string().optional()),
|
|
46
|
+
object: core.serialization.string().optional(),
|
|
47
|
+
relation: core.serialization.string().optional(),
|
|
48
|
+
relationshipId: core.serialization.property("relationship_id", core.serialization.string().optional()),
|
|
49
|
+
sourceId: core.serialization.property("source_id", core.serialization.string().optional()),
|
|
50
|
+
status: core.serialization.string().optional(),
|
|
51
|
+
subject: core.serialization.string().optional(),
|
|
52
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type * as HydraDB from "../../api/index.js";
|
|
2
|
+
import * as core from "../../core/index.js";
|
|
3
|
+
import type * as serializers from "../index.js";
|
|
4
|
+
export declare const SearchTemporalFilterInfo: core.serialization.ObjectSchema<serializers.SearchTemporalFilterInfo.Raw, HydraDB.SearchTemporalFilterInfo>;
|
|
5
|
+
export declare namespace SearchTemporalFilterInfo {
|
|
6
|
+
interface Raw {
|
|
7
|
+
applied?: boolean | null;
|
|
8
|
+
chunk_scope?: number | null;
|
|
9
|
+
degraded?: boolean | null;
|
|
10
|
+
matched_facts?: number | null;
|
|
11
|
+
mode?: string | null;
|
|
12
|
+
promoted?: number | null;
|
|
13
|
+
scope?: string | null;
|
|
14
|
+
truncated?: boolean | null;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.SearchTemporalFilterInfo = void 0;
|
|
38
|
+
const core = __importStar(require("../../core/index.js"));
|
|
39
|
+
exports.SearchTemporalFilterInfo = core.serialization.object({
|
|
40
|
+
applied: core.serialization.boolean().optional(),
|
|
41
|
+
chunkScope: core.serialization.property("chunk_scope", core.serialization.number().optional()),
|
|
42
|
+
degraded: core.serialization.boolean().optional(),
|
|
43
|
+
matchedFacts: core.serialization.property("matched_facts", core.serialization.number().optional()),
|
|
44
|
+
mode: core.serialization.string().optional(),
|
|
45
|
+
promoted: core.serialization.number().optional(),
|
|
46
|
+
scope: core.serialization.string().optional(),
|
|
47
|
+
truncated: core.serialization.boolean().optional(),
|
|
48
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type * as HydraDB from "../../api/index.js";
|
|
2
|
+
import * as core from "../../core/index.js";
|
|
3
|
+
import type * as serializers from "../index.js";
|
|
4
|
+
export declare const SearchTemporalIntentOverride: core.serialization.ObjectSchema<serializers.SearchTemporalIntentOverride.Raw, HydraDB.SearchTemporalIntentOverride>;
|
|
5
|
+
export declare namespace SearchTemporalIntentOverride {
|
|
6
|
+
interface Raw {
|
|
7
|
+
cutoff?: string | null;
|
|
8
|
+
duration_to_now?: boolean | null;
|
|
9
|
+
event_phrases?: string[] | null;
|
|
10
|
+
mode?: string | null;
|
|
11
|
+
window_end?: string | null;
|
|
12
|
+
window_start?: string | null;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.SearchTemporalIntentOverride = void 0;
|
|
38
|
+
const core = __importStar(require("../../core/index.js"));
|
|
39
|
+
exports.SearchTemporalIntentOverride = core.serialization.object({
|
|
40
|
+
cutoff: core.serialization.string().optional(),
|
|
41
|
+
durationToNow: core.serialization.property("duration_to_now", core.serialization.boolean().optional()),
|
|
42
|
+
eventPhrases: core.serialization.property("event_phrases", core.serialization.list(core.serialization.string()).optional()),
|
|
43
|
+
mode: core.serialization.string().optional(),
|
|
44
|
+
windowEnd: core.serialization.property("window_end", core.serialization.string().optional()),
|
|
45
|
+
windowStart: core.serialization.property("window_start", core.serialization.string().optional()),
|
|
46
|
+
});
|
|
@@ -7,6 +7,7 @@ export declare namespace SearchV2Chunk {
|
|
|
7
7
|
additional_metadata?: Record<string, unknown> | null;
|
|
8
8
|
chunk_content?: string | null;
|
|
9
9
|
chunk_uuid?: string | null;
|
|
10
|
+
collection?: string | null;
|
|
10
11
|
extra_context_ids?: string[] | null;
|
|
11
12
|
id?: string | null;
|
|
12
13
|
layout?: string | null;
|
|
@@ -40,6 +40,7 @@ exports.SearchV2Chunk = core.serialization.object({
|
|
|
40
40
|
additionalMetadata: core.serialization.property("additional_metadata", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
|
|
41
41
|
chunkContent: core.serialization.property("chunk_content", core.serialization.string().optional()),
|
|
42
42
|
chunkUuid: core.serialization.property("chunk_uuid", core.serialization.string().optional()),
|
|
43
|
+
collection: core.serialization.string().optional(),
|
|
43
44
|
extraContextIds: core.serialization.property("extra_context_ids", core.serialization.list(core.serialization.string()).optional()),
|
|
44
45
|
id: core.serialization.string().optional(),
|
|
45
46
|
layout: core.serialization.string().optional(),
|
|
@@ -3,6 +3,9 @@ import * as core from "../../core/index.js";
|
|
|
3
3
|
import type * as serializers from "../index.js";
|
|
4
4
|
import { SearchGraphContext } from "./SearchGraphContext.js";
|
|
5
5
|
import { SearchSourceInfo } from "./SearchSourceInfo.js";
|
|
6
|
+
import { SearchTemporalDuration } from "./SearchTemporalDuration.js";
|
|
7
|
+
import { SearchTemporalFact } from "./SearchTemporalFact.js";
|
|
8
|
+
import { SearchTemporalFilterInfo } from "./SearchTemporalFilterInfo.js";
|
|
6
9
|
import { SearchV2Chunk } from "./SearchV2Chunk.js";
|
|
7
10
|
export declare const SearchV2RetrievalResult: core.serialization.ObjectSchema<serializers.SearchV2RetrievalResult.Raw, HydraDB.SearchV2RetrievalResult>;
|
|
8
11
|
export declare namespace SearchV2RetrievalResult {
|
|
@@ -11,5 +14,8 @@ export declare namespace SearchV2RetrievalResult {
|
|
|
11
14
|
chunks?: SearchV2Chunk.Raw[] | null;
|
|
12
15
|
graph_context?: SearchGraphContext.Raw | null;
|
|
13
16
|
sources?: SearchSourceInfo.Raw[] | null;
|
|
17
|
+
temporal_duration?: SearchTemporalDuration.Raw | null;
|
|
18
|
+
temporal_facts?: SearchTemporalFact.Raw[] | null;
|
|
19
|
+
temporal_filter?: SearchTemporalFilterInfo.Raw | null;
|
|
14
20
|
}
|
|
15
21
|
}
|
|
@@ -38,10 +38,16 @@ exports.SearchV2RetrievalResult = void 0;
|
|
|
38
38
|
const core = __importStar(require("../../core/index.js"));
|
|
39
39
|
const SearchGraphContext_js_1 = require("./SearchGraphContext.js");
|
|
40
40
|
const SearchSourceInfo_js_1 = require("./SearchSourceInfo.js");
|
|
41
|
+
const SearchTemporalDuration_js_1 = require("./SearchTemporalDuration.js");
|
|
42
|
+
const SearchTemporalFact_js_1 = require("./SearchTemporalFact.js");
|
|
43
|
+
const SearchTemporalFilterInfo_js_1 = require("./SearchTemporalFilterInfo.js");
|
|
41
44
|
const SearchV2Chunk_js_1 = require("./SearchV2Chunk.js");
|
|
42
45
|
exports.SearchV2RetrievalResult = core.serialization.object({
|
|
43
46
|
additionalContext: core.serialization.property("additional_context", core.serialization.record(core.serialization.string(), SearchV2Chunk_js_1.SearchV2Chunk).optional()),
|
|
44
47
|
chunks: core.serialization.list(SearchV2Chunk_js_1.SearchV2Chunk).optional(),
|
|
45
48
|
graphContext: core.serialization.property("graph_context", SearchGraphContext_js_1.SearchGraphContext.optional()),
|
|
46
49
|
sources: core.serialization.list(SearchSourceInfo_js_1.SearchSourceInfo).optional(),
|
|
50
|
+
temporalDuration: core.serialization.property("temporal_duration", SearchTemporalDuration_js_1.SearchTemporalDuration.optional()),
|
|
51
|
+
temporalFacts: core.serialization.property("temporal_facts", core.serialization.list(SearchTemporalFact_js_1.SearchTemporalFact).optional()),
|
|
52
|
+
temporalFilter: core.serialization.property("temporal_filter", SearchTemporalFilterInfo_js_1.SearchTemporalFilterInfo.optional()),
|
|
47
53
|
});
|
|
@@ -6,7 +6,6 @@ export declare const TenantsCustomPropertyDefinition: core.serialization.ObjectS
|
|
|
6
6
|
export declare namespace TenantsCustomPropertyDefinition {
|
|
7
7
|
interface Raw {
|
|
8
8
|
data_type?: TenantsMilvusDataType.Raw | null;
|
|
9
|
-
enable_analyzer?: boolean | null;
|
|
10
9
|
enable_dense_embedding?: boolean | null;
|
|
11
10
|
enable_match?: boolean | null;
|
|
12
11
|
enable_sparse_embedding?: boolean | null;
|
|
@@ -39,7 +39,6 @@ const core = __importStar(require("../../core/index.js"));
|
|
|
39
39
|
const TenantsMilvusDataType_js_1 = require("./TenantsMilvusDataType.js");
|
|
40
40
|
exports.TenantsCustomPropertyDefinition = core.serialization.object({
|
|
41
41
|
dataType: core.serialization.property("data_type", TenantsMilvusDataType_js_1.TenantsMilvusDataType.optional()),
|
|
42
|
-
enableAnalyzer: core.serialization.property("enable_analyzer", core.serialization.boolean().optional()),
|
|
43
42
|
enableDenseEmbedding: core.serialization.property("enable_dense_embedding", core.serialization.boolean().optional()),
|
|
44
43
|
enableMatch: core.serialization.property("enable_match", core.serialization.boolean().optional()),
|
|
45
44
|
enableSparseEmbedding: core.serialization.property("enable_sparse_embedding", core.serialization.boolean().optional()),
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type * as HydraDB from "../../api/index.js";
|
|
2
|
+
import * as core from "../../core/index.js";
|
|
3
|
+
import type * as serializers from "../index.js";
|
|
4
|
+
import { TenantsCustomPropertyDefinition } from "./TenantsCustomPropertyDefinition.js";
|
|
5
|
+
export declare const TenantsTenantMetadataSchemaResponse: core.serialization.ObjectSchema<serializers.TenantsTenantMetadataSchemaResponse.Raw, HydraDB.TenantsTenantMetadataSchemaResponse>;
|
|
6
|
+
export declare namespace TenantsTenantMetadataSchemaResponse {
|
|
7
|
+
interface Raw {
|
|
8
|
+
database?: string | null;
|
|
9
|
+
fields?: TenantsCustomPropertyDefinition.Raw[] | null;
|
|
10
|
+
tenant_id?: string | null;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.TenantsTenantMetadataSchemaResponse = void 0;
|
|
38
|
+
const core = __importStar(require("../../core/index.js"));
|
|
39
|
+
const TenantsCustomPropertyDefinition_js_1 = require("./TenantsCustomPropertyDefinition.js");
|
|
40
|
+
exports.TenantsTenantMetadataSchemaResponse = core.serialization.object({
|
|
41
|
+
database: core.serialization.string().optional(),
|
|
42
|
+
fields: core.serialization.list(TenantsCustomPropertyDefinition_js_1.TenantsCustomPropertyDefinition).optional(),
|
|
43
|
+
tenantId: core.serialization.property("tenant_id", core.serialization.string().optional()),
|
|
44
|
+
});
|
|
@@ -47,4 +47,5 @@ exports.WebhooksDeliveryItem = core.serialization.object({
|
|
|
47
47
|
indexingStatus: core.serialization.property("indexing_status", core.serialization.string().optional()),
|
|
48
48
|
status: core.serialization.string().optional(),
|
|
49
49
|
updatedAt: core.serialization.property("updated_at", core.serialization.string().optional()),
|
|
50
|
+
webhookUrl: core.serialization.property("webhook_url", core.serialization.string().optional()),
|
|
50
51
|
});
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as HydraDB from "../../api/index.js";
|
|
2
|
+
import * as core from "../../core/index.js";
|
|
3
|
+
import type * as serializers from "../index.js";
|
|
4
|
+
export declare const WebhooksSigningSecretResponse: core.serialization.ObjectSchema<serializers.WebhooksSigningSecretResponse.Raw, HydraDB.WebhooksSigningSecretResponse>;
|
|
5
|
+
export declare namespace WebhooksSigningSecretResponse {
|
|
6
|
+
interface Raw {
|
|
7
|
+
generated?: boolean | null;
|
|
8
|
+
message?: string | null;
|
|
9
|
+
signing_secret?: string | null;
|
|
10
|
+
}
|
|
11
|
+
}
|