@incodetech/core 2.4.1-agentic.9 → 2.5.0-agentic

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (308) hide show
  1. package/dist/Actor-DqjOqDfU.d.ts +1 -0
  2. package/dist/{BaseWasmProvider-Bq3OHo7P.d.ts → BaseWasmProvider-CPdofn7R.d.ts} +3 -5
  3. package/dist/{CameraCompositor-DN7NkJzV.esm.js → CameraCompositor-C7N1N61V.esm.js} +55 -1
  4. package/dist/{FaceDetectionProvider-CHpscouN.esm.js → FaceDetectionProvider-Dv9iXub0.esm.js} +21 -13
  5. package/dist/{IIdCaptureCapability-CGcEt2Cw.d.ts → IIdCaptureCapability-CAxToGns.d.ts} +3 -3
  6. package/dist/{IWasmUtilCapability-Cqiaxydi.d.ts → IWasmUtilCapability-CLWIYHB4.d.ts} +7 -6
  7. package/dist/Manager-BvXAwDv9.esm.js +125 -0
  8. package/dist/{Manager-C9T5amUN.d.ts → Manager-DufwKlav.d.ts} +1 -7
  9. package/dist/{MotionSensorProvider-DYxh8TjR.esm.js → MotionSensorProvider-X4_2eBGd.esm.js} +15 -0
  10. package/dist/{MultipartRecordingProvider-BfQPSgSO.esm.js → MultipartRecordingProvider-BtMQZEbg.esm.js} +1 -1
  11. package/dist/{StreamCanvasCapture-C3xNfOsv.d.ts → StreamCanvasCapture-BqaHTJF0.d.ts} +25 -3
  12. package/dist/{StreamCanvasCapture-C9jtgBdT.esm.js → StreamCanvasCapture-CXd87trH.esm.js} +18 -3
  13. package/dist/{WasmUtilProvider-Dp2V-Uct.esm.js → WasmUtilProvider-DVFDFlIL.esm.js} +63 -6
  14. package/dist/{WorkerEncoderRecordingProvider-CyCrQnZR.esm.js → WorkerEncoderRecordingProvider-BO7urYwT.esm.js} +1 -1
  15. package/dist/{addressSearch-D6cKPWmk.esm.js → addressSearch-BKlynuBr.esm.js} +6 -7
  16. package/dist/{advanceableErrors-k-U-cL5m.esm.js → advanceableErrors-CxZyPRyh.esm.js} +3 -0
  17. package/dist/ae-signature.d.ts +2 -2
  18. package/dist/ae-signature.esm.js +1 -1
  19. package/dist/antifraud.d.ts +1 -1
  20. package/dist/antifraud.esm.js +2 -2
  21. package/dist/{antifraudManager-CbIwM35x.esm.js → antifraudManager-BI2zr7YX.esm.js} +5 -3
  22. package/dist/{antifraudManager-DbGCvlJs.d.ts → antifraudManager-BxfCsyA7.d.ts} +3 -3
  23. package/dist/{antifraudStateMachine-qNNXrlsP.esm.js → antifraudStateMachine-TWUu8wLN.esm.js} +4 -6
  24. package/dist/{api-C_P9YXbL.esm.js → api-BNxrW8xK.esm.js} +4 -1
  25. package/dist/{apiError-BeWqIYu8.esm.js → apiError-BAfdBGxH.esm.js} +1 -1
  26. package/dist/{attemptCarry-BaAXPR_w.esm.js → attemptCarry-DWM8lV9V.esm.js} +1 -1
  27. package/dist/authentication.d.ts +3 -3
  28. package/dist/authentication.esm.js +2 -2
  29. package/dist/{authenticationManager-DKLRA91K.d.ts → authenticationManager-BJElkTsj.d.ts} +2 -2
  30. package/dist/{authenticationManager-CTHFl6dl.esm.js → authenticationManager-DFzByAYo.esm.js} +7 -6
  31. package/dist/{authenticationStateMachine-D-SOzH8C.esm.js → authenticationStateMachine-CKTOhwwc.esm.js} +50 -18
  32. package/dist/avatar.d.ts +1 -1
  33. package/dist/{backCameraStream-DS1oDiUq.esm.js → backCameraStream-6qVHvj76.esm.js} +2 -2
  34. package/dist/{browser-pQZA35G2-DJEJnmCd.esm.js → browser-pQZA35G2-CG3C-xGt.esm.js} +1 -1
  35. package/dist/calendarDate-DcqGuEht.esm.js +35 -0
  36. package/dist/{callback-645_omgz.d.ts → callback-BmjJ1G-5.d.ts} +1 -1
  37. package/dist/camera-9yYDUOsO.d.ts +5 -0
  38. package/dist/{camera-E_Kcre4O.esm.js → camera-CJKApt0x.esm.js} +10 -3
  39. package/dist/camera.d.ts +7 -3
  40. package/dist/camera.esm.js +1 -1
  41. package/dist/certificate-issuance.d.ts +1 -1
  42. package/dist/certificate-issuance.esm.js +2 -2
  43. package/dist/{certificateIssuanceManager-Dr8A4Lgr.d.ts → certificateIssuanceManager-BcYhxO63.d.ts} +4 -3
  44. package/dist/{certificateIssuanceManager-CrF3wjCH.esm.js → certificateIssuanceManager-P44yBRop.esm.js} +5 -3
  45. package/dist/{certificateIssuanceStateMachine-uSD9IkcV.esm.js → certificateIssuanceStateMachine-BPBrILt6.esm.js} +3 -3
  46. package/dist/{cnpj-Co1ottYN.esm.js → cnpj-Bl_olpdX.esm.js} +5 -3
  47. package/dist/consent.d.ts +1 -1
  48. package/dist/consent.esm.js +2 -2
  49. package/dist/{consentManager-BD7wwgat.esm.js → consentManager-D43w2ms-.esm.js} +5 -3
  50. package/dist/{consentManager-7aHaehwF.d.ts → consentManager-Duzd8paN.d.ts} +4 -3
  51. package/dist/{consentStateMachine-BAiLDE3D.esm.js → consentStateMachine-CLK8PfM4.esm.js} +6 -9
  52. package/dist/{cpf-BIADjddF.esm.js → cpf-DDXMTLYr.esm.js} +1 -1
  53. package/dist/{createFaceAvatar-lYX0VTYs.d.ts → createFaceAvatar-Ct9QrQ66.d.ts} +1 -1
  54. package/dist/cross-document-data-match.d.ts +1 -1
  55. package/dist/cross-document-data-match.esm.js +1 -1
  56. package/dist/{crossDocumentDataMatchManager-CUc1uACE.esm.js → crossDocumentDataMatchManager-Cag_bcyW.esm.js} +6 -5
  57. package/dist/{crossDocumentDataMatchManager-yCWCOzcU.d.ts → crossDocumentDataMatchManager-crZcIUSY.d.ts} +3 -3
  58. package/dist/curp-DZGvefg3.esm.js +14 -0
  59. package/dist/curp-validation.d.ts +1 -1
  60. package/dist/curp-validation.esm.js +2 -2
  61. package/dist/{curpValidationManager-DBfZSQbu.esm.js → curpValidationManager-C6WmQToS.esm.js} +6 -4
  62. package/dist/{curpValidationManager-Crz3bnCo.d.ts → curpValidationManager-CmL52FU8.d.ts} +4 -4
  63. package/dist/{curpValidationStateMachine-DyAEyScb.esm.js → curpValidationStateMachine-BbJ4YAzE.esm.js} +16 -17
  64. package/dist/custom-fields.d.ts +1 -1
  65. package/dist/custom-fields.esm.js +1 -1
  66. package/dist/custom-watchlist.d.ts +1 -1
  67. package/dist/custom-watchlist.esm.js +2 -2
  68. package/dist/{customFieldsManager-BZhIPyaY.esm.js → customFieldsManager-BBy6X9nh.esm.js} +15 -17
  69. package/dist/{customFieldsManager-CF-cO8ap.d.ts → customFieldsManager-CdWTbsew.d.ts} +3 -3
  70. package/dist/{customWatchlistManager-B4cmxi__.esm.js → customWatchlistManager-CtBMy2EF.esm.js} +5 -3
  71. package/dist/{customWatchlistManager-DolUswyR.d.ts → customWatchlistManager-lJrveDS4.d.ts} +3 -3
  72. package/dist/{customWatchlistStateMachine-ZZoDGRAZ.esm.js → customWatchlistStateMachine-SS2ssNCg.esm.js} +4 -6
  73. package/dist/deepsightCaptureConfig-Nm_K8twx.esm.js +70 -0
  74. package/dist/{deepsightLoader-je1YxHgT.esm.js → deepsightLoader-BInnND1H.esm.js} +7 -6
  75. package/dist/{definitionSource-BHNxbuiv.esm.js → definitionSource-B-Z2EgJJ.esm.js} +51 -1
  76. package/dist/{desktopCameraElection-m2dAj6Zu.esm.js → desktopCameraElection-JNBOXqvK.esm.js} +110 -13
  77. package/dist/device.d.ts +3 -3
  78. package/dist/device.esm.js +16 -16
  79. package/dist/document-capture.d.ts +2 -2
  80. package/dist/document-capture.esm.js +2 -2
  81. package/dist/document-signature.d.ts +123 -0
  82. package/dist/document-signature.esm.js +149 -0
  83. package/dist/{documentCaptureManager-v57klTso.esm.js → documentCaptureManager-CGDtkfWj.esm.js} +5 -3
  84. package/dist/{documentCaptureManager-DDfviFg0.d.ts → documentCaptureManager-sJWgqtUy.d.ts} +7 -6
  85. package/dist/{documentCaptureStateMachine-CgCtimSa.esm.js → documentCaptureStateMachine-flAt9D4q.esm.js} +11 -13
  86. package/dist/documentSignatureStateMachine-DrRyICFT.esm.js +219 -0
  87. package/dist/dynamic-forms.d.ts +1 -1
  88. package/dist/dynamic-forms.esm.js +2 -2
  89. package/dist/{dynamicFormsManager-9kwY8Bf5.d.ts → dynamicFormsManager-C45pTncO.d.ts} +3 -3
  90. package/dist/{dynamicFormsManager-BKWJZfkn.esm.js → dynamicFormsManager-CxLq2KzT.esm.js} +5 -3
  91. package/dist/{dynamicFormsStateMachine-CQN8p1ux.esm.js → dynamicFormsStateMachine-By-maT_4.esm.js} +12 -13
  92. package/dist/ekyb.d.ts +3 -3
  93. package/dist/ekyb.esm.js +3 -3
  94. package/dist/{ekybManager-BLOkwmWO.d.ts → ekybManager-BflWuTe4.d.ts} +3 -3
  95. package/dist/{ekybManager-BD6HTwFJ.esm.js → ekybManager-CE19Pcdb.esm.js} +5 -3
  96. package/dist/{ekybStateMachine-3kceTymI.esm.js → ekybStateMachine-q7JQ-x9l.esm.js} +1214 -91
  97. package/dist/{ekybUtils-Cw8Ta9Qi.esm.js → ekybUtils-Z9MhFAer.esm.js} +11 -1
  98. package/dist/ekyc-prefill.d.ts +3 -3
  99. package/dist/ekyc-prefill.esm.js +2 -2
  100. package/dist/ekyc.d.ts +3 -3
  101. package/dist/ekyc.esm.js +3 -3
  102. package/dist/{ekycManager-CERRvIfg.d.ts → ekycManager-BKVQazAb.d.ts} +48 -7
  103. package/dist/{ekycManager-DawJq3Jo.esm.js → ekycManager-p3uenUEi.esm.js} +39 -16
  104. package/dist/{ekycPrefillManager-DLNmToWT.d.ts → ekycPrefillManager-BcLhkpp8.d.ts} +10 -9
  105. package/dist/{ekycPrefillManager-D_8NJzZf.esm.js → ekycPrefillManager-gPX3XE7u.esm.js} +3 -2
  106. package/dist/{ekycPrefillStateMachine-C-JAvkH3.esm.js → ekycPrefillStateMachine-SBnBKPGA.esm.js} +12 -13
  107. package/dist/{ekycRules-BLX7Elcb.esm.js → ekycRules-BH_Ll_0A.esm.js} +201 -38
  108. package/dist/{ekycStateMachine-qvQ-b4IY.esm.js → ekycStateMachine-D0NAHzS7.esm.js} +1031 -132
  109. package/dist/{ekycUtils-Drx8ImpN.esm.js → ekycUtils-DEvtEyBI.esm.js} +55 -43
  110. package/dist/electronic-signature.d.ts +1 -1
  111. package/dist/electronic-signature.esm.js +1 -1
  112. package/dist/{electronicSignatureManager-DTSLOvKR.d.ts → electronicSignatureManager-5tYz-a4o.d.ts} +4 -3
  113. package/dist/{electronicSignatureManager-u3UBhWw_.esm.js → electronicSignatureManager-C1M-Yxf2.esm.js} +11 -17
  114. package/dist/email.d.ts +1 -1
  115. package/dist/email.esm.js +2 -2
  116. package/dist/{emailManager-BSaGg1Gl.esm.js → emailManager-DWnhEsUf.esm.js} +5 -3
  117. package/dist/{emailManager-Dy6omJVp.d.ts → emailManager-pM7ZPuMa.d.ts} +3 -3
  118. package/dist/{emailStateMachine-CaoPZtZN.esm.js → emailStateMachine--T9PHflK.esm.js} +5 -7
  119. package/dist/events-ChMS-UzR.esm.js +299 -0
  120. package/dist/events.d.ts +4 -1
  121. package/dist/events.esm.js +2 -1
  122. package/dist/extensibility.d.ts +42 -42
  123. package/dist/extensibility.esm.js +38 -38
  124. package/dist/face-match.d.ts +1 -1
  125. package/dist/face-match.esm.js +2 -2
  126. package/dist/{faceCaptureManagerFactory-DKJUjsV2.esm.js → faceCaptureManagerFactory-18QW0lmV.esm.js} +29 -12
  127. package/dist/{faceCaptureManagerFactory-ZudYP6Qp.d.ts → faceCaptureManagerFactory-CHqmyOjM.d.ts} +35 -16
  128. package/dist/{faceCaptureSetup-CZzv26ip.esm.js → faceCaptureSetup-CFToXwHy.esm.js} +115 -74
  129. package/dist/{faceMatchManager-Z4UDLwAv.d.ts → faceMatchManager-C5b5WtcY.d.ts} +12 -5
  130. package/dist/{faceMatchManager-qPJsa5Ac.esm.js → faceMatchManager-DIStK4qi.esm.js} +5 -3
  131. package/dist/{faceMatchStateMachine-D90ZHY1r.esm.js → faceMatchStateMachine-DagrRdo2.esm.js} +49 -34
  132. package/dist/{feature-management-BMUPPAzI.esm.js → feature-management-BlscKbeV.esm.js} +3 -2
  133. package/dist/feature-management.esm.js +1 -1
  134. package/dist/field-comparison.d.ts +1 -1
  135. package/dist/field-comparison.esm.js +1 -1
  136. package/dist/{fieldComparisonManager-BLLj_Ey1.esm.js → fieldComparisonManager-BnWBtMN7.esm.js} +7 -7
  137. package/dist/{fieldComparisonManager-CUX4gza2.d.ts → fieldComparisonManager-mFOHRhVd.d.ts} +3 -3
  138. package/dist/fiscal-qr.d.ts +1 -1
  139. package/dist/fiscal-qr.esm.js +1 -1
  140. package/dist/{fiscalQrManager-Bh3rxb7Y.esm.js → fiscalQrManager-BxXaLhin.esm.js} +9 -8
  141. package/dist/{fiscalQrManager-D0Iy7EKR.d.ts → fiscalQrManager-DFnFVpP9.d.ts} +3 -3
  142. package/dist/flow-events.d.ts +1 -1
  143. package/dist/flow.d.ts +50 -14
  144. package/dist/flow.esm.js +214 -58
  145. package/dist/{flowCompletionService-DgA2VEq4.esm.js → flowCompletionService-DNLssMAg.esm.js} +2 -2
  146. package/dist/{flowServices-aJ5kGxBd.esm.js → flowServices-Bzq3piUR.esm.js} +378 -18
  147. package/dist/geolocation.d.ts +1 -1
  148. package/dist/geolocation.esm.js +2 -2
  149. package/dist/{geolocationManager-6e1i9UIR.d.ts → geolocationManager-CENrvxpK.d.ts} +4 -3
  150. package/dist/{geolocationManager-BA57nCxj.esm.js → geolocationManager-DoLbpx5e.esm.js} +5 -3
  151. package/dist/{geolocationStateMachine-3-d1ECCh.esm.js → geolocationStateMachine-d5_E7gAm.esm.js} +8 -10
  152. package/dist/{getDeviceClass-DoIWuKI8.esm.js → getDeviceClass-Dcy9erbl.esm.js} +1 -1
  153. package/dist/government-validation.d.ts +1 -1
  154. package/dist/government-validation.esm.js +2 -2
  155. package/dist/{governmentValidationManager-D5HkBqfr.esm.js → governmentValidationManager-CaZxyEOO.esm.js} +5 -3
  156. package/dist/{governmentValidationManager-B82zOut8.d.ts → governmentValidationManager-De_vU7bm.d.ts} +4 -4
  157. package/dist/{governmentValidationStateMachine-BwMClTqC.esm.js → governmentValidationStateMachine-DeHHhlcf.esm.js} +4 -6
  158. package/dist/home.d.ts +4 -3
  159. package/dist/home.esm.js +4 -2
  160. package/dist/http.esm.js +1 -1
  161. package/dist/id-ocr.d.ts +1 -1
  162. package/dist/id-ocr.esm.js +3 -3
  163. package/dist/id-selfie-flow.d.ts +7 -6
  164. package/dist/id-selfie-flow.esm.js +14 -13
  165. package/dist/id-verification.d.ts +1 -1
  166. package/dist/id-verification.esm.js +2 -2
  167. package/dist/id.d.ts +5 -5
  168. package/dist/id.esm.js +3 -3
  169. package/dist/{idCaptureDefaults-Dszuq9ng.esm.js → idCaptureDefaults-R3rHuTOE.esm.js} +4 -4
  170. package/dist/{idCaptureManager-NRGuCVv2.d.ts → idCaptureManager-CgkQW3Xc.d.ts} +24 -13
  171. package/dist/{idCaptureManager-B_TyUA3w.esm.js → idCaptureManager-D_YGMeCW.esm.js} +30 -22
  172. package/dist/{idCaptureServices-C6FUQ76N.esm.js → idCaptureServices-CP6AxsFW.esm.js} +17 -25
  173. package/dist/{idCaptureStateMachine-Cr8WdGyp.esm.js → idCaptureStateMachine-BdBtGQZP.esm.js} +114 -96
  174. package/dist/{idOcrCpfUtils-Nfln1Psb.esm.js → idOcrCpfUtils-D5Gwskxu.esm.js} +1 -1
  175. package/dist/{idOcrManager-B5xeI2lg.d.ts → idOcrManager-C0C7lFGd.d.ts} +4 -3
  176. package/dist/{idOcrManager-BMK2oou0.esm.js → idOcrManager-XTbpfHoF.esm.js} +5 -3
  177. package/dist/{idOcrStateMachine-RjNycN07.esm.js → idOcrStateMachine-B-00PgPh.esm.js} +13 -10
  178. package/dist/{idVerificationManager-4wY-Ee4j.esm.js → idVerificationManager-B4NYLlUl.esm.js} +5 -3
  179. package/dist/{idVerificationManager-BJapZfpy.d.ts → idVerificationManager-B6R8xNZq.d.ts} +4 -3
  180. package/dist/{idVerificationStateMachine-Bj00uWvh.esm.js → idVerificationStateMachine-B48Ikl-7.esm.js} +4 -6
  181. package/dist/identity-reuse.d.ts +2 -2
  182. package/dist/identity-reuse.esm.js +2 -2
  183. package/dist/identity-search.d.ts +97 -0
  184. package/dist/identity-search.esm.js +96 -0
  185. package/dist/{identityReuseManager-B1birg5X.d.ts → identityReuseManager-CZ-qJ_Aa.d.ts} +84 -17
  186. package/dist/{identityReuseManager-CCZ-ES2E.esm.js → identityReuseManager-tFeYm_So.esm.js} +9 -4
  187. package/dist/{identityReuseStateMachine-BtpkGpYZ.esm.js → identityReuseStateMachine-Ckf39qFu.esm.js} +24 -31
  188. package/dist/{index-DlVDVTcf.d.ts → index-CNck5TLp.d.ts} +1 -1
  189. package/dist/{index-BGnYn_4J.d.ts → index-CoePktWH.d.ts} +2 -2
  190. package/dist/index-DHuAkTe0.d.ts +1 -0
  191. package/dist/index.d.ts +1 -1
  192. package/dist/index.esm.js +1 -1
  193. package/dist/{invokeOnCaptureCallback-BkvXSZfa.esm.js → invokeOnCaptureCallback-DNQX9k5e.esm.js} +1 -1
  194. package/dist/kyb-checks.d.ts +1 -1
  195. package/dist/kyb-checks.esm.js +2 -2
  196. package/dist/{kybChecksManager-CblEL97E.d.ts → kybChecksManager-B7Di9auB.d.ts} +3 -3
  197. package/dist/{kybChecksManager-x2nBdasv.esm.js → kybChecksManager-DP76y-Qz.esm.js} +3 -2
  198. package/dist/{kybChecksStateMachine-DdWSo3jQ.esm.js → kybChecksStateMachine-OKLT8Zoc.esm.js} +11 -14
  199. package/dist/mandatory-consent.d.ts +2 -2
  200. package/dist/mandatory-consent.esm.js +2 -2
  201. package/dist/{mandatoryConsentManager-C9JJGENL.esm.js → mandatoryConsentManager-NX1lz6nk.esm.js} +5 -3
  202. package/dist/{mandatoryConsentManager-JNeVXgK8.d.ts → mandatoryConsentManager-kzr5kdc_.d.ts} +5 -4
  203. package/dist/{mandatoryConsentStateMachine-DLNIGElA.esm.js → mandatoryConsentStateMachine-D1J2NQSI.esm.js} +6 -9
  204. package/dist/{mediaRecorderOptions-B9-IEVtV.esm.js → mediaRecorderOptions-Di_V9TnZ.esm.js} +21 -4
  205. package/dist/{multipartRecordingService-OmSzHBqh.esm.js → multipartRecordingService-Cz-cWrpV.esm.js} +2 -2
  206. package/dist/{permissionGuards-DFV-Ws0a.esm.js → permissionGuards-Cyh71hOt.esm.js} +1 -1
  207. package/dist/{permissionServices-D190ATGD.esm.js → permissionServices-BrtDMB0Z.esm.js} +23 -9
  208. package/dist/phone.d.ts +1 -1
  209. package/dist/phone.esm.js +2 -2
  210. package/dist/phoneFormat-C3q0Ukh4.esm.js +27 -0
  211. package/dist/{phoneManager-BylOWecM.esm.js → phoneManager-D1QPNbu0.esm.js} +5 -3
  212. package/dist/{phoneManager-6nrJkvkG.d.ts → phoneManager-VO1HEoUZ.d.ts} +3 -3
  213. package/dist/{phoneServices-Crge7uSV.esm.js → phoneServices-DC7AuUed.esm.js} +3 -7
  214. package/dist/{phoneStateMachine-CHnhCS-4.esm.js → phoneStateMachine-CxCPxTIy.esm.js} +4 -4
  215. package/dist/{platform-aPh7gTWh.esm.js → platform-GIg4uPWe.esm.js} +1 -4
  216. package/dist/{processFaceMatch-BveUAHts.esm.js → processFaceMatch-BQoiqLVh.esm.js} +1 -1
  217. package/dist/qe-signature.d.ts +2 -2
  218. package/dist/qe-signature.esm.js +1 -1
  219. package/dist/{recordingService-BUqAQd8F.esm.js → recordingService-CSCvD2tB.esm.js} +17 -10
  220. package/dist/redirect-to-mobile.d.ts +1 -1
  221. package/dist/redirect-to-mobile.esm.js +2 -2
  222. package/dist/{redirectToMobileManager-Dm9ctRCC.d.ts → redirectToMobileManager-Db99n9Yu.d.ts} +4 -3
  223. package/dist/{redirectToMobileManager-DUpLyXsq.esm.js → redirectToMobileManager-Dcpg5GfP.esm.js} +7 -4
  224. package/dist/{redirectToMobileStateMachine-D0DW4y-f.esm.js → redirectToMobileStateMachine-BMehrtVP.esm.js} +18 -21
  225. package/dist/{resolveForm-f9PhUo9j.esm.js → resolveForm-DaaQSVWp.esm.js} +7 -4
  226. package/dist/{runChildModule-BTMOZdMM.esm.js → runChildModule-DNEmc7of.esm.js} +8 -6
  227. package/dist/{sdkVersion-CinXzhdk.esm.js → sdkVersion-etdZfyCR.esm.js} +1 -1
  228. package/dist/selfie.d.ts +6 -6
  229. package/dist/selfie.esm.js +15 -13
  230. package/dist/{selfieErrorUtils-D92PpZGe.esm.js → selfieErrorUtils-DT-uhK20.esm.js} +1 -1
  231. package/dist/{selfieManager-DX9Ejy4x.esm.js → selfieManager-CdS6a7Q8.esm.js} +7 -6
  232. package/dist/{selfieManager-BPOlD-UN.d.ts → selfieManager-DrBYj5kA.d.ts} +2 -2
  233. package/dist/{selfieStateMachine-BfJ5mJ57.esm.js → selfieStateMachine-ChCl3nyf.esm.js} +5 -5
  234. package/dist/{session-CswNE2eZ.esm.js → session-VXYuRYzb.esm.js} +5 -4
  235. package/dist/session.d.ts +3 -13
  236. package/dist/session.esm.js +5 -5
  237. package/dist/{sessionInitializer-DFtIRfDh.esm.js → sessionInitializer-BT_CmYcX.esm.js} +54 -79
  238. package/dist/{setup-Bl3CRduw.esm.js → setup-BXrgDdfx.esm.js} +14 -12
  239. package/dist/{setup-prV5HQCQ.d.ts → setup-rcXgYUcY.d.ts} +6 -5
  240. package/dist/signature.d.ts +1 -1
  241. package/dist/signature.esm.js +2 -2
  242. package/dist/{signatureManager-QlegdTo3.esm.js → signatureManager-B737Gkvk.esm.js} +5 -3
  243. package/dist/{signatureManager-BpVt_Jv7.d.ts → signatureManager-daT_8fj_.d.ts} +3 -3
  244. package/dist/{signatureStateMachine-DFbbbFwg.esm.js → signatureStateMachine-B-QG7fk0.esm.js} +5 -7
  245. package/dist/{spawn-D9jgw9pW.d.ts → spawn-COZKetCS.d.ts} +1 -1
  246. package/dist/{stats-Bv5PiWvo.esm.js → stats-CrqhpKkP.esm.js} +1 -1
  247. package/dist/stats.esm.js +1 -1
  248. package/dist/step-up.d.ts +3 -2
  249. package/dist/step-up.esm.js +2 -1
  250. package/dist/{tri-BUFivnaE.esm.js → tri-BD9z6z0w.esm.js} +6 -3
  251. package/dist/tri.d.ts +1 -1
  252. package/dist/tri.esm-DYdFtcDH.esm.js +3105 -0
  253. package/dist/tri.esm.js +1 -1
  254. package/dist/trueSight-BymJD5cW.esm.js +1 -0
  255. package/dist/{trueSightService-CDbmG-Mi.esm.js → trueSightService-BwyLhIAo.esm.js} +10 -8
  256. package/dist/trust-graph.d.ts +87 -27
  257. package/dist/trust-graph.esm.js +6 -25
  258. package/dist/trustGraphStateMachine-BxvReuo1.esm.js +58 -0
  259. package/dist/{types-CquDWYfv.d.ts → types-4Re9FSOw.d.ts} +68 -6
  260. package/dist/{types-D9vIGFbl.d.ts → types-B-PIc0en.d.ts} +1 -1
  261. package/dist/types-BNkzXOXE.d.ts +45 -0
  262. package/dist/types-BtrJ5fkm.d.ts +6 -0
  263. package/dist/{types-LA74KylV.d.ts → types-C1056-J1.d.ts} +1 -1
  264. package/dist/{types-BQA7lRDV.d.ts → types-C3rfDzgE.d.ts} +4 -2
  265. package/dist/{events-kU5WJU4B.esm.js → types-CBQN04Rh.esm.js} +5 -299
  266. package/dist/{types-BD9sV5oG.d.ts → types-CEGG70FK.d.ts} +16 -3
  267. package/dist/types-CXTDuzUJ.d.ts +16 -0
  268. package/dist/{types-BEwVKkLJ.d.ts → types-CeEcakO7.d.ts} +7 -1
  269. package/dist/{types-CyNndVAT.d.ts → types-Cy6Lx3L6.d.ts} +2 -2
  270. package/dist/{types-BaDx6utW.d.ts → types-DEa3taWc.d.ts} +4 -0
  271. package/dist/{types-0Rr7etmf.d.ts → types-DHpz4Y37.d.ts} +1 -1
  272. package/dist/{types-BpJ21a4T.d.ts → types-b0l9b83G.d.ts} +14 -7
  273. package/dist/video-selfie.d.ts +8 -7
  274. package/dist/video-selfie.esm.js +14 -13
  275. package/dist/{videoSelfieCameraWarmer-Dnkiqe0z.esm.js → videoSelfieCameraWarmer-DgRlU_8q.esm.js} +10 -10
  276. package/dist/{videoSelfieFlowModuleMachine-BCFVHBQ1.esm.js → videoSelfieFlowModuleMachine-IWdxw1TW.esm.js} +1 -1
  277. package/dist/{videoSelfieStepDetector-B78BE_x9.d.ts → videoSelfieStepDetector-DC_Qh7qI.d.ts} +19 -9
  278. package/dist/{warmup-DtB0DJpl.esm.js → warmup-BN8dG2KX.esm.js} +192 -42
  279. package/dist/{warmup-BO57syF6.d.ts → warmup-SWu5L7cW.d.ts} +19 -2
  280. package/dist/wasm.d.ts +9 -3
  281. package/dist/wasm.esm.js +3 -3
  282. package/dist/wasmDeepsightConfigSync-DukEcrU8.esm.js +77 -0
  283. package/dist/{wasmDsFlagSync-BtiR5pig.esm.js → wasmDsFlagSync-DwBfTlgB.esm.js} +1 -1
  284. package/dist/{wasmWebClient-BDrax6Eu.esm.js → wasmWebClient-B2P6Vlvv.esm.js} +32 -13
  285. package/dist/watchlist-for-business.d.ts +1 -1
  286. package/dist/watchlist-for-business.esm.js +2 -2
  287. package/dist/watchlist.d.ts +1 -1
  288. package/dist/watchlist.esm.js +2 -2
  289. package/dist/{watchlistForBusinessManager-DOYmIiaj.esm.js → watchlistForBusinessManager-DxeSH80T.esm.js} +5 -3
  290. package/dist/{watchlistForBusinessManager-DX2AyM4Y.d.ts → watchlistForBusinessManager-l7ZERQcV.d.ts} +3 -3
  291. package/dist/{watchlistForBusinessStateMachine-D8qIyL8w.esm.js → watchlistForBusinessStateMachine-BC9UWLuZ.esm.js} +12 -9
  292. package/dist/{watchlistManager-BJGLRv-x.esm.js → watchlistManager-BHzmC9OC.esm.js} +5 -3
  293. package/dist/{watchlistManager-DJQOd8Pw.d.ts → watchlistManager-DQq4GxBO.d.ts} +3 -3
  294. package/dist/{watchlistStateMachine-DeLfuGSl.esm.js → watchlistStateMachine-Bxzn16iJ.esm.js} +4 -6
  295. package/dist/workflow.d.ts +6 -5
  296. package/dist/workflow.esm.js +68 -49
  297. package/dist/{xstate-actors.esm-8Gzepa_A.esm.js → xstate-actors.esm-BCcwgosu.esm.js} +1 -1
  298. package/dist/xstate.cjs-D6Ur0X1F.d.ts +7 -0
  299. package/dist/{xstate.esm-DSajW7CJ.esm.js → xstate.esm-CIqUf_i6.esm.js} +1 -125
  300. package/package.json +13 -3
  301. package/dist/Actor-DpTj5PFb.d.ts +0 -1
  302. package/dist/camera-9wWD-pwg.d.ts +0 -4
  303. package/dist/index-DpTj5PFb.d.ts +0 -1
  304. package/dist/nationalIds-B91f_RuB.esm.js +0 -99
  305. package/dist/phoneFormat-DEpESpz2.esm.js +0 -87
  306. package/dist/tri.esm-DgtAka_v.esm.js +0 -2145
  307. package/dist/types-B2M1IPZn.d.ts +0 -6
  308. package/dist/wasmMetadataVersionSync-U8EFUr1T.esm.js +0 -27
@@ -1,21 +1,14 @@
1
- import { t as api, u as endpoints } from "./api-C_P9YXbL.esm.js";
2
- import { n as getFlow } from "./flowServices-aJ5kGxBd.esm.js";
3
- import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
4
- import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
5
- import { a as sortModulesByOrder, c as ALL_COUNTRIES, d as FIELD_ORDER, i as requiresAddressValidation, m as isSupportedCountry, n as hasAtLeastOneAddressField, o as toEkybConfig, p as UBO_FIELD_LABELS, r as isFieldOptional, s as ADDRESS_FIELDS, u as FIELD_NAME_MAPPING } from "./ekybUtils-Cw8Ta9Qi.esm.js";
1
+ import { t as api, u as endpoints } from "./api-BNxrW8xK.esm.js";
2
+ import { n as getFlow } from "./flowServices-Bzq3piUR.esm.js";
3
+ import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
4
+ import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
5
+ import { a as requiresAddressValidation, c as ADDRESS_FIELDS, d as FIELD_NAME_MAPPING, f as FIELD_ORDER, h as isSupportedCountry, i as isFormFieldEntry, l as ALL_COUNTRIES, m as UBO_FIELD_LABELS, n as hasAtLeastOneAddressField, o as sortModulesByOrder, r as isFieldOptional, s as toEkybConfig } from "./ekybUtils-Z9MhFAer.esm.js";
6
6
  import { t as usStateOptions } from "./usStates-CwOQ2kAx.esm.js";
7
- import { n as requiresCnpjValidation, r as validateCNPJ } from "./cnpj-Co1ottYN.esm.js";
8
- import { a as getPostalCodeMaxLength, c as fillFromSuggestion, i as getPostalCodeErrorKey, l as getStreetLevelErrorForSuggestion, n as FIXED_DIGIT_POSTAL_CODE_LENGTH, o as validatePostalCode, r as formatPostalCode, s as STREET_LEVEL_REQUIRED_ERROR, t as createBundledDefinitionSource } from "./definitionSource-BHNxbuiv.esm.js";
9
- import { n as checkSupport, r as DYNAMIC_REQUIRED_KEY, t as resolveForm } from "./resolveForm-f9PhUo9j.esm.js";
10
- import { r as isFormDefinitionsEnabled, t as debounceSearchActor } from "./addressSearch-D6cKPWmk.esm.js";
7
+ import { n as requiresCnpjValidation, r as validateCNPJ } from "./cnpj-Bl_olpdX.esm.js";
8
+ import { a as getPostalCodeMaxLength, c as fillFromSuggestion, i as getPostalCodeErrorParams, l as getStreetLevelErrorForSuggestion, n as formatPostalCode, o as validatePostalCode, r as getPostalCodeErrorKey, s as STREET_LEVEL_REQUIRED_ERROR, t as createBundledDefinitionSource, u as keepSuggestionInOptions } from "./definitionSource-B-Z2EgJJ.esm.js";
9
+ import { n as checkSupport, r as DYNAMIC_REQUIRED_KEY, t as resolveForm } from "./resolveForm-DaaQSVWp.esm.js";
10
+ import { r as isFormDefinitionsEnabled, t as debounceSearchActor } from "./addressSearch-BKlynuBr.esm.js";
11
11
  //#region src/modules/ekyb/ekybValidators.ts
12
- const buildPostalCodeParams = (country) => {
13
- const fixedLen = FIXED_DIGIT_POSTAL_CODE_LENGTH[country];
14
- if (fixedLen !== void 0) return { length: fixedLen };
15
- let maxLen = getPostalCodeMaxLength(country);
16
- if (country === "US" || country === "BR") maxLen = maxLen - 1;
17
- return { maxLength: maxLen };
18
- };
19
12
  const createValidators = () => ({
20
13
  required: (value, _rule, field) => {
21
14
  if (value.trim().length > 0) return void 0;
@@ -39,7 +32,7 @@ const createValidators = () => ({
39
32
  if (validatePostalCode(value, rule.country)) return void 0;
40
33
  return {
41
34
  key: getPostalCodeErrorKey(rule.country),
42
- params: buildPostalCodeParams(rule.country)
35
+ params: getPostalCodeErrorParams(rule.country)
43
36
  };
44
37
  }
45
38
  });
@@ -93,65 +86,1084 @@ function validateUboGroup(ubos, hasUbos) {
93
86
  params: { fieldName: UBO_FIELD_LABELS.surname }
94
87
  };
95
88
  }
96
- }
97
- return errors;
98
- }
99
- /**
100
- * Full-form validation: per-field pass, then address cross-field pass, then
101
- * UBO pass. Per-field errors take precedence over cross-field errors for
102
- * the same key.
103
- */
104
- function validateEkybForm(values, fields, country, ubos, hasUbos) {
105
- const validators = createValidators();
106
- const perField = fields.reduce((acc, field) => {
107
- const value = normalizeFieldValue(values[field.name]);
108
- const error = evaluateRules(value, field.validation, field, validators);
109
- if (error) acc[field.name] = error;
110
- return acc;
111
- }, {});
112
- const addressGroup = validateAddressGroup(fields, values, country);
113
- const uboGroup = validateUboGroup(ubos, hasUbos);
114
- return {
115
- ...addressGroup,
116
- ...perField,
117
- ...uboGroup
118
- };
119
- }
120
- /**
121
- * Single-field validation (per-field only, no cross-field passes).
122
- * Intended for blur-triggered validation of regular form fields.
123
- */
124
- function validateEkybField(values, fieldName, fields) {
125
- const field = fields.find((f) => f.name === fieldName);
126
- if (!field) return void 0;
127
- const validators = createValidators();
128
- const value = normalizeFieldValue(values[field.name]);
129
- return evaluateRules(value, field.validation, field, validators);
130
- }
131
- /**
132
- * Single UBO field validation (blur-triggered).
133
- * fieldKey format: `ubo-{index}-name` or `ubo-{index}-surname`.
134
- * Returns undefined for non-default UBOs whose peer field is also empty
135
- * (user hasn't started filling that UBO entry yet).
136
- */
137
- function validateEkybUboField(ubos, fieldKey) {
138
- const match = fieldKey.match(/^ubo-(\d+)-(name|surname)$/);
139
- if (!match) return void 0;
140
- const index = Number(match[1]);
141
- const field = match[2];
142
- if (index < 0 || index >= ubos.length) return void 0;
143
- const ubo = ubos[index];
144
- const isDefault = index === 0;
145
- const hasAnyValue = ubo.name.trim() !== "" || ubo.surname.trim() !== "";
146
- if (!isDefault && !hasAnyValue) return void 0;
147
- if (!ubo[field].trim()) return {
148
- key: DYNAMIC_REQUIRED_KEY,
149
- params: { fieldName: UBO_FIELD_LABELS[field] }
150
- };
151
- }
152
- //#endregion
153
- //#region ../form-definitions/generated/ekyb.ts
154
- const EKYB_DEFINITIONS = {
89
+ }
90
+ return errors;
91
+ }
92
+ /**
93
+ * Full-form validation: per-field pass, then address cross-field pass, then
94
+ * UBO pass. Per-field errors take precedence over cross-field errors for
95
+ * the same key.
96
+ */
97
+ function validateEkybForm(values, fields, country, ubos, hasUbos) {
98
+ const validators = createValidators();
99
+ const perField = fields.reduce((acc, field) => {
100
+ const value = normalizeFieldValue(values[field.name]);
101
+ const error = evaluateRules(value, field.validation, field, validators);
102
+ if (error) acc[field.name] = error;
103
+ return acc;
104
+ }, {});
105
+ const addressGroup = validateAddressGroup(fields, values, country);
106
+ const uboGroup = validateUboGroup(ubos, hasUbos);
107
+ return {
108
+ ...addressGroup,
109
+ ...perField,
110
+ ...uboGroup
111
+ };
112
+ }
113
+ /**
114
+ * Single-field validation (per-field only, no cross-field passes).
115
+ * Intended for blur-triggered validation of regular form fields.
116
+ */
117
+ function validateEkybField(values, fieldName, fields) {
118
+ const field = fields.find((f) => f.name === fieldName);
119
+ if (!field) return void 0;
120
+ const validators = createValidators();
121
+ const value = normalizeFieldValue(values[field.name]);
122
+ return evaluateRules(value, field.validation, field, validators);
123
+ }
124
+ /**
125
+ * Single UBO field validation (blur-triggered).
126
+ * fieldKey format: `ubo-{index}-name` or `ubo-{index}-surname`.
127
+ * Returns undefined for non-default UBOs whose peer field is also empty
128
+ * (user hasn't started filling that UBO entry yet).
129
+ */
130
+ function validateEkybUboField(ubos, fieldKey) {
131
+ const match = fieldKey.match(/^ubo-(\d+)-(name|surname)$/);
132
+ if (!match) return void 0;
133
+ const index = Number(match[1]);
134
+ const field = match[2];
135
+ if (index < 0 || index >= ubos.length) return void 0;
136
+ const ubo = ubos[index];
137
+ const isDefault = index === 0;
138
+ const hasAnyValue = ubo.name.trim() !== "" || ubo.surname.trim() !== "";
139
+ if (!isDefault && !hasAnyValue) return void 0;
140
+ if (!ubo[field].trim()) return {
141
+ key: DYNAMIC_REQUIRED_KEY,
142
+ params: { fieldName: UBO_FIELD_LABELS[field] }
143
+ };
144
+ }
145
+ //#endregion
146
+ //#region ../form-definitions/generated/ekyb.ts
147
+ const EKYB_DEFINITIONS = {
148
+ "ekyb/BR": {
149
+ schemaVersion: 1,
150
+ vocabulary: "1.0",
151
+ id: "ekyb/BR",
152
+ module: "ekyb",
153
+ country: "BR",
154
+ fields: [
155
+ {
156
+ name: "businessName",
157
+ kind: "text",
158
+ group: "businessName",
159
+ required: true,
160
+ label: { key: "ekyb.businessName" },
161
+ input: { autofill: "organization" }
162
+ },
163
+ {
164
+ name: "taxId",
165
+ kind: "text",
166
+ group: "taxId",
167
+ required: true,
168
+ label: { key: "ekyb.taxId" },
169
+ displayLabel: {
170
+ key: "verification.labels.cpf",
171
+ text: "CPF"
172
+ },
173
+ rules: [{ id: "cnpj" }]
174
+ },
175
+ {
176
+ name: "street",
177
+ kind: "text",
178
+ group: "address",
179
+ required: true,
180
+ widget: "addressSearch",
181
+ label: { key: "ekyb.street" },
182
+ input: { autofill: "addressLine1" }
183
+ },
184
+ {
185
+ name: "houseNo",
186
+ kind: "text",
187
+ group: "address",
188
+ required: true,
189
+ label: { key: "ekyb.houseNo" }
190
+ },
191
+ {
192
+ name: "addressLine2",
193
+ kind: "text",
194
+ group: "address",
195
+ label: { key: "ekyb.addressLine2" },
196
+ input: { autofill: "addressLine2" }
197
+ },
198
+ {
199
+ name: "city",
200
+ kind: "text",
201
+ group: "address",
202
+ required: true,
203
+ label: { key: "ekyb.city" },
204
+ input: { autofill: "addressLevel2" }
205
+ },
206
+ {
207
+ name: "state",
208
+ kind: "text",
209
+ group: "address",
210
+ required: true,
211
+ label: { key: "ekyb.state" },
212
+ input: { autofill: "addressLevel1" }
213
+ },
214
+ {
215
+ name: "postalCode",
216
+ kind: "text",
217
+ group: "address",
218
+ required: true,
219
+ label: { key: "ekyb.postalCode" },
220
+ input: {
221
+ maxLength: 9,
222
+ autofill: "postalCode"
223
+ },
224
+ rules: [{ id: "postalCodeFormat" }]
225
+ }
226
+ ],
227
+ collections: [{
228
+ id: "ubos",
229
+ group: "ubos",
230
+ min: 1,
231
+ max: 8,
232
+ fields: [{
233
+ name: "name",
234
+ kind: "text",
235
+ group: "ubos",
236
+ required: true,
237
+ label: { key: "ekyb.uboName" }
238
+ }, {
239
+ name: "surname",
240
+ kind: "text",
241
+ group: "ubos",
242
+ required: true,
243
+ label: { key: "ekyb.uboSurname" }
244
+ }],
245
+ payload: {
246
+ key: "uboNames",
247
+ join: ["name", "surname"]
248
+ }
249
+ }],
250
+ submit: {
251
+ static: { plugins: ["ekyb"] },
252
+ context: { country: "country" }
253
+ }
254
+ },
255
+ "ekyb/CM": {
256
+ schemaVersion: 1,
257
+ vocabulary: "1.0",
258
+ id: "ekyb/CM",
259
+ module: "ekyb",
260
+ country: "CM",
261
+ availableIn: ["development", "staging"],
262
+ fields: [
263
+ {
264
+ name: "businessName",
265
+ kind: "text",
266
+ group: "businessName",
267
+ required: true,
268
+ label: { key: "ekyb.businessName" },
269
+ input: { autofill: "organization" }
270
+ },
271
+ {
272
+ name: "taxId",
273
+ kind: "text",
274
+ group: "taxId",
275
+ required: true,
276
+ label: { key: "ekyb.taxId" }
277
+ },
278
+ {
279
+ name: "street",
280
+ kind: "text",
281
+ group: "address",
282
+ required: true,
283
+ widget: "addressSearch",
284
+ label: { key: "ekyb.street" },
285
+ input: { autofill: "addressLine1" }
286
+ },
287
+ {
288
+ name: "houseNo",
289
+ kind: "text",
290
+ group: "address",
291
+ required: true,
292
+ label: { key: "ekyb.houseNo" }
293
+ },
294
+ {
295
+ name: "addressLine2",
296
+ kind: "text",
297
+ group: "address",
298
+ label: { key: "ekyb.addressLine2" },
299
+ input: { autofill: "addressLine2" }
300
+ },
301
+ {
302
+ name: "city",
303
+ kind: "text",
304
+ group: "address",
305
+ required: true,
306
+ label: { key: "ekyb.city" },
307
+ input: { autofill: "addressLevel2" }
308
+ },
309
+ {
310
+ name: "state",
311
+ kind: "text",
312
+ group: "address",
313
+ required: true,
314
+ label: { key: "ekyb.state" },
315
+ input: { autofill: "addressLevel1" }
316
+ },
317
+ {
318
+ name: "postalCode",
319
+ kind: "text",
320
+ group: "address",
321
+ required: true,
322
+ label: { key: "ekyb.postalCode" },
323
+ input: {
324
+ maxLength: 8,
325
+ autofill: "postalCode"
326
+ },
327
+ rules: [{ id: "postalCodeFormat" }]
328
+ }
329
+ ],
330
+ collections: [{
331
+ id: "ubos",
332
+ group: "ubos",
333
+ min: 1,
334
+ max: 8,
335
+ fields: [{
336
+ name: "name",
337
+ kind: "text",
338
+ group: "ubos",
339
+ required: true,
340
+ label: { key: "ekyb.uboName" }
341
+ }, {
342
+ name: "surname",
343
+ kind: "text",
344
+ group: "ubos",
345
+ required: true,
346
+ label: { key: "ekyb.uboSurname" }
347
+ }],
348
+ payload: {
349
+ key: "uboNames",
350
+ join: ["name", "surname"]
351
+ }
352
+ }],
353
+ submit: {
354
+ static: { plugins: ["ekyb"] },
355
+ context: { country: "country" }
356
+ }
357
+ },
358
+ "ekyb/CN": {
359
+ schemaVersion: 1,
360
+ vocabulary: "1.0",
361
+ id: "ekyb/CN",
362
+ module: "ekyb",
363
+ country: "CN",
364
+ fields: [
365
+ {
366
+ name: "businessName",
367
+ kind: "text",
368
+ group: "businessName",
369
+ required: true,
370
+ label: { key: "ekyb.businessName" },
371
+ input: { autofill: "organization" }
372
+ },
373
+ {
374
+ name: "taxId",
375
+ kind: "text",
376
+ group: "taxId",
377
+ required: true,
378
+ label: { key: "verification.labels.prcId" }
379
+ },
380
+ {
381
+ name: "street",
382
+ kind: "text",
383
+ group: "address",
384
+ required: true,
385
+ widget: "addressSearch",
386
+ label: { key: "ekyb.street" },
387
+ input: { autofill: "addressLine1" }
388
+ },
389
+ {
390
+ name: "houseNo",
391
+ kind: "text",
392
+ group: "address",
393
+ required: true,
394
+ label: { key: "ekyb.houseNo" }
395
+ },
396
+ {
397
+ name: "addressLine2",
398
+ kind: "text",
399
+ group: "address",
400
+ label: { key: "ekyb.addressLine2" },
401
+ input: { autofill: "addressLine2" }
402
+ },
403
+ {
404
+ name: "city",
405
+ kind: "text",
406
+ group: "address",
407
+ required: true,
408
+ label: { key: "ekyb.city" },
409
+ input: { autofill: "addressLevel2" }
410
+ },
411
+ {
412
+ name: "state",
413
+ kind: "text",
414
+ group: "address",
415
+ required: true,
416
+ label: { key: "ekyb.state" },
417
+ input: { autofill: "addressLevel1" }
418
+ },
419
+ {
420
+ name: "postalCode",
421
+ kind: "text",
422
+ group: "address",
423
+ required: true,
424
+ label: { key: "ekyb.postalCode" },
425
+ input: {
426
+ maxLength: 6,
427
+ autofill: "postalCode"
428
+ },
429
+ rules: [{ id: "postalCodeFormat" }]
430
+ }
431
+ ],
432
+ collections: [{
433
+ id: "ubos",
434
+ group: "ubos",
435
+ min: 1,
436
+ max: 8,
437
+ fields: [{
438
+ name: "name",
439
+ kind: "text",
440
+ group: "ubos",
441
+ required: true,
442
+ label: { key: "ekyb.uboName" }
443
+ }, {
444
+ name: "surname",
445
+ kind: "text",
446
+ group: "ubos",
447
+ required: true,
448
+ label: { key: "ekyb.uboSurname" }
449
+ }],
450
+ payload: {
451
+ key: "uboNames",
452
+ join: ["name", "surname"]
453
+ }
454
+ }],
455
+ submit: {
456
+ static: { plugins: ["ekyb"] },
457
+ context: { country: "country" }
458
+ }
459
+ },
460
+ "ekyb/DE": {
461
+ schemaVersion: 1,
462
+ vocabulary: "1.0",
463
+ id: "ekyb/DE",
464
+ module: "ekyb",
465
+ country: "DE",
466
+ fields: [
467
+ {
468
+ name: "businessName",
469
+ kind: "text",
470
+ group: "businessName",
471
+ required: true,
472
+ label: { key: "ekyb.businessName" },
473
+ input: { autofill: "organization" }
474
+ },
475
+ {
476
+ name: "taxId",
477
+ kind: "text",
478
+ group: "taxId",
479
+ required: true,
480
+ label: { key: "ekyb.taxId" }
481
+ },
482
+ {
483
+ name: "street",
484
+ kind: "text",
485
+ group: "address",
486
+ required: true,
487
+ widget: "addressSearch",
488
+ label: { key: "ekyb.street" },
489
+ input: { autofill: "addressLine1" }
490
+ },
491
+ {
492
+ name: "houseNo",
493
+ kind: "text",
494
+ group: "address",
495
+ required: true,
496
+ label: { key: "ekyb.houseNo" }
497
+ },
498
+ {
499
+ name: "addressLine2",
500
+ kind: "text",
501
+ group: "address",
502
+ label: { key: "ekyb.addressLine2" },
503
+ input: { autofill: "addressLine2" }
504
+ },
505
+ {
506
+ name: "city",
507
+ kind: "text",
508
+ group: "address",
509
+ required: true,
510
+ label: { key: "ekyb.city" },
511
+ input: { autofill: "addressLevel2" }
512
+ },
513
+ {
514
+ name: "state",
515
+ kind: "text",
516
+ group: "address",
517
+ required: true,
518
+ label: { key: "ekyb.state" },
519
+ input: { autofill: "addressLevel1" }
520
+ },
521
+ {
522
+ name: "postalCode",
523
+ kind: "text",
524
+ group: "address",
525
+ required: true,
526
+ label: { key: "ekyb.postalCode" },
527
+ input: {
528
+ maxLength: 5,
529
+ autofill: "postalCode"
530
+ },
531
+ rules: [{ id: "postalCodeFormat" }]
532
+ }
533
+ ],
534
+ collections: [{
535
+ id: "ubos",
536
+ group: "ubos",
537
+ min: 1,
538
+ max: 8,
539
+ fields: [{
540
+ name: "name",
541
+ kind: "text",
542
+ group: "ubos",
543
+ required: true,
544
+ label: { key: "ekyb.uboName" }
545
+ }, {
546
+ name: "surname",
547
+ kind: "text",
548
+ group: "ubos",
549
+ required: true,
550
+ label: { key: "ekyb.uboSurname" }
551
+ }],
552
+ payload: {
553
+ key: "uboNames",
554
+ join: ["name", "surname"]
555
+ }
556
+ }],
557
+ submit: {
558
+ static: { plugins: ["ekyb"] },
559
+ context: { country: "country" }
560
+ }
561
+ },
562
+ "ekyb/ES": {
563
+ schemaVersion: 1,
564
+ vocabulary: "1.0",
565
+ id: "ekyb/ES",
566
+ module: "ekyb",
567
+ country: "ES",
568
+ fields: [
569
+ {
570
+ name: "businessName",
571
+ kind: "text",
572
+ group: "businessName",
573
+ required: true,
574
+ label: { key: "ekyb.businessName" },
575
+ input: { autofill: "organization" }
576
+ },
577
+ {
578
+ name: "taxId",
579
+ kind: "text",
580
+ group: "taxId",
581
+ required: true,
582
+ label: { key: "ekyb.taxId" }
583
+ },
584
+ {
585
+ name: "street",
586
+ kind: "text",
587
+ group: "address",
588
+ required: true,
589
+ widget: "addressSearch",
590
+ label: { key: "ekyb.street" },
591
+ input: { autofill: "addressLine1" }
592
+ },
593
+ {
594
+ name: "houseNo",
595
+ kind: "text",
596
+ group: "address",
597
+ required: true,
598
+ label: { key: "ekyb.houseNo" }
599
+ },
600
+ {
601
+ name: "addressLine2",
602
+ kind: "text",
603
+ group: "address",
604
+ label: { key: "ekyb.addressLine2" },
605
+ input: { autofill: "addressLine2" }
606
+ },
607
+ {
608
+ name: "city",
609
+ kind: "text",
610
+ group: "address",
611
+ required: true,
612
+ label: { key: "ekyb.city" },
613
+ input: { autofill: "addressLevel2" }
614
+ },
615
+ {
616
+ name: "state",
617
+ kind: "text",
618
+ group: "address",
619
+ required: true,
620
+ label: { key: "ekyb.state" },
621
+ input: { autofill: "addressLevel1" }
622
+ },
623
+ {
624
+ name: "postalCode",
625
+ kind: "text",
626
+ group: "address",
627
+ required: true,
628
+ label: { key: "ekyb.postalCode" },
629
+ input: {
630
+ maxLength: 5,
631
+ autofill: "postalCode"
632
+ },
633
+ rules: [{ id: "postalCodeFormat" }]
634
+ }
635
+ ],
636
+ collections: [{
637
+ id: "ubos",
638
+ group: "ubos",
639
+ min: 1,
640
+ max: 8,
641
+ fields: [{
642
+ name: "name",
643
+ kind: "text",
644
+ group: "ubos",
645
+ required: true,
646
+ label: { key: "ekyb.uboName" }
647
+ }, {
648
+ name: "surname",
649
+ kind: "text",
650
+ group: "ubos",
651
+ required: true,
652
+ label: { key: "ekyb.uboSurname" }
653
+ }],
654
+ payload: {
655
+ key: "uboNames",
656
+ join: ["name", "surname"]
657
+ }
658
+ }],
659
+ submit: {
660
+ static: { plugins: ["ekyb"] },
661
+ context: { country: "country" }
662
+ }
663
+ },
664
+ "ekyb/FR": {
665
+ schemaVersion: 1,
666
+ vocabulary: "1.0",
667
+ id: "ekyb/FR",
668
+ module: "ekyb",
669
+ country: "FR",
670
+ fields: [
671
+ {
672
+ name: "businessName",
673
+ kind: "text",
674
+ group: "businessName",
675
+ required: true,
676
+ label: { key: "ekyb.businessName" },
677
+ input: { autofill: "organization" }
678
+ },
679
+ {
680
+ name: "taxId",
681
+ kind: "text",
682
+ group: "taxId",
683
+ required: true,
684
+ label: { key: "ekyb.taxId" }
685
+ },
686
+ {
687
+ name: "street",
688
+ kind: "text",
689
+ group: "address",
690
+ required: true,
691
+ widget: "addressSearch",
692
+ label: { key: "ekyb.street" },
693
+ input: { autofill: "addressLine1" }
694
+ },
695
+ {
696
+ name: "houseNo",
697
+ kind: "text",
698
+ group: "address",
699
+ required: true,
700
+ label: { key: "ekyb.houseNo" }
701
+ },
702
+ {
703
+ name: "addressLine2",
704
+ kind: "text",
705
+ group: "address",
706
+ label: { key: "ekyb.addressLine2" },
707
+ input: { autofill: "addressLine2" }
708
+ },
709
+ {
710
+ name: "city",
711
+ kind: "text",
712
+ group: "address",
713
+ required: true,
714
+ label: { key: "ekyb.city" },
715
+ input: { autofill: "addressLevel2" }
716
+ },
717
+ {
718
+ name: "state",
719
+ kind: "text",
720
+ group: "address",
721
+ required: true,
722
+ label: { key: "ekyb.state" },
723
+ input: { autofill: "addressLevel1" }
724
+ },
725
+ {
726
+ name: "postalCode",
727
+ kind: "text",
728
+ group: "address",
729
+ required: true,
730
+ label: { key: "ekyb.postalCode" },
731
+ input: {
732
+ maxLength: 5,
733
+ autofill: "postalCode"
734
+ },
735
+ rules: [{ id: "postalCodeFormat" }]
736
+ }
737
+ ],
738
+ collections: [{
739
+ id: "ubos",
740
+ group: "ubos",
741
+ min: 1,
742
+ max: 8,
743
+ fields: [{
744
+ name: "name",
745
+ kind: "text",
746
+ group: "ubos",
747
+ required: true,
748
+ label: { key: "ekyb.uboName" }
749
+ }, {
750
+ name: "surname",
751
+ kind: "text",
752
+ group: "ubos",
753
+ required: true,
754
+ label: { key: "ekyb.uboSurname" }
755
+ }],
756
+ payload: {
757
+ key: "uboNames",
758
+ join: ["name", "surname"]
759
+ }
760
+ }],
761
+ submit: {
762
+ static: { plugins: ["ekyb"] },
763
+ context: { country: "country" }
764
+ }
765
+ },
766
+ "ekyb/GB": {
767
+ schemaVersion: 1,
768
+ vocabulary: "1.0",
769
+ id: "ekyb/GB",
770
+ module: "ekyb",
771
+ country: "GB",
772
+ fields: [
773
+ {
774
+ name: "businessName",
775
+ kind: "text",
776
+ group: "businessName",
777
+ required: true,
778
+ label: { key: "ekyb.businessName" },
779
+ input: { autofill: "organization" }
780
+ },
781
+ {
782
+ name: "taxId",
783
+ kind: "text",
784
+ group: "taxId",
785
+ required: true,
786
+ label: { key: "ekyb.taxId" }
787
+ },
788
+ {
789
+ name: "street",
790
+ kind: "text",
791
+ group: "address",
792
+ required: true,
793
+ widget: "addressSearch",
794
+ label: { key: "ekyb.street" },
795
+ input: { autofill: "addressLine1" }
796
+ },
797
+ {
798
+ name: "houseNo",
799
+ kind: "text",
800
+ group: "address",
801
+ required: true,
802
+ label: { key: "ekyb.houseNo" }
803
+ },
804
+ {
805
+ name: "addressLine2",
806
+ kind: "text",
807
+ group: "address",
808
+ label: { key: "ekyb.addressLine2" },
809
+ input: { autofill: "addressLine2" }
810
+ },
811
+ {
812
+ name: "city",
813
+ kind: "text",
814
+ group: "address",
815
+ required: true,
816
+ label: { key: "ekyb.city" },
817
+ input: { autofill: "addressLevel2" }
818
+ },
819
+ {
820
+ name: "postalCode",
821
+ kind: "text",
822
+ group: "address",
823
+ required: true,
824
+ label: { key: "ekyb.postalCode" },
825
+ input: {
826
+ maxLength: 8,
827
+ autofill: "postalCode"
828
+ },
829
+ rules: [{ id: "postalCodeFormat" }]
830
+ }
831
+ ],
832
+ collections: [{
833
+ id: "ubos",
834
+ group: "ubos",
835
+ min: 1,
836
+ max: 8,
837
+ fields: [{
838
+ name: "name",
839
+ kind: "text",
840
+ group: "ubos",
841
+ required: true,
842
+ label: { key: "ekyb.uboName" }
843
+ }, {
844
+ name: "surname",
845
+ kind: "text",
846
+ group: "ubos",
847
+ required: true,
848
+ label: { key: "ekyb.uboSurname" }
849
+ }],
850
+ payload: {
851
+ key: "uboNames",
852
+ join: ["name", "surname"]
853
+ }
854
+ }],
855
+ submit: {
856
+ static: { plugins: ["ekyb"] },
857
+ context: { country: "country" }
858
+ }
859
+ },
860
+ "ekyb/IL": {
861
+ schemaVersion: 1,
862
+ vocabulary: "1.0",
863
+ id: "ekyb/IL",
864
+ module: "ekyb",
865
+ country: "IL",
866
+ fields: [
867
+ {
868
+ name: "businessName",
869
+ kind: "text",
870
+ group: "businessName",
871
+ required: true,
872
+ label: { key: "ekyb.businessName" },
873
+ input: { autofill: "organization" }
874
+ },
875
+ {
876
+ name: "taxId",
877
+ kind: "text",
878
+ group: "taxId",
879
+ required: true,
880
+ label: { key: "ekyb.taxId" }
881
+ },
882
+ {
883
+ name: "street",
884
+ kind: "text",
885
+ group: "address",
886
+ required: true,
887
+ widget: "addressSearch",
888
+ label: { key: "ekyb.street" },
889
+ input: { autofill: "addressLine1" }
890
+ },
891
+ {
892
+ name: "houseNo",
893
+ kind: "text",
894
+ group: "address",
895
+ required: true,
896
+ label: { key: "ekyb.houseNo" }
897
+ },
898
+ {
899
+ name: "addressLine2",
900
+ kind: "text",
901
+ group: "address",
902
+ label: { key: "ekyb.addressLine2" },
903
+ input: { autofill: "addressLine2" }
904
+ },
905
+ {
906
+ name: "city",
907
+ kind: "text",
908
+ group: "address",
909
+ required: true,
910
+ label: { key: "ekyb.city" },
911
+ input: { autofill: "addressLevel2" }
912
+ },
913
+ {
914
+ name: "state",
915
+ kind: "text",
916
+ group: "address",
917
+ required: true,
918
+ label: { key: "ekyb.state" },
919
+ input: { autofill: "addressLevel1" }
920
+ },
921
+ {
922
+ name: "postalCode",
923
+ kind: "text",
924
+ group: "address",
925
+ required: true,
926
+ label: { key: "ekyb.postalCode" },
927
+ input: {
928
+ maxLength: 7,
929
+ autofill: "postalCode"
930
+ },
931
+ rules: [{ id: "postalCodeFormat" }]
932
+ }
933
+ ],
934
+ collections: [{
935
+ id: "ubos",
936
+ group: "ubos",
937
+ min: 1,
938
+ max: 8,
939
+ fields: [{
940
+ name: "name",
941
+ kind: "text",
942
+ group: "ubos",
943
+ required: true,
944
+ label: { key: "ekyb.uboName" }
945
+ }, {
946
+ name: "surname",
947
+ kind: "text",
948
+ group: "ubos",
949
+ required: true,
950
+ label: { key: "ekyb.uboSurname" }
951
+ }],
952
+ payload: {
953
+ key: "uboNames",
954
+ join: ["name", "surname"]
955
+ }
956
+ }],
957
+ submit: {
958
+ static: { plugins: ["ekyb"] },
959
+ context: { country: "country" }
960
+ }
961
+ },
962
+ "ekyb/IT": {
963
+ schemaVersion: 1,
964
+ vocabulary: "1.0",
965
+ id: "ekyb/IT",
966
+ module: "ekyb",
967
+ country: "IT",
968
+ fields: [
969
+ {
970
+ name: "businessName",
971
+ kind: "text",
972
+ group: "businessName",
973
+ required: true,
974
+ label: { key: "ekyb.businessName" },
975
+ input: { autofill: "organization" }
976
+ },
977
+ {
978
+ name: "taxId",
979
+ kind: "text",
980
+ group: "taxId",
981
+ required: true,
982
+ label: { key: "ekyb.taxId" }
983
+ },
984
+ {
985
+ name: "street",
986
+ kind: "text",
987
+ group: "address",
988
+ required: true,
989
+ widget: "addressSearch",
990
+ label: { key: "ekyb.street" },
991
+ input: { autofill: "addressLine1" }
992
+ },
993
+ {
994
+ name: "houseNo",
995
+ kind: "text",
996
+ group: "address",
997
+ required: true,
998
+ label: { key: "ekyb.houseNo" }
999
+ },
1000
+ {
1001
+ name: "addressLine2",
1002
+ kind: "text",
1003
+ group: "address",
1004
+ label: { key: "ekyb.addressLine2" },
1005
+ input: { autofill: "addressLine2" }
1006
+ },
1007
+ {
1008
+ name: "city",
1009
+ kind: "text",
1010
+ group: "address",
1011
+ required: true,
1012
+ label: { key: "ekyb.city" },
1013
+ input: { autofill: "addressLevel2" }
1014
+ },
1015
+ {
1016
+ name: "state",
1017
+ kind: "text",
1018
+ group: "address",
1019
+ required: true,
1020
+ label: { key: "ekyb.state" },
1021
+ input: { autofill: "addressLevel1" }
1022
+ },
1023
+ {
1024
+ name: "postalCode",
1025
+ kind: "text",
1026
+ group: "address",
1027
+ required: true,
1028
+ label: { key: "ekyb.postalCode" },
1029
+ input: {
1030
+ maxLength: 5,
1031
+ autofill: "postalCode"
1032
+ },
1033
+ rules: [{ id: "postalCodeFormat" }]
1034
+ }
1035
+ ],
1036
+ collections: [{
1037
+ id: "ubos",
1038
+ group: "ubos",
1039
+ min: 1,
1040
+ max: 8,
1041
+ fields: [{
1042
+ name: "name",
1043
+ kind: "text",
1044
+ group: "ubos",
1045
+ required: true,
1046
+ label: { key: "ekyb.uboName" }
1047
+ }, {
1048
+ name: "surname",
1049
+ kind: "text",
1050
+ group: "ubos",
1051
+ required: true,
1052
+ label: { key: "ekyb.uboSurname" }
1053
+ }],
1054
+ payload: {
1055
+ key: "uboNames",
1056
+ join: ["name", "surname"]
1057
+ }
1058
+ }],
1059
+ submit: {
1060
+ static: { plugins: ["ekyb"] },
1061
+ context: { country: "country" }
1062
+ }
1063
+ },
1064
+ "ekyb/KE": {
1065
+ schemaVersion: 1,
1066
+ vocabulary: "1.0",
1067
+ id: "ekyb/KE",
1068
+ module: "ekyb",
1069
+ country: "KE",
1070
+ availableIn: ["development", "staging"],
1071
+ fields: [
1072
+ {
1073
+ name: "businessName",
1074
+ kind: "text",
1075
+ group: "businessName",
1076
+ required: true,
1077
+ label: { key: "ekyb.businessName" },
1078
+ input: { autofill: "organization" }
1079
+ },
1080
+ {
1081
+ name: "taxId",
1082
+ kind: "text",
1083
+ group: "taxId",
1084
+ required: true,
1085
+ label: { key: "ekyb.taxId" }
1086
+ },
1087
+ {
1088
+ name: "street",
1089
+ kind: "text",
1090
+ group: "address",
1091
+ required: true,
1092
+ widget: "addressSearch",
1093
+ label: { key: "ekyb.street" },
1094
+ input: { autofill: "addressLine1" }
1095
+ },
1096
+ {
1097
+ name: "houseNo",
1098
+ kind: "text",
1099
+ group: "address",
1100
+ required: true,
1101
+ label: { key: "ekyb.houseNo" }
1102
+ },
1103
+ {
1104
+ name: "addressLine2",
1105
+ kind: "text",
1106
+ group: "address",
1107
+ label: { key: "ekyb.addressLine2" },
1108
+ input: { autofill: "addressLine2" }
1109
+ },
1110
+ {
1111
+ name: "city",
1112
+ kind: "text",
1113
+ group: "address",
1114
+ required: true,
1115
+ label: { key: "ekyb.city" },
1116
+ input: { autofill: "addressLevel2" }
1117
+ },
1118
+ {
1119
+ name: "state",
1120
+ kind: "text",
1121
+ group: "address",
1122
+ required: true,
1123
+ label: { key: "ekyb.state" },
1124
+ input: { autofill: "addressLevel1" }
1125
+ },
1126
+ {
1127
+ name: "postalCode",
1128
+ kind: "text",
1129
+ group: "address",
1130
+ required: true,
1131
+ label: { key: "ekyb.postalCode" },
1132
+ input: {
1133
+ maxLength: 5,
1134
+ autofill: "postalCode"
1135
+ },
1136
+ rules: [{ id: "postalCodeFormat" }]
1137
+ }
1138
+ ],
1139
+ collections: [{
1140
+ id: "ubos",
1141
+ group: "ubos",
1142
+ min: 1,
1143
+ max: 8,
1144
+ fields: [{
1145
+ name: "name",
1146
+ kind: "text",
1147
+ group: "ubos",
1148
+ required: true,
1149
+ label: { key: "ekyb.uboName" }
1150
+ }, {
1151
+ name: "surname",
1152
+ kind: "text",
1153
+ group: "ubos",
1154
+ required: true,
1155
+ label: { key: "ekyb.uboSurname" }
1156
+ }],
1157
+ payload: {
1158
+ key: "uboNames",
1159
+ join: ["name", "surname"]
1160
+ }
1161
+ }],
1162
+ submit: {
1163
+ static: { plugins: ["ekyb"] },
1164
+ context: { country: "country" }
1165
+ }
1166
+ },
155
1167
  "ekyb/MX": {
156
1168
  schemaVersion: 1,
157
1169
  vocabulary: "1.0",
@@ -192,6 +1204,109 @@ const EKYB_DEFINITIONS = {
192
1204
  context: { country: "country" }
193
1205
  }
194
1206
  },
1207
+ "ekyb/NG": {
1208
+ schemaVersion: 1,
1209
+ vocabulary: "1.0",
1210
+ id: "ekyb/NG",
1211
+ module: "ekyb",
1212
+ country: "NG",
1213
+ availableIn: ["development", "staging"],
1214
+ fields: [
1215
+ {
1216
+ name: "businessName",
1217
+ kind: "text",
1218
+ group: "businessName",
1219
+ required: true,
1220
+ label: { key: "ekyb.businessName" },
1221
+ input: { autofill: "organization" }
1222
+ },
1223
+ {
1224
+ name: "taxId",
1225
+ kind: "text",
1226
+ group: "taxId",
1227
+ required: true,
1228
+ label: { key: "ekyb.taxId" }
1229
+ },
1230
+ {
1231
+ name: "street",
1232
+ kind: "text",
1233
+ group: "address",
1234
+ required: true,
1235
+ widget: "addressSearch",
1236
+ label: { key: "ekyb.street" },
1237
+ input: { autofill: "addressLine1" }
1238
+ },
1239
+ {
1240
+ name: "houseNo",
1241
+ kind: "text",
1242
+ group: "address",
1243
+ required: true,
1244
+ label: { key: "ekyb.houseNo" }
1245
+ },
1246
+ {
1247
+ name: "addressLine2",
1248
+ kind: "text",
1249
+ group: "address",
1250
+ label: { key: "ekyb.addressLine2" },
1251
+ input: { autofill: "addressLine2" }
1252
+ },
1253
+ {
1254
+ name: "city",
1255
+ kind: "text",
1256
+ group: "address",
1257
+ required: true,
1258
+ label: { key: "ekyb.city" },
1259
+ input: { autofill: "addressLevel2" }
1260
+ },
1261
+ {
1262
+ name: "state",
1263
+ kind: "text",
1264
+ group: "address",
1265
+ required: true,
1266
+ label: { key: "ekyb.state" },
1267
+ input: { autofill: "addressLevel1" }
1268
+ },
1269
+ {
1270
+ name: "postalCode",
1271
+ kind: "text",
1272
+ group: "address",
1273
+ required: true,
1274
+ label: { key: "ekyb.postalCode" },
1275
+ input: {
1276
+ maxLength: 6,
1277
+ autofill: "postalCode"
1278
+ },
1279
+ rules: [{ id: "postalCodeFormat" }]
1280
+ }
1281
+ ],
1282
+ collections: [{
1283
+ id: "ubos",
1284
+ group: "ubos",
1285
+ min: 1,
1286
+ max: 8,
1287
+ fields: [{
1288
+ name: "name",
1289
+ kind: "text",
1290
+ group: "ubos",
1291
+ required: true,
1292
+ label: { key: "ekyb.uboName" }
1293
+ }, {
1294
+ name: "surname",
1295
+ kind: "text",
1296
+ group: "ubos",
1297
+ required: true,
1298
+ label: { key: "ekyb.uboSurname" }
1299
+ }],
1300
+ payload: {
1301
+ key: "uboNames",
1302
+ join: ["name", "surname"]
1303
+ }
1304
+ }],
1305
+ submit: {
1306
+ static: { plugins: ["ekyb"] },
1307
+ context: { country: "country" }
1308
+ }
1309
+ },
195
1310
  "ekyb/US": {
196
1311
  schemaVersion: 1,
197
1312
  vocabulary: "1.0",
@@ -344,7 +1459,8 @@ const EKYB_SUPPORTED_IDS = {
344
1459
  groupRules: /* @__PURE__ */ new Set(),
345
1460
  optionLists: new Set(Object.keys(OPTION_LISTS)),
346
1461
  conditions: /* @__PURE__ */ new Set(),
347
- prefillSources: /* @__PURE__ */ new Set()
1462
+ prefillSources: /* @__PURE__ */ new Set(),
1463
+ flags: /* @__PURE__ */ new Set()
348
1464
  };
349
1465
  /** Today's UBO actions use a fixed limit and a single collection. */
350
1466
  const UBO_COLLECTION = "ubos";
@@ -400,7 +1516,7 @@ function isProjectableEkybDefinition(definition) {
400
1516
  * address), so the current builder keeps handling it.
401
1517
  */
402
1518
  function toEkybResolveContext(config, verificationFields) {
403
- const entries = verificationFields.filter((entry) => !entry.startsWith("socure"));
1519
+ const entries = verificationFields.filter(isFormFieldEntry);
404
1520
  if (entries.some((entry) => !KNOWN_ENTRIES.has(entry))) return void 0;
405
1521
  const groups = {};
406
1522
  for (const [group, groupEntries] of Object.entries(EKYB_GROUP_ENTRIES)) {
@@ -415,8 +1531,10 @@ const bundled = createBundledDefinitionSource(EKYB_DEFINITIONS);
415
1531
  /**
416
1532
  * The resolved definition for this country and configuration, if one applies
417
1533
  * and the rollout is on. Every country has a builder today, so none is exempt.
1534
+ * `useDefinitions` is the rollout answer the machine read once, when it was
1535
+ * created.
418
1536
  */
419
- function selectEkybForm(config, verificationFields, country, useDefinitions = isFormDefinitionsEnabled()) {
1537
+ function selectEkybForm(config, verificationFields, country, useDefinitions) {
420
1538
  if (!useDefinitions) return void 0;
421
1539
  const context = toEkybResolveContext(config, verificationFields);
422
1540
  if (!context) return void 0;
@@ -471,11 +1589,12 @@ function buildEkybValidationRules(fieldName, required, country) {
471
1589
  return rules;
472
1590
  }
473
1591
  /**
474
- * Fields and beneficial-owner state for a country. A country with a form
475
- * definition (`packages/form-definitions/catalog/ekyb`) reads it; any other
476
- * country, or a custom field list that isn't whole groups, keeps the current
477
- * builder and its UBO rule. `useDefinitions` is the rollout answer the
478
- * machine read once, when it was created (`selectEkybForm`).
1592
+ * Fields and beneficial-owner state for a country. With the rollout on, the
1593
+ * country reads its form definition (`packages/form-definitions/catalog/ekyb`),
1594
+ * unless the custom field list isn't whole groups. Otherwise the current
1595
+ * builder and its UBO rule apply; the parity fixtures keep the two equal.
1596
+ * `useDefinitions` is the rollout answer the machine read once, when it was
1597
+ * created (`selectEkybForm`).
479
1598
  */
480
1599
  function buildEkybForm(config, verificationFields, country, useDefinitions) {
481
1600
  const form = selectEkybForm(config, verificationFields, country, useDefinitions);
@@ -489,9 +1608,13 @@ function buildEkybForm(config, verificationFields, country, useDefinitions) {
489
1608
  hasUbos
490
1609
  };
491
1610
  }
492
- /** The per-country builder for countries without a form definition yet. */
1611
+ /**
1612
+ * The per-country builder, used with the rollout off and for custom field
1613
+ * lists that aren't whole groups. Every country's form definition must give
1614
+ * the same fields (parity), so change both together.
1615
+ */
493
1616
  function buildEkybFields(verificationFields, country, _hasUbos) {
494
- let modules = verificationFields.filter((f) => f !== "ubos-user_input" && !f.startsWith("socure"));
1617
+ let modules = verificationFields.filter((f) => f !== "ubos-user_input" && isFormFieldEntry(f));
495
1618
  if (country === "GB") modules = modules.filter((m) => m !== "state-user_input");
496
1619
  if (country === "MX") modules = modules.filter((m) => {
497
1620
  if (m === "ubos-user_input") return false;
@@ -579,9 +1702,7 @@ async function fetchEkybModuleConfig(signal) {
579
1702
  }
580
1703
  /** Submits eKYB business verification */
581
1704
  async function submitEkyb(data, signal) {
582
- const res = await api.post(endpoints.ekybSubmit, data, { signal });
583
- if (!res.ok) throw new Error(`POST ${endpoints.ekybSubmit} failed: ${res.status} ${res.statusText}`);
584
- return res.data;
1705
+ return (await api.post(endpoints.ekybSubmit, data, { signal })).data;
585
1706
  }
586
1707
  //#endregion
587
1708
  //#region src/modules/ekyb/ekybActors.ts
@@ -758,7 +1879,8 @@ const ekybMachine = setup({
758
1879
  fillAddressFields: assign(({ context, event }) => {
759
1880
  const { suggestion } = event;
760
1881
  const activeFields = new Set(context.fields.map((f) => f.name));
761
- const { values: newValues } = fillFromSuggestion(context.values, {}, suggestion, activeFields);
1882
+ const { values: filled } = fillFromSuggestion(context.values, {}, suggestion, activeFields);
1883
+ const newValues = keepSuggestionInOptions(context.fields, context.values, filled);
762
1884
  const errs = context.validationErrors;
763
1885
  let newErrors = errs;
764
1886
  if (errs) {
@@ -851,7 +1973,8 @@ const ekybMachine = setup({
851
1973
  RESULTS: {
852
1974
  target: "inputting",
853
1975
  actions: "setAddressSuggestions"
854
- }
1976
+ },
1977
+ SUBMIT: { target: "validatingSubmit" }
855
1978
  }
856
1979
  },
857
1980
  validatingSubmit: {