@jumio/websdk 0.2.12 → 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.BCnnyCnG.js → iProovMe.Cvk3KkX7.js} +2 -2
  46. package/{index.BnYFSDgc.js → index.DXNt2p89.js} +18491 -17843
  47. package/index.d.ts +489 -74
  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>;
@@ -1351,7 +1355,6 @@ export declare class AppContainerComponent extends BaseComponent {
1351
1355
  static styles: CSSResult[];
1352
1356
  type: DsAppContainerLayoutType;
1353
1357
  footerVisible: boolean;
1354
- poweredByVisible: boolean;
1355
1358
  readonly layout$: Observable<DsAppContainerLayout>;
1356
1359
  readonly layoutController: AsyncController<DsAppContainerLayout>;
1357
1360
  constructor();
@@ -1513,6 +1516,8 @@ export declare class BackdropComponent extends BaseComponent {
1513
1516
  render(): TemplateResult<1>;
1514
1517
  }
1515
1518
 
1519
+ export declare const backMissingEvent: EventDispatcher<EventMetadata>;
1520
+
1516
1521
  export declare interface BackupEntry {
1517
1522
  backupGuid: string;
1518
1523
  workflowState: WorkflowState;
@@ -2638,7 +2643,7 @@ export declare interface ConstraintsParams {
2638
2643
  declare type ControllerProvider<TWorkflowStepController, TComponentController> = WorkflowStepControllerProvider<TWorkflowStepController> & ComponentControllerProvider<TComponentController>;
2639
2644
 
2640
2645
  declare interface Country {
2641
- code: CountryCode | undefined;
2646
+ code: CountryCode;
2642
2647
  label: string;
2643
2648
  }
2644
2649
 
@@ -2895,6 +2900,8 @@ export declare enum CountryCode {
2895
2900
  ZWE = "ZWE"
2896
2901
  }
2897
2902
 
2903
+ export declare const crateBackMissingEvent: EventCreator<"trace", "back side of ID is missing", EventMetadata>;
2904
+
2898
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>];
2899
2906
 
2900
2907
  export declare const createAndAppendSlotFallback: <K extends keyof HTMLElementTagNameMap>({ root, slotName, fallbackContentTagName }: CreateAndAppendSlotParams<K>) => HTMLElementTagNameMap[K] | undefined;
@@ -3395,6 +3402,8 @@ export declare interface CreateDatastoreParams {
3395
3402
  credentialDocumentStoreFactory?: interfaces.SimpleFactory<CredentialDocumentStore, [string]>;
3396
3403
  }
3397
3404
 
3405
+ export declare const createDefaultToDL: EventCreator<"trace", "missing idType - defaulting to DL", EventMetadata>;
3406
+
3398
3407
  export declare const createDeviceListChangedEvent: EventCreator<"trace", "device list changed", {
3399
3408
  devices: {
3400
3409
  readonly label?: string | undefined;
@@ -3688,6 +3697,10 @@ export declare interface CredentialFacemapStore {
3688
3697
  setActiveFaceVerificationMethod: (activeVerificationMethod: FacemapVerificationMethod | undefined) => void;
3689
3698
  getActiveFaceVerificationMethod: () => FacemapVerificationMethod | undefined;
3690
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;
3691
3704
  selectLivenessState$: () => Observable<CredentialFacemapState & LivenessState>;
3692
3705
  setLivenessVisibleFaceFinder: (oval: LivenessRefDistance) => void;
3693
3706
  selectLivenessVisibleFaceFinder$: () => Observable<LivenessRefDistance>;
@@ -3714,6 +3727,10 @@ export declare class CredentialFacemapStoreImpl implements CredentialFacemapStor
3714
3727
  constructor(credential: JCredential<Category.Facemap>);
3715
3728
  destroy(): void;
3716
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>;
3717
3734
  getActiveFaceVerificationMethod(): FacemapVerificationMethod | undefined;
3718
3735
  selectActiveFaceVerificationMethod$(): Observable<FacemapVerificationMethod | undefined>;
3719
3736
  selectLivenessState$(): Observable<CredentialFacemapState & LivenessState & IproovTokenState>;
@@ -3763,6 +3780,8 @@ export declare interface CredentialIdStore {
3763
3780
  selectIdTypeVariantCollection$: () => Observable<IdTypeVariant[]>;
3764
3781
  selectIdTypeVariant$: () => Observable<IdTypeVariant>;
3765
3782
  getIdUserSelection: () => IdCredentialSelection;
3783
+ are2FilesUploaded: (credentialId: UUID) => boolean;
3784
+ isUsabilityBackMissing: (credentialId: UUID) => IsUsabilityBackMissing;
3766
3785
  selectIdUserSelection$: () => Observable<IdCredentialSelection>;
3767
3786
  isCountryAndDocTypePredefined: () => boolean;
3768
3787
  destroy: () => void;
@@ -3771,6 +3790,8 @@ export declare interface CredentialIdStore {
3771
3790
  export declare class CredentialIdStoreImpl implements CredentialIdStore {
3772
3791
  #private;
3773
3792
  constructor(credential: JCredential<Category.Id>);
3793
+ are2FilesUploaded(credentialId: UUID): boolean;
3794
+ isUsabilityBackMissing(credentialId: UUID): IsUsabilityBackMissing;
3774
3795
  destroy(): void;
3775
3796
  patchIdUserSelection(params: Partial<IdCredentialSelection>, settings?: Settings): void;
3776
3797
  selectSidesForSelectedDocument$(): Observable<IdSide[]>;
@@ -3779,7 +3800,13 @@ export declare class CredentialIdStoreImpl implements CredentialIdStore {
3779
3800
  selectIdTypeVariantCollection$(): Observable<IdTypeVariant[]>;
3780
3801
  selectIdTypeVariant$(): Observable<IdTypeVariant>;
3781
3802
  getIdUserSelection(): IdCredentialSelection;
3782
- 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
+ }>;
3783
3810
  isCountryAndDocTypePredefined(): boolean;
3784
3811
  }
3785
3812
 
@@ -3826,6 +3853,8 @@ export declare enum DecisionType {
3826
3853
  NOT_AVAILABLE = "NOT_AVAILABLE"
3827
3854
  }
3828
3855
 
3856
+ export declare const defaultToDL: EventDispatcher<EventMetadata>;
3857
+
3829
3858
  export declare const DEV: boolean;
3830
3859
 
3831
3860
  export declare enum DeviceCategory {
@@ -3952,8 +3981,7 @@ export declare class DropdownComponent extends BaseComponent {
3952
3981
 
3953
3982
  export declare interface DropdownOption {
3954
3983
  label: string;
3955
- value?: string;
3956
- code?: string;
3984
+ value: string;
3957
3985
  }
3958
3986
 
3959
3987
  export declare class DropdownSelectionEvent extends CustomEvent<DropdownOption> {
@@ -4174,9 +4202,9 @@ export declare enum ExecutionEnvironment {
4174
4202
  }
4175
4203
 
4176
4204
  export declare interface ExtractedData {
4205
+ country: CountryCode;
4206
+ idType: IdTypeUpload;
4177
4207
  issuingCountry?: CountryCode;
4178
- country?: CountryCode;
4179
- idType?: string;
4180
4208
  firstName?: string;
4181
4209
  lastName?: string;
4182
4210
  dateOfBirth?: string;
@@ -4277,7 +4305,7 @@ export declare interface FacingModeConstraint extends MediaStreamConstraints {
4277
4305
  facingMode: {
4278
4306
  ideal: 'user' | 'environment';
4279
4307
  };
4280
- };
4308
+ } & MediaTrackConstraints;
4281
4309
  audio: false;
4282
4310
  }
4283
4311
 
@@ -4308,8 +4336,6 @@ export declare interface FetchErrorParams {
4308
4336
  publicError?: PublicError;
4309
4337
  }
4310
4338
 
4311
- export declare const fetchWorkerData: () => Promise<DataAcquisitionFetchParameters>;
4312
-
4313
4339
  export declare type FileListFilter = (files: File[]) => File[];
4314
4340
 
4315
4341
  export declare class FileMultiUploadComponent extends BaseComponent {
@@ -4340,6 +4366,14 @@ export declare interface FilePartState extends FilePartResponse {
4340
4366
  filename?: string;
4341
4367
  }
4342
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
+
4343
4377
  export declare class FileRemoveEvent extends CustomEvent<unknown> {
4344
4378
  constructor();
4345
4379
  }
@@ -4392,7 +4426,7 @@ export declare type FileStoreKey = FileStoreKeyId | FileStoreKeyFacemap | FileSt
4392
4426
 
4393
4427
  export declare type FileStoreKeyBRA_ID = `${UUID}_${IdTypeUpload.DigitalIdentity}_${UploadType.FrontSide}`;
4394
4428
 
4395
- declare type FileStoreKeyDocument = `${UUID}_${IdTypeUpload}_${UploadType.Document}`;
4429
+ declare type FileStoreKeyDocument = `${UUID}_${UploadType.Document}`;
4396
4430
 
4397
4431
  declare type FileStoreKeyFacemap = `${UUID}_${UploadType.Face}` | `${string}_JUMIO_LIVENESS_BLOB` | JLivePartName;
4398
4432
 
@@ -4416,6 +4450,8 @@ export declare enum FileType {
4416
4450
  Dat = "DAT"
4417
4451
  }
4418
4452
 
4453
+ export declare const fileTypeMessage: () => string;
4454
+
4419
4455
  export declare class FileUploadComponent extends BaseComponent {
4420
4456
  #private;
4421
4457
  static styles: CSSResult[];
@@ -4489,6 +4525,8 @@ declare const generateAction: (params: Partial<NavigationStep>) => {
4489
4525
  params: Partial<NavigationStep>;
4490
4526
  };
4491
4527
 
4528
+ export declare const generateBrazilianIdLink: () => string;
4529
+
4492
4530
  export declare interface GenerateCredentialParams {
4493
4531
  credentialId: UUID;
4494
4532
  previousStep: StepCallback;
@@ -4520,25 +4558,103 @@ readonly "step-navigation-previous-step": `${string}-${string}-${string}-${strin
4520
4558
  };
4521
4559
  };
4522
4560
  readonly start: {
4523
- readonly initial: import("../../../types/src/index.js").StartStep.Consent;
4561
+ readonly initial: StartStep.Start;
4524
4562
  readonly states: {
4525
- readonly "start-consent": {
4563
+ readonly "start-screen-start": {
4526
4564
  readonly on: {
4527
- 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
+ };
4528
4589
  };
4529
4590
  };
4530
- readonly "start-finish": {
4591
+ };
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": {
4531
4611
  readonly type: "final";
4532
4612
  };
4533
4613
  };
4534
4614
  readonly on: {
4535
- 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
+ };
4536
4641
  };
4537
- readonly onDone: `${string}-${string}-${string}-${string}-${string}`;
4538
4642
  };
4539
4643
  readonly setup: {
4540
4644
  readonly on: {
4541
- 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
+ };
4542
4658
  };
4543
4659
  };
4544
4660
  };
@@ -4641,8 +4757,12 @@ export declare type GetImageDataCallback = () => Promise<ImageData | undefined>;
4641
4757
 
4642
4758
  export declare const getIsIdAutoCaptureForMerchantEnabled: () => boolean;
4643
4759
 
4760
+ export declare const getJLiveFallbackPolicy: () => JLiveFallbackPolicy;
4761
+
4644
4762
  export declare const getLatestBackupGuid: () => string;
4645
4763
 
4764
+ export declare const getMaxFileUploadLimit: () => number;
4765
+
4646
4766
  export declare const getMockedDeviceById: (deviceId: string) => JMediaDeviceInfo | undefined;
4647
4767
 
4648
4768
  export declare const getNavigatorUserAgent: () => string;
@@ -4685,6 +4805,7 @@ export declare const getStateMachineFacemapActions: (credentialId: UUID) => {
4685
4805
  readonly JumioStandardCaptureScreen: `${string}-${string}-${string}-${string}-${string}:identity-jumio-standard-capture-screen`;
4686
4806
  readonly JumioStandardCaptureScreenLiveness: `${string}-${string}-${string}-${string}-${string}:identity-jumio-standard-capture-screen-liveness`;
4687
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`;
4688
4809
  readonly JumioStandardCaptureScreenSelfie: `${string}-${string}-${string}-${string}-${string}:identity-jumio-standard-capture-screen-selfie`;
4689
4810
  readonly JumioStandardCaptureScreenCaptureFinish: `${string}-${string}-${string}-${string}-${string}:identity-jumio-standard-capture-screen-capture-finish`;
4690
4811
  readonly JumioStandardCaptureScreenUpload: `${string}-${string}-${string}-${string}-${string}:identity-jumio-standard-capture-screen-upload`;
@@ -4710,6 +4831,7 @@ export declare const getStateMachineIdActions: (credentialId: UUID) => {
4710
4831
  readonly CaptureScreenAutoCaptureLoadingSuccess: `${string}-${string}-${string}-${string}-${string}:id-capture-screen-auto-capture-loading-success`;
4711
4832
  readonly CaptureScreenAutoCaptureLoadingFailure: `${string}-${string}-${string}-${string}-${string}:id-capture-screen-auto-capture-loading-failure`;
4712
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`;
4713
4835
  readonly CaptureScreenFrontStart: `${string}-${string}-${string}-${string}-${string}:id-capture-screen-front-start`;
4714
4836
  readonly CaptureScreenFront: `${string}-${string}-${string}-${string}-${string}:id-capture-screen-front`;
4715
4837
  readonly CaptureScreenFrontFinish: `${string}-${string}-${string}-${string}-${string}:id-capture-screen-front-finish`;
@@ -4720,8 +4842,9 @@ export declare const getStateMachineIdActions: (credentialId: UUID) => {
4720
4842
  readonly CaptureScreenUpload: `${string}-${string}-${string}-${string}-${string}:id-capture-screen-upload`;
4721
4843
  readonly CaptureScreenUploadFailed: `${string}-${string}-${string}-${string}-${string}:id-capture-screen-upload-failed`;
4722
4844
  readonly IdUsabilityCheck: `${string}-${string}-${string}-${string}-${string}:id-usability-check`;
4723
- readonly IdUsabilityCheckSuccess: `${string}-${string}-${string}-${string}-${string}:id-usability-check-success`;
4724
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`;
4725
4848
  readonly IdUsabilitySupportedList: `${string}-${string}-${string}-${string}-${string}:id-usability-supported-list`;
4726
4849
  readonly IdUsabilityCheckReset: `${string}-${string}-${string}-${string}-${string}:id-usability-check-reset`;
4727
4850
  readonly Upload: `${string}-${string}-${string}-${string}-${string}:id-upload`;
@@ -4732,7 +4855,9 @@ export declare const getStateMachineInstance: () => Actor<ReturnType<typeof gene
4732
4855
 
4733
4856
  export declare const getStateMachineStartScreenActions: () => {
4734
4857
  readonly Start: "start-screen-start";
4735
- 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";
4736
4861
  };
4737
4862
 
4738
4863
  export declare const getToken: () => TokenState;
@@ -4755,13 +4880,9 @@ usabilityEntities: Record<FileStoreKey, UsabilityCheckState>;
4755
4880
  usabilityIds: FileStoreKey[];
4756
4881
  }, EntitiesRef<"usabilityEntities", "usabilityIds", "idKeyUsability">> | undefined;
4757
4882
 
4758
- export declare const getUsabilityEntitiesByCategory: (credentialId: UUID) => getEntityType< {
4759
- uploadEntities: Record<FileStoreKey, UploadState>;
4760
- uploadIds: FileStoreKey[];
4761
- } & {
4762
- usabilityEntities: Record<FileStoreKey, UsabilityCheckState>;
4763
- usabilityIds: FileStoreKey[];
4764
- }, EntitiesRef<"usabilityEntities", "usabilityIds", "idKeyUsability">>[];
4883
+ export declare const getUsabilityEntitiesByCategory: (credentialId: UUID) => UsabilityCheckState[];
4884
+
4885
+ export declare function getWorkerData(): Promise<DataAcquisitionFetchParameters>;
4765
4886
 
4766
4887
  export declare function getWorkflowInstance(): WorkflowController;
4767
4888
 
@@ -4778,7 +4899,7 @@ export declare const getWorkflowState: () => WorkflowState;
4778
4899
 
4779
4900
  export declare const getWorkflowStep: () => Category | VirtualStep;
4780
4901
 
4781
- export declare const getWorkflowSubstep: () => IdStep | FacemapStep | DocumentStep | DataStep | undefined;
4902
+ export declare const getWorkflowSubstep: () => StartStep | IdStep | FacemapStep | DocumentStep | DataStep | undefined;
4782
4903
 
4783
4904
  export declare class GuidanceFaceAnimationComponent extends BaseComponent {
4784
4905
  #private;
@@ -4848,6 +4969,7 @@ export declare enum IdStep {
4848
4969
  CaptureScreenDecision = "id-capture-screen-decision",
4849
4970
  CaptureScreenFront = "id-capture-screen-front",
4850
4971
  CaptureScreenFrontFinish = "id-capture-screen-front-finish",
4972
+ CaptureScreenPrepareForRecapturingBack = "id-capture-screen-prepare-for-recapturing-back",
4851
4973
  CaptureScreenFrontStart = "id-capture-screen-front-start",
4852
4974
  CaptureScreenSelectProvider = "id-capture-screen-select-provider",
4853
4975
  CaptureScreenUpload = "id-capture-screen-upload",
@@ -4859,6 +4981,7 @@ export declare enum IdStep {
4859
4981
  Finish = "id-finish",
4860
4982
  IdUsabilityCheck = "id-usability-check",
4861
4983
  IdUsabilityCheckFailure = "id-usability-check-failure",
4984
+ IdUsabilityCheckBackMissing = "id-usability-check-back-missing",
4862
4985
  IdUsabilityCheckReset = "id-usability-check-reset",
4863
4986
  IdUsabilitySupportedList = "id-usability-supported-list",
4864
4987
  Start = "id-start",
@@ -4879,7 +5002,6 @@ export declare enum IdTypeUpload {
4879
5002
  ResidencePermit = "RESIDENCE_PERMIT",
4880
5003
  Visa = "VISA",
4881
5004
  DrivingLicense = "DRIVING_LICENSE",
4882
- Other = "OTHER",
4883
5005
  DigitalIdentity = "DIGITAL_IDENTITY"
4884
5006
  }
4885
5007
 
@@ -4998,6 +5120,8 @@ export declare const isAndroid: () => boolean | undefined;
4998
5120
 
4999
5121
  export declare const isAutocaptureActive: () => boolean;
5000
5122
 
5123
+ export declare const isBackMissingForUsability: (countryCode?: CountryCode, idType?: IdTypeUpload) => boolean;
5124
+
5001
5125
  export declare const isButtonShape: (value: unknown) => value is ButtonShape;
5002
5126
 
5003
5127
  export declare const isButtonSize: (value: unknown) => value is ButtonSize;
@@ -5018,6 +5142,8 @@ export declare const isColorScheme: (value: unknown) => value is ColorScheme;
5018
5142
 
5019
5143
  export declare const isConsentGivenSent$: () => Observable<boolean>;
5020
5144
 
5145
+ export declare const isHas2Parts$: (countryCode?: CountryCode, idType?: IdTypeUpload) => Observable<boolean>;
5146
+
5021
5147
  export declare const isIos: () => boolean;
5022
5148
 
5023
5149
  export declare const isLocaleValid: (value: unknown) => value is Locale;
@@ -5030,6 +5156,10 @@ export declare const isTokenExpired$: () => Observable<boolean>;
5030
5156
 
5031
5157
  export declare const isTrackPlaying: (deviceId: string, track: MediaStreamTrack) => boolean;
5032
5158
 
5159
+ export declare type IsUsabilityBackMissing = {
5160
+ isBackMissing: boolean;
5161
+ } & Partial<Pick<ExtractedData, 'country' | 'idType'>>;
5162
+
5033
5163
  export declare const isValidContainerType: (value: unknown) => value is DsAppContainerLayoutType;
5034
5164
 
5035
5165
  export declare const isWCAGCompliant: (colors: {
@@ -5049,6 +5179,17 @@ export declare interface JCredentialMap {
5049
5179
  [Category.Data]: CredentialData;
5050
5180
  }
5051
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
+
5052
5193
  export declare type JLivePartName = `${UUID}_${FacemapVerificationMethod.JumioLiveness}_${number}`;
5053
5194
 
5054
5195
  export declare type JMediaDeviceInfo = Pick<MediaDeviceInfo, 'kind' | 'deviceId' | 'groupId' | 'label'> & {
@@ -5296,6 +5437,22 @@ declare class JumioSdkFileUploadFailedController implements ReactiveController {
5296
5437
  hostConnected(): void;
5297
5438
  }
5298
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
+
5299
5456
  export declare class JumioSdkLoggerConsoleComponent extends BaseComponent implements LoggerConsoleConfig {
5300
5457
  readonly type = "LoggerConsole";
5301
5458
  isEnabled: boolean;
@@ -5366,7 +5523,7 @@ export declare type JumioSdkMessage = JumioSdkMessageError | JumioSdkMessageSucc
5366
5523
  export declare interface JumioSdkMessageBase {
5367
5524
  id: JumioSdkMessageId;
5368
5525
  title: string;
5369
- message: string;
5526
+ message?: string;
5370
5527
  overlay?: boolean;
5371
5528
  closable: boolean;
5372
5529
  }
@@ -5399,12 +5556,14 @@ export declare enum JumioSdkMessageId {
5399
5556
  AcquisitionSuccessful = "acquisition-success",
5400
5557
  UsabilityCheck = "usability-check",
5401
5558
  CameraGenericError = "camera-generic-error",
5559
+ CameraInitialization = "camera-initialization",
5402
5560
  CameraNotAllowedError = "camera-not-allowed-error",
5403
5561
  SessionExpired = "session-expired",
5404
5562
  Uploading = "uploading",
5405
5563
  Finalizing = "finalizing",
5406
5564
  EmbargoedCountry = "embargoed-country",
5407
- CloseBrowser = "close-browser"
5565
+ CloseBrowser = "close-browser",
5566
+ LivenessFailed = "liveness-failed"
5408
5567
  }
5409
5568
 
5410
5569
  export declare interface JumioSdkMessageProgress extends JumioSdkMessageBase {
@@ -5446,6 +5605,7 @@ export declare enum JumioSdkMessageType {
5446
5605
 
5447
5606
  export declare class JumioSdkNavigationBrowserComponent extends BaseComponent implements NavigationService {
5448
5607
  #private;
5608
+ static isTheSameNavigationStep(a: Pick<WorkflowState, 'credentialId' | 'step' | 'substep'>, b: Pick<WorkflowState, 'credentialId' | 'step' | 'substep'>): boolean;
5449
5609
  static styles: CSSResult[];
5450
5610
  transformUrl: NavigationUrlTransformer;
5451
5611
  baseUrl: string;
@@ -5453,6 +5613,7 @@ export declare class JumioSdkNavigationBrowserComponent extends BaseComponent im
5453
5613
  interceptors: JumioSdkNavigationInterceptor[];
5454
5614
  navigationConfig: NavigationConfig<NavigationType.Browser>[];
5455
5615
  private lastPushedState;
5616
+ private initialWorkflowState;
5456
5617
  disconnectedCallback(): void;
5457
5618
  firstUpdated(changedProperties: PropertyValues): void;
5458
5619
  render(): TemplateResult<1>;
@@ -5472,7 +5633,7 @@ export declare class JumioSdkNavigationButtonComponent extends BaseComponent {
5472
5633
  type: ButtonType;
5473
5634
  shape: ButtonShape;
5474
5635
  readonly navigationService: NavigationService | undefined;
5475
- render(): TemplateResult<1> | typeof nothing;
5636
+ render(): TemplateResult<1>;
5476
5637
  }
5477
5638
 
5478
5639
  export declare class JumioSdkNavigationComponent extends BaseComponent implements JumioSdkStepNavigationForwardController {
@@ -5661,14 +5822,14 @@ declare class JumioSdkStepDocumentUploadController implements ReactiveController
5661
5822
 
5662
5823
  export declare class JumioSdkStepFacemapCaptureStateComponent extends BaseComponent {
5663
5824
  #private;
5664
- captureStateController: AsyncController<IdStep | FacemapStep | DocumentStep | DataStep | undefined>;
5825
+ captureStateController: AsyncController<StartStep | IdStep | FacemapStep | DocumentStep | DataStep | undefined>;
5665
5826
  render(): symbol | TemplateResult_2<1>;
5666
5827
  }
5667
5828
 
5668
5829
  export declare class JumioSdkStepFacemapComponent extends BaseComponent implements ControllerProvider<WorkflowStepController<Category.Facemap>, JumioSdkStepFacemapController> {
5669
5830
  #private;
5670
5831
  static styles: CSSResult[];
5671
- stepInformationController: AsyncController<IdStep | FacemapStep | DocumentStep | DataStep | undefined>;
5832
+ stepInformationController: AsyncController<StartStep | IdStep | FacemapStep | DocumentStep | DataStep | undefined>;
5672
5833
  readonly componentController: JumioSdkStepFacemapController;
5673
5834
  get workflowStepController(): WorkflowStepController<Category.Facemap>;
5674
5835
  render(): TemplateResult<1> | typeof nothing;
@@ -5681,8 +5842,8 @@ declare class JumioSdkStepFacemapController implements ReactiveController {
5681
5842
  hostDisconnected(): void;
5682
5843
  selectVerificationMethods$(): Observable<FacemapVerificationMethod[]>;
5683
5844
  selectActiveVerificationMethod$(): Observable<FacemapVerificationMethod | undefined>;
5684
- selectFacemapStepInformation$(): Observable<IdStep | FacemapStep | DocumentStep | DataStep | undefined>;
5685
- 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]>;
5686
5847
  handleVerificationMethodFailed(verificationMethods: FacemapVerificationMethod[], activeVerificationMethod: FacemapVerificationMethod | undefined): void;
5687
5848
  handleNoVerificationMethodsLeft(): void;
5688
5849
  decideOnVerificationMethod(): void;
@@ -5805,6 +5966,7 @@ declare class JumioSdkStepIdCaptureController implements ReactiveController {
5805
5966
  #private;
5806
5967
  readonly workflowController: WorkflowController;
5807
5968
  readonly stepController: WorkflowStepController<Category.Id>;
5969
+ readonly hasFileUpload$: Observable<boolean>;
5808
5970
  constructor(host: JumioSdkStepIdCaptureComponent);
5809
5971
  hostConnected(): void;
5810
5972
  hostDisconnected(): void;
@@ -5827,7 +5989,7 @@ export declare class JumioSdkStepIdCaptureStateComponent extends BaseComponent i
5827
5989
  #private;
5828
5990
  static styles: CSSResult[];
5829
5991
  idStepAsyncController: AsyncController<{
5830
- substep: IdStep | FacemapStep | DocumentStep | DataStep | undefined;
5992
+ substep: StartStep | IdStep | FacemapStep | DocumentStep | DataStep | undefined;
5831
5993
  capturing: boolean;
5832
5994
  }>;
5833
5995
  render(): TemplateResult_2<1>;
@@ -5856,7 +6018,7 @@ declare class JumioSdkStepIdController implements ReactiveController {
5856
6018
  isDocumentTypeSelected(selection: IdCredentialSelection): boolean;
5857
6019
  isDocumentVariantSelected(selection: IdCredentialSelection): boolean;
5858
6020
  isDigitalIdentityTypeSelected(selection: IdCredentialSelection): boolean;
5859
- getStepSelection$(): Observable<IdStep | FacemapStep | DocumentStep | DataStep | undefined>;
6021
+ getStepSelection$(): Observable<StartStep | IdStep | FacemapStep | DocumentStep | DataStep | undefined>;
5860
6022
  handleStart(): void;
5861
6023
  handleDocTypeDecision(): Promise<void>;
5862
6024
  }
@@ -5870,7 +6032,6 @@ export declare class JumioSdkStepIdCountrySelectionComponent extends BaseCompone
5870
6032
 
5871
6033
  declare class JumioSdkStepIdCountrySelectionController implements ReactiveController {
5872
6034
  #private;
5873
- static getTranslatedCountry(countryCode: CountryCode | undefined): Country;
5874
6035
  readonly countryList$: Observable<Country[]>;
5875
6036
  constructor(host: ReactiveElement);
5876
6037
  hostDisconnected(): void;
@@ -5918,30 +6079,15 @@ declare class JumioSdkStepIdDocumentVariantController implements ReactiveControl
5918
6079
  hostConnected(): void;
5919
6080
  }
5920
6081
 
5921
- declare class JumioSdkStepIdLocaleSelectionController implements ReactiveController {
5922
- #private;
5923
- constructor(host: ReactiveElement);
5924
- hostDisconnected(): void;
5925
- updateLocale(locale: Locale): void;
5926
- getSelectedLocale(): Locale;
5927
- getLocales(): LocaleLanguageMap[];
5928
- }
5929
-
5930
- export declare class JumioSdkStepIdLocalSelectionComponent extends BaseComponent implements ComponentControllerProvider<JumioSdkStepIdLocaleSelectionController> {
5931
- #private;
5932
- static styles: CSSResult[];
5933
- get componentController(): JumioSdkStepIdLocaleSelectionController;
5934
- render(): TemplateResult<1>;
5935
- }
5936
-
5937
6082
  export declare class JumioSdkStepIdUploadComponent extends BaseComponent implements ComponentControllerProvider<JumioSdkStepIdUploadController> {
5938
6083
  #private;
5939
6084
  static styles: CSSResult[];
6085
+ uploadErrorMessage$: BehaviorSubject<(FilePickerError | undefined)[]>;
5940
6086
  digitalIdentityController: AsyncController<DigitalIdentityProps | undefined>;
5941
6087
  idTypeController: AsyncController<IdTypeUpload | undefined>;
5942
6088
  partsController: AsyncController<UploadState[]>;
6089
+ uploadErrorMessageController: AsyncController<(FilePickerError | undefined)[]>;
5943
6090
  readyController: AsyncController<boolean | undefined>;
5944
- maxFileSizeController: AsyncController<number | undefined>;
5945
6091
  imageCollectionController: AsyncController<FileWithNameBase64Url[]>;
5946
6092
  brazilianIdImageController: AsyncController<url>;
5947
6093
  constructor();
@@ -5956,7 +6102,6 @@ declare class JumioSdkStepIdUploadController implements ReactiveController {
5956
6102
  readonly idType$: Observable<IdTypeUpload | undefined>;
5957
6103
  readonly parts$: Observable<UploadState[]>;
5958
6104
  readonly ready$: Observable<boolean | undefined>;
5959
- readonly maxFileUploadSize$: Observable<number | undefined>;
5960
6105
  constructor(host: ReactiveElement);
5961
6106
  hostConnected(): void;
5962
6107
  uploadFile(event: FileUploadEvent, key: FileStoreKey): Promise<UploadResponse>;
@@ -6014,19 +6159,27 @@ export declare class JumioSdkStepSetupComponent extends BaseComponent {
6014
6159
  }
6015
6160
 
6016
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> {
6017
6171
  #private;
6018
6172
  static styles: CSSResult[];
6019
6173
  colorScheme: ColorScheme;
6020
6174
  readonly documentCodeController: AsyncController<SupportedDocumentType | undefined>;
6021
6175
  constructor();
6022
6176
  get workflowStepController(): WorkflowStepController<VirtualStep.Start>;
6023
- get componentController(): JumioSdkStepStartController;
6024
- connectedCallback(): void;
6177
+ get componentController(): JumioSdkStepStartConsentController;
6025
6178
  render(): TemplateResult<1>;
6026
6179
  renderInstructionsForCategories(params?: RenderInstructionsForCategoriesParams): TemplateResult<1>;
6027
6180
  }
6028
6181
 
6029
- declare class JumioSdkStepStartController implements ReactiveController {
6182
+ declare class JumioSdkStepStartConsentController implements ReactiveController {
6030
6183
  #private;
6031
6184
  constructor(host: ReactiveElement, workflow?: WorkflowController);
6032
6185
  getController(): WorkflowStepController<VirtualStep.Start>;
@@ -6041,6 +6194,162 @@ declare class JumioSdkStepStartController implements ReactiveController {
6041
6194
  getCredentials(): JCredential[];
6042
6195
  }
6043
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
+
6044
6353
  export declare class JumioSdkSupportedIdSearchComponent extends BaseComponent {
6045
6354
  #private;
6046
6355
  static styles: CSSResult[];
@@ -6243,6 +6552,8 @@ export declare interface LivenessState {
6243
6552
  jLiveProgressStepsTotal: number;
6244
6553
  jLiveUiCommand: UXUICommand | undefined;
6245
6554
  jLiveVisibleFaceFinder: LivenessRefDistance;
6555
+ jLiveManualCaptureFallbackReason: ManualCaptureFallbackReason | undefined;
6556
+ jLiveFallbackError: JLiveFallbackError | undefined;
6246
6557
  }
6247
6558
 
6248
6559
  declare type LivenessVisorInfoEvent = LivenessBaseEvent<EventName.VisorInfo>;
@@ -6364,7 +6675,7 @@ export declare enum LogLevel {
6364
6675
  None = "none"
6365
6676
  }
6366
6677
 
6367
- declare enum ManualCaptureFallbackReason {
6678
+ export declare enum ManualCaptureFallbackReason {
6368
6679
  ModuleLoadingError = "module-loading-error",
6369
6680
  ModuleInitializationError = "module-initialization-error",
6370
6681
  WorkerCrashed = "worker-crashed",
@@ -6376,6 +6687,8 @@ declare enum ManualCaptureFallbackReason {
6376
6687
  ExcludedDevice = "excluded-device"
6377
6688
  }
6378
6689
 
6690
+ export declare const maxFileSizeMessage: (maxFileSize: number) => string;
6691
+
6379
6692
  declare type MediaDeviceMetadata = Partial<Pick<MediaDeviceInfo, 'label' | 'deviceId' | 'groupId' | 'kind'>>;
6380
6693
 
6381
6694
  export declare interface MerchantSettings extends Record<string, unknown> {
@@ -6387,6 +6700,7 @@ export declare interface MerchantSettings extends Record<string, unknown> {
6387
6700
  isExplicitUploadEnabled?: boolean;
6388
6701
  isFileUploadEnabled?: boolean;
6389
6702
  jLiveEnabled?: boolean;
6703
+ jLiveFallbackPolicy: JLiveFallbackPolicy;
6390
6704
  }
6391
6705
 
6392
6706
  export declare interface MerchantSettingsAutocapture {
@@ -6552,7 +6866,7 @@ export declare type NavigationStepVirtualStepFinish = NavigationStepBase<Virtual
6552
6866
 
6553
6867
  export declare type NavigationStepVirtualStepSetup = NavigationStepBase<VirtualStep.Setup, undefined>;
6554
6868
 
6555
- export declare type NavigationStepVirtualStepStart = NavigationStepBase<VirtualStep.Start, undefined>;
6869
+ export declare type NavigationStepVirtualStepStart = NavigationStepBase<VirtualStep.Start, StartStep>;
6556
6870
 
6557
6871
  export declare enum NavigationType {
6558
6872
  Browser = "browser",
@@ -6754,25 +7068,103 @@ readonly "step-navigation-previous-step": `${string}-${string}-${string}-${strin
6754
7068
  };
6755
7069
  };
6756
7070
  readonly start: {
6757
- readonly initial: import("../../../types/src/index.js").StartStep.Consent;
7071
+ readonly initial: import("../../../types/src/index.js").StartStep.Start;
6758
7072
  readonly states: {
6759
- readonly "start-consent": {
7073
+ readonly "start-screen-start": {
6760
7074
  readonly on: {
6761
- readonly "start-screen-proceed": import("../../../types/src/index.js").StartStep.Finish;
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
+ };
6762
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;
6763
7098
  };
6764
- readonly "start-finish": {
7099
+ };
7100
+ };
7101
+ };
7102
+ };
7103
+ readonly "start-screen-consent": {
7104
+ readonly on: {
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
+ };
7116
+ };
7117
+ };
7118
+ };
7119
+ };
7120
+ readonly "start-screen-finish": {
6765
7121
  readonly type: "final";
6766
7122
  };
6767
7123
  };
6768
7124
  readonly on: {
6769
- 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
+ };
6770
7151
  };
6771
- readonly onDone: `${string}-${string}-${string}-${string}-${string}`;
6772
7152
  };
6773
7153
  readonly setup: {
6774
7154
  readonly on: {
6775
- 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
+ };
6776
7168
  };
6777
7169
  };
6778
7170
  };
@@ -7067,7 +7459,7 @@ export declare const selectWorkflowStep$: () => Observable<Category | VirtualSte
7067
7459
 
7068
7460
  export declare const selectWorkflowStepInformation$: () => Observable<NavigationStepVirtualStepSetup | NavigationStepVirtualStepStart | NavigationStepCategoryId | NavigationStepCategoryFacemap | NavigationStepCategoryDocument | NavigationStepCategoryData | NavigationStepVirtualStepFinish>;
7069
7461
 
7070
- export declare const selectWorkflowSubstep$: () => Observable<IdStep | FacemapStep | DocumentStep | DataStep | undefined>;
7462
+ export declare const selectWorkflowSubstep$: () => Observable<StartStep | IdStep | FacemapStep | DocumentStep | DataStep | undefined>;
7071
7463
 
7072
7464
  export declare interface SendEventRequest {
7073
7465
  events: EventBody[];
@@ -7160,6 +7552,7 @@ export declare interface Settings extends Record<string, unknown> {
7160
7552
  supportedDocumentTypes: SupportedDocumentType[];
7161
7553
  timestamp: string;
7162
7554
  workflowDefinitionKey: number;
7555
+ skipStartScreen?: boolean;
7163
7556
  }
7164
7557
 
7165
7558
  export declare const settings: EventDispatcher< {
@@ -7265,8 +7658,9 @@ export declare class StartCaptureEvent extends CustomEvent<void> {
7265
7658
  }
7266
7659
 
7267
7660
  export declare enum StartStep {
7268
- Consent = "start-consent",
7269
- Finish = "start-finish"
7661
+ Start = "start-screen-start",
7662
+ ConsentScreen = "start-screen-consent",
7663
+ Finish = "start-screen-finish"
7270
7664
  }
7271
7665
 
7272
7666
  export declare interface StateMachineCredentialIdLike {
@@ -7550,6 +7944,8 @@ stack?: string;
7550
7944
 
7551
7945
  export declare const updateConsent: (item: ConsentData) => void;
7552
7946
 
7947
+ export declare const updateFrontFileStoreIds: (newId: FileStoreKey) => void;
7948
+
7553
7949
  export declare interface UpdateMetadataParams {
7554
7950
  countrySelection?: string;
7555
7951
  credentialFileGuidSelection?: string[];
@@ -7573,6 +7969,12 @@ export declare const uploadedFile: EventDispatcher< {
7573
7969
  source: FileSource;
7574
7970
  }>;
7575
7971
 
7972
+ export declare class UploadErrorMessageComponent extends BaseComponent {
7973
+ static styles: CSSResult[];
7974
+ message: string;
7975
+ render(): TemplateResult<1>;
7976
+ }
7977
+
7576
7978
  declare enum UploadEvents {
7577
7979
  FilesUploadedRaw = "filesuploadedraw",
7578
7980
  FilesUploaded = "filesuploaded"
@@ -7629,8 +8031,7 @@ export declare enum UploadType {
7629
8031
  Iproov = "IPROOV",
7630
8032
  Video = "VIDEO",
7631
8033
  Screenshot = "SCREENSHOT",
7632
- MrzImage = "MRZ_IMAGE",
7633
- Other = "OTHER"
8034
+ MrzImage = "MRZ_IMAGE"
7634
8035
  }
7635
8036
 
7636
8037
  export declare type UploadTypeJumioLiveness = `JUMIO_LIVENESS_${number}` | 'JUMIO_LIVENESS_BLOB';
@@ -7692,6 +8093,8 @@ export declare interface UsabilityNotAvailableResult {
7692
8093
 
7693
8094
  export declare interface UsabilityPassResult {
7694
8095
  decisionType: DecisionType.PASS;
8096
+ extractedData?: ExtractedData;
8097
+ classifier: UploadType;
7695
8098
  }
7696
8099
 
7697
8100
  export declare interface UsabilityRejectResult {
@@ -8065,6 +8468,10 @@ export declare interface WorkflowStepFacemap extends WorkflowStepCredentialLogic
8065
8468
  patchIproovTokenState(tokenData: Partial<IproovTokenState>): void;
8066
8469
  validateIproovToken$(params: ValidateIproovTokenRequest): Observable<ValidateIproovTokenResponse>;
8067
8470
  selectVerificationMethods$(): Observable<FacemapVerificationMethod[]>;
8471
+ setJLiveManualCaptureFallbackReason(reason: ManualCaptureFallbackReason | undefined): void;
8472
+ selectJLiveManualCaptureFallbackReason$(): Observable<ManualCaptureFallbackReason | undefined>;
8473
+ selectJLiveFallbackError$(): Observable<JLiveFallbackError | undefined>;
8474
+ resetJLiveFallbackError(): void;
8068
8475
  setActiveFaceVerificationMethod: (activeVerificationMethod: FacemapVerificationMethod | undefined) => void;
8069
8476
  getActiveFaceVerificationMethod: () => FacemapVerificationMethod | undefined;
8070
8477
  selectActiveFaceVerificationMethod$: () => Observable<FacemapVerificationMethod | undefined>;
@@ -8099,6 +8506,10 @@ export declare interface WorkflowStepFacemapController extends WorkflowStepCrede
8099
8506
  validateIproovTokenAsync(params: ValidateIproovTokenRequest): Promise<ValidateIproovTokenResponse>;
8100
8507
  selectVerificationMethods$(): Observable<FacemapVerificationMethod[]>;
8101
8508
  getVerificationMethodsAsync(): Promise<FacemapVerificationMethod[]>;
8509
+ setJLiveManualCaptureFallbackReason(reason: ManualCaptureFallbackReason): void;
8510
+ selectJLiveManualCaptureFallbackReason$(): Observable<ManualCaptureFallbackReason | undefined>;
8511
+ selectJLiveFallbackError$(): Observable<JLiveFallbackError | undefined>;
8512
+ resetJLiveFallbackError(): void;
8102
8513
  setActiveFaceVerificationMethod: (activeVerificationMethod: FacemapVerificationMethod | undefined) => void;
8103
8514
  getActiveFaceVerificationMethod: () => FacemapVerificationMethod | undefined;
8104
8515
  selectActiveFaceVerificationMethod$: () => Observable<FacemapVerificationMethod | undefined>;
@@ -8141,6 +8552,8 @@ export declare interface WorkflowStepId extends WorkflowStepCredentialLogic<Cate
8141
8552
  patchUserSelection(params: IdCredentialSelection): void;
8142
8553
  getUserSelection(): IdCredentialSelection;
8143
8554
  selectUserSelection$(): Observable<IdCredentialSelection>;
8555
+ isUsabilityBackMissing(credentialId: UUID): IsUsabilityBackMissing;
8556
+ are2FilesUploaded(credentialId: UUID): boolean;
8144
8557
  selectSidesForSelectedDocument$(): Observable<IdSide[]>;
8145
8558
  selectPartsForDocumentType$(params: IdCredentialSelection): Observable<IdTypeVariantPart[]>;
8146
8559
  getPartsForDocumentType(params: IdCredentialSelection): IdTypeVariantPart[];
@@ -8160,6 +8573,8 @@ export declare interface WorkflowStepIdController extends WorkflowStepCredential
8160
8573
  getIdTypeVariantCollectionAsync(): Promise<IdTypeVariant[]>;
8161
8574
  patchUserSelection(params: IdCredentialSelection): void;
8162
8575
  getUserSelection(): IdCredentialSelection;
8576
+ isUsabilityBackMissing(credentialId: UUID): IsUsabilityBackMissing;
8577
+ are2FilesUploaded(credentialId: UUID): boolean;
8163
8578
  selectUserSelection$(): Observable<IdCredentialSelection>;
8164
8579
  selectSidesForSelectedDocument$(): Observable<IdSide[]>;
8165
8580
  getSidesForSelectedDocumentAsync(): Promise<IdSide[]>;