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
package/dist/sdk2.esm.js CHANGED
@@ -203,7 +203,7 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
203
203
  return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
204
204
  };
205
205
 
206
- var webSdkVersion = '2.2.75';
206
+ var webSdkVersion = '2.2.77';
207
207
 
208
208
  function getPlatform() {
209
209
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
@@ -1145,6 +1145,7 @@ var SubmissionProvider = function SubmissionProvider(_a) {
1145
1145
  geolocationRequired = _p === void 0 ? false : _p,
1146
1146
  _q = _a.webhooksEnabled,
1147
1147
  webhooksEnabled = _q === void 0 ? false : _q,
1148
+ webhooksURL = _a.webhooksURL,
1148
1149
  webhooksClientTraceId = _a.webhooksClientTraceId,
1149
1150
  _r = _a.webhooksStripSpecialCharacters,
1150
1151
  webhooksStripSpecialCharacters = _r === void 0 ? true : _r,
@@ -1437,6 +1438,7 @@ var SubmissionProvider = function SubmissionProvider(_a) {
1437
1438
  bypassAgeValidation: bypassAgeValidation ? 'Y' : 'N',
1438
1439
  bypassNameMatching: bypassNameMatching ? 'Y' : 'N',
1439
1440
  postDataAPIRequired: webhooksEnabled ? 'Y' : 'N',
1441
+ postDataAPIURL: webhooksURL,
1440
1442
  postDataOnReviewRequired: webhooksFireOnReview ? 'Y' : 'N',
1441
1443
  sendInputImagesInPost: webhooksSendInputImages ? 'Y' : 'N',
1442
1444
  sendProcessedImagesInPost: webhooksSendProcessedImages ? 'Y' : 'N',
@@ -1542,7 +1544,7 @@ var SubmissionProvider = function SubmissionProvider(_a) {
1542
1544
  }
1543
1545
  });
1544
1546
  });
1545
- }, [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]);
1547
+ }, [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]);
1546
1548
  var defaultOnSubmit = useCallback(function () {
1547
1549
  return __awaiter(void 0, void 0, void 0, function () {
1548
1550
  var submissionResponse_1, payload, host, endpoint, response, statusMessage, submissionResponse_2, e_1, err;
@@ -13350,6 +13352,7 @@ var IdValidation = function IdValidation(_a) {
13350
13352
  cardData = _a.cardData,
13351
13353
  idData = _a.idData,
13352
13354
  webhooksEnabled = _a.webhooksEnabled,
13355
+ webhooksURL = _a.webhooksURL,
13353
13356
  webhooksClientTraceId = _a.webhooksClientTraceId,
13354
13357
  webhooksStripSpecialCharacters = _a.webhooksStripSpecialCharacters,
13355
13358
  webhooksSendInputImages = _a.webhooksSendInputImages,
@@ -13512,6 +13515,7 @@ var IdValidation = function IdValidation(_a) {
13512
13515
  cardData: cardData,
13513
13516
  idData: idData,
13514
13517
  webhooksEnabled: webhooksEnabled,
13518
+ webhooksURL: webhooksURL,
13515
13519
  webhooksClientTraceId: webhooksClientTraceId,
13516
13520
  webhooksStripSpecialCharacters: webhooksStripSpecialCharacters,
13517
13521
  webhooksSendInputImages: webhooksSendInputImages,
@@ -13554,6 +13558,7 @@ var FaceValidation = function FaceValidation(_a) {
13554
13558
  companyId = _a.companyId,
13555
13559
  needImmediateResponse = _a.needImmediateResponse,
13556
13560
  webhooksEnabled = _a.webhooksEnabled,
13561
+ webhooksURL = _a.webhooksURL,
13557
13562
  webhooksClientTraceId = _a.webhooksClientTraceId,
13558
13563
  webhooksStripSpecialCharacters = _a.webhooksStripSpecialCharacters,
13559
13564
  webhooksSendInputImages = _a.webhooksSendInputImages,
@@ -13627,6 +13632,7 @@ var FaceValidation = function FaceValidation(_a) {
13627
13632
  companyId: companyId,
13628
13633
  needImmediateResponse: needImmediateResponse,
13629
13634
  webhooksEnabled: webhooksEnabled,
13635
+ webhooksURL: webhooksURL,
13630
13636
  webhooksClientTraceId: webhooksClientTraceId,
13631
13637
  webhooksStripSpecialCharacters: webhooksStripSpecialCharacters,
13632
13638
  webhooksSendInputImages: webhooksSendInputImages,
@@ -13671,6 +13677,7 @@ var IdAndFaceValidation = function IdAndFaceValidation(_a) {
13671
13677
  cardData = _a.cardData,
13672
13678
  idData = _a.idData,
13673
13679
  webhooksEnabled = _a.webhooksEnabled,
13680
+ webhooksURL = _a.webhooksURL,
13674
13681
  webhooksClientTraceId = _a.webhooksClientTraceId,
13675
13682
  webhooksStripSpecialCharacters = _a.webhooksStripSpecialCharacters,
13676
13683
  webhooksSendInputImages = _a.webhooksSendInputImages,
@@ -13683,35 +13690,37 @@ var IdAndFaceValidation = function IdAndFaceValidation(_a) {
13683
13690
  idCaptureLoadingOverlayMode = _c === void 0 ? 'default' : _c,
13684
13691
  _d = _a.idCaptureRequirement,
13685
13692
  idCaptureRequirement = _d === void 0 ? 'idCardOrPassport' : _d,
13686
- _e = _a.idCaptureThresholds,
13687
- idCaptureThresholds = _e === void 0 ? defaultIdCaptureThresholds : _e,
13688
- _f = _a.faceLivenessLoadingOverlayMode,
13689
- faceLivenessLoadingOverlayMode = _f === void 0 ? 'default' : _f,
13690
- _g = _a.faceLivenessTimeoutDurationMs,
13691
- faceLivenessTimeoutDurationMs = _g === void 0 ? 15000 : _g,
13692
- _h = _a.skipSuccessScreen,
13693
- skipSuccessScreen = _h === void 0 ? false : _h,
13693
+ _e = _a.allowSinglePageIdCapture,
13694
+ allowSinglePageIdCapture = _e === void 0 ? false : _e,
13695
+ _f = _a.idCaptureThresholds,
13696
+ idCaptureThresholds = _f === void 0 ? defaultIdCaptureThresholds : _f,
13697
+ _g = _a.faceLivenessLoadingOverlayMode,
13698
+ faceLivenessLoadingOverlayMode = _g === void 0 ? 'default' : _g,
13699
+ _h = _a.faceLivenessTimeoutDurationMs,
13700
+ faceLivenessTimeoutDurationMs = _h === void 0 ? 15000 : _h,
13701
+ _j = _a.skipSuccessScreen,
13702
+ skipSuccessScreen = _j === void 0 ? false : _j,
13694
13703
  idCaptureInstructions = _a.idCaptureInstructions,
13695
- _j = _a.idCaptureGuideType,
13696
- idCaptureGuideType = _j === void 0 ? 'fit' : _j,
13697
- _k = _a.idCaptureGuideImages,
13698
- idCaptureGuideImages = _k === void 0 ? defaultIdCaptureGuideImages : _k,
13699
- _l = _a.idCapturePortraitGuidesOnMobile,
13700
- idCapturePortraitGuidesOnMobile = _l === void 0 ? true : _l,
13701
- _m = _a.idCaptureRotateLoadingOverlayImageWhenPortrait,
13702
- idCaptureRotateLoadingOverlayImageWhenPortrait = _m === void 0 ? true : _m,
13703
- _o = _a.idCaptureModelLoadTimeoutMs,
13704
- idCaptureModelLoadTimeoutMs = _o === void 0 ? defaultDocumentDetectionModelLoadTimeoutMs : _o,
13705
- _p = _a.idCaptureForceFallbackMode,
13706
- idCaptureForceFallbackMode = _p === void 0 ? false : _p,
13707
- _q = _a.selfieCaptureModelLoadTimeoutMs,
13708
- selfieCaptureModelLoadTimeoutMs = _q === void 0 ? defaultSelfieCaptureModelLoadTimeoutMs : _q,
13709
- _r = _a.allowIdCardBackToFrontCapture,
13710
- allowIdCardBackToFrontCapture = _r === void 0 ? false : _r,
13711
- _s = _a.enableOverrideWrongDocumentTypeDialog,
13712
- enableOverrideWrongDocumentTypeDialog = _s === void 0 ? false : _s,
13713
- _t = _a.allowOverrideWrongDocumentTypeAfterMs,
13714
- allowOverrideWrongDocumentTypeAfterMs = _t === void 0 ? 8000 : _t,
13704
+ _k = _a.idCaptureGuideType,
13705
+ idCaptureGuideType = _k === void 0 ? 'fit' : _k,
13706
+ _l = _a.idCaptureGuideImages,
13707
+ idCaptureGuideImages = _l === void 0 ? defaultIdCaptureGuideImages : _l,
13708
+ _m = _a.idCapturePortraitGuidesOnMobile,
13709
+ idCapturePortraitGuidesOnMobile = _m === void 0 ? true : _m,
13710
+ _o = _a.idCaptureRotateLoadingOverlayImageWhenPortrait,
13711
+ idCaptureRotateLoadingOverlayImageWhenPortrait = _o === void 0 ? true : _o,
13712
+ _p = _a.idCaptureModelLoadTimeoutMs,
13713
+ idCaptureModelLoadTimeoutMs = _p === void 0 ? defaultDocumentDetectionModelLoadTimeoutMs : _p,
13714
+ _q = _a.idCaptureForceFallbackMode,
13715
+ idCaptureForceFallbackMode = _q === void 0 ? false : _q,
13716
+ _r = _a.selfieCaptureModelLoadTimeoutMs,
13717
+ selfieCaptureModelLoadTimeoutMs = _r === void 0 ? defaultSelfieCaptureModelLoadTimeoutMs : _r,
13718
+ _s = _a.allowIdCardBackToFrontCapture,
13719
+ allowIdCardBackToFrontCapture = _s === void 0 ? false : _s,
13720
+ _t = _a.enableOverrideWrongDocumentTypeDialog,
13721
+ enableOverrideWrongDocumentTypeDialog = _t === void 0 ? false : _t,
13722
+ _u = _a.allowOverrideWrongDocumentTypeAfterMs,
13723
+ allowOverrideWrongDocumentTypeAfterMs = _u === void 0 ? 8000 : _u,
13715
13724
  onBeforeDocumentUpload = _a.onBeforeDocumentUpload,
13716
13725
  onDocumentUploaded = _a.onDocumentUploaded,
13717
13726
  onDocumentUploadProgress = _a.onDocumentUploadProgress,
@@ -13728,28 +13737,28 @@ var IdAndFaceValidation = function IdAndFaceValidation(_a) {
13728
13737
  onIdCaptureModelError = _a.onIdCaptureModelError,
13729
13738
  onSelfieCaptureModelError = _a.onSelfieCaptureModelError,
13730
13739
  onCameraAccessDenied = _a.onCameraAccessDenied,
13731
- _u = _a.captureSignature,
13732
- captureSignature = _u === void 0 ? false : _u,
13733
- _v = _a.captureSignatureVideo,
13734
- captureSignatureVideo = _v === void 0 ? false : _v,
13735
- _w = _a.captureAdditionalDocuments,
13736
- captureAdditionalDocuments = _w === void 0 ? [] : _w,
13737
- _x = _a.theme,
13738
- theme = _x === void 0 ? 'default' : _x,
13739
- _y = _a.assets,
13740
- assets = _y === void 0 ? {} : _y,
13741
- _z = _a.classNames,
13742
- classNames = _z === void 0 ? {} : _z,
13743
- _0 = _a.colors,
13744
- colors = _0 === void 0 ? {} : _0,
13745
- _1 = _a.verbiage,
13746
- verbiage = _1 === void 0 ? {} : _1,
13747
- _2 = _a.geolocationEnabled,
13748
- geolocationEnabled = _2 === void 0 ? true : _2,
13749
- _3 = _a.geolocationRequired,
13750
- geolocationRequired = _3 === void 0 ? false : _3,
13751
- _4 = _a.debugMode,
13752
- debugMode = _4 === void 0 ? false : _4;
13740
+ _v = _a.captureSignature,
13741
+ captureSignature = _v === void 0 ? false : _v,
13742
+ _w = _a.captureSignatureVideo,
13743
+ captureSignatureVideo = _w === void 0 ? false : _w,
13744
+ _x = _a.captureAdditionalDocuments,
13745
+ captureAdditionalDocuments = _x === void 0 ? [] : _x,
13746
+ _y = _a.theme,
13747
+ theme = _y === void 0 ? 'default' : _y,
13748
+ _z = _a.assets,
13749
+ assets = _z === void 0 ? {} : _z,
13750
+ _0 = _a.classNames,
13751
+ classNames = _0 === void 0 ? {} : _0,
13752
+ _1 = _a.colors,
13753
+ colors = _1 === void 0 ? {} : _1,
13754
+ _2 = _a.verbiage,
13755
+ verbiage = _2 === void 0 ? {} : _2,
13756
+ _3 = _a.geolocationEnabled,
13757
+ geolocationEnabled = _3 === void 0 ? true : _3,
13758
+ _4 = _a.geolocationRequired,
13759
+ geolocationRequired = _4 === void 0 ? false : _4,
13760
+ _5 = _a.debugMode,
13761
+ debugMode = _5 === void 0 ? false : _5;
13753
13762
  useLanguage(lang);
13754
13763
  useDebugLogging(debugMode);
13755
13764
  var idCaptureProps = useMemo(function () {
@@ -13763,6 +13772,7 @@ var IdAndFaceValidation = function IdAndFaceValidation(_a) {
13763
13772
  verbiage: verbiage.idCapture,
13764
13773
  precapturedDocuments: precapturedDocuments,
13765
13774
  captureRequirement: idCaptureRequirement,
13775
+ allowSinglePageIdCapture: allowSinglePageIdCapture,
13766
13776
  thresholds: idCaptureThresholds,
13767
13777
  loadingOverlayMode: idCaptureLoadingOverlayMode,
13768
13778
  instructions: idCaptureInstructions,
@@ -13778,7 +13788,7 @@ var IdAndFaceValidation = function IdAndFaceValidation(_a) {
13778
13788
  skipSuccessScreen: skipSuccessScreen,
13779
13789
  debugMode: debugMode
13780
13790
  };
13781
- }, [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]);
13791
+ }, [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]);
13782
13792
  var faceLivenessProps = useMemo(function () {
13783
13793
  return {
13784
13794
  loadingOverlayMode: faceLivenessLoadingOverlayMode,
@@ -13852,6 +13862,7 @@ var IdAndFaceValidation = function IdAndFaceValidation(_a) {
13852
13862
  cardData: cardData,
13853
13863
  idData: idData,
13854
13864
  webhooksEnabled: webhooksEnabled,
13865
+ webhooksURL: webhooksURL,
13855
13866
  webhooksClientTraceId: webhooksClientTraceId,
13856
13867
  webhooksStripSpecialCharacters: webhooksStripSpecialCharacters,
13857
13868
  webhooksSendInputImages: webhooksSendInputImages,
@@ -13909,6 +13920,7 @@ var CustomerIdAndBiometricsEnrollment = function CustomerIdAndBiometricsEnrollme
13909
13920
  deduplicationEnabled = _a.deduplicationEnabled,
13910
13921
  deduplicationSynchronous = _a.deduplicationSynchronous,
13911
13922
  webhooksEnabled = _a.webhooksEnabled,
13923
+ webhooksURL = _a.webhooksURL,
13912
13924
  webhooksClientTraceId = _a.webhooksClientTraceId,
13913
13925
  webhooksStripSpecialCharacters = _a.webhooksStripSpecialCharacters,
13914
13926
  webhooksSendInputImages = _a.webhooksSendInputImages,
@@ -13920,35 +13932,37 @@ var CustomerIdAndBiometricsEnrollment = function CustomerIdAndBiometricsEnrollme
13920
13932
  idCaptureLoadingOverlayMode = _c === void 0 ? 'default' : _c,
13921
13933
  _d = _a.idCaptureRequirement,
13922
13934
  idCaptureRequirement = _d === void 0 ? 'idCardOrPassport' : _d,
13923
- _e = _a.idCaptureThresholds,
13924
- idCaptureThresholds = _e === void 0 ? defaultIdCaptureThresholds : _e,
13925
- _f = _a.faceLivenessTimeoutDurationMs,
13926
- faceLivenessTimeoutDurationMs = _f === void 0 ? 15000 : _f,
13927
- _g = _a.faceLivenessLoadingOverlayMode,
13928
- faceLivenessLoadingOverlayMode = _g === void 0 ? 'default' : _g,
13929
- _h = _a.skipSuccessScreen,
13930
- skipSuccessScreen = _h === void 0 ? false : _h,
13935
+ _e = _a.allowSinglePageIdCapture,
13936
+ allowSinglePageIdCapture = _e === void 0 ? false : _e,
13937
+ _f = _a.idCaptureThresholds,
13938
+ idCaptureThresholds = _f === void 0 ? defaultIdCaptureThresholds : _f,
13939
+ _g = _a.faceLivenessTimeoutDurationMs,
13940
+ faceLivenessTimeoutDurationMs = _g === void 0 ? 15000 : _g,
13941
+ _h = _a.faceLivenessLoadingOverlayMode,
13942
+ faceLivenessLoadingOverlayMode = _h === void 0 ? 'default' : _h,
13943
+ _j = _a.skipSuccessScreen,
13944
+ skipSuccessScreen = _j === void 0 ? false : _j,
13931
13945
  idCaptureInstructions = _a.idCaptureInstructions,
13932
- _j = _a.idCaptureGuideType,
13933
- idCaptureGuideType = _j === void 0 ? 'fit' : _j,
13934
- _k = _a.idCaptureGuideImages,
13935
- idCaptureGuideImages = _k === void 0 ? defaultIdCaptureGuideImages : _k,
13936
- _l = _a.idCapturePortraitGuidesOnMobile,
13937
- idCapturePortraitGuidesOnMobile = _l === void 0 ? true : _l,
13938
- _m = _a.idCaptureRotateLoadingOverlayImageWhenPortrait,
13939
- idCaptureRotateLoadingOverlayImageWhenPortrait = _m === void 0 ? true : _m,
13940
- _o = _a.idCaptureModelLoadTimeoutMs,
13941
- idCaptureModelLoadTimeoutMs = _o === void 0 ? defaultDocumentDetectionModelLoadTimeoutMs : _o,
13942
- _p = _a.idCaptureForceFallbackMode,
13943
- idCaptureForceFallbackMode = _p === void 0 ? false : _p,
13944
- _q = _a.selfieCaptureModelLoadTimeoutMs,
13945
- selfieCaptureModelLoadTimeoutMs = _q === void 0 ? defaultSelfieCaptureModelLoadTimeoutMs : _q,
13946
- _r = _a.allowIdCardBackToFrontCapture,
13947
- allowIdCardBackToFrontCapture = _r === void 0 ? false : _r,
13948
- _s = _a.enableOverrideWrongDocumentTypeDialog,
13949
- enableOverrideWrongDocumentTypeDialog = _s === void 0 ? false : _s,
13950
- _t = _a.allowOverrideWrongDocumentTypeAfterMs,
13951
- allowOverrideWrongDocumentTypeAfterMs = _t === void 0 ? 8000 : _t,
13946
+ _k = _a.idCaptureGuideType,
13947
+ idCaptureGuideType = _k === void 0 ? 'fit' : _k,
13948
+ _l = _a.idCaptureGuideImages,
13949
+ idCaptureGuideImages = _l === void 0 ? defaultIdCaptureGuideImages : _l,
13950
+ _m = _a.idCapturePortraitGuidesOnMobile,
13951
+ idCapturePortraitGuidesOnMobile = _m === void 0 ? true : _m,
13952
+ _o = _a.idCaptureRotateLoadingOverlayImageWhenPortrait,
13953
+ idCaptureRotateLoadingOverlayImageWhenPortrait = _o === void 0 ? true : _o,
13954
+ _p = _a.idCaptureModelLoadTimeoutMs,
13955
+ idCaptureModelLoadTimeoutMs = _p === void 0 ? defaultDocumentDetectionModelLoadTimeoutMs : _p,
13956
+ _q = _a.idCaptureForceFallbackMode,
13957
+ idCaptureForceFallbackMode = _q === void 0 ? false : _q,
13958
+ _r = _a.selfieCaptureModelLoadTimeoutMs,
13959
+ selfieCaptureModelLoadTimeoutMs = _r === void 0 ? defaultSelfieCaptureModelLoadTimeoutMs : _r,
13960
+ _s = _a.allowIdCardBackToFrontCapture,
13961
+ allowIdCardBackToFrontCapture = _s === void 0 ? false : _s,
13962
+ _t = _a.enableOverrideWrongDocumentTypeDialog,
13963
+ enableOverrideWrongDocumentTypeDialog = _t === void 0 ? false : _t,
13964
+ _u = _a.allowOverrideWrongDocumentTypeAfterMs,
13965
+ allowOverrideWrongDocumentTypeAfterMs = _u === void 0 ? 8000 : _u,
13952
13966
  onBeforeDocumentUpload = _a.onBeforeDocumentUpload,
13953
13967
  onDocumentUploadProgress = _a.onDocumentUploadProgress,
13954
13968
  onDocumentUploaded = _a.onDocumentUploaded,
@@ -13964,31 +13978,31 @@ var CustomerIdAndBiometricsEnrollment = function CustomerIdAndBiometricsEnrollme
13964
13978
  onIdCaptureModelError = _a.onIdCaptureModelError,
13965
13979
  onSelfieCaptureModelError = _a.onSelfieCaptureModelError,
13966
13980
  onCameraAccessDenied = _a.onCameraAccessDenied,
13967
- _u = _a.captureSignature,
13968
- captureSignature = _u === void 0 ? false : _u,
13969
- _v = _a.captureSignatureVideo,
13970
- captureSignatureVideo = _v === void 0 ? false : _v,
13971
- _w = _a.captureAdditionalDocuments,
13972
- captureAdditionalDocuments = _w === void 0 ? [] : _w,
13973
- _x = _a.captureVideoId,
13974
- captureVideoId = _x === void 0 ? false : _x,
13981
+ _v = _a.captureSignature,
13982
+ captureSignature = _v === void 0 ? false : _v,
13983
+ _w = _a.captureSignatureVideo,
13984
+ captureSignatureVideo = _w === void 0 ? false : _w,
13985
+ _x = _a.captureAdditionalDocuments,
13986
+ captureAdditionalDocuments = _x === void 0 ? [] : _x,
13987
+ _y = _a.captureVideoId,
13988
+ captureVideoId = _y === void 0 ? false : _y,
13975
13989
  captureVideoIdProps = _a.captureVideoIdProps,
13976
- _y = _a.theme,
13977
- theme = _y === void 0 ? 'default' : _y,
13978
- _z = _a.assets,
13979
- assets = _z === void 0 ? {} : _z,
13980
- _0 = _a.classNames,
13981
- classNames = _0 === void 0 ? {} : _0,
13982
- _1 = _a.colors,
13983
- colors = _1 === void 0 ? {} : _1,
13984
- _2 = _a.verbiage,
13985
- verbiage = _2 === void 0 ? {} : _2,
13986
- _3 = _a.geolocationEnabled,
13987
- geolocationEnabled = _3 === void 0 ? true : _3,
13988
- _4 = _a.geolocationRequired,
13989
- geolocationRequired = _4 === void 0 ? false : _4,
13990
- _5 = _a.debugMode,
13991
- debugMode = _5 === void 0 ? false : _5;
13990
+ _z = _a.theme,
13991
+ theme = _z === void 0 ? 'default' : _z,
13992
+ _0 = _a.assets,
13993
+ assets = _0 === void 0 ? {} : _0,
13994
+ _1 = _a.classNames,
13995
+ classNames = _1 === void 0 ? {} : _1,
13996
+ _2 = _a.colors,
13997
+ colors = _2 === void 0 ? {} : _2,
13998
+ _3 = _a.verbiage,
13999
+ verbiage = _3 === void 0 ? {} : _3,
14000
+ _4 = _a.geolocationEnabled,
14001
+ geolocationEnabled = _4 === void 0 ? true : _4,
14002
+ _5 = _a.geolocationRequired,
14003
+ geolocationRequired = _5 === void 0 ? false : _5,
14004
+ _6 = _a.debugMode,
14005
+ debugMode = _6 === void 0 ? false : _6;
13992
14006
  useLanguage(lang);
13993
14007
  useDebugLogging(debugMode);
13994
14008
  var idCaptureProps = useMemo(function () {
@@ -13998,6 +14012,7 @@ var CustomerIdAndBiometricsEnrollment = function CustomerIdAndBiometricsEnrollme
13998
14012
  colors: colors.idCapture,
13999
14013
  verbiage: verbiage.idCapture,
14000
14014
  captureRequirement: idCaptureRequirement,
14015
+ allowSinglePageIdCapture: allowSinglePageIdCapture,
14001
14016
  thresholds: idCaptureThresholds,
14002
14017
  loadingOverlayMode: idCaptureLoadingOverlayMode,
14003
14018
  instructions: idCaptureInstructions,
@@ -14016,7 +14031,7 @@ var CustomerIdAndBiometricsEnrollment = function CustomerIdAndBiometricsEnrollme
14016
14031
  skipSuccessScreen: skipSuccessScreen,
14017
14032
  debugMode: debugMode
14018
14033
  };
14019
- }, [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]);
14034
+ }, [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]);
14020
14035
  var faceLivenessProps = useMemo(function () {
14021
14036
  return {
14022
14037
  onExitCapture: onExitCapture,
@@ -14109,6 +14124,7 @@ var CustomerIdAndBiometricsEnrollment = function CustomerIdAndBiometricsEnrollme
14109
14124
  deduplicationEnabled: deduplicationEnabled,
14110
14125
  deduplicationSynchronous: deduplicationSynchronous,
14111
14126
  webhooksEnabled: webhooksEnabled,
14127
+ webhooksURL: webhooksURL,
14112
14128
  webhooksClientTraceId: webhooksClientTraceId,
14113
14129
  webhooksStripSpecialCharacters: webhooksStripSpecialCharacters,
14114
14130
  webhooksSendInputImages: webhooksSendInputImages,
@@ -14607,6 +14623,7 @@ var CustomerVerification = function CustomerVerification(_a) {
14607
14623
  companyId = _a.companyId,
14608
14624
  needImmediateResponse = _a.needImmediateResponse,
14609
14625
  webhooksEnabled = _a.webhooksEnabled,
14626
+ webhooksURL = _a.webhooksURL,
14610
14627
  webhooksClientTraceId = _a.webhooksClientTraceId,
14611
14628
  webhooksStripSpecialCharacters = _a.webhooksStripSpecialCharacters,
14612
14629
  webhooksSendInputImages = _a.webhooksSendInputImages,
@@ -14661,6 +14678,7 @@ var CustomerVerification = function CustomerVerification(_a) {
14661
14678
  enrollmentId: enrollmentId,
14662
14679
  needImmediateResponse: needImmediateResponse,
14663
14680
  webhooksEnabled: webhooksEnabled,
14681
+ webhooksURL: webhooksURL,
14664
14682
  webhooksClientTraceId: webhooksClientTraceId,
14665
14683
  webhooksStripSpecialCharacters: webhooksStripSpecialCharacters,
14666
14684
  webhooksSendInputImages: webhooksSendInputImages,
@@ -15163,6 +15181,7 @@ var CustomerIdentification = function CustomerIdentification(_a) {
15163
15181
  companyId = _a.companyId,
15164
15182
  needImmediateResponse = _a.needImmediateResponse,
15165
15183
  webhooksEnabled = _a.webhooksEnabled,
15184
+ webhooksURL = _a.webhooksURL,
15166
15185
  webhooksClientTraceId = _a.webhooksClientTraceId,
15167
15186
  webhooksStripSpecialCharacters = _a.webhooksStripSpecialCharacters,
15168
15187
  webhooksSendInputImages = _a.webhooksSendInputImages,
@@ -15216,6 +15235,7 @@ var CustomerIdentification = function CustomerIdentification(_a) {
15216
15235
  companyId: companyId,
15217
15236
  needImmediateResponse: needImmediateResponse,
15218
15237
  webhooksEnabled: webhooksEnabled,
15238
+ webhooksURL: webhooksURL,
15219
15239
  webhooksClientTraceId: webhooksClientTraceId,
15220
15240
  webhooksStripSpecialCharacters: webhooksStripSpecialCharacters,
15221
15241
  webhooksSendInputImages: webhooksSendInputImages,
@@ -15367,6 +15387,7 @@ var VideoIdValidation = function VideoIdValidation(_a) {
15367
15387
  cardData = _a.cardData,
15368
15388
  idData = _a.idData,
15369
15389
  webhooksEnabled = _a.webhooksEnabled,
15390
+ webhooksURL = _a.webhooksURL,
15370
15391
  webhooksClientTraceId = _a.webhooksClientTraceId,
15371
15392
  webhooksStripSpecialCharacters = _a.webhooksStripSpecialCharacters,
15372
15393
  webhooksSendInputImages = _a.webhooksSendInputImages,
@@ -15534,6 +15555,7 @@ var VideoIdValidation = function VideoIdValidation(_a) {
15534
15555
  cardData: cardData,
15535
15556
  idData: idData,
15536
15557
  webhooksEnabled: webhooksEnabled,
15558
+ webhooksURL: webhooksURL,
15537
15559
  webhooksClientTraceId: webhooksClientTraceId,
15538
15560
  webhooksStripSpecialCharacters: webhooksStripSpecialCharacters,
15539
15561
  webhooksSendInputImages: webhooksSendInputImages,
@@ -15581,6 +15603,7 @@ var CustomerBiometricsEnrollment = function CustomerBiometricsEnrollment(_a) {
15581
15603
  deduplicationEnabled = _a.deduplicationEnabled,
15582
15604
  deduplicationSynchronous = _a.deduplicationSynchronous,
15583
15605
  webhooksEnabled = _a.webhooksEnabled,
15606
+ webhooksURL = _a.webhooksURL,
15584
15607
  webhooksClientTraceId = _a.webhooksClientTraceId,
15585
15608
  webhooksStripSpecialCharacters = _a.webhooksStripSpecialCharacters,
15586
15609
  webhooksSendInputImages = _a.webhooksSendInputImages,
@@ -15696,6 +15719,7 @@ var CustomerBiometricsEnrollment = function CustomerBiometricsEnrollment(_a) {
15696
15719
  deduplicationEnabled: deduplicationEnabled,
15697
15720
  deduplicationSynchronous: deduplicationSynchronous,
15698
15721
  webhooksEnabled: webhooksEnabled,
15722
+ webhooksURL: webhooksURL,
15699
15723
  webhooksClientTraceId: webhooksClientTraceId,
15700
15724
  webhooksStripSpecialCharacters: webhooksStripSpecialCharacters,
15701
15725
  webhooksSendInputImages: webhooksSendInputImages,