@absolutejs/voice 0.0.22-beta.351 → 0.0.22-beta.353
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 +313 -192
- package/dist/angular/voice-profile-comparison.service.d.ts +12 -0
- package/dist/client/index.d.ts +4 -0
- package/dist/client/index.js +429 -211
- package/dist/client/profileComparison.d.ts +19 -0
- package/dist/client/profileComparisonWidget.d.ts +41 -0
- package/dist/client/routingStatusWidget.d.ts +4 -0
- package/dist/react/VoiceProfileComparison.d.ts +6 -0
- package/dist/react/index.d.ts +2 -0
- package/dist/react/index.js +715 -396
- package/dist/react/useVoiceProfileComparison.d.ts +8 -0
- package/dist/svelte/createVoiceProfileComparison.d.ts +7 -0
- package/dist/svelte/index.d.ts +1 -0
- package/dist/svelte/index.js +128 -1
- package/dist/vue/index.d.ts +1 -0
- package/dist/vue/index.js +203 -52
- package/dist/vue/useVoiceProfileComparison.d.ts +9 -0
- package/package.json +1 -1
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { VoiceRealCallProfileHistoryReport } from '../proofTrends';
|
|
2
|
+
export type VoiceProfileComparisonClientOptions = {
|
|
3
|
+
fetch?: typeof fetch;
|
|
4
|
+
intervalMs?: number;
|
|
5
|
+
};
|
|
6
|
+
export type VoiceProfileComparisonSnapshot = {
|
|
7
|
+
error: string | null;
|
|
8
|
+
isLoading: boolean;
|
|
9
|
+
report?: VoiceRealCallProfileHistoryReport;
|
|
10
|
+
updatedAt?: number;
|
|
11
|
+
};
|
|
12
|
+
export declare const fetchVoiceProfileComparison: (path?: string, options?: Pick<VoiceProfileComparisonClientOptions, "fetch">) => Promise<VoiceRealCallProfileHistoryReport>;
|
|
13
|
+
export declare const createVoiceProfileComparisonStore: (path?: string, options?: VoiceProfileComparisonClientOptions) => {
|
|
14
|
+
close: () => void;
|
|
15
|
+
getServerSnapshot: () => VoiceProfileComparisonSnapshot;
|
|
16
|
+
getSnapshot: () => VoiceProfileComparisonSnapshot;
|
|
17
|
+
refresh: () => Promise<VoiceRealCallProfileHistoryReport | undefined>;
|
|
18
|
+
subscribe: (listener: () => void) => () => void;
|
|
19
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { type VoiceProfileComparisonClientOptions, type VoiceProfileComparisonSnapshot } from './profileComparison';
|
|
2
|
+
export type VoiceProfileComparisonProfileView = {
|
|
3
|
+
evidence: Array<{
|
|
4
|
+
label: string;
|
|
5
|
+
value: string;
|
|
6
|
+
}>;
|
|
7
|
+
label: string;
|
|
8
|
+
nextMove: string;
|
|
9
|
+
profileId: string;
|
|
10
|
+
providerRoutes: string;
|
|
11
|
+
status: string;
|
|
12
|
+
};
|
|
13
|
+
export type VoiceProfileComparisonViewModel = {
|
|
14
|
+
description: string;
|
|
15
|
+
error: string | null;
|
|
16
|
+
isLoading: boolean;
|
|
17
|
+
label: string;
|
|
18
|
+
links: Array<{
|
|
19
|
+
href: string;
|
|
20
|
+
label: string;
|
|
21
|
+
}>;
|
|
22
|
+
profiles: VoiceProfileComparisonProfileView[];
|
|
23
|
+
status: 'empty' | 'error' | 'loading' | 'ready' | 'warning';
|
|
24
|
+
title: string;
|
|
25
|
+
};
|
|
26
|
+
export type VoiceProfileComparisonWidgetOptions = VoiceProfileComparisonClientOptions & {
|
|
27
|
+
description?: string;
|
|
28
|
+
links?: Array<{
|
|
29
|
+
href: string;
|
|
30
|
+
label: string;
|
|
31
|
+
}>;
|
|
32
|
+
title?: string;
|
|
33
|
+
};
|
|
34
|
+
export declare const createVoiceProfileComparisonViewModel: (snapshot: VoiceProfileComparisonSnapshot, options?: VoiceProfileComparisonWidgetOptions) => VoiceProfileComparisonViewModel;
|
|
35
|
+
export declare const renderVoiceProfileComparisonHTML: (snapshot: VoiceProfileComparisonSnapshot, options?: VoiceProfileComparisonWidgetOptions) => string;
|
|
36
|
+
export declare const getVoiceProfileComparisonCSS: () => string;
|
|
37
|
+
export declare const mountVoiceProfileComparison: (element: Element, path?: string, options?: VoiceProfileComparisonWidgetOptions) => {
|
|
38
|
+
close: () => void;
|
|
39
|
+
refresh: () => Promise<import("..").VoiceRealCallProfileHistoryReport | undefined>;
|
|
40
|
+
};
|
|
41
|
+
export declare const defineVoiceProfileComparisonElement: (tagName?: string) => void;
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import type { VoiceRoutingDecisionSummary } from '../resilienceRoutes';
|
|
2
2
|
import { type VoiceRoutingStatusClientOptions, type VoiceRoutingStatusSnapshot } from './routingStatus';
|
|
3
3
|
export type VoiceRoutingStatusViewModel = {
|
|
4
|
+
activeStack: Array<{
|
|
5
|
+
label: string;
|
|
6
|
+
value: string;
|
|
7
|
+
}>;
|
|
4
8
|
decision: VoiceRoutingDecisionSummary | null;
|
|
5
9
|
description: string;
|
|
6
10
|
error: string | null;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { type VoiceProfileComparisonWidgetOptions } from '../client/profileComparisonWidget';
|
|
2
|
+
export type VoiceProfileComparisonProps = VoiceProfileComparisonWidgetOptions & {
|
|
3
|
+
className?: string;
|
|
4
|
+
path?: string;
|
|
5
|
+
};
|
|
6
|
+
export declare const VoiceProfileComparison: ({ className, path, ...options }: VoiceProfileComparisonProps) => import("react/jsx-runtime").JSX.Element;
|
package/dist/react/index.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ export { VoiceOpsActionCenter } from './VoiceOpsActionCenter';
|
|
|
3
3
|
export { VoiceDeliveryRuntime } from './VoiceDeliveryRuntime';
|
|
4
4
|
export { VoicePlatformCoverage } from './VoicePlatformCoverage';
|
|
5
5
|
export { VoiceProofTrends } from './VoiceProofTrends';
|
|
6
|
+
export { VoiceProfileComparison } from './VoiceProfileComparison';
|
|
6
7
|
export { VoiceReadinessFailures } from './VoiceReadinessFailures';
|
|
7
8
|
export { VoiceProviderSimulationControls } from './VoiceProviderSimulationControls';
|
|
8
9
|
export { VoiceProviderCapabilities } from './VoiceProviderCapabilities';
|
|
@@ -16,6 +17,7 @@ export { VoiceTurnQuality } from './VoiceTurnQuality';
|
|
|
16
17
|
export { useVoiceOpsStatus } from './useVoiceOpsStatus';
|
|
17
18
|
export { useVoicePlatformCoverage } from './useVoicePlatformCoverage';
|
|
18
19
|
export { useVoiceProofTrends } from './useVoiceProofTrends';
|
|
20
|
+
export { useVoiceProfileComparison } from './useVoiceProfileComparison';
|
|
19
21
|
export { useVoiceReadinessFailures } from './useVoiceReadinessFailures';
|
|
20
22
|
export { useVoiceOpsActionCenter } from './useVoiceOpsActionCenter';
|
|
21
23
|
export { useVoiceLiveOps } from './useVoiceLiveOps';
|