@absolutejs/voice 0.0.22-beta.671 → 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 +63 -27
- 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 +19 -11
- package/package.json +7 -81
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Elysia } from "elysia";
|
|
2
1
|
import type { VoiceRealCallProfileDefault, VoiceRealCallProfileDefaultsReport, VoiceRealCallProfileHistoryReport } from "./proofTrends";
|
|
3
2
|
import { type StoredVoiceAuditEvent, type VoiceAuditActor, type VoiceAuditEventStore } from "./audit";
|
|
4
3
|
import type { VoiceTraceEventStore } from "./trace";
|
|
@@ -216,135 +215,319 @@ export type VoiceProfileSwitchReadinessRoutesOptions = VoiceProfileSwitchReadine
|
|
|
216
215
|
};
|
|
217
216
|
export declare const applyVoiceProfileSwitchGuard: (options: VoiceProfileSwitchGuardOptions) => Promise<VoiceProfileSwitchGuardDecision>;
|
|
218
217
|
export declare const recommendVoiceProfileSwitch: (options: VoiceProfileSwitchRecommendationOptions) => VoiceProfileSwitchRecommendation;
|
|
219
|
-
export declare const createVoiceProfileSwitchPolicyProofRoutes: (options: VoiceProfileSwitchPolicyProofRoutesOptions) =>
|
|
220
|
-
decorator: {};
|
|
221
|
-
store: {};
|
|
222
|
-
derive: {};
|
|
223
|
-
resolve: {};
|
|
224
|
-
}, {
|
|
218
|
+
export declare const createVoiceProfileSwitchPolicyProofRoutes: (options: VoiceProfileSwitchPolicyProofRoutesOptions) => import("elysia/types").AddRoute<"", "local", import("elysia/types").DefaultSingleton, {
|
|
225
219
|
typebox: {};
|
|
226
|
-
error:
|
|
227
|
-
}, {
|
|
228
|
-
schema: {};
|
|
229
|
-
standaloneSchema: {};
|
|
230
|
-
macro: {};
|
|
231
|
-
macroFn: {};
|
|
232
|
-
parser: {};
|
|
233
|
-
response: {};
|
|
234
|
-
}, {
|
|
235
|
-
[x: string]: {
|
|
236
|
-
get: {
|
|
237
|
-
body: unknown;
|
|
238
|
-
params: {};
|
|
239
|
-
query: unknown;
|
|
240
|
-
headers: unknown;
|
|
241
|
-
response: {
|
|
242
|
-
200: VoiceProfileSwitchPolicyProofReport;
|
|
243
|
-
};
|
|
244
|
-
};
|
|
245
|
-
};
|
|
246
|
-
}, {
|
|
247
|
-
derive: {};
|
|
248
|
-
resolve: {};
|
|
249
|
-
schema: {};
|
|
250
|
-
standaloneSchema: {};
|
|
251
|
-
response: {};
|
|
252
|
-
}, {
|
|
253
|
-
derive: {};
|
|
254
|
-
resolve: {};
|
|
255
|
-
schema: {};
|
|
256
|
-
standaloneSchema: {};
|
|
257
|
-
response: {};
|
|
258
|
-
}>;
|
|
220
|
+
error: [];
|
|
221
|
+
}, 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<VoiceProfileSwitchPolicyProofReport>>;
|
|
259
222
|
export declare const renderVoiceProfileSwitchPolicyProofHTML: (report: VoiceProfileSwitchPolicyProofReport, options?: {
|
|
260
223
|
title?: string;
|
|
261
224
|
}) => string;
|
|
262
225
|
export declare const runVoiceProfileSwitchPolicyProof: (options: VoiceProfileSwitchPolicyProofOptions) => Promise<VoiceProfileSwitchPolicyProofReport>;
|
|
263
226
|
export declare const buildVoiceProfileSwitchLiveDecisionReport: (options: VoiceProfileSwitchLiveDecisionReportOptions) => Promise<VoiceProfileSwitchLiveDecisionReport>;
|
|
264
|
-
export declare const createVoiceProfileSwitchLiveDecisionRoutes: (options: VoiceProfileSwitchLiveDecisionRoutesOptions) =>
|
|
265
|
-
decorator: {};
|
|
266
|
-
store: {};
|
|
267
|
-
derive: {};
|
|
268
|
-
resolve: {};
|
|
269
|
-
}, {
|
|
227
|
+
export declare const createVoiceProfileSwitchLiveDecisionRoutes: (options: VoiceProfileSwitchLiveDecisionRoutesOptions) => import("elysia/types").AddRoute<"", "local", import("elysia/types").DefaultSingleton, {
|
|
270
228
|
typebox: {};
|
|
271
|
-
error:
|
|
272
|
-
}, {
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
query: unknown;
|
|
285
|
-
headers: unknown;
|
|
286
|
-
response: {
|
|
287
|
-
200: VoiceProfileSwitchLiveDecisionReport;
|
|
288
|
-
};
|
|
289
|
-
};
|
|
229
|
+
error: [];
|
|
230
|
+
}, 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 }: {
|
|
231
|
+
body: unknown;
|
|
232
|
+
query: Record<string, string | undefined>;
|
|
233
|
+
params: {};
|
|
234
|
+
headers: Record<string, string | undefined>;
|
|
235
|
+
cookie: Record<string, import("elysia").Cookie<unknown>>;
|
|
236
|
+
server: import("elysia").Server | null;
|
|
237
|
+
redirect: import("elysia").redirect;
|
|
238
|
+
set: {
|
|
239
|
+
headers: import("elysia").HTTPHeaders;
|
|
240
|
+
status?: number | keyof import("elysia").StatusMap;
|
|
241
|
+
cookie?: Record<string, import("elysia").BaseCookie>;
|
|
290
242
|
};
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
243
|
+
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 ? {
|
|
244
|
+
readonly 100: "Continue";
|
|
245
|
+
readonly 101: "Switching Protocols";
|
|
246
|
+
readonly 102: "Processing";
|
|
247
|
+
readonly 103: "Early Hints";
|
|
248
|
+
readonly 200: "OK";
|
|
249
|
+
readonly 201: "Created";
|
|
250
|
+
readonly 202: "Accepted";
|
|
251
|
+
readonly 203: "Non-Authoritative Information";
|
|
252
|
+
readonly 204: "No Content";
|
|
253
|
+
readonly 205: "Reset Content";
|
|
254
|
+
readonly 206: "Partial Content";
|
|
255
|
+
readonly 207: "Multi-Status";
|
|
256
|
+
readonly 208: "Already Reported";
|
|
257
|
+
readonly 300: "Multiple Choices";
|
|
258
|
+
readonly 301: "Moved Permanently";
|
|
259
|
+
readonly 302: "Found";
|
|
260
|
+
readonly 303: "See Other";
|
|
261
|
+
readonly 304: "Not Modified";
|
|
262
|
+
readonly 307: "Temporary Redirect";
|
|
263
|
+
readonly 308: "Permanent Redirect";
|
|
264
|
+
readonly 400: "Bad Request";
|
|
265
|
+
readonly 401: "Unauthorized";
|
|
266
|
+
readonly 402: "Payment Required";
|
|
267
|
+
readonly 403: "Forbidden";
|
|
268
|
+
readonly 404: "Not Found";
|
|
269
|
+
readonly 405: "Method Not Allowed";
|
|
270
|
+
readonly 406: "Not Acceptable";
|
|
271
|
+
readonly 407: "Proxy Authentication Required";
|
|
272
|
+
readonly 408: "Request Timeout";
|
|
273
|
+
readonly 409: "Conflict";
|
|
274
|
+
readonly 410: "Gone";
|
|
275
|
+
readonly 411: "Length Required";
|
|
276
|
+
readonly 412: "Precondition Failed";
|
|
277
|
+
readonly 413: "Payload Too Large";
|
|
278
|
+
readonly 414: "URI Too Long";
|
|
279
|
+
readonly 415: "Unsupported Media Type";
|
|
280
|
+
readonly 416: "Range Not Satisfiable";
|
|
281
|
+
readonly 417: "Expectation Failed";
|
|
282
|
+
readonly 418: "I'm a teapot";
|
|
283
|
+
readonly 420: "Enhance Your Calm";
|
|
284
|
+
readonly 421: "Misdirected Request";
|
|
285
|
+
readonly 422: "Unprocessable Content";
|
|
286
|
+
readonly 423: "Locked";
|
|
287
|
+
readonly 424: "Failed Dependency";
|
|
288
|
+
readonly 425: "Too Early";
|
|
289
|
+
readonly 426: "Upgrade Required";
|
|
290
|
+
readonly 428: "Precondition Required";
|
|
291
|
+
readonly 429: "Too Many Requests";
|
|
292
|
+
readonly 431: "Request Header Fields Too Large";
|
|
293
|
+
readonly 451: "Unavailable For Legal Reasons";
|
|
294
|
+
readonly 500: "Internal Server Error";
|
|
295
|
+
readonly 501: "Not Implemented";
|
|
296
|
+
readonly 502: "Bad Gateway";
|
|
297
|
+
readonly 503: "Service Unavailable";
|
|
298
|
+
readonly 504: "Gateway Timeout";
|
|
299
|
+
readonly 505: "HTTP Version Not Supported";
|
|
300
|
+
readonly 506: "Variant Also Negotiates";
|
|
301
|
+
readonly 507: "Insufficient Storage";
|
|
302
|
+
readonly 508: "Loop Detected";
|
|
303
|
+
readonly 510: "Not Extended";
|
|
304
|
+
readonly 511: "Network Authentication Required";
|
|
305
|
+
}[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" ? {
|
|
306
|
+
readonly Continue: 100;
|
|
307
|
+
readonly "Switching Protocols": 101;
|
|
308
|
+
readonly Processing: 102;
|
|
309
|
+
readonly "Early Hints": 103;
|
|
310
|
+
readonly OK: 200;
|
|
311
|
+
readonly Created: 201;
|
|
312
|
+
readonly Accepted: 202;
|
|
313
|
+
readonly "Non-Authoritative Information": 203;
|
|
314
|
+
readonly "No Content": 204;
|
|
315
|
+
readonly "Reset Content": 205;
|
|
316
|
+
readonly "Partial Content": 206;
|
|
317
|
+
readonly "Multi-Status": 207;
|
|
318
|
+
readonly "Already Reported": 208;
|
|
319
|
+
readonly "Multiple Choices": 300;
|
|
320
|
+
readonly "Moved Permanently": 301;
|
|
321
|
+
readonly Found: 302;
|
|
322
|
+
readonly "See Other": 303;
|
|
323
|
+
readonly "Not Modified": 304;
|
|
324
|
+
readonly "Temporary Redirect": 307;
|
|
325
|
+
readonly "Permanent Redirect": 308;
|
|
326
|
+
readonly "Bad Request": 400;
|
|
327
|
+
readonly Unauthorized: 401;
|
|
328
|
+
readonly "Payment Required": 402;
|
|
329
|
+
readonly Forbidden: 403;
|
|
330
|
+
readonly "Not Found": 404;
|
|
331
|
+
readonly "Method Not Allowed": 405;
|
|
332
|
+
readonly "Not Acceptable": 406;
|
|
333
|
+
readonly "Proxy Authentication Required": 407;
|
|
334
|
+
readonly "Request Timeout": 408;
|
|
335
|
+
readonly Conflict: 409;
|
|
336
|
+
readonly Gone: 410;
|
|
337
|
+
readonly "Length Required": 411;
|
|
338
|
+
readonly "Precondition Failed": 412;
|
|
339
|
+
readonly "Payload Too Large": 413;
|
|
340
|
+
readonly "URI Too Long": 414;
|
|
341
|
+
readonly "Unsupported Media Type": 415;
|
|
342
|
+
readonly "Range Not Satisfiable": 416;
|
|
343
|
+
readonly "Expectation Failed": 417;
|
|
344
|
+
readonly "I'm a teapot": 418;
|
|
345
|
+
readonly "Enhance Your Calm": 420;
|
|
346
|
+
readonly "Misdirected Request": 421;
|
|
347
|
+
readonly "Unprocessable Content": 422;
|
|
348
|
+
readonly Locked: 423;
|
|
349
|
+
readonly "Failed Dependency": 424;
|
|
350
|
+
readonly "Too Early": 425;
|
|
351
|
+
readonly "Upgrade Required": 426;
|
|
352
|
+
readonly "Precondition Required": 428;
|
|
353
|
+
readonly "Too Many Requests": 429;
|
|
354
|
+
readonly "Request Header Fields Too Large": 431;
|
|
355
|
+
readonly "Unavailable For Legal Reasons": 451;
|
|
356
|
+
readonly "Internal Server Error": 500;
|
|
357
|
+
readonly "Not Implemented": 501;
|
|
358
|
+
readonly "Bad Gateway": 502;
|
|
359
|
+
readonly "Service Unavailable": 503;
|
|
360
|
+
readonly "Gateway Timeout": 504;
|
|
361
|
+
readonly "HTTP Version Not Supported": 505;
|
|
362
|
+
readonly "Variant Also Negotiates": 506;
|
|
363
|
+
readonly "Insufficient Storage": 507;
|
|
364
|
+
readonly "Loop Detected": 508;
|
|
365
|
+
readonly "Not Extended": 510;
|
|
366
|
+
readonly "Network Authentication Required": 511;
|
|
367
|
+
}[Code] : Code>;
|
|
368
|
+
defer: (fn: import("elysia/types").AfterResponseHandler<NoInfer<import("elysia/types").IntersectIfObjectSchema<import("elysia").UnwrapRoute<{}, {}, `/${string}`>, import("elysia/types").MergeScopedSchemas<{}, {}, {}>>>, NoInfer<import("elysia/types").DefaultSingleton & {
|
|
369
|
+
derive: {};
|
|
370
|
+
}>>) => import("elysia/types").MaybePromise<void>;
|
|
371
|
+
readonly path: string;
|
|
372
|
+
route?: string | undefined;
|
|
373
|
+
rid?: string | undefined;
|
|
374
|
+
request: Request;
|
|
375
|
+
store: {};
|
|
376
|
+
}) => Promise<VoiceProfileSwitchLiveDecisionReport>>;
|
|
304
377
|
export declare const renderVoiceProfileSwitchLiveDecisionHTML: (report: VoiceProfileSwitchLiveDecisionReport, options?: {
|
|
305
378
|
title?: string;
|
|
306
379
|
}) => string;
|
|
307
380
|
export declare const buildVoiceProfileSwitchReadinessReport: (options: VoiceProfileSwitchReadinessOptions) => Promise<VoiceProfileSwitchReadinessReport>;
|
|
308
|
-
export declare const createVoiceProfileSwitchReadinessRoutes: (options: VoiceProfileSwitchReadinessRoutesOptions) =>
|
|
309
|
-
decorator: {};
|
|
310
|
-
store: {};
|
|
311
|
-
derive: {};
|
|
312
|
-
resolve: {};
|
|
313
|
-
}, {
|
|
381
|
+
export declare const createVoiceProfileSwitchReadinessRoutes: (options: VoiceProfileSwitchReadinessRoutesOptions) => import("elysia/types").AddRoute<"", "local", import("elysia/types").DefaultSingleton, {
|
|
314
382
|
typebox: {};
|
|
315
|
-
error:
|
|
316
|
-
}, {
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
query: unknown;
|
|
329
|
-
headers: unknown;
|
|
330
|
-
response: {
|
|
331
|
-
200: VoiceProfileSwitchReadinessReport;
|
|
332
|
-
};
|
|
333
|
-
};
|
|
383
|
+
error: [];
|
|
384
|
+
}, 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 }: {
|
|
385
|
+
body: unknown;
|
|
386
|
+
query: Record<string, string | undefined>;
|
|
387
|
+
params: {};
|
|
388
|
+
headers: Record<string, string | undefined>;
|
|
389
|
+
cookie: Record<string, import("elysia").Cookie<unknown>>;
|
|
390
|
+
server: import("elysia").Server | null;
|
|
391
|
+
redirect: import("elysia").redirect;
|
|
392
|
+
set: {
|
|
393
|
+
headers: import("elysia").HTTPHeaders;
|
|
394
|
+
status?: number | keyof import("elysia").StatusMap;
|
|
395
|
+
cookie?: Record<string, import("elysia").BaseCookie>;
|
|
334
396
|
};
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
397
|
+
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 ? {
|
|
398
|
+
readonly 100: "Continue";
|
|
399
|
+
readonly 101: "Switching Protocols";
|
|
400
|
+
readonly 102: "Processing";
|
|
401
|
+
readonly 103: "Early Hints";
|
|
402
|
+
readonly 200: "OK";
|
|
403
|
+
readonly 201: "Created";
|
|
404
|
+
readonly 202: "Accepted";
|
|
405
|
+
readonly 203: "Non-Authoritative Information";
|
|
406
|
+
readonly 204: "No Content";
|
|
407
|
+
readonly 205: "Reset Content";
|
|
408
|
+
readonly 206: "Partial Content";
|
|
409
|
+
readonly 207: "Multi-Status";
|
|
410
|
+
readonly 208: "Already Reported";
|
|
411
|
+
readonly 300: "Multiple Choices";
|
|
412
|
+
readonly 301: "Moved Permanently";
|
|
413
|
+
readonly 302: "Found";
|
|
414
|
+
readonly 303: "See Other";
|
|
415
|
+
readonly 304: "Not Modified";
|
|
416
|
+
readonly 307: "Temporary Redirect";
|
|
417
|
+
readonly 308: "Permanent Redirect";
|
|
418
|
+
readonly 400: "Bad Request";
|
|
419
|
+
readonly 401: "Unauthorized";
|
|
420
|
+
readonly 402: "Payment Required";
|
|
421
|
+
readonly 403: "Forbidden";
|
|
422
|
+
readonly 404: "Not Found";
|
|
423
|
+
readonly 405: "Method Not Allowed";
|
|
424
|
+
readonly 406: "Not Acceptable";
|
|
425
|
+
readonly 407: "Proxy Authentication Required";
|
|
426
|
+
readonly 408: "Request Timeout";
|
|
427
|
+
readonly 409: "Conflict";
|
|
428
|
+
readonly 410: "Gone";
|
|
429
|
+
readonly 411: "Length Required";
|
|
430
|
+
readonly 412: "Precondition Failed";
|
|
431
|
+
readonly 413: "Payload Too Large";
|
|
432
|
+
readonly 414: "URI Too Long";
|
|
433
|
+
readonly 415: "Unsupported Media Type";
|
|
434
|
+
readonly 416: "Range Not Satisfiable";
|
|
435
|
+
readonly 417: "Expectation Failed";
|
|
436
|
+
readonly 418: "I'm a teapot";
|
|
437
|
+
readonly 420: "Enhance Your Calm";
|
|
438
|
+
readonly 421: "Misdirected Request";
|
|
439
|
+
readonly 422: "Unprocessable Content";
|
|
440
|
+
readonly 423: "Locked";
|
|
441
|
+
readonly 424: "Failed Dependency";
|
|
442
|
+
readonly 425: "Too Early";
|
|
443
|
+
readonly 426: "Upgrade Required";
|
|
444
|
+
readonly 428: "Precondition Required";
|
|
445
|
+
readonly 429: "Too Many Requests";
|
|
446
|
+
readonly 431: "Request Header Fields Too Large";
|
|
447
|
+
readonly 451: "Unavailable For Legal Reasons";
|
|
448
|
+
readonly 500: "Internal Server Error";
|
|
449
|
+
readonly 501: "Not Implemented";
|
|
450
|
+
readonly 502: "Bad Gateway";
|
|
451
|
+
readonly 503: "Service Unavailable";
|
|
452
|
+
readonly 504: "Gateway Timeout";
|
|
453
|
+
readonly 505: "HTTP Version Not Supported";
|
|
454
|
+
readonly 506: "Variant Also Negotiates";
|
|
455
|
+
readonly 507: "Insufficient Storage";
|
|
456
|
+
readonly 508: "Loop Detected";
|
|
457
|
+
readonly 510: "Not Extended";
|
|
458
|
+
readonly 511: "Network Authentication Required";
|
|
459
|
+
}[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" ? {
|
|
460
|
+
readonly Continue: 100;
|
|
461
|
+
readonly "Switching Protocols": 101;
|
|
462
|
+
readonly Processing: 102;
|
|
463
|
+
readonly "Early Hints": 103;
|
|
464
|
+
readonly OK: 200;
|
|
465
|
+
readonly Created: 201;
|
|
466
|
+
readonly Accepted: 202;
|
|
467
|
+
readonly "Non-Authoritative Information": 203;
|
|
468
|
+
readonly "No Content": 204;
|
|
469
|
+
readonly "Reset Content": 205;
|
|
470
|
+
readonly "Partial Content": 206;
|
|
471
|
+
readonly "Multi-Status": 207;
|
|
472
|
+
readonly "Already Reported": 208;
|
|
473
|
+
readonly "Multiple Choices": 300;
|
|
474
|
+
readonly "Moved Permanently": 301;
|
|
475
|
+
readonly Found: 302;
|
|
476
|
+
readonly "See Other": 303;
|
|
477
|
+
readonly "Not Modified": 304;
|
|
478
|
+
readonly "Temporary Redirect": 307;
|
|
479
|
+
readonly "Permanent Redirect": 308;
|
|
480
|
+
readonly "Bad Request": 400;
|
|
481
|
+
readonly Unauthorized: 401;
|
|
482
|
+
readonly "Payment Required": 402;
|
|
483
|
+
readonly Forbidden: 403;
|
|
484
|
+
readonly "Not Found": 404;
|
|
485
|
+
readonly "Method Not Allowed": 405;
|
|
486
|
+
readonly "Not Acceptable": 406;
|
|
487
|
+
readonly "Proxy Authentication Required": 407;
|
|
488
|
+
readonly "Request Timeout": 408;
|
|
489
|
+
readonly Conflict: 409;
|
|
490
|
+
readonly Gone: 410;
|
|
491
|
+
readonly "Length Required": 411;
|
|
492
|
+
readonly "Precondition Failed": 412;
|
|
493
|
+
readonly "Payload Too Large": 413;
|
|
494
|
+
readonly "URI Too Long": 414;
|
|
495
|
+
readonly "Unsupported Media Type": 415;
|
|
496
|
+
readonly "Range Not Satisfiable": 416;
|
|
497
|
+
readonly "Expectation Failed": 417;
|
|
498
|
+
readonly "I'm a teapot": 418;
|
|
499
|
+
readonly "Enhance Your Calm": 420;
|
|
500
|
+
readonly "Misdirected Request": 421;
|
|
501
|
+
readonly "Unprocessable Content": 422;
|
|
502
|
+
readonly Locked: 423;
|
|
503
|
+
readonly "Failed Dependency": 424;
|
|
504
|
+
readonly "Too Early": 425;
|
|
505
|
+
readonly "Upgrade Required": 426;
|
|
506
|
+
readonly "Precondition Required": 428;
|
|
507
|
+
readonly "Too Many Requests": 429;
|
|
508
|
+
readonly "Request Header Fields Too Large": 431;
|
|
509
|
+
readonly "Unavailable For Legal Reasons": 451;
|
|
510
|
+
readonly "Internal Server Error": 500;
|
|
511
|
+
readonly "Not Implemented": 501;
|
|
512
|
+
readonly "Bad Gateway": 502;
|
|
513
|
+
readonly "Service Unavailable": 503;
|
|
514
|
+
readonly "Gateway Timeout": 504;
|
|
515
|
+
readonly "HTTP Version Not Supported": 505;
|
|
516
|
+
readonly "Variant Also Negotiates": 506;
|
|
517
|
+
readonly "Insufficient Storage": 507;
|
|
518
|
+
readonly "Loop Detected": 508;
|
|
519
|
+
readonly "Not Extended": 510;
|
|
520
|
+
readonly "Network Authentication Required": 511;
|
|
521
|
+
}[Code] : Code>;
|
|
522
|
+
defer: (fn: import("elysia/types").AfterResponseHandler<NoInfer<import("elysia/types").IntersectIfObjectSchema<import("elysia").UnwrapRoute<{}, {}, `/${string}`>, import("elysia/types").MergeScopedSchemas<{}, {}, {}>>>, NoInfer<import("elysia/types").DefaultSingleton & {
|
|
523
|
+
derive: {};
|
|
524
|
+
}>>) => import("elysia/types").MaybePromise<void>;
|
|
525
|
+
readonly path: string;
|
|
526
|
+
route?: string | undefined;
|
|
527
|
+
rid?: string | undefined;
|
|
528
|
+
request: Request;
|
|
529
|
+
store: {};
|
|
530
|
+
}) => Promise<VoiceProfileSwitchReadinessReport>>;
|
|
348
531
|
export declare const renderVoiceProfileSwitchReadinessHTML: (report: VoiceProfileSwitchReadinessReport, options?: {
|
|
349
532
|
title?: string;
|
|
350
533
|
}) => string;
|
package/dist/core/proofPack.d.ts
CHANGED
|
@@ -174,34 +174,10 @@ export declare const createVoiceProofPackArtifacts: (input: {
|
|
|
174
174
|
markdownPath?: string;
|
|
175
175
|
proofPack: VoiceProofPack;
|
|
176
176
|
}) => VoiceObservabilityExportArtifact[];
|
|
177
|
-
export declare const createVoiceProofPackRoutes: (options: VoiceProofPackRoutesOptions) => Elysia<"", {
|
|
178
|
-
decorator: {};
|
|
179
|
-
store: {};
|
|
180
|
-
derive: {};
|
|
181
|
-
resolve: {};
|
|
182
|
-
}, {
|
|
177
|
+
export declare const createVoiceProofPackRoutes: (options: VoiceProofPackRoutesOptions) => Elysia<"", "local", import("elysia/types").DefaultSingleton, {
|
|
183
178
|
typebox: {};
|
|
184
|
-
error:
|
|
185
|
-
}, {
|
|
186
|
-
schema: {};
|
|
187
|
-
standaloneSchema: {};
|
|
188
|
-
macro: {};
|
|
189
|
-
macroFn: {};
|
|
190
|
-
parser: {};
|
|
191
|
-
response: {};
|
|
192
|
-
}, {}, {
|
|
193
|
-
derive: {};
|
|
194
|
-
resolve: {};
|
|
195
|
-
schema: {};
|
|
196
|
-
standaloneSchema: {};
|
|
197
|
-
response: {};
|
|
198
|
-
}, {
|
|
199
|
-
derive: {};
|
|
200
|
-
resolve: {};
|
|
201
|
-
schema: {};
|
|
202
|
-
standaloneSchema: {};
|
|
203
|
-
response: {};
|
|
204
|
-
}>;
|
|
179
|
+
error: [];
|
|
180
|
+
}, import("elysia/types").DefaultMetadata, {}, import("elysia/types").DefaultEphemeral, import("elysia/types").DefaultEphemeral>;
|
|
205
181
|
export declare const createVoiceProofPackStaleWhileRefreshSource: (options: VoiceProofPackStaleWhileRefreshSourceOptions) => VoiceProofPackStaleWhileRefreshSource;
|
|
206
182
|
export declare const renderVoiceProofPackMarkdown: (proofPack: VoiceProofPack) => string;
|
|
207
183
|
export declare const writeVoiceProofPack: (input: VoiceProofPackInput | VoiceProofPack, options?: {
|
|
@@ -817,150 +817,30 @@ export declare const resolveVoiceRealCallProfileProviderRoute: <TProvider extend
|
|
|
817
817
|
export declare const assertVoiceProofTrendEvidence: (report: VoiceProofTrendReport, input?: VoiceProofTrendAssertionInput) => VoiceProofTrendAssertionReport;
|
|
818
818
|
export declare const evaluateVoiceProofTrendEvidence: (report: VoiceProofTrendReport, input?: VoiceProofTrendAssertionInput) => VoiceProofTrendAssertionReport;
|
|
819
819
|
export declare const buildVoiceProofTrendRecommendationReport: (report: VoiceProofTrendReport, options?: VoiceProofTrendRecommendationOptions) => VoiceProofTrendRecommendationReport;
|
|
820
|
-
export declare const createVoiceProofTrendRecommendationRoutes: (options: VoiceProofTrendRecommendationRoutesOptions) => Elysia<"", {
|
|
821
|
-
decorator: {};
|
|
822
|
-
store: {};
|
|
823
|
-
derive: {};
|
|
824
|
-
resolve: {};
|
|
825
|
-
}, {
|
|
820
|
+
export declare const createVoiceProofTrendRecommendationRoutes: (options: VoiceProofTrendRecommendationRoutesOptions) => Elysia<"", "local", import("elysia/types").DefaultSingleton, {
|
|
826
821
|
typebox: {};
|
|
827
|
-
error:
|
|
828
|
-
}, {
|
|
829
|
-
|
|
830
|
-
standaloneSchema: {};
|
|
831
|
-
macro: {};
|
|
832
|
-
macroFn: {};
|
|
833
|
-
parser: {};
|
|
834
|
-
response: {};
|
|
835
|
-
}, {}, {
|
|
836
|
-
derive: {};
|
|
837
|
-
resolve: {};
|
|
838
|
-
schema: {};
|
|
839
|
-
standaloneSchema: {};
|
|
840
|
-
response: {};
|
|
841
|
-
}, {
|
|
842
|
-
derive: {};
|
|
843
|
-
resolve: {};
|
|
844
|
-
schema: {};
|
|
845
|
-
standaloneSchema: {};
|
|
846
|
-
response: {};
|
|
847
|
-
}>;
|
|
848
|
-
export declare const createVoiceRealCallEvidenceRuntimeRoutes: (options: VoiceRealCallEvidenceRuntimeRoutesOptions) => Elysia<"", {
|
|
849
|
-
decorator: {};
|
|
850
|
-
store: {};
|
|
851
|
-
derive: {};
|
|
852
|
-
resolve: {};
|
|
853
|
-
}, {
|
|
822
|
+
error: [];
|
|
823
|
+
}, import("elysia/types").DefaultMetadata, {}, import("elysia/types").DefaultEphemeral, import("elysia/types").DefaultEphemeral>;
|
|
824
|
+
export declare const createVoiceRealCallEvidenceRuntimeRoutes: (options: VoiceRealCallEvidenceRuntimeRoutesOptions) => Elysia<"", "local", import("elysia/types").DefaultSingleton, {
|
|
854
825
|
typebox: {};
|
|
855
|
-
error:
|
|
856
|
-
}, {
|
|
857
|
-
|
|
858
|
-
standaloneSchema: {};
|
|
859
|
-
macro: {};
|
|
860
|
-
macroFn: {};
|
|
861
|
-
parser: {};
|
|
862
|
-
response: {};
|
|
863
|
-
}, {}, {
|
|
864
|
-
derive: {};
|
|
865
|
-
resolve: {};
|
|
866
|
-
schema: {};
|
|
867
|
-
standaloneSchema: {};
|
|
868
|
-
response: {};
|
|
869
|
-
}, {
|
|
870
|
-
derive: {};
|
|
871
|
-
resolve: {};
|
|
872
|
-
schema: {};
|
|
873
|
-
standaloneSchema: {};
|
|
874
|
-
response: {};
|
|
875
|
-
}>;
|
|
876
|
-
export declare const createVoiceRealCallProfileHistoryRoutes: (options?: VoiceRealCallProfileHistoryRoutesOptions) => Elysia<"", {
|
|
877
|
-
decorator: {};
|
|
878
|
-
store: {};
|
|
879
|
-
derive: {};
|
|
880
|
-
resolve: {};
|
|
881
|
-
}, {
|
|
826
|
+
error: [];
|
|
827
|
+
}, import("elysia/types").DefaultMetadata, {}, import("elysia/types").DefaultEphemeral, import("elysia/types").DefaultEphemeral>;
|
|
828
|
+
export declare const createVoiceRealCallProfileHistoryRoutes: (options?: VoiceRealCallProfileHistoryRoutesOptions) => Elysia<"", "local", import("elysia/types").DefaultSingleton, {
|
|
882
829
|
typebox: {};
|
|
883
|
-
error:
|
|
884
|
-
}, {
|
|
885
|
-
schema: {};
|
|
886
|
-
standaloneSchema: {};
|
|
887
|
-
macro: {};
|
|
888
|
-
macroFn: {};
|
|
889
|
-
parser: {};
|
|
890
|
-
response: {};
|
|
891
|
-
}, {}, {
|
|
892
|
-
derive: {};
|
|
893
|
-
resolve: {};
|
|
894
|
-
schema: {};
|
|
895
|
-
standaloneSchema: {};
|
|
896
|
-
response: {};
|
|
897
|
-
}, {
|
|
898
|
-
derive: {};
|
|
899
|
-
resolve: {};
|
|
900
|
-
schema: {};
|
|
901
|
-
standaloneSchema: {};
|
|
902
|
-
response: {};
|
|
903
|
-
}>;
|
|
830
|
+
error: [];
|
|
831
|
+
}, import("elysia/types").DefaultMetadata, {}, import("elysia/types").DefaultEphemeral, import("elysia/types").DefaultEphemeral>;
|
|
904
832
|
export declare const renderVoiceProofTrendRecommendationHTML: (report: VoiceProofTrendRecommendationReport, title?: string) => string;
|
|
905
833
|
export declare const renderVoiceProofTrendRecommendationMarkdown: (report: VoiceProofTrendRecommendationReport, title?: string) => string;
|
|
906
834
|
export declare const renderVoiceRealCallEvidenceRuntimeHTML: (report: VoiceRealCallEvidenceRuntimeReport, title?: string) => string;
|
|
907
835
|
export declare const renderVoiceRealCallEvidenceRuntimeMarkdown: (report: VoiceRealCallEvidenceRuntimeReport, title?: string) => string;
|
|
908
836
|
export declare const renderVoiceRealCallProfileHistoryHTML: (report: VoiceRealCallProfileHistoryReport, title?: string) => string;
|
|
909
837
|
export declare const renderVoiceRealCallProfileHistoryMarkdown: (report: VoiceRealCallProfileHistoryReport, title?: string) => string;
|
|
910
|
-
export declare const createVoiceProofTrendRoutes: (options: VoiceProofTrendRoutesOptions) => Elysia<"", {
|
|
911
|
-
decorator: {};
|
|
912
|
-
store: {};
|
|
913
|
-
derive: {};
|
|
914
|
-
resolve: {};
|
|
915
|
-
}, {
|
|
838
|
+
export declare const createVoiceProofTrendRoutes: (options: VoiceProofTrendRoutesOptions) => Elysia<"", "local", import("elysia/types").DefaultSingleton, {
|
|
916
839
|
typebox: {};
|
|
917
|
-
error:
|
|
918
|
-
}, {
|
|
919
|
-
|
|
920
|
-
standaloneSchema: {};
|
|
921
|
-
macro: {};
|
|
922
|
-
macroFn: {};
|
|
923
|
-
parser: {};
|
|
924
|
-
response: {};
|
|
925
|
-
}, {}, {
|
|
926
|
-
derive: {};
|
|
927
|
-
resolve: {};
|
|
928
|
-
schema: {};
|
|
929
|
-
standaloneSchema: {};
|
|
930
|
-
response: {};
|
|
931
|
-
}, {
|
|
932
|
-
derive: {};
|
|
933
|
-
resolve: {};
|
|
934
|
-
schema: {};
|
|
935
|
-
standaloneSchema: {};
|
|
936
|
-
response: {};
|
|
937
|
-
}>;
|
|
938
|
-
export declare const createVoiceRealCallProfileRecoveryActionRoutes: (options?: VoiceRealCallProfileRecoveryActionRoutesOptions) => Elysia<"", {
|
|
939
|
-
decorator: {};
|
|
940
|
-
store: {};
|
|
941
|
-
derive: {};
|
|
942
|
-
resolve: {};
|
|
943
|
-
}, {
|
|
840
|
+
error: [];
|
|
841
|
+
}, import("elysia/types").DefaultMetadata, {}, import("elysia/types").DefaultEphemeral, import("elysia/types").DefaultEphemeral>;
|
|
842
|
+
export declare const createVoiceRealCallProfileRecoveryActionRoutes: (options?: VoiceRealCallProfileRecoveryActionRoutesOptions) => Elysia<"", "local", import("elysia/types").DefaultSingleton, {
|
|
944
843
|
typebox: {};
|
|
945
|
-
error:
|
|
946
|
-
}, {
|
|
947
|
-
schema: {};
|
|
948
|
-
standaloneSchema: {};
|
|
949
|
-
macro: {};
|
|
950
|
-
macroFn: {};
|
|
951
|
-
parser: {};
|
|
952
|
-
response: {};
|
|
953
|
-
}, {}, {
|
|
954
|
-
derive: {};
|
|
955
|
-
resolve: {};
|
|
956
|
-
schema: {};
|
|
957
|
-
standaloneSchema: {};
|
|
958
|
-
response: {};
|
|
959
|
-
}, {
|
|
960
|
-
derive: {};
|
|
961
|
-
resolve: {};
|
|
962
|
-
schema: {};
|
|
963
|
-
standaloneSchema: {};
|
|
964
|
-
response: {};
|
|
965
|
-
}>;
|
|
844
|
+
error: [];
|
|
845
|
+
}, import("elysia/types").DefaultMetadata, {}, import("elysia/types").DefaultEphemeral, import("elysia/types").DefaultEphemeral>;
|
|
966
846
|
export declare const formatVoiceProofTrendAge: (ageMs: unknown) => string;
|