@absolutejs/voice 0.0.22-beta.16 → 0.0.22-beta.160

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 (180) hide show
  1. package/README.md +1053 -5
  2. package/dist/agent.d.ts +24 -0
  3. package/dist/agentSquadContract.d.ts +64 -0
  4. package/dist/angular/index.d.ts +11 -0
  5. package/dist/angular/index.js +3072 -1106
  6. package/dist/angular/voice-campaign-dialer-proof.service.d.ts +14 -0
  7. package/dist/angular/voice-controller.service.d.ts +1 -0
  8. package/dist/angular/voice-delivery-runtime.component.d.ts +17 -0
  9. package/dist/angular/voice-delivery-runtime.service.d.ts +16 -0
  10. package/dist/angular/voice-ops-action-center.service.d.ts +13 -0
  11. package/dist/angular/voice-ops-status.component.d.ts +15 -0
  12. package/dist/angular/voice-ops-status.service.d.ts +12 -0
  13. package/dist/angular/voice-provider-capabilities.service.d.ts +12 -0
  14. package/dist/angular/voice-routing-status.service.d.ts +11 -0
  15. package/dist/angular/voice-stream.service.d.ts +3 -0
  16. package/dist/angular/voice-trace-timeline.service.d.ts +12 -0
  17. package/dist/angular/voice-turn-latency.service.d.ts +13 -0
  18. package/dist/angular/voice-turn-quality.service.d.ts +12 -0
  19. package/dist/angular/voice-workflow-status.service.d.ts +12 -0
  20. package/dist/assistantHealth.d.ts +81 -0
  21. package/dist/audit.d.ts +128 -0
  22. package/dist/auditDeliveryRoutes.d.ts +85 -0
  23. package/dist/auditExport.d.ts +34 -0
  24. package/dist/auditRoutes.d.ts +66 -0
  25. package/dist/auditSinks.d.ts +151 -0
  26. package/dist/bargeInRoutes.d.ts +56 -0
  27. package/dist/campaign.d.ts +610 -0
  28. package/dist/campaignDialers.d.ts +90 -0
  29. package/dist/client/actions.d.ts +105 -0
  30. package/dist/client/bargeInMonitor.d.ts +7 -0
  31. package/dist/client/campaignDialerProof.d.ts +23 -0
  32. package/dist/client/connection.d.ts +3 -0
  33. package/dist/client/deliveryRuntime.d.ts +34 -0
  34. package/dist/client/deliveryRuntimeWidget.d.ts +37 -0
  35. package/dist/client/duplex.d.ts +1 -1
  36. package/dist/client/htmxBootstrap.js +747 -15
  37. package/dist/client/index.d.ts +50 -0
  38. package/dist/client/index.js +2757 -20
  39. package/dist/client/liveTurnLatency.d.ts +41 -0
  40. package/dist/client/opsActionCenter.d.ts +54 -0
  41. package/dist/client/opsActionCenterWidget.d.ts +29 -0
  42. package/dist/client/opsActionHistory.d.ts +19 -0
  43. package/dist/client/opsActionHistoryWidget.d.ts +11 -0
  44. package/dist/client/opsStatus.d.ts +19 -0
  45. package/dist/client/opsStatusWidget.d.ts +40 -0
  46. package/dist/client/providerCapabilities.d.ts +19 -0
  47. package/dist/client/providerCapabilitiesWidget.d.ts +32 -0
  48. package/dist/client/providerSimulationControls.d.ts +33 -0
  49. package/dist/client/providerSimulationControlsWidget.d.ts +20 -0
  50. package/dist/client/providerStatusWidget.d.ts +32 -0
  51. package/dist/client/routingStatus.d.ts +19 -0
  52. package/dist/client/routingStatusWidget.d.ts +28 -0
  53. package/dist/client/traceTimeline.d.ts +19 -0
  54. package/dist/client/traceTimelineWidget.d.ts +32 -0
  55. package/dist/client/turnLatency.d.ts +22 -0
  56. package/dist/client/turnLatencyWidget.d.ts +33 -0
  57. package/dist/client/turnQuality.d.ts +19 -0
  58. package/dist/client/turnQualityWidget.d.ts +32 -0
  59. package/dist/client/workflowStatus.d.ts +19 -0
  60. package/dist/dataControl.d.ts +47 -0
  61. package/dist/deliveryRuntime.d.ts +158 -0
  62. package/dist/deliverySinkRoutes.d.ts +117 -0
  63. package/dist/demoReadyRoutes.d.ts +98 -0
  64. package/dist/diagnosticsRoutes.d.ts +44 -0
  65. package/dist/evalRoutes.d.ts +213 -0
  66. package/dist/fileStore.d.ts +11 -2
  67. package/dist/handoff.d.ts +54 -0
  68. package/dist/handoffHealth.d.ts +94 -0
  69. package/dist/index.d.ts +112 -11
  70. package/dist/index.js +17792 -4316
  71. package/dist/liveLatency.d.ts +78 -0
  72. package/dist/modelAdapters.d.ts +23 -2
  73. package/dist/openaiRealtime.d.ts +27 -0
  74. package/dist/openaiTTS.d.ts +18 -0
  75. package/dist/opsActionAuditRoutes.d.ts +99 -0
  76. package/dist/opsConsoleRoutes.d.ts +80 -0
  77. package/dist/opsStatus.d.ts +76 -0
  78. package/dist/opsStatusRoutes.d.ts +33 -0
  79. package/dist/opsWebhook.d.ts +126 -0
  80. package/dist/outcomeContract.d.ts +112 -0
  81. package/dist/phoneAgent.d.ts +62 -0
  82. package/dist/phoneAgentProductionSmoke.d.ts +115 -0
  83. package/dist/postgresStore.d.ts +13 -2
  84. package/dist/productionReadiness.d.ts +335 -0
  85. package/dist/providerAdapters.d.ts +48 -0
  86. package/dist/providerCapabilities.d.ts +92 -0
  87. package/dist/providerHealth.d.ts +1 -0
  88. package/dist/providerRoutingContract.d.ts +38 -0
  89. package/dist/qualityRoutes.d.ts +76 -0
  90. package/dist/queue.d.ts +61 -0
  91. package/dist/react/VoiceDeliveryRuntime.d.ts +7 -0
  92. package/dist/react/VoiceOpsActionCenter.d.ts +5 -0
  93. package/dist/react/VoiceOpsStatus.d.ts +6 -0
  94. package/dist/react/VoiceProviderCapabilities.d.ts +6 -0
  95. package/dist/react/VoiceProviderSimulationControls.d.ts +5 -0
  96. package/dist/react/VoiceProviderStatus.d.ts +6 -0
  97. package/dist/react/VoiceRoutingStatus.d.ts +6 -0
  98. package/dist/react/VoiceTraceTimeline.d.ts +6 -0
  99. package/dist/react/VoiceTurnLatency.d.ts +6 -0
  100. package/dist/react/VoiceTurnQuality.d.ts +6 -0
  101. package/dist/react/index.d.ts +21 -0
  102. package/dist/react/index.js +3396 -33
  103. package/dist/react/useVoiceCampaignDialerProof.d.ts +10 -0
  104. package/dist/react/useVoiceController.d.ts +3 -0
  105. package/dist/react/useVoiceDeliveryRuntime.d.ts +13 -0
  106. package/dist/react/useVoiceOpsActionCenter.d.ts +11 -0
  107. package/dist/react/useVoiceOpsStatus.d.ts +8 -0
  108. package/dist/react/useVoiceProviderCapabilities.d.ts +8 -0
  109. package/dist/react/useVoiceProviderSimulationControls.d.ts +10 -0
  110. package/dist/react/useVoiceRoutingStatus.d.ts +8 -0
  111. package/dist/react/useVoiceStream.d.ts +3 -0
  112. package/dist/react/useVoiceTraceTimeline.d.ts +8 -0
  113. package/dist/react/useVoiceTurnLatency.d.ts +9 -0
  114. package/dist/react/useVoiceTurnQuality.d.ts +8 -0
  115. package/dist/react/useVoiceWorkflowStatus.d.ts +8 -0
  116. package/dist/readinessProfiles.d.ts +19 -0
  117. package/dist/reconnectContract.d.ts +87 -0
  118. package/dist/resilienceRoutes.d.ts +142 -0
  119. package/dist/sessionReplay.d.ts +185 -0
  120. package/dist/simulationSuite.d.ts +120 -0
  121. package/dist/sqliteStore.d.ts +13 -2
  122. package/dist/svelte/createVoiceCampaignDialerProof.d.ts +9 -0
  123. package/dist/svelte/createVoiceDeliveryRuntime.d.ts +11 -0
  124. package/dist/svelte/createVoiceOpsActionCenter.d.ts +10 -0
  125. package/dist/svelte/createVoiceOpsStatus.d.ts +9 -0
  126. package/dist/svelte/createVoiceProviderCapabilities.d.ts +10 -0
  127. package/dist/svelte/createVoiceProviderSimulationControls.d.ts +11 -0
  128. package/dist/svelte/createVoiceProviderStatus.d.ts +4 -2
  129. package/dist/svelte/createVoiceRoutingStatus.d.ts +10 -0
  130. package/dist/svelte/createVoiceTraceTimeline.d.ts +10 -0
  131. package/dist/svelte/createVoiceTurnLatency.d.ts +11 -0
  132. package/dist/svelte/createVoiceTurnQuality.d.ts +10 -0
  133. package/dist/svelte/createVoiceWorkflowStatus.d.ts +8 -0
  134. package/dist/svelte/index.d.ts +11 -0
  135. package/dist/svelte/index.js +2903 -439
  136. package/dist/telephony/contract.d.ts +61 -0
  137. package/dist/telephony/matrix.d.ts +97 -0
  138. package/dist/telephony/plivo.d.ts +254 -0
  139. package/dist/telephony/telnyx.d.ts +247 -0
  140. package/dist/telephony/twilio.d.ts +135 -2
  141. package/dist/telephonyOutcome.d.ts +201 -0
  142. package/dist/testing/index.d.ts +2 -0
  143. package/dist/testing/index.js +2973 -156
  144. package/dist/testing/ioProviderSimulator.d.ts +41 -0
  145. package/dist/testing/providerSimulator.d.ts +44 -0
  146. package/dist/toolContract.d.ts +130 -0
  147. package/dist/toolRuntime.d.ts +50 -0
  148. package/dist/trace.d.ts +19 -1
  149. package/dist/traceDeliveryRoutes.d.ts +86 -0
  150. package/dist/traceTimeline.d.ts +93 -0
  151. package/dist/turnLatency.d.ts +95 -0
  152. package/dist/turnQuality.d.ts +94 -0
  153. package/dist/types.d.ts +170 -4
  154. package/dist/vue/VoiceDeliveryRuntime.d.ts +30 -0
  155. package/dist/vue/VoiceOpsActionCenter.d.ts +13 -0
  156. package/dist/vue/VoiceOpsStatus.d.ts +30 -0
  157. package/dist/vue/VoiceProviderCapabilities.d.ts +51 -0
  158. package/dist/vue/VoiceProviderSimulationControls.d.ts +88 -0
  159. package/dist/vue/VoiceProviderStatus.d.ts +51 -0
  160. package/dist/vue/VoiceRoutingStatus.d.ts +51 -0
  161. package/dist/vue/VoiceTurnLatency.d.ts +69 -0
  162. package/dist/vue/VoiceTurnQuality.d.ts +51 -0
  163. package/dist/vue/index.d.ts +20 -0
  164. package/dist/vue/index.js +3327 -53
  165. package/dist/vue/useVoiceCampaignDialerProof.d.ts +11 -0
  166. package/dist/vue/useVoiceController.d.ts +2 -1
  167. package/dist/vue/useVoiceDeliveryRuntime.d.ts +13 -0
  168. package/dist/vue/useVoiceOpsActionCenter.d.ts +11 -0
  169. package/dist/vue/useVoiceOpsStatus.d.ts +9 -0
  170. package/dist/vue/useVoiceProviderCapabilities.d.ts +9 -0
  171. package/dist/vue/useVoiceProviderSimulationControls.d.ts +24 -0
  172. package/dist/vue/useVoiceProviderStatus.d.ts +1 -1
  173. package/dist/vue/useVoiceRoutingStatus.d.ts +8 -0
  174. package/dist/vue/useVoiceStream.d.ts +4 -1
  175. package/dist/vue/useVoiceTraceTimeline.d.ts +9 -0
  176. package/dist/vue/useVoiceTurnLatency.d.ts +10 -0
  177. package/dist/vue/useVoiceTurnQuality.d.ts +9 -0
  178. package/dist/vue/useVoiceWorkflowStatus.d.ts +9 -0
  179. package/dist/workflowContract.d.ts +91 -0
  180. package/package.json +1 -1
@@ -0,0 +1,112 @@
1
+ import { Elysia } from 'elysia';
2
+ import type { StoredVoiceHandoffDelivery, VoiceCallDisposition, VoiceHandoffAction, VoiceHandoffDeliveryStore, VoiceSessionRecord, VoiceSessionStore } from './types';
3
+ import type { StoredVoiceIntegrationEvent, StoredVoiceOpsTask, VoiceIntegrationEventType } from './ops';
4
+ import type { StoredVoiceCallReviewArtifact } from './testing/review';
5
+ export type VoiceOutcomeContractStatus = 'pass' | 'fail';
6
+ export type VoiceOutcomeContractDefinition = {
7
+ description?: string;
8
+ expectedDisposition?: VoiceCallDisposition;
9
+ id: string;
10
+ label?: string;
11
+ minSessions?: number;
12
+ minTasks?: number;
13
+ requireHandoffActions?: VoiceHandoffAction[];
14
+ requireIntegrationEvents?: VoiceIntegrationEventType[];
15
+ requireReview?: boolean;
16
+ requireTask?: boolean;
17
+ scenarioId?: string;
18
+ };
19
+ export type VoiceOutcomeContractIssue = {
20
+ code: string;
21
+ message: string;
22
+ };
23
+ export type VoiceOutcomeContractReport = {
24
+ contractId: string;
25
+ description?: string;
26
+ issues: VoiceOutcomeContractIssue[];
27
+ label?: string;
28
+ matched: {
29
+ handoffs: number;
30
+ integrationEvents: number;
31
+ reviews: number;
32
+ sessions: number;
33
+ tasks: number;
34
+ };
35
+ pass: boolean;
36
+ };
37
+ export type VoiceOutcomeContractSuiteReport = {
38
+ checkedAt: number;
39
+ contracts: VoiceOutcomeContractReport[];
40
+ failed: number;
41
+ passed: number;
42
+ status: VoiceOutcomeContractStatus;
43
+ total: number;
44
+ };
45
+ type ListStore<T> = {
46
+ list: () => Promise<T[]> | T[];
47
+ };
48
+ export type VoiceOutcomeContractOptions<TSession extends VoiceSessionRecord = VoiceSessionRecord> = {
49
+ contracts: VoiceOutcomeContractDefinition[];
50
+ events?: StoredVoiceIntegrationEvent[] | ListStore<StoredVoiceIntegrationEvent>;
51
+ handoffs?: StoredVoiceHandoffDelivery[] | VoiceHandoffDeliveryStore;
52
+ reviews?: StoredVoiceCallReviewArtifact[] | ListStore<StoredVoiceCallReviewArtifact>;
53
+ sessions?: TSession[] | VoiceSessionStore<TSession>;
54
+ tasks?: StoredVoiceOpsTask[] | ListStore<StoredVoiceOpsTask>;
55
+ };
56
+ export type VoiceOutcomeContractHTMLHandlerOptions<TSession extends VoiceSessionRecord = VoiceSessionRecord> = VoiceOutcomeContractOptions<TSession> & {
57
+ headers?: HeadersInit;
58
+ render?: (report: VoiceOutcomeContractSuiteReport) => string | Promise<string>;
59
+ title?: string;
60
+ };
61
+ export type VoiceOutcomeContractRoutesOptions<TSession extends VoiceSessionRecord = VoiceSessionRecord> = VoiceOutcomeContractHTMLHandlerOptions<TSession> & {
62
+ htmlPath?: false | string;
63
+ name?: string;
64
+ path?: string;
65
+ };
66
+ export declare const runVoiceOutcomeContractSuite: <TSession extends VoiceSessionRecord = VoiceSessionRecord>(options: VoiceOutcomeContractOptions<TSession>) => Promise<VoiceOutcomeContractSuiteReport>;
67
+ export declare const renderVoiceOutcomeContractHTML: (report: VoiceOutcomeContractSuiteReport, options?: {
68
+ title?: string;
69
+ }) => string;
70
+ export declare const createVoiceOutcomeContractJSONHandler: <TSession extends VoiceSessionRecord = VoiceSessionRecord>(options: VoiceOutcomeContractOptions<TSession>) => () => Promise<VoiceOutcomeContractSuiteReport>;
71
+ export declare const createVoiceOutcomeContractHTMLHandler: <TSession extends VoiceSessionRecord = VoiceSessionRecord>(options: VoiceOutcomeContractHTMLHandlerOptions<TSession>) => () => Promise<Response>;
72
+ export declare const createVoiceOutcomeContractRoutes: <TSession extends VoiceSessionRecord = VoiceSessionRecord>(options: VoiceOutcomeContractRoutesOptions<TSession>) => Elysia<"", {
73
+ decorator: {};
74
+ store: {};
75
+ derive: {};
76
+ resolve: {};
77
+ }, {
78
+ typebox: {};
79
+ error: {};
80
+ }, {
81
+ schema: {};
82
+ standaloneSchema: {};
83
+ macro: {};
84
+ macroFn: {};
85
+ parser: {};
86
+ response: {};
87
+ }, {
88
+ [x: string]: {
89
+ get: {
90
+ body: unknown;
91
+ params: {};
92
+ query: unknown;
93
+ headers: unknown;
94
+ response: {
95
+ 200: VoiceOutcomeContractSuiteReport;
96
+ };
97
+ };
98
+ };
99
+ }, {
100
+ derive: {};
101
+ resolve: {};
102
+ schema: {};
103
+ standaloneSchema: {};
104
+ response: {};
105
+ }, {
106
+ derive: {};
107
+ resolve: {};
108
+ schema: {};
109
+ standaloneSchema: {};
110
+ response: {};
111
+ }>;
112
+ export {};
@@ -0,0 +1,62 @@
1
+ import { Elysia } from 'elysia';
2
+ import { type PlivoVoiceRoutesOptions } from './telephony/plivo';
3
+ import { type TelnyxVoiceRoutesOptions } from './telephony/telnyx';
4
+ import { type TwilioVoiceRoutesOptions } from './telephony/twilio';
5
+ import { type VoiceTelephonyCarrierMatrix, type VoiceTelephonyCarrierMatrixRoutesOptions } from './telephony/matrix';
6
+ import { type VoicePhoneAgentProductionSmokeRoutesOptions } from './phoneAgentProductionSmoke';
7
+ import type { VoiceSessionRecord } from './types';
8
+ export type VoicePhoneAgentLifecycleStage = 'ringing' | 'answered' | 'media-started' | 'transcript' | 'assistant-response' | 'transfer' | 'voicemail' | 'no-answer' | 'completed' | 'failed';
9
+ type VoicePhoneAgentCarrierBase = {
10
+ name?: string;
11
+ smokePath?: false | string;
12
+ setupPath?: false | string;
13
+ };
14
+ export type VoicePhoneAgentTwilioCarrier<TContext = unknown, TSession extends VoiceSessionRecord = VoiceSessionRecord, TResult = unknown> = VoicePhoneAgentCarrierBase & {
15
+ options: TwilioVoiceRoutesOptions<TContext, TSession, TResult>;
16
+ provider: 'twilio';
17
+ };
18
+ export type VoicePhoneAgentTelnyxCarrier<TContext = unknown, TSession extends VoiceSessionRecord = VoiceSessionRecord, TResult = unknown> = VoicePhoneAgentCarrierBase & {
19
+ options?: TelnyxVoiceRoutesOptions<TContext, TSession, TResult>;
20
+ provider: 'telnyx';
21
+ };
22
+ export type VoicePhoneAgentPlivoCarrier<TContext = unknown, TSession extends VoiceSessionRecord = VoiceSessionRecord, TResult = unknown> = VoicePhoneAgentCarrierBase & {
23
+ options?: PlivoVoiceRoutesOptions<TContext, TSession, TResult>;
24
+ provider: 'plivo';
25
+ };
26
+ export type VoicePhoneAgentCarrier<TContext = unknown, TSession extends VoiceSessionRecord = VoiceSessionRecord, TResult = unknown> = VoicePhoneAgentTwilioCarrier<TContext, TSession, TResult> | VoicePhoneAgentTelnyxCarrier<TContext, TSession, TResult> | VoicePhoneAgentPlivoCarrier<TContext, TSession, TResult>;
27
+ export type VoicePhoneAgentRoutesOptions<TContext = unknown, TSession extends VoiceSessionRecord = VoiceSessionRecord, TResult = unknown> = {
28
+ carriers: readonly VoicePhoneAgentCarrier<TContext, TSession, TResult>[];
29
+ matrix?: false | Omit<VoiceTelephonyCarrierMatrixRoutesOptions, 'load'>;
30
+ name?: string;
31
+ productionSmoke?: false | VoicePhoneAgentProductionSmokeRoutesOptions;
32
+ setup?: false | {
33
+ path?: string;
34
+ title?: string;
35
+ };
36
+ };
37
+ export type VoicePhoneAgentCarrierSummary = {
38
+ name?: string;
39
+ provider: 'plivo' | 'telnyx' | 'twilio';
40
+ setupPath?: false | string;
41
+ smokePath?: false | string;
42
+ };
43
+ export type VoicePhoneAgentRoutes = {
44
+ carriers: VoicePhoneAgentCarrierSummary[];
45
+ matrixPath?: string;
46
+ productionSmokePath?: string;
47
+ routes: Elysia;
48
+ setupPath?: string;
49
+ };
50
+ export type VoicePhoneAgentSetupReport = {
51
+ carriers: VoicePhoneAgentCarrierSummary[];
52
+ generatedAt: number;
53
+ lifecycleStages: VoicePhoneAgentLifecycleStage[];
54
+ matrix?: VoiceTelephonyCarrierMatrix;
55
+ matrixPath?: string;
56
+ productionSmokePath?: string;
57
+ ready: boolean;
58
+ setupPath?: string;
59
+ title: string;
60
+ };
61
+ export declare const createVoicePhoneAgent: <TContext = unknown, TSession extends VoiceSessionRecord = VoiceSessionRecord, TResult = unknown>(options: VoicePhoneAgentRoutesOptions<TContext, TSession, TResult>) => VoicePhoneAgentRoutes;
62
+ export {};
@@ -0,0 +1,115 @@
1
+ import { Elysia } from 'elysia';
2
+ import type { StoredVoiceTraceEvent, VoiceTraceEventStore } from './trace';
3
+ import type { VoiceTelephonyContractReport, VoiceTelephonyProvider } from './telephony/contract';
4
+ export type VoicePhoneAgentProductionSmokeRequirement = 'assistant-response' | 'carrier-contract' | 'fresh-trace' | 'lifecycle-outcome' | 'media-started' | 'no-session-error' | 'transcript';
5
+ export type VoicePhoneAgentProductionSmokeIssue = {
6
+ message: string;
7
+ requirement: VoicePhoneAgentProductionSmokeRequirement;
8
+ severity: 'error' | 'warning';
9
+ };
10
+ export type VoicePhoneAgentProductionSmokeReport<TProvider extends VoiceTelephonyProvider = VoiceTelephonyProvider> = {
11
+ contract?: VoiceTelephonyContractReport<TProvider>;
12
+ contractId: string;
13
+ generatedAt: number;
14
+ issues: VoicePhoneAgentProductionSmokeIssue[];
15
+ maxAgeMs?: number;
16
+ observed: {
17
+ assistantResponses: number;
18
+ carrierContract?: boolean;
19
+ lifecycleOutcomes: string[];
20
+ latestEventAt?: number;
21
+ mediaStarts: number;
22
+ sessionErrors: number;
23
+ transcripts: number;
24
+ };
25
+ pass: boolean;
26
+ provider?: TProvider;
27
+ required: VoicePhoneAgentProductionSmokeRequirement[];
28
+ scenarioId?: string;
29
+ sessionId?: string;
30
+ traceId?: string;
31
+ };
32
+ export type VoicePhoneAgentProductionSmokeOptions<TProvider extends VoiceTelephonyProvider = VoiceTelephonyProvider> = {
33
+ contract?: VoiceTelephonyContractReport<TProvider>;
34
+ contractId?: string;
35
+ events?: readonly StoredVoiceTraceEvent[];
36
+ maxAgeMs?: number;
37
+ now?: number;
38
+ provider?: TProvider;
39
+ required?: readonly VoicePhoneAgentProductionSmokeRequirement[];
40
+ scenarioId?: string;
41
+ sessionId?: string;
42
+ store?: VoiceTraceEventStore;
43
+ traceId?: string;
44
+ };
45
+ export type VoicePhoneAgentProductionSmokeHandlerOptions<TProvider extends VoiceTelephonyProvider = VoiceTelephonyProvider> = Omit<VoicePhoneAgentProductionSmokeOptions<TProvider>, 'events' | 'scenarioId' | 'sessionId' | 'traceId'> & {
46
+ getContract?: (input: {
47
+ query: Record<string, unknown>;
48
+ request: Request;
49
+ }) => Promise<VoiceTelephonyContractReport<TProvider> | undefined> | VoiceTelephonyContractReport<TProvider> | undefined;
50
+ scenarioId?: string;
51
+ sessionId?: string;
52
+ traceId?: string;
53
+ };
54
+ export type VoicePhoneAgentProductionSmokeHTMLHandlerOptions<TProvider extends VoiceTelephonyProvider = VoiceTelephonyProvider> = VoicePhoneAgentProductionSmokeHandlerOptions<TProvider> & {
55
+ headers?: HeadersInit;
56
+ render?: (report: VoicePhoneAgentProductionSmokeReport<TProvider>) => Promise<string> | string;
57
+ title?: string;
58
+ };
59
+ export type VoicePhoneAgentProductionSmokeRoutesOptions<TProvider extends VoiceTelephonyProvider = VoiceTelephonyProvider> = VoicePhoneAgentProductionSmokeHTMLHandlerOptions<TProvider> & {
60
+ htmlPath?: false | string;
61
+ name?: string;
62
+ path?: string;
63
+ };
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
+ export declare const createVoicePhoneAgentProductionSmokeHTMLHandler: <TProvider extends VoiceTelephonyProvider = VoiceTelephonyProvider>(options: VoicePhoneAgentProductionSmokeHTMLHandlerOptions<TProvider>) => ({ query, request }: {
73
+ query: Record<string, unknown>;
74
+ request: Request;
75
+ }) => Promise<Response>;
76
+ export declare const createVoicePhoneAgentProductionSmokeRoutes: <TProvider extends VoiceTelephonyProvider = VoiceTelephonyProvider>(options: VoicePhoneAgentProductionSmokeRoutesOptions<TProvider>) => Elysia<"", {
77
+ decorator: {};
78
+ store: {};
79
+ derive: {};
80
+ resolve: {};
81
+ }, {
82
+ typebox: {};
83
+ error: {};
84
+ }, {
85
+ schema: {};
86
+ standaloneSchema: {};
87
+ macro: {};
88
+ macroFn: {};
89
+ parser: {};
90
+ response: {};
91
+ }, {
92
+ [x: string]: {
93
+ get: {
94
+ body: unknown;
95
+ params: {};
96
+ query: unknown;
97
+ headers: unknown;
98
+ response: {
99
+ 200: VoicePhoneAgentProductionSmokeReport<TProvider>;
100
+ };
101
+ };
102
+ };
103
+ }, {
104
+ derive: {};
105
+ resolve: {};
106
+ schema: {};
107
+ standaloneSchema: {};
108
+ response: {};
109
+ }, {
110
+ derive: {};
111
+ resolve: {};
112
+ schema: {};
113
+ standaloneSchema: {};
114
+ response: {};
115
+ }>;
@@ -1,6 +1,10 @@
1
1
  import { type StoredVoiceTraceEvent, type VoiceTraceSinkDeliveryRecord, type VoiceTraceSinkDeliveryStore, type VoiceTraceEventStore } from './trace';
2
+ import { type StoredVoiceAuditEvent, type VoiceAuditEventStore } from './audit';
3
+ import type { VoiceAuditSinkDeliveryRecord, VoiceAuditSinkDeliveryStore } from './auditSinks';
2
4
  import type { StoredVoiceIntegrationEvent, StoredVoiceExternalObjectMap, StoredVoiceOpsTask, VoiceExternalObjectMapStore, VoiceIntegrationEventStore, VoiceOpsTaskStore } from './ops';
3
5
  import type { StoredVoiceCallReviewArtifact, VoiceCallReviewStore } from './testing/review';
6
+ import type { VoiceTelephonyWebhookIdempotencyStore } from './telephonyOutcome';
7
+ import type { VoiceCampaignStore } from './campaign';
4
8
  import type { VoiceSessionRecord, VoiceSessionStore } from './types';
5
9
  export type VoicePostgresClient = {
6
10
  unsafe: <TRow extends Record<string, unknown> = Record<string, unknown>>(query: string, parameters?: unknown[]) => Promise<TRow[]>;
@@ -12,7 +16,10 @@ export type VoicePostgresStoreOptions = {
12
16
  tableName?: string;
13
17
  tablePrefix?: string;
14
18
  };
15
- export type VoicePostgresRuntimeStorage<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> = {
19
+ export type VoicePostgresRuntimeStorage<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> = {
20
+ audit: VoiceAuditEventStore<TAudit>;
21
+ auditDeliveries: VoiceAuditSinkDeliveryStore<TAuditDelivery>;
22
+ campaigns: VoiceCampaignStore;
16
23
  events: VoiceIntegrationEventStore<TEvent>;
17
24
  externalObjects: VoiceExternalObjectMapStore<TMapping>;
18
25
  reviews: VoiceCallReviewStore<TReview>;
@@ -28,4 +35,8 @@ export declare const createVoicePostgresIntegrationEventStore: <TEvent extends S
28
35
  export declare const createVoicePostgresExternalObjectMapStore: <TMapping extends StoredVoiceExternalObjectMap = StoredVoiceExternalObjectMap>(options: VoicePostgresStoreOptions) => VoiceExternalObjectMapStore<TMapping>;
29
36
  export declare const createVoicePostgresTraceEventStore: <TEvent extends StoredVoiceTraceEvent = StoredVoiceTraceEvent>(options: VoicePostgresStoreOptions) => VoiceTraceEventStore<TEvent>;
30
37
  export declare const createVoicePostgresTraceSinkDeliveryStore: <TDelivery extends VoiceTraceSinkDeliveryRecord = VoiceTraceSinkDeliveryRecord>(options: VoicePostgresStoreOptions) => VoiceTraceSinkDeliveryStore<TDelivery>;
31
- 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>(options: VoicePostgresStoreOptions) => VoicePostgresRuntimeStorage<TSession, TReview, TTask, TEvent, TMapping, TTrace, TTraceDelivery>;
38
+ export declare const createVoicePostgresAuditEventStore: <TEvent extends StoredVoiceAuditEvent = StoredVoiceAuditEvent>(options: VoicePostgresStoreOptions) => VoiceAuditEventStore<TEvent>;
39
+ export declare const createVoicePostgresAuditSinkDeliveryStore: <TDelivery extends VoiceAuditSinkDeliveryRecord = VoiceAuditSinkDeliveryRecord>(options: VoicePostgresStoreOptions) => VoiceAuditSinkDeliveryStore<TDelivery>;
40
+ export declare const createVoicePostgresTelephonyWebhookIdempotencyStore: <TResult = unknown>(options: VoicePostgresStoreOptions) => VoiceTelephonyWebhookIdempotencyStore<TResult>;
41
+ export declare const createVoicePostgresCampaignStore: (options: VoicePostgresStoreOptions) => VoiceCampaignStore;
42
+ 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>;
@@ -0,0 +1,335 @@
1
+ import { Elysia } from 'elysia';
2
+ import { type VoiceProviderFallbackRecoverySummary } from './sessionReplay';
3
+ import { type VoiceTelephonyCarrierMatrixInput } from './telephony/matrix';
4
+ import type { VoiceTraceEventStore } from './trace';
5
+ import type { VoiceTraceSinkDeliveryStore } from './trace';
6
+ import type { VoiceAgentSquadContractReport } from './agentSquadContract';
7
+ import type { VoiceBargeInReport } from './bargeInRoutes';
8
+ import type { VoiceDeliveryRuntime, VoiceDeliveryRuntimeSummary } from './deliveryRuntime';
9
+ import type { VoiceProviderRoutingContractReport } from './providerRoutingContract';
10
+ import type { VoicePhoneAgentProductionSmokeReport } from './phoneAgentProductionSmoke';
11
+ import type { VoiceReconnectContractReport } from './reconnectContract';
12
+ import type { VoiceAuditEventStore, VoiceAuditEventType, VoiceAuditOutcome } from './audit';
13
+ import { type VoiceAuditSinkDeliveryStore } from './auditSinks';
14
+ export type VoiceProductionReadinessStatus = 'fail' | 'pass' | 'warn';
15
+ export type VoiceProductionReadinessAction = {
16
+ description?: string;
17
+ href: string;
18
+ label: string;
19
+ method?: 'GET' | 'POST';
20
+ };
21
+ export type VoiceProductionReadinessCheck = {
22
+ actions?: VoiceProductionReadinessAction[];
23
+ detail?: string;
24
+ href?: string;
25
+ label: string;
26
+ proofSource?: VoiceProductionReadinessProofSource;
27
+ status: VoiceProductionReadinessStatus;
28
+ value?: number | string;
29
+ };
30
+ export type VoiceProductionReadinessGateIssue = {
31
+ code: string;
32
+ detail?: string;
33
+ href?: string;
34
+ label: string;
35
+ status: Exclude<VoiceProductionReadinessStatus, 'pass'>;
36
+ value?: number | string;
37
+ };
38
+ export type VoiceProductionReadinessGateOptions = {
39
+ failOnWarnings?: boolean;
40
+ };
41
+ export type VoiceProductionReadinessGateReport = {
42
+ checkedAt: number;
43
+ failures: VoiceProductionReadinessGateIssue[];
44
+ ok: boolean;
45
+ status: VoiceProductionReadinessStatus;
46
+ warnings: VoiceProductionReadinessGateIssue[];
47
+ };
48
+ export type VoiceProductionReadinessProofSource = {
49
+ detail?: string;
50
+ href?: string;
51
+ label?: string;
52
+ source: string;
53
+ sourceLabel: string;
54
+ };
55
+ export type VoiceProductionReadinessReport = {
56
+ checkedAt: number;
57
+ checks: VoiceProductionReadinessCheck[];
58
+ links: {
59
+ agentSquadContracts?: string;
60
+ audit?: string;
61
+ auditDeliveries?: string;
62
+ bargeIn?: string;
63
+ carriers?: string;
64
+ deliveryRuntime?: string;
65
+ handoffs?: string;
66
+ handoffRetry?: string;
67
+ liveLatency?: string;
68
+ opsActions?: string;
69
+ phoneAgentSmoke?: string;
70
+ providerRoutingContracts?: string;
71
+ quality?: string;
72
+ reconnectContracts?: string;
73
+ resilience?: string;
74
+ sessions?: string;
75
+ traceDeliveries?: string;
76
+ };
77
+ proofSources?: Record<string, VoiceProductionReadinessProofSource>;
78
+ status: VoiceProductionReadinessStatus;
79
+ summary: {
80
+ agentSquadContracts?: {
81
+ failed: number;
82
+ passed: number;
83
+ status: VoiceProductionReadinessStatus;
84
+ total: number;
85
+ };
86
+ audit?: VoiceProductionReadinessAuditSummary;
87
+ auditDeliveries?: VoiceProductionReadinessAuditDeliverySummary;
88
+ bargeIn?: {
89
+ failed: number;
90
+ passed: number;
91
+ status: VoiceProductionReadinessStatus;
92
+ total: number;
93
+ warnings: number;
94
+ };
95
+ carriers?: {
96
+ failing: number;
97
+ providers: number;
98
+ ready: number;
99
+ status: VoiceProductionReadinessStatus;
100
+ warnings: number;
101
+ };
102
+ deliveryRuntime?: VoiceProductionReadinessDeliveryRuntimeSummary;
103
+ handoffs: {
104
+ failed: number;
105
+ total: number;
106
+ };
107
+ liveLatency: {
108
+ averageLatencyMs?: number;
109
+ failed: number;
110
+ status: VoiceProductionReadinessStatus;
111
+ total: number;
112
+ warnings: number;
113
+ };
114
+ opsActionHistory?: VoiceProductionReadinessOpsActionHistorySummary;
115
+ providers: {
116
+ degraded: number;
117
+ total: number;
118
+ };
119
+ providerRecovery: VoiceProviderFallbackRecoverySummary;
120
+ phoneAgentSmokes?: {
121
+ failed: number;
122
+ passed: number;
123
+ status: VoiceProductionReadinessStatus;
124
+ total: number;
125
+ };
126
+ providerRoutingContracts?: {
127
+ failed: number;
128
+ passed: number;
129
+ status: VoiceProductionReadinessStatus;
130
+ total: number;
131
+ };
132
+ reconnectContracts?: {
133
+ failed: number;
134
+ passed: number;
135
+ status: VoiceProductionReadinessStatus;
136
+ total: number;
137
+ };
138
+ quality: {
139
+ status: 'fail' | 'pass';
140
+ };
141
+ routing: {
142
+ events: number;
143
+ sessions: number;
144
+ };
145
+ sessions: {
146
+ failed: number;
147
+ total: number;
148
+ };
149
+ traceDeliveries?: VoiceProductionReadinessTraceDeliverySummary;
150
+ };
151
+ };
152
+ export type VoiceProductionReadinessAuditRequirement = {
153
+ label?: string;
154
+ maxAgeMs?: number;
155
+ outcomes?: VoiceAuditOutcome[];
156
+ status?: VoiceProductionReadinessStatus;
157
+ type: VoiceAuditEventType;
158
+ };
159
+ export type VoiceProductionReadinessAuditSummary = {
160
+ events: number;
161
+ missing: VoiceProductionReadinessAuditRequirement[];
162
+ present: Record<VoiceAuditEventType, number>;
163
+ required: VoiceProductionReadinessAuditRequirement[];
164
+ status: VoiceProductionReadinessStatus;
165
+ };
166
+ export type VoiceProductionReadinessAuditDeliverySummary = {
167
+ deadLettered: number;
168
+ delivered: number;
169
+ failed: number;
170
+ failPendingAfterMs: number;
171
+ pending: number;
172
+ retryEligible: number;
173
+ skipped: number;
174
+ staleFailing: number;
175
+ staleWarning: number;
176
+ status: VoiceProductionReadinessStatus;
177
+ total: number;
178
+ warnPendingAfterMs: number;
179
+ };
180
+ export type VoiceProductionReadinessTraceDeliverySummary = {
181
+ deadLettered: number;
182
+ delivered: number;
183
+ failed: number;
184
+ failPendingAfterMs: number;
185
+ pending: number;
186
+ retryEligible: number;
187
+ skipped: number;
188
+ staleFailing: number;
189
+ staleWarning: number;
190
+ status: VoiceProductionReadinessStatus;
191
+ total: number;
192
+ warnPendingAfterMs: number;
193
+ };
194
+ export type VoiceProductionReadinessOpsActionHistorySummary = {
195
+ failed: number;
196
+ passed: number;
197
+ status: VoiceProductionReadinessStatus;
198
+ total: number;
199
+ warnWhenEmpty: boolean;
200
+ };
201
+ export type VoiceProductionReadinessDeliveryRuntimeSummary = {
202
+ audit?: VoiceProductionReadinessDeliveryRuntimeQueueSummary;
203
+ deadLettered: number;
204
+ delivered: number;
205
+ failed: number;
206
+ pending: number;
207
+ retryEligible: number;
208
+ skipped: number;
209
+ status: VoiceProductionReadinessStatus;
210
+ total: number;
211
+ trace?: VoiceProductionReadinessDeliveryRuntimeQueueSummary;
212
+ };
213
+ export type VoiceProductionReadinessDeliveryRuntimeQueueSummary = {
214
+ deadLettered: number;
215
+ delivered: number;
216
+ failed: number;
217
+ pending: number;
218
+ retryEligible: number;
219
+ skipped: number;
220
+ total: number;
221
+ };
222
+ export type VoiceProductionReadinessAuditOptions = VoiceAuditEventStore | {
223
+ require?: readonly (VoiceAuditEventType | VoiceProductionReadinessAuditRequirement)[];
224
+ store: VoiceAuditEventStore;
225
+ };
226
+ export type VoiceProductionReadinessAuditDeliveryOptions = VoiceAuditSinkDeliveryStore | {
227
+ deadLetters?: VoiceAuditSinkDeliveryStore;
228
+ failPendingAfterMs?: number;
229
+ store: VoiceAuditSinkDeliveryStore;
230
+ warnPendingAfterMs?: number;
231
+ };
232
+ export type VoiceProductionReadinessTraceDeliveryOptions = VoiceTraceSinkDeliveryStore | {
233
+ deadLetters?: VoiceTraceSinkDeliveryStore;
234
+ failPendingAfterMs?: number;
235
+ store: VoiceTraceSinkDeliveryStore;
236
+ warnPendingAfterMs?: number;
237
+ };
238
+ export type VoiceProductionReadinessOpsActionHistoryOptions = VoiceAuditEventStore | {
239
+ failOnFailedActions?: boolean;
240
+ store: VoiceAuditEventStore;
241
+ warnWhenEmpty?: boolean;
242
+ };
243
+ export type VoiceProductionReadinessRoutesOptions = {
244
+ agentSquadContracts?: false | readonly VoiceAgentSquadContractReport[] | ((input: {
245
+ query: Record<string, unknown>;
246
+ request: Request;
247
+ }) => Promise<readonly VoiceAgentSquadContractReport[]> | readonly VoiceAgentSquadContractReport[]);
248
+ audit?: false | VoiceProductionReadinessAuditOptions;
249
+ auditDeliveries?: false | VoiceProductionReadinessAuditDeliveryOptions;
250
+ bargeInReports?: false | readonly VoiceBargeInReport[] | ((input: {
251
+ query: Record<string, unknown>;
252
+ request: Request;
253
+ }) => Promise<readonly VoiceBargeInReport[]> | readonly VoiceBargeInReport[]);
254
+ carriers?: false | readonly VoiceTelephonyCarrierMatrixInput[] | ((input: {
255
+ query: Record<string, unknown>;
256
+ request: Request;
257
+ }) => Promise<readonly VoiceTelephonyCarrierMatrixInput[]> | readonly VoiceTelephonyCarrierMatrixInput[]);
258
+ deliveryRuntime?: false | VoiceDeliveryRuntime | VoiceDeliveryRuntimeSummary | ((input: {
259
+ query: Record<string, unknown>;
260
+ request: Request;
261
+ }) => Promise<VoiceDeliveryRuntime | VoiceDeliveryRuntimeSummary> | VoiceDeliveryRuntime | VoiceDeliveryRuntimeSummary);
262
+ headers?: HeadersInit;
263
+ gate?: false | VoiceProductionReadinessGateOptions;
264
+ gatePath?: false | string;
265
+ htmlPath?: false | string;
266
+ links?: VoiceProductionReadinessReport['links'];
267
+ llmProviders?: readonly string[];
268
+ name?: string;
269
+ opsActionHistory?: false | VoiceProductionReadinessOpsActionHistoryOptions;
270
+ path?: string;
271
+ phoneAgentSmokes?: false | readonly VoicePhoneAgentProductionSmokeReport[] | ((input: {
272
+ query: Record<string, unknown>;
273
+ request: Request;
274
+ }) => Promise<readonly VoicePhoneAgentProductionSmokeReport[]> | readonly VoicePhoneAgentProductionSmokeReport[]);
275
+ providerRoutingContracts?: false | readonly VoiceProviderRoutingContractReport[] | ((input: {
276
+ query: Record<string, unknown>;
277
+ request: Request;
278
+ }) => Promise<readonly VoiceProviderRoutingContractReport[]> | readonly VoiceProviderRoutingContractReport[]);
279
+ reconnectContracts?: false | readonly VoiceReconnectContractReport[] | ((input: {
280
+ query: Record<string, unknown>;
281
+ request: Request;
282
+ }) => Promise<readonly VoiceReconnectContractReport[]> | readonly VoiceReconnectContractReport[]);
283
+ proofSources?: false | Record<string, VoiceProductionReadinessProofSource> | ((input: {
284
+ query: Record<string, unknown>;
285
+ request: Request;
286
+ }) => Promise<Record<string, VoiceProductionReadinessProofSource>> | Record<string, VoiceProductionReadinessProofSource>);
287
+ render?: (report: VoiceProductionReadinessReport) => string | Promise<string>;
288
+ store: VoiceTraceEventStore;
289
+ sttProviders?: readonly string[];
290
+ title?: string;
291
+ traceDeliveries?: false | VoiceProductionReadinessTraceDeliveryOptions;
292
+ ttsProviders?: readonly string[];
293
+ liveLatencyWarnAfterMs?: number;
294
+ liveLatencyFailAfterMs?: number;
295
+ };
296
+ export declare const summarizeVoiceProductionReadinessGate: (report: VoiceProductionReadinessReport, options?: VoiceProductionReadinessGateOptions) => VoiceProductionReadinessGateReport;
297
+ export declare const buildVoiceProductionReadinessReport: (options: VoiceProductionReadinessRoutesOptions, input?: {
298
+ query?: Record<string, unknown>;
299
+ request?: Request;
300
+ }) => Promise<VoiceProductionReadinessReport>;
301
+ export declare const buildVoiceProductionReadinessGate: (options: VoiceProductionReadinessRoutesOptions, input?: {
302
+ query?: Record<string, unknown>;
303
+ request?: Request;
304
+ }) => Promise<VoiceProductionReadinessGateReport>;
305
+ export declare const renderVoiceProductionReadinessHTML: (report: VoiceProductionReadinessReport, options?: {
306
+ title?: string;
307
+ }) => string;
308
+ export declare const createVoiceProductionReadinessRoutes: (options: VoiceProductionReadinessRoutesOptions) => Elysia<"", {
309
+ decorator: {};
310
+ store: {};
311
+ derive: {};
312
+ resolve: {};
313
+ }, {
314
+ typebox: {};
315
+ error: {};
316
+ }, {
317
+ schema: {};
318
+ standaloneSchema: {};
319
+ macro: {};
320
+ macroFn: {};
321
+ parser: {};
322
+ response: {};
323
+ }, {}, {
324
+ derive: {};
325
+ resolve: {};
326
+ schema: {};
327
+ standaloneSchema: {};
328
+ response: {};
329
+ }, {
330
+ derive: {};
331
+ resolve: {};
332
+ schema: {};
333
+ standaloneSchema: {};
334
+ response: {};
335
+ }>;