@absolutejs/voice 0.0.22-beta.672 → 0.0.22-beta.674
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/client/htmxBootstrap.js +61 -6
- package/dist/client/index.js +61 -6
- 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/types.d.ts +9 -3
- 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 +75 -16
- package/package.json +7 -81
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Elysia } from "elysia";
|
|
2
1
|
import { type VoiceTraceSinkDeliveryQueueSummary, type VoiceTraceSinkDeliveryWorkerResult } from "./queue";
|
|
3
2
|
import type { VoiceTraceSinkDeliveryQueueStatus, VoiceTraceSinkDeliveryRecord, VoiceTraceSinkDeliveryStore } from "./trace";
|
|
4
3
|
export type VoiceTraceDeliveryReport = {
|
|
@@ -40,46 +39,12 @@ export declare const createVoiceTraceDeliveryHTMLHandler: (options: VoiceTraceDe
|
|
|
40
39
|
export declare const createVoiceTraceDeliveryJSONHandler: (options: VoiceTraceDeliveryRoutesOptions) => ({ query }: {
|
|
41
40
|
query?: Record<string, string | undefined>;
|
|
42
41
|
}) => Promise<VoiceTraceDeliveryReport>;
|
|
43
|
-
export declare const createVoiceTraceDeliveryRoutes: (options: VoiceTraceDeliveryRoutesOptions) =>
|
|
44
|
-
decorator: {};
|
|
45
|
-
store: {};
|
|
46
|
-
derive: {};
|
|
47
|
-
resolve: {};
|
|
48
|
-
}, {
|
|
42
|
+
export declare const createVoiceTraceDeliveryRoutes: (options: VoiceTraceDeliveryRoutesOptions) => import("elysia/types").AddRoute<"", "local", import("elysia/types").DefaultSingleton, {
|
|
49
43
|
typebox: {};
|
|
50
|
-
error:
|
|
51
|
-
}, {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
macro: {};
|
|
55
|
-
macroFn: {};
|
|
56
|
-
parser: {};
|
|
57
|
-
response: {};
|
|
58
|
-
}, {
|
|
59
|
-
[x: string]: {
|
|
60
|
-
get: {
|
|
61
|
-
body: unknown;
|
|
62
|
-
params: {};
|
|
63
|
-
query: unknown;
|
|
64
|
-
headers: unknown;
|
|
65
|
-
response: {
|
|
66
|
-
200: VoiceTraceDeliveryReport;
|
|
67
|
-
};
|
|
68
|
-
};
|
|
69
|
-
};
|
|
70
|
-
}, {
|
|
71
|
-
derive: {};
|
|
72
|
-
resolve: {};
|
|
73
|
-
schema: {};
|
|
74
|
-
standaloneSchema: {};
|
|
75
|
-
response: {};
|
|
76
|
-
}, {
|
|
77
|
-
derive: {};
|
|
78
|
-
resolve: {};
|
|
79
|
-
schema: {};
|
|
80
|
-
standaloneSchema: {};
|
|
81
|
-
response: {};
|
|
82
|
-
}>;
|
|
44
|
+
error: [];
|
|
45
|
+
}, 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 }: {
|
|
46
|
+
query?: Record<string, string | undefined>;
|
|
47
|
+
}) => Promise<VoiceTraceDeliveryReport>>;
|
|
83
48
|
export declare const renderVoiceTraceDeliveryHTML: (report: VoiceTraceDeliveryReport, options?: {
|
|
84
49
|
title?: string;
|
|
85
50
|
workerPath?: false | string;
|
|
@@ -64,34 +64,10 @@ export declare const summarizeVoiceTraceTimeline: (events: StoredVoiceTraceEvent
|
|
|
64
64
|
export declare const renderVoiceTraceTimelineSessionHTML: (session: VoiceTraceTimelineSession, options?: {
|
|
65
65
|
title?: string;
|
|
66
66
|
}) => string;
|
|
67
|
-
export declare const createVoiceTraceTimelineRoutes: (options: VoiceTraceTimelineRoutesOptions) => Elysia<"", {
|
|
68
|
-
decorator: {};
|
|
69
|
-
store: {};
|
|
70
|
-
derive: {};
|
|
71
|
-
resolve: {};
|
|
72
|
-
}, {
|
|
67
|
+
export declare const createVoiceTraceTimelineRoutes: (options: VoiceTraceTimelineRoutesOptions) => Elysia<"", "local", import("elysia/types").DefaultSingleton, {
|
|
73
68
|
typebox: {};
|
|
74
|
-
error:
|
|
75
|
-
}, {
|
|
76
|
-
schema: {};
|
|
77
|
-
standaloneSchema: {};
|
|
78
|
-
macro: {};
|
|
79
|
-
macroFn: {};
|
|
80
|
-
parser: {};
|
|
81
|
-
response: {};
|
|
82
|
-
}, {}, {
|
|
83
|
-
derive: {};
|
|
84
|
-
resolve: {};
|
|
85
|
-
schema: {};
|
|
86
|
-
standaloneSchema: {};
|
|
87
|
-
response: {};
|
|
88
|
-
}, {
|
|
89
|
-
derive: {};
|
|
90
|
-
resolve: {};
|
|
91
|
-
schema: {};
|
|
92
|
-
standaloneSchema: {};
|
|
93
|
-
response: {};
|
|
94
|
-
}>;
|
|
69
|
+
error: [];
|
|
70
|
+
}, import("elysia/types").DefaultMetadata, {}, import("elysia/types").DefaultEphemeral, import("elysia/types").DefaultEphemeral>;
|
|
95
71
|
export declare const renderVoiceTraceTimelineHTML: (report: VoiceTraceTimelineReport, options?: {
|
|
96
72
|
title?: string;
|
|
97
73
|
}) => string;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Elysia } from "elysia";
|
|
2
1
|
import type { VoiceTraceEventStore } from "./trace";
|
|
3
2
|
import type { VoiceSessionRecord, VoiceSessionStore } from "./types";
|
|
4
3
|
export type VoiceTurnLatencyStatus = "pass" | "warn" | "fail" | "empty";
|
|
@@ -50,46 +49,10 @@ export type VoiceTurnLatencyRoutesOptions<TSession extends VoiceSessionRecord =
|
|
|
50
49
|
export declare const summarizeVoiceTurnLatency: <TSession extends VoiceSessionRecord = VoiceSessionRecord>(options: VoiceTurnLatencyOptions<TSession>) => Promise<VoiceTurnLatencyReport>;
|
|
51
50
|
export declare const createVoiceTurnLatencyHTMLHandler: <TSession extends VoiceSessionRecord = VoiceSessionRecord>(options: VoiceTurnLatencyHTMLHandlerOptions<TSession>) => () => Promise<Response>;
|
|
52
51
|
export declare const createVoiceTurnLatencyJSONHandler: <TSession extends VoiceSessionRecord = VoiceSessionRecord>(options: VoiceTurnLatencyOptions<TSession>) => () => Promise<VoiceTurnLatencyReport>;
|
|
53
|
-
export declare const createVoiceTurnLatencyRoutes: <TSession extends VoiceSessionRecord = VoiceSessionRecord>(options: VoiceTurnLatencyRoutesOptions<TSession>) =>
|
|
54
|
-
decorator: {};
|
|
55
|
-
store: {};
|
|
56
|
-
derive: {};
|
|
57
|
-
resolve: {};
|
|
58
|
-
}, {
|
|
52
|
+
export declare const createVoiceTurnLatencyRoutes: <TSession extends VoiceSessionRecord = VoiceSessionRecord>(options: VoiceTurnLatencyRoutesOptions<TSession>) => import("elysia/types").AddRoute<"", "local", import("elysia/types").DefaultSingleton, {
|
|
59
53
|
typebox: {};
|
|
60
|
-
error:
|
|
61
|
-
}, {
|
|
62
|
-
schema: {};
|
|
63
|
-
standaloneSchema: {};
|
|
64
|
-
macro: {};
|
|
65
|
-
macroFn: {};
|
|
66
|
-
parser: {};
|
|
67
|
-
response: {};
|
|
68
|
-
}, {
|
|
69
|
-
[x: string]: {
|
|
70
|
-
get: {
|
|
71
|
-
body: unknown;
|
|
72
|
-
params: {};
|
|
73
|
-
query: unknown;
|
|
74
|
-
headers: unknown;
|
|
75
|
-
response: {
|
|
76
|
-
200: VoiceTurnLatencyReport;
|
|
77
|
-
};
|
|
78
|
-
};
|
|
79
|
-
};
|
|
80
|
-
}, {
|
|
81
|
-
derive: {};
|
|
82
|
-
resolve: {};
|
|
83
|
-
schema: {};
|
|
84
|
-
standaloneSchema: {};
|
|
85
|
-
response: {};
|
|
86
|
-
}, {
|
|
87
|
-
derive: {};
|
|
88
|
-
resolve: {};
|
|
89
|
-
schema: {};
|
|
90
|
-
standaloneSchema: {};
|
|
91
|
-
response: {};
|
|
92
|
-
}>;
|
|
54
|
+
error: [];
|
|
55
|
+
}, 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<VoiceTurnLatencyReport>>;
|
|
93
56
|
export declare const renderVoiceTurnLatencyHTML: (report: VoiceTurnLatencyReport, options?: {
|
|
94
57
|
title?: string;
|
|
95
58
|
}) => string;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Elysia } from "elysia";
|
|
2
1
|
import type { VoiceSessionRecord, VoiceSessionStore, VoiceTranscriptQuality } from "./types";
|
|
3
2
|
export type VoiceTurnQualityStatus = "pass" | "warn" | "fail" | "unknown";
|
|
4
3
|
export type VoiceTurnQualityItem = {
|
|
@@ -48,46 +47,10 @@ export type VoiceTurnQualityRoutesOptions<TSession extends VoiceSessionRecord =
|
|
|
48
47
|
};
|
|
49
48
|
export declare const createVoiceTurnQualityHTMLHandler: <TSession extends VoiceSessionRecord = VoiceSessionRecord>(options: VoiceTurnQualityHTMLHandlerOptions<TSession>) => () => Promise<Response>;
|
|
50
49
|
export declare const createVoiceTurnQualityJSONHandler: <TSession extends VoiceSessionRecord = VoiceSessionRecord>(options: VoiceTurnQualityOptions<TSession>) => () => Promise<VoiceTurnQualityReport>;
|
|
51
|
-
export declare const createVoiceTurnQualityRoutes: <TSession extends VoiceSessionRecord = VoiceSessionRecord>(options: VoiceTurnQualityRoutesOptions<TSession>) =>
|
|
52
|
-
decorator: {};
|
|
53
|
-
store: {};
|
|
54
|
-
derive: {};
|
|
55
|
-
resolve: {};
|
|
56
|
-
}, {
|
|
50
|
+
export declare const createVoiceTurnQualityRoutes: <TSession extends VoiceSessionRecord = VoiceSessionRecord>(options: VoiceTurnQualityRoutesOptions<TSession>) => import("elysia/types").AddRoute<"", "local", import("elysia/types").DefaultSingleton, {
|
|
57
51
|
typebox: {};
|
|
58
|
-
error:
|
|
59
|
-
}, {
|
|
60
|
-
schema: {};
|
|
61
|
-
standaloneSchema: {};
|
|
62
|
-
macro: {};
|
|
63
|
-
macroFn: {};
|
|
64
|
-
parser: {};
|
|
65
|
-
response: {};
|
|
66
|
-
}, {
|
|
67
|
-
[x: string]: {
|
|
68
|
-
get: {
|
|
69
|
-
body: unknown;
|
|
70
|
-
params: {};
|
|
71
|
-
query: unknown;
|
|
72
|
-
headers: unknown;
|
|
73
|
-
response: {
|
|
74
|
-
200: VoiceTurnQualityReport;
|
|
75
|
-
};
|
|
76
|
-
};
|
|
77
|
-
};
|
|
78
|
-
}, {
|
|
79
|
-
derive: {};
|
|
80
|
-
resolve: {};
|
|
81
|
-
schema: {};
|
|
82
|
-
standaloneSchema: {};
|
|
83
|
-
response: {};
|
|
84
|
-
}, {
|
|
85
|
-
derive: {};
|
|
86
|
-
resolve: {};
|
|
87
|
-
schema: {};
|
|
88
|
-
standaloneSchema: {};
|
|
89
|
-
response: {};
|
|
90
|
-
}>;
|
|
52
|
+
error: [];
|
|
53
|
+
}, 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<VoiceTurnQualityReport>>;
|
|
91
54
|
export declare const renderVoiceTurnQualityHTML: (report: VoiceTurnQualityReport, options?: {
|
|
92
55
|
title?: string;
|
|
93
56
|
}) => string;
|
package/dist/core/types.d.ts
CHANGED
|
@@ -1624,17 +1624,23 @@ export type VoiceAudioPlayerSource = {
|
|
|
1624
1624
|
assistantAudio: VoiceStreamState["assistantAudio"];
|
|
1625
1625
|
subscribe: (subscriber: () => void) => () => void;
|
|
1626
1626
|
};
|
|
1627
|
-
/** Post-call playback integrity
|
|
1628
|
-
*
|
|
1629
|
-
*
|
|
1627
|
+
/** Post-call playback-pipeline integrity. This proves what the browser player
|
|
1628
|
+
* received and scheduled; it does not claim that the resulting waveform
|
|
1629
|
+
* sounded clean. A browser-side replay is required for that stronger claim. */
|
|
1630
1630
|
export type VoiceAudioIntegrity = {
|
|
1631
1631
|
ok: boolean;
|
|
1632
1632
|
chunksReceived: number;
|
|
1633
1633
|
chunksScheduled: number;
|
|
1634
|
+
buffersScheduled: number;
|
|
1634
1635
|
scheduledDurationMs: number;
|
|
1635
1636
|
gapCount: number;
|
|
1636
1637
|
totalGapMs: number;
|
|
1637
1638
|
maxGapMs: number;
|
|
1639
|
+
audioFormatCount: number;
|
|
1640
|
+
formatChangeCount: number;
|
|
1641
|
+
incompleteFrameChunkCount: number;
|
|
1642
|
+
discardedPartialFrameBytes: number;
|
|
1643
|
+
pendingPartialFrameBytes: number;
|
|
1638
1644
|
maxConcurrentPlayers: number;
|
|
1639
1645
|
errorCount: number;
|
|
1640
1646
|
};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Elysia } from "elysia";
|
|
2
1
|
export type VoiceMonitorStatus = "fail" | "pass" | "warn";
|
|
3
2
|
export type VoiceMonitorSeverity = "critical" | "info" | "warn";
|
|
4
3
|
export type VoiceMonitorIssueStatus = "acknowledged" | "muted" | "open" | "resolved";
|
|
@@ -195,22 +194,10 @@ export declare const resolveVoiceMonitorIssue: (store: VoiceMonitorIssueStore, i
|
|
|
195
194
|
actorId?: string;
|
|
196
195
|
now?: number;
|
|
197
196
|
}) => Promise<VoiceMonitorIssue | undefined>;
|
|
198
|
-
export declare const createVoiceMonitorRoutes: <TEvidence = unknown>(options: VoiceMonitorRoutesOptions<TEvidence>) =>
|
|
199
|
-
decorator: {};
|
|
200
|
-
store: {};
|
|
201
|
-
derive: {};
|
|
202
|
-
resolve: {};
|
|
203
|
-
}, {
|
|
197
|
+
export declare const createVoiceMonitorRoutes: <TEvidence = unknown>(options: VoiceMonitorRoutesOptions<TEvidence>) => import("elysia/types").AddRoute<"", "local", import("elysia/types").DefaultSingleton, {
|
|
204
198
|
typebox: {};
|
|
205
|
-
error:
|
|
206
|
-
}, {
|
|
207
|
-
schema: {};
|
|
208
|
-
standaloneSchema: {};
|
|
209
|
-
macro: {};
|
|
210
|
-
macroFn: {};
|
|
211
|
-
parser: {};
|
|
212
|
-
response: {};
|
|
213
|
-
}, {
|
|
199
|
+
error: [];
|
|
200
|
+
}, import("elysia/types").DefaultMetadata, {
|
|
214
201
|
[x: string]: {
|
|
215
202
|
get: {
|
|
216
203
|
body: unknown;
|
|
@@ -220,6 +207,7 @@ export declare const createVoiceMonitorRoutes: <TEvidence = unknown>(options: Vo
|
|
|
220
207
|
response: {
|
|
221
208
|
200: VoiceMonitorRunReport;
|
|
222
209
|
};
|
|
210
|
+
error: never;
|
|
223
211
|
};
|
|
224
212
|
};
|
|
225
213
|
} & {
|
|
@@ -232,6 +220,7 @@ export declare const createVoiceMonitorRoutes: <TEvidence = unknown>(options: Vo
|
|
|
232
220
|
response: {
|
|
233
221
|
200: Response;
|
|
234
222
|
};
|
|
223
|
+
error: never;
|
|
235
224
|
};
|
|
236
225
|
};
|
|
237
226
|
} & {
|
|
@@ -244,6 +233,7 @@ export declare const createVoiceMonitorRoutes: <TEvidence = unknown>(options: Vo
|
|
|
244
233
|
response: {
|
|
245
234
|
200: VoiceMonitorIssue[];
|
|
246
235
|
};
|
|
236
|
+
error: never;
|
|
247
237
|
};
|
|
248
238
|
};
|
|
249
239
|
} & {
|
|
@@ -257,6 +247,7 @@ export declare const createVoiceMonitorRoutes: <TEvidence = unknown>(options: Vo
|
|
|
257
247
|
response: {
|
|
258
248
|
200: VoiceMonitorNotifierDeliveryReceipt[];
|
|
259
249
|
};
|
|
250
|
+
error: never;
|
|
260
251
|
};
|
|
261
252
|
};
|
|
262
253
|
};
|
|
@@ -273,16 +264,8 @@ export declare const createVoiceMonitorRoutes: <TEvidence = unknown>(options: Vo
|
|
|
273
264
|
headers: unknown;
|
|
274
265
|
response: {
|
|
275
266
|
200: Response | VoiceMonitorIssue;
|
|
276
|
-
422: {
|
|
277
|
-
type: "validation";
|
|
278
|
-
on: string;
|
|
279
|
-
summary?: string;
|
|
280
|
-
message?: string;
|
|
281
|
-
found?: unknown;
|
|
282
|
-
property?: string;
|
|
283
|
-
expected?: string;
|
|
284
|
-
};
|
|
285
267
|
};
|
|
268
|
+
error: never;
|
|
286
269
|
};
|
|
287
270
|
};
|
|
288
271
|
};
|
|
@@ -300,76 +283,165 @@ export declare const createVoiceMonitorRoutes: <TEvidence = unknown>(options: Vo
|
|
|
300
283
|
headers: unknown;
|
|
301
284
|
response: {
|
|
302
285
|
200: Response | VoiceMonitorIssue;
|
|
303
|
-
422: {
|
|
304
|
-
type: "validation";
|
|
305
|
-
on: string;
|
|
306
|
-
summary?: string;
|
|
307
|
-
message?: string;
|
|
308
|
-
found?: unknown;
|
|
309
|
-
property?: string;
|
|
310
|
-
expected?: string;
|
|
311
|
-
};
|
|
312
286
|
};
|
|
287
|
+
error: never;
|
|
313
288
|
};
|
|
314
289
|
};
|
|
315
290
|
};
|
|
316
291
|
};
|
|
317
|
-
}
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
body: unknown;
|
|
323
|
-
params: {
|
|
324
|
-
id: string;
|
|
325
|
-
} & {};
|
|
326
|
-
query: unknown;
|
|
327
|
-
headers: unknown;
|
|
328
|
-
response: {
|
|
329
|
-
200: Response | VoiceMonitorIssue;
|
|
330
|
-
422: {
|
|
331
|
-
type: "validation";
|
|
332
|
-
on: string;
|
|
333
|
-
summary?: string;
|
|
334
|
-
message?: string;
|
|
335
|
-
found?: unknown;
|
|
336
|
-
property?: string;
|
|
337
|
-
expected?: string;
|
|
338
|
-
};
|
|
339
|
-
};
|
|
340
|
-
};
|
|
341
|
-
};
|
|
342
|
-
};
|
|
292
|
+
}, import("elysia/types").DefaultEphemeral, import("elysia/types").DefaultEphemeral, "post", `${string}/:id/mute`, import("elysia/types").IntersectIfObjectSchema<import("elysia").UnwrapRoute<{}, {}, `/${string}/:id/mute`>, import("elysia/types").MergeScopedSchemas<{}, {}, {}>>, {}, ({ params, request }: {
|
|
293
|
+
body: unknown;
|
|
294
|
+
query: Record<string, string | undefined>;
|
|
295
|
+
params: {
|
|
296
|
+
id: string;
|
|
343
297
|
};
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
298
|
+
headers: Record<string, string | undefined>;
|
|
299
|
+
cookie: Record<string, import("elysia").Cookie<unknown>>;
|
|
300
|
+
server: import("elysia").Server | null;
|
|
301
|
+
redirect: import("elysia").redirect;
|
|
302
|
+
set: {
|
|
303
|
+
headers: import("elysia").HTTPHeaders;
|
|
304
|
+
status?: number | keyof import("elysia").StatusMap;
|
|
305
|
+
cookie?: Record<string, import("elysia").BaseCookie>;
|
|
306
|
+
};
|
|
307
|
+
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 ? {
|
|
308
|
+
readonly 100: "Continue";
|
|
309
|
+
readonly 101: "Switching Protocols";
|
|
310
|
+
readonly 102: "Processing";
|
|
311
|
+
readonly 103: "Early Hints";
|
|
312
|
+
readonly 200: "OK";
|
|
313
|
+
readonly 201: "Created";
|
|
314
|
+
readonly 202: "Accepted";
|
|
315
|
+
readonly 203: "Non-Authoritative Information";
|
|
316
|
+
readonly 204: "No Content";
|
|
317
|
+
readonly 205: "Reset Content";
|
|
318
|
+
readonly 206: "Partial Content";
|
|
319
|
+
readonly 207: "Multi-Status";
|
|
320
|
+
readonly 208: "Already Reported";
|
|
321
|
+
readonly 300: "Multiple Choices";
|
|
322
|
+
readonly 301: "Moved Permanently";
|
|
323
|
+
readonly 302: "Found";
|
|
324
|
+
readonly 303: "See Other";
|
|
325
|
+
readonly 304: "Not Modified";
|
|
326
|
+
readonly 307: "Temporary Redirect";
|
|
327
|
+
readonly 308: "Permanent Redirect";
|
|
328
|
+
readonly 400: "Bad Request";
|
|
329
|
+
readonly 401: "Unauthorized";
|
|
330
|
+
readonly 402: "Payment Required";
|
|
331
|
+
readonly 403: "Forbidden";
|
|
332
|
+
readonly 404: "Not Found";
|
|
333
|
+
readonly 405: "Method Not Allowed";
|
|
334
|
+
readonly 406: "Not Acceptable";
|
|
335
|
+
readonly 407: "Proxy Authentication Required";
|
|
336
|
+
readonly 408: "Request Timeout";
|
|
337
|
+
readonly 409: "Conflict";
|
|
338
|
+
readonly 410: "Gone";
|
|
339
|
+
readonly 411: "Length Required";
|
|
340
|
+
readonly 412: "Precondition Failed";
|
|
341
|
+
readonly 413: "Payload Too Large";
|
|
342
|
+
readonly 414: "URI Too Long";
|
|
343
|
+
readonly 415: "Unsupported Media Type";
|
|
344
|
+
readonly 416: "Range Not Satisfiable";
|
|
345
|
+
readonly 417: "Expectation Failed";
|
|
346
|
+
readonly 418: "I'm a teapot";
|
|
347
|
+
readonly 420: "Enhance Your Calm";
|
|
348
|
+
readonly 421: "Misdirected Request";
|
|
349
|
+
readonly 422: "Unprocessable Content";
|
|
350
|
+
readonly 423: "Locked";
|
|
351
|
+
readonly 424: "Failed Dependency";
|
|
352
|
+
readonly 425: "Too Early";
|
|
353
|
+
readonly 426: "Upgrade Required";
|
|
354
|
+
readonly 428: "Precondition Required";
|
|
355
|
+
readonly 429: "Too Many Requests";
|
|
356
|
+
readonly 431: "Request Header Fields Too Large";
|
|
357
|
+
readonly 451: "Unavailable For Legal Reasons";
|
|
358
|
+
readonly 500: "Internal Server Error";
|
|
359
|
+
readonly 501: "Not Implemented";
|
|
360
|
+
readonly 502: "Bad Gateway";
|
|
361
|
+
readonly 503: "Service Unavailable";
|
|
362
|
+
readonly 504: "Gateway Timeout";
|
|
363
|
+
readonly 505: "HTTP Version Not Supported";
|
|
364
|
+
readonly 506: "Variant Also Negotiates";
|
|
365
|
+
readonly 507: "Insufficient Storage";
|
|
366
|
+
readonly 508: "Loop Detected";
|
|
367
|
+
readonly 510: "Not Extended";
|
|
368
|
+
readonly 511: "Network Authentication Required";
|
|
369
|
+
}[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" ? {
|
|
370
|
+
readonly Continue: 100;
|
|
371
|
+
readonly "Switching Protocols": 101;
|
|
372
|
+
readonly Processing: 102;
|
|
373
|
+
readonly "Early Hints": 103;
|
|
374
|
+
readonly OK: 200;
|
|
375
|
+
readonly Created: 201;
|
|
376
|
+
readonly Accepted: 202;
|
|
377
|
+
readonly "Non-Authoritative Information": 203;
|
|
378
|
+
readonly "No Content": 204;
|
|
379
|
+
readonly "Reset Content": 205;
|
|
380
|
+
readonly "Partial Content": 206;
|
|
381
|
+
readonly "Multi-Status": 207;
|
|
382
|
+
readonly "Already Reported": 208;
|
|
383
|
+
readonly "Multiple Choices": 300;
|
|
384
|
+
readonly "Moved Permanently": 301;
|
|
385
|
+
readonly Found: 302;
|
|
386
|
+
readonly "See Other": 303;
|
|
387
|
+
readonly "Not Modified": 304;
|
|
388
|
+
readonly "Temporary Redirect": 307;
|
|
389
|
+
readonly "Permanent Redirect": 308;
|
|
390
|
+
readonly "Bad Request": 400;
|
|
391
|
+
readonly Unauthorized: 401;
|
|
392
|
+
readonly "Payment Required": 402;
|
|
393
|
+
readonly Forbidden: 403;
|
|
394
|
+
readonly "Not Found": 404;
|
|
395
|
+
readonly "Method Not Allowed": 405;
|
|
396
|
+
readonly "Not Acceptable": 406;
|
|
397
|
+
readonly "Proxy Authentication Required": 407;
|
|
398
|
+
readonly "Request Timeout": 408;
|
|
399
|
+
readonly Conflict: 409;
|
|
400
|
+
readonly Gone: 410;
|
|
401
|
+
readonly "Length Required": 411;
|
|
402
|
+
readonly "Precondition Failed": 412;
|
|
403
|
+
readonly "Payload Too Large": 413;
|
|
404
|
+
readonly "URI Too Long": 414;
|
|
405
|
+
readonly "Unsupported Media Type": 415;
|
|
406
|
+
readonly "Range Not Satisfiable": 416;
|
|
407
|
+
readonly "Expectation Failed": 417;
|
|
408
|
+
readonly "I'm a teapot": 418;
|
|
409
|
+
readonly "Enhance Your Calm": 420;
|
|
410
|
+
readonly "Misdirected Request": 421;
|
|
411
|
+
readonly "Unprocessable Content": 422;
|
|
412
|
+
readonly Locked: 423;
|
|
413
|
+
readonly "Failed Dependency": 424;
|
|
414
|
+
readonly "Too Early": 425;
|
|
415
|
+
readonly "Upgrade Required": 426;
|
|
416
|
+
readonly "Precondition Required": 428;
|
|
417
|
+
readonly "Too Many Requests": 429;
|
|
418
|
+
readonly "Request Header Fields Too Large": 431;
|
|
419
|
+
readonly "Unavailable For Legal Reasons": 451;
|
|
420
|
+
readonly "Internal Server Error": 500;
|
|
421
|
+
readonly "Not Implemented": 501;
|
|
422
|
+
readonly "Bad Gateway": 502;
|
|
423
|
+
readonly "Service Unavailable": 503;
|
|
424
|
+
readonly "Gateway Timeout": 504;
|
|
425
|
+
readonly "HTTP Version Not Supported": 505;
|
|
426
|
+
readonly "Variant Also Negotiates": 506;
|
|
427
|
+
readonly "Insufficient Storage": 507;
|
|
428
|
+
readonly "Loop Detected": 508;
|
|
429
|
+
readonly "Not Extended": 510;
|
|
430
|
+
readonly "Network Authentication Required": 511;
|
|
431
|
+
}[Code] : Code>;
|
|
432
|
+
defer: (fn: import("elysia/types").AfterResponseHandler<NoInfer<import("elysia/types").IntersectIfObjectSchema<import("elysia").UnwrapRoute<{}, {}, `/${string}/:id/mute`>, import("elysia/types").MergeScopedSchemas<{}, {}, {}>>>, NoInfer<import("elysia/types").DefaultSingleton & {
|
|
433
|
+
derive: {};
|
|
434
|
+
}>>) => import("elysia/types").MaybePromise<void>;
|
|
435
|
+
readonly path: string;
|
|
436
|
+
route?: string | undefined;
|
|
437
|
+
rid?: string | undefined;
|
|
438
|
+
request: Request;
|
|
359
439
|
store: {};
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
}, {
|
|
440
|
+
}) => Promise<Response | VoiceMonitorIssue>>;
|
|
441
|
+
export declare const createVoiceMonitorRunnerRoutes: (options: VoiceMonitorRunnerRoutesOptions) => import("elysia/types").AddRoute<"", "local", import("elysia/types").DefaultSingleton, {
|
|
363
442
|
typebox: {};
|
|
364
|
-
error:
|
|
365
|
-
}, {
|
|
366
|
-
schema: {};
|
|
367
|
-
standaloneSchema: {};
|
|
368
|
-
macro: {};
|
|
369
|
-
macroFn: {};
|
|
370
|
-
parser: {};
|
|
371
|
-
response: {};
|
|
372
|
-
}, {
|
|
443
|
+
error: [];
|
|
444
|
+
}, import("elysia/types").DefaultMetadata, {
|
|
373
445
|
[x: string]: {
|
|
374
446
|
get: {
|
|
375
447
|
body: unknown;
|
|
@@ -381,6 +453,7 @@ export declare const createVoiceMonitorRunnerRoutes: (options: VoiceMonitorRunne
|
|
|
381
453
|
isRunning: boolean;
|
|
382
454
|
};
|
|
383
455
|
};
|
|
456
|
+
error: never;
|
|
384
457
|
};
|
|
385
458
|
};
|
|
386
459
|
} & {
|
|
@@ -394,6 +467,7 @@ export declare const createVoiceMonitorRunnerRoutes: (options: VoiceMonitorRunne
|
|
|
394
467
|
response: {
|
|
395
468
|
200: VoiceMonitorRunnerTickResult;
|
|
396
469
|
};
|
|
470
|
+
error: never;
|
|
397
471
|
};
|
|
398
472
|
};
|
|
399
473
|
};
|
|
@@ -410,35 +484,10 @@ export declare const createVoiceMonitorRunnerRoutes: (options: VoiceMonitorRunne
|
|
|
410
484
|
isRunning: boolean;
|
|
411
485
|
};
|
|
412
486
|
};
|
|
487
|
+
error: never;
|
|
413
488
|
};
|
|
414
489
|
};
|
|
415
490
|
};
|
|
416
|
-
}
|
|
417
|
-
|
|
418
|
-
stop: {
|
|
419
|
-
post: {
|
|
420
|
-
body: unknown;
|
|
421
|
-
params: {};
|
|
422
|
-
query: unknown;
|
|
423
|
-
headers: unknown;
|
|
424
|
-
response: {
|
|
425
|
-
200: {
|
|
426
|
-
isRunning: boolean;
|
|
427
|
-
};
|
|
428
|
-
};
|
|
429
|
-
};
|
|
430
|
-
};
|
|
431
|
-
};
|
|
432
|
-
}, {
|
|
433
|
-
derive: {};
|
|
434
|
-
resolve: {};
|
|
435
|
-
schema: {};
|
|
436
|
-
standaloneSchema: {};
|
|
437
|
-
response: {};
|
|
438
|
-
}, {
|
|
439
|
-
derive: {};
|
|
440
|
-
resolve: {};
|
|
441
|
-
schema: {};
|
|
442
|
-
standaloneSchema: {};
|
|
443
|
-
response: {};
|
|
491
|
+
}, import("elysia/types").DefaultEphemeral, import("elysia/types").DefaultEphemeral, "post", `${string}/stop`, import("elysia/types").IntersectIfObjectSchema<import("elysia").UnwrapRoute<{}, {}, `/${string}/stop`>, import("elysia/types").MergeScopedSchemas<{}, {}, {}>>, {}, () => {
|
|
492
|
+
isRunning: boolean;
|
|
444
493
|
}>;
|