@absolutejs/voice 0.0.22-beta.534 → 0.0.22-beta.535
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.js +347 -347
- package/dist/angular/voice-cost-dashboard.service.d.ts +1 -1
- package/dist/angular/voice-replay-timeline.service.d.ts +1 -1
- package/dist/client/agentSquadStatusWidget.d.ts +3 -3
- package/dist/client/browserVoiceSupport.d.ts +1 -1
- package/dist/client/callDebugger.d.ts +2 -2
- package/dist/client/callDebuggerWidget.d.ts +3 -3
- package/dist/client/campaignDialerProof.d.ts +4 -4
- package/dist/client/deliveryRuntime.d.ts +4 -4
- package/dist/client/deliveryRuntimeWidget.d.ts +3 -3
- package/dist/client/htmxAttributes.d.ts +1 -5
- package/dist/client/htmxBootstrap.js +82 -82
- package/dist/client/htmxDashboardRenderers.d.ts +17 -17
- package/dist/client/index.js +2478 -2484
- package/dist/client/liveOps.d.ts +2 -2
- package/dist/client/liveOpsWidget.d.ts +3 -3
- package/dist/client/opsActionCenter.d.ts +3 -3
- package/dist/client/opsActionCenterWidget.d.ts +3 -3
- package/dist/client/opsActionHistory.d.ts +2 -2
- package/dist/client/opsActionHistoryWidget.d.ts +2 -2
- package/dist/client/opsStatus.d.ts +2 -2
- package/dist/client/opsStatusWidget.d.ts +4 -4
- package/dist/client/platformCoverage.d.ts +2 -2
- package/dist/client/platformCoverageWidget.d.ts +3 -3
- package/dist/client/profileComparison.d.ts +2 -2
- package/dist/client/profileComparisonWidget.d.ts +3 -3
- package/dist/client/profileSwitchRecommendation.d.ts +2 -2
- package/dist/client/profileSwitchRecommendationWidget.d.ts +3 -3
- package/dist/client/proofTrends.d.ts +2 -2
- package/dist/client/proofTrendsWidget.d.ts +3 -3
- package/dist/client/providerCapabilities.d.ts +2 -2
- package/dist/client/providerCapabilitiesWidget.d.ts +3 -3
- package/dist/client/providerContracts.d.ts +2 -2
- package/dist/client/providerContractsWidget.d.ts +3 -3
- package/dist/client/providerSimulationControls.d.ts +1 -1
- package/dist/client/providerSimulationControlsWidget.d.ts +4 -4
- package/dist/client/providerStatus.d.ts +2 -2
- package/dist/client/providerStatusWidget.d.ts +3 -3
- package/dist/client/readinessFailures.d.ts +2 -2
- package/dist/client/readinessFailuresWidget.d.ts +3 -3
- package/dist/client/reconnectProfileEvidence.d.ts +2 -2
- package/dist/client/reconnectProfileEvidenceWidget.d.ts +3 -3
- package/dist/client/routingStatus.d.ts +2 -2
- package/dist/client/routingStatusWidget.d.ts +3 -3
- package/dist/client/sessionObservability.d.ts +2 -2
- package/dist/client/sessionObservabilityWidget.d.ts +3 -3
- package/dist/client/sessionSnapshot.d.ts +2 -2
- package/dist/client/sessionSnapshotWidget.d.ts +2 -2
- package/dist/client/traceTimeline.d.ts +2 -2
- package/dist/client/traceTimelineWidget.d.ts +3 -3
- package/dist/client/turnLatency.d.ts +4 -4
- package/dist/client/turnLatencyWidget.d.ts +3 -3
- package/dist/client/turnQuality.d.ts +2 -2
- package/dist/client/turnQualityWidget.d.ts +3 -3
- package/dist/client/workflowStatus.d.ts +2 -2
- package/dist/core/agent.d.ts +1 -1
- package/dist/core/agentSquadContract.d.ts +2 -2
- package/dist/core/agentState.d.ts +1 -1
- package/dist/core/aiScorecard.d.ts +1 -1
- package/dist/core/assistant.d.ts +1 -1
- package/dist/core/assistantHealth.d.ts +3 -3
- package/dist/core/assistantMemory.d.ts +7 -7
- package/dist/core/audioConditioning.d.ts +1 -1
- package/dist/core/audit.d.ts +6 -6
- package/dist/core/auditDeliveryRoutes.d.ts +7 -7
- package/dist/core/auditExport.d.ts +10 -10
- package/dist/core/auditRoutes.d.ts +5 -5
- package/dist/core/auditSinks.d.ts +7 -7
- package/dist/core/bargeInRoutes.d.ts +6 -6
- package/dist/core/bookingFlow.d.ts +1 -1
- package/dist/core/browserCallProfiles.d.ts +3 -3
- package/dist/core/browserMediaRoutes.d.ts +5 -5
- package/dist/core/callDebugger.d.ts +1 -1
- package/dist/core/callDisposition.d.ts +1 -1
- package/dist/core/callScorecard.d.ts +1 -1
- package/dist/core/campaign.d.ts +5 -5
- package/dist/core/campaignControls.d.ts +1 -1
- package/dist/core/campaignDialers.d.ts +4 -4
- package/dist/core/campaignTemplate.d.ts +1 -1
- package/dist/core/competitiveCoverage.d.ts +2 -2
- package/dist/core/conversationSimulator.d.ts +1 -1
- package/dist/core/correction.d.ts +1 -1
- package/dist/core/dataControl.d.ts +5 -5
- package/dist/core/deliveryRuntime.d.ts +7 -7
- package/dist/core/deliverySinkRoutes.d.ts +7 -7
- package/dist/core/demoReadyRoutes.d.ts +1 -1
- package/dist/core/dncRegistry.d.ts +1 -1
- package/dist/core/dtmfCollector.d.ts +1 -1
- package/dist/core/evalRoutes.d.ts +16 -16
- package/dist/core/fileStore.d.ts +18 -18
- package/dist/core/guardrails.d.ts +2 -2
- package/dist/core/handoff.d.ts +4 -4
- package/dist/core/handoffHealth.d.ts +4 -4
- package/dist/core/htmx.d.ts +1 -1
- package/dist/core/incidentBundle.d.ts +1 -1
- package/dist/core/incidentTimeline.d.ts +11 -11
- package/dist/core/latencySlo.d.ts +1 -1
- package/dist/core/liveCoach.d.ts +1 -1
- package/dist/core/liveLatency.d.ts +3 -3
- package/dist/core/liveOps.d.ts +6 -6
- package/dist/core/mediaPipelineRoutes.d.ts +4 -4
- package/dist/core/monitor.d.ts +1 -1
- package/dist/core/multilingualProof.d.ts +1 -1
- package/dist/core/observabilityExport.d.ts +15 -15
- package/dist/core/operationalStatus.d.ts +3 -3
- package/dist/core/operationsRecord.d.ts +8 -8
- package/dist/core/ops.d.ts +58 -58
- package/dist/core/opsActionAuditRoutes.d.ts +10 -10
- package/dist/core/opsConsoleRoutes.d.ts +3 -3
- package/dist/core/opsRecovery.d.ts +4 -4
- package/dist/core/opsSinks.d.ts +6 -6
- package/dist/core/opsStatusRoutes.d.ts +3 -3
- package/dist/core/opsWebhook.d.ts +9 -9
- package/dist/core/otelExporter.d.ts +1 -1
- package/dist/core/outcomeContract.d.ts +6 -6
- package/dist/core/pathway.d.ts +2 -2
- package/dist/core/pathwayRuntime.d.ts +2 -2
- package/dist/core/phoneAgent.d.ts +2 -2
- package/dist/core/phoneAgentProductionSmoke.d.ts +7 -7
- package/dist/core/platformCoverage.d.ts +1 -1
- package/dist/core/postCallSurvey.d.ts +1 -1
- package/dist/core/postgresStore.d.ts +8 -8
- package/dist/core/productionReadiness.d.ts +9 -9
- package/dist/core/profileSwitchRecommendation.d.ts +9 -9
- package/dist/core/proofAssertions.d.ts +1 -1
- package/dist/core/proofPack.d.ts +12 -12
- package/dist/core/proofRunner.d.ts +2 -2
- package/dist/core/proofTrends.d.ts +26 -26
- package/dist/core/providerCapabilities.d.ts +5 -5
- package/dist/core/providerDecisionTraces.d.ts +4 -4
- package/dist/core/providerHealth.d.ts +3 -3
- package/dist/core/providerOrchestration.d.ts +4 -4
- package/dist/core/providerRouterTraces.d.ts +2 -2
- package/dist/core/providerRoutingContract.d.ts +2 -2
- package/dist/core/providerSlo.d.ts +5 -5
- package/dist/core/providerStackRecommendations.d.ts +8 -8
- package/dist/core/qualityRoutes.d.ts +3 -3
- package/dist/core/queue.d.ts +26 -26
- package/dist/core/realtimeChannel.d.ts +5 -5
- package/dist/core/realtimeProviderContracts.d.ts +3 -3
- package/dist/core/reconnectContract.d.ts +16 -16
- package/dist/core/recordingStore.d.ts +2 -2
- package/dist/core/reminderScheduler.d.ts +1 -1
- package/dist/core/resilienceRoutes.d.ts +1 -1
- package/dist/core/routing.d.ts +1 -1
- package/dist/core/sessionObservability.d.ts +2 -2
- package/dist/core/sessionReplay.d.ts +12 -12
- package/dist/core/sessionSnapshot.d.ts +1 -1
- package/dist/core/simulationSuite.d.ts +4 -4
- package/dist/core/sloCalibration.d.ts +12 -12
- package/dist/core/sqliteStore.d.ts +8 -8
- package/dist/core/telephonyMediaRoutes.d.ts +4 -4
- package/dist/core/telephonyOutcome.d.ts +2 -2
- package/dist/core/toolContract.d.ts +10 -10
- package/dist/core/toolRuntime.d.ts +1 -1
- package/dist/core/trace.d.ts +18 -18
- package/dist/core/traceDeliveryRoutes.d.ts +7 -7
- package/dist/core/traceTimeline.d.ts +3 -3
- package/dist/core/turnLatency.d.ts +4 -4
- package/dist/core/turnQuality.d.ts +5 -5
- package/dist/core/types.d.ts +7 -2
- package/dist/core/voiceMonitoring.d.ts +11 -11
- package/dist/core/webhookVerification.d.ts +4 -4
- package/dist/core/whisperChannel.d.ts +4 -4
- package/dist/core/workflowContract.d.ts +13 -13
- package/dist/core/zeroDataRetention.d.ts +3 -13
- package/dist/drizzle/assistantMemory.d.ts +95 -0
- package/dist/drizzle/eval.d.ts +61 -0
- package/dist/drizzle/handoff.d.ts +62 -0
- package/dist/drizzle/index.d.ts +1029 -0
- package/dist/drizzle/index.js +3028 -0
- package/dist/drizzle/observabilityExport.d.ts +61 -0
- package/dist/drizzle/proofTrends.d.ts +126 -0
- package/dist/drizzle/runtimeStorage.d.ts +1311 -0
- package/dist/drizzle/shared.d.ts +75 -0
- package/dist/embed/index.js +72 -72
- package/dist/embed/voice-widget.js +2 -2
- package/dist/index.js +7034 -7101
- package/dist/react/index.js +2148 -2150
- package/dist/svelte/createVoiceAgentSquadStatus.d.ts +2 -2
- package/dist/svelte/createVoiceCallDebugger.d.ts +1 -1
- package/dist/svelte/createVoiceCallPlayer.d.ts +8 -8
- package/dist/svelte/createVoiceCampaignDialerProof.d.ts +2 -2
- package/dist/svelte/createVoiceCostDashboard.d.ts +4 -4
- package/dist/svelte/createVoiceDeliveryRuntime.d.ts +3 -3
- package/dist/svelte/createVoiceLiveAgentConsole.d.ts +4 -4
- package/dist/svelte/createVoiceLiveOps.d.ts +4 -4
- package/dist/svelte/createVoiceOpsActionCenter.d.ts +2 -2
- package/dist/svelte/createVoiceOpsStatus.d.ts +2 -2
- 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/createVoiceReplayTimeline.d.ts +1 -1
- package/dist/svelte/createVoiceRoutingStatus.d.ts +1 -1
- package/dist/svelte/createVoiceSessionObservability.d.ts +1 -1
- package/dist/svelte/createVoiceSessionSnapshot.d.ts +1 -1
- package/dist/svelte/createVoiceTraceTimeline.d.ts +1 -1
- package/dist/svelte/createVoiceTurnLatency.d.ts +2 -2
- package/dist/svelte/createVoiceTurnQuality.d.ts +1 -1
- package/dist/svelte/createVoiceWidget.d.ts +2 -2
- package/dist/svelte/createVoiceWorkflowStatus.d.ts +1 -1
- package/dist/svelte/index.js +1518 -1522
- package/dist/telephony/matrix.d.ts +3 -3
- package/dist/telephony/plivo.d.ts +2 -2
- package/dist/telephony/security.d.ts +3 -3
- package/dist/telephony/telnyx.d.ts +1 -1
- package/dist/telephony/twilio.d.ts +2 -2
- package/dist/testing/benchmark.d.ts +6 -6
- package/dist/testing/corrected.d.ts +4 -4
- package/dist/testing/duplex.d.ts +2 -2
- package/dist/testing/fixtures.d.ts +1 -1
- package/dist/testing/index.js +1382 -1388
- package/dist/testing/review.d.ts +4 -4
- package/dist/testing/sessionBenchmark.d.ts +10 -10
- package/dist/testing/telephony.d.ts +3 -3
- package/dist/testing/tts.d.ts +1 -1
- package/dist/vue/VoiceCostDashboard.d.ts +2 -2
- package/dist/vue/index.js +2110 -2112
- package/dist/vue/useVoiceController.d.ts +5 -5
- package/dist/vue/useVoiceDeliveryRuntime.d.ts +1 -1
- package/dist/vue/useVoiceStream.d.ts +5 -5
- package/package.json +28 -6
package/dist/core/ops.d.ts
CHANGED
|
@@ -49,11 +49,6 @@ export type VoiceExternalObjectMap = {
|
|
|
49
49
|
updatedAt: number;
|
|
50
50
|
};
|
|
51
51
|
export type StoredVoiceExternalObjectMap = VoiceExternalObjectMap;
|
|
52
|
-
export declare const createVoiceExternalObjectMapId: (input: {
|
|
53
|
-
provider: string;
|
|
54
|
-
sinkId?: string;
|
|
55
|
-
sourceId: string;
|
|
56
|
-
}) => string;
|
|
57
52
|
export declare const createVoiceExternalObjectMap: (input: {
|
|
58
53
|
at?: number;
|
|
59
54
|
externalId: string;
|
|
@@ -62,6 +57,11 @@ export declare const createVoiceExternalObjectMap: (input: {
|
|
|
62
57
|
sourceId: string;
|
|
63
58
|
sourceType: VoiceExternalObjectMap["sourceType"];
|
|
64
59
|
}) => StoredVoiceExternalObjectMap;
|
|
60
|
+
export declare const createVoiceExternalObjectMapId: (input: {
|
|
61
|
+
provider: string;
|
|
62
|
+
sinkId?: string;
|
|
63
|
+
sourceId: string;
|
|
64
|
+
}) => string;
|
|
65
65
|
export type VoiceExternalObjectMapStore<TMapping extends StoredVoiceExternalObjectMap = StoredVoiceExternalObjectMap> = {
|
|
66
66
|
find: (input: {
|
|
67
67
|
provider: string;
|
|
@@ -216,42 +216,19 @@ export declare const deliverVoiceIntegrationEvent: (input: {
|
|
|
216
216
|
event: StoredVoiceIntegrationEvent;
|
|
217
217
|
webhook: VoiceIntegrationWebhookConfig;
|
|
218
218
|
}) => Promise<StoredVoiceIntegrationEvent>;
|
|
219
|
-
export declare const
|
|
219
|
+
export declare const buildVoiceOpsTaskFromReview: (review: StoredVoiceCallReviewArtifact) => StoredVoiceOpsTask | null;
|
|
220
|
+
export declare const withVoiceIntegrationEventId: <TEvent extends Omit<VoiceIntegrationEvent, "id"> = Omit<VoiceIntegrationEvent, "id">>(id: string, event: TEvent) => TEvent & {
|
|
220
221
|
id: string;
|
|
221
222
|
};
|
|
222
|
-
export declare const
|
|
223
|
+
export declare const withVoiceOpsTaskId: <TTask extends Omit<VoiceOpsTask, "id"> = Omit<VoiceOpsTask, "id">>(id: string, task: TTask) => TTask & {
|
|
223
224
|
id: string;
|
|
224
225
|
};
|
|
225
|
-
export declare const
|
|
226
|
-
export declare const resolveVoiceOpsTaskPolicy: (input: {
|
|
227
|
-
disposition?: VoiceCallDisposition;
|
|
228
|
-
policies?: VoiceOpsDispositionTaskPolicies;
|
|
229
|
-
}) => {
|
|
230
|
-
assignee?: string;
|
|
231
|
-
dueInMs?: number;
|
|
232
|
-
name?: string;
|
|
233
|
-
priority?: VoiceOpsTaskPriority;
|
|
234
|
-
queue?: string;
|
|
235
|
-
recommendedAction?: string;
|
|
236
|
-
target?: string;
|
|
237
|
-
title?: string;
|
|
238
|
-
} | undefined;
|
|
239
|
-
export declare const isVoiceOpsTaskOverdue: (task: StoredVoiceOpsTask, input?: {
|
|
240
|
-
at?: number;
|
|
241
|
-
}) => boolean;
|
|
242
|
-
export declare const hasVoiceOpsTaskSLABreach: (task: StoredVoiceOpsTask) => boolean;
|
|
243
|
-
export declare const resolveVoiceOpsTaskAgeBucket: (task: StoredVoiceOpsTask, input?: VoiceOpsTaskAnalyticsOptions) => VoiceOpsTaskAgeBucket;
|
|
244
|
-
export declare const applyVoiceOpsTaskPolicy: (task: StoredVoiceOpsTask, policy: VoiceOpsTaskPolicy, input?: {
|
|
226
|
+
export declare const applyVoiceOpsTaskAssignmentRule: (task: StoredVoiceOpsTask, rule: VoiceOpsTaskAssignmentRule, input?: {
|
|
245
227
|
at?: number;
|
|
246
228
|
actor?: string;
|
|
247
229
|
detail?: string;
|
|
248
230
|
}) => StoredVoiceOpsTask;
|
|
249
|
-
export declare const
|
|
250
|
-
export declare const resolveVoiceOpsTaskAssignment: (input: {
|
|
251
|
-
rules?: VoiceOpsTaskAssignmentRules;
|
|
252
|
-
task: StoredVoiceOpsTask;
|
|
253
|
-
}) => VoiceOpsTaskAssignmentRule | undefined;
|
|
254
|
-
export declare const applyVoiceOpsTaskAssignmentRule: (task: StoredVoiceOpsTask, rule: VoiceOpsTaskAssignmentRule, input?: {
|
|
231
|
+
export declare const applyVoiceOpsTaskPolicy: (task: StoredVoiceOpsTask, policy: VoiceOpsTaskPolicy, input?: {
|
|
255
232
|
at?: number;
|
|
256
233
|
actor?: string;
|
|
257
234
|
detail?: string;
|
|
@@ -260,22 +237,35 @@ export declare const assignVoiceOpsTask: (task: StoredVoiceOpsTask, owner: strin
|
|
|
260
237
|
at?: number;
|
|
261
238
|
actor?: string;
|
|
262
239
|
}) => StoredVoiceOpsTask;
|
|
263
|
-
export declare const
|
|
240
|
+
export declare const buildVoiceOpsTaskFromSLABreach: (task: StoredVoiceOpsTask, policy?: VoiceOpsSLABreachPolicy) => StoredVoiceOpsTask;
|
|
241
|
+
export declare const claimVoiceOpsTask: (task: StoredVoiceOpsTask, workerId: string, input?: {
|
|
264
242
|
at?: number;
|
|
265
243
|
actor?: string;
|
|
266
244
|
detail?: string;
|
|
245
|
+
leaseMs: number;
|
|
267
246
|
}) => StoredVoiceOpsTask;
|
|
268
|
-
export declare const
|
|
247
|
+
export declare const completeVoiceOpsTask: (task: StoredVoiceOpsTask, input?: {
|
|
269
248
|
at?: number;
|
|
270
249
|
actor?: string;
|
|
271
250
|
detail?: string;
|
|
272
|
-
leaseMs: number;
|
|
273
251
|
}) => StoredVoiceOpsTask;
|
|
274
|
-
export declare const
|
|
252
|
+
export declare const createVoiceCallCompletedEvent: (input: {
|
|
253
|
+
disposition?: VoiceCallDisposition;
|
|
254
|
+
session: VoiceSessionRecord;
|
|
255
|
+
sessionSummary?: VoiceSessionSummary;
|
|
256
|
+
}) => StoredVoiceIntegrationEvent;
|
|
257
|
+
export declare const createVoiceIntegrationEvent: <TPayload extends Record<string, unknown> = Record<string, unknown>>(type: VoiceIntegrationEventType, payload: TPayload, input?: {
|
|
258
|
+
createdAt?: number;
|
|
259
|
+
id?: string;
|
|
260
|
+
}) => StoredVoiceIntegrationEvent;
|
|
261
|
+
export declare const createVoiceReviewSavedEvent: (review: StoredVoiceCallReviewArtifact) => StoredVoiceIntegrationEvent;
|
|
262
|
+
export declare const createVoiceTaskCreatedEvent: (task: StoredVoiceOpsTask) => StoredVoiceIntegrationEvent;
|
|
263
|
+
export declare const createVoiceTaskSLABreachedEvent: (task: StoredVoiceOpsTask) => StoredVoiceIntegrationEvent;
|
|
264
|
+
export declare const createVoiceTaskUpdatedEvent: (task: StoredVoiceOpsTask) => StoredVoiceIntegrationEvent;
|
|
265
|
+
export declare const deadLetterVoiceOpsTask: (task: StoredVoiceOpsTask, input?: {
|
|
275
266
|
at?: number;
|
|
276
267
|
actor?: string;
|
|
277
268
|
detail?: string;
|
|
278
|
-
leaseMs: number;
|
|
279
269
|
}) => StoredVoiceOpsTask;
|
|
280
270
|
export declare const failVoiceOpsTask: (task: StoredVoiceOpsTask, input?: {
|
|
281
271
|
at?: number;
|
|
@@ -283,45 +273,55 @@ export declare const failVoiceOpsTask: (task: StoredVoiceOpsTask, input?: {
|
|
|
283
273
|
detail?: string;
|
|
284
274
|
error?: string;
|
|
285
275
|
}) => StoredVoiceOpsTask;
|
|
286
|
-
export declare const
|
|
276
|
+
export declare const hasVoiceOpsTaskSLABreach: (task: StoredVoiceOpsTask) => boolean;
|
|
277
|
+
export declare const heartbeatVoiceOpsTask: (task: StoredVoiceOpsTask, workerId: string, input?: {
|
|
287
278
|
at?: number;
|
|
288
279
|
actor?: string;
|
|
289
280
|
detail?: string;
|
|
281
|
+
leaseMs: number;
|
|
290
282
|
}) => StoredVoiceOpsTask;
|
|
283
|
+
export declare const isVoiceOpsTaskOverdue: (task: StoredVoiceOpsTask, input?: {
|
|
284
|
+
at?: number;
|
|
285
|
+
}) => boolean;
|
|
286
|
+
export declare const listVoiceOpsTasks: (tasks: StoredVoiceOpsTask[]) => VoiceOpsTask[];
|
|
291
287
|
export declare const markVoiceOpsTaskSLABreached: (task: StoredVoiceOpsTask, input?: {
|
|
292
288
|
at?: number;
|
|
293
289
|
actor?: string;
|
|
294
290
|
detail?: string;
|
|
295
291
|
}) => StoredVoiceOpsTask;
|
|
296
|
-
export declare const
|
|
292
|
+
export declare const matchesVoiceOpsTaskAssignmentRule: (task: StoredVoiceOpsTask, rule: VoiceOpsTaskAssignmentRule) => boolean;
|
|
293
|
+
export declare const reopenVoiceOpsTask: (task: StoredVoiceOpsTask, input?: {
|
|
297
294
|
at?: number;
|
|
298
295
|
actor?: string;
|
|
299
296
|
detail?: string;
|
|
300
297
|
}) => StoredVoiceOpsTask;
|
|
301
|
-
export declare const
|
|
298
|
+
export declare const requeueVoiceOpsTask: (task: StoredVoiceOpsTask, input?: {
|
|
302
299
|
at?: number;
|
|
303
300
|
actor?: string;
|
|
304
301
|
detail?: string;
|
|
305
302
|
}) => StoredVoiceOpsTask;
|
|
306
|
-
export declare const
|
|
303
|
+
export declare const resolveVoiceOpsTaskAgeBucket: (task: StoredVoiceOpsTask, input?: VoiceOpsTaskAnalyticsOptions) => VoiceOpsTaskAgeBucket;
|
|
304
|
+
export declare const resolveVoiceOpsTaskAssignment: (input: {
|
|
305
|
+
rules?: VoiceOpsTaskAssignmentRules;
|
|
306
|
+
task: StoredVoiceOpsTask;
|
|
307
|
+
}) => VoiceOpsTaskAssignmentRule | undefined;
|
|
308
|
+
export declare const resolveVoiceOpsTaskPolicy: (input: {
|
|
309
|
+
disposition?: VoiceCallDisposition;
|
|
310
|
+
policies?: VoiceOpsDispositionTaskPolicies;
|
|
311
|
+
}) => {
|
|
312
|
+
assignee?: string;
|
|
313
|
+
dueInMs?: number;
|
|
314
|
+
name?: string;
|
|
315
|
+
priority?: VoiceOpsTaskPriority;
|
|
316
|
+
queue?: string;
|
|
317
|
+
recommendedAction?: string;
|
|
318
|
+
target?: string;
|
|
319
|
+
title?: string;
|
|
320
|
+
} | undefined;
|
|
321
|
+
export declare const startVoiceOpsTask: (task: StoredVoiceOpsTask, input?: {
|
|
307
322
|
at?: number;
|
|
308
323
|
actor?: string;
|
|
309
324
|
detail?: string;
|
|
310
325
|
}) => StoredVoiceOpsTask;
|
|
311
|
-
export declare const listVoiceOpsTasks: (tasks: StoredVoiceOpsTask[]) => VoiceOpsTask[];
|
|
312
|
-
export declare const summarizeVoiceOpsTasks: (tasks: StoredVoiceOpsTask[]) => VoiceOpsTaskSummary;
|
|
313
326
|
export declare const summarizeVoiceOpsTaskAnalytics: (tasks: StoredVoiceOpsTask[], input?: VoiceOpsTaskAnalyticsOptions) => VoiceOpsTaskAnalyticsSummary;
|
|
314
|
-
export declare const
|
|
315
|
-
createdAt?: number;
|
|
316
|
-
id?: string;
|
|
317
|
-
}) => StoredVoiceIntegrationEvent;
|
|
318
|
-
export declare const createVoiceCallCompletedEvent: (input: {
|
|
319
|
-
disposition?: VoiceCallDisposition;
|
|
320
|
-
session: VoiceSessionRecord;
|
|
321
|
-
sessionSummary?: VoiceSessionSummary;
|
|
322
|
-
}) => StoredVoiceIntegrationEvent;
|
|
323
|
-
export declare const createVoiceReviewSavedEvent: (review: StoredVoiceCallReviewArtifact) => StoredVoiceIntegrationEvent;
|
|
324
|
-
export declare const createVoiceTaskCreatedEvent: (task: StoredVoiceOpsTask) => StoredVoiceIntegrationEvent;
|
|
325
|
-
export declare const createVoiceTaskUpdatedEvent: (task: StoredVoiceOpsTask) => StoredVoiceIntegrationEvent;
|
|
326
|
-
export declare const createVoiceTaskSLABreachedEvent: (task: StoredVoiceOpsTask) => StoredVoiceIntegrationEvent;
|
|
327
|
-
export declare const buildVoiceOpsTaskFromSLABreach: (task: StoredVoiceOpsTask, policy?: VoiceOpsSLABreachPolicy) => StoredVoiceOpsTask;
|
|
327
|
+
export declare const summarizeVoiceOpsTasks: (tasks: StoredVoiceOpsTask[]) => VoiceOpsTaskSummary;
|
|
@@ -33,16 +33,6 @@ export type VoiceOpsActionHistoryReport = {
|
|
|
33
33
|
passed: number;
|
|
34
34
|
total: number;
|
|
35
35
|
};
|
|
36
|
-
export declare const recordVoiceOpsActionAudit: (record: VoiceOpsActionAuditRecord, options: Pick<VoiceOpsActionAuditRoutesOptions, "audit" | "trace">) => Promise<{
|
|
37
|
-
audit: StoredVoiceAuditEvent<Record<string, unknown>> | (Omit<import("./audit").VoiceAuditEvent<Record<string, unknown>>, "at" | "id"> & {
|
|
38
|
-
at: number;
|
|
39
|
-
id: string;
|
|
40
|
-
}) | undefined;
|
|
41
|
-
ok: boolean;
|
|
42
|
-
trace: (import("./trace").VoiceTraceEvent<Record<string, unknown>> & {
|
|
43
|
-
id: string;
|
|
44
|
-
}) | undefined;
|
|
45
|
-
}>;
|
|
46
36
|
export declare const createVoiceOpsActionAuditRoutes: (options: VoiceOpsActionAuditRoutesOptions) => Elysia<"", {
|
|
47
37
|
decorator: {};
|
|
48
38
|
store: {};
|
|
@@ -95,5 +85,15 @@ export declare const createVoiceOpsActionAuditRoutes: (options: VoiceOpsActionAu
|
|
|
95
85
|
standaloneSchema: {};
|
|
96
86
|
response: {};
|
|
97
87
|
}>;
|
|
88
|
+
export declare const recordVoiceOpsActionAudit: (record: VoiceOpsActionAuditRecord, options: Pick<VoiceOpsActionAuditRoutesOptions, "audit" | "trace">) => Promise<{
|
|
89
|
+
audit: StoredVoiceAuditEvent<Record<string, unknown>> | (Omit<import("./audit").VoiceAuditEvent<Record<string, unknown>>, "at" | "id"> & {
|
|
90
|
+
at: number;
|
|
91
|
+
id: string;
|
|
92
|
+
}) | undefined;
|
|
93
|
+
ok: boolean;
|
|
94
|
+
trace: (import("./trace").VoiceTraceEvent<Record<string, unknown>> & {
|
|
95
|
+
id: string;
|
|
96
|
+
}) | undefined;
|
|
97
|
+
}>;
|
|
98
98
|
export declare const buildVoiceOpsActionHistoryReport: (options: Pick<VoiceOpsActionAuditRoutesOptions, "audit">) => Promise<VoiceOpsActionHistoryReport>;
|
|
99
99
|
export declare const renderVoiceOpsActionHistoryHTML: (report: VoiceOpsActionHistoryReport) => string;
|
|
@@ -47,9 +47,6 @@ export type VoiceOpsConsoleRoutesOptions = {
|
|
|
47
47
|
ttsProviders?: readonly string[];
|
|
48
48
|
};
|
|
49
49
|
export declare const buildVoiceOpsConsoleReport: (options: VoiceOpsConsoleRoutesOptions) => Promise<VoiceOpsConsoleReport>;
|
|
50
|
-
export declare const renderVoiceOpsConsoleHTML: (report: VoiceOpsConsoleReport, options?: {
|
|
51
|
-
title?: string;
|
|
52
|
-
}) => string;
|
|
53
50
|
export declare const createVoiceOpsConsoleRoutes: (options: VoiceOpsConsoleRoutesOptions) => Elysia<"", {
|
|
54
51
|
decorator: {};
|
|
55
52
|
store: {};
|
|
@@ -78,3 +75,6 @@ export declare const createVoiceOpsConsoleRoutes: (options: VoiceOpsConsoleRoute
|
|
|
78
75
|
standaloneSchema: {};
|
|
79
76
|
response: {};
|
|
80
77
|
}>;
|
|
78
|
+
export declare const renderVoiceOpsConsoleHTML: (report: VoiceOpsConsoleReport, options?: {
|
|
79
|
+
title?: string;
|
|
80
|
+
}) => string;
|
|
@@ -84,17 +84,14 @@ export type VoiceOpsRecoveryRoutesOptions<TProvider extends string = string> = V
|
|
|
84
84
|
render?: (report: VoiceOpsRecoveryReport<TProvider>) => string | Promise<string>;
|
|
85
85
|
title?: string;
|
|
86
86
|
};
|
|
87
|
-
export declare const buildVoiceOpsRecoveryReport: <TProvider extends string = string>(options?: VoiceOpsRecoveryReportOptions<TProvider>) => Promise<VoiceOpsRecoveryReport<TProvider>>;
|
|
88
87
|
export declare const buildVoiceOpsRecoveryReadinessCheck: (report: VoiceOpsRecoveryReport, options?: {
|
|
89
88
|
href?: string;
|
|
90
89
|
label?: string;
|
|
91
90
|
}) => VoiceProductionReadinessCheck;
|
|
91
|
+
export declare const buildVoiceOpsRecoveryReport: <TProvider extends string = string>(options?: VoiceOpsRecoveryReportOptions<TProvider>) => Promise<VoiceOpsRecoveryReport<TProvider>>;
|
|
92
92
|
export declare const renderVoiceOpsRecoveryMarkdown: (report: VoiceOpsRecoveryReport, options?: {
|
|
93
93
|
title?: string;
|
|
94
94
|
}) => string;
|
|
95
|
-
export declare const renderVoiceOpsRecoveryHTML: (report: VoiceOpsRecoveryReport, options?: {
|
|
96
|
-
title?: string;
|
|
97
|
-
}) => string;
|
|
98
95
|
export declare const createVoiceOpsRecoveryRoutes: <TProvider extends string = string>(options?: VoiceOpsRecoveryRoutesOptions<TProvider>) => Elysia<"", {
|
|
99
96
|
decorator: {};
|
|
100
97
|
store: {};
|
|
@@ -135,3 +132,6 @@ export declare const createVoiceOpsRecoveryRoutes: <TProvider extends string = s
|
|
|
135
132
|
standaloneSchema: {};
|
|
136
133
|
response: {};
|
|
137
134
|
}>;
|
|
135
|
+
export declare const renderVoiceOpsRecoveryHTML: (report: VoiceOpsRecoveryReport, options?: {
|
|
136
|
+
title?: string;
|
|
137
|
+
}) => string;
|
package/dist/core/opsSinks.d.ts
CHANGED
|
@@ -130,18 +130,18 @@ export type VoiceLinearIssueUpdateSinkOptions = Omit<VoiceIntegrationHTTPSinkOpt
|
|
|
130
130
|
issueId?: VoiceSinkValueResolver;
|
|
131
131
|
stateId?: string;
|
|
132
132
|
};
|
|
133
|
-
export declare const createVoiceIntegrationHTTPSink: <TBody extends Record<string, unknown> = Record<string, unknown>>(options: VoiceIntegrationHTTPSinkOptions<TBody>) => VoiceIntegrationSink;
|
|
134
|
-
export declare const createVoiceHelpdeskTicketSink: (options: VoiceHelpdeskTicketSinkOptions) => VoiceIntegrationSink;
|
|
135
133
|
export declare const createVoiceCRMActivitySink: (options: VoiceCRMActivitySinkOptions) => VoiceIntegrationSink;
|
|
136
|
-
export declare const
|
|
137
|
-
export declare const createVoiceZendeskTicketUpdateSink: (options: VoiceZendeskTicketUpdateSinkOptions) => VoiceIntegrationSink;
|
|
138
|
-
export declare const createVoiceZendeskTicketSyncSinks: (options: VoiceZendeskTicketSyncSinkOptions) => VoiceIntegrationSink[];
|
|
134
|
+
export declare const createVoiceHelpdeskTicketSink: (options: VoiceHelpdeskTicketSinkOptions) => VoiceIntegrationSink;
|
|
139
135
|
export declare const createVoiceHubSpotTaskSink: (options: VoiceHubSpotTaskSinkOptions) => VoiceIntegrationSink;
|
|
140
|
-
export declare const createVoiceHubSpotTaskUpdateSink: (options: VoiceHubSpotTaskUpdateSinkOptions) => VoiceIntegrationSink;
|
|
141
136
|
export declare const createVoiceHubSpotTaskSyncSinks: (options: VoiceHubSpotTaskSyncSinkOptions) => VoiceIntegrationSink[];
|
|
137
|
+
export declare const createVoiceHubSpotTaskUpdateSink: (options: VoiceHubSpotTaskUpdateSinkOptions) => VoiceIntegrationSink;
|
|
138
|
+
export declare const createVoiceIntegrationHTTPSink: <TBody extends Record<string, unknown> = Record<string, unknown>>(options: VoiceIntegrationHTTPSinkOptions<TBody>) => VoiceIntegrationSink;
|
|
142
139
|
export declare const createVoiceLinearIssueSink: (options: VoiceLinearIssueSinkOptions) => VoiceIntegrationSink;
|
|
143
140
|
export declare const createVoiceLinearIssueSyncSinks: (options: VoiceLinearIssueSyncSinkOptions) => VoiceIntegrationSink[];
|
|
144
141
|
export declare const createVoiceLinearIssueUpdateSink: (options: VoiceLinearIssueUpdateSinkOptions) => VoiceIntegrationSink;
|
|
142
|
+
export declare const createVoiceZendeskTicketSink: (options: VoiceZendeskTicketSinkOptions) => VoiceIntegrationSink;
|
|
143
|
+
export declare const createVoiceZendeskTicketSyncSinks: (options: VoiceZendeskTicketSyncSinkOptions) => VoiceIntegrationSink[];
|
|
144
|
+
export declare const createVoiceZendeskTicketUpdateSink: (options: VoiceZendeskTicketUpdateSinkOptions) => VoiceIntegrationSink;
|
|
145
145
|
export declare const deliverVoiceIntegrationEventToSinks: (input: {
|
|
146
146
|
event: StoredVoiceIntegrationEvent;
|
|
147
147
|
sinks: VoiceIntegrationSink[];
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import { Elysia } from "elysia";
|
|
2
2
|
import { type VoiceOpsStatusReport, type VoiceOpsStatusRoutesOptions } from "./opsStatus";
|
|
3
|
-
export declare const renderVoiceOpsStatusHTML: (report: VoiceOpsStatusReport, options?: {
|
|
4
|
-
title?: string;
|
|
5
|
-
}) => string;
|
|
6
3
|
export declare const createVoiceOpsStatusRoutes: (options: VoiceOpsStatusRoutesOptions) => Elysia<"", {
|
|
7
4
|
decorator: {};
|
|
8
5
|
store: {};
|
|
@@ -31,3 +28,6 @@ export declare const createVoiceOpsStatusRoutes: (options: VoiceOpsStatusRoutesO
|
|
|
31
28
|
standaloneSchema: {};
|
|
32
29
|
response: {};
|
|
33
30
|
}>;
|
|
31
|
+
export declare const renderVoiceOpsStatusHTML: (report: VoiceOpsStatusReport, options?: {
|
|
32
|
+
title?: string;
|
|
33
|
+
}) => string;
|
|
@@ -64,15 +64,6 @@ export declare const createVoiceOpsWebhookEnvelope: (input: {
|
|
|
64
64
|
reviewHref?: VoiceOpsWebhookLinkResolver;
|
|
65
65
|
taskHref?: VoiceOpsWebhookLinkResolver;
|
|
66
66
|
}) => Promise<VoiceOpsWebhookEnvelope>;
|
|
67
|
-
export declare const createVoiceOpsWebhookSink: (options: VoiceOpsWebhookSinkOptions) => VoiceIntegrationSink;
|
|
68
|
-
export declare const verifyVoiceOpsWebhookSignature: (input: {
|
|
69
|
-
body: string;
|
|
70
|
-
now?: number;
|
|
71
|
-
secret?: string;
|
|
72
|
-
signature?: string | null;
|
|
73
|
-
timestamp?: string | null;
|
|
74
|
-
toleranceMs?: number;
|
|
75
|
-
}) => Promise<VoiceOpsWebhookVerificationResult>;
|
|
76
67
|
export declare const createVoiceOpsWebhookReceiverRoutes: (options?: VoiceOpsWebhookReceiverRoutesOptions) => Elysia<"", {
|
|
77
68
|
decorator: {};
|
|
78
69
|
store: {};
|
|
@@ -123,4 +114,13 @@ export declare const createVoiceOpsWebhookReceiverRoutes: (options?: VoiceOpsWeb
|
|
|
123
114
|
standaloneSchema: {};
|
|
124
115
|
response: {};
|
|
125
116
|
}>;
|
|
117
|
+
export declare const createVoiceOpsWebhookSink: (options: VoiceOpsWebhookSinkOptions) => VoiceIntegrationSink;
|
|
118
|
+
export declare const verifyVoiceOpsWebhookSignature: (input: {
|
|
119
|
+
body: string;
|
|
120
|
+
now?: number;
|
|
121
|
+
secret?: string;
|
|
122
|
+
signature?: string | null;
|
|
123
|
+
timestamp?: string | null;
|
|
124
|
+
toleranceMs?: number;
|
|
125
|
+
}) => Promise<VoiceOpsWebhookVerificationResult>;
|
|
126
126
|
export {};
|
|
@@ -60,8 +60,8 @@ export type VoiceTurnLatencySpanSet = {
|
|
|
60
60
|
startedAt: number;
|
|
61
61
|
turnId: string;
|
|
62
62
|
};
|
|
63
|
-
export declare const buildOTELTraceId: (sessionId: string) => string;
|
|
64
63
|
export declare const buildOTELSpanId: (sessionId: string, suffix: string) => string;
|
|
64
|
+
export declare const buildOTELTraceId: (sessionId: string) => string;
|
|
65
65
|
export declare const aggregateVoiceTurnLatencySpans: (events: StoredVoiceTraceEvent[]) => VoiceTurnLatencySpanSet[];
|
|
66
66
|
export type VoiceOTELExporterOptions = {
|
|
67
67
|
fetch?: typeof fetch;
|
|
@@ -95,14 +95,9 @@ export type VoiceOutcomeContractRoutesOptions<TSession extends VoiceSessionRecor
|
|
|
95
95
|
name?: string;
|
|
96
96
|
path?: string;
|
|
97
97
|
};
|
|
98
|
-
export declare const runVoiceOutcomeContractSuite: <TSession extends VoiceSessionRecord = VoiceSessionRecord>(options: VoiceOutcomeContractOptions<TSession>) => Promise<VoiceOutcomeContractSuiteReport>;
|
|
99
|
-
export declare const evaluateVoiceOutcomeContractEvidence: (report: VoiceOutcomeContractSuiteReport, input?: VoiceOutcomeContractAssertionInput) => VoiceOutcomeContractAssertionReport;
|
|
100
98
|
export declare const assertVoiceOutcomeContractEvidence: (report: VoiceOutcomeContractSuiteReport, input?: VoiceOutcomeContractAssertionInput) => VoiceOutcomeContractAssertionReport;
|
|
101
|
-
export declare const renderVoiceOutcomeContractHTML: (report: VoiceOutcomeContractSuiteReport, options?: {
|
|
102
|
-
title?: string;
|
|
103
|
-
}) => string;
|
|
104
|
-
export declare const createVoiceOutcomeContractJSONHandler: <TSession extends VoiceSessionRecord = VoiceSessionRecord>(options: VoiceOutcomeContractOptions<TSession>) => () => Promise<VoiceOutcomeContractSuiteReport>;
|
|
105
99
|
export declare const createVoiceOutcomeContractHTMLHandler: <TSession extends VoiceSessionRecord = VoiceSessionRecord>(options: VoiceOutcomeContractHTMLHandlerOptions<TSession>) => () => Promise<Response>;
|
|
100
|
+
export declare const createVoiceOutcomeContractJSONHandler: <TSession extends VoiceSessionRecord = VoiceSessionRecord>(options: VoiceOutcomeContractOptions<TSession>) => () => Promise<VoiceOutcomeContractSuiteReport>;
|
|
106
101
|
export declare const createVoiceOutcomeContractRoutes: <TSession extends VoiceSessionRecord = VoiceSessionRecord>(options: VoiceOutcomeContractRoutesOptions<TSession>) => Elysia<"", {
|
|
107
102
|
decorator: {};
|
|
108
103
|
store: {};
|
|
@@ -143,4 +138,9 @@ export declare const createVoiceOutcomeContractRoutes: <TSession extends VoiceSe
|
|
|
143
138
|
standaloneSchema: {};
|
|
144
139
|
response: {};
|
|
145
140
|
}>;
|
|
141
|
+
export declare const evaluateVoiceOutcomeContractEvidence: (report: VoiceOutcomeContractSuiteReport, input?: VoiceOutcomeContractAssertionInput) => VoiceOutcomeContractAssertionReport;
|
|
142
|
+
export declare const renderVoiceOutcomeContractHTML: (report: VoiceOutcomeContractSuiteReport, options?: {
|
|
143
|
+
title?: string;
|
|
144
|
+
}) => string;
|
|
145
|
+
export declare const runVoiceOutcomeContractSuite: <TSession extends VoiceSessionRecord = VoiceSessionRecord>(options: VoiceOutcomeContractOptions<TSession>) => Promise<VoiceOutcomeContractSuiteReport>;
|
|
146
146
|
export {};
|
package/dist/core/pathway.d.ts
CHANGED
|
@@ -89,6 +89,6 @@ export type VoicePathwayValidationReport = {
|
|
|
89
89
|
issues: VoicePathwayValidationIssue[];
|
|
90
90
|
reachableStates: string[];
|
|
91
91
|
};
|
|
92
|
-
export declare const validateVoicePathway: (pathway: VoicePathway) => VoicePathwayValidationReport;
|
|
93
|
-
export declare const findVoicePathwayState: (pathway: VoicePathway, id: string) => VoicePathwayState | null;
|
|
94
92
|
export declare const findVoicePathwaySlot: (pathway: VoicePathway, id: string) => VoicePathwaySlot | null;
|
|
93
|
+
export declare const findVoicePathwayState: (pathway: VoicePathway, id: string) => VoicePathwayState | null;
|
|
94
|
+
export declare const validateVoicePathway: (pathway: VoicePathway) => VoicePathwayValidationReport;
|
|
@@ -49,9 +49,9 @@ export type CreateVoicePathwayRuntimeOptions = {
|
|
|
49
49
|
};
|
|
50
50
|
export declare const createVoicePathwayRuntime: (options: CreateVoicePathwayRuntimeOptions) => {
|
|
51
51
|
fillSlot: (slotId: string, value: VoicePathwaySlotValue) => void;
|
|
52
|
-
getState: () => VoicePathwayRuntimeState;
|
|
53
52
|
start: () => void;
|
|
54
|
-
subscribe(listener: (event: VoicePathwayRuntimeEvent) => void): () => void;
|
|
55
53
|
tryTransition: () => void;
|
|
54
|
+
getState: () => VoicePathwayRuntimeState;
|
|
55
|
+
subscribe(listener: (event: VoicePathwayRuntimeEvent) => void): () => void;
|
|
56
56
|
};
|
|
57
57
|
export type VoicePathwayRuntime = ReturnType<typeof createVoicePathwayRuntime>;
|
|
@@ -131,9 +131,9 @@ export type VoicePhoneCallControlEvidenceReport = {
|
|
|
131
131
|
providers: VoiceTelephonyProvider[];
|
|
132
132
|
smokeReports: number;
|
|
133
133
|
};
|
|
134
|
-
export declare const evaluateVoicePhoneAssistantEvidence: (report: VoicePhoneAgentSetupReport, input?: VoicePhoneAssistantEvidenceInput) => VoicePhoneAssistantEvidenceReport;
|
|
135
134
|
export declare const assertVoicePhoneAssistantEvidence: (report: VoicePhoneAgentSetupReport, input?: VoicePhoneAssistantEvidenceInput) => VoicePhoneAssistantEvidenceReport;
|
|
136
|
-
export declare const evaluateVoicePhoneCallControlEvidence: (input?: VoicePhoneCallControlEvidenceInput) => VoicePhoneCallControlEvidenceReport;
|
|
137
135
|
export declare const assertVoicePhoneCallControlEvidence: (input?: VoicePhoneCallControlEvidenceInput) => VoicePhoneCallControlEvidenceReport;
|
|
136
|
+
export declare const evaluateVoicePhoneAssistantEvidence: (report: VoicePhoneAgentSetupReport, input?: VoicePhoneAssistantEvidenceInput) => VoicePhoneAssistantEvidenceReport;
|
|
137
|
+
export declare const evaluateVoicePhoneCallControlEvidence: (input?: VoicePhoneCallControlEvidenceInput) => VoicePhoneCallControlEvidenceReport;
|
|
138
138
|
export declare const createVoicePhoneAgent: <TContext = unknown, TSession extends VoiceSessionRecord = VoiceSessionRecord, TResult = unknown>(options: VoicePhoneAgentRoutesOptions<TContext, TSession, TResult>) => VoicePhoneAgentRoutes;
|
|
139
139
|
export {};
|
|
@@ -62,17 +62,14 @@ export type VoicePhoneAgentProductionSmokeRoutesOptions<TProvider extends VoiceT
|
|
|
62
62
|
path?: string;
|
|
63
63
|
};
|
|
64
64
|
export declare const runVoicePhoneAgentProductionSmokeContract: <TProvider extends VoiceTelephonyProvider = VoiceTelephonyProvider>(options: VoicePhoneAgentProductionSmokeOptions<TProvider>) => Promise<VoicePhoneAgentProductionSmokeReport<TProvider>>;
|
|
65
|
-
export declare const renderVoicePhoneAgentProductionSmokeHTML: <TProvider extends VoiceTelephonyProvider = VoiceTelephonyProvider>(report: VoicePhoneAgentProductionSmokeReport<TProvider>, options?: {
|
|
66
|
-
title?: string;
|
|
67
|
-
}) => string;
|
|
68
|
-
export declare const createVoicePhoneAgentProductionSmokeJSONHandler: <TProvider extends VoiceTelephonyProvider = VoiceTelephonyProvider>(options: VoicePhoneAgentProductionSmokeHandlerOptions<TProvider>) => ({ query, request, }: {
|
|
69
|
-
query: Record<string, unknown>;
|
|
70
|
-
request: Request;
|
|
71
|
-
}) => Promise<VoicePhoneAgentProductionSmokeReport<TProvider>>;
|
|
72
65
|
export declare const createVoicePhoneAgentProductionSmokeHTMLHandler: <TProvider extends VoiceTelephonyProvider = VoiceTelephonyProvider>(options: VoicePhoneAgentProductionSmokeHTMLHandlerOptions<TProvider>) => ({ query, request, }: {
|
|
73
66
|
query: Record<string, unknown>;
|
|
74
67
|
request: Request;
|
|
75
68
|
}) => Promise<Response>;
|
|
69
|
+
export declare const createVoicePhoneAgentProductionSmokeJSONHandler: <TProvider extends VoiceTelephonyProvider = VoiceTelephonyProvider>(options: VoicePhoneAgentProductionSmokeHandlerOptions<TProvider>) => ({ query, request, }: {
|
|
70
|
+
query: Record<string, unknown>;
|
|
71
|
+
request: Request;
|
|
72
|
+
}) => Promise<VoicePhoneAgentProductionSmokeReport<TProvider>>;
|
|
76
73
|
export declare const createVoicePhoneAgentProductionSmokeRoutes: <TProvider extends VoiceTelephonyProvider = VoiceTelephonyProvider>(options: VoicePhoneAgentProductionSmokeRoutesOptions<TProvider>) => Elysia<"", {
|
|
77
74
|
decorator: {};
|
|
78
75
|
store: {};
|
|
@@ -113,3 +110,6 @@ export declare const createVoicePhoneAgentProductionSmokeRoutes: <TProvider exte
|
|
|
113
110
|
standaloneSchema: {};
|
|
114
111
|
response: {};
|
|
115
112
|
}>;
|
|
113
|
+
export declare const renderVoicePhoneAgentProductionSmokeHTML: <TProvider extends VoiceTelephonyProvider = VoiceTelephonyProvider>(report: VoicePhoneAgentProductionSmokeReport<TProvider>, options?: {
|
|
114
|
+
title?: string;
|
|
115
|
+
}) => string;
|
|
@@ -58,9 +58,9 @@ export type VoicePlatformCoverageAssertionReport = {
|
|
|
58
58
|
surfaces: string[];
|
|
59
59
|
total: number;
|
|
60
60
|
};
|
|
61
|
+
export declare const assertVoicePlatformCoverage: (summary: VoicePlatformCoverageSummary, input?: VoicePlatformCoverageAssertionInput) => VoicePlatformCoverageAssertionReport;
|
|
61
62
|
export declare const buildVoicePlatformCoverageSummary: (input: VoicePlatformCoverageSummaryInput) => VoicePlatformCoverageSummary;
|
|
62
63
|
export declare const evaluateVoicePlatformCoverage: (summary: VoicePlatformCoverageSummary, input?: VoicePlatformCoverageAssertionInput) => VoicePlatformCoverageAssertionReport;
|
|
63
|
-
export declare const assertVoicePlatformCoverage: (summary: VoicePlatformCoverageSummary, input?: VoicePlatformCoverageAssertionInput) => VoicePlatformCoverageAssertionReport;
|
|
64
64
|
export declare const createVoicePlatformCoverageRoutes: (options: VoicePlatformCoverageRoutesOptions) => Elysia<"", {
|
|
65
65
|
decorator: {};
|
|
66
66
|
store: {};
|
|
@@ -25,11 +25,11 @@ export type CreateVoicePostCallSurveyOptions = {
|
|
|
25
25
|
export declare const DEFAULT_VOICE_POST_CALL_SURVEY_QUESTIONS: VoicePostCallSurveyQuestion[];
|
|
26
26
|
export declare const createVoicePostCallSurvey: (options: CreateVoicePostCallSurveyOptions) => {
|
|
27
27
|
complete: () => VoicePostCallSurveyResponse;
|
|
28
|
-
getResponse: () => VoicePostCallSurveyResponse;
|
|
29
28
|
next: () => VoicePostCallSurveyQuestion | null;
|
|
30
29
|
questions: VoicePostCallSurveyQuestion[];
|
|
31
30
|
record: (questionId: string, value: number | boolean | string | null) => VoicePostCallSurveyAnswer;
|
|
32
31
|
skip: () => VoicePostCallSurveyQuestion | null;
|
|
32
|
+
getResponse: () => VoicePostCallSurveyResponse;
|
|
33
33
|
};
|
|
34
34
|
export type VoicePostCallSurvey = ReturnType<typeof createVoicePostCallSurvey>;
|
|
35
35
|
export declare const summarizeVoicePostCallSurveys: (responses: VoicePostCallSurveyResponse[]) => {
|
|
@@ -28,15 +28,15 @@ export type VoicePostgresRuntimeStorage<TSession extends VoiceSessionRecord = Vo
|
|
|
28
28
|
traceDeliveries: VoiceTraceSinkDeliveryStore<TTraceDelivery>;
|
|
29
29
|
traces: VoiceTraceEventStore<TTrace>;
|
|
30
30
|
};
|
|
31
|
-
export declare const createVoicePostgresSessionStore: <TSession extends VoiceSessionRecord = VoiceSessionRecord>(options: VoicePostgresStoreOptions) => VoiceSessionStore<TSession>;
|
|
32
|
-
export declare const createVoicePostgresReviewStore: <TArtifact extends StoredVoiceCallReviewArtifact = StoredVoiceCallReviewArtifact>(options: VoicePostgresStoreOptions) => VoiceCallReviewStore<TArtifact>;
|
|
33
|
-
export declare const createVoicePostgresTaskStore: <TTask extends StoredVoiceOpsTask = StoredVoiceOpsTask>(options: VoicePostgresStoreOptions) => VoiceOpsTaskStore<TTask>;
|
|
34
|
-
export declare const createVoicePostgresIntegrationEventStore: <TEvent extends StoredVoiceIntegrationEvent = StoredVoiceIntegrationEvent>(options: VoicePostgresStoreOptions) => VoiceIntegrationEventStore<TEvent>;
|
|
35
|
-
export declare const createVoicePostgresExternalObjectMapStore: <TMapping extends StoredVoiceExternalObjectMap = StoredVoiceExternalObjectMap>(options: VoicePostgresStoreOptions) => VoiceExternalObjectMapStore<TMapping>;
|
|
36
|
-
export declare const createVoicePostgresTraceEventStore: <TEvent extends StoredVoiceTraceEvent = StoredVoiceTraceEvent>(options: VoicePostgresStoreOptions) => VoiceTraceEventStore<TEvent>;
|
|
37
|
-
export declare const createVoicePostgresTraceSinkDeliveryStore: <TDelivery extends VoiceTraceSinkDeliveryRecord = VoiceTraceSinkDeliveryRecord>(options: VoicePostgresStoreOptions) => VoiceTraceSinkDeliveryStore<TDelivery>;
|
|
38
31
|
export declare const createVoicePostgresAuditEventStore: <TEvent extends StoredVoiceAuditEvent = StoredVoiceAuditEvent>(options: VoicePostgresStoreOptions) => VoiceAuditEventStore<TEvent>;
|
|
39
32
|
export declare const createVoicePostgresAuditSinkDeliveryStore: <TDelivery extends VoiceAuditSinkDeliveryRecord = VoiceAuditSinkDeliveryRecord>(options: VoicePostgresStoreOptions) => VoiceAuditSinkDeliveryStore<TDelivery>;
|
|
40
|
-
export declare const createVoicePostgresTelephonyWebhookIdempotencyStore: <TResult = unknown>(options: VoicePostgresStoreOptions) => VoiceTelephonyWebhookIdempotencyStore<TResult>;
|
|
41
33
|
export declare const createVoicePostgresCampaignStore: (options: VoicePostgresStoreOptions) => VoiceCampaignStore;
|
|
34
|
+
export declare const createVoicePostgresExternalObjectMapStore: <TMapping extends StoredVoiceExternalObjectMap = StoredVoiceExternalObjectMap>(options: VoicePostgresStoreOptions) => VoiceExternalObjectMapStore<TMapping>;
|
|
35
|
+
export declare const createVoicePostgresIntegrationEventStore: <TEvent extends StoredVoiceIntegrationEvent = StoredVoiceIntegrationEvent>(options: VoicePostgresStoreOptions) => VoiceIntegrationEventStore<TEvent>;
|
|
36
|
+
export declare const createVoicePostgresReviewStore: <TArtifact extends StoredVoiceCallReviewArtifact = StoredVoiceCallReviewArtifact>(options: VoicePostgresStoreOptions) => VoiceCallReviewStore<TArtifact>;
|
|
42
37
|
export declare const createVoicePostgresRuntimeStorage: <TSession extends VoiceSessionRecord = VoiceSessionRecord, TReview extends StoredVoiceCallReviewArtifact = StoredVoiceCallReviewArtifact, TTask extends StoredVoiceOpsTask = StoredVoiceOpsTask, TEvent extends StoredVoiceIntegrationEvent = StoredVoiceIntegrationEvent, TMapping extends StoredVoiceExternalObjectMap = StoredVoiceExternalObjectMap, TTrace extends StoredVoiceTraceEvent = StoredVoiceTraceEvent, TTraceDelivery extends VoiceTraceSinkDeliveryRecord = VoiceTraceSinkDeliveryRecord, TAudit extends StoredVoiceAuditEvent = StoredVoiceAuditEvent, TAuditDelivery extends VoiceAuditSinkDeliveryRecord = VoiceAuditSinkDeliveryRecord>(options: VoicePostgresStoreOptions) => VoicePostgresRuntimeStorage<TSession, TReview, TTask, TEvent, TMapping, TTrace, TTraceDelivery, TAudit, TAuditDelivery>;
|
|
38
|
+
export declare const createVoicePostgresSessionStore: <TSession extends VoiceSessionRecord = VoiceSessionRecord>(options: VoicePostgresStoreOptions) => VoiceSessionStore<TSession>;
|
|
39
|
+
export declare const createVoicePostgresTaskStore: <TTask extends StoredVoiceOpsTask = StoredVoiceOpsTask>(options: VoicePostgresStoreOptions) => VoiceOpsTaskStore<TTask>;
|
|
40
|
+
export declare const createVoicePostgresTelephonyWebhookIdempotencyStore: <TResult = unknown>(options: VoicePostgresStoreOptions) => VoiceTelephonyWebhookIdempotencyStore<TResult>;
|
|
41
|
+
export declare const createVoicePostgresTraceEventStore: <TEvent extends StoredVoiceTraceEvent = StoredVoiceTraceEvent>(options: VoicePostgresStoreOptions) => VoiceTraceEventStore<TEvent>;
|
|
42
|
+
export declare const createVoicePostgresTraceSinkDeliveryStore: <TDelivery extends VoiceTraceSinkDeliveryRecord = VoiceTraceSinkDeliveryRecord>(options: VoicePostgresStoreOptions) => VoiceTraceSinkDeliveryStore<TDelivery>;
|
|
@@ -712,20 +712,17 @@ export type VoiceProductionReadinessRoutesOptions = {
|
|
|
712
712
|
reconnectResumeFailAfterMs?: number;
|
|
713
713
|
};
|
|
714
714
|
export declare const createVoiceProductionReadinessProofRuntime: (options?: VoiceProductionReadinessProofRuntimeOptions) => VoiceProductionReadinessProofRuntime;
|
|
715
|
-
export declare const summarizeVoiceProductionReadinessGate: (report: VoiceProductionReadinessReport, options?: VoiceProductionReadinessGateOptions) => VoiceProductionReadinessGateReport;
|
|
716
|
-
export declare const evaluateVoiceProductionReadinessEvidence: (report: VoiceProductionReadinessReport, input?: VoiceProductionReadinessAssertionInput) => VoiceProductionReadinessAssertionReport;
|
|
717
715
|
export declare const assertVoiceProductionReadinessEvidence: (report: VoiceProductionReadinessReport, input?: VoiceProductionReadinessAssertionInput) => VoiceProductionReadinessAssertionReport;
|
|
718
|
-
export declare const
|
|
719
|
-
|
|
720
|
-
request?: Request;
|
|
721
|
-
}) => Promise<VoiceProductionReadinessReport>;
|
|
716
|
+
export declare const evaluateVoiceProductionReadinessEvidence: (report: VoiceProductionReadinessReport, input?: VoiceProductionReadinessAssertionInput) => VoiceProductionReadinessAssertionReport;
|
|
717
|
+
export declare const summarizeVoiceProductionReadinessGate: (report: VoiceProductionReadinessReport, options?: VoiceProductionReadinessGateOptions) => VoiceProductionReadinessGateReport;
|
|
722
718
|
export declare const buildVoiceProductionReadinessGate: (options: VoiceProductionReadinessRoutesOptions, input?: {
|
|
723
719
|
query?: Record<string, unknown>;
|
|
724
720
|
request?: Request;
|
|
725
721
|
}) => Promise<VoiceProductionReadinessGateReport>;
|
|
726
|
-
export declare const
|
|
727
|
-
|
|
728
|
-
|
|
722
|
+
export declare const buildVoiceProductionReadinessReport: (options: VoiceProductionReadinessRoutesOptions, input?: {
|
|
723
|
+
query?: Record<string, unknown>;
|
|
724
|
+
request?: Request;
|
|
725
|
+
}) => Promise<VoiceProductionReadinessReport>;
|
|
729
726
|
export declare const createVoiceProductionReadinessRoutes: (options: VoiceProductionReadinessRoutesOptions) => Elysia<"", {
|
|
730
727
|
decorator: {};
|
|
731
728
|
store: {};
|
|
@@ -754,4 +751,7 @@ export declare const createVoiceProductionReadinessRoutes: (options: VoiceProduc
|
|
|
754
751
|
standaloneSchema: {};
|
|
755
752
|
response: {};
|
|
756
753
|
}>;
|
|
754
|
+
export declare const renderVoiceProductionReadinessHTML: (report: VoiceProductionReadinessReport, options?: {
|
|
755
|
+
title?: string;
|
|
756
|
+
}) => string;
|
|
757
757
|
export {};
|
|
@@ -214,12 +214,8 @@ export type VoiceProfileSwitchReadinessRoutesOptions = VoiceProfileSwitchReadine
|
|
|
214
214
|
render?: (report: VoiceProfileSwitchReadinessReport) => string | Promise<string>;
|
|
215
215
|
title?: string;
|
|
216
216
|
};
|
|
217
|
-
export declare const recommendVoiceProfileSwitch: (options: VoiceProfileSwitchRecommendationOptions) => VoiceProfileSwitchRecommendation;
|
|
218
217
|
export declare const applyVoiceProfileSwitchGuard: (options: VoiceProfileSwitchGuardOptions) => Promise<VoiceProfileSwitchGuardDecision>;
|
|
219
|
-
export declare const
|
|
220
|
-
export declare const renderVoiceProfileSwitchPolicyProofHTML: (report: VoiceProfileSwitchPolicyProofReport, options?: {
|
|
221
|
-
title?: string;
|
|
222
|
-
}) => string;
|
|
218
|
+
export declare const recommendVoiceProfileSwitch: (options: VoiceProfileSwitchRecommendationOptions) => VoiceProfileSwitchRecommendation;
|
|
223
219
|
export declare const createVoiceProfileSwitchPolicyProofRoutes: (options: VoiceProfileSwitchPolicyProofRoutesOptions) => Elysia<"", {
|
|
224
220
|
decorator: {};
|
|
225
221
|
store: {};
|
|
@@ -260,10 +256,11 @@ export declare const createVoiceProfileSwitchPolicyProofRoutes: (options: VoiceP
|
|
|
260
256
|
standaloneSchema: {};
|
|
261
257
|
response: {};
|
|
262
258
|
}>;
|
|
263
|
-
export declare const
|
|
264
|
-
export declare const renderVoiceProfileSwitchLiveDecisionHTML: (report: VoiceProfileSwitchLiveDecisionReport, options?: {
|
|
259
|
+
export declare const renderVoiceProfileSwitchPolicyProofHTML: (report: VoiceProfileSwitchPolicyProofReport, options?: {
|
|
265
260
|
title?: string;
|
|
266
261
|
}) => string;
|
|
262
|
+
export declare const runVoiceProfileSwitchPolicyProof: (options: VoiceProfileSwitchPolicyProofOptions) => Promise<VoiceProfileSwitchPolicyProofReport>;
|
|
263
|
+
export declare const buildVoiceProfileSwitchLiveDecisionReport: (options: VoiceProfileSwitchLiveDecisionReportOptions) => Promise<VoiceProfileSwitchLiveDecisionReport>;
|
|
267
264
|
export declare const createVoiceProfileSwitchLiveDecisionRoutes: (options: VoiceProfileSwitchLiveDecisionRoutesOptions) => Elysia<"", {
|
|
268
265
|
decorator: {};
|
|
269
266
|
store: {};
|
|
@@ -304,10 +301,10 @@ export declare const createVoiceProfileSwitchLiveDecisionRoutes: (options: Voice
|
|
|
304
301
|
standaloneSchema: {};
|
|
305
302
|
response: {};
|
|
306
303
|
}>;
|
|
307
|
-
export declare const
|
|
308
|
-
export declare const renderVoiceProfileSwitchReadinessHTML: (report: VoiceProfileSwitchReadinessReport, options?: {
|
|
304
|
+
export declare const renderVoiceProfileSwitchLiveDecisionHTML: (report: VoiceProfileSwitchLiveDecisionReport, options?: {
|
|
309
305
|
title?: string;
|
|
310
306
|
}) => string;
|
|
307
|
+
export declare const buildVoiceProfileSwitchReadinessReport: (options: VoiceProfileSwitchReadinessOptions) => Promise<VoiceProfileSwitchReadinessReport>;
|
|
311
308
|
export declare const createVoiceProfileSwitchReadinessRoutes: (options: VoiceProfileSwitchReadinessRoutesOptions) => Elysia<"", {
|
|
312
309
|
decorator: {};
|
|
313
310
|
store: {};
|
|
@@ -348,3 +345,6 @@ export declare const createVoiceProfileSwitchReadinessRoutes: (options: VoicePro
|
|
|
348
345
|
standaloneSchema: {};
|
|
349
346
|
response: {};
|
|
350
347
|
}>;
|
|
348
|
+
export declare const renderVoiceProfileSwitchReadinessHTML: (report: VoiceProfileSwitchReadinessReport, options?: {
|
|
349
|
+
title?: string;
|
|
350
|
+
}) => string;
|
|
@@ -27,6 +27,6 @@ export type VoiceEvidenceAssertionInput<TEvidence> = {
|
|
|
27
27
|
ok?: (evidence: TEvidence) => boolean;
|
|
28
28
|
summary?: (evidence: TEvidence) => Record<string, unknown>;
|
|
29
29
|
};
|
|
30
|
-
export declare const createVoiceProofAssertion: (input: VoiceProofAssertionInput) => VoiceProofAssertionResult;
|
|
31
30
|
export declare const createVoiceEvidenceAssertion: <TEvidence>(input: VoiceEvidenceAssertionInput<TEvidence>) => VoiceProofAssertionResult;
|
|
31
|
+
export declare const createVoiceProofAssertion: (input: VoiceProofAssertionInput) => VoiceProofAssertionResult;
|
|
32
32
|
export declare const summarizeVoiceProofAssertions: (assertions: VoiceProofAssertionResult[]) => VoiceProofAssertionSummary;
|