@incodetech/core 2.4.1-agentic.1 → 2.4.1-agentic.11

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 (289) hide show
  1. package/dist/Actor-DqjOqDfU.d.ts +1 -0
  2. package/dist/{BaseWasmProvider-Bq3OHo7P.d.ts → BaseWasmProvider-bBNquvYn.d.ts} +2 -2
  3. package/dist/{CameraCompositor-DN7NkJzV.esm.js → CameraCompositor-ppyMYVoY.esm.js} +1 -1
  4. package/dist/DateFormattingProvider-DPq9zco-.esm.js +25 -0
  5. package/dist/{FaceDetectionProvider-CAY43vSI.esm.js → FaceDetectionProvider-2NzWDbV8.esm.js} +9 -9
  6. package/dist/{IIdCaptureCapability-CGcEt2Cw.d.ts → IIdCaptureCapability-C-5M8pP1.d.ts} +2 -2
  7. package/dist/{IWasmUtilCapability-Cqiaxydi.d.ts → IWasmUtilCapability-BRn0wz8v.d.ts} +2 -2
  8. package/dist/Manager-BvXAwDv9.esm.js +125 -0
  9. package/dist/{Manager-C9T5amUN.d.ts → Manager-DufwKlav.d.ts} +1 -7
  10. package/dist/{MultipartRecordingProvider-D9mauUdS.esm.js → MultipartRecordingProvider-CduV32Qa.esm.js} +6 -1
  11. package/dist/{StreamCanvasCapture-C3xNfOsv.d.ts → StreamCanvasCapture-ixfy84ys.d.ts} +2 -2
  12. package/dist/{WasmUtilProvider-Dp2V-Uct.esm.js → WasmUtilProvider-DdhAHHw4.esm.js} +42 -6
  13. package/dist/{WorkerEncoderRecordingProvider-B1ODYtgN.esm.js → WorkerEncoderRecordingProvider-CsDED9UU.esm.js} +1 -1
  14. package/dist/addressSearch-Rxm1K67A.esm.js +73 -0
  15. package/dist/{advanceableErrors-k-U-cL5m.esm.js → advanceableErrors-CxZyPRyh.esm.js} +3 -0
  16. package/dist/ae-signature.d.ts +2 -2
  17. package/dist/ae-signature.esm.js +1 -1
  18. package/dist/antifraud.d.ts +1 -1
  19. package/dist/antifraud.esm.js +2 -2
  20. package/dist/{antifraudManager-DbGCvlJs.d.ts → antifraudManager-BxfCsyA7.d.ts} +3 -3
  21. package/dist/{antifraudManager-BObuHBjn.esm.js → antifraudManager-DKNOi9-z.esm.js} +5 -3
  22. package/dist/{antifraudStateMachine-Dfrd2-26.esm.js → antifraudStateMachine-BJ6PmCsw.esm.js} +3 -3
  23. package/dist/{api-CpP4PS4S.esm.js → api-CZpuJuZl.esm.js} +3 -1
  24. package/dist/{apiError-DH-CH4Nz.esm.js → apiError-BamZ815u.esm.js} +1 -1
  25. package/dist/{attemptCarry-WOkfvFMw.esm.js → attemptCarry-BecGGZK8.esm.js} +1 -1
  26. package/dist/authentication.d.ts +3 -3
  27. package/dist/authentication.esm.js +2 -2
  28. package/dist/{authenticationManager-CWmh7aSY.d.ts → authenticationManager-DRaugLgH.d.ts} +2 -2
  29. package/dist/{authenticationManager-DjX0XDyH.esm.js → authenticationManager-yBVGiIf_.esm.js} +7 -6
  30. package/dist/{authenticationStateMachine-BMbZL8wm.esm.js → authenticationStateMachine-DPqTOJPp.esm.js} +50 -18
  31. package/dist/avatar.d.ts +1 -1
  32. package/dist/{browser-pQZA35G2-DtkAf6sn.esm.js → browser-pQZA35G2-DxIBykpe.esm.js} +1 -1
  33. package/dist/{callback-645_omgz.d.ts → callback-BmjJ1G-5.d.ts} +1 -1
  34. package/dist/camera.esm.js +1 -1
  35. package/dist/certificate-issuance.d.ts +1 -1
  36. package/dist/certificate-issuance.esm.js +2 -2
  37. package/dist/{certificateIssuanceManager-Dr8A4Lgr.d.ts → certificateIssuanceManager-BcYhxO63.d.ts} +4 -3
  38. package/dist/{certificateIssuanceManager-C1nETQos.esm.js → certificateIssuanceManager-Dxl9UwR0.esm.js} +5 -3
  39. package/dist/{certificateIssuanceStateMachine-DThXMDqr.esm.js → certificateIssuanceStateMachine-CM4q71h1.esm.js} +4 -4
  40. package/dist/{cnpj-Co1ottYN.esm.js → cnpj-Bl_olpdX.esm.js} +5 -3
  41. package/dist/consent.d.ts +1 -1
  42. package/dist/consent.esm.js +2 -2
  43. package/dist/{consentManager-bjfVXO7p.d.ts → consentManager-B2F_VeAo.d.ts} +12 -11
  44. package/dist/{consentManager-DMlSL6Ax.esm.js → consentManager-BPocwpm2.esm.js} +5 -3
  45. package/dist/{consentStateMachine-DIYSMxKQ.esm.js → consentStateMachine-DgiIcT9q.esm.js} +3 -3
  46. package/dist/cpf-DDXMTLYr.esm.js +37 -0
  47. package/dist/{createFaceAvatar-lYX0VTYs.d.ts → createFaceAvatar-BimBTONm.d.ts} +1 -1
  48. package/dist/cross-document-data-match.d.ts +1 -1
  49. package/dist/cross-document-data-match.esm.js +1 -1
  50. package/dist/{crossDocumentDataMatchManager-BFTdiEDB.esm.js → crossDocumentDataMatchManager-BfA29Aji.esm.js} +6 -4
  51. package/dist/{crossDocumentDataMatchManager-yCWCOzcU.d.ts → crossDocumentDataMatchManager-crZcIUSY.d.ts} +3 -3
  52. package/dist/curp-DZGvefg3.esm.js +14 -0
  53. package/dist/curp-validation.d.ts +1 -1
  54. package/dist/curp-validation.esm.js +2 -2
  55. package/dist/{curpValidationManager-DNpC3wyf.esm.js → curpValidationManager-CbvBDoE1.esm.js} +6 -4
  56. package/dist/{curpValidationManager-z8428oCM.d.ts → curpValidationManager-Ci2iVuog.d.ts} +4 -4
  57. package/dist/{curpValidationStateMachine-B3iVsDyt.esm.js → curpValidationStateMachine-BQ8XK2Y3.esm.js} +5 -5
  58. package/dist/custom-fields.d.ts +1 -1
  59. package/dist/custom-fields.esm.js +1 -1
  60. package/dist/custom-watchlist.d.ts +1 -1
  61. package/dist/custom-watchlist.esm.js +2 -2
  62. package/dist/{customFieldsManager-CvI-pDT3.esm.js → customFieldsManager-BRqSCR9R.esm.js} +6 -4
  63. package/dist/{customFieldsManager-CF-cO8ap.d.ts → customFieldsManager-CdWTbsew.d.ts} +3 -3
  64. package/dist/{customWatchlistManager-BuHtUb0y.esm.js → customWatchlistManager-Bd1ooIDB.esm.js} +5 -3
  65. package/dist/{customWatchlistManager-DolUswyR.d.ts → customWatchlistManager-lJrveDS4.d.ts} +3 -3
  66. package/dist/{customWatchlistStateMachine-CiVD9wyF.esm.js → customWatchlistStateMachine-r8nGhyo1.esm.js} +3 -3
  67. package/dist/{deepsightLoader-B7DEYoyY.esm.js → deepsightLoader-CEY2mSPM.esm.js} +5 -5
  68. package/dist/{addressSearch-DzbE9Ogt.esm.js → definitionSource-Nw0YCbpe.esm.js} +39 -72
  69. package/dist/{desktopCameraElection-BGMtYwk3.esm.js → desktopCameraElection-enVPfRsQ.esm.js} +5 -5
  70. package/dist/document-capture.d.ts +1 -1
  71. package/dist/document-capture.esm.js +2 -2
  72. package/dist/{documentCaptureManager-CD5iQiUI.d.ts → documentCaptureManager-BZBmcOKI.d.ts} +4 -3
  73. package/dist/{documentCaptureManager-DLPqruXJ.esm.js → documentCaptureManager-C11k5BO-.esm.js} +5 -3
  74. package/dist/{documentCaptureStateMachine-DCvWQhFG.esm.js → documentCaptureStateMachine-g0gfL0_1.esm.js} +6 -6
  75. package/dist/dynamic-forms.d.ts +1 -1
  76. package/dist/dynamic-forms.esm.js +2 -2
  77. package/dist/{dynamicFormsManager-DfqCEPg9.esm.js → dynamicFormsManager-BmfCZ2zV.esm.js} +5 -3
  78. package/dist/{dynamicFormsManager-9kwY8Bf5.d.ts → dynamicFormsManager-C45pTncO.d.ts} +3 -3
  79. package/dist/{dynamicFormsStateMachine-USQMB-uV.esm.js → dynamicFormsStateMachine-B-eYytau.esm.js} +4 -4
  80. package/dist/ekyb.d.ts +3 -3
  81. package/dist/ekyb.esm.js +2 -2
  82. package/dist/{ekybManager-CR8YSYux.esm.js → ekybManager-BPaMfbgw.esm.js} +5 -3
  83. package/dist/{ekybManager-BLOkwmWO.d.ts → ekybManager-BflWuTe4.d.ts} +3 -3
  84. package/dist/{ekybStateMachine-kHwdz6hm.esm.js → ekybStateMachine-C_lEw4I7.esm.js} +19 -19
  85. package/dist/ekyc-prefill.d.ts +17 -0
  86. package/dist/ekyc-prefill.esm.js +3 -0
  87. package/dist/ekyc.d.ts +3 -3
  88. package/dist/ekyc.esm.js +3 -3
  89. package/dist/{ekycManager-DlGIn9wA.d.ts → ekycManager-BKVQazAb.d.ts} +48 -7
  90. package/dist/{ekycManager-DymCvmVB.esm.js → ekycManager-nRT0rxei.esm.js} +39 -16
  91. package/dist/ekycPrefillManager-CCtbmrFd.esm.js +103 -0
  92. package/dist/ekycPrefillManager-DOTl3Y2w.d.ts +566 -0
  93. package/dist/ekycPrefillStateMachine-XpxgCAoC.esm.js +687 -0
  94. package/dist/ekycRules-DXP2hqVw.esm.js +479 -0
  95. package/dist/{ekycStateMachine-CoFCUJ2z.esm.js → ekycStateMachine-nwJRel2s.esm.js} +915 -596
  96. package/dist/{ekycUtils-GRuMELYr.esm.js → ekycUtils-FcqA6oU4.esm.js} +68 -49
  97. package/dist/electronic-signature.d.ts +1 -1
  98. package/dist/electronic-signature.esm.js +1 -1
  99. package/dist/{electronicSignatureManager-DTSLOvKR.d.ts → electronicSignatureManager-5tYz-a4o.d.ts} +4 -3
  100. package/dist/{electronicSignatureManager-BCE3uA3z.esm.js → electronicSignatureManager-M2O2VDks.esm.js} +8 -6
  101. package/dist/email.d.ts +1 -1
  102. package/dist/email.esm.js +2 -2
  103. package/dist/{emailManager-CGoE3CUe.esm.js → emailManager-Co4jarT1.esm.js} +5 -3
  104. package/dist/{emailManager-Dy6omJVp.d.ts → emailManager-pM7ZPuMa.d.ts} +3 -3
  105. package/dist/{emailStateMachine-KgHfDNvM.esm.js → emailStateMachine-CTEaYncs.esm.js} +4 -4
  106. package/dist/events-CP3yOzAl.esm.js +299 -0
  107. package/dist/events.d.ts +3 -1
  108. package/dist/events.esm.js +2 -1
  109. package/dist/extensibility.d.ts +43 -42
  110. package/dist/extensibility.esm.js +39 -38
  111. package/dist/{externalFetch-CQY41QT1.esm.js → externalFetch-cUjJYyXj.esm.js} +1 -1
  112. package/dist/face-match.d.ts +1 -1
  113. package/dist/face-match.esm.js +2 -2
  114. package/dist/{faceCaptureManagerFactory-Dp90bedH.esm.js → faceCaptureManagerFactory-3Or5qfbA.esm.js} +17 -6
  115. package/dist/{faceCaptureManagerFactory-DV2ULUYS.d.ts → faceCaptureManagerFactory-CRGajjZ4.d.ts} +18 -11
  116. package/dist/{faceCaptureSetup-ZfiWg0fo.esm.js → faceCaptureSetup-Cf87i0rT.esm.js} +46 -38
  117. package/dist/{faceMatchManager-Z4UDLwAv.d.ts → faceMatchManager-C5b5WtcY.d.ts} +12 -5
  118. package/dist/{faceMatchManager-D2xKPjjQ.esm.js → faceMatchManager-CGmNGbov.esm.js} +5 -3
  119. package/dist/{faceMatchStateMachine-CUvwiQi9.esm.js → faceMatchStateMachine-BuHt7kec.esm.js} +44 -18
  120. package/dist/{feature-management-BbCIA4og.esm.js → feature-management-DG016L6E.esm.js} +1 -1
  121. package/dist/feature-management.esm.js +1 -1
  122. package/dist/field-comparison.d.ts +1 -1
  123. package/dist/field-comparison.esm.js +1 -1
  124. package/dist/{fieldComparisonManager-DgDbEeFZ.esm.js → fieldComparisonManager-VgCU4X96.esm.js} +6 -4
  125. package/dist/{fieldComparisonManager-CUX4gza2.d.ts → fieldComparisonManager-mFOHRhVd.d.ts} +3 -3
  126. package/dist/fiscal-qr.d.ts +1 -1
  127. package/dist/fiscal-qr.esm.js +1 -1
  128. package/dist/{fiscalQrManager-D0Iy7EKR.d.ts → fiscalQrManager-DFnFVpP9.d.ts} +3 -3
  129. package/dist/{fiscalQrManager-BZeklojR.esm.js → fiscalQrManager-DOLq45ph.esm.js} +6 -4
  130. package/dist/flow-events.d.ts +1 -1
  131. package/dist/flow.d.ts +71 -20
  132. package/dist/flow.esm.js +285 -68
  133. package/dist/{flowCompletionService-CcCnPs_T.esm.js → flowCompletionService-BpeAbbXc.esm.js} +24 -3
  134. package/dist/{flowServices-Dmnc8Rye.esm.js → flowServices-rDg1bAMs.esm.js} +393 -13
  135. package/dist/geolocation.d.ts +1 -1
  136. package/dist/geolocation.esm.js +2 -2
  137. package/dist/{geolocationManager-6e1i9UIR.d.ts → geolocationManager-CENrvxpK.d.ts} +4 -3
  138. package/dist/{geolocationManager-BJJ3m_I8.esm.js → geolocationManager-T8m4lqvF.esm.js} +5 -3
  139. package/dist/{geolocationStateMachine-CTI3m4Ie.esm.js → geolocationStateMachine-NWmA1Dtn.esm.js} +5 -5
  140. package/dist/government-validation.d.ts +1 -1
  141. package/dist/government-validation.esm.js +2 -2
  142. package/dist/{governmentValidationManager-CjChjZ3C.esm.js → governmentValidationManager-6JQQkzha.esm.js} +5 -3
  143. package/dist/{governmentValidationManager-B82zOut8.d.ts → governmentValidationManager-De_vU7bm.d.ts} +4 -4
  144. package/dist/{governmentValidationStateMachine-AEbn3Afi.esm.js → governmentValidationStateMachine-wBunpfQ9.esm.js} +3 -3
  145. package/dist/home.d.ts +4 -3
  146. package/dist/home.esm.js +4 -2
  147. package/dist/http.esm.js +1 -1
  148. package/dist/id-ocr.d.ts +2 -2
  149. package/dist/id-ocr.esm.js +3 -19
  150. package/dist/id-selfie-flow.d.ts +6 -5
  151. package/dist/id-selfie-flow.esm.js +12 -11
  152. package/dist/id-verification.d.ts +1 -1
  153. package/dist/id-verification.esm.js +2 -2
  154. package/dist/id.d.ts +3 -3
  155. package/dist/id.esm.js +3 -3
  156. package/dist/{idCaptureDefaults-Dszuq9ng.esm.js → idCaptureDefaults-Cjesf5i9.esm.js} +3 -3
  157. package/dist/{idCaptureManager-B3oR4RnA.esm.js → idCaptureManager-5-ReVgbB.esm.js} +12 -10
  158. package/dist/{idCaptureManager-CCA2D1Ah.d.ts → idCaptureManager-Cqx2y_fC.d.ts} +12 -11
  159. package/dist/{idCaptureServices-DK0QboqT.esm.js → idCaptureServices-exB6I9lV.esm.js} +7 -7
  160. package/dist/{idCaptureStateMachine-zzar9MPy.esm.js → idCaptureStateMachine-DQ14d3GR.esm.js} +51 -21
  161. package/dist/idOcrCpfUtils-D5Gwskxu.esm.js +18 -0
  162. package/dist/{idOcrManager-BTdHlJ9D.d.ts → idOcrManager-C0C7lFGd.d.ts} +6 -5
  163. package/dist/{idOcrManager-xyEZNOBa.esm.js → idOcrManager-im7VfJQi.esm.js} +5 -3
  164. package/dist/{idOcrStateMachine-DNKXh4Rn.esm.js → idOcrStateMachine-B832arAl.esm.js} +10 -9
  165. package/dist/{idVerificationManager-BJapZfpy.d.ts → idVerificationManager-B6R8xNZq.d.ts} +4 -3
  166. package/dist/{idVerificationManager-DdnvYfgN.esm.js → idVerificationManager-PMGM4hXY.esm.js} +5 -3
  167. package/dist/{idVerificationStateMachine-DtIBCa32.esm.js → idVerificationStateMachine-DeeugC00.esm.js} +3 -3
  168. package/dist/identity-reuse.d.ts +2 -2
  169. package/dist/identity-reuse.esm.js +2 -2
  170. package/dist/identity-search.d.ts +97 -0
  171. package/dist/identity-search.esm.js +97 -0
  172. package/dist/{identityReuseManager-ooAbp6Kc.d.ts → identityReuseManager-CZ-qJ_Aa.d.ts} +82 -15
  173. package/dist/{identityReuseManager-CcpovlfD.esm.js → identityReuseManager-CjFZ7WRa.esm.js} +9 -4
  174. package/dist/{identityReuseStateMachine-DxZFWy47.esm.js → identityReuseStateMachine-CLFjPp13.esm.js} +22 -25
  175. package/dist/index-DHuAkTe0.d.ts +1 -0
  176. package/dist/{index-DEfwds5y.d.ts → index-DM43R87x.d.ts} +43 -19
  177. package/dist/{index-DC0P2Vzw.d.ts → index-DxYNO94y.d.ts} +2 -2
  178. package/dist/index.d.ts +1 -1
  179. package/dist/index.esm.js +1 -1
  180. package/dist/{invokeOnCaptureCallback-BJ0GVHGr.esm.js → invokeOnCaptureCallback-lXP41N7b.esm.js} +1 -1
  181. package/dist/kyb-checks.d.ts +1 -1
  182. package/dist/kyb-checks.esm.js +2 -2
  183. package/dist/{kybChecksManager-CblEL97E.d.ts → kybChecksManager-B7Di9auB.d.ts} +3 -3
  184. package/dist/{kybChecksManager-DpGOp4Su.esm.js → kybChecksManager-CZfdCkLC.esm.js} +3 -2
  185. package/dist/{kybChecksStateMachine-B43NAnv7.esm.js → kybChecksStateMachine-DkWxSU4L.esm.js} +9 -7
  186. package/dist/mandatory-consent.d.ts +2 -2
  187. package/dist/mandatory-consent.esm.js +2 -2
  188. package/dist/{mandatoryConsentManager-B88Sm5nd.d.ts → mandatoryConsentManager-Bh1asNJh.d.ts} +24 -14
  189. package/dist/{mandatoryConsentManager-B4vCYslr.esm.js → mandatoryConsentManager-Dh3pBhOe.esm.js} +5 -3
  190. package/dist/{mandatoryConsentStateMachine-DWslYPA3.esm.js → mandatoryConsentStateMachine-BjuI72HZ.esm.js} +13 -7
  191. package/dist/{mediaRecorderOptions-B9-IEVtV.esm.js → mediaRecorderOptions-g1TwTlhd.esm.js} +20 -3
  192. package/dist/{multipartRecordingService-BTqkHGG9.esm.js → multipartRecordingService-WgK8ieRI.esm.js} +2 -2
  193. package/dist/{permissionGuards-DFV-Ws0a.esm.js → permissionGuards-D-4_VU7-.esm.js} +1 -1
  194. package/dist/{permissionServices-D190ATGD.esm.js → permissionServices-DpccEnzE.esm.js} +1 -1
  195. package/dist/phone.d.ts +1 -1
  196. package/dist/phone.esm.js +2 -2
  197. package/dist/phoneFormat-C3q0Ukh4.esm.js +27 -0
  198. package/dist/{phoneManager-6nrJkvkG.d.ts → phoneManager-VO1HEoUZ.d.ts} +3 -3
  199. package/dist/{phoneManager-Dy5tODCU.esm.js → phoneManager-rA7updqF.esm.js} +5 -3
  200. package/dist/{phoneServices-DJgyOzU2.esm.js → phoneServices-CFXcwCFr.esm.js} +1 -1
  201. package/dist/{phoneStateMachine-DnlPhnw7.esm.js → phoneStateMachine-DKdY2Scx.esm.js} +4 -4
  202. package/dist/{processFaceMatch-Bst83HaS.esm.js → processFaceMatch-B_DkDTE5.esm.js} +1 -1
  203. package/dist/qe-signature.d.ts +2 -2
  204. package/dist/qe-signature.esm.js +1 -1
  205. package/dist/{recordingService-CTko6Cjn.esm.js → recordingService-DxiwS8TV.esm.js} +5 -5
  206. package/dist/redirect-to-mobile.d.ts +1 -1
  207. package/dist/redirect-to-mobile.esm.js +2 -2
  208. package/dist/{redirectToMobileManager-CgGaT2NP.esm.js → redirectToMobileManager-DTB_pWuS.esm.js} +6 -4
  209. package/dist/{redirectToMobileManager-Dm9ctRCC.d.ts → redirectToMobileManager-pT6FiPE7.d.ts} +3 -3
  210. package/dist/{redirectToMobileStateMachine-CbhN8uVN.esm.js → redirectToMobileStateMachine-nP9DM01_.esm.js} +4 -4
  211. package/dist/{resolveForm-O7-r79VA.esm.js → resolveForm-DaaQSVWp.esm.js} +8 -213
  212. package/dist/{runChildModule-BffFArwl.esm.js → runChildModule-CXLcOcXN.esm.js} +8 -6
  213. package/dist/{sdkVersion-CDd_gaR7.esm.js → sdkVersion-fqxsdqFZ.esm.js} +1 -1
  214. package/dist/selfie.d.ts +4 -4
  215. package/dist/selfie.esm.js +13 -12
  216. package/dist/{selfieErrorUtils-f4MgAG2A.esm.js → selfieErrorUtils-MOfYdGPz.esm.js} +1 -1
  217. package/dist/{selfieManager-DmZFzs1-.d.ts → selfieManager-DihwheJ6.d.ts} +2 -2
  218. package/dist/{selfieManager-hopelYEk.esm.js → selfieManager-Dq8tIqGd.esm.js} +7 -6
  219. package/dist/{selfieStateMachine-DaZIVv3Q.esm.js → selfieStateMachine-BZVDQB8R.esm.js} +5 -5
  220. package/dist/{session-CdSX4wsZ.esm.js → session-C7x_iJ-p.esm.js} +4 -4
  221. package/dist/session.d.ts +2 -2
  222. package/dist/session.esm.js +5 -5
  223. package/dist/{sessionInitializer-DsL7X2j9.esm.js → sessionInitializer-k-hKIBg8.esm.js} +21 -9
  224. package/dist/{setup-DDahygZs.esm.js → setup-BRbhjHiU.esm.js} +13 -15
  225. package/dist/{setup-D9qt8YVU.d.ts → setup-CpXbdA1X.d.ts} +2 -2
  226. package/dist/signature.d.ts +1 -1
  227. package/dist/signature.esm.js +2 -2
  228. package/dist/{signatureManager-CwqjcxPg.esm.js → signatureManager-BgAja97K.esm.js} +5 -3
  229. package/dist/{signatureManager-BpVt_Jv7.d.ts → signatureManager-daT_8fj_.d.ts} +3 -3
  230. package/dist/{signatureStateMachine-DBVDd1Eu.esm.js → signatureStateMachine-CVPmvU2p.esm.js} +3 -3
  231. package/dist/{spawn-D9jgw9pW.d.ts → spawn-COZKetCS.d.ts} +1 -1
  232. package/dist/{stats-CatA2dea.esm.js → stats-DoByUnTa.esm.js} +1 -1
  233. package/dist/stats.esm.js +1 -1
  234. package/dist/step-up.d.ts +379 -0
  235. package/dist/step-up.esm.js +640 -0
  236. package/dist/{tri-DG6priFa.esm.js → tri-CI2exudk.esm.js} +29 -34
  237. package/dist/tri.d.ts +2 -2
  238. package/dist/tri.esm-CxLWmTZk.esm.js +2287 -0
  239. package/dist/tri.esm.js +2 -2
  240. package/dist/{trueSightService-GuLthUVK.esm.js → trueSightService-DhW2O8mB.esm.js} +7 -4
  241. package/dist/trust-graph.d.ts +4 -3
  242. package/dist/trust-graph.esm.js +5 -3
  243. package/dist/{types-BEVHQbbC.d.ts → types-9wlf1-GE.d.ts} +3 -3
  244. package/dist/types-B-PIc0en.d.ts +115 -0
  245. package/dist/{types-CJ7Yl9K-.d.ts → types-Bpo97EOh.d.ts} +4 -2
  246. package/dist/{types-BQA7lRDV.d.ts → types-C3rfDzgE.d.ts} +4 -2
  247. package/dist/types-CE1jkHw3.d.ts +6 -0
  248. package/dist/{types-BPm1JSu7.d.ts → types-Cpdum4vi.d.ts} +5 -5
  249. package/dist/{types-CuMJ2M7D.d.ts → types-DEa3taWc.d.ts} +8 -1
  250. package/dist/{types-Csh8vzPo.d.ts → types-DFP7eSle.d.ts} +1 -1
  251. package/dist/{types-Cd0J0F9D.d.ts → types-DJPU3W2M.d.ts} +3 -2
  252. package/dist/{events-ggpBBaZ8.esm.js → types-DYYMdAGv.esm.js} +3 -298
  253. package/dist/{types-CRaFu6wS.d.ts → types-Ddc4Tr_f.d.ts} +37 -4
  254. package/dist/{urlUtils-eYiyWjh0.esm.js → urlUtils-B2wagB5v.esm.js} +14 -1
  255. package/dist/usStates-CwOQ2kAx.esm.js +209 -0
  256. package/dist/video-selfie.d.ts +9 -7
  257. package/dist/video-selfie.esm.js +14 -13
  258. package/dist/{videoSelfieCameraWarmer-e3irGfcO.esm.js → videoSelfieCameraWarmer-YwO_uP-b.esm.js} +14 -12
  259. package/dist/{videoSelfieFlowModuleMachine-BCFVHBQ1.esm.js → videoSelfieFlowModuleMachine-IWdxw1TW.esm.js} +1 -1
  260. package/dist/{videoSelfieStepDetector-Dv3Mgws-.d.ts → videoSelfieStepDetector-DRrh4P0A.d.ts} +4 -4
  261. package/dist/{warmup-DtB0DJpl.esm.js → warmup-9iKKNNuW.esm.js} +46 -4
  262. package/dist/{warmup-BO57syF6.d.ts → warmup-BNhIuURi.d.ts} +18 -2
  263. package/dist/wasm.d.ts +9 -3
  264. package/dist/wasm.esm.js +3 -3
  265. package/dist/{wasmDsFlagSync-BtiR5pig.esm.js → wasmDsFlagSync-D_6e8W62.esm.js} +1 -1
  266. package/dist/{wasmWebClient-BDrax6Eu.esm.js → wasmWebClient-C3v3s_4H.esm.js} +22 -10
  267. package/dist/watchlist-for-business.d.ts +1 -1
  268. package/dist/watchlist-for-business.esm.js +2 -2
  269. package/dist/watchlist.d.ts +1 -1
  270. package/dist/watchlist.esm.js +2 -2
  271. package/dist/{watchlistForBusinessManager-DqUpAEj_.esm.js → watchlistForBusinessManager-BH6M4kqA.esm.js} +5 -3
  272. package/dist/{watchlistForBusinessManager-DX2AyM4Y.d.ts → watchlistForBusinessManager-l7ZERQcV.d.ts} +3 -3
  273. package/dist/{watchlistForBusinessStateMachine-DdaPl2PS.esm.js → watchlistForBusinessStateMachine-BMWm5mcP.esm.js} +4 -4
  274. package/dist/{watchlistManager-CdpXzT4B.esm.js → watchlistManager-BDaVjzLW.esm.js} +5 -3
  275. package/dist/{watchlistManager-DJQOd8Pw.d.ts → watchlistManager-DQq4GxBO.d.ts} +3 -3
  276. package/dist/{watchlistStateMachine-ofHW_lPk.esm.js → watchlistStateMachine-Cx-6QAvu.esm.js} +3 -3
  277. package/dist/workflow.d.ts +230 -44
  278. package/dist/workflow.esm.js +171 -67
  279. package/dist/{xstate-actors.esm-8Gzepa_A.esm.js → xstate-actors.esm-BCcwgosu.esm.js} +1 -1
  280. package/dist/xstate.cjs-D6Ur0X1F.d.ts +7 -0
  281. package/dist/{xstate.esm-DSajW7CJ.esm.js → xstate.esm-CIqUf_i6.esm.js} +1 -125
  282. package/package.json +16 -1
  283. package/dist/Actor-DpTj5PFb.d.ts +0 -1
  284. package/dist/cpf-uAZTPUBy.esm.js +0 -61
  285. package/dist/index-DpTj5PFb.d.ts +0 -1
  286. package/dist/nationalIds-B91f_RuB.esm.js +0 -99
  287. package/dist/phoneFormat-JJNaWthV.esm.js +0 -75
  288. package/dist/tri.esm-CzTNi5Q_.esm.js +0 -3826
  289. package/dist/types-J6g6iKe_.d.ts +0 -6
package/dist/tri.esm.js CHANGED
@@ -1,2 +1,2 @@
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
- export { createTRISession, isTRIStarted, resetTRI, setupTRI, startTRI, stopTRI };
1
+ import { a as isTRIStarted, d as startTRI, f as stopTRI, l as resetTRI, n as createTRISession, r as getTRIActivityId, u as setupTRI } from "./tri-CI2exudk.esm.js";
2
+ export { createTRISession, getTRIActivityId, isTRIStarted, resetTRI, setupTRI, startTRI, stopTRI };
@@ -1,8 +1,9 @@
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";
1
+ import { E as resolveWasmConfig, a as setWebApiHttpTransport, i as initializeWasmWebClient, o as setupWasmConnection, r as executeWasmRequest, t as WasmWebClientError, v as emitWasmDiagnostic } from "./wasmWebClient-C3v3s_4H.esm.js";
2
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";
3
+ import { S as subscribeEvent, n as eventModuleNames } from "./types-DYYMdAGv.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-CZpuJuZl.esm.js";
5
+ import "./events-CP3yOzAl.esm.js";
6
+ import { t as SDK_VERSION } from "./sdkVersion-fqxsdqFZ.esm.js";
6
7
  import { n as reportHttpError, t as HttpRequestError } from "./HttpRequestError-Bh0pNGSC.esm.js";
7
8
  /** Dirty-timer half of the interrupted-snapshot rebuild debounce (module boundaries + timer). */
8
9
  const SNAPSHOT_DIRTY_INTERVAL_MS = 15e3;
@@ -1302,6 +1303,8 @@ const MODULE_SUBSYSTEMS = {
1302
1303
  [eventModuleNames.geolocation]: "module.geolocation",
1303
1304
  [eventModuleNames.ekyb]: "module.e-kyb",
1304
1305
  [eventModuleNames.identityReuse]: "module.identity-reuse",
1306
+ [eventModuleNames.identityReusePath]: "module.identity-reuse-path",
1307
+ [eventModuleNames.identitySearch]: "module.identity-search",
1305
1308
  [eventModuleNames.antifraud]: "module.antifraud",
1306
1309
  [eventModuleNames.aeSignature]: "module.ae-signature",
1307
1310
  [eventModuleNames.qeSignature]: "module.qe-signature",
@@ -1,5 +1,6 @@
1
- import { A as StateMachine, c as AnyEventObject, p as EventObject, v as MetaObject, y as NonReducibleUnknown } from "./spawn-D9jgw9pW.js";
2
- import { t as Manager } from "./Manager-C9T5amUN.js";
1
+ import { b as NonReducibleUnknown, c as AnyEventObject, j as StateMachine, m as EventObject, y as MetaObject } from "./spawn-COZKetCS.js";
2
+ import "./xstate.cjs-D6Ur0X1F.js";
3
+ import { t as Manager } from "./Manager-DufwKlav.js";
3
4
  //#region src/modules/trust-graph/trustGraphManager.d.ts
4
5
  type TrustGraphIdleState = {
5
6
  status: 'idle';
@@ -55,7 +56,7 @@ type TrustGraphContext = Record<string, never>;
55
56
  * external event (e.g. `LOAD`) would therefore never complete inside a flow,
56
57
  * leaving an empty shell on screen and the session permanently incomplete.
57
58
  *
58
- * Mirror the `noOpFlowModuleMachine` / `identitySearchMachine` headless pattern:
59
+ * Mirror the `noOpFlowModuleMachine` / `workflowIdentitySearchMachine` headless pattern:
59
60
  * start directly in the `final` state.
60
61
  */
61
62
  declare const trustGraphMachine: StateMachine<TrustGraphContext, AnyEventObject, {}, never, never, never, never, "finished", string, NonReducibleUnknown, NonReducibleUnknown, EventObject, MetaObject, {
@@ -1,5 +1,7 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ggpBBaZ8.esm.js";
2
- import { s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
1
+ import { n as eventModuleNames } from "./types-DYYMdAGv.esm.js";
2
+ import { t as createManagerInstrumentation } from "./events-CP3yOzAl.esm.js";
3
+ import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
4
+ import { s as createActor, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
3
5
  //#region src/modules/trust-graph/trustGraphStateMachine.ts
4
6
  /**
5
7
  * Trust-graph is a headless "skip" module: it has no UI and the SDK performs no
@@ -12,7 +14,7 @@ import { s as createActor, t as setup, u as createManager } from "./xstate.esm-D
12
14
  * external event (e.g. `LOAD`) would therefore never complete inside a flow,
13
15
  * leaving an empty shell on screen and the session permanently incomplete.
14
16
  *
15
- * Mirror the `noOpFlowModuleMachine` / `identitySearchMachine` headless pattern:
17
+ * Mirror the `noOpFlowModuleMachine` / `workflowIdentitySearchMachine` headless pattern:
16
18
  * start directly in the `final` state.
17
19
  */
18
20
  const trustGraphMachine = setup({ types: { context: {} } }).createMachine({
@@ -1,6 +1,6 @@
1
- import { a as AvatarAssetsOverrides } from "./createFaceAvatar-lYX0VTYs.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";
1
+ import { a as AvatarAssetsOverrides } from "./createFaceAvatar-BimBTONm.js";
2
+ import { n as Flow, s as SelfieConcealmentOption } from "./types-Ddc4Tr_f.js";
3
+ import { a as IStorageCapability, n as IWasmUtilCapability } from "./IWasmUtilCapability-BRn0wz8v.js";
4
4
  //#region src/internal/faceCapture/types.d.ts
5
5
  type CameraResolution = {
6
6
  width?: number;
@@ -0,0 +1,115 @@
1
+ import { r as FieldDef } from "./textRules-D4NRinKY.js";
2
+ import { a as EkycFormValues, c as EkycValidationErrors, l as EkycValidationRule } from "./types-DEa3taWc.js";
3
+ //#region src/modules/ekyc-prefill/types.d.ts
4
+ /** One input of the served configuration. */
5
+ type EkycPrefillServedField = {
6
+ /** The request key, e.g. `phone`, `dateOfBirth`, `ssn`, `surName`, `taxIdNumber`. */
7
+ field: string;
8
+ /** Render the input. Anything but `true` hides it. */
9
+ check?: boolean | null;
10
+ /** Require a value. Ignored unless `check` is `true`. */
11
+ mandatory?: boolean | null;
12
+ /** Where the value comes from. Not read yet: field value prefill is not supported. */
13
+ source?: string | null;
14
+ /** How the value shows. Not read yet: every field is editable. */
15
+ displayMode?: string | null;
16
+ };
17
+ /**
18
+ * The `EKYC_PREFILL` module configuration, as the onboarding flow serves it
19
+ * (`GET /omni/onboarding/flow`). The flat dashboard shape that
20
+ * `GET /omni/flow/onboarding/configuration` serves has no `fields` and is
21
+ * not supported.
22
+ */
23
+ type EkycPrefillModuleConfig = {
24
+ country?: string | null;
25
+ source?: string | null;
26
+ fields?: EkycPrefillServedField[] | null;
27
+ /** Rendered inputs of which at least one must be filled. */
28
+ requireAnyOf?: string[] | null;
29
+ /** The backend runs the lookup itself, so the module shows no screen. */
30
+ autoExecution?: boolean | null;
31
+ };
32
+ /** One input of the normalized configuration. */
33
+ type EkycPrefillConfigField = {
34
+ field: string;
35
+ check: boolean;
36
+ mandatory: boolean;
37
+ };
38
+ /** Manager configuration: the served configuration, normalized by `toEkycPrefillConfig`. */
39
+ type EkycPrefillConfig = {
40
+ country: string | undefined;
41
+ source: string | undefined;
42
+ /** `undefined` when the served configuration has no `fields` array. */
43
+ fields: EkycPrefillConfigField[] | undefined;
44
+ requireAnyOf: string[];
45
+ autoExecution: boolean;
46
+ };
47
+ type EkycPrefillFieldDef = FieldDef & {
48
+ /** Validation run by `validateEkycField`, in order; the first failing rule wins. */
49
+ validation: EkycValidationRule[];
50
+ /** Show the value masked, with a show/hide toggle (the SSN). */
51
+ masked?: boolean;
52
+ /** Ask for the numeric keyboard. */
53
+ numeric?: boolean;
54
+ /** The `autocomplete` token. */
55
+ autoComplete?: string;
56
+ /** How the value is formatted while it is typed. */
57
+ formatAs?: EkycPrefillInputFormat;
58
+ };
59
+ /** `cpf`: `XXX.XXX.XXX-XX`; `ssn`: `XXX-XX-XXXX`; `name`: drops characters a name can't hold. */
60
+ type EkycPrefillInputFormat = 'cpf' | 'ssn' | 'name';
61
+ /** Fields of which at least one must be filled, with the message shown under them. */
62
+ type EkycPrefillAnyOfGroup = {
63
+ fields: string[];
64
+ message: string;
65
+ };
66
+ /** A request-body field: where its value goes and how it is transformed first. */
67
+ type EkycPrefillSubmitField = {
68
+ name: string;
69
+ key: string;
70
+ transforms: {
71
+ id: string;
72
+ chars?: string;
73
+ }[];
74
+ };
75
+ type EkycPrefillSubmitPlan = {
76
+ static: Record<string, unknown>;
77
+ fields: EkycPrefillSubmitField[];
78
+ country: string;
79
+ };
80
+ /** The served configuration on the forms kernel: what the form renders and sends. */
81
+ type EkycPrefillPreparedForm = {
82
+ country: string;
83
+ fields: EkycPrefillFieldDef[];
84
+ anyOf: EkycPrefillAnyOfGroup | undefined;
85
+ submit: EkycPrefillSubmitPlan;
86
+ };
87
+ /** `POST /omni/externalVerification/ekyc-prefill` response. Not read: the result is reviewed in the dashboard. */
88
+ type EkycPrefillSubmitResponse = Record<string, unknown>;
89
+ type EkycPrefillErrorKind = 'unavailable' | 'busy';
90
+ type EkycPrefillContext = {
91
+ config: EkycPrefillConfig;
92
+ prepared: EkycPrefillPreparedForm | undefined;
93
+ values: EkycFormValues;
94
+ errors: EkycValidationErrors;
95
+ /** Fields whose input reports an invalid format (the phone). */
96
+ invalidFormats: Record<string, true>;
97
+ /**
98
+ * The any-of group's message shows as an error rather than a hint: a member
99
+ * lost focus, or a submit was tried, while every member was empty.
100
+ */
101
+ anyOfError: boolean;
102
+ /** The phone rules finished loading, so phones validate. */
103
+ phoneRulesLoaded: boolean;
104
+ /** The phone rules failed to load; a retry reloads them before the form. */
105
+ phoneRulesFailed: boolean;
106
+ /** A 400 the form can't pin on one field. */
107
+ submitError: string | undefined;
108
+ errorKind: EkycPrefillErrorKind | undefined;
109
+ errorMessage: string | undefined;
110
+ };
111
+ type EkycPrefillInput = {
112
+ config?: EkycPrefillModuleConfig | EkycPrefillConfig;
113
+ };
114
+ //#endregion
115
+ export { EkycPrefillFieldDef as a, EkycPrefillModuleConfig as c, EkycPrefillSubmitResponse as d, EkycPrefillErrorKind as i, EkycPrefillServedField as l, EkycPrefillConfigField as n, EkycPrefillInput as o, EkycPrefillContext as r, EkycPrefillInputFormat as s, EkycPrefillConfig as t, EkycPrefillSubmitPlan as u };
@@ -4,10 +4,12 @@ type IdOcrConfig = {
4
4
  editableOcr?: boolean;
5
5
  cpfOnly?: boolean;
6
6
  /**
7
- * When true (from flow/onboarding), after the first ID OCR step completes the
8
- * machine loads and optionally edits OCR for the second captured ID.
7
+ * Legacy combined review. When true and ocrDocument is omitted, review the
8
+ * first ID and then the second ID. Flow selects each document explicitly.
9
9
  */
10
10
  secondId?: boolean;
11
+ /** Review only this document. Takes precedence over the legacy secondId sequence. */
12
+ ocrDocument?: 'first' | 'second';
11
13
  /**
12
14
  * Session flow id (injected by orchestrated flow UI). When listed in `CPFFlowIds`
13
15
  * (`idOcrConsts`), only the CPF field is shown and validated; it maps to `documentNumber` on OCR.
@@ -1,5 +1,5 @@
1
- import { l as AnyStateMachine } from "./spawn-D9jgw9pW.js";
2
- import "./Manager-C9T5amUN.js";
1
+ import { l as AnyStateMachine } from "./spawn-COZKetCS.js";
2
+ import "./Manager-DufwKlav.js";
3
3
  //#region src/internal/orchestration/types.d.ts
4
4
  /** Eager module: a pre-imported state machine. */
5
5
  type EagerModule = AnyStateMachine;
@@ -42,9 +42,11 @@ type RunChildModuleInput = {
42
42
  type RunChildModuleEvent = {
43
43
  type: 'MODULE_COMPLETE';
44
44
  output?: unknown;
45
+ fromChild: true;
45
46
  } | {
46
47
  type: 'MODULE_ERROR';
47
48
  error: unknown;
49
+ fromChild: true;
48
50
  };
49
51
  //#endregion
50
52
  export { WorkflowModuleRegistry as a, RunChildModuleInput as i, ModuleRegistry as n, RunChildModuleEvent as r, ModuleConfigMappers as t };
@@ -0,0 +1,6 @@
1
+ import { i as FlowModuleConfig } from "./types-Ddc4Tr_f.js";
2
+ import { t as BaseFaceCaptureConfig } from "./types-9wlf1-GE.js";
3
+ //#region src/modules/authentication/types.d.ts
4
+ type AuthenticationConfig = FlowModuleConfig['AUTHENTICATION'] & BaseFaceCaptureConfig;
5
+ //#endregion
6
+ export { AuthenticationConfig as t };
@@ -1,10 +1,10 @@
1
- import { y as IncodeCanvas } from "./createFaceAvatar-lYX0VTYs.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";
1
+ import { y as IncodeCanvas } from "./createFaceAvatar-BimBTONm.js";
2
+ import { a as RegulationTypes, n as Flow, o as TutorialIdConfig } from "./types-Ddc4Tr_f.js";
3
+ import { a as IStorageCapability } from "./IWasmUtilCapability-BRn0wz8v.js";
4
4
  import { t as PermissionResult } from "./types-BEwVKkLJ.js";
5
- import { n as DeepsightService, t as StreamCanvasCapture } from "./StreamCanvasCapture-C3xNfOsv.js";
5
+ import { n as DeepsightService, t as StreamCanvasCapture } from "./StreamCanvasCapture-ixfy84ys.js";
6
6
  import { t as CameraStream } from "./camera-9wWD-pwg.js";
7
- import { i as Pdf417DecodeResult, n as IIdCaptureCapability, r as IdCaptureSettings, t as DetectionOrientation } from "./IIdCaptureCapability-CGcEt2Cw.js";
7
+ import { i as Pdf417DecodeResult, n as IIdCaptureCapability, r as IdCaptureSettings, t as DetectionOrientation } from "./IIdCaptureCapability-C-5M8pP1.js";
8
8
  import { n as IGeolocationCapability, t as GeolocationCoords } from "./IGeolocationCapability-r49Qo7rR.js";
9
9
  //#region ../infra/src/capabilities/IDigitalCredentialsCapability.d.ts
10
10
  /**
@@ -29,6 +29,8 @@ type EkycDisplayModes = Partial<Record<keyof EkycVerificationFields, EkycFieldDi
29
29
  type EkycModuleConfig = {
30
30
  source: string;
31
31
  enablePhoneRisk?: boolean;
32
+ /** The backend runs the checks from earlier modules' data; the SDK skips the step. */
33
+ autoExecution?: boolean;
32
34
  checkName?: boolean;
33
35
  nameSource?: string;
34
36
  checkEmail?: boolean;
@@ -93,6 +95,8 @@ type EkycConfig = {
93
95
  source?: string;
94
96
  fieldsCountry?: string;
95
97
  enablePhoneRisk?: boolean;
98
+ /** The backend runs the checks from earlier modules' data; the SDK skips the step. */
99
+ autoExecution?: boolean;
96
100
  /** Each group's display mode; a group that is absent is editable. */
97
101
  displayModes?: EkycDisplayModes;
98
102
  };
@@ -128,6 +132,9 @@ type EkycValidationRule = ({
128
132
  type: 'nameCharacters';
129
133
  } | {
130
134
  type: 'notFuture';
135
+ } | {
136
+ type: 'maxAge';
137
+ years: number;
131
138
  } | {
132
139
  type: 'phoneDigits';
133
140
  country: string;
@@ -207,4 +214,4 @@ type EkycFieldDef = FieldDef & {
207
214
  type EkycInputFormat = 'uppercase' | 'stripSeparators';
208
215
  type RiskAddon = 'phoneCheck' | 'advancedPhoneCheck' | 'emailCheck' | 'phoneProfile';
209
216
  //#endregion
210
- export { EkycFormValues as a, EkycValidationErrors as c, EkycFieldDisplayMode as i, RiskAddon as l, EkycDisplayModes as n, EkycModuleConfig as o, EkycFieldDef as r, EkycValidationError as s, EkycConfig as t };
217
+ export { EkycFormValues as a, EkycValidationErrors as c, EkycFieldDisplayMode as i, EkycValidationRule as l, EkycDisplayModes as n, EkycModuleConfig as o, EkycFieldDef as r, EkycValidationError as s, EkycConfig as t, RiskAddon as u };
@@ -1,4 +1,4 @@
1
- import { a as RegulationTypes } from "./types-CRaFu6wS.js";
1
+ import { a as RegulationTypes } from "./types-Ddc4Tr_f.js";
2
2
  //#region src/internal/fingerprint/types.d.ts
3
3
  type DeviceFingerprintResult = {
4
4
  success: boolean;
@@ -1,4 +1,4 @@
1
- import { a as RegulationTypes } from "./types-CRaFu6wS.js";
1
+ import { a as RegulationTypes } from "./types-Ddc4Tr_f.js";
2
2
  //#region src/modules/mandatory-consent/types.d.ts
3
3
  type RegulatoryConsentType = 'MANDATORY' | 'ML';
4
4
  type MandatoryConsentConfig = {
@@ -15,7 +15,8 @@ type MandatoryConsent = {
15
15
  consentType: string;
16
16
  };
17
17
  type FetchMandatoryConsentResponse = {
18
- consents: MandatoryConsent[];
18
+ /** Can be empty or missing when there is no consent for the regulation type. */
19
+ consents?: MandatoryConsent[];
19
20
  };
20
21
  //#endregion
21
22
  export { MandatoryConsent as n, MandatoryConsentConfig as r, FetchMandatoryConsentResponse as t };
@@ -1,5 +1,4 @@
1
1
  import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
2
- import { t as api } from "./api-CpP4PS4S.esm.js";
3
2
  //#region src/internal/events/eventBus.ts
4
3
  function createEventBus() {
5
4
  const listeners = [];
@@ -139,188 +138,6 @@ function addEvent(event) {
139
138
  analyticsBatcher.enqueue(entry);
140
139
  }
141
140
  //#endregion
142
- //#region src/internal/events/AnalyticsBatchingService.ts
143
- const DEFAULT_MAX_BATCH_SIZE = 50;
144
- const MAX_STATE_BATCH_SIZE = 50;
145
- const DEFAULT_MAX_BATCH_AGE_MS = 1e3;
146
- const DEFAULT_MAX_RETRIES = 2;
147
- const RETRY_BASE_DELAY_MS = 250;
148
- function isTransientStatus(status) {
149
- return status === 0 || status >= 500 || status === 408 || status === 429;
150
- }
151
- function createAnalyticsBatchingService(options) {
152
- const { endpoint, authToken, pageLifecycle, timer, apiBaseUrl, apiClient = api, maxBatchSize = DEFAULT_MAX_BATCH_SIZE, maxBatchAgeMs = DEFAULT_MAX_BATCH_AGE_MS, maxRetries = DEFAULT_MAX_RETRIES } = options;
153
- let buffer = [];
154
- let stateBuffer = [];
155
- let stateToken = null;
156
- let stateBatches = [];
157
- let stateRequestInFlight = false;
158
- let started = false;
159
- let disposed = false;
160
- let ageTimerHandle = null;
161
- let unsubscribeLifecycle = null;
162
- let warnedNullToken = false;
163
- function clearAgeTimer() {
164
- if (ageTimerHandle !== null) {
165
- timer.clearTimeout(ageTimerHandle);
166
- ageTimerHandle = null;
167
- }
168
- }
169
- function armAgeTimerIfNeeded() {
170
- if (ageTimerHandle === null) ageTimerHandle = timer.setTimeout(() => {
171
- ageTimerHandle = null;
172
- flush();
173
- }, maxBatchAgeMs);
174
- }
175
- function dropTokenless() {
176
- if (!warnedNullToken) {
177
- warnedNullToken = true;
178
- console.warn("[AnalyticsBatchingService] Dropping batch: no auth token at flush time.");
179
- }
180
- }
181
- function sendBatch(batch, attempt) {
182
- let promise;
183
- try {
184
- promise = apiClient.post(endpoint, batch, { keepalive: true });
185
- } catch (error) {
186
- handleSendError(batch, error, attempt);
187
- return;
188
- }
189
- promise.catch((error) => handleSendError(batch, error, attempt));
190
- }
191
- function handleSendError(batch, error, attempt) {
192
- if (disposed) return;
193
- if (!isTransientStatus(error && typeof error === "object" && "status" in error ? Number(error.status) || 0 : 0)) return;
194
- if (attempt >= maxRetries) return;
195
- const delay = RETRY_BASE_DELAY_MS * 2 ** attempt;
196
- timer.setTimeout(() => {
197
- if (disposed) return;
198
- sendBatch(batch, attempt + 1);
199
- }, delay);
200
- }
201
- function flush() {
202
- if (disposed || buffer.length === 0) return;
203
- const batch = buffer;
204
- buffer = [];
205
- clearAgeTimer();
206
- if (!authToken()) {
207
- dropTokenless();
208
- return;
209
- }
210
- sendBatch(batch, 0);
211
- }
212
- function syncStateToken() {
213
- const token = authToken();
214
- if (token !== stateToken) {
215
- stateBuffer = [];
216
- stateBatches = [];
217
- stateToken = token;
218
- }
219
- return token;
220
- }
221
- function sendNextStateBatch() {
222
- if (disposed || !started || stateRequestInFlight || stateBatches.length === 0) return;
223
- const token = syncStateToken();
224
- const batch = stateBatches.shift();
225
- if (!batch || !token) return;
226
- stateRequestInFlight = true;
227
- const onSettled = () => {
228
- stateRequestInFlight = false;
229
- sendNextStateBatch();
230
- };
231
- try {
232
- apiClient.post(endpoint, batch.events, {
233
- keepalive: true,
234
- headers: { "X-Incode-Hardware-Id": batch.token }
235
- }).then(onSettled, onSettled);
236
- } catch {
237
- Promise.resolve().then(onSettled);
238
- }
239
- }
240
- function flushStateChanges() {
241
- if (disposed) return;
242
- const token = syncStateToken();
243
- if (!token || stateBuffer.length === 0) return;
244
- stateBatches.push({
245
- events: stateBuffer,
246
- token
247
- });
248
- stateBuffer = [];
249
- sendNextStateBatch();
250
- }
251
- function sendBeacon(batch, token) {
252
- const url = `${apiBaseUrl().replace(/\/$/, "")}${endpoint}`;
253
- const body = JSON.stringify({
254
- token,
255
- events: batch
256
- });
257
- pageLifecycle.sendBeacon(url, body);
258
- }
259
- function handlePageHide() {
260
- if (disposed) return;
261
- const token = syncStateToken();
262
- const pendingStates = stateBatches;
263
- stateBatches = [];
264
- if (token && stateBuffer.length > 0) pendingStates.push({
265
- events: stateBuffer,
266
- token
267
- });
268
- stateBuffer = [];
269
- for (const batch of pendingStates) sendBeacon(batch.events, batch.token);
270
- if (buffer.length === 0) return;
271
- const batch = buffer;
272
- buffer = [];
273
- clearAgeTimer();
274
- if (!token) {
275
- dropTokenless();
276
- return;
277
- }
278
- sendBeacon(batch, token);
279
- }
280
- function enqueue(entry) {
281
- if (disposed) return;
282
- if (entry.code === "stateChanged") {
283
- if (!syncStateToken()) return;
284
- stateBuffer.push(entry);
285
- if (stateBuffer.length === MAX_STATE_BATCH_SIZE) flushStateChanges();
286
- return;
287
- }
288
- buffer.push(entry);
289
- if (entry.code === "captureAttemptFinished" || entry.code === "moduleClosed" || entry.code === "errorTriggered" || entry.code === "background") flushStateChanges();
290
- if (!started) return;
291
- if (buffer.length >= maxBatchSize) {
292
- flush();
293
- return;
294
- }
295
- armAgeTimerIfNeeded();
296
- }
297
- function start() {
298
- if (started || disposed) return;
299
- started = true;
300
- unsubscribeLifecycle = pageLifecycle.onPageHide(handlePageHide);
301
- if (buffer.length > 0) flush();
302
- sendNextStateBatch();
303
- }
304
- function dispose() {
305
- if (disposed) return;
306
- disposed = true;
307
- clearAgeTimer();
308
- unsubscribeLifecycle?.();
309
- unsubscribeLifecycle = null;
310
- buffer = [];
311
- stateBuffer = [];
312
- stateBatches = [];
313
- stateToken = null;
314
- }
315
- return {
316
- enqueue,
317
- start,
318
- flush,
319
- flushStateChanges,
320
- dispose
321
- };
322
- }
323
- //#endregion
324
141
  //#region src/internal/events/helpers.ts
325
142
  function screenEvent(params) {
326
143
  addEvent({
@@ -423,120 +240,6 @@ function experimentAssigned(module, payload, screen) {
423
240
  });
424
241
  }
425
242
  //#endregion
426
- //#region src/internal/events/experimentAssignment.ts
427
- const assignedExperiments = /* @__PURE__ */ new Set();
428
- /**
429
- * Records an `experimentAssigned` interview-event, but only the first time
430
- * for a given `dedupeKey` (pass the experiment's `storeParam`) since the
431
- * last `resetExperimentAssignments()` call.
432
- */
433
- function recordExperimentAssignmentOnce(module, dedupeKey, payload, screenName) {
434
- if (assignedExperiments.has(dedupeKey)) return;
435
- assignedExperiments.add(dedupeKey);
436
- experimentAssigned(module, payload, screenName);
437
- }
438
- /** Clears the assignment dedup guard. Called from `reset()`. */
439
- function resetExperimentAssignments() {
440
- assignedExperiments.clear();
441
- }
442
- //#endregion
443
- //#region src/internal/events/managerInstrumentation.ts
444
- function stateValueToScreenSegment(value) {
445
- if (typeof value === "string" || typeof value === "number") {
446
- const segment = String(value).trim();
447
- return segment.length > 0 ? segment : void 0;
448
- }
449
- if (typeof value !== "object" || value === null) return;
450
- const entries = Object.entries(value).sort(([left], [right]) => {
451
- if (left < right) return -1;
452
- if (left > right) return 1;
453
- return 0;
454
- });
455
- if (entries.length === 0) return;
456
- const branches = entries.map(([key, nestedValue]) => {
457
- const trimmedKey = key.trim();
458
- const nestedSegment = stateValueToScreenSegment(nestedValue);
459
- if (trimmedKey.length === 0) return nestedSegment;
460
- if (nestedSegment === void 0) return trimmedKey;
461
- return `${trimmedKey}.${nestedSegment}`;
462
- }).filter((branch) => branch !== void 0 && branch.length > 0);
463
- if (branches.length === 0) return;
464
- return branches.join("+");
465
- }
466
- function buildScreenName(moduleName, screenName) {
467
- const trimmedModuleName = typeof moduleName === "string" ? moduleName.trim() : "";
468
- const trimmedScreen = screenName.trim();
469
- if (trimmedModuleName.length === 0) return trimmedScreen;
470
- if (trimmedScreen.length === 0) return trimmedModuleName;
471
- return `${trimmedModuleName}.${trimmedScreen}`;
472
- }
473
- function getDefaultManagerScreenName(snapshot) {
474
- return stateValueToScreenSegment(snapshot.value);
475
- }
476
- function getManagerScreenName(moduleName, snapshot, options) {
477
- const eventScreen = options?.getEventScreenName?.(snapshot);
478
- if (eventScreen !== void 0) {
479
- const trimmed = eventScreen.trim();
480
- return trimmed.length > 0 ? trimmed : void 0;
481
- }
482
- const mappedScreen = options?.getScreenName?.(snapshot) ?? getDefaultManagerScreenName(snapshot);
483
- if (mappedScreen === void 0) return;
484
- return buildScreenName(moduleName, mappedScreen);
485
- }
486
- function isErrorLikeSegment(segment) {
487
- const lower = segment.toLowerCase();
488
- return lower === "error" || lower.includes("error") || lower.includes("failed") || lower.includes("failure");
489
- }
490
- function getDefaultManagerErrorName(snapshot) {
491
- const screenSegment = stateValueToScreenSegment(snapshot.value);
492
- if (screenSegment === void 0) return;
493
- const trimmedSegment = screenSegment.trim();
494
- if (trimmedSegment.length === 0) return;
495
- if (trimmedSegment.toLowerCase() === "error") return "error.unknown";
496
- if (!isErrorLikeSegment(trimmedSegment)) return;
497
- return `error.${trimmedSegment}`;
498
- }
499
- function createManagerInstrumentation(moduleName, options) {
500
- const visibilityObserver = options?.visibilityObserver;
501
- return {
502
- moduleName,
503
- onModuleOpened: moduleOpened,
504
- onModuleClosed: moduleClosed,
505
- onScreenOpened: screenOpened,
506
- onScreenClosed: options?.getEventStateName ? (moduleName, screenName) => {
507
- getAnalyticsBatcher()?.flushStateChanges?.();
508
- screenClosed(moduleName, screenName);
509
- } : screenClosed,
510
- onStateChanged: (moduleName, screenName, stateName) => stateChanged(moduleName, screenName, { stateName }),
511
- onErrorTriggered: (moduleName, errorName, screenName, payload) => errorTriggered(moduleName, screenName, {
512
- errorName,
513
- ...payload
514
- }),
515
- subscribeVisibility: visibilityObserver ? (onChange) => visibilityObserver.onVisibilityChange(onChange) : void 0,
516
- getInitialVisibility: visibilityObserver ? () => visibilityObserver.isVisible() : void 0,
517
- onBackground: visibilityObserver ? background : void 0,
518
- onForeground: visibilityObserver ? foreground : void 0,
519
- onElementClicked: (moduleName, screenName, payload) => elementClicked(moduleName, screenName, payload),
520
- onCaptureAttemptFinished: (moduleName, screenName, payload) => captureAttemptFinished(moduleName, screenName, payload),
521
- getScreenName: (snapshot) => getManagerScreenName(moduleName, snapshot, {
522
- getEventScreenName: options?.getEventScreenName,
523
- getScreenName: options?.getScreenName
524
- }),
525
- getStateName: (snapshot) => {
526
- const stateName = options?.getEventStateName?.(snapshot);
527
- if (stateName === void 0) return;
528
- const trimmed = stateName.trim();
529
- return trimmed.length > 0 ? trimmed : void 0;
530
- },
531
- getErrorName: (snapshot) => {
532
- const mappedError = options?.getErrorName?.(snapshot) ?? getDefaultManagerErrorName(snapshot);
533
- if (mappedError === void 0) return;
534
- return buildScreenName(moduleName, mappedError);
535
- },
536
- getErrorPayload: (snapshot) => options?.getErrorPayload?.(snapshot)
537
- };
538
- }
539
- //#endregion
540
243
  //#region src/internal/events/types.ts
541
244
  const eventModuleNames = {
542
245
  selfie: "SELFIE",
@@ -575,6 +278,8 @@ const eventModuleNames = {
575
278
  geolocation: "Geolocation",
576
279
  ekyb: "eKYB",
577
280
  identityReuse: "IDENTITY_REUSE",
281
+ identitySearch: "IDENTITY_SEARCH",
282
+ identityReusePath: "IDENTITY_REUSE_PATH",
578
283
  antifraud: "antifraud",
579
284
  aeSignature: "AdSign",
580
285
  qeSignature: "QSign",
@@ -725,4 +430,4 @@ const cameraScreenNamesMapper = {
725
430
  document: "document"
726
431
  };
727
432
  //#endregion
728
- export { subscribeEvent as C, setAnalyticsBatcher as S, stateChanged as _, videoSelfieEvents as a, getAnalyticsBatcher as b, resetExperimentAssignments as c, experimentAssigned as d, moduleClosed as f, screenOpened as g, screenEvent as h, tutorialScreenNamesMapper as i, captureAttemptFinished as l, screenClosed as m, eventModuleNames as n, createManagerInstrumentation as o, moduleOpened as p, eventScreenNames as r, recordExperimentAssignmentOnce as s, cameraScreenNamesMapper as t, elementClicked as u, createAnalyticsBatchingService as v, createEventBus as w, resetAnalyticsBatcher as x, addEvent as y };
433
+ export { createEventBus as C, subscribeEvent as S, stateChanged as _, videoSelfieEvents as a, resetAnalyticsBatcher as b, elementClicked as c, foreground as d, moduleClosed as f, screenOpened as g, screenEvent as h, tutorialScreenNamesMapper as i, errorTriggered as l, screenClosed as m, eventModuleNames as n, background as o, moduleOpened as p, eventScreenNames as r, captureAttemptFinished as s, cameraScreenNamesMapper as t, experimentAssigned as u, addEvent as v, setAnalyticsBatcher as x, getAnalyticsBatcher as y };