bridgeapp-ai-chat-widget 0.2.14 → 0.2.16

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/index.d.ts DELETED
@@ -1,34 +0,0 @@
1
- import type { ExternallyAvailableActions } from "./avatar/Avatar";
2
- import type { WidgetConfig } from "./index.types";
3
- import type { CustomerInteractionSession } from "./types";
4
- export declare const ASSETS_URL = "https://metamediastatic.com";
5
- export declare class ChatWidgetInstance extends EventTarget {
6
- private root;
7
- private shadowRoot;
8
- private config;
9
- private gui;
10
- private setOpenImpl;
11
- private sendServiceMessageImpl;
12
- private playAnimationImpl;
13
- private executeReactionImpl;
14
- private resolveAssetPath;
15
- private setLocaleImpl;
16
- constructor(config: WidgetConfig);
17
- private initGui;
18
- private init;
19
- private fetchAndMergeRemoteConfig;
20
- private onAvatarReady;
21
- private onSessionExpired;
22
- private injectStyles;
23
- setOpen(open: boolean): void;
24
- playAnimation(name: ExternallyAvailableActions): void;
25
- setCustomerInteractionSession(session: CustomerInteractionSession): void;
26
- executeReaction(params: {
27
- animation: ExternallyAvailableActions;
28
- voice: string;
29
- text: string;
30
- }): void;
31
- sendServiceMessage(message: string, animationName: ExternallyAvailableActions): void;
32
- setLocale(locale: string): void;
33
- destroy(): void;
34
- }
@@ -1,3 +0,0 @@
1
- import { type AppApi } from "@/App";
2
- import type { WidgetConfig } from "@/index.types";
3
- export declare function mountWidget(mount: HTMLElement, config: WidgetConfig, api: AppApi): import("react-dom/client").Root;