@absolutejs/voice 0.0.22-beta.329 → 0.0.22-beta.330

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.
@@ -1,3 +1,5 @@
1
+ import { type VoiceOperationsRecord } from '../operationsRecord';
2
+ import { type VoiceTraceEventStore } from '../trace';
1
3
  export type VoiceTelephonyBenchmarkScenario = {
2
4
  expectClear: boolean;
3
5
  expectMark: boolean;
@@ -40,9 +42,32 @@ export type VoiceTelephonyBenchmarkReport = {
40
42
  generatedAt: number;
41
43
  summary: VoiceTelephonyBenchmarkSummary;
42
44
  };
45
+ export type VoiceTelephonyMediaOperationsSmokeOptions = {
46
+ callSid?: string;
47
+ operationsRecordHref?: string | ((input: {
48
+ sessionId: string;
49
+ streamSid: string;
50
+ }) => string);
51
+ scenarioId?: string;
52
+ sessionId?: string;
53
+ store?: VoiceTraceEventStore;
54
+ streamSid?: string;
55
+ timeoutMs?: number;
56
+ };
57
+ export type VoiceTelephonyMediaOperationsSmokeReport = {
58
+ issues: string[];
59
+ ok: boolean;
60
+ operationsRecord: VoiceOperationsRecord;
61
+ operationsRecordHref?: string;
62
+ sentEvents: string[];
63
+ sessionId: string;
64
+ streamSid: string;
65
+ telephonyMedia: VoiceOperationsRecord['telephonyMedia'];
66
+ };
43
67
  type VoiceTelephonyBenchmarkOptions = {
44
68
  timeoutMs?: number;
45
69
  };
70
+ export declare const runVoiceTelephonyMediaOperationsSmoke: (options?: VoiceTelephonyMediaOperationsSmokeOptions) => Promise<VoiceTelephonyMediaOperationsSmokeReport>;
46
71
  export declare const getDefaultVoiceTelephonyBenchmarkScenarios: () => {
47
72
  expectClear: boolean;
48
73
  expectMark: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@absolutejs/voice",
3
- "version": "0.0.22-beta.329",
3
+ "version": "0.0.22-beta.330",
4
4
  "description": "Voice primitives and Elysia plugin for AbsoluteJS",
5
5
  "repository": {
6
6
  "type": "git",