idmission-web-sdk 2.2.75 → 2.2.77
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/customer_flows/CustomerBiometricsEnrollment.d.ts +2 -0
- package/dist/components/customer_flows/CustomerBiometricsEnrollment.d.ts.map +1 -1
- package/dist/components/customer_flows/CustomerIdAndBiometricsEnrollment.d.ts +4 -0
- package/dist/components/customer_flows/CustomerIdAndBiometricsEnrollment.d.ts.map +1 -1
- package/dist/components/customer_flows/CustomerIdentification.d.ts +2 -0
- package/dist/components/customer_flows/CustomerIdentification.d.ts.map +1 -1
- package/dist/components/customer_flows/CustomerVerification.d.ts +2 -0
- package/dist/components/customer_flows/CustomerVerification.d.ts.map +1 -1
- package/dist/components/customer_flows/FaceValidation.d.ts +2 -0
- package/dist/components/customer_flows/FaceValidation.d.ts.map +1 -1
- package/dist/components/customer_flows/IdAndFaceValidation.d.ts +4 -0
- package/dist/components/customer_flows/IdAndFaceValidation.d.ts.map +1 -1
- package/dist/components/customer_flows/IdValidation.d.ts +2 -0
- package/dist/components/customer_flows/IdValidation.d.ts.map +1 -1
- package/dist/components/customer_flows/VideoIdValidation.d.ts +2 -0
- package/dist/components/customer_flows/VideoIdValidation.d.ts.map +1 -1
- package/dist/components/submission/SubmissionProvider.d.ts +2 -1
- package/dist/components/submission/SubmissionProvider.d.ts.map +1 -1
- package/dist/components/submission/types.d.ts +1 -0
- package/dist/components/submission/types.d.ts.map +1 -1
- package/dist/sdk2.cjs.development.js +130 -106
- 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 +130 -106
- package/dist/sdk2.esm.js.map +1 -1
- package/dist/sdk2.umd.development.js +130 -106
- 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/version.d.ts +1 -1
- package/package.json +3 -3
|
@@ -211,7 +211,7 @@
|
|
|
211
211
|
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
212
212
|
};
|
|
213
213
|
|
|
214
|
-
var webSdkVersion = '2.2.
|
|
214
|
+
var webSdkVersion = '2.2.77';
|
|
215
215
|
|
|
216
216
|
function getPlatform() {
|
|
217
217
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
@@ -2117,6 +2117,7 @@
|
|
|
2117
2117
|
geolocationRequired = _p === void 0 ? false : _p,
|
|
2118
2118
|
_q = _a.webhooksEnabled,
|
|
2119
2119
|
webhooksEnabled = _q === void 0 ? false : _q,
|
|
2120
|
+
webhooksURL = _a.webhooksURL,
|
|
2120
2121
|
webhooksClientTraceId = _a.webhooksClientTraceId,
|
|
2121
2122
|
_r = _a.webhooksStripSpecialCharacters,
|
|
2122
2123
|
webhooksStripSpecialCharacters = _r === void 0 ? true : _r,
|
|
@@ -2409,6 +2410,7 @@
|
|
|
2409
2410
|
bypassAgeValidation: bypassAgeValidation ? 'Y' : 'N',
|
|
2410
2411
|
bypassNameMatching: bypassNameMatching ? 'Y' : 'N',
|
|
2411
2412
|
postDataAPIRequired: webhooksEnabled ? 'Y' : 'N',
|
|
2413
|
+
postDataAPIURL: webhooksURL,
|
|
2412
2414
|
postDataOnReviewRequired: webhooksFireOnReview ? 'Y' : 'N',
|
|
2413
2415
|
sendInputImagesInPost: webhooksSendInputImages ? 'Y' : 'N',
|
|
2414
2416
|
sendProcessedImagesInPost: webhooksSendProcessedImages ? 'Y' : 'N',
|
|
@@ -2514,7 +2516,7 @@
|
|
|
2514
2516
|
}
|
|
2515
2517
|
});
|
|
2516
2518
|
});
|
|
2517
|
-
}, [additionalDocuments, bypassAgeValidation, bypassNameMatching, cardData, clientRequestID, companyId, customerDataMatchConfig, deduplicationEnabled, deduplicationSynchronous, documentServiceUrl, enrollmentId, expectedAudioText, geolocationResult, idBackCaptureAttempts, idBackImage, idBackImageRequired, idCaptureVideoAudioStartsAt, idCaptureVideoAudioUrl, idCaptureVideoIdBackImage, idCaptureVideoIdFrontImage, idCaptureVideoUrl, idCardForFaceMatch, idData, idFrontCaptureAttempts, idFrontImage, idImageResolutionCheck, manualReviewRequired, needImmediateResponse, passportImage, personalData, selfieCaptureAttempts, selfieImage, signatureData, signatureVideoUrl, uploadDocument, verifyIdWithExternalDatabases, webhooksClientTraceId, webhooksEnabled, webhooksFireOnReview, webhooksSendInputImages, webhooksSendProcessedImages, webhooksStripSpecialCharacters]);
|
|
2519
|
+
}, [additionalDocuments, bypassAgeValidation, bypassNameMatching, cardData, clientRequestID, companyId, customerDataMatchConfig, deduplicationEnabled, deduplicationSynchronous, documentServiceUrl, enrollmentId, expectedAudioText, geolocationResult, idBackCaptureAttempts, idBackImage, idBackImageRequired, idCaptureVideoAudioStartsAt, idCaptureVideoAudioUrl, idCaptureVideoIdBackImage, idCaptureVideoIdFrontImage, idCaptureVideoUrl, idCardForFaceMatch, idData, idFrontCaptureAttempts, idFrontImage, idImageResolutionCheck, manualReviewRequired, needImmediateResponse, passportImage, personalData, selfieCaptureAttempts, selfieImage, signatureData, signatureVideoUrl, uploadDocument, verifyIdWithExternalDatabases, webhooksClientTraceId, webhooksEnabled, webhooksFireOnReview, webhooksSendInputImages, webhooksSendProcessedImages, webhooksStripSpecialCharacters, webhooksURL]);
|
|
2518
2520
|
var defaultOnSubmit = React.useCallback(function () {
|
|
2519
2521
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
2520
2522
|
var submissionResponse_1, payload, host, endpoint, response, statusMessage, submissionResponse_2, e_1, err;
|
|
@@ -23192,6 +23194,7 @@
|
|
|
23192
23194
|
cardData = _a.cardData,
|
|
23193
23195
|
idData = _a.idData,
|
|
23194
23196
|
webhooksEnabled = _a.webhooksEnabled,
|
|
23197
|
+
webhooksURL = _a.webhooksURL,
|
|
23195
23198
|
webhooksClientTraceId = _a.webhooksClientTraceId,
|
|
23196
23199
|
webhooksStripSpecialCharacters = _a.webhooksStripSpecialCharacters,
|
|
23197
23200
|
webhooksSendInputImages = _a.webhooksSendInputImages,
|
|
@@ -23354,6 +23357,7 @@
|
|
|
23354
23357
|
cardData: cardData,
|
|
23355
23358
|
idData: idData,
|
|
23356
23359
|
webhooksEnabled: webhooksEnabled,
|
|
23360
|
+
webhooksURL: webhooksURL,
|
|
23357
23361
|
webhooksClientTraceId: webhooksClientTraceId,
|
|
23358
23362
|
webhooksStripSpecialCharacters: webhooksStripSpecialCharacters,
|
|
23359
23363
|
webhooksSendInputImages: webhooksSendInputImages,
|
|
@@ -23396,6 +23400,7 @@
|
|
|
23396
23400
|
companyId = _a.companyId,
|
|
23397
23401
|
needImmediateResponse = _a.needImmediateResponse,
|
|
23398
23402
|
webhooksEnabled = _a.webhooksEnabled,
|
|
23403
|
+
webhooksURL = _a.webhooksURL,
|
|
23399
23404
|
webhooksClientTraceId = _a.webhooksClientTraceId,
|
|
23400
23405
|
webhooksStripSpecialCharacters = _a.webhooksStripSpecialCharacters,
|
|
23401
23406
|
webhooksSendInputImages = _a.webhooksSendInputImages,
|
|
@@ -23469,6 +23474,7 @@
|
|
|
23469
23474
|
companyId: companyId,
|
|
23470
23475
|
needImmediateResponse: needImmediateResponse,
|
|
23471
23476
|
webhooksEnabled: webhooksEnabled,
|
|
23477
|
+
webhooksURL: webhooksURL,
|
|
23472
23478
|
webhooksClientTraceId: webhooksClientTraceId,
|
|
23473
23479
|
webhooksStripSpecialCharacters: webhooksStripSpecialCharacters,
|
|
23474
23480
|
webhooksSendInputImages: webhooksSendInputImages,
|
|
@@ -23513,6 +23519,7 @@
|
|
|
23513
23519
|
cardData = _a.cardData,
|
|
23514
23520
|
idData = _a.idData,
|
|
23515
23521
|
webhooksEnabled = _a.webhooksEnabled,
|
|
23522
|
+
webhooksURL = _a.webhooksURL,
|
|
23516
23523
|
webhooksClientTraceId = _a.webhooksClientTraceId,
|
|
23517
23524
|
webhooksStripSpecialCharacters = _a.webhooksStripSpecialCharacters,
|
|
23518
23525
|
webhooksSendInputImages = _a.webhooksSendInputImages,
|
|
@@ -23525,35 +23532,37 @@
|
|
|
23525
23532
|
idCaptureLoadingOverlayMode = _c === void 0 ? 'default' : _c,
|
|
23526
23533
|
_d = _a.idCaptureRequirement,
|
|
23527
23534
|
idCaptureRequirement = _d === void 0 ? 'idCardOrPassport' : _d,
|
|
23528
|
-
_e = _a.
|
|
23529
|
-
|
|
23530
|
-
_f = _a.
|
|
23531
|
-
|
|
23532
|
-
_g = _a.
|
|
23533
|
-
|
|
23534
|
-
_h = _a.
|
|
23535
|
-
|
|
23535
|
+
_e = _a.allowSinglePageIdCapture,
|
|
23536
|
+
allowSinglePageIdCapture = _e === void 0 ? false : _e,
|
|
23537
|
+
_f = _a.idCaptureThresholds,
|
|
23538
|
+
idCaptureThresholds = _f === void 0 ? defaultIdCaptureThresholds : _f,
|
|
23539
|
+
_g = _a.faceLivenessLoadingOverlayMode,
|
|
23540
|
+
faceLivenessLoadingOverlayMode = _g === void 0 ? 'default' : _g,
|
|
23541
|
+
_h = _a.faceLivenessTimeoutDurationMs,
|
|
23542
|
+
faceLivenessTimeoutDurationMs = _h === void 0 ? 15000 : _h,
|
|
23543
|
+
_j = _a.skipSuccessScreen,
|
|
23544
|
+
skipSuccessScreen = _j === void 0 ? false : _j,
|
|
23536
23545
|
idCaptureInstructions = _a.idCaptureInstructions,
|
|
23537
|
-
|
|
23538
|
-
idCaptureGuideType =
|
|
23539
|
-
|
|
23540
|
-
idCaptureGuideImages =
|
|
23541
|
-
|
|
23542
|
-
idCapturePortraitGuidesOnMobile =
|
|
23543
|
-
|
|
23544
|
-
idCaptureRotateLoadingOverlayImageWhenPortrait =
|
|
23545
|
-
|
|
23546
|
-
idCaptureModelLoadTimeoutMs =
|
|
23547
|
-
|
|
23548
|
-
idCaptureForceFallbackMode =
|
|
23549
|
-
|
|
23550
|
-
selfieCaptureModelLoadTimeoutMs =
|
|
23551
|
-
|
|
23552
|
-
allowIdCardBackToFrontCapture =
|
|
23553
|
-
|
|
23554
|
-
enableOverrideWrongDocumentTypeDialog =
|
|
23555
|
-
|
|
23556
|
-
allowOverrideWrongDocumentTypeAfterMs =
|
|
23546
|
+
_k = _a.idCaptureGuideType,
|
|
23547
|
+
idCaptureGuideType = _k === void 0 ? 'fit' : _k,
|
|
23548
|
+
_l = _a.idCaptureGuideImages,
|
|
23549
|
+
idCaptureGuideImages = _l === void 0 ? defaultIdCaptureGuideImages : _l,
|
|
23550
|
+
_m = _a.idCapturePortraitGuidesOnMobile,
|
|
23551
|
+
idCapturePortraitGuidesOnMobile = _m === void 0 ? true : _m,
|
|
23552
|
+
_o = _a.idCaptureRotateLoadingOverlayImageWhenPortrait,
|
|
23553
|
+
idCaptureRotateLoadingOverlayImageWhenPortrait = _o === void 0 ? true : _o,
|
|
23554
|
+
_p = _a.idCaptureModelLoadTimeoutMs,
|
|
23555
|
+
idCaptureModelLoadTimeoutMs = _p === void 0 ? defaultDocumentDetectionModelLoadTimeoutMs : _p,
|
|
23556
|
+
_q = _a.idCaptureForceFallbackMode,
|
|
23557
|
+
idCaptureForceFallbackMode = _q === void 0 ? false : _q,
|
|
23558
|
+
_r = _a.selfieCaptureModelLoadTimeoutMs,
|
|
23559
|
+
selfieCaptureModelLoadTimeoutMs = _r === void 0 ? defaultSelfieCaptureModelLoadTimeoutMs : _r,
|
|
23560
|
+
_s = _a.allowIdCardBackToFrontCapture,
|
|
23561
|
+
allowIdCardBackToFrontCapture = _s === void 0 ? false : _s,
|
|
23562
|
+
_t = _a.enableOverrideWrongDocumentTypeDialog,
|
|
23563
|
+
enableOverrideWrongDocumentTypeDialog = _t === void 0 ? false : _t,
|
|
23564
|
+
_u = _a.allowOverrideWrongDocumentTypeAfterMs,
|
|
23565
|
+
allowOverrideWrongDocumentTypeAfterMs = _u === void 0 ? 8000 : _u,
|
|
23557
23566
|
onBeforeDocumentUpload = _a.onBeforeDocumentUpload,
|
|
23558
23567
|
onDocumentUploaded = _a.onDocumentUploaded,
|
|
23559
23568
|
onDocumentUploadProgress = _a.onDocumentUploadProgress,
|
|
@@ -23570,28 +23579,28 @@
|
|
|
23570
23579
|
onIdCaptureModelError = _a.onIdCaptureModelError,
|
|
23571
23580
|
onSelfieCaptureModelError = _a.onSelfieCaptureModelError,
|
|
23572
23581
|
onCameraAccessDenied = _a.onCameraAccessDenied,
|
|
23573
|
-
|
|
23574
|
-
captureSignature =
|
|
23575
|
-
|
|
23576
|
-
captureSignatureVideo =
|
|
23577
|
-
|
|
23578
|
-
captureAdditionalDocuments =
|
|
23579
|
-
|
|
23580
|
-
theme =
|
|
23581
|
-
|
|
23582
|
-
assets =
|
|
23583
|
-
|
|
23584
|
-
classNames =
|
|
23585
|
-
|
|
23586
|
-
colors =
|
|
23587
|
-
|
|
23588
|
-
verbiage =
|
|
23589
|
-
|
|
23590
|
-
geolocationEnabled =
|
|
23591
|
-
|
|
23592
|
-
geolocationRequired =
|
|
23593
|
-
|
|
23594
|
-
debugMode =
|
|
23582
|
+
_v = _a.captureSignature,
|
|
23583
|
+
captureSignature = _v === void 0 ? false : _v,
|
|
23584
|
+
_w = _a.captureSignatureVideo,
|
|
23585
|
+
captureSignatureVideo = _w === void 0 ? false : _w,
|
|
23586
|
+
_x = _a.captureAdditionalDocuments,
|
|
23587
|
+
captureAdditionalDocuments = _x === void 0 ? [] : _x,
|
|
23588
|
+
_y = _a.theme,
|
|
23589
|
+
theme = _y === void 0 ? 'default' : _y,
|
|
23590
|
+
_z = _a.assets,
|
|
23591
|
+
assets = _z === void 0 ? {} : _z,
|
|
23592
|
+
_0 = _a.classNames,
|
|
23593
|
+
classNames = _0 === void 0 ? {} : _0,
|
|
23594
|
+
_1 = _a.colors,
|
|
23595
|
+
colors = _1 === void 0 ? {} : _1,
|
|
23596
|
+
_2 = _a.verbiage,
|
|
23597
|
+
verbiage = _2 === void 0 ? {} : _2,
|
|
23598
|
+
_3 = _a.geolocationEnabled,
|
|
23599
|
+
geolocationEnabled = _3 === void 0 ? true : _3,
|
|
23600
|
+
_4 = _a.geolocationRequired,
|
|
23601
|
+
geolocationRequired = _4 === void 0 ? false : _4,
|
|
23602
|
+
_5 = _a.debugMode,
|
|
23603
|
+
debugMode = _5 === void 0 ? false : _5;
|
|
23595
23604
|
useLanguage(lang);
|
|
23596
23605
|
useDebugLogging(debugMode);
|
|
23597
23606
|
var idCaptureProps = React.useMemo(function () {
|
|
@@ -23605,6 +23614,7 @@
|
|
|
23605
23614
|
verbiage: verbiage.idCapture,
|
|
23606
23615
|
precapturedDocuments: precapturedDocuments,
|
|
23607
23616
|
captureRequirement: idCaptureRequirement,
|
|
23617
|
+
allowSinglePageIdCapture: allowSinglePageIdCapture,
|
|
23608
23618
|
thresholds: idCaptureThresholds,
|
|
23609
23619
|
loadingOverlayMode: idCaptureLoadingOverlayMode,
|
|
23610
23620
|
instructions: idCaptureInstructions,
|
|
@@ -23620,7 +23630,7 @@
|
|
|
23620
23630
|
skipSuccessScreen: skipSuccessScreen,
|
|
23621
23631
|
debugMode: debugMode
|
|
23622
23632
|
};
|
|
23623
|
-
}, [onExitCapture, onUserCancel, onIdCaptureModelError, assets.idCapture, classNames.idCapture, colors.idCapture, verbiage.idCapture, precapturedDocuments, idCaptureRequirement, idCaptureThresholds, idCaptureLoadingOverlayMode, idCaptureInstructions, idCaptureGuideType, idCaptureGuideImages, idCapturePortraitGuidesOnMobile, idCaptureRotateLoadingOverlayImageWhenPortrait, idCaptureModelLoadTimeoutMs, allowIdCardBackToFrontCapture, enableOverrideWrongDocumentTypeDialog, allowOverrideWrongDocumentTypeAfterMs, idCaptureForceFallbackMode, skipSuccessScreen, debugMode]);
|
|
23633
|
+
}, [onExitCapture, onUserCancel, onIdCaptureModelError, assets.idCapture, classNames.idCapture, colors.idCapture, verbiage.idCapture, precapturedDocuments, idCaptureRequirement, allowSinglePageIdCapture, idCaptureThresholds, idCaptureLoadingOverlayMode, idCaptureInstructions, idCaptureGuideType, idCaptureGuideImages, idCapturePortraitGuidesOnMobile, idCaptureRotateLoadingOverlayImageWhenPortrait, idCaptureModelLoadTimeoutMs, allowIdCardBackToFrontCapture, enableOverrideWrongDocumentTypeDialog, allowOverrideWrongDocumentTypeAfterMs, idCaptureForceFallbackMode, skipSuccessScreen, debugMode]);
|
|
23624
23634
|
var faceLivenessProps = React.useMemo(function () {
|
|
23625
23635
|
return {
|
|
23626
23636
|
loadingOverlayMode: faceLivenessLoadingOverlayMode,
|
|
@@ -23694,6 +23704,7 @@
|
|
|
23694
23704
|
cardData: cardData,
|
|
23695
23705
|
idData: idData,
|
|
23696
23706
|
webhooksEnabled: webhooksEnabled,
|
|
23707
|
+
webhooksURL: webhooksURL,
|
|
23697
23708
|
webhooksClientTraceId: webhooksClientTraceId,
|
|
23698
23709
|
webhooksStripSpecialCharacters: webhooksStripSpecialCharacters,
|
|
23699
23710
|
webhooksSendInputImages: webhooksSendInputImages,
|
|
@@ -23751,6 +23762,7 @@
|
|
|
23751
23762
|
deduplicationEnabled = _a.deduplicationEnabled,
|
|
23752
23763
|
deduplicationSynchronous = _a.deduplicationSynchronous,
|
|
23753
23764
|
webhooksEnabled = _a.webhooksEnabled,
|
|
23765
|
+
webhooksURL = _a.webhooksURL,
|
|
23754
23766
|
webhooksClientTraceId = _a.webhooksClientTraceId,
|
|
23755
23767
|
webhooksStripSpecialCharacters = _a.webhooksStripSpecialCharacters,
|
|
23756
23768
|
webhooksSendInputImages = _a.webhooksSendInputImages,
|
|
@@ -23762,35 +23774,37 @@
|
|
|
23762
23774
|
idCaptureLoadingOverlayMode = _c === void 0 ? 'default' : _c,
|
|
23763
23775
|
_d = _a.idCaptureRequirement,
|
|
23764
23776
|
idCaptureRequirement = _d === void 0 ? 'idCardOrPassport' : _d,
|
|
23765
|
-
_e = _a.
|
|
23766
|
-
|
|
23767
|
-
_f = _a.
|
|
23768
|
-
|
|
23769
|
-
_g = _a.
|
|
23770
|
-
|
|
23771
|
-
_h = _a.
|
|
23772
|
-
|
|
23777
|
+
_e = _a.allowSinglePageIdCapture,
|
|
23778
|
+
allowSinglePageIdCapture = _e === void 0 ? false : _e,
|
|
23779
|
+
_f = _a.idCaptureThresholds,
|
|
23780
|
+
idCaptureThresholds = _f === void 0 ? defaultIdCaptureThresholds : _f,
|
|
23781
|
+
_g = _a.faceLivenessTimeoutDurationMs,
|
|
23782
|
+
faceLivenessTimeoutDurationMs = _g === void 0 ? 15000 : _g,
|
|
23783
|
+
_h = _a.faceLivenessLoadingOverlayMode,
|
|
23784
|
+
faceLivenessLoadingOverlayMode = _h === void 0 ? 'default' : _h,
|
|
23785
|
+
_j = _a.skipSuccessScreen,
|
|
23786
|
+
skipSuccessScreen = _j === void 0 ? false : _j,
|
|
23773
23787
|
idCaptureInstructions = _a.idCaptureInstructions,
|
|
23774
|
-
|
|
23775
|
-
idCaptureGuideType =
|
|
23776
|
-
|
|
23777
|
-
idCaptureGuideImages =
|
|
23778
|
-
|
|
23779
|
-
idCapturePortraitGuidesOnMobile =
|
|
23780
|
-
|
|
23781
|
-
idCaptureRotateLoadingOverlayImageWhenPortrait =
|
|
23782
|
-
|
|
23783
|
-
idCaptureModelLoadTimeoutMs =
|
|
23784
|
-
|
|
23785
|
-
idCaptureForceFallbackMode =
|
|
23786
|
-
|
|
23787
|
-
selfieCaptureModelLoadTimeoutMs =
|
|
23788
|
-
|
|
23789
|
-
allowIdCardBackToFrontCapture =
|
|
23790
|
-
|
|
23791
|
-
enableOverrideWrongDocumentTypeDialog =
|
|
23792
|
-
|
|
23793
|
-
allowOverrideWrongDocumentTypeAfterMs =
|
|
23788
|
+
_k = _a.idCaptureGuideType,
|
|
23789
|
+
idCaptureGuideType = _k === void 0 ? 'fit' : _k,
|
|
23790
|
+
_l = _a.idCaptureGuideImages,
|
|
23791
|
+
idCaptureGuideImages = _l === void 0 ? defaultIdCaptureGuideImages : _l,
|
|
23792
|
+
_m = _a.idCapturePortraitGuidesOnMobile,
|
|
23793
|
+
idCapturePortraitGuidesOnMobile = _m === void 0 ? true : _m,
|
|
23794
|
+
_o = _a.idCaptureRotateLoadingOverlayImageWhenPortrait,
|
|
23795
|
+
idCaptureRotateLoadingOverlayImageWhenPortrait = _o === void 0 ? true : _o,
|
|
23796
|
+
_p = _a.idCaptureModelLoadTimeoutMs,
|
|
23797
|
+
idCaptureModelLoadTimeoutMs = _p === void 0 ? defaultDocumentDetectionModelLoadTimeoutMs : _p,
|
|
23798
|
+
_q = _a.idCaptureForceFallbackMode,
|
|
23799
|
+
idCaptureForceFallbackMode = _q === void 0 ? false : _q,
|
|
23800
|
+
_r = _a.selfieCaptureModelLoadTimeoutMs,
|
|
23801
|
+
selfieCaptureModelLoadTimeoutMs = _r === void 0 ? defaultSelfieCaptureModelLoadTimeoutMs : _r,
|
|
23802
|
+
_s = _a.allowIdCardBackToFrontCapture,
|
|
23803
|
+
allowIdCardBackToFrontCapture = _s === void 0 ? false : _s,
|
|
23804
|
+
_t = _a.enableOverrideWrongDocumentTypeDialog,
|
|
23805
|
+
enableOverrideWrongDocumentTypeDialog = _t === void 0 ? false : _t,
|
|
23806
|
+
_u = _a.allowOverrideWrongDocumentTypeAfterMs,
|
|
23807
|
+
allowOverrideWrongDocumentTypeAfterMs = _u === void 0 ? 8000 : _u,
|
|
23794
23808
|
onBeforeDocumentUpload = _a.onBeforeDocumentUpload,
|
|
23795
23809
|
onDocumentUploadProgress = _a.onDocumentUploadProgress,
|
|
23796
23810
|
onDocumentUploaded = _a.onDocumentUploaded,
|
|
@@ -23806,31 +23820,31 @@
|
|
|
23806
23820
|
onIdCaptureModelError = _a.onIdCaptureModelError,
|
|
23807
23821
|
onSelfieCaptureModelError = _a.onSelfieCaptureModelError,
|
|
23808
23822
|
onCameraAccessDenied = _a.onCameraAccessDenied,
|
|
23809
|
-
|
|
23810
|
-
captureSignature =
|
|
23811
|
-
|
|
23812
|
-
captureSignatureVideo =
|
|
23813
|
-
|
|
23814
|
-
captureAdditionalDocuments =
|
|
23815
|
-
|
|
23816
|
-
captureVideoId =
|
|
23823
|
+
_v = _a.captureSignature,
|
|
23824
|
+
captureSignature = _v === void 0 ? false : _v,
|
|
23825
|
+
_w = _a.captureSignatureVideo,
|
|
23826
|
+
captureSignatureVideo = _w === void 0 ? false : _w,
|
|
23827
|
+
_x = _a.captureAdditionalDocuments,
|
|
23828
|
+
captureAdditionalDocuments = _x === void 0 ? [] : _x,
|
|
23829
|
+
_y = _a.captureVideoId,
|
|
23830
|
+
captureVideoId = _y === void 0 ? false : _y,
|
|
23817
23831
|
captureVideoIdProps = _a.captureVideoIdProps,
|
|
23818
|
-
|
|
23819
|
-
theme =
|
|
23820
|
-
|
|
23821
|
-
assets =
|
|
23822
|
-
|
|
23823
|
-
classNames =
|
|
23824
|
-
|
|
23825
|
-
colors =
|
|
23826
|
-
|
|
23827
|
-
verbiage =
|
|
23828
|
-
|
|
23829
|
-
geolocationEnabled =
|
|
23830
|
-
|
|
23831
|
-
geolocationRequired =
|
|
23832
|
-
|
|
23833
|
-
debugMode =
|
|
23832
|
+
_z = _a.theme,
|
|
23833
|
+
theme = _z === void 0 ? 'default' : _z,
|
|
23834
|
+
_0 = _a.assets,
|
|
23835
|
+
assets = _0 === void 0 ? {} : _0,
|
|
23836
|
+
_1 = _a.classNames,
|
|
23837
|
+
classNames = _1 === void 0 ? {} : _1,
|
|
23838
|
+
_2 = _a.colors,
|
|
23839
|
+
colors = _2 === void 0 ? {} : _2,
|
|
23840
|
+
_3 = _a.verbiage,
|
|
23841
|
+
verbiage = _3 === void 0 ? {} : _3,
|
|
23842
|
+
_4 = _a.geolocationEnabled,
|
|
23843
|
+
geolocationEnabled = _4 === void 0 ? true : _4,
|
|
23844
|
+
_5 = _a.geolocationRequired,
|
|
23845
|
+
geolocationRequired = _5 === void 0 ? false : _5,
|
|
23846
|
+
_6 = _a.debugMode,
|
|
23847
|
+
debugMode = _6 === void 0 ? false : _6;
|
|
23834
23848
|
useLanguage(lang);
|
|
23835
23849
|
useDebugLogging(debugMode);
|
|
23836
23850
|
var idCaptureProps = React.useMemo(function () {
|
|
@@ -23840,6 +23854,7 @@
|
|
|
23840
23854
|
colors: colors.idCapture,
|
|
23841
23855
|
verbiage: verbiage.idCapture,
|
|
23842
23856
|
captureRequirement: idCaptureRequirement,
|
|
23857
|
+
allowSinglePageIdCapture: allowSinglePageIdCapture,
|
|
23843
23858
|
thresholds: idCaptureThresholds,
|
|
23844
23859
|
loadingOverlayMode: idCaptureLoadingOverlayMode,
|
|
23845
23860
|
instructions: idCaptureInstructions,
|
|
@@ -23858,7 +23873,7 @@
|
|
|
23858
23873
|
skipSuccessScreen: skipSuccessScreen,
|
|
23859
23874
|
debugMode: debugMode
|
|
23860
23875
|
};
|
|
23861
|
-
}, [assets.idCapture, classNames.idCapture, colors.idCapture, verbiage.idCapture, idCaptureRequirement, idCaptureThresholds, idCaptureLoadingOverlayMode, idCaptureInstructions, idCaptureGuideType, idCaptureGuideImages, idCapturePortraitGuidesOnMobile, idCaptureRotateLoadingOverlayImageWhenPortrait, idCaptureModelLoadTimeoutMs, allowIdCardBackToFrontCapture, idCaptureForceFallbackMode, enableOverrideWrongDocumentTypeDialog, allowOverrideWrongDocumentTypeAfterMs, onExitCapture, onUserCancel, onIdCaptureModelError, skipSuccessScreen, debugMode]);
|
|
23876
|
+
}, [assets.idCapture, classNames.idCapture, colors.idCapture, verbiage.idCapture, idCaptureRequirement, allowSinglePageIdCapture, idCaptureThresholds, idCaptureLoadingOverlayMode, idCaptureInstructions, idCaptureGuideType, idCaptureGuideImages, idCapturePortraitGuidesOnMobile, idCaptureRotateLoadingOverlayImageWhenPortrait, idCaptureModelLoadTimeoutMs, allowIdCardBackToFrontCapture, idCaptureForceFallbackMode, enableOverrideWrongDocumentTypeDialog, allowOverrideWrongDocumentTypeAfterMs, onExitCapture, onUserCancel, onIdCaptureModelError, skipSuccessScreen, debugMode]);
|
|
23862
23877
|
var faceLivenessProps = React.useMemo(function () {
|
|
23863
23878
|
return {
|
|
23864
23879
|
onExitCapture: onExitCapture,
|
|
@@ -23951,6 +23966,7 @@
|
|
|
23951
23966
|
deduplicationEnabled: deduplicationEnabled,
|
|
23952
23967
|
deduplicationSynchronous: deduplicationSynchronous,
|
|
23953
23968
|
webhooksEnabled: webhooksEnabled,
|
|
23969
|
+
webhooksURL: webhooksURL,
|
|
23954
23970
|
webhooksClientTraceId: webhooksClientTraceId,
|
|
23955
23971
|
webhooksStripSpecialCharacters: webhooksStripSpecialCharacters,
|
|
23956
23972
|
webhooksSendInputImages: webhooksSendInputImages,
|
|
@@ -24449,6 +24465,7 @@
|
|
|
24449
24465
|
companyId = _a.companyId,
|
|
24450
24466
|
needImmediateResponse = _a.needImmediateResponse,
|
|
24451
24467
|
webhooksEnabled = _a.webhooksEnabled,
|
|
24468
|
+
webhooksURL = _a.webhooksURL,
|
|
24452
24469
|
webhooksClientTraceId = _a.webhooksClientTraceId,
|
|
24453
24470
|
webhooksStripSpecialCharacters = _a.webhooksStripSpecialCharacters,
|
|
24454
24471
|
webhooksSendInputImages = _a.webhooksSendInputImages,
|
|
@@ -24503,6 +24520,7 @@
|
|
|
24503
24520
|
enrollmentId: enrollmentId,
|
|
24504
24521
|
needImmediateResponse: needImmediateResponse,
|
|
24505
24522
|
webhooksEnabled: webhooksEnabled,
|
|
24523
|
+
webhooksURL: webhooksURL,
|
|
24506
24524
|
webhooksClientTraceId: webhooksClientTraceId,
|
|
24507
24525
|
webhooksStripSpecialCharacters: webhooksStripSpecialCharacters,
|
|
24508
24526
|
webhooksSendInputImages: webhooksSendInputImages,
|
|
@@ -25005,6 +25023,7 @@
|
|
|
25005
25023
|
companyId = _a.companyId,
|
|
25006
25024
|
needImmediateResponse = _a.needImmediateResponse,
|
|
25007
25025
|
webhooksEnabled = _a.webhooksEnabled,
|
|
25026
|
+
webhooksURL = _a.webhooksURL,
|
|
25008
25027
|
webhooksClientTraceId = _a.webhooksClientTraceId,
|
|
25009
25028
|
webhooksStripSpecialCharacters = _a.webhooksStripSpecialCharacters,
|
|
25010
25029
|
webhooksSendInputImages = _a.webhooksSendInputImages,
|
|
@@ -25058,6 +25077,7 @@
|
|
|
25058
25077
|
companyId: companyId,
|
|
25059
25078
|
needImmediateResponse: needImmediateResponse,
|
|
25060
25079
|
webhooksEnabled: webhooksEnabled,
|
|
25080
|
+
webhooksURL: webhooksURL,
|
|
25061
25081
|
webhooksClientTraceId: webhooksClientTraceId,
|
|
25062
25082
|
webhooksStripSpecialCharacters: webhooksStripSpecialCharacters,
|
|
25063
25083
|
webhooksSendInputImages: webhooksSendInputImages,
|
|
@@ -25209,6 +25229,7 @@
|
|
|
25209
25229
|
cardData = _a.cardData,
|
|
25210
25230
|
idData = _a.idData,
|
|
25211
25231
|
webhooksEnabled = _a.webhooksEnabled,
|
|
25232
|
+
webhooksURL = _a.webhooksURL,
|
|
25212
25233
|
webhooksClientTraceId = _a.webhooksClientTraceId,
|
|
25213
25234
|
webhooksStripSpecialCharacters = _a.webhooksStripSpecialCharacters,
|
|
25214
25235
|
webhooksSendInputImages = _a.webhooksSendInputImages,
|
|
@@ -25376,6 +25397,7 @@
|
|
|
25376
25397
|
cardData: cardData,
|
|
25377
25398
|
idData: idData,
|
|
25378
25399
|
webhooksEnabled: webhooksEnabled,
|
|
25400
|
+
webhooksURL: webhooksURL,
|
|
25379
25401
|
webhooksClientTraceId: webhooksClientTraceId,
|
|
25380
25402
|
webhooksStripSpecialCharacters: webhooksStripSpecialCharacters,
|
|
25381
25403
|
webhooksSendInputImages: webhooksSendInputImages,
|
|
@@ -25423,6 +25445,7 @@
|
|
|
25423
25445
|
deduplicationEnabled = _a.deduplicationEnabled,
|
|
25424
25446
|
deduplicationSynchronous = _a.deduplicationSynchronous,
|
|
25425
25447
|
webhooksEnabled = _a.webhooksEnabled,
|
|
25448
|
+
webhooksURL = _a.webhooksURL,
|
|
25426
25449
|
webhooksClientTraceId = _a.webhooksClientTraceId,
|
|
25427
25450
|
webhooksStripSpecialCharacters = _a.webhooksStripSpecialCharacters,
|
|
25428
25451
|
webhooksSendInputImages = _a.webhooksSendInputImages,
|
|
@@ -25538,6 +25561,7 @@
|
|
|
25538
25561
|
deduplicationEnabled: deduplicationEnabled,
|
|
25539
25562
|
deduplicationSynchronous: deduplicationSynchronous,
|
|
25540
25563
|
webhooksEnabled: webhooksEnabled,
|
|
25564
|
+
webhooksURL: webhooksURL,
|
|
25541
25565
|
webhooksClientTraceId: webhooksClientTraceId,
|
|
25542
25566
|
webhooksStripSpecialCharacters: webhooksStripSpecialCharacters,
|
|
25543
25567
|
webhooksSendInputImages: webhooksSendInputImages,
|