@eka-care/ekascribe-ts-sdk 2.0.12 → 2.0.14

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 CHANGED
@@ -24,7 +24,7 @@ declare class EkaScribe {
24
24
  updateAuthTokens({ access_token }: {
25
25
  access_token: string;
26
26
  }): void;
27
- initTransaction(request: TStartRecordingRequest): Promise<TStartRecordingResponse>;
27
+ initTransaction(request: TPostTransactionInitRequest): Promise<TStartRecordingResponse>;
28
28
  startRecording(): Promise<TStartRecordingResponse>;
29
29
  reinitializeVad(): void;
30
30
  destroyVad(): void;
@@ -384,15 +384,15 @@ declare type TPostTransactionInitRequest = {
384
384
  s3Url?: string;
385
385
  txn_id: string;
386
386
  input_language: string[];
387
- output_language: string;
387
+ output_language?: string;
388
388
  output_format_template: {
389
389
  template_id: string;
390
390
  template_name?: string;
391
391
  template_type?: string;
392
392
  }[];
393
393
  transfer: string;
394
- auto_download: boolean;
395
- model_training_consent: boolean;
394
+ auto_download?: boolean;
395
+ model_training_consent?: boolean;
396
396
  system_info?: TSystemInfo;
397
397
  patient_details?: TPatientDetails;
398
398
  model_type: string;
@@ -530,27 +530,6 @@ declare type TSessionHistoryData = {
530
530
  patient_details?: TPatientDetails;
531
531
  };
532
532
 
533
- declare type TStartRecordingRequest = {
534
- mode: string;
535
- input_language: string[];
536
- output_language: string;
537
- output_format_template: {
538
- template_id: string;
539
- template_name?: string;
540
- template_type?: string;
541
- }[];
542
- txn_id: string;
543
- auto_download: boolean;
544
- model_training_consent: boolean;
545
- transfer: string;
546
- system_info?: TSystemInfo;
547
- patient_details?: TPatientDetails;
548
- model_type: string;
549
- version?: string;
550
- flavour?: string;
551
- additional_data?: any;
552
- };
553
-
554
533
  declare type TStartRecordingResponse = {
555
534
  error_code?: ERROR_CODE;
556
535
  status_code: number;