@jumio/websdk 0.2.11 → 0.2.12

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.BCnnyCnG.js} +2 -2
  42. package/{index.4JOIkKCv.js → index.BnYFSDgc.js} +23709 -22910
  43. package/index.d.ts +246 -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;
@@ -1383,6 +1351,7 @@ export declare class AppContainerComponent extends BaseComponent {
1383
1351
  static styles: CSSResult[];
1384
1352
  type: DsAppContainerLayoutType;
1385
1353
  footerVisible: boolean;
1354
+ poweredByVisible: boolean;
1386
1355
  readonly layout$: Observable<DsAppContainerLayout>;
1387
1356
  readonly layoutController: AsyncController<DsAppContainerLayout>;
1388
1357
  constructor();
@@ -1402,6 +1371,8 @@ export declare const areAllActiveConsentsGiven$: () => Observable<boolean>;
1402
1371
 
1403
1372
  export declare const areAllFilesUploaded$: (credentialId: UUID) => Observable<boolean>;
1404
1373
 
1374
+ export declare const areAllFilesUploadedSuccessfully: (credentialId: UUID) => boolean;
1375
+
1405
1376
  export declare const areWorkflowSetupParametersValid$: () => Observable<boolean>;
1406
1377
 
1407
1378
  export declare const areWorkflowSetupParametersValid: (params?: unknown) => boolean;
@@ -1620,10 +1591,6 @@ readonly kind?: MediaDeviceKind | undefined;
1620
1591
  permissionState: PermissionState;
1621
1592
  }>;
1622
1593
 
1623
- export declare class CameraBusyError extends DOMException {
1624
- constructor();
1625
- }
1626
-
1627
1594
  declare class CameraCanvas2dRenderer extends BaseComponent implements CameraRenderingEngine {
1628
1595
  #private;
1629
1596
  static styles: CSSResult[];
@@ -1657,9 +1624,9 @@ width?: number | undefined;
1657
1624
  height?: number | undefined;
1658
1625
  track?: {
1659
1626
  readonly id: string;
1627
+ enabled: boolean;
1660
1628
  readonly label: string;
1661
1629
  contentHint: string;
1662
- enabled: boolean;
1663
1630
  readonly kind: string;
1664
1631
  readonly muted: boolean;
1665
1632
  readonly readyState: MediaStreamTrackState;
@@ -1762,10 +1729,6 @@ ideal?: number | undefined;
1762
1729
  max?: number | undefined;
1763
1730
  min?: number | undefined;
1764
1731
  } | undefined;
1765
- resizeMode?: string | string[] | {
1766
- exact?: string | string[] | undefined;
1767
- ideal?: string | string[] | undefined;
1768
- } | undefined;
1769
1732
  }[] | undefined;
1770
1733
  aspectRatio?: number | {
1771
1734
  exact?: number | undefined;
@@ -1829,10 +1792,6 @@ ideal?: number | undefined;
1829
1792
  max?: number | undefined;
1830
1793
  min?: number | undefined;
1831
1794
  } | undefined;
1832
- resizeMode?: string | string[] | {
1833
- exact?: string | string[] | undefined;
1834
- ideal?: string | string[] | undefined;
1835
- } | undefined;
1836
1795
  };
1837
1796
  settings: {
1838
1797
  aspectRatio?: number | undefined;
@@ -1926,53 +1885,44 @@ export declare class CameraComponent extends BaseComponent {
1926
1885
  videoRenderingEngineCollection: CameraRenderingEngine[];
1927
1886
  videoOverlayVideoRenderingEngineCollection: CameraRenderingEngine[];
1928
1887
  videoRenderingEngineBackdrop: CameraRenderingEngine[];
1888
+ readonly videoElement$: Observable<HTMLVideoElement>;
1929
1889
  readonly videoElRef: Ref<HTMLVideoElement>;
1930
1890
  readonly canvasRendererElRef: Ref<CameraWebglRendererComponent | CameraCanvas2dRenderer>;
1931
1891
  readonly layoutElRef: Ref<CameraInternalLayoutComponent>;
1932
1892
  readonly cameraVideoTickerComponentRef: Ref<CameraVideoTickerComponent>;
1933
1893
  readonly controller: CameraComponentController;
1934
- readonly videoRefresh$: BehaviorSubject<boolean>;
1935
- readonly videoRefreshController: AsyncController<boolean>;
1936
- readonly playing$: Observable<boolean>;
1937
- readonly playingController: AsyncController<boolean>;
1894
+ readonly refresh$: Observable<void>;
1938
1895
  constructor();
1939
1896
  firstUpdated(changedProperties: PropertyValues): void;
1940
1897
  disconnectedCallback(): void;
1941
1898
  render(): TemplateResult<1>;
1942
1899
  processVideoTick: VideoTickCallback;
1943
1900
  captureImage(): Promise<(Blob | undefined)[]>;
1944
- switchStream(e: SwitchStreamCommand | SwitchCameraCommand): Promise<void | {
1945
- stream: MediaStream;
1946
- track: MediaStreamTrack;
1947
- }>;
1901
+ switchStream(e: SwitchStreamCommand | SwitchCameraCommand): Promise<VideoSource | undefined>;
1948
1902
  stopStream(): void;
1949
1903
  isFlipped(): boolean;
1950
- isPlaying(): boolean;
1951
- isFree(): boolean;
1952
1904
  }
1953
1905
 
1954
1906
  export declare class CameraComponentController implements ReactiveController {
1955
1907
  #private;
1956
- readonly currentFacingMode$: Observable<CameraFacingMode>;
1957
1908
  constructor(host: CameraComponent);
1958
1909
  hostConnected(): void;
1959
1910
  hostDisconnected(): void;
1960
- restartStream(params: SwitchStreamCommand): Promise<void | {
1961
- stream: MediaStream;
1962
- track: MediaStreamTrack;
1963
- }>;
1964
- stopStream(mediaStream?: MediaStream | undefined): void;
1911
+ restartStream(params: SwitchStreamCommand): Promise<VideoSource | undefined>;
1912
+ stopStream(videoSource?: string | MediaStream | undefined): void;
1965
1913
  captureImage(): Promise<(Blob | undefined)[]>;
1966
1914
  processStreamStart(videoEl: HTMLVideoElement): void;
1967
1915
  processStreamPause(videoEl: HTMLVideoElement): void;
1968
1916
  processStreamResize(videoEl: HTMLVideoElement): void;
1969
1917
  processVideoTick: VideoTickCallback;
1970
1918
  getCanvasProcessorCollection(): CameraRenderingEngine[];
1971
- getUserMedia(constraints?: MediaStreamConstraints, timeoutMs?: number): Promise<MediaStream>;
1972
1919
  videoPlaying: VideoEventHandler;
1973
1920
  onVideoResize: VideoEventHandler;
1974
1921
  videoPause: VideoEventHandler;
1975
- isFree(): boolean;
1922
+ }
1923
+
1924
+ export declare class CameraError extends DOMException {
1925
+ constructor(message?: string);
1976
1926
  }
1977
1927
 
1978
1928
  export declare enum CameraEvents {
@@ -1991,7 +1941,7 @@ export declare enum CameraFacingMode {
1991
1941
  export declare class CameraIconComponent extends BaseComponent {
1992
1942
  static styles: CSSResult[];
1993
1943
  selected: boolean;
1994
- setSelection(selected: boolean): void;
1944
+ enabled: boolean;
1995
1945
  render(): TemplateResult<1>;
1996
1946
  }
1997
1947
 
@@ -1999,8 +1949,8 @@ declare class CameraInternalLayoutComponent extends BaseComponent {
1999
1949
  #private;
2000
1950
  static styles: CSSResult[];
2001
1951
  readonly containerElRef: Ref_2<HTMLDivElement>;
2002
- refresh$: Subject<void>;
2003
- videoSize$: Observable<VideoSizeInfo>;
1952
+ readonly refresh$: Subject<void>;
1953
+ readonly videoSize$: Observable<VideoSizeInfo>;
2004
1954
  readonly videoSizeController: AsyncController<VideoSizeInfo>;
2005
1955
  firstUpdated(changedProperties: PropertyValues): void;
2006
1956
  render(): HTMLTemplateResult;
@@ -2047,6 +1997,12 @@ export declare const cameraPlaybackStatusEvent: EventDispatcher< {
2047
1997
  status: CameraPlaybackStatus;
2048
1998
  }>;
2049
1999
 
2000
+ export declare interface CameraPlayParams<T extends MediaStreamConstraints = MediaStreamConstraints> {
2001
+ constraints: T;
2002
+ applyConstraints?: ConstraintsApply;
2003
+ timeoutMs?: number;
2004
+ }
2005
+
2050
2006
  export declare interface CameraRenderingEngine {
2051
2007
  setRenderingAllowedState?: (state: boolean) => void;
2052
2008
  getRenderingAllowedState?: () => boolean;
@@ -2072,6 +2028,15 @@ export declare enum CameraSelectorOrientation {
2072
2028
  Horizontal = "horizontal"
2073
2029
  }
2074
2030
 
2031
+ declare interface CameraStoreState {
2032
+ resolution: Resolution;
2033
+ activeTrack: ActiveTrackState | undefined;
2034
+ cameraFacingMode: CameraFacingMode;
2035
+ playing: boolean;
2036
+ isBusy: boolean;
2037
+ capturing: boolean;
2038
+ }
2039
+
2075
2040
  export declare const cameraStreamStarted: EventDispatcher< {
2076
2041
  constraints: {
2077
2042
  advanced?: {
@@ -2137,10 +2102,6 @@ ideal?: number | undefined;
2137
2102
  max?: number | undefined;
2138
2103
  min?: number | undefined;
2139
2104
  } | undefined;
2140
- resizeMode?: string | string[] | {
2141
- exact?: string | string[] | undefined;
2142
- ideal?: string | string[] | undefined;
2143
- } | undefined;
2144
2105
  }[] | undefined;
2145
2106
  aspectRatio?: number | {
2146
2107
  exact?: number | undefined;
@@ -2204,10 +2165,6 @@ ideal?: number | undefined;
2204
2165
  max?: number | undefined;
2205
2166
  min?: number | undefined;
2206
2167
  } | undefined;
2207
- resizeMode?: string | string[] | {
2208
- exact?: string | string[] | undefined;
2209
- ideal?: string | string[] | undefined;
2210
- } | undefined;
2211
2168
  };
2212
2169
  capabilities: {
2213
2170
  aspectRatio?: {
@@ -2266,8 +2223,7 @@ declare class CameraVideoTickerComponent extends BaseComponent {
2266
2223
  static styles: CSSResult[];
2267
2224
  videoTickCallback?: VideoTickCallback;
2268
2225
  videoElRef?: Ref<HTMLVideoElement>;
2269
- playing$?: Observable<boolean>;
2270
- ticker$: Observable<HTMLVideoElement>;
2226
+ readonly ticker$: Observable<HTMLVideoElement>;
2271
2227
  constructor();
2272
2228
  firstUpdated(changedProperties: PropertyValues): void;
2273
2229
  disconnectedCallback(): void;
@@ -2557,6 +2513,15 @@ export declare interface ConfigurationAutocaptureSettings extends Record<string,
2557
2513
 
2558
2514
  export declare interface ConfigurationCamera extends Record<string, unknown> {
2559
2515
  cameraTimeoutMs?: number;
2516
+ resolutionId?: ConfigurationCameraResolution;
2517
+ resolutionFacemap?: ConfigurationCameraResolution;
2518
+ resolutionDocument?: ConfigurationCameraResolution;
2519
+ }
2520
+
2521
+ export declare interface ConfigurationCameraResolution {
2522
+ width: number;
2523
+ height: number;
2524
+ aspectRatio: number;
2560
2525
  }
2561
2526
 
2562
2527
  export declare interface ConfigurationCdnEnc extends Record<string, unknown> {
@@ -2628,7 +2593,7 @@ export declare interface Configurations extends Record<string, unknown> {
2628
2593
  jumioLiveness?: JumioLivenessSettings;
2629
2594
  idAutocapture?: ConfigurationAutocaptureSettings;
2630
2595
  helpScreen?: ConfigurationHelpScreen;
2631
- camera?: ConfigurationCamera;
2596
+ cameraData?: ConfigurationCamera;
2632
2597
  }
2633
2598
 
2634
2599
  export declare class ConsentChangeEvent extends CustomEvent<ConsentData> {
@@ -2971,9 +2936,9 @@ width?: number | undefined;
2971
2936
  height?: number | undefined;
2972
2937
  track?: {
2973
2938
  readonly id: string;
2939
+ enabled: boolean;
2974
2940
  readonly label: string;
2975
2941
  contentHint: string;
2976
- enabled: boolean;
2977
2942
  readonly kind: string;
2978
2943
  readonly muted: boolean;
2979
2944
  readonly readyState: MediaStreamTrackState;
@@ -3076,10 +3041,6 @@ ideal?: number | undefined;
3076
3041
  max?: number | undefined;
3077
3042
  min?: number | undefined;
3078
3043
  } | undefined;
3079
- resizeMode?: string | string[] | {
3080
- exact?: string | string[] | undefined;
3081
- ideal?: string | string[] | undefined;
3082
- } | undefined;
3083
3044
  }[] | undefined;
3084
3045
  aspectRatio?: number | {
3085
3046
  exact?: number | undefined;
@@ -3143,10 +3104,6 @@ ideal?: number | undefined;
3143
3104
  max?: number | undefined;
3144
3105
  min?: number | undefined;
3145
3106
  } | undefined;
3146
- resizeMode?: string | string[] | {
3147
- exact?: string | string[] | undefined;
3148
- ideal?: string | string[] | undefined;
3149
- } | undefined;
3150
3107
  };
3151
3108
  settings: {
3152
3109
  aspectRatio?: number | undefined;
@@ -3304,10 +3261,6 @@ ideal?: number | undefined;
3304
3261
  max?: number | undefined;
3305
3262
  min?: number | undefined;
3306
3263
  } | undefined;
3307
- resizeMode?: string | string[] | {
3308
- exact?: string | string[] | undefined;
3309
- ideal?: string | string[] | undefined;
3310
- } | undefined;
3311
3264
  }[] | undefined;
3312
3265
  aspectRatio?: number | {
3313
3266
  exact?: number | undefined;
@@ -3371,10 +3324,6 @@ ideal?: number | undefined;
3371
3324
  max?: number | undefined;
3372
3325
  min?: number | undefined;
3373
3326
  } | undefined;
3374
- resizeMode?: string | string[] | {
3375
- exact?: string | string[] | undefined;
3376
- ideal?: string | string[] | undefined;
3377
- } | undefined;
3378
3327
  };
3379
3328
  capabilities: {
3380
3329
  aspectRatio?: {
@@ -3890,6 +3839,15 @@ export declare interface DeviceDetails extends Record<string, unknown> {
3890
3839
  'sdk-platform': string;
3891
3840
  }
3892
3841
 
3842
+ export declare interface DeviceIdConstraint extends MediaStreamConstraints {
3843
+ video: {
3844
+ deviceId: {
3845
+ exact: string;
3846
+ };
3847
+ };
3848
+ audio: false;
3849
+ }
3850
+
3893
3851
  export declare const deviceIsOffline: ErrorCase;
3894
3852
 
3895
3853
  export declare const deviceListChanged: EventDispatcher< {
@@ -3911,9 +3869,8 @@ export declare interface DeviceRiskToken {
3911
3869
  }
3912
3870
 
3913
3871
  declare interface DeviceStore {
3914
- currentDevice: JMediaDeviceInfo | undefined;
3872
+ deviceId: string | undefined;
3915
3873
  cameraPermissionState: PermissionState;
3916
- activeTrack?: ActiveTrackState;
3917
3874
  }
3918
3875
 
3919
3876
  export declare interface DigitalIdentityProps {
@@ -3930,6 +3887,8 @@ export declare enum DigitalIdentityTypes {
3930
3887
 
3931
3888
  export declare const dim: (hex: string, ratio: number) => string;
3932
3889
 
3890
+ export declare const dispatchCameraErrorMessage: (message: Error) => void;
3891
+
3933
3892
  export declare type Dispatcher<M extends EventMetadata> = (self: HTMLElement, params: EventBodyAttachments<M>) => void;
3934
3893
 
3935
3894
  export declare interface DocumentResultResponse {
@@ -4295,6 +4254,7 @@ export declare enum FacemapStep {
4295
4254
  JumioStandardCaptureScreenCaptureFinish = "identity-jumio-standard-capture-screen-capture-finish",
4296
4255
  JumioStandardCaptureScreenSelfie = "identity-jumio-standard-capture-screen-manual-selfie",
4297
4256
  JumioStandardCaptureScreenUpload = "identity-jumio-standard-capture-screen-upload",
4257
+ JumioStandardCaptureScreenUploadFailed = "identity-jumio-standard-capture-screen-upload-failed",
4298
4258
  JumioStandardUsabilityCheck = "identity-jumio-standard-usability-check",
4299
4259
  JumioStandardUsabilityCheckFailure = "identity-jumio-standard-usability-check-failure",
4300
4260
  JumioStandardFinish = "identity-jumio-standard-finish",
@@ -4312,10 +4272,18 @@ export declare enum FacemapVerificationMethod {
4312
4272
  JumioPremium = "JUMIO_PREMIUM"
4313
4273
  }
4314
4274
 
4275
+ export declare interface FacingModeConstraint extends MediaStreamConstraints {
4276
+ video: {
4277
+ facingMode: {
4278
+ ideal: 'user' | 'environment';
4279
+ };
4280
+ };
4281
+ audio: false;
4282
+ }
4283
+
4315
4284
  export declare enum FacingModePreference {
4316
4285
  User = "user",
4317
- Environment = "environment",
4318
- DeviceId = "deviceId"
4286
+ Environment = "environment"
4319
4287
  }
4320
4288
 
4321
4289
  export declare const failedToFetch: EventDispatcher< {
@@ -4326,9 +4294,9 @@ export declare const FEATURE_BRA_ID_ENABLED: boolean;
4326
4294
 
4327
4295
  export declare const FEATURE_WEBP_ENABLED: boolean;
4328
4296
 
4329
- export declare class FetchError extends Error {
4297
+ export declare class FetchError extends DOMException {
4330
4298
  readonly details: FetchErrorParams;
4331
- constructor(details: FetchErrorParams, text?: string);
4299
+ constructor(details: FetchErrorParams);
4332
4300
  }
4333
4301
 
4334
4302
  export declare interface FetchErrorParams {
@@ -4483,6 +4451,37 @@ export declare interface FinalizeResponse {
4483
4451
  extractDataExecuted: boolean;
4484
4452
  }
4485
4453
 
4454
+ export declare class FullscreenManager {
4455
+ #private;
4456
+ private static instance;
4457
+ readonly fullscreenChange$: Observable<boolean>;
4458
+ readonly fullscreenError$: Observable<void>;
4459
+ private constructor();
4460
+ static getInstance(): FullscreenManager;
4461
+ static resetInstance(): void;
4462
+ enterFullscreen(element?: HTMLElement): Promise<void>;
4463
+ exitFullscreen(): Promise<void>;
4464
+ isFullscreen(): boolean;
4465
+ isFullscreenEnabled(): boolean;
4466
+ getStrategy(): FullscreenStrategy | undefined;
4467
+ toggleFullscreenMode(element?: HTMLElement): Promise<void>;
4468
+ }
4469
+
4470
+ export declare class FullscreenModeButtonComponent extends BaseComponent {
4471
+ #private;
4472
+ static styles: CSSResult[];
4473
+ elRef: Ref<HTMLElement> | undefined;
4474
+ render(): TemplateResult<1>;
4475
+ }
4476
+
4477
+ declare interface FullscreenStrategy {
4478
+ requestFullscreen(element: HTMLElement): Promise<void>;
4479
+ exitFullscreen(): Promise<void>;
4480
+ isFullscreen(): boolean;
4481
+ isFullscreenEnabled(): boolean;
4482
+ cleanUp(): void;
4483
+ }
4484
+
4486
4485
  export declare const generalNetworkError: ErrorCase;
4487
4486
 
4488
4487
  declare const generateAction: (params: Partial<NavigationStep>) => {
@@ -4573,20 +4572,11 @@ export declare const generateUaVariations: () => string[];
4573
4572
 
4574
4573
  export declare const getActiveCredentialId: () => `${string}-${string}-${string}-${string}-${string}`;
4575
4574
 
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;
4575
+ export declare const getActiveDevice: () => JMediaDeviceInfo | undefined;
4583
4576
 
4584
- export declare const getActiveTrack: (store?: DeviceStore & {
4585
- deviceIds: string[];
4586
- deviceEntities: Record<string, JMediaDeviceInfo>;
4587
- } & {
4588
- mockDeviceIds: string[];
4589
- mockDeviceEntities: Record<string, JMediaDeviceInfo>;
4577
+ export declare const getActiveTrack: (store?: CameraStoreState & {
4578
+ clsEntities: Record<number, CameraLivenessStatus>;
4579
+ clsIds: number[];
4590
4580
  }) => ActiveTrackState | undefined;
4591
4581
 
4592
4582
  export declare const getAutocaptureDocFinder: () => AutocaptureStateDocFinderPosition;
@@ -4599,10 +4589,16 @@ export declare const getBackupByGuid: (guid: string) => RestoreFromBackup | unde
4599
4589
 
4600
4590
  export declare type GetBlobCallback = () => Promise<Blob | undefined>;
4601
4591
 
4592
+ export declare const getCameraCapturing: () => boolean;
4593
+
4602
4594
  export declare const getCameraConfiguration: () => ConfigurationCamera | undefined;
4603
4595
 
4596
+ export declare const getCameraErrorMessage$: () => Observable<Error>;
4597
+
4604
4598
  export declare const getCameraPermissionState: () => PermissionState;
4605
4599
 
4600
+ export declare const getCameraRefToVideoElement$: (cameraRef: Ref<CameraComponent>, refresh$: Observable<void>) => Observable<HTMLVideoElement>;
4601
+
4606
4602
  export declare const getCaptureHintsState: () => HelpStore;
4607
4603
 
4608
4604
  export declare const getClsItems: () => CameraLivenessStatus[];
@@ -4615,8 +4611,6 @@ export declare const getConsents: () => MultipartConsent[];
4615
4611
 
4616
4612
  export declare const getCredentialById: (credentialId: UUID) => JCredential;
4617
4613
 
4618
- export declare const getCurrentDeviceLabel: () => string | undefined;
4619
-
4620
4614
  export declare const getCustomerId: () => "" | `${string}-${string}-${string}-${string}-${string}`;
4621
4615
 
4622
4616
  export declare const getDefaultVideoConstraints: () => MediaTrackConstraintSet;
@@ -4691,9 +4685,10 @@ export declare const getStateMachineFacemapActions: (credentialId: UUID) => {
4691
4685
  readonly JumioStandardCaptureScreen: `${string}-${string}-${string}-${string}-${string}:identity-jumio-standard-capture-screen`;
4692
4686
  readonly JumioStandardCaptureScreenLiveness: `${string}-${string}-${string}-${string}-${string}:identity-jumio-standard-capture-screen-liveness`;
4693
4687
  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
4688
  readonly JumioStandardCaptureScreenSelfie: `${string}-${string}-${string}-${string}-${string}:identity-jumio-standard-capture-screen-selfie`;
4689
+ readonly JumioStandardCaptureScreenCaptureFinish: `${string}-${string}-${string}-${string}-${string}:identity-jumio-standard-capture-screen-capture-finish`;
4696
4690
  readonly JumioStandardCaptureScreenUpload: `${string}-${string}-${string}-${string}-${string}:identity-jumio-standard-capture-screen-upload`;
4691
+ readonly JumioStandardCaptureScreenUploadFailed: `${string}-${string}-${string}-${string}-${string}:identity-jumio-standard-capture-screen-upload-failed`;
4697
4692
  readonly JumioStandardUsabilityCheck: `${string}-${string}-${string}-${string}-${string}:identity-jumio-standard-usability-check`;
4698
4693
  readonly JumioStandardUsabilityCheckSuccess: `${string}-${string}-${string}-${string}-${string}:identity-jumio-standard-usability-check-success`;
4699
4694
  readonly JumioStandardUsabilityCheckFailure: `${string}-${string}-${string}-${string}-${string}:identity-jumio-standard-usability-check-failure`;
@@ -4707,6 +4702,7 @@ export declare const getStateMachineIdActions: (credentialId: UUID) => {
4707
4702
  readonly DocTypeSelection: `${string}-${string}-${string}-${string}-${string}:id-doctype-selection`;
4708
4703
  readonly DocTypeVariantSelection: `${string}-${string}-${string}-${string}-${string}:id-doctype-variant-selection`;
4709
4704
  readonly CaptureSourceSelection: `${string}-${string}-${string}-${string}-${string}:id-capture-source-selection`;
4705
+ readonly CaptureScreenEntry: `${string}-${string}-${string}-${string}-${string}:id-capture-screen-entry`;
4710
4706
  readonly CaptureScreen: `${string}-${string}-${string}-${string}-${string}:id-capture-screen`;
4711
4707
  readonly CaptureScreenSelectProvider: `${string}-${string}-${string}-${string}-${string}:id-capture-screen-select-provider`;
4712
4708
  readonly CaptureScreenSelectProviderAutoCapture: `${string}-${string}-${string}-${string}-${string}:id-capture-screen-select-provider-auto-capture`;
@@ -4722,6 +4718,7 @@ export declare const getStateMachineIdActions: (credentialId: UUID) => {
4722
4718
  readonly CaptureScreenBackFinish: `${string}-${string}-${string}-${string}-${string}:id-capture-screen-back-finish`;
4723
4719
  readonly CaptureScreenComplete: `${string}-${string}-${string}-${string}-${string}:id-capture-screen-complete`;
4724
4720
  readonly CaptureScreenUpload: `${string}-${string}-${string}-${string}-${string}:id-capture-screen-upload`;
4721
+ readonly CaptureScreenUploadFailed: `${string}-${string}-${string}-${string}-${string}:id-capture-screen-upload-failed`;
4725
4722
  readonly IdUsabilityCheck: `${string}-${string}-${string}-${string}-${string}:id-usability-check`;
4726
4723
  readonly IdUsabilityCheckSuccess: `${string}-${string}-${string}-${string}-${string}:id-usability-check-success`;
4727
4724
  readonly IdUsabilityCheckFailure: `${string}-${string}-${string}-${string}-${string}:id-usability-check-failure`;
@@ -4766,8 +4763,6 @@ usabilityEntities: Record<FileStoreKey, UsabilityCheckState>;
4766
4763
  usabilityIds: FileStoreKey[];
4767
4764
  }, EntitiesRef<"usabilityEntities", "usabilityIds", "idKeyUsability">>[];
4768
4765
 
4769
- declare type GetUserMediaMock = typeof navigator.mediaDevices.getUserMedia;
4770
-
4771
4766
  export declare function getWorkflowInstance(): WorkflowController;
4772
4767
 
4773
4768
  export declare const getWorkflowMetadata: () => {
@@ -4783,6 +4778,8 @@ export declare const getWorkflowState: () => WorkflowState;
4783
4778
 
4784
4779
  export declare const getWorkflowStep: () => Category | VirtualStep;
4785
4780
 
4781
+ export declare const getWorkflowSubstep: () => IdStep | FacemapStep | DocumentStep | DataStep | undefined;
4782
+
4786
4783
  export declare class GuidanceFaceAnimationComponent extends BaseComponent {
4787
4784
  #private;
4788
4785
  static styles: CSSResult[];
@@ -4841,6 +4838,7 @@ export declare class IdSideComponent extends BaseComponent {
4841
4838
  }
4842
4839
 
4843
4840
  export declare enum IdStep {
4841
+ CaptureScreenEntry = "id-capture-screen-entry",
4844
4842
  CaptureScreen = "id-capture-screen",
4845
4843
  CaptureScreenAutoCaptureLoading = "id-capture-screen-auto-capture-loading",
4846
4844
  CaptureScreenBack = "id-capture-screen-back",
@@ -4853,6 +4851,7 @@ export declare enum IdStep {
4853
4851
  CaptureScreenFrontStart = "id-capture-screen-front-start",
4854
4852
  CaptureScreenSelectProvider = "id-capture-screen-select-provider",
4855
4853
  CaptureScreenUpload = "id-capture-screen-upload",
4854
+ CaptureScreenUploadFailed = "id-capture-screen-upload-failed",
4856
4855
  CaptureSourceSelection = "id-capture-source-selection",
4857
4856
  DocTypeDecision = "id-doctype-decision",
4858
4857
  DocTypeSelection = "id-doctype-selection",
@@ -5005,6 +5004,14 @@ export declare const isButtonSize: (value: unknown) => value is ButtonSize;
5005
5004
 
5006
5005
  export declare const isButtonType: (value: unknown) => value is ButtonType;
5007
5006
 
5007
+ export declare const isCameraAbortError: (e: unknown) => e is VideoError;
5008
+
5009
+ export declare const isCameraBusy: () => boolean;
5010
+
5011
+ export declare const isCameraGenericError: (e: unknown) => e is VideoError;
5012
+
5013
+ export declare const isCameraPermissionDenied: (e: unknown) => e is VideoError;
5014
+
5008
5015
  export declare const isCameraSelectorOrientation: (value: unknown) => value is CameraSelectorOrientation;
5009
5016
 
5010
5017
  export declare const isColorScheme: (value: unknown) => value is ColorScheme;
@@ -5217,6 +5224,7 @@ export declare class JumioSdkComponent extends BaseComponent implements JumioSdk
5217
5224
  languageDirection: string;
5218
5225
  readonly loggerSinkRef: Ref_2<JumioSdkLoggerSinkComponent>;
5219
5226
  workflowController: WorkflowController;
5227
+ isVisible: boolean;
5220
5228
  constructor();
5221
5229
  get componentController(): JumioSdkController;
5222
5230
  willUpdate(changedProperties: PropertyValues<this>): void;
@@ -5273,6 +5281,21 @@ export declare class JumioSdkCrossDeviceButtonComponent extends BaseComponent {
5273
5281
  render(): TemplateResult<1> | typeof nothing;
5274
5282
  }
5275
5283
 
5284
+ export declare class JumioSdkFileUploadFailedComponent extends BaseComponent implements ComponentControllerProvider<JumioSdkFileUploadFailedController> {
5285
+ #private;
5286
+ static styles: CSSResult[];
5287
+ retryAction?: () => void;
5288
+ get componentController(): JumioSdkFileUploadFailedController;
5289
+ connectedCallback(): void;
5290
+ render(): TemplateResult<1>;
5291
+ }
5292
+
5293
+ declare class JumioSdkFileUploadFailedController implements ReactiveController {
5294
+ #private;
5295
+ constructor(host: ReactiveElement);
5296
+ hostConnected(): void;
5297
+ }
5298
+
5276
5299
  export declare class JumioSdkLoggerConsoleComponent extends BaseComponent implements LoggerConsoleConfig {
5277
5300
  readonly type = "LoggerConsole";
5278
5301
  isEnabled: boolean;
@@ -5303,6 +5326,7 @@ declare class JumioSdkLoggerSinkController implements ReactiveController {
5303
5326
  loggerManager: LoggerManager;
5304
5327
  readonly reportUnhandledFetchError$: Observable<PromiseRejectionEvent>;
5305
5328
  readonly reportUnhandledError$: Observable<ErrorEvent>;
5329
+ readonly cameraError$: Observable<Error>;
5306
5330
  constructor(host: ReactiveElement);
5307
5331
  logEvent(event: AnalyticEvent): void;
5308
5332
  reportEvent(event: ReportEvent): void;
@@ -5310,6 +5334,7 @@ declare class JumioSdkLoggerSinkController implements ReactiveController {
5310
5334
  hostDisconnected(): void;
5311
5335
  getReportUnhandledFetchError$(): Observable<PromiseRejectionEvent>;
5312
5336
  getReportUnhandledError$(): Observable<ErrorEvent>;
5337
+ getCameraErrorMessage$(): Observable<Error>;
5313
5338
  }
5314
5339
 
5315
5340
  export declare class JumioSdkLoggingComponent extends BaseComponent {
@@ -5575,19 +5600,9 @@ export declare class JumioSdkStepDocumentCaptureComponent extends BaseComponent
5575
5600
  firstUpdated(changedProperties: PropertyValues): void;
5576
5601
  disconnectedCallback(): void;
5577
5602
  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>;
5603
+ switchStream(e: unknown): Promise<VideoSource | undefined>;
5586
5604
  stopStream(): void;
5587
- handleCameraSwitch(e: SwitchCameraCommand): Promise<void | {
5588
- stream: MediaStream;
5589
- track: MediaStreamTrack;
5590
- } | undefined>;
5605
+ handleCameraSwitch(e: SwitchCameraCommand): Promise<VideoSource | undefined>;
5591
5606
  logImageCapturedEvent: (e: ImageCapturedEvent) => void;
5592
5607
  uploadImage: (e: ImageCapturedEvent) => Promise<void>;
5593
5608
  }
@@ -5705,21 +5720,11 @@ export declare class JumioSdkStepFacemapJumioStandardCaptureComponent extends Ba
5705
5720
  firstUpdated(changedProperties: PropertyValues): void;
5706
5721
  disconnectedCallback(): void;
5707
5722
  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>;
5723
+ switchStream(e: unknown): Promise<VideoSource | undefined>;
5716
5724
  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)[]>;
5725
+ handleCameraSwitch(e: SwitchCameraCommand): Promise<VideoSource | undefined>;
5726
+ onImageCapture: (e: ImageCapturedEvent) => void;
5727
+ requestUpload: (request: UploadRequest) => void;
5723
5728
  }
5724
5729
 
5725
5730
  declare class JumioSdkStepFacemapJumioStandardCaptureController implements ReactiveController {
@@ -5727,7 +5732,8 @@ declare class JumioSdkStepFacemapJumioStandardCaptureController implements React
5727
5732
  constructor(host: JumioSdkStepFacemapJumioStandardCaptureComponent);
5728
5733
  hostConnected(): void;
5729
5734
  hostDisconnected(): void;
5730
- upload(request: UploadRequest): Promise<(UploadResponse | UsabilityResult | undefined)[]>;
5735
+ requestUpload(request: UploadRequest): void;
5736
+ upload(): Promise<UploadResponse>;
5731
5737
  }
5732
5738
 
5733
5739
  export declare class JumioSdkStepFacemapJumioStandardComponent extends BaseComponent implements ComponentControllerProvider<JumioSdkStepFacemapJumioStandardController> {
@@ -5781,24 +5787,16 @@ export declare class JumioSdkStepIdCaptureComponent extends BaseComponent implem
5781
5787
  static styles: CSSResult[];
5782
5788
  readonly componentController: JumioSdkStepIdCaptureController;
5783
5789
  readonly cameraRef: Ref_2<CameraComponent>;
5790
+ readonly captureRequest$: Observable<CaptureRequest | undefined>;
5791
+ readonly captureRequestController: AsyncController<CaptureRequest | undefined>;
5784
5792
  constructor();
5785
5793
  connectedCallback(): void;
5786
5794
  firstUpdated(changedProperties: PropertyValues): void;
5787
5795
  disconnectedCallback(): void;
5788
5796
  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>;
5797
+ switchStream(e: unknown): Promise<VideoSource | undefined>;
5797
5798
  stopStream(): void;
5798
- handleCameraSwitch(e: SwitchCameraCommand): Promise<void | {
5799
- stream: MediaStream;
5800
- track: MediaStreamTrack;
5801
- } | undefined>;
5799
+ handleCameraSwitch(e: SwitchCameraCommand): Promise<VideoSource | undefined>;
5802
5800
  logImageCapturedEvent: (e: ImageCapturedEvent) => void;
5803
5801
  uploadImage: (e: ImageCapturedEvent) => void;
5804
5802
  }
@@ -5826,11 +5824,16 @@ export declare class JumioSdkStepIdCaptureSourceComponentComponent extends BaseC
5826
5824
  }
5827
5825
 
5828
5826
  export declare class JumioSdkStepIdCaptureStateComponent extends BaseComponent implements CaptureStateMessageRenderer {
5827
+ #private;
5829
5828
  static styles: CSSResult[];
5830
- idStepAsyncController: AsyncController<IdStep | FacemapStep | DocumentStep | DataStep | undefined>;
5829
+ idStepAsyncController: AsyncController<{
5830
+ substep: IdStep | FacemapStep | DocumentStep | DataStep | undefined;
5831
+ capturing: boolean;
5832
+ }>;
5831
5833
  render(): TemplateResult_2<1>;
5832
5834
  renderContents(step: string | undefined): TemplateResult_2<1> | typeof nothing;
5833
5835
  renderCaptureImage(step: IdStep | undefined): TemplateResult_2<1>;
5836
+ renderCapturing(): TemplateResult_2<1>;
5834
5837
  renderFront(): TemplateResult_2<1>;
5835
5838
  renderFlipToBack(): TemplateResult_2<1>;
5836
5839
  renderCaptured(): TemplateResult_2<1>;
@@ -6415,16 +6418,6 @@ export declare class MessageDetailsComponent extends BaseComponent {
6415
6418
  render(): TemplateResult_2<1>;
6416
6419
  }
6417
6420
 
6418
- export declare interface MockedDeviceIdConstraint {
6419
- constraints: {
6420
- video: {
6421
- deviceId: {
6422
- exact: string;
6423
- };
6424
- };
6425
- };
6426
- }
6427
-
6428
6421
  export declare class ModalComponent extends BaseComponent {
6429
6422
  static styles: CSSResult[];
6430
6423
  render(): TemplateResult_2<1>;
@@ -6604,9 +6597,12 @@ export declare enum Orientation {
6604
6597
 
6605
6598
  export declare class PageContainerComponent extends BaseComponent {
6606
6599
  static styles: CSSResult[];
6600
+ fullscreenModeController: AsyncController<boolean>;
6607
6601
  render(): TemplateResult<1>;
6608
6602
  }
6609
6603
 
6604
+ export declare const pageContainerVisible$: BehaviorSubject<boolean>;
6605
+
6610
6606
  export declare const patchPersistedTags: (dataOrMergeFn: Tags | ((prev: Tags) => Tags)) => void;
6611
6607
 
6612
6608
  declare type PermissionQuery = typeof navigator.permissions.query;
@@ -6618,6 +6614,10 @@ export declare interface PointInCircle {
6618
6614
  targetPt: AutocaptureDocXY;
6619
6615
  }
6620
6616
 
6617
+ export declare const poweredByVisible: {
6618
+ __context__: boolean;
6619
+ };
6620
+
6621
6621
  export declare enum PredefinedType {
6622
6622
  Defined = "DEFINED",
6623
6623
  Recommended = "RECOMMENDED",
@@ -6815,6 +6815,8 @@ export declare interface RejectReason extends Record<string, unknown> {
6815
6815
  reasonCode: ReasonCode;
6816
6816
  }
6817
6817
 
6818
+ export declare const removeNonSuccessfulUploadAndUsabilityEntitiesByCredentialId: (credentialId: UUID) => void;
6819
+
6818
6820
  export declare const removeUploadAndUsabilityEntitiesByCredentialId: (credentialId: UUID) => void;
6819
6821
 
6820
6822
  export declare const removeUploadAndUsabilityItemsByIds: (...id: FileStoreKey[]) => void;
@@ -6888,6 +6890,8 @@ export declare enum RequestStatusType {
6888
6890
  Loading = "loading"
6889
6891
  }
6890
6892
 
6893
+ export declare const resetActiveDeviceId: () => void;
6894
+
6891
6895
  export declare const resetJumioSdkAutocaptureServiceInstance: () => void;
6892
6896
 
6893
6897
  export declare const resetPersistedTags: (newTags?: Tags) => void;
@@ -6957,8 +6961,16 @@ export declare const selectAutocaptureState$: () => Observable<AutocaptureState>
6957
6961
 
6958
6962
  export declare const selectAutocaptureStore$: () => Observable<AutocaptureStore>;
6959
6963
 
6964
+ export declare const selectCameraBusyStatus$: () => Observable<boolean>;
6965
+
6966
+ export declare const selectCameraCapturing$: () => Observable<boolean>;
6967
+
6968
+ export declare const selectCameraFacingMode$: () => Observable<CameraFacingMode>;
6969
+
6960
6970
  export declare const selectCameraPermissionState$: () => Observable<PermissionState>;
6961
6971
 
6972
+ export declare const selectCameraPlayingState$: () => Observable<boolean>;
6973
+
6962
6974
  export declare const selectCaptureHintsState$: () => Observable<HelpStore>;
6963
6975
 
6964
6976
  export declare const selectConsents$: () => Observable<ConsentItem[]>;
@@ -7086,8 +7098,16 @@ export declare const setAutocaptureSmoothedFeedback: (feedback: AutocaptureFeedb
7086
7098
 
7087
7099
  export declare const setAutocaptureState: (state: AutocaptureState, fallbackReason?: ManualCaptureFallbackReason) => void;
7088
7100
 
7101
+ export declare const setCameraBusyStatus: (isBusy: boolean) => void;
7102
+
7103
+ export declare const setCameraCapturing: (capturing: boolean) => void;
7104
+
7105
+ export declare const setCameraFacingMode: (cameraFacingMode: CameraFacingMode) => void;
7106
+
7089
7107
  export declare const setCameraPermissionState: (permissionState: PermissionState) => void;
7090
7108
 
7109
+ export declare const setCameraPlayingState: (isPlaying: boolean) => void;
7110
+
7091
7111
  export declare const setCaptureHintsState: (params?: Partial<HelpStore>) => void;
7092
7112
 
7093
7113
  export declare const setConsentGivenSend: () => void;
@@ -7106,8 +7126,6 @@ export declare const setFaceFinderScanning: (scanning: boolean) => void;
7106
7126
 
7107
7127
  export declare const setFaceFinderVideoSize: (videoSize: DsDimensions) => void;
7108
7128
 
7109
- export declare const setGetUserMediaMock: (handler: GetUserMediaMock | undefined) => void;
7110
-
7111
7129
  export declare const setLocationHref: (url: string) => void;
7112
7130
 
7113
7131
  export declare const setMockedDeviceList: (devices: JMediaDeviceInfo[]) => void;
@@ -7120,8 +7138,6 @@ export declare const setRecoveringState: (value: boolean) => void;
7120
7138
 
7121
7139
  export declare const setSettings: (settings: Settings) => void;
7122
7140
 
7123
- export declare const setStopStreamState: () => void;
7124
-
7125
7141
  export declare interface Settings extends Record<string, unknown> {
7126
7142
  accountId: UUID;
7127
7143
  acquisitionReference: UUID;
@@ -7163,6 +7179,12 @@ export declare type SetWorkflowStep = (params: NavigationStep) => void;
7163
7179
 
7164
7180
  export declare const setWorkflowStep: SetWorkflowStep;
7165
7181
 
7182
+ export declare class SFSafariViewControllerCameraError extends DOMException {
7183
+ constructor(message?: string);
7184
+ }
7185
+
7186
+ export declare const SFSafariViewControllerCameraErrorCode = "SFSafariViewControllerCameraError";
7187
+
7166
7188
  export declare class SheetComponent extends BaseComponent {
7167
7189
  static styles: CSSResult[];
7168
7190
  render(): TemplateResult_2<1>;
@@ -7272,14 +7294,19 @@ export declare enum StepNavigationAction {
7272
7294
  NextStep = "step-navigation-next-step"
7273
7295
  }
7274
7296
 
7275
- export declare const stopActiveTracks: (stream?: MediaStream) => void;
7276
-
7277
7297
  export declare type StopAnimation = () => void;
7278
7298
 
7279
7299
  export declare class StopStreamCommand extends CustomEvent<never> {
7280
7300
  constructor();
7281
7301
  }
7282
7302
 
7303
+ export declare interface StopStreamParams {
7304
+ playbackCancelNotifier$: Subject<void>;
7305
+ videoElement?: HTMLVideoElement;
7306
+ videoSource?: MediaStream | string;
7307
+ unsetVideoSource: () => void;
7308
+ }
7309
+
7283
7310
  export declare const STORE_TOKENS: {
7284
7311
  CredentialIdStoreFactory: symbol;
7285
7312
  CredentialFacemapStoreFactory: symbol;
@@ -7305,21 +7332,12 @@ export declare enum StreamCommands {
7305
7332
  CaptureImage = "captureimage"
7306
7333
  }
7307
7334
 
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>);
7335
+ export declare class StreamPausedEvent<T extends CanvasImageSource> extends CustomEvent<ImageSourceWithDimensions<T>> {
7336
+ constructor(params: ImageSourceWithDimensions<T>);
7318
7337
  }
7319
7338
 
7320
- export declare interface StreamPlayingEventParams<T extends CanvasImageSource> extends ImageSourceWithDimensions<T> {
7321
- mediaStream: MediaStream;
7322
- settings: MediaTrackSettings;
7339
+ export declare class StreamPlayingEvent<T extends CanvasImageSource> extends CustomEvent<ImageSourceWithDimensions<T>> {
7340
+ constructor(params: ImageSourceWithDimensions<T>);
7323
7341
  }
7324
7342
 
7325
7343
  export declare class StreamResizedEvent<T extends CanvasImageSource> extends CustomEvent<ImageSourceWithDimensions<T>> {
@@ -7411,13 +7429,13 @@ export declare interface SwitchStreamAfterDiscoveryCallbackParams {
7411
7429
  stream: MediaStream;
7412
7430
  }
7413
7431
 
7414
- export declare class SwitchStreamCommand extends CustomEvent<SwitchStreamParams> {
7415
- constructor(detail: SwitchStreamParams);
7432
+ export declare class SwitchStreamCommand extends CustomEvent<SwitchStreamCommandParams> {
7433
+ constructor(detail: SwitchStreamCommandParams);
7416
7434
  }
7417
7435
 
7418
- export declare interface SwitchStreamParams {
7419
- facingMode: FacingModePreference;
7420
- constraints: MediaStreamConstraints;
7436
+ export declare interface SwitchStreamCommandParams {
7437
+ videoElement: HTMLVideoElement;
7438
+ constraints: DeviceIdConstraint | FacingModeConstraint;
7421
7439
  }
7422
7440
 
7423
7441
  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 +7509,8 @@ export declare const transformMediaDeviceInfo: (device: MediaDeviceInfo) => JMed
7491
7509
 
7492
7510
  export declare interface Transport {
7493
7511
  getSettings$(params: SettingsRequest): Observable<Settings>;
7494
- sendAnalyticsEvent$(params: SendEventRequest): Observable<string>;
7495
- sendReportingEvent$(params: SendEventRequest): Observable<string>;
7512
+ sendAnalyticsEvent$(params: SendEventRequest): Observable<object>;
7513
+ sendReportingEvent$(params: SendEventRequest): Observable<object>;
7496
7514
  finalize$(): Observable<FinalizeResponse>;
7497
7515
  getIproovToken$(reason: string): Observable<IproovTokenData | undefined>;
7498
7516
  validateIproovToken$(params: ValidateIproovTokenRequest): Observable<ValidateIproovTokenResponse>;
@@ -7502,13 +7520,13 @@ export declare interface Transport {
7502
7520
  getAcquisitionStatus$(): Observable<AcquisitionStatusResponse>;
7503
7521
  sendCrossDeviceEmail$(emailRequest: EmailRequest): Observable<EmailResponse>;
7504
7522
  getFilePart$(params: GetFilePartParams): Observable<FilePartResponse>;
7505
- updateMetadata$(acquisitionId: UUID, credentialId: UUID, params: UpdateMetadataParams): Observable<string>;
7523
+ updateMetadata$(acquisitionId: UUID, credentialId: UUID, params: UpdateMetadataParams): Observable<object>;
7506
7524
  }
7507
7525
 
7508
7526
  export declare interface TransportController {
7509
7527
  getSettings(params: SettingsRequest): Promise<Settings>;
7510
- sendAnalyticsEvent(params: SendEventRequest): Promise<string>;
7511
- sendReportingEvent(params: SendEventRequest): Promise<string>;
7528
+ sendAnalyticsEvent(params: SendEventRequest): Promise<object>;
7529
+ sendReportingEvent(params: SendEventRequest): Promise<object>;
7512
7530
  finalize(): Promise<FinalizeResponse>;
7513
7531
  getIproovToken(reason: string): Promise<IproovTokenData | undefined>;
7514
7532
  validateIproovToken(params: ValidateIproovTokenRequest): Promise<ValidateIproovTokenResponse>;
@@ -7755,47 +7773,16 @@ export declare interface ValidateIproovTokenResponse {
7755
7773
  failureReason?: string;
7756
7774
  }
7757
7775
 
7758
- export declare type VideoEvent = `${VideoEvents}`;
7776
+ export declare type VideoError = Pick<DOMException, 'name' | 'message'>;
7759
7777
 
7760
7778
  export declare type VideoEventHandler = (videoElement: HTMLVideoElement | undefined, e?: Event) => void;
7761
7779
 
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
7780
  export declare interface VideoLoadingParams {
7789
- videoEl: HTMLVideoElement;
7790
- cancelNotifier$: Subject<void>;
7781
+ videoElement: HTMLVideoElement;
7782
+ cancelNotifier$: Observable<void>;
7791
7783
  timeoutMs?: number;
7792
7784
  }
7793
7785
 
7794
- export declare interface VideoPlaybackCheckParams {
7795
- attemptRemaining: number;
7796
- videoEl: HTMLVideoElement;
7797
- }
7798
-
7799
7786
  export declare const videoPlayThrows: EventDispatcher< {
7800
7787
  name: string;
7801
7788
  message: string;
@@ -7812,6 +7799,28 @@ export declare interface VideoSizeInfo {
7812
7799
  elementAspectRatio: number;
7813
7800
  }
7814
7801
 
7802
+ export declare type VideoSource = VideoSourceCamera | VideoSourceFile;
7803
+
7804
+ export declare interface VideoSourceCamera {
7805
+ type: VideoSourceType.Camera;
7806
+ deviceId: string;
7807
+ source: MediaStream;
7808
+ track: MediaStreamTrack;
7809
+ }
7810
+
7811
+ export declare interface VideoSourceFile {
7812
+ type: VideoSourceType.File;
7813
+ device: JMediaDeviceInfo;
7814
+ deviceId: string;
7815
+ track: ActiveTrackState;
7816
+ url: string;
7817
+ }
7818
+
7819
+ export declare enum VideoSourceType {
7820
+ Camera = "camera",
7821
+ File = "file"
7822
+ }
7823
+
7815
7824
  export declare type VideoTickCallback = (videoElement: HTMLVideoElement) => Promise<void>;
7816
7825
 
7817
7826
  export declare enum VirtualStep {
@@ -7821,9 +7830,11 @@ export declare enum VirtualStep {
7821
7830
  }
7822
7831
 
7823
7832
  export declare class WatermarkComponent extends BaseComponent {
7833
+ #private;
7824
7834
  static styles: CSSResult[];
7825
7835
  poweredBy: string;
7826
7836
  version: string;
7837
+ poweredByVisible: boolean;
7827
7838
  render(): TemplateResult<1>;
7828
7839
  }
7829
7840
 
@@ -8033,7 +8044,7 @@ export declare interface WorkflowStepDocument extends WorkflowStepCredentialLogi
8033
8044
  selectMaxFileUploadSize$(): Observable<number>;
8034
8045
  selectPdfPages$(): Observable<FilePartState[]>;
8035
8046
  softDeletePdfPage(id: string): void;
8036
- updateMetadataWithPageSelection$(): Observable<string>;
8047
+ updateMetadataWithPageSelection$(): Observable<object>;
8037
8048
  }
8038
8049
 
8039
8050
  export declare interface WorkflowStepDocumentController extends WorkflowStepCredentialController<Category.Document> {
@@ -8044,7 +8055,7 @@ export declare interface WorkflowStepDocumentController extends WorkflowStepCred
8044
8055
  selectPdfPages$(): Observable<FilePartState[]>;
8045
8056
  selectUploadedPdfFile$(): Observable<Blob | undefined>;
8046
8057
  softDeletePdfPage(id: string): void;
8047
- updateMetadataWithPageSelection$(): Observable<string>;
8058
+ updateMetadataWithPageSelection$(): Observable<object>;
8048
8059
  }
8049
8060
 
8050
8061
  export declare interface WorkflowStepFacemap extends WorkflowStepCredentialLogic<Category.Facemap> {