@regulaforensics/idv-capture-web 3.6.367 → 3.6.369-nightly

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
@@ -669,13 +669,13 @@ declare class SessionModel implements SessionData {
669
669
  currentStep: string;
670
670
  workflow: WorkflowModel;
671
671
  properties: PropertyModel[];
672
- isErrorFiles: boolean;
673
672
  isProcessingFiles: boolean;
674
673
  locale?: string;
675
- shortId: string;
674
+ isErrorFiles?: boolean;
675
+ shortId?: string;
676
676
  deviceId?: string;
677
- deviceMetadata?: object;
678
- metadata?: object;
677
+ deviceMetadata?: Record<string, unknown>;
678
+ metadata?: Record<string, unknown>;
679
679
  static isSessionModel(value: unknown): value is SessionModel;
680
680
  static fromPlain: (input: SessionData) => SessionModel | {
681
681
  validationErrorMessage: string;
@@ -741,7 +741,7 @@ declare type Workflow = {
741
741
  client: WorkflowClient;
742
742
  trackLocation?: boolean;
743
743
  error?: string | null;
744
- name: string;
744
+ name?: string;
745
745
  } & Record<string, any>;
746
746
 
747
747
  declare type WorkflowClient = {
@@ -789,9 +789,9 @@ declare class WorkflowLoggingModel implements WorkflowLogging {
789
789
 
790
790
  declare class WorkflowModel implements Workflow {
791
791
  id: string;
792
- name: string;
793
792
  steps: WorkflowStepModel[];
794
793
  client: WorkflowClientModel;
794
+ name?: string;
795
795
  logging?: WorkflowLoggingModel | null;
796
796
  error?: string | null;
797
797
  defaultLocale?: string;