@absolutejs/voice 0.0.22-beta.225 → 0.0.22-beta.226
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 +15 -2
- package/dist/index.js +3060 -2983
- package/dist/productionReadiness.d.ts +21 -1
- package/package.json +1 -1
|
@@ -15,7 +15,14 @@ import type { VoiceProviderContractMatrixReport, VoiceProviderStackCapabilityGap
|
|
|
15
15
|
import { type VoiceProviderSloReport, type VoiceProviderSloReportOptions } from './providerSlo';
|
|
16
16
|
import type { VoiceCampaignReadinessProofReport } from './campaign';
|
|
17
17
|
import { type VoiceOpsRecoveryReport } from './opsRecovery';
|
|
18
|
-
import type
|
|
18
|
+
import { type VoiceObservabilityExportDeliveryHistory, type VoiceObservabilityExportDeliveryReceiptStore, type VoiceObservabilityExportReport } from './observabilityExport';
|
|
19
|
+
export type VoiceProductionReadinessObservabilityExportDeliveryHistoryOptions = {
|
|
20
|
+
failOnMissing?: boolean;
|
|
21
|
+
failOnStale?: boolean;
|
|
22
|
+
history?: VoiceObservabilityExportDeliveryHistory;
|
|
23
|
+
maxAgeMs?: number;
|
|
24
|
+
store?: VoiceObservabilityExportDeliveryReceiptStore;
|
|
25
|
+
};
|
|
19
26
|
export type VoiceProductionReadinessStatus = 'fail' | 'pass' | 'warn';
|
|
20
27
|
export type VoiceProductionReadinessAction = {
|
|
21
28
|
description?: string;
|
|
@@ -93,6 +100,7 @@ export type VoiceProductionReadinessReport = {
|
|
|
93
100
|
liveLatency?: string;
|
|
94
101
|
operationsRecords?: string;
|
|
95
102
|
observabilityExport?: string;
|
|
103
|
+
observabilityExportDeliveries?: string;
|
|
96
104
|
opsActions?: string;
|
|
97
105
|
opsRecovery?: string;
|
|
98
106
|
phoneAgentSmoke?: string;
|
|
@@ -165,6 +173,14 @@ export type VoiceProductionReadinessReport = {
|
|
|
165
173
|
status: VoiceProductionReadinessStatus;
|
|
166
174
|
traceEvents: number;
|
|
167
175
|
};
|
|
176
|
+
observabilityExportDeliveryHistory?: {
|
|
177
|
+
delivered: number;
|
|
178
|
+
failed: number;
|
|
179
|
+
latestSuccessAgeMs?: number;
|
|
180
|
+
receipts: number;
|
|
181
|
+
status: VoiceProductionReadinessStatus;
|
|
182
|
+
totalDestinations: number;
|
|
183
|
+
};
|
|
168
184
|
providers: {
|
|
169
185
|
degraded: number;
|
|
170
186
|
total: number;
|
|
@@ -352,6 +368,10 @@ export type VoiceProductionReadinessRoutesOptions = {
|
|
|
352
368
|
query: Record<string, unknown>;
|
|
353
369
|
request: Request;
|
|
354
370
|
}) => Promise<VoiceObservabilityExportReport> | VoiceObservabilityExportReport);
|
|
371
|
+
observabilityExportDeliveryHistory?: false | VoiceObservabilityExportDeliveryHistory | VoiceObservabilityExportDeliveryReceiptStore | VoiceProductionReadinessObservabilityExportDeliveryHistoryOptions | ((input: {
|
|
372
|
+
query: Record<string, unknown>;
|
|
373
|
+
request: Request;
|
|
374
|
+
}) => Promise<VoiceObservabilityExportDeliveryHistory | VoiceObservabilityExportDeliveryReceiptStore | VoiceProductionReadinessObservabilityExportDeliveryHistoryOptions> | VoiceObservabilityExportDeliveryHistory | VoiceObservabilityExportDeliveryReceiptStore | VoiceProductionReadinessObservabilityExportDeliveryHistoryOptions);
|
|
355
375
|
path?: string;
|
|
356
376
|
phoneAgentSmokes?: false | readonly VoicePhoneAgentProductionSmokeReport[] | ((input: {
|
|
357
377
|
query: Record<string, unknown>;
|