interview-widget 3.2.7 → 3.2.8

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.
@@ -42,6 +42,7 @@ declare class STTService {
42
42
  private autoStopTimeoutId;
43
43
  private disposed;
44
44
  private pendingStopPromise;
45
+ private isStarting;
45
46
  constructor(config?: STTConfig);
46
47
  /**
47
48
  * Update STT configuration
@@ -0,0 +1,24 @@
1
+ export interface AudioRecord {
2
+ id: string;
3
+ interviewId: string;
4
+ qnaId: string;
5
+ audioBlob: Blob;
6
+ mimeType: string;
7
+ savedAt: number;
8
+ }
9
+ /**
10
+ * Save an audio record to IndexedDB
11
+ */
12
+ export declare function saveAudio(record: AudioRecord): Promise<void>;
13
+ /**
14
+ * Retrieve a specific audio record by its ID
15
+ */
16
+ export declare function getAudio(id: string): Promise<AudioRecord | undefined>;
17
+ /**
18
+ * Get all audio records for a specific interview
19
+ */
20
+ export declare function getAllAudio(interviewId: string): Promise<AudioRecord[]>;
21
+ /**
22
+ * Delete a specific audio record by its ID
23
+ */
24
+ export declare function deleteAudio(id: string): Promise<void>;