idmission-web-sdk 1.0.79 → 1.0.81

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/README.md CHANGED
@@ -82,6 +82,8 @@ Render a fullscreen ID capture component that instructs the user to photograph b
82
82
  <tr><td><code>captureSignature</code> (optional)</td><td>boolean indicating whether the user should be prompted to sign the screen before submission. Defaults to false.</td></tr>
83
83
  <tr><td><code>captureSignatureVideo</code> (optional)</td><td>boolean indicating whether the user should be prompted to record themselves signing the screen before submission. Defaults to false.</td></tr>
84
84
  <tr><td><code>captureAdditionalDocuments</code> (optional)</td><td>array of additional documents to be captured. Each element includes a name and description.</td></tr>
85
+ <tr><td><code>idCaptureRequirement</code> (optional)</td><td>string to indicate which types of documents should be captured. Valid values: idCard, passport, idCardOrPassport, idCardAndPassport. Default is idCardOrPassport.</td></tr>
86
+ <tr><td><code>idCaptureRequirement</code> (optional)</td><td>string to indicate which types of documents should be captured. Valid values: idCard, passport, idCardOrPassport, idCardAndPassport. Default is idCardOrPassport.</td></tr>
85
87
  <tr><td><code>idAutoCaptureEnabled</code> (optional)</td><td>boolean to indicate whether photos should be captured automatically when guidance conditions are met. Default is `true`.</td></tr>
86
88
  <tr><td><code>idCardAutoCaptureScoreThreshold</code> (optional)</td><td>number between 0 and 1 at which document detection guidance score condition is considered to be met for ID cards. Defaults to 0.8.</td></tr>
87
89
  <tr><td><code>passportAutoCaptureScoreThreshold</code> (optional)</td><td>number between 0 and 1 at which document detection guidance score condition is considered to be met for passports. Defaults to 0.75.</td></tr>
@@ -337,6 +339,8 @@ Render a fullscreen capture component that performs IDValidation and FaceValidat
337
339
  <tr><td><code>captureSignatureVideo</code> (optional)</td><td>boolean indicating whether the user should be prompted to record themselves signing the screen before submission. Defaults to false.</td></tr>
338
340
  <tr><td><code>captureAdditionalDocuments</code> (optional)</td><td>array of additional documents to be captured. Each element includes a name and description.</td></tr>
339
341
  <tr><td><code>lang</code> (optional)</td><td>language code to use. Supported values: 'auto' (detect based on user's OS), 'en' (English), 'es' (Spanish). Defaults to auto.</td></tr>
342
+ <tr><td><code>idCaptureRequirement</code> (optional)</td><td>string to indicate which types of documents should be captured. Valid values: idCard, passport, idCardOrPassport, idCardAndPassport. Default is idCardOrPassport.</td></tr>
343
+ <tr><td><code>idCaptureRequirement</code> (optional)</td><td>string to indicate which types of documents should be captured. Valid values: idCard, passport, idCardOrPassport, idCardAndPassport. Default is idCardOrPassport.</td></tr>
340
344
  <tr><td><code>idAutoCaptureEnabled</code> (optional)</td><td>boolean to indicate whether photos should be captured automatically when guidance conditions are met. Default is `true`.</td></tr>
341
345
  <tr><td><code>idCardAutoCaptureScoreThreshold</code> (optional)</td><td>number between 0 and 1 at which document detection guidance score condition is considered to be met for ID cards. Defaults to 0.8.</td></tr>
342
346
  <tr><td><code>passportAutoCaptureScoreThreshold</code> (optional)</td><td>number between 0 and 1 at which document detection guidance score condition is considered to be met for passports. Defaults to 0.75.</td></tr>
@@ -407,6 +411,7 @@ Render a fullscreen capture component that performs IDValidation and FaceValidat
407
411
  <tr><td><code>captureSignatureVideo</code> (optional)</td><td>boolean indicating whether the user should be prompted to record themselves signing the screen before submission. Defaults to false.</td></tr>
408
412
  <tr><td><code>captureAdditionalDocuments</code> (optional)</td><td>array of additional documents to be captured. Each element includes a name and description.</td></tr>
409
413
  <tr><td><code>lang</code> (optional)</td><td>language code to use. Supported values: 'auto' (detect based on user's OS), 'en' (English), 'es' (Spanish). Defaults to auto.</td></tr>
414
+ <tr><td><code>idCaptureRequirement</code> (optional)</td><td>string to indicate which types of documents should be captured. Valid values: idCard, passport, idCardOrPassport, idCardAndPassport. Default is idCardOrPassport.</td></tr>
410
415
  <tr><td><code>idAutoCaptureEnabled</code> (optional)</td><td>boolean to indicate whether photos should be captured automatically when guidance conditions are met. Default is `true`.</td></tr>
411
416
  <tr><td><code>idCardAutoCaptureScoreThreshold</code> (optional)</td><td>number between 0 and 1 at which document detection guidance score condition is considered to be met for ID cards. Defaults to 0.8.</td></tr>
412
417
  <tr><td><code>passportAutoCaptureScoreThreshold</code> (optional)</td><td>number between 0 and 1 at which document detection guidance score condition is considered to be met for passports. Defaults to 0.75.</td></tr>
@@ -59,6 +59,8 @@ export interface CustomerBiometricsEnrollmentProps extends PropsWithChildren {
59
59
  skipSuccessScreen?: boolean | (() => Promise<boolean>);
60
60
  /** Callback function that fires immediately prior to submission, giving the client application an opportunity to specify custom asynchronous logic that mutates the request before it executes. The submission request is passed in as a parameter and a promise resolving to the updated request should be returned. */
61
61
  onBeforeSubmit?: (req: SubmissionRequest) => Promise<SubmissionRequest>;
62
+ /** Callback function that fires when the user has completed the flow instead of making a call to IDmission's servers, allowing customers to specify their own submission logic. Arguments: the request payload that would have been dispatched to IDmission's API, which contains the images/documents/video submitted by the user. Note that when this parameter is supplied, `onComplete` will never fire, and the customer will need to implement their own error handling/retry logic. Use at your own risk! */
63
+ onSubmit?: (req: SubmissionRequest) => void;
62
64
  /** Callback function that fires when the user has completed the CustomerBiometricsEnrollment flow. Arguments: the SubmissionResponse from IDmission's API is passed as an argument to the customer's application for further handling, which indicates whether the user passed the validation check, and the request payload dispatched to IDmission's API, which contains the images submitted by the user. */
63
65
  onComplete?: (resp: SubmissionResponse, req: SubmissionRequest) => void;
64
66
  /** Callback function that fires when the user has completed the CustomerBiometricsEnrollment flow successfully. The SubmissionResponse from IDmission's API is passed as an argument to the customer's application for further handling, which indicates whether the user passed the validation check. */
@@ -8,6 +8,7 @@ import { LangOption } from '../../lib/locales';
8
8
  import { SignatureCaptureClassNames, SignatureCaptureVerbiage } from '../signature_capture/SignatureCapture';
9
9
  import { VideoSignatureClassNames, VideoSignatureColors, VideoSignatureVerbiage } from '../video_signature_capture/VideoSignatureWizard';
10
10
  import { ThemeInput } from '../../themes';
11
+ import { IdCaptureRequirementOption } from '../id_capture/IdCaptureRequirementOption';
11
12
  export type CustomerEnrollmentAssets = {
12
13
  idCapture?: IdCaptureWizardAssets;
13
14
  faceLiveness?: FaceLivenessAssets;
@@ -76,6 +77,8 @@ export interface CustomerEnrollmentProps extends PropsWithChildren {
76
77
  webhooksSendProcessedImages?: boolean;
77
78
  /** Boolean flag to indicate whether customer-configured webhooks should be invoked upon ID being marked for manual review. */
78
79
  webhooksFireOnReview?: boolean;
80
+ /** String to indicate which types of ID documents should be captured. Valid values: `idCard`, `passport`, `idCardOrPassport`, `idCardAndPassport`. Default is `idCardOrPassport`. */
81
+ idCaptureRequirement?: IdCaptureRequirementOption;
79
82
  /** Boolean to indicate whether photos should be captured automatically when guidance conditions are met. Default is `true`. */
80
83
  idAutoCaptureEnabled?: boolean;
81
84
  /** Number between 0 and 1 at which document detection guidance score condition is considered to be met for ID cards. Defaults to 0.8. */
@@ -94,6 +97,8 @@ export interface CustomerEnrollmentProps extends PropsWithChildren {
94
97
  skipSuccessScreen?: boolean | (() => Promise<boolean>);
95
98
  /** Callback function that fires immediately prior to submission, giving the client application an opportunity to specify custom asynchronous logic that mutates the request before it executes. The submission request is passed in as a parameter and a promise resolving to the updated request should be returned. */
96
99
  onBeforeSubmit?: (req: SubmissionRequest) => Promise<SubmissionRequest>;
100
+ /** Callback function that fires when the user has completed the flow instead of making a call to IDmission's servers, allowing customers to specify their own submission logic. Arguments: the request payload that would have been dispatched to IDmission's API, which contains the images/documents/video submitted by the user. Note that when this parameter is supplied, `onComplete` will never fire, and the customer will need to implement their own error handling/retry logic. Use at your own risk! */
101
+ onSubmit?: (req: SubmissionRequest) => void;
97
102
  /** Callback function that fires when the user has completed the CustomerIdAndBiometricsEnrollment flow. Arguments: the SubmissionResponse from IDmission's API is passed as an argument to the customer's application for further handling, which indicates whether the user passed the validation check, and the request payload dispatched to IDmission's API, which contains the images submitted by the user. */
98
103
  onComplete?: (resp: SubmissionResponse, req: SubmissionRequest) => void;
99
104
  /** Callback function that fires when the user has completed the CustomerIdAndBiometricsEnrollment flow successfully. The SubmissionResponse from IDmission's API is passed as an argument to the customer's application for further handling, which indicates whether the user passed the validation check. */
@@ -30,6 +30,8 @@ export interface CustomerIdentificationProps extends PropsWithChildren {
30
30
  skipSuccessScreen?: boolean | (() => Promise<boolean>);
31
31
  /** Callback function that fires immediately prior to submission, giving the client application an opportunity to specify custom asynchronous logic that mutates the request before it executes. The submission request is passed in as a parameter and a promise resolving to the updated request should be returned. */
32
32
  onBeforeSubmit?: (req: SubmissionRequest) => Promise<SubmissionRequest>;
33
+ /** Callback function that fires when the user has completed the flow instead of making a call to IDmission's servers, allowing customers to specify their own submission logic. Arguments: the request payload that would have been dispatched to IDmission's API, which contains the images/documents/video submitted by the user. Note that when this parameter is supplied, `onComplete` will never fire, and the customer will need to implement their own error handling/retry logic. Use at your own risk! */
34
+ onSubmit?: (req: SubmissionRequest) => void;
33
35
  /** Callback function that fires when the user has completed the CustomerIdentification flow. Arguments: the SubmissionResponse from IDmission's API is passed as an argument to the customer's application for further handling, which indicates whether the user passed the validation check, and the request payload dispatched to IDmission's API, which contains the images submitted by the user. */
34
36
  onComplete?: (resp: SubmissionResponse, req: SubmissionRequest) => void;
35
37
  /** Callback function that fires when the user has completed the CustomerIdentification flow and matches a pre-registered customer <code>enrollmentId</code> in IDmission's database. The SubmissionResponse from IDmission's API is passed as an argument to the customer's application for further handling, which indicates whether the user passed the validation check. */
@@ -42,6 +42,8 @@ export interface CustomerVerificationProps extends PropsWithChildren {
42
42
  verbiage?: CustomerVerificationVerbiage;
43
43
  /** Callback function that fires immediately prior to submission, giving the client application an opportunity to specify custom asynchronous logic that mutates the request before it executes. The submission request is passed in as a parameter and a promise resolving to the updated request should be returned. */
44
44
  onBeforeSubmit?: (req: SubmissionRequest) => Promise<SubmissionRequest>;
45
+ /** Callback function that fires when the user has completed the flow instead of making a call to IDmission's servers, allowing customers to specify their own submission logic. Arguments: the request payload that would have been dispatched to IDmission's API, which contains the images/documents/video submitted by the user. Note that when this parameter is supplied, `onComplete` will never fire, and the customer will need to implement their own error handling/retry logic. Use at your own risk! */
46
+ onSubmit?: (req: SubmissionRequest) => void;
45
47
  /** Callback function that fires when the user has completed the CustomerVerification flow. Arguments: the SubmissionResponse from IDmission's API is passed as an argument to the customer's application for further handling, which indicates whether the user passed the validation check, and the request payload dispatched to IDmission's API, which contains the images submitted by the user. */
46
48
  onComplete?: (resp: SubmissionResponse, req: SubmissionRequest) => void;
47
49
  /** Callback function that fires when the user has completed the CustomerVerification flow and matches the specified customer <code>enrollmentId</code>. The SubmissionResponse from IDmission's API is passed as an argument to the customer's application for further handling, which indicates whether the user passed the validation check. */
@@ -8,6 +8,7 @@ import { LangOption } from '../../lib/locales';
8
8
  import { SignatureCaptureClassNames, SignatureCaptureVerbiage } from '../signature_capture/SignatureCapture';
9
9
  import { VideoSignatureClassNames, VideoSignatureColors, VideoSignatureVerbiage } from '../video_signature_capture/VideoSignatureWizard';
10
10
  import { ThemeInput } from '../../themes';
11
+ import { IdCaptureRequirementOption } from '../id_capture/IdCaptureRequirementOption';
11
12
  export type IdAndFaceValidationAssets = {
12
13
  idCapture?: IdCaptureWizardAssets;
13
14
  faceLiveness?: FaceLivenessAssets;
@@ -68,6 +69,8 @@ export interface IdAndFaceValidationProps extends PropsWithChildren {
68
69
  webhooksSendProcessedImages?: boolean;
69
70
  /** Boolean flag to indicate whether customer-configured webhooks should be invoked upon ID being marked for manual review. */
70
71
  webhooksFireOnReview?: boolean;
72
+ /** String to indicate which types of ID documents should be captured. Valid values: `idCard`, `passport`, `idCardOrPassport`, `idCardAndPassport`. Default is `idCardOrPassport`. */
73
+ idCaptureRequirement?: IdCaptureRequirementOption;
71
74
  /** Boolean to indicate whether photos should be captured automatically when guidance conditions are met. Default is `true`. */
72
75
  idAutoCaptureEnabled?: boolean;
73
76
  /** Number between 0 and 1 at which document detection guidance score condition is considered to be met for ID cards. Defaults to 0.8. */
@@ -88,6 +91,8 @@ export interface IdAndFaceValidationProps extends PropsWithChildren {
88
91
  onBeforeLivenessCheck?: (req: LivenessCheckRequest) => Promise<LivenessCheckRequest>;
89
92
  /** Callback function that fires immediately prior to submission, giving the client application an opportunity to specify custom asynchronous logic that mutates the request before it executes. The submission request is passed in as a parameter and a promise resolving to the updated request should be returned. */
90
93
  onBeforeSubmit?: (req: SubmissionRequest) => Promise<SubmissionRequest>;
94
+ /** Callback function that fires when the user has completed the flow instead of making a call to IDmission's servers, allowing customers to specify their own submission logic. Arguments: the request payload that would have been dispatched to IDmission's API, which contains the images/documents/video submitted by the user. Note that when this parameter is supplied, `onComplete` will never fire, and the customer will need to implement their own error handling/retry logic. Use at your own risk! */
95
+ onSubmit?: (req: SubmissionRequest) => void;
91
96
  /** Callback function that fires when the user has completed both flows. Arguments: the SubmissionResponse from IDmission's API is passed as an argument to the customer's application for further handling, which indicates whether the user passed the validation check, and the request payload dispatched to IDmission's API, which contains the images submitted by the user. */
92
97
  onComplete?: (resp: SubmissionResponse, req: SubmissionRequest) => void;
93
98
  /** Callback function that fires when the user completes both flows with a valid ID and passes the realness check. Arguments: same as `onComplete`. */
@@ -7,6 +7,7 @@ import { LangOption } from '../../lib/locales';
7
7
  import { SignatureCaptureClassNames, SignatureCaptureVerbiage } from '../signature_capture/SignatureCapture';
8
8
  import { VideoSignatureClassNames, VideoSignatureColors, VideoSignatureVerbiage } from '../video_signature_capture/VideoSignatureWizard';
9
9
  import { ThemeInput } from '../../themes';
10
+ import { IdCaptureRequirementOption } from '../id_capture/IdCaptureRequirementOption';
10
11
  export type IdValidationAssets = IdCaptureWizardAssets;
11
12
  export type IdValidationClassNames = IdCaptureWizardClassNames & {
12
13
  additionalDocumentCapture?: AdditionalDocumentCaptureWizardClassNames;
@@ -58,6 +59,8 @@ export interface IdValidationProps extends PropsWithChildren {
58
59
  webhooksSendProcessedImages?: boolean;
59
60
  /** Boolean flag to indicate whether customer-configured webhooks should be invoked upon ID being marked for manual review. */
60
61
  webhooksFireOnReview?: boolean;
62
+ /** String to indicate which types of documents should be captured. Valid values: `idCard`, `passport`, `idCardOrPassport`, `idCardAndPassport`. Default is `idCardOrPassport`. */
63
+ idCaptureRequirement?: IdCaptureRequirementOption;
61
64
  /** Boolean to indicate whether photos should be captured automatically when guidance conditions are met. Default is `true`. */
62
65
  idAutoCaptureEnabled?: boolean;
63
66
  /** Number between 0 and 1 at which document detection guidance score condition is considered to be met for ID cards. Defaults to 0.8. */
@@ -72,6 +75,8 @@ export interface IdValidationProps extends PropsWithChildren {
72
75
  skipSuccessScreen?: boolean | (() => Promise<boolean>);
73
76
  /** Callback function that fires immediately prior to submission, giving the client application an opportunity to specify custom asynchronous logic that mutates the request before it executes. The submission request is passed in as a parameter and a promise resolving to the updated request should be returned. */
74
77
  onBeforeSubmit?: (req: SubmissionRequest) => Promise<SubmissionRequest>;
78
+ /** Callback function that fires when the user has completed the flow instead of making a call to IDmission's servers, allowing customers to specify their own submission logic. Arguments: the request payload that would have been dispatched to IDmission's API, which contains the images/documents/video submitted by the user. Note that when this parameter is supplied, `onComplete` will never fire, and the customer will need to implement their own error handling/retry logic. Use at your own risk! */
79
+ onSubmit?: (req: SubmissionRequest) => void;
75
80
  /** Callback function that fires when the user completes the IDValidation flow. Arguments: the SubmissionResponse from IDmission's API is passed as an argument to the customer's application for further handling, which indicates whether the user passed the validation check, and the request payload dispatched to IDmission's API, which contains the images submitted by the user. */
76
81
  onComplete?: (resp: SubmissionResponse, req: SubmissionRequest) => void;
77
82
  /** Callback function that fires when the user completes the IDValidation flow with a valid ID. Arguments: same as `onComplete`. */
@@ -12,6 +12,8 @@ export interface SignatureKYCProps extends PropsWithChildren {
12
12
  submissionUrl?: string;
13
13
  /** Callback function that fires immediately prior to submission, giving the client application an opportunity to specify custom asynchronous logic that mutates the request before it executes. The submission request is passed in as a parameter and a promise resolving to the updated request should be returned. */
14
14
  onBeforeSubmit?: (req: SubmissionRequest) => Promise<SubmissionRequest>;
15
+ /** Callback function that fires when the user has completed the flow instead of making a call to IDmission's servers, allowing customers to specify their own submission logic. Arguments: the request payload that would have been dispatched to IDmission's API, which contains the images/documents/video submitted by the user. Note that when this parameter is supplied, `onComplete` will never fire, and the customer will need to implement their own error handling/retry logic. Use at your own risk! */
16
+ onSubmit?: (req: SubmissionRequest) => void;
15
17
  /** Callback function that fires when the user completes the SignatureKYC flow. Arguments: the SubmissionResponse from IDmission's API is passed as an argument to the customer's application for further handling, which indicates whether the user passed the validation check, and the request payload dispatched to IDmission's API, which contains the data submitted by the user. */
16
18
  onComplete?: (resp: SubmissionResponse, req: SubmissionRequest) => void;
17
19
  /** Boolean or async function to indicate whether to proceed automatically after capture guidance is satisfied. If an async function is supplied returning a boolean, it will be evaluated at the time of capture guidance satisfaction. Defaults to `false`. */
@@ -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 { IdCaptureRequirementOption } from '../id_capture/IdCaptureRequirementOption';
4
5
  export type IdCaptureFallbackClassNames = {
5
6
  container?: string;
6
7
  inner?: string;
@@ -25,15 +26,17 @@ export type IdCaptureFallbackVerbiage = {
25
26
  descriptionText?: CustomerSuppliedVerbiage;
26
27
  firstInstructionText?: CustomerSuppliedVerbiage;
27
28
  secondInstructionText?: CustomerSuppliedVerbiage;
29
+ thirdInstructionText?: CustomerSuppliedVerbiage;
28
30
  captureBtnText?: CustomerSuppliedVerbiage;
29
31
  captureMoreBtnText?: CustomerSuppliedVerbiage;
30
32
  doneBtnText?: CustomerSuppliedVerbiage;
31
33
  };
32
34
  export type IdCaptureFallbackProps = {
35
+ idCaptureRequirement?: IdCaptureRequirementOption;
33
36
  onCapture?: (imageData: string) => void;
34
37
  onFinished?: (images: string[]) => void;
35
38
  classNames?: IdCaptureFallbackClassNames;
36
39
  colors?: IdCaptureFallbackColors;
37
40
  verbiage?: IdCaptureFallbackVerbiage;
38
41
  };
39
- export declare const IdCaptureFallback: ({ onCapture, onFinished, classNames, colors, verbiage: rawVerbiage, }: IdCaptureFallbackProps) => ReactElement;
42
+ export declare const IdCaptureFallback: ({ idCaptureRequirement, onCapture, onFinished, classNames, colors, verbiage: rawVerbiage, }: IdCaptureFallbackProps) => ReactElement;
@@ -0,0 +1 @@
1
+ export type IdCaptureRequirementOption = 'idCard' | 'passport' | 'idCardOrPassport' | 'idCardAndPassport';
@@ -4,6 +4,7 @@ import { IdCaptureLoadingOverlayAssets, IdCaptureLoadingOverlayClassNames, IdCap
4
4
  import { FlipIdPromptAssets, FlipIdPromptClassNames, FlipIdPromptVerbiage } from './FlipIdPrompt';
5
5
  import { IdCaptureSuccessClassNames, IdCaptureSuccessColors, IdCaptureSuccessVerbiage } from './IdCaptureSuccess';
6
6
  import { IdCaptureFallbackClassNames, IdCaptureFallbackColors, IdCaptureFallbackVerbiage } from '../fallback_flows/IdCapture';
7
+ import { IdCaptureRequirementOption } from './IdCaptureRequirementOption';
7
8
  export type IdCaptureWizardAssets = {
8
9
  documentDetectionModelUrl?: string;
9
10
  focusModelUrl?: string;
@@ -44,6 +45,7 @@ export type IdCaptureSubmission = {
44
45
  export type IdCaptureWizardProps = {
45
46
  onSuccess?: (submission: IdCaptureSubmission) => void;
46
47
  onExitCapture?: () => void;
48
+ captureRequirement?: IdCaptureRequirementOption;
47
49
  autoCaptureEnabled?: boolean;
48
50
  autoCaptureGoodFramesRequired?: number;
49
51
  autoCaptureBarcodeRequired?: 'mobile' | boolean;
@@ -61,4 +63,4 @@ export type IdCaptureWizardProps = {
61
63
  verbiage?: IdCaptureWizardVerbiage;
62
64
  debugMode?: boolean;
63
65
  };
64
- export declare const IdCaptureWizard: ({ onSuccess, onExitCapture, autoCaptureEnabled, autoCaptureGoodFramesRequired, autoCaptureBarcodeRequired, barcodeScanningEnabled, idCardAutoCaptureScoreThreshold, passportAutoCaptureScoreThreshold, mrzDetectionScoreThreshold, idCardFocusScoreThreshold, passportFocusScoreThreshold, skipSuccessScreen, releaseCameraAccessOnExit, assets, classNames, colors, verbiage, debugMode, }: IdCaptureWizardProps) => ReactElement;
66
+ export declare const IdCaptureWizard: ({ onSuccess, onExitCapture, captureRequirement, autoCaptureEnabled, autoCaptureGoodFramesRequired, autoCaptureBarcodeRequired, barcodeScanningEnabled, idCardAutoCaptureScoreThreshold, passportAutoCaptureScoreThreshold, mrzDetectionScoreThreshold, idCardFocusScoreThreshold, passportFocusScoreThreshold, skipSuccessScreen, releaseCameraAccessOnExit, assets, classNames, colors, verbiage, debugMode, }: IdCaptureWizardProps) => ReactElement;