@jumio/websdk 0.2.11 → 0.2.13

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 (48) hide show
  1. package/dac.D-L9bEov.js +5 -0
  2. package/dac_simd.BXf06QGJ.js +5 -0
  3. package/i18n/{ar.-vA2gPfD.js → ar.DpnTzINq.js} +100 -100
  4. package/i18n/{bg.Bl819yjr.js → bg.B_K2pOt4.js} +38 -38
  5. package/i18n/{cs.C65nNUZv.js → cs.ShTtgVeH.js} +29 -29
  6. package/i18n/{da.7FaQQ3FL.js → da.9OEz6NX2.js} +8 -8
  7. package/i18n/{de.BYN6PZUA.js → de.ufuCcOoa.js} +43 -43
  8. package/i18n/{el.DJaq9FWy.js → el.B5H3A17b.js} +101 -101
  9. package/i18n/{en.XHwh7pic.js → en.jp3pNwhi.js} +20 -20
  10. package/i18n/{en_GB.D2Oqk-0z.js → en_GB.BMzizJn1.js} +19 -19
  11. package/i18n/{es.D9tg-3QC.js → es.BJ5mLQfe.js} +38 -38
  12. package/i18n/{es_MX.BFIaoLr_.js → es_MX.CEKVLgfB.js} +40 -40
  13. package/i18n/{et.Cy3m5JBC.js → et.Pa6o0DF3.js} +71 -71
  14. package/i18n/{fi.BQnys3L7.js → fi.BJQU38NO.js} +21 -21
  15. package/i18n/{fr.COVjC3pb.js → fr.Czc8UztL.js} +7 -7
  16. package/i18n/{he.Ces_PLdl.js → he.Cs_DhNfA.js} +93 -93
  17. package/i18n/{hr.HVQej7dl.js → hr.3NjXWpPm.js} +29 -29
  18. package/i18n/{hu.bYT7p5I1.js → hu.t71X2jbt.js} +23 -23
  19. package/i18n/{id.yGLnUnDC.js → id.V35tQyno.js} +16 -16
  20. package/i18n/{it.rr6yR1UM.js → it.UKMfnWQs.js} +25 -25
  21. package/i18n/{ka_GE.DSrRyJgJ.js → ka_GE.BUXvJluw.js} +28 -28
  22. package/i18n/{km_KH.ClVqScw2.js → km_KH.eU9i2O2q.js} +45 -45
  23. package/i18n/{ko.Duaf09zL.js → ko.D8GdXfbN.js} +36 -36
  24. package/i18n/{lt.CvUTkhvF.js → lt.B7RTAZPM.js} +5 -5
  25. package/i18n/{ms.B_KvjJcB.js → ms.DsSPcf4O.js} +51 -51
  26. package/i18n/{nl.B1Xped3Z.js → nl.DoIKMAJ8.js} +20 -20
  27. package/i18n/{no.Cj2-VNuV.js → no.Ygwl3bs1.js} +35 -35
  28. package/i18n/{pl.BT2VjJnZ.js → pl.C9xYshWk.js} +27 -27
  29. package/i18n/{pt.DGlwjZXs.js → pt.DprAEoFO.js} +25 -25
  30. package/i18n/{ru.BFmn0WPD.js → ru.aKRUDkiY.js} +37 -37
  31. package/i18n/{sr_Cyrl.cb312JqA.js → sr_Cyrl.DDC5tVqn.js} +44 -44
  32. package/i18n/{sr_Latn.Cm1L8jR3.js → sr_Latn.DhdWY5oS.js} +3 -3
  33. package/i18n/{sv.DCQsiPNv.js → sv.D5C1caJz.js} +46 -46
  34. package/i18n/{sw.Dhv3Vu-S.js → sw.DOtH1V9V.js} +19 -19
  35. package/i18n/{th.Doqyn5g0.js → th.BLDHXB22.js} +44 -44
  36. package/i18n/{tr.ocJOZOOX.js → tr.Cs4OnLIa.js} +37 -37
  37. package/i18n/{uk.DQotdMBY.js → uk.BnUbA4AZ.js} +37 -37
  38. package/i18n/{vi.BPade-8J.js → vi.1eMFWzIc.js} +34 -34
  39. package/i18n/{zh_CN.CrNjxeYT.js → zh_CN.CmDFUi2d.js} +35 -35
  40. package/i18n/{zh_HK.CEi6FwAM.js → zh_HK.BTcrx4ej.js} +2 -2
  41. package/{iProovMe.6IZ_UUNK.js → iProovMe.C-uN4NB3.js} +2 -2
  42. package/{index.4JOIkKCv.js → index.DEpyp2YR.js} +23588 -22808
  43. package/index.d.ts +245 -235
  44. package/index.js +504 -481
  45. package/package.json +1 -1
  46. package/third-party-licenses.txt +1 -1
  47. package/dac.DvWer7mC.js +0 -5
  48. package/dac_simd.DXzhzazH.js +0 -5
package/index.d.ts CHANGED
@@ -238,10 +238,6 @@ export declare const analytics: {
238
238
  max?: number | undefined;
239
239
  min?: number | undefined;
240
240
  } | undefined;
241
- resizeMode?: string | string[] | {
242
- exact?: string | string[] | undefined;
243
- ideal?: string | string[] | undefined;
244
- } | undefined;
245
241
  }[] | undefined;
246
242
  aspectRatio?: number | {
247
243
  exact?: number | undefined;
@@ -305,10 +301,6 @@ export declare const analytics: {
305
301
  max?: number | undefined;
306
302
  min?: number | undefined;
307
303
  } | undefined;
308
- resizeMode?: string | string[] | {
309
- exact?: string | string[] | undefined;
310
- ideal?: string | string[] | undefined;
311
- } | undefined;
312
304
  };
313
305
  capabilities: {
314
306
  aspectRatio?: {
@@ -426,10 +418,6 @@ export declare const analytics: {
426
418
  max?: number | undefined;
427
419
  min?: number | undefined;
428
420
  } | undefined;
429
- resizeMode?: string | string[] | {
430
- exact?: string | string[] | undefined;
431
- ideal?: string | string[] | undefined;
432
- } | undefined;
433
421
  }[] | undefined;
434
422
  aspectRatio?: number | {
435
423
  exact?: number | undefined;
@@ -493,10 +481,6 @@ export declare const analytics: {
493
481
  max?: number | undefined;
494
482
  min?: number | undefined;
495
483
  } | undefined;
496
- resizeMode?: string | string[] | {
497
- exact?: string | string[] | undefined;
498
- ideal?: string | string[] | undefined;
499
- } | undefined;
500
484
  };
501
485
  capabilities: {
502
486
  aspectRatio?: {
@@ -795,9 +779,9 @@ export declare const analytics: {
795
779
  height?: number | undefined;
796
780
  track?: {
797
781
  readonly id: string;
782
+ enabled: boolean;
798
783
  readonly label: string;
799
784
  contentHint: string;
800
- enabled: boolean;
801
785
  readonly kind: string;
802
786
  readonly muted: boolean;
803
787
  readonly readyState: MediaStreamTrackState;
@@ -900,10 +884,6 @@ export declare const analytics: {
900
884
  max?: number | undefined;
901
885
  min?: number | undefined;
902
886
  } | undefined;
903
- resizeMode?: string | string[] | {
904
- exact?: string | string[] | undefined;
905
- ideal?: string | string[] | undefined;
906
- } | undefined;
907
887
  }[] | undefined;
908
888
  aspectRatio?: number | {
909
889
  exact?: number | undefined;
@@ -967,10 +947,6 @@ export declare const analytics: {
967
947
  max?: number | undefined;
968
948
  min?: number | undefined;
969
949
  } | undefined;
970
- resizeMode?: string | string[] | {
971
- exact?: string | string[] | undefined;
972
- ideal?: string | string[] | undefined;
973
- } | undefined;
974
950
  };
975
951
  settings: {
976
952
  aspectRatio?: number | undefined;
@@ -1059,9 +1035,9 @@ export declare const analytics: {
1059
1035
  height?: number | undefined;
1060
1036
  track?: {
1061
1037
  readonly id: string;
1038
+ enabled: boolean;
1062
1039
  readonly label: string;
1063
1040
  contentHint: string;
1064
- enabled: boolean;
1065
1041
  readonly kind: string;
1066
1042
  readonly muted: boolean;
1067
1043
  readonly readyState: MediaStreamTrackState;
@@ -1164,10 +1140,6 @@ export declare const analytics: {
1164
1140
  max?: number | undefined;
1165
1141
  min?: number | undefined;
1166
1142
  } | undefined;
1167
- resizeMode?: string | string[] | {
1168
- exact?: string | string[] | undefined;
1169
- ideal?: string | string[] | undefined;
1170
- } | undefined;
1171
1143
  }[] | undefined;
1172
1144
  aspectRatio?: number | {
1173
1145
  exact?: number | undefined;
@@ -1231,10 +1203,6 @@ export declare const analytics: {
1231
1203
  max?: number | undefined;
1232
1204
  min?: number | undefined;
1233
1205
  } | undefined;
1234
- resizeMode?: string | string[] | {
1235
- exact?: string | string[] | undefined;
1236
- ideal?: string | string[] | undefined;
1237
- } | undefined;
1238
1206
  };
1239
1207
  settings: {
1240
1208
  aspectRatio?: number | undefined;
@@ -1402,6 +1370,8 @@ export declare const areAllActiveConsentsGiven$: () => Observable<boolean>;
1402
1370
 
1403
1371
  export declare const areAllFilesUploaded$: (credentialId: UUID) => Observable<boolean>;
1404
1372
 
1373
+ export declare const areAllFilesUploadedSuccessfully: (credentialId: UUID) => boolean;
1374
+
1405
1375
  export declare const areWorkflowSetupParametersValid$: () => Observable<boolean>;
1406
1376
 
1407
1377
  export declare const areWorkflowSetupParametersValid: (params?: unknown) => boolean;
@@ -1620,10 +1590,6 @@ readonly kind?: MediaDeviceKind | undefined;
1620
1590
  permissionState: PermissionState;
1621
1591
  }>;
1622
1592
 
1623
- export declare class CameraBusyError extends DOMException {
1624
- constructor();
1625
- }
1626
-
1627
1593
  declare class CameraCanvas2dRenderer extends BaseComponent implements CameraRenderingEngine {
1628
1594
  #private;
1629
1595
  static styles: CSSResult[];
@@ -1657,9 +1623,9 @@ width?: number | undefined;
1657
1623
  height?: number | undefined;
1658
1624
  track?: {
1659
1625
  readonly id: string;
1626
+ enabled: boolean;
1660
1627
  readonly label: string;
1661
1628
  contentHint: string;
1662
- enabled: boolean;
1663
1629
  readonly kind: string;
1664
1630
  readonly muted: boolean;
1665
1631
  readonly readyState: MediaStreamTrackState;
@@ -1762,10 +1728,6 @@ ideal?: number | undefined;
1762
1728
  max?: number | undefined;
1763
1729
  min?: number | undefined;
1764
1730
  } | undefined;
1765
- resizeMode?: string | string[] | {
1766
- exact?: string | string[] | undefined;
1767
- ideal?: string | string[] | undefined;
1768
- } | undefined;
1769
1731
  }[] | undefined;
1770
1732
  aspectRatio?: number | {
1771
1733
  exact?: number | undefined;
@@ -1829,10 +1791,6 @@ ideal?: number | undefined;
1829
1791
  max?: number | undefined;
1830
1792
  min?: number | undefined;
1831
1793
  } | undefined;
1832
- resizeMode?: string | string[] | {
1833
- exact?: string | string[] | undefined;
1834
- ideal?: string | string[] | undefined;
1835
- } | undefined;
1836
1794
  };
1837
1795
  settings: {
1838
1796
  aspectRatio?: number | undefined;
@@ -1926,53 +1884,44 @@ export declare class CameraComponent extends BaseComponent {
1926
1884
  videoRenderingEngineCollection: CameraRenderingEngine[];
1927
1885
  videoOverlayVideoRenderingEngineCollection: CameraRenderingEngine[];
1928
1886
  videoRenderingEngineBackdrop: CameraRenderingEngine[];
1887
+ readonly videoElement$: Observable<HTMLVideoElement>;
1929
1888
  readonly videoElRef: Ref<HTMLVideoElement>;
1930
1889
  readonly canvasRendererElRef: Ref<CameraWebglRendererComponent | CameraCanvas2dRenderer>;
1931
1890
  readonly layoutElRef: Ref<CameraInternalLayoutComponent>;
1932
1891
  readonly cameraVideoTickerComponentRef: Ref<CameraVideoTickerComponent>;
1933
1892
  readonly controller: CameraComponentController;
1934
- readonly videoRefresh$: BehaviorSubject<boolean>;
1935
- readonly videoRefreshController: AsyncController<boolean>;
1936
- readonly playing$: Observable<boolean>;
1937
- readonly playingController: AsyncController<boolean>;
1893
+ readonly refresh$: Observable<void>;
1938
1894
  constructor();
1939
1895
  firstUpdated(changedProperties: PropertyValues): void;
1940
1896
  disconnectedCallback(): void;
1941
1897
  render(): TemplateResult<1>;
1942
1898
  processVideoTick: VideoTickCallback;
1943
1899
  captureImage(): Promise<(Blob | undefined)[]>;
1944
- switchStream(e: SwitchStreamCommand | SwitchCameraCommand): Promise<void | {
1945
- stream: MediaStream;
1946
- track: MediaStreamTrack;
1947
- }>;
1900
+ switchStream(e: SwitchStreamCommand | SwitchCameraCommand): Promise<VideoSource | undefined>;
1948
1901
  stopStream(): void;
1949
1902
  isFlipped(): boolean;
1950
- isPlaying(): boolean;
1951
- isFree(): boolean;
1952
1903
  }
1953
1904
 
1954
1905
  export declare class CameraComponentController implements ReactiveController {
1955
1906
  #private;
1956
- readonly currentFacingMode$: Observable<CameraFacingMode>;
1957
1907
  constructor(host: CameraComponent);
1958
1908
  hostConnected(): void;
1959
1909
  hostDisconnected(): void;
1960
- restartStream(params: SwitchStreamCommand): Promise<void | {
1961
- stream: MediaStream;
1962
- track: MediaStreamTrack;
1963
- }>;
1964
- stopStream(mediaStream?: MediaStream | undefined): void;
1910
+ restartStream(params: SwitchStreamCommand): Promise<VideoSource | undefined>;
1911
+ stopStream(videoSource?: string | MediaStream | undefined): void;
1965
1912
  captureImage(): Promise<(Blob | undefined)[]>;
1966
1913
  processStreamStart(videoEl: HTMLVideoElement): void;
1967
1914
  processStreamPause(videoEl: HTMLVideoElement): void;
1968
1915
  processStreamResize(videoEl: HTMLVideoElement): void;
1969
1916
  processVideoTick: VideoTickCallback;
1970
1917
  getCanvasProcessorCollection(): CameraRenderingEngine[];
1971
- getUserMedia(constraints?: MediaStreamConstraints, timeoutMs?: number): Promise<MediaStream>;
1972
1918
  videoPlaying: VideoEventHandler;
1973
1919
  onVideoResize: VideoEventHandler;
1974
1920
  videoPause: VideoEventHandler;
1975
- isFree(): boolean;
1921
+ }
1922
+
1923
+ export declare class CameraError extends DOMException {
1924
+ constructor(message?: string);
1976
1925
  }
1977
1926
 
1978
1927
  export declare enum CameraEvents {
@@ -1991,7 +1940,7 @@ export declare enum CameraFacingMode {
1991
1940
  export declare class CameraIconComponent extends BaseComponent {
1992
1941
  static styles: CSSResult[];
1993
1942
  selected: boolean;
1994
- setSelection(selected: boolean): void;
1943
+ enabled: boolean;
1995
1944
  render(): TemplateResult<1>;
1996
1945
  }
1997
1946
 
@@ -1999,8 +1948,8 @@ declare class CameraInternalLayoutComponent extends BaseComponent {
1999
1948
  #private;
2000
1949
  static styles: CSSResult[];
2001
1950
  readonly containerElRef: Ref_2<HTMLDivElement>;
2002
- refresh$: Subject<void>;
2003
- videoSize$: Observable<VideoSizeInfo>;
1951
+ readonly refresh$: Subject<void>;
1952
+ readonly videoSize$: Observable<VideoSizeInfo>;
2004
1953
  readonly videoSizeController: AsyncController<VideoSizeInfo>;
2005
1954
  firstUpdated(changedProperties: PropertyValues): void;
2006
1955
  render(): HTMLTemplateResult;
@@ -2047,6 +1996,12 @@ export declare const cameraPlaybackStatusEvent: EventDispatcher< {
2047
1996
  status: CameraPlaybackStatus;
2048
1997
  }>;
2049
1998
 
1999
+ export declare interface CameraPlayParams<T extends MediaStreamConstraints = MediaStreamConstraints> {
2000
+ constraints: T;
2001
+ applyConstraints?: ConstraintsApply;
2002
+ timeoutMs?: number;
2003
+ }
2004
+
2050
2005
  export declare interface CameraRenderingEngine {
2051
2006
  setRenderingAllowedState?: (state: boolean) => void;
2052
2007
  getRenderingAllowedState?: () => boolean;
@@ -2072,6 +2027,15 @@ export declare enum CameraSelectorOrientation {
2072
2027
  Horizontal = "horizontal"
2073
2028
  }
2074
2029
 
2030
+ declare interface CameraStoreState {
2031
+ resolution: Resolution;
2032
+ activeTrack: ActiveTrackState | undefined;
2033
+ cameraFacingMode: CameraFacingMode;
2034
+ playing: boolean;
2035
+ isBusy: boolean;
2036
+ capturing: boolean;
2037
+ }
2038
+
2075
2039
  export declare const cameraStreamStarted: EventDispatcher< {
2076
2040
  constraints: {
2077
2041
  advanced?: {
@@ -2137,10 +2101,6 @@ ideal?: number | undefined;
2137
2101
  max?: number | undefined;
2138
2102
  min?: number | undefined;
2139
2103
  } | undefined;
2140
- resizeMode?: string | string[] | {
2141
- exact?: string | string[] | undefined;
2142
- ideal?: string | string[] | undefined;
2143
- } | undefined;
2144
2104
  }[] | undefined;
2145
2105
  aspectRatio?: number | {
2146
2106
  exact?: number | undefined;
@@ -2204,10 +2164,6 @@ ideal?: number | undefined;
2204
2164
  max?: number | undefined;
2205
2165
  min?: number | undefined;
2206
2166
  } | undefined;
2207
- resizeMode?: string | string[] | {
2208
- exact?: string | string[] | undefined;
2209
- ideal?: string | string[] | undefined;
2210
- } | undefined;
2211
2167
  };
2212
2168
  capabilities: {
2213
2169
  aspectRatio?: {
@@ -2266,8 +2222,7 @@ declare class CameraVideoTickerComponent extends BaseComponent {
2266
2222
  static styles: CSSResult[];
2267
2223
  videoTickCallback?: VideoTickCallback;
2268
2224
  videoElRef?: Ref<HTMLVideoElement>;
2269
- playing$?: Observable<boolean>;
2270
- ticker$: Observable<HTMLVideoElement>;
2225
+ readonly ticker$: Observable<HTMLVideoElement>;
2271
2226
  constructor();
2272
2227
  firstUpdated(changedProperties: PropertyValues): void;
2273
2228
  disconnectedCallback(): void;
@@ -2557,6 +2512,15 @@ export declare interface ConfigurationAutocaptureSettings extends Record<string,
2557
2512
 
2558
2513
  export declare interface ConfigurationCamera extends Record<string, unknown> {
2559
2514
  cameraTimeoutMs?: number;
2515
+ resolutionId?: ConfigurationCameraResolution;
2516
+ resolutionFacemap?: ConfigurationCameraResolution;
2517
+ resolutionDocument?: ConfigurationCameraResolution;
2518
+ }
2519
+
2520
+ export declare interface ConfigurationCameraResolution {
2521
+ width: number;
2522
+ height: number;
2523
+ aspectRatio: number;
2560
2524
  }
2561
2525
 
2562
2526
  export declare interface ConfigurationCdnEnc extends Record<string, unknown> {
@@ -2628,7 +2592,7 @@ export declare interface Configurations extends Record<string, unknown> {
2628
2592
  jumioLiveness?: JumioLivenessSettings;
2629
2593
  idAutocapture?: ConfigurationAutocaptureSettings;
2630
2594
  helpScreen?: ConfigurationHelpScreen;
2631
- camera?: ConfigurationCamera;
2595
+ cameraData?: ConfigurationCamera;
2632
2596
  }
2633
2597
 
2634
2598
  export declare class ConsentChangeEvent extends CustomEvent<ConsentData> {
@@ -2971,9 +2935,9 @@ width?: number | undefined;
2971
2935
  height?: number | undefined;
2972
2936
  track?: {
2973
2937
  readonly id: string;
2938
+ enabled: boolean;
2974
2939
  readonly label: string;
2975
2940
  contentHint: string;
2976
- enabled: boolean;
2977
2941
  readonly kind: string;
2978
2942
  readonly muted: boolean;
2979
2943
  readonly readyState: MediaStreamTrackState;
@@ -3076,10 +3040,6 @@ ideal?: number | undefined;
3076
3040
  max?: number | undefined;
3077
3041
  min?: number | undefined;
3078
3042
  } | undefined;
3079
- resizeMode?: string | string[] | {
3080
- exact?: string | string[] | undefined;
3081
- ideal?: string | string[] | undefined;
3082
- } | undefined;
3083
3043
  }[] | undefined;
3084
3044
  aspectRatio?: number | {
3085
3045
  exact?: number | undefined;
@@ -3143,10 +3103,6 @@ ideal?: number | undefined;
3143
3103
  max?: number | undefined;
3144
3104
  min?: number | undefined;
3145
3105
  } | undefined;
3146
- resizeMode?: string | string[] | {
3147
- exact?: string | string[] | undefined;
3148
- ideal?: string | string[] | undefined;
3149
- } | undefined;
3150
3106
  };
3151
3107
  settings: {
3152
3108
  aspectRatio?: number | undefined;
@@ -3304,10 +3260,6 @@ ideal?: number | undefined;
3304
3260
  max?: number | undefined;
3305
3261
  min?: number | undefined;
3306
3262
  } | undefined;
3307
- resizeMode?: string | string[] | {
3308
- exact?: string | string[] | undefined;
3309
- ideal?: string | string[] | undefined;
3310
- } | undefined;
3311
3263
  }[] | undefined;
3312
3264
  aspectRatio?: number | {
3313
3265
  exact?: number | undefined;
@@ -3371,10 +3323,6 @@ ideal?: number | undefined;
3371
3323
  max?: number | undefined;
3372
3324
  min?: number | undefined;
3373
3325
  } | undefined;
3374
- resizeMode?: string | string[] | {
3375
- exact?: string | string[] | undefined;
3376
- ideal?: string | string[] | undefined;
3377
- } | undefined;
3378
3326
  };
3379
3327
  capabilities: {
3380
3328
  aspectRatio?: {
@@ -3890,6 +3838,15 @@ export declare interface DeviceDetails extends Record<string, unknown> {
3890
3838
  'sdk-platform': string;
3891
3839
  }
3892
3840
 
3841
+ export declare interface DeviceIdConstraint extends MediaStreamConstraints {
3842
+ video: {
3843
+ deviceId: {
3844
+ exact: string;
3845
+ };
3846
+ };
3847
+ audio: false;
3848
+ }
3849
+
3893
3850
  export declare const deviceIsOffline: ErrorCase;
3894
3851
 
3895
3852
  export declare const deviceListChanged: EventDispatcher< {
@@ -3911,9 +3868,8 @@ export declare interface DeviceRiskToken {
3911
3868
  }
3912
3869
 
3913
3870
  declare interface DeviceStore {
3914
- currentDevice: JMediaDeviceInfo | undefined;
3871
+ deviceId: string | undefined;
3915
3872
  cameraPermissionState: PermissionState;
3916
- activeTrack?: ActiveTrackState;
3917
3873
  }
3918
3874
 
3919
3875
  export declare interface DigitalIdentityProps {
@@ -3930,6 +3886,8 @@ export declare enum DigitalIdentityTypes {
3930
3886
 
3931
3887
  export declare const dim: (hex: string, ratio: number) => string;
3932
3888
 
3889
+ export declare const dispatchCameraErrorMessage: (message: Error) => void;
3890
+
3933
3891
  export declare type Dispatcher<M extends EventMetadata> = (self: HTMLElement, params: EventBodyAttachments<M>) => void;
3934
3892
 
3935
3893
  export declare interface DocumentResultResponse {
@@ -4295,6 +4253,7 @@ export declare enum FacemapStep {
4295
4253
  JumioStandardCaptureScreenCaptureFinish = "identity-jumio-standard-capture-screen-capture-finish",
4296
4254
  JumioStandardCaptureScreenSelfie = "identity-jumio-standard-capture-screen-manual-selfie",
4297
4255
  JumioStandardCaptureScreenUpload = "identity-jumio-standard-capture-screen-upload",
4256
+ JumioStandardCaptureScreenUploadFailed = "identity-jumio-standard-capture-screen-upload-failed",
4298
4257
  JumioStandardUsabilityCheck = "identity-jumio-standard-usability-check",
4299
4258
  JumioStandardUsabilityCheckFailure = "identity-jumio-standard-usability-check-failure",
4300
4259
  JumioStandardFinish = "identity-jumio-standard-finish",
@@ -4312,10 +4271,18 @@ export declare enum FacemapVerificationMethod {
4312
4271
  JumioPremium = "JUMIO_PREMIUM"
4313
4272
  }
4314
4273
 
4274
+ export declare interface FacingModeConstraint extends MediaStreamConstraints {
4275
+ video: {
4276
+ facingMode: {
4277
+ ideal: 'user' | 'environment';
4278
+ };
4279
+ };
4280
+ audio: false;
4281
+ }
4282
+
4315
4283
  export declare enum FacingModePreference {
4316
4284
  User = "user",
4317
- Environment = "environment",
4318
- DeviceId = "deviceId"
4285
+ Environment = "environment"
4319
4286
  }
4320
4287
 
4321
4288
  export declare const failedToFetch: EventDispatcher< {
@@ -4326,9 +4293,9 @@ export declare const FEATURE_BRA_ID_ENABLED: boolean;
4326
4293
 
4327
4294
  export declare const FEATURE_WEBP_ENABLED: boolean;
4328
4295
 
4329
- export declare class FetchError extends Error {
4296
+ export declare class FetchError extends DOMException {
4330
4297
  readonly details: FetchErrorParams;
4331
- constructor(details: FetchErrorParams, text?: string);
4298
+ constructor(details: FetchErrorParams);
4332
4299
  }
4333
4300
 
4334
4301
  export declare interface FetchErrorParams {
@@ -4483,6 +4450,37 @@ export declare interface FinalizeResponse {
4483
4450
  extractDataExecuted: boolean;
4484
4451
  }
4485
4452
 
4453
+ export declare class FullscreenManager {
4454
+ #private;
4455
+ private static instance;
4456
+ readonly fullscreenChange$: Observable<boolean>;
4457
+ readonly fullscreenError$: Observable<void>;
4458
+ private constructor();
4459
+ static getInstance(): FullscreenManager;
4460
+ static resetInstance(): void;
4461
+ enterFullscreen(element?: HTMLElement): Promise<void>;
4462
+ exitFullscreen(): Promise<void>;
4463
+ isFullscreen(): boolean;
4464
+ isFullscreenEnabled(): boolean;
4465
+ getStrategy(): FullscreenStrategy | undefined;
4466
+ toggleFullscreenMode(element?: HTMLElement): Promise<void>;
4467
+ }
4468
+
4469
+ export declare class FullscreenModeButtonComponent extends BaseComponent {
4470
+ #private;
4471
+ static styles: CSSResult[];
4472
+ elRef: Ref<HTMLElement> | undefined;
4473
+ render(): TemplateResult<1>;
4474
+ }
4475
+
4476
+ declare interface FullscreenStrategy {
4477
+ requestFullscreen(element: HTMLElement): Promise<void>;
4478
+ exitFullscreen(): Promise<void>;
4479
+ isFullscreen(): boolean;
4480
+ isFullscreenEnabled(): boolean;
4481
+ cleanUp(): void;
4482
+ }
4483
+
4486
4484
  export declare const generalNetworkError: ErrorCase;
4487
4485
 
4488
4486
  declare const generateAction: (params: Partial<NavigationStep>) => {
@@ -4573,20 +4571,11 @@ export declare const generateUaVariations: () => string[];
4573
4571
 
4574
4572
  export declare const getActiveCredentialId: () => `${string}-${string}-${string}-${string}-${string}`;
4575
4573
 
4576
- export declare const getActiveDevice: (store?: DeviceStore & {
4577
- deviceIds: string[];
4578
- deviceEntities: Record<string, JMediaDeviceInfo>;
4579
- } & {
4580
- mockDeviceIds: string[];
4581
- mockDeviceEntities: Record<string, JMediaDeviceInfo>;
4582
- }) => JMediaDeviceInfo | undefined;
4574
+ export declare const getActiveDevice: () => JMediaDeviceInfo | undefined;
4583
4575
 
4584
- export declare const getActiveTrack: (store?: DeviceStore & {
4585
- deviceIds: string[];
4586
- deviceEntities: Record<string, JMediaDeviceInfo>;
4587
- } & {
4588
- mockDeviceIds: string[];
4589
- mockDeviceEntities: Record<string, JMediaDeviceInfo>;
4576
+ export declare const getActiveTrack: (store?: CameraStoreState & {
4577
+ clsEntities: Record<number, CameraLivenessStatus>;
4578
+ clsIds: number[];
4590
4579
  }) => ActiveTrackState | undefined;
4591
4580
 
4592
4581
  export declare const getAutocaptureDocFinder: () => AutocaptureStateDocFinderPosition;
@@ -4599,10 +4588,16 @@ export declare const getBackupByGuid: (guid: string) => RestoreFromBackup | unde
4599
4588
 
4600
4589
  export declare type GetBlobCallback = () => Promise<Blob | undefined>;
4601
4590
 
4591
+ export declare const getCameraCapturing: () => boolean;
4592
+
4602
4593
  export declare const getCameraConfiguration: () => ConfigurationCamera | undefined;
4603
4594
 
4595
+ export declare const getCameraErrorMessage$: () => Observable<Error>;
4596
+
4604
4597
  export declare const getCameraPermissionState: () => PermissionState;
4605
4598
 
4599
+ export declare const getCameraRefToVideoElement$: (cameraRef: Ref<CameraComponent>, refresh$: Observable<void>) => Observable<HTMLVideoElement>;
4600
+
4606
4601
  export declare const getCaptureHintsState: () => HelpStore;
4607
4602
 
4608
4603
  export declare const getClsItems: () => CameraLivenessStatus[];
@@ -4615,8 +4610,6 @@ export declare const getConsents: () => MultipartConsent[];
4615
4610
 
4616
4611
  export declare const getCredentialById: (credentialId: UUID) => JCredential;
4617
4612
 
4618
- export declare const getCurrentDeviceLabel: () => string | undefined;
4619
-
4620
4613
  export declare const getCustomerId: () => "" | `${string}-${string}-${string}-${string}-${string}`;
4621
4614
 
4622
4615
  export declare const getDefaultVideoConstraints: () => MediaTrackConstraintSet;
@@ -4691,9 +4684,10 @@ export declare const getStateMachineFacemapActions: (credentialId: UUID) => {
4691
4684
  readonly JumioStandardCaptureScreen: `${string}-${string}-${string}-${string}-${string}:identity-jumio-standard-capture-screen`;
4692
4685
  readonly JumioStandardCaptureScreenLiveness: `${string}-${string}-${string}-${string}-${string}:identity-jumio-standard-capture-screen-liveness`;
4693
4686
  readonly JumioStandardCaptureScreenLivenessLoading: `${string}-${string}-${string}-${string}-${string}:identity-jumio-standard-capture-screen-liveness-loading`;
4694
- readonly JumioStandardCaptureScreenCaptureFinish: `${string}-${string}-${string}-${string}-${string}:identity-jumio-standard-capture-screen-capture-finish`;
4695
4687
  readonly JumioStandardCaptureScreenSelfie: `${string}-${string}-${string}-${string}-${string}:identity-jumio-standard-capture-screen-selfie`;
4688
+ readonly JumioStandardCaptureScreenCaptureFinish: `${string}-${string}-${string}-${string}-${string}:identity-jumio-standard-capture-screen-capture-finish`;
4696
4689
  readonly JumioStandardCaptureScreenUpload: `${string}-${string}-${string}-${string}-${string}:identity-jumio-standard-capture-screen-upload`;
4690
+ readonly JumioStandardCaptureScreenUploadFailed: `${string}-${string}-${string}-${string}-${string}:identity-jumio-standard-capture-screen-upload-failed`;
4697
4691
  readonly JumioStandardUsabilityCheck: `${string}-${string}-${string}-${string}-${string}:identity-jumio-standard-usability-check`;
4698
4692
  readonly JumioStandardUsabilityCheckSuccess: `${string}-${string}-${string}-${string}-${string}:identity-jumio-standard-usability-check-success`;
4699
4693
  readonly JumioStandardUsabilityCheckFailure: `${string}-${string}-${string}-${string}-${string}:identity-jumio-standard-usability-check-failure`;
@@ -4707,6 +4701,7 @@ export declare const getStateMachineIdActions: (credentialId: UUID) => {
4707
4701
  readonly DocTypeSelection: `${string}-${string}-${string}-${string}-${string}:id-doctype-selection`;
4708
4702
  readonly DocTypeVariantSelection: `${string}-${string}-${string}-${string}-${string}:id-doctype-variant-selection`;
4709
4703
  readonly CaptureSourceSelection: `${string}-${string}-${string}-${string}-${string}:id-capture-source-selection`;
4704
+ readonly CaptureScreenEntry: `${string}-${string}-${string}-${string}-${string}:id-capture-screen-entry`;
4710
4705
  readonly CaptureScreen: `${string}-${string}-${string}-${string}-${string}:id-capture-screen`;
4711
4706
  readonly CaptureScreenSelectProvider: `${string}-${string}-${string}-${string}-${string}:id-capture-screen-select-provider`;
4712
4707
  readonly CaptureScreenSelectProviderAutoCapture: `${string}-${string}-${string}-${string}-${string}:id-capture-screen-select-provider-auto-capture`;
@@ -4722,6 +4717,7 @@ export declare const getStateMachineIdActions: (credentialId: UUID) => {
4722
4717
  readonly CaptureScreenBackFinish: `${string}-${string}-${string}-${string}-${string}:id-capture-screen-back-finish`;
4723
4718
  readonly CaptureScreenComplete: `${string}-${string}-${string}-${string}-${string}:id-capture-screen-complete`;
4724
4719
  readonly CaptureScreenUpload: `${string}-${string}-${string}-${string}-${string}:id-capture-screen-upload`;
4720
+ readonly CaptureScreenUploadFailed: `${string}-${string}-${string}-${string}-${string}:id-capture-screen-upload-failed`;
4725
4721
  readonly IdUsabilityCheck: `${string}-${string}-${string}-${string}-${string}:id-usability-check`;
4726
4722
  readonly IdUsabilityCheckSuccess: `${string}-${string}-${string}-${string}-${string}:id-usability-check-success`;
4727
4723
  readonly IdUsabilityCheckFailure: `${string}-${string}-${string}-${string}-${string}:id-usability-check-failure`;
@@ -4766,8 +4762,6 @@ usabilityEntities: Record<FileStoreKey, UsabilityCheckState>;
4766
4762
  usabilityIds: FileStoreKey[];
4767
4763
  }, EntitiesRef<"usabilityEntities", "usabilityIds", "idKeyUsability">>[];
4768
4764
 
4769
- declare type GetUserMediaMock = typeof navigator.mediaDevices.getUserMedia;
4770
-
4771
4765
  export declare function getWorkflowInstance(): WorkflowController;
4772
4766
 
4773
4767
  export declare const getWorkflowMetadata: () => {
@@ -4783,6 +4777,8 @@ export declare const getWorkflowState: () => WorkflowState;
4783
4777
 
4784
4778
  export declare const getWorkflowStep: () => Category | VirtualStep;
4785
4779
 
4780
+ export declare const getWorkflowSubstep: () => IdStep | FacemapStep | DocumentStep | DataStep | undefined;
4781
+
4786
4782
  export declare class GuidanceFaceAnimationComponent extends BaseComponent {
4787
4783
  #private;
4788
4784
  static styles: CSSResult[];
@@ -4841,6 +4837,7 @@ export declare class IdSideComponent extends BaseComponent {
4841
4837
  }
4842
4838
 
4843
4839
  export declare enum IdStep {
4840
+ CaptureScreenEntry = "id-capture-screen-entry",
4844
4841
  CaptureScreen = "id-capture-screen",
4845
4842
  CaptureScreenAutoCaptureLoading = "id-capture-screen-auto-capture-loading",
4846
4843
  CaptureScreenBack = "id-capture-screen-back",
@@ -4853,6 +4850,7 @@ export declare enum IdStep {
4853
4850
  CaptureScreenFrontStart = "id-capture-screen-front-start",
4854
4851
  CaptureScreenSelectProvider = "id-capture-screen-select-provider",
4855
4852
  CaptureScreenUpload = "id-capture-screen-upload",
4853
+ CaptureScreenUploadFailed = "id-capture-screen-upload-failed",
4856
4854
  CaptureSourceSelection = "id-capture-source-selection",
4857
4855
  DocTypeDecision = "id-doctype-decision",
4858
4856
  DocTypeSelection = "id-doctype-selection",
@@ -5005,6 +5003,14 @@ export declare const isButtonSize: (value: unknown) => value is ButtonSize;
5005
5003
 
5006
5004
  export declare const isButtonType: (value: unknown) => value is ButtonType;
5007
5005
 
5006
+ export declare const isCameraAbortError: (e: unknown) => e is VideoError;
5007
+
5008
+ export declare const isCameraBusy: () => boolean;
5009
+
5010
+ export declare const isCameraGenericError: (e: unknown) => e is VideoError;
5011
+
5012
+ export declare const isCameraPermissionDenied: (e: unknown) => e is VideoError;
5013
+
5008
5014
  export declare const isCameraSelectorOrientation: (value: unknown) => value is CameraSelectorOrientation;
5009
5015
 
5010
5016
  export declare const isColorScheme: (value: unknown) => value is ColorScheme;
@@ -5217,6 +5223,7 @@ export declare class JumioSdkComponent extends BaseComponent implements JumioSdk
5217
5223
  languageDirection: string;
5218
5224
  readonly loggerSinkRef: Ref_2<JumioSdkLoggerSinkComponent>;
5219
5225
  workflowController: WorkflowController;
5226
+ isVisible: boolean;
5220
5227
  constructor();
5221
5228
  get componentController(): JumioSdkController;
5222
5229
  willUpdate(changedProperties: PropertyValues<this>): void;
@@ -5273,6 +5280,21 @@ export declare class JumioSdkCrossDeviceButtonComponent extends BaseComponent {
5273
5280
  render(): TemplateResult<1> | typeof nothing;
5274
5281
  }
5275
5282
 
5283
+ export declare class JumioSdkFileUploadFailedComponent extends BaseComponent implements ComponentControllerProvider<JumioSdkFileUploadFailedController> {
5284
+ #private;
5285
+ static styles: CSSResult[];
5286
+ retryAction?: () => void;
5287
+ get componentController(): JumioSdkFileUploadFailedController;
5288
+ connectedCallback(): void;
5289
+ render(): TemplateResult<1>;
5290
+ }
5291
+
5292
+ declare class JumioSdkFileUploadFailedController implements ReactiveController {
5293
+ #private;
5294
+ constructor(host: ReactiveElement);
5295
+ hostConnected(): void;
5296
+ }
5297
+
5276
5298
  export declare class JumioSdkLoggerConsoleComponent extends BaseComponent implements LoggerConsoleConfig {
5277
5299
  readonly type = "LoggerConsole";
5278
5300
  isEnabled: boolean;
@@ -5303,6 +5325,7 @@ declare class JumioSdkLoggerSinkController implements ReactiveController {
5303
5325
  loggerManager: LoggerManager;
5304
5326
  readonly reportUnhandledFetchError$: Observable<PromiseRejectionEvent>;
5305
5327
  readonly reportUnhandledError$: Observable<ErrorEvent>;
5328
+ readonly cameraError$: Observable<Error>;
5306
5329
  constructor(host: ReactiveElement);
5307
5330
  logEvent(event: AnalyticEvent): void;
5308
5331
  reportEvent(event: ReportEvent): void;
@@ -5310,6 +5333,7 @@ declare class JumioSdkLoggerSinkController implements ReactiveController {
5310
5333
  hostDisconnected(): void;
5311
5334
  getReportUnhandledFetchError$(): Observable<PromiseRejectionEvent>;
5312
5335
  getReportUnhandledError$(): Observable<ErrorEvent>;
5336
+ getCameraErrorMessage$(): Observable<Error>;
5313
5337
  }
5314
5338
 
5315
5339
  export declare class JumioSdkLoggingComponent extends BaseComponent {
@@ -5575,19 +5599,9 @@ export declare class JumioSdkStepDocumentCaptureComponent extends BaseComponent
5575
5599
  firstUpdated(changedProperties: PropertyValues): void;
5576
5600
  disconnectedCallback(): void;
5577
5601
  render(): TemplateResult<1>;
5578
- switchStream$(e: unknown): Observable<void | {
5579
- stream: MediaStream;
5580
- track: MediaStreamTrack;
5581
- }>;
5582
- switchStream(e: unknown): Promise<void | {
5583
- stream: MediaStream;
5584
- track: MediaStreamTrack;
5585
- } | undefined>;
5602
+ switchStream(e: unknown): Promise<VideoSource | undefined>;
5586
5603
  stopStream(): void;
5587
- handleCameraSwitch(e: SwitchCameraCommand): Promise<void | {
5588
- stream: MediaStream;
5589
- track: MediaStreamTrack;
5590
- } | undefined>;
5604
+ handleCameraSwitch(e: SwitchCameraCommand): Promise<VideoSource | undefined>;
5591
5605
  logImageCapturedEvent: (e: ImageCapturedEvent) => void;
5592
5606
  uploadImage: (e: ImageCapturedEvent) => Promise<void>;
5593
5607
  }
@@ -5705,21 +5719,11 @@ export declare class JumioSdkStepFacemapJumioStandardCaptureComponent extends Ba
5705
5719
  firstUpdated(changedProperties: PropertyValues): void;
5706
5720
  disconnectedCallback(): void;
5707
5721
  render(): TemplateResult<1> | typeof nothing;
5708
- switchStream$(e: unknown): Observable<void | {
5709
- stream: MediaStream;
5710
- track: MediaStreamTrack;
5711
- }>;
5712
- switchStream(e: unknown): Promise<void | {
5713
- stream: MediaStream;
5714
- track: MediaStreamTrack;
5715
- } | undefined>;
5722
+ switchStream(e: unknown): Promise<VideoSource | undefined>;
5716
5723
  stopStream(): void;
5717
- handleCameraSwitch(e: SwitchCameraCommand): Promise<void | {
5718
- stream: MediaStream;
5719
- track: MediaStreamTrack;
5720
- } | undefined>;
5721
- onImageCapture: (e: ImageCapturedEvent) => Promise<(UploadResponse | UsabilityResult | undefined)[]>;
5722
- uploadImage: (e: ImageCapturedEvent) => Promise<(UploadResponse | UsabilityResult | undefined)[]>;
5724
+ handleCameraSwitch(e: SwitchCameraCommand): Promise<VideoSource | undefined>;
5725
+ onImageCapture: (e: ImageCapturedEvent) => void;
5726
+ requestUpload: (request: UploadRequest) => void;
5723
5727
  }
5724
5728
 
5725
5729
  declare class JumioSdkStepFacemapJumioStandardCaptureController implements ReactiveController {
@@ -5727,7 +5731,8 @@ declare class JumioSdkStepFacemapJumioStandardCaptureController implements React
5727
5731
  constructor(host: JumioSdkStepFacemapJumioStandardCaptureComponent);
5728
5732
  hostConnected(): void;
5729
5733
  hostDisconnected(): void;
5730
- upload(request: UploadRequest): Promise<(UploadResponse | UsabilityResult | undefined)[]>;
5734
+ requestUpload(request: UploadRequest): void;
5735
+ upload(): Promise<UploadResponse>;
5731
5736
  }
5732
5737
 
5733
5738
  export declare class JumioSdkStepFacemapJumioStandardComponent extends BaseComponent implements ComponentControllerProvider<JumioSdkStepFacemapJumioStandardController> {
@@ -5781,24 +5786,16 @@ export declare class JumioSdkStepIdCaptureComponent extends BaseComponent implem
5781
5786
  static styles: CSSResult[];
5782
5787
  readonly componentController: JumioSdkStepIdCaptureController;
5783
5788
  readonly cameraRef: Ref_2<CameraComponent>;
5789
+ readonly captureRequest$: Observable<CaptureRequest | undefined>;
5790
+ readonly captureRequestController: AsyncController<CaptureRequest | undefined>;
5784
5791
  constructor();
5785
5792
  connectedCallback(): void;
5786
5793
  firstUpdated(changedProperties: PropertyValues): void;
5787
5794
  disconnectedCallback(): void;
5788
5795
  render(): TemplateResult<1>;
5789
- switchStream$(e: unknown): Observable<void | {
5790
- stream: MediaStream;
5791
- track: MediaStreamTrack;
5792
- }>;
5793
- switchStream(e: unknown): Promise<void | {
5794
- stream: MediaStream;
5795
- track: MediaStreamTrack;
5796
- } | undefined>;
5796
+ switchStream(e: unknown): Promise<VideoSource | undefined>;
5797
5797
  stopStream(): void;
5798
- handleCameraSwitch(e: SwitchCameraCommand): Promise<void | {
5799
- stream: MediaStream;
5800
- track: MediaStreamTrack;
5801
- } | undefined>;
5798
+ handleCameraSwitch(e: SwitchCameraCommand): Promise<VideoSource | undefined>;
5802
5799
  logImageCapturedEvent: (e: ImageCapturedEvent) => void;
5803
5800
  uploadImage: (e: ImageCapturedEvent) => void;
5804
5801
  }
@@ -5826,11 +5823,16 @@ export declare class JumioSdkStepIdCaptureSourceComponentComponent extends BaseC
5826
5823
  }
5827
5824
 
5828
5825
  export declare class JumioSdkStepIdCaptureStateComponent extends BaseComponent implements CaptureStateMessageRenderer {
5826
+ #private;
5829
5827
  static styles: CSSResult[];
5830
- idStepAsyncController: AsyncController<IdStep | FacemapStep | DocumentStep | DataStep | undefined>;
5828
+ idStepAsyncController: AsyncController<{
5829
+ substep: IdStep | FacemapStep | DocumentStep | DataStep | undefined;
5830
+ capturing: boolean;
5831
+ }>;
5831
5832
  render(): TemplateResult_2<1>;
5832
5833
  renderContents(step: string | undefined): TemplateResult_2<1> | typeof nothing;
5833
5834
  renderCaptureImage(step: IdStep | undefined): TemplateResult_2<1>;
5835
+ renderCapturing(): TemplateResult_2<1>;
5834
5836
  renderFront(): TemplateResult_2<1>;
5835
5837
  renderFlipToBack(): TemplateResult_2<1>;
5836
5838
  renderCaptured(): TemplateResult_2<1>;
@@ -6415,16 +6417,6 @@ export declare class MessageDetailsComponent extends BaseComponent {
6415
6417
  render(): TemplateResult_2<1>;
6416
6418
  }
6417
6419
 
6418
- export declare interface MockedDeviceIdConstraint {
6419
- constraints: {
6420
- video: {
6421
- deviceId: {
6422
- exact: string;
6423
- };
6424
- };
6425
- };
6426
- }
6427
-
6428
6420
  export declare class ModalComponent extends BaseComponent {
6429
6421
  static styles: CSSResult[];
6430
6422
  render(): TemplateResult_2<1>;
@@ -6604,9 +6596,12 @@ export declare enum Orientation {
6604
6596
 
6605
6597
  export declare class PageContainerComponent extends BaseComponent {
6606
6598
  static styles: CSSResult[];
6599
+ fullscreenModeController: AsyncController<boolean>;
6607
6600
  render(): TemplateResult<1>;
6608
6601
  }
6609
6602
 
6603
+ export declare const pageContainerVisible$: BehaviorSubject<boolean>;
6604
+
6610
6605
  export declare const patchPersistedTags: (dataOrMergeFn: Tags | ((prev: Tags) => Tags)) => void;
6611
6606
 
6612
6607
  declare type PermissionQuery = typeof navigator.permissions.query;
@@ -6618,6 +6613,10 @@ export declare interface PointInCircle {
6618
6613
  targetPt: AutocaptureDocXY;
6619
6614
  }
6620
6615
 
6616
+ export declare const poweredByVisible: {
6617
+ __context__: boolean;
6618
+ };
6619
+
6621
6620
  export declare enum PredefinedType {
6622
6621
  Defined = "DEFINED",
6623
6622
  Recommended = "RECOMMENDED",
@@ -6815,6 +6814,8 @@ export declare interface RejectReason extends Record<string, unknown> {
6815
6814
  reasonCode: ReasonCode;
6816
6815
  }
6817
6816
 
6817
+ export declare const removeNonSuccessfulUploadAndUsabilityEntitiesByCredentialId: (credentialId: UUID) => void;
6818
+
6818
6819
  export declare const removeUploadAndUsabilityEntitiesByCredentialId: (credentialId: UUID) => void;
6819
6820
 
6820
6821
  export declare const removeUploadAndUsabilityItemsByIds: (...id: FileStoreKey[]) => void;
@@ -6888,6 +6889,8 @@ export declare enum RequestStatusType {
6888
6889
  Loading = "loading"
6889
6890
  }
6890
6891
 
6892
+ export declare const resetActiveDeviceId: () => void;
6893
+
6891
6894
  export declare const resetJumioSdkAutocaptureServiceInstance: () => void;
6892
6895
 
6893
6896
  export declare const resetPersistedTags: (newTags?: Tags) => void;
@@ -6957,8 +6960,16 @@ export declare const selectAutocaptureState$: () => Observable<AutocaptureState>
6957
6960
 
6958
6961
  export declare const selectAutocaptureStore$: () => Observable<AutocaptureStore>;
6959
6962
 
6963
+ export declare const selectCameraBusyStatus$: () => Observable<boolean>;
6964
+
6965
+ export declare const selectCameraCapturing$: () => Observable<boolean>;
6966
+
6967
+ export declare const selectCameraFacingMode$: () => Observable<CameraFacingMode>;
6968
+
6960
6969
  export declare const selectCameraPermissionState$: () => Observable<PermissionState>;
6961
6970
 
6971
+ export declare const selectCameraPlayingState$: () => Observable<boolean>;
6972
+
6962
6973
  export declare const selectCaptureHintsState$: () => Observable<HelpStore>;
6963
6974
 
6964
6975
  export declare const selectConsents$: () => Observable<ConsentItem[]>;
@@ -7086,8 +7097,16 @@ export declare const setAutocaptureSmoothedFeedback: (feedback: AutocaptureFeedb
7086
7097
 
7087
7098
  export declare const setAutocaptureState: (state: AutocaptureState, fallbackReason?: ManualCaptureFallbackReason) => void;
7088
7099
 
7100
+ export declare const setCameraBusyStatus: (isBusy: boolean) => void;
7101
+
7102
+ export declare const setCameraCapturing: (capturing: boolean) => void;
7103
+
7104
+ export declare const setCameraFacingMode: (cameraFacingMode: CameraFacingMode) => void;
7105
+
7089
7106
  export declare const setCameraPermissionState: (permissionState: PermissionState) => void;
7090
7107
 
7108
+ export declare const setCameraPlayingState: (isPlaying: boolean) => void;
7109
+
7091
7110
  export declare const setCaptureHintsState: (params?: Partial<HelpStore>) => void;
7092
7111
 
7093
7112
  export declare const setConsentGivenSend: () => void;
@@ -7106,8 +7125,6 @@ export declare const setFaceFinderScanning: (scanning: boolean) => void;
7106
7125
 
7107
7126
  export declare const setFaceFinderVideoSize: (videoSize: DsDimensions) => void;
7108
7127
 
7109
- export declare const setGetUserMediaMock: (handler: GetUserMediaMock | undefined) => void;
7110
-
7111
7128
  export declare const setLocationHref: (url: string) => void;
7112
7129
 
7113
7130
  export declare const setMockedDeviceList: (devices: JMediaDeviceInfo[]) => void;
@@ -7120,8 +7137,6 @@ export declare const setRecoveringState: (value: boolean) => void;
7120
7137
 
7121
7138
  export declare const setSettings: (settings: Settings) => void;
7122
7139
 
7123
- export declare const setStopStreamState: () => void;
7124
-
7125
7140
  export declare interface Settings extends Record<string, unknown> {
7126
7141
  accountId: UUID;
7127
7142
  acquisitionReference: UUID;
@@ -7163,6 +7178,12 @@ export declare type SetWorkflowStep = (params: NavigationStep) => void;
7163
7178
 
7164
7179
  export declare const setWorkflowStep: SetWorkflowStep;
7165
7180
 
7181
+ export declare class SFSafariViewControllerCameraError extends DOMException {
7182
+ constructor(message?: string);
7183
+ }
7184
+
7185
+ export declare const SFSafariViewControllerCameraErrorCode = "SFSafariViewControllerCameraError";
7186
+
7166
7187
  export declare class SheetComponent extends BaseComponent {
7167
7188
  static styles: CSSResult[];
7168
7189
  render(): TemplateResult_2<1>;
@@ -7272,14 +7293,19 @@ export declare enum StepNavigationAction {
7272
7293
  NextStep = "step-navigation-next-step"
7273
7294
  }
7274
7295
 
7275
- export declare const stopActiveTracks: (stream?: MediaStream) => void;
7276
-
7277
7296
  export declare type StopAnimation = () => void;
7278
7297
 
7279
7298
  export declare class StopStreamCommand extends CustomEvent<never> {
7280
7299
  constructor();
7281
7300
  }
7282
7301
 
7302
+ export declare interface StopStreamParams {
7303
+ playbackCancelNotifier$: Subject<void>;
7304
+ videoElement?: HTMLVideoElement;
7305
+ videoSource?: MediaStream | string;
7306
+ unsetVideoSource: () => void;
7307
+ }
7308
+
7283
7309
  export declare const STORE_TOKENS: {
7284
7310
  CredentialIdStoreFactory: symbol;
7285
7311
  CredentialFacemapStoreFactory: symbol;
@@ -7305,21 +7331,12 @@ export declare enum StreamCommands {
7305
7331
  CaptureImage = "captureimage"
7306
7332
  }
7307
7333
 
7308
- export declare class StreamPausedEvent<T extends CanvasImageSource> extends CustomEvent<StreamPausedEventParams<T>> {
7309
- constructor(params: StreamPausedEventParams<T>);
7310
- }
7311
-
7312
- export declare interface StreamPausedEventParams<T extends CanvasImageSource> extends ImageSourceWithDimensions<T> {
7313
- mediaStream?: MediaStream;
7314
- }
7315
-
7316
- export declare class StreamPlayingEvent<T extends CanvasImageSource> extends CustomEvent<StreamPlayingEventParams<T>> {
7317
- constructor(params: StreamPlayingEventParams<T>);
7334
+ export declare class StreamPausedEvent<T extends CanvasImageSource> extends CustomEvent<ImageSourceWithDimensions<T>> {
7335
+ constructor(params: ImageSourceWithDimensions<T>);
7318
7336
  }
7319
7337
 
7320
- export declare interface StreamPlayingEventParams<T extends CanvasImageSource> extends ImageSourceWithDimensions<T> {
7321
- mediaStream: MediaStream;
7322
- settings: MediaTrackSettings;
7338
+ export declare class StreamPlayingEvent<T extends CanvasImageSource> extends CustomEvent<ImageSourceWithDimensions<T>> {
7339
+ constructor(params: ImageSourceWithDimensions<T>);
7323
7340
  }
7324
7341
 
7325
7342
  export declare class StreamResizedEvent<T extends CanvasImageSource> extends CustomEvent<ImageSourceWithDimensions<T>> {
@@ -7411,13 +7428,13 @@ export declare interface SwitchStreamAfterDiscoveryCallbackParams {
7411
7428
  stream: MediaStream;
7412
7429
  }
7413
7430
 
7414
- export declare class SwitchStreamCommand extends CustomEvent<SwitchStreamParams> {
7415
- constructor(detail: SwitchStreamParams);
7431
+ export declare class SwitchStreamCommand extends CustomEvent<SwitchStreamCommandParams> {
7432
+ constructor(detail: SwitchStreamCommandParams);
7416
7433
  }
7417
7434
 
7418
- export declare interface SwitchStreamParams {
7419
- facingMode: FacingModePreference;
7420
- constraints: MediaStreamConstraints;
7435
+ export declare interface SwitchStreamCommandParams {
7436
+ videoElement: HTMLVideoElement;
7437
+ constraints: DeviceIdConstraint | FacingModeConstraint;
7421
7438
  }
7422
7439
 
7423
7440
  export declare type TagName = 'classifier' | 'country' | 'customerId' | 'customerName' | 'customerReference' | 'device' | 'deviceNames' | 'displayMode' | 'document' | 'error' | 'hostname' | 'hostnameRuntime' | 'hostnameRuntimeOs' | 'hostnameRuntimeOsVersion' | 'idAutocaptureFallbackReason' | 'idAutocaptureFps' | 'idAutocaptureState' | 'iframe' | 'jLiveDuration' | 'jliveFramesCaptured' | 'jliveProgressCurrentStep' | 'jliveProgressStepsTotal' | 'jumioHosted' | 'linked' | 'locale' | 'runtime' | 'scanReference' | 'screen' | 'templates' | 'variant' | 'webview' | 'workflow';
@@ -7491,8 +7508,8 @@ export declare const transformMediaDeviceInfo: (device: MediaDeviceInfo) => JMed
7491
7508
 
7492
7509
  export declare interface Transport {
7493
7510
  getSettings$(params: SettingsRequest): Observable<Settings>;
7494
- sendAnalyticsEvent$(params: SendEventRequest): Observable<string>;
7495
- sendReportingEvent$(params: SendEventRequest): Observable<string>;
7511
+ sendAnalyticsEvent$(params: SendEventRequest): Observable<object>;
7512
+ sendReportingEvent$(params: SendEventRequest): Observable<object>;
7496
7513
  finalize$(): Observable<FinalizeResponse>;
7497
7514
  getIproovToken$(reason: string): Observable<IproovTokenData | undefined>;
7498
7515
  validateIproovToken$(params: ValidateIproovTokenRequest): Observable<ValidateIproovTokenResponse>;
@@ -7502,13 +7519,13 @@ export declare interface Transport {
7502
7519
  getAcquisitionStatus$(): Observable<AcquisitionStatusResponse>;
7503
7520
  sendCrossDeviceEmail$(emailRequest: EmailRequest): Observable<EmailResponse>;
7504
7521
  getFilePart$(params: GetFilePartParams): Observable<FilePartResponse>;
7505
- updateMetadata$(acquisitionId: UUID, credentialId: UUID, params: UpdateMetadataParams): Observable<string>;
7522
+ updateMetadata$(acquisitionId: UUID, credentialId: UUID, params: UpdateMetadataParams): Observable<object>;
7506
7523
  }
7507
7524
 
7508
7525
  export declare interface TransportController {
7509
7526
  getSettings(params: SettingsRequest): Promise<Settings>;
7510
- sendAnalyticsEvent(params: SendEventRequest): Promise<string>;
7511
- sendReportingEvent(params: SendEventRequest): Promise<string>;
7527
+ sendAnalyticsEvent(params: SendEventRequest): Promise<object>;
7528
+ sendReportingEvent(params: SendEventRequest): Promise<object>;
7512
7529
  finalize(): Promise<FinalizeResponse>;
7513
7530
  getIproovToken(reason: string): Promise<IproovTokenData | undefined>;
7514
7531
  validateIproovToken(params: ValidateIproovTokenRequest): Promise<ValidateIproovTokenResponse>;
@@ -7755,47 +7772,16 @@ export declare interface ValidateIproovTokenResponse {
7755
7772
  failureReason?: string;
7756
7773
  }
7757
7774
 
7758
- export declare type VideoEvent = `${VideoEvents}`;
7775
+ export declare type VideoError = Pick<DOMException, 'name' | 'message'>;
7759
7776
 
7760
7777
  export declare type VideoEventHandler = (videoElement: HTMLVideoElement | undefined, e?: Event) => void;
7761
7778
 
7762
- export declare enum VideoEvents {
7763
- Resize = "resize",
7764
- Abort = "abort",
7765
- CanPlay = "canplay",
7766
- CanPlayThrough = "canplaythrough",
7767
- DurationChange = "durationchange",
7768
- Emptied = "emptied",
7769
- Ended = "ended",
7770
- Error = "error",
7771
- LoadedData = "loadeddata",
7772
- LoadedMetadata = "loadedmetadata",
7773
- LoadStart = "loadstart",
7774
- Pause = "pause",
7775
- Play = "play",
7776
- Playing = "playing",
7777
- Progress = "progress",
7778
- RateChange = "ratechange",
7779
- Seeked = "seeked",
7780
- Seeking = "seeking",
7781
- Stalled = "stalled",
7782
- Suspend = "suspend",
7783
- TimeUpdate = "timeupdate",
7784
- VolumeChange = "volumechange",
7785
- Waiting = "waiting"
7786
- }
7787
-
7788
7779
  export declare interface VideoLoadingParams {
7789
- videoEl: HTMLVideoElement;
7790
- cancelNotifier$: Subject<void>;
7780
+ videoElement: HTMLVideoElement;
7781
+ cancelNotifier$: Observable<void>;
7791
7782
  timeoutMs?: number;
7792
7783
  }
7793
7784
 
7794
- export declare interface VideoPlaybackCheckParams {
7795
- attemptRemaining: number;
7796
- videoEl: HTMLVideoElement;
7797
- }
7798
-
7799
7785
  export declare const videoPlayThrows: EventDispatcher< {
7800
7786
  name: string;
7801
7787
  message: string;
@@ -7812,6 +7798,28 @@ export declare interface VideoSizeInfo {
7812
7798
  elementAspectRatio: number;
7813
7799
  }
7814
7800
 
7801
+ export declare type VideoSource = VideoSourceCamera | VideoSourceFile;
7802
+
7803
+ export declare interface VideoSourceCamera {
7804
+ type: VideoSourceType.Camera;
7805
+ deviceId: string;
7806
+ source: MediaStream;
7807
+ track: MediaStreamTrack;
7808
+ }
7809
+
7810
+ export declare interface VideoSourceFile {
7811
+ type: VideoSourceType.File;
7812
+ device: JMediaDeviceInfo;
7813
+ deviceId: string;
7814
+ track: ActiveTrackState;
7815
+ url: string;
7816
+ }
7817
+
7818
+ export declare enum VideoSourceType {
7819
+ Camera = "camera",
7820
+ File = "file"
7821
+ }
7822
+
7815
7823
  export declare type VideoTickCallback = (videoElement: HTMLVideoElement) => Promise<void>;
7816
7824
 
7817
7825
  export declare enum VirtualStep {
@@ -7821,9 +7829,11 @@ export declare enum VirtualStep {
7821
7829
  }
7822
7830
 
7823
7831
  export declare class WatermarkComponent extends BaseComponent {
7832
+ #private;
7824
7833
  static styles: CSSResult[];
7825
7834
  poweredBy: string;
7826
7835
  version: string;
7836
+ poweredByVisible: boolean;
7827
7837
  render(): TemplateResult<1>;
7828
7838
  }
7829
7839
 
@@ -8033,7 +8043,7 @@ export declare interface WorkflowStepDocument extends WorkflowStepCredentialLogi
8033
8043
  selectMaxFileUploadSize$(): Observable<number>;
8034
8044
  selectPdfPages$(): Observable<FilePartState[]>;
8035
8045
  softDeletePdfPage(id: string): void;
8036
- updateMetadataWithPageSelection$(): Observable<string>;
8046
+ updateMetadataWithPageSelection$(): Observable<object>;
8037
8047
  }
8038
8048
 
8039
8049
  export declare interface WorkflowStepDocumentController extends WorkflowStepCredentialController<Category.Document> {
@@ -8044,7 +8054,7 @@ export declare interface WorkflowStepDocumentController extends WorkflowStepCred
8044
8054
  selectPdfPages$(): Observable<FilePartState[]>;
8045
8055
  selectUploadedPdfFile$(): Observable<Blob | undefined>;
8046
8056
  softDeletePdfPage(id: string): void;
8047
- updateMetadataWithPageSelection$(): Observable<string>;
8057
+ updateMetadataWithPageSelection$(): Observable<object>;
8048
8058
  }
8049
8059
 
8050
8060
  export declare interface WorkflowStepFacemap extends WorkflowStepCredentialLogic<Category.Facemap> {