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.
Files changed (32) hide show
  1. package/dist/components/customer_flows/CustomerBiometricsEnrollment.d.ts +2 -0
  2. package/dist/components/customer_flows/CustomerBiometricsEnrollment.d.ts.map +1 -1
  3. package/dist/components/customer_flows/CustomerIdAndBiometricsEnrollment.d.ts +4 -0
  4. package/dist/components/customer_flows/CustomerIdAndBiometricsEnrollment.d.ts.map +1 -1
  5. package/dist/components/customer_flows/CustomerIdentification.d.ts +2 -0
  6. package/dist/components/customer_flows/CustomerIdentification.d.ts.map +1 -1
  7. package/dist/components/customer_flows/CustomerVerification.d.ts +2 -0
  8. package/dist/components/customer_flows/CustomerVerification.d.ts.map +1 -1
  9. package/dist/components/customer_flows/FaceValidation.d.ts +2 -0
  10. package/dist/components/customer_flows/FaceValidation.d.ts.map +1 -1
  11. package/dist/components/customer_flows/IdAndFaceValidation.d.ts +4 -0
  12. package/dist/components/customer_flows/IdAndFaceValidation.d.ts.map +1 -1
  13. package/dist/components/customer_flows/IdValidation.d.ts +2 -0
  14. package/dist/components/customer_flows/IdValidation.d.ts.map +1 -1
  15. package/dist/components/customer_flows/VideoIdValidation.d.ts +2 -0
  16. package/dist/components/customer_flows/VideoIdValidation.d.ts.map +1 -1
  17. package/dist/components/submission/SubmissionProvider.d.ts +2 -1
  18. package/dist/components/submission/SubmissionProvider.d.ts.map +1 -1
  19. package/dist/components/submission/types.d.ts +1 -0
  20. package/dist/components/submission/types.d.ts.map +1 -1
  21. package/dist/sdk2.cjs.development.js +130 -106
  22. package/dist/sdk2.cjs.development.js.map +1 -1
  23. package/dist/sdk2.cjs.production.js +1 -1
  24. package/dist/sdk2.cjs.production.js.map +1 -1
  25. package/dist/sdk2.esm.js +130 -106
  26. package/dist/sdk2.esm.js.map +1 -1
  27. package/dist/sdk2.umd.development.js +130 -106
  28. package/dist/sdk2.umd.development.js.map +1 -1
  29. package/dist/sdk2.umd.production.js +1 -1
  30. package/dist/sdk2.umd.production.js.map +1 -1
  31. package/dist/version.d.ts +1 -1
  32. 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.75';
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.idCaptureThresholds,
23529
- idCaptureThresholds = _e === void 0 ? defaultIdCaptureThresholds : _e,
23530
- _f = _a.faceLivenessLoadingOverlayMode,
23531
- faceLivenessLoadingOverlayMode = _f === void 0 ? 'default' : _f,
23532
- _g = _a.faceLivenessTimeoutDurationMs,
23533
- faceLivenessTimeoutDurationMs = _g === void 0 ? 15000 : _g,
23534
- _h = _a.skipSuccessScreen,
23535
- skipSuccessScreen = _h === void 0 ? false : _h,
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
- _j = _a.idCaptureGuideType,
23538
- idCaptureGuideType = _j === void 0 ? 'fit' : _j,
23539
- _k = _a.idCaptureGuideImages,
23540
- idCaptureGuideImages = _k === void 0 ? defaultIdCaptureGuideImages : _k,
23541
- _l = _a.idCapturePortraitGuidesOnMobile,
23542
- idCapturePortraitGuidesOnMobile = _l === void 0 ? true : _l,
23543
- _m = _a.idCaptureRotateLoadingOverlayImageWhenPortrait,
23544
- idCaptureRotateLoadingOverlayImageWhenPortrait = _m === void 0 ? true : _m,
23545
- _o = _a.idCaptureModelLoadTimeoutMs,
23546
- idCaptureModelLoadTimeoutMs = _o === void 0 ? defaultDocumentDetectionModelLoadTimeoutMs : _o,
23547
- _p = _a.idCaptureForceFallbackMode,
23548
- idCaptureForceFallbackMode = _p === void 0 ? false : _p,
23549
- _q = _a.selfieCaptureModelLoadTimeoutMs,
23550
- selfieCaptureModelLoadTimeoutMs = _q === void 0 ? defaultSelfieCaptureModelLoadTimeoutMs : _q,
23551
- _r = _a.allowIdCardBackToFrontCapture,
23552
- allowIdCardBackToFrontCapture = _r === void 0 ? false : _r,
23553
- _s = _a.enableOverrideWrongDocumentTypeDialog,
23554
- enableOverrideWrongDocumentTypeDialog = _s === void 0 ? false : _s,
23555
- _t = _a.allowOverrideWrongDocumentTypeAfterMs,
23556
- allowOverrideWrongDocumentTypeAfterMs = _t === void 0 ? 8000 : _t,
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
- _u = _a.captureSignature,
23574
- captureSignature = _u === void 0 ? false : _u,
23575
- _v = _a.captureSignatureVideo,
23576
- captureSignatureVideo = _v === void 0 ? false : _v,
23577
- _w = _a.captureAdditionalDocuments,
23578
- captureAdditionalDocuments = _w === void 0 ? [] : _w,
23579
- _x = _a.theme,
23580
- theme = _x === void 0 ? 'default' : _x,
23581
- _y = _a.assets,
23582
- assets = _y === void 0 ? {} : _y,
23583
- _z = _a.classNames,
23584
- classNames = _z === void 0 ? {} : _z,
23585
- _0 = _a.colors,
23586
- colors = _0 === void 0 ? {} : _0,
23587
- _1 = _a.verbiage,
23588
- verbiage = _1 === void 0 ? {} : _1,
23589
- _2 = _a.geolocationEnabled,
23590
- geolocationEnabled = _2 === void 0 ? true : _2,
23591
- _3 = _a.geolocationRequired,
23592
- geolocationRequired = _3 === void 0 ? false : _3,
23593
- _4 = _a.debugMode,
23594
- debugMode = _4 === void 0 ? false : _4;
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.idCaptureThresholds,
23766
- idCaptureThresholds = _e === void 0 ? defaultIdCaptureThresholds : _e,
23767
- _f = _a.faceLivenessTimeoutDurationMs,
23768
- faceLivenessTimeoutDurationMs = _f === void 0 ? 15000 : _f,
23769
- _g = _a.faceLivenessLoadingOverlayMode,
23770
- faceLivenessLoadingOverlayMode = _g === void 0 ? 'default' : _g,
23771
- _h = _a.skipSuccessScreen,
23772
- skipSuccessScreen = _h === void 0 ? false : _h,
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
- _j = _a.idCaptureGuideType,
23775
- idCaptureGuideType = _j === void 0 ? 'fit' : _j,
23776
- _k = _a.idCaptureGuideImages,
23777
- idCaptureGuideImages = _k === void 0 ? defaultIdCaptureGuideImages : _k,
23778
- _l = _a.idCapturePortraitGuidesOnMobile,
23779
- idCapturePortraitGuidesOnMobile = _l === void 0 ? true : _l,
23780
- _m = _a.idCaptureRotateLoadingOverlayImageWhenPortrait,
23781
- idCaptureRotateLoadingOverlayImageWhenPortrait = _m === void 0 ? true : _m,
23782
- _o = _a.idCaptureModelLoadTimeoutMs,
23783
- idCaptureModelLoadTimeoutMs = _o === void 0 ? defaultDocumentDetectionModelLoadTimeoutMs : _o,
23784
- _p = _a.idCaptureForceFallbackMode,
23785
- idCaptureForceFallbackMode = _p === void 0 ? false : _p,
23786
- _q = _a.selfieCaptureModelLoadTimeoutMs,
23787
- selfieCaptureModelLoadTimeoutMs = _q === void 0 ? defaultSelfieCaptureModelLoadTimeoutMs : _q,
23788
- _r = _a.allowIdCardBackToFrontCapture,
23789
- allowIdCardBackToFrontCapture = _r === void 0 ? false : _r,
23790
- _s = _a.enableOverrideWrongDocumentTypeDialog,
23791
- enableOverrideWrongDocumentTypeDialog = _s === void 0 ? false : _s,
23792
- _t = _a.allowOverrideWrongDocumentTypeAfterMs,
23793
- allowOverrideWrongDocumentTypeAfterMs = _t === void 0 ? 8000 : _t,
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
- _u = _a.captureSignature,
23810
- captureSignature = _u === void 0 ? false : _u,
23811
- _v = _a.captureSignatureVideo,
23812
- captureSignatureVideo = _v === void 0 ? false : _v,
23813
- _w = _a.captureAdditionalDocuments,
23814
- captureAdditionalDocuments = _w === void 0 ? [] : _w,
23815
- _x = _a.captureVideoId,
23816
- captureVideoId = _x === void 0 ? false : _x,
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
- _y = _a.theme,
23819
- theme = _y === void 0 ? 'default' : _y,
23820
- _z = _a.assets,
23821
- assets = _z === void 0 ? {} : _z,
23822
- _0 = _a.classNames,
23823
- classNames = _0 === void 0 ? {} : _0,
23824
- _1 = _a.colors,
23825
- colors = _1 === void 0 ? {} : _1,
23826
- _2 = _a.verbiage,
23827
- verbiage = _2 === void 0 ? {} : _2,
23828
- _3 = _a.geolocationEnabled,
23829
- geolocationEnabled = _3 === void 0 ? true : _3,
23830
- _4 = _a.geolocationRequired,
23831
- geolocationRequired = _4 === void 0 ? false : _4,
23832
- _5 = _a.debugMode,
23833
- debugMode = _5 === void 0 ? false : _5;
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,