@absolutejs/voice 0.0.22-beta.505 → 0.0.22-beta.507
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/dist/angular/index.d.ts +2 -0
- package/dist/angular/index.js +463 -277
- package/dist/angular/voice-call-player.service.d.ts +19 -0
- package/dist/assistantExperiment.d.ts +41 -0
- package/dist/client/browserVoiceSupport.d.ts +22 -0
- package/dist/client/callPlayer.d.ts +41 -0
- package/dist/client/conversationAnalytics.d.ts +29 -0
- package/dist/client/liveAgentConsole.d.ts +28 -0
- package/dist/costPredictor.d.ts +74 -0
- package/dist/iceServers.d.ts +34 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +398 -2
- package/dist/phoneProvisioning.d.ts +29 -0
- package/dist/react/VoiceCallPlayer.d.ts +11 -0
- package/dist/react/index.d.ts +2 -0
- package/dist/react/index.js +433 -55
- package/dist/svelte/createVoiceCallPlayer.d.ts +33 -0
- package/dist/svelte/index.d.ts +2 -0
- package/dist/svelte/index.js +379 -190
- package/dist/vue/VoiceCallPlayer.d.ts +40 -0
- package/dist/vue/index.d.ts +1 -0
- package/dist/vue/index.js +412 -69
- package/dist/webhookFanout.d.ts +48 -0
- package/package.json +1 -1
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { type VoiceCallPlayerOptions, type VoiceCallPlayerState } from "../client/callPlayer";
|
|
2
|
+
export type CreateVoiceCallPlayerOptions = VoiceCallPlayerOptions & {
|
|
3
|
+
title?: string;
|
|
4
|
+
};
|
|
5
|
+
export declare const renderVoiceCallPlayerHTML: (state: VoiceCallPlayerState, options?: {
|
|
6
|
+
title?: string;
|
|
7
|
+
transcripts?: ReadonlyArray<{
|
|
8
|
+
id: string;
|
|
9
|
+
text: string;
|
|
10
|
+
startedAtMs?: number;
|
|
11
|
+
}>;
|
|
12
|
+
}) => string;
|
|
13
|
+
export declare const createVoiceCallPlayer: (options?: CreateVoiceCallPlayerOptions) => {
|
|
14
|
+
getHTML: () => string;
|
|
15
|
+
title: string | undefined;
|
|
16
|
+
getState: () => VoiceCallPlayerState;
|
|
17
|
+
pause: () => void;
|
|
18
|
+
play: () => Promise<void>;
|
|
19
|
+
reset: () => void;
|
|
20
|
+
seekMs: (positionMs: number) => void;
|
|
21
|
+
seekToTranscript: (transcriptId: string) => void;
|
|
22
|
+
setAudioUrl: (url: string | undefined) => void;
|
|
23
|
+
setBuffered: (seconds: number) => void;
|
|
24
|
+
setDuration: (durationMs: number) => void;
|
|
25
|
+
setError: (error: string | undefined) => void;
|
|
26
|
+
setPlaybackRate: (rate: number) => void;
|
|
27
|
+
setPlaying: (playing: boolean) => void;
|
|
28
|
+
setReady: (ready: boolean) => void;
|
|
29
|
+
setTime: (positionMs: number) => void;
|
|
30
|
+
setTranscripts: (transcripts: ReadonlyArray<import("..").Transcript>) => void;
|
|
31
|
+
subscribe: (listener: () => void) => () => void;
|
|
32
|
+
transcripts: () => ReadonlyArray<import("..").Transcript>;
|
|
33
|
+
};
|
package/dist/svelte/index.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export { createVoiceCampaignDialerProof } from "./createVoiceCampaignDialerProof";
|
|
2
|
+
export { createVoiceCallPlayer, renderVoiceCallPlayerHTML, } from "./createVoiceCallPlayer";
|
|
3
|
+
export type { CreateVoiceCallPlayerOptions } from "./createVoiceCallPlayer";
|
|
2
4
|
export { createVoiceWidget } from "./createVoiceWidget";
|
|
3
5
|
export type { CreateVoiceWidgetOptions, VoiceWidgetLabels, VoiceWidgetTheme, VoiceWidgetViewModel, } from "./createVoiceWidget";
|
|
4
6
|
export { createVoiceCostDashboard, renderVoiceCostDashboardHTML, } from "./createVoiceCostDashboard";
|