@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
@@ -1,4 +1,3 @@
1
- import { Elysia } from "elysia";
2
1
  import type { StoredVoiceTraceEvent, VoiceTraceEventStore } from "./trace";
3
2
  import type { VoiceTelephonyContractReport, VoiceTelephonyProvider } from "../telephony/contract";
4
3
  export type VoicePhoneAgentProductionSmokeRequirement = "assistant-response" | "carrier-contract" | "fresh-trace" | "lifecycle-outcome" | "media-started" | "no-session-error" | "transcript";
@@ -70,46 +69,13 @@ export declare const createVoicePhoneAgentProductionSmokeJSONHandler: <TProvider
70
69
  query: Record<string, unknown>;
71
70
  request: Request;
72
71
  }) => Promise<VoicePhoneAgentProductionSmokeReport<TProvider>>;
73
- export declare const createVoicePhoneAgentProductionSmokeRoutes: <TProvider extends VoiceTelephonyProvider = VoiceTelephonyProvider>(options: VoicePhoneAgentProductionSmokeRoutesOptions<TProvider>) => Elysia<"", {
74
- decorator: {};
75
- store: {};
76
- derive: {};
77
- resolve: {};
78
- }, {
72
+ export declare const createVoicePhoneAgentProductionSmokeRoutes: <TProvider extends VoiceTelephonyProvider = VoiceTelephonyProvider>(options: VoicePhoneAgentProductionSmokeRoutesOptions<TProvider>) => import("elysia/types").AddRoute<"", "local", import("elysia/types").DefaultSingleton, {
79
73
  typebox: {};
80
- error: {};
81
- }, {
82
- schema: {};
83
- standaloneSchema: {};
84
- macro: {};
85
- macroFn: {};
86
- parser: {};
87
- response: {};
88
- }, {
89
- [x: string]: {
90
- get: {
91
- body: unknown;
92
- params: {};
93
- query: unknown;
94
- headers: unknown;
95
- response: {
96
- 200: VoicePhoneAgentProductionSmokeReport<TProvider>;
97
- };
98
- };
99
- };
100
- }, {
101
- derive: {};
102
- resolve: {};
103
- schema: {};
104
- standaloneSchema: {};
105
- response: {};
106
- }, {
107
- derive: {};
108
- resolve: {};
109
- schema: {};
110
- standaloneSchema: {};
111
- response: {};
112
- }>;
74
+ error: [];
75
+ }, 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, request, }: {
76
+ query: Record<string, unknown>;
77
+ request: Request;
78
+ }) => Promise<VoicePhoneAgentProductionSmokeReport<TProvider>>>;
113
79
  export declare const renderVoicePhoneAgentProductionSmokeHTML: <TProvider extends VoiceTelephonyProvider = VoiceTelephonyProvider>(report: VoicePhoneAgentProductionSmokeReport<TProvider>, options?: {
114
80
  title?: string;
115
81
  }) => string;
@@ -61,31 +61,7 @@ export type VoicePlatformCoverageAssertionReport = {
61
61
  export declare const assertVoicePlatformCoverage: (summary: VoicePlatformCoverageSummary, input?: VoicePlatformCoverageAssertionInput) => VoicePlatformCoverageAssertionReport;
62
62
  export declare const buildVoicePlatformCoverageSummary: (input: VoicePlatformCoverageSummaryInput) => VoicePlatformCoverageSummary;
63
63
  export declare const evaluateVoicePlatformCoverage: (summary: VoicePlatformCoverageSummary, input?: VoicePlatformCoverageAssertionInput) => VoicePlatformCoverageAssertionReport;
64
- export declare const createVoicePlatformCoverageRoutes: (options: VoicePlatformCoverageRoutesOptions) => Elysia<"", {
65
- decorator: {};
66
- store: {};
67
- derive: {};
68
- resolve: {};
69
- }, {
64
+ export declare const createVoicePlatformCoverageRoutes: (options: VoicePlatformCoverageRoutesOptions) => Elysia<"", "local", import("elysia/types").DefaultSingleton, {
70
65
  typebox: {};
71
- error: {};
72
- }, {
73
- schema: {};
74
- standaloneSchema: {};
75
- macro: {};
76
- macroFn: {};
77
- parser: {};
78
- response: {};
79
- }, {}, {
80
- derive: {};
81
- resolve: {};
82
- schema: {};
83
- standaloneSchema: {};
84
- response: {};
85
- }, {
86
- derive: {};
87
- resolve: {};
88
- schema: {};
89
- standaloneSchema: {};
90
- response: {};
91
- }>;
66
+ error: [];
67
+ }, import("elysia/types").DefaultMetadata, {}, import("elysia/types").DefaultEphemeral, import("elysia/types").DefaultEphemeral>;
@@ -2,41 +2,23 @@ import { Elysia } from "elysia";
2
2
  import type { VoicePluginConfig, VoiceSessionRecord } from "./types";
3
3
  export declare const resolveSocketHeaders: (ws: {
4
4
  data?: unknown;
5
+ headers?: unknown;
6
+ request?: unknown;
5
7
  }) => Headers;
6
- export declare const voice: <TContext = unknown, TSession extends VoiceSessionRecord = VoiceSessionRecord, TResult = unknown>(config: VoicePluginConfig<TContext, TSession, TResult>) => Elysia<"", {
8
+ export declare const voice: <TContext = unknown, TSession extends VoiceSessionRecord = VoiceSessionRecord, TResult = unknown>(config: VoicePluginConfig<TContext, TSession, TResult>) => Elysia<"", "local", {
7
9
  decorator: {};
8
10
  store: {};
9
11
  derive: {};
10
- resolve: {};
11
12
  }, {
12
13
  typebox: {};
13
- error: {};
14
- }, {
15
- schema: {};
16
- standaloneSchema: {};
17
- macro: {};
18
- macroFn: {};
19
- parser: {};
20
- response: {};
21
- }, {
14
+ error: [];
15
+ }, import("elysia/types").DefaultMetadata, {
22
16
  [x: string]: {
23
- subscribe: {
24
- body: {};
25
- params: {};
26
- query: {};
27
- headers: {};
28
- response: {};
29
- };
17
+ subscribe: import("elysia/types").CreateWSEdenResponse<string, import("elysia/types").IntersectIfObjectSchema<import("elysia").UnwrapRoute<import("elysia").InputSchema<never>, {}, `/${string}`>, import("elysia/types").MergeScopedSchemas<{}, {}, {}>>, {}, import("elysia/types").ComposeElysiaResponse<import("elysia/types").IntersectIfObjectSchema<import("elysia").UnwrapRoute<import("elysia").InputSchema<never>, {}, `/${string}`>, import("elysia/types").MergeScopedSchemas<{}, {}, {}>>, void, {}, [], string>>;
30
18
  };
31
19
  } | ({
32
20
  [x: string]: {
33
- subscribe: {
34
- body: {};
35
- params: {};
36
- query: {};
37
- headers: {};
38
- response: {};
39
- };
21
+ subscribe: import("elysia/types").CreateWSEdenResponse<string, import("elysia/types").IntersectIfObjectSchema<import("elysia").UnwrapRoute<import("elysia").InputSchema<never>, {}, `/${string}`>, import("elysia/types").MergeScopedSchemas<{}, {}, {}>>, {}, import("elysia/types").ComposeElysiaResponse<import("elysia/types").IntersectIfObjectSchema<import("elysia").UnwrapRoute<import("elysia").InputSchema<never>, {}, `/${string}`>, import("elysia/types").MergeScopedSchemas<{}, {}, {}>>, void, {}, [], string>>;
40
22
  };
41
23
  } & {
42
24
  [x: string]: {
@@ -48,6 +30,7 @@ export declare const voice: <TContext = unknown, TSession extends VoiceSessionRe
48
30
  response: {
49
31
  200: Response;
50
32
  };
33
+ error: never;
51
34
  };
52
35
  };
53
36
  } & {
@@ -60,24 +43,13 @@ export declare const voice: <TContext = unknown, TSession extends VoiceSessionRe
60
43
  response: {
61
44
  200: Response;
62
45
  };
46
+ error: never;
63
47
  };
64
48
  };
65
- }), {
66
- derive: {};
67
- resolve: {};
68
- schema: {};
69
- standaloneSchema: {};
70
- response: {};
71
- }, {
72
- derive: {};
73
- resolve: {};
74
- schema: {};
75
- standaloneSchema: {};
76
- response: {};
77
- } & {
49
+ }), import("elysia/types").DefaultEphemeral, {
78
50
  derive: {};
79
- resolve: {};
80
51
  schema: {};
81
- standaloneSchema: {};
52
+ schemas: {};
82
53
  response: {};
54
+ error: [];
83
55
  }>;
@@ -68,31 +68,7 @@ export type VoicePostCallAnalysisRoutesOptions = VoicePostCallAnalysisOptions &
68
68
  };
69
69
  export declare const buildVoicePostCallAnalysisReport: (options?: VoicePostCallAnalysisOptions) => Promise<VoicePostCallAnalysisReport>;
70
70
  export declare const renderVoicePostCallAnalysisMarkdown: (report: VoicePostCallAnalysisReport) => string;
71
- export declare const createVoicePostCallAnalysisRoutes: (options?: VoicePostCallAnalysisRoutesOptions) => Elysia<"", {
72
- decorator: {};
73
- store: {};
74
- derive: {};
75
- resolve: {};
76
- }, {
71
+ export declare const createVoicePostCallAnalysisRoutes: (options?: VoicePostCallAnalysisRoutesOptions) => Elysia<"", "local", import("elysia/types").DefaultSingleton, {
77
72
  typebox: {};
78
- error: {};
79
- }, {
80
- schema: {};
81
- standaloneSchema: {};
82
- macro: {};
83
- macroFn: {};
84
- parser: {};
85
- response: {};
86
- }, {}, {
87
- derive: {};
88
- resolve: {};
89
- schema: {};
90
- standaloneSchema: {};
91
- response: {};
92
- }, {
93
- derive: {};
94
- resolve: {};
95
- schema: {};
96
- standaloneSchema: {};
97
- response: {};
98
- }>;
73
+ error: [];
74
+ }, import("elysia/types").DefaultMetadata, {}, import("elysia/types").DefaultEphemeral, import("elysia/types").DefaultEphemeral>;
@@ -723,34 +723,10 @@ export declare const buildVoiceProductionReadinessReport: (options: VoiceProduct
723
723
  query?: Record<string, unknown>;
724
724
  request?: Request;
725
725
  }) => Promise<VoiceProductionReadinessReport>;
726
- export declare const createVoiceProductionReadinessRoutes: (options: VoiceProductionReadinessRoutesOptions) => Elysia<"", {
727
- decorator: {};
728
- store: {};
729
- derive: {};
730
- resolve: {};
731
- }, {
726
+ export declare const createVoiceProductionReadinessRoutes: (options: VoiceProductionReadinessRoutesOptions) => Elysia<"", "local", import("elysia/types").DefaultSingleton, {
732
727
  typebox: {};
733
- error: {};
734
- }, {
735
- schema: {};
736
- standaloneSchema: {};
737
- macro: {};
738
- macroFn: {};
739
- parser: {};
740
- response: {};
741
- }, {}, {
742
- derive: {};
743
- resolve: {};
744
- schema: {};
745
- standaloneSchema: {};
746
- response: {};
747
- }, {
748
- derive: {};
749
- resolve: {};
750
- schema: {};
751
- standaloneSchema: {};
752
- response: {};
753
- }>;
728
+ error: [];
729
+ }, import("elysia/types").DefaultMetadata, {}, import("elysia/types").DefaultEphemeral, import("elysia/types").DefaultEphemeral>;
754
730
  export declare const renderVoiceProductionReadinessHTML: (report: VoiceProductionReadinessReport, options?: {
755
731
  title?: string;
756
732
  }) => string;