@hydradb/sdk 2.1.1 → 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 +6 -3
- package/dist/Client.js +10 -12
- 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/errors/UnsupportedMediaTypeError.d.ts +6 -0
- package/dist/api/errors/UnsupportedMediaTypeError.js +54 -0
- package/dist/api/errors/index.d.ts +1 -0
- package/dist/api/errors/index.js +1 -0
- package/dist/api/resources/connectors/client/Client.d.ts +50 -19
- package/dist/api/resources/connectors/client/Client.js +187 -108
- package/dist/api/resources/connectors/client/requests/DiscoverConnectorsRequest.d.ts +4 -0
- package/dist/api/resources/connectors/client/requests/HandlerConfigureReq.d.ts +9 -3
- 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/HandlerDiscoverPreviewReq.d.ts +4 -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 +20 -2
- package/dist/api/resources/context/client/Client.js +41 -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 +23 -5
- 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/HandlerErrorMeta.d.ts +6 -0
- package/dist/api/types/HandlerErrorMeta.js +3 -0
- package/dist/api/types/HandlerErrorResponse.d.ts +6 -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/HandlerResponseMeta.d.ts +7 -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/SearchGraphContext.d.ts +0 -2
- 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/TenantsCollectionStats.d.ts +0 -2
- package/dist/api/types/TenantsCustomPropertyDefinition.d.ts +0 -2
- package/dist/api/types/TenantsInfraV2.d.ts +3 -1
- 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 +49 -7
- package/dist/api/types/index.js +49 -7
- package/dist/helpers/buildString.js +140 -22
- 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/HandlerDiscoverPreviewReq.d.ts +1 -1
- 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 +5 -0
- package/dist/serialization/types/GithubComHydradbHydradbApplicationInternalServiceMetadataEditResult.js +5 -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/HandlerErrorMeta.d.ts +11 -0
- package/dist/serialization/types/HandlerErrorMeta.js +43 -0
- package/dist/serialization/types/HandlerErrorResponse.d.ts +6 -0
- package/dist/serialization/types/HandlerErrorResponse.js +6 -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/HandlerResponseMeta.d.ts +1 -0
- package/dist/serialization/types/HandlerResponseMeta.js +1 -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/SearchGraphContext.d.ts +0 -1
- package/dist/serialization/types/SearchGraphContext.js +0 -1
- 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/TenantsCollectionStats.d.ts +0 -1
- package/dist/serialization/types/TenantsCollectionStats.js +0 -1
- package/dist/serialization/types/TenantsCustomPropertyDefinition.d.ts +0 -1
- package/dist/serialization/types/TenantsCustomPropertyDefinition.js +0 -1
- package/dist/serialization/types/TenantsInfraV2.d.ts +1 -0
- package/dist/serialization/types/TenantsInfraV2.js +1 -0
- 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 +49 -7
- package/dist/serialization/types/index.js +49 -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
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type * as HydraDB from "../../api/index.js";
|
|
2
2
|
import * as core from "../../core/index.js";
|
|
3
3
|
import type * as serializers from "../index.js";
|
|
4
|
+
import { HandlerResourceMappingSyncMode } from "./HandlerResourceMappingSyncMode.js";
|
|
4
5
|
export declare const HandlerResourceMapping: core.serialization.ObjectSchema<serializers.HandlerResourceMapping.Raw, HydraDB.HandlerResourceMapping>;
|
|
5
6
|
export declare namespace HandlerResourceMapping {
|
|
6
7
|
interface Raw {
|
|
@@ -12,6 +13,7 @@ export declare namespace HandlerResourceMapping {
|
|
|
12
13
|
resource_id: string;
|
|
13
14
|
resource_type?: string | null;
|
|
14
15
|
sub_tenant_id?: string | null;
|
|
16
|
+
sync_mode?: HandlerResourceMappingSyncMode.Raw | null;
|
|
15
17
|
tenant_id?: string | null;
|
|
16
18
|
}
|
|
17
19
|
}
|
|
@@ -36,6 +36,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.HandlerResourceMapping = void 0;
|
|
38
38
|
const core = __importStar(require("../../core/index.js"));
|
|
39
|
+
const HandlerResourceMappingSyncMode_js_1 = require("./HandlerResourceMappingSyncMode.js");
|
|
39
40
|
exports.HandlerResourceMapping = core.serialization.object({
|
|
40
41
|
additionalMetadata: core.serialization.property("additional_metadata", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
|
|
41
42
|
collection: core.serialization.string().optional(),
|
|
@@ -45,5 +46,6 @@ exports.HandlerResourceMapping = core.serialization.object({
|
|
|
45
46
|
resourceId: core.serialization.property("resource_id", core.serialization.string()),
|
|
46
47
|
resourceType: core.serialization.property("resource_type", core.serialization.string().optional()),
|
|
47
48
|
subTenantId: core.serialization.property("sub_tenant_id", core.serialization.string().optional()),
|
|
49
|
+
syncMode: core.serialization.property("sync_mode", HandlerResourceMappingSyncMode_js_1.HandlerResourceMappingSyncMode.optional()),
|
|
48
50
|
tenantId: core.serialization.property("tenant_id", core.serialization.string().optional()),
|
|
49
51
|
});
|
|
@@ -0,0 +1,7 @@
|
|
|
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 HandlerResourceMappingSyncMode: core.serialization.Schema<serializers.HandlerResourceMappingSyncMode.Raw, HydraDB.HandlerResourceMappingSyncMode>;
|
|
5
|
+
export declare namespace HandlerResourceMappingSyncMode {
|
|
6
|
+
type Raw = "rescan" | "new_only";
|
|
7
|
+
}
|
|
@@ -34,6 +34,6 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
};
|
|
35
35
|
})();
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
-
exports.
|
|
38
|
-
const core = __importStar(require("
|
|
39
|
-
exports.
|
|
37
|
+
exports.HandlerResourceMappingSyncMode = void 0;
|
|
38
|
+
const core = __importStar(require("../../core/index.js"));
|
|
39
|
+
exports.HandlerResourceMappingSyncMode = core.serialization.enum_(["rescan", "new_only"]);
|
|
@@ -5,6 +5,7 @@ import { HandlerDeprecationNotice } from "./HandlerDeprecationNotice.js";
|
|
|
5
5
|
export declare const HandlerResponseMeta: core.serialization.ObjectSchema<serializers.HandlerResponseMeta.Raw, HydraDB.HandlerResponseMeta>;
|
|
6
6
|
export declare namespace HandlerResponseMeta {
|
|
7
7
|
interface Raw {
|
|
8
|
+
api_version?: string | null;
|
|
8
9
|
collection?: string | null;
|
|
9
10
|
database?: string | null;
|
|
10
11
|
deprecation?: HandlerDeprecationNotice.Raw[] | null;
|
|
@@ -38,6 +38,7 @@ exports.HandlerResponseMeta = void 0;
|
|
|
38
38
|
const core = __importStar(require("../../core/index.js"));
|
|
39
39
|
const HandlerDeprecationNotice_js_1 = require("./HandlerDeprecationNotice.js");
|
|
40
40
|
exports.HandlerResponseMeta = core.serialization.object({
|
|
41
|
+
apiVersion: core.serialization.property("api_version", core.serialization.string().optional()),
|
|
41
42
|
collection: core.serialization.string().optional(),
|
|
42
43
|
database: core.serialization.string().optional(),
|
|
43
44
|
deprecation: core.serialization.list(HandlerDeprecationNotice_js_1.HandlerDeprecationNotice).optional(),
|
|
@@ -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 HandlerTableConfigEntry: core.serialization.ObjectSchema<serializers.HandlerTableConfigEntry.Raw, HydraDB.HandlerTableConfigEntry>;
|
|
5
|
+
export declare namespace HandlerTableConfigEntry {
|
|
6
|
+
interface Raw {
|
|
7
|
+
change_history?: string | null;
|
|
8
|
+
replication_key?: string | null;
|
|
9
|
+
table?: string | null;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
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.HandlerTableConfigEntry = void 0;
|
|
38
|
+
const core = __importStar(require("../../core/index.js"));
|
|
39
|
+
exports.HandlerTableConfigEntry = core.serialization.object({
|
|
40
|
+
changeHistory: core.serialization.property("change_history", core.serialization.string().optional()),
|
|
41
|
+
replicationKey: core.serialization.property("replication_key", core.serialization.string().optional()),
|
|
42
|
+
table: core.serialization.string().optional(),
|
|
43
|
+
});
|
|
@@ -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
|
+
import { IngestionV2IngestResultItem } from "./IngestionV2IngestResultItem.js";
|
|
5
|
+
export declare const IngestionV2IngestResponse: core.serialization.ObjectSchema<serializers.IngestionV2IngestResponse.Raw, HydraDB.IngestionV2IngestResponse>;
|
|
6
|
+
export declare namespace IngestionV2IngestResponse {
|
|
7
|
+
interface Raw {
|
|
8
|
+
failed_count?: number | null;
|
|
9
|
+
message?: string | null;
|
|
10
|
+
results?: IngestionV2IngestResultItem.Raw[] | null;
|
|
11
|
+
success?: boolean | null;
|
|
12
|
+
success_count?: number | null;
|
|
13
|
+
}
|
|
14
|
+
}
|
package/dist/serialization/types/{IngestionV2SourceUploadResponse.js → IngestionV2IngestResponse.js}
RENAMED
|
@@ -34,13 +34,13 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
};
|
|
35
35
|
})();
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
-
exports.
|
|
37
|
+
exports.IngestionV2IngestResponse = void 0;
|
|
38
38
|
const core = __importStar(require("../../core/index.js"));
|
|
39
|
-
const
|
|
40
|
-
exports.
|
|
39
|
+
const IngestionV2IngestResultItem_js_1 = require("./IngestionV2IngestResultItem.js");
|
|
40
|
+
exports.IngestionV2IngestResponse = core.serialization.object({
|
|
41
41
|
failedCount: core.serialization.property("failed_count", core.serialization.number().optional()),
|
|
42
42
|
message: core.serialization.string().optional(),
|
|
43
|
-
results: core.serialization.list(
|
|
43
|
+
results: core.serialization.list(IngestionV2IngestResultItem_js_1.IngestionV2IngestResultItem).optional(),
|
|
44
44
|
success: core.serialization.boolean().optional(),
|
|
45
45
|
successCount: core.serialization.property("success_count", core.serialization.number().optional()),
|
|
46
46
|
});
|
|
@@ -2,15 +2,17 @@ import type * as HydraDB from "../../api/index.js";
|
|
|
2
2
|
import * as core from "../../core/index.js";
|
|
3
3
|
import type * as serializers from "../index.js";
|
|
4
4
|
import { IngestionSourceStatus } from "./IngestionSourceStatus.js";
|
|
5
|
-
export declare const
|
|
6
|
-
export declare namespace
|
|
5
|
+
export declare const IngestionV2IngestResultItem: core.serialization.ObjectSchema<serializers.IngestionV2IngestResultItem.Raw, HydraDB.IngestionV2IngestResultItem>;
|
|
6
|
+
export declare namespace IngestionV2IngestResultItem {
|
|
7
7
|
interface Raw {
|
|
8
8
|
error?: string | null;
|
|
9
9
|
error_code?: string | null;
|
|
10
10
|
filename?: string | null;
|
|
11
11
|
id?: string | null;
|
|
12
|
+
infer?: boolean | null;
|
|
12
13
|
relations_created?: number | null;
|
|
13
14
|
relations_error?: string | null;
|
|
14
15
|
status?: IngestionSourceStatus.Raw | null;
|
|
16
|
+
title?: string | null;
|
|
15
17
|
}
|
|
16
18
|
}
|
|
@@ -34,15 +34,17 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
};
|
|
35
35
|
})();
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
-
exports.
|
|
37
|
+
exports.IngestionV2IngestResultItem = void 0;
|
|
38
38
|
const core = __importStar(require("../../core/index.js"));
|
|
39
39
|
const IngestionSourceStatus_js_1 = require("./IngestionSourceStatus.js");
|
|
40
|
-
exports.
|
|
40
|
+
exports.IngestionV2IngestResultItem = core.serialization.object({
|
|
41
41
|
error: core.serialization.string().optional(),
|
|
42
42
|
errorCode: core.serialization.property("error_code", core.serialization.string().optional()),
|
|
43
43
|
filename: core.serialization.string().optional(),
|
|
44
44
|
id: core.serialization.string().optional(),
|
|
45
|
+
infer: core.serialization.boolean().optional(),
|
|
45
46
|
relationsCreated: core.serialization.property("relations_created", core.serialization.number().optional()),
|
|
46
47
|
relationsError: core.serialization.property("relations_error", core.serialization.string().optional()),
|
|
47
48
|
status: IngestionSourceStatus_js_1.IngestionSourceStatus.optional(),
|
|
49
|
+
title: core.serialization.string().optional(),
|
|
48
50
|
});
|
|
@@ -0,0 +1,17 @@
|
|
|
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 { DashboardPaginationMeta } from "./DashboardPaginationMeta.js";
|
|
5
|
+
import { ListV2MemoryItem } from "./ListV2MemoryItem.js";
|
|
6
|
+
import { ListV2SourceItem } from "./ListV2SourceItem.js";
|
|
7
|
+
export declare const ListV2ListResponse: core.serialization.ObjectSchema<serializers.ListV2ListResponse.Raw, HydraDB.ListV2ListResponse>;
|
|
8
|
+
export declare namespace ListV2ListResponse {
|
|
9
|
+
interface Raw {
|
|
10
|
+
message?: string | null;
|
|
11
|
+
pagination?: DashboardPaginationMeta.Raw | null;
|
|
12
|
+
sources?: ListV2SourceItem.Raw[] | null;
|
|
13
|
+
success?: boolean | null;
|
|
14
|
+
total?: number | null;
|
|
15
|
+
user_memories?: ListV2MemoryItem.Raw[] | null;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -34,15 +34,16 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
};
|
|
35
35
|
})();
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
-
exports.
|
|
37
|
+
exports.ListV2ListResponse = void 0;
|
|
38
38
|
const core = __importStar(require("../../core/index.js"));
|
|
39
39
|
const DashboardPaginationMeta_js_1 = require("./DashboardPaginationMeta.js");
|
|
40
|
-
|
|
40
|
+
const ListV2MemoryItem_js_1 = require("./ListV2MemoryItem.js");
|
|
41
|
+
const ListV2SourceItem_js_1 = require("./ListV2SourceItem.js");
|
|
42
|
+
exports.ListV2ListResponse = core.serialization.object({
|
|
41
43
|
message: core.serialization.string().optional(),
|
|
42
44
|
pagination: DashboardPaginationMeta_js_1.DashboardPaginationMeta.optional(),
|
|
43
|
-
sources: core.serialization
|
|
44
|
-
.list(core.serialization.record(core.serialization.string(), core.serialization.unknown()))
|
|
45
|
-
.optional(),
|
|
45
|
+
sources: core.serialization.list(ListV2SourceItem_js_1.ListV2SourceItem).optional(),
|
|
46
46
|
success: core.serialization.boolean().optional(),
|
|
47
47
|
total: core.serialization.number().optional(),
|
|
48
|
+
userMemories: core.serialization.property("user_memories", core.serialization.list(ListV2MemoryItem_js_1.ListV2MemoryItem).optional()),
|
|
48
49
|
});
|
|
@@ -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 ListV2MemoryItem: core.serialization.ObjectSchema<serializers.ListV2MemoryItem.Raw, HydraDB.ListV2MemoryItem>;
|
|
5
|
+
export declare namespace ListV2MemoryItem {
|
|
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
|
+
memory_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.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
|
+
});
|
|
@@ -43,5 +43,4 @@ exports.SearchGraphContext = core.serialization.object({
|
|
|
43
43
|
.optional()),
|
|
44
44
|
chunkRelations: core.serialization.property("chunk_relations", core.serialization.list(SearchScoredPathResponse_js_1.SearchScoredPathResponse).optional()),
|
|
45
45
|
queryPaths: core.serialization.property("query_paths", core.serialization.list(SearchScoredPathResponse_js_1.SearchScoredPathResponse).optional()),
|
|
46
|
-
synthesisContext: core.serialization.property("synthesis_context", core.serialization.string().optional()),
|
|
47
46
|
});
|
|
@@ -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
|
+
}
|