@ondewo/csi-client-angular 5.4.1 → 5.4.2
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/index.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { GrpcMessage, RecursivePartial, ToProtobufJSONOptions, GrpcMetadata, GrpcEvent, GrpcClientFactory } from '@ngx-grpc/common';
|
|
1
|
+
import { GrpcMessage, RecursivePartial, ToProtobufJSONOptions, GrpcMetadata, GrpcEvent, GrpcClientFactory, GrpcRequest } from '@ngx-grpc/common';
|
|
2
2
|
import { ByteSource, BinaryReader, BinaryWriter } from 'google-protobuf';
|
|
3
3
|
import * as googleProtobuf005 from '@ngx-grpc/well-known-types';
|
|
4
4
|
import * as i0 from '@angular/core';
|
|
5
|
-
import { InjectionToken } from '@angular/core';
|
|
6
|
-
import { GrpcHandler } from '@ngx-grpc/core';
|
|
5
|
+
import { InjectionToken, OnDestroy, Type, EnvironmentProviders } from '@angular/core';
|
|
6
|
+
import { GrpcHandler, GrpcInterceptor } from '@ngx-grpc/core';
|
|
7
7
|
import { Observable } from 'rxjs';
|
|
8
|
+
import { HttpClient, HttpRequest, HttpHandlerFn, HttpEvent } from '@angular/common/http';
|
|
8
9
|
|
|
9
10
|
/**
|
|
10
11
|
* Message implementation for google.api.Http
|
|
@@ -81197,4 +81198,435 @@ declare class Text2SpeechClient {
|
|
|
81197
81198
|
static ɵprov: i0.ɵɵInjectableDeclaration<Text2SpeechClient>;
|
|
81198
81199
|
}
|
|
81199
81200
|
|
|
81200
|
-
export { AcousticModels, AddAudioFilesRequest, AddAudioFilesResponse, AddDataToUserLanguageModelRequest, AddLlmEvaluationExampleRequest, AddLlmEvaluationExamplesRequest, AddLlmEvaluationExamplesResponse, AddNotificationsRequest, AddNotificationsResponse, AddSessionCommentRequest, AddSessionFeedbackRequest, AddSessionLabelsRequest, AddSessionStepFeedbackRequest, AddTrainingPhrasesFromCSVRequest, AddTrainingPhrasesRequest, AddTrainingPhrasesResponse, AddUserToProjectRequest, Agent, AgentOfUserWithOwner, AgentSorting, AgentStatus, AgentView, AgentWithOwner, AgentsClient, AiServicesClient, AltSentence, AltTrainingPhrase, Apodization, ApplyLlmEvaluationAbRolloutRequest, AudioEncoding, AudioFileResource, AudioFileResourceType, AudioFormat, BatchCreateEntitiesRequest, BatchCreateParametersRequest, BatchCreateResponseMessagesRequest, BatchCreateTrainingPhrasesRequest, BatchDeleteEntitiesRequest, BatchDeleteEntitiesResponse, BatchDeleteEntityTypesRequest, BatchDeleteIntentsRequest, BatchDeleteParametersRequest, BatchDeleteParametersResponse, BatchDeleteResponseMessagesRequest, BatchDeleteResponseMessagesResponse, BatchDeleteTrainingPhrasesRequest, BatchDeleteTrainingPhrasesResponse, BatchEntitiesResponse, BatchGetEntitiesRequest, BatchGetParametersRequest, BatchGetResponseMessagesRequest, BatchGetTrainingPhrasesRequest, BatchParametersStatusResponse, BatchResponseMessagesStatusResponse, BatchSynthesizeRequest, BatchSynthesizeResponse, BatchTrainingPhrasesStatusResponse, BatchUpdateEntitiesRequest, BatchUpdateEntityTypesRequest, BatchUpdateEntityTypesResponse, BatchUpdateIntentsRequest, BatchUpdateIntentsResponse, BatchUpdateParametersRequest, BatchUpdateResponseMessagesRequest, BatchUpdateTrainingPhrasesRequest, BertAugEnrichmentConfig, BuildCacheRequest, Caching, CancelLlmEvaluationExperimentRequest, CancelOperationRequest, CcaiProject, CcaiProjectSorting, CcaiProjectStatus, CcaiProjectView, CcaiProjectsClient, CcaiService, CcaiServiceFilter, CcaiServiceList, CcaiServiceProvider, CcaiServiceType, CheckUpstreamHealthResponse, CkptFile, ClassifyIntentsRequest, ClassifyIntentsResponse, CleanAllEntityTypesRequest, CleanAllEntityTypesResponse, CleanAllIntentsRequest, CleanAllIntentsResponse, CleanEntityTypeRequest, CleanEntityTypeResponse, CleanIntentRequest, CleanIntentResponse, Comment, CompareLlmEvaluationExperimentsRequest, ComparisonOperator, CompositeInference, Condition, ConditionType, Context, ContextFilter, ContextsClient, ControlMessage, ControlMessageServiceMethod, ControlMessageServiceName, ControlMessageServiceParameters, ControlStatus, ControlStreamRequest, ControlStreamResponse, ConversationsClient, CreateAgentRequest, CreateCcaiProjectRequest, CreateCcaiProjectResponse, CreateContextRequest, CreateCustomPhonemizerRequest, CreateEntityRequest, CreateEntityTypeRequest, CreateIntentRequest, CreateLlmEvaluationAbExperimentRequest, CreateLlmEvaluationDatasetRequest, CreateLlmEvaluationExamplesFromSessionRequest, CreateLlmEvaluationExamplesFromSessionResponse, CreateLlmEvaluationOnlineConfigRequest, CreateLlmEvaluationReleaseGateRequest, CreateLlmEvaluationReportRequest, CreateLlmEvaluationScheduleRequest, CreateLlmEvaluationScorecardRequest, CreateProjectRoleRequest, CreateProjectTechnicalUserRequest, CreateProjectTechnicalUserResponse, CreateServerRoleRequest, CreateSessionEntityTypeRequest, CreateSessionRequest, CreateSessionReviewRequest, CreateSessionStepRequest, CreateUserLanguageModelRequest, CreateUserRequest, CustomHttpPattern, CustomPhonemizerProto, CustomPlatformInfo, DataEnrichmentConfig, Decoding, DefaultProjectRole, DefaultServerRole, DeleteAgentRequest, DeleteAllContextsRequest, DeleteAllUserPreferencesRequest, DeleteAudioFilesRequest, DeleteAudioFilesResponse, DeleteCcaiProjectRequest, DeleteCcaiProjectResponse, DeleteContextRequest, DeleteEntityRequest, DeleteEntityStatus, DeleteEntityTypeRequest, DeleteIntentRequest, DeleteLlmEvaluationAbExperimentRequest, DeleteLlmEvaluationDatasetRequest, DeleteLlmEvaluationExampleRequest, DeleteLlmEvaluationExperimentRequest, DeleteLlmEvaluationFeedbackRequest, DeleteLlmEvaluationOnlineConfigRequest, DeleteLlmEvaluationReleaseGateRequest, DeleteLlmEvaluationReportRequest, DeleteLlmEvaluationScheduleRequest, DeleteLlmEvaluationScorecardRequest, DeleteNotificationsRequest, DeleteOperationRequest, DeleteProjectRoleRequest, DeleteProjectTechnicalUserRequest, DeleteResourcesRequest, DeleteServerRoleRequest, DeleteSessionCommentsRequest, DeleteSessionEntityTypeRequest, DeleteSessionFeedbackRequest, DeleteSessionLabelsRequest, DeleteSessionRequest, DeleteSessionStepRequest, DeleteUserLanguageModelRequest, DeleteUserPreferencesRequest, DeleteUserPreferencesResponse, DeleteUserRequest, DetectIntentRequest, DetectIntentResponse, DetectedIntent, DocumentFileResource, EntityDetected, EntityEnrichmentConfig, EntityStatus, EntityType, EntityTypeBatch, EntityTypeCategory, EntityTypeFuzzyNerConfig, EntityTypeSorting, EntityTypeUpdate, EntityTypeView, EntityTypesClient, EntityValueSorting, EventInput, ExportAgentRequest, ExportAgentResponse, ExportBenchmarkAgentRequest, ExportBenchmarkAgentResponse, ExportResourcesRequest, ExportResourcesResponse, ExtractEntitiesFuzzyRequest, ExtractEntitiesRequest, ExtractEntitiesResponse, FeedbackAuthorType, FeedbackBreakdownBucket, FeedbackFilter, FeedbackRating, FeedbackScope, FeedbackStatistics, FeedbackTimeGranularity, FeedbackTimeSeriesBucket, FileResource, FullTextSearchRequest, FullTextSearchResponseEntity, FullTextSearchResponseEntitySynonym, FullTextSearchResponseEntityType, FullTextSearchResponseIntent, FullTextSearchResponseIntentContextIn, FullTextSearchResponseIntentContextOut, FullTextSearchResponseIntentParameters, FullTextSearchResponseIntentResponse, FullTextSearchResponseIntentTags, FullTextSearchResponseIntentUsersays, GPT2EnrichmentConfig, GRPC_AGENTS_CLIENT_SETTINGS, GRPC_AI_SERVICES_CLIENT_SETTINGS, GRPC_CCAI_PROJECTS_CLIENT_SETTINGS, GRPC_CONTEXTS_CLIENT_SETTINGS, GRPC_CONVERSATIONS_CLIENT_SETTINGS, GRPC_ENTITY_TYPES_CLIENT_SETTINGS, GRPC_INTENTS_CLIENT_SETTINGS, GRPC_LLM_EVALUATIONS_CLIENT_SETTINGS, GRPC_OPERATIONS_CLIENT_SETTINGS, GRPC_PROJECT_ROLES_CLIENT_SETTINGS, GRPC_PROJECT_STATISTICS_CLIENT_SETTINGS, GRPC_RAGS_CLIENT_SETTINGS, GRPC_SERVER_STATISTICS_CLIENT_SETTINGS, GRPC_SESSIONS_CLIENT_SETTINGS, GRPC_SPEECH2_TEXT_CLIENT_SETTINGS, GRPC_TEXT2_SPEECH_CLIENT_SETTINGS, GRPC_USERS_CLIENT_SETTINGS, GRPC_UTILITIES_CLIENT_SETTINGS, GRPC_WEBHOOK_CLIENT_SETTINGS, GenerateResponsesRequest, GenerateResponsesResponse, GenerateUserSaysRequest, GenerateUserSaysResponse, GetAgentRequest, GetAgentStatisticsRequest, GetAgentStatisticsResponse, GetAllIntentTagsRequest, GetAlternativeSentencesRequest, GetAlternativeSentencesResponse, GetAlternativeTrainingPhrasesRequest, GetAlternativeTrainingPhrasesResponse, GetAudioFileOfSessionRequest, GetAudioFilesRequest, GetAudioFilesResponse, GetCcaiProjectRequest, GetCcaiServiceRequest, GetContextRequest, GetEntityRequest, GetEntityTypeCountRequest, GetEntityTypeRequest, GetFeedbackStatisticsRequest, GetFeedbackStatisticsResponse, GetFeedbackStatisticsTimeSeriesRequest, GetFeedbackStatisticsTimeSeriesResponse, GetIntentCountRequest, GetIntentRequest, GetIntentTagsRequest, GetIntentTagsResponse, GetLatestSessionReviewRequest, GetLlmEvaluationAbExperimentRequest, GetLlmEvaluationAbExperimentResultsRequest, GetLlmEvaluationAbExperimentResultsResponse, GetLlmEvaluationAbRolloutDecisionRequest, GetLlmEvaluationAbRolloutRecommendationRequest, GetLlmEvaluationAnnotationQueueItemRequest, GetLlmEvaluationDatasetRequest, GetLlmEvaluationExampleRequest, GetLlmEvaluationExperimentRequest, GetLlmEvaluationOnlineConfigRequest, GetLlmEvaluationOnlineResultRequest, GetLlmEvaluationProjectSettingsRequest, GetLlmEvaluationReleaseGateRequest, GetLlmEvaluationReleaseGateRunRequest, GetLlmEvaluationReportRequest, GetLlmEvaluationScheduleRequest, GetLlmEvaluationScorecardRequest, GetModelStatusesRequest, GetModelStatusesResponse, GetNotificationRequest, GetOperationRequest, GetPlatformInfoResponse, GetPlatformMappingRequest, GetProjectElementStatRequest, GetProjectRoleRequest, GetProjectStatRequest, GetRemoteOperationContainerLogsRequest, GetRemoteOperationContainerLogsResponse, GetRemoteOperationContainerStatusRequest, GetServerRoleRequest, GetSessionEntityTypeRequest, GetSessionFeedbackRequest, GetSessionRequest, GetSessionReviewRequest, GetSessionStepRequest, GetSessionsStatisticsRequest, GetSessionsStatisticsResponse, GetSessionsStatisticsTimeSeriesRequest, GetSessionsStatisticsTimeSeriesResponse, GetSynonymsRequest, GetSynonymsResponse, GetUserPreferencesRequest, GetUserPreferencesResponse, GetUserProjectCountRequest, GetUserRequest, GloVeEnrichmentConfig, GlowTTS, GlowTTSTriton, HiFiGan, HiFiGanTriton, Http, HttpRule, ImageFileResource, ImportAgentRequest, InferenceBackend, InitiationProtocol, InputAudioConfig, Intent, IntentAlgorithms, IntentBatch, IntentCategory, IntentClassified, IntentSorting, IntentTagRequest, IntentUpdate, IntentView, IntentsClient, KeyValuePair, LanguageModelPipelineId, LanguageModels, LatLng, ListAccountIdsOfAllSessionsRequest, ListAccountIdsResponse, ListAgentsOfUserResponse, ListAgentsRequest, ListAgentsResponse, ListAudioFilesRequest, ListAudioFilesResponse, ListCcaiProjectsRequest, ListCcaiProjectsResponse, ListContextsRequest, ListContextsResponse, ListCustomPhonemizerRequest, ListCustomPhonemizerResponse, ListDatastreamIdsOfAllSessionsRequest, ListDatastreamIdsResponse, ListEntitiesRequest, ListEntitiesResponse, ListEntityTypesRequest, ListEntityTypesResponse, ListIdentifiedUserIdsOfAllSessionsRequest, ListIdentifiedUserIdsResponse, ListInputContextsOfAllSessionsRequest, ListInputContextsResponse, ListIntentsRequest, ListIntentsResponse, ListLanguageCodesOfAllSessionsRequest, ListLanguageCodesResponse, ListLlmEvaluationAbExperimentsRequest, ListLlmEvaluationAbExperimentsResponse, ListLlmEvaluationAbRolloutDecisionsRequest, ListLlmEvaluationAbRolloutDecisionsResponse, ListLlmEvaluationAnnotationQueueItemsRequest, ListLlmEvaluationAnnotationQueueItemsResponse, ListLlmEvaluationDatasetsRequest, ListLlmEvaluationDatasetsResponse, ListLlmEvaluationEvaluatorsRequest, ListLlmEvaluationEvaluatorsResponse, ListLlmEvaluationExamplesRequest, ListLlmEvaluationExamplesResponse, ListLlmEvaluationExperimentsRequest, ListLlmEvaluationExperimentsResponse, ListLlmEvaluationFeedbackRequest, ListLlmEvaluationFeedbackResponse, ListLlmEvaluationOnlineConfigsRequest, ListLlmEvaluationOnlineConfigsResponse, ListLlmEvaluationOnlineResultsRequest, ListLlmEvaluationOnlineResultsResponse, ListLlmEvaluationReleaseGateRunsRequest, ListLlmEvaluationReleaseGateRunsResponse, ListLlmEvaluationReleaseGatesRequest, ListLlmEvaluationReleaseGatesResponse, ListLlmEvaluationReportsRequest, ListLlmEvaluationReportsResponse, ListLlmEvaluationSchedulesRequest, ListLlmEvaluationSchedulesResponse, ListLlmEvaluationScorecardsRequest, ListLlmEvaluationScorecardsResponse, ListLlmModelsRequest, ListLlmModelsResponse, ListMatchedEntityTypesOfAllSessionsRequest, ListMatchedEntityTypesResponse, ListMatchedIntentsOfAllSessionsRequest, ListMatchedIntentsResponse, ListNotificationsRequest, ListNotificationsResponse, ListOperationsRequest, ListOperationsResponse, ListOriginIdsOfAllSessionsRequest, ListOriginIdsResponse, ListOutputContextsOfAllSessionsRequest, ListOutputContextsResponse, ListParametersRequest, ListParametersResponse, ListPlatformsOfAllSessionsRequest, ListPlatformsResponse, ListProjectPermissionsRequest, ListProjectPermissionsResponse, ListProjectRolesRequest, ListProjectRolesResponse, ListProjectTechnicalUsersRequest, ListProjectTechnicalUsersResponse, ListPropertyIdsOfAllSessionsRequest, ListPropertyIdsResponse, ListRemoteOperationContainersRequest, ListRemoteOperationContainersResponse, ListResponseMessagesRequest, ListResponseMessagesResponse, ListS2sPipelinesRequest, ListS2sPipelinesResponse, ListS2tDomainsRequest, ListS2tDomainsResponse, ListS2tLanguageModelsRequest, ListS2tLanguageModelsResponse, ListS2tLanguagesRequest, ListS2tLanguagesResponse, ListS2tNormalizationPipelinesRequest, ListS2tNormalizationPipelinesResponse, ListS2tPipelinesRequest, ListS2tPipelinesResponse, ListServerPermissionsRequest, ListServerPermissionsResponse, ListServerRolesRequest, ListServerRolesResponse, ListSessionCommentsOfAllSessionsRequest, ListSessionCommentsRequest, ListSessionCommentsResponse, ListSessionEntityTypesRequest, ListSessionEntityTypesResponse, ListSessionFeedbackOfAllSessionsRequest, ListSessionFeedbackRequest, ListSessionFeedbackResponse, ListSessionLabelsOfAllSessionsRequest, ListSessionLabelsRequest, ListSessionLabelsResponse, ListSessionReviewsRequest, ListSessionReviewsResponse, ListSessionsRequest, ListSessionsResponse, ListT2sDomainsRequest, ListT2sDomainsResponse, ListT2sLanguagesRequest, ListT2sLanguagesResponse, ListT2sNormalizationPipelinesRequest, ListT2sNormalizationPipelinesResponse, ListT2sPipelinesRequest, ListT2sPipelinesResponse, ListTagsOfAllSessionsRequest, ListTagsResponse, ListTrainingPhrasesRequest, ListTrainingPhrasesResponse, ListTrainingPhrasesofIntentsWithEnrichmentRequest, ListTrainingPhrasesofIntentsWithEnrichmentResponse, ListUserIdsOfAllSessionsRequest, ListUserIdsResponse, ListUserInfosResponse, ListUserPreferencesRequest, ListUserPreferencesResponse, ListUsersInProjectRequest, ListUsersInProjectResponse, ListUsersRequest, ListUsersResponse, LlmAgentUsage, LlmCacheStats, LlmCallFinishedEvent, LlmCallStartedEvent, LlmCcaiServiceUsage, LlmEnrichmentConfig, LlmErrorStat, LlmErrorStats, LlmEvaluationAbExperiment, LlmEvaluationAbExperimentFilter, LlmEvaluationAbExperimentStatus, LlmEvaluationAbOptimizeMetric, LlmEvaluationAbRolloutDecision, LlmEvaluationAbRolloutDecisionFilter, LlmEvaluationAbRolloutRecommendation, LlmEvaluationAbTrafficConfig, LlmEvaluationAbVariant, LlmEvaluationAbVariantResult, LlmEvaluationAnnotationQueueItem, LlmEvaluationAnnotationQueueItemFilter, LlmEvaluationAnnotationStatus, LlmEvaluationComparison, LlmEvaluationDataset, LlmEvaluationDatasetFilter, LlmEvaluationDatasetType, LlmEvaluationEvaluatorCategory, LlmEvaluationEvaluatorParameterSpec, LlmEvaluationEvaluatorRun, LlmEvaluationEvaluatorSpec, LlmEvaluationEvaluatorType, LlmEvaluationExample, LlmEvaluationExampleExtractionMode, LlmEvaluationExampleFilter, LlmEvaluationExperiment, LlmEvaluationExperimentFilter, LlmEvaluationExperimentKind, LlmEvaluationExperimentStatus, LlmEvaluationFeedback, LlmEvaluationFeedbackFilter, LlmEvaluationJudgeConfig, LlmEvaluationOnlineConfig, LlmEvaluationOnlineConfigFilter, LlmEvaluationOnlineResult, LlmEvaluationOnlineResultFilter, LlmEvaluationOnlineSessionFilter, LlmEvaluationPairwiseResult, LlmEvaluationProjectSettings, LlmEvaluationReleaseGate, LlmEvaluationReleaseGateCheck, LlmEvaluationReleaseGateFilter, LlmEvaluationReleaseGateRun, LlmEvaluationReleaseGateRunFilter, LlmEvaluationReleaseGateSafetyConfig, LlmEvaluationReleaseGateThresholds, LlmEvaluationReleaseGateVerdict, LlmEvaluationReport, LlmEvaluationReportFilter, LlmEvaluationSchedule, LlmEvaluationScheduleAction, LlmEvaluationScheduleFilter, LlmEvaluationScorecard, LlmEvaluationScorecardComponent, LlmEvaluationScorecardFilter, LlmEvaluationSimulationKind, LlmEvaluationSimulationPersona, LlmEvaluationTurnResult, LlmEvaluationsClient, LlmFinishReasonStat, LlmGenerateRequest, LlmGenerateResponse, LlmLatencyStats, LlmModel, LlmModelUsage, LlmProviderUsage, LlmReasoningEffortStat, LlmRetrievalMetadata, LlmRetrievedChunk, LlmSafetyAssessment, LlmSafetyCategoryStat, LlmSafetyFinding, LlmSafetyLocation, LlmSafetyStats, LlmTelemetry, LlmTelemetryReport, LlmTelemetryTimeSeriesBucket, LlmThinkingDeltaEvent, LlmThinkingMetadata, LlmTokenUsage, LlmTokenUsageUpdateEvent, LlmToolCallFinishedEvent, LlmToolCallMetadata, LlmToolCallStartedEvent, LlmToolUsage, LogEntry, LogSeverity, Logging, Logmnse, Map, MbMelganTriton, Mel2Audio, MigrateAgentRequest, Mode, ModelStatus, NormalizeTextRequest, NormalizeTextResponse, Notification, NotificationFilter, NotificationFlaggedStatus, NotificationOrigin, NotificationReadStatus, NotificationType, NotificationVisibility, OpenaiLlmOptions, Operation, OperationFilter, OperationMetadata, OperationsClient, OptimizeRankingMatchRequest, OptimizeRankingMatchResponse, OriginalDetectIntentRequest, Parakeet, Pcm, PhonemizerId, PingRequest, PingResponse, PlatformMapping, PostProcessing, PostProcessingOptions, PostProcessors, Postprocessing, ProjectRole, ProjectRoleView, ProjectRolesClient, ProjectStatisticsClient, ProjectTechnicalUser, PromoteLlmEvaluationAnnotationQueueItemRequest, PromoteLlmEvaluationAnnotationQueueItemResponse, PtFiles, Pyannote, QueryInput, QueryParameters, QueryResult, Qwen3TtsBase, Qwen3TtsCustomVoice, RagAddCrawlerResultsToDatasetsRequest, RagChunk, RagChunkMethod, RagComparisonOperator, RagCrawler, RagCrawlerAuth, RagCrawlerAuthenticationExecutionType, RagCrawlerBrowserConfig, RagCrawlerConcurrencyConfig, RagCrawlerConfig, RagCrawlerContentResult, RagCrawlerContentScope, RagCrawlerCookie, RagCrawlerCrawlStrategy, RagCrawlerDeepCrawlerConfig, RagCrawlerDensityPruning, RagCrawlerExecutionInfo, RagCrawlerFilters, RagCrawlerHtmlAuth, RagCrawlerHttpAuth, RagCrawlerMetaDataExtractor, RagCrawlerMetaDataExtractorType, RagCrawlerPruningThresholdType, RagCrawlerResult, RagCrawlerResultsConfig, RagCrawlerRetryConfig, RagCrawlerSeedUrlFilters, RagCrawlerSelectorType, RagCrawlerSources, RagCrawlerStatusFilter, RagCreateCrawlerRequest, RagCreateDatasetRequest, RagDataset, RagDatasetList, RagDatasetParsingStatus, RagDeleteCrawlerRequest, RagDeleteCrawlerResponse, RagDeleteCrawlerRunsRequest, RagDeleteCrawlerRunsResponse, RagDeleteCrawlersRequest, RagDeleteCrawlersResponse, RagDeleteDocumentsRequest, RagDeleteRequest, RagDocAgg, RagDocument, RagDocumentIdsRequest, RagDocumentList, RagDocumentStatus, RagDocumentType, RagDownloadDocumentRequest, RagFileChunk, RagFileMetadata, RagGetCrawlerAttachedDatasetsRequest, RagGetCrawlerAttachedDatasetsResponse, RagGetCrawlerRequest, RagGetCrawlerResultRequest, RagGetCrawlerResultsRequest, RagGetCrawlerResultsResponse, RagGetCrawlerRunLogsRequest, RagGetCrawlerRunLogsResponse, RagGetCrawlerRunRequest, RagGraphRagConfig, RagGraphRagMethod, RagListCrawlerRunsRequest, RagListCrawlerRunsResponse, RagListCrawlersRequest, RagListCrawlersResponse, RagListDatasetsRequest, RagListDocumentsRequest, RagLogic, RagMetadataCondition, RagMetadataConditions, RagParserConfig, RagPartialSuccess, RagRaptorConfig, RagRemoveCrawlerResultsFromDatasetsRequest, RagRetrievalRequest, RagRetrievalResponse, RagStartCrawlerRequest, RagStopCrawlerRequest, RagStopCrawlerResponse, RagUpdateCrawlerRequest, RagUpdateDatasetRequest, RagUpdateDocumentRequest, RagUploadDocumentRequest, RagVariantConfig, RagsClient, RankingMatchOptimizationConfig, ReannotateEntitiesOptions, ReasoningEffort$1 as ReasoningEffort, ReferencedChunk, ReindexAgentRequest, RemoteOperationContainer, RemoteOperationContainerLifecycleState, RemoteOperationContainerLogLine, RemoteOperationContainerStatus, RemoveUserFromProjectRequest, ReportFormat, ReportType, RequestConfig, ResourceView, RestoreAgentRequest, RotateProjectTechnicalUserPasswordRequest, RotateProjectTechnicalUserPasswordResponse, RunLlmEvaluationExperimentRequest, RunLlmEvaluationReleaseGateRequest, S2sPipeline, S2sPipelineId, S2sStreamRequest, S2sStreamResponse, S2tCloudProviderConfig, S2tCloudProviderConfigAmazon, S2tCloudProviderConfigDeepgram, S2tCloudProviderConfigGoogle, S2tCloudProviderConfigMicrosoft, S2tCloudServiceAmazon, S2tCloudServiceDeepgram, S2tCloudServiceGoogle, S2tCloudServiceMicrosoft, S2tDescription, S2tGetServiceInfoResponse, S2tInference, S2tLlmPostProcessing, S2tLlmPostProcessingInverseNormalizationOptions, S2tLlmPostProcessingNormalizationOptions, S2tLlmPostProcessingSubTaskOptions, S2tLlmPostProcessingSummarizationOptions, S2tLlmPostProcessingTranslationOptions, S2tNormalization, S2tPipelineId, S2tTranscription, ServerRole, ServerStatisticsClient, ServiceTier, Session, SessionEntityType, SessionFeedback, SessionFilter, SessionInfo, SessionReview, SessionReviewStep, SessionStep, SessionsClient, SessionsReportType, SetAgentStatusRequest, SetControlStatusRequest, SetControlStatusResponse, SetNotificationsFlaggedStatusRequest, SetNotificationsReadStatusRequest, SetResourcesRequest, SetUserPreferencesRequest, SetUserPreferencesResponse, SimulateLlmEvaluationConversationsRequest, SingleInference, SipTrigger, SortingMode, Speech2TextClient, Speech2TextConfig, StartLlmEvaluationAbExperimentRequest, StatResponse, Status, StopLlmEvaluationAbExperimentRequest, StreamNotificationsRequest, StreamRemoteOperationContainerLogsRequest, StreamingDetectIntentRequest, StreamingDetectIntentResponse, StreamingLlmGenerateResponse, StreamingRecognitionResult, StreamingServer, StreamingSpeechRecognition, StreamingSynthesizeRequest, StreamingSynthesizeResponse, StringUpdate, SubmitLlmEvaluationFeedbackRequest, SymSpell, Synonym, SynthesizeRequest, SynthesizeResponse, T2SCustomLengthScales, T2SDescription, T2SGetServiceInfoResponse, T2SInference, T2SNormalization, T2sCloudProviderConfig, T2sCloudProviderConfigElevenLabs, T2sCloudProviderConfigGoogle, T2sCloudProviderConfigMicrosoft, T2sCloudServiceAmazon, T2sCloudServiceElevenLabs, T2sCloudServiceGoogle, T2sCloudServiceMicrosoft, T2sPipelineId, Text2Audio, Text2Mel, Text2SpeechClient, Text2SpeechConfig, TextInput, ThesaurusEnrichmentConfig, TrainAgentRequest, TrainUserLanguageModelRequest, TrainingPhraseCleanerOptions, TrainingPhraseStatus, TranscribeFileRequest, TranscribeFileResponse, TranscribeRequestConfig, TranscribeStreamRequest, TranscribeStreamResponse, Transcription, TranscriptionAlternative, TranscriptionReturnOptions, TranscriptionType, TurnDetectionOptions, UpdateAgentRequest, UpdateCcaiProjectRequest, UpdateCcaiProjectResponse, UpdateContextRequest, UpdateCustomPhonemizerRequest, UpdateEntityRequest, UpdateEntityTypeRequest, UpdateIntentRequest, UpdateLlmEvaluationAbExperimentRequest, UpdateLlmEvaluationAnnotationQueueItemRequest, UpdateLlmEvaluationDatasetRequest, UpdateLlmEvaluationExampleRequest, UpdateLlmEvaluationExperimentRequest, UpdateLlmEvaluationFeedbackRequest, UpdateLlmEvaluationOnlineConfigRequest, UpdateLlmEvaluationProjectSettingsRequest, UpdateLlmEvaluationReleaseGateRequest, UpdateLlmEvaluationScheduleRequest, UpdateLlmEvaluationScorecardRequest, UpdateNotificationRequest, UpdateProjectRoleRequest, UpdateServerRoleRequest, UpdateSessionCommentsRequest, UpdateSessionEntityTypeRequest, UpdateSessionFeedbackRequest, UpdateSessionStepRequest, UpdateUserRequest, User, UserInProject, UserInfo, UsersClient, UtilitiesClient, UtteranceDetectionOptions, ValidateEmbeddedRegexRequest, ValidateEmbeddedRegexResponse, ValidateRegexRequest, ValidateRegexResponse, Verbosity, VideoFileResource, Vits, VitsTriton, VoiceActivityDetection, VoiceCloningRequest, VoiceSettings, Wav2Vec, Wav2VecTriton, WebhookClient, WebhookRequest, WebhookResponse, Whisper, WhisperTriton, Wiener, Word2VecEnrichmentConfig, WordAlternative, WordDetail, WordNetAugEnrichmentConfig, XLNetAugEnrichmentConfig };
|
|
81201
|
+
/**
|
|
81202
|
+
* The set of shapes a {@link TokenProvider} is allowed to return for the current
|
|
81203
|
+
* access token.
|
|
81204
|
+
*
|
|
81205
|
+
* - `string` — a ready, synchronous token.
|
|
81206
|
+
* - `null` — there is no token right now (the user is unauthenticated). The
|
|
81207
|
+
* request must be sent unchanged, never with an empty `Bearer` header.
|
|
81208
|
+
* - `Promise<...>` / `Observable<...>` — an asynchronous source (e.g.
|
|
81209
|
+
* `keycloak.updateToken()` from `keycloak-js`, or `KeycloakService` from
|
|
81210
|
+
* `keycloak-angular`) that resolves to a token or `null`.
|
|
81211
|
+
*/
|
|
81212
|
+
type TokenResult = string | null | Promise<string | null> | Observable<string | null>;
|
|
81213
|
+
/**
|
|
81214
|
+
* Contract the consuming application implements to feed the current Keycloak
|
|
81215
|
+
* access token into this library's auth interceptors.
|
|
81216
|
+
*
|
|
81217
|
+
* SECURITY: this client deliberately does NOT perform any OAuth/OIDC flow
|
|
81218
|
+
* itself — no Resource Owner Password Credentials grant, no client secret, no
|
|
81219
|
+
* token storage. Acquiring, refreshing and storing the token is the
|
|
81220
|
+
* responsibility of a dedicated, browser-safe library (`keycloak-js` /
|
|
81221
|
+
* `keycloak-angular`) in the host application. This client only reads the
|
|
81222
|
+
* current token and attaches it as a bearer credential to outgoing requests.
|
|
81223
|
+
*
|
|
81224
|
+
* Implementations should return the freshest token they have. Returning a
|
|
81225
|
+
* `Promise`/`Observable` lets the implementation refresh a soon-to-expire token
|
|
81226
|
+
* before the request is sent (e.g. `keycloak.updateToken(30)`).
|
|
81227
|
+
*/
|
|
81228
|
+
interface TokenProvider {
|
|
81229
|
+
/**
|
|
81230
|
+
* Return the current access token, or `null` when the user is not
|
|
81231
|
+
* authenticated. May be synchronous or asynchronous.
|
|
81232
|
+
*/
|
|
81233
|
+
getToken(): TokenResult;
|
|
81234
|
+
}
|
|
81235
|
+
/**
|
|
81236
|
+
* DI token under which the consuming application registers its
|
|
81237
|
+
* {@link TokenProvider} implementation.
|
|
81238
|
+
*
|
|
81239
|
+
* Example:
|
|
81240
|
+
*
|
|
81241
|
+
* ```ts
|
|
81242
|
+
* providers: [
|
|
81243
|
+
* { provide: TOKEN_PROVIDER, useExisting: KeycloakTokenProvider },
|
|
81244
|
+
* ]
|
|
81245
|
+
* ```
|
|
81246
|
+
*/
|
|
81247
|
+
declare const TOKEN_PROVIDER: InjectionToken<TokenProvider>;
|
|
81248
|
+
|
|
81249
|
+
/**
|
|
81250
|
+
* Seconds of head-room subtracted from a token's `expires_in` so the background
|
|
81251
|
+
* refresh fires *before* the access token actually lapses. Covers clock skew
|
|
81252
|
+
* plus the round-trip latency to Keycloak so an in-flight request never travels
|
|
81253
|
+
* with a token that expires mid-flight.
|
|
81254
|
+
*
|
|
81255
|
+
* Mirrors `REFRESH_SKEW_IN_S` in the Node.js SDK and `_EXPIRY_LEEWAY_S` in the
|
|
81256
|
+
* Python SDK.
|
|
81257
|
+
*/
|
|
81258
|
+
declare const REFRESH_SKEW_SECONDS: number;
|
|
81259
|
+
/**
|
|
81260
|
+
* Lower bound (in seconds) for the scheduled refresh delay, so a tiny or zero
|
|
81261
|
+
* `expires_in` cannot spin a hot refresh loop.
|
|
81262
|
+
*/
|
|
81263
|
+
declare const MIN_REFRESH_DELAY_SECONDS: number;
|
|
81264
|
+
/**
|
|
81265
|
+
* Configuration for {@link KeycloakTokenProvider}.
|
|
81266
|
+
*
|
|
81267
|
+
* Supply EITHER an `offlineToken` (a pre-issued offline/refresh token — the
|
|
81268
|
+
* recommended headless mode, no password is ever sent) OR a `username` +
|
|
81269
|
+
* `password` pair (Resource Owner Password Credentials, exchanged once for an
|
|
81270
|
+
* offline token via `scope=offline_access`). If both are present the
|
|
81271
|
+
* `offlineToken` wins and no password is sent.
|
|
81272
|
+
*/
|
|
81273
|
+
interface KeycloakTokenProviderConfig {
|
|
81274
|
+
/**
|
|
81275
|
+
* Base Keycloak URL, e.g. `"https://auth.example.com"` or
|
|
81276
|
+
* `"https://auth.example.com/auth"`. A trailing slash is tolerated.
|
|
81277
|
+
*/
|
|
81278
|
+
keycloakUrl: string;
|
|
81279
|
+
/** Realm name, e.g. `"ondewo-ccai-platform"`. */
|
|
81280
|
+
realm: string;
|
|
81281
|
+
/**
|
|
81282
|
+
* Public SDK client id, e.g. `"ondewo-nlu-cai-sdk-public"`. No
|
|
81283
|
+
* `client_secret` is ever sent — the client must be a public client.
|
|
81284
|
+
*/
|
|
81285
|
+
clientId: string;
|
|
81286
|
+
/**
|
|
81287
|
+
* A pre-issued offline (or refresh) token. When present, the provider boots
|
|
81288
|
+
* straight into a `grant_type=refresh_token` exchange and never sends a
|
|
81289
|
+
* password. Preferred over `username`/`password`.
|
|
81290
|
+
*/
|
|
81291
|
+
offlineToken?: string;
|
|
81292
|
+
/**
|
|
81293
|
+
* Technical-user email/username for the one-time ROPC (`grant_type=password`)
|
|
81294
|
+
* login. Used only when no `offlineToken` is supplied.
|
|
81295
|
+
*/
|
|
81296
|
+
username?: string;
|
|
81297
|
+
/**
|
|
81298
|
+
* Technical-user password for the one-time ROPC login. Used only when no
|
|
81299
|
+
* `offlineToken` is supplied.
|
|
81300
|
+
*/
|
|
81301
|
+
password?: string;
|
|
81302
|
+
/**
|
|
81303
|
+
* Whether to verify the Keycloak server's TLS certificate on the
|
|
81304
|
+
* token-endpoint call. Defaults to `true` (secure).
|
|
81305
|
+
*
|
|
81306
|
+
* NO-OP IN THIS ANGULAR/BROWSER CLIENT. The token request is made with
|
|
81307
|
+
* Angular's `HttpClient` (an XHR/fetch call), and in a browser the TLS
|
|
81308
|
+
* handshake is owned by the user agent — there is no `https.Agent`, undici
|
|
81309
|
+
* dispatcher, or `rejectUnauthorized` hook that app code can reach, and
|
|
81310
|
+
* `HttpClient`'s request options expose no certificate-verification slot. The
|
|
81311
|
+
* value is therefore stored on the provider for cross-SDK config parity with
|
|
81312
|
+
* the Python/Node.js clients (where it does disable TLS verification) but has
|
|
81313
|
+
* no effect on the outgoing request here. For a self-signed local Envoy at
|
|
81314
|
+
* `https://localhost:12001/auth`, the certificate must be trusted at the
|
|
81315
|
+
* browser/OS level instead.
|
|
81316
|
+
*/
|
|
81317
|
+
keycloakVerifySsl?: boolean;
|
|
81318
|
+
}
|
|
81319
|
+
/**
|
|
81320
|
+
* DI token under which the consuming application provides the
|
|
81321
|
+
* {@link KeycloakTokenProviderConfig} consumed by {@link KeycloakTokenProvider}.
|
|
81322
|
+
*
|
|
81323
|
+
* Example:
|
|
81324
|
+
*
|
|
81325
|
+
* ```ts
|
|
81326
|
+
* providers: [
|
|
81327
|
+
* {
|
|
81328
|
+
* provide: KEYCLOAK_TOKEN_PROVIDER_CONFIG,
|
|
81329
|
+
* useValue: {
|
|
81330
|
+
* keycloakUrl: "https://auth.example.com",
|
|
81331
|
+
* realm: "ondewo-ccai-platform",
|
|
81332
|
+
* clientId: "ondewo-nlu-cai-sdk-public",
|
|
81333
|
+
* offlineToken: "<offline-token>",
|
|
81334
|
+
* },
|
|
81335
|
+
* },
|
|
81336
|
+
* ]
|
|
81337
|
+
* ```
|
|
81338
|
+
*/
|
|
81339
|
+
declare const KEYCLOAK_TOKEN_PROVIDER_CONFIG: InjectionToken<KeycloakTokenProviderConfig>;
|
|
81340
|
+
/** Raised on any token-endpoint failure or unusable token-endpoint response. */
|
|
81341
|
+
declare class KeycloakAuthenticationError extends Error {
|
|
81342
|
+
/**
|
|
81343
|
+
* @param message human-readable description of the token failure.
|
|
81344
|
+
*/
|
|
81345
|
+
constructor(message: string);
|
|
81346
|
+
}
|
|
81347
|
+
/**
|
|
81348
|
+
* A concrete, ready-to-use {@link TokenProvider} that performs the headless
|
|
81349
|
+
* Keycloak offline-token flow itself, so consumers get background access-token
|
|
81350
|
+
* refresh without implementing {@link TokenProvider}.
|
|
81351
|
+
*
|
|
81352
|
+
* On the first {@link login}, the provider obtains an access token + an offline
|
|
81353
|
+
* refresh token (via `grant_type=refresh_token` when an `offlineToken` is
|
|
81354
|
+
* configured, otherwise via a one-time `grant_type=password` ROPC login with
|
|
81355
|
+
* `scope=offline_access`). It then keeps the access token fresh with a
|
|
81356
|
+
* background timer that re-runs the `refresh_token` grant {@link REFRESH_SKEW_SECONDS}
|
|
81357
|
+
* before the token expires. {@link getToken} returns the current cached access
|
|
81358
|
+
* token synchronously (or `null` before {@link login} completes).
|
|
81359
|
+
*
|
|
81360
|
+
* The flow mirrors the Node.js SDK's `OfflineTokenProvider` and the Python
|
|
81361
|
+
* SDK's `KeycloakTokenProvider` (refresh-before-expiry, refresh-token rotation,
|
|
81362
|
+
* a non-`null` `access_token` guard). No `client_secret` is ever sent.
|
|
81363
|
+
*
|
|
81364
|
+
* Register it with the SDK's `provideOndewoCsiAuth(KeycloakTokenProvider)` and
|
|
81365
|
+
* provide a {@link KEYCLOAK_TOKEN_PROVIDER_CONFIG}; call {@link login} once on
|
|
81366
|
+
* application start, and {@link ngOnDestroy} (or {@link stop}) cancels the
|
|
81367
|
+
* background refresh.
|
|
81368
|
+
*/
|
|
81369
|
+
declare class KeycloakTokenProvider implements TokenProvider, OnDestroy {
|
|
81370
|
+
private readonly http;
|
|
81371
|
+
/** Pre-computed OIDC token endpoint URL for the configured realm. */
|
|
81372
|
+
private readonly tokenEndpoint;
|
|
81373
|
+
/** The current access token, or `null` before {@link login} has completed. */
|
|
81374
|
+
private accessToken;
|
|
81375
|
+
/** The current offline/refresh token, or `""` before {@link login}. */
|
|
81376
|
+
private refreshToken;
|
|
81377
|
+
/** Handle of the armed refresh timer, or `null` when no refresh is scheduled. */
|
|
81378
|
+
private timer;
|
|
81379
|
+
/** Whether {@link stop} has run; suppresses any further (re-)scheduling. */
|
|
81380
|
+
private stopped;
|
|
81381
|
+
/** Public SDK client id sent on every token request (no `client_secret`). */
|
|
81382
|
+
private readonly clientId;
|
|
81383
|
+
/**
|
|
81384
|
+
* Whether TLS-certificate verification is requested for the token-endpoint
|
|
81385
|
+
* call. Defaults to `true`. Stored for cross-SDK config parity only — it is a
|
|
81386
|
+
* NO-OP in this browser client (the browser owns the TLS handshake), so the
|
|
81387
|
+
* outgoing {@link postTokenRequest} call is unaffected by its value. See
|
|
81388
|
+
* {@link KeycloakTokenProviderConfig.keycloakVerifySsl}.
|
|
81389
|
+
*/
|
|
81390
|
+
private readonly verifySsl;
|
|
81391
|
+
/**
|
|
81392
|
+
* The form fields for the one-time {@link login} grant: a `refresh_token`
|
|
81393
|
+
* grant when an `offlineToken` is configured, otherwise a `password` grant.
|
|
81394
|
+
* Built once in the constructor so {@link login} carries no assertions.
|
|
81395
|
+
*/
|
|
81396
|
+
private readonly loginParams;
|
|
81397
|
+
/**
|
|
81398
|
+
* Construct the provider. No network call is made here — call {@link login}
|
|
81399
|
+
* to acquire the first token and arm the background refresh.
|
|
81400
|
+
*
|
|
81401
|
+
* @param http the Angular {@link HttpClient} used for token-endpoint calls.
|
|
81402
|
+
* @param injectedConfig the {@link KeycloakTokenProviderConfig} (injected via
|
|
81403
|
+
* {@link KEYCLOAK_TOKEN_PROVIDER_CONFIG}).
|
|
81404
|
+
* @throws KeycloakAuthenticationError when no config is provided, when a
|
|
81405
|
+
* mandatory field is empty, or when neither an `offlineToken` nor a
|
|
81406
|
+
* `username`/`password` pair is supplied.
|
|
81407
|
+
*/
|
|
81408
|
+
constructor(http: HttpClient, injectedConfig: KeycloakTokenProviderConfig | null);
|
|
81409
|
+
/**
|
|
81410
|
+
* Return the current access token, or `null` before {@link login} has
|
|
81411
|
+
* completed. Synchronous: the background timer keeps the cached token fresh,
|
|
81412
|
+
* so the SDK's interceptors read it without awaiting a network round-trip.
|
|
81413
|
+
*
|
|
81414
|
+
* @returns the current access token, or `null` when not yet authenticated.
|
|
81415
|
+
*/
|
|
81416
|
+
getToken(): TokenResult;
|
|
81417
|
+
/**
|
|
81418
|
+
* The resolved TLS-verification setting from
|
|
81419
|
+
* {@link KeycloakTokenProviderConfig.keycloakVerifySsl} (defaults to `true`).
|
|
81420
|
+
*
|
|
81421
|
+
* Exposed for cross-SDK config parity and introspection only. It is a NO-OP in
|
|
81422
|
+
* this browser client — the browser owns the TLS handshake, so the value never
|
|
81423
|
+
* reaches {@link postTokenRequest} and does not change the outgoing request.
|
|
81424
|
+
*
|
|
81425
|
+
* @returns `true` when TLS verification is requested (the default), `false`
|
|
81426
|
+
* when the config explicitly opted out (still inert here).
|
|
81427
|
+
*/
|
|
81428
|
+
get keycloakVerifySsl(): boolean;
|
|
81429
|
+
/**
|
|
81430
|
+
* Perform the one-time login and arm the first background refresh.
|
|
81431
|
+
*
|
|
81432
|
+
* When the config carries an `offlineToken`, this runs a
|
|
81433
|
+
* `grant_type=refresh_token` exchange; otherwise it runs a one-time
|
|
81434
|
+
* `grant_type=password` ROPC login with `scope=offline_access`. Idempotent
|
|
81435
|
+
* results are not guaranteed — call it exactly once on application start.
|
|
81436
|
+
*
|
|
81437
|
+
* @returns a promise that resolves once the first access token is cached and
|
|
81438
|
+
* the background refresh is armed.
|
|
81439
|
+
* @throws KeycloakAuthenticationError when the token endpoint fails, the
|
|
81440
|
+
* response lacks an `access_token`, or (for the ROPC path) the response
|
|
81441
|
+
* carries no `refresh_token`.
|
|
81442
|
+
*/
|
|
81443
|
+
login(): Promise<void>;
|
|
81444
|
+
/**
|
|
81445
|
+
* Exchange the offline refresh token for a fresh access token and re-arm the
|
|
81446
|
+
* next refresh. No-ops once {@link stop} has run.
|
|
81447
|
+
*
|
|
81448
|
+
* @returns a promise resolving once the token is refreshed and re-armed.
|
|
81449
|
+
* @throws KeycloakAuthenticationError when the refresh request fails or
|
|
81450
|
+
* returns an unusable body.
|
|
81451
|
+
*/
|
|
81452
|
+
private refresh;
|
|
81453
|
+
/**
|
|
81454
|
+
* Arm a single timer for the next refresh. The delay is `expiresInRaw` minus
|
|
81455
|
+
* {@link REFRESH_SKEW_SECONDS}, floored at {@link MIN_REFRESH_DELAY_SECONDS}.
|
|
81456
|
+
* A missing or non-positive `expires_in` falls back to the floor.
|
|
81457
|
+
*
|
|
81458
|
+
* @param expiresInRaw the `expires_in` (seconds) from the latest response.
|
|
81459
|
+
*/
|
|
81460
|
+
private scheduleRefresh;
|
|
81461
|
+
/**
|
|
81462
|
+
* POST a form-urlencoded body to the token endpoint and return the parsed
|
|
81463
|
+
* response.
|
|
81464
|
+
*
|
|
81465
|
+
* @param params the form fields to URL-encode into the request body.
|
|
81466
|
+
* @returns the parsed {@link KeycloakTokenResponse}.
|
|
81467
|
+
* @throws KeycloakAuthenticationError on a transport error.
|
|
81468
|
+
*/
|
|
81469
|
+
private postTokenRequest;
|
|
81470
|
+
/**
|
|
81471
|
+
* Store the access token and (rotated) refresh token from a token response.
|
|
81472
|
+
*
|
|
81473
|
+
* @param response the parsed token-endpoint response.
|
|
81474
|
+
* @throws KeycloakAuthenticationError when the response carries no
|
|
81475
|
+
* `access_token`.
|
|
81476
|
+
*/
|
|
81477
|
+
private storeTokens;
|
|
81478
|
+
/** Stop the background refresh loop. Idempotent; safe to call from any state. */
|
|
81479
|
+
stop(): void;
|
|
81480
|
+
/** Angular lifecycle hook: cancels the background refresh on destruction. */
|
|
81481
|
+
ngOnDestroy(): void;
|
|
81482
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KeycloakTokenProvider, [null, { optional: true; }]>;
|
|
81483
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<KeycloakTokenProvider>;
|
|
81484
|
+
}
|
|
81485
|
+
|
|
81486
|
+
/**
|
|
81487
|
+
* The HTTP / gRPC header under which the bearer credential is attached.
|
|
81488
|
+
*
|
|
81489
|
+
* Uses the canonical `Authorization` capitalization. HTTP and gRPC-web metadata
|
|
81490
|
+
* keys are matched case-insensitively, so this casing is compatible with every
|
|
81491
|
+
* transport while presenting the credential under its conventional name.
|
|
81492
|
+
*/
|
|
81493
|
+
declare const AUTHORIZATION_HEADER: string;
|
|
81494
|
+
/** The credential scheme prefix prepended to the raw access token. */
|
|
81495
|
+
declare const BEARER_PREFIX: string;
|
|
81496
|
+
/**
|
|
81497
|
+
* Normalize the value returned by a `TokenProvider.getToken()` call — which may
|
|
81498
|
+
* be a `string`, `null`, a `Promise` or an `Observable` — into a single
|
|
81499
|
+
* `Observable<string | null>` that emits exactly once.
|
|
81500
|
+
*
|
|
81501
|
+
* A non-empty token is returned trimmed; `null`, `undefined`, an empty string
|
|
81502
|
+
* and a whitespace-only string are all collapsed to `null` so callers have a
|
|
81503
|
+
* single "no usable token" signal and never build an empty `Bearer` header.
|
|
81504
|
+
*
|
|
81505
|
+
* @param result the raw value returned by `TokenProvider.getToken()`.
|
|
81506
|
+
* @returns an observable emitting the usable token, or `null` when absent.
|
|
81507
|
+
*/
|
|
81508
|
+
declare function resolveToken(result: TokenResult): Observable<string | null>;
|
|
81509
|
+
/**
|
|
81510
|
+
* Build the `Authorization` header value for a resolved token, or `null` when
|
|
81511
|
+
* the token is absent.
|
|
81512
|
+
*
|
|
81513
|
+
* @param token a usable token, or `null`.
|
|
81514
|
+
* @returns the `"Bearer <token>"` string, or `null` when there is no token.
|
|
81515
|
+
*/
|
|
81516
|
+
declare function buildBearerValue(token: string | null): string | null;
|
|
81517
|
+
/**
|
|
81518
|
+
* Convenience wrapper: emit the ready-to-use `Authorization` header value, or
|
|
81519
|
+
* `null` when no token is available.
|
|
81520
|
+
*
|
|
81521
|
+
* @param result the raw value returned by `TokenProvider.getToken()`.
|
|
81522
|
+
* @returns an observable emitting the bearer header value, or `null`.
|
|
81523
|
+
*/
|
|
81524
|
+
declare function resolveBearerValue(result: TokenResult): Observable<string | null>;
|
|
81525
|
+
|
|
81526
|
+
/**
|
|
81527
|
+
* Functional Angular `HttpInterceptor` that attaches the current Keycloak access
|
|
81528
|
+
* token as an `Authorization: Bearer <token>` header to outgoing HTTP requests.
|
|
81529
|
+
*
|
|
81530
|
+
* Behaviour:
|
|
81531
|
+
* - token present → a cloned request carrying the bearer header is forwarded.
|
|
81532
|
+
* - token absent / empty → the original request is forwarded untouched (no empty
|
|
81533
|
+
* `Bearer` header is ever sent).
|
|
81534
|
+
* - token source is async (Promise/Observable) → resolved before the request is
|
|
81535
|
+
* sent.
|
|
81536
|
+
* - an existing `Authorization` header on the request is left untouched, so a
|
|
81537
|
+
* caller that already set credentials explicitly wins.
|
|
81538
|
+
*
|
|
81539
|
+
* Register it in the application's HTTP pipeline:
|
|
81540
|
+
*
|
|
81541
|
+
* ```ts
|
|
81542
|
+
* provideHttpClient(withInterceptors([authHttpInterceptor]))
|
|
81543
|
+
* ```
|
|
81544
|
+
*
|
|
81545
|
+
* Errors raised by the `TokenProvider` propagate to the caller (the request is
|
|
81546
|
+
* not sent) so an authentication failure surfaces rather than silently issuing
|
|
81547
|
+
* an unauthenticated request.
|
|
81548
|
+
*
|
|
81549
|
+
* @param req the outgoing HTTP request.
|
|
81550
|
+
* @param next the next handler in the interceptor chain.
|
|
81551
|
+
* @returns the stream of HTTP events for the (possibly authorized) request.
|
|
81552
|
+
*/
|
|
81553
|
+
declare function authHttpInterceptor(req: HttpRequest<unknown>, next: HttpHandlerFn): Observable<HttpEvent<unknown>>;
|
|
81554
|
+
|
|
81555
|
+
/**
|
|
81556
|
+
* `@ngx-grpc` interceptor that attaches the current Keycloak access token as an
|
|
81557
|
+
* `Authorization: Bearer <token>` entry on the gRPC-web request metadata. This
|
|
81558
|
+
* is the gRPC-web counterpart of {@link authHttpInterceptor} and matches the
|
|
81559
|
+
* `@ngx-grpc` client style used by every generated `*.pbsc.ts` service client in
|
|
81560
|
+
* this library (e.g. `ConversationsClient`).
|
|
81561
|
+
*
|
|
81562
|
+
* Behaviour mirrors the HTTP interceptor:
|
|
81563
|
+
* - token present → the bearer credential is set on `requestMetadata`.
|
|
81564
|
+
* - token absent / empty → the request metadata is left untouched (no empty
|
|
81565
|
+
* `Bearer` value is ever attached).
|
|
81566
|
+
* - token source is async (Promise/Observable) → resolved before the request is
|
|
81567
|
+
* handed to the next handler.
|
|
81568
|
+
* - an `authorization` entry already present on the request metadata is left
|
|
81569
|
+
* untouched, so an explicitly-set credential wins.
|
|
81570
|
+
*
|
|
81571
|
+
* Register it via the standard `@ngx-grpc` multi-provider:
|
|
81572
|
+
*
|
|
81573
|
+
* ```ts
|
|
81574
|
+
* providers: [
|
|
81575
|
+
* { provide: GRPC_INTERCEPTORS, useClass: AuthGrpcInterceptor, multi: true },
|
|
81576
|
+
* ]
|
|
81577
|
+
* ```
|
|
81578
|
+
*/
|
|
81579
|
+
declare class AuthGrpcInterceptor implements GrpcInterceptor {
|
|
81580
|
+
private readonly tokenProvider;
|
|
81581
|
+
/**
|
|
81582
|
+
* @param tokenProvider the application-supplied {@link TokenProvider} (injected
|
|
81583
|
+
* via the {@link TOKEN_PROVIDER} DI token) whose current access token is
|
|
81584
|
+
* attached to outgoing gRPC-web requests.
|
|
81585
|
+
*/
|
|
81586
|
+
constructor(tokenProvider: TokenProvider);
|
|
81587
|
+
/**
|
|
81588
|
+
* Attach the bearer credential (when available) to the request metadata, then
|
|
81589
|
+
* delegate to the next handler in the chain.
|
|
81590
|
+
*
|
|
81591
|
+
* @param request the intercepted gRPC request.
|
|
81592
|
+
* @param next the next handler to pass the request through.
|
|
81593
|
+
* @returns the stream of gRPC events for the (possibly authorized) request.
|
|
81594
|
+
*/
|
|
81595
|
+
intercept<Q extends GrpcMessage, S extends GrpcMessage>(request: GrpcRequest<Q, S>, next: GrpcHandler): Observable<GrpcEvent<S>>;
|
|
81596
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AuthGrpcInterceptor, never>;
|
|
81597
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AuthGrpcInterceptor>;
|
|
81598
|
+
}
|
|
81599
|
+
|
|
81600
|
+
/**
|
|
81601
|
+
* Wire a consuming application's {@link TokenProvider} implementation into this
|
|
81602
|
+
* library and register the `@ngx-grpc` {@link AuthGrpcInterceptor} that uses it.
|
|
81603
|
+
*
|
|
81604
|
+
* This covers the gRPC-web side. For HTTP requests, additionally register the
|
|
81605
|
+
* functional `authHttpInterceptor`:
|
|
81606
|
+
*
|
|
81607
|
+
* ```ts
|
|
81608
|
+
* provideHttpClient(withInterceptors([authHttpInterceptor]))
|
|
81609
|
+
* ```
|
|
81610
|
+
*
|
|
81611
|
+
* Usage in an application's `providers` (standalone bootstrap or `AppModule`):
|
|
81612
|
+
*
|
|
81613
|
+
* ```ts
|
|
81614
|
+
* import { provideOndewoCsiAuth } from "@ondewo/csi-client-angular";
|
|
81615
|
+
*
|
|
81616
|
+
* bootstrapApplication(AppComponent, {
|
|
81617
|
+
* providers: [
|
|
81618
|
+
* provideOndewoCsiAuth(KeycloakTokenProvider),
|
|
81619
|
+
* provideHttpClient(withInterceptors([authHttpInterceptor])),
|
|
81620
|
+
* ],
|
|
81621
|
+
* });
|
|
81622
|
+
* ```
|
|
81623
|
+
*
|
|
81624
|
+
* @param tokenProvider the application's `TokenProvider` class (e.g. one that
|
|
81625
|
+
* wraps `keycloak-js` / `keycloak-angular`).
|
|
81626
|
+
* @returns environment providers binding the token provider and the gRPC
|
|
81627
|
+
* interceptor.
|
|
81628
|
+
*/
|
|
81629
|
+
declare function provideOndewoCsiAuth(tokenProvider: Type<TokenProvider>): EnvironmentProviders;
|
|
81630
|
+
|
|
81631
|
+
export { AUTHORIZATION_HEADER, AcousticModels, AddAudioFilesRequest, AddAudioFilesResponse, AddDataToUserLanguageModelRequest, AddLlmEvaluationExampleRequest, AddLlmEvaluationExamplesRequest, AddLlmEvaluationExamplesResponse, AddNotificationsRequest, AddNotificationsResponse, AddSessionCommentRequest, AddSessionFeedbackRequest, AddSessionLabelsRequest, AddSessionStepFeedbackRequest, AddTrainingPhrasesFromCSVRequest, AddTrainingPhrasesRequest, AddTrainingPhrasesResponse, AddUserToProjectRequest, Agent, AgentOfUserWithOwner, AgentSorting, AgentStatus, AgentView, AgentWithOwner, AgentsClient, AiServicesClient, AltSentence, AltTrainingPhrase, Apodization, ApplyLlmEvaluationAbRolloutRequest, AudioEncoding, AudioFileResource, AudioFileResourceType, AudioFormat, AuthGrpcInterceptor, BEARER_PREFIX, BatchCreateEntitiesRequest, BatchCreateParametersRequest, BatchCreateResponseMessagesRequest, BatchCreateTrainingPhrasesRequest, BatchDeleteEntitiesRequest, BatchDeleteEntitiesResponse, BatchDeleteEntityTypesRequest, BatchDeleteIntentsRequest, BatchDeleteParametersRequest, BatchDeleteParametersResponse, BatchDeleteResponseMessagesRequest, BatchDeleteResponseMessagesResponse, BatchDeleteTrainingPhrasesRequest, BatchDeleteTrainingPhrasesResponse, BatchEntitiesResponse, BatchGetEntitiesRequest, BatchGetParametersRequest, BatchGetResponseMessagesRequest, BatchGetTrainingPhrasesRequest, BatchParametersStatusResponse, BatchResponseMessagesStatusResponse, BatchSynthesizeRequest, BatchSynthesizeResponse, BatchTrainingPhrasesStatusResponse, BatchUpdateEntitiesRequest, BatchUpdateEntityTypesRequest, BatchUpdateEntityTypesResponse, BatchUpdateIntentsRequest, BatchUpdateIntentsResponse, BatchUpdateParametersRequest, BatchUpdateResponseMessagesRequest, BatchUpdateTrainingPhrasesRequest, BertAugEnrichmentConfig, BuildCacheRequest, Caching, CancelLlmEvaluationExperimentRequest, CancelOperationRequest, CcaiProject, CcaiProjectSorting, CcaiProjectStatus, CcaiProjectView, CcaiProjectsClient, CcaiService, CcaiServiceFilter, CcaiServiceList, CcaiServiceProvider, CcaiServiceType, CheckUpstreamHealthResponse, CkptFile, ClassifyIntentsRequest, ClassifyIntentsResponse, CleanAllEntityTypesRequest, CleanAllEntityTypesResponse, CleanAllIntentsRequest, CleanAllIntentsResponse, CleanEntityTypeRequest, CleanEntityTypeResponse, CleanIntentRequest, CleanIntentResponse, Comment, CompareLlmEvaluationExperimentsRequest, ComparisonOperator, CompositeInference, Condition, ConditionType, Context, ContextFilter, ContextsClient, ControlMessage, ControlMessageServiceMethod, ControlMessageServiceName, ControlMessageServiceParameters, ControlStatus, ControlStreamRequest, ControlStreamResponse, ConversationsClient, CreateAgentRequest, CreateCcaiProjectRequest, CreateCcaiProjectResponse, CreateContextRequest, CreateCustomPhonemizerRequest, CreateEntityRequest, CreateEntityTypeRequest, CreateIntentRequest, CreateLlmEvaluationAbExperimentRequest, CreateLlmEvaluationDatasetRequest, CreateLlmEvaluationExamplesFromSessionRequest, CreateLlmEvaluationExamplesFromSessionResponse, CreateLlmEvaluationOnlineConfigRequest, CreateLlmEvaluationReleaseGateRequest, CreateLlmEvaluationReportRequest, CreateLlmEvaluationScheduleRequest, CreateLlmEvaluationScorecardRequest, CreateProjectRoleRequest, CreateProjectTechnicalUserRequest, CreateProjectTechnicalUserResponse, CreateServerRoleRequest, CreateSessionEntityTypeRequest, CreateSessionRequest, CreateSessionReviewRequest, CreateSessionStepRequest, CreateUserLanguageModelRequest, CreateUserRequest, CustomHttpPattern, CustomPhonemizerProto, CustomPlatformInfo, DataEnrichmentConfig, Decoding, DefaultProjectRole, DefaultServerRole, DeleteAgentRequest, DeleteAllContextsRequest, DeleteAllUserPreferencesRequest, DeleteAudioFilesRequest, DeleteAudioFilesResponse, DeleteCcaiProjectRequest, DeleteCcaiProjectResponse, DeleteContextRequest, DeleteEntityRequest, DeleteEntityStatus, DeleteEntityTypeRequest, DeleteIntentRequest, DeleteLlmEvaluationAbExperimentRequest, DeleteLlmEvaluationDatasetRequest, DeleteLlmEvaluationExampleRequest, DeleteLlmEvaluationExperimentRequest, DeleteLlmEvaluationFeedbackRequest, DeleteLlmEvaluationOnlineConfigRequest, DeleteLlmEvaluationReleaseGateRequest, DeleteLlmEvaluationReportRequest, DeleteLlmEvaluationScheduleRequest, DeleteLlmEvaluationScorecardRequest, DeleteNotificationsRequest, DeleteOperationRequest, DeleteProjectRoleRequest, DeleteProjectTechnicalUserRequest, DeleteResourcesRequest, DeleteServerRoleRequest, DeleteSessionCommentsRequest, DeleteSessionEntityTypeRequest, DeleteSessionFeedbackRequest, DeleteSessionLabelsRequest, DeleteSessionRequest, DeleteSessionStepRequest, DeleteUserLanguageModelRequest, DeleteUserPreferencesRequest, DeleteUserPreferencesResponse, DeleteUserRequest, DetectIntentRequest, DetectIntentResponse, DetectedIntent, DocumentFileResource, EntityDetected, EntityEnrichmentConfig, EntityStatus, EntityType, EntityTypeBatch, EntityTypeCategory, EntityTypeFuzzyNerConfig, EntityTypeSorting, EntityTypeUpdate, EntityTypeView, EntityTypesClient, EntityValueSorting, EventInput, ExportAgentRequest, ExportAgentResponse, ExportBenchmarkAgentRequest, ExportBenchmarkAgentResponse, ExportResourcesRequest, ExportResourcesResponse, ExtractEntitiesFuzzyRequest, ExtractEntitiesRequest, ExtractEntitiesResponse, FeedbackAuthorType, FeedbackBreakdownBucket, FeedbackFilter, FeedbackRating, FeedbackScope, FeedbackStatistics, FeedbackTimeGranularity, FeedbackTimeSeriesBucket, FileResource, FullTextSearchRequest, FullTextSearchResponseEntity, FullTextSearchResponseEntitySynonym, FullTextSearchResponseEntityType, FullTextSearchResponseIntent, FullTextSearchResponseIntentContextIn, FullTextSearchResponseIntentContextOut, FullTextSearchResponseIntentParameters, FullTextSearchResponseIntentResponse, FullTextSearchResponseIntentTags, FullTextSearchResponseIntentUsersays, GPT2EnrichmentConfig, GRPC_AGENTS_CLIENT_SETTINGS, GRPC_AI_SERVICES_CLIENT_SETTINGS, GRPC_CCAI_PROJECTS_CLIENT_SETTINGS, GRPC_CONTEXTS_CLIENT_SETTINGS, GRPC_CONVERSATIONS_CLIENT_SETTINGS, GRPC_ENTITY_TYPES_CLIENT_SETTINGS, GRPC_INTENTS_CLIENT_SETTINGS, GRPC_LLM_EVALUATIONS_CLIENT_SETTINGS, GRPC_OPERATIONS_CLIENT_SETTINGS, GRPC_PROJECT_ROLES_CLIENT_SETTINGS, GRPC_PROJECT_STATISTICS_CLIENT_SETTINGS, GRPC_RAGS_CLIENT_SETTINGS, GRPC_SERVER_STATISTICS_CLIENT_SETTINGS, GRPC_SESSIONS_CLIENT_SETTINGS, GRPC_SPEECH2_TEXT_CLIENT_SETTINGS, GRPC_TEXT2_SPEECH_CLIENT_SETTINGS, GRPC_USERS_CLIENT_SETTINGS, GRPC_UTILITIES_CLIENT_SETTINGS, GRPC_WEBHOOK_CLIENT_SETTINGS, GenerateResponsesRequest, GenerateResponsesResponse, GenerateUserSaysRequest, GenerateUserSaysResponse, GetAgentRequest, GetAgentStatisticsRequest, GetAgentStatisticsResponse, GetAllIntentTagsRequest, GetAlternativeSentencesRequest, GetAlternativeSentencesResponse, GetAlternativeTrainingPhrasesRequest, GetAlternativeTrainingPhrasesResponse, GetAudioFileOfSessionRequest, GetAudioFilesRequest, GetAudioFilesResponse, GetCcaiProjectRequest, GetCcaiServiceRequest, GetContextRequest, GetEntityRequest, GetEntityTypeCountRequest, GetEntityTypeRequest, GetFeedbackStatisticsRequest, GetFeedbackStatisticsResponse, GetFeedbackStatisticsTimeSeriesRequest, GetFeedbackStatisticsTimeSeriesResponse, GetIntentCountRequest, GetIntentRequest, GetIntentTagsRequest, GetIntentTagsResponse, GetLatestSessionReviewRequest, GetLlmEvaluationAbExperimentRequest, GetLlmEvaluationAbExperimentResultsRequest, GetLlmEvaluationAbExperimentResultsResponse, GetLlmEvaluationAbRolloutDecisionRequest, GetLlmEvaluationAbRolloutRecommendationRequest, GetLlmEvaluationAnnotationQueueItemRequest, GetLlmEvaluationDatasetRequest, GetLlmEvaluationExampleRequest, GetLlmEvaluationExperimentRequest, GetLlmEvaluationOnlineConfigRequest, GetLlmEvaluationOnlineResultRequest, GetLlmEvaluationProjectSettingsRequest, GetLlmEvaluationReleaseGateRequest, GetLlmEvaluationReleaseGateRunRequest, GetLlmEvaluationReportRequest, GetLlmEvaluationScheduleRequest, GetLlmEvaluationScorecardRequest, GetModelStatusesRequest, GetModelStatusesResponse, GetNotificationRequest, GetOperationRequest, GetPlatformInfoResponse, GetPlatformMappingRequest, GetProjectElementStatRequest, GetProjectRoleRequest, GetProjectStatRequest, GetRemoteOperationContainerLogsRequest, GetRemoteOperationContainerLogsResponse, GetRemoteOperationContainerStatusRequest, GetServerRoleRequest, GetSessionEntityTypeRequest, GetSessionFeedbackRequest, GetSessionRequest, GetSessionReviewRequest, GetSessionStepRequest, GetSessionsStatisticsRequest, GetSessionsStatisticsResponse, GetSessionsStatisticsTimeSeriesRequest, GetSessionsStatisticsTimeSeriesResponse, GetSynonymsRequest, GetSynonymsResponse, GetUserPreferencesRequest, GetUserPreferencesResponse, GetUserProjectCountRequest, GetUserRequest, GloVeEnrichmentConfig, GlowTTS, GlowTTSTriton, HiFiGan, HiFiGanTriton, Http, HttpRule, ImageFileResource, ImportAgentRequest, InferenceBackend, InitiationProtocol, InputAudioConfig, Intent, IntentAlgorithms, IntentBatch, IntentCategory, IntentClassified, IntentSorting, IntentTagRequest, IntentUpdate, IntentView, IntentsClient, KEYCLOAK_TOKEN_PROVIDER_CONFIG, KeyValuePair, KeycloakAuthenticationError, KeycloakTokenProvider, LanguageModelPipelineId, LanguageModels, LatLng, ListAccountIdsOfAllSessionsRequest, ListAccountIdsResponse, ListAgentsOfUserResponse, ListAgentsRequest, ListAgentsResponse, ListAudioFilesRequest, ListAudioFilesResponse, ListCcaiProjectsRequest, ListCcaiProjectsResponse, ListContextsRequest, ListContextsResponse, ListCustomPhonemizerRequest, ListCustomPhonemizerResponse, ListDatastreamIdsOfAllSessionsRequest, ListDatastreamIdsResponse, ListEntitiesRequest, ListEntitiesResponse, ListEntityTypesRequest, ListEntityTypesResponse, ListIdentifiedUserIdsOfAllSessionsRequest, ListIdentifiedUserIdsResponse, ListInputContextsOfAllSessionsRequest, ListInputContextsResponse, ListIntentsRequest, ListIntentsResponse, ListLanguageCodesOfAllSessionsRequest, ListLanguageCodesResponse, ListLlmEvaluationAbExperimentsRequest, ListLlmEvaluationAbExperimentsResponse, ListLlmEvaluationAbRolloutDecisionsRequest, ListLlmEvaluationAbRolloutDecisionsResponse, ListLlmEvaluationAnnotationQueueItemsRequest, ListLlmEvaluationAnnotationQueueItemsResponse, ListLlmEvaluationDatasetsRequest, ListLlmEvaluationDatasetsResponse, ListLlmEvaluationEvaluatorsRequest, ListLlmEvaluationEvaluatorsResponse, ListLlmEvaluationExamplesRequest, ListLlmEvaluationExamplesResponse, ListLlmEvaluationExperimentsRequest, ListLlmEvaluationExperimentsResponse, ListLlmEvaluationFeedbackRequest, ListLlmEvaluationFeedbackResponse, ListLlmEvaluationOnlineConfigsRequest, ListLlmEvaluationOnlineConfigsResponse, ListLlmEvaluationOnlineResultsRequest, ListLlmEvaluationOnlineResultsResponse, ListLlmEvaluationReleaseGateRunsRequest, ListLlmEvaluationReleaseGateRunsResponse, ListLlmEvaluationReleaseGatesRequest, ListLlmEvaluationReleaseGatesResponse, ListLlmEvaluationReportsRequest, ListLlmEvaluationReportsResponse, ListLlmEvaluationSchedulesRequest, ListLlmEvaluationSchedulesResponse, ListLlmEvaluationScorecardsRequest, ListLlmEvaluationScorecardsResponse, ListLlmModelsRequest, ListLlmModelsResponse, ListMatchedEntityTypesOfAllSessionsRequest, ListMatchedEntityTypesResponse, ListMatchedIntentsOfAllSessionsRequest, ListMatchedIntentsResponse, ListNotificationsRequest, ListNotificationsResponse, ListOperationsRequest, ListOperationsResponse, ListOriginIdsOfAllSessionsRequest, ListOriginIdsResponse, ListOutputContextsOfAllSessionsRequest, ListOutputContextsResponse, ListParametersRequest, ListParametersResponse, ListPlatformsOfAllSessionsRequest, ListPlatformsResponse, ListProjectPermissionsRequest, ListProjectPermissionsResponse, ListProjectRolesRequest, ListProjectRolesResponse, ListProjectTechnicalUsersRequest, ListProjectTechnicalUsersResponse, ListPropertyIdsOfAllSessionsRequest, ListPropertyIdsResponse, ListRemoteOperationContainersRequest, ListRemoteOperationContainersResponse, ListResponseMessagesRequest, ListResponseMessagesResponse, ListS2sPipelinesRequest, ListS2sPipelinesResponse, ListS2tDomainsRequest, ListS2tDomainsResponse, ListS2tLanguageModelsRequest, ListS2tLanguageModelsResponse, ListS2tLanguagesRequest, ListS2tLanguagesResponse, ListS2tNormalizationPipelinesRequest, ListS2tNormalizationPipelinesResponse, ListS2tPipelinesRequest, ListS2tPipelinesResponse, ListServerPermissionsRequest, ListServerPermissionsResponse, ListServerRolesRequest, ListServerRolesResponse, ListSessionCommentsOfAllSessionsRequest, ListSessionCommentsRequest, ListSessionCommentsResponse, ListSessionEntityTypesRequest, ListSessionEntityTypesResponse, ListSessionFeedbackOfAllSessionsRequest, ListSessionFeedbackRequest, ListSessionFeedbackResponse, ListSessionLabelsOfAllSessionsRequest, ListSessionLabelsRequest, ListSessionLabelsResponse, ListSessionReviewsRequest, ListSessionReviewsResponse, ListSessionsRequest, ListSessionsResponse, ListT2sDomainsRequest, ListT2sDomainsResponse, ListT2sLanguagesRequest, ListT2sLanguagesResponse, ListT2sNormalizationPipelinesRequest, ListT2sNormalizationPipelinesResponse, ListT2sPipelinesRequest, ListT2sPipelinesResponse, ListTagsOfAllSessionsRequest, ListTagsResponse, ListTrainingPhrasesRequest, ListTrainingPhrasesResponse, ListTrainingPhrasesofIntentsWithEnrichmentRequest, ListTrainingPhrasesofIntentsWithEnrichmentResponse, ListUserIdsOfAllSessionsRequest, ListUserIdsResponse, ListUserInfosResponse, ListUserPreferencesRequest, ListUserPreferencesResponse, ListUsersInProjectRequest, ListUsersInProjectResponse, ListUsersRequest, ListUsersResponse, LlmAgentUsage, LlmCacheStats, LlmCallFinishedEvent, LlmCallStartedEvent, LlmCcaiServiceUsage, LlmEnrichmentConfig, LlmErrorStat, LlmErrorStats, LlmEvaluationAbExperiment, LlmEvaluationAbExperimentFilter, LlmEvaluationAbExperimentStatus, LlmEvaluationAbOptimizeMetric, LlmEvaluationAbRolloutDecision, LlmEvaluationAbRolloutDecisionFilter, LlmEvaluationAbRolloutRecommendation, LlmEvaluationAbTrafficConfig, LlmEvaluationAbVariant, LlmEvaluationAbVariantResult, LlmEvaluationAnnotationQueueItem, LlmEvaluationAnnotationQueueItemFilter, LlmEvaluationAnnotationStatus, LlmEvaluationComparison, LlmEvaluationDataset, LlmEvaluationDatasetFilter, LlmEvaluationDatasetType, LlmEvaluationEvaluatorCategory, LlmEvaluationEvaluatorParameterSpec, LlmEvaluationEvaluatorRun, LlmEvaluationEvaluatorSpec, LlmEvaluationEvaluatorType, LlmEvaluationExample, LlmEvaluationExampleExtractionMode, LlmEvaluationExampleFilter, LlmEvaluationExperiment, LlmEvaluationExperimentFilter, LlmEvaluationExperimentKind, LlmEvaluationExperimentStatus, LlmEvaluationFeedback, LlmEvaluationFeedbackFilter, LlmEvaluationJudgeConfig, LlmEvaluationOnlineConfig, LlmEvaluationOnlineConfigFilter, LlmEvaluationOnlineResult, LlmEvaluationOnlineResultFilter, LlmEvaluationOnlineSessionFilter, LlmEvaluationPairwiseResult, LlmEvaluationProjectSettings, LlmEvaluationReleaseGate, LlmEvaluationReleaseGateCheck, LlmEvaluationReleaseGateFilter, LlmEvaluationReleaseGateRun, LlmEvaluationReleaseGateRunFilter, LlmEvaluationReleaseGateSafetyConfig, LlmEvaluationReleaseGateThresholds, LlmEvaluationReleaseGateVerdict, LlmEvaluationReport, LlmEvaluationReportFilter, LlmEvaluationSchedule, LlmEvaluationScheduleAction, LlmEvaluationScheduleFilter, LlmEvaluationScorecard, LlmEvaluationScorecardComponent, LlmEvaluationScorecardFilter, LlmEvaluationSimulationKind, LlmEvaluationSimulationPersona, LlmEvaluationTurnResult, LlmEvaluationsClient, LlmFinishReasonStat, LlmGenerateRequest, LlmGenerateResponse, LlmLatencyStats, LlmModel, LlmModelUsage, LlmProviderUsage, LlmReasoningEffortStat, LlmRetrievalMetadata, LlmRetrievedChunk, LlmSafetyAssessment, LlmSafetyCategoryStat, LlmSafetyFinding, LlmSafetyLocation, LlmSafetyStats, LlmTelemetry, LlmTelemetryReport, LlmTelemetryTimeSeriesBucket, LlmThinkingDeltaEvent, LlmThinkingMetadata, LlmTokenUsage, LlmTokenUsageUpdateEvent, LlmToolCallFinishedEvent, LlmToolCallMetadata, LlmToolCallStartedEvent, LlmToolUsage, LogEntry, LogSeverity, Logging, Logmnse, MIN_REFRESH_DELAY_SECONDS, Map, MbMelganTriton, Mel2Audio, MigrateAgentRequest, Mode, ModelStatus, NormalizeTextRequest, NormalizeTextResponse, Notification, NotificationFilter, NotificationFlaggedStatus, NotificationOrigin, NotificationReadStatus, NotificationType, NotificationVisibility, OpenaiLlmOptions, Operation, OperationFilter, OperationMetadata, OperationsClient, OptimizeRankingMatchRequest, OptimizeRankingMatchResponse, OriginalDetectIntentRequest, Parakeet, Pcm, PhonemizerId, PingRequest, PingResponse, PlatformMapping, PostProcessing, PostProcessingOptions, PostProcessors, Postprocessing, ProjectRole, ProjectRoleView, ProjectRolesClient, ProjectStatisticsClient, ProjectTechnicalUser, PromoteLlmEvaluationAnnotationQueueItemRequest, PromoteLlmEvaluationAnnotationQueueItemResponse, PtFiles, Pyannote, QueryInput, QueryParameters, QueryResult, Qwen3TtsBase, Qwen3TtsCustomVoice, REFRESH_SKEW_SECONDS, RagAddCrawlerResultsToDatasetsRequest, RagChunk, RagChunkMethod, RagComparisonOperator, RagCrawler, RagCrawlerAuth, RagCrawlerAuthenticationExecutionType, RagCrawlerBrowserConfig, RagCrawlerConcurrencyConfig, RagCrawlerConfig, RagCrawlerContentResult, RagCrawlerContentScope, RagCrawlerCookie, RagCrawlerCrawlStrategy, RagCrawlerDeepCrawlerConfig, RagCrawlerDensityPruning, RagCrawlerExecutionInfo, RagCrawlerFilters, RagCrawlerHtmlAuth, RagCrawlerHttpAuth, RagCrawlerMetaDataExtractor, RagCrawlerMetaDataExtractorType, RagCrawlerPruningThresholdType, RagCrawlerResult, RagCrawlerResultsConfig, RagCrawlerRetryConfig, RagCrawlerSeedUrlFilters, RagCrawlerSelectorType, RagCrawlerSources, RagCrawlerStatusFilter, RagCreateCrawlerRequest, RagCreateDatasetRequest, RagDataset, RagDatasetList, RagDatasetParsingStatus, RagDeleteCrawlerRequest, RagDeleteCrawlerResponse, RagDeleteCrawlerRunsRequest, RagDeleteCrawlerRunsResponse, RagDeleteCrawlersRequest, RagDeleteCrawlersResponse, RagDeleteDocumentsRequest, RagDeleteRequest, RagDocAgg, RagDocument, RagDocumentIdsRequest, RagDocumentList, RagDocumentStatus, RagDocumentType, RagDownloadDocumentRequest, RagFileChunk, RagFileMetadata, RagGetCrawlerAttachedDatasetsRequest, RagGetCrawlerAttachedDatasetsResponse, RagGetCrawlerRequest, RagGetCrawlerResultRequest, RagGetCrawlerResultsRequest, RagGetCrawlerResultsResponse, RagGetCrawlerRunLogsRequest, RagGetCrawlerRunLogsResponse, RagGetCrawlerRunRequest, RagGraphRagConfig, RagGraphRagMethod, RagListCrawlerRunsRequest, RagListCrawlerRunsResponse, RagListCrawlersRequest, RagListCrawlersResponse, RagListDatasetsRequest, RagListDocumentsRequest, RagLogic, RagMetadataCondition, RagMetadataConditions, RagParserConfig, RagPartialSuccess, RagRaptorConfig, RagRemoveCrawlerResultsFromDatasetsRequest, RagRetrievalRequest, RagRetrievalResponse, RagStartCrawlerRequest, RagStopCrawlerRequest, RagStopCrawlerResponse, RagUpdateCrawlerRequest, RagUpdateDatasetRequest, RagUpdateDocumentRequest, RagUploadDocumentRequest, RagVariantConfig, RagsClient, RankingMatchOptimizationConfig, ReannotateEntitiesOptions, ReasoningEffort$1 as ReasoningEffort, ReferencedChunk, ReindexAgentRequest, RemoteOperationContainer, RemoteOperationContainerLifecycleState, RemoteOperationContainerLogLine, RemoteOperationContainerStatus, RemoveUserFromProjectRequest, ReportFormat, ReportType, RequestConfig, ResourceView, RestoreAgentRequest, RotateProjectTechnicalUserPasswordRequest, RotateProjectTechnicalUserPasswordResponse, RunLlmEvaluationExperimentRequest, RunLlmEvaluationReleaseGateRequest, S2sPipeline, S2sPipelineId, S2sStreamRequest, S2sStreamResponse, S2tCloudProviderConfig, S2tCloudProviderConfigAmazon, S2tCloudProviderConfigDeepgram, S2tCloudProviderConfigGoogle, S2tCloudProviderConfigMicrosoft, S2tCloudServiceAmazon, S2tCloudServiceDeepgram, S2tCloudServiceGoogle, S2tCloudServiceMicrosoft, S2tDescription, S2tGetServiceInfoResponse, S2tInference, S2tLlmPostProcessing, S2tLlmPostProcessingInverseNormalizationOptions, S2tLlmPostProcessingNormalizationOptions, S2tLlmPostProcessingSubTaskOptions, S2tLlmPostProcessingSummarizationOptions, S2tLlmPostProcessingTranslationOptions, S2tNormalization, S2tPipelineId, S2tTranscription, ServerRole, ServerStatisticsClient, ServiceTier, Session, SessionEntityType, SessionFeedback, SessionFilter, SessionInfo, SessionReview, SessionReviewStep, SessionStep, SessionsClient, SessionsReportType, SetAgentStatusRequest, SetControlStatusRequest, SetControlStatusResponse, SetNotificationsFlaggedStatusRequest, SetNotificationsReadStatusRequest, SetResourcesRequest, SetUserPreferencesRequest, SetUserPreferencesResponse, SimulateLlmEvaluationConversationsRequest, SingleInference, SipTrigger, SortingMode, Speech2TextClient, Speech2TextConfig, StartLlmEvaluationAbExperimentRequest, StatResponse, Status, StopLlmEvaluationAbExperimentRequest, StreamNotificationsRequest, StreamRemoteOperationContainerLogsRequest, StreamingDetectIntentRequest, StreamingDetectIntentResponse, StreamingLlmGenerateResponse, StreamingRecognitionResult, StreamingServer, StreamingSpeechRecognition, StreamingSynthesizeRequest, StreamingSynthesizeResponse, StringUpdate, SubmitLlmEvaluationFeedbackRequest, SymSpell, Synonym, SynthesizeRequest, SynthesizeResponse, T2SCustomLengthScales, T2SDescription, T2SGetServiceInfoResponse, T2SInference, T2SNormalization, T2sCloudProviderConfig, T2sCloudProviderConfigElevenLabs, T2sCloudProviderConfigGoogle, T2sCloudProviderConfigMicrosoft, T2sCloudServiceAmazon, T2sCloudServiceElevenLabs, T2sCloudServiceGoogle, T2sCloudServiceMicrosoft, T2sPipelineId, TOKEN_PROVIDER, Text2Audio, Text2Mel, Text2SpeechClient, Text2SpeechConfig, TextInput, ThesaurusEnrichmentConfig, TrainAgentRequest, TrainUserLanguageModelRequest, TrainingPhraseCleanerOptions, TrainingPhraseStatus, TranscribeFileRequest, TranscribeFileResponse, TranscribeRequestConfig, TranscribeStreamRequest, TranscribeStreamResponse, Transcription, TranscriptionAlternative, TranscriptionReturnOptions, TranscriptionType, TurnDetectionOptions, UpdateAgentRequest, UpdateCcaiProjectRequest, UpdateCcaiProjectResponse, UpdateContextRequest, UpdateCustomPhonemizerRequest, UpdateEntityRequest, UpdateEntityTypeRequest, UpdateIntentRequest, UpdateLlmEvaluationAbExperimentRequest, UpdateLlmEvaluationAnnotationQueueItemRequest, UpdateLlmEvaluationDatasetRequest, UpdateLlmEvaluationExampleRequest, UpdateLlmEvaluationExperimentRequest, UpdateLlmEvaluationFeedbackRequest, UpdateLlmEvaluationOnlineConfigRequest, UpdateLlmEvaluationProjectSettingsRequest, UpdateLlmEvaluationReleaseGateRequest, UpdateLlmEvaluationScheduleRequest, UpdateLlmEvaluationScorecardRequest, UpdateNotificationRequest, UpdateProjectRoleRequest, UpdateServerRoleRequest, UpdateSessionCommentsRequest, UpdateSessionEntityTypeRequest, UpdateSessionFeedbackRequest, UpdateSessionStepRequest, UpdateUserRequest, User, UserInProject, UserInfo, UsersClient, UtilitiesClient, UtteranceDetectionOptions, ValidateEmbeddedRegexRequest, ValidateEmbeddedRegexResponse, ValidateRegexRequest, ValidateRegexResponse, Verbosity, VideoFileResource, Vits, VitsTriton, VoiceActivityDetection, VoiceCloningRequest, VoiceSettings, Wav2Vec, Wav2VecTriton, WebhookClient, WebhookRequest, WebhookResponse, Whisper, WhisperTriton, Wiener, Word2VecEnrichmentConfig, WordAlternative, WordDetail, WordNetAugEnrichmentConfig, XLNetAugEnrichmentConfig, authHttpInterceptor, buildBearerValue, provideOndewoCsiAuth, resolveBearerValue, resolveToken };
|
|
81632
|
+
export type { KeycloakTokenProviderConfig, TokenProvider, TokenResult };
|
package/package.json
CHANGED