@incodetech/core 2.4.1-agentic → 2.4.1-agentic.10

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 (239) hide show
  1. package/dist/{BaseWasmProvider-Bq3OHo7P.d.ts → BaseWasmProvider-bBNquvYn.d.ts} +2 -2
  2. package/dist/BrowserNetworkStatusProvider-BrDXBEDd.esm.js +21 -0
  3. package/dist/{multipartRecordingService-DMBxHKS2.esm.js → CameraCompositor-DN7NkJzV.esm.js} +7 -734
  4. package/dist/DateFormattingProvider-DPq9zco-.esm.js +25 -0
  5. package/dist/{FaceDetectionProvider-B83VmClw.esm.js → FaceDetectionProvider-BSLpXAGx.esm.js} +11 -12
  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/MultipartRecordingProvider-BfQPSgSO.esm.js +151 -0
  9. package/dist/{StreamCanvasCapture-C3xNfOsv.d.ts → StreamCanvasCapture-ixfy84ys.d.ts} +2 -2
  10. package/dist/StreamCanvasProcessingSession-CBnbTnOr.esm.js +42 -0
  11. package/dist/{WasmUtilProvider-GTkoJyFY.esm.js → WasmUtilProvider-C_puwvVn.esm.js} +2 -2
  12. package/dist/WorkerEncoderRecordingProvider-CyCrQnZR.esm.js +80 -0
  13. package/dist/addressSearch-B_4JYKa-.esm.js +72 -0
  14. package/dist/ae-signature.esm.js +1 -1
  15. package/dist/antifraud.esm.js +2 -2
  16. package/dist/{antifraudManager-CQ08atTC.esm.js → antifraudManager-BWCVkSu2.esm.js} +2 -2
  17. package/dist/{antifraudStateMachine-BcsUTTIr.esm.js → antifraudStateMachine-CX9I2f3s.esm.js} +1 -1
  18. package/dist/{api-BO8JA7Pf.esm.js → api-BSnbg4HO.esm.js} +4 -0
  19. package/dist/{apiError-CfuIvnUy.esm.js → apiError-Bmwy1Fa7.esm.js} +1 -1
  20. package/dist/{attemptCarry-BjTJ6bMQ.esm.js → attemptCarry-zQH85Elh.esm.js} +2 -2
  21. package/dist/authentication.d.ts +3 -3
  22. package/dist/authentication.esm.js +2 -2
  23. package/dist/{authenticationManager-DvmklBTE.esm.js → authenticationManager-BoiOaB0m.esm.js} +5 -5
  24. package/dist/{authenticationManager-C-cOki0Y.d.ts → authenticationManager-CISxaY6N.d.ts} +1 -1
  25. package/dist/{authenticationStateMachine-BL2ptOA0.esm.js → authenticationStateMachine-BMD1JLwr.esm.js} +3 -3
  26. package/dist/avatar.d.ts +1 -1
  27. package/dist/backCameraLabel-yda5ugE4.esm.js +67 -0
  28. package/dist/{backCameraStream-C5_NNfUN.esm.js → backCameraStream-DS1oDiUq.esm.js} +10 -65
  29. package/dist/{browser-pQZA35G2-DtkAf6sn.esm.js → browser-pQZA35G2-PIj2uGBm.esm.js} +1 -1
  30. package/dist/camera.d.ts +2 -2
  31. package/dist/camera.esm.js +1 -1
  32. package/dist/certificate-issuance.esm.js +2 -2
  33. package/dist/{certificateIssuanceManager-CM0fuqDC.esm.js → certificateIssuanceManager-DzDuQTsK.esm.js} +2 -2
  34. package/dist/{certificateIssuanceStateMachine-kksIUOPD.esm.js → certificateIssuanceStateMachine-BAOYLACb.esm.js} +2 -2
  35. package/dist/{connectivity-HSl0diCx.esm.js → connectivity-BCuEoQ-n.esm.js} +2 -21
  36. package/dist/consent.d.ts +1 -1
  37. package/dist/consent.esm.js +2 -2
  38. package/dist/{consentManager-_q9yJUku.d.ts → consentManager-7aHaehwF.d.ts} +5 -5
  39. package/dist/{consentManager-CBwFozhv.esm.js → consentManager-DFSKQTcR.esm.js} +2 -2
  40. package/dist/{consentStateMachine-CpmRAcr2.esm.js → consentStateMachine-4nZIH2O8.esm.js} +1 -1
  41. package/dist/{cpf-uAZTPUBy.esm.js → cpf-BIADjddF.esm.js} +1 -25
  42. package/dist/{createFaceAvatar-lYX0VTYs.d.ts → createFaceAvatar-BimBTONm.d.ts} +1 -1
  43. package/dist/cross-document-data-match.esm.js +1 -1
  44. package/dist/{crossDocumentDataMatchManager-64O8t10a.esm.js → crossDocumentDataMatchManager-D7ka2qOC.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-CLgJQcx0.esm.js → curpValidationManager-BVTt7IgC.esm.js} +2 -2
  48. package/dist/{curpValidationManager-CXpFE-Mv.d.ts → curpValidationManager-DEqTUWdu.d.ts} +1 -1
  49. package/dist/{curpValidationStateMachine-Bx9YhVkJ.esm.js → curpValidationStateMachine-FB_MRbZQ.esm.js} +2 -2
  50. package/dist/custom-fields.esm.js +1 -1
  51. package/dist/custom-watchlist.esm.js +2 -2
  52. package/dist/{customFieldsManager-DWt_0YtJ.esm.js → customFieldsManager-gbsq53p6.esm.js} +2 -2
  53. package/dist/{customWatchlistManager-D8o-2Nej.esm.js → customWatchlistManager-50APwk4Z.esm.js} +2 -2
  54. package/dist/{customWatchlistStateMachine-Sbi6DIcK.esm.js → customWatchlistStateMachine-CpEVPzuT.esm.js} +1 -1
  55. package/dist/{deepsightService-twg3bXqY.esm.js → deepsightLoader-BKCT8UT1.esm.js} +34 -29
  56. package/dist/definitionSource-BHNxbuiv.esm.js +184 -0
  57. package/dist/{desktopCameraElection-kHY2IDJi.esm.js → desktopCameraElection-Dvvw7PRY.esm.js} +5 -5
  58. package/dist/document-capture.d.ts +3 -3
  59. package/dist/document-capture.esm.js +2 -2
  60. package/dist/{documentCaptureManager-CMSC_Mhd.esm.js → documentCaptureManager-BG5TuqJz.esm.js} +3 -2
  61. package/dist/{documentCaptureManager-6tnnDkMX.d.ts → documentCaptureManager-DDfviFg0.d.ts} +25 -4
  62. package/dist/{documentCaptureStateMachine-BCwD5Rto.esm.js → documentCaptureStateMachine-C7PW_Ah9.esm.js} +67 -26
  63. package/dist/dynamic-forms.esm.js +2 -2
  64. package/dist/{dynamicFormsManager-DU6W1e20.esm.js → dynamicFormsManager-B0bpHhhJ.esm.js} +2 -2
  65. package/dist/{dynamicFormsStateMachine-C8Z7k3vo.esm.js → dynamicFormsStateMachine-2ZHyejBc.esm.js} +2 -2
  66. package/dist/ekyb.d.ts +4 -4
  67. package/dist/ekyb.esm.js +3 -3
  68. package/dist/{ekybManager-TB6ZG5lX.d.ts → ekybManager-BLOkwmWO.d.ts} +2 -2
  69. package/dist/{ekybManager-TGfqyjuu.esm.js → ekybManager-P9mC7W9J.esm.js} +2 -2
  70. package/dist/{ekybStateMachine-DBgFuEPK.esm.js → ekybStateMachine-C7HKaeVr.esm.js} +7 -3
  71. package/dist/ekybUtils-Cw8Ta9Qi.esm.js +140 -0
  72. package/dist/ekyc-prefill.d.ts +17 -0
  73. package/dist/ekyc-prefill.esm.js +3 -0
  74. package/dist/ekyc.d.ts +3 -2
  75. package/dist/ekyc.esm.js +3 -3
  76. package/dist/{ekycManager-C2cgG2Pl.esm.js → ekycManager-CeeJoRFY.esm.js} +2 -2
  77. package/dist/{ekycManager-BSQteIfC.d.ts → ekycManager-q1fos6IY.d.ts} +2 -1
  78. package/dist/ekycPrefillManager-C6BFFKxc.esm.js +102 -0
  79. package/dist/ekycPrefillManager-PPGVZbWk.d.ts +565 -0
  80. package/dist/ekycPrefillStateMachine-Dku90kZL.esm.js +686 -0
  81. package/dist/ekycRules-BLX7Elcb.esm.js +319 -0
  82. package/dist/{ekycStateMachine-CuNF7z4O.esm.js → ekycStateMachine-DBTczgGE.esm.js} +719 -596
  83. package/dist/{ekycUtils-BFncpC4F.esm.js → ekycUtils-Dcff8BOD.esm.js} +103 -14
  84. package/dist/electronic-signature.esm.js +1 -1
  85. package/dist/{electronicSignatureManager-C7pqXsRm.esm.js → electronicSignatureManager-BKQuhJm_.esm.js} +4 -4
  86. package/dist/email.esm.js +2 -2
  87. package/dist/{emailManager-FH_CP0cT.esm.js → emailManager-CGmKbsBL.esm.js} +2 -2
  88. package/dist/{emailStateMachine-Cx-uTaBV.esm.js → emailStateMachine-CGY1UGs2.esm.js} +2 -2
  89. package/dist/{events-CQteqXfy.esm.js → events-C7h7oaTE.esm.js} +1 -1
  90. package/dist/events.esm.js +1 -1
  91. package/dist/extensibility.d.ts +20 -18
  92. package/dist/extensibility.esm.js +37 -35
  93. package/dist/{externalFetch-CQY41QT1.esm.js → externalFetch-cUjJYyXj.esm.js} +1 -1
  94. package/dist/face-match.d.ts +1 -1
  95. package/dist/face-match.esm.js +2 -2
  96. package/dist/{faceCaptureManagerFactory-C-xKdj-d.d.ts → faceCaptureManagerFactory-BVwVGa3z.d.ts} +7 -7
  97. package/dist/{faceCaptureManagerFactory-CBm05KnT.esm.js → faceCaptureManagerFactory-ClFsByZc.esm.js} +4 -4
  98. package/dist/{faceCaptureSetup-BQjCbL51.esm.js → faceCaptureSetup-9hv5GC_H.esm.js} +12 -403
  99. package/dist/{faceMatchManager-Z4UDLwAv.d.ts → faceMatchManager-BZtEw6bB.d.ts} +9 -3
  100. package/dist/{faceMatchManager-B2zp7yP4.esm.js → faceMatchManager-CRe7Nvm6.esm.js} +2 -2
  101. package/dist/{faceMatchStateMachine-ByTMQCUC.esm.js → faceMatchStateMachine-EX9QhxFE.esm.js} +28 -14
  102. package/dist/{feature-management-DjAG5lsJ.esm.js → feature-management-CmKTG_T5.esm.js} +35 -21
  103. package/dist/feature-management.esm.js +1 -1
  104. package/dist/field-comparison.esm.js +1 -1
  105. package/dist/{fieldComparisonManager-CC0vKmpf.esm.js → fieldComparisonManager-DuosZJso.esm.js} +2 -2
  106. package/dist/fiscal-qr.esm.js +1 -1
  107. package/dist/{fiscalQrManager-Be-r4oZj.esm.js → fiscalQrManager-ji0qDaTW.esm.js} +3 -3
  108. package/dist/flow-events.d.ts +1 -1
  109. package/dist/flow.d.ts +33 -18
  110. package/dist/flow.esm.js +82 -17
  111. package/dist/{flowCompletionService-ChMU2v79.esm.js → flowCompletionService-DvcH16XO.esm.js} +24 -3
  112. package/dist/{flowServices-g2tVWsJl.esm.js → flowServices-Ca2vKNt2.esm.js} +84 -139
  113. package/dist/geolocation.esm.js +2 -2
  114. package/dist/{geolocationManager-DLbvZwUB.esm.js → geolocationManager-CiG32lIm.esm.js} +2 -2
  115. package/dist/{geolocationStateMachine-CAJVongM.esm.js → geolocationStateMachine-5rnTEOuw.esm.js} +3 -3
  116. package/dist/government-validation.esm.js +2 -2
  117. package/dist/{governmentValidationManager-CkX9TEkh.esm.js → governmentValidationManager-BivVZNVe.esm.js} +2 -2
  118. package/dist/{governmentValidationStateMachine-PTPCP26N.esm.js → governmentValidationStateMachine-CeSDNgha.esm.js} +1 -1
  119. package/dist/home.d.ts +1 -1
  120. package/dist/home.esm.js +1 -1
  121. package/dist/http.esm.js +1 -1
  122. package/dist/id-ocr.d.ts +2 -2
  123. package/dist/id-ocr.esm.js +3 -19
  124. package/dist/id-selfie-flow.d.ts +3 -3
  125. package/dist/id-selfie-flow.esm.js +10 -9
  126. package/dist/id-verification.esm.js +2 -2
  127. package/dist/id.d.ts +4 -4
  128. package/dist/id.esm.js +4 -4
  129. package/dist/{idCaptureDefaults-MSQoqScU.esm.js → idCaptureDefaults-DBnOC28H.esm.js} +3 -3
  130. package/dist/{idCaptureManager-zZdTcpG1.esm.js → idCaptureManager-B5xqok0L.esm.js} +9 -8
  131. package/dist/{idCaptureManager-DzTfQ1Am.d.ts → idCaptureManager-CG8zbAp0.d.ts} +10 -8
  132. package/dist/{idCaptureServices-8OHinO0N.esm.js → idCaptureServices-BIF_7rub.esm.js} +27 -196
  133. package/dist/{idCaptureStateMachine-B3G6XoDG.esm.js → idCaptureStateMachine-B5cfgKvn.esm.js} +50 -22
  134. package/dist/idOcrCpfUtils-Nfln1Psb.esm.js +18 -0
  135. package/dist/{idOcrManager-DT3kPIB3.d.ts → idOcrManager-B5xeI2lg.d.ts} +3 -3
  136. package/dist/{idOcrManager-B64-fjWg.esm.js → idOcrManager-DNbVTMIu.esm.js} +2 -2
  137. package/dist/{idOcrStateMachine-B1aZnobs.esm.js → idOcrStateMachine-MAGnpWkb.esm.js} +8 -7
  138. package/dist/{idVerificationManager-_Kebv-Ue.esm.js → idVerificationManager-BEAkamNm.esm.js} +2 -2
  139. package/dist/{idVerificationStateMachine-DQn6c84z.esm.js → idVerificationStateMachine-D5mBN2Ye.esm.js} +1 -1
  140. package/dist/identity-reuse.esm.js +2 -2
  141. package/dist/{identityReuseManager-DDXkNVZi.esm.js → identityReuseManager-M8-BTjar.esm.js} +2 -2
  142. package/dist/{identityReuseStateMachine-Bcnkbjf8.esm.js → identityReuseStateMachine-D5bXgw9h.esm.js} +1 -1
  143. package/dist/{index-DEfwds5y.d.ts → index-Btj1EhiM.d.ts} +43 -19
  144. package/dist/{index-DMDAk85K.d.ts → index-CSPOoqah.d.ts} +1 -1
  145. package/dist/index.d.ts +1 -1
  146. package/dist/index.esm.js +1 -1
  147. package/dist/{invokeOnCaptureCallback-CXIBwBeE.esm.js → invokeOnCaptureCallback-C1-j4fsq.esm.js} +1 -1
  148. package/dist/kyb-checks.d.ts +3 -0
  149. package/dist/kyb-checks.esm.js +3 -0
  150. package/dist/kybChecksManager-CblEL97E.d.ts +95 -0
  151. package/dist/kybChecksManager-CnqwgKoV.esm.js +89 -0
  152. package/dist/kybChecksStateMachine-Be41K_NS.esm.js +719 -0
  153. package/dist/mandatory-consent.d.ts +2 -2
  154. package/dist/mandatory-consent.esm.js +2 -2
  155. package/dist/{mandatoryConsentManager-xx3mY-xw.d.ts → mandatoryConsentManager-CYOJd_IZ.d.ts} +20 -11
  156. package/dist/{mandatoryConsentManager-43W5d_8G.esm.js → mandatoryConsentManager-LFhUlLvO.esm.js} +2 -2
  157. package/dist/{mandatoryConsentStateMachine-CVlgdlnt.esm.js → mandatoryConsentStateMachine-DTSyDqQs.esm.js} +11 -5
  158. package/dist/mediaRecorderOptions-B9-IEVtV.esm.js +70 -0
  159. package/dist/multipartRecordingService-CCiRpByl.esm.js +407 -0
  160. package/dist/{permissionGuards-B3OPL8Si.esm.js → permissionGuards-DjQUR1du.esm.js} +1 -1
  161. package/dist/{permissionServices-DnBAN_hW.esm.js → permissionServices-CZpORUWY.esm.js} +8 -6
  162. package/dist/phone.esm.js +2 -2
  163. package/dist/phoneFormat-DEpESpz2.esm.js +87 -0
  164. package/dist/{phoneManager-C6jut_pz.esm.js → phoneManager-C-qD3p3N.esm.js} +3 -3
  165. package/dist/phoneServices-BdR1nmSO.esm.js +77 -0
  166. package/dist/{phoneStateMachine-T1-drWfG.esm.js → phoneStateMachine-2FMTdjtJ.esm.js} +20 -60
  167. package/dist/{processFaceMatch-BWme3kVV.esm.js → processFaceMatch-B1YnoBer.esm.js} +1 -1
  168. package/dist/qe-signature.esm.js +1 -1
  169. package/dist/recordingService-BVSCo0ac.esm.js +397 -0
  170. package/dist/redirect-to-mobile.esm.js +2 -2
  171. package/dist/{redirectToMobileManager-BJXC6Kx9.esm.js → redirectToMobileManager-CqyDfDxs.esm.js} +3 -3
  172. package/dist/{redirectToMobileStateMachine-BBMAc2Gb.esm.js → redirectToMobileStateMachine-CXqfo2Gd.esm.js} +40 -22
  173. package/dist/resolveForm-f9PhUo9j.esm.js +143 -0
  174. package/dist/{runChildModule-DPHTqSdF.esm.js → runChildModule-BmteMhR7.esm.js} +2 -2
  175. package/dist/{sdkVersion-C3_P-Qbq.esm.js → sdkVersion-KZROt6l3.esm.js} +1 -1
  176. package/dist/selfie.d.ts +4 -4
  177. package/dist/selfie.esm.js +10 -10
  178. package/dist/{selfieErrorUtils-BL0BLMnp.esm.js → selfieErrorUtils-fqxp645p.esm.js} +1 -1
  179. package/dist/{selfieManager-Cbliomv7.esm.js → selfieManager-A-n3k9Tu.esm.js} +5 -5
  180. package/dist/{selfieManager-BMmpUii2.d.ts → selfieManager-DREuBhXZ.d.ts} +1 -1
  181. package/dist/{selfieStateMachine-B5m_Kn0O.esm.js → selfieStateMachine-48PKdKrw.esm.js} +3 -3
  182. package/dist/{session-DAaAewMX.esm.js → session-D0DWDKp9.esm.js} +4 -4
  183. package/dist/session.d.ts +2 -2
  184. package/dist/session.esm.js +6 -6
  185. package/dist/{sessionInitializer-CWFT4dfw.esm.js → sessionInitializer-I92b2dmL.esm.js} +94 -24
  186. package/dist/{setup-CDAKwTr7.esm.js → setup-BpjzWqR1.esm.js} +25 -27
  187. package/dist/{setup-D9qt8YVU.d.ts → setup-CG6oLkAa.d.ts} +2 -2
  188. package/dist/signature.esm.js +2 -2
  189. package/dist/{signatureManager-BeEVCcsC.esm.js → signatureManager-M9vQBj19.esm.js} +2 -2
  190. package/dist/{signatureStateMachine-_1c1vSid.esm.js → signatureStateMachine-0_frzAN5.esm.js} +1 -1
  191. package/dist/{stats-BpMz-hTP.esm.js → stats-C2sigf9p.esm.js} +1 -1
  192. package/dist/stats.esm.js +1 -1
  193. package/dist/step-up.d.ts +378 -0
  194. package/dist/step-up.esm.js +639 -0
  195. package/dist/textRules-D4NRinKY.d.ts +41 -0
  196. package/dist/{tri-BajQnjbf.esm.js → tri-DaUNvo-o.esm.js} +29 -34
  197. package/dist/tri.d.ts +2 -2
  198. package/dist/tri.esm-Df5eKLsY.esm.js +2165 -0
  199. package/dist/tri.esm.js +2 -2
  200. package/dist/{trueSightService-BujtUIW6.esm.js → trueSightService-DHYTBCIn.esm.js} +4 -4
  201. package/dist/trust-graph.esm.js +1 -1
  202. package/dist/types-B-PIc0en.d.ts +115 -0
  203. package/dist/{types-C397LhmN.d.ts → types-BgRHw-dR.d.ts} +1 -1
  204. package/dist/{types-CJ7Yl9K-.d.ts → types-Bpo97EOh.d.ts} +4 -2
  205. package/dist/{types-xEEWCx1j.d.ts → types-BqlZSoZ-.d.ts} +5 -5
  206. package/dist/types-CTaL0XJz.d.ts +80 -0
  207. package/dist/{types-e8fCsvvk.d.ts → types-Cbm9J2yF.d.ts} +1 -1
  208. package/dist/{types--3HDl2SF.d.ts → types-CgihAhT_.d.ts} +3 -3
  209. package/dist/{types-ZTZelfbM.d.ts → types-CyNndVAT.d.ts} +14 -6
  210. package/dist/{types-B2FK_wYb.d.ts → types-DEa3taWc.d.ts} +9 -41
  211. package/dist/{types-PTZHRhGX.d.ts → types-P9LzsfRo.d.ts} +3 -2
  212. package/dist/{types-DuD8TRJU.d.ts → types-TisHEbBg.d.ts} +12 -4
  213. package/dist/types-kLsU6Jkt.d.ts +6 -0
  214. package/dist/{urlUtils-eYiyWjh0.esm.js → urlUtils-B2wagB5v.esm.js} +14 -1
  215. package/dist/usStates-CwOQ2kAx.esm.js +209 -0
  216. package/dist/video-selfie.d.ts +5 -4
  217. package/dist/video-selfie.esm.js +9 -7
  218. package/dist/{videoSelfieCameraWarmer-DjkPpoj_.esm.js → videoSelfieCameraWarmer-CTOpqhov.esm.js} +16 -14
  219. package/dist/{videoSelfieStepDetector-RfSmlFFW.d.ts → videoSelfieStepDetector-4XE2QI5q.d.ts} +4 -4
  220. package/dist/virtualCameraCheck-eFOm2C9q.esm.js +27 -0
  221. package/dist/{warmup-BkfxQZsC.esm.js → warmup-9iKKNNuW.esm.js} +69 -20
  222. package/dist/{warmup-BO57syF6.d.ts → warmup-BNhIuURi.d.ts} +18 -2
  223. package/dist/wasm.d.ts +9 -3
  224. package/dist/wasm.esm.js +3 -3
  225. package/dist/{wasmDsFlagSync-BhU5H2oR.esm.js → wasmDsFlagSync-lRIgn5Ic.esm.js} +1 -1
  226. package/dist/{wasmWebClient-DTj9auyA.esm.js → wasmWebClient-C3v3s_4H.esm.js} +34 -19
  227. package/dist/watchlist-for-business.esm.js +2 -2
  228. package/dist/watchlist.esm.js +2 -2
  229. package/dist/{watchlistForBusinessManager-CVay6-9A.esm.js → watchlistForBusinessManager-C1S5y5yj.esm.js} +2 -2
  230. package/dist/{watchlistForBusinessStateMachine-DA6K5na4.esm.js → watchlistForBusinessStateMachine-Bj_hnoK5.esm.js} +1 -1
  231. package/dist/{watchlistManager-B8gQ_rw3.esm.js → watchlistManager-BpegtZbc.esm.js} +2 -2
  232. package/dist/{watchlistStateMachine-CSi_ZhtT.esm.js → watchlistStateMachine-Bgkh1gra.esm.js} +1 -1
  233. package/dist/workflow.d.ts +226 -41
  234. package/dist/workflow.esm.js +163 -67
  235. package/package.json +21 -5
  236. package/dist/addressSearch-41sMcnJk.esm.js +0 -604
  237. package/dist/deepsightLoader-DMxtowCm.esm.js +0 -33
  238. package/dist/tri.esm-CzTNi5Q_.esm.js +0 -3826
  239. package/dist/types-D9r3zRfY.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-BajQnjbf.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-DaUNvo-o.esm.js";
2
+ export { createTRISession, getTRIActivityId, isTRIStarted, resetTRI, setupTRI, startTRI, stopTRI };
@@ -1,8 +1,8 @@
1
- import { T as resolveWasmConfig, _ as emitWasmDiagnostic, a as setWebApiHttpTransport, i as initializeWasmWebClient, o as setupWasmConnection, r as executeWasmRequest, t as WasmWebClientError } from "./wasmWebClient-DTj9auyA.esm.js";
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-CQteqXfy.esm.js";
4
- import { i as isApiConfigured, l as withTiming, n as getApi, o as setClient, r as getToken, t as api, u as endpoints } from "./api-BO8JA7Pf.esm.js";
5
- import { t as SDK_VERSION } from "./sdkVersion-C3_P-Qbq.esm.js";
3
+ import { C as subscribeEvent, n as eventModuleNames } from "./events-C7h7oaTE.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-BSnbg4HO.esm.js";
5
+ import { t as SDK_VERSION } from "./sdkVersion-KZROt6l3.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;
@@ -1,4 +1,4 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CQteqXfy.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-C7h7oaTE.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,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 };
@@ -1,4 +1,4 @@
1
- import { d as FieldDef } from "./types-B2FK_wYb.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;
@@ -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,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-DuD8TRJU.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-TisHEbBg.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
  /**
@@ -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-DuD8TRJU.js";
1
+ import { a as RegulationTypes } from "./types-TisHEbBg.js";
2
2
  //#region src/internal/fingerprint/types.d.ts
3
3
  type DeviceFingerprintResult = {
4
4
  success: boolean;
@@ -1,6 +1,6 @@
1
- import { a as AvatarAssetsOverrides } from "./createFaceAvatar-lYX0VTYs.js";
2
- import { n as Flow, s as SelfieConcealmentOption } from "./types-DuD8TRJU.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-TisHEbBg.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;
@@ -1,7 +1,7 @@
1
1
  import { t as PermissionResult } from "./types-BEwVKkLJ.js";
2
2
  import { t as CameraStream } from "./camera-9wWD-pwg.js";
3
3
  //#region src/modules/document-capture/types.d.ts
4
- type DocumentType = 'addressStatement' | 'otherDocument1' | 'otherDocument2' | 'otherDocument3' | 'v5cMultiPageLogbook' | 'circulationCard' | 'financeSettlement' | 'carInvoice' | 'capture' | 'processPoaOcr' | 'processLoaOcr' | 'processAsylumSeekerVisaZaf' | 'processBankStatementOCR' | 'processBankCheck' | 'processIneMex' | 'processColombiaRutForm' | 'processV5CLogbook' | 'processCarInvoice' | 'processCirculationCard' | 'processFinanceSettlement' | 'processW8BenOcr' | 'processW8BenEOcr' | 'w8Ben' | 'w8BenE';
4
+ type DocumentType = 'addressStatement' | 'otherDocument1' | 'otherDocument2' | 'otherDocument3' | 'v5cMultiPageLogbook' | 'circulationCard' | 'financeSettlement' | 'carInvoice' | 'capture' | 'processPoaOcr' | 'processLoaOcr' | 'processAsylumSeekerVisaZaf' | 'processBankStatementOCR' | 'processBankCheck' | 'processIneMex' | 'processColombiaRutForm' | 'processV5CLogbook' | 'processCarInvoice' | 'processCirculationCard' | 'processFinanceSettlement' | 'processW8BenOcr' | 'processW8BenEOcr' | 'w8Ben' | 'w8BenE' | 'signature' | 'document' | 'medicalDoc' | 'thirdId' | 'contract' | 'asyncProcessCarInvoice' | 'asyncProcessCirculationCard';
5
5
  declare const DOCUMENT_CAPTURE_ERROR_CODES: {
6
6
  readonly FILE_TOO_LARGE: "FILE_TOO_LARGE";
7
7
  readonly UPLOAD_FAILED: "UPLOAD_FAILED";
@@ -29,7 +29,10 @@ type DocumentCaptureConfig = {
29
29
  allowSkipDocumentCapture?: boolean;
30
30
  /** Backend ADDRESS config field. Inverted: `disableSkipPoa: true` → skip disabled. If both are set, `allowSkipDocumentCapture` takes precedence. */
31
31
  disableSkipPoa?: boolean;
32
- /** Tutorial screen title override */
32
+ /**
33
+ * Tutorial screen title override. Also sent as the `title` query parameter
34
+ * on uploads, matching Web SDK 1.
35
+ */
33
36
  title?: string;
34
37
  /** Tutorial screen text override */
35
38
  text?: string;
@@ -51,12 +54,15 @@ type CapturedDocument = {
51
54
  file: File;
52
55
  fileType: string;
53
56
  };
57
+ /** Mirrors the AddDocumentStatus enum returned by POST /omni/add/document/v3. */
58
+ type DocumentUploadStatus = 'SUCCESS' | 'ADD_NEXT_PAGE' | 'OPTIONAL_PAGE_CAPTURE' | 'PROCESS_DOC_ERROR' | 'SESSION_ERROR' | 'CLASSIFICATION_ERROR' | 'MULTI_PAGE_CLASSIFICATION_ERROR' | 'V5C_REGISTRATION_NUMBER_MISMATCH' | 'V5C_REFERENCE_NUMBER_MISMATCH' | 'V5C_NUMBER_MISMATCH' | 'FSL_AGREEMENT_REFERENCE_MISMATCH' | 'FSL_NAME_MISMATCH' | 'MANDATORY_FIELD_MISSING' | 'UNSUPPORTED_PAGE_NUMBERS' | 'VALIDATION_ERROR' | 'UNEXPECTED_ERROR' | 'FINALIZE_ERROR_NO_PAGES' | 'UNSUPPORTED_MP_DOCUMENT_TYPE';
54
59
  type DocumentUploadResponse = {
55
- success: boolean;
56
- status?: 'ADD_NEXT_PAGE' | 'OPTIONAL_PAGE_CAPTURE' | 'SUCCESS';
60
+ /** Legacy flag returned by the v2 endpoints. v3 responses only carry `status`. */
61
+ success?: boolean;
62
+ status?: DocumentUploadStatus;
57
63
  };
58
64
  type FinalizeDocumentResponse = {
59
- status?: string;
65
+ status?: DocumentUploadStatus;
60
66
  success?: boolean;
61
67
  };
62
68
  type DocumentCaptureResolvedConfig = {
@@ -94,6 +100,8 @@ type DocumentCaptureContext = {
94
100
  helpOpen: boolean;
95
101
  progress: number;
96
102
  error: DocumentCaptureErrorCode | DocumentCaptureFinalizeErrorCode | undefined;
103
+ /** Server status that rejected the last upload or finalize call, if any. */
104
+ rejectionStatus: DocumentUploadStatus | undefined;
97
105
  attemptsRemaining: number;
98
106
  pageNumber: number;
99
107
  nextPageType: DocumentCaptureNextPageType;
@@ -102,4 +110,4 @@ type DocumentCaptureInput = {
102
110
  config: DocumentCaptureConfig;
103
111
  };
104
112
  //#endregion
105
- export { DocumentCaptureErrorCode as a, DocumentType as c, DocumentCaptureContext as i, DocumentUploadResponse as l, DOCUMENT_CAPTURE_ERROR_CODES as n, DocumentCaptureInput as o, DocumentCaptureConfig as r, DocumentCaptureNextPageType as s, CapturedDocument as t, FinalizeDocumentResponse as u };
113
+ export { DocumentCaptureErrorCode as a, DocumentType as c, FinalizeDocumentResponse as d, DocumentCaptureContext as i, DocumentUploadResponse as l, DOCUMENT_CAPTURE_ERROR_CODES as n, DocumentCaptureInput as o, DocumentCaptureConfig as r, DocumentCaptureNextPageType as s, CapturedDocument as t, DocumentUploadStatus as u };
@@ -1,43 +1,4 @@
1
- //#region src/shared/types.d.ts
2
- /** A single form field definition for dynamic rendering. */
3
- type FieldDef = {
4
- name: string;
5
- type: 'text' | 'tel' | 'date' | 'dropdown' | 'phone' | 'radio';
6
- label: string;
7
- displayLabel?: string;
8
- placeholder?: string;
9
- placeholderParams?: Record<string, string>;
10
- required: boolean;
11
- optional?: boolean;
12
- maxLength?: number;
13
- options?: {
14
- value: string;
15
- label: string;
16
- }[];
17
- readonly?: boolean;
18
- section?: string;
19
- disableCountrySelector?: boolean;
20
- };
21
- /** An address suggestion returned by the address autocomplete API. */
22
- type AddressSuggestion = {
23
- id: string | number;
24
- label: string;
25
- street?: string;
26
- city?: string;
27
- stateCode?: string;
28
- postalCode?: string;
29
- houseNumber?: string;
30
- countryCode?: string;
31
- };
32
- //#endregion
33
- //#region src/shared/validators/textRules.d.ts
34
- /**
35
- * The general-purpose form-definition rules from `vocabulary.json`, as pure
36
- * checks on a non-empty value. Callers skip empty values: requiredness is its
37
- * own rule.
38
- */
39
- type CharacterClass = 'letter' | 'digit' | 'space';
40
- //#endregion
1
+ import { r as FieldDef, t as CharacterClass } from "./textRules-D4NRinKY.js";
41
2
  //#region src/modules/ekyc/types.d.ts
42
3
  type EkycFieldSource = 'user_input' | 'document_scan' | 'poa_document' | 'phone_module_input' | 'email_module_input' | false;
43
4
  type EkycVerificationFields = {
@@ -68,6 +29,8 @@ type EkycDisplayModes = Partial<Record<keyof EkycVerificationFields, EkycFieldDi
68
29
  type EkycModuleConfig = {
69
30
  source: string;
70
31
  enablePhoneRisk?: boolean;
32
+ /** The backend runs the checks from earlier modules' data; the SDK skips the step. */
33
+ autoExecution?: boolean;
71
34
  checkName?: boolean;
72
35
  nameSource?: string;
73
36
  checkEmail?: boolean;
@@ -132,6 +95,8 @@ type EkycConfig = {
132
95
  source?: string;
133
96
  fieldsCountry?: string;
134
97
  enablePhoneRisk?: boolean;
98
+ /** The backend runs the checks from earlier modules' data; the SDK skips the step. */
99
+ autoExecution?: boolean;
135
100
  /** Each group's display mode; a group that is absent is editable. */
136
101
  displayModes?: EkycDisplayModes;
137
102
  };
@@ -167,6 +132,9 @@ type EkycValidationRule = ({
167
132
  type: 'nameCharacters';
168
133
  } | {
169
134
  type: 'notFuture';
135
+ } | {
136
+ type: 'maxAge';
137
+ years: number;
170
138
  } | {
171
139
  type: 'phoneDigits';
172
140
  country: string;
@@ -246,4 +214,4 @@ type EkycFieldDef = FieldDef & {
246
214
  type EkycInputFormat = 'uppercase' | 'stripSeparators';
247
215
  type RiskAddon = 'phoneCheck' | 'advancedPhoneCheck' | 'emailCheck' | 'phoneProfile';
248
216
  //#endregion
249
- export { EkycFormValues as a, EkycValidationErrors as c, FieldDef as d, EkycFieldDisplayMode as i, RiskAddon as l, EkycDisplayModes as n, EkycModuleConfig as o, EkycFieldDef as r, EkycValidationError as s, EkycConfig as t, AddressSuggestion as u };
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-DuD8TRJU.js";
1
+ import { a as RegulationTypes } from "./types-TisHEbBg.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,6 +1,8 @@
1
- import { l as RiskAddon } from "./types-B2FK_wYb.js";
2
- import "./createFaceAvatar-lYX0VTYs.js";
1
+ import { u as RiskAddon } from "./types-DEa3taWc.js";
2
+ import "./createFaceAvatar-BimBTONm.js";
3
3
  import { t as WatchlistForBusinessConfig } from "./types-B9C8W01q.js";
4
+ import { n as KybChecksConfig } from "./types-CTaL0XJz.js";
5
+ import { c as EkycPrefillModuleConfig } from "./types-B-PIc0en.js";
4
6
  //#region src/internal/avatar/concealment.d.ts
5
7
  /**
6
8
  * Backend-aligned selfie/auth face-concealment options. The backend returns a
@@ -111,7 +113,7 @@ type FlowModuleConfig = {
111
113
  }[];
112
114
  };
113
115
  DOCUMENT_CAPTURE: {
114
- processingType: 'capture' | 'processPoaOcr' | 'processLoaOcr' | 'processAsylumSeekerVisaZaf' | 'processBankStatementOCR' | 'processBankCheck' | 'processIneMex' | 'processColombiaRutForm' | 'processV5CLogbook' | 'processCarInvoice' | 'processCirculationCard' | 'processFinanceSettlement';
116
+ processingType: 'capture' | 'processPoaOcr' | 'processLoaOcr' | 'processAsylumSeekerVisaZaf' | 'processBankStatementOCR' | 'processBankCheck' | 'processIneMex' | 'processColombiaRutForm' | 'processV5CLogbook' | 'processCarInvoice' | 'processCirculationCard' | 'processFinanceSettlement' | 'processW8BenOcr' | 'processW8BenEOcr';
115
117
  title: string;
116
118
  text: string;
117
119
  allowSkipDocumentCapture: boolean;
@@ -126,8 +128,12 @@ type FlowModuleConfig = {
126
128
  checkUniqueBeneficialOwner: boolean;
127
129
  uniqueBeneficialOwnerSource: 'userInput';
128
130
  };
131
+ EKYB_CHECKS: KybChecksConfig;
132
+ EKYC_PREFILL: EkycPrefillModuleConfig;
129
133
  EXTERNAL_VERIFICATION: {
130
134
  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';
135
+ /** The backend runs the checks from earlier modules' data; the SDK skips the step. */
136
+ autoExecution?: boolean;
131
137
  checkName: boolean;
132
138
  nameSource: 'userInput' | 'document' | 'poa' | 'phoneModuleInput' | 'emailModuleInput';
133
139
  checkEmail: boolean;
@@ -205,8 +211,10 @@ type FlowModuleConfig = {
205
211
  ID_OCR: {
206
212
  editableOcr: boolean;
207
213
  cpfOnly?: boolean;
208
- /** When true, OCR is collected for the second captured ID after the first. */
214
+ /** Legacy combined review when ocrDocument is omitted. False disables second-ID review. */
209
215
  secondId?: boolean;
216
+ /** Review only this document instead of the combined first/second sequence. */
217
+ ocrDocument?: 'first' | 'second';
210
218
  /** Set by orchestrated flow UI from the active session (`flow.flowId`). */
211
219
  flowId?: string;
212
220
  };
@@ -0,0 +1,6 @@
1
+ import { i as FlowModuleConfig } from "./types-TisHEbBg.js";
2
+ import { t as BaseFaceCaptureConfig } from "./types-CgihAhT_.js";
3
+ //#region src/modules/authentication/types.d.ts
4
+ type AuthenticationConfig = FlowModuleConfig['AUTHENTICATION'] & BaseFaceCaptureConfig;
5
+ //#endregion
6
+ export { AuthenticationConfig as t };
@@ -22,5 +22,18 @@ function stripUrlQueryAndFragment(url) {
22
22
  return url.split(/[?#]/, 1)[0];
23
23
  }
24
24
  }
25
+ /**
26
+ * Exact origin (`scheme://host[:port]`) of an absolute `http:` or `https:`
27
+ * URL, or `undefined` for anything else (relative, unparsable, other schemes).
28
+ */
29
+ function getHttpUrlOrigin(url) {
30
+ try {
31
+ const parsed = new URL(url);
32
+ if (parsed.protocol !== "https:" && parsed.protocol !== "http:") return;
33
+ return parsed.origin;
34
+ } catch {
35
+ return;
36
+ }
37
+ }
25
38
  //#endregion
26
- export { stripUrlQueryAndFragment as i, getUrlSearchParam as n, resolveAgainstPageOrigin as r, buildUrlWithSearchParams as t };
39
+ export { stripUrlQueryAndFragment as a, resolveAgainstPageOrigin as i, getHttpUrlOrigin as n, getUrlSearchParam as r, buildUrlWithSearchParams as t };