@incodetech/core 2.4.0-rc.4 → 2.4.1-agentic
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/{FaceDetectionProvider-CzQEFzP8.esm.js → FaceDetectionProvider-B83VmClw.esm.js} +29 -64
- package/dist/IBrowserEnvironmentCapability-D7JG7ML3.esm.js +16 -0
- package/dist/IGeolocationCapability-r49Qo7rR.d.ts +10 -0
- package/dist/{IWasmUtilCapability-GF2n7sfm.d.ts → IWasmUtilCapability-Cqiaxydi.d.ts} +31 -4
- package/dist/{PhoneValidationProvider-SZiOS0jB.esm.js → PhoneValidationProvider-Co4zk2en.esm.js} +7 -0
- package/dist/{StreamCanvasCapture-7JRf-2ck.d.ts → StreamCanvasCapture-C3xNfOsv.d.ts} +12 -3
- package/dist/{WasmUtilProvider-DtJuBdt-.esm.js → WasmUtilProvider-GTkoJyFY.esm.js} +75 -22
- package/dist/{addressSearch-DPjIKJrX.esm.js → addressSearch-41sMcnJk.esm.js} +72 -31
- package/dist/{advanceableErrors-q_pfU3Cn.esm.js → advanceableErrors-k-U-cL5m.esm.js} +1 -2
- package/dist/ae-signature.esm.js +1 -1
- package/dist/antifraud.esm.js +2 -2
- package/dist/{antifraudManager-CaweCYnY.esm.js → antifraudManager-CQ08atTC.esm.js} +2 -2
- package/dist/{antifraudStateMachine-DRl0UVyA.esm.js → antifraudStateMachine-BcsUTTIr.esm.js} +1 -1
- package/dist/{api-Cz90EHyu.esm.js → api-BO8JA7Pf.esm.js} +6 -5
- package/dist/{apiError-B_uY7RO6.esm.js → apiError-CfuIvnUy.esm.js} +1 -1
- package/dist/attemptCarry-BjTJ6bMQ.esm.js +45 -0
- package/dist/authentication.d.ts +3 -3
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-BIZC55Bi.d.ts → authenticationManager-C-cOki0Y.d.ts} +1 -1
- package/dist/{authenticationManager-CSHZQTlb.esm.js → authenticationManager-DvmklBTE.esm.js} +5 -5
- package/dist/{authenticationStateMachine-DrO14KyC.esm.js → authenticationStateMachine-BL2ptOA0.esm.js} +3 -3
- package/dist/{backCameraStream-CMvXj4X4.esm.js → backCameraStream-C5_NNfUN.esm.js} +3 -43
- package/dist/{browser-DlFgHpoC-DnyrCR8r.esm.js → browser-pQZA35G2-DtkAf6sn.esm.js} +161 -150
- package/dist/{camera-sIa9ceW2.esm.js → camera-E_Kcre4O.esm.js} +15 -23
- package/dist/camera.esm.js +1 -1
- package/dist/certificate-issuance.esm.js +2 -2
- package/dist/{certificateIssuanceManager-BfeMv2PU.esm.js → certificateIssuanceManager-CM0fuqDC.esm.js} +2 -2
- package/dist/{certificateIssuanceStateMachine-Frgjbjw8.esm.js → certificateIssuanceStateMachine-kksIUOPD.esm.js} +2 -2
- package/dist/cnpj-Co1ottYN.esm.js +77 -0
- package/dist/connectivity-HSl0diCx.esm.js +133 -0
- package/dist/consent.d.ts +1 -1
- package/dist/consent.esm.js +2 -2
- package/dist/{consentManager-CvEu8h_W.esm.js → consentManager-CBwFozhv.esm.js} +4 -3
- package/dist/{consentManager-Cv_0QKLD.d.ts → consentManager-_q9yJUku.d.ts} +14 -7
- package/dist/{consentStateMachine-DJTgN_-1.esm.js → consentStateMachine-CpmRAcr2.esm.js} +20 -7
- package/dist/cross-document-data-match.esm.js +1 -1
- package/dist/{crossDocumentDataMatchManager-Cu141CE8.esm.js → crossDocumentDataMatchManager-64O8t10a.esm.js} +2 -2
- package/dist/curp-validation.d.ts +1 -1
- package/dist/curp-validation.esm.js +2 -2
- package/dist/{curpValidationManager-B-z9q5V3.esm.js → curpValidationManager-CLgJQcx0.esm.js} +3 -2
- package/dist/{curpValidationManager-C9sqoh9n.d.ts → curpValidationManager-CXpFE-Mv.d.ts} +1 -1
- package/dist/{curpValidationStateMachine-vDEFLMPw.esm.js → curpValidationStateMachine-Bx9YhVkJ.esm.js} +28 -20
- package/dist/custom-fields.esm.js +1 -1
- package/dist/custom-watchlist.esm.js +2 -2
- package/dist/{customFieldsManager-D1ex2cFM.esm.js → customFieldsManager-DWt_0YtJ.esm.js} +2 -2
- package/dist/{customWatchlistManager-CTI-SGk0.esm.js → customWatchlistManager-D8o-2Nej.esm.js} +2 -2
- package/dist/{customWatchlistStateMachine-hmRd0f2I.esm.js → customWatchlistStateMachine-Sbi6DIcK.esm.js} +1 -1
- package/dist/{deepsightLoader-DkrG5zbN.esm.js → deepsightLoader-DMxtowCm.esm.js} +6 -28
- package/dist/{deepsightService-BrltL1DF.esm.js → deepsightService-twg3bXqY.esm.js} +20 -59
- package/dist/{createCameraCycleOwnership-Dj_LHUvN.esm.js → desktopCameraElection-kHY2IDJi.esm.js} +177 -40
- package/dist/device.esm.js +2 -2
- package/dist/document-capture.d.ts +2 -2
- package/dist/document-capture.esm.js +2 -2
- package/dist/{documentCaptureManager-DkyDtm3Y.d.ts → documentCaptureManager-6tnnDkMX.d.ts} +14 -2
- package/dist/{documentCaptureManager-DUJwpKC5.esm.js → documentCaptureManager-CMSC_Mhd.esm.js} +26 -19
- package/dist/{documentCaptureStateMachine-B8i7GnLh.esm.js → documentCaptureStateMachine-BCwD5Rto.esm.js} +43 -35
- package/dist/dynamic-forms.d.ts +2 -2
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-C0dHs1ty.d.ts → dynamicFormsManager-9kwY8Bf5.d.ts} +1 -1
- package/dist/{dynamicFormsManager-D7Xnjm7B.esm.js → dynamicFormsManager-DU6W1e20.esm.js} +2 -2
- package/dist/{dynamicFormsStateMachine-Cgk0VPP4.esm.js → dynamicFormsStateMachine-C8Z7k3vo.esm.js} +2 -2
- package/dist/ekyb.d.ts +4 -4
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybManager-BaZ_7CEu.d.ts → ekybManager-TB6ZG5lX.d.ts} +2 -2
- package/dist/{ekybManager-yj_Y36jM.esm.js → ekybManager-TGfqyjuu.esm.js} +2 -2
- package/dist/{ekybStateMachine-DIRBMkaD.esm.js → ekybStateMachine-DBgFuEPK.esm.js} +26 -44
- package/dist/ekyc.d.ts +3 -3
- package/dist/ekyc.esm.js +3 -3
- package/dist/{ekycManager-DW-ynodd.d.ts → ekycManager-BSQteIfC.d.ts} +1 -1
- package/dist/{ekycManager-BO-Lui3t.esm.js → ekycManager-C2cgG2Pl.esm.js} +2 -2
- package/dist/ekycStateMachine-CuNF7z4O.esm.js +7505 -0
- package/dist/ekycUtils-BFncpC4F.esm.js +1401 -0
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-Btsa7Prh.esm.js → electronicSignatureManager-C7pqXsRm.esm.js} +4 -4
- package/dist/email.esm.js +2 -2
- package/dist/{emailManager-ButFktRm.esm.js → emailManager-FH_CP0cT.esm.js} +2 -2
- package/dist/{emailStateMachine-BXtlC0NV.esm.js → emailStateMachine-Cx-uTaBV.esm.js} +32 -20
- package/dist/{events-Du2A4-Qr.esm.js → events-CQteqXfy.esm.js} +2 -2
- package/dist/events.esm.js +1 -1
- package/dist/extensibility.d.ts +35 -21
- package/dist/extensibility.esm.js +34 -34
- package/dist/{externalFetch-DrR9xshk.esm.js → externalFetch-CQY41QT1.esm.js} +4 -1
- package/dist/face-match.d.ts +1 -1
- package/dist/face-match.esm.js +2 -2
- package/dist/{faceCaptureManagerFactory-1hzeS_rB.d.ts → faceCaptureManagerFactory-C-xKdj-d.d.ts} +71 -66
- package/dist/{faceCaptureManagerFactory-CdDfnyyb.esm.js → faceCaptureManagerFactory-CBm05KnT.esm.js} +4 -4
- package/dist/{faceCaptureSetup-CCucWLdy.esm.js → faceCaptureSetup-BQjCbL51.esm.js} +82 -64
- package/dist/{faceMatchManager-DWFUQjMQ.esm.js → faceMatchManager-B2zp7yP4.esm.js} +2 -2
- package/dist/{faceMatchManager-DIgG-UFS.d.ts → faceMatchManager-Z4UDLwAv.d.ts} +16 -7
- package/dist/{faceMatchStateMachine-CUCvlydD.esm.js → faceMatchStateMachine-ByTMQCUC.esm.js} +40 -27
- package/dist/{feature-management-DCD0I_XZ.esm.js → feature-management-DjAG5lsJ.esm.js} +1 -1
- package/dist/feature-management.esm.js +1 -1
- package/dist/field-comparison.esm.js +1 -1
- package/dist/{fieldComparisonManager-v3knTYV_.esm.js → fieldComparisonManager-CC0vKmpf.esm.js} +2 -2
- package/dist/fiscal-qr.esm.js +1 -1
- package/dist/{fiscalQrManager-Dt9fHG7h.esm.js → fiscalQrManager-Be-r4oZj.esm.js} +4 -4
- package/dist/flow-events.d.ts +1 -1
- package/dist/flow.d.ts +10 -10
- package/dist/flow.esm.js +8 -11
- package/dist/{flowCompletionService-xFODSJEq.esm.js → flowCompletionService-ChMU2v79.esm.js} +2 -2
- package/dist/{flowServices-COMEf-WP.esm.js → flowServices-g2tVWsJl.esm.js} +8 -50
- package/dist/geolocation.d.ts +1 -1
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-Dn24g1fl.d.ts → geolocationManager-6e1i9UIR.d.ts} +15 -17
- package/dist/{geolocationManager-B2C2yfrn.esm.js → geolocationManager-DLbvZwUB.esm.js} +6 -8
- package/dist/{geolocationStateMachine-Dbg9jw62.esm.js → geolocationStateMachine-CAJVongM.esm.js} +12 -8
- package/dist/{getDeviceClass-bsWdEDxP.esm.js → getDeviceClass-DoIWuKI8.esm.js} +1 -1
- package/dist/government-validation.esm.js +2 -2
- package/dist/{governmentValidationManager-BtXWHICu.esm.js → governmentValidationManager-CkX9TEkh.esm.js} +2 -2
- package/dist/{governmentValidationStateMachine-COL-Vs48.esm.js → governmentValidationStateMachine-PTPCP26N.esm.js} +1 -1
- package/dist/home.d.ts +1 -1
- package/dist/home.esm.js +1 -1
- package/dist/http.esm.js +1 -1
- package/dist/id-ocr.esm.js +2 -2
- package/dist/id-selfie-flow.d.ts +1 -1
- package/dist/id-selfie-flow.esm.js +9 -9
- package/dist/id-verification.esm.js +2 -2
- package/dist/id.d.ts +3 -16
- package/dist/id.esm.js +3 -3
- package/dist/{idCaptureDefaults-BGsG2OAs.esm.js → idCaptureDefaults-MSQoqScU.esm.js} +3 -3
- package/dist/{idCaptureManager-0M02hSuC.d.ts → idCaptureManager-DzTfQ1Am.d.ts} +66 -5
- package/dist/{idCaptureManager-DZtgScdd.esm.js → idCaptureManager-zZdTcpG1.esm.js} +63 -17
- package/dist/{idCaptureServices-mpibFz4U.esm.js → idCaptureServices-8OHinO0N.esm.js} +9 -9
- package/dist/{idCaptureStateMachine-DWJOHeGn.esm.js → idCaptureStateMachine-B3G6XoDG.esm.js} +914 -536
- package/dist/{idOcrManager-D3-HNMXP.esm.js → idOcrManager-B64-fjWg.esm.js} +2 -2
- package/dist/{idOcrStateMachine-DyENX6Ki.esm.js → idOcrStateMachine-B1aZnobs.esm.js} +2 -2
- package/dist/{idVerificationManager-iWz7Avkr.esm.js → idVerificationManager-_Kebv-Ue.esm.js} +2 -2
- package/dist/{idVerificationStateMachine-CL1kUdBe.esm.js → idVerificationStateMachine-DQn6c84z.esm.js} +1 -1
- package/dist/identity-reuse.d.ts +1 -1
- package/dist/identity-reuse.esm.js +2 -2
- package/dist/{identityReuseManager-CD1ucp1d.esm.js → identityReuseManager-DDXkNVZi.esm.js} +2 -2
- package/dist/{identityReuseManager-B1birg5X.d.ts → identityReuseManager-ooAbp6Kc.d.ts} +4 -4
- package/dist/{identityReuseStateMachine-DfV81wQC.esm.js → identityReuseStateMachine-Bcnkbjf8.esm.js} +1 -1
- package/dist/{index-BKOWUhxG.d.ts → index-DEfwds5y.d.ts} +55 -8
- package/dist/{index-CKQ9QBZP.d.ts → index-DMDAk85K.d.ts} +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/{invokeOnCaptureCallback-DYrkOXO6.esm.js → invokeOnCaptureCallback-CXIBwBeE.esm.js} +1 -1
- package/dist/mandatory-consent.d.ts +2 -2
- package/dist/mandatory-consent.esm.js +2 -2
- package/dist/{mandatoryConsentManager-Cwqx1nK7.esm.js → mandatoryConsentManager-43W5d_8G.esm.js} +4 -3
- package/dist/{mandatoryConsentManager-okPILEru.d.ts → mandatoryConsentManager-xx3mY-xw.d.ts} +13 -6
- package/dist/{mandatoryConsentStateMachine-pXWqAHo_.esm.js → mandatoryConsentStateMachine-CVlgdlnt.esm.js} +20 -7
- package/dist/{multipartRecordingService-CLwrF5wD.esm.js → multipartRecordingService-DMBxHKS2.esm.js} +3 -13
- package/dist/nationalIds-B91f_RuB.esm.js +99 -0
- package/dist/{permissionGuards-gcy3U0SL.esm.js → permissionGuards-B3OPL8Si.esm.js} +1 -1
- package/dist/{permissionServices-Ca-tSNhT.esm.js → permissionServices-DnBAN_hW.esm.js} +4 -4
- package/dist/phone-number.d.ts +7 -1
- package/dist/phone-number.esm.js +15 -2
- package/dist/phone.d.ts +1 -1
- package/dist/phone.esm.js +2 -2
- package/dist/{phoneManager-BO-LTih5.d.ts → phoneManager-6nrJkvkG.d.ts} +5 -0
- package/dist/{phoneManager-KKUq-Vgo.esm.js → phoneManager-C6jut_pz.esm.js} +3 -3
- package/dist/{phoneStateMachine-D2QWS2cu.esm.js → phoneStateMachine-T1-drWfG.esm.js} +37 -25
- package/dist/{phoneValidation-DnBcNUNh.esm.js → phoneValidation-OggtfjRt.esm.js} +1 -2
- package/dist/{platform-DkcRc9JV.esm.js → platform-aPh7gTWh.esm.js} +15 -1
- package/dist/processFaceMatch-BWme3kVV.esm.js +21 -0
- package/dist/qe-signature.esm.js +1 -1
- package/dist/redirect-to-mobile.d.ts +2 -2
- package/dist/redirect-to-mobile.esm.js +2 -2
- package/dist/{redirectToMobileManager-uHW3dyuQ.esm.js → redirectToMobileManager-BJXC6Kx9.esm.js} +4 -3
- package/dist/{redirectToMobileManager-CVsvpVbQ.d.ts → redirectToMobileManager-Dm9ctRCC.d.ts} +3 -1
- package/dist/{redirectToMobileStateMachine-b-H-ipGM.esm.js → redirectToMobileStateMachine-BBMAc2Gb.esm.js} +27 -6
- package/dist/{runChildModule-C09a9ACV.esm.js → runChildModule-DPHTqSdF.esm.js} +3 -3
- package/dist/{sdkVersion-xE2xE2_9.esm.js → sdkVersion-C3_P-Qbq.esm.js} +1 -1
- package/dist/selfie.d.ts +4 -4
- package/dist/selfie.esm.js +10 -10
- package/dist/{selfieErrorUtils-CoXIxVCy.esm.js → selfieErrorUtils-BL0BLMnp.esm.js} +1 -1
- package/dist/{selfieManager-BJdNu_nd.d.ts → selfieManager-BMmpUii2.d.ts} +1 -1
- package/dist/{selfieManager-RcVUu1KJ.esm.js → selfieManager-Cbliomv7.esm.js} +5 -5
- package/dist/{selfieStateMachine-nWbIRIBD.esm.js → selfieStateMachine-B5m_Kn0O.esm.js} +3 -3
- package/dist/{session-Cr4IVgYu.esm.js → session-DAaAewMX.esm.js} +77 -9
- package/dist/session.d.ts +96 -10
- package/dist/session.esm.js +7 -6
- package/dist/{sessionInitializer-c3CChZts.esm.js → sessionInitializer-CWFT4dfw.esm.js} +402 -202
- package/dist/{setup-BvKrAlOo.esm.js → setup-CDAKwTr7.esm.js} +32 -19
- package/dist/{setup-YPKTUCY5.d.ts → setup-D9qt8YVU.d.ts} +2 -2
- package/dist/signature.esm.js +2 -2
- package/dist/{signatureManager-f_dPAGXn.esm.js → signatureManager-BeEVCcsC.esm.js} +2 -2
- package/dist/{signatureStateMachine-C-nUq_oq.esm.js → signatureStateMachine-_1c1vSid.esm.js} +1 -1
- package/dist/{stats-BEvexnKC.esm.js → stats-BpMz-hTP.esm.js} +1 -1
- package/dist/stats.esm.js +1 -1
- package/dist/{tri-xzRLIIMN.esm.js → tri-BajQnjbf.esm.js} +142 -8
- package/dist/tri.d.ts +1 -1
- package/dist/tri.esm-CzTNi5Q_.esm.js +3826 -0
- package/dist/tri.esm.js +1 -1
- package/dist/{trueSightService-BAvhAU7T.esm.js → trueSightService-BujtUIW6.esm.js} +19 -10
- package/dist/trust-graph.esm.js +1 -1
- package/dist/{types-yPH8lAH-.d.ts → types--3HDl2SF.d.ts} +2 -2
- package/dist/types-B2FK_wYb.d.ts +249 -0
- package/dist/types-B9C8W01q.d.ts +34 -0
- package/dist/{types-0L-eFDmr.d.ts → types-C397LhmN.d.ts} +1 -1
- package/dist/types-D9r3zRfY.d.ts +6 -0
- package/dist/{types-DPIDuhut.d.ts → types-DNVzoRvi.d.ts} +2 -1
- package/dist/{types-B6HsSzpk.d.ts → types-DuD8TRJU.d.ts} +3 -2
- package/dist/{types-Ckir_BEs.d.ts → types-PTZHRhGX.d.ts} +1 -1
- package/dist/{types-DUnFZ08M.d.ts → types-ZTZelfbM.d.ts} +2 -2
- package/dist/{types-CK8Jbjkp.d.ts → types-e8fCsvvk.d.ts} +1 -1
- package/dist/{types-BAxn7MpY.d.ts → types-xEEWCx1j.d.ts} +123 -48
- package/dist/{urlUtils-6jsE6rKp.esm.js → urlUtils-eYiyWjh0.esm.js} +4 -1
- package/dist/video-selfie.d.ts +8 -8
- package/dist/video-selfie.esm.js +95 -22
- package/dist/{videoSelfieCameraWarmer-LeE2vbAW.esm.js → videoSelfieCameraWarmer-DjkPpoj_.esm.js} +18 -21
- package/dist/{videoSelfieStepDetector-CGsTltqB.d.ts → videoSelfieStepDetector-RfSmlFFW.d.ts} +9 -4
- package/dist/{warmup-BElYWRh7.esm.js → warmup-BkfxQZsC.esm.js} +175 -11
- package/dist/wasm.d.ts +2 -2
- package/dist/wasm.esm.js +3 -3
- package/dist/{wasmDsFlagSync-CYj5LL9z.esm.js → wasmDsFlagSync-BhU5H2oR.esm.js} +1 -1
- package/dist/wasmMetadataVersionSync-U8EFUr1T.esm.js +27 -0
- package/dist/{wasmWebClient-BjZw_7OB.esm.js → wasmWebClient-DTj9auyA.esm.js} +43 -17
- package/dist/watchlist-for-business.d.ts +2 -1
- package/dist/watchlist-for-business.esm.js +2 -2
- package/dist/watchlist.esm.js +2 -2
- package/dist/{watchlistForBusinessManager-CZZOFkGl.esm.js → watchlistForBusinessManager-CVay6-9A.esm.js} +37 -7
- package/dist/{watchlistForBusinessManager-B3GDPZrr.d.ts → watchlistForBusinessManager-DX2AyM4Y.d.ts} +54 -18
- package/dist/watchlistForBusinessStateMachine-DA6K5na4.esm.js +166 -0
- package/dist/{watchlistManager-DXtX94SN.esm.js → watchlistManager-B8gQ_rw3.esm.js} +2 -2
- package/dist/{watchlistStateMachine-McALifag.esm.js → watchlistStateMachine-CSi_ZhtT.esm.js} +1 -1
- package/dist/workflow.d.ts +5 -2
- package/dist/workflow.esm.js +57 -47
- package/package.json +3 -2
- package/dist/IBrowserEnvironmentCapability-DEaRRk-R.esm.js +0 -9
- package/dist/ekycStateMachine-CDnI_NRq.esm.js +0 -1443
- package/dist/ekycUtils-zY8CdKJL.esm.js +0 -300
- package/dist/thumbmark.esm-CRc0cYvz.esm.js +0 -1242
- package/dist/tri.esm-BIjHhBJ2.esm.js +0 -2620
- package/dist/types-BvLo3U4u.d.ts +0 -134
- package/dist/types-zOgZqMni.d.ts +0 -6
- package/dist/watchlistForBusinessStateMachine-B66E7jud.esm.js +0 -78
- /package/dist/{types-BSBzhHRH2.d.ts → types-BSBzhHRH.d.ts} +0 -0
package/dist/tri.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { c as resetTRI, d as stopTRI, i as isTRIStarted, l as setupTRI, n as createTRISession, u as startTRI } from "./tri-BajQnjbf.esm.js";
|
|
2
2
|
export { createTRISession, isTRIStarted, resetTRI, setupTRI, startTRI, stopTRI };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { C as subscribeEvent, n as eventModuleNames } from "./events-
|
|
4
|
-
import { i as isApiConfigured, l as withTiming, n as getApi, o as setClient, r as getToken, t as api, u as endpoints } from "./api-
|
|
5
|
-
import { t as SDK_VERSION } from "./sdkVersion-
|
|
1
|
+
import { T as resolveWasmConfig, _ as emitWasmDiagnostic, a as setWebApiHttpTransport, i as initializeWasmWebClient, o as setupWasmConnection, r as executeWasmRequest, t as WasmWebClientError } from "./wasmWebClient-DTj9auyA.esm.js";
|
|
2
|
+
import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
|
|
3
|
+
import { C as subscribeEvent, n as eventModuleNames } from "./events-CQteqXfy.esm.js";
|
|
4
|
+
import { i as isApiConfigured, l as withTiming, n as getApi, o as setClient, r as getToken, t as api, u as endpoints } from "./api-BO8JA7Pf.esm.js";
|
|
5
|
+
import { t as SDK_VERSION } from "./sdkVersion-C3_P-Qbq.esm.js";
|
|
6
6
|
import { n as reportHttpError, t as HttpRequestError } from "./HttpRequestError-Bh0pNGSC.esm.js";
|
|
7
7
|
/** Dirty-timer half of the interrupted-snapshot rebuild debounce (module boundaries + timer). */
|
|
8
8
|
const SNAPSHOT_DIRTY_INTERVAL_MS = 15e3;
|
|
@@ -774,7 +774,7 @@ const requestWithXHR = (fullUrl, method, mergedHeaders, requestBody, timeout, si
|
|
|
774
774
|
else reject(reportHttpError(new FetchHttpError(xhr.status, xhr.statusText, fullUrl, method, responseHeaders, data), mergedHeaders));
|
|
775
775
|
};
|
|
776
776
|
xhr.onerror = () => {
|
|
777
|
-
reject(new FetchHttpError(0, "Network Error", fullUrl, method, {}, null));
|
|
777
|
+
reject(reportHttpError(new FetchHttpError(0, "Network Error", fullUrl, method, {}, null), mergedHeaders));
|
|
778
778
|
};
|
|
779
779
|
xhr.ontimeout = () => {
|
|
780
780
|
reject(new FetchHttpError(0, "Request timeout", fullUrl, method, {}, null));
|
|
@@ -849,6 +849,7 @@ const createApi = (config) => {
|
|
|
849
849
|
if (timeoutId) clearTimeout(timeoutId);
|
|
850
850
|
if (error instanceof FetchHttpError) throw error;
|
|
851
851
|
if (error instanceof Error && error.name === "AbortError") throw new FetchHttpError(0, "Request timeout", fullUrl, method, {}, null);
|
|
852
|
+
if (error instanceof TypeError && !keepalive) reportHttpError(new FetchHttpError(0, "Network Error", fullUrl, method, {}, null), mergedHeaders);
|
|
852
853
|
throw error;
|
|
853
854
|
}
|
|
854
855
|
},
|
|
@@ -974,6 +975,12 @@ const getErrorStatus = (error) => {
|
|
|
974
975
|
}
|
|
975
976
|
return 0;
|
|
976
977
|
};
|
|
978
|
+
const NETWORK_FAILURE = /^(failed to fetch|load failed)$|network ?error|network connection|internet connection/i;
|
|
979
|
+
/**
|
|
980
|
+
* Status 0 marks connectivity lost, so it is reported only for a network
|
|
981
|
+
* failure, and never for keepalive requests.
|
|
982
|
+
*/
|
|
983
|
+
const shouldReport = (status, error, keepalive = false) => status !== 0 || !keepalive && error instanceof WasmWebClientError && NETWORK_FAILURE.test(error.message);
|
|
977
984
|
const getErrorData = (error) => {
|
|
978
985
|
if (error instanceof WasmWebClientError) return error.response?.data ?? null;
|
|
979
986
|
return null;
|
|
@@ -1002,7 +1009,8 @@ const createWasmApi = async (config) => {
|
|
|
1002
1009
|
await setupWasmConnection(config.apiURL, "", config.encryptionEnabled ?? false, headers, useSha256);
|
|
1003
1010
|
} catch (error) {
|
|
1004
1011
|
if (!(error instanceof WasmWebClientError)) throw error;
|
|
1005
|
-
|
|
1012
|
+
const failure = new WasmHttpError(error.statusCode, "", config.apiURL, "POST", {}, getErrorData(error));
|
|
1013
|
+
throw shouldReport(failure.status, error) ? reportHttpError(failure, headers) : failure;
|
|
1006
1014
|
}
|
|
1007
1015
|
const defaults = {
|
|
1008
1016
|
baseURL: config.apiURL,
|
|
@@ -1011,7 +1019,7 @@ const createWasmApi = async (config) => {
|
|
|
1011
1019
|
const client = {
|
|
1012
1020
|
defaults,
|
|
1013
1021
|
async request(requestConfig) {
|
|
1014
|
-
const { method = "GET", url, headers: requestHeaders = {}, query, params, body, signal, timeout: timeoutOverride, onUploadProgress, ie = false } = requestConfig;
|
|
1022
|
+
const { method = "GET", url, headers: requestHeaders = {}, query, params, body, signal, timeout: timeoutOverride, onUploadProgress, keepalive, ie = false } = requestConfig;
|
|
1015
1023
|
const upperMethod = normalizeMethod(method);
|
|
1016
1024
|
const requestParams = params ?? query;
|
|
1017
1025
|
const fullUrl = buildUrl(defaults.baseURL, url, requestParams);
|
|
@@ -1041,7 +1049,8 @@ const createWasmApi = async (config) => {
|
|
|
1041
1049
|
};
|
|
1042
1050
|
} catch (error) {
|
|
1043
1051
|
if (error instanceof WasmHttpError) throw error;
|
|
1044
|
-
|
|
1052
|
+
const failure = new WasmHttpError(getErrorStatus(error), getErrorMessage(error), fullUrl, upperMethod, {}, getErrorData(error));
|
|
1053
|
+
throw shouldReport(failure.status, error, keepalive) ? reportHttpError(failure, mergedHeaders) : failure;
|
|
1045
1054
|
}
|
|
1046
1055
|
},
|
|
1047
1056
|
get(url, requestConfig) {
|
|
@@ -1380,7 +1389,7 @@ function categoryForEndpoint(endpoint) {
|
|
|
1380
1389
|
if (/\/omni\/es\//.test(endpoint)) return "other";
|
|
1381
1390
|
if (/face|selfie|video|speech|personhood|authenticate|recordings/.test(endpoint)) return "faceScan";
|
|
1382
1391
|
if (/front-id|back-id|second-id|process\/id|images|barcode|ocr|document|curp|cfdi|address-statement|digital-id|device\/wallet/.test(endpoint)) return "idScan";
|
|
1383
|
-
if (/start|flow|workflow|feature-config|onboarding|finish-status/.test(endpoint)) return "orchestration";
|
|
1392
|
+
if (/start|session\/continue|flow|workflow|feature-config|onboarding|finish-status/.test(endpoint)) return "orchestration";
|
|
1384
1393
|
return "other";
|
|
1385
1394
|
}
|
|
1386
1395
|
/** Coarse contract category from the RAW `event.module` value (plan rule). */
|
package/dist/trust-graph.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CQteqXfy.esm.js";
|
|
2
2
|
import { s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
3
3
|
//#region src/modules/trust-graph/trustGraphStateMachine.ts
|
|
4
4
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as AvatarAssetsOverrides } from "./createFaceAvatar-lYX0VTYs.js";
|
|
2
|
-
import { n as Flow, s as SelfieConcealmentOption } from "./types-
|
|
3
|
-
import { a as IStorageCapability, n as IWasmUtilCapability } from "./IWasmUtilCapability-
|
|
2
|
+
import { n as Flow, s as SelfieConcealmentOption } from "./types-DuD8TRJU.js";
|
|
3
|
+
import { a as IStorageCapability, n as IWasmUtilCapability } from "./IWasmUtilCapability-Cqiaxydi.js";
|
|
4
4
|
//#region src/internal/faceCapture/types.d.ts
|
|
5
5
|
type CameraResolution = {
|
|
6
6
|
width?: number;
|
|
@@ -0,0 +1,249 @@
|
|
|
1
|
+
//#region src/shared/types.d.ts
|
|
2
|
+
/** A single form field definition for dynamic rendering. */
|
|
3
|
+
type FieldDef = {
|
|
4
|
+
name: string;
|
|
5
|
+
type: 'text' | 'tel' | 'date' | 'dropdown' | 'phone' | 'radio';
|
|
6
|
+
label: string;
|
|
7
|
+
displayLabel?: string;
|
|
8
|
+
placeholder?: string;
|
|
9
|
+
placeholderParams?: Record<string, string>;
|
|
10
|
+
required: boolean;
|
|
11
|
+
optional?: boolean;
|
|
12
|
+
maxLength?: number;
|
|
13
|
+
options?: {
|
|
14
|
+
value: string;
|
|
15
|
+
label: string;
|
|
16
|
+
}[];
|
|
17
|
+
readonly?: boolean;
|
|
18
|
+
section?: string;
|
|
19
|
+
disableCountrySelector?: boolean;
|
|
20
|
+
};
|
|
21
|
+
/** An address suggestion returned by the address autocomplete API. */
|
|
22
|
+
type AddressSuggestion = {
|
|
23
|
+
id: string | number;
|
|
24
|
+
label: string;
|
|
25
|
+
street?: string;
|
|
26
|
+
city?: string;
|
|
27
|
+
stateCode?: string;
|
|
28
|
+
postalCode?: string;
|
|
29
|
+
houseNumber?: string;
|
|
30
|
+
countryCode?: string;
|
|
31
|
+
};
|
|
32
|
+
//#endregion
|
|
33
|
+
//#region src/shared/validators/textRules.d.ts
|
|
34
|
+
/**
|
|
35
|
+
* The general-purpose form-definition rules from `vocabulary.json`, as pure
|
|
36
|
+
* checks on a non-empty value. Callers skip empty values: requiredness is its
|
|
37
|
+
* own rule.
|
|
38
|
+
*/
|
|
39
|
+
type CharacterClass = 'letter' | 'digit' | 'space';
|
|
40
|
+
//#endregion
|
|
41
|
+
//#region src/modules/ekyc/types.d.ts
|
|
42
|
+
type EkycFieldSource = 'user_input' | 'document_scan' | 'poa_document' | 'phone_module_input' | 'email_module_input' | false;
|
|
43
|
+
type EkycVerificationFields = {
|
|
44
|
+
name?: EkycFieldSource;
|
|
45
|
+
address?: EkycFieldSource;
|
|
46
|
+
phone?: EkycFieldSource;
|
|
47
|
+
email?: EkycFieldSource;
|
|
48
|
+
SSN?: EkycFieldSource;
|
|
49
|
+
taxId?: EkycFieldSource;
|
|
50
|
+
nationality?: EkycFieldSource;
|
|
51
|
+
'date of birth'?: EkycFieldSource;
|
|
52
|
+
dlNumber?: EkycFieldSource;
|
|
53
|
+
dlState?: EkycFieldSource;
|
|
54
|
+
dlExpireAt?: EkycFieldSource;
|
|
55
|
+
last4SSN?: EkycFieldSource;
|
|
56
|
+
idNum?: EkycFieldSource;
|
|
57
|
+
idNum1?: EkycFieldSource;
|
|
58
|
+
gender?: EkycFieldSource;
|
|
59
|
+
panNumber?: EkycFieldSource;
|
|
60
|
+
idType?: EkycFieldSource;
|
|
61
|
+
issueDate?: EkycFieldSource;
|
|
62
|
+
fileNumber?: EkycFieldSource;
|
|
63
|
+
};
|
|
64
|
+
/** How module configuration asks a group's fields to show. */
|
|
65
|
+
type EkycFieldDisplayMode = 'editable' | 'readOnly' | 'hidden';
|
|
66
|
+
/** Each group's configured display mode, keyed like `EkycVerificationFields`. */
|
|
67
|
+
type EkycDisplayModes = Partial<Record<keyof EkycVerificationFields, EkycFieldDisplayMode>>;
|
|
68
|
+
type EkycModuleConfig = {
|
|
69
|
+
source: string;
|
|
70
|
+
enablePhoneRisk?: boolean;
|
|
71
|
+
checkName?: boolean;
|
|
72
|
+
nameSource?: string;
|
|
73
|
+
checkEmail?: boolean;
|
|
74
|
+
emailSource?: string;
|
|
75
|
+
checkAddress?: boolean;
|
|
76
|
+
addressSource?: string;
|
|
77
|
+
checkPhone?: boolean;
|
|
78
|
+
phoneSource?: string;
|
|
79
|
+
checkSsn?: boolean;
|
|
80
|
+
ssnSource?: string;
|
|
81
|
+
checkDob?: boolean;
|
|
82
|
+
dobSource?: string;
|
|
83
|
+
checkNationality?: boolean;
|
|
84
|
+
nationalitySource?: string;
|
|
85
|
+
checkDlNumber?: boolean;
|
|
86
|
+
dlNumberSource?: string;
|
|
87
|
+
checkDlState?: boolean;
|
|
88
|
+
dlStateSource?: string;
|
|
89
|
+
checkDlExpireAt?: boolean;
|
|
90
|
+
dlExpireAtSource?: string;
|
|
91
|
+
checkLast4SSN?: boolean;
|
|
92
|
+
last4SSNSource?: string;
|
|
93
|
+
checkIdNum?: boolean;
|
|
94
|
+
idNumSource?: string;
|
|
95
|
+
checkIdNum1?: boolean;
|
|
96
|
+
idNum1Source?: string;
|
|
97
|
+
checkGender?: boolean;
|
|
98
|
+
genderSource?: string;
|
|
99
|
+
checkPanNumber?: boolean;
|
|
100
|
+
panNumberSource?: string;
|
|
101
|
+
checkIdType?: boolean;
|
|
102
|
+
idTypeSource?: string;
|
|
103
|
+
checkIssueDate?: boolean;
|
|
104
|
+
issueDateSource?: string;
|
|
105
|
+
checkFileNumber?: boolean;
|
|
106
|
+
fileNumberSource?: string;
|
|
107
|
+
nameDisplayMode?: EkycFieldDisplayMode;
|
|
108
|
+
emailDisplayMode?: EkycFieldDisplayMode;
|
|
109
|
+
addressDisplayMode?: EkycFieldDisplayMode;
|
|
110
|
+
phoneDisplayMode?: EkycFieldDisplayMode;
|
|
111
|
+
ssnDisplayMode?: EkycFieldDisplayMode;
|
|
112
|
+
dobDisplayMode?: EkycFieldDisplayMode;
|
|
113
|
+
nationalityDisplayMode?: EkycFieldDisplayMode;
|
|
114
|
+
dlNumberDisplayMode?: EkycFieldDisplayMode;
|
|
115
|
+
dlStateDisplayMode?: EkycFieldDisplayMode;
|
|
116
|
+
dlExpireAtDisplayMode?: EkycFieldDisplayMode;
|
|
117
|
+
last4SSNDisplayMode?: EkycFieldDisplayMode;
|
|
118
|
+
idNumDisplayMode?: EkycFieldDisplayMode;
|
|
119
|
+
idNum1DisplayMode?: EkycFieldDisplayMode;
|
|
120
|
+
genderDisplayMode?: EkycFieldDisplayMode;
|
|
121
|
+
panNumberDisplayMode?: EkycFieldDisplayMode;
|
|
122
|
+
idTypeDisplayMode?: EkycFieldDisplayMode;
|
|
123
|
+
issueDateDisplayMode?: EkycFieldDisplayMode;
|
|
124
|
+
fileNumberDisplayMode?: EkycFieldDisplayMode;
|
|
125
|
+
riskAddons?: RiskAddon[];
|
|
126
|
+
};
|
|
127
|
+
type EkycFormValues = Record<string, string | undefined>;
|
|
128
|
+
/** Manager creation config */
|
|
129
|
+
type EkycConfig = {
|
|
130
|
+
flowId?: string;
|
|
131
|
+
verificationFields?: EkycVerificationFields;
|
|
132
|
+
source?: string;
|
|
133
|
+
fieldsCountry?: string;
|
|
134
|
+
enablePhoneRisk?: boolean;
|
|
135
|
+
/** Each group's display mode; a group that is absent is editable. */
|
|
136
|
+
displayModes?: EkycDisplayModes;
|
|
137
|
+
};
|
|
138
|
+
type EkycValidationRule = ({
|
|
139
|
+
type: 'required';
|
|
140
|
+
} | {
|
|
141
|
+
type: 'streetLevelRequired';
|
|
142
|
+
} | {
|
|
143
|
+
type: 'cpf';
|
|
144
|
+
} | {
|
|
145
|
+
type: 'ssnFormat';
|
|
146
|
+
} | {
|
|
147
|
+
type: 'noPoBox';
|
|
148
|
+
} | {
|
|
149
|
+
type: 'postalCodeFormat';
|
|
150
|
+
country: string;
|
|
151
|
+
} | {
|
|
152
|
+
type: 'phoneFormat';
|
|
153
|
+
country: string;
|
|
154
|
+
optional: boolean;
|
|
155
|
+
} | {
|
|
156
|
+
type: 'emailFormat';
|
|
157
|
+
} | {
|
|
158
|
+
type: 'exactLength';
|
|
159
|
+
length: number;
|
|
160
|
+
} |
|
|
161
|
+
/** `message` replaces the DOB-or-SSN message, for any other pair. */
|
|
162
|
+
{
|
|
163
|
+
type: 'oneOfRequired';
|
|
164
|
+
fields: string[];
|
|
165
|
+
message?: string;
|
|
166
|
+
} | {
|
|
167
|
+
type: 'nameCharacters';
|
|
168
|
+
} | {
|
|
169
|
+
type: 'notFuture';
|
|
170
|
+
} | {
|
|
171
|
+
type: 'phoneDigits';
|
|
172
|
+
country: string;
|
|
173
|
+
min: number;
|
|
174
|
+
max: number;
|
|
175
|
+
} | {
|
|
176
|
+
type: 'digitCount';
|
|
177
|
+
lengths?: number[];
|
|
178
|
+
min?: number;
|
|
179
|
+
max?: number;
|
|
180
|
+
} | {
|
|
181
|
+
type: 'allowedCharacters';
|
|
182
|
+
classes: CharacterClass[];
|
|
183
|
+
extra?: string;
|
|
184
|
+
} | {
|
|
185
|
+
type: 'charTemplate';
|
|
186
|
+
templates: string[];
|
|
187
|
+
ignoreCase?: boolean;
|
|
188
|
+
} | {
|
|
189
|
+
type: 'numericRange';
|
|
190
|
+
min: number;
|
|
191
|
+
max: number;
|
|
192
|
+
} |
|
|
193
|
+
/** National ID checks, each with its own message key. */
|
|
194
|
+
{
|
|
195
|
+
type: 'rut';
|
|
196
|
+
} | {
|
|
197
|
+
type: 'esDni';
|
|
198
|
+
} | {
|
|
199
|
+
type: 'fiPersonalIdentityCode';
|
|
200
|
+
} | {
|
|
201
|
+
type: 'inDrivingLicenseNumber';
|
|
202
|
+
} | {
|
|
203
|
+
type: 'curp';
|
|
204
|
+
} |
|
|
205
|
+
/** Required while any of `fields` has a value. */
|
|
206
|
+
{
|
|
207
|
+
type: 'requiredIfFilled';
|
|
208
|
+
fields: string[];
|
|
209
|
+
} |
|
|
210
|
+
/** The rules for the `selector` field's current value. */
|
|
211
|
+
{
|
|
212
|
+
type: 'rulesByOption';
|
|
213
|
+
selector: string;
|
|
214
|
+
cases: Record<string, EkycValidationRule[]>;
|
|
215
|
+
}) & {
|
|
216
|
+
/**
|
|
217
|
+
* A message key shown instead of the rule's own.
|
|
218
|
+
*/
|
|
219
|
+
message?: string;
|
|
220
|
+
};
|
|
221
|
+
type EkycValidationError = {
|
|
222
|
+
key: string;
|
|
223
|
+
/** A list param is shown as a list in the user's language ("8 or 10"). */
|
|
224
|
+
params?: Record<string, string | number | number[]>;
|
|
225
|
+
};
|
|
226
|
+
type EkycValidationErrors = Partial<Record<string, EkycValidationError>>;
|
|
227
|
+
type EkycFieldDef = FieldDef & {
|
|
228
|
+
source: EkycFieldSource;
|
|
229
|
+
validation?: EkycValidationRule[];
|
|
230
|
+
/**
|
|
231
|
+
* How the request sends a phone: its national number, or E.164 without
|
|
232
|
+
* the `+`. E.164 when unset.
|
|
233
|
+
*/
|
|
234
|
+
phoneFormat?: 'nationalNumber' | 'e164NoPlus';
|
|
235
|
+
/** The request key, when it isn't the field name. */
|
|
236
|
+
payloadKey?: string;
|
|
237
|
+
/**
|
|
238
|
+
* How the field shows once prefill has run. `hidden` fields aren't
|
|
239
|
+
* rendered but are validated and sent; `readOnly` ones also set
|
|
240
|
+
* `readonly`. Unset means editable.
|
|
241
|
+
*/
|
|
242
|
+
displayMode?: EkycFieldDisplayMode;
|
|
243
|
+
/** Formatting applied to the value as the user types, in order. */
|
|
244
|
+
inputFormat?: EkycInputFormat[];
|
|
245
|
+
};
|
|
246
|
+
type EkycInputFormat = 'uppercase' | 'stripSeparators';
|
|
247
|
+
type RiskAddon = 'phoneCheck' | 'advancedPhoneCheck' | 'emailCheck' | 'phoneProfile';
|
|
248
|
+
//#endregion
|
|
249
|
+
export { EkycFormValues as a, EkycValidationErrors as c, FieldDef as d, EkycFieldDisplayMode as i, RiskAddon as l, EkycDisplayModes as n, EkycModuleConfig as o, EkycFieldDef as r, EkycValidationError as s, EkycConfig as t, AddressSuggestion as u };
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
//#region src/modules/watchlist-for-business/types.d.ts
|
|
2
|
+
/** Where a W4B field's value comes from. */
|
|
3
|
+
type WatchlistForBusinessFieldSource = 'userInput' | 'eKYBData';
|
|
4
|
+
/**
|
|
5
|
+
* Configuration for the watchlist-for-business module.
|
|
6
|
+
*
|
|
7
|
+
* Every field is optional. With no config the module collects country and
|
|
8
|
+
* business name from the user and submits them to the business watchlist
|
|
9
|
+
* endpoint. Tax ID and date of incorporation are extra, optional inputs that
|
|
10
|
+
* the backend enables when the AML Watcher integration is provisioned.
|
|
11
|
+
*/
|
|
12
|
+
type WatchlistForBusinessConfig = {
|
|
13
|
+
/**
|
|
14
|
+
* Source of the country. Typed for parity with the backend config; the
|
|
15
|
+
* module currently always collects it from the user.
|
|
16
|
+
*/
|
|
17
|
+
countrySource?: WatchlistForBusinessFieldSource;
|
|
18
|
+
/**
|
|
19
|
+
* Source of the business name. Typed for parity with the backend config;
|
|
20
|
+
* the module currently always collects it from the user.
|
|
21
|
+
*/
|
|
22
|
+
businessNameSource?: WatchlistForBusinessFieldSource;
|
|
23
|
+
/** Shows the optional Tax ID input and sends it when filled. */
|
|
24
|
+
taxIdEnabled?: boolean;
|
|
25
|
+
/** Shows the optional date-of-incorporation input and sends it when filled. */
|
|
26
|
+
dateOfIncorporationEnabled?: boolean;
|
|
27
|
+
};
|
|
28
|
+
type WatchlistForBusinessValidationErrors = {
|
|
29
|
+
businessName?: string;
|
|
30
|
+
taxId?: string;
|
|
31
|
+
dateOfIncorporation?: string;
|
|
32
|
+
};
|
|
33
|
+
//#endregion
|
|
34
|
+
export { WatchlistForBusinessValidationErrors as n, WatchlistForBusinessConfig as t };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { i as FlowModuleConfig } from "./types-DuD8TRJU.js";
|
|
2
|
+
import { t as BaseFaceCaptureConfig } from "./types--3HDl2SF.js";
|
|
3
|
+
//#region src/modules/authentication/types.d.ts
|
|
4
|
+
type AuthenticationConfig = FlowModuleConfig['AUTHENTICATION'] & BaseFaceCaptureConfig;
|
|
5
|
+
//#endregion
|
|
6
|
+
export { AuthenticationConfig as t };
|
|
@@ -9,6 +9,7 @@ type RedirectToMobileConfig = {
|
|
|
9
9
|
externalId?: string;
|
|
10
10
|
lang?: string;
|
|
11
11
|
};
|
|
12
|
+
type RedirectToMobileErrorCode = 'INVALID_REDIRECT_URL';
|
|
12
13
|
type OnboardingStatus = 'ONBOARDING_FINISHED' | 'ONBOARDING_IN_PROGRESS' | 'ONBOARDING_NOT_STARTED';
|
|
13
14
|
type OnboardingStatusResponse = {
|
|
14
15
|
onboardingStatus: OnboardingStatus;
|
|
@@ -37,4 +38,4 @@ type RedirectToMobileServices = {
|
|
|
37
38
|
fetchStartInfo: (signal?: AbortSignal) => Promise<StartInfoResponse>;
|
|
38
39
|
};
|
|
39
40
|
//#endregion
|
|
40
|
-
export {
|
|
41
|
+
export { RedirectToMobileErrorCode as n, RedirectToMobileServices as r, RedirectToMobileConfig as t };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { l as RiskAddon } from "./types-B2FK_wYb.js";
|
|
2
2
|
import "./createFaceAvatar-lYX0VTYs.js";
|
|
3
|
+
import { t as WatchlistForBusinessConfig } from "./types-B9C8W01q.js";
|
|
3
4
|
//#region src/internal/avatar/concealment.d.ts
|
|
4
5
|
/**
|
|
5
6
|
* Backend-aligned selfie/auth face-concealment options. The backend returns a
|
|
@@ -353,7 +354,7 @@ type FlowModuleConfig = {
|
|
|
353
354
|
UNIVERSAL_IDENTITY: EmptyConfig;
|
|
354
355
|
WATCHLIST: EmptyConfig;
|
|
355
356
|
TRUST_GRAPH: EmptyConfig;
|
|
356
|
-
WATCHLIST_BUSINESS:
|
|
357
|
+
WATCHLIST_BUSINESS: WatchlistForBusinessConfig;
|
|
357
358
|
};
|
|
358
359
|
type FlowModule = { [K in keyof FlowModuleConfig]: {
|
|
359
360
|
key: K;
|
|
@@ -33,9 +33,9 @@ type DocumentCaptureConfig = {
|
|
|
33
33
|
title?: string;
|
|
34
34
|
/** Tutorial screen text override */
|
|
35
35
|
text?: string;
|
|
36
|
-
/** Title override for the second-page tutorial (multi-page flows). Falls back to
|
|
36
|
+
/** Title override for the second-page tutorial (multi-page flows). Falls back to the default copy. */
|
|
37
37
|
step2Title?: string;
|
|
38
|
-
/** Text override for the second-page tutorial (multi-page flows). Falls back to
|
|
38
|
+
/** Text override for the second-page tutorial (multi-page flows). Falls back to the default copy. */
|
|
39
39
|
step2Text?: string;
|
|
40
40
|
/** Number of capture/upload attempts before auto-advancing. @default 3 */
|
|
41
41
|
captureAttempts?: number;
|