@absolutejs/voice 0.0.22-beta.242 → 0.0.22-beta.243
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 +1 -0
- package/dist/angular/index.js +306 -181
- package/dist/angular/voice-proof-trends.service.d.ts +12 -0
- package/dist/client/index.d.ts +2 -0
- package/dist/client/index.js +490 -190
- package/dist/client/proofTrends.d.ts +19 -0
- package/dist/client/proofTrendsWidget.d.ts +37 -0
- package/dist/react/VoiceProofTrends.d.ts +6 -0
- package/dist/react/index.d.ts +2 -0
- package/dist/react/index.js +730 -350
- package/dist/react/useVoiceProofTrends.d.ts +8 -0
- package/dist/svelte/createVoiceProofTrends.d.ts +7 -0
- package/dist/svelte/index.d.ts +1 -0
- package/dist/svelte/index.js +90 -0
- package/dist/vue/VoiceProofTrends.d.ts +21 -0
- package/dist/vue/index.d.ts +2 -0
- package/dist/vue/index.js +704 -321
- package/dist/vue/useVoiceProofTrends.d.ts +9 -0
- package/package.json +1 -1
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { VoiceProofTrendReport } from '../proofTrends';
|
|
2
|
+
export type VoiceProofTrendsClientOptions = {
|
|
3
|
+
fetch?: typeof fetch;
|
|
4
|
+
intervalMs?: number;
|
|
5
|
+
};
|
|
6
|
+
export type VoiceProofTrendsSnapshot = {
|
|
7
|
+
error: string | null;
|
|
8
|
+
isLoading: boolean;
|
|
9
|
+
report?: VoiceProofTrendReport;
|
|
10
|
+
updatedAt?: number;
|
|
11
|
+
};
|
|
12
|
+
export declare const fetchVoiceProofTrends: (path?: string, options?: Pick<VoiceProofTrendsClientOptions, "fetch">) => Promise<VoiceProofTrendReport>;
|
|
13
|
+
export declare const createVoiceProofTrendsStore: (path?: string, options?: VoiceProofTrendsClientOptions) => {
|
|
14
|
+
close: () => void;
|
|
15
|
+
getServerSnapshot: () => VoiceProofTrendsSnapshot;
|
|
16
|
+
getSnapshot: () => VoiceProofTrendsSnapshot;
|
|
17
|
+
refresh: () => Promise<VoiceProofTrendReport | undefined>;
|
|
18
|
+
subscribe: (listener: () => void) => () => void;
|
|
19
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { type VoiceProofTrendReport } from '../proofTrends';
|
|
2
|
+
import { type VoiceProofTrendsClientOptions, type VoiceProofTrendsSnapshot } from './proofTrends';
|
|
3
|
+
export type VoiceProofTrendsMetricView = {
|
|
4
|
+
label: string;
|
|
5
|
+
value: string;
|
|
6
|
+
};
|
|
7
|
+
export type VoiceProofTrendsViewModel = {
|
|
8
|
+
description: string;
|
|
9
|
+
error: string | null;
|
|
10
|
+
isLoading: boolean;
|
|
11
|
+
label: string;
|
|
12
|
+
links: Array<{
|
|
13
|
+
href: string;
|
|
14
|
+
label: string;
|
|
15
|
+
}>;
|
|
16
|
+
metrics: VoiceProofTrendsMetricView[];
|
|
17
|
+
report?: VoiceProofTrendReport;
|
|
18
|
+
status: 'empty' | 'error' | 'loading' | 'ready' | 'warning';
|
|
19
|
+
title: string;
|
|
20
|
+
updatedAt?: number;
|
|
21
|
+
};
|
|
22
|
+
export type VoiceProofTrendsWidgetOptions = VoiceProofTrendsClientOptions & {
|
|
23
|
+
description?: string;
|
|
24
|
+
links?: Array<{
|
|
25
|
+
href: string;
|
|
26
|
+
label: string;
|
|
27
|
+
}>;
|
|
28
|
+
title?: string;
|
|
29
|
+
};
|
|
30
|
+
export declare const createVoiceProofTrendsViewModel: (snapshot: VoiceProofTrendsSnapshot, options?: VoiceProofTrendsWidgetOptions) => VoiceProofTrendsViewModel;
|
|
31
|
+
export declare const renderVoiceProofTrendsHTML: (snapshot: VoiceProofTrendsSnapshot, options?: VoiceProofTrendsWidgetOptions) => string;
|
|
32
|
+
export declare const getVoiceProofTrendsCSS: () => string;
|
|
33
|
+
export declare const mountVoiceProofTrends: (element: Element, path?: string, options?: VoiceProofTrendsWidgetOptions) => {
|
|
34
|
+
close: () => void;
|
|
35
|
+
refresh: () => Promise<VoiceProofTrendReport | undefined>;
|
|
36
|
+
};
|
|
37
|
+
export declare const defineVoiceProofTrendsElement: (tagName?: string) => void;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { type VoiceProofTrendsWidgetOptions } from '../client/proofTrendsWidget';
|
|
2
|
+
export type VoiceProofTrendsProps = VoiceProofTrendsWidgetOptions & {
|
|
3
|
+
className?: string;
|
|
4
|
+
path?: string;
|
|
5
|
+
};
|
|
6
|
+
export declare const VoiceProofTrends: ({ className, path, ...options }: VoiceProofTrendsProps) => import("react/jsx-runtime").JSX.Element;
|
package/dist/react/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ export { VoiceOpsStatus } from './VoiceOpsStatus';
|
|
|
2
2
|
export { VoiceOpsActionCenter } from './VoiceOpsActionCenter';
|
|
3
3
|
export { VoiceDeliveryRuntime } from './VoiceDeliveryRuntime';
|
|
4
4
|
export { VoicePlatformCoverage } from './VoicePlatformCoverage';
|
|
5
|
+
export { VoiceProofTrends } from './VoiceProofTrends';
|
|
5
6
|
export { VoiceProviderSimulationControls } from './VoiceProviderSimulationControls';
|
|
6
7
|
export { VoiceProviderCapabilities } from './VoiceProviderCapabilities';
|
|
7
8
|
export { VoiceProviderContracts } from './VoiceProviderContracts';
|
|
@@ -13,6 +14,7 @@ export { VoiceTurnLatency } from './VoiceTurnLatency';
|
|
|
13
14
|
export { VoiceTurnQuality } from './VoiceTurnQuality';
|
|
14
15
|
export { useVoiceOpsStatus } from './useVoiceOpsStatus';
|
|
15
16
|
export { useVoicePlatformCoverage } from './useVoicePlatformCoverage';
|
|
17
|
+
export { useVoiceProofTrends } from './useVoiceProofTrends';
|
|
16
18
|
export { useVoiceOpsActionCenter } from './useVoiceOpsActionCenter';
|
|
17
19
|
export { useVoiceLiveOps } from './useVoiceLiveOps';
|
|
18
20
|
export { useVoiceDeliveryRuntime } from './useVoiceDeliveryRuntime';
|