@absolutejs/voice 0.0.22-beta.53 → 0.0.22-beta.531
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 +4518 -951
- package/dist/agent.d.ts +79 -5
- package/dist/agentPerformanceReport.d.ts +40 -0
- package/dist/agentSquadContract.d.ts +98 -0
- package/dist/agentState.d.ts +12 -0
- package/dist/agentTools.d.ts +133 -0
- package/dist/aiScorecard.d.ts +32 -0
- package/dist/aiVoiceModel.d.ts +15 -0
- package/dist/amdDetector.d.ts +25 -0
- package/dist/angular/index.d.ts +36 -6
- package/dist/angular/index.js +3995 -577
- package/dist/angular/voice-agent-squad-status.service.d.ts +12 -0
- package/dist/angular/voice-call-debugger.service.d.ts +12 -0
- package/dist/angular/voice-call-player.service.d.ts +19 -0
- package/dist/angular/voice-campaign-dialer-proof.service.d.ts +14 -0
- package/dist/angular/voice-controller.service.d.ts +3 -1
- package/dist/angular/voice-cost-dashboard.service.d.ts +15 -0
- package/dist/angular/voice-delivery-runtime.component.d.ts +17 -0
- package/dist/angular/voice-delivery-runtime.service.d.ts +16 -0
- package/dist/angular/voice-live-agent-console.service.d.ts +16 -0
- package/dist/angular/voice-live-call-viewer.service.d.ts +16 -0
- package/dist/angular/voice-live-ops.service.d.ts +11 -0
- package/dist/angular/voice-ops-action-center.service.d.ts +13 -0
- package/dist/angular/voice-ops-status.component.d.ts +2 -2
- package/dist/angular/voice-ops-status.service.d.ts +12 -0
- package/dist/angular/voice-platform-coverage.service.d.ts +12 -0
- package/dist/angular/voice-profile-comparison.service.d.ts +12 -0
- package/dist/angular/voice-proof-trends.service.d.ts +12 -0
- package/dist/angular/voice-provider-capabilities.service.d.ts +12 -0
- package/dist/angular/voice-provider-contracts.service.d.ts +12 -0
- package/dist/angular/voice-provider-status.service.d.ts +2 -2
- package/dist/angular/voice-readiness-failures.service.d.ts +13 -0
- package/dist/angular/voice-reconnect-profile-evidence.service.d.ts +12 -0
- package/dist/angular/voice-replay-timeline.service.d.ts +13 -0
- package/dist/angular/voice-routing-status.service.d.ts +11 -0
- package/dist/angular/voice-session-observability.service.d.ts +12 -0
- package/dist/angular/voice-session-snapshot.service.d.ts +13 -0
- package/dist/angular/voice-stream.service.d.ts +4 -1
- package/dist/angular/voice-trace-timeline.service.d.ts +12 -0
- package/dist/angular/voice-turn-latency.service.d.ts +13 -0
- package/dist/angular/voice-turn-quality.service.d.ts +12 -0
- package/dist/angular/voice-widget.service.d.ts +18 -0
- package/dist/angular/voice-workflow-status.service.d.ts +2 -2
- package/dist/assistant.d.ts +12 -13
- package/dist/assistantExperiment.d.ts +41 -0
- package/dist/assistantHealth.d.ts +6 -6
- package/dist/assistantMemory.d.ts +3 -3
- package/dist/assistantMode.d.ts +22 -0
- package/dist/audioConditioning.d.ts +1 -1
- package/dist/audit.d.ts +131 -0
- package/dist/auditDeliveryRoutes.d.ts +85 -0
- package/dist/auditExport.d.ts +34 -0
- package/dist/auditRoutes.d.ts +66 -0
- package/dist/auditSinks.d.ts +151 -0
- package/dist/backchannel.d.ts +18 -0
- package/dist/bargeInRoutes.d.ts +56 -0
- package/dist/bookingFlow.d.ts +43 -0
- package/dist/browserCallProfiles.d.ts +120 -0
- package/dist/browserMediaRoutes.d.ts +62 -0
- package/dist/calendarAdapter.d.ts +47 -0
- package/dist/calendarSlots.d.ts +35 -0
- package/dist/callDebugger.d.ts +66 -0
- package/dist/callDisposition.d.ts +38 -0
- package/dist/callQuota.d.ts +54 -0
- package/dist/callScorecard.d.ts +53 -0
- package/dist/callerCRMLinker.d.ts +29 -0
- package/dist/callerMemory.d.ts +37 -0
- package/dist/callingWindow.d.ts +26 -0
- package/dist/campaign.d.ts +794 -0
- package/dist/campaignControls.d.ts +37 -0
- package/dist/campaignDialers.d.ts +111 -0
- package/dist/campaignTemplate.d.ts +16 -0
- package/dist/client/actions.d.ts +95 -1
- package/dist/client/agentSquadStatus.d.ts +37 -0
- package/dist/client/agentSquadStatusWidget.d.ts +24 -0
- package/dist/client/audioPlayer.d.ts +2 -2
- package/dist/client/bargeInMonitor.d.ts +7 -0
- package/dist/client/browserMedia.d.ts +8 -0
- package/dist/client/browserNoiseSuppression.d.ts +42 -0
- package/dist/client/browserVoiceSupport.d.ts +22 -0
- package/dist/client/callDebugger.d.ts +19 -0
- package/dist/client/callDebuggerWidget.d.ts +30 -0
- package/dist/client/callPlayer.d.ts +41 -0
- package/dist/client/campaignDialerProof.d.ts +23 -0
- package/dist/client/connection.d.ts +4 -3
- package/dist/client/controller.d.ts +1 -1
- package/dist/client/conversationAnalytics.d.ts +29 -0
- package/dist/client/costDashboard.d.ts +27 -0
- package/dist/client/createVoiceStream.d.ts +1 -1
- package/dist/client/deliveryRuntime.d.ts +34 -0
- package/dist/client/deliveryRuntimeWidget.d.ts +37 -0
- package/dist/client/duplex.d.ts +2 -2
- package/dist/client/htmx.d.ts +1 -1
- package/dist/client/htmxAttributes.d.ts +28 -0
- package/dist/client/htmxBootstrap.js +971 -15
- package/dist/client/htmxDashboardRenderers.d.ts +72 -0
- package/dist/client/index.d.ts +104 -15
- package/dist/client/index.js +10138 -139
- package/dist/client/liveAgentConsole.d.ts +28 -0
- package/dist/client/liveCallViewer.d.ts +42 -0
- package/dist/client/liveOps.d.ts +22 -0
- package/dist/client/liveOpsWidget.d.ts +23 -0
- package/dist/client/liveTurnLatency.d.ts +41 -0
- package/dist/client/microphone.d.ts +4 -4
- package/dist/client/opsActionCenter.d.ts +54 -0
- package/dist/client/opsActionCenterWidget.d.ts +29 -0
- package/dist/client/opsActionHistory.d.ts +19 -0
- package/dist/client/opsActionHistoryWidget.d.ts +11 -0
- package/dist/client/opsStatus.d.ts +19 -0
- package/dist/client/opsStatusWidget.d.ts +9 -9
- package/dist/client/platformCoverage.d.ts +19 -0
- package/dist/client/platformCoverageWidget.d.ts +37 -0
- package/dist/client/profileComparison.d.ts +19 -0
- package/dist/client/profileComparisonWidget.d.ts +41 -0
- package/dist/client/profileSwitchRecommendation.d.ts +19 -0
- package/dist/client/profileSwitchRecommendationWidget.d.ts +12 -0
- package/dist/client/proofTrends.d.ts +19 -0
- package/dist/client/proofTrendsWidget.d.ts +37 -0
- package/dist/client/providerCapabilities.d.ts +19 -0
- package/dist/client/providerCapabilitiesWidget.d.ts +32 -0
- package/dist/client/providerContracts.d.ts +19 -0
- package/dist/client/providerContractsWidget.d.ts +37 -0
- package/dist/client/providerSimulationControls.d.ts +33 -0
- package/dist/client/providerSimulationControlsWidget.d.ts +20 -0
- package/dist/client/providerStatus.d.ts +1 -1
- package/dist/client/providerStatusWidget.d.ts +32 -0
- package/dist/client/readinessFailures.d.ts +19 -0
- package/dist/client/readinessFailuresWidget.d.ts +42 -0
- package/dist/client/reconnectProfileEvidence.d.ts +19 -0
- package/dist/client/reconnectProfileEvidenceWidget.d.ts +39 -0
- package/dist/client/replayTimeline.d.ts +26 -0
- package/dist/client/routingStatus.d.ts +19 -0
- package/dist/client/routingStatusWidget.d.ts +32 -0
- package/dist/client/sessionObservability.d.ts +19 -0
- package/dist/client/sessionObservabilityWidget.d.ts +31 -0
- package/dist/client/sessionSnapshot.d.ts +21 -0
- package/dist/client/sessionSnapshotWidget.d.ts +33 -0
- package/dist/client/store.d.ts +1 -1
- package/dist/client/traceTimeline.d.ts +19 -0
- package/dist/client/traceTimelineWidget.d.ts +36 -0
- package/dist/client/turnLatency.d.ts +22 -0
- package/dist/client/turnLatencyWidget.d.ts +33 -0
- package/dist/client/turnQuality.d.ts +19 -0
- package/dist/client/turnQualityWidget.d.ts +32 -0
- package/dist/client/voiceWidgetView.d.ts +50 -0
- package/dist/client/workflowStatus.d.ts +1 -1
- package/dist/competitiveCoverage.d.ts +141 -0
- package/dist/conversationSimulator.d.ts +73 -0
- package/dist/correction.d.ts +2 -2
- package/dist/costAccounting.d.ts +76 -0
- package/dist/costPredictor.d.ts +74 -0
- package/dist/crmCallLogger.d.ts +37 -0
- package/dist/crmContract.d.ts +70 -0
- package/dist/dataControl.d.ts +180 -0
- package/dist/defineVoiceAssistant.d.ts +68 -0
- package/dist/deliveryRuntime.d.ts +158 -0
- package/dist/deliverySinkRoutes.d.ts +117 -0
- package/dist/demoReadyRoutes.d.ts +98 -0
- package/dist/diagnosticsRoutes.d.ts +2 -2
- package/dist/dncRegistry.d.ts +38 -0
- package/dist/dtmfCollector.d.ts +37 -0
- package/dist/embed/index.d.ts +38 -0
- package/dist/embed/index.js +1710 -0
- package/dist/embed/voice-widget.js +10 -0
- package/dist/evalRoutes.d.ts +10 -4
- package/dist/fileStore.d.ts +21 -7
- package/dist/guardrails.d.ts +128 -0
- package/dist/handoff.d.ts +6 -6
- package/dist/handoffHealth.d.ts +5 -5
- package/dist/holdAudio.d.ts +23 -0
- package/dist/htmx.d.ts +1 -1
- package/dist/htmxDashboardRoutes.d.ts +249 -0
- package/dist/iceServers.d.ts +34 -0
- package/dist/incidentBundle.d.ts +119 -0
- package/dist/incidentTimeline.d.ts +260 -0
- package/dist/index.d.ts +369 -74
- package/dist/index.js +44595 -6189
- package/dist/internal/evidence.d.ts +10 -0
- package/dist/internal/html.d.ts +6 -0
- package/dist/internal/status.d.ts +9 -0
- package/dist/ivrPlan.d.ts +40 -0
- package/dist/latencySlo.d.ts +56 -0
- package/dist/liveCoach.d.ts +43 -0
- package/dist/liveLatency.d.ts +78 -0
- package/dist/liveOps.d.ts +190 -0
- package/dist/llmJudge.d.ts +45 -0
- package/dist/logger.d.ts +1 -1
- package/dist/mcpToolset.d.ts +58 -0
- package/dist/mediaPipelineRoutes.d.ts +171 -0
- package/dist/mediaPipelineSurfaces.d.ts +48 -0
- package/dist/memoryStore.d.ts +1 -1
- package/dist/midCallSummary.d.ts +27 -0
- package/dist/modelAdapters.d.ts +59 -7
- package/dist/monitor.d.ts +148 -0
- package/dist/multilingualProof.d.ts +77 -0
- package/dist/noShowPredictor.d.ts +46 -0
- package/dist/oauth2TokenSource.d.ts +21 -0
- package/dist/observabilityExport.d.ts +501 -0
- package/dist/openaiTTS.d.ts +18 -0
- package/dist/operationalStatus.d.ts +87 -0
- package/dist/operationsRecord.d.ts +370 -0
- package/dist/ops.d.ts +12 -12
- package/dist/opsActionAuditRoutes.d.ts +99 -0
- package/dist/opsConsoleRoutes.d.ts +8 -5
- package/dist/opsPresets.d.ts +2 -2
- package/dist/opsRecovery.d.ts +137 -0
- package/dist/opsRuntime.d.ts +6 -6
- package/dist/opsSinks.d.ts +13 -13
- package/dist/opsStatus.d.ts +76 -0
- package/dist/opsStatusRoutes.d.ts +33 -0
- package/dist/opsWebhook.d.ts +6 -6
- package/dist/otelExporter.d.ts +83 -0
- package/dist/outcomeContract.d.ts +146 -0
- package/dist/outcomeRecipes.d.ts +4 -4
- package/dist/pathway.d.ts +94 -0
- package/dist/pathwayCompiler.d.ts +31 -0
- package/dist/pathwayGenerator.d.ts +27 -0
- package/dist/pathwayRuntime.d.ts +57 -0
- package/dist/pathwaySlotCollector.d.ts +29 -0
- package/dist/pathwayVisualizer.d.ts +8 -0
- package/dist/phoneAgent.d.ts +139 -0
- package/dist/phoneAgentProductionSmoke.d.ts +115 -0
- package/dist/phoneProvisioning.d.ts +29 -0
- package/dist/platformCoverage.d.ts +91 -0
- package/dist/plugin.d.ts +2 -2
- package/dist/postCallAnalysis.d.ts +98 -0
- package/dist/postCallSurvey.d.ts +41 -0
- package/dist/postgresStore.d.ts +17 -6
- package/dist/presets.d.ts +3 -3
- package/dist/productionReadiness.d.ts +756 -0
- package/dist/profileSwitchRecommendation.d.ts +350 -0
- package/dist/promptInjectionGuard.d.ts +30 -0
- package/dist/proofAssertions.d.ts +32 -0
- package/dist/proofPack.d.ts +211 -0
- package/dist/proofRunner.d.ts +79 -0
- package/dist/proofTrends.d.ts +966 -0
- package/dist/providerAdapters.d.ts +16 -5
- package/dist/providerCapabilities.d.ts +92 -0
- package/dist/providerDecisionTraces.d.ts +130 -0
- package/dist/providerHealth.d.ts +13 -3
- package/dist/providerOrchestration.d.ts +109 -0
- package/dist/providerRouterTraces.d.ts +35 -0
- package/dist/providerRoutingContract.d.ts +71 -0
- package/dist/providerSlo.d.ts +142 -0
- package/dist/providerStackRecommendations.d.ts +187 -0
- package/dist/qualityDriftDetector.d.ts +44 -0
- package/dist/qualityRoutes.d.ts +4 -4
- package/dist/queue.d.ts +23 -14
- package/dist/ragTool.d.ts +52 -0
- package/dist/react/VoiceAgentSquadStatus.d.ts +5 -0
- package/dist/react/VoiceCallDebuggerLaunch.d.ts +6 -0
- package/dist/react/VoiceCallPlayer.d.ts +11 -0
- package/dist/react/VoiceCostDashboard.d.ts +10 -0
- package/dist/react/VoiceDeliveryRuntime.d.ts +7 -0
- package/dist/react/VoiceLiveAgentConsole.d.ts +11 -0
- package/dist/react/VoiceLiveCallViewer.d.ts +9 -0
- package/dist/react/VoiceOpsActionCenter.d.ts +5 -0
- package/dist/react/VoiceOpsStatus.d.ts +1 -1
- package/dist/react/VoicePlatformCoverage.d.ts +6 -0
- package/dist/react/VoiceProfileComparison.d.ts +6 -0
- package/dist/react/VoiceProfileSwitchRecommendation.d.ts +6 -0
- package/dist/react/VoiceProofTrends.d.ts +6 -0
- package/dist/react/VoiceProviderCapabilities.d.ts +6 -0
- package/dist/react/VoiceProviderContracts.d.ts +6 -0
- package/dist/react/VoiceProviderSimulationControls.d.ts +5 -0
- package/dist/react/VoiceProviderStatus.d.ts +6 -0
- package/dist/react/VoiceReadinessFailures.d.ts +6 -0
- package/dist/react/VoiceReconnectProfileEvidence.d.ts +6 -0
- package/dist/react/VoiceReplayTimeline.d.ts +6 -0
- package/dist/react/VoiceRoutingStatus.d.ts +6 -0
- package/dist/react/VoiceSessionObservability.d.ts +6 -0
- package/dist/react/VoiceSessionSnapshot.d.ts +6 -0
- package/dist/react/VoiceTraceTimeline.d.ts +6 -0
- package/dist/react/VoiceTurnLatency.d.ts +6 -0
- package/dist/react/VoiceTurnQuality.d.ts +6 -0
- package/dist/react/VoiceWidget.d.ts +13 -0
- package/dist/react/index.d.ts +59 -6
- package/dist/react/index.js +12688 -322
- package/dist/react/useVoiceAgentSquadStatus.d.ts +8 -0
- package/dist/react/useVoiceCallDebugger.d.ts +8 -0
- package/dist/react/useVoiceCampaignDialerProof.d.ts +10 -0
- package/dist/react/useVoiceController.d.ts +4 -1
- package/dist/react/useVoiceDeliveryRuntime.d.ts +13 -0
- package/dist/react/useVoiceLiveOps.d.ts +9 -0
- package/dist/react/useVoiceOpsActionCenter.d.ts +11 -0
- package/dist/react/useVoiceOpsStatus.d.ts +8 -0
- package/dist/react/useVoicePlatformCoverage.d.ts +8 -0
- package/dist/react/useVoiceProfileComparison.d.ts +8 -0
- package/dist/react/useVoiceProfileSwitchRecommendation.d.ts +8 -0
- package/dist/react/useVoiceProofTrends.d.ts +8 -0
- package/dist/react/useVoiceProviderCapabilities.d.ts +8 -0
- package/dist/react/useVoiceProviderContracts.d.ts +8 -0
- package/dist/react/useVoiceProviderSimulationControls.d.ts +10 -0
- package/dist/react/useVoiceProviderStatus.d.ts +1 -1
- package/dist/react/useVoiceReadinessFailures.d.ts +8 -0
- package/dist/react/useVoiceReconnectProfileEvidence.d.ts +8 -0
- package/dist/react/useVoiceRoutingStatus.d.ts +8 -0
- package/dist/react/useVoiceSessionObservability.d.ts +8 -0
- package/dist/react/useVoiceSessionSnapshot.d.ts +9 -0
- package/dist/react/useVoiceStream.d.ts +4 -1
- package/dist/react/useVoiceTraceTimeline.d.ts +8 -0
- package/dist/react/useVoiceTurnLatency.d.ts +9 -0
- package/dist/react/useVoiceTurnQuality.d.ts +8 -0
- package/dist/react/useVoiceWorkflowStatus.d.ts +1 -1
- package/dist/readinessProfiles.d.ts +45 -0
- package/dist/realtimeChannel.d.ts +136 -0
- package/dist/realtimeProviderContracts.d.ts +133 -0
- package/dist/reconnectContract.d.ts +176 -0
- package/dist/recordingRedaction.d.ts +47 -0
- package/dist/recordingStore.d.ts +60 -0
- package/dist/redaction.d.ts +13 -0
- package/dist/reminderScheduler.d.ts +43 -0
- package/dist/resilienceRoutes.d.ts +45 -5
- package/dist/retention.d.ts +37 -0
- package/dist/retryPolicy.d.ts +38 -0
- package/dist/routeAuth.d.ts +58 -0
- package/dist/routing.d.ts +1 -1
- package/dist/runtimeOps.d.ts +3 -3
- package/dist/s3Store.d.ts +18 -3
- package/dist/scorecardCalibration.d.ts +31 -0
- package/dist/semanticTurn.d.ts +27 -0
- package/dist/session.d.ts +1 -1
- package/dist/sessionObservability.d.ts +145 -0
- package/dist/sessionReplay.d.ts +19 -7
- package/dist/sessionSnapshot.d.ts +109 -0
- package/dist/simulationSuite.d.ts +143 -0
- package/dist/sloCalibration.d.ts +185 -0
- package/dist/sqliteStore.d.ts +17 -6
- package/dist/store.d.ts +1 -1
- package/dist/supervisorPermissions.d.ts +33 -0
- package/dist/supervisorPresence.d.ts +49 -0
- package/dist/svelte/createVoiceAgentSquadStatus.d.ts +9 -0
- package/dist/svelte/createVoiceCallDebugger.d.ts +12 -0
- package/dist/svelte/createVoiceCallPlayer.d.ts +33 -0
- package/dist/svelte/createVoiceCampaignDialerProof.d.ts +9 -0
- package/dist/svelte/createVoiceCostDashboard.d.ts +13 -0
- package/dist/svelte/createVoiceDeliveryRuntime.d.ts +11 -0
- package/dist/svelte/createVoiceLiveAgentConsole.d.ts +23 -0
- package/dist/svelte/createVoiceLiveCallViewer.d.ts +26 -0
- package/dist/svelte/createVoiceLiveOps.d.ts +13 -0
- package/dist/svelte/createVoiceOpsActionCenter.d.ts +10 -0
- package/dist/svelte/createVoiceOpsStatus.d.ts +3 -3
- package/dist/svelte/createVoicePlatformCoverage.d.ts +7 -0
- package/dist/svelte/createVoiceProfileComparison.d.ts +7 -0
- package/dist/svelte/createVoiceProofTrends.d.ts +7 -0
- package/dist/svelte/createVoiceProviderCapabilities.d.ts +10 -0
- package/dist/svelte/createVoiceProviderContracts.d.ts +10 -0
- package/dist/svelte/createVoiceProviderSimulationControls.d.ts +11 -0
- package/dist/svelte/createVoiceProviderStatus.d.ts +4 -2
- package/dist/svelte/createVoiceReadinessFailures.d.ts +7 -0
- package/dist/svelte/createVoiceReconnectProfileEvidence.d.ts +7 -0
- package/dist/svelte/createVoiceReplayTimeline.d.ts +13 -0
- package/dist/svelte/createVoiceRoutingStatus.d.ts +10 -0
- package/dist/svelte/createVoiceSessionObservability.d.ts +10 -0
- package/dist/svelte/createVoiceSessionSnapshot.d.ts +13 -0
- package/dist/svelte/createVoiceStream.d.ts +1 -1
- package/dist/svelte/createVoiceTraceTimeline.d.ts +10 -0
- package/dist/svelte/createVoiceTurnLatency.d.ts +11 -0
- package/dist/svelte/createVoiceTurnQuality.d.ts +10 -0
- package/dist/svelte/createVoiceWidget.d.ts +19 -0
- package/dist/svelte/createVoiceWorkflowStatus.d.ts +1 -1
- package/dist/svelte/index.d.ts +37 -6
- package/dist/svelte/index.js +6834 -729
- package/dist/telephony/contract.d.ts +61 -0
- package/dist/telephony/matrix.d.ts +97 -0
- package/dist/telephony/plivo.d.ts +303 -0
- package/dist/telephony/response.d.ts +1 -1
- package/dist/telephony/security.d.ts +182 -0
- package/dist/telephony/telnyx.d.ts +291 -0
- package/dist/telephony/twilio.d.ts +147 -13
- package/dist/telephonyMediaRoutes.d.ts +72 -0
- package/dist/telephonyOutcome.d.ts +273 -0
- package/dist/testing/accuracy.d.ts +1 -1
- package/dist/testing/benchmark.d.ts +9 -9
- package/dist/testing/corrected.d.ts +5 -5
- package/dist/testing/duplex.d.ts +3 -3
- package/dist/testing/fixtures.d.ts +3 -3
- package/dist/testing/index.d.ts +13 -13
- package/dist/testing/index.js +5264 -158
- package/dist/testing/ioProviderSimulator.d.ts +5 -5
- package/dist/testing/providerSimulator.d.ts +5 -5
- package/dist/testing/review.d.ts +4 -4
- package/dist/testing/sessionBenchmark.d.ts +3 -3
- package/dist/testing/stt.d.ts +3 -3
- package/dist/testing/telephony.d.ts +25 -0
- package/dist/testing/tts.d.ts +1 -1
- package/dist/toolContract.d.ts +161 -0
- package/dist/toolRuntime.d.ts +50 -0
- package/dist/trace.d.ts +46 -7
- package/dist/traceDeliveryRoutes.d.ts +86 -0
- package/dist/traceTimeline.d.ts +97 -0
- package/dist/transcriptAnnotator.d.ts +41 -0
- package/dist/turnDetection.d.ts +1 -1
- package/dist/turnLatency.d.ts +95 -0
- package/dist/turnProfiles.d.ts +2 -2
- package/dist/turnQuality.d.ts +94 -0
- package/dist/types.d.ts +408 -80
- package/dist/vapiAdapter.d.ts +160 -0
- package/dist/variableAnalytics.d.ts +47 -0
- package/dist/voiceConfiguration.d.ts +8 -0
- package/dist/voiceMonitoring.d.ts +444 -0
- package/dist/vue/VoiceCallDebuggerLaunch.d.ts +68 -0
- package/dist/vue/VoiceCallPlayer.d.ts +40 -0
- package/dist/vue/VoiceCostDashboard.d.ts +57 -0
- package/dist/vue/VoiceDeliveryRuntime.d.ts +30 -0
- package/dist/vue/VoiceLiveAgentConsole.d.ts +50 -0
- package/dist/vue/VoiceLiveCallViewer.d.ts +35 -0
- package/dist/vue/VoiceOpsActionCenter.d.ts +13 -0
- package/dist/vue/VoicePlatformCoverage.d.ts +23 -0
- package/dist/vue/VoiceProofTrends.d.ts +21 -0
- package/dist/vue/VoiceProviderCapabilities.d.ts +51 -0
- package/dist/vue/VoiceProviderContracts.d.ts +21 -0
- package/dist/vue/VoiceProviderSimulationControls.d.ts +88 -0
- package/dist/vue/VoiceProviderStatus.d.ts +51 -0
- package/dist/vue/VoiceReadinessFailures.d.ts +21 -0
- package/dist/vue/VoiceReconnectProfileEvidence.d.ts +21 -0
- package/dist/vue/VoiceReplayTimeline.d.ts +17 -0
- package/dist/vue/VoiceRoutingStatus.d.ts +51 -0
- package/dist/vue/VoiceSessionObservability.d.ts +23 -0
- package/dist/vue/VoiceSessionSnapshot.d.ts +68 -0
- package/dist/vue/VoiceTurnLatency.d.ts +69 -0
- package/dist/vue/VoiceTurnQuality.d.ts +51 -0
- package/dist/vue/VoiceWidget.d.ts +77 -0
- package/dist/vue/index.d.ts +49 -6
- package/dist/vue/index.js +11969 -407
- package/dist/vue/useVoiceAgentSquadStatus.d.ts +9 -0
- package/dist/vue/useVoiceCallDebugger.d.ts +10 -0
- package/dist/vue/useVoiceCampaignDialerProof.d.ts +11 -0
- package/dist/vue/useVoiceController.d.ts +4 -2
- package/dist/vue/useVoiceDeliveryRuntime.d.ts +13 -0
- package/dist/vue/useVoiceLiveOps.d.ts +9 -0
- package/dist/vue/useVoiceOpsActionCenter.d.ts +11 -0
- package/dist/vue/useVoiceOpsStatus.d.ts +9 -0
- package/dist/vue/useVoicePlatformCoverage.d.ts +9 -0
- package/dist/vue/useVoiceProfileComparison.d.ts +9 -0
- package/dist/vue/useVoiceProofTrends.d.ts +9 -0
- package/dist/vue/useVoiceProviderCapabilities.d.ts +9 -0
- package/dist/vue/useVoiceProviderContracts.d.ts +9 -0
- package/dist/vue/useVoiceProviderSimulationControls.d.ts +24 -0
- package/dist/vue/useVoiceProviderStatus.d.ts +3 -3
- package/dist/vue/useVoiceReadinessFailures.d.ts +959 -0
- package/dist/vue/useVoiceReconnectProfileEvidence.d.ts +9 -0
- package/dist/vue/useVoiceRoutingStatus.d.ts +8 -0
- package/dist/vue/useVoiceSessionObservability.d.ts +9 -0
- package/dist/vue/useVoiceSessionSnapshot.d.ts +10 -0
- package/dist/vue/useVoiceStream.d.ts +5 -2
- package/dist/vue/useVoiceTraceTimeline.d.ts +9 -0
- package/dist/vue/useVoiceTurnLatency.d.ts +10 -0
- package/dist/vue/useVoiceTurnQuality.d.ts +9 -0
- package/dist/vue/useVoiceWorkflowStatus.d.ts +3 -3
- package/dist/webhookFanout.d.ts +48 -0
- package/dist/webhookVerification.d.ts +27 -0
- package/dist/whisperChannel.d.ts +50 -0
- package/dist/workflowContract.d.ts +8 -8
- package/dist/zeroDataRetention.d.ts +41 -0
- package/package.json +129 -256
- package/dist/angular/voice-app-kit-status.service.d.ts +0 -12
- package/dist/appKit.d.ts +0 -92
- package/dist/client/appKitStatus.d.ts +0 -19
- package/dist/react/useVoiceAppKitStatus.d.ts +0 -8
- package/dist/svelte/createVoiceAppKitStatus.d.ts +0 -8
- package/dist/vue/useVoiceAppKitStatus.d.ts +0 -9
- package/fixtures/README.md +0 -57
- package/fixtures/manifest.json +0 -199
- package/fixtures/pcm/dialogue-three-clean.pcm +0 -0
- package/fixtures/pcm/dialogue-three-mixed.pcm +0 -0
- package/fixtures/pcm/dialogue-two-clean.pcm +0 -0
- package/fixtures/pcm/dialogue-two-noisy.pcm +0 -0
- package/fixtures/pcm/multiturn-three-mixed.pcm +0 -0
- package/fixtures/pcm/multiturn-two-clean.pcm +0 -0
- package/fixtures/pcm/quietly-alone-clean.pcm +0 -0
- package/fixtures/pcm/rainstorms-noisy.pcm +0 -0
- package/fixtures/pcm/stella-bulgaria-bulgarian20.pcm +0 -0
- package/fixtures/pcm/stella-ghana-english507.pcm +0 -0
- package/fixtures/pcm/stella-india-english37.pcm +0 -0
- package/fixtures/pcm/stella-jamaica-jamaican-creole-english1.pcm +0 -0
- package/fixtures/pcm/stella-liberia-liberian-pidgin-english2.pcm +0 -0
- package/fixtures/pcm/stella-pakistan-english519.pcm +0 -0
- package/fixtures/pcm/stella-sierra-leone-krio5.pcm +0 -0
- package/fixtures/pcm/stella-singapore-english655.pcm +0 -0
- package/fixtures/pcm/traveled-back-route-clean.pcm +0 -0
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type VoiceAgentSquadStatusClientOptions } from "../client/agentSquadStatus";
|
|
2
|
+
export declare const useVoiceAgentSquadStatus: (path?: string, options?: VoiceAgentSquadStatusClientOptions) => {
|
|
3
|
+
refresh: () => Promise<import("..").VoiceTraceTimelineReport | null>;
|
|
4
|
+
error: string | null;
|
|
5
|
+
isLoading: boolean;
|
|
6
|
+
report: import("../client").VoiceAgentSquadStatusReport;
|
|
7
|
+
updatedAt?: number;
|
|
8
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type VoiceCallDebuggerClientOptions } from "../client/callDebugger";
|
|
2
|
+
export declare const useVoiceCallDebugger: (path: string, options?: VoiceCallDebuggerClientOptions) => {
|
|
3
|
+
refresh: () => Promise<import("..").VoiceCallDebuggerReport | undefined>;
|
|
4
|
+
error: string | null;
|
|
5
|
+
isLoading: boolean;
|
|
6
|
+
report?: import("..").VoiceCallDebuggerReport;
|
|
7
|
+
updatedAt?: number;
|
|
8
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type VoiceCampaignDialerProofClientOptions } from "../client/campaignDialerProof";
|
|
2
|
+
export declare const useVoiceCampaignDialerProof: (path?: string, options?: VoiceCampaignDialerProofClientOptions) => {
|
|
3
|
+
refresh: () => Promise<import("..").VoiceCampaignDialerProofStatus | undefined>;
|
|
4
|
+
runProof: () => Promise<import("..").VoiceCampaignDialerProofReport>;
|
|
5
|
+
error: string | null;
|
|
6
|
+
isLoading: boolean;
|
|
7
|
+
report?: import("..").VoiceCampaignDialerProofReport;
|
|
8
|
+
status?: import("..").VoiceCampaignDialerProofStatus;
|
|
9
|
+
updatedAt?: number;
|
|
10
|
+
};
|
|
@@ -1,17 +1,20 @@
|
|
|
1
|
-
import type { VoiceControllerOptions } from
|
|
1
|
+
import type { VoiceControllerOptions } from "../types";
|
|
2
2
|
export declare const useVoiceController: <TResult = unknown>(path: string, options?: VoiceControllerOptions) => {
|
|
3
3
|
bindHTMX: (options: import("..").VoiceHTMXBindingOptions) => () => void;
|
|
4
4
|
callControl: (message: Parameters<(message: Omit<import("..").VoiceClientCallControlMessage, "type">) => void>[0]) => void;
|
|
5
5
|
close: () => void;
|
|
6
6
|
endTurn: () => void;
|
|
7
7
|
sendAudio: (audio: Uint8Array | ArrayBuffer) => void;
|
|
8
|
+
simulateDisconnect: () => void;
|
|
8
9
|
startRecording: () => Promise<void>;
|
|
9
10
|
stopRecording: () => void;
|
|
10
11
|
toggleRecording: () => Promise<void>;
|
|
11
12
|
call: import("..").VoiceCallLifecycleState | null;
|
|
13
|
+
sessionMetadata: Record<string, unknown> | null;
|
|
12
14
|
sessionId: string | null;
|
|
13
15
|
scenarioId: string | null;
|
|
14
16
|
status: import("..").VoiceSessionStatus | "idle";
|
|
17
|
+
reconnect: import("..").VoiceReconnectClientState;
|
|
15
18
|
partial: string;
|
|
16
19
|
turns: import("..").VoiceTurnRecord<TResult>[];
|
|
17
20
|
assistantTexts: string[];
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type VoiceDeliveryRuntimeClientOptions } from "../client/deliveryRuntime";
|
|
2
|
+
export declare const useVoiceDeliveryRuntime: (path?: string, options?: VoiceDeliveryRuntimeClientOptions) => {
|
|
3
|
+
requeueDeadLetters: () => Promise<import("../client").VoiceDeliveryRuntimeActionResult | undefined>;
|
|
4
|
+
refresh: () => Promise<import("..").VoiceDeliveryRuntimeReport | undefined>;
|
|
5
|
+
tick: () => Promise<import("../client").VoiceDeliveryRuntimeActionResult | undefined>;
|
|
6
|
+
actionError: string | null;
|
|
7
|
+
actionStatus: "idle" | "running" | "completed" | "failed";
|
|
8
|
+
error: string | null;
|
|
9
|
+
isLoading: boolean;
|
|
10
|
+
lastAction?: import("../client").VoiceDeliveryRuntimeActionResult;
|
|
11
|
+
report?: import("..").VoiceDeliveryRuntimeReport;
|
|
12
|
+
updatedAt?: number;
|
|
13
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type VoiceLiveOpsClientOptions } from "../client/liveOps";
|
|
2
|
+
export declare const useVoiceLiveOps: (options?: VoiceLiveOpsClientOptions) => {
|
|
3
|
+
run: (input: import("..").VoiceLiveOpsActionInput) => Promise<import("..").VoiceLiveOpsActionResult | undefined>;
|
|
4
|
+
error: string | null;
|
|
5
|
+
isRunning: boolean;
|
|
6
|
+
lastResult?: import("..").VoiceLiveOpsActionResult;
|
|
7
|
+
runningAction?: import("..").VoiceLiveOpsAction;
|
|
8
|
+
updatedAt?: number;
|
|
9
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type VoiceOpsActionCenterClientOptions } from "../client/opsActionCenter";
|
|
2
|
+
export declare const useVoiceOpsActionCenter: (options?: VoiceOpsActionCenterClientOptions) => {
|
|
3
|
+
run: (actionId: string) => Promise<import("../client").VoiceOpsActionRunResult | undefined>;
|
|
4
|
+
setActions: (actions: import("../client").VoiceOpsActionDescriptor[]) => void;
|
|
5
|
+
actions: import("../client").VoiceOpsActionDescriptor[];
|
|
6
|
+
error: string | null;
|
|
7
|
+
isRunning: boolean;
|
|
8
|
+
lastResult?: import("../client").VoiceOpsActionRunResult;
|
|
9
|
+
runningActionId?: string;
|
|
10
|
+
updatedAt?: number;
|
|
11
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type VoiceOpsStatusClientOptions } from "../client/opsStatus";
|
|
2
|
+
export declare const useVoiceOpsStatus: (path?: string, options?: VoiceOpsStatusClientOptions) => {
|
|
3
|
+
refresh: () => Promise<import("..").VoiceOpsStatusReport | undefined>;
|
|
4
|
+
error: string | null;
|
|
5
|
+
isLoading: boolean;
|
|
6
|
+
report?: import("..").VoiceOpsStatusReport;
|
|
7
|
+
updatedAt?: number;
|
|
8
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type VoicePlatformCoverageClientOptions } from "../client/platformCoverage";
|
|
2
|
+
export declare const useVoicePlatformCoverage: (path?: string, options?: VoicePlatformCoverageClientOptions) => {
|
|
3
|
+
refresh: () => Promise<import("..").VoicePlatformCoverageSummary | undefined>;
|
|
4
|
+
error: string | null;
|
|
5
|
+
isLoading: boolean;
|
|
6
|
+
report?: import("..").VoicePlatformCoverageSummary;
|
|
7
|
+
updatedAt?: number;
|
|
8
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type VoiceProfileComparisonClientOptions } from "../client/profileComparison";
|
|
2
|
+
export declare const useVoiceProfileComparison: (path?: string, options?: VoiceProfileComparisonClientOptions) => {
|
|
3
|
+
refresh: () => Promise<import("..").VoiceRealCallProfileHistoryReport | undefined>;
|
|
4
|
+
error: string | null;
|
|
5
|
+
isLoading: boolean;
|
|
6
|
+
report?: import("..").VoiceRealCallProfileHistoryReport;
|
|
7
|
+
updatedAt?: number;
|
|
8
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type VoiceProfileSwitchRecommendationClientOptions } from "../client/profileSwitchRecommendation";
|
|
2
|
+
export declare const useVoiceProfileSwitchRecommendation: (path?: string, options?: VoiceProfileSwitchRecommendationClientOptions) => {
|
|
3
|
+
refresh: () => Promise<import("..").VoiceProfileSwitchRecommendation | undefined>;
|
|
4
|
+
error: string | null;
|
|
5
|
+
isLoading: boolean;
|
|
6
|
+
recommendation?: import("..").VoiceProfileSwitchRecommendation;
|
|
7
|
+
updatedAt?: number;
|
|
8
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type VoiceProofTrendsClientOptions } from "../client/proofTrends";
|
|
2
|
+
export declare const useVoiceProofTrends: (path?: string, options?: VoiceProofTrendsClientOptions) => {
|
|
3
|
+
refresh: () => Promise<import("..").VoiceProofTrendReport | undefined>;
|
|
4
|
+
error: string | null;
|
|
5
|
+
isLoading: boolean;
|
|
6
|
+
report?: import("..").VoiceProofTrendReport;
|
|
7
|
+
updatedAt?: number;
|
|
8
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type VoiceProviderCapabilitiesClientOptions } from "../client/providerCapabilities";
|
|
2
|
+
export declare const useVoiceProviderCapabilities: <TProvider extends string = string>(path?: string, options?: VoiceProviderCapabilitiesClientOptions) => {
|
|
3
|
+
refresh: () => Promise<import("..").VoiceProviderCapabilityReport<TProvider> | undefined>;
|
|
4
|
+
error: string | null;
|
|
5
|
+
isLoading: boolean;
|
|
6
|
+
report?: import("..").VoiceProviderCapabilityReport<TProvider> | undefined;
|
|
7
|
+
updatedAt?: number;
|
|
8
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type VoiceProviderContractsClientOptions } from "../client/providerContracts";
|
|
2
|
+
export declare const useVoiceProviderContracts: <TProvider extends string = string>(path?: string, options?: VoiceProviderContractsClientOptions) => {
|
|
3
|
+
refresh: () => Promise<import("..").VoiceProviderContractMatrixReport<TProvider> | undefined>;
|
|
4
|
+
error: string | null;
|
|
5
|
+
isLoading: boolean;
|
|
6
|
+
report?: import("..").VoiceProviderContractMatrixReport<TProvider> | undefined;
|
|
7
|
+
updatedAt?: number;
|
|
8
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type VoiceProviderSimulationControlsOptions } from "../client/providerSimulationControls";
|
|
2
|
+
export declare const useVoiceProviderSimulationControls: <TProvider extends string = string>(options: VoiceProviderSimulationControlsOptions<TProvider>) => {
|
|
3
|
+
run: (provider: TProvider, mode: import("../testing").VoiceIOProviderFailureSimulationMode) => Promise<import("../testing").VoiceIOProviderFailureSimulationResult<TProvider> | null>;
|
|
4
|
+
error: string | null;
|
|
5
|
+
isRunning: boolean;
|
|
6
|
+
lastResult: import("../testing").VoiceIOProviderFailureSimulationResult<TProvider> | null;
|
|
7
|
+
mode: import("../testing").VoiceIOProviderFailureSimulationMode | null;
|
|
8
|
+
provider: TProvider | null;
|
|
9
|
+
updatedAt?: number;
|
|
10
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type VoiceProviderStatusClientOptions } from
|
|
1
|
+
import { type VoiceProviderStatusClientOptions } from "../client/providerStatus";
|
|
2
2
|
export declare const useVoiceProviderStatus: <TProvider extends string = string>(path?: string, options?: VoiceProviderStatusClientOptions) => {
|
|
3
3
|
refresh: () => Promise<import("..").VoiceProviderHealthSummary<TProvider>[]>;
|
|
4
4
|
error: string | null;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type VoiceReadinessFailuresClientOptions } from "../client/readinessFailures";
|
|
2
|
+
export declare const useVoiceReadinessFailures: (path?: string, options?: VoiceReadinessFailuresClientOptions) => {
|
|
3
|
+
refresh: () => Promise<import("..").VoiceProductionReadinessReport | undefined>;
|
|
4
|
+
error: string | null;
|
|
5
|
+
isLoading: boolean;
|
|
6
|
+
report?: import("..").VoiceProductionReadinessReport;
|
|
7
|
+
updatedAt?: number;
|
|
8
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type VoiceReconnectProfileEvidenceClientOptions } from "../client/reconnectProfileEvidence";
|
|
2
|
+
export declare const useVoiceReconnectProfileEvidence: (path?: string, options?: VoiceReconnectProfileEvidenceClientOptions) => {
|
|
3
|
+
refresh: () => Promise<import("..").VoiceReconnectProfileEvidenceSummary | undefined>;
|
|
4
|
+
error: string | null;
|
|
5
|
+
isLoading: boolean;
|
|
6
|
+
report?: import("..").VoiceReconnectProfileEvidenceSummary;
|
|
7
|
+
updatedAt?: number;
|
|
8
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type VoiceRoutingStatusClientOptions } from "../client/routingStatus";
|
|
2
|
+
export declare const useVoiceRoutingStatus: (path?: string, options?: VoiceRoutingStatusClientOptions) => {
|
|
3
|
+
refresh: () => Promise<import("..").VoiceRoutingEvent | null>;
|
|
4
|
+
decision: import("..").VoiceRoutingDecisionSummary | null;
|
|
5
|
+
error: string | null;
|
|
6
|
+
isLoading: boolean;
|
|
7
|
+
updatedAt?: number;
|
|
8
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type VoiceSessionObservabilityClientOptions } from "../client/sessionObservability";
|
|
2
|
+
export declare const useVoiceSessionObservability: (path?: string, options?: VoiceSessionObservabilityClientOptions) => {
|
|
3
|
+
refresh: () => Promise<import("..").VoiceSessionObservabilityReport | null>;
|
|
4
|
+
error: string | null;
|
|
5
|
+
isLoading: boolean;
|
|
6
|
+
report: import("..").VoiceSessionObservabilityReport | null;
|
|
7
|
+
updatedAt?: number;
|
|
8
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type VoiceSessionSnapshotClientOptions } from "../client/sessionSnapshot";
|
|
2
|
+
export declare const useVoiceSessionSnapshot: (path: string, options?: VoiceSessionSnapshotClientOptions) => {
|
|
3
|
+
download: () => Blob;
|
|
4
|
+
refresh: () => Promise<import("..").VoiceSessionSnapshot | undefined>;
|
|
5
|
+
error: string | null;
|
|
6
|
+
isLoading: boolean;
|
|
7
|
+
snapshot?: import("..").VoiceSessionSnapshot;
|
|
8
|
+
updatedAt?: number;
|
|
9
|
+
};
|
|
@@ -1,13 +1,16 @@
|
|
|
1
|
-
import type { VoiceConnectionOptions } from
|
|
1
|
+
import type { VoiceConnectionOptions } from "../types";
|
|
2
2
|
export declare const useVoiceStream: <TResult = unknown>(path: string, options?: VoiceConnectionOptions) => {
|
|
3
3
|
callControl: (message: Parameters<(message: Omit<import("..").VoiceClientCallControlMessage, "type">) => void>[0]) => void;
|
|
4
4
|
close: () => void;
|
|
5
5
|
endTurn: () => void;
|
|
6
6
|
sendAudio: (audio: Uint8Array | ArrayBuffer) => void;
|
|
7
|
+
simulateDisconnect: () => void;
|
|
7
8
|
call: import("..").VoiceCallLifecycleState | null;
|
|
9
|
+
sessionMetadata: Record<string, unknown> | null;
|
|
8
10
|
sessionId: string | null;
|
|
9
11
|
scenarioId: string | null;
|
|
10
12
|
status: import("..").VoiceSessionStatus | "idle";
|
|
13
|
+
reconnect: import("..").VoiceReconnectClientState;
|
|
11
14
|
partial: string;
|
|
12
15
|
turns: import("..").VoiceTurnRecord<TResult>[];
|
|
13
16
|
assistantTexts: string[];
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type VoiceTraceTimelineClientOptions } from "../client/traceTimeline";
|
|
2
|
+
export declare const useVoiceTraceTimeline: (path?: string, options?: VoiceTraceTimelineClientOptions) => {
|
|
3
|
+
refresh: () => Promise<import("..").VoiceTraceTimelineReport | null>;
|
|
4
|
+
error: string | null;
|
|
5
|
+
isLoading: boolean;
|
|
6
|
+
report: import("..").VoiceTraceTimelineReport | null;
|
|
7
|
+
updatedAt?: number;
|
|
8
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type VoiceTurnLatencyClientOptions } from "../client/turnLatency";
|
|
2
|
+
export declare const useVoiceTurnLatency: (path?: string, options?: VoiceTurnLatencyClientOptions) => {
|
|
3
|
+
refresh: () => Promise<import("..").VoiceTurnLatencyReport | undefined>;
|
|
4
|
+
runProof: () => Promise<import("..").VoiceTurnLatencyReport | undefined>;
|
|
5
|
+
error: string | null;
|
|
6
|
+
isLoading: boolean;
|
|
7
|
+
report?: import("..").VoiceTurnLatencyReport;
|
|
8
|
+
updatedAt?: number;
|
|
9
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type VoiceTurnQualityClientOptions } from "../client/turnQuality";
|
|
2
|
+
export declare const useVoiceTurnQuality: (path?: string, options?: VoiceTurnQualityClientOptions) => {
|
|
3
|
+
refresh: () => Promise<import("..").VoiceTurnQualityReport | undefined>;
|
|
4
|
+
error: string | null;
|
|
5
|
+
isLoading: boolean;
|
|
6
|
+
report?: import("..").VoiceTurnQualityReport;
|
|
7
|
+
updatedAt?: number;
|
|
8
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type VoiceWorkflowStatusClientOptions } from
|
|
1
|
+
import { type VoiceWorkflowStatusClientOptions } from "../client/workflowStatus";
|
|
2
2
|
export declare const useVoiceWorkflowStatus: (path?: string, options?: VoiceWorkflowStatusClientOptions) => {
|
|
3
3
|
refresh: () => Promise<import("..").VoiceScenarioEvalReport | undefined>;
|
|
4
4
|
error: string | null;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import type { VoiceProductionReadinessAuditOptions, VoiceProductionReadinessAuditDeliveryOptions, VoiceProductionReadinessOpsActionHistoryOptions, VoiceProductionReadinessRoutesOptions, VoiceProductionReadinessTraceDeliveryOptions } from "./productionReadiness";
|
|
2
|
+
export type VoiceReadinessProfileName = "meeting-recorder" | "ops-heavy" | "phone-agent";
|
|
3
|
+
export type VoiceReadinessProfileOptions = {
|
|
4
|
+
audit?: VoiceProductionReadinessAuditOptions;
|
|
5
|
+
auditDeliveries?: VoiceProductionReadinessAuditDeliveryOptions;
|
|
6
|
+
bargeInReports?: VoiceProductionReadinessRoutesOptions["bargeInReports"];
|
|
7
|
+
campaignReadiness?: VoiceProductionReadinessRoutesOptions["campaignReadiness"];
|
|
8
|
+
carriers?: VoiceProductionReadinessRoutesOptions["carriers"];
|
|
9
|
+
deliveryRuntime?: VoiceProductionReadinessRoutesOptions["deliveryRuntime"];
|
|
10
|
+
explain?: boolean;
|
|
11
|
+
gate?: VoiceProductionReadinessRoutesOptions["gate"];
|
|
12
|
+
links?: VoiceProductionReadinessRoutesOptions["links"];
|
|
13
|
+
observabilityExportDeliveryHistory?: VoiceProductionReadinessRoutesOptions["observabilityExportDeliveryHistory"];
|
|
14
|
+
opsActionHistory?: VoiceProductionReadinessOpsActionHistoryOptions;
|
|
15
|
+
phoneAgentSmokes?: VoiceProductionReadinessRoutesOptions["phoneAgentSmokes"];
|
|
16
|
+
proofSources?: VoiceProductionReadinessRoutesOptions["proofSources"];
|
|
17
|
+
providerRoutingContracts?: VoiceProductionReadinessRoutesOptions["providerRoutingContracts"];
|
|
18
|
+
reconnectContracts?: VoiceProductionReadinessRoutesOptions["reconnectContracts"];
|
|
19
|
+
reconnectContractsMinCount?: VoiceProductionReadinessRoutesOptions["reconnectContractsMinCount"];
|
|
20
|
+
reconnectContractsMinSnapshotsPerContract?: VoiceProductionReadinessRoutesOptions["reconnectContractsMinSnapshotsPerContract"];
|
|
21
|
+
telephonyMediaMinCarriers?: VoiceProductionReadinessRoutesOptions["telephonyMediaMinCarriers"];
|
|
22
|
+
telephonyMediaMinMediaEvents?: VoiceProductionReadinessRoutesOptions["telephonyMediaMinMediaEvents"];
|
|
23
|
+
browserMediaMinActiveCandidatePairs?: VoiceProductionReadinessRoutesOptions["browserMediaMinActiveCandidatePairs"];
|
|
24
|
+
browserMediaMinLiveAudioTracks?: VoiceProductionReadinessRoutesOptions["browserMediaMinLiveAudioTracks"];
|
|
25
|
+
browserMediaMinTotalStats?: VoiceProductionReadinessRoutesOptions["browserMediaMinTotalStats"];
|
|
26
|
+
telephonyWebhookSecurity?: VoiceProductionReadinessRoutesOptions["telephonyWebhookSecurity"];
|
|
27
|
+
traceDeliveries?: VoiceProductionReadinessTraceDeliveryOptions;
|
|
28
|
+
};
|
|
29
|
+
export type VoiceReadinessProfileRoutesOptions = Partial<Omit<VoiceProductionReadinessRoutesOptions, "store">>;
|
|
30
|
+
export type VoiceReadinessProfileRecommendationScore = {
|
|
31
|
+
configured: string[];
|
|
32
|
+
confidence: number;
|
|
33
|
+
missing: string[];
|
|
34
|
+
profile: VoiceReadinessProfileName;
|
|
35
|
+
reasons: string[];
|
|
36
|
+
};
|
|
37
|
+
export type VoiceReadinessProfileRecommendation = {
|
|
38
|
+
confidence: number;
|
|
39
|
+
missing: string[];
|
|
40
|
+
profile: VoiceReadinessProfileName;
|
|
41
|
+
reasons: string[];
|
|
42
|
+
scores: VoiceReadinessProfileRecommendationScore[];
|
|
43
|
+
};
|
|
44
|
+
export declare const createVoiceReadinessProfile: (profile: VoiceReadinessProfileName, options?: VoiceReadinessProfileOptions) => VoiceReadinessProfileRoutesOptions;
|
|
45
|
+
export declare const recommendVoiceReadinessProfile: (options: VoiceReadinessProfileOptions) => VoiceReadinessProfileRecommendation;
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
import { Elysia } from "elysia";
|
|
2
|
+
import type { AudioFormat } from "./types";
|
|
3
|
+
import type { StoredVoiceTraceEvent } from "./trace";
|
|
4
|
+
export type VoiceRealtimeChannelStatus = "fail" | "pass" | "warn";
|
|
5
|
+
export type VoiceRealtimeChannelRuntimeSample = {
|
|
6
|
+
format?: AudioFormat;
|
|
7
|
+
observedAt?: number;
|
|
8
|
+
kind: "assistant-audio" | "browser-capture" | "input-audio" | "reconnect" | "turn-commit";
|
|
9
|
+
latencyMs?: number;
|
|
10
|
+
ok?: boolean;
|
|
11
|
+
sessionId?: string;
|
|
12
|
+
source?: string;
|
|
13
|
+
turnId?: string;
|
|
14
|
+
};
|
|
15
|
+
export type VoiceRealtimeChannelBrowserCapture = {
|
|
16
|
+
audioContextSampleRateHz?: number;
|
|
17
|
+
channelCount?: 1 | 2;
|
|
18
|
+
processorBufferSize?: number;
|
|
19
|
+
sampleRateHz?: number;
|
|
20
|
+
};
|
|
21
|
+
export type VoiceRealtimeChannelReportOptions = {
|
|
22
|
+
browserCapture?: VoiceRealtimeChannelBrowserCapture;
|
|
23
|
+
expectedInputFormat?: AudioFormat;
|
|
24
|
+
expectedOutputFormat?: AudioFormat;
|
|
25
|
+
inputFormat?: AudioFormat;
|
|
26
|
+
maxFirstAudioLatencyMs?: number;
|
|
27
|
+
minAssistantAudioSamples?: number;
|
|
28
|
+
minInputAudioSamples?: number;
|
|
29
|
+
operationsRecordHref?: string;
|
|
30
|
+
outputFormat?: AudioFormat;
|
|
31
|
+
provider: string;
|
|
32
|
+
readinessHref?: string;
|
|
33
|
+
runtimeSamples?: VoiceRealtimeChannelRuntimeSample[];
|
|
34
|
+
surface?: string;
|
|
35
|
+
};
|
|
36
|
+
export type VoiceRealtimeChannelIssue = {
|
|
37
|
+
code: string;
|
|
38
|
+
message: string;
|
|
39
|
+
severity: "error" | "warning";
|
|
40
|
+
};
|
|
41
|
+
export type VoiceRealtimeChannelReport = {
|
|
42
|
+
browserCapture?: VoiceRealtimeChannelBrowserCapture & {
|
|
43
|
+
resamplingRequired: boolean;
|
|
44
|
+
resamplingTargetHz?: number;
|
|
45
|
+
};
|
|
46
|
+
checkedAt: number;
|
|
47
|
+
inputFormat: AudioFormat;
|
|
48
|
+
issues: VoiceRealtimeChannelIssue[];
|
|
49
|
+
operationsRecordHref?: string;
|
|
50
|
+
outputFormat: AudioFormat;
|
|
51
|
+
provider: string;
|
|
52
|
+
readinessHref?: string;
|
|
53
|
+
runtime: {
|
|
54
|
+
assistantAudioSamples: number;
|
|
55
|
+
firstAudioLatencyMs?: number;
|
|
56
|
+
inputAudioSamples: number;
|
|
57
|
+
samples: VoiceRealtimeChannelRuntimeSample[];
|
|
58
|
+
};
|
|
59
|
+
status: VoiceRealtimeChannelStatus;
|
|
60
|
+
surface: string;
|
|
61
|
+
};
|
|
62
|
+
export type VoiceRealtimeChannelAssertionInput = {
|
|
63
|
+
maxFirstAudioLatencyMs?: number;
|
|
64
|
+
minAssistantAudioSamples?: number;
|
|
65
|
+
minInputAudioSamples?: number;
|
|
66
|
+
requireBrowserCapture?: boolean;
|
|
67
|
+
requireOperationsRecordHref?: boolean;
|
|
68
|
+
requirePass?: boolean;
|
|
69
|
+
requireReadinessHref?: boolean;
|
|
70
|
+
};
|
|
71
|
+
export type VoiceRealtimeChannelAssertionReport = {
|
|
72
|
+
issues: string[];
|
|
73
|
+
ok: boolean;
|
|
74
|
+
provider: string;
|
|
75
|
+
status: VoiceRealtimeChannelStatus;
|
|
76
|
+
surface: string;
|
|
77
|
+
};
|
|
78
|
+
export type VoiceRealtimeChannelRoutesOptions = VoiceRealtimeChannelReportOptions & {
|
|
79
|
+
headers?: HeadersInit;
|
|
80
|
+
htmlPath?: false | string;
|
|
81
|
+
markdownPath?: false | string;
|
|
82
|
+
name?: string;
|
|
83
|
+
path?: string;
|
|
84
|
+
render?: (report: VoiceRealtimeChannelReport) => Promise<string> | string;
|
|
85
|
+
source?: (() => Promise<VoiceRealtimeChannelReportOptions> | VoiceRealtimeChannelReportOptions) | VoiceRealtimeChannelReportOptions;
|
|
86
|
+
title?: string;
|
|
87
|
+
};
|
|
88
|
+
export declare const buildVoiceRealtimeChannelRuntimeSamplesFromTrace: (events: readonly StoredVoiceTraceEvent[], options?: {
|
|
89
|
+
format?: AudioFormat;
|
|
90
|
+
source?: string;
|
|
91
|
+
}) => VoiceRealtimeChannelRuntimeSample[];
|
|
92
|
+
export declare const buildVoiceRealtimeChannelReport: (options: VoiceRealtimeChannelReportOptions) => VoiceRealtimeChannelReport;
|
|
93
|
+
export declare const evaluateVoiceRealtimeChannelEvidence: (report: VoiceRealtimeChannelReport, input?: VoiceRealtimeChannelAssertionInput) => VoiceRealtimeChannelAssertionReport;
|
|
94
|
+
export declare const assertVoiceRealtimeChannelEvidence: (report: VoiceRealtimeChannelReport, input?: VoiceRealtimeChannelAssertionInput) => VoiceRealtimeChannelAssertionReport;
|
|
95
|
+
export declare const renderVoiceRealtimeChannelMarkdown: (report: VoiceRealtimeChannelReport) => string;
|
|
96
|
+
export declare const renderVoiceRealtimeChannelHTML: (report: VoiceRealtimeChannelReport, title?: string) => string;
|
|
97
|
+
export declare const createVoiceRealtimeChannelRoutes: (options: VoiceRealtimeChannelRoutesOptions) => Elysia<"", {
|
|
98
|
+
decorator: {};
|
|
99
|
+
store: {};
|
|
100
|
+
derive: {};
|
|
101
|
+
resolve: {};
|
|
102
|
+
}, {
|
|
103
|
+
typebox: {};
|
|
104
|
+
error: {};
|
|
105
|
+
}, {
|
|
106
|
+
schema: {};
|
|
107
|
+
standaloneSchema: {};
|
|
108
|
+
macro: {};
|
|
109
|
+
macroFn: {};
|
|
110
|
+
parser: {};
|
|
111
|
+
response: {};
|
|
112
|
+
}, {
|
|
113
|
+
[x: string]: {
|
|
114
|
+
get: {
|
|
115
|
+
body: unknown;
|
|
116
|
+
params: {};
|
|
117
|
+
query: unknown;
|
|
118
|
+
headers: unknown;
|
|
119
|
+
response: {
|
|
120
|
+
200: Response;
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
}, {
|
|
125
|
+
derive: {};
|
|
126
|
+
resolve: {};
|
|
127
|
+
schema: {};
|
|
128
|
+
standaloneSchema: {};
|
|
129
|
+
response: {};
|
|
130
|
+
}, {
|
|
131
|
+
derive: {};
|
|
132
|
+
resolve: {};
|
|
133
|
+
schema: {};
|
|
134
|
+
standaloneSchema: {};
|
|
135
|
+
response: {};
|
|
136
|
+
}>;
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
import { Elysia } from "elysia";
|
|
2
|
+
import type { VoiceRealtimeChannelReport } from "./realtimeChannel";
|
|
3
|
+
export type VoiceRealtimeProviderContractStatus = "fail" | "pass" | "warn";
|
|
4
|
+
export type VoiceRealtimeProviderContractCapability = "barge-in" | "browser-format-negotiation" | "duplex-audio" | "first-audio-latency" | "raw-pcm" | "reconnect" | "trace-evidence" | "turn-commit";
|
|
5
|
+
export type VoiceRealtimeProviderContractDefinition<TProvider extends string = string> = {
|
|
6
|
+
capabilities?: readonly VoiceRealtimeProviderContractCapability[];
|
|
7
|
+
configured?: boolean;
|
|
8
|
+
env?: Record<string, string | undefined>;
|
|
9
|
+
fallbackProviders?: readonly TProvider[];
|
|
10
|
+
implementationStatus?: "available" | "planned";
|
|
11
|
+
latencyBudgetMs?: number;
|
|
12
|
+
provider: TProvider;
|
|
13
|
+
readinessHref?: string;
|
|
14
|
+
realtimeChannel?: VoiceRealtimeChannelReport;
|
|
15
|
+
requiredCapabilities?: readonly VoiceRealtimeProviderContractCapability[];
|
|
16
|
+
requiredEnv?: readonly string[];
|
|
17
|
+
selected?: boolean;
|
|
18
|
+
traceHref?: string;
|
|
19
|
+
};
|
|
20
|
+
export type VoiceRealtimeProviderPresetProvider = "gemini-live" | "openai-realtime" | (string & {});
|
|
21
|
+
export type VoiceRealtimeProviderContractMatrixPresetOptions<TProvider extends string = VoiceRealtimeProviderPresetProvider> = {
|
|
22
|
+
capabilities?: Record<string, readonly VoiceRealtimeProviderContractCapability[]>;
|
|
23
|
+
configured?: Record<string, boolean>;
|
|
24
|
+
env?: Record<string, string | undefined>;
|
|
25
|
+
fallbackProviders?: Record<string, readonly TProvider[]>;
|
|
26
|
+
implementationStatus?: Record<string, "available" | "planned">;
|
|
27
|
+
latencyBudgets?: Record<string, number>;
|
|
28
|
+
providers?: readonly TProvider[];
|
|
29
|
+
readinessHref?: string | Record<string, string | undefined>;
|
|
30
|
+
realtimeChannels?: Record<string, VoiceRealtimeChannelReport | undefined>;
|
|
31
|
+
requiredCapabilities?: Record<string, readonly VoiceRealtimeProviderContractCapability[]>;
|
|
32
|
+
requiredEnv?: Record<string, readonly string[]>;
|
|
33
|
+
selected?: TProvider;
|
|
34
|
+
traceHref?: string | Record<string, string | undefined>;
|
|
35
|
+
};
|
|
36
|
+
export type VoiceRealtimeProviderContractCheck = {
|
|
37
|
+
detail?: string;
|
|
38
|
+
key: string;
|
|
39
|
+
label: string;
|
|
40
|
+
status: VoiceRealtimeProviderContractStatus;
|
|
41
|
+
};
|
|
42
|
+
export type VoiceRealtimeProviderContractRow<TProvider extends string = string> = {
|
|
43
|
+
checks: VoiceRealtimeProviderContractCheck[];
|
|
44
|
+
configured: boolean;
|
|
45
|
+
provider: TProvider;
|
|
46
|
+
selected: boolean;
|
|
47
|
+
status: VoiceRealtimeProviderContractStatus;
|
|
48
|
+
};
|
|
49
|
+
export type VoiceRealtimeProviderContractMatrixInput<TProvider extends string = string> = {
|
|
50
|
+
contracts: readonly VoiceRealtimeProviderContractDefinition<TProvider>[];
|
|
51
|
+
};
|
|
52
|
+
export type VoiceRealtimeProviderContractMatrixReport<TProvider extends string = string> = {
|
|
53
|
+
failed: number;
|
|
54
|
+
passed: number;
|
|
55
|
+
rows: VoiceRealtimeProviderContractRow<TProvider>[];
|
|
56
|
+
status: VoiceRealtimeProviderContractStatus;
|
|
57
|
+
total: number;
|
|
58
|
+
warned: number;
|
|
59
|
+
};
|
|
60
|
+
export type VoiceRealtimeProviderContractAssertionInput<TProvider extends string = string> = {
|
|
61
|
+
maxFailed?: number;
|
|
62
|
+
maxStatus?: VoiceRealtimeProviderContractStatus;
|
|
63
|
+
maxWarned?: number;
|
|
64
|
+
minRows?: number;
|
|
65
|
+
requireSelected?: boolean;
|
|
66
|
+
requiredCapabilities?: readonly VoiceRealtimeProviderContractCapability[];
|
|
67
|
+
requiredCheckKeys?: readonly string[];
|
|
68
|
+
requiredProviders?: readonly TProvider[];
|
|
69
|
+
};
|
|
70
|
+
export type VoiceRealtimeProviderContractAssertionReport<TProvider extends string = string> = {
|
|
71
|
+
failed: number;
|
|
72
|
+
issues: string[];
|
|
73
|
+
ok: boolean;
|
|
74
|
+
providers: TProvider[];
|
|
75
|
+
selectedProviders: TProvider[];
|
|
76
|
+
status: VoiceRealtimeProviderContractStatus;
|
|
77
|
+
total: number;
|
|
78
|
+
warned: number;
|
|
79
|
+
};
|
|
80
|
+
export type VoiceRealtimeProviderContractRoutesOptions<TProvider extends string = string> = {
|
|
81
|
+
headers?: HeadersInit;
|
|
82
|
+
htmlPath?: false | string;
|
|
83
|
+
matrix: (() => Promise<VoiceRealtimeProviderContractMatrixInput<TProvider>> | VoiceRealtimeProviderContractMatrixInput<TProvider>) | VoiceRealtimeProviderContractMatrixInput<TProvider>;
|
|
84
|
+
name?: string;
|
|
85
|
+
path?: string;
|
|
86
|
+
render?: (report: VoiceRealtimeProviderContractMatrixReport<TProvider>) => Promise<string> | string;
|
|
87
|
+
title?: string;
|
|
88
|
+
};
|
|
89
|
+
export declare const createVoiceRealtimeProviderContractMatrixPreset: <TProvider extends string = VoiceRealtimeProviderPresetProvider>(options?: VoiceRealtimeProviderContractMatrixPresetOptions<TProvider>) => VoiceRealtimeProviderContractMatrixInput<TProvider>;
|
|
90
|
+
export declare const buildVoiceRealtimeProviderContractMatrix: <TProvider extends string = string>(input: VoiceRealtimeProviderContractMatrixInput<TProvider>) => VoiceRealtimeProviderContractMatrixReport<TProvider>;
|
|
91
|
+
export declare const evaluateVoiceRealtimeProviderContractEvidence: <TProvider extends string = string>(report: VoiceRealtimeProviderContractMatrixReport<TProvider>, input?: VoiceRealtimeProviderContractAssertionInput<TProvider>) => VoiceRealtimeProviderContractAssertionReport<TProvider>;
|
|
92
|
+
export declare const assertVoiceRealtimeProviderContractEvidence: <TProvider extends string = string>(report: VoiceRealtimeProviderContractMatrixReport<TProvider>, input?: VoiceRealtimeProviderContractAssertionInput<TProvider>) => VoiceRealtimeProviderContractAssertionReport<TProvider>;
|
|
93
|
+
export declare const renderVoiceRealtimeProviderContractHTML: <TProvider extends string = string>(report: VoiceRealtimeProviderContractMatrixReport<TProvider>, title?: string) => string;
|
|
94
|
+
export declare const createVoiceRealtimeProviderContractRoutes: <TProvider extends string = string>(options: VoiceRealtimeProviderContractRoutesOptions<TProvider>) => Elysia<"", {
|
|
95
|
+
decorator: {};
|
|
96
|
+
store: {};
|
|
97
|
+
derive: {};
|
|
98
|
+
resolve: {};
|
|
99
|
+
}, {
|
|
100
|
+
typebox: {};
|
|
101
|
+
error: {};
|
|
102
|
+
}, {
|
|
103
|
+
schema: {};
|
|
104
|
+
standaloneSchema: {};
|
|
105
|
+
macro: {};
|
|
106
|
+
macroFn: {};
|
|
107
|
+
parser: {};
|
|
108
|
+
response: {};
|
|
109
|
+
}, {
|
|
110
|
+
[x: string]: {
|
|
111
|
+
get: {
|
|
112
|
+
body: unknown;
|
|
113
|
+
params: {};
|
|
114
|
+
query: unknown;
|
|
115
|
+
headers: unknown;
|
|
116
|
+
response: {
|
|
117
|
+
200: Response;
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
}, {
|
|
122
|
+
derive: {};
|
|
123
|
+
resolve: {};
|
|
124
|
+
schema: {};
|
|
125
|
+
standaloneSchema: {};
|
|
126
|
+
response: {};
|
|
127
|
+
}, {
|
|
128
|
+
derive: {};
|
|
129
|
+
resolve: {};
|
|
130
|
+
schema: {};
|
|
131
|
+
standaloneSchema: {};
|
|
132
|
+
response: {};
|
|
133
|
+
}>;
|