@jumio/websdk 0.2.13 → 0.2.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.
Files changed (49) hide show
  1. package/README.md +2 -0
  2. package/i18n/{ar.DpnTzINq.js → ar.Bd1tccH7.js} +271 -255
  3. package/i18n/{bg.B_K2pOt4.js → bg.nQ_G9LVk.js} +263 -247
  4. package/i18n/{cs.ShTtgVeH.js → cs.DMX_d0v7.js} +251 -235
  5. package/i18n/{da.9OEz6NX2.js → da.DgurKXXC.js} +279 -263
  6. package/i18n/{de.ufuCcOoa.js → de.Cfao5pyc.js} +255 -239
  7. package/i18n/{el.B5H3A17b.js → el.DTjFC2XD.js} +293 -277
  8. package/i18n/{en.jp3pNwhi.js → en.8OU2grh4.js} +239 -223
  9. package/i18n/{en_GB.BMzizJn1.js → en_GB.DehS8DQp.js} +255 -239
  10. package/i18n/{es.BJ5mLQfe.js → es.zGLl7YR5.js} +239 -223
  11. package/i18n/{es_MX.CEKVLgfB.js → es_MX.DpdA-cqS.js} +263 -247
  12. package/i18n/{et.Pa6o0DF3.js → et.C7AXrKdN.js} +259 -243
  13. package/i18n/{fi.BJQU38NO.js → fi.4SJVJ50z.js} +265 -249
  14. package/i18n/{fr.Czc8UztL.js → fr.C5j5IlaD.js} +259 -243
  15. package/i18n/{he.Cs_DhNfA.js → he.CeGHyVeG.js} +279 -263
  16. package/i18n/{hr.3NjXWpPm.js → hr.BOwP6prR.js} +255 -239
  17. package/i18n/{hu.t71X2jbt.js → hu.DC4UmQQJ.js} +241 -225
  18. package/i18n/{hy.DC54-3X5.js → hy.I_BD7SVm.js} +259 -243
  19. package/i18n/{id.V35tQyno.js → id.D9By5840.js} +241 -225
  20. package/i18n/{it.UKMfnWQs.js → it.CB9iWY3q.js} +239 -223
  21. package/i18n/{ja.CG_7gDnk.js → ja.BRICLbDD.js} +266 -249
  22. package/i18n/{ka_GE.BUXvJluw.js → ka_GE.C5Bk7C0S.js} +279 -263
  23. package/i18n/{km_KH.eU9i2O2q.js → km_KH.DBrwG0Mz.js} +271 -255
  24. package/i18n/{ko.D8GdXfbN.js → ko.V96Ofu2S.js} +277 -261
  25. package/i18n/{lt.B7RTAZPM.js → lt.DPymAv77.js} +249 -233
  26. package/i18n/{ms.DsSPcf4O.js → ms.BWa9QaiX.js} +269 -253
  27. package/i18n/{nl.DoIKMAJ8.js → nl.DRaoEllf.js} +255 -239
  28. package/i18n/{no.Ygwl3bs1.js → no.DT_sSQHz.js} +261 -245
  29. package/i18n/{pl.C9xYshWk.js → pl.BBtOxaAP.js} +263 -249
  30. package/i18n/{pt.DprAEoFO.js → pt.9IXviZ06.js} +239 -223
  31. package/i18n/{pt_BR.BeBj4dwP.js → pt_BR.DVFbOwfT.js} +240 -224
  32. package/i18n/{ro.DRoSBL-2.js → ro.C_sWcYoG.js} +245 -231
  33. package/i18n/{ru.aKRUDkiY.js → ru.CQrPblu4.js} +247 -231
  34. package/i18n/{sk.CmoXMWe4.js → sk.C_TOQQVn.js} +255 -239
  35. package/i18n/{sr_Cyrl.DDC5tVqn.js → sr_Cyrl.DeuzvrY0.js} +263 -247
  36. package/i18n/{sr_Latn.DhdWY5oS.js → sr_Latn.DM3OKmvn.js} +263 -247
  37. package/i18n/{sv.D5C1caJz.js → sv.8mh369YN.js} +255 -239
  38. package/i18n/{sw.DOtH1V9V.js → sw.D9DWt1T4.js} +259 -243
  39. package/i18n/{th.BLDHXB22.js → th.yY2_gQdX.js} +251 -235
  40. package/i18n/{tr.Cs4OnLIa.js → tr.BDllq4J9.js} +259 -243
  41. package/i18n/{uk.BnUbA4AZ.js → uk.C1MWphQh.js} +263 -247
  42. package/i18n/{vi.1eMFWzIc.js → vi.BMMseybp.js} +255 -239
  43. package/i18n/{zh_CN.CmDFUi2d.js → zh_CN.DFMlmsiD.js} +248 -232
  44. package/i18n/{zh_HK.BTcrx4ej.js → zh_HK.DGHeKcbY.js} +283 -267
  45. package/{iProovMe.C-uN4NB3.js → iProovMe.Cvk3KkX7.js} +2 -2
  46. package/{index.DEpyp2YR.js → index.DXNt2p89.js} +18341 -17674
  47. package/index.d.ts +489 -73
  48. package/index.js +520 -502
  49. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -173,6 +173,8 @@ export declare const analytics: {
173
173
  shownCameraCaptureHints: EventDispatcher< {
174
174
  visible: boolean;
175
175
  }>;
176
+ crateBackMissingEvent: EventCreator<"trace", "back side of ID is missing", EventMetadata>;
177
+ backMissingEvent: EventDispatcher<EventMetadata>;
176
178
  createCameraStreamStartedEvent: EventCreator<"trace", "started camera stream", {
177
179
  constraints: {
178
180
  advanced?: {
@@ -625,6 +627,8 @@ export declare const analytics: {
625
627
  message: string;
626
628
  stack?: string;
627
629
  }>;
630
+ createDefaultToDL: EventCreator<"trace", "missing idType - defaulting to DL", EventMetadata>;
631
+ defaultToDL: EventDispatcher<EventMetadata>;
628
632
  createShownStartScreenEvent: EventCreator<"screen", "start", EventMetadata>;
629
633
  shownStartScreen: EventDispatcher<EventMetadata>;
630
634
  createShownDocumentSelectScreenEvent: EventCreator<"screen", "document select", EventMetadata>;
@@ -1512,6 +1516,8 @@ export declare class BackdropComponent extends BaseComponent {
1512
1516
  render(): TemplateResult<1>;
1513
1517
  }
1514
1518
 
1519
+ export declare const backMissingEvent: EventDispatcher<EventMetadata>;
1520
+
1515
1521
  export declare interface BackupEntry {
1516
1522
  backupGuid: string;
1517
1523
  workflowState: WorkflowState;
@@ -2637,7 +2643,7 @@ export declare interface ConstraintsParams {
2637
2643
  declare type ControllerProvider<TWorkflowStepController, TComponentController> = WorkflowStepControllerProvider<TWorkflowStepController> & ComponentControllerProvider<TComponentController>;
2638
2644
 
2639
2645
  declare interface Country {
2640
- code: CountryCode | undefined;
2646
+ code: CountryCode;
2641
2647
  label: string;
2642
2648
  }
2643
2649
 
@@ -2894,6 +2900,8 @@ export declare enum CountryCode {
2894
2900
  ZWE = "ZWE"
2895
2901
  }
2896
2902
 
2903
+ export declare const crateBackMissingEvent: EventCreator<"trace", "back side of ID is missing", EventMetadata>;
2904
+
2897
2905
  export declare function createAnalyticEventCreatorAndDispatcher<ET extends EventType, EN extends string, M extends EventMetadata>(eventBody: Omit<AnalyticEventBody<ET, EN, M>, 'timestamp' | 'value'>): [EventCreator<ET, EN, M>, EventDispatcher<M>];
2898
2906
 
2899
2907
  export declare const createAndAppendSlotFallback: <K extends keyof HTMLElementTagNameMap>({ root, slotName, fallbackContentTagName }: CreateAndAppendSlotParams<K>) => HTMLElementTagNameMap[K] | undefined;
@@ -3394,6 +3402,8 @@ export declare interface CreateDatastoreParams {
3394
3402
  credentialDocumentStoreFactory?: interfaces.SimpleFactory<CredentialDocumentStore, [string]>;
3395
3403
  }
3396
3404
 
3405
+ export declare const createDefaultToDL: EventCreator<"trace", "missing idType - defaulting to DL", EventMetadata>;
3406
+
3397
3407
  export declare const createDeviceListChangedEvent: EventCreator<"trace", "device list changed", {
3398
3408
  devices: {
3399
3409
  readonly label?: string | undefined;
@@ -3687,6 +3697,10 @@ export declare interface CredentialFacemapStore {
3687
3697
  setActiveFaceVerificationMethod: (activeVerificationMethod: FacemapVerificationMethod | undefined) => void;
3688
3698
  getActiveFaceVerificationMethod: () => FacemapVerificationMethod | undefined;
3689
3699
  selectActiveFaceVerificationMethod$: () => Observable<FacemapVerificationMethod | undefined>;
3700
+ setJLiveManualCaptureFallbackReason: (reason: ManualCaptureFallbackReason | undefined) => void;
3701
+ selectJLiveManualCaptureFallbackReason$: () => Observable<ManualCaptureFallbackReason | undefined>;
3702
+ selectJLiveFallbackError$: () => Observable<JLiveFallbackError | undefined>;
3703
+ setJLiveFallbackError: (error: JLiveFallbackError | undefined) => void;
3690
3704
  selectLivenessState$: () => Observable<CredentialFacemapState & LivenessState>;
3691
3705
  setLivenessVisibleFaceFinder: (oval: LivenessRefDistance) => void;
3692
3706
  selectLivenessVisibleFaceFinder$: () => Observable<LivenessRefDistance>;
@@ -3713,6 +3727,10 @@ export declare class CredentialFacemapStoreImpl implements CredentialFacemapStor
3713
3727
  constructor(credential: JCredential<Category.Facemap>);
3714
3728
  destroy(): void;
3715
3729
  setActiveFaceVerificationMethod(activeVerificationMethod: FacemapVerificationMethod | undefined): void;
3730
+ setJLiveFallbackError(error: JLiveFallbackError | undefined): void;
3731
+ selectJLiveFallbackError$(): Observable<JLiveFallbackError | undefined>;
3732
+ setJLiveManualCaptureFallbackReason(reason: ManualCaptureFallbackReason | undefined): void;
3733
+ selectJLiveManualCaptureFallbackReason$(): Observable<ManualCaptureFallbackReason | undefined>;
3716
3734
  getActiveFaceVerificationMethod(): FacemapVerificationMethod | undefined;
3717
3735
  selectActiveFaceVerificationMethod$(): Observable<FacemapVerificationMethod | undefined>;
3718
3736
  selectLivenessState$(): Observable<CredentialFacemapState & LivenessState & IproovTokenState>;
@@ -3762,6 +3780,8 @@ export declare interface CredentialIdStore {
3762
3780
  selectIdTypeVariantCollection$: () => Observable<IdTypeVariant[]>;
3763
3781
  selectIdTypeVariant$: () => Observable<IdTypeVariant>;
3764
3782
  getIdUserSelection: () => IdCredentialSelection;
3783
+ are2FilesUploaded: (credentialId: UUID) => boolean;
3784
+ isUsabilityBackMissing: (credentialId: UUID) => IsUsabilityBackMissing;
3765
3785
  selectIdUserSelection$: () => Observable<IdCredentialSelection>;
3766
3786
  isCountryAndDocTypePredefined: () => boolean;
3767
3787
  destroy: () => void;
@@ -3770,6 +3790,8 @@ export declare interface CredentialIdStore {
3770
3790
  export declare class CredentialIdStoreImpl implements CredentialIdStore {
3771
3791
  #private;
3772
3792
  constructor(credential: JCredential<Category.Id>);
3793
+ are2FilesUploaded(credentialId: UUID): boolean;
3794
+ isUsabilityBackMissing(credentialId: UUID): IsUsabilityBackMissing;
3773
3795
  destroy(): void;
3774
3796
  patchIdUserSelection(params: Partial<IdCredentialSelection>, settings?: Settings): void;
3775
3797
  selectSidesForSelectedDocument$(): Observable<IdSide[]>;
@@ -3778,7 +3800,13 @@ export declare class CredentialIdStoreImpl implements CredentialIdStore {
3778
3800
  selectIdTypeVariantCollection$(): Observable<IdTypeVariant[]>;
3779
3801
  selectIdTypeVariant$(): Observable<IdTypeVariant>;
3780
3802
  getIdUserSelection(): IdCredentialSelection;
3781
- selectIdUserSelection$(): Observable<IdCredentialSelection>;
3803
+ selectIdUserSelection$(): Observable< {
3804
+ selectedCountry: CountryCode | undefined;
3805
+ selectedDigitalIdentity: DigitalIdentityProps | undefined;
3806
+ selectedIdType: IdTypeUpload | undefined;
3807
+ selectedDocumentVariant: DocumentVariant | undefined;
3808
+ selectedIdFormat: IdFormat | undefined;
3809
+ }>;
3782
3810
  isCountryAndDocTypePredefined(): boolean;
3783
3811
  }
3784
3812
 
@@ -3825,6 +3853,8 @@ export declare enum DecisionType {
3825
3853
  NOT_AVAILABLE = "NOT_AVAILABLE"
3826
3854
  }
3827
3855
 
3856
+ export declare const defaultToDL: EventDispatcher<EventMetadata>;
3857
+
3828
3858
  export declare const DEV: boolean;
3829
3859
 
3830
3860
  export declare enum DeviceCategory {
@@ -3951,8 +3981,7 @@ export declare class DropdownComponent extends BaseComponent {
3951
3981
 
3952
3982
  export declare interface DropdownOption {
3953
3983
  label: string;
3954
- value?: string;
3955
- code?: string;
3984
+ value: string;
3956
3985
  }
3957
3986
 
3958
3987
  export declare class DropdownSelectionEvent extends CustomEvent<DropdownOption> {
@@ -4173,9 +4202,9 @@ export declare enum ExecutionEnvironment {
4173
4202
  }
4174
4203
 
4175
4204
  export declare interface ExtractedData {
4205
+ country: CountryCode;
4206
+ idType: IdTypeUpload;
4176
4207
  issuingCountry?: CountryCode;
4177
- country?: CountryCode;
4178
- idType?: string;
4179
4208
  firstName?: string;
4180
4209
  lastName?: string;
4181
4210
  dateOfBirth?: string;
@@ -4276,7 +4305,7 @@ export declare interface FacingModeConstraint extends MediaStreamConstraints {
4276
4305
  facingMode: {
4277
4306
  ideal: 'user' | 'environment';
4278
4307
  };
4279
- };
4308
+ } & MediaTrackConstraints;
4280
4309
  audio: false;
4281
4310
  }
4282
4311
 
@@ -4307,8 +4336,6 @@ export declare interface FetchErrorParams {
4307
4336
  publicError?: PublicError;
4308
4337
  }
4309
4338
 
4310
- export declare const fetchWorkerData: () => Promise<DataAcquisitionFetchParameters>;
4311
-
4312
4339
  export declare type FileListFilter = (files: File[]) => File[];
4313
4340
 
4314
4341
  export declare class FileMultiUploadComponent extends BaseComponent {
@@ -4339,6 +4366,14 @@ export declare interface FilePartState extends FilePartResponse {
4339
4366
  filename?: string;
4340
4367
  }
4341
4368
 
4369
+ export declare type FilePickerError = 'max-file-size' | 'file-type';
4370
+
4371
+ export declare const FilePickerErrorMessage = "filepickererror";
4372
+
4373
+ export declare class FilePickerErrorMessageEvent extends CustomEvent<FilePickerError> {
4374
+ constructor(error: FilePickerError);
4375
+ }
4376
+
4342
4377
  export declare class FileRemoveEvent extends CustomEvent<unknown> {
4343
4378
  constructor();
4344
4379
  }
@@ -4391,7 +4426,7 @@ export declare type FileStoreKey = FileStoreKeyId | FileStoreKeyFacemap | FileSt
4391
4426
 
4392
4427
  export declare type FileStoreKeyBRA_ID = `${UUID}_${IdTypeUpload.DigitalIdentity}_${UploadType.FrontSide}`;
4393
4428
 
4394
- declare type FileStoreKeyDocument = `${UUID}_${IdTypeUpload}_${UploadType.Document}`;
4429
+ declare type FileStoreKeyDocument = `${UUID}_${UploadType.Document}`;
4395
4430
 
4396
4431
  declare type FileStoreKeyFacemap = `${UUID}_${UploadType.Face}` | `${string}_JUMIO_LIVENESS_BLOB` | JLivePartName;
4397
4432
 
@@ -4415,6 +4450,8 @@ export declare enum FileType {
4415
4450
  Dat = "DAT"
4416
4451
  }
4417
4452
 
4453
+ export declare const fileTypeMessage: () => string;
4454
+
4418
4455
  export declare class FileUploadComponent extends BaseComponent {
4419
4456
  #private;
4420
4457
  static styles: CSSResult[];
@@ -4488,6 +4525,8 @@ declare const generateAction: (params: Partial<NavigationStep>) => {
4488
4525
  params: Partial<NavigationStep>;
4489
4526
  };
4490
4527
 
4528
+ export declare const generateBrazilianIdLink: () => string;
4529
+
4491
4530
  export declare interface GenerateCredentialParams {
4492
4531
  credentialId: UUID;
4493
4532
  previousStep: StepCallback;
@@ -4519,25 +4558,103 @@ readonly "step-navigation-previous-step": `${string}-${string}-${string}-${strin
4519
4558
  };
4520
4559
  };
4521
4560
  readonly start: {
4522
- readonly initial: import("../../../types/src/index.js").StartStep.Consent;
4561
+ readonly initial: StartStep.Start;
4523
4562
  readonly states: {
4524
- readonly "start-consent": {
4563
+ readonly "start-screen-start": {
4525
4564
  readonly on: {
4526
- readonly "start-screen-proceed": import("../../../types/src/index.js").StartStep.Finish;
4565
+ readonly "start-screen-consent-screen": {
4566
+ readonly target: StartStep.ConsentScreen;
4567
+ readonly actions: {
4568
+ readonly type: "setWorkflowStep";
4569
+ readonly params: {
4570
+ credentialId: `${string}-${string}-${string}-${string}-${string}`;
4571
+ step: VirtualStep.Start;
4572
+ substep: StartStep.ConsentScreen;
4573
+ shouldStoreNavigationState: true;
4574
+ activeScreen: ActiveScreen.Workflow;
4575
+ };
4576
+ };
4577
+ };
4578
+ readonly "start-screen-finish": {
4579
+ readonly target: StartStep.Finish;
4580
+ readonly actions: {
4581
+ readonly type: "setWorkflowStep";
4582
+ readonly params: {
4583
+ credentialId: `${string}-${string}-${string}-${string}-${string}`;
4584
+ step: VirtualStep.Start;
4585
+ substep: StartStep.Finish;
4586
+ shouldStoreNavigationState: false;
4587
+ activeScreen: ActiveScreen.Workflow;
4588
+ };
4589
+ };
4527
4590
  };
4528
4591
  };
4529
- readonly "start-finish": {
4592
+ };
4593
+ readonly "start-screen-consent": {
4594
+ readonly on: {
4595
+ readonly "start-screen-provide-consent": {
4596
+ readonly target: StartStep.Finish;
4597
+ readonly actions: {
4598
+ readonly type: "setWorkflowStep";
4599
+ readonly params: {
4600
+ credentialId: undefined;
4601
+ step: VirtualStep.Start;
4602
+ substep: StartStep.Finish;
4603
+ shouldStoreNavigationState: false;
4604
+ activeScreen: ActiveScreen.Workflow;
4605
+ };
4606
+ };
4607
+ };
4608
+ };
4609
+ };
4610
+ readonly "start-screen-finish": {
4530
4611
  readonly type: "final";
4531
4612
  };
4532
4613
  };
4533
4614
  readonly on: {
4534
- readonly "step-navigation-next-step": `${string}-${string}-${string}-${string}-${string}`;
4615
+ readonly "step-navigation-next-step": {
4616
+ readonly target: `${string}-${string}-${string}-${string}-${string}`;
4617
+ readonly actions: {
4618
+ readonly type: "setWorkflowStep";
4619
+ readonly params: {
4620
+ credentialId: `${string}-${string}-${string}-${string}-${string}`;
4621
+ step: VirtualStep.Start;
4622
+ substep: StartStep.Finish;
4623
+ shouldStoreNavigationState: false;
4624
+ activeScreen: ActiveScreen.Workflow;
4625
+ };
4626
+ };
4627
+ };
4628
+ };
4629
+ readonly onDone: {
4630
+ readonly target: `${string}-${string}-${string}-${string}-${string}`;
4631
+ readonly actions: {
4632
+ readonly type: "setWorkflowStep";
4633
+ readonly params: {
4634
+ credentialId: `${string}-${string}-${string}-${string}-${string}`;
4635
+ step: VirtualStep.Start;
4636
+ substep: StartStep.Finish;
4637
+ shouldStoreNavigationState: false;
4638
+ activeScreen: ActiveScreen.Workflow;
4639
+ };
4640
+ };
4535
4641
  };
4536
- readonly onDone: `${string}-${string}-${string}-${string}-${string}`;
4537
4642
  };
4538
4643
  readonly setup: {
4539
4644
  readonly on: {
4540
- readonly "step-navigation-next-step": VirtualStep.Start;
4645
+ readonly "step-navigation-next-step": {
4646
+ readonly target: VirtualStep.Start;
4647
+ readonly actions: {
4648
+ readonly type: "setWorkflowStep";
4649
+ readonly params: {
4650
+ readonly step: VirtualStep.Start;
4651
+ readonly substep: StartStep.Start;
4652
+ readonly shouldStoreNavigationState: false;
4653
+ readonly credentialId: undefined;
4654
+ readonly activeScreen: ActiveScreen.Workflow;
4655
+ };
4656
+ };
4657
+ };
4541
4658
  };
4542
4659
  };
4543
4660
  };
@@ -4640,8 +4757,12 @@ export declare type GetImageDataCallback = () => Promise<ImageData | undefined>;
4640
4757
 
4641
4758
  export declare const getIsIdAutoCaptureForMerchantEnabled: () => boolean;
4642
4759
 
4760
+ export declare const getJLiveFallbackPolicy: () => JLiveFallbackPolicy;
4761
+
4643
4762
  export declare const getLatestBackupGuid: () => string;
4644
4763
 
4764
+ export declare const getMaxFileUploadLimit: () => number;
4765
+
4645
4766
  export declare const getMockedDeviceById: (deviceId: string) => JMediaDeviceInfo | undefined;
4646
4767
 
4647
4768
  export declare const getNavigatorUserAgent: () => string;
@@ -4684,6 +4805,7 @@ export declare const getStateMachineFacemapActions: (credentialId: UUID) => {
4684
4805
  readonly JumioStandardCaptureScreen: `${string}-${string}-${string}-${string}-${string}:identity-jumio-standard-capture-screen`;
4685
4806
  readonly JumioStandardCaptureScreenLiveness: `${string}-${string}-${string}-${string}-${string}:identity-jumio-standard-capture-screen-liveness`;
4686
4807
  readonly JumioStandardCaptureScreenLivenessLoading: `${string}-${string}-${string}-${string}-${string}:identity-jumio-standard-capture-screen-liveness-loading`;
4808
+ readonly JumioStandardCaptureScreenLivenessRetry: `${string}-${string}-${string}-${string}-${string}:identity-jumio-standard-capture-screen-liveness-retry`;
4687
4809
  readonly JumioStandardCaptureScreenSelfie: `${string}-${string}-${string}-${string}-${string}:identity-jumio-standard-capture-screen-selfie`;
4688
4810
  readonly JumioStandardCaptureScreenCaptureFinish: `${string}-${string}-${string}-${string}-${string}:identity-jumio-standard-capture-screen-capture-finish`;
4689
4811
  readonly JumioStandardCaptureScreenUpload: `${string}-${string}-${string}-${string}-${string}:identity-jumio-standard-capture-screen-upload`;
@@ -4709,6 +4831,7 @@ export declare const getStateMachineIdActions: (credentialId: UUID) => {
4709
4831
  readonly CaptureScreenAutoCaptureLoadingSuccess: `${string}-${string}-${string}-${string}-${string}:id-capture-screen-auto-capture-loading-success`;
4710
4832
  readonly CaptureScreenAutoCaptureLoadingFailure: `${string}-${string}-${string}-${string}-${string}:id-capture-screen-auto-capture-loading-failure`;
4711
4833
  readonly CaptureScreenDecision: `${string}-${string}-${string}-${string}-${string}:id-capture-screen-decision`;
4834
+ readonly CaptureScreenPrepareForRecapturingBack: `${string}-${string}-${string}-${string}-${string}:id-capture-prepare-for-recapturing-back`;
4712
4835
  readonly CaptureScreenFrontStart: `${string}-${string}-${string}-${string}-${string}:id-capture-screen-front-start`;
4713
4836
  readonly CaptureScreenFront: `${string}-${string}-${string}-${string}-${string}:id-capture-screen-front`;
4714
4837
  readonly CaptureScreenFrontFinish: `${string}-${string}-${string}-${string}-${string}:id-capture-screen-front-finish`;
@@ -4719,8 +4842,9 @@ export declare const getStateMachineIdActions: (credentialId: UUID) => {
4719
4842
  readonly CaptureScreenUpload: `${string}-${string}-${string}-${string}-${string}:id-capture-screen-upload`;
4720
4843
  readonly CaptureScreenUploadFailed: `${string}-${string}-${string}-${string}-${string}:id-capture-screen-upload-failed`;
4721
4844
  readonly IdUsabilityCheck: `${string}-${string}-${string}-${string}-${string}:id-usability-check`;
4722
- readonly IdUsabilityCheckSuccess: `${string}-${string}-${string}-${string}-${string}:id-usability-check-success`;
4723
4845
  readonly IdUsabilityCheckFailure: `${string}-${string}-${string}-${string}-${string}:id-usability-check-failure`;
4846
+ readonly IdUsabilityCheckBackMissing: `${string}-${string}-${string}-${string}-${string}:id-usability-check-back-missing`;
4847
+ readonly IdUsabilityCheckSuccess: `${string}-${string}-${string}-${string}-${string}:id-usability-check-success`;
4724
4848
  readonly IdUsabilitySupportedList: `${string}-${string}-${string}-${string}-${string}:id-usability-supported-list`;
4725
4849
  readonly IdUsabilityCheckReset: `${string}-${string}-${string}-${string}-${string}:id-usability-check-reset`;
4726
4850
  readonly Upload: `${string}-${string}-${string}-${string}-${string}:id-upload`;
@@ -4731,7 +4855,9 @@ export declare const getStateMachineInstance: () => Actor<ReturnType<typeof gene
4731
4855
 
4732
4856
  export declare const getStateMachineStartScreenActions: () => {
4733
4857
  readonly Start: "start-screen-start";
4734
- readonly Proceed: "start-screen-proceed";
4858
+ readonly ConsentScreen: "start-screen-consent-screen";
4859
+ readonly ProvideConsent: "start-screen-provide-consent";
4860
+ readonly Finish: "start-screen-finish";
4735
4861
  };
4736
4862
 
4737
4863
  export declare const getToken: () => TokenState;
@@ -4754,13 +4880,9 @@ usabilityEntities: Record<FileStoreKey, UsabilityCheckState>;
4754
4880
  usabilityIds: FileStoreKey[];
4755
4881
  }, EntitiesRef<"usabilityEntities", "usabilityIds", "idKeyUsability">> | undefined;
4756
4882
 
4757
- export declare const getUsabilityEntitiesByCategory: (credentialId: UUID) => getEntityType< {
4758
- uploadEntities: Record<FileStoreKey, UploadState>;
4759
- uploadIds: FileStoreKey[];
4760
- } & {
4761
- usabilityEntities: Record<FileStoreKey, UsabilityCheckState>;
4762
- usabilityIds: FileStoreKey[];
4763
- }, EntitiesRef<"usabilityEntities", "usabilityIds", "idKeyUsability">>[];
4883
+ export declare const getUsabilityEntitiesByCategory: (credentialId: UUID) => UsabilityCheckState[];
4884
+
4885
+ export declare function getWorkerData(): Promise<DataAcquisitionFetchParameters>;
4764
4886
 
4765
4887
  export declare function getWorkflowInstance(): WorkflowController;
4766
4888
 
@@ -4777,7 +4899,7 @@ export declare const getWorkflowState: () => WorkflowState;
4777
4899
 
4778
4900
  export declare const getWorkflowStep: () => Category | VirtualStep;
4779
4901
 
4780
- export declare const getWorkflowSubstep: () => IdStep | FacemapStep | DocumentStep | DataStep | undefined;
4902
+ export declare const getWorkflowSubstep: () => StartStep | IdStep | FacemapStep | DocumentStep | DataStep | undefined;
4781
4903
 
4782
4904
  export declare class GuidanceFaceAnimationComponent extends BaseComponent {
4783
4905
  #private;
@@ -4847,6 +4969,7 @@ export declare enum IdStep {
4847
4969
  CaptureScreenDecision = "id-capture-screen-decision",
4848
4970
  CaptureScreenFront = "id-capture-screen-front",
4849
4971
  CaptureScreenFrontFinish = "id-capture-screen-front-finish",
4972
+ CaptureScreenPrepareForRecapturingBack = "id-capture-screen-prepare-for-recapturing-back",
4850
4973
  CaptureScreenFrontStart = "id-capture-screen-front-start",
4851
4974
  CaptureScreenSelectProvider = "id-capture-screen-select-provider",
4852
4975
  CaptureScreenUpload = "id-capture-screen-upload",
@@ -4858,6 +4981,7 @@ export declare enum IdStep {
4858
4981
  Finish = "id-finish",
4859
4982
  IdUsabilityCheck = "id-usability-check",
4860
4983
  IdUsabilityCheckFailure = "id-usability-check-failure",
4984
+ IdUsabilityCheckBackMissing = "id-usability-check-back-missing",
4861
4985
  IdUsabilityCheckReset = "id-usability-check-reset",
4862
4986
  IdUsabilitySupportedList = "id-usability-supported-list",
4863
4987
  Start = "id-start",
@@ -4878,7 +5002,6 @@ export declare enum IdTypeUpload {
4878
5002
  ResidencePermit = "RESIDENCE_PERMIT",
4879
5003
  Visa = "VISA",
4880
5004
  DrivingLicense = "DRIVING_LICENSE",
4881
- Other = "OTHER",
4882
5005
  DigitalIdentity = "DIGITAL_IDENTITY"
4883
5006
  }
4884
5007
 
@@ -4997,6 +5120,8 @@ export declare const isAndroid: () => boolean | undefined;
4997
5120
 
4998
5121
  export declare const isAutocaptureActive: () => boolean;
4999
5122
 
5123
+ export declare const isBackMissingForUsability: (countryCode?: CountryCode, idType?: IdTypeUpload) => boolean;
5124
+
5000
5125
  export declare const isButtonShape: (value: unknown) => value is ButtonShape;
5001
5126
 
5002
5127
  export declare const isButtonSize: (value: unknown) => value is ButtonSize;
@@ -5017,6 +5142,8 @@ export declare const isColorScheme: (value: unknown) => value is ColorScheme;
5017
5142
 
5018
5143
  export declare const isConsentGivenSent$: () => Observable<boolean>;
5019
5144
 
5145
+ export declare const isHas2Parts$: (countryCode?: CountryCode, idType?: IdTypeUpload) => Observable<boolean>;
5146
+
5020
5147
  export declare const isIos: () => boolean;
5021
5148
 
5022
5149
  export declare const isLocaleValid: (value: unknown) => value is Locale;
@@ -5029,6 +5156,10 @@ export declare const isTokenExpired$: () => Observable<boolean>;
5029
5156
 
5030
5157
  export declare const isTrackPlaying: (deviceId: string, track: MediaStreamTrack) => boolean;
5031
5158
 
5159
+ export declare type IsUsabilityBackMissing = {
5160
+ isBackMissing: boolean;
5161
+ } & Partial<Pick<ExtractedData, 'country' | 'idType'>>;
5162
+
5032
5163
  export declare const isValidContainerType: (value: unknown) => value is DsAppContainerLayoutType;
5033
5164
 
5034
5165
  export declare const isWCAGCompliant: (colors: {
@@ -5048,6 +5179,17 @@ export declare interface JCredentialMap {
5048
5179
  [Category.Data]: CredentialData;
5049
5180
  }
5050
5181
 
5182
+ export declare interface JLiveFallbackError {
5183
+ type: ManualCaptureFallbackReason;
5184
+ message?: string;
5185
+ }
5186
+
5187
+ export declare enum JLiveFallbackPolicy {
5188
+ Disabled = "disabled",
5189
+ Soft = "soft",
5190
+ Strict = "strict"
5191
+ }
5192
+
5051
5193
  export declare type JLivePartName = `${UUID}_${FacemapVerificationMethod.JumioLiveness}_${number}`;
5052
5194
 
5053
5195
  export declare type JMediaDeviceInfo = Pick<MediaDeviceInfo, 'kind' | 'deviceId' | 'groupId' | 'label'> & {
@@ -5295,6 +5437,22 @@ declare class JumioSdkFileUploadFailedController implements ReactiveController {
5295
5437
  hostConnected(): void;
5296
5438
  }
5297
5439
 
5440
+ declare class JumioSdkLocaleSelectionController implements ReactiveController {
5441
+ #private;
5442
+ constructor(host: ReactiveElement);
5443
+ hostDisconnected(): void;
5444
+ updateLocale(locale: Locale): void;
5445
+ getSelectedLocale(): Locale;
5446
+ getLocales(): LocaleLanguageMap[];
5447
+ }
5448
+
5449
+ export declare class JumioSdkLocalSelectionComponent extends BaseComponent implements ComponentControllerProvider<JumioSdkLocaleSelectionController> {
5450
+ #private;
5451
+ static styles: CSSResult[];
5452
+ get componentController(): JumioSdkLocaleSelectionController;
5453
+ render(): TemplateResult<1>;
5454
+ }
5455
+
5298
5456
  export declare class JumioSdkLoggerConsoleComponent extends BaseComponent implements LoggerConsoleConfig {
5299
5457
  readonly type = "LoggerConsole";
5300
5458
  isEnabled: boolean;
@@ -5365,7 +5523,7 @@ export declare type JumioSdkMessage = JumioSdkMessageError | JumioSdkMessageSucc
5365
5523
  export declare interface JumioSdkMessageBase {
5366
5524
  id: JumioSdkMessageId;
5367
5525
  title: string;
5368
- message: string;
5526
+ message?: string;
5369
5527
  overlay?: boolean;
5370
5528
  closable: boolean;
5371
5529
  }
@@ -5398,12 +5556,14 @@ export declare enum JumioSdkMessageId {
5398
5556
  AcquisitionSuccessful = "acquisition-success",
5399
5557
  UsabilityCheck = "usability-check",
5400
5558
  CameraGenericError = "camera-generic-error",
5559
+ CameraInitialization = "camera-initialization",
5401
5560
  CameraNotAllowedError = "camera-not-allowed-error",
5402
5561
  SessionExpired = "session-expired",
5403
5562
  Uploading = "uploading",
5404
5563
  Finalizing = "finalizing",
5405
5564
  EmbargoedCountry = "embargoed-country",
5406
- CloseBrowser = "close-browser"
5565
+ CloseBrowser = "close-browser",
5566
+ LivenessFailed = "liveness-failed"
5407
5567
  }
5408
5568
 
5409
5569
  export declare interface JumioSdkMessageProgress extends JumioSdkMessageBase {
@@ -5445,6 +5605,7 @@ export declare enum JumioSdkMessageType {
5445
5605
 
5446
5606
  export declare class JumioSdkNavigationBrowserComponent extends BaseComponent implements NavigationService {
5447
5607
  #private;
5608
+ static isTheSameNavigationStep(a: Pick<WorkflowState, 'credentialId' | 'step' | 'substep'>, b: Pick<WorkflowState, 'credentialId' | 'step' | 'substep'>): boolean;
5448
5609
  static styles: CSSResult[];
5449
5610
  transformUrl: NavigationUrlTransformer;
5450
5611
  baseUrl: string;
@@ -5452,6 +5613,7 @@ export declare class JumioSdkNavigationBrowserComponent extends BaseComponent im
5452
5613
  interceptors: JumioSdkNavigationInterceptor[];
5453
5614
  navigationConfig: NavigationConfig<NavigationType.Browser>[];
5454
5615
  private lastPushedState;
5616
+ private initialWorkflowState;
5455
5617
  disconnectedCallback(): void;
5456
5618
  firstUpdated(changedProperties: PropertyValues): void;
5457
5619
  render(): TemplateResult<1>;
@@ -5471,7 +5633,7 @@ export declare class JumioSdkNavigationButtonComponent extends BaseComponent {
5471
5633
  type: ButtonType;
5472
5634
  shape: ButtonShape;
5473
5635
  readonly navigationService: NavigationService | undefined;
5474
- render(): TemplateResult<1> | typeof nothing;
5636
+ render(): TemplateResult<1>;
5475
5637
  }
5476
5638
 
5477
5639
  export declare class JumioSdkNavigationComponent extends BaseComponent implements JumioSdkStepNavigationForwardController {
@@ -5660,14 +5822,14 @@ declare class JumioSdkStepDocumentUploadController implements ReactiveController
5660
5822
 
5661
5823
  export declare class JumioSdkStepFacemapCaptureStateComponent extends BaseComponent {
5662
5824
  #private;
5663
- captureStateController: AsyncController<IdStep | FacemapStep | DocumentStep | DataStep | undefined>;
5825
+ captureStateController: AsyncController<StartStep | IdStep | FacemapStep | DocumentStep | DataStep | undefined>;
5664
5826
  render(): symbol | TemplateResult_2<1>;
5665
5827
  }
5666
5828
 
5667
5829
  export declare class JumioSdkStepFacemapComponent extends BaseComponent implements ControllerProvider<WorkflowStepController<Category.Facemap>, JumioSdkStepFacemapController> {
5668
5830
  #private;
5669
5831
  static styles: CSSResult[];
5670
- stepInformationController: AsyncController<IdStep | FacemapStep | DocumentStep | DataStep | undefined>;
5832
+ stepInformationController: AsyncController<StartStep | IdStep | FacemapStep | DocumentStep | DataStep | undefined>;
5671
5833
  readonly componentController: JumioSdkStepFacemapController;
5672
5834
  get workflowStepController(): WorkflowStepController<Category.Facemap>;
5673
5835
  render(): TemplateResult<1> | typeof nothing;
@@ -5680,8 +5842,8 @@ declare class JumioSdkStepFacemapController implements ReactiveController {
5680
5842
  hostDisconnected(): void;
5681
5843
  selectVerificationMethods$(): Observable<FacemapVerificationMethod[]>;
5682
5844
  selectActiveVerificationMethod$(): Observable<FacemapVerificationMethod | undefined>;
5683
- selectFacemapStepInformation$(): Observable<IdStep | FacemapStep | DocumentStep | DataStep | undefined>;
5684
- getStepChange$(): Observable<[IdStep | FacemapStep | DocumentStep | DataStep | undefined, FacemapVerificationMethod[], FacemapVerificationMethod | undefined]>;
5845
+ selectFacemapStepInformation$(): Observable<StartStep | IdStep | FacemapStep | DocumentStep | DataStep | undefined>;
5846
+ getStepChange$(): Observable<[StartStep | IdStep | FacemapStep | DocumentStep | DataStep | undefined, FacemapVerificationMethod[], FacemapVerificationMethod | undefined]>;
5685
5847
  handleVerificationMethodFailed(verificationMethods: FacemapVerificationMethod[], activeVerificationMethod: FacemapVerificationMethod | undefined): void;
5686
5848
  handleNoVerificationMethodsLeft(): void;
5687
5849
  decideOnVerificationMethod(): void;
@@ -5804,6 +5966,7 @@ declare class JumioSdkStepIdCaptureController implements ReactiveController {
5804
5966
  #private;
5805
5967
  readonly workflowController: WorkflowController;
5806
5968
  readonly stepController: WorkflowStepController<Category.Id>;
5969
+ readonly hasFileUpload$: Observable<boolean>;
5807
5970
  constructor(host: JumioSdkStepIdCaptureComponent);
5808
5971
  hostConnected(): void;
5809
5972
  hostDisconnected(): void;
@@ -5826,7 +5989,7 @@ export declare class JumioSdkStepIdCaptureStateComponent extends BaseComponent i
5826
5989
  #private;
5827
5990
  static styles: CSSResult[];
5828
5991
  idStepAsyncController: AsyncController<{
5829
- substep: IdStep | FacemapStep | DocumentStep | DataStep | undefined;
5992
+ substep: StartStep | IdStep | FacemapStep | DocumentStep | DataStep | undefined;
5830
5993
  capturing: boolean;
5831
5994
  }>;
5832
5995
  render(): TemplateResult_2<1>;
@@ -5855,7 +6018,7 @@ declare class JumioSdkStepIdController implements ReactiveController {
5855
6018
  isDocumentTypeSelected(selection: IdCredentialSelection): boolean;
5856
6019
  isDocumentVariantSelected(selection: IdCredentialSelection): boolean;
5857
6020
  isDigitalIdentityTypeSelected(selection: IdCredentialSelection): boolean;
5858
- getStepSelection$(): Observable<IdStep | FacemapStep | DocumentStep | DataStep | undefined>;
6021
+ getStepSelection$(): Observable<StartStep | IdStep | FacemapStep | DocumentStep | DataStep | undefined>;
5859
6022
  handleStart(): void;
5860
6023
  handleDocTypeDecision(): Promise<void>;
5861
6024
  }
@@ -5869,7 +6032,6 @@ export declare class JumioSdkStepIdCountrySelectionComponent extends BaseCompone
5869
6032
 
5870
6033
  declare class JumioSdkStepIdCountrySelectionController implements ReactiveController {
5871
6034
  #private;
5872
- static getTranslatedCountry(countryCode: CountryCode | undefined): Country;
5873
6035
  readonly countryList$: Observable<Country[]>;
5874
6036
  constructor(host: ReactiveElement);
5875
6037
  hostDisconnected(): void;
@@ -5917,30 +6079,15 @@ declare class JumioSdkStepIdDocumentVariantController implements ReactiveControl
5917
6079
  hostConnected(): void;
5918
6080
  }
5919
6081
 
5920
- declare class JumioSdkStepIdLocaleSelectionController implements ReactiveController {
5921
- #private;
5922
- constructor(host: ReactiveElement);
5923
- hostDisconnected(): void;
5924
- updateLocale(locale: Locale): void;
5925
- getSelectedLocale(): Locale;
5926
- getLocales(): LocaleLanguageMap[];
5927
- }
5928
-
5929
- export declare class JumioSdkStepIdLocalSelectionComponent extends BaseComponent implements ComponentControllerProvider<JumioSdkStepIdLocaleSelectionController> {
5930
- #private;
5931
- static styles: CSSResult[];
5932
- get componentController(): JumioSdkStepIdLocaleSelectionController;
5933
- render(): TemplateResult<1>;
5934
- }
5935
-
5936
6082
  export declare class JumioSdkStepIdUploadComponent extends BaseComponent implements ComponentControllerProvider<JumioSdkStepIdUploadController> {
5937
6083
  #private;
5938
6084
  static styles: CSSResult[];
6085
+ uploadErrorMessage$: BehaviorSubject<(FilePickerError | undefined)[]>;
5939
6086
  digitalIdentityController: AsyncController<DigitalIdentityProps | undefined>;
5940
6087
  idTypeController: AsyncController<IdTypeUpload | undefined>;
5941
6088
  partsController: AsyncController<UploadState[]>;
6089
+ uploadErrorMessageController: AsyncController<(FilePickerError | undefined)[]>;
5942
6090
  readyController: AsyncController<boolean | undefined>;
5943
- maxFileSizeController: AsyncController<number | undefined>;
5944
6091
  imageCollectionController: AsyncController<FileWithNameBase64Url[]>;
5945
6092
  brazilianIdImageController: AsyncController<url>;
5946
6093
  constructor();
@@ -5955,7 +6102,6 @@ declare class JumioSdkStepIdUploadController implements ReactiveController {
5955
6102
  readonly idType$: Observable<IdTypeUpload | undefined>;
5956
6103
  readonly parts$: Observable<UploadState[]>;
5957
6104
  readonly ready$: Observable<boolean | undefined>;
5958
- readonly maxFileUploadSize$: Observable<number | undefined>;
5959
6105
  constructor(host: ReactiveElement);
5960
6106
  hostConnected(): void;
5961
6107
  uploadFile(event: FileUploadEvent, key: FileStoreKey): Promise<UploadResponse>;
@@ -6013,19 +6159,27 @@ export declare class JumioSdkStepSetupComponent extends BaseComponent {
6013
6159
  }
6014
6160
 
6015
6161
  export declare class JumioSdkStepStartComponent extends BaseComponent implements ControllerProvider<WorkflowStepController<VirtualStep.Start>, JumioSdkStepStartController> {
6162
+ #private;
6163
+ static styles: CSSResult[];
6164
+ stepInformationController: AsyncController<StartStep | IdStep | FacemapStep | DocumentStep | DataStep | undefined>;
6165
+ get workflowStepController(): WorkflowStepController<VirtualStep.Start>;
6166
+ get componentController(): JumioSdkStepStartController;
6167
+ render(): TemplateResult<1> | typeof nothing;
6168
+ }
6169
+
6170
+ export declare class JumioSdkStepStartConsentComponent extends BaseComponent implements ControllerProvider<WorkflowStepController<VirtualStep.Start>, JumioSdkStepStartConsentController> {
6016
6171
  #private;
6017
6172
  static styles: CSSResult[];
6018
6173
  colorScheme: ColorScheme;
6019
6174
  readonly documentCodeController: AsyncController<SupportedDocumentType | undefined>;
6020
6175
  constructor();
6021
6176
  get workflowStepController(): WorkflowStepController<VirtualStep.Start>;
6022
- get componentController(): JumioSdkStepStartController;
6023
- connectedCallback(): void;
6177
+ get componentController(): JumioSdkStepStartConsentController;
6024
6178
  render(): TemplateResult<1>;
6025
6179
  renderInstructionsForCategories(params?: RenderInstructionsForCategoriesParams): TemplateResult<1>;
6026
6180
  }
6027
6181
 
6028
- declare class JumioSdkStepStartController implements ReactiveController {
6182
+ declare class JumioSdkStepStartConsentController implements ReactiveController {
6029
6183
  #private;
6030
6184
  constructor(host: ReactiveElement, workflow?: WorkflowController);
6031
6185
  getController(): WorkflowStepController<VirtualStep.Start>;
@@ -6040,6 +6194,162 @@ declare class JumioSdkStepStartController implements ReactiveController {
6040
6194
  getCredentials(): JCredential[];
6041
6195
  }
6042
6196
 
6197
+ declare class JumioSdkStepStartController implements ReactiveController {
6198
+ #private;
6199
+ readonly dispatchNextScreen$: Observable<unknown>;
6200
+ constructor(host: ReactiveElement, workflow?: WorkflowController);
6201
+ hostConnected(): void;
6202
+ hostDisconnected(): void;
6203
+ navigateToNextScreen(settings: Settings, stateManager?: Actor<StateMachine<MachineContext, AnyEventObject, {}, never, {
6204
+ type: "setWorkflowStep";
6205
+ params: NavigationStep;
6206
+ }, never, never, {
6207
+ step: VirtualStep.Setup | VirtualStep.Finish | {
6208
+ start: StartStep;
6209
+ };
6210
+ activeScreen: ActiveScreen;
6211
+ }, string, NonReducibleUnknown, NonReducibleUnknown, EventObject, MetaObject, {
6212
+ readonly id: "@jumio/websdk workflow state machine";
6213
+ readonly type: "parallel";
6214
+ readonly states: {
6215
+ readonly step: {
6216
+ readonly id: "step";
6217
+ readonly initial: string;
6218
+ readonly states: {
6219
+ readonly finish: {
6220
+ readonly on: {
6221
+ readonly "step-navigation-previous-step": `${string}-${string}-${string}-${string}-${string}`;
6222
+ };
6223
+ };
6224
+ readonly start: {
6225
+ readonly initial: import("../../../../types/src/index.js").StartStep.Start;
6226
+ readonly states: {
6227
+ readonly "start-screen-start": {
6228
+ readonly on: {
6229
+ readonly "start-screen-consent-screen": {
6230
+ readonly target: import("../../../../types/src/index.js").StartStep.ConsentScreen;
6231
+ readonly actions: {
6232
+ readonly type: "setWorkflowStep";
6233
+ readonly params: {
6234
+ credentialId: `${string}-${string}-${string}-${string}-${string}`;
6235
+ step: VirtualStep.Start;
6236
+ substep: import("../../../../types/src/index.js").StartStep.ConsentScreen;
6237
+ shouldStoreNavigationState: true;
6238
+ activeScreen: import("../../../../types/src/index.js").ActiveScreen.Workflow;
6239
+ };
6240
+ };
6241
+ };
6242
+ readonly "start-screen-finish": {
6243
+ readonly target: import("../../../../types/src/index.js").StartStep.Finish;
6244
+ readonly actions: {
6245
+ readonly type: "setWorkflowStep";
6246
+ readonly params: {
6247
+ credentialId: `${string}-${string}-${string}-${string}-${string}`;
6248
+ step: VirtualStep.Start;
6249
+ substep: import("../../../../types/src/index.js").StartStep.Finish;
6250
+ shouldStoreNavigationState: false;
6251
+ activeScreen: import("../../../../types/src/index.js").ActiveScreen.Workflow;
6252
+ };
6253
+ };
6254
+ };
6255
+ };
6256
+ };
6257
+ readonly "start-screen-consent": {
6258
+ readonly on: {
6259
+ readonly "start-screen-provide-consent": {
6260
+ readonly target: import("../../../../types/src/index.js").StartStep.Finish;
6261
+ readonly actions: {
6262
+ readonly type: "setWorkflowStep";
6263
+ readonly params: {
6264
+ credentialId: undefined;
6265
+ step: VirtualStep.Start;
6266
+ substep: import("../../../../types/src/index.js").StartStep.Finish;
6267
+ shouldStoreNavigationState: false;
6268
+ activeScreen: import("../../../../types/src/index.js").ActiveScreen.Workflow;
6269
+ };
6270
+ };
6271
+ };
6272
+ };
6273
+ };
6274
+ readonly "start-screen-finish": {
6275
+ readonly type: "final";
6276
+ };
6277
+ };
6278
+ readonly on: {
6279
+ readonly "step-navigation-next-step": {
6280
+ readonly target: `${string}-${string}-${string}-${string}-${string}`;
6281
+ readonly actions: {
6282
+ readonly type: "setWorkflowStep";
6283
+ readonly params: {
6284
+ credentialId: `${string}-${string}-${string}-${string}-${string}`;
6285
+ step: VirtualStep.Start;
6286
+ substep: import("../../../../types/src/index.js").StartStep.Finish;
6287
+ shouldStoreNavigationState: false;
6288
+ activeScreen: import("../../../../types/src/index.js").ActiveScreen.Workflow;
6289
+ };
6290
+ };
6291
+ };
6292
+ };
6293
+ readonly onDone: {
6294
+ readonly target: `${string}-${string}-${string}-${string}-${string}`;
6295
+ readonly actions: {
6296
+ readonly type: "setWorkflowStep";
6297
+ readonly params: {
6298
+ credentialId: `${string}-${string}-${string}-${string}-${string}`;
6299
+ step: VirtualStep.Start;
6300
+ substep: import("../../../../types/src/index.js").StartStep.Finish;
6301
+ shouldStoreNavigationState: false;
6302
+ activeScreen: import("../../../../types/src/index.js").ActiveScreen.Workflow;
6303
+ };
6304
+ };
6305
+ };
6306
+ };
6307
+ readonly setup: {
6308
+ readonly on: {
6309
+ readonly "step-navigation-next-step": {
6310
+ readonly target: VirtualStep.Start;
6311
+ readonly actions: {
6312
+ readonly type: "setWorkflowStep";
6313
+ readonly params: {
6314
+ readonly step: VirtualStep.Start;
6315
+ readonly substep: import("../../../../types/src/index.js").StartStep.Start;
6316
+ readonly shouldStoreNavigationState: false;
6317
+ readonly credentialId: undefined;
6318
+ readonly activeScreen: import("../../../../types/src/index.js").ActiveScreen.Workflow;
6319
+ };
6320
+ };
6321
+ };
6322
+ };
6323
+ };
6324
+ };
6325
+ readonly entry: ActionFunction<MachineContext, AnyEventObject, AnyEventObject, undefined, never, {
6326
+ type: "setWorkflowStep";
6327
+ params: NavigationStep;
6328
+ }, never, never, EventObject>;
6329
+ };
6330
+ readonly activeScreen: {
6331
+ readonly id: "active screen state machine";
6332
+ readonly initial: import("../../../../types/src/index.js").ActiveScreen.Workflow;
6333
+ readonly states: {
6334
+ readonly workflow: {};
6335
+ readonly "cross-device": {};
6336
+ };
6337
+ readonly on: {
6338
+ readonly "active-screen-navigate-to-cross-device": {
6339
+ readonly target: ".cross-device";
6340
+ readonly actions: any;
6341
+ };
6342
+ readonly "active-screen-navigate-to-workflow": {
6343
+ readonly target: ".workflow";
6344
+ readonly actions: any;
6345
+ };
6346
+ };
6347
+ };
6348
+ };
6349
+ }>>): void;
6350
+ getNavigateToNextScreen$(): Observable<Settings>;
6351
+ }
6352
+
6043
6353
  export declare class JumioSdkSupportedIdSearchComponent extends BaseComponent {
6044
6354
  #private;
6045
6355
  static styles: CSSResult[];
@@ -6242,6 +6552,8 @@ export declare interface LivenessState {
6242
6552
  jLiveProgressStepsTotal: number;
6243
6553
  jLiveUiCommand: UXUICommand | undefined;
6244
6554
  jLiveVisibleFaceFinder: LivenessRefDistance;
6555
+ jLiveManualCaptureFallbackReason: ManualCaptureFallbackReason | undefined;
6556
+ jLiveFallbackError: JLiveFallbackError | undefined;
6245
6557
  }
6246
6558
 
6247
6559
  declare type LivenessVisorInfoEvent = LivenessBaseEvent<EventName.VisorInfo>;
@@ -6363,7 +6675,7 @@ export declare enum LogLevel {
6363
6675
  None = "none"
6364
6676
  }
6365
6677
 
6366
- declare enum ManualCaptureFallbackReason {
6678
+ export declare enum ManualCaptureFallbackReason {
6367
6679
  ModuleLoadingError = "module-loading-error",
6368
6680
  ModuleInitializationError = "module-initialization-error",
6369
6681
  WorkerCrashed = "worker-crashed",
@@ -6375,6 +6687,8 @@ declare enum ManualCaptureFallbackReason {
6375
6687
  ExcludedDevice = "excluded-device"
6376
6688
  }
6377
6689
 
6690
+ export declare const maxFileSizeMessage: (maxFileSize: number) => string;
6691
+
6378
6692
  declare type MediaDeviceMetadata = Partial<Pick<MediaDeviceInfo, 'label' | 'deviceId' | 'groupId' | 'kind'>>;
6379
6693
 
6380
6694
  export declare interface MerchantSettings extends Record<string, unknown> {
@@ -6386,6 +6700,7 @@ export declare interface MerchantSettings extends Record<string, unknown> {
6386
6700
  isExplicitUploadEnabled?: boolean;
6387
6701
  isFileUploadEnabled?: boolean;
6388
6702
  jLiveEnabled?: boolean;
6703
+ jLiveFallbackPolicy: JLiveFallbackPolicy;
6389
6704
  }
6390
6705
 
6391
6706
  export declare interface MerchantSettingsAutocapture {
@@ -6551,7 +6866,7 @@ export declare type NavigationStepVirtualStepFinish = NavigationStepBase<Virtual
6551
6866
 
6552
6867
  export declare type NavigationStepVirtualStepSetup = NavigationStepBase<VirtualStep.Setup, undefined>;
6553
6868
 
6554
- export declare type NavigationStepVirtualStepStart = NavigationStepBase<VirtualStep.Start, undefined>;
6869
+ export declare type NavigationStepVirtualStepStart = NavigationStepBase<VirtualStep.Start, StartStep>;
6555
6870
 
6556
6871
  export declare enum NavigationType {
6557
6872
  Browser = "browser",
@@ -6753,25 +7068,103 @@ readonly "step-navigation-previous-step": `${string}-${string}-${string}-${strin
6753
7068
  };
6754
7069
  };
6755
7070
  readonly start: {
6756
- readonly initial: import("../../../types/src/index.js").StartStep.Consent;
7071
+ readonly initial: import("../../../types/src/index.js").StartStep.Start;
6757
7072
  readonly states: {
6758
- readonly "start-consent": {
7073
+ readonly "start-screen-start": {
7074
+ readonly on: {
7075
+ readonly "start-screen-consent-screen": {
7076
+ readonly target: import("../../../types/src/index.js").StartStep.ConsentScreen;
7077
+ readonly actions: {
7078
+ readonly type: "setWorkflowStep";
7079
+ readonly params: {
7080
+ credentialId: `${string}-${string}-${string}-${string}-${string}`;
7081
+ step: import("../../../types/src/index.js").VirtualStep.Start;
7082
+ substep: import("../../../types/src/index.js").StartStep.ConsentScreen;
7083
+ shouldStoreNavigationState: true;
7084
+ activeScreen: import("../../../types/src/index.js").ActiveScreen.Workflow;
7085
+ };
7086
+ };
7087
+ };
7088
+ readonly "start-screen-finish": {
7089
+ readonly target: import("../../../types/src/index.js").StartStep.Finish;
7090
+ readonly actions: {
7091
+ readonly type: "setWorkflowStep";
7092
+ readonly params: {
7093
+ credentialId: `${string}-${string}-${string}-${string}-${string}`;
7094
+ step: import("../../../types/src/index.js").VirtualStep.Start;
7095
+ substep: import("../../../types/src/index.js").StartStep.Finish;
7096
+ shouldStoreNavigationState: false;
7097
+ activeScreen: import("../../../types/src/index.js").ActiveScreen.Workflow;
7098
+ };
7099
+ };
7100
+ };
7101
+ };
7102
+ };
7103
+ readonly "start-screen-consent": {
6759
7104
  readonly on: {
6760
- readonly "start-screen-proceed": import("../../../types/src/index.js").StartStep.Finish;
7105
+ readonly "start-screen-provide-consent": {
7106
+ readonly target: import("../../../types/src/index.js").StartStep.Finish;
7107
+ readonly actions: {
7108
+ readonly type: "setWorkflowStep";
7109
+ readonly params: {
7110
+ credentialId: undefined;
7111
+ step: import("../../../types/src/index.js").VirtualStep.Start;
7112
+ substep: import("../../../types/src/index.js").StartStep.Finish;
7113
+ shouldStoreNavigationState: false;
7114
+ activeScreen: import("../../../types/src/index.js").ActiveScreen.Workflow;
7115
+ };
6761
7116
  };
6762
7117
  };
6763
- readonly "start-finish": {
7118
+ };
7119
+ };
7120
+ readonly "start-screen-finish": {
6764
7121
  readonly type: "final";
6765
7122
  };
6766
7123
  };
6767
7124
  readonly on: {
6768
- readonly "step-navigation-next-step": `${string}-${string}-${string}-${string}-${string}`;
7125
+ readonly "step-navigation-next-step": {
7126
+ readonly target: `${string}-${string}-${string}-${string}-${string}`;
7127
+ readonly actions: {
7128
+ readonly type: "setWorkflowStep";
7129
+ readonly params: {
7130
+ credentialId: `${string}-${string}-${string}-${string}-${string}`;
7131
+ step: import("../../../types/src/index.js").VirtualStep.Start;
7132
+ substep: import("../../../types/src/index.js").StartStep.Finish;
7133
+ shouldStoreNavigationState: false;
7134
+ activeScreen: import("../../../types/src/index.js").ActiveScreen.Workflow;
7135
+ };
7136
+ };
7137
+ };
7138
+ };
7139
+ readonly onDone: {
7140
+ readonly target: `${string}-${string}-${string}-${string}-${string}`;
7141
+ readonly actions: {
7142
+ readonly type: "setWorkflowStep";
7143
+ readonly params: {
7144
+ credentialId: `${string}-${string}-${string}-${string}-${string}`;
7145
+ step: import("../../../types/src/index.js").VirtualStep.Start;
7146
+ substep: import("../../../types/src/index.js").StartStep.Finish;
7147
+ shouldStoreNavigationState: false;
7148
+ activeScreen: import("../../../types/src/index.js").ActiveScreen.Workflow;
7149
+ };
7150
+ };
6769
7151
  };
6770
- readonly onDone: `${string}-${string}-${string}-${string}-${string}`;
6771
7152
  };
6772
7153
  readonly setup: {
6773
7154
  readonly on: {
6774
- readonly "step-navigation-next-step": import("../../../types/src/index.js").VirtualStep.Start;
7155
+ readonly "step-navigation-next-step": {
7156
+ readonly target: import("../../../types/src/index.js").VirtualStep.Start;
7157
+ readonly actions: {
7158
+ readonly type: "setWorkflowStep";
7159
+ readonly params: {
7160
+ readonly step: import("../../../types/src/index.js").VirtualStep.Start;
7161
+ readonly substep: import("../../../types/src/index.js").StartStep.Start;
7162
+ readonly shouldStoreNavigationState: false;
7163
+ readonly credentialId: undefined;
7164
+ readonly activeScreen: import("../../../types/src/index.js").ActiveScreen.Workflow;
7165
+ };
7166
+ };
7167
+ };
6775
7168
  };
6776
7169
  };
6777
7170
  };
@@ -7066,7 +7459,7 @@ export declare const selectWorkflowStep$: () => Observable<Category | VirtualSte
7066
7459
 
7067
7460
  export declare const selectWorkflowStepInformation$: () => Observable<NavigationStepVirtualStepSetup | NavigationStepVirtualStepStart | NavigationStepCategoryId | NavigationStepCategoryFacemap | NavigationStepCategoryDocument | NavigationStepCategoryData | NavigationStepVirtualStepFinish>;
7068
7461
 
7069
- export declare const selectWorkflowSubstep$: () => Observable<IdStep | FacemapStep | DocumentStep | DataStep | undefined>;
7462
+ export declare const selectWorkflowSubstep$: () => Observable<StartStep | IdStep | FacemapStep | DocumentStep | DataStep | undefined>;
7070
7463
 
7071
7464
  export declare interface SendEventRequest {
7072
7465
  events: EventBody[];
@@ -7159,6 +7552,7 @@ export declare interface Settings extends Record<string, unknown> {
7159
7552
  supportedDocumentTypes: SupportedDocumentType[];
7160
7553
  timestamp: string;
7161
7554
  workflowDefinitionKey: number;
7555
+ skipStartScreen?: boolean;
7162
7556
  }
7163
7557
 
7164
7558
  export declare const settings: EventDispatcher< {
@@ -7264,8 +7658,9 @@ export declare class StartCaptureEvent extends CustomEvent<void> {
7264
7658
  }
7265
7659
 
7266
7660
  export declare enum StartStep {
7267
- Consent = "start-consent",
7268
- Finish = "start-finish"
7661
+ Start = "start-screen-start",
7662
+ ConsentScreen = "start-screen-consent",
7663
+ Finish = "start-screen-finish"
7269
7664
  }
7270
7665
 
7271
7666
  export declare interface StateMachineCredentialIdLike {
@@ -7549,6 +7944,8 @@ stack?: string;
7549
7944
 
7550
7945
  export declare const updateConsent: (item: ConsentData) => void;
7551
7946
 
7947
+ export declare const updateFrontFileStoreIds: (newId: FileStoreKey) => void;
7948
+
7552
7949
  export declare interface UpdateMetadataParams {
7553
7950
  countrySelection?: string;
7554
7951
  credentialFileGuidSelection?: string[];
@@ -7572,6 +7969,12 @@ export declare const uploadedFile: EventDispatcher< {
7572
7969
  source: FileSource;
7573
7970
  }>;
7574
7971
 
7972
+ export declare class UploadErrorMessageComponent extends BaseComponent {
7973
+ static styles: CSSResult[];
7974
+ message: string;
7975
+ render(): TemplateResult<1>;
7976
+ }
7977
+
7575
7978
  declare enum UploadEvents {
7576
7979
  FilesUploadedRaw = "filesuploadedraw",
7577
7980
  FilesUploaded = "filesuploaded"
@@ -7628,8 +8031,7 @@ export declare enum UploadType {
7628
8031
  Iproov = "IPROOV",
7629
8032
  Video = "VIDEO",
7630
8033
  Screenshot = "SCREENSHOT",
7631
- MrzImage = "MRZ_IMAGE",
7632
- Other = "OTHER"
8034
+ MrzImage = "MRZ_IMAGE"
7633
8035
  }
7634
8036
 
7635
8037
  export declare type UploadTypeJumioLiveness = `JUMIO_LIVENESS_${number}` | 'JUMIO_LIVENESS_BLOB';
@@ -7691,6 +8093,8 @@ export declare interface UsabilityNotAvailableResult {
7691
8093
 
7692
8094
  export declare interface UsabilityPassResult {
7693
8095
  decisionType: DecisionType.PASS;
8096
+ extractedData?: ExtractedData;
8097
+ classifier: UploadType;
7694
8098
  }
7695
8099
 
7696
8100
  export declare interface UsabilityRejectResult {
@@ -8064,6 +8468,10 @@ export declare interface WorkflowStepFacemap extends WorkflowStepCredentialLogic
8064
8468
  patchIproovTokenState(tokenData: Partial<IproovTokenState>): void;
8065
8469
  validateIproovToken$(params: ValidateIproovTokenRequest): Observable<ValidateIproovTokenResponse>;
8066
8470
  selectVerificationMethods$(): Observable<FacemapVerificationMethod[]>;
8471
+ setJLiveManualCaptureFallbackReason(reason: ManualCaptureFallbackReason | undefined): void;
8472
+ selectJLiveManualCaptureFallbackReason$(): Observable<ManualCaptureFallbackReason | undefined>;
8473
+ selectJLiveFallbackError$(): Observable<JLiveFallbackError | undefined>;
8474
+ resetJLiveFallbackError(): void;
8067
8475
  setActiveFaceVerificationMethod: (activeVerificationMethod: FacemapVerificationMethod | undefined) => void;
8068
8476
  getActiveFaceVerificationMethod: () => FacemapVerificationMethod | undefined;
8069
8477
  selectActiveFaceVerificationMethod$: () => Observable<FacemapVerificationMethod | undefined>;
@@ -8098,6 +8506,10 @@ export declare interface WorkflowStepFacemapController extends WorkflowStepCrede
8098
8506
  validateIproovTokenAsync(params: ValidateIproovTokenRequest): Promise<ValidateIproovTokenResponse>;
8099
8507
  selectVerificationMethods$(): Observable<FacemapVerificationMethod[]>;
8100
8508
  getVerificationMethodsAsync(): Promise<FacemapVerificationMethod[]>;
8509
+ setJLiveManualCaptureFallbackReason(reason: ManualCaptureFallbackReason): void;
8510
+ selectJLiveManualCaptureFallbackReason$(): Observable<ManualCaptureFallbackReason | undefined>;
8511
+ selectJLiveFallbackError$(): Observable<JLiveFallbackError | undefined>;
8512
+ resetJLiveFallbackError(): void;
8101
8513
  setActiveFaceVerificationMethod: (activeVerificationMethod: FacemapVerificationMethod | undefined) => void;
8102
8514
  getActiveFaceVerificationMethod: () => FacemapVerificationMethod | undefined;
8103
8515
  selectActiveFaceVerificationMethod$: () => Observable<FacemapVerificationMethod | undefined>;
@@ -8140,6 +8552,8 @@ export declare interface WorkflowStepId extends WorkflowStepCredentialLogic<Cate
8140
8552
  patchUserSelection(params: IdCredentialSelection): void;
8141
8553
  getUserSelection(): IdCredentialSelection;
8142
8554
  selectUserSelection$(): Observable<IdCredentialSelection>;
8555
+ isUsabilityBackMissing(credentialId: UUID): IsUsabilityBackMissing;
8556
+ are2FilesUploaded(credentialId: UUID): boolean;
8143
8557
  selectSidesForSelectedDocument$(): Observable<IdSide[]>;
8144
8558
  selectPartsForDocumentType$(params: IdCredentialSelection): Observable<IdTypeVariantPart[]>;
8145
8559
  getPartsForDocumentType(params: IdCredentialSelection): IdTypeVariantPart[];
@@ -8159,6 +8573,8 @@ export declare interface WorkflowStepIdController extends WorkflowStepCredential
8159
8573
  getIdTypeVariantCollectionAsync(): Promise<IdTypeVariant[]>;
8160
8574
  patchUserSelection(params: IdCredentialSelection): void;
8161
8575
  getUserSelection(): IdCredentialSelection;
8576
+ isUsabilityBackMissing(credentialId: UUID): IsUsabilityBackMissing;
8577
+ are2FilesUploaded(credentialId: UUID): boolean;
8162
8578
  selectUserSelection$(): Observable<IdCredentialSelection>;
8163
8579
  selectSidesForSelectedDocument$(): Observable<IdSide[]>;
8164
8580
  getSidesForSelectedDocumentAsync(): Promise<IdSide[]>;