@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.
Files changed (73) hide show
  1. package/dist/core/assistantHealth.d.ts +3 -40
  2. package/dist/core/auditDeliveryRoutes.d.ts +5 -40
  3. package/dist/core/auditRoutes.d.ts +3 -27
  4. package/dist/core/bargeInRoutes.d.ts +3 -27
  5. package/dist/core/browserCallProfiles.d.ts +3 -27
  6. package/dist/core/browserMediaRoutes.d.ts +3 -27
  7. package/dist/core/callDebugger.d.ts +3 -27
  8. package/dist/core/campaign.d.ts +166 -143
  9. package/dist/core/competitiveCoverage.d.ts +3 -40
  10. package/dist/core/dataControl.d.ts +3 -27
  11. package/dist/core/deliveryRuntime.d.ts +3 -40
  12. package/dist/core/deliverySinkRoutes.d.ts +3 -40
  13. package/dist/core/demoReadyRoutes.d.ts +3 -27
  14. package/dist/core/diagnosticsRoutes.d.ts +3 -27
  15. package/dist/core/evalRoutes.d.ts +3 -27
  16. package/dist/core/guardrails.d.ts +3 -27
  17. package/dist/core/handoffHealth.d.ts +5 -40
  18. package/dist/core/htmxDashboardRoutes.d.ts +309 -195
  19. package/dist/core/incidentBundle.d.ts +3 -27
  20. package/dist/core/incidentTimeline.d.ts +3 -40
  21. package/dist/core/liveLatency.d.ts +3 -40
  22. package/dist/core/liveOps.d.ts +154 -44
  23. package/dist/core/mediaPipelineRoutes.d.ts +3 -40
  24. package/dist/core/monitor.d.ts +5 -19
  25. package/dist/core/observabilityExport.d.ts +6 -54
  26. package/dist/core/operationalStatus.d.ts +3 -40
  27. package/dist/core/operationsRecord.d.ts +3 -27
  28. package/dist/core/opsActionAuditRoutes.d.ts +160 -51
  29. package/dist/core/opsConsoleRoutes.d.ts +3 -27
  30. package/dist/core/opsRecovery.d.ts +3 -40
  31. package/dist/core/opsStatusRoutes.d.ts +3 -27
  32. package/dist/core/opsWebhook.d.ts +158 -49
  33. package/dist/core/outcomeContract.d.ts +3 -40
  34. package/dist/core/phoneAgentProductionSmoke.d.ts +6 -40
  35. package/dist/core/platformCoverage.d.ts +3 -27
  36. package/dist/core/plugin.d.ts +12 -40
  37. package/dist/core/postCallAnalysis.d.ts +3 -27
  38. package/dist/core/productionReadiness.d.ts +3 -27
  39. package/dist/core/profileSwitchRecommendation.d.ts +299 -116
  40. package/dist/core/proofPack.d.ts +3 -27
  41. package/dist/core/proofTrends.d.ts +15 -135
  42. package/dist/core/providerCapabilities.d.ts +3 -40
  43. package/dist/core/providerDecisionTraces.d.ts +3 -40
  44. package/dist/core/providerHealth.d.ts +3 -40
  45. package/dist/core/providerOrchestration.d.ts +3 -40
  46. package/dist/core/providerSlo.d.ts +3 -27
  47. package/dist/core/providerStackRecommendations.d.ts +3 -27
  48. package/dist/core/qualityRoutes.d.ts +3 -27
  49. package/dist/core/realtimeChannel.d.ts +3 -40
  50. package/dist/core/realtimeProviderContracts.d.ts +3 -40
  51. package/dist/core/reconnectContract.d.ts +153 -79
  52. package/dist/core/resilienceRoutes.d.ts +3 -40
  53. package/dist/core/routeAuth.d.ts +3 -29
  54. package/dist/core/sessionObservability.d.ts +3 -27
  55. package/dist/core/sessionReplay.d.ts +10 -79
  56. package/dist/core/sessionSnapshot.d.ts +148 -39
  57. package/dist/core/simulationSuite.d.ts +3 -40
  58. package/dist/core/sloCalibration.d.ts +6 -54
  59. package/dist/core/telephonyMediaRoutes.d.ts +3 -27
  60. package/dist/core/telephonyOutcome.d.ts +148 -39
  61. package/dist/core/toolContract.d.ts +3 -40
  62. package/dist/core/traceDeliveryRoutes.d.ts +5 -40
  63. package/dist/core/traceTimeline.d.ts +3 -27
  64. package/dist/core/turnLatency.d.ts +3 -40
  65. package/dist/core/turnQuality.d.ts +3 -40
  66. package/dist/core/voiceMonitoring.d.ts +164 -115
  67. package/dist/index.js +63 -27
  68. package/dist/telephony/matrix.d.ts +148 -39
  69. package/dist/telephony/plivo.d.ts +10 -33
  70. package/dist/telephony/security.d.ts +3 -40
  71. package/dist/telephony/telnyx.d.ts +10 -33
  72. package/dist/testing/index.js +19 -11
  73. package/package.json +7 -81
@@ -18,105 +18,168 @@ export type VoiceHTMXCostDashboardRoutesOptions = VoiceHTMXDashboardRoutesShared
18
18
  title?: string;
19
19
  toMs?: () => number | undefined;
20
20
  };
21
- export declare const createVoiceCostDashboardHTMXRoute: (options: VoiceHTMXCostDashboardRoutesOptions) => Elysia<"", {
22
- decorator: {};
23
- store: {};
24
- derive: {};
25
- resolve: {};
26
- }, {
21
+ export declare const createVoiceCostDashboardHTMXRoute: (options: VoiceHTMXCostDashboardRoutesOptions) => import("elysia/types").AddRoute<"", "local", import("elysia/types").DefaultSingleton, {
27
22
  typebox: {};
28
- error: {};
29
- }, {
30
- schema: {};
31
- standaloneSchema: {};
32
- macro: {};
33
- macroFn: {};
34
- parser: {};
35
- response: {};
36
- }, {
37
- [x: string]: {
38
- get: {
39
- body: unknown;
40
- params: {};
41
- query: unknown;
42
- headers: unknown;
43
- response: {
44
- 200: Response;
45
- };
46
- };
47
- };
48
- }, {
49
- derive: {};
50
- resolve: {};
51
- schema: {};
52
- standaloneSchema: {};
53
- response: {};
54
- }, {
55
- derive: {};
56
- resolve: {};
57
- schema: {};
58
- standaloneSchema: {};
59
- response: {};
60
- }>;
23
+ error: [];
24
+ }, 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>>;
61
25
  export type VoiceHTMXReplayTimelineRoutesOptions = VoiceHTMXDashboardRoutesShared & {
62
26
  /** The HTML route mounts at `${path}/:artifactId`. */
63
27
  path?: string;
64
28
  resolveArtifact: (artifactId: string) => Promise<StoredVoiceCallReviewArtifact | undefined> | StoredVoiceCallReviewArtifact | undefined;
65
29
  title?: string;
66
30
  };
67
- export declare const createVoiceReplayTimelineHTMXRoute: (options: VoiceHTMXReplayTimelineRoutesOptions) => Elysia<"", {
68
- decorator: {};
69
- store: {};
70
- derive: {};
71
- resolve: {};
72
- }, {
31
+ export declare const createVoiceReplayTimelineHTMXRoute: (options: VoiceHTMXReplayTimelineRoutesOptions) => import("elysia/types").AddRoute<"", "local", import("elysia/types").DefaultSingleton, {
73
32
  typebox: {};
74
- error: {};
75
- }, {
76
- schema: {};
77
- standaloneSchema: {};
78
- macro: {};
79
- macroFn: {};
80
- parser: {};
81
- response: {};
82
- }, {
83
- [x: string]: {
84
- ":artifactId": {
85
- get: {
86
- body: unknown;
87
- params: {
88
- artifactId: string;
89
- } & {};
90
- query: unknown;
91
- headers: unknown;
92
- response: {
93
- 200: Response;
94
- 422: {
95
- type: "validation";
96
- on: string;
97
- summary?: string;
98
- message?: string;
99
- found?: unknown;
100
- property?: string;
101
- expected?: string;
102
- };
103
- };
104
- };
105
- };
33
+ error: [];
34
+ }, import("elysia/types").DefaultMetadata, {}, import("elysia/types").DefaultEphemeral, import("elysia/types").DefaultEphemeral, "get", `${string}/:artifactId`, import("elysia/types").IntersectIfObjectSchema<import("elysia").UnwrapRoute<{}, {}, `/${string}/:artifactId`>, import("elysia/types").MergeScopedSchemas<{}, {}, {}>>, {}, ({ params, set }: {
35
+ body: unknown;
36
+ query: Record<string, string | undefined>;
37
+ params: {
38
+ artifactId: string;
106
39
  };
107
- }, {
108
- derive: {};
109
- resolve: {};
110
- schema: {};
111
- standaloneSchema: {};
112
- response: {};
113
- }, {
114
- derive: {};
115
- resolve: {};
116
- schema: {};
117
- standaloneSchema: {};
118
- response: {};
119
- }>;
40
+ headers: Record<string, string | undefined>;
41
+ cookie: Record<string, import("elysia").Cookie<unknown>>;
42
+ server: import("elysia").Server | null;
43
+ redirect: import("elysia").redirect;
44
+ set: {
45
+ headers: import("elysia").HTTPHeaders;
46
+ status?: number | keyof import("elysia").StatusMap;
47
+ cookie?: Record<string, import("elysia").BaseCookie>;
48
+ };
49
+ 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 ? {
50
+ readonly 100: "Continue";
51
+ readonly 101: "Switching Protocols";
52
+ readonly 102: "Processing";
53
+ readonly 103: "Early Hints";
54
+ readonly 200: "OK";
55
+ readonly 201: "Created";
56
+ readonly 202: "Accepted";
57
+ readonly 203: "Non-Authoritative Information";
58
+ readonly 204: "No Content";
59
+ readonly 205: "Reset Content";
60
+ readonly 206: "Partial Content";
61
+ readonly 207: "Multi-Status";
62
+ readonly 208: "Already Reported";
63
+ readonly 300: "Multiple Choices";
64
+ readonly 301: "Moved Permanently";
65
+ readonly 302: "Found";
66
+ readonly 303: "See Other";
67
+ readonly 304: "Not Modified";
68
+ readonly 307: "Temporary Redirect";
69
+ readonly 308: "Permanent Redirect";
70
+ readonly 400: "Bad Request";
71
+ readonly 401: "Unauthorized";
72
+ readonly 402: "Payment Required";
73
+ readonly 403: "Forbidden";
74
+ readonly 404: "Not Found";
75
+ readonly 405: "Method Not Allowed";
76
+ readonly 406: "Not Acceptable";
77
+ readonly 407: "Proxy Authentication Required";
78
+ readonly 408: "Request Timeout";
79
+ readonly 409: "Conflict";
80
+ readonly 410: "Gone";
81
+ readonly 411: "Length Required";
82
+ readonly 412: "Precondition Failed";
83
+ readonly 413: "Payload Too Large";
84
+ readonly 414: "URI Too Long";
85
+ readonly 415: "Unsupported Media Type";
86
+ readonly 416: "Range Not Satisfiable";
87
+ readonly 417: "Expectation Failed";
88
+ readonly 418: "I'm a teapot";
89
+ readonly 420: "Enhance Your Calm";
90
+ readonly 421: "Misdirected Request";
91
+ readonly 422: "Unprocessable Content";
92
+ readonly 423: "Locked";
93
+ readonly 424: "Failed Dependency";
94
+ readonly 425: "Too Early";
95
+ readonly 426: "Upgrade Required";
96
+ readonly 428: "Precondition Required";
97
+ readonly 429: "Too Many Requests";
98
+ readonly 431: "Request Header Fields Too Large";
99
+ readonly 451: "Unavailable For Legal Reasons";
100
+ readonly 500: "Internal Server Error";
101
+ readonly 501: "Not Implemented";
102
+ readonly 502: "Bad Gateway";
103
+ readonly 503: "Service Unavailable";
104
+ readonly 504: "Gateway Timeout";
105
+ readonly 505: "HTTP Version Not Supported";
106
+ readonly 506: "Variant Also Negotiates";
107
+ readonly 507: "Insufficient Storage";
108
+ readonly 508: "Loop Detected";
109
+ readonly 510: "Not Extended";
110
+ readonly 511: "Network Authentication Required";
111
+ }[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" ? {
112
+ readonly Continue: 100;
113
+ readonly "Switching Protocols": 101;
114
+ readonly Processing: 102;
115
+ readonly "Early Hints": 103;
116
+ readonly OK: 200;
117
+ readonly Created: 201;
118
+ readonly Accepted: 202;
119
+ readonly "Non-Authoritative Information": 203;
120
+ readonly "No Content": 204;
121
+ readonly "Reset Content": 205;
122
+ readonly "Partial Content": 206;
123
+ readonly "Multi-Status": 207;
124
+ readonly "Already Reported": 208;
125
+ readonly "Multiple Choices": 300;
126
+ readonly "Moved Permanently": 301;
127
+ readonly Found: 302;
128
+ readonly "See Other": 303;
129
+ readonly "Not Modified": 304;
130
+ readonly "Temporary Redirect": 307;
131
+ readonly "Permanent Redirect": 308;
132
+ readonly "Bad Request": 400;
133
+ readonly Unauthorized: 401;
134
+ readonly "Payment Required": 402;
135
+ readonly Forbidden: 403;
136
+ readonly "Not Found": 404;
137
+ readonly "Method Not Allowed": 405;
138
+ readonly "Not Acceptable": 406;
139
+ readonly "Proxy Authentication Required": 407;
140
+ readonly "Request Timeout": 408;
141
+ readonly Conflict: 409;
142
+ readonly Gone: 410;
143
+ readonly "Length Required": 411;
144
+ readonly "Precondition Failed": 412;
145
+ readonly "Payload Too Large": 413;
146
+ readonly "URI Too Long": 414;
147
+ readonly "Unsupported Media Type": 415;
148
+ readonly "Range Not Satisfiable": 416;
149
+ readonly "Expectation Failed": 417;
150
+ readonly "I'm a teapot": 418;
151
+ readonly "Enhance Your Calm": 420;
152
+ readonly "Misdirected Request": 421;
153
+ readonly "Unprocessable Content": 422;
154
+ readonly Locked: 423;
155
+ readonly "Failed Dependency": 424;
156
+ readonly "Too Early": 425;
157
+ readonly "Upgrade Required": 426;
158
+ readonly "Precondition Required": 428;
159
+ readonly "Too Many Requests": 429;
160
+ readonly "Request Header Fields Too Large": 431;
161
+ readonly "Unavailable For Legal Reasons": 451;
162
+ readonly "Internal Server Error": 500;
163
+ readonly "Not Implemented": 501;
164
+ readonly "Bad Gateway": 502;
165
+ readonly "Service Unavailable": 503;
166
+ readonly "Gateway Timeout": 504;
167
+ readonly "HTTP Version Not Supported": 505;
168
+ readonly "Variant Also Negotiates": 506;
169
+ readonly "Insufficient Storage": 507;
170
+ readonly "Loop Detected": 508;
171
+ readonly "Not Extended": 510;
172
+ readonly "Network Authentication Required": 511;
173
+ }[Code] : Code>;
174
+ defer: (fn: import("elysia/types").AfterResponseHandler<NoInfer<import("elysia/types").IntersectIfObjectSchema<import("elysia").UnwrapRoute<{}, {}, `/${string}/:artifactId`>, import("elysia/types").MergeScopedSchemas<{}, {}, {}>>>, NoInfer<import("elysia/types").DefaultSingleton & {
175
+ derive: {};
176
+ }>>) => import("elysia/types").MaybePromise<void>;
177
+ readonly path: string;
178
+ route?: string | undefined;
179
+ rid?: string | undefined;
180
+ request: Request;
181
+ store: {};
182
+ }) => Promise<Response>>;
120
183
  export type VoiceHTMXLiveCallViewerRoutesOptions = VoiceHTMXDashboardRoutesShared & {
121
184
  /** Route mounts at `${path}/:sessionId`. */
122
185
  path?: string;
@@ -124,59 +187,158 @@ export type VoiceHTMXLiveCallViewerRoutesOptions = VoiceHTMXDashboardRoutesShare
124
187
  resolveViewer: (sessionId: string) => Promise<LiveCallViewer | undefined> | LiveCallViewer | undefined;
125
188
  title?: string;
126
189
  };
127
- export declare const createVoiceLiveCallViewerHTMXRoute: (options: VoiceHTMXLiveCallViewerRoutesOptions) => Elysia<"", {
128
- decorator: {};
129
- store: {};
130
- derive: {};
131
- resolve: {};
132
- }, {
190
+ export declare const createVoiceLiveCallViewerHTMXRoute: (options: VoiceHTMXLiveCallViewerRoutesOptions) => import("elysia/types").AddRoute<"", "local", import("elysia/types").DefaultSingleton, {
133
191
  typebox: {};
134
- error: {};
135
- }, {
136
- schema: {};
137
- standaloneSchema: {};
138
- macro: {};
139
- macroFn: {};
140
- parser: {};
141
- response: {};
142
- }, {
143
- [x: string]: {
144
- ":sessionId": {
145
- get: {
146
- body: unknown;
147
- params: {
148
- sessionId: string;
149
- } & {};
150
- query: unknown;
151
- headers: unknown;
152
- response: {
153
- 200: Response;
154
- 422: {
155
- type: "validation";
156
- on: string;
157
- summary?: string;
158
- message?: string;
159
- found?: unknown;
160
- property?: string;
161
- expected?: string;
162
- };
163
- };
164
- };
165
- };
192
+ error: [];
193
+ }, import("elysia/types").DefaultMetadata, {}, import("elysia/types").DefaultEphemeral, import("elysia/types").DefaultEphemeral, "get", `${string}/:sessionId`, import("elysia/types").IntersectIfObjectSchema<import("elysia").UnwrapRoute<{}, {}, `/${string}/:sessionId`>, import("elysia/types").MergeScopedSchemas<{}, {}, {}>>, {}, ({ params, set }: {
194
+ body: unknown;
195
+ query: Record<string, string | undefined>;
196
+ params: {
197
+ sessionId: string;
198
+ };
199
+ headers: Record<string, string | undefined>;
200
+ cookie: Record<string, import("elysia").Cookie<unknown>>;
201
+ server: import("elysia").Server | null;
202
+ redirect: import("elysia").redirect;
203
+ set: {
204
+ headers: import("elysia").HTTPHeaders;
205
+ status?: number | keyof import("elysia").StatusMap;
206
+ cookie?: Record<string, import("elysia").BaseCookie>;
166
207
  };
167
- }, {
168
- derive: {};
169
- resolve: {};
170
- schema: {};
171
- standaloneSchema: {};
172
- response: {};
173
- }, {
174
- derive: {};
175
- resolve: {};
176
- schema: {};
177
- standaloneSchema: {};
178
- response: {};
179
- }>;
208
+ 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 ? {
209
+ readonly 100: "Continue";
210
+ readonly 101: "Switching Protocols";
211
+ readonly 102: "Processing";
212
+ readonly 103: "Early Hints";
213
+ readonly 200: "OK";
214
+ readonly 201: "Created";
215
+ readonly 202: "Accepted";
216
+ readonly 203: "Non-Authoritative Information";
217
+ readonly 204: "No Content";
218
+ readonly 205: "Reset Content";
219
+ readonly 206: "Partial Content";
220
+ readonly 207: "Multi-Status";
221
+ readonly 208: "Already Reported";
222
+ readonly 300: "Multiple Choices";
223
+ readonly 301: "Moved Permanently";
224
+ readonly 302: "Found";
225
+ readonly 303: "See Other";
226
+ readonly 304: "Not Modified";
227
+ readonly 307: "Temporary Redirect";
228
+ readonly 308: "Permanent Redirect";
229
+ readonly 400: "Bad Request";
230
+ readonly 401: "Unauthorized";
231
+ readonly 402: "Payment Required";
232
+ readonly 403: "Forbidden";
233
+ readonly 404: "Not Found";
234
+ readonly 405: "Method Not Allowed";
235
+ readonly 406: "Not Acceptable";
236
+ readonly 407: "Proxy Authentication Required";
237
+ readonly 408: "Request Timeout";
238
+ readonly 409: "Conflict";
239
+ readonly 410: "Gone";
240
+ readonly 411: "Length Required";
241
+ readonly 412: "Precondition Failed";
242
+ readonly 413: "Payload Too Large";
243
+ readonly 414: "URI Too Long";
244
+ readonly 415: "Unsupported Media Type";
245
+ readonly 416: "Range Not Satisfiable";
246
+ readonly 417: "Expectation Failed";
247
+ readonly 418: "I'm a teapot";
248
+ readonly 420: "Enhance Your Calm";
249
+ readonly 421: "Misdirected Request";
250
+ readonly 422: "Unprocessable Content";
251
+ readonly 423: "Locked";
252
+ readonly 424: "Failed Dependency";
253
+ readonly 425: "Too Early";
254
+ readonly 426: "Upgrade Required";
255
+ readonly 428: "Precondition Required";
256
+ readonly 429: "Too Many Requests";
257
+ readonly 431: "Request Header Fields Too Large";
258
+ readonly 451: "Unavailable For Legal Reasons";
259
+ readonly 500: "Internal Server Error";
260
+ readonly 501: "Not Implemented";
261
+ readonly 502: "Bad Gateway";
262
+ readonly 503: "Service Unavailable";
263
+ readonly 504: "Gateway Timeout";
264
+ readonly 505: "HTTP Version Not Supported";
265
+ readonly 506: "Variant Also Negotiates";
266
+ readonly 507: "Insufficient Storage";
267
+ readonly 508: "Loop Detected";
268
+ readonly 510: "Not Extended";
269
+ readonly 511: "Network Authentication Required";
270
+ }[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" ? {
271
+ readonly Continue: 100;
272
+ readonly "Switching Protocols": 101;
273
+ readonly Processing: 102;
274
+ readonly "Early Hints": 103;
275
+ readonly OK: 200;
276
+ readonly Created: 201;
277
+ readonly Accepted: 202;
278
+ readonly "Non-Authoritative Information": 203;
279
+ readonly "No Content": 204;
280
+ readonly "Reset Content": 205;
281
+ readonly "Partial Content": 206;
282
+ readonly "Multi-Status": 207;
283
+ readonly "Already Reported": 208;
284
+ readonly "Multiple Choices": 300;
285
+ readonly "Moved Permanently": 301;
286
+ readonly Found: 302;
287
+ readonly "See Other": 303;
288
+ readonly "Not Modified": 304;
289
+ readonly "Temporary Redirect": 307;
290
+ readonly "Permanent Redirect": 308;
291
+ readonly "Bad Request": 400;
292
+ readonly Unauthorized: 401;
293
+ readonly "Payment Required": 402;
294
+ readonly Forbidden: 403;
295
+ readonly "Not Found": 404;
296
+ readonly "Method Not Allowed": 405;
297
+ readonly "Not Acceptable": 406;
298
+ readonly "Proxy Authentication Required": 407;
299
+ readonly "Request Timeout": 408;
300
+ readonly Conflict: 409;
301
+ readonly Gone: 410;
302
+ readonly "Length Required": 411;
303
+ readonly "Precondition Failed": 412;
304
+ readonly "Payload Too Large": 413;
305
+ readonly "URI Too Long": 414;
306
+ readonly "Unsupported Media Type": 415;
307
+ readonly "Range Not Satisfiable": 416;
308
+ readonly "Expectation Failed": 417;
309
+ readonly "I'm a teapot": 418;
310
+ readonly "Enhance Your Calm": 420;
311
+ readonly "Misdirected Request": 421;
312
+ readonly "Unprocessable Content": 422;
313
+ readonly Locked: 423;
314
+ readonly "Failed Dependency": 424;
315
+ readonly "Too Early": 425;
316
+ readonly "Upgrade Required": 426;
317
+ readonly "Precondition Required": 428;
318
+ readonly "Too Many Requests": 429;
319
+ readonly "Request Header Fields Too Large": 431;
320
+ readonly "Unavailable For Legal Reasons": 451;
321
+ readonly "Internal Server Error": 500;
322
+ readonly "Not Implemented": 501;
323
+ readonly "Bad Gateway": 502;
324
+ readonly "Service Unavailable": 503;
325
+ readonly "Gateway Timeout": 504;
326
+ readonly "HTTP Version Not Supported": 505;
327
+ readonly "Variant Also Negotiates": 506;
328
+ readonly "Insufficient Storage": 507;
329
+ readonly "Loop Detected": 508;
330
+ readonly "Not Extended": 510;
331
+ readonly "Network Authentication Required": 511;
332
+ }[Code] : Code>;
333
+ defer: (fn: import("elysia/types").AfterResponseHandler<NoInfer<import("elysia/types").IntersectIfObjectSchema<import("elysia").UnwrapRoute<{}, {}, `/${string}/:sessionId`>, import("elysia/types").MergeScopedSchemas<{}, {}, {}>>>, NoInfer<import("elysia/types").DefaultSingleton & {
334
+ derive: {};
335
+ }>>) => import("elysia/types").MaybePromise<void>;
336
+ readonly path: string;
337
+ route?: string | undefined;
338
+ rid?: string | undefined;
339
+ request: Request;
340
+ store: {};
341
+ }) => Promise<Response>>;
180
342
  export type VoiceHTMXDashboardRoutesOptions = {
181
343
  cost?: Omit<VoiceHTMXCostDashboardRoutesOptions, keyof VoiceHTMXDashboardRoutesShared>;
182
344
  liveCall?: Omit<VoiceHTMXLiveCallViewerRoutesOptions, keyof VoiceHTMXDashboardRoutesShared>;
@@ -184,34 +346,10 @@ export type VoiceHTMXDashboardRoutesOptions = {
184
346
  render?: VoiceDashboardHTMXRendererConfig;
185
347
  replay?: Omit<VoiceHTMXReplayTimelineRoutesOptions, keyof VoiceHTMXDashboardRoutesShared>;
186
348
  };
187
- export declare const createVoiceHTMXDashboardRoutes: (options: VoiceHTMXDashboardRoutesOptions) => Elysia<"", {
188
- decorator: {};
189
- store: {};
190
- derive: {};
191
- resolve: {};
192
- }, {
349
+ export declare const createVoiceHTMXDashboardRoutes: (options: VoiceHTMXDashboardRoutesOptions) => Elysia<"", "local", import("elysia/types").DefaultSingleton, {
193
350
  typebox: {};
194
- error: {};
195
- }, {
196
- schema: {};
197
- standaloneSchema: {};
198
- macro: {};
199
- macroFn: {};
200
- parser: {};
201
- response: {};
202
- }, {}, {
203
- derive: {};
204
- resolve: {};
205
- schema: {};
206
- standaloneSchema: {};
207
- response: {};
208
- }, {
209
- derive: {};
210
- resolve: {};
211
- schema: {};
212
- standaloneSchema: {};
213
- response: {};
214
- }>;
351
+ error: [];
352
+ }, import("elysia/types").DefaultMetadata, {}, import("elysia/types").DefaultEphemeral, import("elysia/types").DefaultEphemeral>;
215
353
  export type CreateVoiceHTMXDashboardRoutesFromStoresOptions = {
216
354
  liveViewerByCallId?: (sessionId: string) => Promise<LiveCallViewer | undefined> | LiveCallViewer | undefined;
217
355
  pollIntervalMs?: number;
@@ -219,32 +357,8 @@ export type CreateVoiceHTMXDashboardRoutesFromStoresOptions = {
219
357
  reviewStore?: VoiceCallReviewStore;
220
358
  traceStore?: VoiceTraceEventStore;
221
359
  };
222
- export declare const createVoiceHTMXDashboardRoutesFromStores: (options: CreateVoiceHTMXDashboardRoutesFromStoresOptions) => Elysia<"", {
223
- decorator: {};
224
- store: {};
225
- derive: {};
226
- resolve: {};
227
- }, {
360
+ export declare const createVoiceHTMXDashboardRoutesFromStores: (options: CreateVoiceHTMXDashboardRoutesFromStoresOptions) => Elysia<"", "local", import("elysia/types").DefaultSingleton, {
228
361
  typebox: {};
229
- error: {};
230
- }, {
231
- schema: {};
232
- standaloneSchema: {};
233
- macro: {};
234
- macroFn: {};
235
- parser: {};
236
- response: {};
237
- }, {}, {
238
- derive: {};
239
- resolve: {};
240
- schema: {};
241
- standaloneSchema: {};
242
- response: {};
243
- }, {
244
- derive: {};
245
- resolve: {};
246
- schema: {};
247
- standaloneSchema: {};
248
- response: {};
249
- }>;
362
+ error: [];
363
+ }, import("elysia/types").DefaultMetadata, {}, import("elysia/types").DefaultEphemeral, import("elysia/types").DefaultEphemeral>;
250
364
  export {};
@@ -89,31 +89,7 @@ export declare const saveVoiceIncidentBundleArtifact: (input: {
89
89
  }) => Promise<StoredVoiceIncidentBundleArtifact>;
90
90
  export declare const pruneVoiceIncidentBundleArtifacts: (options: VoiceIncidentBundleRetentionOptions) => Promise<VoiceIncidentBundleRetentionReport>;
91
91
  export declare const buildVoiceIncidentBundle: (options: VoiceIncidentBundleOptions) => Promise<VoiceIncidentBundle>;
92
- export declare const createVoiceIncidentBundleRoutes: (options: VoiceIncidentBundleRoutesOptions) => Elysia<"", {
93
- decorator: {};
94
- store: {};
95
- derive: {};
96
- resolve: {};
97
- }, {
92
+ export declare const createVoiceIncidentBundleRoutes: (options: VoiceIncidentBundleRoutesOptions) => Elysia<"", "local", import("elysia/types").DefaultSingleton, {
98
93
  typebox: {};
99
- error: {};
100
- }, {
101
- schema: {};
102
- standaloneSchema: {};
103
- macro: {};
104
- macroFn: {};
105
- parser: {};
106
- response: {};
107
- }, {}, {
108
- derive: {};
109
- resolve: {};
110
- schema: {};
111
- standaloneSchema: {};
112
- response: {};
113
- }, {
114
- derive: {};
115
- resolve: {};
116
- schema: {};
117
- standaloneSchema: {};
118
- response: {};
119
- }>;
94
+ error: [];
95
+ }, import("elysia/types").DefaultMetadata, {}, import("elysia/types").DefaultEphemeral, import("elysia/types").DefaultEphemeral>;
@@ -1,4 +1,3 @@
1
- import { Elysia } from "elysia";
2
1
  import type { VoiceFailureReplayReport, VoiceOperationsRecord } from "./operationsRecord";
3
2
  import type { VoiceOperationalStatusReport } from "./operationalStatus";
4
3
  import type { VoiceOpsRecoveryReport } from "./opsRecovery";
@@ -211,46 +210,10 @@ export declare const renderVoiceIncidentRecoveryTrendMarkdown: (report: VoiceInc
211
210
  title?: string;
212
211
  }) => string;
213
212
  export declare const buildVoiceIncidentTimelineReport: (options: VoiceIncidentTimelineOptions) => Promise<VoiceIncidentTimelineReport>;
214
- export declare const createVoiceIncidentTimelineRoutes: (options: VoiceIncidentTimelineRoutesOptions) => Elysia<"", {
215
- decorator: {};
216
- store: {};
217
- derive: {};
218
- resolve: {};
219
- }, {
213
+ export declare const createVoiceIncidentTimelineRoutes: (options: VoiceIncidentTimelineRoutesOptions) => import("elysia/types").AddRoute<"", "local", import("elysia/types").DefaultSingleton, {
220
214
  typebox: {};
221
- error: {};
222
- }, {
223
- schema: {};
224
- standaloneSchema: {};
225
- macro: {};
226
- macroFn: {};
227
- parser: {};
228
- response: {};
229
- }, {
230
- [x: string]: {
231
- get: {
232
- body: unknown;
233
- params: {};
234
- query: unknown;
235
- headers: unknown;
236
- response: {
237
- 200: Response;
238
- };
239
- };
240
- };
241
- }, {
242
- derive: {};
243
- resolve: {};
244
- schema: {};
245
- standaloneSchema: {};
246
- response: {};
247
- }, {
248
- derive: {};
249
- resolve: {};
250
- schema: {};
251
- standaloneSchema: {};
252
- response: {};
253
- }>;
215
+ error: [];
216
+ }, 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>>;
254
217
  export declare const renderVoiceIncidentTimelineHTML: (report: VoiceIncidentTimelineReport, options?: {
255
218
  actionPath?: string;
256
219
  title?: string;