idmission-web-sdk 1.0.347 → 1.0.348
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/dist/components/camera/CameraProvider.d.ts +2 -0
- package/dist/components/camera/MicrophoneAccessDeniedOverlay.d.ts +30 -0
- package/dist/components/customer_flows/VideoIdValidation.d.ts +6 -0
- package/dist/components/face_liveness/FaceLivenessCapture.d.ts +4 -1
- package/dist/components/face_liveness/FaceLivenessWizard.d.ts +2 -1
- package/dist/components/fallback_flows/IdCapture.d.ts +2 -1
- package/dist/components/fallback_flows/SelfieCapture.d.ts +4 -1
- package/dist/components/id_capture/IdCaptureModelsProvider.d.ts +1 -1
- package/dist/components/id_capture/IdCaptureWizard.d.ts +2 -1
- package/dist/components/read_text_prompt/ReadTextPrompt.d.ts +1 -1
- package/dist/components/selfie_capture/SelfieCaptureLoadingOverlay.d.ts +5 -0
- package/dist/components/submission/SubmissionProvider.d.ts +2 -0
- package/dist/components/video_id/IdVideoCapture.d.ts +3 -1
- package/dist/components/video_id/IdVideoCaptureSuccess.d.ts +2 -0
- package/dist/components/video_id/IdVideoCaptureWizard.d.ts +4 -1
- package/dist/contexts/SubmissionContext.d.ts +2 -1
- package/dist/lib/locales/es/translation.d.ts +7 -0
- package/dist/lib/locales/index.d.ts +7 -0
- package/dist/sdk2.cjs.development.js +1677 -1366
- package/dist/sdk2.cjs.development.js.map +1 -1
- package/dist/sdk2.cjs.production.js +1 -1
- package/dist/sdk2.cjs.production.js.map +1 -1
- package/dist/sdk2.esm.js +1677 -1366
- package/dist/sdk2.esm.js.map +1 -1
- package/dist/sdk2.umd.development.js +1677 -1366
- package/dist/sdk2.umd.development.js.map +1 -1
- package/dist/sdk2.umd.production.js +1 -1
- package/dist/sdk2.umd.production.js.map +1 -1
- package/dist/stories/CustomerFlows/VideoIdValidation.stories.d.ts +25 -1
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -15,6 +15,8 @@ export type CameraState = {
|
|
|
15
15
|
takePhoto: () => Promise<Blob | null>;
|
|
16
16
|
audioStream: MediaStream | null;
|
|
17
17
|
microphoneReady: boolean;
|
|
18
|
+
microphoneAccessDenied: boolean;
|
|
19
|
+
retryMicrophoneAccess: () => void;
|
|
18
20
|
};
|
|
19
21
|
export declare const CameraStateContext: React.Context<CameraState>;
|
|
20
22
|
export type CameraProviderProps = {
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
import { LoaderButtonColors } from '../common/LoaderButton';
|
|
3
|
+
import { CustomerSuppliedVerbiage } from '../../lib/locales';
|
|
4
|
+
export type MicrophoneAccessDeniedOverlayAssets = {
|
|
5
|
+
imageUrl?: string;
|
|
6
|
+
};
|
|
7
|
+
export type MicrophoneAccessDeniedOverlayClassNames = {
|
|
8
|
+
container?: string;
|
|
9
|
+
inner?: string;
|
|
10
|
+
imageContainer?: string;
|
|
11
|
+
image?: string;
|
|
12
|
+
heading?: string;
|
|
13
|
+
description?: string;
|
|
14
|
+
retryBtn?: string;
|
|
15
|
+
};
|
|
16
|
+
export type MicrophoneAccessDeniedOverlayColors = {
|
|
17
|
+
retryBtn?: LoaderButtonColors;
|
|
18
|
+
};
|
|
19
|
+
export type MicrophoneAccessDeniedOverlayVerbiage = {
|
|
20
|
+
headingText?: CustomerSuppliedVerbiage;
|
|
21
|
+
descriptionText?: CustomerSuppliedVerbiage;
|
|
22
|
+
retryBtnText?: CustomerSuppliedVerbiage;
|
|
23
|
+
};
|
|
24
|
+
export type MicrophoneAccessDeniedOverlayProps = {
|
|
25
|
+
assets?: MicrophoneAccessDeniedOverlayAssets;
|
|
26
|
+
classNames?: MicrophoneAccessDeniedOverlayClassNames;
|
|
27
|
+
colors?: MicrophoneAccessDeniedOverlayColors;
|
|
28
|
+
verbiage?: MicrophoneAccessDeniedOverlayVerbiage;
|
|
29
|
+
};
|
|
30
|
+
export declare const MicrophoneAccessDeniedOverlay: ({ assets, classNames, colors, verbiage: rawVerbiage, }: MicrophoneAccessDeniedOverlayProps) => ReactElement;
|
|
@@ -136,6 +136,12 @@ export interface VideoIdValidationProps extends PropsWithChildren {
|
|
|
136
136
|
idCardForFaceMatch?: string;
|
|
137
137
|
/** String indicating which face liveness loading overlay screen should be used. Supported values: 'default' and 'legacy'. Defaults to 'default'. */
|
|
138
138
|
faceLivenessLoadingOverlayMode?: SelfieCaptureLoadingOverlayMode;
|
|
139
|
+
/** Boolean to disable face detection during audio capture after X seconds as defined by disableFaceDetectionWhileAudioCaptureMsDelay. Defaults to false. */
|
|
140
|
+
disableFaceDetectionWhileAudioCapture?: boolean;
|
|
141
|
+
/** Number of milliseconds after which face detection will be disabled if disableFaceDetectionWhileAudioCapture is set to true. Defaults to 2000. */
|
|
142
|
+
disableFaceDetectionWhileAudioCaptureMsDelay?: number;
|
|
143
|
+
/** Flag for suppressing fallback messaging - used when models fail to load */
|
|
144
|
+
silentFallback?: boolean;
|
|
139
145
|
/** Name of an included theme or object containing theme properties. **/
|
|
140
146
|
theme?: ThemeInput;
|
|
141
147
|
/** Object containing any asset overrides. */
|
|
@@ -2,6 +2,7 @@ import { ReactElement } from 'react';
|
|
|
2
2
|
import { SelfieCaptureClassNames, SelfieCaptureColors, SelfieCaptureVerbiage } from '../selfie_capture/SelfieCapture';
|
|
3
3
|
import { SelfieProgressPreviewClassNames } from '../common/SelfieProgressPreview';
|
|
4
4
|
import { CustomerSuppliedVerbiage } from '../../lib/locales';
|
|
5
|
+
import { SelfieCaptureLoadingOverlayProps } from '../selfie_capture/SelfieCaptureLoadingOverlay';
|
|
5
6
|
export type FaceLivenessCaptureClassNames = SelfieCaptureClassNames & {
|
|
6
7
|
imagePreview?: SelfieProgressPreviewClassNames;
|
|
7
8
|
};
|
|
@@ -18,9 +19,11 @@ export type FaceLivenessCaptureProps = {
|
|
|
18
19
|
onTimeout?: () => void;
|
|
19
20
|
onExit?: () => void;
|
|
20
21
|
timeoutDurationMs?: number;
|
|
22
|
+
silentFallback?: boolean;
|
|
21
23
|
classNames?: FaceLivenessCaptureClassNames;
|
|
22
24
|
colors?: FaceLivenessCaptureColors;
|
|
23
25
|
verbiage?: FaceLivenessCaptureVerbiage;
|
|
24
26
|
debugMode?: boolean;
|
|
27
|
+
selfieCaptureLoadingOverlayProps?: SelfieCaptureLoadingOverlayProps;
|
|
25
28
|
};
|
|
26
|
-
export declare const FaceLivenessCapture: ({ onCapture, onSuccess, onTimeout, onExit, timeoutDurationMs, classNames, colors, verbiage: rawVerbiage, debugMode, }: FaceLivenessCaptureProps) => ReactElement;
|
|
29
|
+
export declare const FaceLivenessCapture: ({ onCapture, onSuccess, onTimeout, onExit, timeoutDurationMs, silentFallback, classNames, colors, verbiage: rawVerbiage, debugMode, selfieCaptureLoadingOverlayProps, }: FaceLivenessCaptureProps) => ReactElement;
|
|
@@ -39,10 +39,11 @@ export type FaceLivenessWizardProps = {
|
|
|
39
39
|
skipSuccessScreen?: boolean | (() => Promise<boolean>);
|
|
40
40
|
renderCameraFeed?: boolean;
|
|
41
41
|
releaseCameraAccessOnExit?: boolean;
|
|
42
|
+
silentFallback?: boolean;
|
|
42
43
|
assets?: FaceLivenessAssets;
|
|
43
44
|
classNames?: FaceLivenessClassNames;
|
|
44
45
|
colors?: FaceLivenessColors;
|
|
45
46
|
verbiage?: FaceLivenessVerbiage;
|
|
46
47
|
debugMode?: boolean;
|
|
47
48
|
};
|
|
48
|
-
export declare const FaceLivenessWizard: ({ onComplete, onSuccess, onTimeout, onExitCapture, onExitAfterFailure, onUserCancel, loadingOverlayMode, timeoutDurationMs, maxRetries, skipSuccessScreen, renderCameraFeed, releaseCameraAccessOnExit, assets, classNames, colors, verbiage, debugMode, }: FaceLivenessWizardProps) => ReactElement;
|
|
49
|
+
export declare const FaceLivenessWizard: ({ onComplete, onSuccess, onTimeout, onExitCapture, onExitAfterFailure, onUserCancel, loadingOverlayMode, timeoutDurationMs, maxRetries, skipSuccessScreen, renderCameraFeed, releaseCameraAccessOnExit, silentFallback, assets, classNames, colors, verbiage, debugMode, }: FaceLivenessWizardProps) => ReactElement;
|
|
@@ -38,5 +38,6 @@ export type IdCaptureFallbackProps = {
|
|
|
38
38
|
classNames?: IdCaptureFallbackClassNames;
|
|
39
39
|
colors?: IdCaptureFallbackColors;
|
|
40
40
|
verbiage?: IdCaptureFallbackVerbiage;
|
|
41
|
+
silentFallback?: boolean;
|
|
41
42
|
};
|
|
42
|
-
export declare const IdCaptureFallback: ({ idCaptureRequirement, onCapture, onFinished, classNames, colors, verbiage: rawVerbiage, }: IdCaptureFallbackProps) => ReactElement;
|
|
43
|
+
export declare const IdCaptureFallback: ({ idCaptureRequirement, onCapture, onFinished, classNames, colors, verbiage: rawVerbiage, silentFallback, }: IdCaptureFallbackProps) => ReactElement;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ReactElement } from 'react';
|
|
2
2
|
import { CustomerSuppliedVerbiage } from '../../lib/locales';
|
|
3
3
|
import { LoaderButtonColors } from '../common/LoaderButton';
|
|
4
|
+
import { SelfieCaptureLoadingOverlayProps } from '../selfie_capture/SelfieCaptureLoadingOverlay';
|
|
4
5
|
export type SelfieCaptureFallbackClassNames = {
|
|
5
6
|
container?: string;
|
|
6
7
|
inner?: string;
|
|
@@ -29,5 +30,7 @@ export type SelfieCaptureFallbackProps = {
|
|
|
29
30
|
classNames?: SelfieCaptureFallbackClassNames;
|
|
30
31
|
colors?: SelfieCaptureFallbackColors;
|
|
31
32
|
verbiage?: SelfieCaptureFallbackVerbiage;
|
|
33
|
+
silentFallback?: boolean;
|
|
34
|
+
selfieCaptureLoadingOverlayProps?: SelfieCaptureLoadingOverlayProps;
|
|
32
35
|
};
|
|
33
|
-
export declare const SelfieCaptureFallback: ({ onFinished, onCapture, classNames, colors, verbiage: rawVerbiage, }: SelfieCaptureFallbackProps) => ReactElement;
|
|
36
|
+
export declare const SelfieCaptureFallback: ({ onFinished, onCapture, classNames, colors, verbiage: rawVerbiage, silentFallback, selfieCaptureLoadingOverlayProps: overlayProps, }: SelfieCaptureFallbackProps) => ReactElement;
|
|
@@ -46,7 +46,7 @@ export type IdCaptureModelsState = {
|
|
|
46
46
|
ready: boolean;
|
|
47
47
|
modelDownloadProgress: number;
|
|
48
48
|
working: MutableRefObject<boolean>;
|
|
49
|
-
|
|
49
|
+
idModelError: Error | null;
|
|
50
50
|
thresholds: IdCaptureThresholds;
|
|
51
51
|
setThresholds: (value: IdCaptureThresholds) => void;
|
|
52
52
|
makePrediction: (frame: Frame) => void;
|
|
@@ -68,10 +68,11 @@ export type IdCaptureWizardProps = {
|
|
|
68
68
|
guideType?: IdCaptureGuideType;
|
|
69
69
|
portraitGuidesOnMobile?: boolean;
|
|
70
70
|
rotateLoadingOverlayImageWhenPortrait?: boolean;
|
|
71
|
+
silentFallback?: boolean;
|
|
71
72
|
assets?: IdCaptureWizardAssets;
|
|
72
73
|
classNames?: IdCaptureWizardClassNames;
|
|
73
74
|
colors?: IdCaptureWizardColors;
|
|
74
75
|
verbiage?: IdCaptureWizardVerbiage;
|
|
75
76
|
debugMode?: boolean;
|
|
76
77
|
};
|
|
77
|
-
export declare const IdCaptureWizard: ({ onSuccess, onExitCapture, onUserCancel, loadingOverlayMode, precapturedDocuments, captureRequirement, autoCaptureEnabled, autoCaptureGoodFramesRequired, autoCaptureBarcodeRequired, barcodeScanningEnabled, idCardAutoCaptureScoreThreshold, passportAutoCaptureScoreThreshold, mrzDetectionScoreThreshold, idCardFocusScoreThreshold, passportFocusScoreThreshold, skipSuccessScreen, instructions, releaseCameraAccessOnExit, guideType, portraitGuidesOnMobile, rotateLoadingOverlayImageWhenPortrait, assets, classNames, colors, verbiage, debugMode, }: IdCaptureWizardProps) => ReactElement;
|
|
78
|
+
export declare const IdCaptureWizard: ({ onSuccess, onExitCapture, onUserCancel, loadingOverlayMode, precapturedDocuments, captureRequirement, autoCaptureEnabled, autoCaptureGoodFramesRequired, autoCaptureBarcodeRequired, barcodeScanningEnabled, idCardAutoCaptureScoreThreshold, passportAutoCaptureScoreThreshold, mrzDetectionScoreThreshold, idCardFocusScoreThreshold, passportFocusScoreThreshold, skipSuccessScreen, instructions, releaseCameraAccessOnExit, guideType, portraitGuidesOnMobile, rotateLoadingOverlayImageWhenPortrait, silentFallback, assets, classNames, colors, verbiage, debugMode, }: IdCaptureWizardProps) => ReactElement;
|
|
@@ -20,4 +20,4 @@ export type ReadTextPromptProps = {
|
|
|
20
20
|
classNames?: ReadTextPromptClassNames;
|
|
21
21
|
verbiage?: ReadTextPromptVerbiage;
|
|
22
22
|
};
|
|
23
|
-
export declare const ReadTextPrompt: ({ text, onComplete,
|
|
23
|
+
export declare const ReadTextPrompt: ({ text, onComplete, durationMs, classNames, verbiage: rawVerbiage, }: ReadTextPromptProps) => React.JSX.Element;
|
|
@@ -2,9 +2,11 @@ import React from 'react';
|
|
|
2
2
|
import { CameraAccessDeniedOverlayAssets, CameraAccessDeniedOverlayClassNames, CameraAccessDeniedOverlayColors, CameraAccessDeniedOverlayVerbiage } from '../camera/CameraAccessDeniedOverlay';
|
|
3
3
|
import { LoaderButtonColors } from '../common/LoaderButton';
|
|
4
4
|
import { CustomerSuppliedVerbiage } from '../../lib/locales';
|
|
5
|
+
import { MicrophoneAccessDeniedOverlayAssets, MicrophoneAccessDeniedOverlayClassNames, MicrophoneAccessDeniedOverlayColors, MicrophoneAccessDeniedOverlayVerbiage } from '../camera/MicrophoneAccessDeniedOverlay';
|
|
5
6
|
export type SelfieCaptureLoadingOverlayAssets = {
|
|
6
7
|
instructionImageUrl?: string;
|
|
7
8
|
cameraAccessDenied?: CameraAccessDeniedOverlayAssets;
|
|
9
|
+
microphoneAccessDenied?: MicrophoneAccessDeniedOverlayAssets;
|
|
8
10
|
};
|
|
9
11
|
export type SelfieCaptureLoadingOverlayClassNames = {
|
|
10
12
|
container?: string;
|
|
@@ -18,6 +20,7 @@ export type SelfieCaptureLoadingOverlayClassNames = {
|
|
|
18
20
|
continueBtn?: string;
|
|
19
21
|
cancelBtn?: string;
|
|
20
22
|
cameraAccessDenied?: CameraAccessDeniedOverlayClassNames;
|
|
23
|
+
microphoneAccessDenied?: MicrophoneAccessDeniedOverlayClassNames;
|
|
21
24
|
progressContainer?: string;
|
|
22
25
|
progressBackground?: string;
|
|
23
26
|
progressBar?: string;
|
|
@@ -29,6 +32,7 @@ export type SelfieCaptureLoadingOverlayClassNames = {
|
|
|
29
32
|
export type SelfieCaptureLoadingOverlayColors = {
|
|
30
33
|
continueBtn?: LoaderButtonColors;
|
|
31
34
|
cameraAccessDenied?: CameraAccessDeniedOverlayColors;
|
|
35
|
+
microphoneAccessDenied?: MicrophoneAccessDeniedOverlayColors;
|
|
32
36
|
};
|
|
33
37
|
export type SelfieCaptureLoadingOverlayVerbiage = {
|
|
34
38
|
headingText?: CustomerSuppliedVerbiage;
|
|
@@ -41,6 +45,7 @@ export type SelfieCaptureLoadingOverlayVerbiage = {
|
|
|
41
45
|
modelsReadyText?: CustomerSuppliedVerbiage;
|
|
42
46
|
cameraInitializedText?: CustomerSuppliedVerbiage;
|
|
43
47
|
cameraAccessDenied?: CameraAccessDeniedOverlayVerbiage;
|
|
48
|
+
microphoneAccessDenied?: MicrophoneAccessDeniedOverlayVerbiage;
|
|
44
49
|
};
|
|
45
50
|
export type SelfieCaptureLoadingOverlayProps = {
|
|
46
51
|
onDismissed?: () => void;
|
|
@@ -50,6 +50,7 @@ export type SubmissionState = {
|
|
|
50
50
|
setIdCaptureVideoIdBackImage: (image: string) => void;
|
|
51
51
|
setIdCaptureVideoAudioUrl: (videoDataUrl: string) => void;
|
|
52
52
|
setIdCaptureVideoAudioStartsAt: (value: number) => void;
|
|
53
|
+
setExpectedAudioText: (value: string) => void;
|
|
53
54
|
setAdditionalDocuments: (uploadedDocuments: UploadedDocument[]) => void;
|
|
54
55
|
uploadDocument: (blob: Blob, metadata?: DocumentMetadata) => Promise<string>;
|
|
55
56
|
logIdFrontCaptureAttempt: (attempt: CaptureAttemptMetadata) => void;
|
|
@@ -98,6 +99,7 @@ export type SubmissionProviderProps = {
|
|
|
98
99
|
onDocumentUploadFailed?: OnDocumentUploadFailed;
|
|
99
100
|
onResponseReceived?: (res: SubmissionResponse, req: SubmissionRequest) => void;
|
|
100
101
|
onRequestFailure?: (err: Error) => void;
|
|
102
|
+
readTextPrompt?: string;
|
|
101
103
|
clientRequestID?: string;
|
|
102
104
|
};
|
|
103
105
|
export declare const SubmissionProvider: ({ action, children, submissionUrl, environment, companyId, enrollmentId, personalData, cardData, bypassAgeValidation, bypassNameMatching, needImmediateResponse, manualReviewRequired, idBackImageRequired, idImageResolutionCheck, verifyIdWithExternalDatabases, deduplicationEnabled, deduplicationSynchronous, idCardForFaceMatch, geolocationEnabled, geolocationRequired, webhooksEnabled, webhooksClientTraceId, webhooksStripSpecialCharacters, webhooksSendInputImages, webhooksSendProcessedImages, webhooksFireOnReview, precapturedDocuments, documentServiceUrl, onSubmit, onBeforeSubmit, onBeforeLivenessCheck, onBeforeDocumentUpload, onDocumentUploadProgress, onDocumentUploaded, onDocumentUploadFailed, onResponseReceived, onRequestFailure, clientRequestID, }: SubmissionProviderProps) => ReactElement;
|
|
@@ -48,10 +48,12 @@ export type IdVideoCaptureProps = {
|
|
|
48
48
|
captureCountdownSeconds?: number;
|
|
49
49
|
readTextPrompt?: CustomerSuppliedVerbiage;
|
|
50
50
|
readTextTimeoutDurationMs?: number;
|
|
51
|
+
disableFaceDetectionWhileAudioCapture: boolean;
|
|
52
|
+
disableFaceDetectionWhileAudioCaptureMsDelay: number;
|
|
51
53
|
assets?: IdVideoCaptureAssets;
|
|
52
54
|
classNames?: IdVideoCaptureClassNames;
|
|
53
55
|
colors?: IdVideoCaptureColors;
|
|
54
56
|
verbiage?: IdVideoCaptureVerbiage;
|
|
55
57
|
debugMode?: boolean;
|
|
56
58
|
};
|
|
57
|
-
export declare const IdVideoCapture: ({ onComplete, onIdFrontImageCaptured, onIdBackImageCaptured, onFaceNotDetected, idCaptureModelsEnabled, idCardFrontDelay, idCardFrontDetectionThreshold, idCardFrontFocusThreshold, goodIdCardFrontFramesThreshold, idCardBackDetectionThreshold, idCardBackFocusThreshold, goodIdCardBackFramesThreshold, skipShowIdCardBack, captureCountdownSeconds, readTextPrompt, readTextTimeoutDurationMs, assets, classNames, colors, verbiage: rawVerbiage, debugMode, }: IdVideoCaptureProps) => ReactElement;
|
|
59
|
+
export declare const IdVideoCapture: ({ onComplete, onIdFrontImageCaptured, onIdBackImageCaptured, onFaceNotDetected, idCaptureModelsEnabled, idCardFrontDelay, idCardFrontDetectionThreshold, idCardFrontFocusThreshold, goodIdCardFrontFramesThreshold, idCardBackDetectionThreshold, idCardBackFocusThreshold, goodIdCardBackFramesThreshold, skipShowIdCardBack, captureCountdownSeconds, readTextPrompt, readTextTimeoutDurationMs, disableFaceDetectionWhileAudioCapture, disableFaceDetectionWhileAudioCaptureMsDelay, assets, classNames, colors, verbiage: rawVerbiage, debugMode, }: IdVideoCaptureProps) => ReactElement;
|
|
@@ -21,6 +21,8 @@ export type IdVideoCaptureSuccessVerbiage = {
|
|
|
21
21
|
headingText?: CustomerSuppliedVerbiage;
|
|
22
22
|
retryBtnText?: CustomerSuppliedVerbiage;
|
|
23
23
|
doneBtnText?: CustomerSuppliedVerbiage;
|
|
24
|
+
idFrontText?: CustomerSuppliedVerbiage;
|
|
25
|
+
idBackText?: CustomerSuppliedVerbiage;
|
|
24
26
|
};
|
|
25
27
|
export type IdVideoCaptureSuccessProps = {
|
|
26
28
|
videoUrl: string;
|
|
@@ -59,10 +59,13 @@ export type VideoIdWizardProps = {
|
|
|
59
59
|
idCaptureRotateLoadingOverlayImageWhenPortrait?: boolean;
|
|
60
60
|
idCaptureModelLoadTimeoutMs?: number;
|
|
61
61
|
faceLivenessLoadingOverlayMode?: SelfieCaptureLoadingOverlayMode;
|
|
62
|
+
disableFaceDetectionWhileAudioCapture?: boolean;
|
|
63
|
+
disableFaceDetectionWhileAudioCaptureMsDelay?: number;
|
|
64
|
+
silentFallback?: boolean;
|
|
62
65
|
assets?: VideoIdWizardAssets;
|
|
63
66
|
classNames?: VideoIdWizardClassNames;
|
|
64
67
|
colors?: VideoIdWizardColors;
|
|
65
68
|
verbiage?: VideoIdWizardVerbiage;
|
|
66
69
|
debugMode?: boolean;
|
|
67
70
|
};
|
|
68
|
-
export declare const VideoIdWizard: ({ onComplete, onExitCapture, onExitAfterFailure, onUserCancel, onIdCaptureModelError, idCaptureProps, faceLivenessProps, idCaptureModelsEnabled, idCardFrontDetectionThreshold, idCardBackDetectionThreshold, idCardFrontFocusThreshold, idCardBackFocusThreshold, goodIdCardFrontFramesThreshold, goodIdCardBackFramesThreshold, readTextPrompt, readTextTimeoutDurationMs, skipIdCapture, skipShowIdCardBack, skipSuccessScreen, idCaptureLoadingOverlayMode, idCaptureGuideType, idCapturePortraitGuidesOnMobile, idCaptureRotateLoadingOverlayImageWhenPortrait, idCaptureModelLoadTimeoutMs, faceLivenessLoadingOverlayMode, assets, classNames, colors, verbiage, debugMode, }: VideoIdWizardProps) => ReactElement;
|
|
71
|
+
export declare const VideoIdWizard: ({ onComplete, onExitCapture, onExitAfterFailure, onUserCancel, onIdCaptureModelError, idCaptureProps, faceLivenessProps, idCaptureModelsEnabled, idCardFrontDetectionThreshold, idCardBackDetectionThreshold, idCardFrontFocusThreshold, idCardBackFocusThreshold, goodIdCardFrontFramesThreshold, goodIdCardBackFramesThreshold, readTextPrompt, readTextTimeoutDurationMs, skipIdCapture, skipShowIdCardBack, skipSuccessScreen, idCaptureLoadingOverlayMode, idCaptureGuideType, idCapturePortraitGuidesOnMobile, idCaptureRotateLoadingOverlayImageWhenPortrait, idCaptureModelLoadTimeoutMs, faceLivenessLoadingOverlayMode, disableFaceDetectionWhileAudioCapture, disableFaceDetectionWhileAudioCaptureMsDelay, silentFallback, assets, classNames, colors, verbiage, debugMode, }: VideoIdWizardProps) => ReactElement;
|
|
@@ -9,6 +9,8 @@ declare const _default: {
|
|
|
9
9
|
'Processing...': string;
|
|
10
10
|
'Your camera permission is disabled': string;
|
|
11
11
|
'This application requires access to your camera to continue. Please accept the permission once prompted by the browser. If the browser does not prompt for camera permissions, you must go to settings and provide camera access to the current browser.': string;
|
|
12
|
+
'Your microphone permission is disabled': string;
|
|
13
|
+
'This application requires access to your microphone to continue. Please accept the permission once prompted by the browser. If the browser does not prompt for microphone permissions, you must go to settings and provide microphone access to the current browser.': string;
|
|
12
14
|
'Your location permission is disabled': string;
|
|
13
15
|
'This application requires access to your location to continue. Please accept the permission once prompted by the browser. If the browser does not prompt for location permissions, you must go to settings and provide location access to the current browser.': string;
|
|
14
16
|
Retry: string;
|
|
@@ -66,8 +68,11 @@ declare const _default: {
|
|
|
66
68
|
'Display the front of your ID card...': string;
|
|
67
69
|
'Display the back of your ID card...': string;
|
|
68
70
|
'Please move your face to the center...': string;
|
|
71
|
+
'Searching for ID card...': string;
|
|
69
72
|
'Please read the following text aloud': string;
|
|
70
73
|
'Video ID has been successfully captured!': string;
|
|
74
|
+
'ID Front Image': string;
|
|
75
|
+
'ID Back Image': string;
|
|
71
76
|
"We're having some trouble.": string;
|
|
72
77
|
'On-device capture guidance failed, please capture a selfie manually.': string;
|
|
73
78
|
'Verifying...': string;
|
|
@@ -80,6 +85,8 @@ declare const _default: {
|
|
|
80
85
|
'On-device capture guidance failed, please capture a photo of your passport manually.': string;
|
|
81
86
|
'On-device capture guidance failed, please capture photos of your ID card and passport manually.': string;
|
|
82
87
|
'On-device capture guidance failed, please capture photos of your ID card or passport manually.': string;
|
|
88
|
+
'Capture ID page of passport': string;
|
|
89
|
+
'Capture back of ID card': string;
|
|
83
90
|
'Downloading...': string;
|
|
84
91
|
'Accessing camera...': string;
|
|
85
92
|
'Camera ready': string;
|
|
@@ -17,6 +17,8 @@ export declare const resources: {
|
|
|
17
17
|
'Processing...': string;
|
|
18
18
|
'Your camera permission is disabled': string;
|
|
19
19
|
'This application requires access to your camera to continue. Please accept the permission once prompted by the browser. If the browser does not prompt for camera permissions, you must go to settings and provide camera access to the current browser.': string;
|
|
20
|
+
'Your microphone permission is disabled': string;
|
|
21
|
+
'This application requires access to your microphone to continue. Please accept the permission once prompted by the browser. If the browser does not prompt for microphone permissions, you must go to settings and provide microphone access to the current browser.': string;
|
|
20
22
|
'Your location permission is disabled': string;
|
|
21
23
|
'This application requires access to your location to continue. Please accept the permission once prompted by the browser. If the browser does not prompt for location permissions, you must go to settings and provide location access to the current browser.': string;
|
|
22
24
|
Retry: string;
|
|
@@ -74,8 +76,11 @@ export declare const resources: {
|
|
|
74
76
|
'Display the front of your ID card...': string;
|
|
75
77
|
'Display the back of your ID card...': string;
|
|
76
78
|
'Please move your face to the center...': string;
|
|
79
|
+
'Searching for ID card...': string;
|
|
77
80
|
'Please read the following text aloud': string;
|
|
78
81
|
'Video ID has been successfully captured!': string;
|
|
82
|
+
'ID Front Image': string;
|
|
83
|
+
'ID Back Image': string;
|
|
79
84
|
"We're having some trouble.": string;
|
|
80
85
|
'On-device capture guidance failed, please capture a selfie manually.': string;
|
|
81
86
|
'Verifying...': string;
|
|
@@ -88,6 +93,8 @@ export declare const resources: {
|
|
|
88
93
|
'On-device capture guidance failed, please capture a photo of your passport manually.': string;
|
|
89
94
|
'On-device capture guidance failed, please capture photos of your ID card and passport manually.': string;
|
|
90
95
|
'On-device capture guidance failed, please capture photos of your ID card or passport manually.': string;
|
|
96
|
+
'Capture ID page of passport': string;
|
|
97
|
+
'Capture back of ID card': string;
|
|
91
98
|
'Downloading...': string;
|
|
92
99
|
'Accessing camera...': string;
|
|
93
100
|
'Camera ready': string;
|