@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
@@ -1,7 +1,7 @@
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 { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
3
  import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
4
- import { t as ekybMachine } from "./ekybStateMachine-BLRT45Ex.esm.js";
4
+ import { t as ekybMachine } from "./ekybStateMachine-kHwdz6hm.esm.js";
5
5
  //#region src/modules/ekyb/ekybActor.ts
6
6
  /**
7
7
  * Creates and starts an eKYB actor.
@@ -1,34 +1,12 @@
1
- import { t as api, u as endpoints } from "./api-Cz90EHyu.esm.js";
2
- import { A as isSupportedCountry, C as COUNTRIES_WITH_CNPJ_VALIDATION, D as INVALID_CNPJ_PATTERNS, E as FIELD_ORDER, S as CNPJ_SECOND_DIGIT_FACTORS, T as FIELD_NAME_MAPPING, _ as sortModulesByOrder, b as ALL_COUNTRIES, g as requiresAddressValidation, h as isFieldOptional, k as UBO_FIELD_LABELS, m as hasAtLeastOneAddressField, n as getFlow, v as toEkybConfig, x as CNPJ_FIRST_DIGIT_FACTORS, y as ADDRESS_FIELDS } from "./flowServices-roD0oIQL.esm.js";
1
+ import { t as api, u as endpoints } from "./api-CpP4PS4S.esm.js";
2
+ import { n as getFlow } from "./flowServices-Dmnc8Rye.esm.js";
3
3
  import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
4
4
  import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
5
- import { a as FIXED_DIGIT_POSTAL_CODE_LENGTH, c as getPostalCodeMaxLength, d as STREET_LEVEL_REQUIRED_ERROR, f as fillFromSuggestion, i as checkSupport, l as validatePostalCode, m as usStateOptions, n as resolveForm, o as formatPostalCode, p as getStreetLevelErrorForSuggestion, r as createBundledDefinitionSource, s as getPostalCodeErrorKey, t as debounceSearchActor, u as DYNAMIC_REQUIRED_KEY } from "./addressSearch-DPjIKJrX.esm.js";
5
+ import { a as sortModulesByOrder, c as ALL_COUNTRIES, d as FIELD_ORDER, i as requiresAddressValidation, m as isSupportedCountry, n as hasAtLeastOneAddressField, o as toEkybConfig, p as UBO_FIELD_LABELS, r as isFieldOptional, s as ADDRESS_FIELDS, u as FIELD_NAME_MAPPING } from "./ekybUtils-Cw8Ta9Qi.esm.js";
6
+ import { i as usStateOptions, n as checkSupport, r as DYNAMIC_REQUIRED_KEY, t as resolveForm } from "./resolveForm-O7-r79VA.esm.js";
7
+ import { n as requiresCnpjValidation, r as validateCNPJ } from "./cnpj-Co1ottYN.esm.js";
8
+ import { a as FIXED_DIGIT_POSTAL_CODE_LENGTH, c as getPostalCodeMaxLength, d as fillFromSuggestion, f as getStreetLevelErrorForSuggestion, i as createBundledDefinitionSource, l as validatePostalCode, o as formatPostalCode, r as isFormDefinitionsEnabled, s as getPostalCodeErrorKey, t as debounceSearchActor, u as STREET_LEVEL_REQUIRED_ERROR } from "./addressSearch-DzbE9Ogt.esm.js";
6
9
  //#region src/modules/ekyb/ekybValidators.ts
7
- function cleanCnpjString(cnpj) {
8
- return cnpj.replace(/\./g, "").replace(/\//g, "").replace(/-/g, "");
9
- }
10
- function calculateVerificationDigit(cnpjString, factors) {
11
- let digit = 11 - factors.reduce((acc, factor, index) => acc + Number.parseInt(cnpjString.charAt(index), 10) * factor, 0) % 11;
12
- if (digit >= 10) digit = 0;
13
- return digit.toString();
14
- }
15
- /**
16
- * Validates a Brazilian CNPJ number (14-digit checksum).
17
- * Accepts formatted (00.000.000/0000-00) or unformatted input.
18
- */
19
- function validateCNPJ(cnpjInput) {
20
- if (!cnpjInput || typeof cnpjInput !== "string") return false;
21
- let cnpj = cnpjInput.trim();
22
- if (cnpj.length === 18) cnpj = cleanCnpjString(cnpj);
23
- if (cnpj.length !== 14) return false;
24
- if (!/^\d+$/.test(cnpj)) return false;
25
- if (INVALID_CNPJ_PATTERNS.includes(cnpj)) return false;
26
- const first = calculateVerificationDigit(cnpj, CNPJ_FIRST_DIGIT_FACTORS);
27
- if (cnpj.charAt(12) !== first) return false;
28
- const second = calculateVerificationDigit(cnpj, CNPJ_SECOND_DIGIT_FACTORS);
29
- if (cnpj.charAt(13) !== second) return false;
30
- return true;
31
- }
32
10
  const buildPostalCodeParams = (country) => {
33
11
  const fixedLen = FIXED_DIGIT_POSTAL_CODE_LENGTH[country];
34
12
  if (fixedLen !== void 0) return { length: fixedLen };
@@ -169,10 +147,6 @@ function validateEkybUboField(ubos, fieldKey) {
169
147
  params: { fieldName: UBO_FIELD_LABELS[field] }
170
148
  };
171
149
  }
172
- /** Returns true when CNPJ validation applies for the given country. */
173
- function requiresCnpjValidation(country) {
174
- return COUNTRIES_WITH_CNPJ_VALIDATION.includes(country);
175
- }
176
150
  //#endregion
177
151
  //#region ../form-definitions/generated/ekyb.ts
178
152
  const EKYB_DEFINITIONS = {
@@ -331,7 +305,8 @@ const EKYB_DEFINITIONS = {
331
305
  * verification fields from module configuration, and projects the result to
332
306
  * today's public `EkybFieldDef[]` shape. A country without a projectable
333
307
  * definition, or a custom field list that can't be expressed as groups, keeps
334
- * the current builder.
308
+ * the current builder, and so does every country while the form definitions
309
+ * rollout is off.
335
310
  */
336
311
  /** eKYB group id → the verification-field entries that turn it on. */
337
312
  const EKYB_GROUP_ENTRIES = {
@@ -366,7 +341,8 @@ const EKYB_SUPPORTED_IDS = {
366
341
  transforms: /* @__PURE__ */ new Set(),
367
342
  groupRules: /* @__PURE__ */ new Set(),
368
343
  optionLists: new Set(Object.keys(OPTION_LISTS)),
369
- conditions: /* @__PURE__ */ new Set()
344
+ conditions: /* @__PURE__ */ new Set(),
345
+ prefillSources: /* @__PURE__ */ new Set()
370
346
  };
371
347
  /** Today's UBO actions use a fixed limit and a single collection. */
372
348
  const UBO_COLLECTION = "ubos";
@@ -434,8 +410,12 @@ function toEkybResolveContext(config, verificationFields) {
434
410
  return { groups };
435
411
  }
436
412
  const bundled = createBundledDefinitionSource(EKYB_DEFINITIONS);
437
- /** The resolved definition for this country and configuration, if one applies. */
438
- function selectEkybForm(config, verificationFields, country) {
413
+ /**
414
+ * The resolved definition for this country and configuration, if one applies
415
+ * and the rollout is on. Every country has a builder today, so none is exempt.
416
+ */
417
+ function selectEkybForm(config, verificationFields, country, useDefinitions = isFormDefinitionsEnabled()) {
418
+ if (!useDefinitions) return void 0;
439
419
  const context = toEkybResolveContext(config, verificationFields);
440
420
  if (!context) return void 0;
441
421
  const definition = bundled.select({
@@ -492,10 +472,11 @@ function buildEkybValidationRules(fieldName, required, country) {
492
472
  * Fields and beneficial-owner state for a country. A country with a form
493
473
  * definition (`packages/form-definitions/catalog/ekyb`) reads it; any other
494
474
  * country, or a custom field list that isn't whole groups, keeps the current
495
- * builder and its UBO rule.
475
+ * builder and its UBO rule. `useDefinitions` is the rollout answer the
476
+ * machine read once, when it was created (`selectEkybForm`).
496
477
  */
497
- function buildEkybForm(config, verificationFields, country) {
498
- const form = selectEkybForm(config, verificationFields, country);
478
+ function buildEkybForm(config, verificationFields, country, useDefinitions) {
479
+ const form = selectEkybForm(config, verificationFields, country, useDefinitions);
499
480
  if (form) return {
500
481
  fields: projectEkybFields(form, country),
501
482
  hasUbos: hasUboCollection(form)
@@ -625,7 +606,7 @@ const ekybMachine = setup({
625
606
  debounceSearch: debounceSearchActor
626
607
  },
627
608
  actions: {
628
- applyFetchedConfig: assign(({ event }) => {
609
+ applyFetchedConfig: assign(({ context, event }) => {
629
610
  const fetched = event.output;
630
611
  const config = {
631
612
  checkBusinessName: fetched.checkBusinessName,
@@ -634,7 +615,7 @@ const ekybMachine = setup({
634
615
  checkUniqueBeneficialOwner: fetched.checkUniqueBeneficialOwner
635
616
  };
636
617
  const country = "US";
637
- const { fields, hasUbos } = buildEkybForm(config, getDefaultVerificationFields(config), country);
618
+ const { fields, hasUbos } = buildEkybForm(config, getDefaultVerificationFields(config), country, context._formDefinitions);
638
619
  return {
639
620
  config,
640
621
  country,
@@ -657,7 +638,7 @@ const ekybMachine = setup({
657
638
  setCountry: assign(({ context, event }) => {
658
639
  const { country } = event;
659
640
  const vFields = getDefaultVerificationFields(context.config);
660
- const { fields, hasUbos } = buildEkybForm(context.config, vFields, country);
641
+ const { fields, hasUbos } = buildEkybForm(context.config, vFields, country, context._formDefinitions);
661
642
  let nextId = context._nextUboId;
662
643
  let ubos;
663
644
  if (hasUbos) if (context.ubos.length > 0) ubos = context.ubos;
@@ -810,7 +791,9 @@ const ekybMachine = setup({
810
791
  context: ({ input }) => {
811
792
  const config = toEkybConfig(input.config);
812
793
  const country = "US";
813
- const { fields, hasUbos } = buildEkybForm(config, getDefaultVerificationFields(config), country);
794
+ const vFields = getDefaultVerificationFields(config);
795
+ const formDefinitions = isFormDefinitionsEnabled();
796
+ const { fields, hasUbos } = buildEkybForm(config, vFields, country, formDefinitions);
814
797
  return {
815
798
  config,
816
799
  country,
@@ -828,7 +811,8 @@ const ekybMachine = setup({
828
811
  errorMessage: "",
829
812
  addressSuggestions: [],
830
813
  _nextUboId: 2,
831
- _searchQuery: ""
814
+ _searchQuery: "",
815
+ _formDefinitions: formDefinitions
832
816
  };
833
817
  },
834
818
  states: {
@@ -0,0 +1,140 @@
1
+ import { n as __exportAll } from "./rolldown-runtime-B-1-B7_t.esm.js";
2
+ //#region src/modules/ekyb/ekybConstants.ts
3
+ /**
4
+ * Countries available in all environments.
5
+ * Sorted alphabetically by display name.
6
+ */
7
+ const SUPPORTED_COUNTRIES = [
8
+ "BR",
9
+ "CN",
10
+ "FR",
11
+ "DE",
12
+ "IL",
13
+ "IT",
14
+ "MX",
15
+ "ES",
16
+ "GB",
17
+ "US"
18
+ ];
19
+ /**
20
+ * Additional countries available only in dev/staging environments.
21
+ */
22
+ const DEV_ONLY_COUNTRIES = [
23
+ "CM",
24
+ "KE",
25
+ "NG"
26
+ ];
27
+ /**
28
+ * Union of all recognized country codes (prod + dev).
29
+ */
30
+ const ALL_COUNTRIES = [...SUPPORTED_COUNTRIES, ...DEV_ONLY_COUNTRIES];
31
+ const ALL_COUNTRIES_SET = new Set(ALL_COUNTRIES);
32
+ function isSupportedCountry(code) {
33
+ return ALL_COUNTRIES_SET.has(code);
34
+ }
35
+ const FIELD_ORDER = [
36
+ "name-user_input",
37
+ "taxId-user_input",
38
+ "street-user_input",
39
+ "houseNo-user_input",
40
+ "address2-user_input",
41
+ "city-user_input",
42
+ "state-user_input",
43
+ "postalCode-user_input"
44
+ ];
45
+ const FIELD_NAME_MAPPING = {
46
+ "name-user_input": "businessName",
47
+ "street-user_input": "street",
48
+ "houseNo-user_input": "houseNo",
49
+ "address2-user_input": "addressLine2",
50
+ "city-user_input": "city",
51
+ "state-user_input": "state",
52
+ "postalCode-user_input": "postalCode",
53
+ "taxId-user_input": "taxId"
54
+ };
55
+ const BUSINESS_NAME_OPTIONAL_COUNTRIES = [];
56
+ const ADDRESS_FULLY_OPTIONAL_COUNTRIES = [
57
+ "BR",
58
+ "GB",
59
+ "FR"
60
+ ];
61
+ const ADDRESS_FIELDS = [
62
+ "street",
63
+ "houseNo",
64
+ "addressLine2",
65
+ "city",
66
+ "state",
67
+ "postalCode"
68
+ ];
69
+ const ALL_COUNTRIES_OPTIONAL_FIELDS = ["ubo"];
70
+ const UBO_FIELD_LABELS = {
71
+ name: "ekyb.uboName",
72
+ surname: "ekyb.uboSurname"
73
+ };
74
+ //#endregion
75
+ //#region src/modules/ekyb/ekybUtils.ts
76
+ var ekybUtils_exports = /* @__PURE__ */ __exportAll({
77
+ getFieldName: () => getFieldName,
78
+ hasAtLeastOneAddressField: () => hasAtLeastOneAddressField,
79
+ isFieldOptional: () => isFieldOptional,
80
+ requiresAddressValidation: () => requiresAddressValidation,
81
+ sortModulesByOrder: () => sortModulesByOrder,
82
+ toEkybConfig: () => toEkybConfig
83
+ });
84
+ /**
85
+ * Normalizes any supported eKYB config input into a manager-ready `EkybConfig`.
86
+ *
87
+ * Accepts either:
88
+ * - A manager-ready `EkybConfig` (with `flowId` or `verificationFields`) →
89
+ * returned unchanged.
90
+ * - A raw backend `EkybFlowConfig` (with `*Source` companions) → stripped to
91
+ * the four `check*` fields the manager consumes.
92
+ *
93
+ * Idempotent: `toEkybConfig(toEkybConfig(x))` equals `toEkybConfig(x)`.
94
+ */
95
+ function toEkybConfig(config) {
96
+ if (config.flowId || config.verificationFields) return config;
97
+ return {
98
+ checkBusinessName: config.checkBusinessName,
99
+ checkAddress: config.checkAddress,
100
+ checkTaxId: config.checkTaxId,
101
+ checkUniqueBeneficialOwner: config.checkUniqueBeneficialOwner
102
+ };
103
+ }
104
+ /** Maps module names (e.g. 'name-user_input') to form field names (e.g. 'businessName') */
105
+ function getFieldName(moduleName) {
106
+ return FIELD_NAME_MAPPING[moduleName] ?? moduleName;
107
+ }
108
+ /** Sorts modules based on a custom order; items not in order maintain relative position */
109
+ function sortModulesByOrder(modules, customOrder) {
110
+ return [...modules].sort((a, b) => {
111
+ const indexA = customOrder.indexOf(a);
112
+ const indexB = customOrder.indexOf(b);
113
+ if (indexA !== -1 && indexB !== -1) return indexA - indexB;
114
+ if (indexA !== -1) return -1;
115
+ if (indexB !== -1) return 1;
116
+ return 0;
117
+ });
118
+ }
119
+ /** Determines if a field is optional for the given country */
120
+ function isFieldOptional(fieldName, countryCode) {
121
+ if (ALL_COUNTRIES_OPTIONAL_FIELDS.includes(fieldName)) return true;
122
+ if (fieldName === "businessName") return BUSINESS_NAME_OPTIONAL_COUNTRIES.includes(countryCode);
123
+ if (fieldName === "addressLine2") return true;
124
+ if (ADDRESS_FIELDS.includes(fieldName)) return false;
125
+ if (fieldName === "taxId") return false;
126
+ return false;
127
+ }
128
+ /** Checks if at least one address field has a non-empty value */
129
+ function hasAtLeastOneAddressField(formData) {
130
+ return ADDRESS_FIELDS.some((field) => {
131
+ const value = formData[field];
132
+ return value !== void 0 && value.trim() !== "";
133
+ });
134
+ }
135
+ /** Returns false for countries where address is fully optional */
136
+ function requiresAddressValidation(countryCode) {
137
+ return !ADDRESS_FULLY_OPTIONAL_COUNTRIES.includes(countryCode);
138
+ }
139
+ //#endregion
140
+ export { sortModulesByOrder as a, ALL_COUNTRIES as c, FIELD_ORDER as d, SUPPORTED_COUNTRIES as f, requiresAddressValidation as i, DEV_ONLY_COUNTRIES as l, isSupportedCountry as m, hasAtLeastOneAddressField as n, toEkybConfig as o, UBO_FIELD_LABELS as p, isFieldOptional as r, ADDRESS_FIELDS as s, ekybUtils_exports as t, FIELD_NAME_MAPPING as u };
package/dist/ekyc.d.ts CHANGED
@@ -1,5 +1,6 @@
1
- import { a as EkycValidationError, c as AddressSuggestion, i as EkycModuleConfig, o as EkycValidationErrors, t as EkycConfig } from "./types-BvLo3U4u.js";
2
- import { n as EkycState, o as ekycMachine, r as createEkycManager, t as EkycManager } from "./ekycManager-DW-ynodd.js";
1
+ import { n as AddressSuggestion } from "./textRules-D4NRinKY.js";
2
+ import { c as EkycValidationErrors, i as EkycFieldDisplayMode, n as EkycDisplayModes, o as EkycModuleConfig, s as EkycValidationError, t as EkycConfig } from "./types-CuMJ2M7D.js";
3
+ import { n as EkycState, o as ekycMachine, r as createEkycManager, t as EkycManager } from "./ekycManager-DlGIn9wA.js";
3
4
  //#region src/modules/ekyc/ekycUtils.d.ts
4
5
  /**
5
6
  * Normalizes any supported eKYC config input into a manager-ready `EkycConfig`.
@@ -18,4 +19,4 @@ import { n as EkycState, o as ekycMachine, r as createEkycManager, t as EkycMana
18
19
  */
19
20
  declare function toEkycConfig(config: Partial<EkycModuleConfig> & Partial<EkycConfig>): EkycConfig;
20
21
  //#endregion
21
- export { type AddressSuggestion, type EkycConfig, type EkycManager, type EkycModuleConfig, type EkycState, type EkycValidationError, type EkycValidationErrors, createEkycManager, ekycMachine, toEkycConfig };
22
+ export { type AddressSuggestion, type EkycConfig, type EkycDisplayModes, type EkycFieldDisplayMode, type EkycManager, type EkycModuleConfig, type EkycState, type EkycValidationError, type EkycValidationErrors, createEkycManager, ekycMachine, toEkycConfig };
package/dist/ekyc.esm.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a as toEkycConfig } from "./ekycUtils-zY8CdKJL.esm.js";
2
- import { t as ekycMachine } from "./ekycStateMachine-CDnI_NRq.esm.js";
3
- import { t as createEkycManager } from "./ekycManager-BO-Lui3t.esm.js";
1
+ import { t as ekycMachine } from "./ekycStateMachine-CoFCUJ2z.esm.js";
2
+ import { l as toEkycConfig } from "./ekycUtils-GRuMELYr.esm.js";
3
+ import { t as createEkycManager } from "./ekycManager-DymCvmVB.esm.js";
4
4
  export { createEkycManager, ekycMachine, toEkycConfig };
@@ -1,7 +1,8 @@
1
1
  import { i as ActorRefFrom } from "./spawn-D9jgw9pW.js";
2
2
  import { t as Manager } from "./Manager-C9T5amUN.js";
3
3
  import "./Actor-DpTj5PFb.js";
4
- import { c as AddressSuggestion, n as EkycFieldDef, o as EkycValidationErrors, r as EkycFormValues, t as EkycConfig } from "./types-BvLo3U4u.js";
4
+ import { n as AddressSuggestion } from "./textRules-D4NRinKY.js";
5
+ import { a as EkycFormValues, c as EkycValidationErrors, r as EkycFieldDef, t as EkycConfig } from "./types-CuMJ2M7D.js";
5
6
  //#region src/modules/ekyc/ekycStateMachine.d.ts
6
7
  declare const ekycMachine: any;
7
8
  type EkycMachine = typeof ekycMachine;
@@ -1,7 +1,7 @@
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 { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
3
  import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
4
- import { t as ekycMachine } from "./ekycStateMachine-CDnI_NRq.esm.js";
4
+ import { t as ekycMachine } from "./ekycStateMachine-CoFCUJ2z.esm.js";
5
5
  //#region src/modules/ekyc/ekycActor.ts
6
6
  /**
7
7
  * Creates and starts an eKYC actor.