@eka-care/ekascribe-ts-sdk 3.0.15 → 3.0.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 CHANGED
@@ -159,7 +159,7 @@ declare class EkaScribe {
159
159
  updateAuthTokens({ access_token }: {
160
160
  access_token: string;
161
161
  }): void;
162
- runSystemCompatibilityTest(callback: TCompatibilityCallback, sharedWorker?: SharedWorker): Promise<TCompatibilityTestSummary>;
162
+ runSystemCompatibilityTest(callback: TCompatibilityCallback): Promise<TCompatibilityTestSummary>;
163
163
  resetInstance(): Promise<void>;
164
164
  private handleUnauthorized;
165
165
  }
@@ -316,6 +316,15 @@ export declare type TCompatibilityTestSummary = {
316
316
  warningTests: number;
317
317
  };
318
318
 
319
+ declare type TConfigHeaderFooter = {
320
+ type: 'image' | 'margin';
321
+ data?: string;
322
+ content_type?: string;
323
+ width: number;
324
+ height: number;
325
+ unit: 'cm' | 'mm';
326
+ };
327
+
319
328
  export declare type TConfigSettings = {
320
329
  model_training_consent: {
321
330
  value: boolean;
@@ -470,6 +479,8 @@ export declare type TGetConfigV2Response = {
470
479
  consult_language?: string[];
471
480
  contact_number?: string;
472
481
  onboarding_step?: string;
482
+ header?: TConfigHeaderFooter;
483
+ footer?: TConfigHeaderFooter;
473
484
  };
474
485
  message?: string;
475
486
  status_code: number;
@@ -689,6 +700,8 @@ export declare type TPatchVoiceApiV2ConfigRequest = {
689
700
  onboarding_step?: string;
690
701
  sys_info?: TSystemInfo;
691
702
  copy_overlay?: boolean;
703
+ header?: TConfigHeaderFooter;
704
+ footer?: TConfigHeaderFooter;
692
705
  };
693
706
  query_params?: string;
694
707
  };