@absolutejs/voice 0.0.22-beta.239 → 0.0.22-beta.240

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,37 @@
1
+ import type { VoicePlatformCoverageSurface } from '../platformCoverage';
2
+ import { type VoicePlatformCoverageClientOptions, type VoicePlatformCoverageSnapshot } from './platformCoverage';
3
+ export type VoicePlatformCoverageSurfaceView = VoicePlatformCoverageSurface & {
4
+ detail: string;
5
+ label: string;
6
+ };
7
+ export type VoicePlatformCoverageViewModel = {
8
+ description: string;
9
+ error: string | null;
10
+ isLoading: boolean;
11
+ label: string;
12
+ links: Array<{
13
+ href: string;
14
+ label: string;
15
+ }>;
16
+ status: 'empty' | 'error' | 'loading' | 'ready' | 'warning';
17
+ surfaces: VoicePlatformCoverageSurfaceView[];
18
+ title: string;
19
+ updatedAt?: number;
20
+ };
21
+ export type VoicePlatformCoverageWidgetOptions = VoicePlatformCoverageClientOptions & {
22
+ description?: string;
23
+ links?: Array<{
24
+ href: string;
25
+ label: string;
26
+ }>;
27
+ limit?: number;
28
+ title?: string;
29
+ };
30
+ export declare const createVoicePlatformCoverageViewModel: (snapshot: VoicePlatformCoverageSnapshot, options?: VoicePlatformCoverageWidgetOptions) => VoicePlatformCoverageViewModel;
31
+ export declare const renderVoicePlatformCoverageHTML: (snapshot: VoicePlatformCoverageSnapshot, options?: VoicePlatformCoverageWidgetOptions) => string;
32
+ export declare const getVoicePlatformCoverageCSS: () => string;
33
+ export declare const mountVoicePlatformCoverage: (element: Element, path?: string, options?: VoicePlatformCoverageWidgetOptions) => {
34
+ close: () => void;
35
+ refresh: () => Promise<import("..").VoicePlatformCoverageSummary | undefined>;
36
+ };
37
+ export declare const defineVoicePlatformCoverageElement: (tagName?: string) => void;
@@ -0,0 +1,6 @@
1
+ import { type VoicePlatformCoverageWidgetOptions } from '../client/platformCoverageWidget';
2
+ export type VoicePlatformCoverageProps = VoicePlatformCoverageWidgetOptions & {
3
+ className?: string;
4
+ path?: string;
5
+ };
6
+ export declare const VoicePlatformCoverage: ({ className, path, ...options }: VoicePlatformCoverageProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,6 +1,7 @@
1
1
  export { VoiceOpsStatus } from './VoiceOpsStatus';
2
2
  export { VoiceOpsActionCenter } from './VoiceOpsActionCenter';
3
3
  export { VoiceDeliveryRuntime } from './VoiceDeliveryRuntime';
4
+ export { VoicePlatformCoverage } from './VoicePlatformCoverage';
4
5
  export { VoiceProviderSimulationControls } from './VoiceProviderSimulationControls';
5
6
  export { VoiceProviderCapabilities } from './VoiceProviderCapabilities';
6
7
  export { VoiceProviderContracts } from './VoiceProviderContracts';