@absolutejs/voice 0.0.22-beta.242 → 0.0.22-beta.244

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 CHANGED
@@ -68,7 +68,7 @@ Use this checklist when a buyer asks, "How do I know this replaces a hosted voic
68
68
  | Can I prove provider fallback and latency? | provider contract matrix, provider status UI, `/turn-latency`, `/live-latency` | Provider choice, fallback behavior, server turn timing, browser p50/p95 timing |
69
69
  | Can operators intervene safely? | live-ops routes, action center, ops action audit routes, operations record | Pause/resume/takeover, injected instructions, operator action audit trail |
70
70
  | Can I run outbound campaigns? | `/voice/campaigns`, `/voice/campaigns/observability`, `/api/voice/campaigns/readiness-proof` | Recipient import evidence, consent/dedupe checks, scheduling policy, worker-safe attempts |
71
- | Can I handle post-call workflow? | reviews, tasks, integration events, outcome contracts, operations record | Summary/review artifacts, task creation, webhook/sink delivery, matched session proof |
71
+ | Can I handle post-call workflow? | `createVoicePostCallAnalysisRoutes(...)`, reviews, tasks, integration events, outcome contracts, operations record | Extracted-field proof, task creation, webhook/sink delivery, matched session proof |
72
72
  | Can I keep data in my infrastructure? | `/data-control`, `/data-control/audit.md`, retention dry-run/apply routes | Customer-owned storage, redaction, audit export, guarded deletion, zero-retention planning |
73
73
  | Can I prove release readiness? | `/production-readiness`, `/ops-recovery`, delivery runtime, readiness profiles | Deploy gates for session health, audits, delivery queues, provider/campaign/phone proof |
74
74
 
@@ -82,6 +82,37 @@ For a demo, the fastest convincing path is:
82
82
 
83
83
  If those five surfaces are green and linked, the buyer can see the core difference from Vapi-style hosted orchestration: the operational proof lives inside the app, not in a vendor dashboard.
84
84
 
85
+ ## Post-Call Analysis Proof
86
+
87
+ Use `createVoicePostCallAnalysisRoutes(...)` when the hosted-platform feature you need is call analysis plus follow-up proof. It validates that required extracted fields exist, expected ops tasks were created, integration/webhook events delivered, and the report links back to `/voice-operations/:sessionId`.
88
+
89
+ ```ts
90
+ import { createVoicePostCallAnalysisRoutes } from '@absolutejs/voice';
91
+
92
+ app.use(
93
+ createVoicePostCallAnalysisRoutes({
94
+ path: '/api/voice/post-call-analysis',
95
+ operationRecordBasePath: '/voice-operations/:sessionId',
96
+ reviews: runtime.reviews,
97
+ tasks: runtime.tasks,
98
+ integrationEvents: runtime.events,
99
+ source: ({ reviewId, sessionId }) => ({
100
+ reviewId,
101
+ sessionId,
102
+ // Use your own extractor output here, for example fields persisted from an LLM/tool result.
103
+ extractedFields: loadExtractedPostCallFields(reviewId ?? sessionId)
104
+ }),
105
+ fields: [
106
+ { path: 'review.postCall.target', label: 'customer target' },
107
+ { path: 'customerId' },
108
+ { path: 'category' }
109
+ ],
110
+ requiredTaskKinds: ['support-triage'],
111
+ requireDeliveredIntegrationEvent: true
112
+ })
113
+ );
114
+ ```
115
+
85
116
  ## Use-Case Recipe: Support Triage
86
117
 
87
118
  Use this path when you want a Vapi-style support assistant that can answer web or phone calls, look up customer context, route billing issues to a specialist, create follow-up work, and leave one debuggable call record. It is a recipe over primitives, not a support app kit.
@@ -1,5 +1,6 @@
1
1
  export { VoiceOpsStatusService } from './voice-ops-status.service';
2
2
  export { VoicePlatformCoverageService } from './voice-platform-coverage.service';
3
+ export { VoiceProofTrendsService } from './voice-proof-trends.service';
3
4
  export { VoiceOpsActionCenterService } from './voice-ops-action-center.service';
4
5
  export { VoiceLiveOpsService } from './voice-live-ops.service';
5
6
  export { VoiceDeliveryRuntimeService } from './voice-delivery-runtime.service';