@absolutejs/voice 0.0.22-beta.50 → 0.0.22-beta.501

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.
Files changed (400) hide show
  1. package/README.md +4556 -603
  2. package/dist/agent.d.ts +79 -5
  3. package/dist/agentSquadContract.d.ts +98 -0
  4. package/dist/agentState.d.ts +12 -0
  5. package/dist/agentTools.d.ts +133 -0
  6. package/dist/aiVoiceModel.d.ts +15 -0
  7. package/dist/amdDetector.d.ts +25 -0
  8. package/dist/angular/index.d.ts +32 -5
  9. package/dist/angular/index.js +3704 -326
  10. package/dist/angular/voice-agent-squad-status.service.d.ts +12 -0
  11. package/dist/angular/voice-call-debugger.service.d.ts +12 -0
  12. package/dist/angular/voice-campaign-dialer-proof.service.d.ts +14 -0
  13. package/dist/angular/voice-controller.service.d.ts +3 -1
  14. package/dist/angular/voice-cost-dashboard.service.d.ts +15 -0
  15. package/dist/angular/voice-delivery-runtime.component.d.ts +17 -0
  16. package/dist/angular/voice-delivery-runtime.service.d.ts +16 -0
  17. package/dist/angular/voice-live-call-viewer.service.d.ts +16 -0
  18. package/dist/angular/voice-live-ops.service.d.ts +11 -0
  19. package/dist/angular/voice-ops-action-center.service.d.ts +13 -0
  20. package/dist/angular/voice-ops-status.component.d.ts +15 -0
  21. package/dist/angular/voice-ops-status.service.d.ts +12 -0
  22. package/dist/angular/voice-platform-coverage.service.d.ts +12 -0
  23. package/dist/angular/voice-profile-comparison.service.d.ts +12 -0
  24. package/dist/angular/voice-proof-trends.service.d.ts +12 -0
  25. package/dist/angular/voice-provider-capabilities.service.d.ts +12 -0
  26. package/dist/angular/voice-provider-contracts.service.d.ts +12 -0
  27. package/dist/angular/voice-provider-status.service.d.ts +2 -2
  28. package/dist/angular/voice-readiness-failures.service.d.ts +13 -0
  29. package/dist/angular/voice-reconnect-profile-evidence.service.d.ts +12 -0
  30. package/dist/angular/voice-replay-timeline.service.d.ts +13 -0
  31. package/dist/angular/voice-routing-status.service.d.ts +11 -0
  32. package/dist/angular/voice-session-observability.service.d.ts +12 -0
  33. package/dist/angular/voice-session-snapshot.service.d.ts +13 -0
  34. package/dist/angular/voice-stream.service.d.ts +4 -1
  35. package/dist/angular/voice-trace-timeline.service.d.ts +12 -0
  36. package/dist/angular/voice-turn-latency.service.d.ts +13 -0
  37. package/dist/angular/voice-turn-quality.service.d.ts +12 -0
  38. package/dist/angular/voice-widget.service.d.ts +18 -0
  39. package/dist/angular/voice-workflow-status.service.d.ts +2 -2
  40. package/dist/assistant.d.ts +12 -13
  41. package/dist/assistantHealth.d.ts +6 -6
  42. package/dist/assistantMemory.d.ts +3 -3
  43. package/dist/assistantMode.d.ts +22 -0
  44. package/dist/audioConditioning.d.ts +1 -1
  45. package/dist/audit.d.ts +131 -0
  46. package/dist/auditDeliveryRoutes.d.ts +85 -0
  47. package/dist/auditExport.d.ts +34 -0
  48. package/dist/auditRoutes.d.ts +66 -0
  49. package/dist/auditSinks.d.ts +151 -0
  50. package/dist/backchannel.d.ts +18 -0
  51. package/dist/bargeInRoutes.d.ts +56 -0
  52. package/dist/browserCallProfiles.d.ts +120 -0
  53. package/dist/browserMediaRoutes.d.ts +62 -0
  54. package/dist/callDebugger.d.ts +66 -0
  55. package/dist/callQuota.d.ts +54 -0
  56. package/dist/callerMemory.d.ts +37 -0
  57. package/dist/campaign.d.ts +794 -0
  58. package/dist/campaignControls.d.ts +37 -0
  59. package/dist/campaignDialers.d.ts +111 -0
  60. package/dist/client/actions.d.ts +95 -1
  61. package/dist/client/agentSquadStatus.d.ts +37 -0
  62. package/dist/client/agentSquadStatusWidget.d.ts +24 -0
  63. package/dist/client/audioPlayer.d.ts +2 -2
  64. package/dist/client/bargeInMonitor.d.ts +7 -0
  65. package/dist/client/browserMedia.d.ts +8 -0
  66. package/dist/client/callDebugger.d.ts +19 -0
  67. package/dist/client/callDebuggerWidget.d.ts +30 -0
  68. package/dist/client/campaignDialerProof.d.ts +23 -0
  69. package/dist/client/connection.d.ts +4 -3
  70. package/dist/client/controller.d.ts +1 -1
  71. package/dist/client/costDashboard.d.ts +27 -0
  72. package/dist/client/createVoiceStream.d.ts +1 -1
  73. package/dist/client/deliveryRuntime.d.ts +34 -0
  74. package/dist/client/deliveryRuntimeWidget.d.ts +37 -0
  75. package/dist/client/duplex.d.ts +2 -2
  76. package/dist/client/htmx.d.ts +1 -1
  77. package/dist/client/htmxBootstrap.js +967 -14
  78. package/dist/client/index.d.ts +104 -13
  79. package/dist/client/index.js +10142 -26
  80. package/dist/client/liveCallViewer.d.ts +42 -0
  81. package/dist/client/liveOps.d.ts +22 -0
  82. package/dist/client/liveOpsWidget.d.ts +23 -0
  83. package/dist/client/liveTurnLatency.d.ts +41 -0
  84. package/dist/client/microphone.d.ts +4 -4
  85. package/dist/client/opsActionCenter.d.ts +54 -0
  86. package/dist/client/opsActionCenterWidget.d.ts +29 -0
  87. package/dist/client/opsActionHistory.d.ts +19 -0
  88. package/dist/client/opsActionHistoryWidget.d.ts +11 -0
  89. package/dist/client/opsStatus.d.ts +19 -0
  90. package/dist/client/opsStatusWidget.d.ts +40 -0
  91. package/dist/client/platformCoverage.d.ts +19 -0
  92. package/dist/client/platformCoverageWidget.d.ts +37 -0
  93. package/dist/client/profileComparison.d.ts +19 -0
  94. package/dist/client/profileComparisonWidget.d.ts +41 -0
  95. package/dist/client/profileSwitchRecommendation.d.ts +19 -0
  96. package/dist/client/profileSwitchRecommendationWidget.d.ts +12 -0
  97. package/dist/client/proofTrends.d.ts +19 -0
  98. package/dist/client/proofTrendsWidget.d.ts +37 -0
  99. package/dist/client/providerCapabilities.d.ts +19 -0
  100. package/dist/client/providerCapabilitiesWidget.d.ts +32 -0
  101. package/dist/client/providerContracts.d.ts +19 -0
  102. package/dist/client/providerContractsWidget.d.ts +37 -0
  103. package/dist/client/providerSimulationControls.d.ts +33 -0
  104. package/dist/client/providerSimulationControlsWidget.d.ts +20 -0
  105. package/dist/client/providerStatus.d.ts +1 -1
  106. package/dist/client/providerStatusWidget.d.ts +32 -0
  107. package/dist/client/readinessFailures.d.ts +19 -0
  108. package/dist/client/readinessFailuresWidget.d.ts +42 -0
  109. package/dist/client/reconnectProfileEvidence.d.ts +19 -0
  110. package/dist/client/reconnectProfileEvidenceWidget.d.ts +39 -0
  111. package/dist/client/replayTimeline.d.ts +26 -0
  112. package/dist/client/routingStatus.d.ts +19 -0
  113. package/dist/client/routingStatusWidget.d.ts +32 -0
  114. package/dist/client/sessionObservability.d.ts +19 -0
  115. package/dist/client/sessionObservabilityWidget.d.ts +31 -0
  116. package/dist/client/sessionSnapshot.d.ts +21 -0
  117. package/dist/client/sessionSnapshotWidget.d.ts +33 -0
  118. package/dist/client/store.d.ts +1 -1
  119. package/dist/client/traceTimeline.d.ts +19 -0
  120. package/dist/client/traceTimelineWidget.d.ts +36 -0
  121. package/dist/client/turnLatency.d.ts +22 -0
  122. package/dist/client/turnLatencyWidget.d.ts +33 -0
  123. package/dist/client/turnQuality.d.ts +19 -0
  124. package/dist/client/turnQualityWidget.d.ts +32 -0
  125. package/dist/client/voiceWidgetView.d.ts +50 -0
  126. package/dist/client/workflowStatus.d.ts +1 -1
  127. package/dist/competitiveCoverage.d.ts +141 -0
  128. package/dist/correction.d.ts +2 -2
  129. package/dist/costAccounting.d.ts +76 -0
  130. package/dist/dataControl.d.ts +180 -0
  131. package/dist/defineVoiceAssistant.d.ts +68 -0
  132. package/dist/deliveryRuntime.d.ts +158 -0
  133. package/dist/deliverySinkRoutes.d.ts +117 -0
  134. package/dist/demoReadyRoutes.d.ts +98 -0
  135. package/dist/diagnosticsRoutes.d.ts +2 -2
  136. package/dist/evalRoutes.d.ts +10 -4
  137. package/dist/fileStore.d.ts +21 -7
  138. package/dist/generated/htmxBootstrapBundle.d.ts +1 -0
  139. package/dist/guardrails.d.ts +128 -0
  140. package/dist/handoff.d.ts +6 -6
  141. package/dist/handoffHealth.d.ts +5 -5
  142. package/dist/htmx.d.ts +1 -1
  143. package/dist/incidentBundle.d.ts +119 -0
  144. package/dist/incidentTimeline.d.ts +260 -0
  145. package/dist/index.d.ts +278 -74
  146. package/dist/index.js +40611 -6669
  147. package/dist/ivrPlan.d.ts +40 -0
  148. package/dist/latencySlo.d.ts +56 -0
  149. package/dist/liveLatency.d.ts +78 -0
  150. package/dist/liveOps.d.ts +190 -0
  151. package/dist/llmJudge.d.ts +45 -0
  152. package/dist/logger.d.ts +1 -1
  153. package/dist/mediaPipelineRoutes.d.ts +171 -0
  154. package/dist/mediaPipelineSurfaces.d.ts +48 -0
  155. package/dist/memoryStore.d.ts +1 -1
  156. package/dist/midCallSummary.d.ts +27 -0
  157. package/dist/modelAdapters.d.ts +59 -7
  158. package/dist/monitor.d.ts +148 -0
  159. package/dist/multilingualProof.d.ts +77 -0
  160. package/dist/oauth2TokenSource.d.ts +21 -0
  161. package/dist/observabilityExport.d.ts +501 -0
  162. package/dist/openaiTTS.d.ts +18 -0
  163. package/dist/operationalStatus.d.ts +87 -0
  164. package/dist/operationsRecord.d.ts +370 -0
  165. package/dist/ops.d.ts +12 -12
  166. package/dist/opsActionAuditRoutes.d.ts +99 -0
  167. package/dist/opsConsoleRoutes.d.ts +8 -5
  168. package/dist/opsPresets.d.ts +2 -2
  169. package/dist/opsRecovery.d.ts +137 -0
  170. package/dist/opsRuntime.d.ts +6 -6
  171. package/dist/opsSinks.d.ts +13 -13
  172. package/dist/opsStatus.d.ts +76 -0
  173. package/dist/opsStatusRoutes.d.ts +33 -0
  174. package/dist/opsWebhook.d.ts +6 -6
  175. package/dist/otelExporter.d.ts +83 -0
  176. package/dist/outcomeContract.d.ts +146 -0
  177. package/dist/outcomeRecipes.d.ts +4 -4
  178. package/dist/phoneAgent.d.ts +139 -0
  179. package/dist/phoneAgentProductionSmoke.d.ts +115 -0
  180. package/dist/platformCoverage.d.ts +91 -0
  181. package/dist/plugin.d.ts +2 -2
  182. package/dist/postCallAnalysis.d.ts +98 -0
  183. package/dist/postgresStore.d.ts +17 -6
  184. package/dist/presets.d.ts +3 -3
  185. package/dist/productionReadiness.d.ts +756 -0
  186. package/dist/profileSwitchRecommendation.d.ts +350 -0
  187. package/dist/proofAssertions.d.ts +32 -0
  188. package/dist/proofPack.d.ts +211 -0
  189. package/dist/proofRunner.d.ts +79 -0
  190. package/dist/proofTrends.d.ts +966 -0
  191. package/dist/providerAdapters.d.ts +16 -5
  192. package/dist/providerCapabilities.d.ts +92 -0
  193. package/dist/providerDecisionTraces.d.ts +130 -0
  194. package/dist/providerHealth.d.ts +3 -3
  195. package/dist/providerOrchestration.d.ts +109 -0
  196. package/dist/providerRouterTraces.d.ts +35 -0
  197. package/dist/providerRoutingContract.d.ts +71 -0
  198. package/dist/providerSlo.d.ts +142 -0
  199. package/dist/providerStackRecommendations.d.ts +187 -0
  200. package/dist/qualityRoutes.d.ts +4 -4
  201. package/dist/queue.d.ts +23 -14
  202. package/dist/ragTool.d.ts +57 -0
  203. package/dist/react/VoiceAgentSquadStatus.d.ts +5 -0
  204. package/dist/react/VoiceCallDebuggerLaunch.d.ts +6 -0
  205. package/dist/react/VoiceCostDashboard.d.ts +10 -0
  206. package/dist/react/VoiceDeliveryRuntime.d.ts +7 -0
  207. package/dist/react/VoiceLiveCallViewer.d.ts +9 -0
  208. package/dist/react/VoiceOpsActionCenter.d.ts +5 -0
  209. package/dist/react/VoiceOpsStatus.d.ts +6 -0
  210. package/dist/react/VoicePlatformCoverage.d.ts +6 -0
  211. package/dist/react/VoiceProfileComparison.d.ts +6 -0
  212. package/dist/react/VoiceProfileSwitchRecommendation.d.ts +6 -0
  213. package/dist/react/VoiceProofTrends.d.ts +6 -0
  214. package/dist/react/VoiceProviderCapabilities.d.ts +6 -0
  215. package/dist/react/VoiceProviderContracts.d.ts +6 -0
  216. package/dist/react/VoiceProviderSimulationControls.d.ts +5 -0
  217. package/dist/react/VoiceProviderStatus.d.ts +6 -0
  218. package/dist/react/VoiceReadinessFailures.d.ts +6 -0
  219. package/dist/react/VoiceReconnectProfileEvidence.d.ts +6 -0
  220. package/dist/react/VoiceReplayTimeline.d.ts +6 -0
  221. package/dist/react/VoiceRoutingStatus.d.ts +6 -0
  222. package/dist/react/VoiceSessionObservability.d.ts +6 -0
  223. package/dist/react/VoiceSessionSnapshot.d.ts +6 -0
  224. package/dist/react/VoiceTraceTimeline.d.ts +6 -0
  225. package/dist/react/VoiceTurnLatency.d.ts +6 -0
  226. package/dist/react/VoiceTurnQuality.d.ts +6 -0
  227. package/dist/react/VoiceWidget.d.ts +13 -0
  228. package/dist/react/index.d.ts +55 -5
  229. package/dist/react/index.js +12037 -106
  230. package/dist/react/useVoiceAgentSquadStatus.d.ts +8 -0
  231. package/dist/react/useVoiceCallDebugger.d.ts +8 -0
  232. package/dist/react/useVoiceCampaignDialerProof.d.ts +10 -0
  233. package/dist/react/useVoiceController.d.ts +4 -1
  234. package/dist/react/useVoiceDeliveryRuntime.d.ts +13 -0
  235. package/dist/react/useVoiceLiveOps.d.ts +9 -0
  236. package/dist/react/useVoiceOpsActionCenter.d.ts +11 -0
  237. package/dist/react/useVoiceOpsStatus.d.ts +8 -0
  238. package/dist/react/useVoicePlatformCoverage.d.ts +8 -0
  239. package/dist/react/useVoiceProfileComparison.d.ts +8 -0
  240. package/dist/react/useVoiceProfileSwitchRecommendation.d.ts +8 -0
  241. package/dist/react/useVoiceProofTrends.d.ts +8 -0
  242. package/dist/react/useVoiceProviderCapabilities.d.ts +8 -0
  243. package/dist/react/useVoiceProviderContracts.d.ts +8 -0
  244. package/dist/react/useVoiceProviderSimulationControls.d.ts +10 -0
  245. package/dist/react/useVoiceProviderStatus.d.ts +1 -1
  246. package/dist/react/useVoiceReadinessFailures.d.ts +8 -0
  247. package/dist/react/useVoiceReconnectProfileEvidence.d.ts +8 -0
  248. package/dist/react/useVoiceRoutingStatus.d.ts +8 -0
  249. package/dist/react/useVoiceSessionObservability.d.ts +8 -0
  250. package/dist/react/useVoiceSessionSnapshot.d.ts +9 -0
  251. package/dist/react/useVoiceStream.d.ts +4 -1
  252. package/dist/react/useVoiceTraceTimeline.d.ts +8 -0
  253. package/dist/react/useVoiceTurnLatency.d.ts +9 -0
  254. package/dist/react/useVoiceTurnQuality.d.ts +8 -0
  255. package/dist/react/useVoiceWorkflowStatus.d.ts +1 -1
  256. package/dist/readinessProfiles.d.ts +45 -0
  257. package/dist/realtimeChannel.d.ts +136 -0
  258. package/dist/realtimeProviderContracts.d.ts +133 -0
  259. package/dist/reconnectContract.d.ts +176 -0
  260. package/dist/recordingRedaction.d.ts +18 -0
  261. package/dist/recordingStore.d.ts +60 -0
  262. package/dist/redaction.d.ts +13 -0
  263. package/dist/resilienceRoutes.d.ts +45 -5
  264. package/dist/retention.d.ts +37 -0
  265. package/dist/routeAuth.d.ts +58 -0
  266. package/dist/routing.d.ts +1 -1
  267. package/dist/runtimeOps.d.ts +3 -3
  268. package/dist/s3Store.d.ts +18 -3
  269. package/dist/semanticTurn.d.ts +27 -0
  270. package/dist/session.d.ts +1 -1
  271. package/dist/sessionObservability.d.ts +145 -0
  272. package/dist/sessionReplay.d.ts +19 -7
  273. package/dist/sessionSnapshot.d.ts +109 -0
  274. package/dist/simulationSuite.d.ts +143 -0
  275. package/dist/sloCalibration.d.ts +185 -0
  276. package/dist/sqliteStore.d.ts +17 -6
  277. package/dist/store.d.ts +1 -1
  278. package/dist/svelte/createVoiceAgentSquadStatus.d.ts +9 -0
  279. package/dist/svelte/createVoiceCallDebugger.d.ts +12 -0
  280. package/dist/svelte/createVoiceCampaignDialerProof.d.ts +9 -0
  281. package/dist/svelte/createVoiceCostDashboard.d.ts +13 -0
  282. package/dist/svelte/createVoiceDeliveryRuntime.d.ts +11 -0
  283. package/dist/svelte/createVoiceLiveCallViewer.d.ts +26 -0
  284. package/dist/svelte/createVoiceLiveOps.d.ts +13 -0
  285. package/dist/svelte/createVoiceOpsActionCenter.d.ts +10 -0
  286. package/dist/svelte/createVoiceOpsStatus.d.ts +9 -0
  287. package/dist/svelte/createVoicePlatformCoverage.d.ts +7 -0
  288. package/dist/svelte/createVoiceProfileComparison.d.ts +7 -0
  289. package/dist/svelte/createVoiceProofTrends.d.ts +7 -0
  290. package/dist/svelte/createVoiceProviderCapabilities.d.ts +10 -0
  291. package/dist/svelte/createVoiceProviderContracts.d.ts +10 -0
  292. package/dist/svelte/createVoiceProviderSimulationControls.d.ts +11 -0
  293. package/dist/svelte/createVoiceProviderStatus.d.ts +4 -2
  294. package/dist/svelte/createVoiceReadinessFailures.d.ts +7 -0
  295. package/dist/svelte/createVoiceReconnectProfileEvidence.d.ts +7 -0
  296. package/dist/svelte/createVoiceReplayTimeline.d.ts +13 -0
  297. package/dist/svelte/createVoiceRoutingStatus.d.ts +10 -0
  298. package/dist/svelte/createVoiceSessionObservability.d.ts +10 -0
  299. package/dist/svelte/createVoiceSessionSnapshot.d.ts +13 -0
  300. package/dist/svelte/createVoiceStream.d.ts +1 -1
  301. package/dist/svelte/createVoiceTraceTimeline.d.ts +10 -0
  302. package/dist/svelte/createVoiceTurnLatency.d.ts +11 -0
  303. package/dist/svelte/createVoiceTurnQuality.d.ts +10 -0
  304. package/dist/svelte/createVoiceWidget.d.ts +19 -0
  305. package/dist/svelte/createVoiceWorkflowStatus.d.ts +1 -1
  306. package/dist/svelte/index.d.ts +33 -5
  307. package/dist/svelte/index.js +6493 -546
  308. package/dist/telephony/contract.d.ts +61 -0
  309. package/dist/telephony/matrix.d.ts +97 -0
  310. package/dist/telephony/plivo.d.ts +303 -0
  311. package/dist/telephony/response.d.ts +1 -1
  312. package/dist/telephony/security.d.ts +182 -0
  313. package/dist/telephony/telnyx.d.ts +291 -0
  314. package/dist/telephony/twilio.d.ts +147 -13
  315. package/dist/telephonyMediaRoutes.d.ts +72 -0
  316. package/dist/telephonyOutcome.d.ts +273 -0
  317. package/dist/testing/accuracy.d.ts +1 -1
  318. package/dist/testing/benchmark.d.ts +9 -9
  319. package/dist/testing/corrected.d.ts +5 -5
  320. package/dist/testing/duplex.d.ts +3 -3
  321. package/dist/testing/fixtures.d.ts +3 -3
  322. package/dist/testing/index.d.ts +13 -13
  323. package/dist/testing/index.js +5223 -159
  324. package/dist/testing/ioProviderSimulator.d.ts +5 -5
  325. package/dist/testing/providerSimulator.d.ts +5 -5
  326. package/dist/testing/review.d.ts +4 -4
  327. package/dist/testing/sessionBenchmark.d.ts +3 -3
  328. package/dist/testing/stt.d.ts +3 -3
  329. package/dist/testing/telephony.d.ts +25 -0
  330. package/dist/testing/tts.d.ts +1 -1
  331. package/dist/toolContract.d.ts +161 -0
  332. package/dist/toolRuntime.d.ts +50 -0
  333. package/dist/trace.d.ts +46 -7
  334. package/dist/traceDeliveryRoutes.d.ts +86 -0
  335. package/dist/traceTimeline.d.ts +97 -0
  336. package/dist/turnDetection.d.ts +1 -1
  337. package/dist/turnLatency.d.ts +95 -0
  338. package/dist/turnProfiles.d.ts +2 -2
  339. package/dist/turnQuality.d.ts +94 -0
  340. package/dist/types.d.ts +293 -80
  341. package/dist/vapiAdapter.d.ts +160 -0
  342. package/dist/voiceMonitoring.d.ts +444 -0
  343. package/dist/vue/VoiceCallDebuggerLaunch.d.ts +68 -0
  344. package/dist/vue/VoiceCostDashboard.d.ts +57 -0
  345. package/dist/vue/VoiceDeliveryRuntime.d.ts +30 -0
  346. package/dist/vue/VoiceLiveCallViewer.d.ts +35 -0
  347. package/dist/vue/VoiceOpsActionCenter.d.ts +13 -0
  348. package/dist/vue/VoiceOpsStatus.d.ts +30 -0
  349. package/dist/vue/VoicePlatformCoverage.d.ts +23 -0
  350. package/dist/vue/VoiceProofTrends.d.ts +21 -0
  351. package/dist/vue/VoiceProviderCapabilities.d.ts +51 -0
  352. package/dist/vue/VoiceProviderContracts.d.ts +21 -0
  353. package/dist/vue/VoiceProviderSimulationControls.d.ts +88 -0
  354. package/dist/vue/VoiceProviderStatus.d.ts +51 -0
  355. package/dist/vue/VoiceReadinessFailures.d.ts +21 -0
  356. package/dist/vue/VoiceReconnectProfileEvidence.d.ts +21 -0
  357. package/dist/vue/VoiceReplayTimeline.d.ts +17 -0
  358. package/dist/vue/VoiceRoutingStatus.d.ts +51 -0
  359. package/dist/vue/VoiceSessionObservability.d.ts +23 -0
  360. package/dist/vue/VoiceSessionSnapshot.d.ts +68 -0
  361. package/dist/vue/VoiceTurnLatency.d.ts +69 -0
  362. package/dist/vue/VoiceTurnQuality.d.ts +51 -0
  363. package/dist/vue/VoiceWidget.d.ts +77 -0
  364. package/dist/vue/index.d.ts +47 -5
  365. package/dist/vue/index.js +11299 -132
  366. package/dist/vue/useVoiceAgentSquadStatus.d.ts +9 -0
  367. package/dist/vue/useVoiceCallDebugger.d.ts +10 -0
  368. package/dist/vue/useVoiceCampaignDialerProof.d.ts +11 -0
  369. package/dist/vue/useVoiceController.d.ts +4 -2
  370. package/dist/vue/useVoiceDeliveryRuntime.d.ts +13 -0
  371. package/dist/vue/useVoiceLiveOps.d.ts +9 -0
  372. package/dist/vue/useVoiceOpsActionCenter.d.ts +11 -0
  373. package/dist/vue/useVoiceOpsStatus.d.ts +9 -0
  374. package/dist/vue/useVoicePlatformCoverage.d.ts +9 -0
  375. package/dist/vue/useVoiceProfileComparison.d.ts +9 -0
  376. package/dist/vue/useVoiceProofTrends.d.ts +9 -0
  377. package/dist/vue/useVoiceProviderCapabilities.d.ts +9 -0
  378. package/dist/vue/useVoiceProviderContracts.d.ts +9 -0
  379. package/dist/vue/useVoiceProviderSimulationControls.d.ts +24 -0
  380. package/dist/vue/useVoiceProviderStatus.d.ts +3 -3
  381. package/dist/vue/useVoiceReadinessFailures.d.ts +959 -0
  382. package/dist/vue/useVoiceReconnectProfileEvidence.d.ts +9 -0
  383. package/dist/vue/useVoiceRoutingStatus.d.ts +8 -0
  384. package/dist/vue/useVoiceSessionObservability.d.ts +9 -0
  385. package/dist/vue/useVoiceSessionSnapshot.d.ts +10 -0
  386. package/dist/vue/useVoiceStream.d.ts +5 -2
  387. package/dist/vue/useVoiceTraceTimeline.d.ts +9 -0
  388. package/dist/vue/useVoiceTurnLatency.d.ts +10 -0
  389. package/dist/vue/useVoiceTurnQuality.d.ts +9 -0
  390. package/dist/vue/useVoiceWorkflowStatus.d.ts +3 -3
  391. package/dist/webhookVerification.d.ts +27 -0
  392. package/dist/workflowContract.d.ts +8 -8
  393. package/fixtures/manifest.json +356 -197
  394. package/package.json +265 -256
  395. package/dist/angular/voice-app-kit-status.service.d.ts +0 -12
  396. package/dist/appKit.d.ts +0 -83
  397. package/dist/client/appKitStatus.d.ts +0 -19
  398. package/dist/react/useVoiceAppKitStatus.d.ts +0 -8
  399. package/dist/svelte/createVoiceAppKitStatus.d.ts +0 -8
  400. package/dist/vue/useVoiceAppKitStatus.d.ts +0 -9
@@ -0,0 +1,62 @@
1
+ import { Elysia } from "elysia";
2
+ import type { MediaWebRTCStatsReport, MediaWebRTCStreamContinuityReport } from "@absolutejs/media";
3
+ import type { VoiceTraceEventStore } from "./trace";
4
+ export type VoiceBrowserMediaStatus = "empty" | "fail" | "pass" | "warn";
5
+ export type VoiceBrowserMediaSample = {
6
+ at: number;
7
+ continuity?: MediaWebRTCStreamContinuityReport;
8
+ report: MediaWebRTCStatsReport;
9
+ scenarioId?: string;
10
+ sessionId: string;
11
+ traceId?: string;
12
+ };
13
+ export type VoiceBrowserMediaReport = {
14
+ checkedAt: number;
15
+ latest?: VoiceBrowserMediaSample;
16
+ recent: VoiceBrowserMediaSample[];
17
+ status: VoiceBrowserMediaStatus;
18
+ stale: boolean;
19
+ total: number;
20
+ };
21
+ export type VoiceBrowserMediaRoutesOptions = {
22
+ headers?: HeadersInit;
23
+ htmlPath?: false | string;
24
+ maxAgeMs?: number;
25
+ name?: string;
26
+ path?: string;
27
+ store: VoiceTraceEventStore;
28
+ title?: string;
29
+ };
30
+ export declare const summarizeVoiceBrowserMedia: (options: Pick<VoiceBrowserMediaRoutesOptions, "maxAgeMs" | "store">) => Promise<VoiceBrowserMediaReport>;
31
+ export declare const getLatestVoiceBrowserMediaReport: (options: Pick<VoiceBrowserMediaRoutesOptions, "maxAgeMs" | "store">) => Promise<MediaWebRTCStatsReport | undefined>;
32
+ export declare const renderVoiceBrowserMediaHTML: (report: VoiceBrowserMediaReport, options?: {
33
+ title?: string;
34
+ }) => string;
35
+ export declare const createVoiceBrowserMediaRoutes: (options: VoiceBrowserMediaRoutesOptions) => Elysia<"", {
36
+ decorator: {};
37
+ store: {};
38
+ derive: {};
39
+ resolve: {};
40
+ }, {
41
+ typebox: {};
42
+ error: {};
43
+ }, {
44
+ schema: {};
45
+ standaloneSchema: {};
46
+ macro: {};
47
+ macroFn: {};
48
+ parser: {};
49
+ response: {};
50
+ }, {}, {
51
+ derive: {};
52
+ resolve: {};
53
+ schema: {};
54
+ standaloneSchema: {};
55
+ response: {};
56
+ }, {
57
+ derive: {};
58
+ resolve: {};
59
+ schema: {};
60
+ standaloneSchema: {};
61
+ response: {};
62
+ }>;
@@ -0,0 +1,66 @@
1
+ import { Elysia } from "elysia";
2
+ import { type VoiceFailureReplayReport, type VoiceOperationsRecord, type VoiceOperationsRecordOptions } from "./operationsRecord";
3
+ import { type StoredVoiceTraceEvent, type VoiceTraceEventStore } from "./trace";
4
+ import { type VoiceSessionSnapshot, type VoiceSessionSnapshotRouteSource } from "./sessionSnapshot";
5
+ export type VoiceCallDebuggerReport = {
6
+ checkedAt: number;
7
+ failureReplay: VoiceFailureReplayReport;
8
+ incidentMarkdown: string;
9
+ operationsRecord: VoiceOperationsRecord;
10
+ sessionId: string;
11
+ snapshot: VoiceSessionSnapshot;
12
+ status: "failed" | "healthy" | "warning";
13
+ };
14
+ export type VoiceCallDebuggerRoutesOptions = Omit<VoiceOperationsRecordOptions, "sessionId"> & {
15
+ headers?: HeadersInit;
16
+ htmlPath?: false | string;
17
+ incidentPath?: false | string;
18
+ name?: string;
19
+ operationsRecordHref?: string | ((input: {
20
+ sessionId: string;
21
+ }) => string | undefined);
22
+ path?: string;
23
+ render?: (report: VoiceCallDebuggerReport) => string | Promise<string>;
24
+ resolveSessionId?: (input: {
25
+ events: readonly StoredVoiceTraceEvent[];
26
+ request: Request;
27
+ requestedSessionId: string;
28
+ store?: VoiceTraceEventStore;
29
+ }) => Promise<string | undefined> | string | undefined;
30
+ snapshot?: VoiceSessionSnapshotRouteSource;
31
+ title?: string;
32
+ };
33
+ export declare const resolveLatestVoiceCallDebuggerSessionId: (events: readonly StoredVoiceTraceEvent[]) => string | undefined;
34
+ export declare const buildVoiceCallDebuggerReport: (options: VoiceCallDebuggerRoutesOptions, input: {
35
+ request: Request;
36
+ sessionId: string;
37
+ }) => Promise<VoiceCallDebuggerReport>;
38
+ export declare const renderVoiceCallDebuggerHTML: (report: VoiceCallDebuggerReport, options?: Pick<VoiceCallDebuggerRoutesOptions, "title">) => string;
39
+ export declare const createVoiceCallDebuggerRoutes: (options: VoiceCallDebuggerRoutesOptions) => Elysia<"", {
40
+ decorator: {};
41
+ store: {};
42
+ derive: {};
43
+ resolve: {};
44
+ }, {
45
+ typebox: {};
46
+ error: {};
47
+ }, {
48
+ schema: {};
49
+ standaloneSchema: {};
50
+ macro: {};
51
+ macroFn: {};
52
+ parser: {};
53
+ response: {};
54
+ }, {}, {
55
+ derive: {};
56
+ resolve: {};
57
+ schema: {};
58
+ standaloneSchema: {};
59
+ response: {};
60
+ }, {
61
+ derive: {};
62
+ resolve: {};
63
+ schema: {};
64
+ standaloneSchema: {};
65
+ response: {};
66
+ }>;
@@ -0,0 +1,54 @@
1
+ export type VoiceCallQuotaTier = {
2
+ burstAllowance?: number;
3
+ customerId: string;
4
+ monthlyMinutes?: number;
5
+ reservedConcurrent: number;
6
+ };
7
+ export type VoiceCallReservation = {
8
+ callId: string;
9
+ customerId: string;
10
+ release: () => Promise<void> | void;
11
+ reservedAt: number;
12
+ };
13
+ export type VoiceCallQuotaRejection = {
14
+ customerId: string;
15
+ reason: "concurrency-exceeded" | "customer-not-found" | "monthly-minutes-exceeded";
16
+ retryAfterMs?: number;
17
+ };
18
+ export type VoiceCallQuotaResult = {
19
+ ok: false;
20
+ rejection: VoiceCallQuotaRejection;
21
+ } | {
22
+ ok: true;
23
+ reservation: VoiceCallReservation;
24
+ };
25
+ export type VoiceCallQuota = {
26
+ describe: (customerId: string) => Promise<undefined | {
27
+ activeCalls: number;
28
+ burstAllowance: number;
29
+ monthlyMinutesUsed: number;
30
+ reservedConcurrent: number;
31
+ tier: VoiceCallQuotaTier;
32
+ }> | (undefined | {
33
+ activeCalls: number;
34
+ burstAllowance: number;
35
+ monthlyMinutesUsed: number;
36
+ reservedConcurrent: number;
37
+ tier: VoiceCallQuotaTier;
38
+ });
39
+ recordMinutes: (input: {
40
+ callId?: string;
41
+ customerId: string;
42
+ minutes: number;
43
+ }) => Promise<void> | void;
44
+ reserve: (input: {
45
+ callId: string;
46
+ customerId: string;
47
+ }) => Promise<VoiceCallQuotaResult> | VoiceCallQuotaResult;
48
+ };
49
+ export type CreateInMemoryVoiceCallQuotaOptions = {
50
+ /** When provided, treat any customer not in the map as denied with 'customer-not-found'. */
51
+ strict?: boolean;
52
+ tiers: VoiceCallQuotaTier[];
53
+ };
54
+ export declare const createInMemoryVoiceCallQuota: (options: CreateInMemoryVoiceCallQuotaOptions) => VoiceCallQuota;
@@ -0,0 +1,37 @@
1
+ import type { Transcript, VoiceSessionRecord, VoiceTurnRecord } from "./types";
2
+ import type { VoiceAssistantMemoryNamespaceInput } from "./assistantMemory";
3
+ export type VoiceCallerIdentity = {
4
+ email?: string;
5
+ externalId?: string;
6
+ phone?: string;
7
+ };
8
+ export type VoiceCallerMemorySnapshot = {
9
+ facts: Record<string, string>;
10
+ identity: VoiceCallerIdentity;
11
+ lastSessionAt: number;
12
+ openActions: string[];
13
+ summary: string;
14
+ };
15
+ export declare const VOICE_CALLER_MEMORY_KEY = "caller-memory-snapshot";
16
+ export declare const buildVoiceCallerMemoryNamespace: (identity: VoiceCallerIdentity | undefined, prefix?: string) => string;
17
+ export type CreateVoiceCallerMemoryNamespaceOptions<TContext = unknown, TSession extends VoiceSessionRecord = VoiceSessionRecord> = {
18
+ identifyCaller: (input: VoiceAssistantMemoryNamespaceInput<TContext, TSession>) => Promise<VoiceCallerIdentity | undefined> | VoiceCallerIdentity | undefined;
19
+ prefix?: string;
20
+ };
21
+ export declare const createVoiceCallerMemoryNamespace: <TContext = unknown, TSession extends VoiceSessionRecord = VoiceSessionRecord>(options: CreateVoiceCallerMemoryNamespaceOptions<TContext, TSession>) => (input: VoiceAssistantMemoryNamespaceInput<TContext, TSession>) => Promise<string>;
22
+ export type VoiceCallerMemoryCompletion = (input: {
23
+ prompt: string;
24
+ systemPrompt?: string;
25
+ }) => Promise<string>;
26
+ export type SummarizeVoiceCallerTranscriptOptions = {
27
+ completion: VoiceCallerMemoryCompletion;
28
+ previousSnapshot?: VoiceCallerMemorySnapshot;
29
+ systemPrompt?: string;
30
+ };
31
+ export type VoiceCallerMemorySummarizerInput = {
32
+ identity: VoiceCallerIdentity;
33
+ options: SummarizeVoiceCallerTranscriptOptions;
34
+ transcripts?: Transcript[];
35
+ turns: VoiceTurnRecord[];
36
+ };
37
+ export declare const summarizeVoiceCallerTranscript: (input: VoiceCallerMemorySummarizerInput) => Promise<VoiceCallerMemorySnapshot>;