@eka-care/ekascribe-ts-sdk 1.4.58 → 1.4.60
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/constants/types.d.ts +4 -0
- package/dist/index.js +0 -4
- package/package.json +1 -1
|
@@ -51,6 +51,8 @@ export type TStartRecordingRequest = {
|
|
|
51
51
|
input_language: string[];
|
|
52
52
|
output_format_template: {
|
|
53
53
|
template_id: string;
|
|
54
|
+
template_name: string;
|
|
55
|
+
template_type?: string;
|
|
54
56
|
}[];
|
|
55
57
|
txn_id: string;
|
|
56
58
|
auto_download: boolean;
|
|
@@ -114,6 +116,8 @@ export type TPostTransactionInitRequest = {
|
|
|
114
116
|
input_language: string[];
|
|
115
117
|
output_format_template: {
|
|
116
118
|
template_id: string;
|
|
119
|
+
template_name: string;
|
|
120
|
+
template_type?: string;
|
|
117
121
|
}[];
|
|
118
122
|
transfer: string;
|
|
119
123
|
auto_download: boolean;
|
package/dist/index.js
CHANGED
|
@@ -232,10 +232,6 @@ class EkaScribe {
|
|
|
232
232
|
}
|
|
233
233
|
resetEkaScribe() {
|
|
234
234
|
console.log(this.audioFileManagerInstance, this.audioBufferInstance, this.vadInstance, EkaScribeStore, 'before reset ekascribe');
|
|
235
|
-
// First, stop any ongoing operations
|
|
236
|
-
if (this.vadInstance) {
|
|
237
|
-
this.vadInstance.pauseVad(); // Stop recording first
|
|
238
|
-
}
|
|
239
235
|
this.audioFileManagerInstance.resetFileManagerInstance();
|
|
240
236
|
this.audioBufferInstance.resetBufferManagerInstance();
|
|
241
237
|
this.vadInstance.resetVadWebInstance();
|