@absolutejs/voice 0.0.22-beta.672 → 0.0.22-beta.673
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/core/assistantHealth.d.ts +3 -40
- package/dist/core/auditDeliveryRoutes.d.ts +5 -40
- package/dist/core/auditRoutes.d.ts +3 -27
- package/dist/core/bargeInRoutes.d.ts +3 -27
- package/dist/core/browserCallProfiles.d.ts +3 -27
- package/dist/core/browserMediaRoutes.d.ts +3 -27
- package/dist/core/callDebugger.d.ts +3 -27
- package/dist/core/campaign.d.ts +166 -143
- package/dist/core/competitiveCoverage.d.ts +3 -40
- package/dist/core/dataControl.d.ts +3 -27
- package/dist/core/deliveryRuntime.d.ts +3 -40
- package/dist/core/deliverySinkRoutes.d.ts +3 -40
- package/dist/core/demoReadyRoutes.d.ts +3 -27
- package/dist/core/diagnosticsRoutes.d.ts +3 -27
- package/dist/core/evalRoutes.d.ts +3 -27
- package/dist/core/guardrails.d.ts +3 -27
- package/dist/core/handoffHealth.d.ts +5 -40
- package/dist/core/htmxDashboardRoutes.d.ts +309 -195
- package/dist/core/incidentBundle.d.ts +3 -27
- package/dist/core/incidentTimeline.d.ts +3 -40
- package/dist/core/liveLatency.d.ts +3 -40
- package/dist/core/liveOps.d.ts +154 -44
- package/dist/core/mediaPipelineRoutes.d.ts +3 -40
- package/dist/core/monitor.d.ts +5 -19
- package/dist/core/observabilityExport.d.ts +6 -54
- package/dist/core/operationalStatus.d.ts +3 -40
- package/dist/core/operationsRecord.d.ts +3 -27
- package/dist/core/opsActionAuditRoutes.d.ts +160 -51
- package/dist/core/opsConsoleRoutes.d.ts +3 -27
- package/dist/core/opsRecovery.d.ts +3 -40
- package/dist/core/opsStatusRoutes.d.ts +3 -27
- package/dist/core/opsWebhook.d.ts +158 -49
- package/dist/core/outcomeContract.d.ts +3 -40
- package/dist/core/phoneAgentProductionSmoke.d.ts +6 -40
- package/dist/core/platformCoverage.d.ts +3 -27
- package/dist/core/plugin.d.ts +12 -40
- package/dist/core/postCallAnalysis.d.ts +3 -27
- package/dist/core/productionReadiness.d.ts +3 -27
- package/dist/core/profileSwitchRecommendation.d.ts +299 -116
- package/dist/core/proofPack.d.ts +3 -27
- package/dist/core/proofTrends.d.ts +15 -135
- package/dist/core/providerCapabilities.d.ts +3 -40
- package/dist/core/providerDecisionTraces.d.ts +3 -40
- package/dist/core/providerHealth.d.ts +3 -40
- package/dist/core/providerOrchestration.d.ts +3 -40
- package/dist/core/providerSlo.d.ts +3 -27
- package/dist/core/providerStackRecommendations.d.ts +3 -27
- package/dist/core/qualityRoutes.d.ts +3 -27
- package/dist/core/realtimeChannel.d.ts +3 -40
- package/dist/core/realtimeProviderContracts.d.ts +3 -40
- package/dist/core/reconnectContract.d.ts +153 -79
- package/dist/core/resilienceRoutes.d.ts +3 -40
- package/dist/core/routeAuth.d.ts +3 -29
- package/dist/core/sessionObservability.d.ts +3 -27
- package/dist/core/sessionReplay.d.ts +10 -79
- package/dist/core/sessionSnapshot.d.ts +148 -39
- package/dist/core/simulationSuite.d.ts +3 -40
- package/dist/core/sloCalibration.d.ts +6 -54
- package/dist/core/telephonyMediaRoutes.d.ts +3 -27
- package/dist/core/telephonyOutcome.d.ts +148 -39
- package/dist/core/toolContract.d.ts +3 -40
- package/dist/core/traceDeliveryRoutes.d.ts +5 -40
- package/dist/core/traceTimeline.d.ts +3 -27
- package/dist/core/turnLatency.d.ts +3 -40
- package/dist/core/turnQuality.d.ts +3 -40
- package/dist/core/voiceMonitoring.d.ts +164 -115
- package/dist/index.js +58 -26
- package/dist/telephony/matrix.d.ts +148 -39
- package/dist/telephony/plivo.d.ts +10 -33
- package/dist/telephony/security.d.ts +3 -40
- package/dist/telephony/telnyx.d.ts +10 -33
- package/dist/testing/index.js +14 -10
- package/package.json +7 -81
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Elysia } from "elysia";
|
|
2
1
|
import { type VoiceProviderHealthStatus, type VoiceProviderHealthSummary, type VoiceProviderHealthSummaryOptions } from "./providerHealth";
|
|
3
2
|
export type VoiceProviderCapabilityKind = "llm" | "stt" | "tts" | "custom";
|
|
4
3
|
export type VoiceProviderCapabilityDefinition<TProvider extends string = string> = {
|
|
@@ -46,46 +45,10 @@ export type VoiceProviderCapabilityRoutesOptions<TProvider extends string = stri
|
|
|
46
45
|
};
|
|
47
46
|
export declare const createVoiceProviderCapabilityHTMLHandler: <TProvider extends string = string>(options: VoiceProviderCapabilityHTMLHandlerOptions<TProvider>) => () => Promise<Response>;
|
|
48
47
|
export declare const createVoiceProviderCapabilityJSONHandler: <TProvider extends string = string>(options: VoiceProviderCapabilityHandlerOptions<TProvider>) => () => Promise<VoiceProviderCapabilityReport<TProvider>>;
|
|
49
|
-
export declare const createVoiceProviderCapabilityRoutes: <TProvider extends string = string>(options: VoiceProviderCapabilityRoutesOptions<TProvider>) =>
|
|
50
|
-
decorator: {};
|
|
51
|
-
store: {};
|
|
52
|
-
derive: {};
|
|
53
|
-
resolve: {};
|
|
54
|
-
}, {
|
|
48
|
+
export declare const createVoiceProviderCapabilityRoutes: <TProvider extends string = string>(options: VoiceProviderCapabilityRoutesOptions<TProvider>) => import("elysia/types").AddRoute<"", "local", import("elysia/types").DefaultSingleton, {
|
|
55
49
|
typebox: {};
|
|
56
|
-
error:
|
|
57
|
-
}, {
|
|
58
|
-
schema: {};
|
|
59
|
-
standaloneSchema: {};
|
|
60
|
-
macro: {};
|
|
61
|
-
macroFn: {};
|
|
62
|
-
parser: {};
|
|
63
|
-
response: {};
|
|
64
|
-
}, {
|
|
65
|
-
[x: string]: {
|
|
66
|
-
get: {
|
|
67
|
-
body: unknown;
|
|
68
|
-
params: {};
|
|
69
|
-
query: unknown;
|
|
70
|
-
headers: unknown;
|
|
71
|
-
response: {
|
|
72
|
-
200: VoiceProviderCapabilityReport<TProvider>;
|
|
73
|
-
};
|
|
74
|
-
};
|
|
75
|
-
};
|
|
76
|
-
}, {
|
|
77
|
-
derive: {};
|
|
78
|
-
resolve: {};
|
|
79
|
-
schema: {};
|
|
80
|
-
standaloneSchema: {};
|
|
81
|
-
response: {};
|
|
82
|
-
}, {
|
|
83
|
-
derive: {};
|
|
84
|
-
resolve: {};
|
|
85
|
-
schema: {};
|
|
86
|
-
standaloneSchema: {};
|
|
87
|
-
response: {};
|
|
88
|
-
}>;
|
|
50
|
+
error: [];
|
|
51
|
+
}, import("elysia/types").DefaultMetadata, {}, import("elysia/types").DefaultEphemeral, import("elysia/types").DefaultEphemeral, "get", string, import("elysia/types").IntersectIfObjectSchema<import("elysia").UnwrapRoute<{}, {}, `/${string}`>, import("elysia/types").MergeScopedSchemas<{}, {}, {}>>, {}, () => Promise<VoiceProviderCapabilityReport<TProvider>>>;
|
|
89
52
|
export declare const renderVoiceProviderCapabilityHTML: <TProvider extends string = string>(report: VoiceProviderCapabilityReport<TProvider>, options?: {
|
|
90
53
|
title?: string;
|
|
91
54
|
}) => string;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Elysia } from "elysia";
|
|
2
1
|
import { type VoiceRoutingEventKind } from "./resilienceRoutes";
|
|
3
2
|
import type { StoredVoiceTraceEvent, VoiceTraceEvent, VoiceTraceEventStore } from "./trace";
|
|
4
3
|
export type VoiceProviderDecisionStatus = "degraded" | "error" | "fallback" | "selected" | "skipped" | "success";
|
|
@@ -85,46 +84,10 @@ export type VoiceProviderDecisionTraceRoutesOptions = VoiceProviderDecisionTrace
|
|
|
85
84
|
};
|
|
86
85
|
export declare const buildVoiceProviderDecisionTraceReport: (options: VoiceProviderDecisionTraceReportOptions) => Promise<VoiceProviderDecisionTraceReport>;
|
|
87
86
|
export declare const createVoiceProviderDecisionTraceEvent: (input: VoiceProviderDecisionTraceInput) => VoiceTraceEvent;
|
|
88
|
-
export declare const createVoiceProviderDecisionTraceRoutes: (options: VoiceProviderDecisionTraceRoutesOptions) =>
|
|
89
|
-
decorator: {};
|
|
90
|
-
store: {};
|
|
91
|
-
derive: {};
|
|
92
|
-
resolve: {};
|
|
93
|
-
}, {
|
|
87
|
+
export declare const createVoiceProviderDecisionTraceRoutes: (options: VoiceProviderDecisionTraceRoutesOptions) => import("elysia/types").AddRoute<"", "local", import("elysia/types").DefaultSingleton, {
|
|
94
88
|
typebox: {};
|
|
95
|
-
error:
|
|
96
|
-
}, {
|
|
97
|
-
schema: {};
|
|
98
|
-
standaloneSchema: {};
|
|
99
|
-
macro: {};
|
|
100
|
-
macroFn: {};
|
|
101
|
-
parser: {};
|
|
102
|
-
response: {};
|
|
103
|
-
}, {
|
|
104
|
-
[x: string]: {
|
|
105
|
-
get: {
|
|
106
|
-
body: unknown;
|
|
107
|
-
params: {};
|
|
108
|
-
query: unknown;
|
|
109
|
-
headers: unknown;
|
|
110
|
-
response: {
|
|
111
|
-
200: Response;
|
|
112
|
-
};
|
|
113
|
-
};
|
|
114
|
-
};
|
|
115
|
-
}, {
|
|
116
|
-
derive: {};
|
|
117
|
-
resolve: {};
|
|
118
|
-
schema: {};
|
|
119
|
-
standaloneSchema: {};
|
|
120
|
-
response: {};
|
|
121
|
-
}, {
|
|
122
|
-
derive: {};
|
|
123
|
-
resolve: {};
|
|
124
|
-
schema: {};
|
|
125
|
-
standaloneSchema: {};
|
|
126
|
-
response: {};
|
|
127
|
-
}>;
|
|
89
|
+
error: [];
|
|
90
|
+
}, import("elysia/types").DefaultMetadata, {}, import("elysia/types").DefaultEphemeral, import("elysia/types").DefaultEphemeral, "get", string, import("elysia/types").IntersectIfObjectSchema<import("elysia").UnwrapRoute<{}, {}, `/${string}`>, import("elysia/types").MergeScopedSchemas<{}, {}, {}>>, {}, () => Promise<Response>>;
|
|
128
91
|
export declare const listVoiceProviderDecisionTraces: (events: StoredVoiceTraceEvent[] | VoiceProviderDecisionTrace[]) => VoiceProviderDecisionTrace[];
|
|
129
92
|
export declare const renderVoiceProviderDecisionTraceHTML: (report: VoiceProviderDecisionTraceReport, title?: string) => string;
|
|
130
93
|
export declare const renderVoiceProviderDecisionTraceMarkdown: (report: VoiceProviderDecisionTraceReport) => string;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Elysia } from "elysia";
|
|
2
1
|
import type { StoredVoiceTraceEvent, VoiceTraceEventStore } from "./trace";
|
|
3
2
|
export type VoiceProviderHealthStatus = "healthy" | "idle" | "rate-limited" | "degraded" | "recoverable" | "suppressed";
|
|
4
3
|
export type VoiceProviderHealthSummary<TProvider extends string = string> = {
|
|
@@ -45,45 +44,9 @@ export type VoiceProviderHealthByModalityOptions = {
|
|
|
45
44
|
*/
|
|
46
45
|
export declare const createVoiceProviderHealthHTMLHandler: <TProvider extends string = string>(options: VoiceProviderHealthHTMLHandlerOptions<TProvider>) => () => Promise<Response>;
|
|
47
46
|
export declare const createVoiceProviderHealthJSONHandler: <TProvider extends string = string>(options: VoiceProviderHealthHandlerOptions<TProvider>) => () => Promise<VoiceProviderHealthSummary<TProvider>[]>;
|
|
48
|
-
export declare const createVoiceProviderHealthRoutes: <TProvider extends string = string>(options: VoiceProviderHealthRoutesOptions<TProvider>) =>
|
|
49
|
-
decorator: {};
|
|
50
|
-
store: {};
|
|
51
|
-
derive: {};
|
|
52
|
-
resolve: {};
|
|
53
|
-
}, {
|
|
47
|
+
export declare const createVoiceProviderHealthRoutes: <TProvider extends string = string>(options: VoiceProviderHealthRoutesOptions<TProvider>) => import("elysia/types").AddRoute<"", "local", import("elysia/types").DefaultSingleton, {
|
|
54
48
|
typebox: {};
|
|
55
|
-
error:
|
|
56
|
-
}, {
|
|
57
|
-
schema: {};
|
|
58
|
-
standaloneSchema: {};
|
|
59
|
-
macro: {};
|
|
60
|
-
macroFn: {};
|
|
61
|
-
parser: {};
|
|
62
|
-
response: {};
|
|
63
|
-
}, {
|
|
64
|
-
[x: string]: {
|
|
65
|
-
get: {
|
|
66
|
-
body: unknown;
|
|
67
|
-
params: {};
|
|
68
|
-
query: unknown;
|
|
69
|
-
headers: unknown;
|
|
70
|
-
response: {
|
|
71
|
-
200: VoiceProviderHealthSummary<TProvider>[];
|
|
72
|
-
};
|
|
73
|
-
};
|
|
74
|
-
};
|
|
75
|
-
}, {
|
|
76
|
-
derive: {};
|
|
77
|
-
resolve: {};
|
|
78
|
-
schema: {};
|
|
79
|
-
standaloneSchema: {};
|
|
80
|
-
response: {};
|
|
81
|
-
}, {
|
|
82
|
-
derive: {};
|
|
83
|
-
resolve: {};
|
|
84
|
-
schema: {};
|
|
85
|
-
standaloneSchema: {};
|
|
86
|
-
response: {};
|
|
87
|
-
}>;
|
|
49
|
+
error: [];
|
|
50
|
+
}, import("elysia/types").DefaultMetadata, {}, import("elysia/types").DefaultEphemeral, import("elysia/types").DefaultEphemeral, "get", string, import("elysia/types").IntersectIfObjectSchema<import("elysia").UnwrapRoute<{}, {}, `/${string}`>, import("elysia/types").MergeScopedSchemas<{}, {}, {}>>, {}, () => Promise<VoiceProviderHealthSummary<TProvider>[]>>;
|
|
88
51
|
export declare const renderVoiceProviderHealthHTML: (providers: VoiceProviderHealthSummary[]) => string;
|
|
89
52
|
export declare const summarizeVoiceProviderHealthByModality: (events: StoredVoiceTraceEvent[], { llmProviders, sttProviders, ttsProviders, }: VoiceProviderHealthByModalityOptions) => Promise<VoiceProviderHealthSummary[]>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Elysia } from "elysia";
|
|
2
1
|
import type { VoiceProviderOrchestrationProfile, VoiceProviderRouterProviderProfile } from "./modelAdapters";
|
|
3
2
|
import type { VoiceSessionRecord } from "./types";
|
|
4
3
|
export type VoiceProviderOrchestrationStatus = "fail" | "pass" | "warn";
|
|
@@ -63,46 +62,10 @@ export type VoiceProviderOrchestrationRoutesOptions<TProvider extends string = s
|
|
|
63
62
|
title?: string;
|
|
64
63
|
};
|
|
65
64
|
export declare const buildVoiceProviderOrchestrationReport: <TProvider extends string = string, TSurface extends string = string>(options: VoiceProviderOrchestrationReportOptions<TProvider, TSurface>) => VoiceProviderOrchestrationReport;
|
|
66
|
-
export declare const createVoiceProviderOrchestrationRoutes: <TProvider extends string = string, TSurface extends string = string>(options: VoiceProviderOrchestrationRoutesOptions<TProvider, TSurface>) =>
|
|
67
|
-
decorator: {};
|
|
68
|
-
store: {};
|
|
69
|
-
derive: {};
|
|
70
|
-
resolve: {};
|
|
71
|
-
}, {
|
|
65
|
+
export declare const createVoiceProviderOrchestrationRoutes: <TProvider extends string = string, TSurface extends string = string>(options: VoiceProviderOrchestrationRoutesOptions<TProvider, TSurface>) => import("elysia/types").AddRoute<"", "local", import("elysia/types").DefaultSingleton, {
|
|
72
66
|
typebox: {};
|
|
73
|
-
error:
|
|
74
|
-
}, {
|
|
75
|
-
schema: {};
|
|
76
|
-
standaloneSchema: {};
|
|
77
|
-
macro: {};
|
|
78
|
-
macroFn: {};
|
|
79
|
-
parser: {};
|
|
80
|
-
response: {};
|
|
81
|
-
}, {
|
|
82
|
-
[x: string]: {
|
|
83
|
-
get: {
|
|
84
|
-
body: unknown;
|
|
85
|
-
params: {};
|
|
86
|
-
query: unknown;
|
|
87
|
-
headers: unknown;
|
|
88
|
-
response: {
|
|
89
|
-
200: VoiceProviderOrchestrationReport;
|
|
90
|
-
};
|
|
91
|
-
};
|
|
92
|
-
};
|
|
93
|
-
}, {
|
|
94
|
-
derive: {};
|
|
95
|
-
resolve: {};
|
|
96
|
-
schema: {};
|
|
97
|
-
standaloneSchema: {};
|
|
98
|
-
response: {};
|
|
99
|
-
}, {
|
|
100
|
-
derive: {};
|
|
101
|
-
resolve: {};
|
|
102
|
-
schema: {};
|
|
103
|
-
standaloneSchema: {};
|
|
104
|
-
response: {};
|
|
105
|
-
}>;
|
|
67
|
+
error: [];
|
|
68
|
+
}, import("elysia/types").DefaultMetadata, {}, import("elysia/types").DefaultEphemeral, import("elysia/types").DefaultEphemeral, "get", string, import("elysia/types").IntersectIfObjectSchema<import("elysia").UnwrapRoute<{}, {}, `/${string}`>, import("elysia/types").MergeScopedSchemas<{}, {}, {}>>, {}, () => VoiceProviderOrchestrationReport>;
|
|
106
69
|
export declare const renderVoiceProviderOrchestrationHTML: (report: VoiceProviderOrchestrationReport, options?: {
|
|
107
70
|
title?: string;
|
|
108
71
|
}) => string;
|
|
@@ -108,34 +108,10 @@ export type VoiceProviderSloAssertionReport = {
|
|
|
108
108
|
export declare const assertVoiceProviderSloEvidence: (report: VoiceProviderSloReport, input?: VoiceProviderSloAssertionInput) => VoiceProviderSloAssertionReport;
|
|
109
109
|
export declare const buildVoiceProviderSloReport: (options?: VoiceProviderSloReportOptions) => Promise<VoiceProviderSloReport>;
|
|
110
110
|
export declare const evaluateVoiceProviderSloEvidence: (report: VoiceProviderSloReport, input?: VoiceProviderSloAssertionInput) => VoiceProviderSloAssertionReport;
|
|
111
|
-
export declare const createVoiceProviderSloRoutes: (options: VoiceProviderSloRoutesOptions) => Elysia<"", {
|
|
112
|
-
decorator: {};
|
|
113
|
-
store: {};
|
|
114
|
-
derive: {};
|
|
115
|
-
resolve: {};
|
|
116
|
-
}, {
|
|
111
|
+
export declare const createVoiceProviderSloRoutes: (options: VoiceProviderSloRoutesOptions) => Elysia<"", "local", import("elysia/types").DefaultSingleton, {
|
|
117
112
|
typebox: {};
|
|
118
|
-
error:
|
|
119
|
-
}, {
|
|
120
|
-
schema: {};
|
|
121
|
-
standaloneSchema: {};
|
|
122
|
-
macro: {};
|
|
123
|
-
macroFn: {};
|
|
124
|
-
parser: {};
|
|
125
|
-
response: {};
|
|
126
|
-
}, {}, {
|
|
127
|
-
derive: {};
|
|
128
|
-
resolve: {};
|
|
129
|
-
schema: {};
|
|
130
|
-
standaloneSchema: {};
|
|
131
|
-
response: {};
|
|
132
|
-
}, {
|
|
133
|
-
derive: {};
|
|
134
|
-
resolve: {};
|
|
135
|
-
schema: {};
|
|
136
|
-
standaloneSchema: {};
|
|
137
|
-
response: {};
|
|
138
|
-
}>;
|
|
113
|
+
error: [];
|
|
114
|
+
}, import("elysia/types").DefaultMetadata, {}, import("elysia/types").DefaultEphemeral, import("elysia/types").DefaultEphemeral>;
|
|
139
115
|
export declare const renderVoiceProviderSloHTML: (report: VoiceProviderSloReport, options?: {
|
|
140
116
|
title?: string;
|
|
141
117
|
}) => string;
|
|
@@ -151,34 +151,10 @@ export declare const createVoiceProviderContractMatrixPreset: <TProvider extends
|
|
|
151
151
|
export declare const evaluateVoiceProviderContractMatrixEvidence: <TProvider extends string = string>(report: VoiceProviderContractMatrixReport<TProvider>, input?: VoiceProviderContractMatrixAssertionInput<TProvider>) => VoiceProviderContractMatrixAssertionReport<TProvider>;
|
|
152
152
|
export declare const createVoiceProviderContractMatrixHTMLHandler: <TProvider extends string = string>(options: VoiceProviderContractMatrixHTMLHandlerOptions<TProvider>) => () => Promise<Response>;
|
|
153
153
|
export declare const createVoiceProviderContractMatrixJSONHandler: <TProvider extends string = string>(matrix: VoiceProviderContractMatrixHandlerOptions<TProvider>) => () => Promise<VoiceProviderContractMatrixReport<TProvider>>;
|
|
154
|
-
export declare const createVoiceProviderContractMatrixRoutes: <TProvider extends string = string>(options: VoiceProviderContractMatrixRoutesOptions<TProvider>) => Elysia<"", {
|
|
155
|
-
decorator: {};
|
|
156
|
-
store: {};
|
|
157
|
-
derive: {};
|
|
158
|
-
resolve: {};
|
|
159
|
-
}, {
|
|
154
|
+
export declare const createVoiceProviderContractMatrixRoutes: <TProvider extends string = string>(options: VoiceProviderContractMatrixRoutesOptions<TProvider>) => Elysia<"", "local", import("elysia/types").DefaultSingleton, {
|
|
160
155
|
typebox: {};
|
|
161
|
-
error:
|
|
162
|
-
}, {
|
|
163
|
-
schema: {};
|
|
164
|
-
standaloneSchema: {};
|
|
165
|
-
macro: {};
|
|
166
|
-
macroFn: {};
|
|
167
|
-
parser: {};
|
|
168
|
-
response: {};
|
|
169
|
-
}, {}, {
|
|
170
|
-
derive: {};
|
|
171
|
-
resolve: {};
|
|
172
|
-
schema: {};
|
|
173
|
-
standaloneSchema: {};
|
|
174
|
-
response: {};
|
|
175
|
-
}, {
|
|
176
|
-
derive: {};
|
|
177
|
-
resolve: {};
|
|
178
|
-
schema: {};
|
|
179
|
-
standaloneSchema: {};
|
|
180
|
-
response: {};
|
|
181
|
-
}>;
|
|
156
|
+
error: [];
|
|
157
|
+
}, import("elysia/types").DefaultMetadata, {}, import("elysia/types").DefaultEphemeral, import("elysia/types").DefaultEphemeral>;
|
|
182
158
|
export declare const renderVoiceProviderContractMatrixHTML: <TProvider extends string = string>(report: VoiceProviderContractMatrixReport<TProvider>, options?: {
|
|
183
159
|
title?: string;
|
|
184
160
|
}) => string;
|
|
@@ -43,34 +43,10 @@ export declare const evaluateVoiceQuality: (input: {
|
|
|
43
43
|
store?: VoiceTraceEventStore;
|
|
44
44
|
thresholds?: VoiceQualityThresholds;
|
|
45
45
|
}) => Promise<VoiceQualityReport>;
|
|
46
|
-
export declare const createVoiceQualityRoutes: (options: VoiceQualityRoutesOptions) => Elysia<"", {
|
|
47
|
-
decorator: {};
|
|
48
|
-
store: {};
|
|
49
|
-
derive: {};
|
|
50
|
-
resolve: {};
|
|
51
|
-
}, {
|
|
46
|
+
export declare const createVoiceQualityRoutes: (options: VoiceQualityRoutesOptions) => Elysia<"", "local", import("elysia/types").DefaultSingleton, {
|
|
52
47
|
typebox: {};
|
|
53
|
-
error:
|
|
54
|
-
}, {
|
|
55
|
-
schema: {};
|
|
56
|
-
standaloneSchema: {};
|
|
57
|
-
macro: {};
|
|
58
|
-
macroFn: {};
|
|
59
|
-
parser: {};
|
|
60
|
-
response: {};
|
|
61
|
-
}, {}, {
|
|
62
|
-
derive: {};
|
|
63
|
-
resolve: {};
|
|
64
|
-
schema: {};
|
|
65
|
-
standaloneSchema: {};
|
|
66
|
-
response: {};
|
|
67
|
-
}, {
|
|
68
|
-
derive: {};
|
|
69
|
-
resolve: {};
|
|
70
|
-
schema: {};
|
|
71
|
-
standaloneSchema: {};
|
|
72
|
-
response: {};
|
|
73
|
-
}>;
|
|
48
|
+
error: [];
|
|
49
|
+
}, import("elysia/types").DefaultMetadata, {}, import("elysia/types").DefaultEphemeral, import("elysia/types").DefaultEphemeral>;
|
|
74
50
|
export declare const renderVoiceQualityHTML: (report: VoiceQualityReport, options?: {
|
|
75
51
|
links?: VoiceQualityLink[];
|
|
76
52
|
}) => string;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Elysia } from "elysia";
|
|
2
1
|
import type { AudioFormat } from "./types";
|
|
3
2
|
import type { StoredVoiceTraceEvent } from "./trace";
|
|
4
3
|
export type VoiceRealtimeChannelStatus = "fail" | "pass" | "warn";
|
|
@@ -91,46 +90,10 @@ export declare const buildVoiceRealtimeChannelRuntimeSamplesFromTrace: (events:
|
|
|
91
90
|
format?: AudioFormat;
|
|
92
91
|
source?: string;
|
|
93
92
|
}) => VoiceRealtimeChannelRuntimeSample[];
|
|
94
|
-
export declare const createVoiceRealtimeChannelRoutes: (options: VoiceRealtimeChannelRoutesOptions) =>
|
|
95
|
-
decorator: {};
|
|
96
|
-
store: {};
|
|
97
|
-
derive: {};
|
|
98
|
-
resolve: {};
|
|
99
|
-
}, {
|
|
93
|
+
export declare const createVoiceRealtimeChannelRoutes: (options: VoiceRealtimeChannelRoutesOptions) => import("elysia/types").AddRoute<"", "local", import("elysia/types").DefaultSingleton, {
|
|
100
94
|
typebox: {};
|
|
101
|
-
error:
|
|
102
|
-
}, {
|
|
103
|
-
schema: {};
|
|
104
|
-
standaloneSchema: {};
|
|
105
|
-
macro: {};
|
|
106
|
-
macroFn: {};
|
|
107
|
-
parser: {};
|
|
108
|
-
response: {};
|
|
109
|
-
}, {
|
|
110
|
-
[x: string]: {
|
|
111
|
-
get: {
|
|
112
|
-
body: unknown;
|
|
113
|
-
params: {};
|
|
114
|
-
query: unknown;
|
|
115
|
-
headers: unknown;
|
|
116
|
-
response: {
|
|
117
|
-
200: Response;
|
|
118
|
-
};
|
|
119
|
-
};
|
|
120
|
-
};
|
|
121
|
-
}, {
|
|
122
|
-
derive: {};
|
|
123
|
-
resolve: {};
|
|
124
|
-
schema: {};
|
|
125
|
-
standaloneSchema: {};
|
|
126
|
-
response: {};
|
|
127
|
-
}, {
|
|
128
|
-
derive: {};
|
|
129
|
-
resolve: {};
|
|
130
|
-
schema: {};
|
|
131
|
-
standaloneSchema: {};
|
|
132
|
-
response: {};
|
|
133
|
-
}>;
|
|
95
|
+
error: [];
|
|
96
|
+
}, import("elysia/types").DefaultMetadata, {}, import("elysia/types").DefaultEphemeral, import("elysia/types").DefaultEphemeral, "get", string, import("elysia/types").IntersectIfObjectSchema<import("elysia").UnwrapRoute<{}, {}, `/${string}`>, import("elysia/types").MergeScopedSchemas<{}, {}, {}>>, {}, () => Promise<Response>>;
|
|
134
97
|
export declare const evaluateVoiceRealtimeChannelEvidence: (report: VoiceRealtimeChannelReport, input?: VoiceRealtimeChannelAssertionInput) => VoiceRealtimeChannelAssertionReport;
|
|
135
98
|
export declare const renderVoiceRealtimeChannelHTML: (report: VoiceRealtimeChannelReport, title?: string) => string;
|
|
136
99
|
export declare const renderVoiceRealtimeChannelMarkdown: (report: VoiceRealtimeChannelReport) => string;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Elysia } from "elysia";
|
|
2
1
|
import type { VoiceRealtimeChannelReport } from "./realtimeChannel";
|
|
3
2
|
export type VoiceRealtimeProviderContractStatus = "fail" | "pass" | "warn";
|
|
4
3
|
export type VoiceRealtimeProviderContractCapability = "barge-in" | "browser-format-negotiation" | "duplex-audio" | "first-audio-latency" | "raw-pcm" | "reconnect" | "trace-evidence" | "turn-commit";
|
|
@@ -90,44 +89,8 @@ export declare const assertVoiceRealtimeProviderContractEvidence: <TProvider ext
|
|
|
90
89
|
export declare const buildVoiceRealtimeProviderContractMatrix: <TProvider extends string = string>(input: VoiceRealtimeProviderContractMatrixInput<TProvider>) => VoiceRealtimeProviderContractMatrixReport<TProvider>;
|
|
91
90
|
export declare const createVoiceRealtimeProviderContractMatrixPreset: <TProvider extends string = VoiceRealtimeProviderPresetProvider>(options?: VoiceRealtimeProviderContractMatrixPresetOptions<TProvider>) => VoiceRealtimeProviderContractMatrixInput<TProvider>;
|
|
92
91
|
export declare const evaluateVoiceRealtimeProviderContractEvidence: <TProvider extends string = string>(report: VoiceRealtimeProviderContractMatrixReport<TProvider>, input?: VoiceRealtimeProviderContractAssertionInput<TProvider>) => VoiceRealtimeProviderContractAssertionReport<TProvider>;
|
|
93
|
-
export declare const createVoiceRealtimeProviderContractRoutes: <TProvider extends string = string>(options: VoiceRealtimeProviderContractRoutesOptions<TProvider>) =>
|
|
94
|
-
decorator: {};
|
|
95
|
-
store: {};
|
|
96
|
-
derive: {};
|
|
97
|
-
resolve: {};
|
|
98
|
-
}, {
|
|
92
|
+
export declare const createVoiceRealtimeProviderContractRoutes: <TProvider extends string = string>(options: VoiceRealtimeProviderContractRoutesOptions<TProvider>) => import("elysia/types").AddRoute<"", "local", import("elysia/types").DefaultSingleton, {
|
|
99
93
|
typebox: {};
|
|
100
|
-
error:
|
|
101
|
-
}, {
|
|
102
|
-
schema: {};
|
|
103
|
-
standaloneSchema: {};
|
|
104
|
-
macro: {};
|
|
105
|
-
macroFn: {};
|
|
106
|
-
parser: {};
|
|
107
|
-
response: {};
|
|
108
|
-
}, {
|
|
109
|
-
[x: string]: {
|
|
110
|
-
get: {
|
|
111
|
-
body: unknown;
|
|
112
|
-
params: {};
|
|
113
|
-
query: unknown;
|
|
114
|
-
headers: unknown;
|
|
115
|
-
response: {
|
|
116
|
-
200: Response;
|
|
117
|
-
};
|
|
118
|
-
};
|
|
119
|
-
};
|
|
120
|
-
}, {
|
|
121
|
-
derive: {};
|
|
122
|
-
resolve: {};
|
|
123
|
-
schema: {};
|
|
124
|
-
standaloneSchema: {};
|
|
125
|
-
response: {};
|
|
126
|
-
}, {
|
|
127
|
-
derive: {};
|
|
128
|
-
resolve: {};
|
|
129
|
-
schema: {};
|
|
130
|
-
standaloneSchema: {};
|
|
131
|
-
response: {};
|
|
132
|
-
}>;
|
|
94
|
+
error: [];
|
|
95
|
+
}, import("elysia/types").DefaultMetadata, {}, import("elysia/types").DefaultEphemeral, import("elysia/types").DefaultEphemeral, "get", string, import("elysia/types").IntersectIfObjectSchema<import("elysia").UnwrapRoute<{}, {}, `/${string}`>, import("elysia/types").MergeScopedSchemas<{}, {}, {}>>, {}, () => Promise<Response>>;
|
|
133
96
|
export declare const renderVoiceRealtimeProviderContractHTML: <TProvider extends string = string>(report: VoiceRealtimeProviderContractMatrixReport<TProvider>, title?: string) => string;
|