@incodetech/core 2.4.0-rc.4 → 2.4.1-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 (230) hide show
  1. package/dist/{FaceDetectionProvider-CzQEFzP8.esm.js → FaceDetectionProvider-B83VmClw.esm.js} +29 -64
  2. package/dist/IBrowserEnvironmentCapability-D7JG7ML3.esm.js +16 -0
  3. package/dist/IGeolocationCapability-r49Qo7rR.d.ts +10 -0
  4. package/dist/{IWasmUtilCapability-GF2n7sfm.d.ts → IWasmUtilCapability-Cqiaxydi.d.ts} +31 -4
  5. package/dist/{PhoneValidationProvider-SZiOS0jB.esm.js → PhoneValidationProvider-Co4zk2en.esm.js} +7 -0
  6. package/dist/{StreamCanvasCapture-7JRf-2ck.d.ts → StreamCanvasCapture-C3xNfOsv.d.ts} +12 -3
  7. package/dist/{WasmUtilProvider-DtJuBdt-.esm.js → WasmUtilProvider-GTkoJyFY.esm.js} +75 -22
  8. package/dist/{addressSearch-DPjIKJrX.esm.js → addressSearch-41sMcnJk.esm.js} +72 -31
  9. package/dist/{advanceableErrors-q_pfU3Cn.esm.js → advanceableErrors-k-U-cL5m.esm.js} +1 -2
  10. package/dist/ae-signature.esm.js +1 -1
  11. package/dist/antifraud.esm.js +2 -2
  12. package/dist/{antifraudManager-CaweCYnY.esm.js → antifraudManager-CQ08atTC.esm.js} +2 -2
  13. package/dist/{antifraudStateMachine-DRl0UVyA.esm.js → antifraudStateMachine-BcsUTTIr.esm.js} +1 -1
  14. package/dist/{api-Cz90EHyu.esm.js → api-BO8JA7Pf.esm.js} +6 -5
  15. package/dist/{apiError-B_uY7RO6.esm.js → apiError-CfuIvnUy.esm.js} +1 -1
  16. package/dist/attemptCarry-BjTJ6bMQ.esm.js +45 -0
  17. package/dist/authentication.d.ts +3 -3
  18. package/dist/authentication.esm.js +2 -2
  19. package/dist/{authenticationManager-BIZC55Bi.d.ts → authenticationManager-C-cOki0Y.d.ts} +1 -1
  20. package/dist/{authenticationManager-CSHZQTlb.esm.js → authenticationManager-DvmklBTE.esm.js} +5 -5
  21. package/dist/{authenticationStateMachine-DrO14KyC.esm.js → authenticationStateMachine-BL2ptOA0.esm.js} +3 -3
  22. package/dist/{backCameraStream-CMvXj4X4.esm.js → backCameraStream-C5_NNfUN.esm.js} +3 -43
  23. package/dist/{browser-DlFgHpoC-DnyrCR8r.esm.js → browser-pQZA35G2-DtkAf6sn.esm.js} +161 -150
  24. package/dist/{camera-sIa9ceW2.esm.js → camera-E_Kcre4O.esm.js} +15 -23
  25. package/dist/camera.esm.js +1 -1
  26. package/dist/certificate-issuance.esm.js +2 -2
  27. package/dist/{certificateIssuanceManager-BfeMv2PU.esm.js → certificateIssuanceManager-CM0fuqDC.esm.js} +2 -2
  28. package/dist/{certificateIssuanceStateMachine-Frgjbjw8.esm.js → certificateIssuanceStateMachine-kksIUOPD.esm.js} +2 -2
  29. package/dist/cnpj-Co1ottYN.esm.js +77 -0
  30. package/dist/connectivity-HSl0diCx.esm.js +133 -0
  31. package/dist/consent.d.ts +1 -1
  32. package/dist/consent.esm.js +2 -2
  33. package/dist/{consentManager-CvEu8h_W.esm.js → consentManager-CBwFozhv.esm.js} +4 -3
  34. package/dist/{consentManager-Cv_0QKLD.d.ts → consentManager-_q9yJUku.d.ts} +14 -7
  35. package/dist/{consentStateMachine-DJTgN_-1.esm.js → consentStateMachine-CpmRAcr2.esm.js} +20 -7
  36. package/dist/cross-document-data-match.esm.js +1 -1
  37. package/dist/{crossDocumentDataMatchManager-Cu141CE8.esm.js → crossDocumentDataMatchManager-64O8t10a.esm.js} +2 -2
  38. package/dist/curp-validation.d.ts +1 -1
  39. package/dist/curp-validation.esm.js +2 -2
  40. package/dist/{curpValidationManager-B-z9q5V3.esm.js → curpValidationManager-CLgJQcx0.esm.js} +3 -2
  41. package/dist/{curpValidationManager-C9sqoh9n.d.ts → curpValidationManager-CXpFE-Mv.d.ts} +1 -1
  42. package/dist/{curpValidationStateMachine-vDEFLMPw.esm.js → curpValidationStateMachine-Bx9YhVkJ.esm.js} +28 -20
  43. package/dist/custom-fields.esm.js +1 -1
  44. package/dist/custom-watchlist.esm.js +2 -2
  45. package/dist/{customFieldsManager-D1ex2cFM.esm.js → customFieldsManager-DWt_0YtJ.esm.js} +2 -2
  46. package/dist/{customWatchlistManager-CTI-SGk0.esm.js → customWatchlistManager-D8o-2Nej.esm.js} +2 -2
  47. package/dist/{customWatchlistStateMachine-hmRd0f2I.esm.js → customWatchlistStateMachine-Sbi6DIcK.esm.js} +1 -1
  48. package/dist/{deepsightLoader-DkrG5zbN.esm.js → deepsightLoader-DMxtowCm.esm.js} +6 -28
  49. package/dist/{deepsightService-BrltL1DF.esm.js → deepsightService-twg3bXqY.esm.js} +20 -59
  50. package/dist/{createCameraCycleOwnership-Dj_LHUvN.esm.js → desktopCameraElection-kHY2IDJi.esm.js} +177 -40
  51. package/dist/device.esm.js +2 -2
  52. package/dist/document-capture.d.ts +2 -2
  53. package/dist/document-capture.esm.js +2 -2
  54. package/dist/{documentCaptureManager-DkyDtm3Y.d.ts → documentCaptureManager-6tnnDkMX.d.ts} +14 -2
  55. package/dist/{documentCaptureManager-DUJwpKC5.esm.js → documentCaptureManager-CMSC_Mhd.esm.js} +26 -19
  56. package/dist/{documentCaptureStateMachine-B8i7GnLh.esm.js → documentCaptureStateMachine-BCwD5Rto.esm.js} +43 -35
  57. package/dist/dynamic-forms.d.ts +2 -2
  58. package/dist/dynamic-forms.esm.js +2 -2
  59. package/dist/{dynamicFormsManager-C0dHs1ty.d.ts → dynamicFormsManager-9kwY8Bf5.d.ts} +1 -1
  60. package/dist/{dynamicFormsManager-D7Xnjm7B.esm.js → dynamicFormsManager-DU6W1e20.esm.js} +2 -2
  61. package/dist/{dynamicFormsStateMachine-Cgk0VPP4.esm.js → dynamicFormsStateMachine-C8Z7k3vo.esm.js} +2 -2
  62. package/dist/ekyb.d.ts +4 -4
  63. package/dist/ekyb.esm.js +3 -3
  64. package/dist/{ekybManager-BaZ_7CEu.d.ts → ekybManager-TB6ZG5lX.d.ts} +2 -2
  65. package/dist/{ekybManager-yj_Y36jM.esm.js → ekybManager-TGfqyjuu.esm.js} +2 -2
  66. package/dist/{ekybStateMachine-DIRBMkaD.esm.js → ekybStateMachine-DBgFuEPK.esm.js} +26 -44
  67. package/dist/ekyc.d.ts +3 -3
  68. package/dist/ekyc.esm.js +3 -3
  69. package/dist/{ekycManager-DW-ynodd.d.ts → ekycManager-BSQteIfC.d.ts} +1 -1
  70. package/dist/{ekycManager-BO-Lui3t.esm.js → ekycManager-C2cgG2Pl.esm.js} +2 -2
  71. package/dist/ekycStateMachine-CuNF7z4O.esm.js +7505 -0
  72. package/dist/ekycUtils-BFncpC4F.esm.js +1401 -0
  73. package/dist/electronic-signature.esm.js +1 -1
  74. package/dist/{electronicSignatureManager-Btsa7Prh.esm.js → electronicSignatureManager-C7pqXsRm.esm.js} +4 -4
  75. package/dist/email.esm.js +2 -2
  76. package/dist/{emailManager-ButFktRm.esm.js → emailManager-FH_CP0cT.esm.js} +2 -2
  77. package/dist/{emailStateMachine-BXtlC0NV.esm.js → emailStateMachine-Cx-uTaBV.esm.js} +32 -20
  78. package/dist/{events-Du2A4-Qr.esm.js → events-CQteqXfy.esm.js} +2 -2
  79. package/dist/events.esm.js +1 -1
  80. package/dist/extensibility.d.ts +35 -21
  81. package/dist/extensibility.esm.js +34 -34
  82. package/dist/{externalFetch-DrR9xshk.esm.js → externalFetch-CQY41QT1.esm.js} +4 -1
  83. package/dist/face-match.d.ts +1 -1
  84. package/dist/face-match.esm.js +2 -2
  85. package/dist/{faceCaptureManagerFactory-1hzeS_rB.d.ts → faceCaptureManagerFactory-C-xKdj-d.d.ts} +71 -66
  86. package/dist/{faceCaptureManagerFactory-CdDfnyyb.esm.js → faceCaptureManagerFactory-CBm05KnT.esm.js} +4 -4
  87. package/dist/{faceCaptureSetup-CCucWLdy.esm.js → faceCaptureSetup-BQjCbL51.esm.js} +82 -64
  88. package/dist/{faceMatchManager-DWFUQjMQ.esm.js → faceMatchManager-B2zp7yP4.esm.js} +2 -2
  89. package/dist/{faceMatchManager-DIgG-UFS.d.ts → faceMatchManager-Z4UDLwAv.d.ts} +16 -7
  90. package/dist/{faceMatchStateMachine-CUCvlydD.esm.js → faceMatchStateMachine-ByTMQCUC.esm.js} +40 -27
  91. package/dist/{feature-management-DCD0I_XZ.esm.js → feature-management-DjAG5lsJ.esm.js} +1 -1
  92. package/dist/feature-management.esm.js +1 -1
  93. package/dist/field-comparison.esm.js +1 -1
  94. package/dist/{fieldComparisonManager-v3knTYV_.esm.js → fieldComparisonManager-CC0vKmpf.esm.js} +2 -2
  95. package/dist/fiscal-qr.esm.js +1 -1
  96. package/dist/{fiscalQrManager-Dt9fHG7h.esm.js → fiscalQrManager-Be-r4oZj.esm.js} +4 -4
  97. package/dist/flow-events.d.ts +1 -1
  98. package/dist/flow.d.ts +10 -10
  99. package/dist/flow.esm.js +8 -11
  100. package/dist/{flowCompletionService-xFODSJEq.esm.js → flowCompletionService-ChMU2v79.esm.js} +2 -2
  101. package/dist/{flowServices-COMEf-WP.esm.js → flowServices-g2tVWsJl.esm.js} +8 -50
  102. package/dist/geolocation.d.ts +1 -1
  103. package/dist/geolocation.esm.js +2 -2
  104. package/dist/{geolocationManager-Dn24g1fl.d.ts → geolocationManager-6e1i9UIR.d.ts} +15 -17
  105. package/dist/{geolocationManager-B2C2yfrn.esm.js → geolocationManager-DLbvZwUB.esm.js} +6 -8
  106. package/dist/{geolocationStateMachine-Dbg9jw62.esm.js → geolocationStateMachine-CAJVongM.esm.js} +12 -8
  107. package/dist/{getDeviceClass-bsWdEDxP.esm.js → getDeviceClass-DoIWuKI8.esm.js} +1 -1
  108. package/dist/government-validation.esm.js +2 -2
  109. package/dist/{governmentValidationManager-BtXWHICu.esm.js → governmentValidationManager-CkX9TEkh.esm.js} +2 -2
  110. package/dist/{governmentValidationStateMachine-COL-Vs48.esm.js → governmentValidationStateMachine-PTPCP26N.esm.js} +1 -1
  111. package/dist/home.d.ts +1 -1
  112. package/dist/home.esm.js +1 -1
  113. package/dist/http.esm.js +1 -1
  114. package/dist/id-ocr.esm.js +2 -2
  115. package/dist/id-selfie-flow.d.ts +1 -1
  116. package/dist/id-selfie-flow.esm.js +9 -9
  117. package/dist/id-verification.esm.js +2 -2
  118. package/dist/id.d.ts +3 -16
  119. package/dist/id.esm.js +3 -3
  120. package/dist/{idCaptureDefaults-BGsG2OAs.esm.js → idCaptureDefaults-MSQoqScU.esm.js} +3 -3
  121. package/dist/{idCaptureManager-0M02hSuC.d.ts → idCaptureManager-DzTfQ1Am.d.ts} +66 -5
  122. package/dist/{idCaptureManager-DZtgScdd.esm.js → idCaptureManager-zZdTcpG1.esm.js} +63 -17
  123. package/dist/{idCaptureServices-mpibFz4U.esm.js → idCaptureServices-8OHinO0N.esm.js} +9 -9
  124. package/dist/{idCaptureStateMachine-DWJOHeGn.esm.js → idCaptureStateMachine-B3G6XoDG.esm.js} +914 -536
  125. package/dist/{idOcrManager-D3-HNMXP.esm.js → idOcrManager-B64-fjWg.esm.js} +2 -2
  126. package/dist/{idOcrStateMachine-DyENX6Ki.esm.js → idOcrStateMachine-B1aZnobs.esm.js} +2 -2
  127. package/dist/{idVerificationManager-iWz7Avkr.esm.js → idVerificationManager-_Kebv-Ue.esm.js} +2 -2
  128. package/dist/{idVerificationStateMachine-CL1kUdBe.esm.js → idVerificationStateMachine-DQn6c84z.esm.js} +1 -1
  129. package/dist/identity-reuse.d.ts +1 -1
  130. package/dist/identity-reuse.esm.js +2 -2
  131. package/dist/{identityReuseManager-CD1ucp1d.esm.js → identityReuseManager-DDXkNVZi.esm.js} +2 -2
  132. package/dist/{identityReuseManager-B1birg5X.d.ts → identityReuseManager-ooAbp6Kc.d.ts} +4 -4
  133. package/dist/{identityReuseStateMachine-DfV81wQC.esm.js → identityReuseStateMachine-Bcnkbjf8.esm.js} +1 -1
  134. package/dist/{index-BKOWUhxG.d.ts → index-DEfwds5y.d.ts} +55 -8
  135. package/dist/{index-CKQ9QBZP.d.ts → index-DMDAk85K.d.ts} +1 -1
  136. package/dist/index.d.ts +1 -1
  137. package/dist/index.esm.js +1 -1
  138. package/dist/{invokeOnCaptureCallback-DYrkOXO6.esm.js → invokeOnCaptureCallback-CXIBwBeE.esm.js} +1 -1
  139. package/dist/mandatory-consent.d.ts +2 -2
  140. package/dist/mandatory-consent.esm.js +2 -2
  141. package/dist/{mandatoryConsentManager-Cwqx1nK7.esm.js → mandatoryConsentManager-43W5d_8G.esm.js} +4 -3
  142. package/dist/{mandatoryConsentManager-okPILEru.d.ts → mandatoryConsentManager-xx3mY-xw.d.ts} +13 -6
  143. package/dist/{mandatoryConsentStateMachine-pXWqAHo_.esm.js → mandatoryConsentStateMachine-CVlgdlnt.esm.js} +20 -7
  144. package/dist/{multipartRecordingService-CLwrF5wD.esm.js → multipartRecordingService-DMBxHKS2.esm.js} +3 -13
  145. package/dist/nationalIds-B91f_RuB.esm.js +99 -0
  146. package/dist/{permissionGuards-gcy3U0SL.esm.js → permissionGuards-B3OPL8Si.esm.js} +1 -1
  147. package/dist/{permissionServices-Ca-tSNhT.esm.js → permissionServices-DnBAN_hW.esm.js} +4 -4
  148. package/dist/phone-number.d.ts +7 -1
  149. package/dist/phone-number.esm.js +15 -2
  150. package/dist/phone.d.ts +1 -1
  151. package/dist/phone.esm.js +2 -2
  152. package/dist/{phoneManager-BO-LTih5.d.ts → phoneManager-6nrJkvkG.d.ts} +5 -0
  153. package/dist/{phoneManager-KKUq-Vgo.esm.js → phoneManager-C6jut_pz.esm.js} +3 -3
  154. package/dist/{phoneStateMachine-D2QWS2cu.esm.js → phoneStateMachine-T1-drWfG.esm.js} +37 -25
  155. package/dist/{phoneValidation-DnBcNUNh.esm.js → phoneValidation-OggtfjRt.esm.js} +1 -2
  156. package/dist/{platform-DkcRc9JV.esm.js → platform-aPh7gTWh.esm.js} +15 -1
  157. package/dist/processFaceMatch-BWme3kVV.esm.js +21 -0
  158. package/dist/qe-signature.esm.js +1 -1
  159. package/dist/redirect-to-mobile.d.ts +2 -2
  160. package/dist/redirect-to-mobile.esm.js +2 -2
  161. package/dist/{redirectToMobileManager-uHW3dyuQ.esm.js → redirectToMobileManager-BJXC6Kx9.esm.js} +4 -3
  162. package/dist/{redirectToMobileManager-CVsvpVbQ.d.ts → redirectToMobileManager-Dm9ctRCC.d.ts} +3 -1
  163. package/dist/{redirectToMobileStateMachine-b-H-ipGM.esm.js → redirectToMobileStateMachine-BBMAc2Gb.esm.js} +27 -6
  164. package/dist/{runChildModule-C09a9ACV.esm.js → runChildModule-DPHTqSdF.esm.js} +3 -3
  165. package/dist/{sdkVersion-xE2xE2_9.esm.js → sdkVersion-C3_P-Qbq.esm.js} +1 -1
  166. package/dist/selfie.d.ts +4 -4
  167. package/dist/selfie.esm.js +10 -10
  168. package/dist/{selfieErrorUtils-CoXIxVCy.esm.js → selfieErrorUtils-BL0BLMnp.esm.js} +1 -1
  169. package/dist/{selfieManager-BJdNu_nd.d.ts → selfieManager-BMmpUii2.d.ts} +1 -1
  170. package/dist/{selfieManager-RcVUu1KJ.esm.js → selfieManager-Cbliomv7.esm.js} +5 -5
  171. package/dist/{selfieStateMachine-nWbIRIBD.esm.js → selfieStateMachine-B5m_Kn0O.esm.js} +3 -3
  172. package/dist/{session-Cr4IVgYu.esm.js → session-DAaAewMX.esm.js} +77 -9
  173. package/dist/session.d.ts +96 -10
  174. package/dist/session.esm.js +7 -6
  175. package/dist/{sessionInitializer-c3CChZts.esm.js → sessionInitializer-CWFT4dfw.esm.js} +402 -202
  176. package/dist/{setup-BvKrAlOo.esm.js → setup-CDAKwTr7.esm.js} +32 -19
  177. package/dist/{setup-YPKTUCY5.d.ts → setup-D9qt8YVU.d.ts} +2 -2
  178. package/dist/signature.esm.js +2 -2
  179. package/dist/{signatureManager-f_dPAGXn.esm.js → signatureManager-BeEVCcsC.esm.js} +2 -2
  180. package/dist/{signatureStateMachine-C-nUq_oq.esm.js → signatureStateMachine-_1c1vSid.esm.js} +1 -1
  181. package/dist/{stats-BEvexnKC.esm.js → stats-BpMz-hTP.esm.js} +1 -1
  182. package/dist/stats.esm.js +1 -1
  183. package/dist/{tri-xzRLIIMN.esm.js → tri-BajQnjbf.esm.js} +142 -8
  184. package/dist/tri.d.ts +1 -1
  185. package/dist/tri.esm-CzTNi5Q_.esm.js +3826 -0
  186. package/dist/tri.esm.js +1 -1
  187. package/dist/{trueSightService-BAvhAU7T.esm.js → trueSightService-BujtUIW6.esm.js} +19 -10
  188. package/dist/trust-graph.esm.js +1 -1
  189. package/dist/{types-yPH8lAH-.d.ts → types--3HDl2SF.d.ts} +2 -2
  190. package/dist/types-B2FK_wYb.d.ts +249 -0
  191. package/dist/types-B9C8W01q.d.ts +34 -0
  192. package/dist/{types-0L-eFDmr.d.ts → types-C397LhmN.d.ts} +1 -1
  193. package/dist/types-D9r3zRfY.d.ts +6 -0
  194. package/dist/{types-DPIDuhut.d.ts → types-DNVzoRvi.d.ts} +2 -1
  195. package/dist/{types-B6HsSzpk.d.ts → types-DuD8TRJU.d.ts} +3 -2
  196. package/dist/{types-Ckir_BEs.d.ts → types-PTZHRhGX.d.ts} +1 -1
  197. package/dist/{types-DUnFZ08M.d.ts → types-ZTZelfbM.d.ts} +2 -2
  198. package/dist/{types-CK8Jbjkp.d.ts → types-e8fCsvvk.d.ts} +1 -1
  199. package/dist/{types-BAxn7MpY.d.ts → types-xEEWCx1j.d.ts} +123 -48
  200. package/dist/{urlUtils-6jsE6rKp.esm.js → urlUtils-eYiyWjh0.esm.js} +4 -1
  201. package/dist/video-selfie.d.ts +8 -8
  202. package/dist/video-selfie.esm.js +95 -22
  203. package/dist/{videoSelfieCameraWarmer-LeE2vbAW.esm.js → videoSelfieCameraWarmer-DjkPpoj_.esm.js} +18 -21
  204. package/dist/{videoSelfieStepDetector-CGsTltqB.d.ts → videoSelfieStepDetector-RfSmlFFW.d.ts} +9 -4
  205. package/dist/{warmup-BElYWRh7.esm.js → warmup-BkfxQZsC.esm.js} +175 -11
  206. package/dist/wasm.d.ts +2 -2
  207. package/dist/wasm.esm.js +3 -3
  208. package/dist/{wasmDsFlagSync-CYj5LL9z.esm.js → wasmDsFlagSync-BhU5H2oR.esm.js} +1 -1
  209. package/dist/wasmMetadataVersionSync-U8EFUr1T.esm.js +27 -0
  210. package/dist/{wasmWebClient-BjZw_7OB.esm.js → wasmWebClient-DTj9auyA.esm.js} +43 -17
  211. package/dist/watchlist-for-business.d.ts +2 -1
  212. package/dist/watchlist-for-business.esm.js +2 -2
  213. package/dist/watchlist.esm.js +2 -2
  214. package/dist/{watchlistForBusinessManager-CZZOFkGl.esm.js → watchlistForBusinessManager-CVay6-9A.esm.js} +37 -7
  215. package/dist/{watchlistForBusinessManager-B3GDPZrr.d.ts → watchlistForBusinessManager-DX2AyM4Y.d.ts} +54 -18
  216. package/dist/watchlistForBusinessStateMachine-DA6K5na4.esm.js +166 -0
  217. package/dist/{watchlistManager-DXtX94SN.esm.js → watchlistManager-B8gQ_rw3.esm.js} +2 -2
  218. package/dist/{watchlistStateMachine-McALifag.esm.js → watchlistStateMachine-CSi_ZhtT.esm.js} +1 -1
  219. package/dist/workflow.d.ts +5 -2
  220. package/dist/workflow.esm.js +57 -47
  221. package/package.json +3 -2
  222. package/dist/IBrowserEnvironmentCapability-DEaRRk-R.esm.js +0 -9
  223. package/dist/ekycStateMachine-CDnI_NRq.esm.js +0 -1443
  224. package/dist/ekycUtils-zY8CdKJL.esm.js +0 -300
  225. package/dist/thumbmark.esm-CRc0cYvz.esm.js +0 -1242
  226. package/dist/tri.esm-BIjHhBJ2.esm.js +0 -2620
  227. package/dist/types-BvLo3U4u.d.ts +0 -134
  228. package/dist/types-zOgZqMni.d.ts +0 -6
  229. package/dist/watchlistForBusinessStateMachine-B66E7jud.esm.js +0 -78
  230. /package/dist/{types-BSBzhHRH2.d.ts → types-BSBzhHRH.d.ts} +0 -0
package/dist/tri.esm.js CHANGED
@@ -1,2 +1,2 @@
1
- import { a as resetTRI, c as startTRI, l as stopTRI, r as isTRIStarted, s as setupTRI, t as createTRISession } from "./tri-xzRLIIMN.esm.js";
1
+ import { c as resetTRI, d as stopTRI, i as isTRIStarted, l as setupTRI, n as createTRISession, u as startTRI } from "./tri-BajQnjbf.esm.js";
2
2
  export { createTRISession, isTRIStarted, resetTRI, setupTRI, startTRI, stopTRI };
@@ -1,8 +1,8 @@
1
- import { a as setWebApiHttpTransport, g as emitWasmDiagnostic, i as initializeWasmWebClient, o as setupWasmConnection, r as executeWasmRequest, t as WasmWebClientError, w as resolveWasmConfig } from "./wasmWebClient-BjZw_7OB.esm.js";
2
- import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
3
- import { C as subscribeEvent, n as eventModuleNames } from "./events-Du2A4-Qr.esm.js";
4
- import { i as isApiConfigured, l as withTiming, n as getApi, o as setClient, r as getToken, t as api, u as endpoints } from "./api-Cz90EHyu.esm.js";
5
- import { t as SDK_VERSION } from "./sdkVersion-xE2xE2_9.esm.js";
1
+ import { T as resolveWasmConfig, _ as emitWasmDiagnostic, a as setWebApiHttpTransport, i as initializeWasmWebClient, o as setupWasmConnection, r as executeWasmRequest, t as WasmWebClientError } from "./wasmWebClient-DTj9auyA.esm.js";
2
+ import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
3
+ import { C as subscribeEvent, n as eventModuleNames } from "./events-CQteqXfy.esm.js";
4
+ import { i as isApiConfigured, l as withTiming, n as getApi, o as setClient, r as getToken, t as api, u as endpoints } from "./api-BO8JA7Pf.esm.js";
5
+ import { t as SDK_VERSION } from "./sdkVersion-C3_P-Qbq.esm.js";
6
6
  import { n as reportHttpError, t as HttpRequestError } from "./HttpRequestError-Bh0pNGSC.esm.js";
7
7
  /** Dirty-timer half of the interrupted-snapshot rebuild debounce (module boundaries + timer). */
8
8
  const SNAPSHOT_DIRTY_INTERVAL_MS = 15e3;
@@ -774,7 +774,7 @@ const requestWithXHR = (fullUrl, method, mergedHeaders, requestBody, timeout, si
774
774
  else reject(reportHttpError(new FetchHttpError(xhr.status, xhr.statusText, fullUrl, method, responseHeaders, data), mergedHeaders));
775
775
  };
776
776
  xhr.onerror = () => {
777
- reject(new FetchHttpError(0, "Network Error", fullUrl, method, {}, null));
777
+ reject(reportHttpError(new FetchHttpError(0, "Network Error", fullUrl, method, {}, null), mergedHeaders));
778
778
  };
779
779
  xhr.ontimeout = () => {
780
780
  reject(new FetchHttpError(0, "Request timeout", fullUrl, method, {}, null));
@@ -849,6 +849,7 @@ const createApi = (config) => {
849
849
  if (timeoutId) clearTimeout(timeoutId);
850
850
  if (error instanceof FetchHttpError) throw error;
851
851
  if (error instanceof Error && error.name === "AbortError") throw new FetchHttpError(0, "Request timeout", fullUrl, method, {}, null);
852
+ if (error instanceof TypeError && !keepalive) reportHttpError(new FetchHttpError(0, "Network Error", fullUrl, method, {}, null), mergedHeaders);
852
853
  throw error;
853
854
  }
854
855
  },
@@ -974,6 +975,12 @@ const getErrorStatus = (error) => {
974
975
  }
975
976
  return 0;
976
977
  };
978
+ const NETWORK_FAILURE = /^(failed to fetch|load failed)$|network ?error|network connection|internet connection/i;
979
+ /**
980
+ * Status 0 marks connectivity lost, so it is reported only for a network
981
+ * failure, and never for keepalive requests.
982
+ */
983
+ const shouldReport = (status, error, keepalive = false) => status !== 0 || !keepalive && error instanceof WasmWebClientError && NETWORK_FAILURE.test(error.message);
977
984
  const getErrorData = (error) => {
978
985
  if (error instanceof WasmWebClientError) return error.response?.data ?? null;
979
986
  return null;
@@ -1002,7 +1009,8 @@ const createWasmApi = async (config) => {
1002
1009
  await setupWasmConnection(config.apiURL, "", config.encryptionEnabled ?? false, headers, useSha256);
1003
1010
  } catch (error) {
1004
1011
  if (!(error instanceof WasmWebClientError)) throw error;
1005
- throw reportHttpError(new WasmHttpError(error.statusCode, "", config.apiURL, "POST", {}, getErrorData(error)), headers);
1012
+ const failure = new WasmHttpError(error.statusCode, "", config.apiURL, "POST", {}, getErrorData(error));
1013
+ throw shouldReport(failure.status, error) ? reportHttpError(failure, headers) : failure;
1006
1014
  }
1007
1015
  const defaults = {
1008
1016
  baseURL: config.apiURL,
@@ -1011,7 +1019,7 @@ const createWasmApi = async (config) => {
1011
1019
  const client = {
1012
1020
  defaults,
1013
1021
  async request(requestConfig) {
1014
- const { method = "GET", url, headers: requestHeaders = {}, query, params, body, signal, timeout: timeoutOverride, onUploadProgress, ie = false } = requestConfig;
1022
+ const { method = "GET", url, headers: requestHeaders = {}, query, params, body, signal, timeout: timeoutOverride, onUploadProgress, keepalive, ie = false } = requestConfig;
1015
1023
  const upperMethod = normalizeMethod(method);
1016
1024
  const requestParams = params ?? query;
1017
1025
  const fullUrl = buildUrl(defaults.baseURL, url, requestParams);
@@ -1041,7 +1049,8 @@ const createWasmApi = async (config) => {
1041
1049
  };
1042
1050
  } catch (error) {
1043
1051
  if (error instanceof WasmHttpError) throw error;
1044
- throw reportHttpError(new WasmHttpError(getErrorStatus(error), getErrorMessage(error), fullUrl, upperMethod, {}, getErrorData(error)), mergedHeaders);
1052
+ const failure = new WasmHttpError(getErrorStatus(error), getErrorMessage(error), fullUrl, upperMethod, {}, getErrorData(error));
1053
+ throw shouldReport(failure.status, error, keepalive) ? reportHttpError(failure, mergedHeaders) : failure;
1045
1054
  }
1046
1055
  },
1047
1056
  get(url, requestConfig) {
@@ -1380,7 +1389,7 @@ function categoryForEndpoint(endpoint) {
1380
1389
  if (/\/omni\/es\//.test(endpoint)) return "other";
1381
1390
  if (/face|selfie|video|speech|personhood|authenticate|recordings/.test(endpoint)) return "faceScan";
1382
1391
  if (/front-id|back-id|second-id|process\/id|images|barcode|ocr|document|curp|cfdi|address-statement|digital-id|device\/wallet/.test(endpoint)) return "idScan";
1383
- if (/start|flow|workflow|feature-config|onboarding|finish-status/.test(endpoint)) return "orchestration";
1392
+ if (/start|session\/continue|flow|workflow|feature-config|onboarding|finish-status/.test(endpoint)) return "orchestration";
1384
1393
  return "other";
1385
1394
  }
1386
1395
  /** Coarse contract category from the RAW `event.module` value (plan rule). */
@@ -1,4 +1,4 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Du2A4-Qr.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CQteqXfy.esm.js";
2
2
  import { s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
3
3
  //#region src/modules/trust-graph/trustGraphStateMachine.ts
4
4
  /**
@@ -1,6 +1,6 @@
1
1
  import { a as AvatarAssetsOverrides } from "./createFaceAvatar-lYX0VTYs.js";
2
- import { n as Flow, s as SelfieConcealmentOption } from "./types-B6HsSzpk.js";
3
- import { a as IStorageCapability, n as IWasmUtilCapability } from "./IWasmUtilCapability-GF2n7sfm.js";
2
+ import { n as Flow, s as SelfieConcealmentOption } from "./types-DuD8TRJU.js";
3
+ import { a as IStorageCapability, n as IWasmUtilCapability } from "./IWasmUtilCapability-Cqiaxydi.js";
4
4
  //#region src/internal/faceCapture/types.d.ts
5
5
  type CameraResolution = {
6
6
  width?: number;
@@ -0,0 +1,249 @@
1
+ //#region src/shared/types.d.ts
2
+ /** A single form field definition for dynamic rendering. */
3
+ type FieldDef = {
4
+ name: string;
5
+ type: 'text' | 'tel' | 'date' | 'dropdown' | 'phone' | 'radio';
6
+ label: string;
7
+ displayLabel?: string;
8
+ placeholder?: string;
9
+ placeholderParams?: Record<string, string>;
10
+ required: boolean;
11
+ optional?: boolean;
12
+ maxLength?: number;
13
+ options?: {
14
+ value: string;
15
+ label: string;
16
+ }[];
17
+ readonly?: boolean;
18
+ section?: string;
19
+ disableCountrySelector?: boolean;
20
+ };
21
+ /** An address suggestion returned by the address autocomplete API. */
22
+ type AddressSuggestion = {
23
+ id: string | number;
24
+ label: string;
25
+ street?: string;
26
+ city?: string;
27
+ stateCode?: string;
28
+ postalCode?: string;
29
+ houseNumber?: string;
30
+ countryCode?: string;
31
+ };
32
+ //#endregion
33
+ //#region src/shared/validators/textRules.d.ts
34
+ /**
35
+ * The general-purpose form-definition rules from `vocabulary.json`, as pure
36
+ * checks on a non-empty value. Callers skip empty values: requiredness is its
37
+ * own rule.
38
+ */
39
+ type CharacterClass = 'letter' | 'digit' | 'space';
40
+ //#endregion
41
+ //#region src/modules/ekyc/types.d.ts
42
+ type EkycFieldSource = 'user_input' | 'document_scan' | 'poa_document' | 'phone_module_input' | 'email_module_input' | false;
43
+ type EkycVerificationFields = {
44
+ name?: EkycFieldSource;
45
+ address?: EkycFieldSource;
46
+ phone?: EkycFieldSource;
47
+ email?: EkycFieldSource;
48
+ SSN?: EkycFieldSource;
49
+ taxId?: EkycFieldSource;
50
+ nationality?: EkycFieldSource;
51
+ 'date of birth'?: EkycFieldSource;
52
+ dlNumber?: EkycFieldSource;
53
+ dlState?: EkycFieldSource;
54
+ dlExpireAt?: EkycFieldSource;
55
+ last4SSN?: EkycFieldSource;
56
+ idNum?: EkycFieldSource;
57
+ idNum1?: EkycFieldSource;
58
+ gender?: EkycFieldSource;
59
+ panNumber?: EkycFieldSource;
60
+ idType?: EkycFieldSource;
61
+ issueDate?: EkycFieldSource;
62
+ fileNumber?: EkycFieldSource;
63
+ };
64
+ /** How module configuration asks a group's fields to show. */
65
+ type EkycFieldDisplayMode = 'editable' | 'readOnly' | 'hidden';
66
+ /** Each group's configured display mode, keyed like `EkycVerificationFields`. */
67
+ type EkycDisplayModes = Partial<Record<keyof EkycVerificationFields, EkycFieldDisplayMode>>;
68
+ type EkycModuleConfig = {
69
+ source: string;
70
+ enablePhoneRisk?: boolean;
71
+ checkName?: boolean;
72
+ nameSource?: string;
73
+ checkEmail?: boolean;
74
+ emailSource?: string;
75
+ checkAddress?: boolean;
76
+ addressSource?: string;
77
+ checkPhone?: boolean;
78
+ phoneSource?: string;
79
+ checkSsn?: boolean;
80
+ ssnSource?: string;
81
+ checkDob?: boolean;
82
+ dobSource?: string;
83
+ checkNationality?: boolean;
84
+ nationalitySource?: string;
85
+ checkDlNumber?: boolean;
86
+ dlNumberSource?: string;
87
+ checkDlState?: boolean;
88
+ dlStateSource?: string;
89
+ checkDlExpireAt?: boolean;
90
+ dlExpireAtSource?: string;
91
+ checkLast4SSN?: boolean;
92
+ last4SSNSource?: string;
93
+ checkIdNum?: boolean;
94
+ idNumSource?: string;
95
+ checkIdNum1?: boolean;
96
+ idNum1Source?: string;
97
+ checkGender?: boolean;
98
+ genderSource?: string;
99
+ checkPanNumber?: boolean;
100
+ panNumberSource?: string;
101
+ checkIdType?: boolean;
102
+ idTypeSource?: string;
103
+ checkIssueDate?: boolean;
104
+ issueDateSource?: string;
105
+ checkFileNumber?: boolean;
106
+ fileNumberSource?: string;
107
+ nameDisplayMode?: EkycFieldDisplayMode;
108
+ emailDisplayMode?: EkycFieldDisplayMode;
109
+ addressDisplayMode?: EkycFieldDisplayMode;
110
+ phoneDisplayMode?: EkycFieldDisplayMode;
111
+ ssnDisplayMode?: EkycFieldDisplayMode;
112
+ dobDisplayMode?: EkycFieldDisplayMode;
113
+ nationalityDisplayMode?: EkycFieldDisplayMode;
114
+ dlNumberDisplayMode?: EkycFieldDisplayMode;
115
+ dlStateDisplayMode?: EkycFieldDisplayMode;
116
+ dlExpireAtDisplayMode?: EkycFieldDisplayMode;
117
+ last4SSNDisplayMode?: EkycFieldDisplayMode;
118
+ idNumDisplayMode?: EkycFieldDisplayMode;
119
+ idNum1DisplayMode?: EkycFieldDisplayMode;
120
+ genderDisplayMode?: EkycFieldDisplayMode;
121
+ panNumberDisplayMode?: EkycFieldDisplayMode;
122
+ idTypeDisplayMode?: EkycFieldDisplayMode;
123
+ issueDateDisplayMode?: EkycFieldDisplayMode;
124
+ fileNumberDisplayMode?: EkycFieldDisplayMode;
125
+ riskAddons?: RiskAddon[];
126
+ };
127
+ type EkycFormValues = Record<string, string | undefined>;
128
+ /** Manager creation config */
129
+ type EkycConfig = {
130
+ flowId?: string;
131
+ verificationFields?: EkycVerificationFields;
132
+ source?: string;
133
+ fieldsCountry?: string;
134
+ enablePhoneRisk?: boolean;
135
+ /** Each group's display mode; a group that is absent is editable. */
136
+ displayModes?: EkycDisplayModes;
137
+ };
138
+ type EkycValidationRule = ({
139
+ type: 'required';
140
+ } | {
141
+ type: 'streetLevelRequired';
142
+ } | {
143
+ type: 'cpf';
144
+ } | {
145
+ type: 'ssnFormat';
146
+ } | {
147
+ type: 'noPoBox';
148
+ } | {
149
+ type: 'postalCodeFormat';
150
+ country: string;
151
+ } | {
152
+ type: 'phoneFormat';
153
+ country: string;
154
+ optional: boolean;
155
+ } | {
156
+ type: 'emailFormat';
157
+ } | {
158
+ type: 'exactLength';
159
+ length: number;
160
+ } |
161
+ /** `message` replaces the DOB-or-SSN message, for any other pair. */
162
+ {
163
+ type: 'oneOfRequired';
164
+ fields: string[];
165
+ message?: string;
166
+ } | {
167
+ type: 'nameCharacters';
168
+ } | {
169
+ type: 'notFuture';
170
+ } | {
171
+ type: 'phoneDigits';
172
+ country: string;
173
+ min: number;
174
+ max: number;
175
+ } | {
176
+ type: 'digitCount';
177
+ lengths?: number[];
178
+ min?: number;
179
+ max?: number;
180
+ } | {
181
+ type: 'allowedCharacters';
182
+ classes: CharacterClass[];
183
+ extra?: string;
184
+ } | {
185
+ type: 'charTemplate';
186
+ templates: string[];
187
+ ignoreCase?: boolean;
188
+ } | {
189
+ type: 'numericRange';
190
+ min: number;
191
+ max: number;
192
+ } |
193
+ /** National ID checks, each with its own message key. */
194
+ {
195
+ type: 'rut';
196
+ } | {
197
+ type: 'esDni';
198
+ } | {
199
+ type: 'fiPersonalIdentityCode';
200
+ } | {
201
+ type: 'inDrivingLicenseNumber';
202
+ } | {
203
+ type: 'curp';
204
+ } |
205
+ /** Required while any of `fields` has a value. */
206
+ {
207
+ type: 'requiredIfFilled';
208
+ fields: string[];
209
+ } |
210
+ /** The rules for the `selector` field's current value. */
211
+ {
212
+ type: 'rulesByOption';
213
+ selector: string;
214
+ cases: Record<string, EkycValidationRule[]>;
215
+ }) & {
216
+ /**
217
+ * A message key shown instead of the rule's own.
218
+ */
219
+ message?: string;
220
+ };
221
+ type EkycValidationError = {
222
+ key: string;
223
+ /** A list param is shown as a list in the user's language ("8 or 10"). */
224
+ params?: Record<string, string | number | number[]>;
225
+ };
226
+ type EkycValidationErrors = Partial<Record<string, EkycValidationError>>;
227
+ type EkycFieldDef = FieldDef & {
228
+ source: EkycFieldSource;
229
+ validation?: EkycValidationRule[];
230
+ /**
231
+ * How the request sends a phone: its national number, or E.164 without
232
+ * the `+`. E.164 when unset.
233
+ */
234
+ phoneFormat?: 'nationalNumber' | 'e164NoPlus';
235
+ /** The request key, when it isn't the field name. */
236
+ payloadKey?: string;
237
+ /**
238
+ * How the field shows once prefill has run. `hidden` fields aren't
239
+ * rendered but are validated and sent; `readOnly` ones also set
240
+ * `readonly`. Unset means editable.
241
+ */
242
+ displayMode?: EkycFieldDisplayMode;
243
+ /** Formatting applied to the value as the user types, in order. */
244
+ inputFormat?: EkycInputFormat[];
245
+ };
246
+ type EkycInputFormat = 'uppercase' | 'stripSeparators';
247
+ type RiskAddon = 'phoneCheck' | 'advancedPhoneCheck' | 'emailCheck' | 'phoneProfile';
248
+ //#endregion
249
+ export { EkycFormValues as a, EkycValidationErrors as c, FieldDef as d, EkycFieldDisplayMode as i, RiskAddon as l, EkycDisplayModes as n, EkycModuleConfig as o, EkycFieldDef as r, EkycValidationError as s, EkycConfig as t, AddressSuggestion as u };
@@ -0,0 +1,34 @@
1
+ //#region src/modules/watchlist-for-business/types.d.ts
2
+ /** Where a W4B field's value comes from. */
3
+ type WatchlistForBusinessFieldSource = 'userInput' | 'eKYBData';
4
+ /**
5
+ * Configuration for the watchlist-for-business module.
6
+ *
7
+ * Every field is optional. With no config the module collects country and
8
+ * business name from the user and submits them to the business watchlist
9
+ * endpoint. Tax ID and date of incorporation are extra, optional inputs that
10
+ * the backend enables when the AML Watcher integration is provisioned.
11
+ */
12
+ type WatchlistForBusinessConfig = {
13
+ /**
14
+ * Source of the country. Typed for parity with the backend config; the
15
+ * module currently always collects it from the user.
16
+ */
17
+ countrySource?: WatchlistForBusinessFieldSource;
18
+ /**
19
+ * Source of the business name. Typed for parity with the backend config;
20
+ * the module currently always collects it from the user.
21
+ */
22
+ businessNameSource?: WatchlistForBusinessFieldSource;
23
+ /** Shows the optional Tax ID input and sends it when filled. */
24
+ taxIdEnabled?: boolean;
25
+ /** Shows the optional date-of-incorporation input and sends it when filled. */
26
+ dateOfIncorporationEnabled?: boolean;
27
+ };
28
+ type WatchlistForBusinessValidationErrors = {
29
+ businessName?: string;
30
+ taxId?: string;
31
+ dateOfIncorporation?: string;
32
+ };
33
+ //#endregion
34
+ export { WatchlistForBusinessValidationErrors as n, WatchlistForBusinessConfig as t };
@@ -1,4 +1,4 @@
1
- import { l as FieldDef } from "./types-BvLo3U4u.js";
1
+ import { d as FieldDef } from "./types-B2FK_wYb.js";
2
2
  //#region src/modules/ekyb/types.d.ts
3
3
  type UboEntry = {
4
4
  id: string;
@@ -0,0 +1,6 @@
1
+ import { i as FlowModuleConfig } from "./types-DuD8TRJU.js";
2
+ import { t as BaseFaceCaptureConfig } from "./types--3HDl2SF.js";
3
+ //#region src/modules/authentication/types.d.ts
4
+ type AuthenticationConfig = FlowModuleConfig['AUTHENTICATION'] & BaseFaceCaptureConfig;
5
+ //#endregion
6
+ export { AuthenticationConfig as t };
@@ -9,6 +9,7 @@ type RedirectToMobileConfig = {
9
9
  externalId?: string;
10
10
  lang?: string;
11
11
  };
12
+ type RedirectToMobileErrorCode = 'INVALID_REDIRECT_URL';
12
13
  type OnboardingStatus = 'ONBOARDING_FINISHED' | 'ONBOARDING_IN_PROGRESS' | 'ONBOARDING_NOT_STARTED';
13
14
  type OnboardingStatusResponse = {
14
15
  onboardingStatus: OnboardingStatus;
@@ -37,4 +38,4 @@ type RedirectToMobileServices = {
37
38
  fetchStartInfo: (signal?: AbortSignal) => Promise<StartInfoResponse>;
38
39
  };
39
40
  //#endregion
40
- export { RedirectToMobileServices as n, RedirectToMobileConfig as t };
41
+ export { RedirectToMobileErrorCode as n, RedirectToMobileServices as r, RedirectToMobileConfig as t };
@@ -1,5 +1,6 @@
1
- import { s as RiskAddon } from "./types-BvLo3U4u.js";
1
+ import { l as RiskAddon } from "./types-B2FK_wYb.js";
2
2
  import "./createFaceAvatar-lYX0VTYs.js";
3
+ import { t as WatchlistForBusinessConfig } from "./types-B9C8W01q.js";
3
4
  //#region src/internal/avatar/concealment.d.ts
4
5
  /**
5
6
  * Backend-aligned selfie/auth face-concealment options. The backend returns a
@@ -353,7 +354,7 @@ type FlowModuleConfig = {
353
354
  UNIVERSAL_IDENTITY: EmptyConfig;
354
355
  WATCHLIST: EmptyConfig;
355
356
  TRUST_GRAPH: EmptyConfig;
356
- WATCHLIST_BUSINESS: EmptyConfig;
357
+ WATCHLIST_BUSINESS: WatchlistForBusinessConfig;
357
358
  };
358
359
  type FlowModule = { [K in keyof FlowModuleConfig]: {
359
360
  key: K;
@@ -1,4 +1,4 @@
1
- import { a as RegulationTypes } from "./types-B6HsSzpk.js";
1
+ import { a as RegulationTypes } from "./types-DuD8TRJU.js";
2
2
  //#region src/modules/mandatory-consent/types.d.ts
3
3
  type RegulatoryConsentType = 'MANDATORY' | 'ML';
4
4
  type MandatoryConsentConfig = {
@@ -33,9 +33,9 @@ type DocumentCaptureConfig = {
33
33
  title?: string;
34
34
  /** Tutorial screen text override */
35
35
  text?: string;
36
- /** Title override for the second-page tutorial (multi-page flows). Falls back to `title`. */
36
+ /** Title override for the second-page tutorial (multi-page flows). Falls back to the default copy. */
37
37
  step2Title?: string;
38
- /** Text override for the second-page tutorial (multi-page flows). Falls back to `text`. */
38
+ /** Text override for the second-page tutorial (multi-page flows). Falls back to the default copy. */
39
39
  step2Text?: string;
40
40
  /** Number of capture/upload attempts before auto-advancing. @default 3 */
41
41
  captureAttempts?: number;
@@ -1,4 +1,4 @@
1
- import { a as RegulationTypes } from "./types-B6HsSzpk.js";
1
+ import { a as RegulationTypes } from "./types-DuD8TRJU.js";
2
2
  //#region src/internal/fingerprint/types.d.ts
3
3
  type DeviceFingerprintResult = {
4
4
  success: boolean;