@incodetech/core 2.4.0 → 2.4.1-agentic.1

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 (252) hide show
  1. package/dist/BrowserNetworkStatusProvider-BrDXBEDd.esm.js +21 -0
  2. package/dist/{multipartRecordingService-CLwrF5wD.esm.js → CameraCompositor-DN7NkJzV.esm.js} +7 -744
  3. package/dist/{FaceDetectionProvider-DcPOC2gS.esm.js → FaceDetectionProvider-CAY43vSI.esm.js} +28 -64
  4. package/dist/IBrowserEnvironmentCapability-D7JG7ML3.esm.js +16 -0
  5. package/dist/IGeolocationCapability-r49Qo7rR.d.ts +10 -0
  6. package/dist/{IWasmUtilCapability-GF2n7sfm.d.ts → IWasmUtilCapability-Cqiaxydi.d.ts} +31 -4
  7. package/dist/MultipartRecordingProvider-D9mauUdS.esm.js +146 -0
  8. package/dist/{PhoneValidationProvider-SZiOS0jB.esm.js → PhoneValidationProvider-Co4zk2en.esm.js} +7 -0
  9. package/dist/{StreamCanvasCapture-7JRf-2ck.d.ts → StreamCanvasCapture-C3xNfOsv.d.ts} +12 -3
  10. package/dist/StreamCanvasProcessingSession-CBnbTnOr.esm.js +42 -0
  11. package/dist/{WasmUtilProvider-DtJuBdt-.esm.js → WasmUtilProvider-Dp2V-Uct.esm.js} +75 -22
  12. package/dist/WorkerEncoderRecordingProvider-B1ODYtgN.esm.js +80 -0
  13. package/dist/addressSearch-DzbE9Ogt.esm.js +254 -0
  14. package/dist/{advanceableErrors-q_pfU3Cn.esm.js → advanceableErrors-k-U-cL5m.esm.js} +1 -2
  15. package/dist/ae-signature.esm.js +1 -1
  16. package/dist/antifraud.esm.js +2 -2
  17. package/dist/{antifraudManager-CaweCYnY.esm.js → antifraudManager-BObuHBjn.esm.js} +2 -2
  18. package/dist/{antifraudStateMachine-DRl0UVyA.esm.js → antifraudStateMachine-Dfrd2-26.esm.js} +1 -1
  19. package/dist/{api-Cz90EHyu.esm.js → api-CpP4PS4S.esm.js} +8 -5
  20. package/dist/{apiError-DPwFas2f.esm.js → apiError-DH-CH4Nz.esm.js} +1 -1
  21. package/dist/attemptCarry-WOkfvFMw.esm.js +45 -0
  22. package/dist/authentication.d.ts +3 -3
  23. package/dist/authentication.esm.js +2 -2
  24. package/dist/{authenticationManager-BIZC55Bi.d.ts → authenticationManager-CWmh7aSY.d.ts} +1 -1
  25. package/dist/{authenticationManager-2Lr5V_7p.esm.js → authenticationManager-DjX0XDyH.esm.js} +5 -5
  26. package/dist/{authenticationStateMachine-C99B0GFP.esm.js → authenticationStateMachine-BMbZL8wm.esm.js} +3 -3
  27. package/dist/backCameraLabel-yda5ugE4.esm.js +67 -0
  28. package/dist/{backCameraStream-CMvXj4X4.esm.js → backCameraStream-DS1oDiUq.esm.js} +12 -107
  29. package/dist/{browser-DlFgHpoC-DnyrCR8r.esm.js → browser-pQZA35G2-DtkAf6sn.esm.js} +161 -150
  30. package/dist/{camera-sIa9ceW2.esm.js → camera-E_Kcre4O.esm.js} +15 -23
  31. package/dist/camera.d.ts +2 -2
  32. package/dist/camera.esm.js +1 -1
  33. package/dist/certificate-issuance.esm.js +2 -2
  34. package/dist/{certificateIssuanceManager-BfeMv2PU.esm.js → certificateIssuanceManager-C1nETQos.esm.js} +2 -2
  35. package/dist/{certificateIssuanceStateMachine-Frgjbjw8.esm.js → certificateIssuanceStateMachine-DThXMDqr.esm.js} +2 -2
  36. package/dist/cnpj-Co1ottYN.esm.js +77 -0
  37. package/dist/connectivity-BCuEoQ-n.esm.js +114 -0
  38. package/dist/consent.d.ts +1 -1
  39. package/dist/consent.esm.js +2 -2
  40. package/dist/{consentManager-CvEu8h_W.esm.js → consentManager-DMlSL6Ax.esm.js} +4 -3
  41. package/dist/{consentManager-Cv_0QKLD.d.ts → consentManager-bjfVXO7p.d.ts} +9 -2
  42. package/dist/{consentStateMachine-DJTgN_-1.esm.js → consentStateMachine-DIYSMxKQ.esm.js} +20 -7
  43. package/dist/cross-document-data-match.esm.js +1 -1
  44. package/dist/{crossDocumentDataMatchManager-Cu141CE8.esm.js → crossDocumentDataMatchManager-BFTdiEDB.esm.js} +2 -2
  45. package/dist/curp-validation.d.ts +1 -1
  46. package/dist/curp-validation.esm.js +2 -2
  47. package/dist/{curpValidationManager-B-z9q5V3.esm.js → curpValidationManager-DNpC3wyf.esm.js} +3 -2
  48. package/dist/{curpValidationManager-C9sqoh9n.d.ts → curpValidationManager-z8428oCM.d.ts} +1 -1
  49. package/dist/{curpValidationStateMachine-vDEFLMPw.esm.js → curpValidationStateMachine-B3iVsDyt.esm.js} +28 -20
  50. package/dist/custom-fields.esm.js +1 -1
  51. package/dist/custom-watchlist.esm.js +2 -2
  52. package/dist/{customFieldsManager-D1ex2cFM.esm.js → customFieldsManager-CvI-pDT3.esm.js} +2 -2
  53. package/dist/{customWatchlistManager-CTI-SGk0.esm.js → customWatchlistManager-BuHtUb0y.esm.js} +2 -2
  54. package/dist/{customWatchlistStateMachine-hmRd0f2I.esm.js → customWatchlistStateMachine-CiVD9wyF.esm.js} +1 -1
  55. package/dist/{deepsightService-CKTYDIXD.esm.js → deepsightLoader-B7DEYoyY.esm.js} +40 -74
  56. package/dist/{createCameraCycleOwnership-Dj_LHUvN.esm.js → desktopCameraElection-BGMtYwk3.esm.js} +177 -40
  57. package/dist/device.esm.js +2 -2
  58. package/dist/document-capture.d.ts +3 -3
  59. package/dist/document-capture.esm.js +2 -2
  60. package/dist/{documentCaptureManager-DkyDtm3Y.d.ts → documentCaptureManager-CD5iQiUI.d.ts} +37 -4
  61. package/dist/{documentCaptureManager-DUJwpKC5.esm.js → documentCaptureManager-DLPqruXJ.esm.js} +27 -19
  62. package/dist/{documentCaptureStateMachine-B8i7GnLh.esm.js → documentCaptureStateMachine-DCvWQhFG.esm.js} +105 -56
  63. package/dist/dynamic-forms.d.ts +2 -2
  64. package/dist/dynamic-forms.esm.js +2 -2
  65. package/dist/{dynamicFormsManager-C0dHs1ty.d.ts → dynamicFormsManager-9kwY8Bf5.d.ts} +1 -1
  66. package/dist/{dynamicFormsManager-DiKYjcF3.esm.js → dynamicFormsManager-DfqCEPg9.esm.js} +2 -2
  67. package/dist/{dynamicFormsStateMachine-DEI45xYW.esm.js → dynamicFormsStateMachine-USQMB-uV.esm.js} +2 -2
  68. package/dist/ekyb.d.ts +4 -4
  69. package/dist/ekyb.esm.js +3 -3
  70. package/dist/{ekybManager-BaZ_7CEu.d.ts → ekybManager-BLOkwmWO.d.ts} +2 -2
  71. package/dist/{ekybManager-8WLkNcqg.esm.js → ekybManager-CR8YSYux.esm.js} +2 -2
  72. package/dist/{ekybStateMachine-BLRT45Ex.esm.js → ekybStateMachine-kHwdz6hm.esm.js} +28 -44
  73. package/dist/ekybUtils-Cw8Ta9Qi.esm.js +140 -0
  74. package/dist/ekyc.d.ts +4 -3
  75. package/dist/ekyc.esm.js +3 -3
  76. package/dist/{ekycManager-DW-ynodd.d.ts → ekycManager-DlGIn9wA.d.ts} +2 -1
  77. package/dist/{ekycManager-BO-Lui3t.esm.js → ekycManager-DymCvmVB.esm.js} +2 -2
  78. package/dist/ekycStateMachine-CoFCUJ2z.esm.js +7578 -0
  79. package/dist/ekycUtils-GRuMELYr.esm.js +1472 -0
  80. package/dist/electronic-signature.esm.js +1 -1
  81. package/dist/{electronicSignatureManager-CcIMOb_Y.esm.js → electronicSignatureManager-BCE3uA3z.esm.js} +4 -4
  82. package/dist/email.esm.js +2 -2
  83. package/dist/{emailManager-ButFktRm.esm.js → emailManager-CGoE3CUe.esm.js} +2 -2
  84. package/dist/{emailStateMachine-BXtlC0NV.esm.js → emailStateMachine-KgHfDNvM.esm.js} +32 -20
  85. package/dist/{events-Du2A4-Qr.esm.js → events-ggpBBaZ8.esm.js} +2 -2
  86. package/dist/events.esm.js +1 -1
  87. package/dist/extensibility.d.ts +37 -22
  88. package/dist/extensibility.esm.js +36 -35
  89. package/dist/{externalFetch-DrR9xshk.esm.js → externalFetch-CQY41QT1.esm.js} +4 -1
  90. package/dist/face-match.d.ts +1 -1
  91. package/dist/face-match.esm.js +2 -2
  92. package/dist/{faceCaptureManagerFactory-1hzeS_rB.d.ts → faceCaptureManagerFactory-DV2ULUYS.d.ts} +71 -66
  93. package/dist/{faceCaptureManagerFactory-BlGvXzXA.esm.js → faceCaptureManagerFactory-Dp90bedH.esm.js} +4 -4
  94. package/dist/{faceCaptureSetup-TY8RXc2N.esm.js → faceCaptureSetup-ZfiWg0fo.esm.js} +84 -457
  95. package/dist/{faceMatchManager-DWFUQjMQ.esm.js → faceMatchManager-D2xKPjjQ.esm.js} +2 -2
  96. package/dist/{faceMatchManager-DIgG-UFS.d.ts → faceMatchManager-Z4UDLwAv.d.ts} +16 -7
  97. package/dist/{faceMatchStateMachine-CUCvlydD.esm.js → faceMatchStateMachine-CUvwiQi9.esm.js} +40 -27
  98. package/dist/{feature-management-B5rR10uS.esm.js → feature-management-BbCIA4og.esm.js} +35 -21
  99. package/dist/feature-management.esm.js +1 -1
  100. package/dist/field-comparison.esm.js +1 -1
  101. package/dist/{fieldComparisonManager-v3knTYV_.esm.js → fieldComparisonManager-DgDbEeFZ.esm.js} +2 -2
  102. package/dist/fiscal-qr.esm.js +1 -1
  103. package/dist/{fiscalQrManager-Dt9fHG7h.esm.js → fiscalQrManager-BZeklojR.esm.js} +4 -4
  104. package/dist/flow-events.d.ts +1 -1
  105. package/dist/flow.d.ts +10 -10
  106. package/dist/flow.esm.js +10 -9
  107. package/dist/{flowCompletionService-BDI5QpfR.esm.js → flowCompletionService-CcCnPs_T.esm.js} +2 -2
  108. package/dist/{flowServices-roD0oIQL.esm.js → flowServices-Dmnc8Rye.esm.js} +69 -185
  109. package/dist/geolocation.d.ts +1 -1
  110. package/dist/geolocation.esm.js +2 -2
  111. package/dist/{geolocationManager-Dn24g1fl.d.ts → geolocationManager-6e1i9UIR.d.ts} +15 -17
  112. package/dist/{geolocationManager-DnONzWL5.esm.js → geolocationManager-BJJ3m_I8.esm.js} +6 -8
  113. package/dist/{geolocationStateMachine-eWy_G4Os.esm.js → geolocationStateMachine-CTI3m4Ie.esm.js} +12 -8
  114. package/dist/{getDeviceClass-bsWdEDxP.esm.js → getDeviceClass-DoIWuKI8.esm.js} +1 -1
  115. package/dist/government-validation.esm.js +2 -2
  116. package/dist/{governmentValidationManager-BtXWHICu.esm.js → governmentValidationManager-CjChjZ3C.esm.js} +2 -2
  117. package/dist/{governmentValidationStateMachine-COL-Vs48.esm.js → governmentValidationStateMachine-AEbn3Afi.esm.js} +1 -1
  118. package/dist/home.d.ts +1 -1
  119. package/dist/home.esm.js +1 -1
  120. package/dist/http.esm.js +1 -1
  121. package/dist/id-ocr.d.ts +1 -1
  122. package/dist/id-ocr.esm.js +2 -2
  123. package/dist/id-selfie-flow.d.ts +1 -1
  124. package/dist/id-selfie-flow.esm.js +10 -9
  125. package/dist/id-verification.esm.js +2 -2
  126. package/dist/id.d.ts +3 -16
  127. package/dist/id.esm.js +4 -4
  128. package/dist/{idCaptureDefaults-BGsG2OAs.esm.js → idCaptureDefaults-Dszuq9ng.esm.js} +3 -3
  129. package/dist/{idCaptureManager-BrfYjCm_.esm.js → idCaptureManager-B3oR4RnA.esm.js} +64 -17
  130. package/dist/{idCaptureManager-0M02hSuC.d.ts → idCaptureManager-CCA2D1Ah.d.ts} +68 -5
  131. package/dist/{idCaptureServices-BSj6EH2l.esm.js → idCaptureServices-DK0QboqT.esm.js} +29 -198
  132. package/dist/{idCaptureStateMachine-dXKBYHQp.esm.js → idCaptureStateMachine-zzar9MPy.esm.js} +914 -536
  133. package/dist/{idOcrManager-DT3kPIB3.d.ts → idOcrManager-BTdHlJ9D.d.ts} +1 -1
  134. package/dist/{idOcrManager-D3-HNMXP.esm.js → idOcrManager-xyEZNOBa.esm.js} +2 -2
  135. package/dist/{idOcrStateMachine-DyENX6Ki.esm.js → idOcrStateMachine-DNKXh4Rn.esm.js} +2 -2
  136. package/dist/{idVerificationManager-iWz7Avkr.esm.js → idVerificationManager-DdnvYfgN.esm.js} +2 -2
  137. package/dist/{idVerificationStateMachine-CL1kUdBe.esm.js → idVerificationStateMachine-DtIBCa32.esm.js} +1 -1
  138. package/dist/identity-reuse.esm.js +2 -2
  139. package/dist/{identityReuseManager-CD1ucp1d.esm.js → identityReuseManager-CcpovlfD.esm.js} +2 -2
  140. package/dist/{identityReuseStateMachine-DfV81wQC.esm.js → identityReuseStateMachine-DxZFWy47.esm.js} +1 -1
  141. package/dist/{index-CKQ9QBZP.d.ts → index-DC0P2Vzw.d.ts} +1 -1
  142. package/dist/{index-BKOWUhxG.d.ts → index-DEfwds5y.d.ts} +55 -8
  143. package/dist/index.d.ts +1 -1
  144. package/dist/index.esm.js +1 -1
  145. package/dist/{invokeOnCaptureCallback-DYrkOXO6.esm.js → invokeOnCaptureCallback-BJ0GVHGr.esm.js} +1 -1
  146. package/dist/kyb-checks.d.ts +3 -0
  147. package/dist/kyb-checks.esm.js +3 -0
  148. package/dist/kybChecksManager-CblEL97E.d.ts +95 -0
  149. package/dist/kybChecksManager-DpGOp4Su.esm.js +89 -0
  150. package/dist/kybChecksStateMachine-B43NAnv7.esm.js +718 -0
  151. package/dist/mandatory-consent.d.ts +2 -2
  152. package/dist/mandatory-consent.esm.js +2 -2
  153. package/dist/{mandatoryConsentManager-Cwqx1nK7.esm.js → mandatoryConsentManager-B4vCYslr.esm.js} +4 -3
  154. package/dist/{mandatoryConsentManager-BQ43yndC.d.ts → mandatoryConsentManager-B88Sm5nd.d.ts} +10 -3
  155. package/dist/{mandatoryConsentStateMachine-pXWqAHo_.esm.js → mandatoryConsentStateMachine-DWslYPA3.esm.js} +20 -7
  156. package/dist/mediaRecorderOptions-B9-IEVtV.esm.js +70 -0
  157. package/dist/multipartRecordingService-BTqkHGG9.esm.js +407 -0
  158. package/dist/nationalIds-B91f_RuB.esm.js +99 -0
  159. package/dist/{permissionGuards-gcy3U0SL.esm.js → permissionGuards-DFV-Ws0a.esm.js} +1 -1
  160. package/dist/{permissionServices-Ca-tSNhT.esm.js → permissionServices-D190ATGD.esm.js} +11 -9
  161. package/dist/phone-number.d.ts +7 -1
  162. package/dist/phone-number.esm.js +15 -2
  163. package/dist/phone.d.ts +1 -1
  164. package/dist/phone.esm.js +2 -2
  165. package/dist/phoneFormat-JJNaWthV.esm.js +75 -0
  166. package/dist/{phoneManager-BO-LTih5.d.ts → phoneManager-6nrJkvkG.d.ts} +5 -0
  167. package/dist/{phoneManager-KKUq-Vgo.esm.js → phoneManager-Dy5tODCU.esm.js} +3 -3
  168. package/dist/phoneServices-DJgyOzU2.esm.js +77 -0
  169. package/dist/{phoneStateMachine-D2QWS2cu.esm.js → phoneStateMachine-DnlPhnw7.esm.js} +54 -82
  170. package/dist/{phoneValidation-DnBcNUNh.esm.js → phoneValidation-OggtfjRt.esm.js} +1 -2
  171. package/dist/{platform-DkcRc9JV.esm.js → platform-aPh7gTWh.esm.js} +15 -1
  172. package/dist/processFaceMatch-Bst83HaS.esm.js +21 -0
  173. package/dist/qe-signature.esm.js +1 -1
  174. package/dist/recordingService-CTko6Cjn.esm.js +397 -0
  175. package/dist/redirect-to-mobile.d.ts +2 -2
  176. package/dist/redirect-to-mobile.esm.js +2 -2
  177. package/dist/{redirectToMobileManager-uHW3dyuQ.esm.js → redirectToMobileManager-CgGaT2NP.esm.js} +5 -4
  178. package/dist/{redirectToMobileManager-CVsvpVbQ.d.ts → redirectToMobileManager-Dm9ctRCC.d.ts} +3 -1
  179. package/dist/{redirectToMobileStateMachine-b-H-ipGM.esm.js → redirectToMobileStateMachine-CbhN8uVN.esm.js} +65 -26
  180. package/dist/resolveForm-O7-r79VA.esm.js +351 -0
  181. package/dist/{runChildModule-BF_atgNx.esm.js → runChildModule-BffFArwl.esm.js} +3 -3
  182. package/dist/{sdkVersion-CsIbltJF.esm.js → sdkVersion-CDd_gaR7.esm.js} +1 -1
  183. package/dist/selfie.d.ts +4 -4
  184. package/dist/selfie.esm.js +10 -10
  185. package/dist/{selfieErrorUtils-BY0-YbPW.esm.js → selfieErrorUtils-f4MgAG2A.esm.js} +1 -1
  186. package/dist/{selfieManager-BJdNu_nd.d.ts → selfieManager-DmZFzs1-.d.ts} +1 -1
  187. package/dist/{selfieManager-vAAwzsHk.esm.js → selfieManager-hopelYEk.esm.js} +5 -5
  188. package/dist/{selfieStateMachine-BFVp3ElQ.esm.js → selfieStateMachine-DaZIVv3Q.esm.js} +3 -3
  189. package/dist/{session-CpwfoVdH.esm.js → session-CdSX4wsZ.esm.js} +77 -9
  190. package/dist/session.d.ts +96 -10
  191. package/dist/session.esm.js +7 -6
  192. package/dist/{sessionInitializer-BTjYgE-V.esm.js → sessionInitializer-DsL7X2j9.esm.js} +465 -206
  193. package/dist/{setup-YPKTUCY5.d.ts → setup-D9qt8YVU.d.ts} +2 -2
  194. package/dist/{setup-BInNAvQw.esm.js → setup-DDahygZs.esm.js} +44 -30
  195. package/dist/signature.esm.js +2 -2
  196. package/dist/{signatureManager-f_dPAGXn.esm.js → signatureManager-CwqjcxPg.esm.js} +2 -2
  197. package/dist/{signatureStateMachine-C-nUq_oq.esm.js → signatureStateMachine-DBVDd1Eu.esm.js} +1 -1
  198. package/dist/{stats-BEvexnKC.esm.js → stats-CatA2dea.esm.js} +1 -1
  199. package/dist/stats.esm.js +1 -1
  200. package/dist/textRules-D4NRinKY.d.ts +41 -0
  201. package/dist/{tri-xzRLIIMN.esm.js → tri-DG6priFa.esm.js} +142 -8
  202. package/dist/tri.d.ts +1 -1
  203. package/dist/tri.esm-CzTNi5Q_.esm.js +3826 -0
  204. package/dist/tri.esm.js +1 -1
  205. package/dist/{trueSightService-BMT-TubT.esm.js → trueSightService-GuLthUVK.esm.js} +19 -10
  206. package/dist/trust-graph.esm.js +1 -1
  207. package/dist/types-B9C8W01q.d.ts +34 -0
  208. package/dist/{types-yPH8lAH-.d.ts → types-BEVHQbbC.d.ts} +2 -2
  209. package/dist/{types-BAxn7MpY.d.ts → types-BPm1JSu7.d.ts} +123 -48
  210. package/dist/{types-0L-eFDmr.d.ts → types-BgRHw-dR.d.ts} +1 -1
  211. package/dist/{types-B6HsSzpk.d.ts → types-CRaFu6wS.d.ts} +6 -3
  212. package/dist/types-CTaL0XJz.d.ts +80 -0
  213. package/dist/{types-Ckir_BEs.d.ts → types-Cd0J0F9D.d.ts} +1 -1
  214. package/dist/{types-CK8Jbjkp.d.ts → types-Csh8vzPo.d.ts} +1 -1
  215. package/dist/types-CuMJ2M7D.d.ts +210 -0
  216. package/dist/{types-DUnFZ08M.d.ts → types-CyNndVAT.d.ts} +16 -8
  217. package/dist/{types-DPIDuhut.d.ts → types-DNVzoRvi.d.ts} +2 -1
  218. package/dist/types-J6g6iKe_.d.ts +6 -0
  219. package/dist/{urlUtils-6jsE6rKp.esm.js → urlUtils-eYiyWjh0.esm.js} +4 -1
  220. package/dist/video-selfie.d.ts +8 -8
  221. package/dist/video-selfie.esm.js +97 -22
  222. package/dist/{videoSelfieCameraWarmer-D1xA0u8y.esm.js → videoSelfieCameraWarmer-e3irGfcO.esm.js} +18 -21
  223. package/dist/{videoSelfieStepDetector-CGsTltqB.d.ts → videoSelfieStepDetector-Dv3Mgws-.d.ts} +9 -4
  224. package/dist/virtualCameraCheck-eFOm2C9q.esm.js +27 -0
  225. package/dist/{warmup-BElYWRh7.esm.js → warmup-DtB0DJpl.esm.js} +198 -27
  226. package/dist/wasm.d.ts +2 -2
  227. package/dist/wasm.esm.js +3 -3
  228. package/dist/{wasmDsFlagSync-CYj5LL9z.esm.js → wasmDsFlagSync-BtiR5pig.esm.js} +1 -1
  229. package/dist/wasmMetadataVersionSync-U8EFUr1T.esm.js +27 -0
  230. package/dist/{wasmWebClient-BjZw_7OB.esm.js → wasmWebClient-BDrax6Eu.esm.js} +55 -26
  231. package/dist/watchlist-for-business.d.ts +2 -1
  232. package/dist/watchlist-for-business.esm.js +2 -2
  233. package/dist/watchlist.esm.js +2 -2
  234. package/dist/{watchlistForBusinessManager-B3GDPZrr.d.ts → watchlistForBusinessManager-DX2AyM4Y.d.ts} +54 -18
  235. package/dist/{watchlistForBusinessManager-CZZOFkGl.esm.js → watchlistForBusinessManager-DqUpAEj_.esm.js} +37 -7
  236. package/dist/watchlistForBusinessStateMachine-DdaPl2PS.esm.js +166 -0
  237. package/dist/{watchlistManager-DXtX94SN.esm.js → watchlistManager-CdpXzT4B.esm.js} +2 -2
  238. package/dist/{watchlistStateMachine-McALifag.esm.js → watchlistStateMachine-ofHW_lPk.esm.js} +1 -1
  239. package/dist/workflow.d.ts +5 -2
  240. package/dist/workflow.esm.js +60 -50
  241. package/package.json +12 -5
  242. package/dist/IBrowserEnvironmentCapability-DEaRRk-R.esm.js +0 -9
  243. package/dist/addressSearch-DPjIKJrX.esm.js +0 -563
  244. package/dist/deepsightLoader-DeNvGU3c.esm.js +0 -55
  245. package/dist/ekycStateMachine-CDnI_NRq.esm.js +0 -1443
  246. package/dist/ekycUtils-zY8CdKJL.esm.js +0 -300
  247. package/dist/thumbmark.esm-CRc0cYvz.esm.js +0 -1242
  248. package/dist/tri.esm-BIjHhBJ2.esm.js +0 -2620
  249. package/dist/types-BvLo3U4u.d.ts +0 -134
  250. package/dist/types-zOgZqMni.d.ts +0 -6
  251. package/dist/watchlistForBusinessStateMachine-B66E7jud.esm.js +0 -78
  252. /package/dist/{types-BSBzhHRH2.d.ts → types-BSBzhHRH.d.ts} +0 -0
package/dist/tri.esm.js CHANGED
@@ -1,2 +1,2 @@
1
- import { a as resetTRI, c as startTRI, l as stopTRI, r as isTRIStarted, s as setupTRI, t as createTRISession } from "./tri-xzRLIIMN.esm.js";
1
+ import { c as resetTRI, d as stopTRI, i as isTRIStarted, l as setupTRI, n as createTRISession, u as startTRI } from "./tri-DG6priFa.esm.js";
2
2
  export { createTRISession, isTRIStarted, resetTRI, setupTRI, startTRI, stopTRI };
@@ -1,8 +1,8 @@
1
- import { a as setWebApiHttpTransport, g as emitWasmDiagnostic, i as initializeWasmWebClient, o as setupWasmConnection, r as executeWasmRequest, t as WasmWebClientError, w as resolveWasmConfig } from "./wasmWebClient-BjZw_7OB.esm.js";
2
- import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
3
- import { C as subscribeEvent, n as eventModuleNames } from "./events-Du2A4-Qr.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-Cz90EHyu.esm.js";
5
- import { t as SDK_VERSION } from "./sdkVersion-CsIbltJF.esm.js";
1
+ import { T as resolveWasmConfig, _ as emitWasmDiagnostic, a as setWebApiHttpTransport, i as initializeWasmWebClient, o as setupWasmConnection, r as executeWasmRequest, t as WasmWebClientError } from "./wasmWebClient-BDrax6Eu.esm.js";
2
+ import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
3
+ import { C as subscribeEvent, n as eventModuleNames } from "./events-ggpBBaZ8.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-CpP4PS4S.esm.js";
5
+ import { t as SDK_VERSION } from "./sdkVersion-CDd_gaR7.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
- throw reportHttpError(new WasmHttpError(error.statusCode, "", config.apiURL, "POST", {}, getErrorData(error)), headers);
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
- throw reportHttpError(new WasmHttpError(getErrorStatus(error), getErrorMessage(error), fullUrl, upperMethod, {}, getErrorData(error)), mergedHeaders);
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). */
@@ -1,4 +1,4 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Du2A4-Qr.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ggpBBaZ8.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
  /**
@@ -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 };
@@ -1,6 +1,6 @@
1
1
  import { a as AvatarAssetsOverrides } from "./createFaceAvatar-lYX0VTYs.js";
2
- import { n as Flow, s as SelfieConcealmentOption } from "./types-B6HsSzpk.js";
3
- import { a as IStorageCapability, n as IWasmUtilCapability } from "./IWasmUtilCapability-GF2n7sfm.js";
2
+ import { n as Flow, s as SelfieConcealmentOption } from "./types-CRaFu6wS.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;
@@ -1,10 +1,11 @@
1
1
  import { y as IncodeCanvas } from "./createFaceAvatar-lYX0VTYs.js";
2
- import { a as RegulationTypes, n as Flow, o as TutorialIdConfig } from "./types-B6HsSzpk.js";
3
- import { a as IStorageCapability } from "./IWasmUtilCapability-GF2n7sfm.js";
2
+ import { a as RegulationTypes, n as Flow, o as TutorialIdConfig } from "./types-CRaFu6wS.js";
3
+ import { a as IStorageCapability } from "./IWasmUtilCapability-Cqiaxydi.js";
4
4
  import { t as PermissionResult } from "./types-BEwVKkLJ.js";
5
- import { n as DeepsightService, t as StreamCanvasCapture } from "./StreamCanvasCapture-7JRf-2ck.js";
5
+ import { n as DeepsightService, t as StreamCanvasCapture } from "./StreamCanvasCapture-C3xNfOsv.js";
6
6
  import { t as CameraStream } from "./camera-9wWD-pwg.js";
7
7
  import { i as Pdf417DecodeResult, n as IIdCaptureCapability, r as IdCaptureSettings, t as DetectionOrientation } from "./IIdCaptureCapability-CGcEt2Cw.js";
8
+ import { n as IGeolocationCapability, t as GeolocationCoords } from "./IGeolocationCapability-r49Qo7rR.js";
8
9
  //#region ../infra/src/capabilities/IDigitalCredentialsCapability.d.ts
9
10
  /**
10
11
  * Digital Credentials capability — wraps the W3C Digital Credentials API
@@ -95,25 +96,68 @@ type RedirectReturnParams = {
95
96
  resultsAccessKey: string;
96
97
  };
97
98
  //#endregion
99
+ //#region src/modules/id/deviceWallet/types.d.ts
100
+ /** Which wallet backend the handshake talks to. */
101
+ type DeviceWalletPlatform = 'ios' | 'android';
102
+ /** Explicit provider override, mirroring V1's `DigitalIdWalletProvider`. */
103
+ type DeviceWalletProvider = 'apple_web' | 'google';
104
+ type DeviceWalletDecision = 'ACCEPTED' | 'REJECTED';
105
+ /**
106
+ * Failure classification.
107
+ * - `UNSUPPORTED_PLATFORM` — no Credentials API. The digital-ID funnel
108
+ * resolves this away before the machine is invoked; kept for the defensive
109
+ * path when the machine is started on an unsupported environment anyway.
110
+ * - `NO_CREDENTIAL` — the wallet sheet completed without a credential (user
111
+ * dismissed, or no eligible digital ID on the device).
112
+ * - `WALLET_ERROR` — anything else (request/decrypt HTTP failure, the
113
+ * Credentials API rejecting, missing activation, protocol errors).
114
+ */
115
+ type DeviceWalletFailReason = 'UNSUPPORTED_PLATFORM' | 'NO_CREDENTIAL' | 'WALLET_ERROR';
116
+ /** Response of both decrypt endpoints. Attributes are not inline (see above). */
117
+ type DeviceWalletDecryptResponse = {
118
+ success: boolean;
119
+ decision?: DeviceWalletDecision;
120
+ [key: string]: unknown;
121
+ };
122
+ /** Injectable service seam (mirrors digital-id-redirect's services pattern). */
123
+ type DeviceWalletServices = {
124
+ /** Builds the wallet request payload for the platform. */
125
+ requestWalletData: (platform: DeviceWalletPlatform, signal?: AbortSignal) => Promise<DigitalCredentialRequestOptions>;
126
+ /** Forwards the opaque wallet response for backend decryption. */
127
+ decryptWalletResponse: (platform: DeviceWalletPlatform, walletResponse: string, signal?: AbortSignal) => Promise<DeviceWalletDecryptResponse>;
128
+ };
129
+ /**
130
+ * Terminal machine output read by the ID-Capture parent (`onDone`).
131
+ * Projected by the machine's ROOT `output` — a top-level final node's own
132
+ * `output` does not propagate in this XState version.
133
+ */
134
+ type DeviceWalletOutput = {
135
+ result: 'success';
136
+ decision: DeviceWalletDecision | undefined;
137
+ response: DeviceWalletDecryptResponse;
138
+ } | {
139
+ result: 'dismissed';
140
+ };
141
+ //#endregion
98
142
  //#region src/modules/id/digitalIdRegistry.d.ts
99
143
  /**
100
144
  * True when a digital-ID method uses a full-page web-redirect flow (Trinsic
101
- * iDIN/FTN). Accepts both the module `FlowType` value (`REDIRECT`) and the
145
+ * iDIN, FTN, itsme, …). Accepts both the module `FlowType` value (`REDIRECT`) and the
102
146
  * backend value (`WEB_REDIRECT`). (Lives here rather than in
103
147
  * `idCaptureHelpers` to keep the registry free of circular imports; the
104
148
  * helpers re-export it.)
105
149
  */
106
150
  declare function isRedirectFlowType(flowType: string): boolean;
107
151
  /** Digital-ID document schemes the SDK knows how to verify. */
108
- type DigitalIdDocumentType = 'mDL' | 'iDIN' | 'FTN';
152
+ type DigitalIdDocumentType = 'mDL' | 'iDIN' | 'FTN' | 'itsme' | 'SPID' | 'MitID' | 'BankIDSweden' | 'FranceIdentite' | 'IdentiteNumerique' | 'LAWallet' | 'DigiLocker';
109
153
  /** One way to fulfil a `DigitalIdDocumentType`, in funnel priority order. */
110
154
  type DigitalIdFunnelEntry = {
111
155
  /**
112
156
  * Incode-native device-wallet handshake (Apple Wallet web / Google
113
- * Wallet). Activation is computed by `isDeviceWalletEnabled` — the
114
- * `deviceWallet` flag or an enabled wallet method in
115
- * `config.digitalIds` — so this entry carries no config-field name of
116
- * its own.
157
+ * Wallet). Activation is computed by `hasEligibleDeviceWallet` — an
158
+ * enabled wallet method in `config.digitalIds` that this device can
159
+ * reach, else the `deviceWallet` flag — so this entry carries no
160
+ * config-field name of its own.
117
161
  */
118
162
  kind: 'incodeWallet';
119
163
  /** Chooser tile this entry surfaces as. */
@@ -129,6 +173,11 @@ type DigitalIdFunnelEntry = {
129
173
  * activates this entry (e.g. `IDIN`).
130
174
  */
131
175
  method: string;
176
+ /**
177
+ * ISO alpha-2 countries the provider serves. Fallback for chooser
178
+ * ranking when the backend sends a method without `countries`.
179
+ */
180
+ countries?: readonly string[];
132
181
  };
133
182
  declare const DIGITAL_ID_REGISTRY: Record<DigitalIdDocumentType, readonly DigitalIdFunnelEntry[]>;
134
183
  declare const DIGITAL_ID_DOCUMENT_TYPES: DigitalIdDocumentType[];
@@ -144,6 +193,19 @@ type ResolvedDigitalIdRoute = {
144
193
  type DigitalIdPlatformSupport = {
145
194
  /** `IDigitalCredentialsCapability.isAvailable()`. */
146
195
  credentialsAvailable: boolean;
196
+ /**
197
+ * The OS wallet this device reaches (`resolveWalletPlatform()`): `ios` for
198
+ * Apple Wallet (iOS / iPadOS / macOS Safari), `android` for Google Wallet
199
+ * (everything else). Drives the per-wallet hard filter — Apple Wallet is
200
+ * never offered on `android`, Google Wallet never on `ios`. Omitted → no
201
+ * per-wallet filtering (callers that predate the filter).
202
+ */
203
+ walletPlatform?: DeviceWalletPlatform;
204
+ /**
205
+ * Whether this is a Samsung device (`isSamsungDevice()`). Samsung Wallet is
206
+ * Samsung-only. Omitted → not filtered.
207
+ */
208
+ samsungDevice?: boolean;
147
209
  };
148
210
  /**
149
211
  * Resolves the implementation that should fulfil a digital-ID document type:
@@ -152,47 +214,31 @@ type DigitalIdPlatformSupport = {
152
214
  */
153
215
  declare function resolveDigitalIdImplementation(docType: DigitalIdDocumentType, config: Pick<IdCaptureConfig, 'deviceWallet' | 'digitalIds'>, platform: DigitalIdPlatformSupport): ResolvedDigitalIdRoute | undefined;
154
216
  //#endregion
155
- //#region src/modules/id/deviceWallet/types.d.ts
156
- /** Which wallet backend the handshake talks to. */
157
- type DeviceWalletPlatform = 'ios' | 'android';
158
- /** Explicit provider override, mirroring V1's `DigitalIdWalletProvider`. */
159
- type DeviceWalletProvider = 'apple_web' | 'google';
160
- type DeviceWalletDecision = 'ACCEPTED' | 'REJECTED';
161
- /**
162
- * Failure classification.
163
- * - `UNSUPPORTED_PLATFORM` — no Credentials API. The digital-ID funnel
164
- * resolves this away before the machine is invoked; kept for the defensive
165
- * path when the machine is started on an unsupported environment anyway.
166
- * - `NO_CREDENTIAL` — the wallet sheet completed without a credential (user
167
- * dismissed, or no eligible digital ID on the device).
168
- * - `WALLET_ERROR` — anything else (request/decrypt HTTP failure, the
169
- * Credentials API rejecting, missing activation, protocol errors).
170
- */
171
- type DeviceWalletFailReason = 'UNSUPPORTED_PLATFORM' | 'NO_CREDENTIAL' | 'WALLET_ERROR';
172
- /** Response of both decrypt endpoints. Attributes are not inline (see above). */
173
- type DeviceWalletDecryptResponse = {
174
- success: boolean;
175
- decision?: DeviceWalletDecision;
176
- [key: string]: unknown;
177
- };
178
- /** Injectable service seam (mirrors digital-id-redirect's services pattern). */
179
- type DeviceWalletServices = {
180
- /** Builds the wallet request payload for the platform. */
181
- requestWalletData: (platform: DeviceWalletPlatform, signal?: AbortSignal) => Promise<DigitalCredentialRequestOptions>;
182
- /** Forwards the opaque wallet response for backend decryption. */
183
- decryptWalletResponse: (platform: DeviceWalletPlatform, walletResponse: string, signal?: AbortSignal) => Promise<DeviceWalletDecryptResponse>;
217
+ //#region ../infra/src/capabilities/ILocaleCapability.d.ts
218
+ type ILocaleCapability = {
219
+ /**
220
+ * The user's preferred languages as BCP 47 tags, most preferred first
221
+ * (`navigator.languages`, e.g. `['sv-SE', 'en-GB']`). Empty when the
222
+ * environment exposes none.
223
+ */
224
+ getPreferredLanguages(): readonly string[];
184
225
  };
226
+ //#endregion
227
+ //#region src/modules/id/digitalIdCountry.d.ts
185
228
  /**
186
- * Terminal machine output read by the ID-Capture parent (`onDone`).
187
- * Projected by the machine's ROOT `output` — a top-level final node's own
188
- * `output` does not propagate in this XState version.
229
+ * The country signals ID Capture ranks digital-ID options by. Every field is
230
+ * optional; an absent one is simply not consulted. `createIdCaptureActor`
231
+ * fills `ipCountry` and `locale`; the GPS pair is opt-in.
189
232
  */
190
- type DeviceWalletOutput = {
191
- result: 'success';
192
- decision: DeviceWalletDecision | undefined;
193
- response: DeviceWalletDecryptResponse;
194
- } | {
195
- result: 'dismissed';
233
+ type DigitalIdCountryDetectionDependencies = {
234
+ /** IP → ISO alpha-2. Defaults to the backend geo-IP lookup. */
235
+ ipCountry?: (signal?: AbortSignal) => Promise<string | undefined>;
236
+ /** Browser language preferences, read for their region subtag. */
237
+ locale?: ILocaleCapability;
238
+ /** Position source for the GPS signal. Needs `reverseGeocodeCountry`. */
239
+ geolocation?: IGeolocationCapability;
240
+ /** Coordinates → ISO alpha-2. Without it the GPS signal is skipped. */
241
+ reverseGeocodeCountry?: (coords: GeolocationCoords, signal?: AbortSignal) => Promise<string | undefined>;
196
242
  };
197
243
  //#endregion
198
244
  //#region ../infra/src/capabilities/IAnalyticsCapability.d.ts
@@ -752,6 +798,19 @@ type IdCaptureContext = {
752
798
  * `availableDocumentTypes` whenever this list is non-empty.
753
799
  */
754
800
  digitalIdRedirectOptions: IdCaptureDigitalIdRedirectOption[];
801
+ /**
802
+ * Countries the user is likely in, strongest signal first, from the
803
+ * `detectingCountry` step before the chooser; `digitalIdRedirectOptions`
804
+ * is ranked by them. `undefined` until detection ran — it only runs when
805
+ * ranking can change the order — and `[]` when no signal answered.
806
+ */
807
+ detectedCountries: string[] | undefined;
808
+ /**
809
+ * The wallet family this device certainly reaches, read once from the user
810
+ * agent when the machine starts (`resolveWalletDevice`); names the wallet on
811
+ * the Digital ID chooser card. `undefined` when the OS is not certain.
812
+ */
813
+ walletDevice: 'apple' | 'samsung' | 'android' | undefined;
755
814
  /**
756
815
  * Provider picked on the chooser (`SELECT_DOCUMENT` with `providerId`).
757
816
  * Preset on the `digitalIdRedirect` child so the verification is created for
@@ -786,6 +845,15 @@ type IdCaptureEvent = {
786
845
  * Omitted → the first configured redirect method is launched.
787
846
  */
788
847
  providerId?: DigitalIdProviderId;
848
+ } |
849
+ /**
850
+ * On the chooser: the user picked the country to view options for. The
851
+ * redirect options are re-ranked with it as the strongest country; nothing
852
+ * is added or removed.
853
+ */
854
+ {
855
+ type: 'SET_CHOOSER_COUNTRY';
856
+ country: string;
789
857
  } | {
790
858
  type: 'NEXT_STEP';
791
859
  } | {
@@ -927,6 +995,13 @@ type IdCaptureDependencies = {
927
995
  * `BrowserDigitalCredentialsProvider` at the composition points.
928
996
  */
929
997
  credentials?: IDigitalCredentialsCapability;
998
+ /**
999
+ * Country signals the chooser ranks digital-ID redirect options by (GPS →
1000
+ * IP → browser locale; see `detectDigitalIdCountries`). `createIdCaptureActor`
1001
+ * fills the IP and locale signals; the GPS pair is opt-in. Absent (direct
1002
+ * machine construction) → no ranking, backend order.
1003
+ */
1004
+ countryDetection?: DigitalIdCountryDetectionDependencies;
930
1005
  trackCaptureAttemptFinished?: (payload: {
931
1006
  logs: string;
932
1007
  resolution?: string;
@@ -970,4 +1045,4 @@ type IdCaptureOutput = {
970
1045
  skipFaceMatch: boolean;
971
1046
  } | undefined;
972
1047
  //#endregion
973
- export { DeviceWalletDecision as A, DigitalIdFunnelEntry as B, IdCapturedImageData as C, IdFlowStep as D, IdErrorCode as E, DeviceWalletProvider as F, DigitalIdProviderId as G, ResolvedDigitalIdRoute as H, DeviceWalletServices as I, IDigitalCredentialsCapability as J, FailureReason as K, DIGITAL_ID_DOCUMENT_TYPES as L, DeviceWalletFailReason as M, DeviceWalletOutput as N, UploadIdResponse as O, DeviceWalletPlatform as P, DIGITAL_ID_REGISTRY as R, IdCaptureThresholds as S, IdError as T, isRedirectFlowType as U, DigitalIdPlatformSupport as V, resolveDigitalIdImplementation as W, IdCaptureGeometry as _, CaptureOnlyResponse as a, IdCaptureOnlyConfig as b, DetectionStatus as c, IdCaptureContext as d, IdCaptureDependencies as f, IdCaptureEvent as g, IdCaptureDigitalIdRedirectOption as h, CaptureIdResponse as i, DeviceWalletDecryptResponse as j, IAnalyticsCapability as k, ID_ERROR_CODES as l, IdCaptureDigitalIdMethod as m, AcceptedDocumentType as n, CapturedImage as o, IdCaptureDigitalIdFlowType as p, RedirectReturnParams as q, AddBarcodeV3Response as r, DetectionArea as s, AcceptedDocument as t, IdCaptureConfig as u, IdCaptureInput as v, IdDocumentType as w, IdCaptureOutput as x, IdCaptureMode as y, DigitalIdDocumentType as z };
1048
+ export { DigitalIdCountryDetectionDependencies as A, DeviceWalletDecryptResponse as B, IdCapturedImageData as C, IdFlowStep as D, IdErrorCode as E, DigitalIdPlatformSupport as F, DeviceWalletServices as G, DeviceWalletOutput as H, ResolvedDigitalIdRoute as I, RedirectReturnParams as J, DigitalIdProviderId as K, isRedirectFlowType as L, DIGITAL_ID_REGISTRY as M, DigitalIdDocumentType as N, UploadIdResponse as O, DigitalIdFunnelEntry as P, resolveDigitalIdImplementation as R, IdCaptureThresholds as S, IdError as T, DeviceWalletPlatform as U, DeviceWalletFailReason as V, DeviceWalletProvider as W, IDigitalCredentialsCapability as Y, IdCaptureGeometry as _, CaptureOnlyResponse as a, IdCaptureOnlyConfig as b, DetectionStatus as c, IdCaptureContext as d, IdCaptureDependencies as f, IdCaptureEvent as g, IdCaptureDigitalIdRedirectOption as h, CaptureIdResponse as i, DIGITAL_ID_DOCUMENT_TYPES as j, IAnalyticsCapability as k, ID_ERROR_CODES as l, IdCaptureDigitalIdMethod as m, AcceptedDocumentType as n, CapturedImage as o, IdCaptureDigitalIdFlowType as p, FailureReason as q, AddBarcodeV3Response as r, DetectionArea as s, AcceptedDocument as t, IdCaptureConfig as u, IdCaptureInput as v, IdDocumentType as w, IdCaptureOutput as x, IdCaptureMode as y, DeviceWalletDecision as z };
@@ -1,4 +1,4 @@
1
- import { l as FieldDef } from "./types-BvLo3U4u.js";
1
+ import { r as FieldDef } from "./textRules-D4NRinKY.js";
2
2
  //#region src/modules/ekyb/types.d.ts
3
3
  type UboEntry = {
4
4
  id: string;
@@ -1,5 +1,7 @@
1
- import { s as RiskAddon } from "./types-BvLo3U4u.js";
1
+ import { l as RiskAddon } from "./types-CuMJ2M7D.js";
2
2
  import "./createFaceAvatar-lYX0VTYs.js";
3
+ import { t as WatchlistForBusinessConfig } from "./types-B9C8W01q.js";
4
+ import { n as KybChecksConfig } from "./types-CTaL0XJz.js";
3
5
  //#region src/internal/avatar/concealment.d.ts
4
6
  /**
5
7
  * Backend-aligned selfie/auth face-concealment options. The backend returns a
@@ -110,7 +112,7 @@ type FlowModuleConfig = {
110
112
  }[];
111
113
  };
112
114
  DOCUMENT_CAPTURE: {
113
- processingType: 'capture' | 'processPoaOcr' | 'processLoaOcr' | 'processAsylumSeekerVisaZaf' | 'processBankStatementOCR' | 'processBankCheck' | 'processIneMex' | 'processColombiaRutForm' | 'processV5CLogbook' | 'processCarInvoice' | 'processCirculationCard' | 'processFinanceSettlement';
115
+ processingType: 'capture' | 'processPoaOcr' | 'processLoaOcr' | 'processAsylumSeekerVisaZaf' | 'processBankStatementOCR' | 'processBankCheck' | 'processIneMex' | 'processColombiaRutForm' | 'processV5CLogbook' | 'processCarInvoice' | 'processCirculationCard' | 'processFinanceSettlement' | 'processW8BenOcr' | 'processW8BenEOcr';
114
116
  title: string;
115
117
  text: string;
116
118
  allowSkipDocumentCapture: boolean;
@@ -125,6 +127,7 @@ type FlowModuleConfig = {
125
127
  checkUniqueBeneficialOwner: boolean;
126
128
  uniqueBeneficialOwnerSource: 'userInput';
127
129
  };
130
+ EKYB_CHECKS: KybChecksConfig;
128
131
  EXTERNAL_VERIFICATION: {
129
132
  source: 'US_DRIVERS_LICENSE_1' | 'US_TELCO_1' | 'US_TELCO_2' | 'US_CONSUMER_1' | 'US_CREDIT_BUREAU_1' | 'US_CREDIT_TELCO' | 'MX_CONSUMER_1' | 'BR_GOVT_1' | 'CA_RES_CREDIT' | 'UK_CREDIT_BUREAU_1' | 'ES_1' | 'CL_1' | 'AR_1' | 'GR_1' | 'GT_1' | 'BR_CPF_1' | 'RISK_ADDONS_ONLY';
130
133
  checkName: boolean;
@@ -353,7 +356,7 @@ type FlowModuleConfig = {
353
356
  UNIVERSAL_IDENTITY: EmptyConfig;
354
357
  WATCHLIST: EmptyConfig;
355
358
  TRUST_GRAPH: EmptyConfig;
356
- WATCHLIST_BUSINESS: EmptyConfig;
359
+ WATCHLIST_BUSINESS: WatchlistForBusinessConfig;
357
360
  };
358
361
  type FlowModule = { [K in keyof FlowModuleConfig]: {
359
362
  key: K;
@@ -0,0 +1,80 @@
1
+ import { r as FieldDef, t as CharacterClass } from "./textRules-D4NRinKY.js";
2
+ //#region src/modules/kyb-checks/types.d.ts
3
+ /** KYB checks a step can run. */
4
+ type KybCheckModuleKey = 'identity' | 'address' | 'statusEntityType' | 'personAssociation' | 'webPresence' | 'websiteAnalysis' | 'industryInfo' | 'financialIntelligence' | 'groupStructure';
5
+ /**
6
+ * A user-facing text: translate `key`, show `text` when it has no translation.
7
+ * A param that is itself a `KybText` is translated before it's inserted.
8
+ */
9
+ type KybText = {
10
+ key: string;
11
+ text: string;
12
+ params?: Record<string, string | KybText>;
13
+ };
14
+ /** A string, or the entries of a list field. */
15
+ type KybFieldValue = string | string[];
16
+ type KybUnsupportedModule = {
17
+ module: KybCheckModuleKey;
18
+ message: KybText;
19
+ };
20
+ /** Passed to `onFinish`. */
21
+ type KybChecksResult = {
22
+ referenceId?: string;
23
+ };
24
+ /** Module configuration from the flow or workflow node. The backend applies `modules` when it builds the form. */
25
+ type KybChecksConfig = {
26
+ modules?: KybCheckModuleKey[];
27
+ };
28
+ type KybFieldValues = Record<string, KybFieldValue>;
29
+ type KybFieldErrors = Record<string, KybText>;
30
+ type KybChecksErrorKind = 'load' | 'submit';
31
+ /** A field check, run in order; the first failing rule's message is shown. */
32
+ type KybValidationRule = {
33
+ type: 'required';
34
+ } | {
35
+ type: 'allowedCharacters';
36
+ classes: CharacterClass[];
37
+ extra: string;
38
+ /** `letter` means A-Z in either case. */
39
+ ascii: boolean;
40
+ message: KybText;
41
+ } | {
42
+ type: 'maxLength';
43
+ max: number;
44
+ message: KybText;
45
+ };
46
+ /** A check across fields, shown on the first field it names. */
47
+ type KybFormLevelRule = {
48
+ type: 'oneOfRequired';
49
+ fields: string[];
50
+ message: KybText;
51
+ };
52
+ /**
53
+ * One field to render, like eKYB's `EkybFieldDef`. `label` and option labels
54
+ * are translation keys; each `labelText` is the served English fallback.
55
+ */
56
+ type KybFieldDef = Omit<FieldDef, 'type' | 'options'> & {
57
+ type: 'text' | 'dropdown' | 'phone' | 'list';
58
+ labelText: string;
59
+ options?: {
60
+ value: string;
61
+ label: string;
62
+ labelText?: string;
63
+ }[];
64
+ /** For a text field: the input type the keyboard hint asks for. */
65
+ inputType?: 'url' | 'email';
66
+ /** For a phone field: the country calling code to start with. */
67
+ phoneCountry?: string;
68
+ /** Changing the field fetches the form again with this query parameter. */
69
+ refetchOnChange?: string;
70
+ /** The value the backend served, used until the user changes it. */
71
+ initialValue: KybFieldValue;
72
+ validation: KybValidationRule[];
73
+ };
74
+ type KybChecksSection = {
75
+ id: string;
76
+ title?: KybText;
77
+ fields: KybFieldDef[];
78
+ };
79
+ //#endregion
80
+ export { KybChecksSection as a, KybFieldValue as c, KybText as d, KybUnsupportedModule as f, KybChecksResult as i, KybFieldValues as l, KybChecksConfig as n, KybFieldDef as o, KybValidationRule as p, KybChecksErrorKind as r, KybFieldErrors as s, KybCheckModuleKey as t, KybFormLevelRule as u };
@@ -1,4 +1,4 @@
1
- import { a as RegulationTypes } from "./types-B6HsSzpk.js";
1
+ import { a as RegulationTypes } from "./types-CRaFu6wS.js";
2
2
  //#region src/modules/mandatory-consent/types.d.ts
3
3
  type RegulatoryConsentType = 'MANDATORY' | 'ML';
4
4
  type MandatoryConsentConfig = {
@@ -1,4 +1,4 @@
1
- import { a as RegulationTypes } from "./types-B6HsSzpk.js";
1
+ import { a as RegulationTypes } from "./types-CRaFu6wS.js";
2
2
  //#region src/internal/fingerprint/types.d.ts
3
3
  type DeviceFingerprintResult = {
4
4
  success: boolean;