@absolutejs/voice 0.0.22-beta.439 → 0.0.22-beta.441
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 +2729 -2698
- package/dist/agent.d.ts +10 -10
- package/dist/agentSquadContract.d.ts +4 -4
- package/dist/angular/index.d.ts +22 -22
- package/dist/angular/voice-agent-squad-status.service.d.ts +1 -1
- package/dist/angular/voice-call-debugger.service.d.ts +2 -2
- package/dist/angular/voice-campaign-dialer-proof.service.d.ts +2 -2
- package/dist/angular/voice-controller.service.d.ts +1 -1
- package/dist/angular/voice-delivery-runtime.component.d.ts +2 -2
- package/dist/angular/voice-delivery-runtime.service.d.ts +2 -2
- package/dist/angular/voice-live-ops.service.d.ts +1 -1
- package/dist/angular/voice-ops-action-center.service.d.ts +1 -1
- package/dist/angular/voice-ops-status.component.d.ts +2 -2
- package/dist/angular/voice-ops-status.service.d.ts +2 -2
- package/dist/angular/voice-platform-coverage.service.d.ts +2 -2
- package/dist/angular/voice-profile-comparison.service.d.ts +2 -2
- package/dist/angular/voice-proof-trends.service.d.ts +2 -2
- package/dist/angular/voice-provider-capabilities.service.d.ts +2 -2
- package/dist/angular/voice-provider-contracts.service.d.ts +2 -2
- package/dist/angular/voice-provider-status.service.d.ts +2 -2
- package/dist/angular/voice-readiness-failures.service.d.ts +2 -2
- package/dist/angular/voice-routing-status.service.d.ts +1 -1
- package/dist/angular/voice-session-snapshot.service.d.ts +2 -2
- package/dist/angular/voice-stream.service.d.ts +1 -1
- package/dist/angular/voice-trace-timeline.service.d.ts +2 -2
- package/dist/angular/voice-turn-latency.service.d.ts +2 -2
- package/dist/angular/voice-turn-quality.service.d.ts +2 -2
- package/dist/angular/voice-workflow-status.service.d.ts +2 -2
- package/dist/assistant.d.ts +11 -11
- package/dist/assistantHealth.d.ts +6 -6
- package/dist/assistantMemory.d.ts +3 -3
- package/dist/audioConditioning.d.ts +1 -1
- package/dist/audit.d.ts +11 -11
- package/dist/auditDeliveryRoutes.d.ts +3 -3
- package/dist/auditExport.d.ts +3 -3
- package/dist/auditRoutes.d.ts +2 -2
- package/dist/auditSinks.d.ts +8 -8
- package/dist/bargeInRoutes.d.ts +3 -3
- package/dist/browserCallProfiles.d.ts +2 -2
- package/dist/browserMediaRoutes.d.ts +4 -4
- package/dist/callDebugger.d.ts +6 -6
- package/dist/campaign.d.ts +22 -22
- package/dist/campaignDialers.d.ts +14 -14
- package/dist/client/actions.d.ts +1 -1
- package/dist/client/agentSquadStatus.d.ts +3 -3
- package/dist/client/agentSquadStatusWidget.d.ts +1 -1
- package/dist/client/audioPlayer.d.ts +2 -2
- package/dist/client/bargeInMonitor.d.ts +1 -1
- package/dist/client/browserMedia.d.ts +1 -1
- package/dist/client/callDebugger.d.ts +1 -1
- package/dist/client/callDebuggerWidget.d.ts +3 -3
- package/dist/client/campaignDialerProof.d.ts +1 -1
- package/dist/client/connection.d.ts +3 -3
- package/dist/client/controller.d.ts +1 -1
- package/dist/client/createVoiceStream.d.ts +1 -1
- package/dist/client/deliveryRuntime.d.ts +4 -4
- package/dist/client/deliveryRuntimeWidget.d.ts +5 -5
- package/dist/client/duplex.d.ts +1 -1
- package/dist/client/htmx.d.ts +1 -1
- package/dist/client/index.d.ts +96 -96
- package/dist/client/index.js +41 -15
- package/dist/client/liveOps.d.ts +2 -2
- package/dist/client/liveOpsWidget.d.ts +2 -2
- package/dist/client/liveTurnLatency.d.ts +3 -3
- package/dist/client/microphone.d.ts +4 -4
- package/dist/client/opsActionCenter.d.ts +1 -1
- package/dist/client/opsActionCenterWidget.d.ts +2 -2
- package/dist/client/opsActionHistory.d.ts +1 -1
- package/dist/client/opsActionHistoryWidget.d.ts +1 -1
- package/dist/client/opsStatus.d.ts +1 -1
- package/dist/client/opsStatusWidget.d.ts +4 -4
- package/dist/client/platformCoverage.d.ts +1 -1
- package/dist/client/platformCoverageWidget.d.ts +3 -3
- package/dist/client/profileComparison.d.ts +1 -1
- package/dist/client/profileComparisonWidget.d.ts +2 -2
- package/dist/client/profileSwitchRecommendation.d.ts +1 -1
- package/dist/client/profileSwitchRecommendationWidget.d.ts +1 -1
- package/dist/client/proofTrends.d.ts +1 -1
- package/dist/client/proofTrendsWidget.d.ts +3 -3
- package/dist/client/providerCapabilities.d.ts +1 -1
- package/dist/client/providerCapabilitiesWidget.d.ts +3 -3
- package/dist/client/providerContracts.d.ts +1 -1
- package/dist/client/providerContractsWidget.d.ts +3 -3
- package/dist/client/providerSimulationControls.d.ts +2 -2
- package/dist/client/providerSimulationControlsWidget.d.ts +1 -1
- package/dist/client/providerStatus.d.ts +1 -1
- package/dist/client/providerStatusWidget.d.ts +3 -3
- package/dist/client/readinessFailures.d.ts +1 -1
- package/dist/client/readinessFailuresWidget.d.ts +4 -4
- package/dist/client/routingStatus.d.ts +1 -1
- package/dist/client/routingStatusWidget.d.ts +3 -3
- package/dist/client/sessionSnapshot.d.ts +1 -1
- package/dist/client/sessionSnapshotWidget.d.ts +2 -2
- package/dist/client/store.d.ts +1 -1
- package/dist/client/traceTimeline.d.ts +1 -1
- package/dist/client/traceTimelineWidget.d.ts +3 -3
- package/dist/client/turnLatency.d.ts +1 -1
- package/dist/client/turnLatencyWidget.d.ts +3 -3
- package/dist/client/turnQuality.d.ts +1 -1
- package/dist/client/turnQualityWidget.d.ts +3 -3
- package/dist/client/workflowStatus.d.ts +1 -1
- package/dist/competitiveCoverage.d.ts +9 -9
- package/dist/correction.d.ts +2 -2
- package/dist/dataControl.d.ts +16 -16
- package/dist/deliveryRuntime.d.ts +9 -9
- package/dist/deliverySinkRoutes.d.ts +6 -6
- package/dist/demoReadyRoutes.d.ts +8 -8
- package/dist/diagnosticsRoutes.d.ts +2 -2
- package/dist/evalRoutes.d.ts +4 -4
- package/dist/fileStore.d.ts +9 -9
- package/dist/guardrails.d.ts +9 -9
- package/dist/handoff.d.ts +6 -6
- package/dist/handoffHealth.d.ts +5 -5
- package/dist/htmx.d.ts +1 -1
- package/dist/incidentBundle.d.ts +7 -7
- package/dist/incidentTimeline.d.ts +30 -16
- package/dist/index.d.ts +215 -215
- package/dist/index.js +375 -111
- package/dist/latencySlo.d.ts +4 -4
- package/dist/liveLatency.d.ts +3 -3
- package/dist/liveOps.d.ts +11 -11
- package/dist/logger.d.ts +1 -1
- package/dist/mediaPipelineRoutes.d.ts +2 -2
- package/dist/memoryStore.d.ts +1 -1
- package/dist/modelAdapters.d.ts +9 -9
- package/dist/observabilityExport.d.ts +44 -44
- package/dist/openaiTTS.d.ts +3 -3
- package/dist/operationalStatus.d.ts +5 -5
- package/dist/operationsRecord.d.ts +12 -12
- package/dist/ops.d.ts +12 -12
- package/dist/opsActionAuditRoutes.d.ts +3 -3
- package/dist/opsConsoleRoutes.d.ts +6 -6
- package/dist/opsPresets.d.ts +2 -2
- package/dist/opsRecovery.d.ts +11 -11
- package/dist/opsRuntime.d.ts +6 -6
- package/dist/opsSinks.d.ts +13 -13
- package/dist/opsStatus.d.ts +7 -7
- package/dist/opsStatusRoutes.d.ts +2 -2
- package/dist/opsWebhook.d.ts +6 -6
- package/dist/outcomeContract.d.ts +5 -5
- package/dist/outcomeRecipes.d.ts +4 -4
- package/dist/phoneAgent.d.ts +18 -18
- package/dist/phoneAgentProductionSmoke.d.ts +8 -8
- package/dist/platformCoverage.d.ts +3 -3
- package/dist/plugin.d.ts +2 -2
- package/dist/postCallAnalysis.d.ts +6 -6
- package/dist/postgresStore.d.ts +8 -8
- package/dist/presets.d.ts +3 -3
- package/dist/productionReadiness.d.ts +62 -36
- package/dist/profileSwitchRecommendation.d.ts +15 -15
- package/dist/proofAssertions.d.ts +1 -1
- package/dist/proofPack.d.ts +12 -12
- package/dist/proofRunner.d.ts +5 -5
- package/dist/proofTrends.d.ts +17 -17
- package/dist/providerAdapters.d.ts +5 -5
- package/dist/providerCapabilities.d.ts +4 -4
- package/dist/providerDecisionTraces.d.ts +8 -8
- package/dist/providerHealth.d.ts +3 -3
- package/dist/providerOrchestration.d.ts +5 -5
- package/dist/providerRouterTraces.d.ts +7 -7
- package/dist/providerRoutingContract.d.ts +3 -3
- package/dist/providerSlo.d.ts +6 -6
- package/dist/providerStackRecommendations.d.ts +6 -6
- package/dist/qualityRoutes.d.ts +4 -4
- package/dist/queue.d.ts +16 -16
- package/dist/react/VoiceAgentSquadStatus.d.ts +1 -1
- package/dist/react/VoiceCallDebuggerLaunch.d.ts +1 -1
- package/dist/react/VoiceDeliveryRuntime.d.ts +1 -1
- package/dist/react/VoiceOpsActionCenter.d.ts +1 -1
- package/dist/react/VoiceOpsStatus.d.ts +1 -1
- package/dist/react/VoicePlatformCoverage.d.ts +1 -1
- package/dist/react/VoiceProfileComparison.d.ts +1 -1
- package/dist/react/VoiceProfileSwitchRecommendation.d.ts +1 -1
- package/dist/react/VoiceProofTrends.d.ts +1 -1
- package/dist/react/VoiceProviderCapabilities.d.ts +1 -1
- package/dist/react/VoiceProviderContracts.d.ts +1 -1
- package/dist/react/VoiceProviderSimulationControls.d.ts +1 -1
- package/dist/react/VoiceProviderStatus.d.ts +1 -1
- package/dist/react/VoiceReadinessFailures.d.ts +1 -1
- package/dist/react/VoiceRoutingStatus.d.ts +1 -1
- package/dist/react/VoiceSessionSnapshot.d.ts +1 -1
- package/dist/react/VoiceTraceTimeline.d.ts +1 -1
- package/dist/react/VoiceTurnLatency.d.ts +1 -1
- package/dist/react/VoiceTurnQuality.d.ts +1 -1
- package/dist/react/index.d.ts +43 -43
- package/dist/react/index.js +41 -15
- package/dist/react/useVoiceAgentSquadStatus.d.ts +1 -1
- package/dist/react/useVoiceCallDebugger.d.ts +1 -1
- package/dist/react/useVoiceCampaignDialerProof.d.ts +1 -1
- package/dist/react/useVoiceController.d.ts +1 -1
- package/dist/react/useVoiceDeliveryRuntime.d.ts +1 -1
- package/dist/react/useVoiceLiveOps.d.ts +1 -1
- package/dist/react/useVoiceOpsActionCenter.d.ts +1 -1
- package/dist/react/useVoiceOpsStatus.d.ts +1 -1
- package/dist/react/useVoicePlatformCoverage.d.ts +1 -1
- package/dist/react/useVoiceProfileComparison.d.ts +1 -1
- package/dist/react/useVoiceProfileSwitchRecommendation.d.ts +1 -1
- package/dist/react/useVoiceProofTrends.d.ts +1 -1
- package/dist/react/useVoiceProviderCapabilities.d.ts +1 -1
- package/dist/react/useVoiceProviderContracts.d.ts +1 -1
- package/dist/react/useVoiceProviderSimulationControls.d.ts +1 -1
- package/dist/react/useVoiceProviderStatus.d.ts +1 -1
- package/dist/react/useVoiceReadinessFailures.d.ts +1 -1
- package/dist/react/useVoiceRoutingStatus.d.ts +1 -1
- package/dist/react/useVoiceSessionSnapshot.d.ts +1 -1
- package/dist/react/useVoiceStream.d.ts +1 -1
- package/dist/react/useVoiceTraceTimeline.d.ts +1 -1
- package/dist/react/useVoiceTurnLatency.d.ts +1 -1
- package/dist/react/useVoiceTurnQuality.d.ts +1 -1
- package/dist/react/useVoiceWorkflowStatus.d.ts +1 -1
- package/dist/readinessProfiles.d.ts +22 -15
- package/dist/realtimeChannel.d.ts +6 -6
- package/dist/realtimeProviderContracts.d.ts +7 -7
- package/dist/reconnectContract.d.ts +6 -6
- package/dist/resilienceRoutes.d.ts +6 -6
- package/dist/routing.d.ts +1 -1
- package/dist/runtimeOps.d.ts +3 -3
- package/dist/s3Store.d.ts +3 -3
- package/dist/session.d.ts +1 -1
- package/dist/sessionReplay.d.ts +9 -9
- package/dist/sessionSnapshot.d.ts +8 -8
- package/dist/simulationSuite.d.ts +12 -12
- package/dist/sloCalibration.d.ts +8 -8
- package/dist/sqliteStore.d.ts +8 -8
- package/dist/store.d.ts +1 -1
- package/dist/svelte/createVoiceAgentSquadStatus.d.ts +1 -1
- package/dist/svelte/createVoiceCallDebugger.d.ts +2 -2
- package/dist/svelte/createVoiceCampaignDialerProof.d.ts +1 -1
- package/dist/svelte/createVoiceDeliveryRuntime.d.ts +1 -1
- package/dist/svelte/createVoiceLiveOps.d.ts +2 -2
- package/dist/svelte/createVoiceOpsActionCenter.d.ts +1 -1
- package/dist/svelte/createVoiceOpsStatus.d.ts +1 -1
- package/dist/svelte/createVoicePlatformCoverage.d.ts +1 -1
- package/dist/svelte/createVoiceProfileComparison.d.ts +1 -1
- package/dist/svelte/createVoiceProofTrends.d.ts +1 -1
- package/dist/svelte/createVoiceProviderCapabilities.d.ts +1 -1
- package/dist/svelte/createVoiceProviderContracts.d.ts +1 -1
- package/dist/svelte/createVoiceProviderSimulationControls.d.ts +1 -1
- package/dist/svelte/createVoiceProviderStatus.d.ts +1 -1
- package/dist/svelte/createVoiceReadinessFailures.d.ts +1 -1
- package/dist/svelte/createVoiceRoutingStatus.d.ts +1 -1
- package/dist/svelte/createVoiceSessionSnapshot.d.ts +2 -2
- package/dist/svelte/createVoiceStream.d.ts +1 -1
- package/dist/svelte/createVoiceTraceTimeline.d.ts +1 -1
- package/dist/svelte/createVoiceTurnLatency.d.ts +1 -1
- package/dist/svelte/createVoiceTurnQuality.d.ts +1 -1
- package/dist/svelte/createVoiceWorkflowStatus.d.ts +1 -1
- package/dist/svelte/index.d.ts +23 -23
- package/dist/svelte/index.js +30 -8
- package/dist/telephony/contract.d.ts +5 -5
- package/dist/telephony/matrix.d.ts +4 -4
- package/dist/telephony/plivo.d.ts +30 -30
- package/dist/telephony/response.d.ts +1 -1
- package/dist/telephony/security.d.ts +17 -17
- package/dist/telephony/telnyx.d.ts +31 -31
- package/dist/telephony/twilio.d.ts +22 -22
- package/dist/telephonyMediaRoutes.d.ts +4 -4
- package/dist/telephonyOutcome.d.ts +13 -13
- 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 +49 -20
- 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 +3 -3
- package/dist/testing/tts.d.ts +1 -1
- package/dist/toolContract.d.ts +10 -10
- package/dist/toolRuntime.d.ts +3 -3
- package/dist/trace.d.ts +10 -10
- package/dist/traceDeliveryRoutes.d.ts +4 -4
- package/dist/traceTimeline.d.ts +4 -4
- package/dist/turnDetection.d.ts +1 -1
- package/dist/turnLatency.d.ts +4 -4
- package/dist/turnProfiles.d.ts +2 -2
- package/dist/turnQuality.d.ts +4 -4
- package/dist/types.d.ts +92 -92
- package/dist/voiceMonitoring.d.ts +6 -6
- package/dist/vue/VoiceOpsActionCenter.d.ts +2 -2
- package/dist/vue/VoiceProviderSimulationControls.d.ts +2 -2
- package/dist/vue/index.d.ts +38 -38
- package/dist/vue/index.js +41 -15
- package/dist/vue/useVoiceAgentSquadStatus.d.ts +1 -1
- package/dist/vue/useVoiceCallDebugger.d.ts +2 -2
- package/dist/vue/useVoiceCampaignDialerProof.d.ts +2 -2
- package/dist/vue/useVoiceController.d.ts +1 -1
- package/dist/vue/useVoiceDeliveryRuntime.d.ts +2 -2
- package/dist/vue/useVoiceLiveOps.d.ts +1 -1
- package/dist/vue/useVoiceOpsActionCenter.d.ts +1 -1
- package/dist/vue/useVoiceOpsStatus.d.ts +2 -2
- package/dist/vue/useVoicePlatformCoverage.d.ts +2 -2
- package/dist/vue/useVoiceProfileComparison.d.ts +2 -2
- package/dist/vue/useVoiceProofTrends.d.ts +2 -2
- package/dist/vue/useVoiceProviderCapabilities.d.ts +2 -2
- package/dist/vue/useVoiceProviderContracts.d.ts +2 -2
- package/dist/vue/useVoiceProviderSimulationControls.d.ts +1 -1
- package/dist/vue/useVoiceProviderStatus.d.ts +2 -2
- package/dist/vue/useVoiceReadinessFailures.d.ts +30 -2
- package/dist/vue/useVoiceRoutingStatus.d.ts +1 -1
- package/dist/vue/useVoiceSessionSnapshot.d.ts +2 -2
- package/dist/vue/useVoiceStream.d.ts +1 -1
- package/dist/vue/useVoiceTraceTimeline.d.ts +2 -2
- package/dist/vue/useVoiceTurnLatency.d.ts +2 -2
- package/dist/vue/useVoiceTurnQuality.d.ts +2 -2
- package/dist/vue/useVoiceWorkflowStatus.d.ts +2 -2
- package/dist/workflowContract.d.ts +8 -8
- package/fixtures/manifest.json +356 -197
- package/package.json +260 -259
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type VoiceOpsStatusClientOptions } from
|
|
1
|
+
import { type VoiceOpsStatusClientOptions } from "../client/opsStatus";
|
|
2
2
|
export declare const useVoiceOpsStatus: (path?: string, options?: VoiceOpsStatusClientOptions) => {
|
|
3
3
|
refresh: () => Promise<import("..").VoiceOpsStatusReport | undefined>;
|
|
4
4
|
error: string | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type VoicePlatformCoverageClientOptions } from
|
|
1
|
+
import { type VoicePlatformCoverageClientOptions } from "../client/platformCoverage";
|
|
2
2
|
export declare const useVoicePlatformCoverage: (path?: string, options?: VoicePlatformCoverageClientOptions) => {
|
|
3
3
|
refresh: () => Promise<import("..").VoicePlatformCoverageSummary | undefined>;
|
|
4
4
|
error: string | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type VoiceProfileComparisonClientOptions } from
|
|
1
|
+
import { type VoiceProfileComparisonClientOptions } from "../client/profileComparison";
|
|
2
2
|
export declare const useVoiceProfileComparison: (path?: string, options?: VoiceProfileComparisonClientOptions) => {
|
|
3
3
|
refresh: () => Promise<import("..").VoiceRealCallProfileHistoryReport | undefined>;
|
|
4
4
|
error: string | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type VoiceProfileSwitchRecommendationClientOptions } from
|
|
1
|
+
import { type VoiceProfileSwitchRecommendationClientOptions } from "../client/profileSwitchRecommendation";
|
|
2
2
|
export declare const useVoiceProfileSwitchRecommendation: (path?: string, options?: VoiceProfileSwitchRecommendationClientOptions) => {
|
|
3
3
|
refresh: () => Promise<import("..").VoiceProfileSwitchRecommendation | undefined>;
|
|
4
4
|
error: string | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type VoiceProofTrendsClientOptions } from
|
|
1
|
+
import { type VoiceProofTrendsClientOptions } from "../client/proofTrends";
|
|
2
2
|
export declare const useVoiceProofTrends: (path?: string, options?: VoiceProofTrendsClientOptions) => {
|
|
3
3
|
refresh: () => Promise<import("..").VoiceProofTrendReport | undefined>;
|
|
4
4
|
error: string | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type VoiceProviderCapabilitiesClientOptions } from
|
|
1
|
+
import { type VoiceProviderCapabilitiesClientOptions } from "../client/providerCapabilities";
|
|
2
2
|
export declare const useVoiceProviderCapabilities: <TProvider extends string = string>(path?: string, options?: VoiceProviderCapabilitiesClientOptions) => {
|
|
3
3
|
refresh: () => Promise<import("..").VoiceProviderCapabilityReport<TProvider> | undefined>;
|
|
4
4
|
error: string | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type VoiceProviderContractsClientOptions } from
|
|
1
|
+
import { type VoiceProviderContractsClientOptions } from "../client/providerContracts";
|
|
2
2
|
export declare const useVoiceProviderContracts: <TProvider extends string = string>(path?: string, options?: VoiceProviderContractsClientOptions) => {
|
|
3
3
|
refresh: () => Promise<import("..").VoiceProviderContractMatrixReport<TProvider> | undefined>;
|
|
4
4
|
error: string | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type VoiceProviderSimulationControlsOptions } from
|
|
1
|
+
import { type VoiceProviderSimulationControlsOptions } from "../client/providerSimulationControls";
|
|
2
2
|
export declare const useVoiceProviderSimulationControls: <TProvider extends string = string>(options: VoiceProviderSimulationControlsOptions<TProvider>) => {
|
|
3
3
|
run: (provider: TProvider, mode: import("../testing").VoiceIOProviderFailureSimulationMode) => Promise<import("../testing").VoiceIOProviderFailureSimulationResult<TProvider> | null>;
|
|
4
4
|
error: string | null;
|
|
@@ -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;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type VoiceReadinessFailuresClientOptions } from
|
|
1
|
+
import { type VoiceReadinessFailuresClientOptions } from "../client/readinessFailures";
|
|
2
2
|
export declare const useVoiceReadinessFailures: (path?: string, options?: VoiceReadinessFailuresClientOptions) => {
|
|
3
3
|
refresh: () => Promise<import("..").VoiceProductionReadinessReport | undefined>;
|
|
4
4
|
error: string | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type VoiceRoutingStatusClientOptions } from
|
|
1
|
+
import { type VoiceRoutingStatusClientOptions } from "../client/routingStatus";
|
|
2
2
|
export declare const useVoiceRoutingStatus: (path?: string, options?: VoiceRoutingStatusClientOptions) => {
|
|
3
3
|
refresh: () => Promise<import("..").VoiceRoutingEvent | null>;
|
|
4
4
|
decision: import("..").VoiceRoutingDecisionSummary | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type VoiceSessionSnapshotClientOptions } from
|
|
1
|
+
import { type VoiceSessionSnapshotClientOptions } from "../client/sessionSnapshot";
|
|
2
2
|
export declare const useVoiceSessionSnapshot: (path: string, options?: VoiceSessionSnapshotClientOptions) => {
|
|
3
3
|
download: () => Blob;
|
|
4
4
|
refresh: () => Promise<import("..").VoiceSessionSnapshot | undefined>;
|
|
@@ -1,4 +1,4 @@
|
|
|
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;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type VoiceTraceTimelineClientOptions } from
|
|
1
|
+
import { type VoiceTraceTimelineClientOptions } from "../client/traceTimeline";
|
|
2
2
|
export declare const useVoiceTraceTimeline: (path?: string, options?: VoiceTraceTimelineClientOptions) => {
|
|
3
3
|
refresh: () => Promise<import("..").VoiceTraceTimelineReport | null>;
|
|
4
4
|
error: string | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type VoiceTurnLatencyClientOptions } from
|
|
1
|
+
import { type VoiceTurnLatencyClientOptions } from "../client/turnLatency";
|
|
2
2
|
export declare const useVoiceTurnLatency: (path?: string, options?: VoiceTurnLatencyClientOptions) => {
|
|
3
3
|
refresh: () => Promise<import("..").VoiceTurnLatencyReport | undefined>;
|
|
4
4
|
runProof: () => Promise<import("..").VoiceTurnLatencyReport | undefined>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type VoiceTurnQualityClientOptions } from
|
|
1
|
+
import { type VoiceTurnQualityClientOptions } from "../client/turnQuality";
|
|
2
2
|
export declare const useVoiceTurnQuality: (path?: string, options?: VoiceTurnQualityClientOptions) => {
|
|
3
3
|
refresh: () => Promise<import("..").VoiceTurnQualityReport | undefined>;
|
|
4
4
|
error: string | null;
|
|
@@ -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;
|
|
@@ -1,25 +1,32 @@
|
|
|
1
|
-
import type { VoiceProductionReadinessAuditOptions, VoiceProductionReadinessAuditDeliveryOptions, VoiceProductionReadinessOpsActionHistoryOptions, VoiceProductionReadinessRoutesOptions, VoiceProductionReadinessTraceDeliveryOptions } from
|
|
2
|
-
export type VoiceReadinessProfileName =
|
|
1
|
+
import type { VoiceProductionReadinessAuditOptions, VoiceProductionReadinessAuditDeliveryOptions, VoiceProductionReadinessOpsActionHistoryOptions, VoiceProductionReadinessRoutesOptions, VoiceProductionReadinessTraceDeliveryOptions } from "./productionReadiness";
|
|
2
|
+
export type VoiceReadinessProfileName = "meeting-recorder" | "ops-heavy" | "phone-agent";
|
|
3
3
|
export type VoiceReadinessProfileOptions = {
|
|
4
4
|
audit?: VoiceProductionReadinessAuditOptions;
|
|
5
5
|
auditDeliveries?: VoiceProductionReadinessAuditDeliveryOptions;
|
|
6
|
-
bargeInReports?: VoiceProductionReadinessRoutesOptions[
|
|
7
|
-
campaignReadiness?: VoiceProductionReadinessRoutesOptions[
|
|
8
|
-
carriers?: VoiceProductionReadinessRoutesOptions[
|
|
9
|
-
deliveryRuntime?: VoiceProductionReadinessRoutesOptions[
|
|
6
|
+
bargeInReports?: VoiceProductionReadinessRoutesOptions["bargeInReports"];
|
|
7
|
+
campaignReadiness?: VoiceProductionReadinessRoutesOptions["campaignReadiness"];
|
|
8
|
+
carriers?: VoiceProductionReadinessRoutesOptions["carriers"];
|
|
9
|
+
deliveryRuntime?: VoiceProductionReadinessRoutesOptions["deliveryRuntime"];
|
|
10
10
|
explain?: boolean;
|
|
11
|
-
gate?: VoiceProductionReadinessRoutesOptions[
|
|
12
|
-
links?: VoiceProductionReadinessRoutesOptions[
|
|
13
|
-
observabilityExportDeliveryHistory?: VoiceProductionReadinessRoutesOptions[
|
|
11
|
+
gate?: VoiceProductionReadinessRoutesOptions["gate"];
|
|
12
|
+
links?: VoiceProductionReadinessRoutesOptions["links"];
|
|
13
|
+
observabilityExportDeliveryHistory?: VoiceProductionReadinessRoutesOptions["observabilityExportDeliveryHistory"];
|
|
14
14
|
opsActionHistory?: VoiceProductionReadinessOpsActionHistoryOptions;
|
|
15
|
-
phoneAgentSmokes?: VoiceProductionReadinessRoutesOptions[
|
|
16
|
-
proofSources?: VoiceProductionReadinessRoutesOptions[
|
|
17
|
-
providerRoutingContracts?: VoiceProductionReadinessRoutesOptions[
|
|
18
|
-
reconnectContracts?: VoiceProductionReadinessRoutesOptions[
|
|
19
|
-
|
|
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"];
|
|
20
27
|
traceDeliveries?: VoiceProductionReadinessTraceDeliveryOptions;
|
|
21
28
|
};
|
|
22
|
-
export type VoiceReadinessProfileRoutesOptions = Partial<Omit<VoiceProductionReadinessRoutesOptions,
|
|
29
|
+
export type VoiceReadinessProfileRoutesOptions = Partial<Omit<VoiceProductionReadinessRoutesOptions, "store">>;
|
|
23
30
|
export type VoiceReadinessProfileRecommendationScore = {
|
|
24
31
|
configured: string[];
|
|
25
32
|
confidence: number;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { Elysia } from
|
|
2
|
-
import type { AudioFormat } from
|
|
3
|
-
import type { StoredVoiceTraceEvent } from
|
|
4
|
-
export type VoiceRealtimeChannelStatus =
|
|
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
5
|
export type VoiceRealtimeChannelRuntimeSample = {
|
|
6
6
|
format?: AudioFormat;
|
|
7
7
|
observedAt?: number;
|
|
8
|
-
kind:
|
|
8
|
+
kind: "assistant-audio" | "browser-capture" | "input-audio" | "reconnect" | "turn-commit";
|
|
9
9
|
latencyMs?: number;
|
|
10
10
|
ok?: boolean;
|
|
11
11
|
sessionId?: string;
|
|
@@ -36,7 +36,7 @@ export type VoiceRealtimeChannelReportOptions = {
|
|
|
36
36
|
export type VoiceRealtimeChannelIssue = {
|
|
37
37
|
code: string;
|
|
38
38
|
message: string;
|
|
39
|
-
severity:
|
|
39
|
+
severity: "error" | "warning";
|
|
40
40
|
};
|
|
41
41
|
export type VoiceRealtimeChannelReport = {
|
|
42
42
|
browserCapture?: VoiceRealtimeChannelBrowserCapture & {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { Elysia } from
|
|
2
|
-
import type { VoiceRealtimeChannelReport } from
|
|
3
|
-
export type VoiceRealtimeProviderContractStatus =
|
|
4
|
-
export type VoiceRealtimeProviderContractCapability =
|
|
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
5
|
export type VoiceRealtimeProviderContractDefinition<TProvider extends string = string> = {
|
|
6
6
|
capabilities?: readonly VoiceRealtimeProviderContractCapability[];
|
|
7
7
|
configured?: boolean;
|
|
8
8
|
env?: Record<string, string | undefined>;
|
|
9
9
|
fallbackProviders?: readonly TProvider[];
|
|
10
|
-
implementationStatus?:
|
|
10
|
+
implementationStatus?: "available" | "planned";
|
|
11
11
|
latencyBudgetMs?: number;
|
|
12
12
|
provider: TProvider;
|
|
13
13
|
readinessHref?: string;
|
|
@@ -17,13 +17,13 @@ export type VoiceRealtimeProviderContractDefinition<TProvider extends string = s
|
|
|
17
17
|
selected?: boolean;
|
|
18
18
|
traceHref?: string;
|
|
19
19
|
};
|
|
20
|
-
export type VoiceRealtimeProviderPresetProvider =
|
|
20
|
+
export type VoiceRealtimeProviderPresetProvider = "gemini-live" | "openai-realtime" | (string & {});
|
|
21
21
|
export type VoiceRealtimeProviderContractMatrixPresetOptions<TProvider extends string = VoiceRealtimeProviderPresetProvider> = {
|
|
22
22
|
capabilities?: Record<string, readonly VoiceRealtimeProviderContractCapability[]>;
|
|
23
23
|
configured?: Record<string, boolean>;
|
|
24
24
|
env?: Record<string, string | undefined>;
|
|
25
25
|
fallbackProviders?: Record<string, readonly TProvider[]>;
|
|
26
|
-
implementationStatus?: Record<string,
|
|
26
|
+
implementationStatus?: Record<string, "available" | "planned">;
|
|
27
27
|
latencyBudgets?: Record<string, number>;
|
|
28
28
|
providers?: readonly TProvider[];
|
|
29
29
|
readinessHref?: string | Record<string, string | undefined>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Elysia } from
|
|
2
|
-
import type { VoiceReconnectClientState } from
|
|
3
|
-
import type { StoredVoiceTraceEvent } from
|
|
1
|
+
import { Elysia } from "elysia";
|
|
2
|
+
import type { VoiceReconnectClientState } from "./types";
|
|
3
|
+
import type { StoredVoiceTraceEvent } from "./trace";
|
|
4
4
|
export type VoiceReconnectContractSnapshot = {
|
|
5
5
|
at: number;
|
|
6
6
|
reconnect: VoiceReconnectClientState;
|
|
@@ -9,7 +9,7 @@ export type VoiceReconnectContractSnapshot = {
|
|
|
9
9
|
export type VoiceReconnectContractIssue = {
|
|
10
10
|
code: string;
|
|
11
11
|
message: string;
|
|
12
|
-
severity:
|
|
12
|
+
severity: "error" | "warning";
|
|
13
13
|
};
|
|
14
14
|
export type VoiceReconnectContractReport = {
|
|
15
15
|
checkedAt: number;
|
|
@@ -17,7 +17,7 @@ export type VoiceReconnectContractReport = {
|
|
|
17
17
|
pass: boolean;
|
|
18
18
|
resumeLatencyP95Ms?: number;
|
|
19
19
|
snapshotCount: number;
|
|
20
|
-
statuses: VoiceReconnectClientState[
|
|
20
|
+
statuses: VoiceReconnectClientState["status"][];
|
|
21
21
|
summary: {
|
|
22
22
|
attempts: number;
|
|
23
23
|
maxAttempts: number;
|
|
@@ -33,7 +33,7 @@ export type VoiceReconnectContractOptions = {
|
|
|
33
33
|
requireReplayProtection?: boolean;
|
|
34
34
|
snapshots: readonly VoiceReconnectContractSnapshot[];
|
|
35
35
|
};
|
|
36
|
-
export type VoiceReconnectContractRoutesOptions = Omit<VoiceReconnectContractOptions,
|
|
36
|
+
export type VoiceReconnectContractRoutesOptions = Omit<VoiceReconnectContractOptions, "snapshots"> & {
|
|
37
37
|
getSnapshots: () => readonly VoiceReconnectContractSnapshot[] | Promise<readonly VoiceReconnectContractSnapshot[]>;
|
|
38
38
|
headers?: HeadersInit;
|
|
39
39
|
htmlPath?: false | string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Elysia } from
|
|
2
|
-
import { type VoiceProviderHealthSummary } from
|
|
3
|
-
import type { StoredVoiceTraceEvent, VoiceTraceEventStore } from
|
|
4
|
-
import type { VoiceIOProviderFailureSimulationMode, VoiceIOProviderFailureSimulationResult } from
|
|
5
|
-
export type VoiceRoutingEventKind =
|
|
1
|
+
import { Elysia } from "elysia";
|
|
2
|
+
import { type VoiceProviderHealthSummary } from "./providerHealth";
|
|
3
|
+
import type { StoredVoiceTraceEvent, VoiceTraceEventStore } from "./trace";
|
|
4
|
+
import type { VoiceIOProviderFailureSimulationMode, VoiceIOProviderFailureSimulationResult } from "./testing/ioProviderSimulator";
|
|
5
|
+
export type VoiceRoutingEventKind = "llm" | "stt" | "tts";
|
|
6
6
|
export type VoiceRoutingEvent = {
|
|
7
7
|
at: number;
|
|
8
8
|
attempt?: number;
|
|
@@ -48,7 +48,7 @@ export type VoiceRoutingSessionSummary = {
|
|
|
48
48
|
lastEventAt: number;
|
|
49
49
|
sessionId: string;
|
|
50
50
|
startedAt: number;
|
|
51
|
-
status:
|
|
51
|
+
status: "healthy" | "fallback" | "degraded";
|
|
52
52
|
timeoutCount: number;
|
|
53
53
|
};
|
|
54
54
|
export type VoiceRoutingSessionSummaryOptions = {
|
package/dist/routing.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { VoiceSTTRoutingCorrectionMode, VoiceSTTRoutingGoal, VoiceSTTRoutingStrategy, VoiceTurnCorrectionHandler } from
|
|
1
|
+
import type { VoiceSTTRoutingCorrectionMode, VoiceSTTRoutingGoal, VoiceSTTRoutingStrategy, VoiceTurnCorrectionHandler } from "./types";
|
|
2
2
|
export declare const resolveVoiceSTTRoutingStrategy: (goal?: VoiceSTTRoutingGoal) => VoiceSTTRoutingStrategy;
|
|
3
3
|
export declare const createVoiceSTTRoutingCorrectionHandler: (mode?: VoiceSTTRoutingCorrectionMode) => VoiceTurnCorrectionHandler | undefined;
|
package/dist/runtimeOps.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { StoredVoiceCallReviewArtifact, VoiceCallReviewArtifact } from
|
|
2
|
-
import type { VoiceOpsTask } from
|
|
3
|
-
import type { VoiceCallDisposition, VoiceRuntimeOpsConfig, VoiceSessionHandle, VoiceSessionRecord } from
|
|
1
|
+
import type { StoredVoiceCallReviewArtifact, VoiceCallReviewArtifact } from "./testing/review";
|
|
2
|
+
import type { VoiceOpsTask } from "./ops";
|
|
3
|
+
import type { VoiceCallDisposition, VoiceRuntimeOpsConfig, VoiceSessionHandle, VoiceSessionRecord } from "./types";
|
|
4
4
|
export declare const createVoiceCallReviewFromSession: <TSession extends VoiceSessionRecord = VoiceSessionRecord>(input: {
|
|
5
5
|
disposition: VoiceCallDisposition;
|
|
6
6
|
generatedAt?: number;
|
package/dist/s3Store.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import type { S3Client, S3Options } from
|
|
2
|
-
import type { StoredVoiceCallReviewArtifact, VoiceCallReviewStore } from
|
|
1
|
+
import type { S3Client, S3Options } from "bun";
|
|
2
|
+
import type { StoredVoiceCallReviewArtifact, VoiceCallReviewStore } from "./testing/review";
|
|
3
3
|
export type VoiceS3ReviewStoreFile = {
|
|
4
4
|
delete: () => Promise<void>;
|
|
5
5
|
exists: () => Promise<boolean>;
|
|
6
6
|
text: () => Promise<string>;
|
|
7
7
|
write: (data: string) => Promise<number>;
|
|
8
8
|
};
|
|
9
|
-
export type VoiceS3ReviewStoreClient = Pick<S3Client,
|
|
9
|
+
export type VoiceS3ReviewStoreClient = Pick<S3Client, "file" | "list">;
|
|
10
10
|
export type VoiceS3ReviewStoreOptions = S3Options & {
|
|
11
11
|
client?: VoiceS3ReviewStoreClient;
|
|
12
12
|
keyPrefix?: string;
|
package/dist/session.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { CreateVoiceSessionOptions, VoiceSessionHandle, VoiceSessionRecord } from
|
|
1
|
+
import type { CreateVoiceSessionOptions, VoiceSessionHandle, VoiceSessionRecord } from "./types";
|
|
2
2
|
export declare const createVoiceSession: <TContext = unknown, TSession extends VoiceSessionRecord = VoiceSessionRecord, TResult = unknown>(options: CreateVoiceSessionOptions<TContext, TSession, TResult>) => VoiceSessionHandle<TContext, TSession, TResult>;
|
package/dist/sessionReplay.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Elysia } from
|
|
2
|
-
import { type StoredVoiceTraceEvent, type VoiceTraceEvaluationOptions, type VoiceTraceEventStore, type VoiceTraceRedactionConfig, type VoiceTraceSummary, type VoiceTraceEvaluation } from
|
|
1
|
+
import { Elysia } from "elysia";
|
|
2
|
+
import { type StoredVoiceTraceEvent, type VoiceTraceEvaluationOptions, type VoiceTraceEventStore, type VoiceTraceRedactionConfig, type VoiceTraceSummary, type VoiceTraceEvaluation } from "./trace";
|
|
3
3
|
export type VoiceSessionReplayTurn = {
|
|
4
4
|
assistantReplies: string[];
|
|
5
5
|
committedText?: string;
|
|
@@ -24,11 +24,11 @@ export type VoiceSessionReplay = {
|
|
|
24
24
|
offsetMs?: number;
|
|
25
25
|
payload: Record<string, unknown>;
|
|
26
26
|
turnId?: string;
|
|
27
|
-
type: StoredVoiceTraceEvent[
|
|
27
|
+
type: StoredVoiceTraceEvent["type"];
|
|
28
28
|
}>;
|
|
29
29
|
turns: VoiceSessionReplayTurn[];
|
|
30
30
|
};
|
|
31
|
-
export type VoiceSessionListStatus =
|
|
31
|
+
export type VoiceSessionListStatus = "failed" | "healthy";
|
|
32
32
|
export type VoiceSessionListItem = {
|
|
33
33
|
endedAt?: number;
|
|
34
34
|
errorCount: number;
|
|
@@ -48,7 +48,7 @@ export type VoiceProviderFallbackRecoverySummary = {
|
|
|
48
48
|
recovered: number;
|
|
49
49
|
recoveredSessions: number;
|
|
50
50
|
recoveredTurns: number;
|
|
51
|
-
status:
|
|
51
|
+
status: "fail" | "pass";
|
|
52
52
|
total: number;
|
|
53
53
|
unresolvedErrors: number;
|
|
54
54
|
unresolvedSessions: number;
|
|
@@ -56,11 +56,11 @@ export type VoiceProviderFallbackRecoverySummary = {
|
|
|
56
56
|
export type VoiceSessionListOptions = {
|
|
57
57
|
events?: StoredVoiceTraceEvent[];
|
|
58
58
|
limit?: number;
|
|
59
|
-
operationsRecordHref?: false | string | ((session: Omit<VoiceSessionListItem,
|
|
59
|
+
operationsRecordHref?: false | string | ((session: Omit<VoiceSessionListItem, "operationsRecordHref" | "replayHref">) => string);
|
|
60
60
|
provider?: string;
|
|
61
61
|
q?: string;
|
|
62
|
-
replayHref?: false | string | ((session: Omit<VoiceSessionListItem,
|
|
63
|
-
status?: VoiceSessionListStatus |
|
|
62
|
+
replayHref?: false | string | ((session: Omit<VoiceSessionListItem, "replayHref">) => string);
|
|
63
|
+
status?: VoiceSessionListStatus | "all";
|
|
64
64
|
store?: VoiceTraceEventStore;
|
|
65
65
|
};
|
|
66
66
|
export type VoiceSessionListHTMLHandlerOptions = VoiceSessionListOptions & {
|
|
@@ -80,7 +80,7 @@ export type VoiceSessionReplayOptions = {
|
|
|
80
80
|
store?: VoiceTraceEventStore;
|
|
81
81
|
title?: string;
|
|
82
82
|
};
|
|
83
|
-
export type VoiceSessionReplayHTMLHandlerOptions = Omit<VoiceSessionReplayOptions,
|
|
83
|
+
export type VoiceSessionReplayHTMLHandlerOptions = Omit<VoiceSessionReplayOptions, "sessionId"> & {
|
|
84
84
|
headers?: HeadersInit;
|
|
85
85
|
render?: (replay: VoiceSessionReplay) => string | Promise<string>;
|
|
86
86
|
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { Elysia } from
|
|
2
|
-
import type { MediaProcessorGraphSnapshot } from
|
|
3
|
-
import type { VoiceProofAssertionResult, VoiceProofAssertionSummary } from
|
|
4
|
-
import type { VoiceCampaignTelephonyOutcomeSnapshot } from
|
|
5
|
-
import type { StoredVoiceTraceEvent } from
|
|
6
|
-
export type VoiceSessionSnapshotStatus =
|
|
1
|
+
import { Elysia } from "elysia";
|
|
2
|
+
import type { MediaProcessorGraphSnapshot } from "@absolutejs/media";
|
|
3
|
+
import type { VoiceProofAssertionResult, VoiceProofAssertionSummary } from "./proofAssertions";
|
|
4
|
+
import type { VoiceCampaignTelephonyOutcomeSnapshot } from "./campaign";
|
|
5
|
+
import type { StoredVoiceTraceEvent } from "./trace";
|
|
6
|
+
export type VoiceSessionSnapshotStatus = "fail" | "pass" | "warn";
|
|
7
7
|
export type VoiceSessionSnapshotQualityEvidence = {
|
|
8
8
|
name: string;
|
|
9
9
|
report: unknown;
|
|
10
10
|
status?: VoiceSessionSnapshotStatus;
|
|
11
11
|
};
|
|
12
|
-
export type VoiceSessionSnapshotArtifactKind =
|
|
12
|
+
export type VoiceSessionSnapshotArtifactKind = "failure-replay" | "incident-bundle" | "operations-record" | "provider-fallback" | "trace" | "custom";
|
|
13
13
|
export type VoiceSessionSnapshotArtifact = {
|
|
14
14
|
href?: string;
|
|
15
15
|
kind: VoiceSessionSnapshotArtifactKind;
|
|
@@ -27,7 +27,7 @@ export type VoiceSessionSnapshot = {
|
|
|
27
27
|
providerRoutingEvents: readonly StoredVoiceTraceEvent[];
|
|
28
28
|
quality: readonly VoiceSessionSnapshotQualityEvidence[];
|
|
29
29
|
scenarioId?: string;
|
|
30
|
-
schema:
|
|
30
|
+
schema: "absolute.voice.session.snapshot.v1";
|
|
31
31
|
sessionId: string;
|
|
32
32
|
status: VoiceSessionSnapshotStatus;
|
|
33
33
|
telephonyOutcomes: readonly VoiceCampaignTelephonyOutcomeSnapshot[];
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { Elysia } from
|
|
2
|
-
import { type VoiceEvalReport, type VoiceEvalRoutesOptions, type VoiceScenarioEvalDefinition, type VoiceScenarioEvalReport, type VoiceScenarioFixture, type VoiceScenarioFixtureEvalReport, type VoiceScenarioFixtureStore } from
|
|
3
|
-
import { type VoiceOutcomeContractDefinition, type VoiceOutcomeContractOptions, type VoiceOutcomeContractSuiteReport } from
|
|
4
|
-
import { type VoiceToolContractDefinition, type VoiceToolContractSuiteReport } from
|
|
5
|
-
import type { VoiceQualityThresholds } from
|
|
6
|
-
import type { VoiceTraceEventStore } from
|
|
7
|
-
import type { VoiceSessionRecord } from
|
|
8
|
-
export type VoiceSimulationSuiteStatus =
|
|
1
|
+
import { Elysia } from "elysia";
|
|
2
|
+
import { type VoiceEvalReport, type VoiceEvalRoutesOptions, type VoiceScenarioEvalDefinition, type VoiceScenarioEvalReport, type VoiceScenarioFixture, type VoiceScenarioFixtureEvalReport, type VoiceScenarioFixtureStore } from "./evalRoutes";
|
|
3
|
+
import { type VoiceOutcomeContractDefinition, type VoiceOutcomeContractOptions, type VoiceOutcomeContractSuiteReport } from "./outcomeContract";
|
|
4
|
+
import { type VoiceToolContractDefinition, type VoiceToolContractSuiteReport } from "./toolContract";
|
|
5
|
+
import type { VoiceQualityThresholds } from "./qualityRoutes";
|
|
6
|
+
import type { VoiceTraceEventStore } from "./trace";
|
|
7
|
+
import type { VoiceSessionRecord } from "./types";
|
|
8
|
+
export type VoiceSimulationSuiteStatus = "pass" | "fail";
|
|
9
9
|
export type VoiceSimulationSuiteReport = {
|
|
10
10
|
actions: VoiceSimulationSuiteAction[];
|
|
11
11
|
checkedAt: number;
|
|
@@ -30,8 +30,8 @@ export type VoiceSimulationSuiteAction = {
|
|
|
30
30
|
description: string;
|
|
31
31
|
href?: string;
|
|
32
32
|
label: string;
|
|
33
|
-
section:
|
|
34
|
-
severity:
|
|
33
|
+
section: "fixtures" | "outcomes" | "scenarios" | "sessions" | "tools";
|
|
34
|
+
severity: "error" | "warning";
|
|
35
35
|
};
|
|
36
36
|
export type VoiceSimulationSuiteSectionSummary = {
|
|
37
37
|
failed: number;
|
|
@@ -39,7 +39,7 @@ export type VoiceSimulationSuiteSectionSummary = {
|
|
|
39
39
|
status: VoiceSimulationSuiteStatus;
|
|
40
40
|
total: number;
|
|
41
41
|
};
|
|
42
|
-
export type VoiceSimulationSuiteSection =
|
|
42
|
+
export type VoiceSimulationSuiteSection = "fixtures" | "outcomes" | "scenarios" | "sessions" | "tools";
|
|
43
43
|
export type VoiceSimulationSuiteAssertionInput = {
|
|
44
44
|
maxActions?: number;
|
|
45
45
|
maxFailed?: number;
|
|
@@ -78,7 +78,7 @@ export type VoiceSimulationSuiteOptions<TSession extends VoiceSessionRecord = Vo
|
|
|
78
78
|
};
|
|
79
79
|
limit?: number;
|
|
80
80
|
operationsRecordHref?: false | string | ((sessionId: string) => string);
|
|
81
|
-
outcomes?: Omit<VoiceOutcomeContractOptions<TSession>,
|
|
81
|
+
outcomes?: Omit<VoiceOutcomeContractOptions<TSession>, "contracts"> & {
|
|
82
82
|
contracts: VoiceOutcomeContractDefinition[];
|
|
83
83
|
};
|
|
84
84
|
scenarios?: VoiceScenarioEvalDefinition[];
|
package/dist/sloCalibration.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Elysia } from
|
|
2
|
-
import type { VoiceProviderSloThresholdConfig } from
|
|
3
|
-
import type { VoiceProductionReadinessRoutesOptions } from
|
|
4
|
-
import type { VoiceProofTrendReport } from
|
|
5
|
-
export type VoiceSloCalibrationStatus =
|
|
6
|
-
export type VoiceSloCalibrationMetricKey =
|
|
1
|
+
import { Elysia } from "elysia";
|
|
2
|
+
import type { VoiceProviderSloThresholdConfig } from "./providerSlo";
|
|
3
|
+
import type { VoiceProductionReadinessRoutesOptions } from "./productionReadiness";
|
|
4
|
+
import type { VoiceProofTrendReport } from "./proofTrends";
|
|
5
|
+
export type VoiceSloCalibrationStatus = "fail" | "pass" | "warn";
|
|
6
|
+
export type VoiceSloCalibrationMetricKey = "interruption" | "liveLatency" | "monitorRun" | "notifierDelivery" | "provider" | "reconnect" | "turnLatency";
|
|
7
7
|
export type VoiceSloCalibrationSample = {
|
|
8
8
|
generatedAt?: string;
|
|
9
9
|
interruptionP95Ms?: number;
|
|
@@ -69,9 +69,9 @@ export type VoiceSloThresholdProfile = {
|
|
|
69
69
|
};
|
|
70
70
|
status: VoiceSloCalibrationStatus;
|
|
71
71
|
};
|
|
72
|
-
export type VoiceSloReadinessThresholdOptions = Pick<VoiceProductionReadinessRoutesOptions,
|
|
72
|
+
export type VoiceSloReadinessThresholdOptions = Pick<VoiceProductionReadinessRoutesOptions, "liveLatencyFailAfterMs" | "liveLatencyWarnAfterMs" | "monitoringNotifierDeliveryFailAfterMs" | "monitoringRunFailAfterMs" | "reconnectResumeFailAfterMs">;
|
|
73
73
|
export type VoiceSloReadinessThresholdReport = {
|
|
74
|
-
bargeIn: VoiceSloThresholdProfile[
|
|
74
|
+
bargeIn: VoiceSloThresholdProfile["bargeIn"];
|
|
75
75
|
generatedAt: string;
|
|
76
76
|
issues: string[];
|
|
77
77
|
liveLatencyMaxAgeMs?: number;
|
package/dist/sqliteStore.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { type StoredVoiceTraceEvent, type VoiceTraceSinkDeliveryRecord, type VoiceTraceSinkDeliveryStore, type VoiceTraceEventStore } from
|
|
2
|
-
import { type StoredVoiceAuditEvent, type VoiceAuditEventStore } from
|
|
3
|
-
import type { VoiceAuditSinkDeliveryRecord, VoiceAuditSinkDeliveryStore } from
|
|
4
|
-
import type { StoredVoiceIntegrationEvent, StoredVoiceExternalObjectMap, StoredVoiceOpsTask, VoiceExternalObjectMapStore, VoiceIntegrationEventStore, VoiceOpsTaskStore } from
|
|
5
|
-
import type { StoredVoiceCallReviewArtifact, VoiceCallReviewStore } from
|
|
6
|
-
import type { VoiceTelephonyWebhookIdempotencyStore } from
|
|
7
|
-
import type { VoiceCampaignStore } from
|
|
8
|
-
import type { VoiceSessionRecord, VoiceSessionStore } from
|
|
1
|
+
import { type StoredVoiceTraceEvent, type VoiceTraceSinkDeliveryRecord, type VoiceTraceSinkDeliveryStore, type VoiceTraceEventStore } from "./trace";
|
|
2
|
+
import { type StoredVoiceAuditEvent, type VoiceAuditEventStore } from "./audit";
|
|
3
|
+
import type { VoiceAuditSinkDeliveryRecord, VoiceAuditSinkDeliveryStore } from "./auditSinks";
|
|
4
|
+
import type { StoredVoiceIntegrationEvent, StoredVoiceExternalObjectMap, StoredVoiceOpsTask, VoiceExternalObjectMapStore, VoiceIntegrationEventStore, VoiceOpsTaskStore } from "./ops";
|
|
5
|
+
import type { StoredVoiceCallReviewArtifact, VoiceCallReviewStore } from "./testing/review";
|
|
6
|
+
import type { VoiceTelephonyWebhookIdempotencyStore } from "./telephonyOutcome";
|
|
7
|
+
import type { VoiceCampaignStore } from "./campaign";
|
|
8
|
+
import type { VoiceSessionRecord, VoiceSessionStore } from "./types";
|
|
9
9
|
export type VoiceSQLiteStoreOptions = {
|
|
10
10
|
path: string;
|
|
11
11
|
tableName?: string;
|
package/dist/store.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Transcript, VoiceSessionRecord, VoiceSessionSummary } from
|
|
1
|
+
import type { Transcript, VoiceSessionRecord, VoiceSessionSummary } from "./types";
|
|
2
2
|
export declare const createId: () => `${string}-${string}-${string}-${string}-${string}`;
|
|
3
3
|
export declare const createTranscript: (text: string, input?: Partial<Transcript>) => Transcript;
|
|
4
4
|
export declare const createVoiceSessionRecord: <TSession extends VoiceSessionRecord = VoiceSessionRecord>(id: string, scenarioId?: string) => TSession;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type VoiceAgentSquadStatusWidgetOptions } from
|
|
1
|
+
import { type VoiceAgentSquadStatusWidgetOptions } from "../client/agentSquadStatusWidget";
|
|
2
2
|
export declare const createVoiceAgentSquadStatus: (path?: string, options?: VoiceAgentSquadStatusWidgetOptions) => {
|
|
3
3
|
close: () => void;
|
|
4
4
|
getHTML: () => string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type VoiceCallDebuggerClientOptions } from
|
|
2
|
-
import { type VoiceCallDebuggerLaunchOptions } from
|
|
1
|
+
import { type VoiceCallDebuggerClientOptions } from "../client/callDebugger";
|
|
2
|
+
import { type VoiceCallDebuggerLaunchOptions } from "../client/callDebuggerWidget";
|
|
3
3
|
export declare const createVoiceCallDebugger: (path: string, options?: VoiceCallDebuggerLaunchOptions) => {
|
|
4
4
|
getHTML: () => string;
|
|
5
5
|
getViewModel: () => import("../client").VoiceCallDebuggerLaunchViewModel;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { VoiceCampaignDialerProofClientOptions } from
|
|
1
|
+
import type { VoiceCampaignDialerProofClientOptions } from "../client/campaignDialerProof";
|
|
2
2
|
export declare const createVoiceCampaignDialerProof: (path?: string, options?: VoiceCampaignDialerProofClientOptions) => {
|
|
3
3
|
close: () => void;
|
|
4
4
|
getServerSnapshot: () => import("../client").VoiceCampaignDialerProofSnapshot;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type VoiceDeliveryRuntimeWidgetOptions } from
|
|
1
|
+
import { type VoiceDeliveryRuntimeWidgetOptions } from "../client/deliveryRuntimeWidget";
|
|
2
2
|
export declare const createVoiceDeliveryRuntime: (path?: string, options?: VoiceDeliveryRuntimeWidgetOptions) => {
|
|
3
3
|
close: () => void;
|
|
4
4
|
getHTML: () => string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type VoiceLiveOpsClientOptions } from
|
|
2
|
-
import { type VoiceLiveOpsWidgetOptions } from
|
|
1
|
+
import { type VoiceLiveOpsClientOptions } from "../client/liveOps";
|
|
2
|
+
import { type VoiceLiveOpsWidgetOptions } from "../client/liveOpsWidget";
|
|
3
3
|
export declare const createVoiceLiveOps: (options?: VoiceLiveOpsClientOptions | VoiceLiveOpsWidgetOptions) => {
|
|
4
4
|
close: () => void;
|
|
5
5
|
getHTML: () => string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type VoiceOpsActionCenterWidgetOptions } from
|
|
1
|
+
import { type VoiceOpsActionCenterWidgetOptions } from "../client/opsActionCenterWidget";
|
|
2
2
|
export declare const createVoiceOpsActionCenter: (options?: VoiceOpsActionCenterWidgetOptions) => {
|
|
3
3
|
close: () => void;
|
|
4
4
|
getHTML: () => string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type VoiceOpsStatusWidgetOptions } from
|
|
1
|
+
import { type VoiceOpsStatusWidgetOptions } from "../client/opsStatusWidget";
|
|
2
2
|
export declare const createVoiceOpsStatus: (path?: string, options?: VoiceOpsStatusWidgetOptions) => {
|
|
3
3
|
close: () => void;
|
|
4
4
|
getHTML: () => string;
|