@absolutejs/voice 0.0.22-beta.453 → 0.0.22-beta.454
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 +345 -224
- package/dist/angular/voice-reconnect-profile-evidence.service.d.ts +12 -0
- package/dist/client/index.d.ts +4 -0
- package/dist/client/index.js +467 -240
- package/dist/client/reconnectProfileEvidence.d.ts +19 -0
- package/dist/client/reconnectProfileEvidenceWidget.d.ts +39 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +28 -0
- package/dist/proofTrends.d.ts +18 -0
- package/dist/react/VoiceReconnectProfileEvidence.d.ts +6 -0
- package/dist/react/index.d.ts +2 -0
- package/dist/react/index.js +843 -526
- package/dist/react/useVoiceReconnectProfileEvidence.d.ts +8 -0
- package/dist/svelte/createVoiceReconnectProfileEvidence.d.ts +7 -0
- package/dist/svelte/index.d.ts +1 -0
- package/dist/svelte/index.js +86 -0
- package/dist/vue/VoiceReconnectProfileEvidence.d.ts +21 -0
- package/dist/vue/index.d.ts +2 -0
- package/dist/vue/index.js +749 -438
- package/dist/vue/useVoiceReconnectProfileEvidence.d.ts +9 -0
- package/package.json +1 -1
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { VoiceReconnectProfileEvidenceSummary } from "../proofTrends";
|
|
2
|
+
export type VoiceReconnectProfileEvidenceClientOptions = {
|
|
3
|
+
fetch?: typeof fetch;
|
|
4
|
+
intervalMs?: number;
|
|
5
|
+
};
|
|
6
|
+
export type VoiceReconnectProfileEvidenceSnapshot = {
|
|
7
|
+
error: string | null;
|
|
8
|
+
isLoading: boolean;
|
|
9
|
+
report?: VoiceReconnectProfileEvidenceSummary;
|
|
10
|
+
updatedAt?: number;
|
|
11
|
+
};
|
|
12
|
+
export declare const fetchVoiceReconnectProfileEvidence: (path?: string, options?: Pick<VoiceReconnectProfileEvidenceClientOptions, "fetch">) => Promise<VoiceReconnectProfileEvidenceSummary>;
|
|
13
|
+
export declare const createVoiceReconnectProfileEvidenceStore: (path?: string, options?: VoiceReconnectProfileEvidenceClientOptions) => {
|
|
14
|
+
close: () => void;
|
|
15
|
+
getServerSnapshot: () => VoiceReconnectProfileEvidenceSnapshot;
|
|
16
|
+
getSnapshot: () => VoiceReconnectProfileEvidenceSnapshot;
|
|
17
|
+
refresh: () => Promise<VoiceReconnectProfileEvidenceSummary | undefined>;
|
|
18
|
+
subscribe: (listener: () => void) => () => void;
|
|
19
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { type VoiceReconnectProfileEvidenceClientOptions, type VoiceReconnectProfileEvidenceSnapshot } from "./reconnectProfileEvidence";
|
|
2
|
+
export type VoiceReconnectProfileEvidenceMetricView = {
|
|
3
|
+
label: string;
|
|
4
|
+
value: string;
|
|
5
|
+
};
|
|
6
|
+
export type VoiceReconnectProfileEvidenceViewModel = {
|
|
7
|
+
description: string;
|
|
8
|
+
error: string | null;
|
|
9
|
+
isLoading: boolean;
|
|
10
|
+
label: string;
|
|
11
|
+
latest?: {
|
|
12
|
+
profileLabel: string;
|
|
13
|
+
sessionId: string;
|
|
14
|
+
surfaces: string;
|
|
15
|
+
};
|
|
16
|
+
links: Array<{
|
|
17
|
+
href: string;
|
|
18
|
+
label: string;
|
|
19
|
+
}>;
|
|
20
|
+
metrics: VoiceReconnectProfileEvidenceMetricView[];
|
|
21
|
+
status: "empty" | "error" | "loading" | "ready" | "warning";
|
|
22
|
+
title: string;
|
|
23
|
+
};
|
|
24
|
+
export type VoiceReconnectProfileEvidenceWidgetOptions = VoiceReconnectProfileEvidenceClientOptions & {
|
|
25
|
+
description?: string;
|
|
26
|
+
links?: Array<{
|
|
27
|
+
href: string;
|
|
28
|
+
label: string;
|
|
29
|
+
}>;
|
|
30
|
+
title?: string;
|
|
31
|
+
};
|
|
32
|
+
export declare const createVoiceReconnectProfileEvidenceViewModel: (snapshot: VoiceReconnectProfileEvidenceSnapshot, options?: VoiceReconnectProfileEvidenceWidgetOptions) => VoiceReconnectProfileEvidenceViewModel;
|
|
33
|
+
export declare const renderVoiceReconnectProfileEvidenceHTML: (snapshot: VoiceReconnectProfileEvidenceSnapshot, options?: VoiceReconnectProfileEvidenceWidgetOptions) => string;
|
|
34
|
+
export declare const getVoiceReconnectProfileEvidenceCSS: () => string;
|
|
35
|
+
export declare const mountVoiceReconnectProfileEvidence: (element: Element, path?: string, options?: VoiceReconnectProfileEvidenceWidgetOptions) => {
|
|
36
|
+
close: () => void;
|
|
37
|
+
refresh: () => Promise<import("..").VoiceReconnectProfileEvidenceSummary | undefined>;
|
|
38
|
+
};
|
|
39
|
+
export declare const defineVoiceReconnectProfileEvidenceElement: (tagName?: string) => void;
|
package/dist/index.d.ts
CHANGED
|
@@ -31,7 +31,7 @@ export { assertVoicePlatformCoverage, buildVoicePlatformCoverageSummary, createV
|
|
|
31
31
|
export { assertVoiceCompetitiveCoverage, buildVoiceCompetitiveCoverageReport, createVoiceCompetitiveCoverageRoutes, evaluateVoiceCompetitiveCoverage, renderVoiceCompetitiveCoverageHTML, renderVoiceCompetitiveCoverageMarkdown, } from "./competitiveCoverage";
|
|
32
32
|
export type { VoiceCompetitiveCoverageAssertionInput, VoiceCompetitiveCoverageAssertionReport, VoiceCompetitiveCoverageIssue, VoiceCompetitiveCoverageLevel, VoiceCompetitiveCoverageReport, VoiceCompetitiveCoverageReportInput, VoiceCompetitiveCoverageRoutesOptions, VoiceCompetitiveCoverageStatus, VoiceCompetitiveCoverageSummary, VoiceCompetitiveDepthLevel, VoiceCompetitiveEvidence, VoiceCompetitiveSurface, } from "./competitiveCoverage";
|
|
33
33
|
export type { VoicePlatformCoverageAssertionInput, VoicePlatformCoverageAssertionReport, VoicePlatformCoverageEvidence, VoicePlatformCoverageRoutesOptions, VoicePlatformCoverageStatus, VoicePlatformCoverageSummary, VoicePlatformCoverageSummaryInput, VoicePlatformCoverageSurface, } from "./platformCoverage";
|
|
34
|
-
export { assertVoiceProofTrendEvidence, appendVoiceRealCallProfileRecoveryEvidence, buildEmptyVoiceProofTrendReport, buildVoiceProofTrendProfileSummaries, buildVoiceProofTrendRecommendationReport, buildVoiceProofTrendReportFromRealCallProfiles, buildVoiceProofTrendReport, buildVoiceRealCallProfileEvidenceFromTraceEvents, buildVoiceRealCallProfileEvidenceFromReconnectProofReports, buildVoiceRealCallProfileDefaults, buildVoiceRealCallProfileHistoryReport, buildVoiceRealCallProfileHistoryReportFromStore, buildVoiceRealCallProfileReadinessCheck, buildVoiceRealCallProfileRecoveryJobHistoryCheck, buildVoiceRealCallProfileRecoveryActions, createVoiceInMemoryRealCallProfileRecoveryJobStore, createVoiceRealCallProfileTraceCollector, createVoiceSQLiteRealCallProfileEvidenceStore, createVoiceSQLiteRealCallProfileRecoveryJobStore, createVoiceProofTrendRecommendationRoutes, createVoiceProofTrendRoutes, createVoiceRealCallProfileHistoryRoutes, createVoiceRealCallProfileRecoveryActionRoutes, DEFAULT_VOICE_PROOF_TREND_PROFILE_DEFINITIONS, DEFAULT_VOICE_PROOF_TRENDS_MAX_AGE_MS, evaluateVoiceProofTrendEvidence, formatVoiceProofTrendAge, loadVoiceRealCallProfileEvidenceFromStore, loadVoiceRealCallProfileEvidenceFromTraceStore, normalizeVoiceProofTrendReport, readVoiceProofTrendReportFile, renderVoiceProofTrendRecommendationHTML, renderVoiceProofTrendRecommendationMarkdown, renderVoiceRealCallProfileHistoryHTML, renderVoiceRealCallProfileHistoryMarkdown, runVoiceRealCallProfileRecoveryLoop, resolveVoiceRealCallProfileProviderRoute, } from "./proofTrends";
|
|
34
|
+
export { assertVoiceProofTrendEvidence, appendVoiceRealCallProfileRecoveryEvidence, buildEmptyVoiceProofTrendReport, buildVoiceProofTrendProfileSummaries, buildVoiceProofTrendRecommendationReport, buildVoiceProofTrendReportFromRealCallProfiles, buildVoiceProofTrendReport, buildVoiceRealCallProfileEvidenceFromTraceEvents, buildVoiceRealCallProfileEvidenceFromReconnectProofReports, buildVoiceRealCallProfileDefaults, buildVoiceRealCallProfileHistoryReport, buildVoiceRealCallProfileHistoryReportFromStore, buildVoiceRealCallProfileReadinessCheck, buildVoiceRealCallProfileRecoveryJobHistoryCheck, buildVoiceRealCallProfileRecoveryActions, buildVoiceReconnectProfileEvidenceSummary, createVoiceInMemoryRealCallProfileRecoveryJobStore, createVoiceRealCallProfileTraceCollector, createVoiceSQLiteRealCallProfileEvidenceStore, createVoiceSQLiteRealCallProfileRecoveryJobStore, createVoiceProofTrendRecommendationRoutes, createVoiceProofTrendRoutes, createVoiceRealCallProfileHistoryRoutes, createVoiceRealCallProfileRecoveryActionRoutes, DEFAULT_VOICE_PROOF_TREND_PROFILE_DEFINITIONS, DEFAULT_VOICE_PROOF_TRENDS_MAX_AGE_MS, evaluateVoiceProofTrendEvidence, formatVoiceProofTrendAge, loadVoiceRealCallProfileEvidenceFromStore, loadVoiceRealCallProfileEvidenceFromTraceStore, normalizeVoiceProofTrendReport, readVoiceProofTrendReportFile, renderVoiceProofTrendRecommendationHTML, renderVoiceProofTrendRecommendationMarkdown, renderVoiceRealCallProfileHistoryHTML, renderVoiceRealCallProfileHistoryMarkdown, runVoiceRealCallProfileRecoveryLoop, resolveVoiceRealCallProfileProviderRoute, } from "./proofTrends";
|
|
35
35
|
export { createVoiceEvidenceAssertion, createVoiceProofAssertion, summarizeVoiceProofAssertions, } from "./proofAssertions";
|
|
36
36
|
export { buildVoiceSessionSnapshot, buildVoiceSessionSnapshotStatus, createVoiceSessionSnapshotRoutes, parseVoiceSessionSnapshot, } from "./sessionSnapshot";
|
|
37
37
|
export { buildVoiceCallDebuggerReport, createVoiceCallDebuggerRoutes, renderVoiceCallDebuggerHTML, resolveLatestVoiceCallDebuggerSessionId, } from "./callDebugger";
|
|
@@ -46,7 +46,7 @@ export { buildVoiceProviderDecisionTraceReport, createVoiceProviderDecisionTrace
|
|
|
46
46
|
export type { VoiceProviderDecisionStatus, VoiceProviderDecisionSurfaceReport, VoiceProviderDecisionTrace, VoiceProviderDecisionTraceInput, VoiceProviderDecisionTraceIssue, VoiceProviderDecisionTraceReport, VoiceProviderDecisionTraceReportOptions, VoiceProviderDecisionTraceRoutesOptions, } from "./providerDecisionTraces";
|
|
47
47
|
export { appendVoiceIOProviderRouterTraceEvent, appendVoiceProviderRouterTraceEvent, buildVoiceIOProviderRouterTraceEvent, buildVoiceProviderRouterTraceEvent, } from "./providerRouterTraces";
|
|
48
48
|
export type { VoiceIOProviderRouterTraceAppendOptions, VoiceIOProviderRouterTraceEventOptions, VoiceProviderRouterTraceAppendOptions, VoiceProviderRouterTraceEventOptions, } from "./providerRouterTraces";
|
|
49
|
-
export type { VoiceProofTrendAssertionInput, VoiceProofTrendAssertionReport, VoiceProofTrendCycle, VoiceProofTrendProfileDefinition, VoiceProofTrendProfileRecommendation, VoiceProofTrendProfileSummaryOptions, VoiceProofTrendProfileSummary, VoiceProofTrendProviderRecommendation, VoiceProofTrendProviderSummary, VoiceProofTrendReconnectSummary, VoiceProofTrendRecommendation, VoiceProofTrendRecommendationOptions, VoiceProofTrendRecommendationReport, VoiceProofTrendRecommendationRoutesOptions, VoiceProofTrendRecommendationStatus, VoiceProofTrendRecommendationSurface, VoiceProofTrendRealCallProfileEvidence, VoiceProofTrendRealCallProfileReportOptions, VoiceProofTrendReport, VoiceProofTrendReportInput, VoiceProofTrendRoutesOptions, VoiceProofTrendRuntimeChannelSummary, VoiceProofTrendStatus, VoiceProofTrendSummary, VoiceRealCallProfileDefault, VoiceRealCallProfileDefaultsOptions, VoiceRealCallProfileDefaultsReport, VoiceRealCallProfileEvidenceCreateInput, VoiceRealCallProfileEvidenceListOptions, VoiceRealCallProfileEvidenceRecord, VoiceRealCallProfileEvidenceStore, VoiceRealCallProfileHistoryOptions, VoiceRealCallProfileHistoryReport, VoiceRealCallProfileHistoryRoutesOptions, VoiceRealCallProfileProviderRouteOptions, VoiceRealCallProfileReadinessCheckOptions, VoiceRealCallProfileRecoveryActionOptions, VoiceRealCallProfileRecoveryAction, VoiceRealCallProfileRecoveryActionHandler, VoiceRealCallProfileRecoveryActionHandlerInput, VoiceRealCallProfileRecoveryActionId, VoiceRealCallProfileRecoveryJobHistoryCheckOptions, VoiceRealCallProfileRecoveryActionResult, VoiceRealCallProfileRecoveryActionRoutesOptions, VoiceRealCallProfileRecoveryJob, VoiceRealCallProfileRecoveryJobCreateInput, VoiceRealCallProfileRecoveryJobListOptions, VoiceRealCallProfileRecoveryJobStatus, VoiceRealCallProfileRecoveryJobStore, VoiceRealCallProfileRecoveryJobUpdate, VoiceRealCallProfileRecoveryLoopAction, VoiceRealCallProfileRecoveryLoopJob, VoiceRealCallProfileRecoveryLoopJobResult, VoiceRealCallProfileRecoveryLoopOptions, VoiceRealCallProfileRecoveryLoopReport, VoiceRealCallProfileRecoveryLoopStartFailure, VoiceRealCallProfileRecoveryEvidenceOptions, VoiceRealCallProfileRecoveryEvidenceProvider, VoiceRealCallProfileRecoveryEvidenceProviderRole, VoiceRealCallProfileRecoveryEvidenceResult, VoiceSQLiteRealCallProfileRecoveryJobStoreOptions, VoiceRealCallProfileTraceCollector, VoiceRealCallProfileTraceCollectorEvidenceOptions, VoiceRealCallProfileTraceCollectorOptions, VoiceRealCallProfileTraceEvidenceOptions, VoiceRealCallProfileTraceStoreEvidenceOptions, VoiceReconnectRealCallProfileEvidenceOptions, VoiceSQLiteRealCallProfileEvidenceStoreOptions, } from "./proofTrends";
|
|
49
|
+
export type { VoiceProofTrendAssertionInput, VoiceProofTrendAssertionReport, VoiceProofTrendCycle, VoiceProofTrendProfileDefinition, VoiceProofTrendProfileRecommendation, VoiceProofTrendProfileSummaryOptions, VoiceProofTrendProfileSummary, VoiceProofTrendProviderRecommendation, VoiceProofTrendProviderSummary, VoiceProofTrendReconnectSummary, VoiceProofTrendRecommendation, VoiceProofTrendRecommendationOptions, VoiceProofTrendRecommendationReport, VoiceProofTrendRecommendationRoutesOptions, VoiceProofTrendRecommendationStatus, VoiceProofTrendRecommendationSurface, VoiceProofTrendRealCallProfileEvidence, VoiceProofTrendRealCallProfileReportOptions, VoiceProofTrendReport, VoiceProofTrendReportInput, VoiceProofTrendRoutesOptions, VoiceProofTrendRuntimeChannelSummary, VoiceProofTrendStatus, VoiceProofTrendSummary, VoiceRealCallProfileDefault, VoiceRealCallProfileDefaultsOptions, VoiceRealCallProfileDefaultsReport, VoiceRealCallProfileEvidenceCreateInput, VoiceRealCallProfileEvidenceListOptions, VoiceRealCallProfileEvidenceRecord, VoiceRealCallProfileEvidenceStore, VoiceRealCallProfileHistoryOptions, VoiceRealCallProfileHistoryReport, VoiceRealCallProfileHistoryRoutesOptions, VoiceRealCallProfileProviderRouteOptions, VoiceRealCallProfileReadinessCheckOptions, VoiceRealCallProfileRecoveryActionOptions, VoiceRealCallProfileRecoveryAction, VoiceRealCallProfileRecoveryActionHandler, VoiceRealCallProfileRecoveryActionHandlerInput, VoiceRealCallProfileRecoveryActionId, VoiceRealCallProfileRecoveryJobHistoryCheckOptions, VoiceRealCallProfileRecoveryActionResult, VoiceRealCallProfileRecoveryActionRoutesOptions, VoiceRealCallProfileRecoveryJob, VoiceRealCallProfileRecoveryJobCreateInput, VoiceRealCallProfileRecoveryJobListOptions, VoiceRealCallProfileRecoveryJobStatus, VoiceRealCallProfileRecoveryJobStore, VoiceRealCallProfileRecoveryJobUpdate, VoiceRealCallProfileRecoveryLoopAction, VoiceRealCallProfileRecoveryLoopJob, VoiceRealCallProfileRecoveryLoopJobResult, VoiceRealCallProfileRecoveryLoopOptions, VoiceRealCallProfileRecoveryLoopReport, VoiceRealCallProfileRecoveryLoopStartFailure, VoiceRealCallProfileRecoveryEvidenceOptions, VoiceRealCallProfileRecoveryEvidenceProvider, VoiceRealCallProfileRecoveryEvidenceProviderRole, VoiceRealCallProfileRecoveryEvidenceResult, VoiceSQLiteRealCallProfileRecoveryJobStoreOptions, VoiceRealCallProfileTraceCollector, VoiceRealCallProfileTraceCollectorEvidenceOptions, VoiceRealCallProfileTraceCollectorOptions, VoiceRealCallProfileTraceEvidenceOptions, VoiceRealCallProfileTraceStoreEvidenceOptions, VoiceReconnectRealCallProfileEvidenceOptions, VoiceReconnectProfileEvidenceSummary, VoiceReconnectProfileEvidenceSummaryStatus, VoiceSQLiteRealCallProfileEvidenceStoreOptions, } from "./proofTrends";
|
|
50
50
|
export { assertVoiceSloCalibration, buildVoiceSloCalibrationReport, buildVoiceSloReadinessThresholdReport, createVoiceSloReadinessThresholdOptions, createVoiceSloReadinessThresholdRoutes, createVoiceSloThresholdProfile, createVoiceSloCalibrationRoutes, renderVoiceSloCalibrationMarkdown, renderVoiceSloReadinessThresholdHTML, renderVoiceSloReadinessThresholdMarkdown, } from "./sloCalibration";
|
|
51
51
|
export type { VoiceSloCalibrationMetricKey, VoiceSloCalibrationOptions, VoiceSloCalibrationReport, VoiceSloCalibrationRoutesOptions, VoiceSloCalibrationSample, VoiceSloCalibrationStatus, VoiceSloCalibrationThreshold, VoiceSloCalibrationThresholds, VoiceSloReadinessThresholdReport, VoiceSloReadinessThresholdReportOptions, VoiceSloReadinessThresholdOptions, VoiceSloReadinessThresholdRoutesOptions, VoiceSloThresholdProfile, } from "./sloCalibration";
|
|
52
52
|
export { assertVoiceLiveOpsControlEvidence, assertVoiceLiveOpsEvidence, buildVoiceLiveOpsControlState, createVoiceLiveOpsController, createVoiceLiveOpsRoutes, createVoiceMemoryLiveOpsControlStore, evaluateVoiceLiveOpsControlEvidence, evaluateVoiceLiveOpsEvidence, getVoiceLiveOpsControlStatus, VOICE_LIVE_OPS_ACTIONS, } from "./liveOps";
|
package/dist/index.js
CHANGED
|
@@ -16509,6 +16509,33 @@ var maxNumber = (values) => {
|
|
|
16509
16509
|
const finite = values.filter((value) => typeof value === "number" && Number.isFinite(value));
|
|
16510
16510
|
return finite.length > 0 ? Math.max(...finite) : undefined;
|
|
16511
16511
|
};
|
|
16512
|
+
var buildVoiceReconnectProfileEvidenceSummary = (evidence, options = {}) => {
|
|
16513
|
+
const profileId = options.profileId ?? "reconnect-resume";
|
|
16514
|
+
const filtered = evidence.filter((record) => record.profileId === profileId).sort((left, right) => {
|
|
16515
|
+
const leftAt = Date.parse(left.generatedAt ?? left.createdAt);
|
|
16516
|
+
const rightAt = Date.parse(right.generatedAt ?? right.createdAt);
|
|
16517
|
+
return (Number.isFinite(rightAt) ? rightAt : 0) - (Number.isFinite(leftAt) ? leftAt : 0);
|
|
16518
|
+
});
|
|
16519
|
+
const latest = filtered[0];
|
|
16520
|
+
const sampleCount = filtered.reduce((total, record) => total + (record.reconnect?.samples ?? 1), 0);
|
|
16521
|
+
const snapshotCount = filtered.reduce((total, record) => total + (record.reconnect?.snapshotCount ?? 0), 0);
|
|
16522
|
+
const resumeLatencyP95Ms = maxNumber(filtered.map((record) => record.reconnect?.resumeLatencyP95Ms));
|
|
16523
|
+
const failed = filtered.some((record) => record.ok === false || record.reconnect?.status === "fail");
|
|
16524
|
+
const passed = filtered.some((record) => record.ok === true && record.reconnect?.resumed === true && record.reconnect?.reconnected === true);
|
|
16525
|
+
const status = filtered.length === 0 ? "empty" : failed ? "fail" : passed ? "pass" : "warn";
|
|
16526
|
+
return {
|
|
16527
|
+
evidence: filtered,
|
|
16528
|
+
generatedAt: options.generatedAt ?? new Date().toISOString(),
|
|
16529
|
+
latest,
|
|
16530
|
+
ok: status === "pass",
|
|
16531
|
+
profileId,
|
|
16532
|
+
resumeLatencyP95Ms,
|
|
16533
|
+
sampleCount,
|
|
16534
|
+
snapshotCount,
|
|
16535
|
+
sourceHref: options.sourceHref,
|
|
16536
|
+
status
|
|
16537
|
+
};
|
|
16538
|
+
};
|
|
16512
16539
|
var percentile2 = (values, rank) => {
|
|
16513
16540
|
const finite = values.filter((value) => Number.isFinite(value)).sort((left, right) => left - right);
|
|
16514
16541
|
if (finite.length === 0) {
|
|
@@ -42789,6 +42816,7 @@ export {
|
|
|
42789
42816
|
buildVoiceSessionSnapshotStatus,
|
|
42790
42817
|
buildVoiceSessionSnapshot,
|
|
42791
42818
|
buildVoiceReconnectProofReport,
|
|
42819
|
+
buildVoiceReconnectProfileEvidenceSummary,
|
|
42792
42820
|
buildVoiceRealtimeProviderContractMatrix,
|
|
42793
42821
|
buildVoiceRealtimeChannelRuntimeSamplesFromTrace,
|
|
42794
42822
|
buildVoiceRealtimeChannelReport,
|
package/dist/proofTrends.d.ts
CHANGED
|
@@ -166,6 +166,19 @@ export type VoiceRealCallProfileEvidenceRecord = VoiceProofTrendRealCallProfileE
|
|
|
166
166
|
createdAt: string;
|
|
167
167
|
id: string;
|
|
168
168
|
};
|
|
169
|
+
export type VoiceReconnectProfileEvidenceSummaryStatus = "empty" | "fail" | "pass" | "warn";
|
|
170
|
+
export type VoiceReconnectProfileEvidenceSummary = {
|
|
171
|
+
evidence: VoiceRealCallProfileEvidenceRecord[];
|
|
172
|
+
generatedAt: string;
|
|
173
|
+
latest?: VoiceRealCallProfileEvidenceRecord;
|
|
174
|
+
ok: boolean;
|
|
175
|
+
profileId: string;
|
|
176
|
+
resumeLatencyP95Ms?: number;
|
|
177
|
+
sampleCount: number;
|
|
178
|
+
snapshotCount: number;
|
|
179
|
+
sourceHref?: string;
|
|
180
|
+
status: VoiceReconnectProfileEvidenceSummaryStatus;
|
|
181
|
+
};
|
|
169
182
|
export type VoiceRealCallProfileEvidenceCreateInput = VoiceProofTrendRealCallProfileEvidence & {
|
|
170
183
|
createdAt?: string;
|
|
171
184
|
id?: string;
|
|
@@ -632,6 +645,11 @@ export declare const normalizeVoiceProofTrendReport: (value: VoiceProofTrendRepo
|
|
|
632
645
|
export declare const readVoiceProofTrendReportFile: (path: string, options?: {
|
|
633
646
|
maxAgeMs?: number;
|
|
634
647
|
}) => Promise<VoiceProofTrendReport>;
|
|
648
|
+
export declare const buildVoiceReconnectProfileEvidenceSummary: (evidence: readonly VoiceRealCallProfileEvidenceRecord[], options?: {
|
|
649
|
+
generatedAt?: string;
|
|
650
|
+
profileId?: string;
|
|
651
|
+
sourceHref?: string;
|
|
652
|
+
}) => VoiceReconnectProfileEvidenceSummary;
|
|
635
653
|
export declare const buildVoiceRealCallProfileEvidenceFromTraceEvents: (events: readonly StoredVoiceTraceEvent[], options?: VoiceRealCallProfileTraceEvidenceOptions) => VoiceProofTrendRealCallProfileEvidence[];
|
|
636
654
|
export declare const buildVoiceRealCallProfileEvidenceFromReconnectProofReports: (input: VoiceReconnectProofReport | VoiceReconnectContractReport | readonly (VoiceReconnectProofReport | VoiceReconnectContractReport)[], options?: VoiceReconnectRealCallProfileEvidenceOptions) => VoiceProofTrendRealCallProfileEvidence[];
|
|
637
655
|
export declare const loadVoiceRealCallProfileEvidenceFromTraceStore: (options: VoiceRealCallProfileTraceStoreEvidenceOptions) => Promise<VoiceProofTrendRealCallProfileEvidence[]>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { type VoiceReconnectProfileEvidenceWidgetOptions } from "../client/reconnectProfileEvidenceWidget";
|
|
2
|
+
export type VoiceReconnectProfileEvidenceProps = VoiceReconnectProfileEvidenceWidgetOptions & {
|
|
3
|
+
className?: string;
|
|
4
|
+
path?: string;
|
|
5
|
+
};
|
|
6
|
+
export declare const VoiceReconnectProfileEvidence: ({ className, path, ...options }: VoiceReconnectProfileEvidenceProps) => 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 { VoiceReconnectProfileEvidence } from "./VoiceReconnectProfileEvidence";
|
|
6
7
|
export { VoiceCallDebuggerLaunch } from "./VoiceCallDebuggerLaunch";
|
|
7
8
|
export { VoiceSessionSnapshot } from "./VoiceSessionSnapshot";
|
|
8
9
|
export { VoiceProfileComparison } from "./VoiceProfileComparison";
|
|
@@ -20,6 +21,7 @@ export { VoiceTurnQuality } from "./VoiceTurnQuality";
|
|
|
20
21
|
export { useVoiceOpsStatus } from "./useVoiceOpsStatus";
|
|
21
22
|
export { useVoicePlatformCoverage } from "./useVoicePlatformCoverage";
|
|
22
23
|
export { useVoiceProofTrends } from "./useVoiceProofTrends";
|
|
24
|
+
export { useVoiceReconnectProfileEvidence } from "./useVoiceReconnectProfileEvidence";
|
|
23
25
|
export { useVoiceCallDebugger } from "./useVoiceCallDebugger";
|
|
24
26
|
export { useVoiceSessionSnapshot } from "./useVoiceSessionSnapshot";
|
|
25
27
|
export { useVoiceProfileComparison } from "./useVoiceProfileComparison";
|