@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 { VoiceReconnectClientState, VoiceSessionRecord, VoiceSessionStore } from "./types";
|
|
3
2
|
import type { StoredVoiceTraceEvent } from "./trace";
|
|
4
3
|
export type VoiceReconnectContractSnapshot = {
|
|
@@ -81,62 +80,14 @@ export declare const summarizeVoiceReconnectProofSessions: (sessions: readonly V
|
|
|
81
80
|
}) => VoiceReconnectContractSnapshot[];
|
|
82
81
|
export declare const buildVoiceReconnectProofReport: (options?: VoiceReconnectProofOptions) => VoiceReconnectProofReport;
|
|
83
82
|
export declare const runVoiceReconnectContract: (options: VoiceReconnectContractOptions) => VoiceReconnectContractReport;
|
|
84
|
-
export declare const createVoiceReconnectContractRoutes: (options: VoiceReconnectContractRoutesOptions) =>
|
|
85
|
-
decorator: {};
|
|
86
|
-
store: {};
|
|
87
|
-
derive: {};
|
|
88
|
-
resolve: {};
|
|
89
|
-
}, {
|
|
83
|
+
export declare const createVoiceReconnectContractRoutes: (options: VoiceReconnectContractRoutesOptions) => import("elysia/types").AddRoute<"", "local", import("elysia/types").DefaultSingleton, {
|
|
90
84
|
typebox: {};
|
|
91
|
-
error:
|
|
92
|
-
}, {
|
|
93
|
-
|
|
94
|
-
standaloneSchema: {};
|
|
95
|
-
macro: {};
|
|
96
|
-
macroFn: {};
|
|
97
|
-
parser: {};
|
|
98
|
-
response: {};
|
|
99
|
-
}, {
|
|
100
|
-
[x: string]: {
|
|
101
|
-
get: {
|
|
102
|
-
body: unknown;
|
|
103
|
-
params: {};
|
|
104
|
-
query: unknown;
|
|
105
|
-
headers: unknown;
|
|
106
|
-
response: {
|
|
107
|
-
200: Response;
|
|
108
|
-
};
|
|
109
|
-
};
|
|
110
|
-
};
|
|
111
|
-
}, {
|
|
112
|
-
derive: {};
|
|
113
|
-
resolve: {};
|
|
114
|
-
schema: {};
|
|
115
|
-
standaloneSchema: {};
|
|
116
|
-
response: {};
|
|
117
|
-
}, {
|
|
118
|
-
derive: {};
|
|
119
|
-
resolve: {};
|
|
120
|
-
schema: {};
|
|
121
|
-
standaloneSchema: {};
|
|
122
|
-
response: {};
|
|
123
|
-
}>;
|
|
124
|
-
export declare const createVoiceReconnectProofRoutes: (options?: VoiceReconnectProofRoutesOptions) => Elysia<"", {
|
|
125
|
-
decorator: {};
|
|
126
|
-
store: {};
|
|
127
|
-
derive: {};
|
|
128
|
-
resolve: {};
|
|
129
|
-
}, {
|
|
85
|
+
error: [];
|
|
86
|
+
}, 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>>;
|
|
87
|
+
export declare const createVoiceReconnectProofRoutes: (options?: VoiceReconnectProofRoutesOptions) => import("elysia/types").AddRoute<"", "local", import("elysia/types").DefaultSingleton, {
|
|
130
88
|
typebox: {};
|
|
131
|
-
error:
|
|
132
|
-
}, {
|
|
133
|
-
schema: {};
|
|
134
|
-
standaloneSchema: {};
|
|
135
|
-
macro: {};
|
|
136
|
-
macroFn: {};
|
|
137
|
-
parser: {};
|
|
138
|
-
response: {};
|
|
139
|
-
}, {
|
|
89
|
+
error: [];
|
|
90
|
+
}, import("elysia/types").DefaultMetadata, {
|
|
140
91
|
[x: string]: {
|
|
141
92
|
get: {
|
|
142
93
|
body: unknown;
|
|
@@ -146,32 +97,155 @@ export declare const createVoiceReconnectProofRoutes: (options?: VoiceReconnectP
|
|
|
146
97
|
response: {
|
|
147
98
|
200: Response;
|
|
148
99
|
};
|
|
100
|
+
error: never;
|
|
149
101
|
};
|
|
150
102
|
};
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
103
|
+
}, import("elysia/types").DefaultEphemeral, import("elysia/types").DefaultEphemeral, "post", string, import("elysia/types").IntersectIfObjectSchema<import("elysia").UnwrapRoute<{}, {}, `/${string}`>, import("elysia/types").MergeScopedSchemas<{}, {}, {}>>, {}, ({ body }: {
|
|
104
|
+
body: unknown;
|
|
105
|
+
query: Record<string, string | undefined>;
|
|
106
|
+
params: {};
|
|
107
|
+
headers: Record<string, string | undefined>;
|
|
108
|
+
cookie: Record<string, import("elysia").Cookie<unknown>>;
|
|
109
|
+
server: import("elysia").Server | null;
|
|
110
|
+
redirect: import("elysia").redirect;
|
|
111
|
+
set: {
|
|
112
|
+
headers: import("elysia").HTTPHeaders;
|
|
113
|
+
status?: number | keyof import("elysia").StatusMap;
|
|
114
|
+
cookie?: Record<string, import("elysia").BaseCookie>;
|
|
162
115
|
};
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
116
|
+
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 404 | 400 | 408 | 401 | 503 | 200 | 429 | 500 | 300 | 420 | 413 | 415 | 403 | 101 | 102 | 103 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 301 | 302 | 303 | 304 | 307 | 308 | 402 | 405 | 406 | 407 | 409 | 410 | 411 | 412 | 414 | 416 | 417 | 418 | 421 | 422 | 423 | 424 | 425 | 426 | 428 | 431 | 451 | 501 | 502 | 504 | 505 | 506 | 507 | 508 | 510 | 511 ? {
|
|
117
|
+
readonly 100: "Continue";
|
|
118
|
+
readonly 101: "Switching Protocols";
|
|
119
|
+
readonly 102: "Processing";
|
|
120
|
+
readonly 103: "Early Hints";
|
|
121
|
+
readonly 200: "OK";
|
|
122
|
+
readonly 201: "Created";
|
|
123
|
+
readonly 202: "Accepted";
|
|
124
|
+
readonly 203: "Non-Authoritative Information";
|
|
125
|
+
readonly 204: "No Content";
|
|
126
|
+
readonly 205: "Reset Content";
|
|
127
|
+
readonly 206: "Partial Content";
|
|
128
|
+
readonly 207: "Multi-Status";
|
|
129
|
+
readonly 208: "Already Reported";
|
|
130
|
+
readonly 300: "Multiple Choices";
|
|
131
|
+
readonly 301: "Moved Permanently";
|
|
132
|
+
readonly 302: "Found";
|
|
133
|
+
readonly 303: "See Other";
|
|
134
|
+
readonly 304: "Not Modified";
|
|
135
|
+
readonly 307: "Temporary Redirect";
|
|
136
|
+
readonly 308: "Permanent Redirect";
|
|
137
|
+
readonly 400: "Bad Request";
|
|
138
|
+
readonly 401: "Unauthorized";
|
|
139
|
+
readonly 402: "Payment Required";
|
|
140
|
+
readonly 403: "Forbidden";
|
|
141
|
+
readonly 404: "Not Found";
|
|
142
|
+
readonly 405: "Method Not Allowed";
|
|
143
|
+
readonly 406: "Not Acceptable";
|
|
144
|
+
readonly 407: "Proxy Authentication Required";
|
|
145
|
+
readonly 408: "Request Timeout";
|
|
146
|
+
readonly 409: "Conflict";
|
|
147
|
+
readonly 410: "Gone";
|
|
148
|
+
readonly 411: "Length Required";
|
|
149
|
+
readonly 412: "Precondition Failed";
|
|
150
|
+
readonly 413: "Payload Too Large";
|
|
151
|
+
readonly 414: "URI Too Long";
|
|
152
|
+
readonly 415: "Unsupported Media Type";
|
|
153
|
+
readonly 416: "Range Not Satisfiable";
|
|
154
|
+
readonly 417: "Expectation Failed";
|
|
155
|
+
readonly 418: "I'm a teapot";
|
|
156
|
+
readonly 420: "Enhance Your Calm";
|
|
157
|
+
readonly 421: "Misdirected Request";
|
|
158
|
+
readonly 422: "Unprocessable Content";
|
|
159
|
+
readonly 423: "Locked";
|
|
160
|
+
readonly 424: "Failed Dependency";
|
|
161
|
+
readonly 425: "Too Early";
|
|
162
|
+
readonly 426: "Upgrade Required";
|
|
163
|
+
readonly 428: "Precondition Required";
|
|
164
|
+
readonly 429: "Too Many Requests";
|
|
165
|
+
readonly 431: "Request Header Fields Too Large";
|
|
166
|
+
readonly 451: "Unavailable For Legal Reasons";
|
|
167
|
+
readonly 500: "Internal Server Error";
|
|
168
|
+
readonly 501: "Not Implemented";
|
|
169
|
+
readonly 502: "Bad Gateway";
|
|
170
|
+
readonly 503: "Service Unavailable";
|
|
171
|
+
readonly 504: "Gateway Timeout";
|
|
172
|
+
readonly 505: "HTTP Version Not Supported";
|
|
173
|
+
readonly 506: "Variant Also Negotiates";
|
|
174
|
+
readonly 507: "Insufficient Storage";
|
|
175
|
+
readonly 508: "Loop Detected";
|
|
176
|
+
readonly 510: "Not Extended";
|
|
177
|
+
readonly 511: "Network Authentication Required";
|
|
178
|
+
}[Code] : Code>(code: Code, response?: T) => import("elysia").ElysiaStatus<Code, T, Code extends "Continue" | "Switching Protocols" | "Processing" | "Early Hints" | "OK" | "Created" | "Accepted" | "Non-Authoritative Information" | "No Content" | "Reset Content" | "Partial Content" | "Multi-Status" | "Already Reported" | "Multiple Choices" | "Moved Permanently" | "Found" | "See Other" | "Not Modified" | "Temporary Redirect" | "Permanent Redirect" | "Bad Request" | "Unauthorized" | "Payment Required" | "Forbidden" | "Not Found" | "Method Not Allowed" | "Not Acceptable" | "Proxy Authentication Required" | "Request Timeout" | "Conflict" | "Gone" | "Length Required" | "Precondition Failed" | "Payload Too Large" | "URI Too Long" | "Unsupported Media Type" | "Range Not Satisfiable" | "Expectation Failed" | "I'm a teapot" | "Enhance Your Calm" | "Misdirected Request" | "Unprocessable Content" | "Locked" | "Failed Dependency" | "Too Early" | "Upgrade Required" | "Precondition Required" | "Too Many Requests" | "Request Header Fields Too Large" | "Unavailable For Legal Reasons" | "Internal Server Error" | "Not Implemented" | "Bad Gateway" | "Service Unavailable" | "Gateway Timeout" | "HTTP Version Not Supported" | "Variant Also Negotiates" | "Insufficient Storage" | "Loop Detected" | "Not Extended" | "Network Authentication Required" ? {
|
|
179
|
+
readonly Continue: 100;
|
|
180
|
+
readonly "Switching Protocols": 101;
|
|
181
|
+
readonly Processing: 102;
|
|
182
|
+
readonly "Early Hints": 103;
|
|
183
|
+
readonly OK: 200;
|
|
184
|
+
readonly Created: 201;
|
|
185
|
+
readonly Accepted: 202;
|
|
186
|
+
readonly "Non-Authoritative Information": 203;
|
|
187
|
+
readonly "No Content": 204;
|
|
188
|
+
readonly "Reset Content": 205;
|
|
189
|
+
readonly "Partial Content": 206;
|
|
190
|
+
readonly "Multi-Status": 207;
|
|
191
|
+
readonly "Already Reported": 208;
|
|
192
|
+
readonly "Multiple Choices": 300;
|
|
193
|
+
readonly "Moved Permanently": 301;
|
|
194
|
+
readonly Found: 302;
|
|
195
|
+
readonly "See Other": 303;
|
|
196
|
+
readonly "Not Modified": 304;
|
|
197
|
+
readonly "Temporary Redirect": 307;
|
|
198
|
+
readonly "Permanent Redirect": 308;
|
|
199
|
+
readonly "Bad Request": 400;
|
|
200
|
+
readonly Unauthorized: 401;
|
|
201
|
+
readonly "Payment Required": 402;
|
|
202
|
+
readonly Forbidden: 403;
|
|
203
|
+
readonly "Not Found": 404;
|
|
204
|
+
readonly "Method Not Allowed": 405;
|
|
205
|
+
readonly "Not Acceptable": 406;
|
|
206
|
+
readonly "Proxy Authentication Required": 407;
|
|
207
|
+
readonly "Request Timeout": 408;
|
|
208
|
+
readonly Conflict: 409;
|
|
209
|
+
readonly Gone: 410;
|
|
210
|
+
readonly "Length Required": 411;
|
|
211
|
+
readonly "Precondition Failed": 412;
|
|
212
|
+
readonly "Payload Too Large": 413;
|
|
213
|
+
readonly "URI Too Long": 414;
|
|
214
|
+
readonly "Unsupported Media Type": 415;
|
|
215
|
+
readonly "Range Not Satisfiable": 416;
|
|
216
|
+
readonly "Expectation Failed": 417;
|
|
217
|
+
readonly "I'm a teapot": 418;
|
|
218
|
+
readonly "Enhance Your Calm": 420;
|
|
219
|
+
readonly "Misdirected Request": 421;
|
|
220
|
+
readonly "Unprocessable Content": 422;
|
|
221
|
+
readonly Locked: 423;
|
|
222
|
+
readonly "Failed Dependency": 424;
|
|
223
|
+
readonly "Too Early": 425;
|
|
224
|
+
readonly "Upgrade Required": 426;
|
|
225
|
+
readonly "Precondition Required": 428;
|
|
226
|
+
readonly "Too Many Requests": 429;
|
|
227
|
+
readonly "Request Header Fields Too Large": 431;
|
|
228
|
+
readonly "Unavailable For Legal Reasons": 451;
|
|
229
|
+
readonly "Internal Server Error": 500;
|
|
230
|
+
readonly "Not Implemented": 501;
|
|
231
|
+
readonly "Bad Gateway": 502;
|
|
232
|
+
readonly "Service Unavailable": 503;
|
|
233
|
+
readonly "Gateway Timeout": 504;
|
|
234
|
+
readonly "HTTP Version Not Supported": 505;
|
|
235
|
+
readonly "Variant Also Negotiates": 506;
|
|
236
|
+
readonly "Insufficient Storage": 507;
|
|
237
|
+
readonly "Loop Detected": 508;
|
|
238
|
+
readonly "Not Extended": 510;
|
|
239
|
+
readonly "Network Authentication Required": 511;
|
|
240
|
+
}[Code] : Code>;
|
|
241
|
+
defer: (fn: import("elysia/types").AfterResponseHandler<NoInfer<import("elysia/types").IntersectIfObjectSchema<import("elysia").UnwrapRoute<{}, {}, `/${string}`>, import("elysia/types").MergeScopedSchemas<{}, {}, {}>>>, NoInfer<import("elysia/types").DefaultSingleton & {
|
|
242
|
+
derive: {};
|
|
243
|
+
}>>) => import("elysia/types").MaybePromise<void>;
|
|
244
|
+
readonly path: string;
|
|
245
|
+
route?: string | undefined;
|
|
246
|
+
rid?: string | undefined;
|
|
247
|
+
request: Request;
|
|
248
|
+
store: {};
|
|
249
|
+
}) => Promise<Response>>;
|
|
176
250
|
export declare const renderVoiceReconnectContractHTML: (report: VoiceReconnectContractReport) => string;
|
|
177
251
|
export {};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Elysia } from "elysia";
|
|
2
1
|
import { type VoiceProviderHealthSummary } from "./providerHealth";
|
|
3
2
|
import type { StoredVoiceTraceEvent, VoiceTraceEventStore } from "./trace";
|
|
4
3
|
import type { VoiceIOProviderFailureSimulationMode, VoiceIOProviderFailureSimulationResult } from "../testing/ioProviderSimulator";
|
|
@@ -104,43 +103,7 @@ export declare const summarizeVoiceRoutingDecision: (events: StoredVoiceTraceEve
|
|
|
104
103
|
export declare const createVoiceRoutingDecisionSummary: (options: VoiceRoutingDecisionSummaryOptions) => Promise<VoiceRoutingDecisionSummary | null>;
|
|
105
104
|
export declare const summarizeVoiceRoutingSessions: (events: StoredVoiceTraceEvent[] | VoiceRoutingEvent[], options?: VoiceRoutingSessionSummaryOptions) => VoiceRoutingSessionSummary[];
|
|
106
105
|
export declare const renderVoiceResilienceHTML: (input: VoiceResiliencePageData) => string;
|
|
107
|
-
export declare const createVoiceResilienceRoutes: (options: VoiceResilienceRoutesOptions) =>
|
|
108
|
-
decorator: {};
|
|
109
|
-
store: {};
|
|
110
|
-
derive: {};
|
|
111
|
-
resolve: {};
|
|
112
|
-
}, {
|
|
106
|
+
export declare const createVoiceResilienceRoutes: (options: VoiceResilienceRoutesOptions) => import("elysia/types").AddRoute<"", "local", import("elysia/types").DefaultSingleton, {
|
|
113
107
|
typebox: {};
|
|
114
|
-
error:
|
|
115
|
-
}, {
|
|
116
|
-
schema: {};
|
|
117
|
-
standaloneSchema: {};
|
|
118
|
-
macro: {};
|
|
119
|
-
macroFn: {};
|
|
120
|
-
parser: {};
|
|
121
|
-
response: {};
|
|
122
|
-
}, {
|
|
123
|
-
[x: string]: {
|
|
124
|
-
get: {
|
|
125
|
-
body: unknown;
|
|
126
|
-
params: {};
|
|
127
|
-
query: unknown;
|
|
128
|
-
headers: unknown;
|
|
129
|
-
response: {
|
|
130
|
-
200: Response;
|
|
131
|
-
};
|
|
132
|
-
};
|
|
133
|
-
};
|
|
134
|
-
}, {
|
|
135
|
-
derive: {};
|
|
136
|
-
resolve: {};
|
|
137
|
-
schema: {};
|
|
138
|
-
standaloneSchema: {};
|
|
139
|
-
response: {};
|
|
140
|
-
}, {
|
|
141
|
-
derive: {};
|
|
142
|
-
resolve: {};
|
|
143
|
-
schema: {};
|
|
144
|
-
standaloneSchema: {};
|
|
145
|
-
response: {};
|
|
146
|
-
}>;
|
|
108
|
+
error: [];
|
|
109
|
+
}, 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>>;
|
package/dist/core/routeAuth.d.ts
CHANGED
|
@@ -26,33 +26,7 @@ export declare const createVoiceHMACAuthVerifier: (input: {
|
|
|
26
26
|
secret: string;
|
|
27
27
|
toleranceMs?: number;
|
|
28
28
|
}) => VoiceRouteAuthVerifier;
|
|
29
|
-
export declare const createVoiceRouteAuth: (options: VoiceRouteAuthOptions) => Elysia<"", {
|
|
30
|
-
decorator: {};
|
|
31
|
-
store: {};
|
|
32
|
-
derive: {};
|
|
33
|
-
resolve: {};
|
|
34
|
-
}, {
|
|
29
|
+
export declare const createVoiceRouteAuth: (options: VoiceRouteAuthOptions) => Elysia<"", "local", import("elysia/types").DefaultSingleton, {
|
|
35
30
|
typebox: {};
|
|
36
|
-
error:
|
|
37
|
-
}, {
|
|
38
|
-
schema: {};
|
|
39
|
-
standaloneSchema: {};
|
|
40
|
-
macro: {};
|
|
41
|
-
macroFn: {};
|
|
42
|
-
parser: {};
|
|
43
|
-
response: {};
|
|
44
|
-
}, {}, {
|
|
45
|
-
derive: {};
|
|
46
|
-
resolve: {};
|
|
47
|
-
schema: {};
|
|
48
|
-
standaloneSchema: {};
|
|
49
|
-
response: {};
|
|
50
|
-
}, {
|
|
51
|
-
derive: {};
|
|
52
|
-
resolve: {};
|
|
53
|
-
schema: {};
|
|
54
|
-
standaloneSchema: {};
|
|
55
|
-
response: {
|
|
56
|
-
200: Response;
|
|
57
|
-
};
|
|
58
|
-
}>;
|
|
31
|
+
error: [];
|
|
32
|
+
}, import("elysia/types").DefaultMetadata, {}, import("elysia/types").DefaultEphemeral, import("elysia/types").DefaultEphemeral>;
|
|
@@ -114,32 +114,8 @@ export declare const renderVoiceSessionObservabilityHTML: (report: VoiceSessionO
|
|
|
114
114
|
}) => string;
|
|
115
115
|
export declare const renderVoiceSessionObservabilityMarkdown: (report: VoiceSessionObservabilityReport) => string;
|
|
116
116
|
export declare const assertVoiceSessionObservabilityEvidence: (report: VoiceSessionObservabilityReport, input?: VoiceSessionObservabilityEvidenceInput) => VoiceSessionObservabilityEvidenceReport;
|
|
117
|
-
export declare const createVoiceSessionObservabilityRoutes: (options: VoiceSessionObservabilityRoutesOptions) => Elysia<"", {
|
|
118
|
-
decorator: {};
|
|
119
|
-
store: {};
|
|
120
|
-
derive: {};
|
|
121
|
-
resolve: {};
|
|
122
|
-
}, {
|
|
117
|
+
export declare const createVoiceSessionObservabilityRoutes: (options: VoiceSessionObservabilityRoutesOptions) => Elysia<"", "local", import("elysia/types").DefaultSingleton, {
|
|
123
118
|
typebox: {};
|
|
124
|
-
error:
|
|
125
|
-
}, {
|
|
126
|
-
schema: {};
|
|
127
|
-
standaloneSchema: {};
|
|
128
|
-
macro: {};
|
|
129
|
-
macroFn: {};
|
|
130
|
-
parser: {};
|
|
131
|
-
response: {};
|
|
132
|
-
}, {}, {
|
|
133
|
-
derive: {};
|
|
134
|
-
resolve: {};
|
|
135
|
-
schema: {};
|
|
136
|
-
standaloneSchema: {};
|
|
137
|
-
response: {};
|
|
138
|
-
}, {
|
|
139
|
-
derive: {};
|
|
140
|
-
resolve: {};
|
|
141
|
-
schema: {};
|
|
142
|
-
standaloneSchema: {};
|
|
143
|
-
response: {};
|
|
144
|
-
}>;
|
|
119
|
+
error: [];
|
|
120
|
+
}, import("elysia/types").DefaultMetadata, {}, import("elysia/types").DefaultEphemeral, import("elysia/types").DefaultEphemeral>;
|
|
145
121
|
export declare const evaluateVoiceSessionObservabilityEvidence: (report: VoiceSessionObservabilityReport, input?: VoiceSessionObservabilityEvidenceInput) => VoiceSessionObservabilityEvidenceReport;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Elysia } from "elysia";
|
|
2
1
|
import { type StoredVoiceTraceEvent, type VoiceTraceEvaluationOptions, type VoiceTraceEventStore, type VoiceTraceRedactionConfig, type VoiceTraceSummary, type VoiceTraceEvaluation } from "./trace";
|
|
3
2
|
export type VoiceSessionReplayTurn = {
|
|
4
3
|
assistantReplies: string[];
|
|
@@ -90,92 +89,24 @@ export type VoiceSessionReplayRoutesOptions = VoiceSessionReplayHTMLHandlerOptio
|
|
|
90
89
|
path?: string;
|
|
91
90
|
};
|
|
92
91
|
export declare const summarizeVoiceProviderFallbackRecovery: (events: StoredVoiceTraceEvent[]) => VoiceProviderFallbackRecoverySummary;
|
|
93
|
-
export declare const createVoiceSessionListRoutes: (options?: VoiceSessionListRoutesOptions) =>
|
|
94
|
-
decorator: {};
|
|
95
|
-
store: {};
|
|
96
|
-
derive: {};
|
|
97
|
-
resolve: {};
|
|
98
|
-
}, {
|
|
92
|
+
export declare const createVoiceSessionListRoutes: (options?: VoiceSessionListRoutesOptions) => import("elysia/types").AddRoute<"", "local", import("elysia/types").DefaultSingleton, {
|
|
99
93
|
typebox: {};
|
|
100
|
-
error:
|
|
101
|
-
}, {
|
|
102
|
-
|
|
103
|
-
|
|
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: VoiceSessionListItem[];
|
|
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<{}, {}, {}>>, {}, ({ query }: {
|
|
96
|
+
query?: Record<string, string | undefined>;
|
|
97
|
+
}) => Promise<VoiceSessionListItem[]>>;
|
|
133
98
|
export declare const createVoiceSessionReplayHTMLHandler: (options: VoiceSessionReplayHTMLHandlerOptions) => ({ params }: {
|
|
134
99
|
params: Record<string, string | undefined>;
|
|
135
100
|
}) => Promise<Response>;
|
|
136
101
|
export declare const createVoiceSessionReplayJSONHandler: (options: Omit<VoiceSessionReplayOptions, "sessionId">) => ({ params }: {
|
|
137
102
|
params: Record<string, string | undefined>;
|
|
138
103
|
}) => Promise<VoiceSessionReplay>;
|
|
139
|
-
export declare const createVoiceSessionReplayRoutes: (options: VoiceSessionReplayRoutesOptions) =>
|
|
140
|
-
decorator: {};
|
|
141
|
-
store: {};
|
|
142
|
-
derive: {};
|
|
143
|
-
resolve: {};
|
|
144
|
-
}, {
|
|
104
|
+
export declare const createVoiceSessionReplayRoutes: (options: VoiceSessionReplayRoutesOptions) => import("elysia/types").AddRoute<"", "local", import("elysia/types").DefaultSingleton, {
|
|
145
105
|
typebox: {};
|
|
146
|
-
error:
|
|
147
|
-
}, {
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
macro: {};
|
|
151
|
-
macroFn: {};
|
|
152
|
-
parser: {};
|
|
153
|
-
response: {};
|
|
154
|
-
}, {
|
|
155
|
-
[x: string]: {
|
|
156
|
-
get: {
|
|
157
|
-
body: unknown;
|
|
158
|
-
params: {};
|
|
159
|
-
query: unknown;
|
|
160
|
-
headers: unknown;
|
|
161
|
-
response: {
|
|
162
|
-
200: VoiceSessionReplay;
|
|
163
|
-
};
|
|
164
|
-
};
|
|
165
|
-
};
|
|
166
|
-
}, {
|
|
167
|
-
derive: {};
|
|
168
|
-
resolve: {};
|
|
169
|
-
schema: {};
|
|
170
|
-
standaloneSchema: {};
|
|
171
|
-
response: {};
|
|
172
|
-
}, {
|
|
173
|
-
derive: {};
|
|
174
|
-
resolve: {};
|
|
175
|
-
schema: {};
|
|
176
|
-
standaloneSchema: {};
|
|
177
|
-
response: {};
|
|
178
|
-
}>;
|
|
106
|
+
error: [];
|
|
107
|
+
}, 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<{}, {}, {}>>, {}, ({ params }: {
|
|
108
|
+
params: Record<string, string | undefined>;
|
|
109
|
+
}) => Promise<VoiceSessionReplay>>;
|
|
179
110
|
export declare const createVoiceSessionsHTMLHandler: (options?: VoiceSessionListHTMLHandlerOptions) => ({ query }: {
|
|
180
111
|
query?: Record<string, string | undefined>;
|
|
181
112
|
}) => Promise<Response>;
|