@incodetech/core 0.0.0-dev-20261201-b41183a2 → 0.0.0-dev-20261201-e37652f8

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 (191) hide show
  1. package/dist/{FaceDetectionProvider-DILvXMxQ.esm.js → FaceDetectionProvider-DQYbHLxC.esm.js} +7 -7
  2. package/dist/{addressSearch-BJ711RHG.esm.js → addressSearch-gginelz3.esm.js} +29 -27
  3. package/dist/ae-signature.esm.js +1 -1
  4. package/dist/antifraud.esm.js +2 -2
  5. package/dist/{antifraudManager-DRMBLSh7.esm.js → antifraudManager-B673OXCo.esm.js} +2 -2
  6. package/dist/{antifraudStateMachine-Bi0m60oV.esm.js → antifraudStateMachine-C_d7-TUA.esm.js} +1 -1
  7. package/dist/{api-B58edv6M.esm.js → api-CsXnB7m6.esm.js} +1 -0
  8. package/dist/{apiError-B80OYJHb.esm.js → apiError-BRiJu_rv.esm.js} +1 -1
  9. package/dist/{attemptCarry-CxiYlUAO.esm.js → attemptCarry-8gUYc3pL.esm.js} +1 -1
  10. package/dist/authentication.d.ts +3 -3
  11. package/dist/authentication.esm.js +2 -2
  12. package/dist/{authenticationManager-CXDKsr-j.esm.js → authenticationManager-CrBlRkAd.esm.js} +4 -4
  13. package/dist/{authenticationManager-C_ttJLGU.d.ts → authenticationManager-Cv_jCMGJ.d.ts} +1 -1
  14. package/dist/{authenticationStateMachine-CjheAavc.esm.js → authenticationStateMachine-DLwEyCeH.esm.js} +3 -3
  15. package/dist/certificate-issuance.esm.js +2 -2
  16. package/dist/{certificateIssuanceManager-DGzHjp2j.esm.js → certificateIssuanceManager-D-Dm90F3.esm.js} +2 -2
  17. package/dist/{certificateIssuanceStateMachine-DpflnS6P.esm.js → certificateIssuanceStateMachine-CBNw9Niu.esm.js} +1 -1
  18. package/dist/consent.d.ts +1 -1
  19. package/dist/consent.esm.js +2 -2
  20. package/dist/{consentManager-Bx_osBME.d.ts → consentManager-Bow34QP_.d.ts} +13 -13
  21. package/dist/{consentManager-CyoeiABc.esm.js → consentManager-DQ1uiNhr.esm.js} +2 -2
  22. package/dist/{consentStateMachine-BTUrAslr.esm.js → consentStateMachine-Cb7dKk_1.esm.js} +1 -1
  23. package/dist/cross-document-data-match.esm.js +1 -1
  24. package/dist/{crossDocumentDataMatchManager-cmQmp7Bi.esm.js → crossDocumentDataMatchManager-CeeEmCV1.esm.js} +2 -2
  25. package/dist/curp-validation.d.ts +1 -1
  26. package/dist/curp-validation.esm.js +2 -2
  27. package/dist/{curpValidationManager-BFPZiliY.d.ts → curpValidationManager-DFWjZq3i.d.ts} +1 -1
  28. package/dist/{curpValidationManager-EW44fVpH.esm.js → curpValidationManager-vgHG8gob.esm.js} +2 -2
  29. package/dist/{curpValidationStateMachine-BFkt90Zs.esm.js → curpValidationStateMachine-DaSzh9OA.esm.js} +2 -2
  30. package/dist/custom-fields.esm.js +1 -1
  31. package/dist/custom-watchlist.esm.js +2 -2
  32. package/dist/{customFieldsManager-DPMBJrcH.esm.js → customFieldsManager-BuEt-nm4.esm.js} +2 -2
  33. package/dist/{customWatchlistManager-DiYpPjZx.esm.js → customWatchlistManager-C1z0B5NU.esm.js} +2 -2
  34. package/dist/{customWatchlistStateMachine-D7VxQggF.esm.js → customWatchlistStateMachine-DvwFHjkC.esm.js} +1 -1
  35. package/dist/{deepsightCaptureConfig-22yGNhzp.esm.js → deepsightCaptureConfig-BVJANeRn.esm.js} +2 -2
  36. package/dist/{deepsightLoader-DAvHxEmQ.esm.js → deepsightLoader-C6nKqY9Q.esm.js} +4 -4
  37. package/dist/{desktopCameraElection-DKHWoXIZ.esm.js → desktopCameraElection-BAq-Kaiq.esm.js} +5 -5
  38. package/dist/document-capture.d.ts +1 -1
  39. package/dist/document-capture.esm.js +2 -2
  40. package/dist/document-signature.esm.js +2 -2
  41. package/dist/{documentCaptureManager-sJWgqtUy.d.ts → documentCaptureManager-DOgJTJ4F.d.ts} +4 -4
  42. package/dist/{documentCaptureManager-ytELw-yO.esm.js → documentCaptureManager-DoHy82WC.esm.js} +2 -2
  43. package/dist/{documentCaptureStateMachine-lKG1IVEM.esm.js → documentCaptureStateMachine-C_HQH7vA.esm.js} +2 -2
  44. package/dist/{documentSignatureStateMachine-BVv6yTDC.esm.js → documentSignatureStateMachine-Btlg3q7j.esm.js} +3 -3
  45. package/dist/dynamic-forms.esm.js +2 -2
  46. package/dist/{dynamicFormsManager-L9BCGhY3.esm.js → dynamicFormsManager-SbEUnFoF.esm.js} +2 -2
  47. package/dist/{dynamicFormsStateMachine-UeIgfIgO.esm.js → dynamicFormsStateMachine-Dxv36mAP.esm.js} +2 -2
  48. package/dist/ekyb.d.ts +1 -1
  49. package/dist/ekyb.esm.js +2 -2
  50. package/dist/{ekybManager-BNG13W2D.esm.js → ekybManager-xhoOX9O9.esm.js} +2 -2
  51. package/dist/{ekybStateMachine-qSw4IjCe.esm.js → ekybStateMachine-CCjUH0j3.esm.js} +184 -57
  52. package/dist/ekyc-prefill.d.ts +1 -1
  53. package/dist/ekyc-prefill.esm.js +2 -2
  54. package/dist/ekyc.d.ts +3 -0
  55. package/dist/ekyc.esm.js +3 -3
  56. package/dist/{ekycManager-Bt0FZlZO.esm.js → ekycManager-DrGuK0kT.esm.js} +2 -2
  57. package/dist/{ekycPrefillManager-C5DMDJEA.esm.js → ekycPrefillManager-C9kdwCC6.esm.js} +2 -2
  58. package/dist/{ekycPrefillManager-D-8VY48A.d.ts → ekycPrefillManager-Di6aMx68.d.ts} +8 -8
  59. package/dist/{ekycPrefillStateMachine-66IiDSxQ.esm.js → ekycPrefillStateMachine-DiQifkkd.esm.js} +9 -88
  60. package/dist/{ekycStateMachine-lo3GvfpV.esm.js → ekycStateMachine-BmMdLe2G.esm.js} +299 -126
  61. package/dist/{ekycUtils-BnTyeA-_.esm.js → ekycUtils-DfBNTcvX.esm.js} +41 -5
  62. package/dist/electronic-signature.esm.js +1 -1
  63. package/dist/{electronicSignatureManager-Dc0_ymIt.esm.js → electronicSignatureManager-C6liTNbu.esm.js} +3 -3
  64. package/dist/email.esm.js +2 -2
  65. package/dist/{emailManager-BBdRYLtH.esm.js → emailManager-CUX2saAB.esm.js} +2 -2
  66. package/dist/{emailStateMachine-DO7lWYvn.esm.js → emailStateMachine-BzWHKLtW.esm.js} +2 -2
  67. package/dist/{events-PUWyizJn.esm.js → events-Dlkhhx5O.esm.js} +1 -1
  68. package/dist/events.esm.js +1 -1
  69. package/dist/extensibility.d.ts +14 -14
  70. package/dist/extensibility.esm.js +35 -35
  71. package/dist/face-match.esm.js +2 -2
  72. package/dist/{faceCaptureManagerFactory-D0y15MK_.d.ts → faceCaptureManagerFactory-2oqROMSB.d.ts} +3 -3
  73. package/dist/{faceCaptureManagerFactory-DePLuBnT.esm.js → faceCaptureManagerFactory-OL8BWaIW.esm.js} +3 -3
  74. package/dist/{faceCaptureSetup-C8qfvh2x.esm.js → faceCaptureSetup-DQVtmb1q.esm.js} +10 -10
  75. package/dist/{faceMatchManager-nBvS9z0o.esm.js → faceMatchManager-BzaXiW4H.esm.js} +2 -2
  76. package/dist/{faceMatchStateMachine-48O8j_Lx.esm.js → faceMatchStateMachine-BItwQ_yA.esm.js} +2 -2
  77. package/dist/{feature-management-srznX8Iz.esm.js → feature-management-D_T-MG_i.esm.js} +1 -1
  78. package/dist/feature-management.esm.js +1 -1
  79. package/dist/field-comparison.esm.js +1 -1
  80. package/dist/{fieldComparisonManager-B1ipvtnp.esm.js → fieldComparisonManager-CzX6IhGd.esm.js} +2 -2
  81. package/dist/fiscal-qr.esm.js +1 -1
  82. package/dist/{fiscalQrManager-yecjuXV4.esm.js → fiscalQrManager-Dg6Mp58y.esm.js} +2 -2
  83. package/dist/flow-events.d.ts +1 -1
  84. package/dist/flow.d.ts +31 -9
  85. package/dist/flow.esm.js +11 -7
  86. package/dist/{flowCompletionService-Cba59yFV.esm.js → flowCompletionService-L0J63ui-.esm.js} +2 -2
  87. package/dist/{flowServices-B33MhjQM.esm.js → flowServices-3OXrEqDE.esm.js} +25 -21
  88. package/dist/formDefinitionsRollout-B-c4yO2z.esm.js +30 -0
  89. package/dist/{formErrors-lSfh7Y8J.esm.js → formErrors-kpskZLNT.esm.js} +39 -180
  90. package/dist/geolocation.d.ts +1 -1
  91. package/dist/geolocation.esm.js +2 -2
  92. package/dist/{geolocationManager-C7cHHTkd.esm.js → geolocationManager-CREfQNgO.esm.js} +2 -2
  93. package/dist/{geolocationManager-CENrvxpK.d.ts → geolocationManager-Del2ddmt.d.ts} +1 -1
  94. package/dist/{geolocationStateMachine-QJqoWT7E.esm.js → geolocationStateMachine-D9_bBr19.esm.js} +3 -3
  95. package/dist/government-validation.esm.js +2 -2
  96. package/dist/{governmentValidationManager-0-L21hu6.esm.js → governmentValidationManager-B7lIuL4r.esm.js} +2 -2
  97. package/dist/{governmentValidationStateMachine-BFIcq3UB.esm.js → governmentValidationStateMachine-BuW6l3ah.esm.js} +1 -1
  98. package/dist/home.d.ts +1 -1
  99. package/dist/home.esm.js +1 -1
  100. package/dist/http.esm.js +1 -1
  101. package/dist/id-ocr.d.ts +1 -1
  102. package/dist/id-ocr.esm.js +2 -2
  103. package/dist/id-selfie-flow.d.ts +1 -1
  104. package/dist/id-selfie-flow.esm.js +6 -6
  105. package/dist/id-verification.esm.js +2 -2
  106. package/dist/id.d.ts +2 -2
  107. package/dist/id.esm.js +3 -3
  108. package/dist/{idCaptureManager-3YmXwvvY.esm.js → idCaptureManager-B5ZN7scK.esm.js} +6 -6
  109. package/dist/{idCaptureManager-B72fNOKa.d.ts → idCaptureManager-BMsGPjcf.d.ts} +2 -2
  110. package/dist/{idCaptureServices-j-hB9ROq.esm.js → idCaptureServices-7zZ457LW.esm.js} +4 -4
  111. package/dist/{idCaptureStateMachine-DcQQvjLv.esm.js → idCaptureStateMachine-FP4j-qeT.esm.js} +15 -15
  112. package/dist/{idOcrManager-CNGVEZ7B.d.ts → idOcrManager-C0C7lFGd.d.ts} +1 -1
  113. package/dist/{idOcrManager-bjBLjrEE.esm.js → idOcrManager-C9C8UaPr.esm.js} +2 -2
  114. package/dist/{idOcrStateMachine-D5ifJ1B8.esm.js → idOcrStateMachine-DANDVn-6.esm.js} +1 -1
  115. package/dist/{idVerificationManager-C8Ja-vKq.esm.js → idVerificationManager-B_6wwpeT.esm.js} +2 -2
  116. package/dist/{idVerificationStateMachine-BMnfZZli.esm.js → idVerificationStateMachine-MjQmD3yQ.esm.js} +1 -1
  117. package/dist/identity-reuse.d.ts +2 -2
  118. package/dist/identity-reuse.esm.js +2 -2
  119. package/dist/identity-search.esm.js +1 -1
  120. package/dist/{identityReuseManager-D_jiHp1n.d.ts → identityReuseManager-BE6LHcuP.d.ts} +157 -21
  121. package/dist/{identityReuseManager-B5BWAleT.esm.js → identityReuseManager-DWECWIiZ.esm.js} +7 -3
  122. package/dist/{identityReuseStateMachine-Cuggm1UP.esm.js → identityReuseStateMachine-nBv0KUJC.esm.js} +73 -5
  123. package/dist/{index-O5g5kKdI.d.ts → index-k1LUfkAo.d.ts} +1 -1
  124. package/dist/index.esm.js +1 -1
  125. package/dist/kyb-checks.esm.js +2 -2
  126. package/dist/{kybChecksManager-BorQeoKZ.esm.js → kybChecksManager-tUsFKBCN.esm.js} +1 -1
  127. package/dist/{kybChecksStateMachine-kuV8xPAu.esm.js → kybChecksStateMachine-D1q4K7Xr.esm.js} +4 -4
  128. package/dist/mandatory-consent.d.ts +2 -2
  129. package/dist/mandatory-consent.esm.js +2 -2
  130. package/dist/{mandatoryConsentManager-C6jjFptX.d.ts → mandatoryConsentManager-De9ZX6o4.d.ts} +10 -10
  131. package/dist/{mandatoryConsentManager-FfgHdPYw.esm.js → mandatoryConsentManager-S8rgqCld.esm.js} +2 -2
  132. package/dist/{mandatoryConsentStateMachine-CXuYC3qR.esm.js → mandatoryConsentStateMachine-BtE4heVc.esm.js} +1 -1
  133. package/dist/{multipartRecordingService-CFmOUGQt.esm.js → multipartRecordingService-C8v02l56.esm.js} +1 -1
  134. package/dist/phone.esm.js +2 -2
  135. package/dist/{phoneManager-oIMdbeLG.esm.js → phoneManager-uQEAWKlO.esm.js} +2 -2
  136. package/dist/{phoneServices-Dk4j3NhI.esm.js → phoneServices-XoT74eS0.esm.js} +1 -1
  137. package/dist/{phoneStateMachine-Cu3y7ewi.esm.js → phoneStateMachine-B4W4CSqf.esm.js} +2 -2
  138. package/dist/{processFaceMatch-CHeI0DEt.esm.js → processFaceMatch-CpQYLU-y.esm.js} +1 -1
  139. package/dist/qe-signature.esm.js +1 -1
  140. package/dist/{recordingService-RHW4CWxh.esm.js → recordingService-OcyZO_w6.esm.js} +3 -3
  141. package/dist/redirect-to-mobile.esm.js +2 -2
  142. package/dist/{redirectToMobileManager-DmrPLTLG.esm.js → redirectToMobileManager-UQZkhZFB.esm.js} +2 -2
  143. package/dist/{redirectToMobileStateMachine-OeQDdgsK.esm.js → redirectToMobileStateMachine-D1wp--wG.esm.js} +1 -1
  144. package/dist/{runChildModule-pJrB5rsq.esm.js → runChildModule-BuZFd3Df.esm.js} +1 -1
  145. package/dist/{sdkVersion-CiTnubuK.esm.js → sdkVersion-BY8g-EEL.esm.js} +1 -1
  146. package/dist/selfie.d.ts +3 -3
  147. package/dist/selfie.esm.js +8 -8
  148. package/dist/{selfieErrorUtils-UJWNVxvr.esm.js → selfieErrorUtils-DIVWh0ih.esm.js} +1 -1
  149. package/dist/{selfieManager-B9nn8qKH.esm.js → selfieManager-DQ5xB8y6.esm.js} +4 -4
  150. package/dist/{selfieManager-C44cA6cA.d.ts → selfieManager-RgcJwpHg.d.ts} +1 -1
  151. package/dist/{selfieStateMachine-7H38L53x.esm.js → selfieStateMachine-fyNh2r31.esm.js} +3 -3
  152. package/dist/{session-BLrEehWj.esm.js → session-DKnCv6zu.esm.js} +5 -5
  153. package/dist/session.d.ts +9 -1
  154. package/dist/session.esm.js +5 -5
  155. package/dist/{sessionInitializer-DAC3I8PG.esm.js → sessionInitializer-q5b8Qwr3.esm.js} +7 -7
  156. package/dist/{setup-BajT35bZ.esm.js → setup-JGwc0kgu.esm.js} +8 -8
  157. package/dist/signature.esm.js +2 -2
  158. package/dist/{signatureManager-DRUflksL.esm.js → signatureManager-3g4_cavt.esm.js} +2 -2
  159. package/dist/{signatureStateMachine-BQZenxel.esm.js → signatureStateMachine-CkES2vVv.esm.js} +1 -1
  160. package/dist/{stats-DHu3li6G.esm.js → stats-D_gJvsTS.esm.js} +1 -1
  161. package/dist/stats.esm.js +1 -1
  162. package/dist/trim-OmrUb6mG.esm.js +297 -0
  163. package/dist/trueSight-9VsfHXFt.esm.js +1 -0
  164. package/dist/{trueSightService-BLyfduve.esm.js → trueSightService-Dx8AqgKD.esm.js} +3 -3
  165. package/dist/trust-graph.esm.js +2 -2
  166. package/dist/{trustGraphStateMachine-0Ehwried.esm.js → trustGraphStateMachine-fuYq0Cxf.esm.js} +1 -1
  167. package/dist/{types-C57lH3a8.d.ts → types-BV2Tl1wE.d.ts} +1 -1
  168. package/dist/{types-CaQV2ksk.d.ts → types-BVgTvWOP.d.ts} +1 -1
  169. package/dist/{types-DDmU-yVM.d.ts → types-DAhpyjuI.d.ts} +1 -1
  170. package/dist/{types-ujAUlvvI.d.ts → types-DH4VaTRC.d.ts} +4 -4
  171. package/dist/types-RLVmm_Hf.d.ts +6 -0
  172. package/dist/{types-ByNCQYE9.d.ts → types-YS7g_P7z.d.ts} +1 -1
  173. package/dist/uppercase-CwlIuiwR.esm.js +115 -0
  174. package/dist/video-selfie.d.ts +1 -1
  175. package/dist/video-selfie.esm.js +6 -6
  176. package/dist/{videoSelfieCameraWarmer-D4nY62Xt.esm.js → videoSelfieCameraWarmer-AoMytGBD.esm.js} +4 -4
  177. package/dist/{videoSelfieStepDetector-DAEJDeL3.d.ts → videoSelfieStepDetector-DCOmz3yk.d.ts} +2 -2
  178. package/dist/wasm.esm.js +1 -1
  179. package/dist/watchlist-for-business.esm.js +2 -2
  180. package/dist/watchlist.esm.js +2 -2
  181. package/dist/{watchlistForBusinessManager-d8kdf35n.esm.js → watchlistForBusinessManager-VDu1ypVz.esm.js} +2 -2
  182. package/dist/{watchlistForBusinessStateMachine-Y9wFmuMH.esm.js → watchlistForBusinessStateMachine-Dr85bA22.esm.js} +1 -1
  183. package/dist/{watchlistManager-D1BVrd3H.esm.js → watchlistManager-Dc9sFwZx.esm.js} +2 -2
  184. package/dist/{watchlistStateMachine-Da4p0sTE.esm.js → watchlistStateMachine-BnKGh6Kk.esm.js} +1 -1
  185. package/dist/workflow.d.ts +5 -5
  186. package/dist/workflow.esm.js +40 -40
  187. package/package.json +1 -1
  188. package/dist/definitionSource-B9WTvQb9.esm.js +0 -30
  189. package/dist/resolveForm-DaaQSVWp.esm.js +0 -146
  190. package/dist/trueSight-BdWbgUnZ.esm.js +0 -1
  191. package/dist/types-B_THBzAh.d.ts +0 -6
@@ -1,4 +1,5 @@
1
1
  import { n as __exportAll } from "./rolldown-runtime-B-1-B7_t.esm.js";
2
+ import { t as isFormDefinitionsEnabled } from "./formDefinitionsRollout-B-c4yO2z.esm.js";
2
3
  //#region ../form-definitions/generated/ekycIndex.ts
3
4
  const EKYC_INDEX = [
4
5
  {
@@ -171,6 +172,15 @@ const EKYC_INDEX = [
171
172
  country: "PT",
172
173
  source: "PT_PHONE_REGISTER"
173
174
  },
175
+ {
176
+ id: "ekyc/RISK_ADDONS_ONLY",
177
+ source: "RISK_ADDONS_ONLY"
178
+ },
179
+ {
180
+ id: "ekyc/RISK_ADDONS_ONLY/phoneProfile",
181
+ source: "RISK_ADDONS_ONLY",
182
+ riskAddon: "phoneProfile"
183
+ },
174
184
  {
175
185
  id: "ekyc/RO/RO_VOTER_REGISTER",
176
186
  country: "RO",
@@ -1310,9 +1320,17 @@ const MIDDLE_NAME_SOURCES = [
1310
1320
  "CL_1",
1311
1321
  "INDIA_PAN"
1312
1322
  ];
1313
- /** Risk addons that replace a `RISK_ADDONS_ONLY` source with their own. */
1323
+ /**
1324
+ * Risk addons that replace a `RISK_ADDONS_ONLY` source with their own. Only
1325
+ * with the form definitions switch off: with it on, the add-on's own form
1326
+ * (`catalog/ekyc/addons`) names the source it sends.
1327
+ */
1314
1328
  const RISK_ADDON_SOURCE_OVERRIDES = { phoneProfile: "PHONE_PROFILE" };
1315
- /** Sources whose submit payload must not carry `countryCode`. */
1329
+ /**
1330
+ * Sources whose legacy request body must not carry `countryCode`. With the
1331
+ * form definitions switch on, RISK_ADDONS_ONLY with phoneProfile gets its
1332
+ * add-on form instead, which sends no `countryCode` either.
1333
+ */
1316
1334
  const COUNTRY_CODE_OMITTED_SOURCES = ["PHONE_PROFILE"];
1317
1335
  //#endregion
1318
1336
  //#region src/modules/ekyc/ekycUtils.ts
@@ -1330,6 +1348,7 @@ var ekycUtils_exports = /* @__PURE__ */ __exportAll({
1330
1348
  mapToEKYCvalue: () => mapToEKYCvalue,
1331
1349
  resolveEkycSource: () => resolveEkycSource,
1332
1350
  toEkycConfig: () => toEkycConfig,
1351
+ toEkycConfigFor: () => toEkycConfigFor,
1333
1352
  withRiskAddonFields: () => withRiskAddonFields
1334
1353
  });
1335
1354
  function mapToEKYCvalue(field) {
@@ -1345,6 +1364,9 @@ function mapToEKYCvalue(field) {
1345
1364
  * Resolves the source sent to the backend. A `RISK_ADDONS_ONLY` source is
1346
1365
  * replaced by the first configured addon that defines its own source
1347
1366
  * (e.g. `phoneProfile` → `PHONE_PROFILE`); any other source is kept.
1367
+ *
1368
+ * It always swaps. Its callers apply it only with the form definitions
1369
+ * switch off; with it on, the add-on's own form names the source it sends.
1348
1370
  */
1349
1371
  function resolveEkycSource(source, riskAddons) {
1350
1372
  if (source !== "RISK_ADDONS_ONLY") return source;
@@ -1451,7 +1473,7 @@ function indexCountries(entries) {
1451
1473
  const countries = /* @__PURE__ */ new Map();
1452
1474
  const ambiguous = /* @__PURE__ */ new Set();
1453
1475
  for (const entry of entries) {
1454
- if (!entry.country) continue;
1476
+ if (!entry.country || entry.riskAddon) continue;
1455
1477
  for (const id of [entry.source, ...entry.aliases ?? []]) {
1456
1478
  if (!id || ambiguous.has(id)) continue;
1457
1479
  const known = countries.get(id);
@@ -1511,11 +1533,25 @@ function hasRawSignal(c) {
1511
1533
  * empty form.
1512
1534
  *
1513
1535
  * Idempotent: `toEkycConfig(toEkycConfig(x))` equals `toEkycConfig(x)`.
1536
+ *
1537
+ * It reads the form definitions switch when it runs, so a test or the
1538
+ * playground sets the switch before it converts a config.
1514
1539
  */
1515
1540
  function toEkycConfig(config) {
1541
+ return toEkycConfigFor(config, isFormDefinitionsEnabled());
1542
+ }
1543
+ /**
1544
+ * `toEkycConfig` with the form definitions switch answer given. The eKYC
1545
+ * machine reads the switch once and passes the same answer here and to its
1546
+ * form, so the two can't disagree. With the switch off, a raw config's
1547
+ * `RISK_ADDONS_ONLY` source gets the risk add-on swap (`resolveEkycSource`),
1548
+ * as before ENG-62004. With it on, the configured source stays: the add-on's
1549
+ * own form, such as phoneProfile's, names the source it sends.
1550
+ */
1551
+ function toEkycConfigFor(config, useDefinitions) {
1516
1552
  if (config.flowId || config.verificationFields) return config;
1517
1553
  if (!hasRawSignal(config)) return config;
1518
- const source = resolveEkycSource(config.source ?? "", config.riskAddons);
1554
+ const source = useDefinitions ? config.source ?? "" : resolveEkycSource(config.source ?? "", config.riskAddons);
1519
1555
  const displayModes = getEKYCDisplayModes(config);
1520
1556
  return {
1521
1557
  verificationFields: getEKYCFields(config),
@@ -1541,4 +1577,4 @@ function isFieldOptional(fieldName, configSource) {
1541
1577
  return false;
1542
1578
  }
1543
1579
  //#endregion
1544
- export { POSTAL_CODE_SOURCES as C, VOCABULARY as D, TAX_ID_SOURCES as E, ONE_OF_REQUIRED_GROUPS as S, STREET_SOURCES as T, COUNTRY_SELECTOR_DISABLED_SOURCES as _, getEKYCFields as a, MIDDLE_NAME_SOURCES as b, isFieldOptional as c, toEkycConfig as d, withRiskAddonFields as f, COUNTRY_CODE_OMITTED_SOURCES as g, CITY_SOURCES as h, getEKYCDisplayModes as i, mapToEKYCvalue as l, APARTMENT_SOURCES as m, ekycUtils_exports as n, getEkycRiskAddons as o, ADDRESS_STATE_SOURCES as p, getEKYCCountry as r, getRiskAddonFields as s, EKYC_GROUP_KEYS as t, resolveEkycSource as u, EMAIL_SOURCES as v, STATE_CODE_HINTS as w, NAME_SOURCES as x, HOUSE_NO_SOURCES as y };
1580
+ export { ONE_OF_REQUIRED_GROUPS as C, TAX_ID_SOURCES as D, STREET_SOURCES as E, VOCABULARY as O, NAME_SOURCES as S, STATE_CODE_HINTS as T, COUNTRY_CODE_OMITTED_SOURCES as _, getEKYCFields as a, HOUSE_NO_SOURCES as b, isFieldOptional as c, toEkycConfig as d, toEkycConfigFor as f, CITY_SOURCES as g, APARTMENT_SOURCES as h, getEKYCDisplayModes as i, EKYC_INDEX as k, mapToEKYCvalue as l, ADDRESS_STATE_SOURCES as m, ekycUtils_exports as n, getEkycRiskAddons as o, withRiskAddonFields as p, getEKYCCountry as r, getRiskAddonFields as s, EKYC_GROUP_KEYS as t, resolveEkycSource as u, COUNTRY_SELECTOR_DISABLED_SOURCES as v, POSTAL_CODE_SOURCES as w, MIDDLE_NAME_SOURCES as x, EMAIL_SOURCES as y };
@@ -1,2 +1,2 @@
1
- import { a as NAMIRIAL_QES_CONSENT_KEYS, c as areAllConsented, i as AE_CONSENT_KEYS, l as getConsentKeys, n as createElectronicSignatureManagerFromActor, o as NAMIRIAL_QES_PROVIDER_CODE, r as electronicSignatureMachine, s as QE_CONSENT_KEYS, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-Dc0_ymIt.esm.js";
1
+ import { a as NAMIRIAL_QES_CONSENT_KEYS, c as areAllConsented, i as AE_CONSENT_KEYS, l as getConsentKeys, n as createElectronicSignatureManagerFromActor, o as NAMIRIAL_QES_PROVIDER_CODE, r as electronicSignatureMachine, s as QE_CONSENT_KEYS, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-C6liTNbu.esm.js";
2
2
  export { AE_CONSENT_KEYS, NAMIRIAL_QES_CONSENT_KEYS, NAMIRIAL_QES_PROVIDER_CODE, QE_CONSENT_KEYS, areAllConsented, createElectronicSignatureManager, createElectronicSignatureManagerFromActor, electronicSignatureMachine, getConsentKeys, getDefaultConsentChecks };
@@ -1,8 +1,8 @@
1
1
  import { n as eventModuleNames } from "./types-DLsivQsu.esm.js";
2
- import { t as api, u as endpoints } from "./api-B58edv6M.esm.js";
3
- import { t as createManagerInstrumentation } from "./events-PUWyizJn.esm.js";
2
+ import { t as api, u as endpoints } from "./api-CsXnB7m6.esm.js";
3
+ import { t as createManagerInstrumentation } from "./events-Dlkhhx5O.esm.js";
4
4
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
5
- import { i as toIncodeApiError, n as isConnectivityError, t as IncodeApiError } from "./apiError-B80OYJHb.esm.js";
5
+ import { i as toIncodeApiError, n as isConnectivityError, t as IncodeApiError } from "./apiError-BRiJu_rv.esm.js";
6
6
  import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
7
7
  import { i as assign, s as createActor, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
8
8
  import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
package/dist/email.esm.js CHANGED
@@ -1,3 +1,3 @@
1
- import { t as emailMachine } from "./emailStateMachine-DO7lWYvn.esm.js";
2
- import { t as createEmailManager } from "./emailManager-BBdRYLtH.esm.js";
1
+ import { t as emailMachine } from "./emailStateMachine-BzWHKLtW.esm.js";
2
+ import { t as createEmailManager } from "./emailManager-CUX2saAB.esm.js";
3
3
  export { createEmailManager, emailMachine };
@@ -1,8 +1,8 @@
1
1
  import { n as eventModuleNames } from "./types-DLsivQsu.esm.js";
2
- import { t as createManagerInstrumentation } from "./events-PUWyizJn.esm.js";
2
+ import { t as createManagerInstrumentation } from "./events-Dlkhhx5O.esm.js";
3
3
  import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
4
4
  import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
5
- import { t as emailMachine } from "./emailStateMachine-DO7lWYvn.esm.js";
5
+ import { t as emailMachine } from "./emailStateMachine-BzWHKLtW.esm.js";
6
6
  import { n as isOtpComplete } from "./otp-D2k3PeSL.esm.js";
7
7
  //#region src/modules/email/emailActor.ts
8
8
  function createEmailActor(options) {
@@ -1,8 +1,8 @@
1
- import { t as api, u as endpoints } from "./api-B58edv6M.esm.js";
1
+ import { t as api, u as endpoints } from "./api-CsXnB7m6.esm.js";
2
2
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
3
3
  import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
4
4
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
5
- import { t as carryAttempts } from "./attemptCarry-CxiYlUAO.esm.js";
5
+ import { t as carryAttempts } from "./attemptCarry-8gUYc3pL.esm.js";
6
6
  import { n as isOtpComplete, t as computeOtpValidationErrors } from "./otp-D2k3PeSL.esm.js";
7
7
  //#region src/modules/email/emailServices.ts
8
8
  function getEmailServerFailureReason(error, invalidStatus) {
@@ -1,5 +1,5 @@
1
1
  import { _ as stateChanged, c as elementClicked, d as foreground, f as moduleClosed, g as screenOpened, l as errorTriggered, m as screenClosed, o as background, p as moduleOpened, s as captureAttemptFinished, u as experimentAssigned, y as getAnalyticsBatcher } from "./types-DLsivQsu.esm.js";
2
- import { t as api } from "./api-B58edv6M.esm.js";
2
+ import { t as api } from "./api-CsXnB7m6.esm.js";
3
3
  //#region src/internal/events/AnalyticsBatchingService.ts
4
4
  const DEFAULT_MAX_BATCH_SIZE = 50;
5
5
  const MAX_STATE_BATCH_SIZE = 50;
@@ -1,3 +1,3 @@
1
1
  import { S as subscribeEvent, _ as stateChanged, a as videoSelfieEvents, c as elementClicked, f as moduleClosed, g as screenOpened, h as screenEvent, i as tutorialScreenNamesMapper, m as screenClosed, n as eventModuleNames, p as moduleOpened, r as eventScreenNames, s as captureAttemptFinished, t as cameraScreenNamesMapper, u as experimentAssigned, v as addEvent } from "./types-DLsivQsu.esm.js";
2
- import { n as recordExperimentAssignmentOnce } from "./events-PUWyizJn.esm.js";
2
+ import { n as recordExperimentAssignmentOnce } from "./events-Dlkhhx5O.esm.js";
3
3
  export { addEvent, cameraScreenNamesMapper, captureAttemptFinished, elementClicked, eventModuleNames, eventScreenNames, experimentAssigned, moduleClosed, moduleOpened, recordExperimentAssignmentOnce, screenClosed, screenEvent, screenOpened, stateChanged, subscribeEvent, tutorialScreenNamesMapper, videoSelfieEvents };
@@ -5,42 +5,42 @@ import "./Actor-DqjOqDfU.js";
5
5
  import { c as ElectronicSignatureFileDataHolder } from "./types-D0gekt4U.js";
6
6
  import { a as ElectronicSignatureActor, i as createElectronicSignatureManagerFromActor, n as ElectronicSignatureState, t as ElectronicSignatureManager } from "./electronicSignatureManager-5tYz-a4o.js";
7
7
  import { a as AntifraudActor, i as createAntifraudManagerFromActor, n as AntifraudState, t as AntifraudManager } from "./antifraudManager-BxfCsyA7.js";
8
- import { b as AuthenticationActor, c as SelfieActor, d as FaceCaptureContext, f as FaceCaptureEvent, h as ProcessFaceResponse, m as faceCaptureMachine, n as FaceCaptureManagerState, p as FaceCaptureInput, t as FaceCaptureManager, y as SendFaceImageResponse } from "./faceCaptureManagerFactory-D0y15MK_.js";
8
+ import { b as AuthenticationActor, c as SelfieActor, d as FaceCaptureContext, f as FaceCaptureEvent, h as ProcessFaceResponse, m as faceCaptureMachine, n as FaceCaptureManagerState, p as FaceCaptureInput, t as FaceCaptureManager, y as SendFaceImageResponse } from "./faceCaptureManagerFactory-2oqROMSB.js";
9
9
  import "./createFaceAvatar-Ct9QrQ66.js";
10
10
  import { a as IStorageCapability } from "./IWasmUtilCapability-CLWIYHB4.js";
11
11
  import "./StreamCanvasCapture-BqaHTJF0.js";
12
- import { i as createIdCaptureManagerFromActor, n as IdCaptureManager, q as WasmUtilProvider, r as IdCaptureState, y as IdCaptureActor } from "./idCaptureManager-B72fNOKa.js";
13
- import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-C_ttJLGU.js";
12
+ import { i as createIdCaptureManagerFromActor, n as IdCaptureManager, q as WasmUtilProvider, r as IdCaptureState, y as IdCaptureActor } from "./idCaptureManager-BMsGPjcf.js";
13
+ import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-Cv_jCMGJ.js";
14
14
  import { a as CertificateIssuanceActor, i as createCertificateIssuanceManagerFromActor, n as CertificateIssuanceState, t as CertificateIssuanceManager } from "./certificateIssuanceManager-BcYhxO63.js";
15
- import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-Bx_osBME.js";
15
+ import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-Bow34QP_.js";
16
16
  import { a as CrossDocumentDataMatchActor, i as createCrossDocumentDataMatchManagerFromActor, n as CrossDocumentDataMatchState, t as CrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-crZcIUSY.js";
17
- import { a as CurpValidationActor, i as createCurpValidationManagerFromActor, n as CurpValidationState, t as CurpValidationManager } from "./curpValidationManager-BFPZiliY.js";
17
+ import { a as CurpValidationActor, i as createCurpValidationManagerFromActor, n as CurpValidationState, t as CurpValidationManager } from "./curpValidationManager-DFWjZq3i.js";
18
18
  import { a as createCustomFieldsManagerFromActor, n as CustomFieldsState, o as CustomFieldsActor, t as CustomFieldsManager } from "./customFieldsManager-CdWTbsew.js";
19
19
  import { a as CustomWatchlistActor, i as createCustomWatchlistManagerFromActor, n as CustomWatchlistState, t as CustomWatchlistManager } from "./customWatchlistManager-lJrveDS4.js";
20
- import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-sJWgqtUy.js";
20
+ import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-DOgJTJ4F.js";
21
21
  import { a as DynamicFormsActor, i as createDynamicFormsManagerFromActor, n as DynamicFormsState, t as DynamicFormsManager } from "./dynamicFormsManager-C45pTncO.js";
22
22
  import { a as EkybActor, i as createEkybManagerFromActor, n as EkybState, t as EkybManager } from "./ekybManager-XpAF7sBY.js";
23
- import { c as EkycPrefillManager, m as EkycPrefillActor, p as createEkycPrefillManagerFromActor, u as EkycPrefillState } from "./ekycPrefillManager-D-8VY48A.js";
23
+ import { c as EkycPrefillManager, m as EkycPrefillActor, p as createEkycPrefillManagerFromActor, u as EkycPrefillState } from "./ekycPrefillManager-Di6aMx68.js";
24
24
  import { i as createEkycManagerFromActor, n as EkycState, o as EkycActor, t as EkycManager } from "./ekycManager-P1jYeS8s.js";
25
25
  import { a as EmailActor, i as createEmailManagerFromActor, n as EmailState, t as EmailManager } from "./emailManager-pM7ZPuMa.js";
26
- import { i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-C44cA6cA.js";
27
- import { i as CaptureIdResponse } from "./types-ByNCQYE9.js";
26
+ import { i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-RgcJwpHg.js";
27
+ import { i as CaptureIdResponse } from "./types-YS7g_P7z.js";
28
28
  import { a as PhoneActor, i as createPhoneManagerFromActor, n as PhoneState, t as PhoneManager } from "./phoneManager-bA-xw2TP.js";
29
29
  import { a as WatchlistActor, i as createWatchlistManagerFromActor, n as WatchlistState, t as WatchlistManager } from "./watchlistManager-DQq4GxBO.js";
30
30
  import { i as WatchlistForBusinessState, o as createWatchlistForBusinessManagerFromActor, r as WatchlistForBusinessManager, s as WatchlistForBusinessActor } from "./watchlistForBusinessManager-l7ZERQcV.js";
31
- import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-D_jiHp1n.js";
31
+ import { a as createIdentityReuseManagerFromActor, o as IdentityReuseActor, r as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-BE6LHcuP.js";
32
32
  import { a as FieldComparisonActor, i as createFieldComparisonManagerFromActor, n as FieldComparisonState, t as FieldComparisonManager } from "./fieldComparisonManager-mFOHRhVd.js";
33
- import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-C6jjFptX.js";
34
- import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-CNGVEZ7B.js";
33
+ import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-De9ZX6o4.js";
34
+ import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-C0C7lFGd.js";
35
35
  import { a as RedirectToMobileActor, i as createRedirectToMobileManagerFromActor, n as RedirectToMobileState, t as RedirectToMobileManager } from "./redirectToMobileManager-Db99n9Yu.js";
36
36
  import { a as createSignatureManagerFromActor, n as SignatureManager, o as SignatureActor, r as SignatureState } from "./signatureManager-daT_8fj_.js";
37
- import { a as GeolocationActor, i as createGeolocationManagerFromActor, n as GeolocationState, t as GeolocationManager } from "./geolocationManager-CENrvxpK.js";
37
+ import { a as GeolocationActor, i as createGeolocationManagerFromActor, n as GeolocationState, t as GeolocationManager } from "./geolocationManager-Del2ddmt.js";
38
38
  import { a as GovernmentValidationActor, i as createGovernmentValidationManagerFromActor, n as GovernmentValidationState, t as GovernmentValidationManager } from "./governmentValidationManager-De_vU7bm.js";
39
39
  import { a as IdVerificationActor, i as createIdVerificationManagerFromActor, n as IdVerificationState, t as IdVerificationManager } from "./idVerificationManager-B6R8xNZq.js";
40
40
  import { a as FaceMatchActor, i as createFaceMatchManagerFromActor, n as FaceMatchState, t as FaceMatchManager } from "./faceMatchManager-C5b5WtcY.js";
41
41
  import { a as FiscalQrActor, i as createFiscalQrManagerFromActor, n as FiscalQrState, t as FiscalQrManager } from "./fiscalQrManager-DFnFVpP9.js";
42
42
  import { c as KybChecksState, d as createKybChecksManagerFromActor, f as KybChecksActor, o as KybChecksManager } from "./kybChecksManager-CKDy1mel.js";
43
- import "./types-C57lH3a8.js";
43
+ import "./types-BV2Tl1wE.js";
44
44
  //#region src/modules/authentication/authenticationUploadService.d.ts
45
45
  type AuthenticationUploadResponse = {
46
46
  overallStatus: 'PASS' | 'FAIL';
@@ -1,39 +1,39 @@
1
- import { u as BrowserStorageProvider } from "./setup-BajT35bZ.esm.js";
1
+ import { u as BrowserStorageProvider } from "./setup-JGwc0kgu.esm.js";
2
2
  import { t as WasmUtilProvider } from "./WasmUtilProvider-unrmGEHD.esm.js";
3
- import { b as getDeviceFingerprintInfo, v as getFingerprint } from "./sessionInitializer-DAC3I8PG.esm.js";
3
+ import { b as getDeviceFingerprintInfo, v as getFingerprint } from "./sessionInitializer-q5b8Qwr3.esm.js";
4
4
  import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
5
5
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
6
- import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-Dc0_ymIt.esm.js";
7
- import { n as createAntifraudManagerFromActor } from "./antifraudManager-DRMBLSh7.esm.js";
8
- import { t as faceCaptureMachine } from "./faceCaptureSetup-C8qfvh2x.esm.js";
9
- import { n as createAuthenticationManagerFromActor } from "./authenticationManager-CXDKsr-j.esm.js";
10
- import { n as createCertificateIssuanceManagerFromActor } from "./certificateIssuanceManager-DGzHjp2j.esm.js";
11
- import { n as createConsentManagerFromActor } from "./consentManager-CyoeiABc.esm.js";
12
- import { n as createCrossDocumentDataMatchManagerFromActor } from "./crossDocumentDataMatchManager-cmQmp7Bi.esm.js";
13
- import { n as createCurpValidationManagerFromActor } from "./curpValidationManager-EW44fVpH.esm.js";
14
- import { n as createCustomFieldsManagerFromActor } from "./customFieldsManager-DPMBJrcH.esm.js";
15
- import { n as createCustomWatchlistManagerFromActor } from "./customWatchlistManager-DiYpPjZx.esm.js";
16
- import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-ytELw-yO.esm.js";
17
- import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-L9BCGhY3.esm.js";
18
- import { n as createEkybManagerFromActor } from "./ekybManager-BNG13W2D.esm.js";
19
- import { n as createEkycManagerFromActor } from "./ekycManager-Bt0FZlZO.esm.js";
20
- import { n as createEkycPrefillManagerFromActor } from "./ekycPrefillManager-C5DMDJEA.esm.js";
21
- import { n as createEmailManagerFromActor } from "./emailManager-BBdRYLtH.esm.js";
22
- import { n as createSelfieManagerFromActor } from "./selfieManager-B9nn8qKH.esm.js";
23
- import { s as createIdCaptureManagerFromActor } from "./idCaptureManager-3YmXwvvY.esm.js";
24
- import { n as createPhoneManagerFromActor } from "./phoneManager-oIMdbeLG.esm.js";
25
- import { n as createWatchlistManagerFromActor } from "./watchlistManager-D1BVrd3H.esm.js";
26
- import { n as createWatchlistForBusinessManagerFromActor } from "./watchlistForBusinessManager-d8kdf35n.esm.js";
27
- import { n as createIdentityReuseManagerFromActor } from "./identityReuseManager-B5BWAleT.esm.js";
28
- import { n as createFieldComparisonManagerFromActor } from "./fieldComparisonManager-B1ipvtnp.esm.js";
29
- import { n as createMandatoryConsentManagerFromActor } from "./mandatoryConsentManager-FfgHdPYw.esm.js";
30
- import { n as createIdOcrManagerFromActor } from "./idOcrManager-bjBLjrEE.esm.js";
31
- import { n as createRedirectToMobileManagerFromActor } from "./redirectToMobileManager-DmrPLTLG.esm.js";
32
- import { n as createSignatureManagerFromActor } from "./signatureManager-DRUflksL.esm.js";
33
- import { n as createGeolocationManagerFromActor } from "./geolocationManager-C7cHHTkd.esm.js";
34
- import { n as createGovernmentValidationManagerFromActor } from "./governmentValidationManager-0-L21hu6.esm.js";
35
- import { n as createIdVerificationManagerFromActor } from "./idVerificationManager-C8Ja-vKq.esm.js";
36
- import { n as createFaceMatchManagerFromActor } from "./faceMatchManager-nBvS9z0o.esm.js";
37
- import { n as createFiscalQrManagerFromActor } from "./fiscalQrManager-yecjuXV4.esm.js";
38
- import { n as createKybChecksManagerFromActor } from "./kybChecksManager-BorQeoKZ.esm.js";
6
+ import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-C6liTNbu.esm.js";
7
+ import { n as createAntifraudManagerFromActor } from "./antifraudManager-B673OXCo.esm.js";
8
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-DQVtmb1q.esm.js";
9
+ import { n as createAuthenticationManagerFromActor } from "./authenticationManager-CrBlRkAd.esm.js";
10
+ import { n as createCertificateIssuanceManagerFromActor } from "./certificateIssuanceManager-D-Dm90F3.esm.js";
11
+ import { n as createConsentManagerFromActor } from "./consentManager-DQ1uiNhr.esm.js";
12
+ import { n as createCrossDocumentDataMatchManagerFromActor } from "./crossDocumentDataMatchManager-CeeEmCV1.esm.js";
13
+ import { n as createCurpValidationManagerFromActor } from "./curpValidationManager-vgHG8gob.esm.js";
14
+ import { n as createCustomFieldsManagerFromActor } from "./customFieldsManager-BuEt-nm4.esm.js";
15
+ import { n as createCustomWatchlistManagerFromActor } from "./customWatchlistManager-C1z0B5NU.esm.js";
16
+ import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-DoHy82WC.esm.js";
17
+ import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-SbEUnFoF.esm.js";
18
+ import { n as createEkybManagerFromActor } from "./ekybManager-xhoOX9O9.esm.js";
19
+ import { n as createEkycManagerFromActor } from "./ekycManager-DrGuK0kT.esm.js";
20
+ import { n as createEkycPrefillManagerFromActor } from "./ekycPrefillManager-C9kdwCC6.esm.js";
21
+ import { n as createEmailManagerFromActor } from "./emailManager-CUX2saAB.esm.js";
22
+ import { n as createSelfieManagerFromActor } from "./selfieManager-DQ5xB8y6.esm.js";
23
+ import { s as createIdCaptureManagerFromActor } from "./idCaptureManager-B5ZN7scK.esm.js";
24
+ import { n as createPhoneManagerFromActor } from "./phoneManager-uQEAWKlO.esm.js";
25
+ import { n as createWatchlistManagerFromActor } from "./watchlistManager-Dc9sFwZx.esm.js";
26
+ import { n as createWatchlistForBusinessManagerFromActor } from "./watchlistForBusinessManager-VDu1ypVz.esm.js";
27
+ import { n as createIdentityReuseManagerFromActor } from "./identityReuseManager-DWECWIiZ.esm.js";
28
+ import { n as createFieldComparisonManagerFromActor } from "./fieldComparisonManager-CzX6IhGd.esm.js";
29
+ import { n as createMandatoryConsentManagerFromActor } from "./mandatoryConsentManager-S8rgqCld.esm.js";
30
+ import { n as createIdOcrManagerFromActor } from "./idOcrManager-C9C8UaPr.esm.js";
31
+ import { n as createRedirectToMobileManagerFromActor } from "./redirectToMobileManager-UQZkhZFB.esm.js";
32
+ import { n as createSignatureManagerFromActor } from "./signatureManager-3g4_cavt.esm.js";
33
+ import { n as createGeolocationManagerFromActor } from "./geolocationManager-CREfQNgO.esm.js";
34
+ import { n as createGovernmentValidationManagerFromActor } from "./governmentValidationManager-B7lIuL4r.esm.js";
35
+ import { n as createIdVerificationManagerFromActor } from "./idVerificationManager-B_6wwpeT.esm.js";
36
+ import { n as createFaceMatchManagerFromActor } from "./faceMatchManager-BzaXiW4H.esm.js";
37
+ import { n as createFiscalQrManagerFromActor } from "./fiscalQrManager-Dg6Mp58y.esm.js";
38
+ import { n as createKybChecksManagerFromActor } from "./kybChecksManager-tUsFKBCN.esm.js";
39
39
  export { BrowserStorageProvider, WasmUtilProvider, createActor, createAntifraudManagerFromActor, createAuthenticationManagerFromActor, createCertificateIssuanceManagerFromActor, createConsentManagerFromActor, createCrossDocumentDataMatchManagerFromActor, createCurpValidationManagerFromActor, createCustomFieldsManagerFromActor, createCustomWatchlistManagerFromActor, createDocumentCaptureManagerFromActor, createDynamicFormsManagerFromActor, createEkybManagerFromActor, createEkycManagerFromActor, createEkycPrefillManagerFromActor, createElectronicSignatureManagerFromActor, createEmailManagerFromActor, createFaceMatchManagerFromActor, createFieldComparisonManagerFromActor, createFiscalQrManagerFromActor, createGeolocationManagerFromActor, createGovernmentValidationManagerFromActor, createIdCaptureManagerFromActor, createIdOcrManagerFromActor, createIdVerificationManagerFromActor, createIdentityReuseManagerFromActor, createKybChecksManagerFromActor, createMandatoryConsentManagerFromActor, createPhoneManagerFromActor, createRedirectToMobileManagerFromActor, createSelfieManagerFromActor, createSignatureManagerFromActor, createWatchlistForBusinessManagerFromActor, createWatchlistManagerFromActor, faceCaptureMachine, fromCallback, fromPromise, getDeviceFingerprintInfo, getFingerprint };
@@ -1,3 +1,3 @@
1
- import { n as ID_FACE_EXTRACTION_SKIPPED_CODE, r as isFaceExtractionSkippedError, t as faceMatchMachine } from "./faceMatchStateMachine-48O8j_Lx.esm.js";
2
- import { n as createFaceMatchManagerFromActor, t as createFaceMatchManager } from "./faceMatchManager-nBvS9z0o.esm.js";
1
+ import { n as ID_FACE_EXTRACTION_SKIPPED_CODE, r as isFaceExtractionSkippedError, t as faceMatchMachine } from "./faceMatchStateMachine-BItwQ_yA.esm.js";
2
+ import { n as createFaceMatchManagerFromActor, t as createFaceMatchManager } from "./faceMatchManager-BzaXiW4H.esm.js";
3
3
  export { ID_FACE_EXTRACTION_SKIPPED_CODE, createFaceMatchManager, createFaceMatchManagerFromActor, faceMatchMachine, isFaceExtractionSkippedError };
@@ -5,11 +5,11 @@ import "./Actor-DqjOqDfU.js";
5
5
  import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
6
6
  import "./index-DHuAkTe0.js";
7
7
  import { c as FaceAttributesThresholds, d as FaceDetectionCallbacks, f as FaceDetectionConfig, h as IFaceDetectionCapability, l as FaceChecksConfig, m as FacePositionConstraints, p as FaceDetectionThresholds, s as FaceFeed, t as AvatarId, u as FaceCoordinates, v as WebApiHostRequestConfig, y as IncodeCanvas } from "./createFaceAvatar-Ct9QrQ66.js";
8
- import { i as FlowModuleConfig } from "./types-ujAUlvvI.js";
8
+ import { i as FlowModuleConfig } from "./types-DH4VaTRC.js";
9
9
  import "./IWasmUtilCapability-CLWIYHB4.js";
10
10
  import { n as PermissionStatus, t as PermissionResult } from "./types-CeEcakO7.js";
11
- import { a as FaceCapturedImageData, i as FaceCaptureOnlyResponse, n as DetectionStatus, o as FaceErrorCode, r as FaceCaptureDependencies, t as BaseFaceCaptureConfig } from "./types-DDmU-yVM.js";
12
- import { t as AuthenticationConfig } from "./types-B_THBzAh.js";
11
+ import { a as FaceCapturedImageData, i as FaceCaptureOnlyResponse, n as DetectionStatus, o as FaceErrorCode, r as FaceCaptureDependencies, t as BaseFaceCaptureConfig } from "./types-DAhpyjuI.js";
12
+ import { t as AuthenticationConfig } from "./types-RLVmm_Hf.js";
13
13
  import { t as BaseWasmProvider } from "./BaseWasmProvider-CPdofn7R.js";
14
14
  import { n as DeepsightService, t as StreamCanvasCapture } from "./StreamCanvasCapture-BqaHTJF0.js";
15
15
  import { t as CameraStream } from "./camera-9yYDUOsO.js";
@@ -1,13 +1,13 @@
1
1
  import { n as eventModuleNames, r as eventScreenNames } from "./types-DLsivQsu.esm.js";
2
- import { t as createManagerInstrumentation } from "./events-PUWyizJn.esm.js";
2
+ import { t as createManagerInstrumentation } from "./events-Dlkhhx5O.esm.js";
3
3
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
4
4
  import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
5
5
  import { t as splitTrackedName } from "./splitTrackedName-3zJRd2RD.esm.js";
6
- import { r as concealmentToAvatar } from "./faceCaptureSetup-C8qfvh2x.esm.js";
6
+ import { r as concealmentToAvatar } from "./faceCaptureSetup-DQVtmb1q.esm.js";
7
7
  import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-0SxaYTcb.esm.js";
8
8
  import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
9
9
  import { i as primeMotionFromUserGestureIfNeeded } from "./permissionServices-GQyOY1tb.esm.js";
10
- import { r as wantsDeepsightMotion } from "./deepsightCaptureConfig-22yGNhzp.esm.js";
10
+ import { r as wantsDeepsightMotion } from "./deepsightCaptureConfig-BVJANeRn.esm.js";
11
11
  //#region src/internal/faceCapture/faceCaptureManagerFactory.ts
12
12
  function getPermissionStatus(snapshot) {
13
13
  if (!snapshot.matches("permissions")) return;
@@ -1,21 +1,21 @@
1
1
  import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
2
- import { r as getToken } from "./api-B58edv6M.esm.js";
3
- import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity, u as trueSightLog, y as isTrueSightTesting } from "./trueSightService-BLyfduve.esm.js";
4
- import "./trueSight-BdWbgUnZ.esm.js";
5
- import { t as addDeviceStats } from "./stats-DHu3li6G.esm.js";
2
+ import { r as getToken } from "./api-CsXnB7m6.esm.js";
3
+ import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity, u as trueSightLog, y as isTrueSightTesting } from "./trueSightService-Dx8AqgKD.esm.js";
4
+ import "./trueSight-9VsfHXFt.esm.js";
5
+ import { t as addDeviceStats } from "./stats-D_gJvsTS.esm.js";
6
6
  import { s as isIPhone14OrHigher } from "./platform-GIg4uPWe.esm.js";
7
7
  import { i as assign, n as enqueueActions, r as sendTo, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
8
8
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
9
9
  import { c as isCameraDenialErrorName } from "./camera-CJKApt0x.esm.js";
10
10
  import { n as checkPermission, r as invokeRequestPermissionActor, t as canPrimeMotionWithoutUserGesture } from "./permissionServices-GQyOY1tb.esm.js";
11
11
  import { t as getDeviceClass } from "./getDeviceClass-Dcy9erbl.esm.js";
12
- import { n as recordsLivenessClip, r as wantsDeepsightMotion } from "./deepsightCaptureConfig-22yGNhzp.esm.js";
13
- import { a as sendLabelInspectionEvent, i as probeFaceCamera, l as getFaceUploadErrorCode, r as initializeDeepsightSession, t as FaceDetectionProvider, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-DILvXMxQ.esm.js";
14
- import { a as cameraCycleProvider, c as deepsightSignalConfigActor, i as runProtectedAttempt, l as PROTECTED_CAPTURE_TARGET, n as createCameraCycleOwnership, o as flagFaceManualReview, r as readIadCameraStepGates, t as electDesktopCameraDevice } from "./desktopCameraElection-DKHWoXIZ.esm.js";
12
+ import { n as recordsLivenessClip, r as wantsDeepsightMotion } from "./deepsightCaptureConfig-BVJANeRn.esm.js";
13
+ import { a as sendLabelInspectionEvent, i as probeFaceCamera, l as getFaceUploadErrorCode, r as initializeDeepsightSession, t as FaceDetectionProvider, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-DQYbHLxC.esm.js";
14
+ import { a as cameraCycleProvider, c as deepsightSignalConfigActor, i as runProtectedAttempt, l as PROTECTED_CAPTURE_TARGET, n as createCameraCycleOwnership, o as flagFaceManualReview, r as readIadCameraStepGates, t as electDesktopCameraDevice } from "./desktopCameraElection-BAq-Kaiq.esm.js";
15
15
  import { n as releaseFaceAvatarWarmup, r as warmFaceAvatar, t as createFaceAvatar } from "./createFaceAvatar-BNHdeFj8.esm.js";
16
16
  import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
17
17
  import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-SvIvYyWB.esm.js";
18
- import { t as carryAttempts } from "./attemptCarry-CxiYlUAO.esm.js";
18
+ import { t as carryAttempts } from "./attemptCarry-8gUYc3pL.esm.js";
19
19
  //#region src/internal/avatar/concealment.ts
20
20
  /**
21
21
  * Maps a backend concealment option to the internal avatar flags. `OPTION_NONE`
@@ -192,7 +192,7 @@ var ProtectedFaceAttemptRuntime = class ProtectedFaceAttemptRuntime {
192
192
  /** Per-attempt fallback when no step owner supplies the recording service. */
193
193
  async createAttemptRecordingService() {
194
194
  const wasmUtil = await this.options.dependencies.getWasmUtil();
195
- return (await import("./recordingService-RHW4CWxh.esm.js")).createRecordingService({
195
+ return (await import("./recordingService-OcyZO_w6.esm.js")).createRecordingService({
196
196
  config: this.options.config,
197
197
  wasmUtil,
198
198
  sessionToken: getToken(),
@@ -492,7 +492,7 @@ function createProtectedFaceControllerActor(options) {
492
492
  const input = getControllerInput();
493
493
  const pending = (async () => {
494
494
  const wasmUtil = await input.dependencies.getWasmUtil();
495
- const recordingModule = await import("./recordingService-RHW4CWxh.esm.js");
495
+ const recordingModule = await import("./recordingService-OcyZO_w6.esm.js");
496
496
  if (!active) return;
497
497
  stepRecording ??= recordingModule.createRecordingService({
498
498
  config: input.config,
@@ -1,8 +1,8 @@
1
1
  import { n as eventModuleNames } from "./types-DLsivQsu.esm.js";
2
- import { t as createManagerInstrumentation } from "./events-PUWyizJn.esm.js";
2
+ import { t as createManagerInstrumentation } from "./events-Dlkhhx5O.esm.js";
3
3
  import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
4
4
  import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
5
- import { t as faceMatchMachine } from "./faceMatchStateMachine-48O8j_Lx.esm.js";
5
+ import { t as faceMatchMachine } from "./faceMatchStateMachine-BItwQ_yA.esm.js";
6
6
  //#region src/modules/face-match/faceMatchActor.ts
7
7
  function createFaceMatchActor(options) {
8
8
  return createActor(faceMatchMachine, { input: { config: options.config } }).start();
@@ -1,7 +1,7 @@
1
- import { t as api, u as endpoints } from "./api-B58edv6M.esm.js";
1
+ import { t as api, u as endpoints } from "./api-CsXnB7m6.esm.js";
2
2
  import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
3
3
  import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
4
- import { t as getProcessFaceMatch } from "./processFaceMatch-CHeI0DEt.esm.js";
4
+ import { t as getProcessFaceMatch } from "./processFaceMatch-CpQYLU-y.esm.js";
5
5
  //#region src/modules/face-match/constants.ts
6
6
  /**
7
7
  * Backend error code returned by face-match endpoints (e.g. `/omni/process/face`,
@@ -1,5 +1,5 @@
1
1
  import { r as __toESM } from "./rolldown-runtime-B-1-B7_t.esm.js";
2
- import { t as SDK_VERSION } from "./sdkVersion-CiTnubuK.esm.js";
2
+ import { t as SDK_VERSION } from "./sdkVersion-BY8g-EEL.esm.js";
3
3
  import { t as BrowserLazyImportProvider } from "./BrowserLazyImportProvider-BhoA957O.esm.js";
4
4
  let currentEnvironment;
5
5
  /** Effective tier: the explicitly-set value, else the default (see note above). */
@@ -1,2 +1,2 @@
1
- import { E as updateFeatureManagementUser, T as subscribeFeatureManagement, _ as getIsFeatureManagementInitialized, a as stringParam, d as ONBOARDING_WEB_SDK_PARAMETER_STORE, f as getExperiment, g as getFeatureParameterStore, h as getFeatureManagementVersion, i as numberParam, l as resolveExperiment, m as getFeatureGate, n as defineExperimentParams, o as EXPERIMENT_UNAVAILABLE_SENTINEL, p as getFeatureDynamicConfig, r as enumParam, s as exposeExperimentOnce, t as booleanParam, u as resolveExperimentOnce, x as logEvent, y as getLayer } from "./feature-management-srznX8Iz.esm.js";
1
+ import { E as updateFeatureManagementUser, T as subscribeFeatureManagement, _ as getIsFeatureManagementInitialized, a as stringParam, d as ONBOARDING_WEB_SDK_PARAMETER_STORE, f as getExperiment, g as getFeatureParameterStore, h as getFeatureManagementVersion, i as numberParam, l as resolveExperiment, m as getFeatureGate, n as defineExperimentParams, o as EXPERIMENT_UNAVAILABLE_SENTINEL, p as getFeatureDynamicConfig, r as enumParam, s as exposeExperimentOnce, t as booleanParam, u as resolveExperimentOnce, x as logEvent, y as getLayer } from "./feature-management-D_T-MG_i.esm.js";
2
2
  export { EXPERIMENT_UNAVAILABLE_SENTINEL, ONBOARDING_WEB_SDK_PARAMETER_STORE, booleanParam, defineExperimentParams, enumParam, exposeExperimentOnce, getExperiment, getFeatureDynamicConfig, getFeatureGate, getFeatureManagementVersion, getFeatureParameterStore, getIsFeatureManagementInitialized, getLayer, logEvent, numberParam, resolveExperiment, resolveExperimentOnce, stringParam, subscribeFeatureManagement, updateFeatureManagementUser };
@@ -1,2 +1,2 @@
1
- import { n as createFieldComparisonManagerFromActor, r as fieldComparisonMachine, t as createFieldComparisonManager } from "./fieldComparisonManager-B1ipvtnp.esm.js";
1
+ import { n as createFieldComparisonManagerFromActor, r as fieldComparisonMachine, t as createFieldComparisonManager } from "./fieldComparisonManager-CzX6IhGd.esm.js";
2
2
  export { createFieldComparisonManager, createFieldComparisonManagerFromActor, fieldComparisonMachine };
@@ -1,6 +1,6 @@
1
1
  import { n as eventModuleNames } from "./types-DLsivQsu.esm.js";
2
- import { t as api, u as endpoints } from "./api-B58edv6M.esm.js";
3
- import { t as createManagerInstrumentation } from "./events-PUWyizJn.esm.js";
2
+ import { t as api, u as endpoints } from "./api-CsXnB7m6.esm.js";
3
+ import { t as createManagerInstrumentation } from "./events-Dlkhhx5O.esm.js";
4
4
  import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
5
5
  import { i as assign, s as createActor, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
6
6
  import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
@@ -1,2 +1,2 @@
1
- import { n as createFiscalQrManagerFromActor, r as fiscalQrMachine, t as createFiscalQrManager } from "./fiscalQrManager-yecjuXV4.esm.js";
1
+ import { n as createFiscalQrManagerFromActor, r as fiscalQrMachine, t as createFiscalQrManager } from "./fiscalQrManager-Dg6Mp58y.esm.js";
2
2
  export { createFiscalQrManager, createFiscalQrManagerFromActor, fiscalQrMachine };
@@ -1,6 +1,6 @@
1
1
  import { n as eventModuleNames, v as addEvent } from "./types-DLsivQsu.esm.js";
2
- import { t as api, u as endpoints } from "./api-B58edv6M.esm.js";
3
- import { t as createManagerInstrumentation } from "./events-PUWyizJn.esm.js";
2
+ import { t as api, u as endpoints } from "./api-CsXnB7m6.esm.js";
3
+ import { t as createManagerInstrumentation } from "./events-Dlkhhx5O.esm.js";
4
4
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
5
5
  import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
6
6
  import { i as assign, s as createActor, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
@@ -1,2 +1,2 @@
1
- import { a as FlowEventListener, c as FlowModuleStartedEvent, i as FlowEvent, l as FlowReadyEvent, n as FlowCompletedEvent, o as FlowEventSubscribable, r as FlowErrorEvent, s as FlowModuleCompletedEvent, t as FlowClosedEvent, u as FlowStartedEvent } from "./index-O5g5kKdI.js";
1
+ import { a as FlowEventListener, c as FlowModuleStartedEvent, i as FlowEvent, l as FlowReadyEvent, n as FlowCompletedEvent, o as FlowEventSubscribable, r as FlowErrorEvent, s as FlowModuleCompletedEvent, t as FlowClosedEvent, u as FlowStartedEvent } from "./index-k1LUfkAo.js";
2
2
  export type { FlowClosedEvent, FlowCompletedEvent, FlowErrorEvent, FlowEvent, FlowEventListener, FlowEventSubscribable, FlowModuleCompletedEvent, FlowModuleStartedEvent, FlowReadyEvent, FlowStartedEvent };
package/dist/flow.d.ts CHANGED
@@ -4,17 +4,17 @@ import "./xstate.cjs-D6Ur0X1F.js";
4
4
  import { t as Manager } from "./Manager-DufwKlav.js";
5
5
  import { a as ElectronicSignatureConfig } from "./types-D0gekt4U.js";
6
6
  import { d as RetiredSource, t as EkycConfig, u as KnownSource } from "./types-B8KMmCCy.js";
7
- import { i as FlowModuleConfig, n as Flow, r as FlowModule } from "./types-ujAUlvvI.js";
8
- import { t as AuthenticationConfig } from "./types-B_THBzAh.js";
7
+ import { i as FlowModuleConfig, n as Flow, r as FlowModule } from "./types-DH4VaTRC.js";
8
+ import { t as AuthenticationConfig } from "./types-RLVmm_Hf.js";
9
9
  import { r as DocumentCaptureConfig } from "./types-Cy6Lx3L6.js";
10
10
  import { t as DynamicFormsConfig } from "./types-BSBzhHRH.js";
11
11
  import { t as EkybConfig } from "./types-D4_C4-vg.js";
12
- import { u as IdCaptureConfig } from "./types-ByNCQYE9.js";
13
- import { r as MandatoryConsentConfig } from "./types-CaQV2ksk.js";
12
+ import { u as IdCaptureConfig } from "./types-YS7g_P7z.js";
13
+ import { r as MandatoryConsentConfig } from "./types-BVgTvWOP.js";
14
14
  import { t as IdOcrConfig } from "./types-Bpo97EOh.js";
15
15
  import { t as RedirectToMobileConfig } from "./types-DNVzoRvi.js";
16
16
  import { a as TotalScore, c as getTotalScoreStatus, n as FinishStatus, o as classifyScoreStatus, r as GetFinishStatusFn, t as FinishScreenVariant } from "./flowCompletionService-BlAHsKyv.js";
17
- import { o as FlowEventSubscribable } from "./index-O5g5kKdI.js";
17
+ import { o as FlowEventSubscribable } from "./index-k1LUfkAo.js";
18
18
  import { n as ModuleRegistry } from "./types-C3rfDzgE.js";
19
19
  //#region src/modules/flow/orchestratedFlowStateMachine.d.ts
20
20
  type GetFlowFn = (signal: AbortSignal) => Promise<Flow>;
@@ -38,6 +38,13 @@ type OrchestratedFlowInput = {
38
38
  * the fingerprint.
39
39
  */
40
40
  deferActivation?: boolean;
41
+ /**
42
+ * Whether the session start said the integrator sent the identity search
43
+ * hint (`identitySearchHintProvided` on the start response). Read once per
44
+ * load, when the flow is armed. A getter, because the host can learn the
45
+ * answer after the manager exists.
46
+ */
47
+ getIdentitySearchHintProvided?: () => boolean;
41
48
  };
42
49
  type OrchestratedFlowEvent = {
43
50
  type: 'LOAD';
@@ -160,6 +167,13 @@ type CreateOrchestratedFlowActorOptions = {
160
167
  deferActivation?: OrchestratedFlowInput['deferActivation'];
161
168
  /** A getter: the manager can exist before the session that owns the ID. */
162
169
  getInterviewId?: () => string | undefined;
170
+ /**
171
+ * Whether the session start said the integrator sent the identity search
172
+ * hint: `identitySearchHintProvided` on the start response. In a flow with
173
+ * identity reuse, the EMAIL and PHONE steps in front of the group then
174
+ * don't run. Read when the flow loads. A getter, like `getInterviewId`.
175
+ */
176
+ getIdentitySearchHintProvided?: () => boolean;
163
177
  /**
164
178
  * Partial config per module key, merged over the dashboard config of each
165
179
  * module when the flow loads. Values the flow sets at runtime still win.
@@ -349,15 +363,23 @@ declare const noOpFlowModuleMachine: StateMachine<MachineContext, AnyEventObject
349
363
  }>;
350
364
  //#endregion
351
365
  //#region src/modules/flow/presets/flowPresets.d.ts
366
+ /** Options of {@link getFirstFlowModuleKey}. */
367
+ type GetFirstFlowModuleKeyOptions = {
368
+ /**
369
+ * The session start said the integrator sent the identity search hint
370
+ * (`identitySearchHintProvided` on the start response).
371
+ */
372
+ identitySearchHintProvided?: boolean;
373
+ };
352
374
  /**
353
375
  * The key of the first module a flow runs once the presets it switches on
354
376
  * have prepared it and laid it out, for preloading before the flow loads. It
355
377
  * doesn't run the presets' checks, so it also answers for a raw dashboard
356
378
  * flow or one that will fail to load. With the identity search hint from
357
- * session start, for example, that is the module after the dropped contact
358
- * steps.
379
+ * session start (`options.identitySearchHintProvided`), for example, that is
380
+ * the module after the dropped contact steps.
359
381
  */
360
- declare function getFirstFlowModuleKey(flow: Flow): string | undefined;
382
+ declare function getFirstFlowModuleKey(flow: Flow, options?: GetFirstFlowModuleKeyOptions): string | undefined;
361
383
  //#endregion
362
384
  //#region src/modules/flow/flowActor.d.ts
363
385
  type CreateFlowActorOptions = {
@@ -496,4 +518,4 @@ interface ModuleLoader {
496
518
  }
497
519
  declare function createModuleLoader(registry: ModuleLoaderRegistry): ModuleLoader;
498
520
  //#endregion
499
- export { type DeepPartial, type FinishScreenVariant, type FinishStatus, type Flow, type FlowModule, type FlowModuleConfig, type FlowModulesConfig, type FlowReadyState, type FlowState, type KnownSource, type LazyModule, type LazyModuleRegistry, type ModuleLoader, type ModuleLoaderRegistry, type ModuleRegistry, type OrchestratedFlowCompletingState, type OrchestratedFlowFinishedState, type OrchestratedFlowHomeScreen, type OrchestratedFlowInput, type OrchestratedFlowPresentation, type OrchestratedFlowReadyState, type OrchestratedFlowState, type ResolveDashboardModuleConfigOptions, type ResolvedDashboardModuleConfig, type RetiredSource, type TotalScore, classifyScoreStatus, createFlowManager, createModuleLoader, createOrchestratedFlowManager, enrichFlowModuleConfig, getFirstFlowModuleKey, getFlow, getNextRequiredWasmPipelines, getRequiredWasmPipelines, getTotalScoreStatus, mergeDashboardConfig, noOpFlowModuleMachine, normalizeFlowModules, preloadDashboardFlow, resolveDashboardModuleConfig };
521
+ export { type DeepPartial, type FinishScreenVariant, type FinishStatus, type Flow, type FlowModule, type FlowModuleConfig, type FlowModulesConfig, type FlowReadyState, type FlowState, type GetFirstFlowModuleKeyOptions, type KnownSource, type LazyModule, type LazyModuleRegistry, type ModuleLoader, type ModuleLoaderRegistry, type ModuleRegistry, type OrchestratedFlowCompletingState, type OrchestratedFlowFinishedState, type OrchestratedFlowHomeScreen, type OrchestratedFlowInput, type OrchestratedFlowPresentation, type OrchestratedFlowReadyState, type OrchestratedFlowState, type ResolveDashboardModuleConfigOptions, type ResolvedDashboardModuleConfig, type RetiredSource, type TotalScore, classifyScoreStatus, createFlowManager, createModuleLoader, createOrchestratedFlowManager, enrichFlowModuleConfig, getFirstFlowModuleKey, getFlow, getNextRequiredWasmPipelines, getRequiredWasmPipelines, getTotalScoreStatus, mergeDashboardConfig, noOpFlowModuleMachine, normalizeFlowModules, preloadDashboardFlow, resolveDashboardModuleConfig };