@jumio/websdk 0.3.3 → 0.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{iProovMe.WzN9s5mB.js → iProovMe.B59XpcvO.js} +2 -2
- package/{index.B5HUelf8.js → index.C2zhSnEu.js} +17029 -16835
- package/index.d.ts +161 -91
- package/index.js +599 -595
- package/package.json +1 -1
- package/{profiler.C_OyDaPu.js → profiler.9_ek2EsJ.js} +2 -2
- package/{startRecording.9HOm2aS0.js → startRecording.DvD6dbJJ.js} +2 -2
- package/third-party-licenses.txt +3 -2
package/index.d.ts
CHANGED
|
@@ -42,6 +42,7 @@ import { EventDispatcher as EventDispatcher_3 } from '../../../api/src/index.js'
|
|
|
42
42
|
import { EventDispatcher as EventDispatcher_4 } from '../../../../../events/src/index.js';
|
|
43
43
|
import { EventMetadata as EventMetadata_2 } from '../../../../api/src/index.js';
|
|
44
44
|
import { EventMetadata as EventMetadata_3 } from '../../../api/src/index.js';
|
|
45
|
+
import { EventMetadata as EventMetadata_4 } from '../../../../../events/src/index.js';
|
|
45
46
|
import { EventObject } from 'xstate';
|
|
46
47
|
import { FacemapStep as FacemapStep_2 } from '../../../types/src/index.js';
|
|
47
48
|
import { FacemapStep as FacemapStep_3 } from '../../../../types/src/index.js';
|
|
@@ -207,10 +208,10 @@ export declare type AnalyticEventBody<ET extends EventType = EventType, EN exten
|
|
|
207
208
|
|
|
208
209
|
export declare const analytics: {
|
|
209
210
|
createAttributesChanged: EventCreator_3<"trace", "custom element attributes changed", {
|
|
210
|
-
attributes: Partial<Record<"
|
|
211
|
+
attributes: Partial<Record<"baseUrl" | "dc" | "locale" | "sessionUrl" | "token", string>>;
|
|
211
212
|
}>;
|
|
212
213
|
attributesChanged: EventDispatcher_3< {
|
|
213
|
-
attributes: Partial<Record<"
|
|
214
|
+
attributes: Partial<Record<"baseUrl" | "dc" | "locale" | "sessionUrl" | "token", string>>;
|
|
214
215
|
}>;
|
|
215
216
|
createWorkflowRestarted: EventCreator_3<"trace", "workflow restarted", EventMetadata_3>;
|
|
216
217
|
workflowRestarted: EventDispatcher_3<EventMetadata_3>;
|
|
@@ -411,13 +412,13 @@ export declare const analytics: {
|
|
|
411
412
|
livenessCaptureType?: LivenessCaptureTypes_2;
|
|
412
413
|
idCaptureType?: IdCaptureTypes_2;
|
|
413
414
|
xDeviceJourney: boolean;
|
|
414
|
-
usedAllCaptureTypes: (
|
|
415
|
+
usedAllCaptureTypes: (IdCaptureTypes_2 | LivenessCaptureTypes_2)[];
|
|
415
416
|
}>;
|
|
416
417
|
usedCaptureTypesEvent: EventDispatcher_3< {
|
|
417
418
|
livenessCaptureType?: LivenessCaptureTypes_2;
|
|
418
419
|
idCaptureType?: IdCaptureTypes_2;
|
|
419
420
|
xDeviceJourney: boolean;
|
|
420
|
-
usedAllCaptureTypes: (
|
|
421
|
+
usedAllCaptureTypes: (IdCaptureTypes_2 | LivenessCaptureTypes_2)[];
|
|
421
422
|
}>;
|
|
422
423
|
};
|
|
423
424
|
|
|
@@ -431,7 +432,7 @@ export declare class AppContainerComponent extends BaseComponent {
|
|
|
431
432
|
readonly layout$: Observable<DsAppContainerLayout>;
|
|
432
433
|
readonly layoutController: AsyncController<DsAppContainerLayout>;
|
|
433
434
|
constructor();
|
|
434
|
-
update(changedProperties: PropertyValues): void;
|
|
435
|
+
update(changedProperties: PropertyValues<this>): void;
|
|
435
436
|
render(): TemplateResult<1>;
|
|
436
437
|
}
|
|
437
438
|
|
|
@@ -471,7 +472,7 @@ declare class AsyncController<T, HasInitial extends boolean = false> implements
|
|
|
471
472
|
}
|
|
472
473
|
|
|
473
474
|
export declare const attributesChanged: EventDispatcher_2< {
|
|
474
|
-
attributes: Partial<Record<"
|
|
475
|
+
attributes: Partial<Record<"baseUrl" | "dc" | "locale" | "sessionUrl" | "token", string>>;
|
|
475
476
|
}>;
|
|
476
477
|
|
|
477
478
|
export declare const authFailed: ErrorCase;
|
|
@@ -575,11 +576,11 @@ export declare class BackdropComponent extends BaseComponent {
|
|
|
575
576
|
static styles: CSSResult[];
|
|
576
577
|
clickToClose: boolean;
|
|
577
578
|
hidden: boolean;
|
|
578
|
-
dialogRole?: '
|
|
579
|
+
dialogRole?: 'alertdialog' | 'dialog';
|
|
579
580
|
ariaLabelledBy: string;
|
|
580
581
|
connectedCallback(): void;
|
|
581
582
|
disconnectedCallback(): void;
|
|
582
|
-
firstUpdated(changedProperties: PropertyValues): void;
|
|
583
|
+
firstUpdated(changedProperties: PropertyValues<this>): void;
|
|
583
584
|
render(): TemplateResult<1>;
|
|
584
585
|
}
|
|
585
586
|
|
|
@@ -627,6 +628,7 @@ export declare class ButtonComponent extends BaseComponent {
|
|
|
627
628
|
shape: ButtonShape;
|
|
628
629
|
padding: boolean;
|
|
629
630
|
disabled: boolean;
|
|
631
|
+
label: string;
|
|
630
632
|
render(): TemplateResult<1>;
|
|
631
633
|
handleClickEvent(event: Event): void;
|
|
632
634
|
}
|
|
@@ -686,7 +688,7 @@ cls?: CameraLivenessStatus;
|
|
|
686
688
|
clsm?: CameraLivenessStatus;
|
|
687
689
|
}>;
|
|
688
690
|
|
|
689
|
-
export declare type CameraCaptureIdAutocaptureStateLogEvent = 'auto-capture' | 'manual-capture' | 'manual-capture
|
|
691
|
+
export declare type CameraCaptureIdAutocaptureStateLogEvent = 'auto-capture' | 'manual-capture-fallback' | 'manual-capture';
|
|
690
692
|
|
|
691
693
|
export declare class CameraComponent extends BaseComponent implements CameraRenderingEngine {
|
|
692
694
|
#private;
|
|
@@ -708,7 +710,7 @@ export declare class CameraComponent extends BaseComponent implements CameraRend
|
|
|
708
710
|
disconnectedCallback(): void;
|
|
709
711
|
render(): TemplateResult<1>;
|
|
710
712
|
captureImage(): Promise<Blob>;
|
|
711
|
-
switchStream(e:
|
|
713
|
+
switchStream(e: SwitchCameraCommand | SwitchStreamCommand): Promise<VideoSource_2 | undefined>;
|
|
712
714
|
onVideoTick: VideoTickCallback;
|
|
713
715
|
onYuvProcessorAvailable: GetYuvProcessorCallback;
|
|
714
716
|
getImageData: GetImageDataCallback;
|
|
@@ -721,7 +723,7 @@ export declare class CameraComponentController implements ReactiveController {
|
|
|
721
723
|
constructor(host: CameraComponent);
|
|
722
724
|
hostConnected(): void;
|
|
723
725
|
restartStream(params: SwitchStreamCommand): Promise<VideoSource | undefined>;
|
|
724
|
-
stopStream({ videoSource, resetBusyState }: Pick<StopStreamParams, '
|
|
726
|
+
stopStream({ videoSource, resetBusyState }: Pick<StopStreamParams, 'resetBusyState' | 'videoSource'>): void;
|
|
725
727
|
onVideoTick: VideoTickCallback;
|
|
726
728
|
onYuvProcessorAvailable: GetYuvProcessorCallback;
|
|
727
729
|
getCanvasProcessorCollection(): CameraRenderingEngine[];
|
|
@@ -741,15 +743,19 @@ export declare enum CameraFacingMode {
|
|
|
741
743
|
|
|
742
744
|
export declare const cameraFilterFn$: BehaviorSubject<CameraFilterFn | undefined>;
|
|
743
745
|
|
|
744
|
-
export declare type CameraFilterFn = (device:
|
|
746
|
+
export declare type CameraFilterFn = (device: JMediaDeviceInfo | MediaDeviceInfo) => boolean | undefined;
|
|
745
747
|
|
|
746
748
|
export declare class CameraIconComponent extends BaseComponent {
|
|
747
749
|
static styles: CSSResult[];
|
|
748
750
|
selected: boolean;
|
|
749
751
|
enabled: boolean;
|
|
752
|
+
label: string;
|
|
753
|
+
info: string;
|
|
750
754
|
render(): TemplateResult<1>;
|
|
751
755
|
}
|
|
752
756
|
|
|
757
|
+
export declare const cameraInitializing: EventDispatcher_4<EventMetadata_4>;
|
|
758
|
+
|
|
753
759
|
export declare class CameraInternalLayoutComponent extends BaseComponent {
|
|
754
760
|
static styles: CSSResult[];
|
|
755
761
|
readonly containerElRef: Ref_2<HTMLDivElement>;
|
|
@@ -799,6 +805,29 @@ export declare const cameraMediaStreamTrack$: BehaviorSubject<MediaStreamTrack |
|
|
|
799
805
|
|
|
800
806
|
export declare const cameraMediaStreamTrackProcessor$: BehaviorSubject<MediaStreamTrackProcessor<VideoFrame> | undefined>;
|
|
801
807
|
|
|
808
|
+
export declare const cameraPlaying: EventDispatcher_4< {
|
|
809
|
+
cameraState: {
|
|
810
|
+
resolution: Resolution_2;
|
|
811
|
+
activeTrackState: ActiveTrackState_2 | undefined;
|
|
812
|
+
cameraFacingMode: CameraFacingMode_2;
|
|
813
|
+
isPlaying: boolean;
|
|
814
|
+
isBusy: boolean;
|
|
815
|
+
};
|
|
816
|
+
deviceListState: DeviceStore_2 & {
|
|
817
|
+
deviceEntities: Record<string, JMediaDeviceInfo_2>;
|
|
818
|
+
deviceIds: string[];
|
|
819
|
+
} & {
|
|
820
|
+
mockDeviceEntities: Record<string, JMediaDeviceInfo_2>;
|
|
821
|
+
mockDeviceIds: string[];
|
|
822
|
+
};
|
|
823
|
+
permissionState: PermissionStore_2;
|
|
824
|
+
cameraSelectorDeviceList: {
|
|
825
|
+
devices: JMediaDeviceInfo_2[];
|
|
826
|
+
currentDevice: JMediaDeviceInfo_2 | undefined;
|
|
827
|
+
isBusy: boolean;
|
|
828
|
+
};
|
|
829
|
+
}>;
|
|
830
|
+
|
|
802
831
|
export declare interface CameraPlayParams<T extends MediaStreamConstraints = MediaStreamConstraints> {
|
|
803
832
|
constraints: T;
|
|
804
833
|
applyConstraints?: ConstraintsApply;
|
|
@@ -907,7 +936,7 @@ export declare class CaptureLabelComponent extends BaseComponent {
|
|
|
907
936
|
#private;
|
|
908
937
|
static styles: CSSResult[];
|
|
909
938
|
size: CaptureLabelSize;
|
|
910
|
-
ariaLiveMode: '
|
|
939
|
+
ariaLiveMode: 'assertive' | 'off' | 'polite';
|
|
911
940
|
render(): unknown;
|
|
912
941
|
}
|
|
913
942
|
|
|
@@ -1167,7 +1196,7 @@ export declare interface ConstraintsParams {
|
|
|
1167
1196
|
track: MediaStreamTrack;
|
|
1168
1197
|
}
|
|
1169
1198
|
|
|
1170
|
-
declare type ControllerProvider<TWorkflowStepController, TComponentController> =
|
|
1199
|
+
declare type ControllerProvider<TWorkflowStepController, TComponentController> = ComponentControllerProvider<TComponentController> & WorkflowStepControllerProvider<TWorkflowStepController>;
|
|
1171
1200
|
|
|
1172
1201
|
declare interface Country {
|
|
1173
1202
|
code: CountryCode;
|
|
@@ -1434,13 +1463,13 @@ export declare function createAnalyticEventCreatorAndDispatcher<ET extends Event
|
|
|
1434
1463
|
export declare const createAndAppendSlotFallback: <K extends keyof HTMLElementTagNameMap>({ root, slotName, fallbackContentTagName }: CreateAndAppendSlotParams<K>) => HTMLElementTagNameMap[K] | undefined;
|
|
1435
1464
|
|
|
1436
1465
|
export declare interface CreateAndAppendSlotParams<K extends keyof HTMLElementTagNameMap> {
|
|
1437
|
-
root: ShadowRoot |
|
|
1466
|
+
root: ShadowRoot | null | undefined;
|
|
1438
1467
|
slotName: string;
|
|
1439
1468
|
fallbackContentTagName: K;
|
|
1440
1469
|
}
|
|
1441
1470
|
|
|
1442
1471
|
export declare const createAttributesChanged: EventCreator_2<"trace", "custom element attributes changed", {
|
|
1443
|
-
attributes: Partial<Record<"
|
|
1472
|
+
attributes: Partial<Record<"baseUrl" | "dc" | "locale" | "sessionUrl" | "token", string>>;
|
|
1444
1473
|
}>;
|
|
1445
1474
|
|
|
1446
1475
|
export declare const createAutocaptureStateChangeEvent: EventCreator_2<"trace", "id autocapture - state change event", {
|
|
@@ -1487,6 +1516,31 @@ export declare const createCameraCaptureHintsShownEvent: EventCreator_2<"trace",
|
|
|
1487
1516
|
visible: boolean;
|
|
1488
1517
|
}>;
|
|
1489
1518
|
|
|
1519
|
+
export declare const createCameraInitializing: EventCreator_4<"trace", "camera initializing", EventMetadata_4>;
|
|
1520
|
+
|
|
1521
|
+
export declare const createCameraPlaying: EventCreator_4<"trace", "camera playing", {
|
|
1522
|
+
cameraState: {
|
|
1523
|
+
resolution: Resolution_2;
|
|
1524
|
+
activeTrackState: ActiveTrackState_2 | undefined;
|
|
1525
|
+
cameraFacingMode: CameraFacingMode_2;
|
|
1526
|
+
isPlaying: boolean;
|
|
1527
|
+
isBusy: boolean;
|
|
1528
|
+
};
|
|
1529
|
+
deviceListState: DeviceStore_2 & {
|
|
1530
|
+
deviceEntities: Record<string, JMediaDeviceInfo_2>;
|
|
1531
|
+
deviceIds: string[];
|
|
1532
|
+
} & {
|
|
1533
|
+
mockDeviceEntities: Record<string, JMediaDeviceInfo_2>;
|
|
1534
|
+
mockDeviceIds: string[];
|
|
1535
|
+
};
|
|
1536
|
+
permissionState: PermissionStore_2;
|
|
1537
|
+
cameraSelectorDeviceList: {
|
|
1538
|
+
devices: JMediaDeviceInfo_2[];
|
|
1539
|
+
currentDevice: JMediaDeviceInfo_2 | undefined;
|
|
1540
|
+
isBusy: boolean;
|
|
1541
|
+
};
|
|
1542
|
+
}>;
|
|
1543
|
+
|
|
1490
1544
|
export declare const createCameraStateChanged: EventCreator_4<"trace", "camera state changed", {
|
|
1491
1545
|
cameraState: {
|
|
1492
1546
|
resolution: Resolution_2;
|
|
@@ -1642,7 +1696,7 @@ export declare const createUsedCaptureTypesEvent: EventCreator_2<"arbitrary", "c
|
|
|
1642
1696
|
livenessCaptureType?: LivenessCaptureTypes;
|
|
1643
1697
|
idCaptureType?: IdCaptureTypes;
|
|
1644
1698
|
xDeviceJourney: boolean;
|
|
1645
|
-
usedAllCaptureTypes: (
|
|
1699
|
+
usedAllCaptureTypes: (IdCaptureTypes | LivenessCaptureTypes)[];
|
|
1646
1700
|
}>;
|
|
1647
1701
|
|
|
1648
1702
|
export declare const createVideoPlayThrowsEvent: EventCreator_2<"trace", "video thrown an error", {
|
|
@@ -1726,7 +1780,7 @@ export declare class CredentialFacemapStoreImpl implements CredentialFacemapStor
|
|
|
1726
1780
|
selectJLiveManualCaptureFallbackReason$(): Observable<ManualCaptureFallbackReason | undefined>;
|
|
1727
1781
|
getActiveFaceVerificationMethod(): FacemapVerificationMethod | undefined;
|
|
1728
1782
|
selectActiveFaceVerificationMethod$(): Observable<FacemapVerificationMethod | undefined>;
|
|
1729
|
-
selectLivenessState$(): Observable<CredentialFacemapState &
|
|
1783
|
+
selectLivenessState$(): Observable<CredentialFacemapState & IproovTokenState & LivenessState>;
|
|
1730
1784
|
setLivenessVisibleFaceFinder(oval: LivenessRefDistance): void;
|
|
1731
1785
|
selectLivenessVisibleFaceFinder$(): Observable<LivenessRefDistance>;
|
|
1732
1786
|
selectLivenessAttempt$(): Observable<number>;
|
|
@@ -2617,6 +2671,7 @@ export declare class DropdownComponent extends BaseComponent {
|
|
|
2617
2671
|
options: DropdownOption[];
|
|
2618
2672
|
selection: string;
|
|
2619
2673
|
disabled: boolean;
|
|
2674
|
+
label: string;
|
|
2620
2675
|
render(): TemplateResult<1>;
|
|
2621
2676
|
}
|
|
2622
2677
|
|
|
@@ -2629,7 +2684,7 @@ export declare class DropdownSelectionEvent extends CustomEvent<DropdownOption>
|
|
|
2629
2684
|
constructor(params: DropdownOption);
|
|
2630
2685
|
}
|
|
2631
2686
|
|
|
2632
|
-
export declare type DsAppContainerLayout =
|
|
2687
|
+
export declare type DsAppContainerLayout = DsAppContainerLayoutCaptureScreen | DsAppContainerLayoutGeneric;
|
|
2633
2688
|
|
|
2634
2689
|
export declare interface DsAppContainerLayoutCaptureScreen {
|
|
2635
2690
|
type: DsAppContainerLayoutType.CaptureScreen;
|
|
@@ -2666,6 +2721,16 @@ export declare const E2E_MESSAGE_WAIT_TIME_MS: number;
|
|
|
2666
2721
|
|
|
2667
2722
|
export declare const E2E_MIN_WAIT_TIME_MS: number;
|
|
2668
2723
|
|
|
2724
|
+
export declare interface EidasResult {
|
|
2725
|
+
state: EidasResultType;
|
|
2726
|
+
}
|
|
2727
|
+
|
|
2728
|
+
export declare enum EidasResultType {
|
|
2729
|
+
SUCCESS = "SUCCESS",
|
|
2730
|
+
FAILURE = "FAILURE",
|
|
2731
|
+
NOT_AVAILABLE = "NOT_AVAILABLE"
|
|
2732
|
+
}
|
|
2733
|
+
|
|
2669
2734
|
export declare interface EIDASUrlResponse {
|
|
2670
2735
|
url: string;
|
|
2671
2736
|
}
|
|
@@ -2762,10 +2827,10 @@ export declare interface EuAddress {
|
|
|
2762
2827
|
export declare interface EventBody {
|
|
2763
2828
|
eventType: number;
|
|
2764
2829
|
timestamp: number;
|
|
2765
|
-
payload: {
|
|
2830
|
+
payload: Record<string, unknown> & {
|
|
2766
2831
|
value: string;
|
|
2767
2832
|
level: LogLevel;
|
|
2768
|
-
}
|
|
2833
|
+
};
|
|
2769
2834
|
}
|
|
2770
2835
|
|
|
2771
2836
|
export declare interface EventBodyAttachments<M extends EventMetadata = EventMetadata> {
|
|
@@ -2796,7 +2861,7 @@ declare interface EventLike<T> {
|
|
|
2796
2861
|
|
|
2797
2862
|
export declare type EventMetadata = Record<string, unknown>;
|
|
2798
2863
|
|
|
2799
|
-
export declare type EventType = '
|
|
2864
|
+
export declare type EventType = 'action' | 'arbitrary' | 'error' | 'screen' | 'trace';
|
|
2800
2865
|
|
|
2801
2866
|
declare interface EventWithToken {
|
|
2802
2867
|
event: Event;
|
|
@@ -2858,7 +2923,7 @@ export declare class FaceFinderComponent extends BaseComponent {
|
|
|
2858
2923
|
static styles: CSSResult[];
|
|
2859
2924
|
readonly canvasRef: Ref<HTMLCanvasElement>;
|
|
2860
2925
|
constructor();
|
|
2861
|
-
firstUpdated(changedProperties: PropertyValues): void;
|
|
2926
|
+
firstUpdated(changedProperties: PropertyValues<this>): void;
|
|
2862
2927
|
disconnectedCallback(): void;
|
|
2863
2928
|
handleScanningChange(scanning: boolean, withAnimation?: boolean): void;
|
|
2864
2929
|
render(): TemplateResult<1>;
|
|
@@ -2891,7 +2956,7 @@ export declare enum FacemapStep {
|
|
|
2891
2956
|
Finish = "identity-finish"
|
|
2892
2957
|
}
|
|
2893
2958
|
|
|
2894
|
-
export declare type FacemapStore = ReturnType<typeof createStore<[PropsFactory<CredentialFacemapState &
|
|
2959
|
+
export declare type FacemapStore = ReturnType<typeof createStore<[PropsFactory<CredentialFacemapState & IproovTokenState & LivenessState, undefined>]>>;
|
|
2895
2960
|
|
|
2896
2961
|
export declare enum FacemapVerificationMethod {
|
|
2897
2962
|
IproovStandard = "IPROOV_STANDARD",
|
|
@@ -2961,7 +3026,7 @@ export declare interface FilePartState extends FilePartResponse {
|
|
|
2961
3026
|
filename?: string;
|
|
2962
3027
|
}
|
|
2963
3028
|
|
|
2964
|
-
export declare type FilePickerError = '
|
|
3029
|
+
export declare type FilePickerError = 'file-type' | 'max-file-size';
|
|
2965
3030
|
|
|
2966
3031
|
export declare const FilePickerErrorMessage = "filepickererror";
|
|
2967
3032
|
|
|
@@ -2979,7 +3044,7 @@ export declare class FileSinkComponent extends BaseComponent {
|
|
|
2979
3044
|
filter: FileListFilter;
|
|
2980
3045
|
disconnectedCallback(): void;
|
|
2981
3046
|
render(): unknown;
|
|
2982
|
-
firstUpdated(changedProperties: PropertyValues): void;
|
|
3047
|
+
firstUpdated(changedProperties: PropertyValues<this>): void;
|
|
2983
3048
|
}
|
|
2984
3049
|
|
|
2985
3050
|
export declare enum FileSource {
|
|
@@ -2996,7 +3061,7 @@ export declare class FileSourceClipboardComponent extends BaseComponent {
|
|
|
2996
3061
|
#private;
|
|
2997
3062
|
disconnectedCallback(): void;
|
|
2998
3063
|
render(): unknown;
|
|
2999
|
-
firstUpdated(changedProperties: PropertyValues): void;
|
|
3064
|
+
firstUpdated(changedProperties: PropertyValues<this>): void;
|
|
3000
3065
|
}
|
|
3001
3066
|
|
|
3002
3067
|
export declare class FileSourcePickerComponent extends BaseComponent {
|
|
@@ -3012,21 +3077,21 @@ export declare class FileSourcePickerComponent extends BaseComponent {
|
|
|
3012
3077
|
fileInputCapture: boolean;
|
|
3013
3078
|
disconnectedCallback(): void;
|
|
3014
3079
|
render(): unknown;
|
|
3015
|
-
firstUpdated(changedProperties: PropertyValues): void;
|
|
3080
|
+
firstUpdated(changedProperties: PropertyValues<this>): void;
|
|
3016
3081
|
clearFile(): void;
|
|
3017
3082
|
}
|
|
3018
3083
|
|
|
3019
3084
|
export declare type FileSourceType = Static<typeof TbFileSource>;
|
|
3020
3085
|
|
|
3021
|
-
export declare type FileStoreKey =
|
|
3086
|
+
export declare type FileStoreKey = FileStoreKeyBRA_ID | FileStoreKeyDocument | FileStoreKeyFacemap | FileStoreKeyId | IdSequencePartName | LivenessSeriesPartName;
|
|
3022
3087
|
|
|
3023
3088
|
export declare type FileStoreKeyBRA_ID = `${UUID}_${IdTypeUpload.DigitalIdentity}_${UploadType.FrontSide}`;
|
|
3024
3089
|
|
|
3025
3090
|
declare type FileStoreKeyDocument = `${UUID}_${UploadType.Document}`;
|
|
3026
3091
|
|
|
3027
|
-
declare type FileStoreKeyFacemap =
|
|
3092
|
+
declare type FileStoreKeyFacemap = JLivePartName | `${string}_JUMIO_LIVENESS_BLOB` | `${UUID}_${UploadType.Face}`;
|
|
3028
3093
|
|
|
3029
|
-
declare type FileStoreKeyId = `${UUID}_${IdTypeUpload}_${UploadType.
|
|
3094
|
+
declare type FileStoreKeyId = `${UUID}_${IdTypeUpload}_${UploadType.BackSide | UploadType.FrontSide}`;
|
|
3030
3095
|
|
|
3031
3096
|
declare type FileStoreRecord<T = string> = Partial<Record<FileStoreKey, T>>;
|
|
3032
3097
|
|
|
@@ -3080,7 +3145,7 @@ declare interface FileWithNameBase64Url {
|
|
|
3080
3145
|
id: FileStoreKey;
|
|
3081
3146
|
}
|
|
3082
3147
|
|
|
3083
|
-
export declare const filterOutUndesiredIphoneCameras: <T extends
|
|
3148
|
+
export declare const filterOutUndesiredIphoneCameras: <T extends JMediaDeviceInfo | MediaDeviceInfo>(value: T) => boolean;
|
|
3084
3149
|
|
|
3085
3150
|
export declare interface FinalizeResponse {
|
|
3086
3151
|
extractDataExecuted: boolean;
|
|
@@ -3842,6 +3907,7 @@ export declare const getStateMachineIdActions: (credentialId: UUID) => {
|
|
|
3842
3907
|
readonly IdUsabilityCheckFailure: `${string}:id-usability-check-failure`;
|
|
3843
3908
|
readonly IdUsabilityCheckBackMissing: `${string}:id-usability-check-back-missing`;
|
|
3844
3909
|
readonly IdUsabilityCheckSuccess: `${string}:id-usability-check-success`;
|
|
3910
|
+
readonly IdEidasCheckSuccess: `${string}:id-eidas-check-success`;
|
|
3845
3911
|
readonly IdUsabilitySupportedList: `${string}:id-usability-supported-list`;
|
|
3846
3912
|
readonly IdUsabilityCheckReset: `${string}:id-usability-check-reset`;
|
|
3847
3913
|
readonly Upload: `${string}:id-upload`;
|
|
@@ -3951,7 +4017,7 @@ export declare const ID_CAPTURE_TYPES: {
|
|
|
3951
4017
|
|
|
3952
4018
|
export declare type IdCaptureTypes = ObjectValues<typeof ID_CAPTURE_TYPES>;
|
|
3953
4019
|
|
|
3954
|
-
export declare type IdCredentialSelection = Pick<StoreForIdCredential, 'selectedCountry' | '
|
|
4020
|
+
export declare type IdCredentialSelection = Pick<StoreForIdCredential, 'selectedCountry' | 'selectedDigitalIdentity' | 'selectedDocumentVariant' | 'selectedIdFormat' | 'selectedIdType'>;
|
|
3955
4021
|
|
|
3956
4022
|
export declare enum IdFormat {
|
|
3957
4023
|
Id1 = "ID1",
|
|
@@ -3962,7 +4028,7 @@ export declare enum IdFormat {
|
|
|
3962
4028
|
|
|
3963
4029
|
export declare type IdFormatType = Static<typeof TbIdFormat>;
|
|
3964
4030
|
|
|
3965
|
-
declare type IdSequencePartName = `${UUID}_ID_SEQUENCE_${UploadType.
|
|
4031
|
+
declare type IdSequencePartName = `${UUID}_ID_SEQUENCE_${UploadType.BackSide | UploadType.FrontSide}_${number}`;
|
|
3966
4032
|
|
|
3967
4033
|
export declare enum IdSide {
|
|
3968
4034
|
Front = "FRONT",
|
|
@@ -4177,9 +4243,9 @@ export declare const isTokenExpired$: () => Observable<boolean>;
|
|
|
4177
4243
|
|
|
4178
4244
|
export declare const isTransactionIdValid: (transactionId: string) => boolean | "";
|
|
4179
4245
|
|
|
4180
|
-
export declare type IsUsabilityBackMissing = {
|
|
4246
|
+
export declare type IsUsabilityBackMissing = Partial<Pick<ExtractedData, 'country' | 'idType'>> & {
|
|
4181
4247
|
isBackMissing: boolean;
|
|
4182
|
-
}
|
|
4248
|
+
};
|
|
4183
4249
|
|
|
4184
4250
|
export declare const isValidContainerType: (value: unknown) => value is DsAppContainerLayoutType;
|
|
4185
4251
|
|
|
@@ -4208,7 +4274,7 @@ export declare enum JLiveFallbackPolicy {
|
|
|
4208
4274
|
|
|
4209
4275
|
export declare type JLivePartName = `${UUID}_${FacemapVerificationMethod.JumioLiveness}_${number}`;
|
|
4210
4276
|
|
|
4211
|
-
export declare type JMediaDeviceInfo = Pick<MediaDeviceInfo, '
|
|
4277
|
+
export declare type JMediaDeviceInfo = Pick<MediaDeviceInfo, 'deviceId' | 'groupId' | 'kind' | 'label'> & {
|
|
4212
4278
|
capabilities: MediaTrackCapabilities;
|
|
4213
4279
|
};
|
|
4214
4280
|
|
|
@@ -4487,7 +4553,7 @@ declare class JumioSdkLogotypeController implements ReactiveController {
|
|
|
4487
4553
|
getLogoFromSettings(): string | undefined;
|
|
4488
4554
|
}
|
|
4489
4555
|
|
|
4490
|
-
export declare type JumioSdkMessage = JumioSdkMessageError |
|
|
4556
|
+
export declare type JumioSdkMessage = JumioSdkMessageError | JumioSdkMessageProgress | JumioSdkMessageSuccess;
|
|
4491
4557
|
|
|
4492
4558
|
export declare interface JumioSdkMessageBase {
|
|
4493
4559
|
id: JumioSdkMessageId;
|
|
@@ -4586,7 +4652,7 @@ export declare class JumioSdkNavigationBrowserComponent extends BaseComponent im
|
|
|
4586
4652
|
private lastPushedState;
|
|
4587
4653
|
private initialWorkflowState;
|
|
4588
4654
|
disconnectedCallback(): void;
|
|
4589
|
-
firstUpdated(changedProperties: PropertyValues): void;
|
|
4655
|
+
firstUpdated(changedProperties: PropertyValues<this>): void;
|
|
4590
4656
|
render(): TemplateResult<1>;
|
|
4591
4657
|
back(): void;
|
|
4592
4658
|
pushState: ({ data, url, unused }: UpdateStateParams) => void;
|
|
@@ -4611,7 +4677,7 @@ export declare class JumioSdkNavigationComponent extends BaseComponent implement
|
|
|
4611
4677
|
#private;
|
|
4612
4678
|
static styles: CSSResult[];
|
|
4613
4679
|
navigationConfig: NavigationConfig<NavigationType_2>[];
|
|
4614
|
-
firstUpdated(changedProperties: PropertyValues): void;
|
|
4680
|
+
firstUpdated(changedProperties: PropertyValues<this>): void;
|
|
4615
4681
|
disconnectedCallback(): void;
|
|
4616
4682
|
get workflowController(): WorkflowController;
|
|
4617
4683
|
render(): TemplateResult<1>;
|
|
@@ -4644,7 +4710,7 @@ export declare class JumioSdkNavigationMemoryComponent extends BaseComponent imp
|
|
|
4644
4710
|
navigationService: this;
|
|
4645
4711
|
interceptors: JumioSdkNavigationInterceptor[];
|
|
4646
4712
|
navigationConfig: NavigationConfig<NavigationType_2.Memory>[];
|
|
4647
|
-
firstUpdated(changedProperties: PropertyValues): void;
|
|
4713
|
+
firstUpdated(changedProperties: PropertyValues<this>): void;
|
|
4648
4714
|
disconnectedCallback(): void;
|
|
4649
4715
|
render(): TemplateResult<1>;
|
|
4650
4716
|
back(): void;
|
|
@@ -5739,10 +5805,10 @@ export declare class JumioSdkSupplementalImagesComponent extends BaseComponent i
|
|
|
5739
5805
|
#private;
|
|
5740
5806
|
static styles: CSSResult[];
|
|
5741
5807
|
updateNotifier?: SupplementalImageUpdateNotifier;
|
|
5742
|
-
set config(value: ConfigurationSupplementalImage |
|
|
5743
|
-
get config(): ConfigurationSupplementalImage |
|
|
5744
|
-
set uploadType(value: SupplementalImageUploadTypePrefix |
|
|
5745
|
-
get uploadType(): SupplementalImageUploadTypePrefix |
|
|
5808
|
+
set config(value: ConfigurationSupplementalImage | null | undefined);
|
|
5809
|
+
get config(): ConfigurationSupplementalImage | null | undefined;
|
|
5810
|
+
set uploadType(value: SupplementalImageUploadTypePrefix | null | undefined);
|
|
5811
|
+
get uploadType(): SupplementalImageUploadTypePrefix | null | undefined;
|
|
5746
5812
|
constructor();
|
|
5747
5813
|
connectedCallback(): void;
|
|
5748
5814
|
disconnectedCallback(): void;
|
|
@@ -5887,7 +5953,7 @@ export declare interface LivenessFaceFinder {
|
|
|
5887
5953
|
fillRatio: number;
|
|
5888
5954
|
}
|
|
5889
5955
|
|
|
5890
|
-
export declare type LivenessFaceFinderDistance = '
|
|
5956
|
+
export declare type LivenessFaceFinderDistance = 'far' | 'initial' | 'near';
|
|
5891
5957
|
|
|
5892
5958
|
export declare interface LivenessFaceFinderEllipse extends LivenessFaceFinder {
|
|
5893
5959
|
cx: number;
|
|
@@ -5918,7 +5984,7 @@ cls?: CameraLivenessStatus;
|
|
|
5918
5984
|
clsm?: CameraLivenessStatus;
|
|
5919
5985
|
}>;
|
|
5920
5986
|
|
|
5921
|
-
export declare type LivenessRefDistance = '
|
|
5987
|
+
export declare type LivenessRefDistance = 'far' | 'initial' | 'near';
|
|
5922
5988
|
|
|
5923
5989
|
export declare enum LivenessResult {
|
|
5924
5990
|
True = "TRUE",
|
|
@@ -6078,7 +6144,7 @@ export declare enum ManualCaptureFallbackReason {
|
|
|
6078
6144
|
|
|
6079
6145
|
export declare const maxFileSizeMessage: (maxFileSize: number) => string;
|
|
6080
6146
|
|
|
6081
|
-
declare type MediaDeviceMetadata = Partial<Pick<MediaDeviceInfo, '
|
|
6147
|
+
declare type MediaDeviceMetadata = Partial<Pick<MediaDeviceInfo, 'deviceId' | 'groupId' | 'kind' | 'label'>>;
|
|
6082
6148
|
|
|
6083
6149
|
export declare type MerchantSettingsAutocapture = Static<typeof TbMerchantSettingsAutocaptureSchema>;
|
|
6084
6150
|
|
|
@@ -6087,9 +6153,11 @@ export declare type MerchantSettingsBranding = Static<typeof TbMerchantSettingsB
|
|
|
6087
6153
|
export declare type MerchantSettingsCrossDevice = Static<typeof TbMerchantSettingsCrossDeviceSchema>;
|
|
6088
6154
|
|
|
6089
6155
|
export declare class MessageDetailsComponent extends BaseComponent {
|
|
6156
|
+
#private;
|
|
6090
6157
|
static styles: CSSResult[];
|
|
6091
6158
|
title: string;
|
|
6092
6159
|
message: string;
|
|
6160
|
+
firstUpdated(changedProperties: PropertyValues<this>): void;
|
|
6093
6161
|
render(): TemplateResult_2<1>;
|
|
6094
6162
|
}
|
|
6095
6163
|
|
|
@@ -6159,9 +6227,9 @@ export declare interface MultipartFile {
|
|
|
6159
6227
|
multipartName: FileStoreKey;
|
|
6160
6228
|
fileType: FileType;
|
|
6161
6229
|
country?: CountryCode;
|
|
6162
|
-
uploadType: UploadType |
|
|
6230
|
+
uploadType: UploadType | UploadTypeJumioLiveness | UploadTypeLivenessSeries | UploadTypeSupplementalImageId | UploadTypeSupplementalImageSelfie;
|
|
6163
6231
|
idType?: IdTypeUpload;
|
|
6164
|
-
captureMethod?:
|
|
6232
|
+
captureMethod?: IdCaptureTypes | LivenessCaptureTypes;
|
|
6165
6233
|
docType?: string;
|
|
6166
6234
|
usabilityExpected: boolean;
|
|
6167
6235
|
fileMetaData?: Record<string, unknown>;
|
|
@@ -6372,7 +6440,7 @@ export declare class QrCodeComponent extends BaseComponent {
|
|
|
6372
6440
|
constructor();
|
|
6373
6441
|
updated(): void;
|
|
6374
6442
|
render(): TemplateResult_2;
|
|
6375
|
-
toCanvas(canvasElement: HTMLCanvasElement, text:
|
|
6443
|
+
toCanvas(canvasElement: HTMLCanvasElement, text: QRCodeSegment[] | string, options: QRCodeRenderersOptions, callback: (error: Error | null | undefined) => void): void;
|
|
6376
6444
|
}
|
|
6377
6445
|
|
|
6378
6446
|
export declare class RadioListComponent extends BaseComponent {
|
|
@@ -6635,7 +6703,7 @@ export declare enum RequestCode {
|
|
|
6635
6703
|
|
|
6636
6704
|
export declare type RequestCodeType = Static<typeof TbRequestCode>;
|
|
6637
6705
|
|
|
6638
|
-
export declare type RequestOutcome<TSuccess, TError> =
|
|
6706
|
+
export declare type RequestOutcome<TSuccess, TError> = RequestOutcomeError<TError> | RequestOutcomeLoading | RequestOutcomeReady | RequestOutcomeSuccess<TSuccess>;
|
|
6639
6707
|
|
|
6640
6708
|
export declare interface RequestOutcomeError<TError = unknown> {
|
|
6641
6709
|
type: RequestStatusType.Error;
|
|
@@ -6744,8 +6812,6 @@ export declare const selectAutocaptureStore$: () => Observable<AutocaptureStore>
|
|
|
6744
6812
|
|
|
6745
6813
|
export declare const selectCameraBusyStatus$: () => Observable<boolean>;
|
|
6746
6814
|
|
|
6747
|
-
export declare const selectCameraEverPlayed$: () => Observable<boolean>;
|
|
6748
|
-
|
|
6749
6815
|
export declare const selectCameraPermissionState$: () => Observable<PermissionState>;
|
|
6750
6816
|
|
|
6751
6817
|
export declare const selectCameraPlaybackRequest$: () => Observable<SwitchCameraCommand | SwitchStreamCommand>;
|
|
@@ -6869,131 +6935,131 @@ variant: string;
|
|
|
6869
6935
|
export declare const selectEidasUrl$: () => Observable<string | undefined>;
|
|
6870
6936
|
|
|
6871
6937
|
export declare const selectEssentialWorkflowParams$: () => Observable<{
|
|
6872
|
-
sessionUrl: string;
|
|
6873
|
-
baseUrl: string;
|
|
6874
|
-
token: string;
|
|
6875
|
-
locale: Locale;
|
|
6876
|
-
finalized: boolean;
|
|
6877
|
-
consentGivenSent: boolean;
|
|
6878
|
-
linked: boolean;
|
|
6879
|
-
acquisitionStatus: AcquisitionStatus;
|
|
6880
|
-
acquisitionPolling: boolean;
|
|
6881
6938
|
step: VirtualStep.Setup;
|
|
6882
6939
|
substep: undefined;
|
|
6883
6940
|
credentialId: UUID_2 | undefined;
|
|
6884
6941
|
shouldStoreNavigationState: boolean;
|
|
6885
6942
|
activeScreen: ActiveScreen;
|
|
6886
6943
|
parsedToken?: Token_2<Date> | undefined;
|
|
6944
|
+
token: string;
|
|
6887
6945
|
transactionId: UUID_2;
|
|
6888
6946
|
tokenExpired: boolean;
|
|
6889
|
-
} | {
|
|
6890
6947
|
sessionUrl: string;
|
|
6891
6948
|
baseUrl: string;
|
|
6892
|
-
token: string;
|
|
6893
6949
|
locale: Locale;
|
|
6894
6950
|
finalized: boolean;
|
|
6895
6951
|
consentGivenSent: boolean;
|
|
6896
6952
|
linked: boolean;
|
|
6897
6953
|
acquisitionStatus: AcquisitionStatus;
|
|
6898
6954
|
acquisitionPolling: boolean;
|
|
6955
|
+
} | {
|
|
6899
6956
|
step: VirtualStep.Start;
|
|
6900
6957
|
substep: StartStep_2;
|
|
6901
6958
|
credentialId: UUID_2 | undefined;
|
|
6902
6959
|
shouldStoreNavigationState: boolean;
|
|
6903
6960
|
activeScreen: ActiveScreen;
|
|
6904
6961
|
parsedToken?: Token_2<Date> | undefined;
|
|
6962
|
+
token: string;
|
|
6905
6963
|
transactionId: UUID_2;
|
|
6906
6964
|
tokenExpired: boolean;
|
|
6907
|
-
} | {
|
|
6908
6965
|
sessionUrl: string;
|
|
6909
6966
|
baseUrl: string;
|
|
6910
|
-
token: string;
|
|
6911
6967
|
locale: Locale;
|
|
6912
6968
|
finalized: boolean;
|
|
6913
6969
|
consentGivenSent: boolean;
|
|
6914
6970
|
linked: boolean;
|
|
6915
6971
|
acquisitionStatus: AcquisitionStatus;
|
|
6916
6972
|
acquisitionPolling: boolean;
|
|
6973
|
+
} | {
|
|
6917
6974
|
step: Category_3.Id;
|
|
6918
6975
|
substep: IdStep_2;
|
|
6919
6976
|
credentialId: UUID_2 | undefined;
|
|
6920
6977
|
shouldStoreNavigationState: boolean;
|
|
6921
6978
|
activeScreen: ActiveScreen;
|
|
6922
6979
|
parsedToken?: Token_2<Date> | undefined;
|
|
6980
|
+
token: string;
|
|
6923
6981
|
transactionId: UUID_2;
|
|
6924
6982
|
tokenExpired: boolean;
|
|
6925
|
-
} | {
|
|
6926
6983
|
sessionUrl: string;
|
|
6927
6984
|
baseUrl: string;
|
|
6928
|
-
token: string;
|
|
6929
6985
|
locale: Locale;
|
|
6930
6986
|
finalized: boolean;
|
|
6931
6987
|
consentGivenSent: boolean;
|
|
6932
6988
|
linked: boolean;
|
|
6933
6989
|
acquisitionStatus: AcquisitionStatus;
|
|
6934
6990
|
acquisitionPolling: boolean;
|
|
6991
|
+
} | {
|
|
6935
6992
|
step: Category_3.Facemap;
|
|
6936
6993
|
substep: FacemapStep_2;
|
|
6937
6994
|
credentialId: UUID_2 | undefined;
|
|
6938
6995
|
shouldStoreNavigationState: boolean;
|
|
6939
6996
|
activeScreen: ActiveScreen;
|
|
6940
6997
|
parsedToken?: Token_2<Date> | undefined;
|
|
6998
|
+
token: string;
|
|
6941
6999
|
transactionId: UUID_2;
|
|
6942
7000
|
tokenExpired: boolean;
|
|
6943
|
-
} | {
|
|
6944
7001
|
sessionUrl: string;
|
|
6945
7002
|
baseUrl: string;
|
|
6946
|
-
token: string;
|
|
6947
7003
|
locale: Locale;
|
|
6948
7004
|
finalized: boolean;
|
|
6949
7005
|
consentGivenSent: boolean;
|
|
6950
7006
|
linked: boolean;
|
|
6951
7007
|
acquisitionStatus: AcquisitionStatus;
|
|
6952
7008
|
acquisitionPolling: boolean;
|
|
7009
|
+
} | {
|
|
6953
7010
|
step: Category_3.Document;
|
|
6954
7011
|
substep: DocumentStep_2;
|
|
6955
7012
|
credentialId: UUID_2 | undefined;
|
|
6956
7013
|
shouldStoreNavigationState: boolean;
|
|
6957
7014
|
activeScreen: ActiveScreen;
|
|
6958
7015
|
parsedToken?: Token_2<Date> | undefined;
|
|
7016
|
+
token: string;
|
|
6959
7017
|
transactionId: UUID_2;
|
|
6960
7018
|
tokenExpired: boolean;
|
|
6961
|
-
} | {
|
|
6962
7019
|
sessionUrl: string;
|
|
6963
7020
|
baseUrl: string;
|
|
6964
|
-
token: string;
|
|
6965
7021
|
locale: Locale;
|
|
6966
7022
|
finalized: boolean;
|
|
6967
7023
|
consentGivenSent: boolean;
|
|
6968
7024
|
linked: boolean;
|
|
6969
7025
|
acquisitionStatus: AcquisitionStatus;
|
|
6970
7026
|
acquisitionPolling: boolean;
|
|
7027
|
+
} | {
|
|
6971
7028
|
step: Category_3.Data;
|
|
6972
7029
|
substep: DataStep_2;
|
|
6973
7030
|
credentialId: UUID_2 | undefined;
|
|
6974
7031
|
shouldStoreNavigationState: boolean;
|
|
6975
7032
|
activeScreen: ActiveScreen;
|
|
6976
7033
|
parsedToken?: Token_2<Date> | undefined;
|
|
7034
|
+
token: string;
|
|
6977
7035
|
transactionId: UUID_2;
|
|
6978
7036
|
tokenExpired: boolean;
|
|
6979
|
-
} | {
|
|
6980
7037
|
sessionUrl: string;
|
|
6981
7038
|
baseUrl: string;
|
|
6982
|
-
token: string;
|
|
6983
7039
|
locale: Locale;
|
|
6984
7040
|
finalized: boolean;
|
|
6985
7041
|
consentGivenSent: boolean;
|
|
6986
7042
|
linked: boolean;
|
|
6987
7043
|
acquisitionStatus: AcquisitionStatus;
|
|
6988
7044
|
acquisitionPolling: boolean;
|
|
7045
|
+
} | {
|
|
6989
7046
|
step: VirtualStep.Finish;
|
|
6990
7047
|
substep: undefined;
|
|
6991
7048
|
credentialId: UUID_2 | undefined;
|
|
6992
7049
|
shouldStoreNavigationState: boolean;
|
|
6993
7050
|
activeScreen: ActiveScreen;
|
|
6994
7051
|
parsedToken?: Token_2<Date> | undefined;
|
|
7052
|
+
token: string;
|
|
6995
7053
|
transactionId: UUID_2;
|
|
6996
7054
|
tokenExpired: boolean;
|
|
7055
|
+
sessionUrl: string;
|
|
7056
|
+
baseUrl: string;
|
|
7057
|
+
locale: Locale;
|
|
7058
|
+
finalized: boolean;
|
|
7059
|
+
consentGivenSent: boolean;
|
|
7060
|
+
linked: boolean;
|
|
7061
|
+
acquisitionStatus: AcquisitionStatus;
|
|
7062
|
+
acquisitionPolling: boolean;
|
|
6997
7063
|
}>;
|
|
6998
7064
|
|
|
6999
7065
|
export declare const selectFaceFinderBackgroundColor$: () => Observable<string | undefined>;
|
|
@@ -7706,7 +7772,7 @@ export declare type SupplementalImageUpdateNotifier = () => void;
|
|
|
7706
7772
|
|
|
7707
7773
|
export declare type SupplementalImageUploadTypePrefix = SupplementalImageUploadTypePrefixId | SupplementalImageUploadTypePrefixSelfie;
|
|
7708
7774
|
|
|
7709
|
-
export declare type SupplementalImageUploadTypePrefixId = `ID_SEQUENCE_${UploadType.
|
|
7775
|
+
export declare type SupplementalImageUploadTypePrefixId = `ID_SEQUENCE_${UploadType.BackSide | UploadType.FrontSide}_`;
|
|
7710
7776
|
|
|
7711
7777
|
export declare type SupplementalImageUploadTypePrefixSelfie = `LIVENESS_SERIES_`;
|
|
7712
7778
|
|
|
@@ -7730,7 +7796,7 @@ export declare interface SwitchStreamCommandParams {
|
|
|
7730
7796
|
|
|
7731
7797
|
export declare const SwitchStreamCommandType = "switchstream";
|
|
7732
7798
|
|
|
7733
|
-
export declare type TagName = 'cameraEverPlayed' | 'classifier' | 'country' | 'customerId' | 'customerName' | 'customerReference' | 'device' | 'deviceNames' | 'displayMode' | 'document' | 'error' | 'hostname' | 'hostnameRuntime' | 'hostnameRuntimeOs' | 'hostnameRuntimeOsVersion' | 'idAutocaptureFallbackReason' | 'idAutocaptureFps' | 'idAutocaptureState' | 'iframe' | 'jLiveDuration' | 'jliveFramesCaptured' | 'jliveProgressCurrentStep' | 'jliveProgressStepsTotal' | 'jumioHosted' | 'lastScreen' | 'linked' | 'locale' | 'runtime' | 'scanReference' | 'screen' | 'supplementalImageFpsFacemap' | 'supplementalImageFpsId' | 'templates' | 'variant' | 'webview' | 'workflow';
|
|
7799
|
+
export declare type TagName = 'cameraEverPlayed' | 'classifier' | 'country' | 'customerId' | 'customerName' | 'customerReference' | 'device' | 'deviceNames' | 'displayMode' | 'document' | 'error' | 'hostname' | 'hostnameRuntime' | 'hostnameRuntimeOs' | 'hostnameRuntimeOsVersion' | 'hostnameRuntimeWorkflow' | 'hostnameRuntimeWorkflowOs' | 'hostnameWorkflow' | 'hostnameWorkflowOs' | 'idAutocaptureFallbackReason' | 'idAutocaptureFps' | 'idAutocaptureState' | 'iframe' | 'jLiveDuration' | 'jliveFramesCaptured' | 'jliveProgressCurrentStep' | 'jliveProgressStepsTotal' | 'jumioHosted' | 'lastScreen' | 'linked' | 'locale' | 'runtime' | 'runtimeWorkflow' | 'scanReference' | 'screen' | 'supplementalImageFpsFacemap' | 'supplementalImageFpsId' | 'templates' | 'variant' | 'webview' | 'workflow';
|
|
7734
7800
|
|
|
7735
7801
|
export declare type Tags<N extends TagName = TagName> = Partial<Record<N, unknown>>;
|
|
7736
7802
|
|
|
@@ -9526,6 +9592,7 @@ export declare interface Transport {
|
|
|
9526
9592
|
getIproovToken$(reason: string): Observable<IproovTokenData | undefined>;
|
|
9527
9593
|
validateIproovToken$(params: ValidateIproovTokenRequest): Observable<ValidateIproovTokenResponse>;
|
|
9528
9594
|
checkUsability$(params: CheckUsabilityParams): Observable<UsabilityResult>;
|
|
9595
|
+
checkEidas$(): Observable<EidasResult>;
|
|
9529
9596
|
extractData$(): Observable<ExtractedDataResponse>;
|
|
9530
9597
|
uploadData$(params: UploadDataParams): Observable<UploadResponse>;
|
|
9531
9598
|
getAcquisitionStatus$(): Observable<AcquisitionStatusResponse>;
|
|
@@ -9581,7 +9648,7 @@ export declare const updateSettings: (partialSettings: Partial<Settings>) => voi
|
|
|
9581
9648
|
export declare interface UpdateStateParams {
|
|
9582
9649
|
data: BackupEntryDescriptor;
|
|
9583
9650
|
unused?: string;
|
|
9584
|
-
url:
|
|
9651
|
+
url: URL | string | null;
|
|
9585
9652
|
}
|
|
9586
9653
|
|
|
9587
9654
|
export declare const updateWorkflowState: (params: Partial<WorkflowState>) => void;
|
|
@@ -9626,7 +9693,7 @@ export declare interface UploadResponse {
|
|
|
9626
9693
|
documentResult?: DocumentResultResponse;
|
|
9627
9694
|
}
|
|
9628
9695
|
|
|
9629
|
-
export declare type UploadState<TFile = Blob> =
|
|
9696
|
+
export declare type UploadState<TFile = Blob> = UploadStateError<TFile> | UploadStateNotStarted | UploadStateSuccess<TFile> | UploadStateUploading<TFile>;
|
|
9630
9697
|
|
|
9631
9698
|
export declare interface UploadStateBase<T extends UploadStatus> {
|
|
9632
9699
|
id: FileStoreKey;
|
|
@@ -9669,11 +9736,11 @@ export declare enum UploadType {
|
|
|
9669
9736
|
MrzImage = "MRZ_IMAGE"
|
|
9670
9737
|
}
|
|
9671
9738
|
|
|
9672
|
-
export declare type UploadTypeJumioLiveness = `JUMIO_LIVENESS_${number}
|
|
9739
|
+
export declare type UploadTypeJumioLiveness = 'JUMIO_LIVENESS_BLOB' | `JUMIO_LIVENESS_${number}`;
|
|
9673
9740
|
|
|
9674
9741
|
export declare type UploadTypeLivenessSeries = `LIVENESS_SERIES_${number}`;
|
|
9675
9742
|
|
|
9676
|
-
export declare type UploadTypeSupplementalImageId = `ID_SEQUENCE_${UploadType.
|
|
9743
|
+
export declare type UploadTypeSupplementalImageId = `ID_SEQUENCE_${UploadType.BackSide | UploadType.FrontSide}_${number}`;
|
|
9677
9744
|
|
|
9678
9745
|
export declare type UploadTypeSupplementalImageSelfie = `SELFIE_SEQUENCE_${number}`;
|
|
9679
9746
|
|
|
@@ -9767,14 +9834,14 @@ export declare interface UsAddress {
|
|
|
9767
9834
|
export declare interface UsedCaptureTypes {
|
|
9768
9835
|
livenessCaptureType?: LivenessCaptureTypes;
|
|
9769
9836
|
idCaptureType?: IdCaptureTypes;
|
|
9770
|
-
usedAllCaptureTypes: (
|
|
9837
|
+
usedAllCaptureTypes: (IdCaptureTypes | LivenessCaptureTypes)[];
|
|
9771
9838
|
}
|
|
9772
9839
|
|
|
9773
9840
|
export declare const usedCaptureTypesEvent: EventDispatcher_2< {
|
|
9774
9841
|
livenessCaptureType?: LivenessCaptureTypes;
|
|
9775
9842
|
idCaptureType?: IdCaptureTypes;
|
|
9776
9843
|
xDeviceJourney: boolean;
|
|
9777
|
-
usedAllCaptureTypes: (
|
|
9844
|
+
usedAllCaptureTypes: (IdCaptureTypes | LivenessCaptureTypes)[];
|
|
9778
9845
|
}>;
|
|
9779
9846
|
|
|
9780
9847
|
export declare type UUID = Static<typeof TbUUIDSchema>;
|
|
@@ -9906,7 +9973,7 @@ export declare interface Workflow {
|
|
|
9906
9973
|
checkAcquisitionStatusPolling$(interval?: number): Observable<AcquisitionStatusResponse>;
|
|
9907
9974
|
goToPreviousStep(): void;
|
|
9908
9975
|
goToNextStep(): void;
|
|
9909
|
-
getStepById<T extends
|
|
9976
|
+
getStepById<T extends Category | VirtualStep>(category: T, credentialId?: UUID): WorkflowStep<T>;
|
|
9910
9977
|
getWorkflowState(): WorkflowState;
|
|
9911
9978
|
setWorkflowState(params: Partial<WorkflowState>): void;
|
|
9912
9979
|
}
|
|
@@ -9953,7 +10020,7 @@ export declare interface WorkflowController {
|
|
|
9953
10020
|
getConfiguration(): WorkflowConfigurationController;
|
|
9954
10021
|
selectStepChange$(): Observable<StepChangeParams>;
|
|
9955
10022
|
onStepChange(callback: StepChangeCallback): Teardown;
|
|
9956
|
-
getControllerById<T extends
|
|
10023
|
+
getControllerById<T extends Category | VirtualStep>(category: T, credentialId?: UUID): WorkflowStepController<T>;
|
|
9957
10024
|
extractData$(): Observable<ExtractedDataResponse>;
|
|
9958
10025
|
extractDataAsync(): Promise<ExtractedDataResponse>;
|
|
9959
10026
|
finalize$(): Observable<FinalizeResponse>;
|
|
@@ -9972,11 +10039,14 @@ export declare interface WorkflowController {
|
|
|
9972
10039
|
|
|
9973
10040
|
export declare interface WorkflowEidas {
|
|
9974
10041
|
getUrl$(locale: Locale): Observable<EIDASUrlResponse>;
|
|
10042
|
+
checkEidas$(): Observable<EidasResult>;
|
|
9975
10043
|
}
|
|
9976
10044
|
|
|
9977
10045
|
export declare interface WorkflowEidasController {
|
|
9978
10046
|
getEidasUrl$(locale: Locale): Observable<EIDASUrlResponse>;
|
|
9979
10047
|
getEidasUrlAsync(locale: Locale): Promise<EIDASUrlResponse>;
|
|
10048
|
+
checkEidas$(): Observable<EidasResult>;
|
|
10049
|
+
checkEidasAsync(): Promise<EidasResult>;
|
|
9980
10050
|
}
|
|
9981
10051
|
|
|
9982
10052
|
export declare interface WorkflowEmail {
|
|
@@ -9988,9 +10058,9 @@ export declare interface WorkflowEmailController {
|
|
|
9988
10058
|
sendEmailAsync(emailRequest: EmailRequest): Promise<EmailResponse>;
|
|
9989
10059
|
}
|
|
9990
10060
|
|
|
9991
|
-
export declare type WorkflowEventBody<T extends WorkflowEventType> = {
|
|
10061
|
+
export declare type WorkflowEventBody<T extends WorkflowEventType> = WorkflowEventMetadata & {
|
|
9992
10062
|
type: T;
|
|
9993
|
-
}
|
|
10063
|
+
};
|
|
9994
10064
|
|
|
9995
10065
|
export declare interface WorkflowEventMetadata {
|
|
9996
10066
|
locale?: Locale;
|
|
@@ -9999,7 +10069,7 @@ export declare interface WorkflowEventMetadata {
|
|
|
9999
10069
|
workflowExecutionId?: string;
|
|
10000
10070
|
}
|
|
10001
10071
|
|
|
10002
|
-
export declare type WorkflowEventType = 'workflow:
|
|
10072
|
+
export declare type WorkflowEventType = 'workflow:failed' | 'workflow:retry' | 'workflow:start' | 'workflow:success';
|
|
10003
10073
|
|
|
10004
10074
|
export declare type WorkflowFailedCustomEvent = ReturnType<typeof createWorkflowFailedEvent>;
|
|
10005
10075
|
|
|
@@ -10007,7 +10077,7 @@ export declare class WorkflowInitiateEvent extends CustomEvent<WorkflowInitiateE
|
|
|
10007
10077
|
constructor(detail: WorkflowInitiateEventParams);
|
|
10008
10078
|
}
|
|
10009
10079
|
|
|
10010
|
-
export declare type WorkflowInitiateEventParams = Pick<WorkflowState, '
|
|
10080
|
+
export declare type WorkflowInitiateEventParams = Pick<WorkflowState, 'baseUrl' | 'linked' | 'locale' | 'sessionUrl' | 'token'>;
|
|
10011
10081
|
|
|
10012
10082
|
export declare const workflowRestarted: EventDispatcher_2<EventMetadata_2>;
|
|
10013
10083
|
|
|
@@ -10026,11 +10096,11 @@ declare interface WorkflowSetupParameters {
|
|
|
10026
10096
|
visitedScreens: string[];
|
|
10027
10097
|
}
|
|
10028
10098
|
|
|
10029
|
-
export declare type WorkflowSetupParametersMandatory = Pick<WorkflowState, 'baseUrl' | '
|
|
10099
|
+
export declare type WorkflowSetupParametersMandatory = Pick<WorkflowState, 'baseUrl' | 'locale' | 'token' | 'transactionId'>;
|
|
10030
10100
|
|
|
10031
10101
|
export declare type WorkflowStartCustomEvent = ReturnType<typeof createWorkflowStartEvent>;
|
|
10032
10102
|
|
|
10033
|
-
export declare type WorkflowState<TExpiration = Date> =
|
|
10103
|
+
export declare type WorkflowState<TExpiration = Date> = NavigationStep & TokenState<TExpiration> & WorkflowSetupParameters;
|
|
10034
10104
|
|
|
10035
10105
|
export declare type WorkflowStep<T extends CredentialStep = CredentialStep> = WorkflowStepMap[T];
|
|
10036
10106
|
|