@absolutejs/voice 0.0.22-beta.147 → 0.0.22-beta.149
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/deliveryRuntime.d.ts +61 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +373 -246
- package/dist/productionReadiness.d.ts +28 -0
- package/package.json +1 -1
|
@@ -5,6 +5,7 @@ import type { VoiceTraceEventStore } from './trace';
|
|
|
5
5
|
import type { VoiceTraceSinkDeliveryStore } from './trace';
|
|
6
6
|
import type { VoiceAgentSquadContractReport } from './agentSquadContract';
|
|
7
7
|
import type { VoiceBargeInReport } from './bargeInRoutes';
|
|
8
|
+
import type { VoiceDeliveryRuntime, VoiceDeliveryRuntimeSummary } from './deliveryRuntime';
|
|
8
9
|
import type { VoiceProviderRoutingContractReport } from './providerRoutingContract';
|
|
9
10
|
import type { VoicePhoneAgentProductionSmokeReport } from './phoneAgentProductionSmoke';
|
|
10
11
|
import type { VoiceReconnectContractReport } from './reconnectContract';
|
|
@@ -42,6 +43,7 @@ export type VoiceProductionReadinessReport = {
|
|
|
42
43
|
auditDeliveries?: string;
|
|
43
44
|
bargeIn?: string;
|
|
44
45
|
carriers?: string;
|
|
46
|
+
deliveryRuntime?: string;
|
|
45
47
|
handoffs?: string;
|
|
46
48
|
handoffRetry?: string;
|
|
47
49
|
liveLatency?: string;
|
|
@@ -78,6 +80,7 @@ export type VoiceProductionReadinessReport = {
|
|
|
78
80
|
status: VoiceProductionReadinessStatus;
|
|
79
81
|
warnings: number;
|
|
80
82
|
};
|
|
83
|
+
deliveryRuntime?: VoiceProductionReadinessDeliveryRuntimeSummary;
|
|
81
84
|
handoffs: {
|
|
82
85
|
failed: number;
|
|
83
86
|
total: number;
|
|
@@ -168,6 +171,27 @@ export type VoiceProductionReadinessTraceDeliverySummary = {
|
|
|
168
171
|
total: number;
|
|
169
172
|
warnPendingAfterMs: number;
|
|
170
173
|
};
|
|
174
|
+
export type VoiceProductionReadinessDeliveryRuntimeSummary = {
|
|
175
|
+
audit?: VoiceProductionReadinessDeliveryRuntimeQueueSummary;
|
|
176
|
+
deadLettered: number;
|
|
177
|
+
delivered: number;
|
|
178
|
+
failed: number;
|
|
179
|
+
pending: number;
|
|
180
|
+
retryEligible: number;
|
|
181
|
+
skipped: number;
|
|
182
|
+
status: VoiceProductionReadinessStatus;
|
|
183
|
+
total: number;
|
|
184
|
+
trace?: VoiceProductionReadinessDeliveryRuntimeQueueSummary;
|
|
185
|
+
};
|
|
186
|
+
export type VoiceProductionReadinessDeliveryRuntimeQueueSummary = {
|
|
187
|
+
deadLettered: number;
|
|
188
|
+
delivered: number;
|
|
189
|
+
failed: number;
|
|
190
|
+
pending: number;
|
|
191
|
+
retryEligible: number;
|
|
192
|
+
skipped: number;
|
|
193
|
+
total: number;
|
|
194
|
+
};
|
|
171
195
|
export type VoiceProductionReadinessAuditOptions = VoiceAuditEventStore | {
|
|
172
196
|
require?: readonly (VoiceAuditEventType | VoiceProductionReadinessAuditRequirement)[];
|
|
173
197
|
store: VoiceAuditEventStore;
|
|
@@ -199,6 +223,10 @@ export type VoiceProductionReadinessRoutesOptions = {
|
|
|
199
223
|
query: Record<string, unknown>;
|
|
200
224
|
request: Request;
|
|
201
225
|
}) => Promise<readonly VoiceTelephonyCarrierMatrixInput[]> | readonly VoiceTelephonyCarrierMatrixInput[]);
|
|
226
|
+
deliveryRuntime?: false | VoiceDeliveryRuntime | VoiceDeliveryRuntimeSummary | ((input: {
|
|
227
|
+
query: Record<string, unknown>;
|
|
228
|
+
request: Request;
|
|
229
|
+
}) => Promise<VoiceDeliveryRuntime | VoiceDeliveryRuntimeSummary> | VoiceDeliveryRuntime | VoiceDeliveryRuntimeSummary);
|
|
202
230
|
headers?: HeadersInit;
|
|
203
231
|
htmlPath?: false | string;
|
|
204
232
|
links?: VoiceProductionReadinessReport['links'];
|