@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,5 +1,5 @@
|
|
|
1
|
-
import { Elysia } from
|
|
2
|
-
export type VoiceBrowserCallProfileStatus =
|
|
1
|
+
import { Elysia } from "elysia";
|
|
2
|
+
export type VoiceBrowserCallProfileStatus = "empty" | "fail" | "pass" | "stale" | "warn";
|
|
3
3
|
export type VoiceBrowserCallProfileFrameworkSummary = {
|
|
4
4
|
messageCount?: number;
|
|
5
5
|
openSockets?: number;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Elysia } from
|
|
2
|
-
import type { MediaWebRTCStatsReport, MediaWebRTCStreamContinuityReport } from
|
|
3
|
-
import type { VoiceTraceEventStore } from
|
|
4
|
-
export type VoiceBrowserMediaStatus =
|
|
1
|
+
import { Elysia } from "elysia";
|
|
2
|
+
import type { MediaWebRTCStatsReport, MediaWebRTCStreamContinuityReport } from "@absolutejs/media";
|
|
3
|
+
import type { VoiceTraceEventStore } from "./trace";
|
|
4
|
+
export type VoiceBrowserMediaStatus = "empty" | "fail" | "pass" | "warn";
|
|
5
5
|
export type VoiceBrowserMediaSample = {
|
|
6
6
|
at: number;
|
|
7
7
|
continuity?: MediaWebRTCStreamContinuityReport;
|
package/dist/callDebugger.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Elysia } from
|
|
2
|
-
import { type VoiceFailureReplayReport, type VoiceOperationsRecord, type VoiceOperationsRecordOptions } from
|
|
3
|
-
import { type StoredVoiceTraceEvent, type VoiceTraceEventStore } from
|
|
4
|
-
import { type VoiceSessionSnapshot, type VoiceSessionSnapshotRouteSource } from
|
|
1
|
+
import { Elysia } from "elysia";
|
|
2
|
+
import { type VoiceFailureReplayReport, type VoiceOperationsRecord, type VoiceOperationsRecordOptions } from "./operationsRecord";
|
|
3
|
+
import { type StoredVoiceTraceEvent, type VoiceTraceEventStore } from "./trace";
|
|
4
|
+
import { type VoiceSessionSnapshot, type VoiceSessionSnapshotRouteSource } from "./sessionSnapshot";
|
|
5
5
|
export type VoiceCallDebuggerReport = {
|
|
6
6
|
checkedAt: number;
|
|
7
7
|
failureReplay: VoiceFailureReplayReport;
|
|
@@ -9,9 +9,9 @@ export type VoiceCallDebuggerReport = {
|
|
|
9
9
|
operationsRecord: VoiceOperationsRecord;
|
|
10
10
|
sessionId: string;
|
|
11
11
|
snapshot: VoiceSessionSnapshot;
|
|
12
|
-
status:
|
|
12
|
+
status: "failed" | "healthy" | "warning";
|
|
13
13
|
};
|
|
14
|
-
export type VoiceCallDebuggerRoutesOptions = Omit<VoiceOperationsRecordOptions,
|
|
14
|
+
export type VoiceCallDebuggerRoutesOptions = Omit<VoiceOperationsRecordOptions, "sessionId"> & {
|
|
15
15
|
headers?: HeadersInit;
|
|
16
16
|
htmlPath?: false | string;
|
|
17
17
|
incidentPath?: false | string;
|
package/dist/campaign.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Elysia } from
|
|
2
|
-
import type { VoiceRedisTaskLeaseCoordinator } from
|
|
3
|
-
import type { VoiceTelephonyOutcomeDecision, VoiceTelephonyOutcomeProviderEvent, VoiceTelephonyWebhookDecision } from
|
|
4
|
-
export type VoiceCampaignStatus =
|
|
5
|
-
export type VoiceCampaignRecipientStatus =
|
|
6
|
-
export type VoiceCampaignAttemptStatus =
|
|
1
|
+
import { Elysia } from "elysia";
|
|
2
|
+
import type { VoiceRedisTaskLeaseCoordinator } from "./queue";
|
|
3
|
+
import type { VoiceTelephonyOutcomeDecision, VoiceTelephonyOutcomeProviderEvent, VoiceTelephonyWebhookDecision } from "./telephonyOutcome";
|
|
4
|
+
export type VoiceCampaignStatus = "canceled" | "completed" | "draft" | "paused" | "running";
|
|
5
|
+
export type VoiceCampaignRecipientStatus = "canceled" | "completed" | "failed" | "pending" | "queued";
|
|
6
|
+
export type VoiceCampaignAttemptStatus = "canceled" | "failed" | "queued" | "running" | "succeeded";
|
|
7
7
|
export type VoiceCampaignTimeWindow = {
|
|
8
8
|
daysOfWeek?: number[];
|
|
9
9
|
endHour: number;
|
|
@@ -81,7 +81,7 @@ export type VoiceCampaignDialerInput = {
|
|
|
81
81
|
export type VoiceCampaignDialerResult = {
|
|
82
82
|
externalCallId?: string;
|
|
83
83
|
metadata?: Record<string, unknown>;
|
|
84
|
-
status?:
|
|
84
|
+
status?: "queued" | "running" | "succeeded";
|
|
85
85
|
};
|
|
86
86
|
export type VoiceCampaignDialer = (input: VoiceCampaignDialerInput) => Promise<VoiceCampaignDialerResult> | VoiceCampaignDialerResult;
|
|
87
87
|
export type VoiceCampaignCreateInput = {
|
|
@@ -98,10 +98,10 @@ export type VoiceCampaignRecipientInput = {
|
|
|
98
98
|
metadata?: Record<string, unknown>;
|
|
99
99
|
name?: string;
|
|
100
100
|
phone: string;
|
|
101
|
-
variables?: VoiceCampaignRecipient[
|
|
101
|
+
variables?: VoiceCampaignRecipient["variables"];
|
|
102
102
|
};
|
|
103
103
|
export type VoiceCampaignRecipientImportRow = Record<string, unknown>;
|
|
104
|
-
export type VoiceCampaignRecipientImportIssueCode =
|
|
104
|
+
export type VoiceCampaignRecipientImportIssueCode = "duplicate" | "missing-consent" | "missing-phone" | "invalid-phone";
|
|
105
105
|
export type VoiceCampaignRecipientImportIssue = {
|
|
106
106
|
code: VoiceCampaignRecipientImportIssueCode;
|
|
107
107
|
message: string;
|
|
@@ -130,12 +130,12 @@ export type VoiceCampaignAttemptResultInput = {
|
|
|
130
130
|
error?: string;
|
|
131
131
|
externalCallId?: string;
|
|
132
132
|
metadata?: Record<string, unknown>;
|
|
133
|
-
status:
|
|
133
|
+
status: "failed" | "succeeded";
|
|
134
134
|
};
|
|
135
135
|
export type VoiceCampaignTickResult = {
|
|
136
136
|
attempted: number;
|
|
137
137
|
blocked: Array<{
|
|
138
|
-
reason:
|
|
138
|
+
reason: "outside-attempt-window" | "quiet-hours" | "rate-limit" | "retry-backoff";
|
|
139
139
|
recipientId?: string;
|
|
140
140
|
until?: number;
|
|
141
141
|
}>;
|
|
@@ -157,7 +157,7 @@ export type VoiceCampaignProofReport = {
|
|
|
157
157
|
campaign: VoiceCampaignRecord;
|
|
158
158
|
created: VoiceCampaignRecord;
|
|
159
159
|
final: VoiceCampaignRecord;
|
|
160
|
-
proof:
|
|
160
|
+
proof: "voice-campaign";
|
|
161
161
|
recipients: VoiceCampaignRecord;
|
|
162
162
|
summary: VoiceCampaignSummary;
|
|
163
163
|
tick: VoiceCampaignTickResult;
|
|
@@ -165,7 +165,7 @@ export type VoiceCampaignProofReport = {
|
|
|
165
165
|
export type VoiceCampaignReadinessCheck = {
|
|
166
166
|
details?: Record<string, unknown>;
|
|
167
167
|
name: string;
|
|
168
|
-
status:
|
|
168
|
+
status: "fail" | "pass";
|
|
169
169
|
};
|
|
170
170
|
export type VoiceCampaignReadinessProofOptions = {
|
|
171
171
|
store?: VoiceCampaignStore;
|
|
@@ -179,7 +179,7 @@ export type VoiceCampaignReadinessProofReport = {
|
|
|
179
179
|
generatedAt: number;
|
|
180
180
|
import: VoiceCampaignRecipientImportResult;
|
|
181
181
|
ok: boolean;
|
|
182
|
-
proof:
|
|
182
|
+
proof: "voice-campaign-readiness";
|
|
183
183
|
ticks: {
|
|
184
184
|
allowed: VoiceCampaignTickResult;
|
|
185
185
|
quietHours: VoiceCampaignTickResult;
|
|
@@ -195,13 +195,13 @@ export type VoiceCampaignReadinessAssertionInput = {
|
|
|
195
195
|
minAcceptedImports?: number;
|
|
196
196
|
minRejectedImports?: number;
|
|
197
197
|
minTotalImports?: number;
|
|
198
|
-
requiredBlockedReasons?: VoiceCampaignTickResult[
|
|
198
|
+
requiredBlockedReasons?: VoiceCampaignTickResult["blocked"][number]["reason"][];
|
|
199
199
|
requiredChecks?: string[];
|
|
200
200
|
requireOk?: boolean;
|
|
201
201
|
};
|
|
202
202
|
export type VoiceCampaignReadinessAssertionReport = {
|
|
203
203
|
acceptedImports: number;
|
|
204
|
-
blockedReasons: VoiceCampaignTickResult[
|
|
204
|
+
blockedReasons: VoiceCampaignTickResult["blocked"][number]["reason"][];
|
|
205
205
|
failed: number;
|
|
206
206
|
issues: string[];
|
|
207
207
|
ok: boolean;
|
|
@@ -372,7 +372,7 @@ export type VoiceCampaignTelephonyOutcomeInput<TResult = unknown> = {
|
|
|
372
372
|
sessionId?: string;
|
|
373
373
|
attemptId?: string;
|
|
374
374
|
};
|
|
375
|
-
export type VoiceCampaignTelephonyOutcomeStatus =
|
|
375
|
+
export type VoiceCampaignTelephonyOutcomeStatus = "failed" | "ignore" | "succeeded";
|
|
376
376
|
export type VoiceCampaignTelephonyOutcomeOptions<TResult = unknown> = {
|
|
377
377
|
resolveCampaignId?: (input: VoiceCampaignTelephonyOutcomeInput<TResult>) => Promise<string | undefined> | string | undefined;
|
|
378
378
|
resolveExternalCallId?: (input: VoiceCampaignTelephonyOutcomeInput<TResult>) => Promise<string | undefined> | string | undefined;
|
|
@@ -386,21 +386,21 @@ export type VoiceCampaignTelephonyOutcomeResult = {
|
|
|
386
386
|
campaignId?: string;
|
|
387
387
|
error?: string;
|
|
388
388
|
externalCallId?: string;
|
|
389
|
-
reason?:
|
|
390
|
-
status?:
|
|
389
|
+
reason?: "ignored" | "missing-attempt" | "missing-campaign" | "missing-runtime" | "terminal-attempt";
|
|
390
|
+
status?: "failed" | "succeeded";
|
|
391
391
|
attemptId?: string;
|
|
392
392
|
};
|
|
393
393
|
export type VoiceCampaignTelephonyOutcomeSnapshot<TResult = unknown> = {
|
|
394
|
-
action: VoiceTelephonyOutcomeDecision[
|
|
394
|
+
action: VoiceTelephonyOutcomeDecision["action"];
|
|
395
395
|
at: number;
|
|
396
396
|
campaignOutcome: VoiceCampaignTelephonyOutcomeResult;
|
|
397
|
-
disposition?: VoiceTelephonyOutcomeDecision[
|
|
397
|
+
disposition?: VoiceTelephonyOutcomeDecision["disposition"];
|
|
398
398
|
duplicate?: boolean;
|
|
399
399
|
idempotencyKey?: string;
|
|
400
400
|
provider?: string;
|
|
401
401
|
routeResult?: TResult;
|
|
402
402
|
sessionId?: string;
|
|
403
|
-
source?: VoiceTelephonyOutcomeDecision[
|
|
403
|
+
source?: VoiceTelephonyOutcomeDecision["source"];
|
|
404
404
|
};
|
|
405
405
|
export type VoiceCampaignTelephonyOutcomeRecorderOptions<TResult = unknown> = VoiceCampaignTelephonyOutcomeOptions<TResult> & {
|
|
406
406
|
maxSnapshots?: number;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { applyVoiceCampaignTelephonyOutcome, VoiceCampaignDialer, VoiceCampaignDialerInput, type VoiceCampaignRecord, type VoiceCampaignStore, type VoiceCampaignTickResult } from
|
|
1
|
+
import { applyVoiceCampaignTelephonyOutcome, VoiceCampaignDialer, VoiceCampaignDialerInput, type VoiceCampaignRecord, type VoiceCampaignStore, type VoiceCampaignTickResult } from "./campaign";
|
|
2
2
|
type VoiceCampaignDialerFetch = (input: string | URL | Request, init?: RequestInit) => Promise<Response>;
|
|
3
3
|
type VoiceCampaignDialerMetadataInput = VoiceCampaignDialerInput & {
|
|
4
|
-
provider:
|
|
4
|
+
provider: "plivo" | "telnyx" | "twilio";
|
|
5
5
|
};
|
|
6
6
|
type VoiceCampaignDialerMetadata = Record<string, string | number | boolean | undefined> | ((input: VoiceCampaignDialerMetadataInput) => Record<string, string | number | boolean | undefined> | Promise<Record<string, string | number | boolean | undefined>>);
|
|
7
7
|
type VoiceCampaignURLInput = {
|
|
8
|
-
attempt: VoiceCampaignDialerInput[
|
|
9
|
-
campaign: VoiceCampaignDialerInput[
|
|
10
|
-
recipient: VoiceCampaignDialerInput[
|
|
8
|
+
attempt: VoiceCampaignDialerInput["attempt"];
|
|
9
|
+
campaign: VoiceCampaignDialerInput["campaign"];
|
|
10
|
+
recipient: VoiceCampaignDialerInput["recipient"];
|
|
11
11
|
};
|
|
12
12
|
type VoiceCampaignURLResolver = string | ((input: VoiceCampaignURLInput) => string | Promise<string>);
|
|
13
13
|
export type VoiceTwilioCampaignDialerOptions = {
|
|
14
14
|
accountSid: string;
|
|
15
|
-
answerMethod?:
|
|
15
|
+
answerMethod?: "GET" | "POST";
|
|
16
16
|
answerUrl: VoiceCampaignURLResolver;
|
|
17
17
|
apiBaseUrl?: string;
|
|
18
18
|
authToken: string;
|
|
@@ -21,7 +21,7 @@ export type VoiceTwilioCampaignDialerOptions = {
|
|
|
21
21
|
machineDetection?: string;
|
|
22
22
|
metadata?: VoiceCampaignDialerMetadata;
|
|
23
23
|
statusCallbackEvents?: string[];
|
|
24
|
-
statusCallbackMethod?:
|
|
24
|
+
statusCallbackMethod?: "GET" | "POST";
|
|
25
25
|
statusCallbackUrl?: VoiceCampaignURLResolver;
|
|
26
26
|
};
|
|
27
27
|
export type VoiceTelnyxCampaignDialerOptions = {
|
|
@@ -32,21 +32,21 @@ export type VoiceTelnyxCampaignDialerOptions = {
|
|
|
32
32
|
fetch?: VoiceCampaignDialerFetch;
|
|
33
33
|
from: string;
|
|
34
34
|
webhookUrl?: VoiceCampaignURLResolver;
|
|
35
|
-
webhookUrlMethod?:
|
|
35
|
+
webhookUrlMethod?: "GET" | "POST";
|
|
36
36
|
};
|
|
37
37
|
export type VoicePlivoCampaignDialerOptions = {
|
|
38
|
-
answerMethod?:
|
|
38
|
+
answerMethod?: "GET" | "POST";
|
|
39
39
|
answerUrl: VoiceCampaignURLResolver;
|
|
40
40
|
apiBaseUrl?: string;
|
|
41
41
|
authId: string;
|
|
42
42
|
authToken: string;
|
|
43
|
-
callbackMethod?:
|
|
43
|
+
callbackMethod?: "GET" | "POST";
|
|
44
44
|
callbackUrl?: VoiceCampaignURLResolver;
|
|
45
45
|
fetch?: VoiceCampaignDialerFetch;
|
|
46
46
|
from: string;
|
|
47
47
|
metadata?: VoiceCampaignDialerMetadata;
|
|
48
48
|
};
|
|
49
|
-
export type VoiceCampaignDialerProofProvider =
|
|
49
|
+
export type VoiceCampaignDialerProofProvider = "plivo" | "telnyx" | "twilio";
|
|
50
50
|
export type VoiceCampaignDialerProofCarrierRequest = {
|
|
51
51
|
body: unknown;
|
|
52
52
|
method: string;
|
|
@@ -63,13 +63,13 @@ export type VoiceCampaignDialerProofProviderResult = {
|
|
|
63
63
|
};
|
|
64
64
|
export type VoiceCampaignDialerProofReport = {
|
|
65
65
|
generatedAt: number;
|
|
66
|
-
mode:
|
|
66
|
+
mode: "dry-run";
|
|
67
67
|
ok: boolean;
|
|
68
68
|
providers: VoiceCampaignDialerProofProviderResult[];
|
|
69
69
|
};
|
|
70
70
|
export type VoiceCampaignDialerProofStatus = {
|
|
71
71
|
generatedAt: number;
|
|
72
|
-
mode:
|
|
72
|
+
mode: "dry-run";
|
|
73
73
|
ok: boolean;
|
|
74
74
|
providers: VoiceCampaignDialerProofProvider[];
|
|
75
75
|
runPath?: string;
|
|
@@ -95,7 +95,7 @@ export type VoiceCampaignDialerProofAssertionReport = {
|
|
|
95
95
|
carrierRequests: number;
|
|
96
96
|
failedProviders: number;
|
|
97
97
|
issues: string[];
|
|
98
|
-
mode: VoiceCampaignDialerProofReport[
|
|
98
|
+
mode: VoiceCampaignDialerProofReport["mode"];
|
|
99
99
|
ok: boolean;
|
|
100
100
|
providers: VoiceCampaignDialerProofProvider[];
|
|
101
101
|
successfulOutcomes: number;
|
package/dist/client/actions.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { VoiceServerMessage } from
|
|
1
|
+
import type { VoiceServerMessage } from "../types";
|
|
2
2
|
export declare const serverMessageToAction: <TResult = unknown>(message: VoiceServerMessage<TResult>) => {
|
|
3
3
|
chunk: Uint8Array<ArrayBuffer>;
|
|
4
4
|
format: import("..").AudioFormat;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { VoiceTraceTimelineReport } from
|
|
2
|
-
import { type VoiceTraceTimelineClientOptions } from
|
|
3
|
-
export type VoiceAgentSquadSpecialistStatus =
|
|
1
|
+
import type { VoiceTraceTimelineReport } from "../traceTimeline";
|
|
2
|
+
import { type VoiceTraceTimelineClientOptions } from "./traceTimeline";
|
|
3
|
+
export type VoiceAgentSquadSpecialistStatus = "active" | "blocked" | "handoff" | "idle" | "unknown-target";
|
|
4
4
|
export type VoiceAgentSquadSpecialist = {
|
|
5
5
|
fromAgentId?: string;
|
|
6
6
|
lastEventAt?: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type VoiceAgentSquadSpecialist, type VoiceAgentSquadStatusClientOptions, type VoiceAgentSquadStatusSnapshot } from
|
|
1
|
+
import { type VoiceAgentSquadSpecialist, type VoiceAgentSquadStatusClientOptions, type VoiceAgentSquadStatusSnapshot } from "./agentSquadStatus";
|
|
2
2
|
export type VoiceAgentSquadStatusViewModel = {
|
|
3
3
|
current?: VoiceAgentSquadSpecialist;
|
|
4
4
|
description: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AudioFormat, VoiceAudioPlayer, VoiceAudioPlayerOptions, VoiceAudioPlayerSource } from
|
|
1
|
+
import type { AudioFormat, VoiceAudioPlayer, VoiceAudioPlayerOptions, VoiceAudioPlayerSource } from "../types";
|
|
2
2
|
type MinimalAudioBuffer = {
|
|
3
3
|
duration: number;
|
|
4
4
|
getChannelData: (channel: number) => Float32Array;
|
|
@@ -29,7 +29,7 @@ type MinimalAudioContext = {
|
|
|
29
29
|
destination: unknown;
|
|
30
30
|
outputLatency?: number;
|
|
31
31
|
resume: () => Promise<void>;
|
|
32
|
-
state:
|
|
32
|
+
state: "closed" | "running" | "suspended";
|
|
33
33
|
suspend: () => Promise<void>;
|
|
34
34
|
};
|
|
35
35
|
export declare const createVoiceAudioPlayer: (source: VoiceAudioPlayerSource, options?: VoiceAudioPlayerOptions) => VoiceAudioPlayer;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { VoiceBrowserMediaReporterOptions, VoiceBrowserMediaReportPayload } from
|
|
1
|
+
import type { VoiceBrowserMediaReporterOptions, VoiceBrowserMediaReportPayload } from "../types";
|
|
2
2
|
export type VoiceBrowserMediaReporter = {
|
|
3
3
|
close: () => void;
|
|
4
4
|
reportOnce: () => Promise<VoiceBrowserMediaReportPayload | undefined>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type VoiceCallDebuggerClientOptions, type VoiceCallDebuggerClientState } from
|
|
1
|
+
import { type VoiceCallDebuggerClientOptions, type VoiceCallDebuggerClientState } from "./callDebugger";
|
|
2
2
|
export type VoiceCallDebuggerLaunchViewModel = {
|
|
3
3
|
description: string;
|
|
4
4
|
error: string | null;
|
|
@@ -9,14 +9,14 @@ export type VoiceCallDebuggerLaunchViewModel = {
|
|
|
9
9
|
label: string;
|
|
10
10
|
value: string;
|
|
11
11
|
}>;
|
|
12
|
-
status:
|
|
12
|
+
status: "empty" | "error" | "loading" | "ready" | "warning";
|
|
13
13
|
title: string;
|
|
14
14
|
updatedAt?: number;
|
|
15
15
|
};
|
|
16
16
|
export type VoiceCallDebuggerLaunchOptions = VoiceCallDebuggerClientOptions & {
|
|
17
17
|
description?: string;
|
|
18
18
|
href?: string | ((input: {
|
|
19
|
-
report?: VoiceCallDebuggerClientState[
|
|
19
|
+
report?: VoiceCallDebuggerClientState["report"];
|
|
20
20
|
}) => string);
|
|
21
21
|
linkLabel?: string;
|
|
22
22
|
title?: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { VoiceCampaignDialerProofReport, VoiceCampaignDialerProofStatus } from
|
|
1
|
+
import type { VoiceCampaignDialerProofReport, VoiceCampaignDialerProofStatus } from "../campaignDialers";
|
|
2
2
|
export type VoiceCampaignDialerProofClientOptions = {
|
|
3
3
|
fetch?: typeof fetch;
|
|
4
4
|
intervalMs?: number;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { VoiceClientMessage, VoiceConnectionOptions, VoiceServerMessage } from
|
|
1
|
+
import type { VoiceClientMessage, VoiceConnectionOptions, VoiceServerMessage } from "../types";
|
|
2
2
|
type VoiceConnectionHandle = {
|
|
3
3
|
callControl: (message: Omit<VoiceClientMessage & {
|
|
4
|
-
type:
|
|
5
|
-
},
|
|
4
|
+
type: "call_control";
|
|
5
|
+
}, "type">) => void;
|
|
6
6
|
start: (input?: {
|
|
7
7
|
sessionId?: string;
|
|
8
8
|
scenarioId?: string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { VoiceController, VoiceControllerOptions } from
|
|
1
|
+
import type { VoiceController, VoiceControllerOptions } from "../types";
|
|
2
2
|
export declare const createVoiceController: <TResult = unknown>(path: string, options?: VoiceControllerOptions) => VoiceController<TResult>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { VoiceConnectionOptions, VoiceStream } from
|
|
1
|
+
import type { VoiceConnectionOptions, VoiceStream } from "../types";
|
|
2
2
|
export declare const createVoiceStream: <TResult = unknown>(path: string, options?: VoiceConnectionOptions) => VoiceStream<TResult>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { VoiceDeliveryRuntimeReport } from
|
|
1
|
+
import type { VoiceDeliveryRuntimeReport } from "../deliveryRuntime";
|
|
2
2
|
export type VoiceDeliveryRuntimeClientOptions = {
|
|
3
3
|
fetch?: typeof fetch;
|
|
4
4
|
intervalMs?: number;
|
|
@@ -7,18 +7,18 @@ export type VoiceDeliveryRuntimeClientOptions = {
|
|
|
7
7
|
};
|
|
8
8
|
export type VoiceDeliveryRuntimeSnapshot = {
|
|
9
9
|
actionError: string | null;
|
|
10
|
-
actionStatus:
|
|
10
|
+
actionStatus: "idle" | "running" | "completed" | "failed";
|
|
11
11
|
error: string | null;
|
|
12
12
|
isLoading: boolean;
|
|
13
13
|
lastAction?: VoiceDeliveryRuntimeActionResult;
|
|
14
14
|
report?: VoiceDeliveryRuntimeReport;
|
|
15
15
|
updatedAt?: number;
|
|
16
16
|
};
|
|
17
|
-
export type VoiceDeliveryRuntimeAction =
|
|
17
|
+
export type VoiceDeliveryRuntimeAction = "tick" | "requeue-dead-letters";
|
|
18
18
|
export type VoiceDeliveryRuntimeActionResult = {
|
|
19
19
|
action: VoiceDeliveryRuntimeAction;
|
|
20
20
|
result?: unknown;
|
|
21
|
-
summary?: VoiceDeliveryRuntimeReport[
|
|
21
|
+
summary?: VoiceDeliveryRuntimeReport["summary"];
|
|
22
22
|
updatedAt: number;
|
|
23
23
|
};
|
|
24
24
|
export declare const fetchVoiceDeliveryRuntime: (path?: string, options?: Pick<VoiceDeliveryRuntimeClientOptions, "fetch">) => Promise<VoiceDeliveryRuntimeReport>;
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { type VoiceDeliveryRuntimeClientOptions, type VoiceDeliveryRuntimeSnapshot } from
|
|
1
|
+
import { type VoiceDeliveryRuntimeClientOptions, type VoiceDeliveryRuntimeSnapshot } from "./deliveryRuntime";
|
|
2
2
|
export type VoiceDeliveryRuntimeSurfaceView = {
|
|
3
3
|
deadLettered: number;
|
|
4
4
|
detail: string;
|
|
5
5
|
failed: number;
|
|
6
|
-
id:
|
|
6
|
+
id: "audit" | "trace";
|
|
7
7
|
label: string;
|
|
8
8
|
pending: number;
|
|
9
|
-
status:
|
|
9
|
+
status: "pass" | "warn" | "disabled";
|
|
10
10
|
total: number;
|
|
11
11
|
};
|
|
12
12
|
export type VoiceDeliveryRuntimeViewModel = {
|
|
13
13
|
description: string;
|
|
14
14
|
error: string | null;
|
|
15
15
|
actionError: string | null;
|
|
16
|
-
actionStatus: VoiceDeliveryRuntimeSnapshot[
|
|
16
|
+
actionStatus: VoiceDeliveryRuntimeSnapshot["actionStatus"];
|
|
17
17
|
isLoading: boolean;
|
|
18
18
|
isRunning: boolean;
|
|
19
19
|
label: string;
|
|
20
|
-
status:
|
|
20
|
+
status: "pass" | "warn" | "loading" | "error";
|
|
21
21
|
surfaces: VoiceDeliveryRuntimeSurfaceView[];
|
|
22
22
|
title: string;
|
|
23
23
|
updatedAt?: number;
|
package/dist/client/duplex.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { VoiceAudioPlayer, VoiceBargeInBinding, VoiceBargeInOptions, VoiceController, VoiceDuplexController, VoiceDuplexControllerOptions } from
|
|
1
|
+
import type { VoiceAudioPlayer, VoiceBargeInBinding, VoiceBargeInOptions, VoiceController, VoiceDuplexController, VoiceDuplexControllerOptions } from "../types";
|
|
2
2
|
export declare const bindVoiceBargeIn: <TResult = unknown>(controller: Pick<VoiceController<TResult>, "partial" | "sendAudio" | "sessionId" | "subscribe">, player: Pick<VoiceAudioPlayer, "interrupt" | "isPlaying" | "lastInterruptLatencyMs" | "lastPlaybackStopLatencyMs">, options?: VoiceBargeInOptions) => VoiceBargeInBinding;
|
|
3
3
|
export declare const createVoiceDuplexController: <TResult = unknown>(path: string, options?: VoiceDuplexControllerOptions) => VoiceDuplexController<TResult>;
|
package/dist/client/htmx.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { VoiceHTMXBindingOptions, VoiceStream } from
|
|
1
|
+
import type { VoiceHTMXBindingOptions, VoiceStream } from "../types";
|
|
2
2
|
export declare const bindVoiceHTMX: <TResult = unknown>(stream: VoiceStream<TResult>, options: VoiceHTMXBindingOptions) => () => void;
|