@absolutejs/voice 0.0.22-beta.506 → 0.0.22-beta.508

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.
@@ -0,0 +1,11 @@
1
+ import { type LiveAgentConsole } from "../client/liveAgentConsole";
2
+ export type VoiceLiveAgentConsoleProps = {
3
+ className?: string;
4
+ console?: LiveAgentConsole;
5
+ onTakeover?: (reason?: string) => void;
6
+ sessionId?: string;
7
+ takeoverButtonLabel?: string;
8
+ takeoverReason?: string;
9
+ title?: string;
10
+ };
11
+ export declare const VoiceLiveAgentConsole: ({ className, console: consoleProp, onTakeover, sessionId, takeoverButtonLabel, takeoverReason, title, }: VoiceLiveAgentConsoleProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,23 @@
1
+ import { type CreateLiveAgentConsoleOptions, type LiveAgentConsoleState } from "../client/liveAgentConsole";
2
+ export type CreateVoiceLiveAgentConsoleSvelteOptions = CreateLiveAgentConsoleOptions & {
3
+ takeoverButtonLabel?: string;
4
+ title?: string;
5
+ };
6
+ export declare const renderVoiceLiveAgentConsoleHTML: (state: LiveAgentConsoleState, options?: {
7
+ takeoverButtonLabel?: string;
8
+ title?: string;
9
+ }) => string;
10
+ export declare const createVoiceLiveAgentConsole: (options: CreateVoiceLiveAgentConsoleSvelteOptions) => {
11
+ getHTML: () => string;
12
+ takeoverButtonLabel: string;
13
+ title: string;
14
+ getState: () => LiveAgentConsoleState;
15
+ noteAgentAudio: (at?: number) => void;
16
+ notePartial: (text: string, at?: number) => void;
17
+ noteTranscript: (text: string, at?: number) => void;
18
+ releaseTakeover: () => void;
19
+ setCaller: (caller: import("..").VoiceCallerMemorySnapshot | undefined) => void;
20
+ subscribe: (listener: () => void) => () => void;
21
+ takeover: (reason?: string) => void;
22
+ viewer: import("..").LiveCallViewer;
23
+ };
@@ -5,6 +5,8 @@ export { createVoiceWidget } from "./createVoiceWidget";
5
5
  export type { CreateVoiceWidgetOptions, VoiceWidgetLabels, VoiceWidgetTheme, VoiceWidgetViewModel, } from "./createVoiceWidget";
6
6
  export { createVoiceCostDashboard, renderVoiceCostDashboardHTML, } from "./createVoiceCostDashboard";
7
7
  export type { CreateVoiceCostDashboardOptions } from "./createVoiceCostDashboard";
8
+ export { createVoiceLiveAgentConsole, renderVoiceLiveAgentConsoleHTML, } from "./createVoiceLiveAgentConsole";
9
+ export type { CreateVoiceLiveAgentConsoleSvelteOptions } from "./createVoiceLiveAgentConsole";
8
10
  export { createVoiceLiveCallViewer, renderVoiceLiveCallViewerHTML, } from "./createVoiceLiveCallViewer";
9
11
  export type { CreateVoiceLiveCallViewerSvelteOptions } from "./createVoiceLiveCallViewer";
10
12
  export { createVoiceReplayTimeline, renderVoiceReplayTimelineHTML, } from "./createVoiceReplayTimeline";