@absolutejs/voice 0.0.22-beta.439 → 0.0.22-beta.441
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/README.md +2729 -2698
- package/dist/agent.d.ts +10 -10
- package/dist/agentSquadContract.d.ts +4 -4
- package/dist/angular/index.d.ts +22 -22
- package/dist/angular/voice-agent-squad-status.service.d.ts +1 -1
- package/dist/angular/voice-call-debugger.service.d.ts +2 -2
- package/dist/angular/voice-campaign-dialer-proof.service.d.ts +2 -2
- package/dist/angular/voice-controller.service.d.ts +1 -1
- package/dist/angular/voice-delivery-runtime.component.d.ts +2 -2
- package/dist/angular/voice-delivery-runtime.service.d.ts +2 -2
- package/dist/angular/voice-live-ops.service.d.ts +1 -1
- package/dist/angular/voice-ops-action-center.service.d.ts +1 -1
- package/dist/angular/voice-ops-status.component.d.ts +2 -2
- package/dist/angular/voice-ops-status.service.d.ts +2 -2
- package/dist/angular/voice-platform-coverage.service.d.ts +2 -2
- package/dist/angular/voice-profile-comparison.service.d.ts +2 -2
- package/dist/angular/voice-proof-trends.service.d.ts +2 -2
- package/dist/angular/voice-provider-capabilities.service.d.ts +2 -2
- package/dist/angular/voice-provider-contracts.service.d.ts +2 -2
- package/dist/angular/voice-provider-status.service.d.ts +2 -2
- package/dist/angular/voice-readiness-failures.service.d.ts +2 -2
- package/dist/angular/voice-routing-status.service.d.ts +1 -1
- package/dist/angular/voice-session-snapshot.service.d.ts +2 -2
- package/dist/angular/voice-stream.service.d.ts +1 -1
- package/dist/angular/voice-trace-timeline.service.d.ts +2 -2
- package/dist/angular/voice-turn-latency.service.d.ts +2 -2
- package/dist/angular/voice-turn-quality.service.d.ts +2 -2
- package/dist/angular/voice-workflow-status.service.d.ts +2 -2
- package/dist/assistant.d.ts +11 -11
- package/dist/assistantHealth.d.ts +6 -6
- package/dist/assistantMemory.d.ts +3 -3
- package/dist/audioConditioning.d.ts +1 -1
- package/dist/audit.d.ts +11 -11
- package/dist/auditDeliveryRoutes.d.ts +3 -3
- package/dist/auditExport.d.ts +3 -3
- package/dist/auditRoutes.d.ts +2 -2
- package/dist/auditSinks.d.ts +8 -8
- package/dist/bargeInRoutes.d.ts +3 -3
- package/dist/browserCallProfiles.d.ts +2 -2
- package/dist/browserMediaRoutes.d.ts +4 -4
- package/dist/callDebugger.d.ts +6 -6
- package/dist/campaign.d.ts +22 -22
- package/dist/campaignDialers.d.ts +14 -14
- package/dist/client/actions.d.ts +1 -1
- package/dist/client/agentSquadStatus.d.ts +3 -3
- package/dist/client/agentSquadStatusWidget.d.ts +1 -1
- package/dist/client/audioPlayer.d.ts +2 -2
- package/dist/client/bargeInMonitor.d.ts +1 -1
- package/dist/client/browserMedia.d.ts +1 -1
- package/dist/client/callDebugger.d.ts +1 -1
- package/dist/client/callDebuggerWidget.d.ts +3 -3
- package/dist/client/campaignDialerProof.d.ts +1 -1
- package/dist/client/connection.d.ts +3 -3
- package/dist/client/controller.d.ts +1 -1
- package/dist/client/createVoiceStream.d.ts +1 -1
- package/dist/client/deliveryRuntime.d.ts +4 -4
- package/dist/client/deliveryRuntimeWidget.d.ts +5 -5
- package/dist/client/duplex.d.ts +1 -1
- package/dist/client/htmx.d.ts +1 -1
- package/dist/client/index.d.ts +96 -96
- package/dist/client/index.js +41 -15
- package/dist/client/liveOps.d.ts +2 -2
- package/dist/client/liveOpsWidget.d.ts +2 -2
- package/dist/client/liveTurnLatency.d.ts +3 -3
- package/dist/client/microphone.d.ts +4 -4
- package/dist/client/opsActionCenter.d.ts +1 -1
- package/dist/client/opsActionCenterWidget.d.ts +2 -2
- package/dist/client/opsActionHistory.d.ts +1 -1
- package/dist/client/opsActionHistoryWidget.d.ts +1 -1
- package/dist/client/opsStatus.d.ts +1 -1
- package/dist/client/opsStatusWidget.d.ts +4 -4
- package/dist/client/platformCoverage.d.ts +1 -1
- package/dist/client/platformCoverageWidget.d.ts +3 -3
- package/dist/client/profileComparison.d.ts +1 -1
- package/dist/client/profileComparisonWidget.d.ts +2 -2
- package/dist/client/profileSwitchRecommendation.d.ts +1 -1
- package/dist/client/profileSwitchRecommendationWidget.d.ts +1 -1
- package/dist/client/proofTrends.d.ts +1 -1
- package/dist/client/proofTrendsWidget.d.ts +3 -3
- package/dist/client/providerCapabilities.d.ts +1 -1
- package/dist/client/providerCapabilitiesWidget.d.ts +3 -3
- package/dist/client/providerContracts.d.ts +1 -1
- package/dist/client/providerContractsWidget.d.ts +3 -3
- package/dist/client/providerSimulationControls.d.ts +2 -2
- package/dist/client/providerSimulationControlsWidget.d.ts +1 -1
- package/dist/client/providerStatus.d.ts +1 -1
- package/dist/client/providerStatusWidget.d.ts +3 -3
- package/dist/client/readinessFailures.d.ts +1 -1
- package/dist/client/readinessFailuresWidget.d.ts +4 -4
- package/dist/client/routingStatus.d.ts +1 -1
- package/dist/client/routingStatusWidget.d.ts +3 -3
- package/dist/client/sessionSnapshot.d.ts +1 -1
- package/dist/client/sessionSnapshotWidget.d.ts +2 -2
- package/dist/client/store.d.ts +1 -1
- package/dist/client/traceTimeline.d.ts +1 -1
- package/dist/client/traceTimelineWidget.d.ts +3 -3
- package/dist/client/turnLatency.d.ts +1 -1
- package/dist/client/turnLatencyWidget.d.ts +3 -3
- package/dist/client/turnQuality.d.ts +1 -1
- package/dist/client/turnQualityWidget.d.ts +3 -3
- package/dist/client/workflowStatus.d.ts +1 -1
- package/dist/competitiveCoverage.d.ts +9 -9
- package/dist/correction.d.ts +2 -2
- package/dist/dataControl.d.ts +16 -16
- package/dist/deliveryRuntime.d.ts +9 -9
- package/dist/deliverySinkRoutes.d.ts +6 -6
- package/dist/demoReadyRoutes.d.ts +8 -8
- package/dist/diagnosticsRoutes.d.ts +2 -2
- package/dist/evalRoutes.d.ts +4 -4
- package/dist/fileStore.d.ts +9 -9
- package/dist/guardrails.d.ts +9 -9
- package/dist/handoff.d.ts +6 -6
- package/dist/handoffHealth.d.ts +5 -5
- package/dist/htmx.d.ts +1 -1
- package/dist/incidentBundle.d.ts +7 -7
- package/dist/incidentTimeline.d.ts +30 -16
- package/dist/index.d.ts +215 -215
- package/dist/index.js +375 -111
- package/dist/latencySlo.d.ts +4 -4
- package/dist/liveLatency.d.ts +3 -3
- package/dist/liveOps.d.ts +11 -11
- package/dist/logger.d.ts +1 -1
- package/dist/mediaPipelineRoutes.d.ts +2 -2
- package/dist/memoryStore.d.ts +1 -1
- package/dist/modelAdapters.d.ts +9 -9
- package/dist/observabilityExport.d.ts +44 -44
- package/dist/openaiTTS.d.ts +3 -3
- package/dist/operationalStatus.d.ts +5 -5
- package/dist/operationsRecord.d.ts +12 -12
- package/dist/ops.d.ts +12 -12
- package/dist/opsActionAuditRoutes.d.ts +3 -3
- package/dist/opsConsoleRoutes.d.ts +6 -6
- package/dist/opsPresets.d.ts +2 -2
- package/dist/opsRecovery.d.ts +11 -11
- package/dist/opsRuntime.d.ts +6 -6
- package/dist/opsSinks.d.ts +13 -13
- package/dist/opsStatus.d.ts +7 -7
- package/dist/opsStatusRoutes.d.ts +2 -2
- package/dist/opsWebhook.d.ts +6 -6
- package/dist/outcomeContract.d.ts +5 -5
- package/dist/outcomeRecipes.d.ts +4 -4
- package/dist/phoneAgent.d.ts +18 -18
- package/dist/phoneAgentProductionSmoke.d.ts +8 -8
- package/dist/platformCoverage.d.ts +3 -3
- package/dist/plugin.d.ts +2 -2
- package/dist/postCallAnalysis.d.ts +6 -6
- package/dist/postgresStore.d.ts +8 -8
- package/dist/presets.d.ts +3 -3
- package/dist/productionReadiness.d.ts +62 -36
- package/dist/profileSwitchRecommendation.d.ts +15 -15
- package/dist/proofAssertions.d.ts +1 -1
- package/dist/proofPack.d.ts +12 -12
- package/dist/proofRunner.d.ts +5 -5
- package/dist/proofTrends.d.ts +17 -17
- package/dist/providerAdapters.d.ts +5 -5
- package/dist/providerCapabilities.d.ts +4 -4
- package/dist/providerDecisionTraces.d.ts +8 -8
- package/dist/providerHealth.d.ts +3 -3
- package/dist/providerOrchestration.d.ts +5 -5
- package/dist/providerRouterTraces.d.ts +7 -7
- package/dist/providerRoutingContract.d.ts +3 -3
- package/dist/providerSlo.d.ts +6 -6
- package/dist/providerStackRecommendations.d.ts +6 -6
- package/dist/qualityRoutes.d.ts +4 -4
- package/dist/queue.d.ts +16 -16
- package/dist/react/VoiceAgentSquadStatus.d.ts +1 -1
- package/dist/react/VoiceCallDebuggerLaunch.d.ts +1 -1
- package/dist/react/VoiceDeliveryRuntime.d.ts +1 -1
- package/dist/react/VoiceOpsActionCenter.d.ts +1 -1
- package/dist/react/VoiceOpsStatus.d.ts +1 -1
- package/dist/react/VoicePlatformCoverage.d.ts +1 -1
- package/dist/react/VoiceProfileComparison.d.ts +1 -1
- package/dist/react/VoiceProfileSwitchRecommendation.d.ts +1 -1
- package/dist/react/VoiceProofTrends.d.ts +1 -1
- package/dist/react/VoiceProviderCapabilities.d.ts +1 -1
- package/dist/react/VoiceProviderContracts.d.ts +1 -1
- package/dist/react/VoiceProviderSimulationControls.d.ts +1 -1
- package/dist/react/VoiceProviderStatus.d.ts +1 -1
- package/dist/react/VoiceReadinessFailures.d.ts +1 -1
- package/dist/react/VoiceRoutingStatus.d.ts +1 -1
- package/dist/react/VoiceSessionSnapshot.d.ts +1 -1
- package/dist/react/VoiceTraceTimeline.d.ts +1 -1
- package/dist/react/VoiceTurnLatency.d.ts +1 -1
- package/dist/react/VoiceTurnQuality.d.ts +1 -1
- package/dist/react/index.d.ts +43 -43
- package/dist/react/index.js +41 -15
- package/dist/react/useVoiceAgentSquadStatus.d.ts +1 -1
- package/dist/react/useVoiceCallDebugger.d.ts +1 -1
- package/dist/react/useVoiceCampaignDialerProof.d.ts +1 -1
- package/dist/react/useVoiceController.d.ts +1 -1
- package/dist/react/useVoiceDeliveryRuntime.d.ts +1 -1
- package/dist/react/useVoiceLiveOps.d.ts +1 -1
- package/dist/react/useVoiceOpsActionCenter.d.ts +1 -1
- package/dist/react/useVoiceOpsStatus.d.ts +1 -1
- package/dist/react/useVoicePlatformCoverage.d.ts +1 -1
- package/dist/react/useVoiceProfileComparison.d.ts +1 -1
- package/dist/react/useVoiceProfileSwitchRecommendation.d.ts +1 -1
- package/dist/react/useVoiceProofTrends.d.ts +1 -1
- package/dist/react/useVoiceProviderCapabilities.d.ts +1 -1
- package/dist/react/useVoiceProviderContracts.d.ts +1 -1
- package/dist/react/useVoiceProviderSimulationControls.d.ts +1 -1
- package/dist/react/useVoiceProviderStatus.d.ts +1 -1
- package/dist/react/useVoiceReadinessFailures.d.ts +1 -1
- package/dist/react/useVoiceRoutingStatus.d.ts +1 -1
- package/dist/react/useVoiceSessionSnapshot.d.ts +1 -1
- package/dist/react/useVoiceStream.d.ts +1 -1
- package/dist/react/useVoiceTraceTimeline.d.ts +1 -1
- package/dist/react/useVoiceTurnLatency.d.ts +1 -1
- package/dist/react/useVoiceTurnQuality.d.ts +1 -1
- package/dist/react/useVoiceWorkflowStatus.d.ts +1 -1
- package/dist/readinessProfiles.d.ts +22 -15
- package/dist/realtimeChannel.d.ts +6 -6
- package/dist/realtimeProviderContracts.d.ts +7 -7
- package/dist/reconnectContract.d.ts +6 -6
- package/dist/resilienceRoutes.d.ts +6 -6
- package/dist/routing.d.ts +1 -1
- package/dist/runtimeOps.d.ts +3 -3
- package/dist/s3Store.d.ts +3 -3
- package/dist/session.d.ts +1 -1
- package/dist/sessionReplay.d.ts +9 -9
- package/dist/sessionSnapshot.d.ts +8 -8
- package/dist/simulationSuite.d.ts +12 -12
- package/dist/sloCalibration.d.ts +8 -8
- package/dist/sqliteStore.d.ts +8 -8
- package/dist/store.d.ts +1 -1
- package/dist/svelte/createVoiceAgentSquadStatus.d.ts +1 -1
- package/dist/svelte/createVoiceCallDebugger.d.ts +2 -2
- package/dist/svelte/createVoiceCampaignDialerProof.d.ts +1 -1
- package/dist/svelte/createVoiceDeliveryRuntime.d.ts +1 -1
- package/dist/svelte/createVoiceLiveOps.d.ts +2 -2
- package/dist/svelte/createVoiceOpsActionCenter.d.ts +1 -1
- package/dist/svelte/createVoiceOpsStatus.d.ts +1 -1
- package/dist/svelte/createVoicePlatformCoverage.d.ts +1 -1
- package/dist/svelte/createVoiceProfileComparison.d.ts +1 -1
- package/dist/svelte/createVoiceProofTrends.d.ts +1 -1
- package/dist/svelte/createVoiceProviderCapabilities.d.ts +1 -1
- package/dist/svelte/createVoiceProviderContracts.d.ts +1 -1
- package/dist/svelte/createVoiceProviderSimulationControls.d.ts +1 -1
- package/dist/svelte/createVoiceProviderStatus.d.ts +1 -1
- package/dist/svelte/createVoiceReadinessFailures.d.ts +1 -1
- package/dist/svelte/createVoiceRoutingStatus.d.ts +1 -1
- package/dist/svelte/createVoiceSessionSnapshot.d.ts +2 -2
- package/dist/svelte/createVoiceStream.d.ts +1 -1
- package/dist/svelte/createVoiceTraceTimeline.d.ts +1 -1
- package/dist/svelte/createVoiceTurnLatency.d.ts +1 -1
- package/dist/svelte/createVoiceTurnQuality.d.ts +1 -1
- package/dist/svelte/createVoiceWorkflowStatus.d.ts +1 -1
- package/dist/svelte/index.d.ts +23 -23
- package/dist/svelte/index.js +30 -8
- package/dist/telephony/contract.d.ts +5 -5
- package/dist/telephony/matrix.d.ts +4 -4
- package/dist/telephony/plivo.d.ts +30 -30
- package/dist/telephony/response.d.ts +1 -1
- package/dist/telephony/security.d.ts +17 -17
- package/dist/telephony/telnyx.d.ts +31 -31
- package/dist/telephony/twilio.d.ts +22 -22
- package/dist/telephonyMediaRoutes.d.ts +4 -4
- package/dist/telephonyOutcome.d.ts +13 -13
- package/dist/testing/accuracy.d.ts +1 -1
- package/dist/testing/benchmark.d.ts +9 -9
- package/dist/testing/corrected.d.ts +5 -5
- package/dist/testing/duplex.d.ts +3 -3
- package/dist/testing/fixtures.d.ts +3 -3
- package/dist/testing/index.d.ts +13 -13
- package/dist/testing/index.js +49 -20
- package/dist/testing/ioProviderSimulator.d.ts +5 -5
- package/dist/testing/providerSimulator.d.ts +5 -5
- package/dist/testing/review.d.ts +4 -4
- package/dist/testing/sessionBenchmark.d.ts +3 -3
- package/dist/testing/stt.d.ts +3 -3
- package/dist/testing/telephony.d.ts +3 -3
- package/dist/testing/tts.d.ts +1 -1
- package/dist/toolContract.d.ts +10 -10
- package/dist/toolRuntime.d.ts +3 -3
- package/dist/trace.d.ts +10 -10
- package/dist/traceDeliveryRoutes.d.ts +4 -4
- package/dist/traceTimeline.d.ts +4 -4
- package/dist/turnDetection.d.ts +1 -1
- package/dist/turnLatency.d.ts +4 -4
- package/dist/turnProfiles.d.ts +2 -2
- package/dist/turnQuality.d.ts +4 -4
- package/dist/types.d.ts +92 -92
- package/dist/voiceMonitoring.d.ts +6 -6
- package/dist/vue/VoiceOpsActionCenter.d.ts +2 -2
- package/dist/vue/VoiceProviderSimulationControls.d.ts +2 -2
- package/dist/vue/index.d.ts +38 -38
- package/dist/vue/index.js +41 -15
- package/dist/vue/useVoiceAgentSquadStatus.d.ts +1 -1
- package/dist/vue/useVoiceCallDebugger.d.ts +2 -2
- package/dist/vue/useVoiceCampaignDialerProof.d.ts +2 -2
- package/dist/vue/useVoiceController.d.ts +1 -1
- package/dist/vue/useVoiceDeliveryRuntime.d.ts +2 -2
- package/dist/vue/useVoiceLiveOps.d.ts +1 -1
- package/dist/vue/useVoiceOpsActionCenter.d.ts +1 -1
- package/dist/vue/useVoiceOpsStatus.d.ts +2 -2
- package/dist/vue/useVoicePlatformCoverage.d.ts +2 -2
- package/dist/vue/useVoiceProfileComparison.d.ts +2 -2
- package/dist/vue/useVoiceProofTrends.d.ts +2 -2
- package/dist/vue/useVoiceProviderCapabilities.d.ts +2 -2
- package/dist/vue/useVoiceProviderContracts.d.ts +2 -2
- package/dist/vue/useVoiceProviderSimulationControls.d.ts +1 -1
- package/dist/vue/useVoiceProviderStatus.d.ts +2 -2
- package/dist/vue/useVoiceReadinessFailures.d.ts +30 -2
- package/dist/vue/useVoiceRoutingStatus.d.ts +1 -1
- package/dist/vue/useVoiceSessionSnapshot.d.ts +2 -2
- package/dist/vue/useVoiceStream.d.ts +1 -1
- package/dist/vue/useVoiceTraceTimeline.d.ts +2 -2
- package/dist/vue/useVoiceTurnLatency.d.ts +2 -2
- package/dist/vue/useVoiceTurnQuality.d.ts +2 -2
- package/dist/vue/useVoiceWorkflowStatus.d.ts +2 -2
- package/dist/workflowContract.d.ts +8 -8
- package/fixtures/manifest.json +356 -197
- package/package.json +260 -259
package/dist/incidentBundle.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Elysia } from
|
|
2
|
-
import { type VoiceOperationsRecord, type VoiceOperationsRecordOptions } from
|
|
3
|
-
import type { VoiceIncidentRecoveryOutcomeReport } from
|
|
4
|
-
import { type VoiceTraceRedactionConfig } from
|
|
5
|
-
export type VoiceIncidentBundleFormat =
|
|
1
|
+
import { Elysia } from "elysia";
|
|
2
|
+
import { type VoiceOperationsRecord, type VoiceOperationsRecordOptions } from "./operationsRecord";
|
|
3
|
+
import type { VoiceIncidentRecoveryOutcomeReport } from "./incidentTimeline";
|
|
4
|
+
import { type VoiceTraceRedactionConfig } from "./trace";
|
|
5
|
+
export type VoiceIncidentBundleFormat = "json" | "markdown";
|
|
6
6
|
export type VoiceIncidentBundle = {
|
|
7
7
|
auditMarkdown?: string;
|
|
8
8
|
exportedAt: number;
|
|
@@ -41,7 +41,7 @@ export type VoiceIncidentBundleSummary = {
|
|
|
41
41
|
handoffs: number;
|
|
42
42
|
providers: string[];
|
|
43
43
|
sessionId: string;
|
|
44
|
-
status: VoiceOperationsRecord[
|
|
44
|
+
status: VoiceOperationsRecord["status"];
|
|
45
45
|
tools: number;
|
|
46
46
|
traceEvents: number;
|
|
47
47
|
turns: number;
|
|
@@ -51,7 +51,7 @@ export type VoiceIncidentBundleOptions = VoiceOperationsRecordOptions & {
|
|
|
51
51
|
recoveryOutcomes?: VoiceIncidentRecoveryOutcomeReport;
|
|
52
52
|
title?: string;
|
|
53
53
|
};
|
|
54
|
-
export type VoiceIncidentBundleRoutesOptions = Omit<VoiceIncidentBundleOptions,
|
|
54
|
+
export type VoiceIncidentBundleRoutesOptions = Omit<VoiceIncidentBundleOptions, "sessionId"> & {
|
|
55
55
|
headers?: HeadersInit;
|
|
56
56
|
markdownPath?: false | string;
|
|
57
57
|
name?: string;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { Elysia } from
|
|
2
|
-
import type { VoiceFailureReplayReport, VoiceOperationsRecord } from
|
|
3
|
-
import type { VoiceOperationalStatusReport } from
|
|
4
|
-
import type { VoiceOpsRecoveryReport } from
|
|
5
|
-
import type { VoiceProductionReadinessCheck } from
|
|
6
|
-
import type { VoiceAuditEventStore } from
|
|
7
|
-
import type { VoiceTraceEventStore } from
|
|
8
|
-
import type { VoiceMonitorIssue } from
|
|
9
|
-
export type VoiceIncidentTimelineStatus =
|
|
10
|
-
export type VoiceIncidentTimelineSeverity =
|
|
1
|
+
import { Elysia } from "elysia";
|
|
2
|
+
import type { VoiceFailureReplayReport, VoiceOperationsRecord } from "./operationsRecord";
|
|
3
|
+
import type { VoiceOperationalStatusReport } from "./operationalStatus";
|
|
4
|
+
import type { VoiceOpsRecoveryReport } from "./opsRecovery";
|
|
5
|
+
import type { VoiceProductionReadinessCheck } from "./productionReadiness";
|
|
6
|
+
import type { VoiceAuditEventStore } from "./audit";
|
|
7
|
+
import type { VoiceTraceEventStore } from "./trace";
|
|
8
|
+
import type { VoiceMonitorIssue } from "./voiceMonitoring";
|
|
9
|
+
export type VoiceIncidentTimelineStatus = "fail" | "pass" | "warn";
|
|
10
|
+
export type VoiceIncidentTimelineSeverity = "critical" | "info" | "warn";
|
|
11
11
|
export type VoiceIncidentTimelineAction = {
|
|
12
12
|
href?: string;
|
|
13
13
|
label: string;
|
|
14
|
-
method?:
|
|
14
|
+
method?: "GET" | "POST";
|
|
15
15
|
};
|
|
16
16
|
export type VoiceIncidentRecoveryAction = {
|
|
17
17
|
detail?: string;
|
|
@@ -20,7 +20,7 @@ export type VoiceIncidentRecoveryAction = {
|
|
|
20
20
|
href?: string;
|
|
21
21
|
id: string;
|
|
22
22
|
label: string;
|
|
23
|
-
method?:
|
|
23
|
+
method?: "GET" | "POST";
|
|
24
24
|
sessionId?: string;
|
|
25
25
|
};
|
|
26
26
|
export type VoiceIncidentRecoveryActionResult = {
|
|
@@ -39,7 +39,7 @@ export type VoiceIncidentRecoveryActionHandlerInput = {
|
|
|
39
39
|
request: Request;
|
|
40
40
|
};
|
|
41
41
|
export type VoiceIncidentRecoveryActionHandler = (input: VoiceIncidentRecoveryActionHandlerInput) => Promise<VoiceIncidentRecoveryActionResult> | VoiceIncidentRecoveryActionResult;
|
|
42
|
-
export type VoiceIncidentRecoveryOutcome =
|
|
42
|
+
export type VoiceIncidentRecoveryOutcome = "failed" | "improved" | "regressed" | "unchanged";
|
|
43
43
|
export type VoiceIncidentRecoveryOutcomeEntry = {
|
|
44
44
|
actionId: string;
|
|
45
45
|
afterStatus?: VoiceIncidentTimelineStatus;
|
|
@@ -60,7 +60,20 @@ export type VoiceIncidentRecoveryOutcomeReport = {
|
|
|
60
60
|
total: number;
|
|
61
61
|
unchanged: number;
|
|
62
62
|
};
|
|
63
|
-
export type VoiceIncidentRecoveryTrendStatus =
|
|
63
|
+
export type VoiceIncidentRecoveryTrendStatus = "empty" | "fail" | "pass" | "warn";
|
|
64
|
+
export type VoiceIncidentRecoveryTrendSloMode = "aggregate" | "latest";
|
|
65
|
+
export type VoiceIncidentRecoveryTrendSloOptions = {
|
|
66
|
+
href?: string;
|
|
67
|
+
label?: string;
|
|
68
|
+
maxFailureRate?: number;
|
|
69
|
+
maxRegressionRate?: number;
|
|
70
|
+
maxUnchangedRate?: number;
|
|
71
|
+
minActions?: number;
|
|
72
|
+
minCycles?: number;
|
|
73
|
+
minImprovementRate?: number;
|
|
74
|
+
warnWhenEmpty?: boolean;
|
|
75
|
+
mode?: VoiceIncidentRecoveryTrendSloMode;
|
|
76
|
+
};
|
|
64
77
|
export type VoiceIncidentRecoveryTrendCycle = {
|
|
65
78
|
checkedAt: number;
|
|
66
79
|
failed: number;
|
|
@@ -113,7 +126,7 @@ export type VoiceIncidentRecoveryOutcomeReadinessOptions = {
|
|
|
113
126
|
export type VoiceIncidentTimelineEvent = {
|
|
114
127
|
action?: VoiceIncidentTimelineAction;
|
|
115
128
|
at: number;
|
|
116
|
-
category:
|
|
129
|
+
category: "call" | "delivery" | "failure-replay" | "monitor" | "operational-status" | "readiness" | "recovery";
|
|
117
130
|
detail?: string;
|
|
118
131
|
href?: string;
|
|
119
132
|
id: string;
|
|
@@ -160,7 +173,7 @@ export type VoiceIncidentTimelineOptions = {
|
|
|
160
173
|
opsRecovery?: VoiceIncidentTimelineValue<VoiceOpsRecoveryReport>;
|
|
161
174
|
recoveryActions?: readonly VoiceIncidentRecoveryAction[] | ((input: {
|
|
162
175
|
events: readonly VoiceIncidentTimelineEvent[];
|
|
163
|
-
report: Omit<VoiceIncidentTimelineReport,
|
|
176
|
+
report: Omit<VoiceIncidentTimelineReport, "actions">;
|
|
164
177
|
}) => Promise<readonly VoiceIncidentRecoveryAction[]> | readonly VoiceIncidentRecoveryAction[]);
|
|
165
178
|
windowMs?: number;
|
|
166
179
|
};
|
|
@@ -188,6 +201,7 @@ export declare const renderVoiceIncidentRecoveryOutcomeHTML: (report: VoiceIncid
|
|
|
188
201
|
title?: string;
|
|
189
202
|
}) => string;
|
|
190
203
|
export declare const buildVoiceIncidentRecoveryOutcomeReadinessCheck: (report: VoiceIncidentRecoveryOutcomeReport, options?: VoiceIncidentRecoveryOutcomeReadinessOptions) => VoiceProductionReadinessCheck;
|
|
204
|
+
export declare const buildVoiceIncidentRecoveryTrendSLOReadinessCheck: (report: VoiceIncidentRecoveryTrendReport, options?: VoiceIncidentRecoveryTrendSloOptions) => VoiceProductionReadinessCheck;
|
|
191
205
|
export declare const buildVoiceIncidentRecoveryTrendReport: (reports?: readonly VoiceIncidentRecoveryOutcomeReport[]) => VoiceIncidentRecoveryTrendReport;
|
|
192
206
|
export declare const renderVoiceIncidentRecoveryTrendMarkdown: (report: VoiceIncidentRecoveryTrendReport, options?: {
|
|
193
207
|
title?: string;
|