@absolutejs/voice 0.0.22-beta.12 → 0.0.22-beta.120
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 +411 -3
- package/dist/agent.d.ts +2 -0
- package/dist/angular/index.d.ts +9 -0
- package/dist/angular/index.js +1278 -44
- package/dist/angular/voice-app-kit-status.service.d.ts +12 -0
- package/dist/angular/voice-campaign-dialer-proof.service.d.ts +14 -0
- package/dist/angular/voice-ops-status.component.d.ts +15 -0
- package/dist/angular/voice-provider-capabilities.service.d.ts +12 -0
- package/dist/angular/voice-provider-status.service.d.ts +12 -0
- package/dist/angular/voice-routing-status.service.d.ts +11 -0
- package/dist/angular/voice-stream.service.d.ts +2 -0
- 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-workflow-status.service.d.ts +12 -0
- package/dist/appKit.d.ts +100 -0
- package/dist/assistantHealth.d.ts +81 -0
- package/dist/bargeInRoutes.d.ts +56 -0
- package/dist/campaign.d.ts +610 -0
- package/dist/campaignDialers.d.ts +90 -0
- package/dist/client/actions.d.ts +22 -0
- package/dist/client/appKitStatus.d.ts +19 -0
- package/dist/client/bargeInMonitor.d.ts +7 -0
- package/dist/client/campaignDialerProof.d.ts +23 -0
- package/dist/client/connection.d.ts +3 -0
- package/dist/client/duplex.d.ts +1 -1
- package/dist/client/htmxBootstrap.js +587 -13
- package/dist/client/index.d.ts +40 -0
- package/dist/client/index.js +2028 -8
- package/dist/client/liveTurnLatency.d.ts +41 -0
- package/dist/client/opsStatusWidget.d.ts +40 -0
- package/dist/client/providerCapabilities.d.ts +19 -0
- package/dist/client/providerCapabilitiesWidget.d.ts +32 -0
- package/dist/client/providerSimulationControls.d.ts +33 -0
- package/dist/client/providerSimulationControlsWidget.d.ts +20 -0
- package/dist/client/providerStatus.d.ts +19 -0
- package/dist/client/providerStatusWidget.d.ts +32 -0
- package/dist/client/routingStatus.d.ts +19 -0
- package/dist/client/routingStatusWidget.d.ts +28 -0
- package/dist/client/traceTimeline.d.ts +19 -0
- package/dist/client/traceTimelineWidget.d.ts +32 -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/workflowStatus.d.ts +19 -0
- package/dist/diagnosticsRoutes.d.ts +44 -0
- package/dist/evalRoutes.d.ts +213 -0
- package/dist/fileStore.d.ts +3 -0
- package/dist/handoff.d.ts +54 -0
- package/dist/handoffHealth.d.ts +94 -0
- package/dist/index.d.ts +77 -8
- package/dist/index.js +12645 -3061
- package/dist/liveLatency.d.ts +78 -0
- package/dist/modelAdapters.d.ts +41 -2
- package/dist/openaiTTS.d.ts +18 -0
- package/dist/opsConsoleRoutes.d.ts +77 -0
- package/dist/opsWebhook.d.ts +126 -0
- package/dist/outcomeContract.d.ts +112 -0
- package/dist/phoneAgent.d.ts +58 -0
- package/dist/postgresStore.d.ts +5 -0
- package/dist/productionReadiness.d.ts +121 -0
- package/dist/providerAdapters.d.ts +48 -0
- package/dist/providerCapabilities.d.ts +92 -0
- package/dist/providerHealth.d.ts +79 -0
- package/dist/qualityRoutes.d.ts +76 -0
- package/dist/queue.d.ts +61 -0
- package/dist/react/VoiceOpsStatus.d.ts +6 -0
- package/dist/react/VoiceProviderCapabilities.d.ts +6 -0
- package/dist/react/VoiceProviderSimulationControls.d.ts +5 -0
- package/dist/react/VoiceProviderStatus.d.ts +6 -0
- package/dist/react/VoiceRoutingStatus.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/index.d.ts +18 -0
- package/dist/react/index.js +2606 -12
- package/dist/react/useVoiceAppKitStatus.d.ts +8 -0
- package/dist/react/useVoiceCampaignDialerProof.d.ts +10 -0
- package/dist/react/useVoiceController.d.ts +2 -0
- package/dist/react/useVoiceProviderCapabilities.d.ts +8 -0
- package/dist/react/useVoiceProviderSimulationControls.d.ts +10 -0
- package/dist/react/useVoiceProviderStatus.d.ts +8 -0
- package/dist/react/useVoiceRoutingStatus.d.ts +8 -0
- package/dist/react/useVoiceStream.d.ts +2 -0
- 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 +8 -0
- package/dist/resilienceRoutes.d.ts +142 -0
- package/dist/sessionReplay.d.ts +175 -0
- package/dist/simulationSuite.d.ts +120 -0
- package/dist/sqliteStore.d.ts +5 -0
- package/dist/svelte/createVoiceAppKitStatus.d.ts +8 -0
- package/dist/svelte/createVoiceCampaignDialerProof.d.ts +9 -0
- package/dist/svelte/createVoiceOpsStatus.d.ts +9 -0
- package/dist/svelte/createVoiceProviderCapabilities.d.ts +10 -0
- package/dist/svelte/createVoiceProviderSimulationControls.d.ts +11 -0
- package/dist/svelte/createVoiceProviderStatus.d.ts +10 -0
- package/dist/svelte/createVoiceRoutingStatus.d.ts +10 -0
- 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/createVoiceWorkflowStatus.d.ts +8 -0
- package/dist/svelte/index.d.ts +11 -0
- package/dist/svelte/index.js +1849 -4
- package/dist/telephony/contract.d.ts +61 -0
- package/dist/telephony/matrix.d.ts +97 -0
- package/dist/telephony/plivo.d.ts +254 -0
- package/dist/telephony/telnyx.d.ts +247 -0
- package/dist/telephony/twilio.d.ts +132 -0
- package/dist/telephonyOutcome.d.ts +201 -0
- package/dist/testing/index.d.ts +2 -0
- package/dist/testing/index.js +2640 -21
- package/dist/testing/ioProviderSimulator.d.ts +41 -0
- package/dist/testing/providerSimulator.d.ts +44 -0
- package/dist/toolContract.d.ts +130 -0
- package/dist/toolRuntime.d.ts +50 -0
- package/dist/trace.d.ts +1 -1
- package/dist/traceTimeline.d.ts +93 -0
- package/dist/turnLatency.d.ts +95 -0
- package/dist/turnQuality.d.ts +94 -0
- package/dist/types.d.ts +125 -2
- package/dist/vue/VoiceOpsStatus.d.ts +30 -0
- package/dist/vue/VoiceProviderCapabilities.d.ts +51 -0
- package/dist/vue/VoiceProviderSimulationControls.d.ts +88 -0
- package/dist/vue/VoiceProviderStatus.d.ts +51 -0
- package/dist/vue/VoiceRoutingStatus.d.ts +51 -0
- package/dist/vue/VoiceTurnLatency.d.ts +69 -0
- package/dist/vue/VoiceTurnQuality.d.ts +51 -0
- package/dist/vue/index.d.ts +17 -0
- package/dist/vue/index.js +2520 -29
- package/dist/vue/useVoiceAppKitStatus.d.ts +9 -0
- package/dist/vue/useVoiceCampaignDialerProof.d.ts +11 -0
- package/dist/vue/useVoiceController.d.ts +1 -1
- package/dist/vue/useVoiceProviderCapabilities.d.ts +9 -0
- package/dist/vue/useVoiceProviderSimulationControls.d.ts +24 -0
- package/dist/vue/useVoiceProviderStatus.d.ts +9 -0
- package/dist/vue/useVoiceRoutingStatus.d.ts +8 -0
- package/dist/vue/useVoiceStream.d.ts +3 -1
- 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 +9 -0
- package/dist/workflowContract.d.ts +91 -0
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -269,6 +269,65 @@ export type VoiceCallLifecycleState = {
|
|
|
269
269
|
lastEventAt: number;
|
|
270
270
|
startedAt: number;
|
|
271
271
|
};
|
|
272
|
+
export type VoiceHandoffAction = 'escalate' | 'no-answer' | 'transfer' | 'voicemail';
|
|
273
|
+
export type VoiceHandoffStatus = 'delivered' | 'failed' | 'skipped';
|
|
274
|
+
export type VoiceHandoffResult = {
|
|
275
|
+
deliveredAt?: number;
|
|
276
|
+
deliveredTo?: string;
|
|
277
|
+
error?: string;
|
|
278
|
+
metadata?: Record<string, unknown>;
|
|
279
|
+
status: VoiceHandoffStatus;
|
|
280
|
+
};
|
|
281
|
+
export type VoiceHandoffDeliveryQueueStatus = VoiceHandoffStatus | 'pending';
|
|
282
|
+
export type StoredVoiceHandoffDelivery<TContext = unknown, TSession extends VoiceSessionRecord = VoiceSessionRecord, TResult = unknown> = {
|
|
283
|
+
action: VoiceHandoffAction;
|
|
284
|
+
context: TContext;
|
|
285
|
+
createdAt: number;
|
|
286
|
+
deliveredAt?: number;
|
|
287
|
+
deliveries?: Record<string, VoiceHandoffResult & {
|
|
288
|
+
adapterId: string;
|
|
289
|
+
adapterKind?: string;
|
|
290
|
+
}>;
|
|
291
|
+
deliveryAttempts?: number;
|
|
292
|
+
deliveryError?: string;
|
|
293
|
+
deliveryStatus: VoiceHandoffDeliveryQueueStatus;
|
|
294
|
+
id: string;
|
|
295
|
+
metadata?: Record<string, unknown>;
|
|
296
|
+
reason?: string;
|
|
297
|
+
result?: TResult;
|
|
298
|
+
session: TSession;
|
|
299
|
+
sessionId: string;
|
|
300
|
+
target?: string;
|
|
301
|
+
updatedAt: number;
|
|
302
|
+
};
|
|
303
|
+
export type VoiceHandoffDeliveryStore<TDelivery extends StoredVoiceHandoffDelivery = StoredVoiceHandoffDelivery> = {
|
|
304
|
+
get: (id: string) => Promise<TDelivery | undefined> | TDelivery | undefined;
|
|
305
|
+
list: () => Promise<TDelivery[]> | TDelivery[];
|
|
306
|
+
remove: (id: string) => Promise<void> | void;
|
|
307
|
+
set: (id: string, delivery: TDelivery) => Promise<void> | void;
|
|
308
|
+
};
|
|
309
|
+
export type VoiceHandoffInput<TContext = unknown, TSession extends VoiceSessionRecord = VoiceSessionRecord, TResult = unknown> = {
|
|
310
|
+
action: VoiceHandoffAction;
|
|
311
|
+
api: VoiceSessionHandle<TContext, TSession, TResult>;
|
|
312
|
+
context: TContext;
|
|
313
|
+
metadata?: Record<string, unknown>;
|
|
314
|
+
reason?: string;
|
|
315
|
+
result?: TResult;
|
|
316
|
+
session: TSession;
|
|
317
|
+
target?: string;
|
|
318
|
+
};
|
|
319
|
+
export type VoiceHandoffAdapter<TContext = unknown, TSession extends VoiceSessionRecord = VoiceSessionRecord, TResult = unknown> = {
|
|
320
|
+
actions?: VoiceHandoffAction[];
|
|
321
|
+
handoff: (input: VoiceHandoffInput<TContext, TSession, TResult>) => Promise<VoiceHandoffResult> | VoiceHandoffResult;
|
|
322
|
+
id: string;
|
|
323
|
+
kind?: string;
|
|
324
|
+
};
|
|
325
|
+
export type VoiceHandoffConfig<TContext = unknown, TSession extends VoiceSessionRecord = VoiceSessionRecord, TResult = unknown> = {
|
|
326
|
+
adapters: VoiceHandoffAdapter<TContext, TSession, TResult>[];
|
|
327
|
+
deliveryQueue?: VoiceHandoffDeliveryStore<StoredVoiceHandoffDelivery<TContext, TSession, TResult>>;
|
|
328
|
+
enqueueOnly?: boolean;
|
|
329
|
+
failMode?: 'record' | 'throw';
|
|
330
|
+
};
|
|
272
331
|
export type VoiceSessionStore<TSession extends VoiceSessionRecord = VoiceSessionRecord> = SessionStore<TSession, VoiceSessionSummary>;
|
|
273
332
|
export type VoiceLogger = {
|
|
274
333
|
debug?: (message: string, meta?: Record<string, unknown>) => void;
|
|
@@ -567,6 +626,7 @@ export type VoicePluginConfig<TContext = unknown, TSession extends VoiceSessionR
|
|
|
567
626
|
audioConditioning?: VoiceAudioConditioningConfig;
|
|
568
627
|
logger?: VoiceLogger;
|
|
569
628
|
htmx?: boolean | VoiceHTMXConfig<TSession, NoInfer<TResult>>;
|
|
629
|
+
handoff?: VoiceHandoffConfig<TContext, TSession, TResult>;
|
|
570
630
|
ops?: VoiceRuntimeOpsConfig<TContext, TSession, TResult>;
|
|
571
631
|
trace?: VoiceTraceEventStore;
|
|
572
632
|
} & VoiceRouteConfig<TContext, TSession, TResult>;
|
|
@@ -588,6 +648,7 @@ export type CreateVoiceSessionOptions<TContext = unknown, TSession extends Voice
|
|
|
588
648
|
sttLifecycle: VoiceSTTLifecycle;
|
|
589
649
|
turnDetection: VoiceResolvedTurnDetectionConfig;
|
|
590
650
|
audioConditioning?: VoiceResolvedAudioConditioningConfig;
|
|
651
|
+
handoff?: VoiceHandoffConfig<TContext, TSession, TResult>;
|
|
591
652
|
route: VoiceNormalizedRouteConfig<TContext, TSession, TResult>;
|
|
592
653
|
logger?: VoiceLogger;
|
|
593
654
|
};
|
|
@@ -604,10 +665,17 @@ export type VoiceClientCloseMessage = {
|
|
|
604
665
|
type: 'close';
|
|
605
666
|
reason?: string;
|
|
606
667
|
};
|
|
668
|
+
export type VoiceClientCallControlMessage = {
|
|
669
|
+
type: 'call_control';
|
|
670
|
+
action: 'complete' | 'escalate' | 'no-answer' | 'transfer' | 'voicemail';
|
|
671
|
+
metadata?: Record<string, unknown>;
|
|
672
|
+
reason?: string;
|
|
673
|
+
target?: string;
|
|
674
|
+
};
|
|
607
675
|
export type VoiceClientPingMessage = {
|
|
608
676
|
type: 'ping';
|
|
609
677
|
};
|
|
610
|
-
export type VoiceClientMessage = VoiceClientStartMessage | VoiceClientEndTurnMessage | VoiceClientCloseMessage | VoiceClientPingMessage;
|
|
678
|
+
export type VoiceClientMessage = VoiceClientStartMessage | VoiceClientEndTurnMessage | VoiceClientCloseMessage | VoiceClientCallControlMessage | VoiceClientPingMessage;
|
|
611
679
|
export type VoiceServerSessionMessage = {
|
|
612
680
|
type: 'session';
|
|
613
681
|
sessionId: string;
|
|
@@ -642,6 +710,11 @@ export type VoiceServerCompleteMessage = {
|
|
|
642
710
|
type: 'complete';
|
|
643
711
|
sessionId: string;
|
|
644
712
|
};
|
|
713
|
+
export type VoiceServerCallLifecycleMessage = {
|
|
714
|
+
type: 'call_lifecycle';
|
|
715
|
+
event: VoiceCallLifecycleEvent;
|
|
716
|
+
sessionId: string;
|
|
717
|
+
};
|
|
645
718
|
export type VoiceServerErrorMessage = {
|
|
646
719
|
type: 'error';
|
|
647
720
|
message: string;
|
|
@@ -650,7 +723,7 @@ export type VoiceServerErrorMessage = {
|
|
|
650
723
|
export type VoiceServerPongMessage = {
|
|
651
724
|
type: 'pong';
|
|
652
725
|
};
|
|
653
|
-
export type VoiceServerMessage<TResult = unknown> = VoiceServerSessionMessage | VoiceServerPartialMessage | VoiceServerFinalMessage | VoiceServerTurnMessage<TResult> | VoiceServerAssistantMessage | VoiceServerAudioMessage | VoiceServerCompleteMessage | VoiceServerErrorMessage | VoiceServerPongMessage;
|
|
726
|
+
export type VoiceServerMessage<TResult = unknown> = VoiceServerSessionMessage | VoiceServerPartialMessage | VoiceServerFinalMessage | VoiceServerTurnMessage<TResult> | VoiceServerAssistantMessage | VoiceServerAudioMessage | VoiceServerCallLifecycleMessage | VoiceServerCompleteMessage | VoiceServerErrorMessage | VoiceServerPongMessage;
|
|
654
727
|
export type VoiceConnectionOptions = {
|
|
655
728
|
protocols?: string[];
|
|
656
729
|
scenarioId?: string;
|
|
@@ -661,6 +734,7 @@ export type VoiceConnectionOptions = {
|
|
|
661
734
|
};
|
|
662
735
|
export type VoiceCaptureOptions = {
|
|
663
736
|
channelCount?: 1 | 2;
|
|
737
|
+
onAudio?: (audio: Uint8Array | ArrayBuffer, sendAudio: (audio: Uint8Array | ArrayBuffer) => void) => void;
|
|
664
738
|
onLevel?: (level: number) => void;
|
|
665
739
|
sampleRateHz?: number;
|
|
666
740
|
};
|
|
@@ -674,6 +748,46 @@ export type VoiceBargeInOptions = {
|
|
|
674
748
|
enabled?: boolean;
|
|
675
749
|
interruptOnPartial?: boolean;
|
|
676
750
|
interruptThreshold?: number;
|
|
751
|
+
monitor?: VoiceBargeInMonitor;
|
|
752
|
+
};
|
|
753
|
+
export type VoiceBargeInTriggerReason = 'input-level' | 'manual-audio' | 'manual-interrupt' | 'partial-transcript';
|
|
754
|
+
export type VoiceBargeInMonitorEvent = {
|
|
755
|
+
at: number;
|
|
756
|
+
id: string;
|
|
757
|
+
latencyMs?: number;
|
|
758
|
+
playbackStopLatencyMs?: number;
|
|
759
|
+
reason: VoiceBargeInTriggerReason;
|
|
760
|
+
sessionId?: string | null;
|
|
761
|
+
status: 'requested' | 'stopped' | 'skipped';
|
|
762
|
+
thresholdMs?: number;
|
|
763
|
+
};
|
|
764
|
+
export type VoiceBargeInMonitorSnapshot = {
|
|
765
|
+
averageLatencyMs?: number;
|
|
766
|
+
events: VoiceBargeInMonitorEvent[];
|
|
767
|
+
failed: number;
|
|
768
|
+
lastEvent?: VoiceBargeInMonitorEvent;
|
|
769
|
+
passed: number;
|
|
770
|
+
status: 'empty' | 'fail' | 'pass' | 'warn';
|
|
771
|
+
thresholdMs: number;
|
|
772
|
+
total: number;
|
|
773
|
+
};
|
|
774
|
+
export type VoiceBargeInMonitor = {
|
|
775
|
+
getSnapshot: () => VoiceBargeInMonitorSnapshot;
|
|
776
|
+
recordRequested: (input: {
|
|
777
|
+
reason: VoiceBargeInTriggerReason;
|
|
778
|
+
sessionId?: string | null;
|
|
779
|
+
}) => VoiceBargeInMonitorEvent;
|
|
780
|
+
recordSkipped: (input: {
|
|
781
|
+
reason: VoiceBargeInTriggerReason;
|
|
782
|
+
sessionId?: string | null;
|
|
783
|
+
}) => VoiceBargeInMonitorEvent;
|
|
784
|
+
recordStopped: (input: {
|
|
785
|
+
latencyMs?: number;
|
|
786
|
+
playbackStopLatencyMs?: number;
|
|
787
|
+
reason: VoiceBargeInTriggerReason;
|
|
788
|
+
sessionId?: string | null;
|
|
789
|
+
}) => VoiceBargeInMonitorEvent;
|
|
790
|
+
subscribe: (subscriber: () => void) => () => void;
|
|
677
791
|
};
|
|
678
792
|
export type VoiceAudioPlayerOptions = {
|
|
679
793
|
autoStart?: boolean;
|
|
@@ -728,6 +842,7 @@ export type VoiceHTMXOptions<TSession extends VoiceSessionRecord = VoiceSessionR
|
|
|
728
842
|
};
|
|
729
843
|
export type VoiceHTMXConfig<TSession extends VoiceSessionRecord = VoiceSessionRecord, TResult = unknown> = VoiceHTMXRenderer<TSession, TResult> | VoiceHTMXOptions<TSession, TResult>;
|
|
730
844
|
export type VoiceStreamState<TResult = unknown> = {
|
|
845
|
+
call: VoiceCallLifecycleState | null;
|
|
731
846
|
sessionId: string | null;
|
|
732
847
|
scenarioId: string | null;
|
|
733
848
|
status: VoiceSessionStatus | 'idle';
|
|
@@ -744,6 +859,8 @@ export type VoiceStreamState<TResult = unknown> = {
|
|
|
744
859
|
isConnected: boolean;
|
|
745
860
|
};
|
|
746
861
|
export type VoiceStream<TResult = unknown> = {
|
|
862
|
+
call: VoiceCallLifecycleState | null;
|
|
863
|
+
callControl: (message: Omit<VoiceClientCallControlMessage, 'type'>) => void;
|
|
747
864
|
close: () => void;
|
|
748
865
|
start: (input?: {
|
|
749
866
|
scenarioId?: string;
|
|
@@ -810,6 +927,8 @@ export type VoiceBargeInBinding = {
|
|
|
810
927
|
};
|
|
811
928
|
export type VoiceController<TResult = unknown> = {
|
|
812
929
|
bindHTMX: (options: VoiceHTMXBindingOptions) => () => void;
|
|
930
|
+
call: VoiceCallLifecycleState | null;
|
|
931
|
+
callControl: (message: Omit<VoiceClientCallControlMessage, 'type'>) => void;
|
|
813
932
|
close: () => void;
|
|
814
933
|
endTurn: () => void;
|
|
815
934
|
start: (input?: {
|
|
@@ -855,6 +974,10 @@ export type VoiceStoreAction<TResult = unknown> = {
|
|
|
855
974
|
sessionId: string;
|
|
856
975
|
scenarioId?: string;
|
|
857
976
|
status: VoiceSessionStatus;
|
|
977
|
+
} | {
|
|
978
|
+
type: 'call_lifecycle';
|
|
979
|
+
event: VoiceCallLifecycleEvent;
|
|
980
|
+
sessionId: string;
|
|
858
981
|
} | {
|
|
859
982
|
type: 'partial';
|
|
860
983
|
transcript: Transcript;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export declare const VoiceOpsStatus: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
description: StringConstructor;
|
|
3
|
+
includeLinks: {
|
|
4
|
+
default: boolean;
|
|
5
|
+
type: BooleanConstructor;
|
|
6
|
+
};
|
|
7
|
+
intervalMs: NumberConstructor;
|
|
8
|
+
path: {
|
|
9
|
+
default: string;
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
};
|
|
12
|
+
title: StringConstructor;
|
|
13
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
14
|
+
[key: string]: any;
|
|
15
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
16
|
+
description: StringConstructor;
|
|
17
|
+
includeLinks: {
|
|
18
|
+
default: boolean;
|
|
19
|
+
type: BooleanConstructor;
|
|
20
|
+
};
|
|
21
|
+
intervalMs: NumberConstructor;
|
|
22
|
+
path: {
|
|
23
|
+
default: string;
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
};
|
|
26
|
+
title: StringConstructor;
|
|
27
|
+
}>> & Readonly<{}>, {
|
|
28
|
+
path: string;
|
|
29
|
+
includeLinks: boolean;
|
|
30
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
export declare const VoiceProviderCapabilities: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
class: {
|
|
3
|
+
default: string;
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
};
|
|
6
|
+
description: {
|
|
7
|
+
default: undefined;
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
};
|
|
10
|
+
intervalMs: {
|
|
11
|
+
default: number;
|
|
12
|
+
type: NumberConstructor;
|
|
13
|
+
};
|
|
14
|
+
path: {
|
|
15
|
+
default: string;
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
};
|
|
18
|
+
title: {
|
|
19
|
+
default: undefined;
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
};
|
|
22
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
23
|
+
[key: string]: any;
|
|
24
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
25
|
+
class: {
|
|
26
|
+
default: string;
|
|
27
|
+
type: StringConstructor;
|
|
28
|
+
};
|
|
29
|
+
description: {
|
|
30
|
+
default: undefined;
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
};
|
|
33
|
+
intervalMs: {
|
|
34
|
+
default: number;
|
|
35
|
+
type: NumberConstructor;
|
|
36
|
+
};
|
|
37
|
+
path: {
|
|
38
|
+
default: string;
|
|
39
|
+
type: StringConstructor;
|
|
40
|
+
};
|
|
41
|
+
title: {
|
|
42
|
+
default: undefined;
|
|
43
|
+
type: StringConstructor;
|
|
44
|
+
};
|
|
45
|
+
}>> & Readonly<{}>, {
|
|
46
|
+
description: string;
|
|
47
|
+
title: string;
|
|
48
|
+
path: string;
|
|
49
|
+
intervalMs: number;
|
|
50
|
+
class: string;
|
|
51
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { type PropType } from 'vue';
|
|
2
|
+
import type { VoiceProviderSimulationProvider } from '../client/providerSimulationControls';
|
|
3
|
+
export declare const VoiceProviderSimulationControls: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
class: {
|
|
5
|
+
default: string;
|
|
6
|
+
type: StringConstructor;
|
|
7
|
+
};
|
|
8
|
+
fallbackRequiredMessage: {
|
|
9
|
+
default: undefined;
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
};
|
|
12
|
+
fallbackRequiredProvider: {
|
|
13
|
+
default: undefined;
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
};
|
|
16
|
+
failureMessage: {
|
|
17
|
+
default: undefined;
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
};
|
|
20
|
+
failureProviders: {
|
|
21
|
+
default: undefined;
|
|
22
|
+
type: PropType<readonly string[] | undefined>;
|
|
23
|
+
};
|
|
24
|
+
kind: {
|
|
25
|
+
default: string;
|
|
26
|
+
type: StringConstructor;
|
|
27
|
+
};
|
|
28
|
+
pathPrefix: {
|
|
29
|
+
default: undefined;
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
};
|
|
32
|
+
providers: {
|
|
33
|
+
required: true;
|
|
34
|
+
type: PropType<readonly VoiceProviderSimulationProvider[]>;
|
|
35
|
+
};
|
|
36
|
+
title: {
|
|
37
|
+
default: undefined;
|
|
38
|
+
type: StringConstructor;
|
|
39
|
+
};
|
|
40
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
41
|
+
[key: string]: any;
|
|
42
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
43
|
+
class: {
|
|
44
|
+
default: string;
|
|
45
|
+
type: StringConstructor;
|
|
46
|
+
};
|
|
47
|
+
fallbackRequiredMessage: {
|
|
48
|
+
default: undefined;
|
|
49
|
+
type: StringConstructor;
|
|
50
|
+
};
|
|
51
|
+
fallbackRequiredProvider: {
|
|
52
|
+
default: undefined;
|
|
53
|
+
type: StringConstructor;
|
|
54
|
+
};
|
|
55
|
+
failureMessage: {
|
|
56
|
+
default: undefined;
|
|
57
|
+
type: StringConstructor;
|
|
58
|
+
};
|
|
59
|
+
failureProviders: {
|
|
60
|
+
default: undefined;
|
|
61
|
+
type: PropType<readonly string[] | undefined>;
|
|
62
|
+
};
|
|
63
|
+
kind: {
|
|
64
|
+
default: string;
|
|
65
|
+
type: StringConstructor;
|
|
66
|
+
};
|
|
67
|
+
pathPrefix: {
|
|
68
|
+
default: undefined;
|
|
69
|
+
type: StringConstructor;
|
|
70
|
+
};
|
|
71
|
+
providers: {
|
|
72
|
+
required: true;
|
|
73
|
+
type: PropType<readonly VoiceProviderSimulationProvider[]>;
|
|
74
|
+
};
|
|
75
|
+
title: {
|
|
76
|
+
default: undefined;
|
|
77
|
+
type: StringConstructor;
|
|
78
|
+
};
|
|
79
|
+
}>> & Readonly<{}>, {
|
|
80
|
+
kind: string;
|
|
81
|
+
title: string;
|
|
82
|
+
fallbackRequiredProvider: string;
|
|
83
|
+
fallbackRequiredMessage: string;
|
|
84
|
+
failureProviders: readonly string[] | undefined;
|
|
85
|
+
failureMessage: string;
|
|
86
|
+
pathPrefix: string;
|
|
87
|
+
class: string;
|
|
88
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
export declare const VoiceProviderStatus: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
class: {
|
|
3
|
+
default: string;
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
};
|
|
6
|
+
description: {
|
|
7
|
+
default: undefined;
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
};
|
|
10
|
+
intervalMs: {
|
|
11
|
+
default: number;
|
|
12
|
+
type: NumberConstructor;
|
|
13
|
+
};
|
|
14
|
+
path: {
|
|
15
|
+
default: string;
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
};
|
|
18
|
+
title: {
|
|
19
|
+
default: undefined;
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
};
|
|
22
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
23
|
+
[key: string]: any;
|
|
24
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
25
|
+
class: {
|
|
26
|
+
default: string;
|
|
27
|
+
type: StringConstructor;
|
|
28
|
+
};
|
|
29
|
+
description: {
|
|
30
|
+
default: undefined;
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
};
|
|
33
|
+
intervalMs: {
|
|
34
|
+
default: number;
|
|
35
|
+
type: NumberConstructor;
|
|
36
|
+
};
|
|
37
|
+
path: {
|
|
38
|
+
default: string;
|
|
39
|
+
type: StringConstructor;
|
|
40
|
+
};
|
|
41
|
+
title: {
|
|
42
|
+
default: undefined;
|
|
43
|
+
type: StringConstructor;
|
|
44
|
+
};
|
|
45
|
+
}>> & Readonly<{}>, {
|
|
46
|
+
description: string;
|
|
47
|
+
title: string;
|
|
48
|
+
path: string;
|
|
49
|
+
intervalMs: number;
|
|
50
|
+
class: string;
|
|
51
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
export declare const VoiceRoutingStatus: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
class: {
|
|
3
|
+
default: string;
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
};
|
|
6
|
+
description: {
|
|
7
|
+
default: undefined;
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
};
|
|
10
|
+
intervalMs: {
|
|
11
|
+
default: number;
|
|
12
|
+
type: NumberConstructor;
|
|
13
|
+
};
|
|
14
|
+
path: {
|
|
15
|
+
default: string;
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
};
|
|
18
|
+
title: {
|
|
19
|
+
default: undefined;
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
};
|
|
22
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
23
|
+
[key: string]: any;
|
|
24
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
25
|
+
class: {
|
|
26
|
+
default: string;
|
|
27
|
+
type: StringConstructor;
|
|
28
|
+
};
|
|
29
|
+
description: {
|
|
30
|
+
default: undefined;
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
};
|
|
33
|
+
intervalMs: {
|
|
34
|
+
default: number;
|
|
35
|
+
type: NumberConstructor;
|
|
36
|
+
};
|
|
37
|
+
path: {
|
|
38
|
+
default: string;
|
|
39
|
+
type: StringConstructor;
|
|
40
|
+
};
|
|
41
|
+
title: {
|
|
42
|
+
default: undefined;
|
|
43
|
+
type: StringConstructor;
|
|
44
|
+
};
|
|
45
|
+
}>> & Readonly<{}>, {
|
|
46
|
+
description: string;
|
|
47
|
+
title: string;
|
|
48
|
+
path: string;
|
|
49
|
+
intervalMs: number;
|
|
50
|
+
class: string;
|
|
51
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
export declare const VoiceTurnLatency: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
class: {
|
|
3
|
+
default: string;
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
};
|
|
6
|
+
description: {
|
|
7
|
+
default: undefined;
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
};
|
|
10
|
+
intervalMs: {
|
|
11
|
+
default: number;
|
|
12
|
+
type: NumberConstructor;
|
|
13
|
+
};
|
|
14
|
+
path: {
|
|
15
|
+
default: string;
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
};
|
|
18
|
+
proofLabel: {
|
|
19
|
+
default: undefined;
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
};
|
|
22
|
+
proofPath: {
|
|
23
|
+
default: undefined;
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
};
|
|
26
|
+
title: {
|
|
27
|
+
default: undefined;
|
|
28
|
+
type: StringConstructor;
|
|
29
|
+
};
|
|
30
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
31
|
+
[key: string]: any;
|
|
32
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
33
|
+
class: {
|
|
34
|
+
default: string;
|
|
35
|
+
type: StringConstructor;
|
|
36
|
+
};
|
|
37
|
+
description: {
|
|
38
|
+
default: undefined;
|
|
39
|
+
type: StringConstructor;
|
|
40
|
+
};
|
|
41
|
+
intervalMs: {
|
|
42
|
+
default: number;
|
|
43
|
+
type: NumberConstructor;
|
|
44
|
+
};
|
|
45
|
+
path: {
|
|
46
|
+
default: string;
|
|
47
|
+
type: StringConstructor;
|
|
48
|
+
};
|
|
49
|
+
proofLabel: {
|
|
50
|
+
default: undefined;
|
|
51
|
+
type: StringConstructor;
|
|
52
|
+
};
|
|
53
|
+
proofPath: {
|
|
54
|
+
default: undefined;
|
|
55
|
+
type: StringConstructor;
|
|
56
|
+
};
|
|
57
|
+
title: {
|
|
58
|
+
default: undefined;
|
|
59
|
+
type: StringConstructor;
|
|
60
|
+
};
|
|
61
|
+
}>> & Readonly<{}>, {
|
|
62
|
+
description: string;
|
|
63
|
+
title: string;
|
|
64
|
+
path: string;
|
|
65
|
+
intervalMs: number;
|
|
66
|
+
proofPath: string;
|
|
67
|
+
proofLabel: string;
|
|
68
|
+
class: string;
|
|
69
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
export declare const VoiceTurnQuality: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
class: {
|
|
3
|
+
default: string;
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
};
|
|
6
|
+
description: {
|
|
7
|
+
default: undefined;
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
};
|
|
10
|
+
intervalMs: {
|
|
11
|
+
default: number;
|
|
12
|
+
type: NumberConstructor;
|
|
13
|
+
};
|
|
14
|
+
path: {
|
|
15
|
+
default: string;
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
};
|
|
18
|
+
title: {
|
|
19
|
+
default: undefined;
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
};
|
|
22
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
23
|
+
[key: string]: any;
|
|
24
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
25
|
+
class: {
|
|
26
|
+
default: string;
|
|
27
|
+
type: StringConstructor;
|
|
28
|
+
};
|
|
29
|
+
description: {
|
|
30
|
+
default: undefined;
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
};
|
|
33
|
+
intervalMs: {
|
|
34
|
+
default: number;
|
|
35
|
+
type: NumberConstructor;
|
|
36
|
+
};
|
|
37
|
+
path: {
|
|
38
|
+
default: string;
|
|
39
|
+
type: StringConstructor;
|
|
40
|
+
};
|
|
41
|
+
title: {
|
|
42
|
+
default: undefined;
|
|
43
|
+
type: StringConstructor;
|
|
44
|
+
};
|
|
45
|
+
}>> & Readonly<{}>, {
|
|
46
|
+
description: string;
|
|
47
|
+
title: string;
|
|
48
|
+
path: string;
|
|
49
|
+
intervalMs: number;
|
|
50
|
+
class: string;
|
|
51
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
package/dist/vue/index.d.ts
CHANGED
|
@@ -1,2 +1,19 @@
|
|
|
1
|
+
export { VoiceOpsStatus } from './VoiceOpsStatus';
|
|
2
|
+
export { VoiceProviderSimulationControls } from './VoiceProviderSimulationControls';
|
|
3
|
+
export { VoiceProviderCapabilities } from './VoiceProviderCapabilities';
|
|
4
|
+
export { VoiceProviderStatus } from './VoiceProviderStatus';
|
|
5
|
+
export { VoiceRoutingStatus } from './VoiceRoutingStatus';
|
|
6
|
+
export { VoiceTurnLatency } from './VoiceTurnLatency';
|
|
7
|
+
export { VoiceTurnQuality } from './VoiceTurnQuality';
|
|
8
|
+
export { useVoiceAppKitStatus } from './useVoiceAppKitStatus';
|
|
9
|
+
export { useVoiceCampaignDialerProof } from './useVoiceCampaignDialerProof';
|
|
1
10
|
export { useVoiceStream } from './useVoiceStream';
|
|
2
11
|
export { useVoiceController } from './useVoiceController';
|
|
12
|
+
export { useVoiceProviderStatus } from './useVoiceProviderStatus';
|
|
13
|
+
export { useVoiceProviderCapabilities } from './useVoiceProviderCapabilities';
|
|
14
|
+
export { useVoiceProviderSimulationControls } from './useVoiceProviderSimulationControls';
|
|
15
|
+
export { useVoiceRoutingStatus } from './useVoiceRoutingStatus';
|
|
16
|
+
export { useVoiceTraceTimeline } from './useVoiceTraceTimeline';
|
|
17
|
+
export { useVoiceTurnLatency } from './useVoiceTurnLatency';
|
|
18
|
+
export { useVoiceTurnQuality } from './useVoiceTurnQuality';
|
|
19
|
+
export { useVoiceWorkflowStatus } from './useVoiceWorkflowStatus';
|