@eka-care/ekascribe-ts-sdk 2.1.15 → 2.1.17
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/index.d.ts +134 -48
- package/dist/index.mjs +13704 -41762
- package/dist/worker.bundle.js +8 -38
- package/package.json +2 -7
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,11 @@
|
|
|
1
|
-
declare enum
|
|
1
|
+
export declare enum API_STATUS {
|
|
2
|
+
NOT_INITIALIZED = "na",
|
|
3
|
+
INIT = "init",
|
|
4
|
+
STOP = "stop",
|
|
5
|
+
COMMIT = "commit"
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
export declare enum CALLBACK_TYPE {
|
|
2
9
|
AWS_CONFIGURE_STATUS = "aws_configure_status",
|
|
3
10
|
FILE_UPLOAD_STATUS = "file_upload_status",
|
|
4
11
|
TRANSACTION_STATUS = "transaction_status",
|
|
@@ -8,12 +15,20 @@ declare enum CALLBACK_TYPE {
|
|
|
8
15
|
STORAGE_STATUS = "storage_status"
|
|
9
16
|
}
|
|
10
17
|
|
|
11
|
-
declare enum COMPATIBILITY_TEST_STATUS {
|
|
18
|
+
export declare enum COMPATIBILITY_TEST_STATUS {
|
|
12
19
|
SUCCESS = "success",
|
|
13
20
|
ERROR = "error",
|
|
14
21
|
WARNING = "warning"
|
|
15
22
|
}
|
|
16
23
|
|
|
24
|
+
export declare enum COMPATIBILITY_TEST_TYPE {
|
|
25
|
+
INTERNET_CONNECTIVITY = "INTERNET_CONNECTIVITY",
|
|
26
|
+
SYSTEM_INFO = "SYSTEM_INFO",
|
|
27
|
+
MICROPHONE = "MICROPHONE",
|
|
28
|
+
SHARED_WORKER = "SHARED_WORKER",
|
|
29
|
+
NETWORK_API = "NETWORK_API"
|
|
30
|
+
}
|
|
31
|
+
|
|
17
32
|
declare class EkaScribe {
|
|
18
33
|
private static instance;
|
|
19
34
|
private vadInstance;
|
|
@@ -104,7 +119,7 @@ declare class EkaScribe {
|
|
|
104
119
|
getDoctorClinics(request: TGetDoctorClinicsRequest): Promise<TGetDoctorClinicsResponse>;
|
|
105
120
|
}
|
|
106
121
|
|
|
107
|
-
declare enum ERROR_CODE {
|
|
122
|
+
export declare enum ERROR_CODE {
|
|
108
123
|
MICROPHONE = "microphone",
|
|
109
124
|
TXN_INIT_FAILED = "txn_init_failed",
|
|
110
125
|
TXN_LIMIT_EXCEEDED = "txn_limit_exceeded",
|
|
@@ -133,6 +148,20 @@ export declare const getEkaScribeInstance: ({ access_token, env, clientId, flavo
|
|
|
133
148
|
flavour?: string;
|
|
134
149
|
}) => EkaScribe;
|
|
135
150
|
|
|
151
|
+
export declare enum PROCESSING_STATUS {
|
|
152
|
+
SUCCESS = "success",
|
|
153
|
+
IN_PROGRESS = "in-progress",
|
|
154
|
+
FAILED = "failed",
|
|
155
|
+
CANCELLED = "cancelled"
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
export declare enum RESULT_STATUS {
|
|
159
|
+
SUCCESS = "success",
|
|
160
|
+
FAILURE = "failure",
|
|
161
|
+
PARTIAL_COMPLETE = "partial_complete",
|
|
162
|
+
IN_PROGRESS = "in-progress"
|
|
163
|
+
}
|
|
164
|
+
|
|
136
165
|
declare type TAudioChunksInfo = {
|
|
137
166
|
fileName: string;
|
|
138
167
|
timestamp: {
|
|
@@ -159,18 +188,18 @@ declare type TClinicInfo = {
|
|
|
159
188
|
name: string;
|
|
160
189
|
};
|
|
161
190
|
|
|
162
|
-
declare type TCompatibilityCallback = (result: TCompatibilityTestResult) => void;
|
|
191
|
+
export declare type TCompatibilityCallback = (result: TCompatibilityTestResult) => void;
|
|
163
192
|
|
|
164
|
-
declare type TCompatibilityTestResult = {
|
|
193
|
+
export declare type TCompatibilityTestResult = {
|
|
165
194
|
test_type: string;
|
|
166
195
|
status: COMPATIBILITY_TEST_STATUS;
|
|
167
196
|
message: string;
|
|
168
|
-
data?:
|
|
197
|
+
data?: Record<string, unknown>;
|
|
169
198
|
timestamp: string;
|
|
170
199
|
error?: string;
|
|
171
200
|
};
|
|
172
201
|
|
|
173
|
-
declare type TCompatibilityTestSummary = {
|
|
202
|
+
export declare type TCompatibilityTestSummary = {
|
|
174
203
|
allPassed: boolean;
|
|
175
204
|
results: TCompatibilityTestResult[];
|
|
176
205
|
totalTests: number;
|
|
@@ -179,7 +208,7 @@ declare type TCompatibilityTestSummary = {
|
|
|
179
208
|
warningTests: number;
|
|
180
209
|
};
|
|
181
210
|
|
|
182
|
-
declare type TConfigSettings = {
|
|
211
|
+
export declare type TConfigSettings = {
|
|
183
212
|
model_training_consent: {
|
|
184
213
|
value: boolean;
|
|
185
214
|
editable: boolean;
|
|
@@ -207,7 +236,21 @@ declare type TDoctorHeaderFooterInfo = {
|
|
|
207
236
|
show_signature: boolean | null;
|
|
208
237
|
};
|
|
209
238
|
|
|
210
|
-
declare
|
|
239
|
+
export declare enum TEMPLATE_ID {
|
|
240
|
+
EKA_EMR_TEMPLATE = "eka_emr_template",
|
|
241
|
+
CLINICAL_NOTE_TEMPLATE = "clinical_notes_template",
|
|
242
|
+
TRANSCRIPT_TEMPLATE = "transcript_template",
|
|
243
|
+
EKA_EMR_TO_FHIR_TEMPLATE = "eka_emr_to_fhir_template",
|
|
244
|
+
NIC_TEMPLATE = "nic_template"
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
export declare enum TEMPLATE_TYPE {
|
|
248
|
+
JSON = "json",
|
|
249
|
+
TRANSCRIPT = "transcript",
|
|
250
|
+
MARKDOWN = "markdown"
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
export declare type TEndRecordingResponse = {
|
|
211
254
|
error_code?: ERROR_CODE;
|
|
212
255
|
status_code: number;
|
|
213
256
|
message: string;
|
|
@@ -215,7 +258,7 @@ declare type TEndRecordingResponse = {
|
|
|
215
258
|
total_audio_files?: string[];
|
|
216
259
|
};
|
|
217
260
|
|
|
218
|
-
declare type TEventCallback = (args: {
|
|
261
|
+
export declare type TEventCallback = (args: {
|
|
219
262
|
callback_type: CALLBACK_TYPE;
|
|
220
263
|
status: 'success' | 'error' | 'progress' | 'info';
|
|
221
264
|
message: string;
|
|
@@ -229,7 +272,7 @@ declare type TEventCallback = (args: {
|
|
|
229
272
|
metadata?: Record<string, unknown>;
|
|
230
273
|
}) => void;
|
|
231
274
|
|
|
232
|
-
declare type TEventCallbackData = {
|
|
275
|
+
export declare type TEventCallbackData = {
|
|
233
276
|
success?: number;
|
|
234
277
|
total?: number;
|
|
235
278
|
is_uploaded?: boolean;
|
|
@@ -247,13 +290,13 @@ declare type TFullAudioUploadResponse = {
|
|
|
247
290
|
message: string;
|
|
248
291
|
};
|
|
249
292
|
|
|
250
|
-
declare type TGetConfigItem = {
|
|
293
|
+
export declare type TGetConfigItem = {
|
|
251
294
|
id: string;
|
|
252
295
|
name: string;
|
|
253
296
|
desc?: string;
|
|
254
297
|
};
|
|
255
298
|
|
|
256
|
-
declare type TGetConfigV2Response = {
|
|
299
|
+
export declare type TGetConfigV2Response = {
|
|
257
300
|
data?: {
|
|
258
301
|
supported_languages: TGetConfigItem[];
|
|
259
302
|
supported_output_formats: TGetConfigItem[];
|
|
@@ -298,22 +341,22 @@ declare type TGetConfigV2Response = {
|
|
|
298
341
|
code: number;
|
|
299
342
|
};
|
|
300
343
|
|
|
301
|
-
declare type TGetDoctorClinicsRequest = {
|
|
344
|
+
export declare type TGetDoctorClinicsRequest = {
|
|
302
345
|
doctor_id: string;
|
|
303
346
|
};
|
|
304
347
|
|
|
305
|
-
declare type TGetDoctorClinicsResponse = {
|
|
348
|
+
export declare type TGetDoctorClinicsResponse = {
|
|
306
349
|
data: TClinicInfo[] | null;
|
|
307
350
|
code: number;
|
|
308
351
|
message?: string;
|
|
309
352
|
};
|
|
310
353
|
|
|
311
|
-
declare type TGetDoctorHeaderFooterRequest = {
|
|
354
|
+
export declare type TGetDoctorHeaderFooterRequest = {
|
|
312
355
|
doctor_oid: string;
|
|
313
356
|
clinic_id?: string;
|
|
314
357
|
};
|
|
315
358
|
|
|
316
|
-
declare type TGetDoctorHeaderFooterResponse = {
|
|
359
|
+
export declare type TGetDoctorHeaderFooterResponse = {
|
|
317
360
|
data: TDoctorHeaderFooterInfo;
|
|
318
361
|
code: number;
|
|
319
362
|
message?: string;
|
|
@@ -342,13 +385,13 @@ declare type TGetStatusApiResponse = {
|
|
|
342
385
|
};
|
|
343
386
|
};
|
|
344
387
|
|
|
345
|
-
declare type TGetStatusResponse = {
|
|
388
|
+
export declare type TGetStatusResponse = {
|
|
346
389
|
response?: TGetStatusApiResponse | null;
|
|
347
390
|
status_code: number;
|
|
348
391
|
message?: string;
|
|
349
392
|
};
|
|
350
393
|
|
|
351
|
-
declare type TGetTransactionHistoryResponse = {
|
|
394
|
+
export declare type TGetTransactionHistoryResponse = {
|
|
352
395
|
data?: TSessionHistoryData[];
|
|
353
396
|
status?: string;
|
|
354
397
|
status_code: number;
|
|
@@ -356,7 +399,7 @@ declare type TGetTransactionHistoryResponse = {
|
|
|
356
399
|
retrieved_count?: number;
|
|
357
400
|
};
|
|
358
401
|
|
|
359
|
-
declare interface TGetV1TemplateSectionsResponse {
|
|
402
|
+
export declare interface TGetV1TemplateSectionsResponse {
|
|
360
403
|
items: TSection[];
|
|
361
404
|
code: number;
|
|
362
405
|
error?: {
|
|
@@ -365,7 +408,7 @@ declare interface TGetV1TemplateSectionsResponse {
|
|
|
365
408
|
};
|
|
366
409
|
}
|
|
367
410
|
|
|
368
|
-
declare interface TGetV1TemplatesResponse {
|
|
411
|
+
export declare interface TGetV1TemplatesResponse {
|
|
369
412
|
items: TTemplate[];
|
|
370
413
|
code: number;
|
|
371
414
|
error?: {
|
|
@@ -392,7 +435,7 @@ declare type TOutputSummary = {
|
|
|
392
435
|
warnings?: TTemplateMessage[];
|
|
393
436
|
};
|
|
394
437
|
|
|
395
|
-
declare type TPartialResultCallback = (data: {
|
|
438
|
+
export declare type TPartialResultCallback = (data: {
|
|
396
439
|
txn_id: string;
|
|
397
440
|
response: TGetStatusApiResponse | null;
|
|
398
441
|
status_code: number;
|
|
@@ -408,13 +451,13 @@ declare type TPatchTransactionError = {
|
|
|
408
451
|
};
|
|
409
452
|
};
|
|
410
453
|
|
|
411
|
-
declare type TPatchTransactionRequest = {
|
|
454
|
+
export declare type TPatchTransactionRequest = {
|
|
412
455
|
sessionId: string;
|
|
413
456
|
processing_status: string;
|
|
414
457
|
processing_error?: TPatchTransactionError;
|
|
415
458
|
};
|
|
416
459
|
|
|
417
|
-
declare type TPatchVoiceApiV2ConfigRequest = {
|
|
460
|
+
export declare type TPatchVoiceApiV2ConfigRequest = {
|
|
418
461
|
request_type: string;
|
|
419
462
|
data: {
|
|
420
463
|
auto_download?: boolean;
|
|
@@ -431,12 +474,21 @@ declare type TPatchVoiceApiV2ConfigRequest = {
|
|
|
431
474
|
consult_language?: string[];
|
|
432
475
|
contact_number?: string;
|
|
433
476
|
onboarding_step?: string;
|
|
434
|
-
sys_info?:
|
|
477
|
+
sys_info?: TSystemInfo;
|
|
435
478
|
};
|
|
436
479
|
query_params?: string;
|
|
437
480
|
};
|
|
438
481
|
|
|
439
|
-
declare
|
|
482
|
+
export declare interface TPatchVoiceApiV2ConfigResponse extends TPatchVoiceApiV2ConfigRequest {
|
|
483
|
+
msg: string;
|
|
484
|
+
code: number;
|
|
485
|
+
error?: {
|
|
486
|
+
code: string;
|
|
487
|
+
message: string;
|
|
488
|
+
};
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
export declare type TPatchVoiceApiV3StatusRequest = {
|
|
440
492
|
txnId: string;
|
|
441
493
|
data: {
|
|
442
494
|
'template-id': string;
|
|
@@ -444,7 +496,7 @@ declare type TPatchVoiceApiV3StatusRequest = {
|
|
|
444
496
|
}[];
|
|
445
497
|
};
|
|
446
498
|
|
|
447
|
-
declare type TPatchVoiceApiV3StatusResponse = {
|
|
499
|
+
export declare type TPatchVoiceApiV3StatusResponse = {
|
|
448
500
|
status: string;
|
|
449
501
|
message: string;
|
|
450
502
|
txn_id: string;
|
|
@@ -457,7 +509,7 @@ declare type TPatchVoiceApiV3StatusResponse = {
|
|
|
457
509
|
};
|
|
458
510
|
};
|
|
459
511
|
|
|
460
|
-
declare type TPatientDetails = {
|
|
512
|
+
export declare type TPatientDetails = {
|
|
461
513
|
username: string;
|
|
462
514
|
oid?: string;
|
|
463
515
|
age: number;
|
|
@@ -466,7 +518,7 @@ declare type TPatientDetails = {
|
|
|
466
518
|
email?: string;
|
|
467
519
|
};
|
|
468
520
|
|
|
469
|
-
declare type TPauseRecordingResponse = {
|
|
521
|
+
export declare type TPauseRecordingResponse = {
|
|
470
522
|
status_code: number;
|
|
471
523
|
message: string;
|
|
472
524
|
error_code?: ERROR_CODE;
|
|
@@ -480,6 +532,19 @@ declare type TPollingResponse = {
|
|
|
480
532
|
errorCode?: string;
|
|
481
533
|
};
|
|
482
534
|
|
|
535
|
+
export declare type TPostCogResponse = {
|
|
536
|
+
credentials?: {
|
|
537
|
+
AccessKeyId: string;
|
|
538
|
+
SecretKey: string;
|
|
539
|
+
SessionToken: string;
|
|
540
|
+
Expiration: string;
|
|
541
|
+
};
|
|
542
|
+
message?: string;
|
|
543
|
+
token?: string;
|
|
544
|
+
identity_id?: string;
|
|
545
|
+
is_session_expired?: boolean;
|
|
546
|
+
};
|
|
547
|
+
|
|
483
548
|
declare type TPostCookV1MediaAiCreateTemplateResponse = {
|
|
484
549
|
title: string;
|
|
485
550
|
desc: string;
|
|
@@ -488,7 +553,7 @@ declare type TPostCookV1MediaAiCreateTemplateResponse = {
|
|
|
488
553
|
message: string;
|
|
489
554
|
};
|
|
490
555
|
|
|
491
|
-
declare type TPostTransactionInitRequest = {
|
|
556
|
+
export declare type TPostTransactionInitRequest = {
|
|
492
557
|
mode: string;
|
|
493
558
|
s3Url?: string;
|
|
494
559
|
txn_id: string;
|
|
@@ -510,10 +575,10 @@ declare type TPostTransactionInitRequest = {
|
|
|
510
575
|
flavour?: string;
|
|
511
576
|
batch_s3_url?: string;
|
|
512
577
|
audio_file_names?: string[];
|
|
513
|
-
additional_data?:
|
|
578
|
+
additional_data?: Record<string, unknown>;
|
|
514
579
|
};
|
|
515
580
|
|
|
516
|
-
declare type TPostTransactionResponse = {
|
|
581
|
+
export declare type TPostTransactionResponse = {
|
|
517
582
|
status: string;
|
|
518
583
|
message: string;
|
|
519
584
|
txn_id: string;
|
|
@@ -529,14 +594,14 @@ declare type TPostTransactionResponse = {
|
|
|
529
594
|
};
|
|
530
595
|
};
|
|
531
596
|
|
|
532
|
-
declare type TPostV1ConvertToTemplateRequest = {
|
|
597
|
+
export declare type TPostV1ConvertToTemplateRequest = {
|
|
533
598
|
txn_id: string;
|
|
534
|
-
template_id
|
|
599
|
+
template_id?: string;
|
|
535
600
|
transcript?: string;
|
|
536
601
|
target_language?: string;
|
|
537
602
|
};
|
|
538
603
|
|
|
539
|
-
declare type TPostV1ConvertToTemplateResponse = {
|
|
604
|
+
export declare type TPostV1ConvertToTemplateResponse = {
|
|
540
605
|
status: 'success' | 'failed';
|
|
541
606
|
message: string;
|
|
542
607
|
txn_id: string;
|
|
@@ -551,14 +616,14 @@ declare type TPostV1ConvertToTemplateResponse = {
|
|
|
551
616
|
};
|
|
552
617
|
};
|
|
553
618
|
|
|
554
|
-
declare interface TPostV1TemplateRequest {
|
|
619
|
+
export declare interface TPostV1TemplateRequest {
|
|
555
620
|
title: string;
|
|
556
621
|
desc?: string;
|
|
557
622
|
section_ids: string[];
|
|
558
623
|
template_id?: string;
|
|
559
624
|
}
|
|
560
625
|
|
|
561
|
-
declare interface TPostV1TemplateResponse {
|
|
626
|
+
export declare interface TPostV1TemplateResponse {
|
|
562
627
|
code: number;
|
|
563
628
|
msg: string;
|
|
564
629
|
template_id?: string;
|
|
@@ -569,7 +634,7 @@ declare interface TPostV1TemplateResponse {
|
|
|
569
634
|
};
|
|
570
635
|
}
|
|
571
636
|
|
|
572
|
-
declare interface TPostV1TemplateSectionRequest {
|
|
637
|
+
export declare interface TPostV1TemplateSectionRequest {
|
|
573
638
|
title: string;
|
|
574
639
|
desc?: string;
|
|
575
640
|
format?: 'P' | 'B';
|
|
@@ -577,7 +642,7 @@ declare interface TPostV1TemplateSectionRequest {
|
|
|
577
642
|
section_id?: string;
|
|
578
643
|
}
|
|
579
644
|
|
|
580
|
-
declare interface TPostV1TemplateSectionResponse {
|
|
645
|
+
export declare interface TPostV1TemplateSectionResponse {
|
|
581
646
|
msg: string;
|
|
582
647
|
section_id: string;
|
|
583
648
|
code: number;
|
|
@@ -588,7 +653,7 @@ declare interface TPostV1TemplateSectionResponse {
|
|
|
588
653
|
};
|
|
589
654
|
}
|
|
590
655
|
|
|
591
|
-
declare interface TPostV1UploadAudioFilesRequest extends TPostTransactionInitRequest {
|
|
656
|
+
export declare interface TPostV1UploadAudioFilesRequest extends TPostTransactionInitRequest {
|
|
592
657
|
action: string;
|
|
593
658
|
audioFiles: File[] | Blob[];
|
|
594
659
|
audioFileNames: string[];
|
|
@@ -610,7 +675,7 @@ declare type TSearchSessionsRequest = {
|
|
|
610
675
|
searchCriteria: TSearchCriteria;
|
|
611
676
|
};
|
|
612
677
|
|
|
613
|
-
declare interface TSection {
|
|
678
|
+
export declare interface TSection {
|
|
614
679
|
id: string;
|
|
615
680
|
title: string;
|
|
616
681
|
desc: string;
|
|
@@ -620,7 +685,7 @@ declare interface TSection {
|
|
|
620
685
|
parent_section_id?: string;
|
|
621
686
|
}
|
|
622
687
|
|
|
623
|
-
declare type TSelectedPreferences = {
|
|
688
|
+
export declare type TSelectedPreferences = {
|
|
624
689
|
languages?: TGetConfigItem[];
|
|
625
690
|
output_formats?: TGetConfigItem[];
|
|
626
691
|
consultation_mode?: string;
|
|
@@ -629,7 +694,7 @@ declare type TSelectedPreferences = {
|
|
|
629
694
|
model_type?: string;
|
|
630
695
|
};
|
|
631
696
|
|
|
632
|
-
declare type TSessionHistoryData = {
|
|
697
|
+
export declare type TSessionHistoryData = {
|
|
633
698
|
created_at: string;
|
|
634
699
|
b_id: string;
|
|
635
700
|
user_status: string;
|
|
@@ -641,7 +706,21 @@ declare type TSessionHistoryData = {
|
|
|
641
706
|
patient_details?: TPatientDetails;
|
|
642
707
|
};
|
|
643
708
|
|
|
644
|
-
declare type
|
|
709
|
+
export declare type TSessionStatus = {
|
|
710
|
+
[key: string]: {
|
|
711
|
+
api?: {
|
|
712
|
+
status: API_STATUS;
|
|
713
|
+
error?: string;
|
|
714
|
+
response?: string;
|
|
715
|
+
code: number;
|
|
716
|
+
};
|
|
717
|
+
vad?: {
|
|
718
|
+
status: VAD_STATUS;
|
|
719
|
+
};
|
|
720
|
+
};
|
|
721
|
+
};
|
|
722
|
+
|
|
723
|
+
export declare type TStartRecordingResponse = {
|
|
645
724
|
error_code?: ERROR_CODE;
|
|
646
725
|
status_code: number;
|
|
647
726
|
message: string;
|
|
@@ -651,7 +730,7 @@ declare type TStartRecordingResponse = {
|
|
|
651
730
|
uuid?: string;
|
|
652
731
|
};
|
|
653
732
|
|
|
654
|
-
declare type TSystemInfo = {
|
|
733
|
+
export declare type TSystemInfo = {
|
|
655
734
|
platform: string;
|
|
656
735
|
language: string;
|
|
657
736
|
hardware_concurrency?: number;
|
|
@@ -660,7 +739,7 @@ declare type TSystemInfo = {
|
|
|
660
739
|
network_info?: TNetworkInfo;
|
|
661
740
|
};
|
|
662
741
|
|
|
663
|
-
declare interface TTemplate {
|
|
742
|
+
export declare interface TTemplate {
|
|
664
743
|
id: string;
|
|
665
744
|
title: string;
|
|
666
745
|
desc: string;
|
|
@@ -677,7 +756,7 @@ declare type TTemplateMessage = {
|
|
|
677
756
|
|
|
678
757
|
declare type TTemplateStatus = 'success' | 'partial_success' | 'failure';
|
|
679
758
|
|
|
680
|
-
declare type TVadFrameProcessedCallback = (args: {
|
|
759
|
+
export declare type TVadFrameProcessedCallback = (args: {
|
|
681
760
|
probabilities: {
|
|
682
761
|
notSpeech: number;
|
|
683
762
|
isSpeech: number;
|
|
@@ -686,11 +765,18 @@ declare type TVadFrameProcessedCallback = (args: {
|
|
|
686
765
|
duration: number;
|
|
687
766
|
}) => void;
|
|
688
767
|
|
|
689
|
-
declare type TVadFramesCallback = (args: {
|
|
768
|
+
export declare type TVadFramesCallback = (args: {
|
|
690
769
|
error_code?: ERROR_CODE;
|
|
691
770
|
status_code: number;
|
|
692
771
|
message?: string;
|
|
693
772
|
request?: string;
|
|
694
773
|
}) => void;
|
|
695
774
|
|
|
775
|
+
export declare enum VAD_STATUS {
|
|
776
|
+
START = "start",
|
|
777
|
+
PAUSE = "pause",
|
|
778
|
+
RESUME = "resume",
|
|
779
|
+
STOP = "stop"
|
|
780
|
+
}
|
|
781
|
+
|
|
696
782
|
export { }
|