@hydradb/sdk 2.1.4 → 2.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -7
- package/dist/Client.d.ts +1 -1
- package/dist/Client.js +1 -1
- package/dist/api/client/requests/SearchQueryRequest.d.ts +44 -4
- package/dist/api/resources/connectors/client/Client.d.ts +80 -1
- package/dist/api/resources/connectors/client/Client.js +322 -1
- package/dist/api/resources/connectors/client/requests/HandlerConfigureReq.d.ts +7 -0
- package/dist/api/resources/connectors/client/requests/HandlerVaultCredentialRevealReq.d.ts +12 -0
- package/dist/api/resources/connectors/client/requests/HandlerVaultCredentialUpdateReq.d.ts +15 -0
- package/dist/api/resources/connectors/client/requests/PauseConnectorsRequest.d.ts +10 -0
- package/dist/api/resources/connectors/client/requests/ResumeConnectorsRequest.d.ts +10 -0
- package/dist/api/resources/connectors/client/requests/index.d.ts +4 -0
- package/dist/api/resources/context/client/Client.d.ts +45 -5
- package/dist/api/resources/context/client/Client.js +200 -8
- package/dist/api/resources/context/client/requests/ChunksContextRequest.d.ts +31 -0
- package/dist/api/resources/context/client/requests/IngestContextRequest.d.ts +8 -4
- package/dist/api/resources/context/client/requests/ListV2ListContentRequest.d.ts +4 -1
- package/dist/api/resources/context/client/requests/ProfileContextRequest.d.ts +30 -0
- package/dist/api/resources/context/client/requests/RelationsContextRequest.d.ts +1 -1
- package/dist/api/resources/context/client/requests/SourcesV2SourceDeleteRequest.d.ts +4 -1
- package/dist/api/resources/context/client/requests/SubgraphContextRequest.d.ts +8 -8
- package/dist/api/resources/context/client/requests/index.d.ts +2 -0
- package/dist/api/resources/context/types/ChunksContextRequestType.d.ts +6 -0
- package/dist/api/resources/context/types/ChunksContextRequestType.js +9 -0
- package/dist/api/resources/context/types/ListV2ListContentRequestType.d.ts +5 -1
- package/dist/api/resources/context/types/ListV2ListContentRequestType.js +5 -1
- package/dist/api/resources/context/types/ProfileContextRequestType.d.ts +5 -0
- package/dist/api/resources/context/types/ProfileContextRequestType.js +8 -0
- package/dist/api/resources/context/types/RelationsContextRequestType.d.ts +1 -0
- package/dist/api/resources/context/types/RelationsContextRequestType.js +1 -0
- package/dist/api/resources/context/types/SourcesV2SourceDeleteRequestType.d.ts +5 -1
- package/dist/api/resources/context/types/SourcesV2SourceDeleteRequestType.js +5 -1
- package/dist/api/resources/context/types/SubgraphContextRequestType.d.ts +1 -0
- package/dist/api/resources/context/types/SubgraphContextRequestType.js +1 -0
- package/dist/api/resources/context/types/index.d.ts +2 -0
- package/dist/api/resources/context/types/index.js +2 -0
- package/dist/api/resources/databases/client/Client.d.ts +71 -0
- package/dist/api/resources/databases/client/Client.js +309 -0
- package/dist/api/resources/databases/client/requests/DeleteCollectionDatabasesRequest.d.ts +13 -0
- package/dist/api/resources/databases/client/requests/DeleteCollectionDatabasesRequest.js +3 -0
- package/dist/api/resources/databases/client/requests/GetInstructionsDatabasesRequest.d.ts +10 -0
- package/dist/api/resources/databases/client/requests/GetInstructionsDatabasesRequest.js +3 -0
- package/dist/api/resources/databases/client/requests/HandlerInstructionsUpdateReq.d.ts +20 -0
- package/dist/api/resources/databases/client/requests/HandlerInstructionsUpdateReq.js +3 -0
- package/dist/api/resources/databases/client/requests/TenantsTenantCreateRequest.d.ts +1 -0
- package/dist/api/resources/databases/client/requests/TenantsTenantRenameRequest.d.ts +21 -0
- package/dist/api/resources/databases/client/requests/TenantsTenantRenameRequest.js +3 -0
- package/dist/api/resources/databases/client/requests/index.d.ts +4 -0
- package/dist/api/resources/feedback/client/Client.d.ts +1 -3
- package/dist/api/resources/feedback/client/Client.js +1 -3
- package/dist/api/resources/feedback/client/index.d.ts +1 -1
- package/dist/api/resources/feedback/client/index.js +15 -0
- package/dist/api/resources/feedback/client/requests/FeedbackSubmitRequest.d.ts +29 -0
- package/dist/api/resources/feedback/client/requests/FeedbackSubmitRequest.js +3 -0
- package/dist/api/resources/feedback/client/requests/index.d.ts +1 -0
- package/dist/api/resources/feedback/client/requests/index.js +2 -0
- package/dist/api/resources/index.d.ts +1 -0
- package/dist/api/resources/index.js +1 -0
- package/dist/api/types/ConnectorsResource.d.ts +58 -0
- package/dist/api/types/GithubComHydradbHydradbApplicationInternalPlatformStoragelayoutLayout.d.ts +11 -0
- package/dist/api/types/GithubComHydradbHydradbApplicationInternalPlatformStoragelayoutLayout.js +14 -0
- package/dist/api/types/GraphRelationEvidence.d.ts +7 -0
- package/dist/api/types/HandlerConnectorApiView.d.ts +15 -0
- package/dist/api/types/HandlerConnectorCreateResponse.d.ts +15 -0
- package/dist/api/types/HandlerConnectorLimitView.d.ts +15 -0
- package/dist/api/types/HandlerConnectorLimitView.js +3 -0
- package/dist/api/types/HandlerConnectorListResponse.d.ts +8 -3
- package/dist/api/types/HandlerConnectorPauseResponse.d.ts +6 -0
- package/dist/api/types/HandlerConnectorPauseResponse.js +3 -0
- package/dist/api/types/HandlerConnectorResourceStatus.d.ts +27 -0
- package/dist/api/types/HandlerConnectorStatusError.d.ts +4 -3
- package/dist/api/types/HandlerConnectorStatusResponse.d.ts +5 -2
- package/dist/api/types/HandlerEnvelopeSearchChunkInspectResult.d.ts +9 -0
- package/dist/api/types/HandlerEnvelopeSearchChunkInspectResult.js +3 -0
- package/dist/api/types/HandlerEnvelopeSearchEntityProfileView.d.ts +9 -0
- package/dist/api/types/HandlerEnvelopeSearchEntityProfileView.js +3 -0
- package/dist/api/types/HandlerEnvelopeSearchV2RetrievalResult.d.ts +2 -1
- package/dist/api/types/HandlerEnvelopeSearchV2RetrievalResultData.d.ts +5 -0
- package/dist/api/types/HandlerEnvelopeSearchV2RetrievalResultData.js +3 -0
- package/dist/api/types/HandlerEnvelopeTenantsSubTenantDeleteResponse.d.ts +9 -0
- package/dist/api/types/HandlerEnvelopeTenantsSubTenantDeleteResponse.js +3 -0
- package/dist/api/types/HandlerEnvelopeTenantsTenantRenameResponse.d.ts +9 -0
- package/dist/api/types/HandlerEnvelopeTenantsTenantRenameResponse.js +3 -0
- package/dist/api/types/HandlerInstructionsResponse.d.ts +13 -0
- package/dist/api/types/HandlerInstructionsResponse.js +3 -0
- package/dist/api/types/HandlerPlanCapView.d.ts +11 -0
- package/dist/api/types/HandlerPlanCapView.js +3 -0
- package/dist/api/types/HandlerVaultCredentialEntry.d.ts +13 -0
- package/dist/api/types/HandlerVaultCredentialEntry.js +3 -0
- package/dist/api/types/HandlerVaultCredentialListResponse.d.ts +8 -0
- package/dist/api/types/HandlerVaultCredentialListResponse.js +3 -0
- package/dist/api/types/HandlerVaultCredentialRevealResponse.d.ts +7 -0
- package/dist/api/types/HandlerVaultCredentialRevealResponse.js +3 -0
- package/dist/api/types/HandlerVaultCredentialUpdateResponse.d.ts +5 -0
- package/dist/api/types/HandlerVaultCredentialUpdateResponse.js +3 -0
- package/dist/api/types/IngestionGraphEntity.d.ts +8 -0
- package/dist/api/types/IngestionGraphEntity.js +3 -0
- package/dist/api/types/IngestionGraphPayload.d.ts +5 -0
- package/dist/api/types/IngestionGraphPayload.js +3 -0
- package/dist/api/types/IngestionGraphRelation.d.ts +9 -0
- package/dist/api/types/IngestionGraphRelation.js +3 -0
- package/dist/api/types/ListV2MemoryItem.d.ts +8 -0
- package/dist/api/types/ListV2SourceItem.d.ts +8 -0
- package/dist/api/types/MemoriesConversationTurn.d.ts +5 -0
- package/dist/api/types/MemoriesConversationTurn.js +3 -0
- package/dist/api/types/MemoriesForcefulRelations.d.ts +11 -0
- package/dist/api/types/MemoriesForcefulRelations.js +3 -0
- package/dist/api/types/MemoriesIngestItem.d.ts +56 -0
- package/dist/api/types/MemoriesIngestItem.js +3 -0
- package/dist/api/types/MemoriesIngestItemContextCategory.d.ts +13 -0
- package/dist/api/types/MemoriesIngestItemContextCategory.js +16 -0
- package/dist/api/types/MemoriesUnifiedIngestRequest.d.ts +26 -0
- package/dist/api/types/MemoriesUnifiedIngestRequest.js +3 -0
- package/dist/api/types/SearchAliasExpansionNote.d.ts +4 -0
- package/dist/api/types/SearchAliasExpansionNote.js +3 -0
- package/dist/api/types/SearchAppSearchFusionDiagnostics.d.ts +31 -0
- package/dist/api/types/SearchAppSearchFusionDiagnostics.js +3 -0
- package/dist/api/types/SearchAppSearchFusionStats.d.ts +43 -0
- package/dist/api/types/SearchAppSearchFusionStats.js +3 -0
- package/dist/api/types/SearchChunkInspectResult.d.ts +24 -0
- package/dist/api/types/SearchChunkInspectResult.js +3 -0
- package/dist/api/types/SearchCodeSearchRepoResult.d.ts +11 -0
- package/dist/api/types/SearchCodeSearchRepoResult.js +3 -0
- package/dist/api/types/SearchCodeSearchResult.d.ts +24 -0
- package/dist/api/types/SearchCodeSearchResult.js +3 -0
- package/dist/api/types/SearchEntityProfileView.d.ts +18 -0
- package/dist/api/types/SearchEntityProfileView.js +3 -0
- package/dist/api/types/SearchForcefulRelationEntry.d.ts +5 -0
- package/dist/api/types/SearchForcefulRelationEntry.js +3 -0
- package/dist/api/types/SearchForcefulRelationsBucket.d.ts +11 -0
- package/dist/api/types/SearchForcefulRelationsBucket.js +3 -0
- package/dist/api/types/SearchGraphPath.d.ts +10 -0
- package/dist/api/types/SearchGraphPath.js +3 -0
- package/dist/api/types/SearchGraphPlane.d.ts +11 -0
- package/dist/api/types/SearchGraphPlane.js +3 -0
- package/dist/api/types/SearchMetadataFilters.d.ts +1 -1
- package/dist/api/types/SearchProfileContext.d.ts +17 -0
- package/dist/api/types/SearchProfileContext.js +3 -0
- package/dist/api/types/SearchProfileEntry.d.ts +11 -0
- package/dist/api/types/SearchProfileEntry.js +3 -0
- package/dist/api/types/SearchProfileFilterInfo.d.ts +10 -0
- package/dist/api/types/SearchProfileFilterInfo.js +3 -0
- package/dist/api/types/SearchQueryChunk.d.ts +19 -0
- package/dist/api/types/SearchQueryChunk.js +3 -0
- package/dist/api/types/SearchQueryChunkEnrichmentKind.d.ts +7 -0
- package/dist/api/types/SearchQueryChunkEnrichmentKind.js +10 -0
- package/dist/api/types/SearchQueryChunkTemporal.d.ts +8 -0
- package/dist/api/types/SearchQueryChunkTemporal.js +3 -0
- package/dist/api/types/SearchQueryForcefulRelation.d.ts +6 -0
- package/dist/api/types/SearchQueryForcefulRelation.js +3 -0
- package/dist/api/types/SearchQueryGraphEdge.d.ts +13 -0
- package/dist/api/types/SearchQueryGraphEdge.js +3 -0
- package/dist/api/types/SearchQueryGraphEntity.d.ts +4 -0
- package/dist/api/types/SearchQueryGraphEntity.js +3 -0
- package/dist/api/types/SearchQueryGraphPath.d.ts +9 -0
- package/dist/api/types/SearchQueryGraphPath.js +3 -0
- package/dist/api/types/SearchQueryGraphPathOrigin.d.ts +6 -0
- package/dist/api/types/SearchQueryGraphPathOrigin.js +9 -0
- package/dist/api/types/SearchQueryGraphTriplet.d.ts +6 -0
- package/dist/api/types/SearchQueryGraphTriplet.js +3 -0
- package/dist/api/types/SearchQueryResult.d.ts +14 -0
- package/dist/api/types/SearchQueryResult.js +3 -0
- package/dist/api/types/SearchRelationVia.d.ts +4 -0
- package/dist/api/types/SearchRelationVia.js +3 -0
- package/dist/api/types/SearchResolvedReference.d.ts +4 -0
- package/dist/api/types/SearchResolvedReference.js +3 -0
- package/dist/api/types/SearchV2RetrievalResult.d.ts +32 -1
- package/dist/api/types/SearchVectorStoreChunk.d.ts +28 -0
- package/dist/api/types/SearchVectorStoreChunk.js +3 -0
- package/dist/api/types/TenantsDatabaseDetail.d.ts +11 -0
- package/dist/api/types/TenantsDatabaseDetail.js +3 -0
- package/dist/api/types/TenantsDatabaseDetailType.d.ts +9 -0
- package/dist/api/types/TenantsDatabaseDetailType.js +12 -0
- package/dist/api/types/TenantsInfraStatusResponseV2.d.ts +5 -0
- package/dist/api/types/TenantsInfraStatusResponseV2Type.d.ts +8 -0
- package/dist/api/types/TenantsInfraStatusResponseV2Type.js +11 -0
- package/dist/api/types/TenantsMilvusDataType.d.ts +1 -0
- package/dist/api/types/TenantsMilvusDataType.js +1 -0
- package/dist/api/types/TenantsSubTenantDeleteResponse.d.ts +12 -0
- package/dist/api/types/TenantsSubTenantDeleteResponse.js +3 -0
- package/dist/api/types/TenantsTenantIdsResponse.d.ts +2 -0
- package/dist/api/types/TenantsTenantRenameResponse.d.ts +20 -0
- package/dist/api/types/TenantsTenantRenameResponse.js +3 -0
- package/dist/api/types/index.d.ts +54 -6
- package/dist/api/types/index.js +54 -6
- package/dist/helpers/buildString.d.ts +9 -3
- package/dist/helpers/buildString.js +28 -3
- package/dist/serialization/client/requests/SearchQueryRequest.d.ts +7 -0
- package/dist/serialization/client/requests/SearchQueryRequest.js +7 -0
- package/dist/serialization/resources/connectors/client/requests/HandlerConfigureReq.d.ts +1 -0
- package/dist/serialization/resources/connectors/client/requests/HandlerConfigureReq.js +1 -0
- package/dist/serialization/resources/connectors/client/requests/HandlerVaultCredentialRevealReq.d.ts +9 -0
- package/dist/serialization/resources/connectors/client/requests/HandlerVaultCredentialRevealReq.js +41 -0
- package/dist/serialization/resources/connectors/client/requests/HandlerVaultCredentialUpdateReq.d.ts +9 -0
- package/dist/serialization/resources/connectors/client/requests/HandlerVaultCredentialUpdateReq.js +41 -0
- package/dist/serialization/resources/connectors/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/connectors/client/requests/index.js +5 -1
- package/dist/serialization/resources/context/types/ChunksContextRequestType.d.ts +7 -0
- package/dist/serialization/resources/context/types/ChunksContextRequestType.js +39 -0
- package/dist/serialization/resources/context/types/ListV2ListContentRequestType.d.ts +1 -1
- package/dist/serialization/resources/context/types/ListV2ListContentRequestType.js +1 -1
- package/dist/serialization/resources/context/types/ProfileContextRequestType.d.ts +7 -0
- package/dist/serialization/resources/context/types/ProfileContextRequestType.js +39 -0
- package/dist/serialization/resources/context/types/RelationsContextRequestType.d.ts +1 -1
- package/dist/serialization/resources/context/types/RelationsContextRequestType.js +1 -1
- package/dist/serialization/resources/context/types/SourcesV2SourceDeleteRequestType.d.ts +1 -1
- package/dist/serialization/resources/context/types/SourcesV2SourceDeleteRequestType.js +1 -1
- package/dist/serialization/resources/context/types/SubgraphContextRequestType.d.ts +1 -1
- package/dist/serialization/resources/context/types/SubgraphContextRequestType.js +1 -1
- package/dist/serialization/resources/context/types/index.d.ts +2 -0
- package/dist/serialization/resources/context/types/index.js +2 -0
- package/dist/serialization/resources/databases/client/requests/HandlerInstructionsUpdateReq.d.ts +10 -0
- package/dist/serialization/resources/databases/client/requests/HandlerInstructionsUpdateReq.js +44 -0
- package/dist/serialization/resources/databases/client/requests/TenantsTenantCreateRequest.d.ts +2 -0
- package/dist/serialization/resources/databases/client/requests/TenantsTenantCreateRequest.js +2 -0
- package/dist/serialization/resources/databases/client/requests/TenantsTenantRenameRequest.d.ts +9 -0
- package/dist/serialization/resources/databases/client/requests/TenantsTenantRenameRequest.js +41 -0
- package/dist/serialization/resources/databases/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/databases/client/requests/index.js +5 -1
- package/dist/serialization/resources/feedback/client/index.d.ts +1 -0
- package/dist/serialization/resources/feedback/client/index.js +17 -0
- package/dist/serialization/resources/feedback/client/requests/FeedbackSubmitRequest.d.ts +21 -0
- package/dist/serialization/{types → resources/feedback/client/requests}/FeedbackSubmitRequest.js +16 -4
- package/dist/serialization/resources/feedback/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/feedback/client/requests/index.js +5 -0
- package/dist/serialization/resources/feedback/index.d.ts +1 -0
- package/dist/serialization/resources/feedback/index.js +17 -0
- package/dist/serialization/resources/index.d.ts +2 -0
- package/dist/serialization/resources/index.js +3 -1
- package/dist/serialization/types/ConnectorsResource.d.ts +6 -0
- package/dist/serialization/types/ConnectorsResource.js +6 -0
- package/dist/serialization/types/GithubComHydradbHydradbApplicationInternalPlatformStoragelayoutLayout.d.ts +7 -0
- package/dist/serialization/types/GithubComHydradbHydradbApplicationInternalPlatformStoragelayoutLayout.js +39 -0
- package/dist/serialization/types/GraphRelationEvidence.d.ts +1 -0
- package/dist/serialization/types/GraphRelationEvidence.js +1 -0
- package/dist/serialization/types/HandlerConnectorApiView.d.ts +3 -0
- package/dist/serialization/types/HandlerConnectorApiView.js +3 -0
- package/dist/serialization/types/HandlerConnectorCreateResponse.d.ts +3 -0
- package/dist/serialization/types/HandlerConnectorCreateResponse.js +3 -0
- package/dist/serialization/types/HandlerConnectorLimitView.d.ts +12 -0
- package/dist/serialization/types/{FeedbackSubmitRequestGroundTruth.js → HandlerConnectorLimitView.js} +6 -4
- package/dist/serialization/types/HandlerConnectorListResponse.d.ts +4 -0
- package/dist/serialization/types/HandlerConnectorListResponse.js +4 -0
- package/dist/serialization/types/HandlerConnectorPauseResponse.d.ts +11 -0
- package/dist/serialization/types/HandlerConnectorPauseResponse.js +43 -0
- package/dist/serialization/types/HandlerConnectorResourceStatus.d.ts +4 -0
- package/dist/serialization/types/HandlerConnectorResourceStatus.js +4 -0
- package/dist/serialization/types/HandlerConnectorStatusResponse.d.ts +2 -0
- package/dist/serialization/types/HandlerConnectorStatusResponse.js +2 -0
- package/dist/serialization/types/HandlerEnvelopeSearchChunkInspectResult.d.ts +15 -0
- package/dist/serialization/types/HandlerEnvelopeSearchChunkInspectResult.js +47 -0
- package/dist/serialization/types/HandlerEnvelopeSearchEntityProfileView.d.ts +15 -0
- package/dist/serialization/types/HandlerEnvelopeSearchEntityProfileView.js +47 -0
- package/dist/serialization/types/HandlerEnvelopeSearchV2RetrievalResult.d.ts +2 -2
- package/dist/serialization/types/HandlerEnvelopeSearchV2RetrievalResult.js +2 -2
- package/dist/serialization/types/HandlerEnvelopeSearchV2RetrievalResultData.d.ts +9 -0
- package/dist/serialization/types/HandlerEnvelopeSearchV2RetrievalResultData.js +41 -0
- package/dist/serialization/types/HandlerEnvelopeTenantsSubTenantDeleteResponse.d.ts +15 -0
- package/dist/serialization/types/HandlerEnvelopeTenantsSubTenantDeleteResponse.js +47 -0
- package/dist/serialization/types/HandlerEnvelopeTenantsTenantRenameResponse.d.ts +15 -0
- package/dist/serialization/types/HandlerEnvelopeTenantsTenantRenameResponse.js +47 -0
- package/dist/serialization/types/HandlerInstructionsResponse.d.ts +12 -0
- package/dist/serialization/types/HandlerInstructionsResponse.js +44 -0
- package/dist/serialization/types/HandlerPlanCapView.d.ts +11 -0
- package/dist/serialization/types/{FeedbackSubmitRequestGroundTruthGroundTruthSourceIds.js → HandlerPlanCapView.js} +5 -3
- package/dist/serialization/types/HandlerVaultCredentialEntry.d.ts +15 -0
- package/dist/serialization/types/HandlerVaultCredentialEntry.js +47 -0
- package/dist/serialization/types/HandlerVaultCredentialListResponse.d.ts +12 -0
- package/dist/serialization/types/HandlerVaultCredentialListResponse.js +44 -0
- package/dist/serialization/types/HandlerVaultCredentialRevealResponse.d.ts +12 -0
- package/dist/serialization/types/HandlerVaultCredentialRevealResponse.js +44 -0
- package/dist/serialization/types/HandlerVaultCredentialUpdateResponse.d.ts +10 -0
- package/dist/serialization/types/HandlerVaultCredentialUpdateResponse.js +42 -0
- package/dist/serialization/types/IngestionGraphEntity.d.ts +12 -0
- package/dist/serialization/types/IngestionGraphEntity.js +44 -0
- package/dist/serialization/types/IngestionGraphPayload.d.ts +12 -0
- package/dist/serialization/types/IngestionGraphPayload.js +44 -0
- package/dist/serialization/types/IngestionGraphRelation.d.ts +13 -0
- package/dist/serialization/types/IngestionGraphRelation.js +45 -0
- package/dist/serialization/types/ListV2MemoryItem.d.ts +1 -0
- package/dist/serialization/types/ListV2MemoryItem.js +1 -0
- package/dist/serialization/types/ListV2SourceItem.d.ts +1 -0
- package/dist/serialization/types/ListV2SourceItem.js +1 -0
- package/dist/serialization/types/MemoriesConversationTurn.d.ts +10 -0
- package/dist/serialization/types/MemoriesConversationTurn.js +42 -0
- package/dist/serialization/types/MemoriesForcefulRelations.d.ts +10 -0
- package/dist/serialization/types/MemoriesForcefulRelations.js +42 -0
- package/dist/serialization/types/MemoriesIngestItem.d.ts +25 -0
- package/dist/serialization/types/MemoriesIngestItem.js +57 -0
- package/dist/serialization/types/MemoriesIngestItemContextCategory.d.ts +7 -0
- package/dist/serialization/types/MemoriesIngestItemContextCategory.js +39 -0
- package/dist/serialization/types/MemoriesUnifiedIngestRequest.d.ts +19 -0
- package/dist/serialization/types/MemoriesUnifiedIngestRequest.js +51 -0
- package/dist/serialization/types/SearchAliasExpansionNote.d.ts +10 -0
- package/dist/serialization/types/SearchAliasExpansionNote.js +42 -0
- package/dist/serialization/types/SearchAppSearchFusionDiagnostics.d.ts +13 -0
- package/dist/serialization/types/SearchAppSearchFusionDiagnostics.js +45 -0
- package/dist/serialization/types/SearchAppSearchFusionStats.d.ts +19 -0
- package/dist/serialization/types/SearchAppSearchFusionStats.js +51 -0
- package/dist/serialization/types/SearchChunkInspectResult.d.ts +14 -0
- package/dist/serialization/types/SearchChunkInspectResult.js +46 -0
- package/dist/serialization/types/SearchCodeSearchRepoResult.d.ts +15 -0
- package/dist/serialization/types/SearchCodeSearchRepoResult.js +47 -0
- package/dist/serialization/types/SearchCodeSearchResult.d.ts +14 -0
- package/dist/serialization/types/SearchCodeSearchResult.js +46 -0
- package/dist/serialization/types/SearchEntityProfileView.d.ts +22 -0
- package/dist/serialization/types/SearchEntityProfileView.js +54 -0
- package/dist/serialization/types/SearchForcefulRelationEntry.d.ts +12 -0
- package/dist/serialization/types/SearchForcefulRelationEntry.js +44 -0
- package/dist/serialization/types/SearchForcefulRelationsBucket.d.ts +11 -0
- package/dist/serialization/types/SearchForcefulRelationsBucket.js +43 -0
- package/dist/serialization/types/SearchGraphPath.d.ts +13 -0
- package/dist/serialization/types/SearchGraphPath.js +45 -0
- package/dist/serialization/types/SearchGraphPlane.d.ts +10 -0
- package/dist/serialization/types/SearchGraphPlane.js +42 -0
- package/dist/serialization/types/SearchProfileContext.d.ts +17 -0
- package/dist/serialization/types/SearchProfileContext.js +49 -0
- package/dist/serialization/types/SearchProfileEntry.d.ts +15 -0
- package/dist/serialization/types/SearchProfileEntry.js +47 -0
- package/dist/serialization/types/SearchProfileFilterInfo.d.ts +15 -0
- package/dist/serialization/types/SearchProfileFilterInfo.js +47 -0
- package/dist/serialization/types/SearchQueryChunk.d.ts +18 -0
- package/dist/serialization/types/SearchQueryChunk.js +50 -0
- package/dist/serialization/types/SearchQueryChunkEnrichmentKind.d.ts +7 -0
- package/dist/serialization/types/SearchQueryChunkEnrichmentKind.js +39 -0
- package/dist/serialization/types/SearchQueryChunkTemporal.d.ts +11 -0
- package/dist/serialization/types/SearchQueryChunkTemporal.js +43 -0
- package/dist/serialization/types/SearchQueryForcefulRelation.d.ts +12 -0
- package/dist/serialization/types/SearchQueryForcefulRelation.js +44 -0
- package/dist/serialization/types/SearchQueryGraphEdge.d.ts +14 -0
- package/dist/serialization/types/SearchQueryGraphEdge.js +46 -0
- package/dist/serialization/types/SearchQueryGraphEntity.d.ts +10 -0
- package/dist/serialization/types/SearchQueryGraphEntity.js +42 -0
- package/dist/serialization/types/SearchQueryGraphPath.d.ts +13 -0
- package/dist/serialization/types/SearchQueryGraphPath.js +45 -0
- package/dist/serialization/types/SearchQueryGraphPathOrigin.d.ts +7 -0
- package/dist/serialization/types/{FeedbackSubmitRequestFeedback.js → SearchQueryGraphPathOrigin.js} +2 -4
- package/dist/serialization/types/SearchQueryGraphTriplet.d.ts +13 -0
- package/dist/serialization/types/SearchQueryGraphTriplet.js +45 -0
- package/dist/serialization/types/SearchQueryResult.d.ts +15 -0
- package/dist/serialization/types/SearchQueryResult.js +47 -0
- package/dist/serialization/types/SearchRelationVia.d.ts +10 -0
- package/dist/serialization/types/{FeedbackSubmitRequestGroundTruthGroundTruthAnswer.js → SearchRelationVia.js} +4 -3
- package/dist/serialization/types/SearchResolvedReference.d.ts +10 -0
- package/dist/serialization/types/SearchResolvedReference.js +42 -0
- package/dist/serialization/types/SearchV2RetrievalResult.d.ts +18 -0
- package/dist/serialization/types/SearchV2RetrievalResult.js +18 -0
- package/dist/serialization/types/SearchVectorStoreChunk.d.ts +21 -0
- package/dist/serialization/types/SearchVectorStoreChunk.js +53 -0
- package/dist/serialization/types/TenantsDatabaseDetail.d.ts +11 -0
- package/dist/serialization/types/TenantsDatabaseDetail.js +43 -0
- package/dist/serialization/types/TenantsDatabaseDetailType.d.ts +7 -0
- package/dist/serialization/types/TenantsDatabaseDetailType.js +39 -0
- package/dist/serialization/types/TenantsInfraStatusResponseV2.d.ts +2 -0
- package/dist/serialization/types/TenantsInfraStatusResponseV2.js +2 -0
- package/dist/serialization/types/TenantsInfraStatusResponseV2Type.d.ts +7 -0
- package/dist/serialization/types/TenantsInfraStatusResponseV2Type.js +39 -0
- package/dist/serialization/types/TenantsSubTenantDeleteResponse.d.ts +14 -0
- package/dist/serialization/types/TenantsSubTenantDeleteResponse.js +46 -0
- package/dist/serialization/types/TenantsTenantIdsResponse.d.ts +2 -0
- package/dist/serialization/types/TenantsTenantIdsResponse.js +2 -0
- package/dist/serialization/types/TenantsTenantRenameResponse.d.ts +15 -0
- package/dist/serialization/types/TenantsTenantRenameResponse.js +47 -0
- package/dist/serialization/types/index.d.ts +54 -6
- package/dist/serialization/types/index.js +54 -6
- package/package.json +1 -1
- package/dist/api/types/FeedbackSubmitRequest.d.ts +0 -2
- package/dist/api/types/FeedbackSubmitRequestFeedback.d.ts +0 -3
- package/dist/api/types/FeedbackSubmitRequestGroundTruth.d.ts +0 -4
- package/dist/api/types/FeedbackSubmitRequestGroundTruthGroundTruth.d.ts +0 -2
- package/dist/api/types/FeedbackSubmitRequestGroundTruthGroundTruthAnswer.d.ts +0 -3
- package/dist/api/types/FeedbackSubmitRequestGroundTruthGroundTruthSourceIds.d.ts +0 -3
- package/dist/serialization/types/FeedbackSubmitRequest.d.ts +0 -9
- package/dist/serialization/types/FeedbackSubmitRequestFeedback.d.ts +0 -9
- package/dist/serialization/types/FeedbackSubmitRequestGroundTruth.d.ts +0 -10
- package/dist/serialization/types/FeedbackSubmitRequestGroundTruthGroundTruth.d.ts +0 -9
- package/dist/serialization/types/FeedbackSubmitRequestGroundTruthGroundTruth.js +0 -44
- package/dist/serialization/types/FeedbackSubmitRequestGroundTruthGroundTruthAnswer.d.ts +0 -9
- package/dist/serialization/types/FeedbackSubmitRequestGroundTruthGroundTruthSourceIds.d.ts +0 -9
- /package/dist/api/{types/FeedbackSubmitRequest.js → resources/connectors/client/requests/HandlerVaultCredentialRevealReq.js} +0 -0
- /package/dist/api/{types/FeedbackSubmitRequestFeedback.js → resources/connectors/client/requests/HandlerVaultCredentialUpdateReq.js} +0 -0
- /package/dist/api/{types/FeedbackSubmitRequestGroundTruth.js → resources/connectors/client/requests/PauseConnectorsRequest.js} +0 -0
- /package/dist/api/{types/FeedbackSubmitRequestGroundTruthGroundTruth.js → resources/connectors/client/requests/ResumeConnectorsRequest.js} +0 -0
- /package/dist/api/{types/FeedbackSubmitRequestGroundTruthGroundTruthAnswer.js → resources/context/client/requests/ChunksContextRequest.js} +0 -0
- /package/dist/api/{types/FeedbackSubmitRequestGroundTruthGroundTruthSourceIds.js → resources/context/client/requests/ProfileContextRequest.js} +0 -0
|
@@ -288,15 +288,21 @@ function formatChunksWithGraph(chunks, graphContext, label) {
|
|
|
288
288
|
/**
|
|
289
289
|
* Format a v2 query result into a plain string for LLM context injection.
|
|
290
290
|
*
|
|
291
|
-
*
|
|
291
|
+
* The canonical string rendering lives on the APPLICATION LAYER: every /query
|
|
292
|
+
* response body carries `llm_prompt`, the whole result rendered as a Markdown
|
|
293
|
+
* document by the server (the same code on every surface). When this helper
|
|
294
|
+
* finds it, it returns the server's string verbatim. The client-side
|
|
295
|
+
* formatting below is only the legacy fallback for responses from servers
|
|
296
|
+
* that predate `llm_prompt`.
|
|
297
|
+
*
|
|
298
|
+
* Accepts:
|
|
292
299
|
* - The full v2 envelope (`{ success, data, error, meta }`) — auto-unwraps `.data`
|
|
293
300
|
* - A bare retrieval result (with `chunks` / `graphContext`)
|
|
294
301
|
*
|
|
295
302
|
* @example
|
|
296
303
|
* ```typescript
|
|
297
304
|
* const response = await client.query({ query: "...", tenantId: "..." });
|
|
298
|
-
* console.log(buildString(response)); //
|
|
299
|
-
* console.log(buildString(response.data!)); // also works on just the data
|
|
305
|
+
* console.log(buildString(response)); // the server-rendered llm_prompt, verbatim
|
|
300
306
|
* ```
|
|
301
307
|
*/
|
|
302
308
|
function buildString(result) {
|
|
@@ -304,8 +310,27 @@ function buildString(result) {
|
|
|
304
310
|
return "No relevant context found.";
|
|
305
311
|
// Auto-unwrap the v2 envelope if user passes the full response
|
|
306
312
|
const data = "data" in result && !("chunks" in result) ? result.data : result;
|
|
313
|
+
// The server-rendered prompt is the source of truth — return it untouched.
|
|
314
|
+
// Both spellings: the serde layer exposes llmPrompt, raw JSON llm_prompt.
|
|
315
|
+
const prompt = data?.llmPrompt ?? data?.llm_prompt;
|
|
316
|
+
if (typeof prompt === "string" && prompt !== "")
|
|
317
|
+
return prompt;
|
|
307
318
|
if (!data)
|
|
308
319
|
return "No relevant context found.";
|
|
320
|
+
// A unified database returns the string already built, server-side
|
|
321
|
+
// (`llm_prompt`): numbered results with their relevance, forceful
|
|
322
|
+
// relations, related facts citing the results they came from, temporal
|
|
323
|
+
// facts and sources. Return it verbatim rather than re-rendering a body
|
|
324
|
+
// whose shape this function does not describe. Both spellings are read:
|
|
325
|
+
// the serde layer camel-cases the field when the generated type names it,
|
|
326
|
+
// and leaves it as sent when it arrives as an unrecognised key.
|
|
327
|
+
//
|
|
328
|
+
// Nothing else changes: a split database has no llm_prompt, so it falls
|
|
329
|
+
// through to the rendering below exactly as before.
|
|
330
|
+
const serverBuilt = data.llmPrompt ?? data.llm_prompt;
|
|
331
|
+
if (typeof serverBuilt === "string" && serverBuilt.trim()) {
|
|
332
|
+
return serverBuilt;
|
|
333
|
+
}
|
|
309
334
|
const sections = [];
|
|
310
335
|
const chunksStr = formatChunksWithGraph(data.chunks, data.graphContext, "CONTEXT");
|
|
311
336
|
if (chunksStr)
|
|
@@ -15,9 +15,12 @@ export declare namespace SearchQueryRequest {
|
|
|
15
15
|
acl?: string[] | null;
|
|
16
16
|
additional_context?: string | null;
|
|
17
17
|
alpha?: unknown | null;
|
|
18
|
+
attributes?: Record<string, unknown> | null;
|
|
19
|
+
code_search?: boolean | null;
|
|
18
20
|
collection?: string | null;
|
|
19
21
|
collections?: SearchQueryRequestCollections.Raw | null;
|
|
20
22
|
database?: string | null;
|
|
23
|
+
follow_forceful_relations?: boolean | null;
|
|
21
24
|
graph_context?: boolean | null;
|
|
22
25
|
graph_vector_prune?: boolean | null;
|
|
23
26
|
graph_vector_prune_spacy_entities?: boolean | null;
|
|
@@ -27,6 +30,9 @@ export declare namespace SearchQueryRequest {
|
|
|
27
30
|
mode?: SearchRecallMode.Raw | null;
|
|
28
31
|
num_related_chunks?: number | null;
|
|
29
32
|
operator?: SearchOperator.Raw | null;
|
|
33
|
+
profile_entity_type?: string | null;
|
|
34
|
+
profile_namespace?: string | null;
|
|
35
|
+
profile_subject?: string | null;
|
|
30
36
|
query?: string | null;
|
|
31
37
|
query_apps?: boolean | null;
|
|
32
38
|
query_by?: SearchQueryBy.Raw | null;
|
|
@@ -38,6 +44,7 @@ export declare namespace SearchQueryRequest {
|
|
|
38
44
|
temporal_now?: string | null;
|
|
39
45
|
temporal_reasoning?: boolean | null;
|
|
40
46
|
tenant_id?: string | null;
|
|
47
|
+
titles?: string[] | null;
|
|
41
48
|
type?: SearchSourceType.Raw | null;
|
|
42
49
|
}
|
|
43
50
|
}
|
|
@@ -48,9 +48,12 @@ exports.SearchQueryRequest = core.serialization.object({
|
|
|
48
48
|
acl: core.serialization.list(core.serialization.string()).optional(),
|
|
49
49
|
additionalContext: core.serialization.property("additional_context", core.serialization.string().optional()),
|
|
50
50
|
alpha: core.serialization.unknown().optional(),
|
|
51
|
+
attributes: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
|
|
52
|
+
codeSearch: core.serialization.property("code_search", core.serialization.boolean().optional()),
|
|
51
53
|
collection: core.serialization.string().optional(),
|
|
52
54
|
collections: SearchQueryRequestCollections_js_1.SearchQueryRequestCollections.optional(),
|
|
53
55
|
database: core.serialization.string().optional(),
|
|
56
|
+
followForcefulRelations: core.serialization.property("follow_forceful_relations", core.serialization.boolean().optional()),
|
|
54
57
|
graphContext: core.serialization.property("graph_context", core.serialization.boolean().optional()),
|
|
55
58
|
graphVectorPrune: core.serialization.property("graph_vector_prune", core.serialization.boolean().optional()),
|
|
56
59
|
graphVectorPruneSpacyEntities: core.serialization.property("graph_vector_prune_spacy_entities", core.serialization.boolean().optional()),
|
|
@@ -60,6 +63,9 @@ exports.SearchQueryRequest = core.serialization.object({
|
|
|
60
63
|
mode: SearchRecallMode_js_1.SearchRecallMode.optional(),
|
|
61
64
|
numRelatedChunks: core.serialization.property("num_related_chunks", core.serialization.number().optional()),
|
|
62
65
|
operator: SearchOperator_js_1.SearchOperator.optional(),
|
|
66
|
+
profileEntityType: core.serialization.property("profile_entity_type", core.serialization.string().optional()),
|
|
67
|
+
profileNamespace: core.serialization.property("profile_namespace", core.serialization.string().optional()),
|
|
68
|
+
profileSubject: core.serialization.property("profile_subject", core.serialization.string().optional()),
|
|
63
69
|
query: core.serialization.string().optional(),
|
|
64
70
|
queryApps: core.serialization.property("query_apps", core.serialization.boolean().optional()),
|
|
65
71
|
queryBy: core.serialization.property("query_by", SearchQueryBy_js_1.SearchQueryBy.optional()),
|
|
@@ -71,5 +77,6 @@ exports.SearchQueryRequest = core.serialization.object({
|
|
|
71
77
|
temporalNow: core.serialization.property("temporal_now", core.serialization.string().optional()),
|
|
72
78
|
temporalReasoning: core.serialization.property("temporal_reasoning", core.serialization.boolean().optional()),
|
|
73
79
|
tenantId: core.serialization.property("tenant_id", core.serialization.string().optional()),
|
|
80
|
+
titles: core.serialization.list(core.serialization.string()).optional(),
|
|
74
81
|
type: SearchSourceType_js_1.SearchSourceType.optional(),
|
|
75
82
|
});
|
|
@@ -7,6 +7,7 @@ export declare const HandlerConfigureReq: core.serialization.Schema<serializers.
|
|
|
7
7
|
export declare namespace HandlerConfigureReq {
|
|
8
8
|
interface Raw {
|
|
9
9
|
backfill_chunk_interval_seconds?: number | null;
|
|
10
|
+
full_visibility_roles?: string[] | null;
|
|
10
11
|
lookback_days?: number | null;
|
|
11
12
|
resources: HandlerResourceMapping.Raw[];
|
|
12
13
|
table_configs?: HandlerTableConfigEntry.Raw[] | null;
|
|
@@ -40,6 +40,7 @@ const HandlerResourceMapping_js_1 = require("../../../../types/HandlerResourceMa
|
|
|
40
40
|
const HandlerTableConfigEntry_js_1 = require("../../../../types/HandlerTableConfigEntry.js");
|
|
41
41
|
exports.HandlerConfigureReq = core.serialization.object({
|
|
42
42
|
backfillChunkIntervalSeconds: core.serialization.property("backfill_chunk_interval_seconds", core.serialization.number().optional()),
|
|
43
|
+
fullVisibilityRoles: core.serialization.property("full_visibility_roles", core.serialization.list(core.serialization.string()).optional()),
|
|
43
44
|
lookbackDays: core.serialization.property("lookback_days", core.serialization.number().optional()),
|
|
44
45
|
resources: core.serialization.list(HandlerResourceMapping_js_1.HandlerResourceMapping),
|
|
45
46
|
tableConfigs: core.serialization.property("table_configs", core.serialization.list(HandlerTableConfigEntry_js_1.HandlerTableConfigEntry).optional()),
|
package/dist/serialization/resources/connectors/client/requests/HandlerVaultCredentialRevealReq.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
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 HandlerVaultCredentialRevealReq: core.serialization.Schema<serializers.HandlerVaultCredentialRevealReq.Raw, Omit<HydraDB.HandlerVaultCredentialRevealReq, "id">>;
|
|
5
|
+
export declare namespace HandlerVaultCredentialRevealReq {
|
|
6
|
+
interface Raw {
|
|
7
|
+
field: string;
|
|
8
|
+
}
|
|
9
|
+
}
|
package/dist/serialization/resources/connectors/client/requests/HandlerVaultCredentialRevealReq.js
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
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.HandlerVaultCredentialRevealReq = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../../core/index.js"));
|
|
39
|
+
exports.HandlerVaultCredentialRevealReq = core.serialization.object({
|
|
40
|
+
field: core.serialization.string(),
|
|
41
|
+
});
|
package/dist/serialization/resources/connectors/client/requests/HandlerVaultCredentialUpdateReq.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
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 HandlerVaultCredentialUpdateReq: core.serialization.Schema<serializers.HandlerVaultCredentialUpdateReq.Raw, Omit<HydraDB.HandlerVaultCredentialUpdateReq, "id">>;
|
|
5
|
+
export declare namespace HandlerVaultCredentialUpdateReq {
|
|
6
|
+
interface Raw {
|
|
7
|
+
credentials: Record<string, unknown>;
|
|
8
|
+
}
|
|
9
|
+
}
|
package/dist/serialization/resources/connectors/client/requests/HandlerVaultCredentialUpdateReq.js
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
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.HandlerVaultCredentialUpdateReq = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../../core/index.js"));
|
|
39
|
+
exports.HandlerVaultCredentialUpdateReq = core.serialization.object({
|
|
40
|
+
credentials: core.serialization.record(core.serialization.string(), core.serialization.unknown()),
|
|
41
|
+
});
|
|
@@ -3,3 +3,5 @@ export { HandlerConnectorCreateReq } from "./HandlerConnectorCreateReq.js";
|
|
|
3
3
|
export { HandlerConnectorUpdateReq } from "./HandlerConnectorUpdateReq.js";
|
|
4
4
|
export { HandlerDiscoverPreviewReq } from "./HandlerDiscoverPreviewReq.js";
|
|
5
5
|
export { HandlerResourceCreateReq } from "./HandlerResourceCreateReq.js";
|
|
6
|
+
export { HandlerVaultCredentialRevealReq } from "./HandlerVaultCredentialRevealReq.js";
|
|
7
|
+
export { HandlerVaultCredentialUpdateReq } from "./HandlerVaultCredentialUpdateReq.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.HandlerResourceCreateReq = exports.HandlerDiscoverPreviewReq = exports.HandlerConnectorUpdateReq = exports.HandlerConnectorCreateReq = exports.HandlerConfigureReq = void 0;
|
|
3
|
+
exports.HandlerVaultCredentialUpdateReq = exports.HandlerVaultCredentialRevealReq = exports.HandlerResourceCreateReq = exports.HandlerDiscoverPreviewReq = exports.HandlerConnectorUpdateReq = exports.HandlerConnectorCreateReq = exports.HandlerConfigureReq = void 0;
|
|
4
4
|
var HandlerConfigureReq_js_1 = require("./HandlerConfigureReq.js");
|
|
5
5
|
Object.defineProperty(exports, "HandlerConfigureReq", { enumerable: true, get: function () { return HandlerConfigureReq_js_1.HandlerConfigureReq; } });
|
|
6
6
|
var HandlerConnectorCreateReq_js_1 = require("./HandlerConnectorCreateReq.js");
|
|
@@ -11,3 +11,7 @@ var HandlerDiscoverPreviewReq_js_1 = require("./HandlerDiscoverPreviewReq.js");
|
|
|
11
11
|
Object.defineProperty(exports, "HandlerDiscoverPreviewReq", { enumerable: true, get: function () { return HandlerDiscoverPreviewReq_js_1.HandlerDiscoverPreviewReq; } });
|
|
12
12
|
var HandlerResourceCreateReq_js_1 = require("./HandlerResourceCreateReq.js");
|
|
13
13
|
Object.defineProperty(exports, "HandlerResourceCreateReq", { enumerable: true, get: function () { return HandlerResourceCreateReq_js_1.HandlerResourceCreateReq; } });
|
|
14
|
+
var HandlerVaultCredentialRevealReq_js_1 = require("./HandlerVaultCredentialRevealReq.js");
|
|
15
|
+
Object.defineProperty(exports, "HandlerVaultCredentialRevealReq", { enumerable: true, get: function () { return HandlerVaultCredentialRevealReq_js_1.HandlerVaultCredentialRevealReq; } });
|
|
16
|
+
var HandlerVaultCredentialUpdateReq_js_1 = require("./HandlerVaultCredentialUpdateReq.js");
|
|
17
|
+
Object.defineProperty(exports, "HandlerVaultCredentialUpdateReq", { enumerable: true, get: function () { return HandlerVaultCredentialUpdateReq_js_1.HandlerVaultCredentialUpdateReq; } });
|
|
@@ -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 ChunksContextRequestType: core.serialization.Schema<serializers.ChunksContextRequestType.Raw, HydraDB.ChunksContextRequestType>;
|
|
5
|
+
export declare namespace ChunksContextRequestType {
|
|
6
|
+
type Raw = "knowledge" | "memory" | "all";
|
|
7
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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.ChunksContextRequestType = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core/index.js"));
|
|
39
|
+
exports.ChunksContextRequestType = core.serialization.enum_(["knowledge", "memory", "all"]);
|
|
@@ -3,5 +3,5 @@ import * as core from "../../../../core/index.js";
|
|
|
3
3
|
import type * as serializers from "../../../index.js";
|
|
4
4
|
export declare const ListV2ListContentRequestType: core.serialization.Schema<serializers.ListV2ListContentRequestType.Raw, HydraDB.ListV2ListContentRequestType>;
|
|
5
5
|
export declare namespace ListV2ListContentRequestType {
|
|
6
|
-
type Raw = "knowledge" | "memory";
|
|
6
|
+
type Raw = "knowledge" | "memory" | "all";
|
|
7
7
|
}
|
|
@@ -36,4 +36,4 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.ListV2ListContentRequestType = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core/index.js"));
|
|
39
|
-
exports.ListV2ListContentRequestType = core.serialization.enum_(["knowledge", "memory"]);
|
|
39
|
+
exports.ListV2ListContentRequestType = core.serialization.enum_(["knowledge", "memory", "all"]);
|
|
@@ -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 ProfileContextRequestType: core.serialization.Schema<serializers.ProfileContextRequestType.Raw, HydraDB.ProfileContextRequestType>;
|
|
5
|
+
export declare namespace ProfileContextRequestType {
|
|
6
|
+
type Raw = "knowledge" | "memory";
|
|
7
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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.ProfileContextRequestType = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core/index.js"));
|
|
39
|
+
exports.ProfileContextRequestType = core.serialization.enum_(["knowledge", "memory"]);
|
|
@@ -3,5 +3,5 @@ import * as core from "../../../../core/index.js";
|
|
|
3
3
|
import type * as serializers from "../../../index.js";
|
|
4
4
|
export declare const RelationsContextRequestType: core.serialization.Schema<serializers.RelationsContextRequestType.Raw, HydraDB.RelationsContextRequestType>;
|
|
5
5
|
export declare namespace RelationsContextRequestType {
|
|
6
|
-
type Raw = "knowledge" | "memory";
|
|
6
|
+
type Raw = "knowledge" | "memory" | "all";
|
|
7
7
|
}
|
|
@@ -36,4 +36,4 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.RelationsContextRequestType = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core/index.js"));
|
|
39
|
-
exports.RelationsContextRequestType = core.serialization.enum_(["knowledge", "memory"]);
|
|
39
|
+
exports.RelationsContextRequestType = core.serialization.enum_(["knowledge", "memory", "all"]);
|
|
@@ -3,5 +3,5 @@ import * as core from "../../../../core/index.js";
|
|
|
3
3
|
import type * as serializers from "../../../index.js";
|
|
4
4
|
export declare const SourcesV2SourceDeleteRequestType: core.serialization.Schema<serializers.SourcesV2SourceDeleteRequestType.Raw, HydraDB.SourcesV2SourceDeleteRequestType>;
|
|
5
5
|
export declare namespace SourcesV2SourceDeleteRequestType {
|
|
6
|
-
type Raw = "knowledge" | "memory";
|
|
6
|
+
type Raw = "knowledge" | "memory" | "all";
|
|
7
7
|
}
|
|
@@ -36,4 +36,4 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.SourcesV2SourceDeleteRequestType = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core/index.js"));
|
|
39
|
-
exports.SourcesV2SourceDeleteRequestType = core.serialization.enum_(["knowledge", "memory"]);
|
|
39
|
+
exports.SourcesV2SourceDeleteRequestType = core.serialization.enum_(["knowledge", "memory", "all"]);
|
|
@@ -3,5 +3,5 @@ import * as core from "../../../../core/index.js";
|
|
|
3
3
|
import type * as serializers from "../../../index.js";
|
|
4
4
|
export declare const SubgraphContextRequestType: core.serialization.Schema<serializers.SubgraphContextRequestType.Raw, HydraDB.SubgraphContextRequestType>;
|
|
5
5
|
export declare namespace SubgraphContextRequestType {
|
|
6
|
-
type Raw = "knowledge" | "memory";
|
|
6
|
+
type Raw = "knowledge" | "memory" | "all";
|
|
7
7
|
}
|
|
@@ -36,4 +36,4 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.SubgraphContextRequestType = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core/index.js"));
|
|
39
|
-
exports.SubgraphContextRequestType = core.serialization.enum_(["knowledge", "memory"]);
|
|
39
|
+
exports.SubgraphContextRequestType = core.serialization.enum_(["knowledge", "memory", "all"]);
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
export * from "./ChunksContextRequestType.js";
|
|
1
2
|
export * from "./DeleteContextRequestXHydraDbDeleteStatus.js";
|
|
2
3
|
export * from "./IngestContextRequestType.js";
|
|
3
4
|
export * from "./ListV2ListContentRequestType.js";
|
|
5
|
+
export * from "./ProfileContextRequestType.js";
|
|
4
6
|
export * from "./RelationsContextRequestType.js";
|
|
5
7
|
export * from "./SourcesV2SourceDeleteRequestType.js";
|
|
6
8
|
export * from "./SubgraphContextRequestType.js";
|
|
@@ -14,9 +14,11 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./ChunksContextRequestType.js"), exports);
|
|
17
18
|
__exportStar(require("./DeleteContextRequestXHydraDbDeleteStatus.js"), exports);
|
|
18
19
|
__exportStar(require("./IngestContextRequestType.js"), exports);
|
|
19
20
|
__exportStar(require("./ListV2ListContentRequestType.js"), exports);
|
|
21
|
+
__exportStar(require("./ProfileContextRequestType.js"), exports);
|
|
20
22
|
__exportStar(require("./RelationsContextRequestType.js"), exports);
|
|
21
23
|
__exportStar(require("./SourcesV2SourceDeleteRequestType.js"), exports);
|
|
22
24
|
__exportStar(require("./SubgraphContextRequestType.js"), exports);
|
package/dist/serialization/resources/databases/client/requests/HandlerInstructionsUpdateReq.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
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 HandlerInstructionsUpdateReq: core.serialization.Schema<serializers.HandlerInstructionsUpdateReq.Raw, Omit<HydraDB.HandlerInstructionsUpdateReq, "database">>;
|
|
5
|
+
export declare namespace HandlerInstructionsUpdateReq {
|
|
6
|
+
interface Raw {
|
|
7
|
+
collections?: Record<string, string | null> | null;
|
|
8
|
+
custom_instructions?: (string | null | undefined) | null;
|
|
9
|
+
}
|
|
10
|
+
}
|
package/dist/serialization/resources/databases/client/requests/HandlerInstructionsUpdateReq.js
ADDED
|
@@ -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.HandlerInstructionsUpdateReq = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../../core/index.js"));
|
|
39
|
+
exports.HandlerInstructionsUpdateReq = core.serialization.object({
|
|
40
|
+
collections: core.serialization
|
|
41
|
+
.record(core.serialization.string(), core.serialization.string().nullable())
|
|
42
|
+
.optional(),
|
|
43
|
+
customInstructions: core.serialization.property("custom_instructions", core.serialization.string().optionalNullable()),
|
|
44
|
+
});
|
package/dist/serialization/resources/databases/client/requests/TenantsTenantCreateRequest.d.ts
CHANGED
|
@@ -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 { GithubComHydradbHydradbApplicationInternalPlatformStoragelayoutLayout } from "../../../../types/GithubComHydradbHydradbApplicationInternalPlatformStoragelayoutLayout.js";
|
|
4
5
|
import { TenantsCustomPropertyDefinition } from "../../../../types/TenantsCustomPropertyDefinition.js";
|
|
5
6
|
export declare const TenantsTenantCreateRequest: core.serialization.Schema<serializers.TenantsTenantCreateRequest.Raw, HydraDB.TenantsTenantCreateRequest>;
|
|
6
7
|
export declare namespace TenantsTenantCreateRequest {
|
|
@@ -11,5 +12,6 @@ export declare namespace TenantsTenantCreateRequest {
|
|
|
11
12
|
is_embeddings_tenant?: boolean | null;
|
|
12
13
|
tenant_id?: string | null;
|
|
13
14
|
tenant_metadata_schema?: TenantsCustomPropertyDefinition.Raw[] | null;
|
|
15
|
+
type?: GithubComHydradbHydradbApplicationInternalPlatformStoragelayoutLayout.Raw | null;
|
|
14
16
|
}
|
|
15
17
|
}
|
package/dist/serialization/resources/databases/client/requests/TenantsTenantCreateRequest.js
CHANGED
|
@@ -36,6 +36,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.TenantsTenantCreateRequest = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../../core/index.js"));
|
|
39
|
+
const GithubComHydradbHydradbApplicationInternalPlatformStoragelayoutLayout_js_1 = require("../../../../types/GithubComHydradbHydradbApplicationInternalPlatformStoragelayoutLayout.js");
|
|
39
40
|
const TenantsCustomPropertyDefinition_js_1 = require("../../../../types/TenantsCustomPropertyDefinition.js");
|
|
40
41
|
exports.TenantsTenantCreateRequest = core.serialization.object({
|
|
41
42
|
database: core.serialization.string().optional(),
|
|
@@ -44,4 +45,5 @@ exports.TenantsTenantCreateRequest = core.serialization.object({
|
|
|
44
45
|
isEmbeddingsTenant: core.serialization.property("is_embeddings_tenant", core.serialization.boolean().optional()),
|
|
45
46
|
tenantId: core.serialization.property("tenant_id", core.serialization.string().optional()),
|
|
46
47
|
tenantMetadataSchema: core.serialization.property("tenant_metadata_schema", core.serialization.list(TenantsCustomPropertyDefinition_js_1.TenantsCustomPropertyDefinition).optional()),
|
|
48
|
+
type: GithubComHydradbHydradbApplicationInternalPlatformStoragelayoutLayout_js_1.GithubComHydradbHydradbApplicationInternalPlatformStoragelayoutLayout.optional(),
|
|
47
49
|
});
|
package/dist/serialization/resources/databases/client/requests/TenantsTenantRenameRequest.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
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 TenantsTenantRenameRequest: core.serialization.Schema<serializers.TenantsTenantRenameRequest.Raw, Omit<HydraDB.TenantsTenantRenameRequest, "database">>;
|
|
5
|
+
export declare namespace TenantsTenantRenameRequest {
|
|
6
|
+
interface Raw {
|
|
7
|
+
new_name: string;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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.TenantsTenantRenameRequest = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../../core/index.js"));
|
|
39
|
+
exports.TenantsTenantRenameRequest = core.serialization.object({
|
|
40
|
+
newName: core.serialization.property("new_name", core.serialization.string()),
|
|
41
|
+
});
|
|
@@ -1,2 +1,4 @@
|
|
|
1
|
+
export { HandlerInstructionsUpdateReq } from "./HandlerInstructionsUpdateReq.js";
|
|
1
2
|
export { TenantsTenantCreateRequest } from "./TenantsTenantCreateRequest.js";
|
|
2
3
|
export { TenantsTenantMetadataSchemaUpdateRequest } from "./TenantsTenantMetadataSchemaUpdateRequest.js";
|
|
4
|
+
export { TenantsTenantRenameRequest } from "./TenantsTenantRenameRequest.js";
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TenantsTenantMetadataSchemaUpdateRequest = exports.TenantsTenantCreateRequest = void 0;
|
|
3
|
+
exports.TenantsTenantRenameRequest = exports.TenantsTenantMetadataSchemaUpdateRequest = exports.TenantsTenantCreateRequest = exports.HandlerInstructionsUpdateReq = void 0;
|
|
4
|
+
var HandlerInstructionsUpdateReq_js_1 = require("./HandlerInstructionsUpdateReq.js");
|
|
5
|
+
Object.defineProperty(exports, "HandlerInstructionsUpdateReq", { enumerable: true, get: function () { return HandlerInstructionsUpdateReq_js_1.HandlerInstructionsUpdateReq; } });
|
|
4
6
|
var TenantsTenantCreateRequest_js_1 = require("./TenantsTenantCreateRequest.js");
|
|
5
7
|
Object.defineProperty(exports, "TenantsTenantCreateRequest", { enumerable: true, get: function () { return TenantsTenantCreateRequest_js_1.TenantsTenantCreateRequest; } });
|
|
6
8
|
var TenantsTenantMetadataSchemaUpdateRequest_js_1 = require("./TenantsTenantMetadataSchemaUpdateRequest.js");
|
|
7
9
|
Object.defineProperty(exports, "TenantsTenantMetadataSchemaUpdateRequest", { enumerable: true, get: function () { return TenantsTenantMetadataSchemaUpdateRequest_js_1.TenantsTenantMetadataSchemaUpdateRequest; } });
|
|
10
|
+
var TenantsTenantRenameRequest_js_1 = require("./TenantsTenantRenameRequest.js");
|
|
11
|
+
Object.defineProperty(exports, "TenantsTenantRenameRequest", { enumerable: true, get: function () { return TenantsTenantRenameRequest_js_1.TenantsTenantRenameRequest; } });
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./requests/index.js";
|