@absolutejs/voice 0.0.22-beta.436 → 0.0.22-beta.438
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/incidentBundle.d.ts +3 -0
- package/dist/incidentTimeline.d.ts +10 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +889 -759
- package/dist/observabilityExport.d.ts +6 -2
- package/dist/productionReadiness.d.ts +14 -0
- package/dist/vue/useVoiceReadinessFailures.d.ts +16 -0
- package/package.json +1 -1
|
@@ -4,6 +4,8 @@ import { Database } from 'bun:sqlite';
|
|
|
4
4
|
import { type VoiceAuditSinkDeliveryQueueSummary, type VoiceAuditSinkDeliveryRecord, type VoiceAuditSinkDeliveryStore } from './auditSinks';
|
|
5
5
|
import type { VoiceAuditEventStore, VoiceAuditEventType } from './audit';
|
|
6
6
|
import type { VoiceCallDebuggerReport } from './callDebugger';
|
|
7
|
+
import type { VoiceIncidentBundle } from './incidentBundle';
|
|
8
|
+
import type { VoiceIncidentRecoveryOutcomeReport } from './incidentTimeline';
|
|
7
9
|
import { type VoiceOperationsRecord } from './operationsRecord';
|
|
8
10
|
import type { VoiceSessionSnapshot } from './sessionSnapshot';
|
|
9
11
|
import { type VoiceTraceSinkDeliveryQueueSummary } from './queue';
|
|
@@ -43,7 +45,7 @@ export type VoiceObservabilityExportRecordValidationOptions = {
|
|
|
43
45
|
};
|
|
44
46
|
export declare const validateVoiceObservabilityExportRecord: (input: unknown, options?: VoiceObservabilityExportRecordValidationOptions) => VoiceObservabilityExportValidationResult;
|
|
45
47
|
export declare const assertVoiceObservabilityExportRecord: (input: unknown, options?: VoiceObservabilityExportRecordValidationOptions) => VoiceObservabilityExportValidationResult;
|
|
46
|
-
export type VoiceObservabilityExportArtifactKind = 'call-debugger' | 'incident' | 'markdown' | 'operations-record' | 'proof-pack' | 'readiness' | 'screenshot' | 'session-snapshot' | 'slo' | 'trace' | 'audit' | 'custom';
|
|
48
|
+
export type VoiceObservabilityExportArtifactKind = 'call-debugger' | 'incident' | 'incident-recovery-outcomes' | 'markdown' | 'operations-record' | 'proof-pack' | 'readiness' | 'screenshot' | 'session-snapshot' | 'slo' | 'trace' | 'audit' | 'custom';
|
|
47
49
|
export type VoiceObservabilityExportArtifactChecksum = {
|
|
48
50
|
algorithm: 'sha256';
|
|
49
51
|
value: string;
|
|
@@ -86,7 +88,7 @@ export type VoiceObservabilityExportEnvelope = {
|
|
|
86
88
|
severity: VoiceObservabilityExportStatus;
|
|
87
89
|
traceId?: string;
|
|
88
90
|
};
|
|
89
|
-
export type VoiceObservabilityExportIssueCode = 'voice.observability.no_evidence' | 'voice.observability.operation_failed' | 'voice.observability.artifact_missing' | 'voice.observability.artifact_stale' | 'voice.observability.audit_delivery_failed' | 'voice.observability.audit_delivery_pending' | 'voice.observability.trace_delivery_failed' | 'voice.observability.trace_delivery_pending';
|
|
91
|
+
export type VoiceObservabilityExportIssueCode = 'voice.observability.no_evidence' | 'voice.observability.operation_failed' | 'voice.observability.artifact_failed' | 'voice.observability.artifact_missing' | 'voice.observability.artifact_stale' | 'voice.observability.audit_delivery_failed' | 'voice.observability.audit_delivery_pending' | 'voice.observability.trace_delivery_failed' | 'voice.observability.trace_delivery_pending';
|
|
90
92
|
export type VoiceObservabilityExportIssue = {
|
|
91
93
|
code: VoiceObservabilityExportIssueCode;
|
|
92
94
|
detail?: string;
|
|
@@ -389,6 +391,8 @@ export type VoiceObservabilityExportOptions = {
|
|
|
389
391
|
sessionSnapshot?: (sessionId: string) => string;
|
|
390
392
|
};
|
|
391
393
|
callDebuggerReports?: VoiceCallDebuggerReport[] | (() => VoiceCallDebuggerReport[] | Promise<VoiceCallDebuggerReport[]>);
|
|
394
|
+
incidentBundles?: VoiceIncidentBundle[] | (() => VoiceIncidentBundle[] | Promise<VoiceIncidentBundle[]>);
|
|
395
|
+
incidentRecoveryOutcomeReports?: VoiceIncidentRecoveryOutcomeReport[] | (() => VoiceIncidentRecoveryOutcomeReport[] | Promise<VoiceIncidentRecoveryOutcomeReport[]>);
|
|
392
396
|
operationsRecords?: VoiceOperationsRecord[];
|
|
393
397
|
onTiming?: (timing: VoiceObservabilityExportTiming) => void;
|
|
394
398
|
redact?: VoiceTraceRedactionConfig;
|
|
@@ -18,6 +18,7 @@ import { type VoiceProviderSloReport, type VoiceProviderSloReportOptions } from
|
|
|
18
18
|
import type { VoiceProviderOrchestrationReport } from './providerOrchestration';
|
|
19
19
|
import type { VoiceCampaignReadinessProofReport } from './campaign';
|
|
20
20
|
import { type VoiceOpsRecoveryReport } from './opsRecovery';
|
|
21
|
+
import { type VoiceIncidentRecoveryOutcomeReadinessOptions, type VoiceIncidentRecoveryOutcomeReport } from './incidentTimeline';
|
|
21
22
|
import { type VoiceObservabilityExportDeliveryHistory, type VoiceObservabilityExportDeliveryReceiptStore, type VoiceObservabilityExportReplayReport, type VoiceObservabilityExportReplaySource, type VoiceObservabilityExportReport } from './observabilityExport';
|
|
22
23
|
import type { VoiceMediaPipelineReport } from './mediaPipelineRoutes';
|
|
23
24
|
import type { VoiceTelephonyMediaReport } from './telephonyMediaRoutes';
|
|
@@ -302,6 +303,14 @@ export type VoiceProductionReadinessReport = {
|
|
|
302
303
|
status: VoiceProductionReadinessStatus;
|
|
303
304
|
unresolvedProviderFailures: number;
|
|
304
305
|
};
|
|
306
|
+
incidentRecoveryOutcomes?: {
|
|
307
|
+
failed: number;
|
|
308
|
+
improved: number;
|
|
309
|
+
regressed: number;
|
|
310
|
+
status: VoiceProductionReadinessStatus;
|
|
311
|
+
total: number;
|
|
312
|
+
unchanged: number;
|
|
313
|
+
};
|
|
305
314
|
observabilityExport?: {
|
|
306
315
|
artifacts: number;
|
|
307
316
|
auditEvents: number;
|
|
@@ -584,6 +593,11 @@ export type VoiceProductionReadinessRoutesOptions = {
|
|
|
584
593
|
query: Record<string, unknown>;
|
|
585
594
|
request: Request;
|
|
586
595
|
}) => Promise<VoiceOpsRecoveryReport> | VoiceOpsRecoveryReport);
|
|
596
|
+
incidentRecoveryOutcomes?: false | VoiceIncidentRecoveryOutcomeReport | ((input: {
|
|
597
|
+
query: Record<string, unknown>;
|
|
598
|
+
request: Request;
|
|
599
|
+
}) => Promise<VoiceIncidentRecoveryOutcomeReport> | VoiceIncidentRecoveryOutcomeReport);
|
|
600
|
+
incidentRecoveryOutcomeReadiness?: false | VoiceIncidentRecoveryOutcomeReadinessOptions;
|
|
587
601
|
observabilityExport?: false | VoiceObservabilityExportReport | ((input: {
|
|
588
602
|
query: Record<string, unknown>;
|
|
589
603
|
request: Request;
|
|
@@ -286,6 +286,14 @@ export declare const useVoiceReadinessFailures: (path?: string, options?: VoiceR
|
|
|
286
286
|
readonly status: import("..").VoiceProductionReadinessStatus;
|
|
287
287
|
readonly unresolvedProviderFailures: number;
|
|
288
288
|
} | undefined;
|
|
289
|
+
readonly incidentRecoveryOutcomes?: {
|
|
290
|
+
readonly failed: number;
|
|
291
|
+
readonly improved: number;
|
|
292
|
+
readonly regressed: number;
|
|
293
|
+
readonly status: import("..").VoiceProductionReadinessStatus;
|
|
294
|
+
readonly total: number;
|
|
295
|
+
readonly unchanged: number;
|
|
296
|
+
} | undefined;
|
|
289
297
|
readonly observabilityExport?: {
|
|
290
298
|
readonly artifacts: number;
|
|
291
299
|
readonly auditEvents: number;
|
|
@@ -731,6 +739,14 @@ export declare const useVoiceReadinessFailures: (path?: string, options?: VoiceR
|
|
|
731
739
|
readonly status: import("..").VoiceProductionReadinessStatus;
|
|
732
740
|
readonly unresolvedProviderFailures: number;
|
|
733
741
|
} | undefined;
|
|
742
|
+
readonly incidentRecoveryOutcomes?: {
|
|
743
|
+
readonly failed: number;
|
|
744
|
+
readonly improved: number;
|
|
745
|
+
readonly regressed: number;
|
|
746
|
+
readonly status: import("..").VoiceProductionReadinessStatus;
|
|
747
|
+
readonly total: number;
|
|
748
|
+
readonly unchanged: number;
|
|
749
|
+
} | undefined;
|
|
734
750
|
readonly observabilityExport?: {
|
|
735
751
|
readonly artifacts: number;
|
|
736
752
|
readonly auditEvents: number;
|