@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.
- package/dist/{FaceDetectionProvider-DILvXMxQ.esm.js → FaceDetectionProvider-DQYbHLxC.esm.js} +7 -7
- package/dist/{addressSearch-BJ711RHG.esm.js → addressSearch-gginelz3.esm.js} +29 -27
- package/dist/ae-signature.esm.js +1 -1
- package/dist/antifraud.esm.js +2 -2
- package/dist/{antifraudManager-DRMBLSh7.esm.js → antifraudManager-B673OXCo.esm.js} +2 -2
- package/dist/{antifraudStateMachine-Bi0m60oV.esm.js → antifraudStateMachine-C_d7-TUA.esm.js} +1 -1
- package/dist/{api-B58edv6M.esm.js → api-CsXnB7m6.esm.js} +1 -0
- package/dist/{apiError-B80OYJHb.esm.js → apiError-BRiJu_rv.esm.js} +1 -1
- package/dist/{attemptCarry-CxiYlUAO.esm.js → attemptCarry-8gUYc3pL.esm.js} +1 -1
- package/dist/authentication.d.ts +3 -3
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-CXDKsr-j.esm.js → authenticationManager-CrBlRkAd.esm.js} +4 -4
- package/dist/{authenticationManager-C_ttJLGU.d.ts → authenticationManager-Cv_jCMGJ.d.ts} +1 -1
- package/dist/{authenticationStateMachine-CjheAavc.esm.js → authenticationStateMachine-DLwEyCeH.esm.js} +3 -3
- package/dist/certificate-issuance.esm.js +2 -2
- package/dist/{certificateIssuanceManager-DGzHjp2j.esm.js → certificateIssuanceManager-D-Dm90F3.esm.js} +2 -2
- package/dist/{certificateIssuanceStateMachine-DpflnS6P.esm.js → certificateIssuanceStateMachine-CBNw9Niu.esm.js} +1 -1
- package/dist/consent.d.ts +1 -1
- package/dist/consent.esm.js +2 -2
- package/dist/{consentManager-Bx_osBME.d.ts → consentManager-Bow34QP_.d.ts} +13 -13
- package/dist/{consentManager-CyoeiABc.esm.js → consentManager-DQ1uiNhr.esm.js} +2 -2
- package/dist/{consentStateMachine-BTUrAslr.esm.js → consentStateMachine-Cb7dKk_1.esm.js} +1 -1
- package/dist/cross-document-data-match.esm.js +1 -1
- package/dist/{crossDocumentDataMatchManager-cmQmp7Bi.esm.js → crossDocumentDataMatchManager-CeeEmCV1.esm.js} +2 -2
- package/dist/curp-validation.d.ts +1 -1
- package/dist/curp-validation.esm.js +2 -2
- package/dist/{curpValidationManager-BFPZiliY.d.ts → curpValidationManager-DFWjZq3i.d.ts} +1 -1
- package/dist/{curpValidationManager-EW44fVpH.esm.js → curpValidationManager-vgHG8gob.esm.js} +2 -2
- package/dist/{curpValidationStateMachine-BFkt90Zs.esm.js → curpValidationStateMachine-DaSzh9OA.esm.js} +2 -2
- package/dist/custom-fields.esm.js +1 -1
- package/dist/custom-watchlist.esm.js +2 -2
- package/dist/{customFieldsManager-DPMBJrcH.esm.js → customFieldsManager-BuEt-nm4.esm.js} +2 -2
- package/dist/{customWatchlistManager-DiYpPjZx.esm.js → customWatchlistManager-C1z0B5NU.esm.js} +2 -2
- package/dist/{customWatchlistStateMachine-D7VxQggF.esm.js → customWatchlistStateMachine-DvwFHjkC.esm.js} +1 -1
- package/dist/{deepsightCaptureConfig-22yGNhzp.esm.js → deepsightCaptureConfig-BVJANeRn.esm.js} +2 -2
- package/dist/{deepsightLoader-DAvHxEmQ.esm.js → deepsightLoader-C6nKqY9Q.esm.js} +4 -4
- package/dist/{desktopCameraElection-DKHWoXIZ.esm.js → desktopCameraElection-BAq-Kaiq.esm.js} +5 -5
- package/dist/document-capture.d.ts +1 -1
- package/dist/document-capture.esm.js +2 -2
- package/dist/document-signature.esm.js +2 -2
- package/dist/{documentCaptureManager-sJWgqtUy.d.ts → documentCaptureManager-DOgJTJ4F.d.ts} +4 -4
- package/dist/{documentCaptureManager-ytELw-yO.esm.js → documentCaptureManager-DoHy82WC.esm.js} +2 -2
- package/dist/{documentCaptureStateMachine-lKG1IVEM.esm.js → documentCaptureStateMachine-C_HQH7vA.esm.js} +2 -2
- package/dist/{documentSignatureStateMachine-BVv6yTDC.esm.js → documentSignatureStateMachine-Btlg3q7j.esm.js} +3 -3
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-L9BCGhY3.esm.js → dynamicFormsManager-SbEUnFoF.esm.js} +2 -2
- package/dist/{dynamicFormsStateMachine-UeIgfIgO.esm.js → dynamicFormsStateMachine-Dxv36mAP.esm.js} +2 -2
- package/dist/ekyb.d.ts +1 -1
- package/dist/ekyb.esm.js +2 -2
- package/dist/{ekybManager-BNG13W2D.esm.js → ekybManager-xhoOX9O9.esm.js} +2 -2
- package/dist/{ekybStateMachine-qSw4IjCe.esm.js → ekybStateMachine-CCjUH0j3.esm.js} +184 -57
- package/dist/ekyc-prefill.d.ts +1 -1
- package/dist/ekyc-prefill.esm.js +2 -2
- package/dist/ekyc.d.ts +3 -0
- package/dist/ekyc.esm.js +3 -3
- package/dist/{ekycManager-Bt0FZlZO.esm.js → ekycManager-DrGuK0kT.esm.js} +2 -2
- package/dist/{ekycPrefillManager-C5DMDJEA.esm.js → ekycPrefillManager-C9kdwCC6.esm.js} +2 -2
- package/dist/{ekycPrefillManager-D-8VY48A.d.ts → ekycPrefillManager-Di6aMx68.d.ts} +8 -8
- package/dist/{ekycPrefillStateMachine-66IiDSxQ.esm.js → ekycPrefillStateMachine-DiQifkkd.esm.js} +9 -88
- package/dist/{ekycStateMachine-lo3GvfpV.esm.js → ekycStateMachine-BmMdLe2G.esm.js} +299 -126
- package/dist/{ekycUtils-BnTyeA-_.esm.js → ekycUtils-DfBNTcvX.esm.js} +41 -5
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-Dc0_ymIt.esm.js → electronicSignatureManager-C6liTNbu.esm.js} +3 -3
- package/dist/email.esm.js +2 -2
- package/dist/{emailManager-BBdRYLtH.esm.js → emailManager-CUX2saAB.esm.js} +2 -2
- package/dist/{emailStateMachine-DO7lWYvn.esm.js → emailStateMachine-BzWHKLtW.esm.js} +2 -2
- package/dist/{events-PUWyizJn.esm.js → events-Dlkhhx5O.esm.js} +1 -1
- package/dist/events.esm.js +1 -1
- package/dist/extensibility.d.ts +14 -14
- package/dist/extensibility.esm.js +35 -35
- package/dist/face-match.esm.js +2 -2
- package/dist/{faceCaptureManagerFactory-D0y15MK_.d.ts → faceCaptureManagerFactory-2oqROMSB.d.ts} +3 -3
- package/dist/{faceCaptureManagerFactory-DePLuBnT.esm.js → faceCaptureManagerFactory-OL8BWaIW.esm.js} +3 -3
- package/dist/{faceCaptureSetup-C8qfvh2x.esm.js → faceCaptureSetup-DQVtmb1q.esm.js} +10 -10
- package/dist/{faceMatchManager-nBvS9z0o.esm.js → faceMatchManager-BzaXiW4H.esm.js} +2 -2
- package/dist/{faceMatchStateMachine-48O8j_Lx.esm.js → faceMatchStateMachine-BItwQ_yA.esm.js} +2 -2
- package/dist/{feature-management-srznX8Iz.esm.js → feature-management-D_T-MG_i.esm.js} +1 -1
- package/dist/feature-management.esm.js +1 -1
- package/dist/field-comparison.esm.js +1 -1
- package/dist/{fieldComparisonManager-B1ipvtnp.esm.js → fieldComparisonManager-CzX6IhGd.esm.js} +2 -2
- package/dist/fiscal-qr.esm.js +1 -1
- package/dist/{fiscalQrManager-yecjuXV4.esm.js → fiscalQrManager-Dg6Mp58y.esm.js} +2 -2
- package/dist/flow-events.d.ts +1 -1
- package/dist/flow.d.ts +31 -9
- package/dist/flow.esm.js +11 -7
- package/dist/{flowCompletionService-Cba59yFV.esm.js → flowCompletionService-L0J63ui-.esm.js} +2 -2
- package/dist/{flowServices-B33MhjQM.esm.js → flowServices-3OXrEqDE.esm.js} +25 -21
- package/dist/formDefinitionsRollout-B-c4yO2z.esm.js +30 -0
- package/dist/{formErrors-lSfh7Y8J.esm.js → formErrors-kpskZLNT.esm.js} +39 -180
- package/dist/geolocation.d.ts +1 -1
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-C7cHHTkd.esm.js → geolocationManager-CREfQNgO.esm.js} +2 -2
- package/dist/{geolocationManager-CENrvxpK.d.ts → geolocationManager-Del2ddmt.d.ts} +1 -1
- package/dist/{geolocationStateMachine-QJqoWT7E.esm.js → geolocationStateMachine-D9_bBr19.esm.js} +3 -3
- package/dist/government-validation.esm.js +2 -2
- package/dist/{governmentValidationManager-0-L21hu6.esm.js → governmentValidationManager-B7lIuL4r.esm.js} +2 -2
- package/dist/{governmentValidationStateMachine-BFIcq3UB.esm.js → governmentValidationStateMachine-BuW6l3ah.esm.js} +1 -1
- package/dist/home.d.ts +1 -1
- package/dist/home.esm.js +1 -1
- package/dist/http.esm.js +1 -1
- package/dist/id-ocr.d.ts +1 -1
- package/dist/id-ocr.esm.js +2 -2
- package/dist/id-selfie-flow.d.ts +1 -1
- package/dist/id-selfie-flow.esm.js +6 -6
- package/dist/id-verification.esm.js +2 -2
- package/dist/id.d.ts +2 -2
- package/dist/id.esm.js +3 -3
- package/dist/{idCaptureManager-3YmXwvvY.esm.js → idCaptureManager-B5ZN7scK.esm.js} +6 -6
- package/dist/{idCaptureManager-B72fNOKa.d.ts → idCaptureManager-BMsGPjcf.d.ts} +2 -2
- package/dist/{idCaptureServices-j-hB9ROq.esm.js → idCaptureServices-7zZ457LW.esm.js} +4 -4
- package/dist/{idCaptureStateMachine-DcQQvjLv.esm.js → idCaptureStateMachine-FP4j-qeT.esm.js} +15 -15
- package/dist/{idOcrManager-CNGVEZ7B.d.ts → idOcrManager-C0C7lFGd.d.ts} +1 -1
- package/dist/{idOcrManager-bjBLjrEE.esm.js → idOcrManager-C9C8UaPr.esm.js} +2 -2
- package/dist/{idOcrStateMachine-D5ifJ1B8.esm.js → idOcrStateMachine-DANDVn-6.esm.js} +1 -1
- package/dist/{idVerificationManager-C8Ja-vKq.esm.js → idVerificationManager-B_6wwpeT.esm.js} +2 -2
- package/dist/{idVerificationStateMachine-BMnfZZli.esm.js → idVerificationStateMachine-MjQmD3yQ.esm.js} +1 -1
- package/dist/identity-reuse.d.ts +2 -2
- package/dist/identity-reuse.esm.js +2 -2
- package/dist/identity-search.esm.js +1 -1
- package/dist/{identityReuseManager-D_jiHp1n.d.ts → identityReuseManager-BE6LHcuP.d.ts} +157 -21
- package/dist/{identityReuseManager-B5BWAleT.esm.js → identityReuseManager-DWECWIiZ.esm.js} +7 -3
- package/dist/{identityReuseStateMachine-Cuggm1UP.esm.js → identityReuseStateMachine-nBv0KUJC.esm.js} +73 -5
- package/dist/{index-O5g5kKdI.d.ts → index-k1LUfkAo.d.ts} +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/kyb-checks.esm.js +2 -2
- package/dist/{kybChecksManager-BorQeoKZ.esm.js → kybChecksManager-tUsFKBCN.esm.js} +1 -1
- package/dist/{kybChecksStateMachine-kuV8xPAu.esm.js → kybChecksStateMachine-D1q4K7Xr.esm.js} +4 -4
- package/dist/mandatory-consent.d.ts +2 -2
- package/dist/mandatory-consent.esm.js +2 -2
- package/dist/{mandatoryConsentManager-C6jjFptX.d.ts → mandatoryConsentManager-De9ZX6o4.d.ts} +10 -10
- package/dist/{mandatoryConsentManager-FfgHdPYw.esm.js → mandatoryConsentManager-S8rgqCld.esm.js} +2 -2
- package/dist/{mandatoryConsentStateMachine-CXuYC3qR.esm.js → mandatoryConsentStateMachine-BtE4heVc.esm.js} +1 -1
- package/dist/{multipartRecordingService-CFmOUGQt.esm.js → multipartRecordingService-C8v02l56.esm.js} +1 -1
- package/dist/phone.esm.js +2 -2
- package/dist/{phoneManager-oIMdbeLG.esm.js → phoneManager-uQEAWKlO.esm.js} +2 -2
- package/dist/{phoneServices-Dk4j3NhI.esm.js → phoneServices-XoT74eS0.esm.js} +1 -1
- package/dist/{phoneStateMachine-Cu3y7ewi.esm.js → phoneStateMachine-B4W4CSqf.esm.js} +2 -2
- package/dist/{processFaceMatch-CHeI0DEt.esm.js → processFaceMatch-CpQYLU-y.esm.js} +1 -1
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{recordingService-RHW4CWxh.esm.js → recordingService-OcyZO_w6.esm.js} +3 -3
- package/dist/redirect-to-mobile.esm.js +2 -2
- package/dist/{redirectToMobileManager-DmrPLTLG.esm.js → redirectToMobileManager-UQZkhZFB.esm.js} +2 -2
- package/dist/{redirectToMobileStateMachine-OeQDdgsK.esm.js → redirectToMobileStateMachine-D1wp--wG.esm.js} +1 -1
- package/dist/{runChildModule-pJrB5rsq.esm.js → runChildModule-BuZFd3Df.esm.js} +1 -1
- package/dist/{sdkVersion-CiTnubuK.esm.js → sdkVersion-BY8g-EEL.esm.js} +1 -1
- package/dist/selfie.d.ts +3 -3
- package/dist/selfie.esm.js +8 -8
- package/dist/{selfieErrorUtils-UJWNVxvr.esm.js → selfieErrorUtils-DIVWh0ih.esm.js} +1 -1
- package/dist/{selfieManager-B9nn8qKH.esm.js → selfieManager-DQ5xB8y6.esm.js} +4 -4
- package/dist/{selfieManager-C44cA6cA.d.ts → selfieManager-RgcJwpHg.d.ts} +1 -1
- package/dist/{selfieStateMachine-7H38L53x.esm.js → selfieStateMachine-fyNh2r31.esm.js} +3 -3
- package/dist/{session-BLrEehWj.esm.js → session-DKnCv6zu.esm.js} +5 -5
- package/dist/session.d.ts +9 -1
- package/dist/session.esm.js +5 -5
- package/dist/{sessionInitializer-DAC3I8PG.esm.js → sessionInitializer-q5b8Qwr3.esm.js} +7 -7
- package/dist/{setup-BajT35bZ.esm.js → setup-JGwc0kgu.esm.js} +8 -8
- package/dist/signature.esm.js +2 -2
- package/dist/{signatureManager-DRUflksL.esm.js → signatureManager-3g4_cavt.esm.js} +2 -2
- package/dist/{signatureStateMachine-BQZenxel.esm.js → signatureStateMachine-CkES2vVv.esm.js} +1 -1
- package/dist/{stats-DHu3li6G.esm.js → stats-D_gJvsTS.esm.js} +1 -1
- package/dist/stats.esm.js +1 -1
- package/dist/trim-OmrUb6mG.esm.js +297 -0
- package/dist/trueSight-9VsfHXFt.esm.js +1 -0
- package/dist/{trueSightService-BLyfduve.esm.js → trueSightService-Dx8AqgKD.esm.js} +3 -3
- package/dist/trust-graph.esm.js +2 -2
- package/dist/{trustGraphStateMachine-0Ehwried.esm.js → trustGraphStateMachine-fuYq0Cxf.esm.js} +1 -1
- package/dist/{types-C57lH3a8.d.ts → types-BV2Tl1wE.d.ts} +1 -1
- package/dist/{types-CaQV2ksk.d.ts → types-BVgTvWOP.d.ts} +1 -1
- package/dist/{types-DDmU-yVM.d.ts → types-DAhpyjuI.d.ts} +1 -1
- package/dist/{types-ujAUlvvI.d.ts → types-DH4VaTRC.d.ts} +4 -4
- package/dist/types-RLVmm_Hf.d.ts +6 -0
- package/dist/{types-ByNCQYE9.d.ts → types-YS7g_P7z.d.ts} +1 -1
- package/dist/uppercase-CwlIuiwR.esm.js +115 -0
- package/dist/video-selfie.d.ts +1 -1
- package/dist/video-selfie.esm.js +6 -6
- package/dist/{videoSelfieCameraWarmer-D4nY62Xt.esm.js → videoSelfieCameraWarmer-AoMytGBD.esm.js} +4 -4
- package/dist/{videoSelfieStepDetector-DAEJDeL3.d.ts → videoSelfieStepDetector-DCOmz3yk.d.ts} +2 -2
- package/dist/wasm.esm.js +1 -1
- package/dist/watchlist-for-business.esm.js +2 -2
- package/dist/watchlist.esm.js +2 -2
- package/dist/{watchlistForBusinessManager-d8kdf35n.esm.js → watchlistForBusinessManager-VDu1ypVz.esm.js} +2 -2
- package/dist/{watchlistForBusinessStateMachine-Y9wFmuMH.esm.js → watchlistForBusinessStateMachine-Dr85bA22.esm.js} +1 -1
- package/dist/{watchlistManager-D1BVrd3H.esm.js → watchlistManager-Dc9sFwZx.esm.js} +2 -2
- package/dist/{watchlistStateMachine-Da4p0sTE.esm.js → watchlistStateMachine-BnKGh6Kk.esm.js} +1 -1
- package/dist/workflow.d.ts +5 -5
- package/dist/workflow.esm.js +40 -40
- package/package.json +1 -1
- package/dist/definitionSource-B9WTvQb9.esm.js +0 -30
- package/dist/resolveForm-DaaQSVWp.esm.js +0 -146
- package/dist/trueSight-BdWbgUnZ.esm.js +0 -1
- package/dist/types-B_THBzAh.d.ts +0 -6
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { n as eventModuleNames } from "./types-DLsivQsu.esm.js";
|
|
2
|
-
import { t as createManagerInstrumentation } from "./events-
|
|
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 { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
6
|
-
import { n as watchlistForBusinessMachine, t as getMaxDateOfIncorporation } from "./watchlistForBusinessStateMachine-
|
|
6
|
+
import { n as watchlistForBusinessMachine, t as getMaxDateOfIncorporation } from "./watchlistForBusinessStateMachine-Dr85bA22.esm.js";
|
|
7
7
|
//#region src/modules/watchlist-for-business/watchlistForBusinessActor.ts
|
|
8
8
|
function createWatchlistForBusinessActor(options = {}) {
|
|
9
9
|
return createActor(watchlistForBusinessMachine, { input: { config: options.config ?? {} } }).start();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
|
|
2
|
-
import { t as api, u as endpoints } from "./api-
|
|
2
|
+
import { t as api, u as endpoints } from "./api-CsXnB7m6.esm.js";
|
|
3
3
|
import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
4
4
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
5
5
|
import { n as calendarDateError } from "./calendarDate-D2zWfUlA.esm.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { n as eventModuleNames } from "./types-DLsivQsu.esm.js";
|
|
2
|
-
import { t as createManagerInstrumentation } from "./events-
|
|
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 { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
6
|
-
import { t as watchlistMachine } from "./watchlistStateMachine-
|
|
6
|
+
import { t as watchlistMachine } from "./watchlistStateMachine-BnKGh6Kk.esm.js";
|
|
7
7
|
//#region src/modules/watchlist/watchlistActor.ts
|
|
8
8
|
function createWatchlistActor() {
|
|
9
9
|
return createActor(watchlistMachine).start();
|
package/dist/{watchlistStateMachine-Da4p0sTE.esm.js → watchlistStateMachine-BnKGh6Kk.esm.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as api, u as endpoints } from "./api-
|
|
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
4
|
//#region src/modules/watchlist/watchlistServices.ts
|
package/dist/workflow.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { t as CallbackActorLogic } from "./callback-BmjJ1G-5.js";
|
|
|
3
3
|
import "./xstate.cjs-D6Ur0X1F.js";
|
|
4
4
|
import { t as Manager } from "./Manager-DufwKlav.js";
|
|
5
5
|
import { a as TotalScore, i as GetTotalScoreStatusFn, n as FinishStatus, r as GetFinishStatusFn } from "./flowCompletionService-BlAHsKyv.js";
|
|
6
|
-
import { o as FlowEventSubscribable } from "./index-
|
|
6
|
+
import { o as FlowEventSubscribable } from "./index-k1LUfkAo.js";
|
|
7
7
|
import { a as WorkflowModuleRegistry, i as RunChildModuleInput, r as RunChildModuleEvent, t as ModuleConfigMappers } from "./types-C3rfDzgE.js";
|
|
8
8
|
//#region src/modules/workflow/types.d.ts
|
|
9
9
|
/** Possible node types returned by the workflow server. */
|
|
@@ -365,6 +365,10 @@ declare const workflowMachine: StateMachine<WorkflowContext, {
|
|
|
365
365
|
id: string | undefined;
|
|
366
366
|
};
|
|
367
367
|
}>, Values<{
|
|
368
|
+
setError: {
|
|
369
|
+
type: "setError";
|
|
370
|
+
params: NonReducibleUnknown;
|
|
371
|
+
};
|
|
368
372
|
setLoadingResult: {
|
|
369
373
|
type: "setLoadingResult";
|
|
370
374
|
params: NonReducibleUnknown;
|
|
@@ -397,10 +401,6 @@ declare const workflowMachine: StateMachine<WorkflowContext, {
|
|
|
397
401
|
type: "setFinishStatusFailed";
|
|
398
402
|
params: NonReducibleUnknown;
|
|
399
403
|
};
|
|
400
|
-
setError: {
|
|
401
|
-
type: "setError";
|
|
402
|
-
params: NonReducibleUnknown;
|
|
403
|
-
};
|
|
404
404
|
setModuleError: {
|
|
405
405
|
type: "setModuleError";
|
|
406
406
|
params: NonReducibleUnknown;
|
package/dist/workflow.esm.js
CHANGED
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
import { n as eventModuleNames, v as addEvent } from "./types-DLsivQsu.esm.js";
|
|
2
|
-
import { t as api, u as endpoints } from "./api-
|
|
3
|
-
import { t as createManagerInstrumentation } from "./events-
|
|
4
|
-
import { u as trueSightLog } from "./trueSightService-
|
|
5
|
-
import "./trueSight-
|
|
6
|
-
import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-
|
|
7
|
-
import { E as updateFeatureManagementUser } from "./feature-management-
|
|
2
|
+
import { t as api, u as endpoints } from "./api-CsXnB7m6.esm.js";
|
|
3
|
+
import { t as createManagerInstrumentation } from "./events-Dlkhhx5O.esm.js";
|
|
4
|
+
import { u as trueSightLog } from "./trueSightService-Dx8AqgKD.esm.js";
|
|
5
|
+
import "./trueSight-9VsfHXFt.esm.js";
|
|
6
|
+
import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-q5b8Qwr3.esm.js";
|
|
7
|
+
import { E as updateFeatureManagementUser } from "./feature-management-D_T-MG_i.esm.js";
|
|
8
8
|
import { i as retryAfterReconnect } from "./connectivity-BCuEoQ-n.esm.js";
|
|
9
|
-
import { i as toIncodeApiError } from "./apiError-
|
|
9
|
+
import { i as toIncodeApiError } from "./apiError-BRiJu_rv.esm.js";
|
|
10
10
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
11
11
|
import { i as assign, s as createActor, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
12
12
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
13
|
-
import { r as electronicSignatureMachine } from "./electronicSignatureManager-
|
|
13
|
+
import { r as electronicSignatureMachine } from "./electronicSignatureManager-C6liTNbu.esm.js";
|
|
14
14
|
import "./ae-signature.esm.js";
|
|
15
|
-
import { t as antifraudMachine } from "./antifraudStateMachine-
|
|
16
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
17
|
-
import { t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-
|
|
18
|
-
import { t as consentMachine } from "./consentStateMachine-
|
|
19
|
-
import { t as curpValidationMachine } from "./curpValidationStateMachine-
|
|
20
|
-
import { t as customWatchlistMachine } from "./customWatchlistStateMachine-
|
|
21
|
-
import { t as documentCaptureMachine } from "./documentCaptureStateMachine-
|
|
22
|
-
import { r as documentSignatureMachine } from "./documentSignatureStateMachine-
|
|
23
|
-
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-
|
|
15
|
+
import { t as antifraudMachine } from "./antifraudStateMachine-C_d7-TUA.esm.js";
|
|
16
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-DLwEyCeH.esm.js";
|
|
17
|
+
import { t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-CBNw9Niu.esm.js";
|
|
18
|
+
import { t as consentMachine } from "./consentStateMachine-Cb7dKk_1.esm.js";
|
|
19
|
+
import { t as curpValidationMachine } from "./curpValidationStateMachine-DaSzh9OA.esm.js";
|
|
20
|
+
import { t as customWatchlistMachine } from "./customWatchlistStateMachine-DvwFHjkC.esm.js";
|
|
21
|
+
import { t as documentCaptureMachine } from "./documentCaptureStateMachine-C_HQH7vA.esm.js";
|
|
22
|
+
import { r as documentSignatureMachine } from "./documentSignatureStateMachine-Btlg3q7j.esm.js";
|
|
23
|
+
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-Dxv36mAP.esm.js";
|
|
24
24
|
import { s as toEkybConfig } from "./ekybUtils-CX-dR5p9.esm.js";
|
|
25
|
-
import { t as ekybMachine } from "./ekybStateMachine-
|
|
26
|
-
import { t as ekycPrefillMachine } from "./ekycPrefillStateMachine-
|
|
27
|
-
import { d as toEkycConfig } from "./ekycUtils-
|
|
28
|
-
import { t as ekycMachine } from "./ekycStateMachine-
|
|
29
|
-
import { t as emailMachine } from "./emailStateMachine-
|
|
30
|
-
import { t as selfieMachine } from "./selfieStateMachine-
|
|
31
|
-
import { t as idCaptureMachine } from "./idCaptureStateMachine-
|
|
32
|
-
import { t as phoneMachine } from "./phoneStateMachine-
|
|
33
|
-
import { t as watchlistMachine } from "./watchlistStateMachine-
|
|
34
|
-
import { n as watchlistForBusinessMachine } from "./watchlistForBusinessStateMachine-
|
|
35
|
-
import { n as identityReuseMachine } from "./identityReuseStateMachine-
|
|
36
|
-
import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-
|
|
37
|
-
import { t as idOcrStateMachine } from "./idOcrStateMachine-
|
|
38
|
-
import { n as redirectToMobileMachine } from "./redirectToMobileStateMachine-
|
|
39
|
-
import { t as signatureMachine } from "./signatureStateMachine-
|
|
40
|
-
import { t as geolocationMachine } from "./geolocationStateMachine-
|
|
41
|
-
import { t as governmentValidationMachine } from "./governmentValidationStateMachine-
|
|
42
|
-
import { t as idVerificationMachine } from "./idVerificationStateMachine-
|
|
43
|
-
import { t as faceMatchMachine } from "./faceMatchStateMachine-
|
|
44
|
-
import { t as kybChecksMachine } from "./kybChecksStateMachine-
|
|
45
|
-
import { n as getFinishStatus, r as getTotalScoreStatus } from "./flowCompletionService-
|
|
46
|
-
import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-
|
|
25
|
+
import { t as ekybMachine } from "./ekybStateMachine-CCjUH0j3.esm.js";
|
|
26
|
+
import { t as ekycPrefillMachine } from "./ekycPrefillStateMachine-DiQifkkd.esm.js";
|
|
27
|
+
import { d as toEkycConfig } from "./ekycUtils-DfBNTcvX.esm.js";
|
|
28
|
+
import { t as ekycMachine } from "./ekycStateMachine-BmMdLe2G.esm.js";
|
|
29
|
+
import { t as emailMachine } from "./emailStateMachine-BzWHKLtW.esm.js";
|
|
30
|
+
import { t as selfieMachine } from "./selfieStateMachine-fyNh2r31.esm.js";
|
|
31
|
+
import { t as idCaptureMachine } from "./idCaptureStateMachine-FP4j-qeT.esm.js";
|
|
32
|
+
import { t as phoneMachine } from "./phoneStateMachine-B4W4CSqf.esm.js";
|
|
33
|
+
import { t as watchlistMachine } from "./watchlistStateMachine-BnKGh6Kk.esm.js";
|
|
34
|
+
import { n as watchlistForBusinessMachine } from "./watchlistForBusinessStateMachine-Dr85bA22.esm.js";
|
|
35
|
+
import { n as identityReuseMachine } from "./identityReuseStateMachine-nBv0KUJC.esm.js";
|
|
36
|
+
import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-BtE4heVc.esm.js";
|
|
37
|
+
import { t as idOcrStateMachine } from "./idOcrStateMachine-DANDVn-6.esm.js";
|
|
38
|
+
import { n as redirectToMobileMachine } from "./redirectToMobileStateMachine-D1wp--wG.esm.js";
|
|
39
|
+
import { t as signatureMachine } from "./signatureStateMachine-CkES2vVv.esm.js";
|
|
40
|
+
import { t as geolocationMachine } from "./geolocationStateMachine-D9_bBr19.esm.js";
|
|
41
|
+
import { t as governmentValidationMachine } from "./governmentValidationStateMachine-BuW6l3ah.esm.js";
|
|
42
|
+
import { t as idVerificationMachine } from "./idVerificationStateMachine-MjQmD3yQ.esm.js";
|
|
43
|
+
import { t as faceMatchMachine } from "./faceMatchStateMachine-BItwQ_yA.esm.js";
|
|
44
|
+
import { t as kybChecksMachine } from "./kybChecksStateMachine-D1q4K7Xr.esm.js";
|
|
45
|
+
import { n as getFinishStatus, r as getTotalScoreStatus } from "./flowCompletionService-L0J63ui-.esm.js";
|
|
46
|
+
import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-BuZFd3Df.esm.js";
|
|
47
47
|
import { n as isAdvanceableError } from "./advanceableErrors-CxZyPRyh.esm.js";
|
|
48
48
|
import "./qe-signature.esm.js";
|
|
49
|
-
import { t as trustGraphMachine } from "./trustGraphStateMachine-
|
|
49
|
+
import { t as trustGraphMachine } from "./trustGraphStateMachine-fuYq0Cxf.esm.js";
|
|
50
50
|
import { t as videoSelfieFlowModuleMachine } from "./videoSelfieFlowModuleMachine-IWdxw1TW.esm.js";
|
|
51
51
|
//#region src/internal/orchestration/defaultModules.ts
|
|
52
52
|
/**
|
package/package.json
CHANGED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
//#region src/internal/forms/checks/charTemplate.ts
|
|
2
|
-
const escapeForPattern = (chars) => chars.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
3
|
-
/**
|
|
4
|
-
* `charTemplate`: the whole value matches one template, where `9` is a digit,
|
|
5
|
-
* `A` an uppercase letter A-Z and any other character stands for itself.
|
|
6
|
-
* `ignoreCase` also accepts lowercase letters and literals in either case.
|
|
7
|
-
*/
|
|
8
|
-
function matchesCharTemplate(value, templates, ignoreCase = false) {
|
|
9
|
-
return templates.some((template) => {
|
|
10
|
-
const pattern = [...template].map((char) => {
|
|
11
|
-
if (char === "9") return "[0-9]";
|
|
12
|
-
if (char === "A") return "[A-Z]";
|
|
13
|
-
return escapeForPattern(char);
|
|
14
|
-
}).join("");
|
|
15
|
-
return new RegExp(`^${pattern}$`, ignoreCase ? "iu" : "u").test(value);
|
|
16
|
-
});
|
|
17
|
-
}
|
|
18
|
-
//#endregion
|
|
19
|
-
//#region src/internal/forms/definitionSource.ts
|
|
20
|
-
const queryKey = ({ module, source, country }) => `${module}|${source ?? ""}|${country ?? ""}`;
|
|
21
|
-
/**
|
|
22
|
-
* The definitions bundled with this build. Matches module, source and country
|
|
23
|
-
* exactly, so a pair without its own definition keeps the current builder.
|
|
24
|
-
*/
|
|
25
|
-
function createBundledDefinitionSource(definitions) {
|
|
26
|
-
const byQuery = new Map(Object.values(definitions).map((definition) => [queryKey(definition), definition]));
|
|
27
|
-
return { select: (query) => byQuery.get(queryKey(query)) };
|
|
28
|
-
}
|
|
29
|
-
//#endregion
|
|
30
|
-
export { matchesCharTemplate as n, createBundledDefinitionSource as t };
|
|
@@ -1,146 +0,0 @@
|
|
|
1
|
-
//#region src/shared/displayErrors.ts
|
|
2
|
-
const DYNAMIC_REQUIRED_KEY = "verification.errors.fieldRequiredDynamic";
|
|
3
|
-
//#endregion
|
|
4
|
-
//#region src/internal/forms/checkSupport.ts
|
|
5
|
-
const GROUP_POLICIES = /* @__PURE__ */ new Set(["hide", "forceShow"]);
|
|
6
|
-
const OMIT_WHEN_EMPTY = "payload.omitWhenEmpty";
|
|
7
|
-
/**
|
|
8
|
-
* Compares `major.minor` vocabulary versions. The compiler's twin is
|
|
9
|
-
* `compareVersions` in `packages/form-definitions/scripts/lib/checks.mjs`;
|
|
10
|
-
* both are tested against that package's `fixtures/vocabularyVersions.json`.
|
|
11
|
-
*/
|
|
12
|
-
function compareVocabulary(a, b) {
|
|
13
|
-
const [aMajor = 0, aMinor = 0] = a.split(".").map(Number);
|
|
14
|
-
const [bMajor = 0, bMinor = 0] = b.split(".").map(Number);
|
|
15
|
-
return aMajor - bMajor || aMinor - bMinor;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* Whether this build can use a definition. Any id or versioned flag it
|
|
19
|
-
* doesn't implement makes the definition unsupported, so the caller falls
|
|
20
|
-
* back to its bundled definition or current form. Presentation hints
|
|
21
|
-
* (widget, keyboard, autofill) never fail: an unknown hint falls back to the
|
|
22
|
-
* platform default.
|
|
23
|
-
*/
|
|
24
|
-
function checkSupport(definition, ids) {
|
|
25
|
-
const problems = [];
|
|
26
|
-
const need = (category, known, id, path) => {
|
|
27
|
-
if (!known.has(id)) problems.push({
|
|
28
|
-
category,
|
|
29
|
-
id,
|
|
30
|
-
path
|
|
31
|
-
});
|
|
32
|
-
};
|
|
33
|
-
if (!ids.schemaVersions.includes(definition.schemaVersion)) problems.push({
|
|
34
|
-
category: "schemaVersion",
|
|
35
|
-
id: String(definition.schemaVersion),
|
|
36
|
-
path: "schemaVersion"
|
|
37
|
-
});
|
|
38
|
-
if (compareVocabulary(definition.vocabulary, ids.vocabulary) > 0) problems.push({
|
|
39
|
-
category: "vocabulary",
|
|
40
|
-
id: definition.vocabulary,
|
|
41
|
-
path: "vocabulary"
|
|
42
|
-
});
|
|
43
|
-
const checkField = (field, path) => {
|
|
44
|
-
need("kind", ids.kinds, field.kind, `${path}.kind`);
|
|
45
|
-
need("group", ids.groups, field.group, `${path}.group`);
|
|
46
|
-
field.rules?.forEach((rule, i) => need("rule", ids.rules, rule.id, `${path}.rules[${i}]`));
|
|
47
|
-
field.input?.format?.forEach((t, i) => need("transform", ids.transforms, t.id, `${path}.input.format[${i}]`));
|
|
48
|
-
field.payload?.transforms?.forEach((t, i) => need("transform", ids.transforms, t.id, `${path}.payload.transforms[${i}]`));
|
|
49
|
-
if (field.payload?.omitWhenEmpty === true) need("flag", ids.flags, OMIT_WHEN_EMPTY, `${path}.${OMIT_WHEN_EMPTY}`);
|
|
50
|
-
if (field.optionsRef) need("optionList", ids.optionLists, field.optionsRef, `${path}.optionsRef`);
|
|
51
|
-
if (field.suggestionsRef) need("optionList", ids.optionLists, field.suggestionsRef, `${path}.suggestionsRef`);
|
|
52
|
-
field.requiredWhen?.forEach((condition, i) => {
|
|
53
|
-
const keys = Object.keys(condition);
|
|
54
|
-
if (keys.length !== 1) problems.push({
|
|
55
|
-
category: "condition",
|
|
56
|
-
id: keys.join("+") || "(empty)",
|
|
57
|
-
path: `${path}.requiredWhen[${i}]`
|
|
58
|
-
});
|
|
59
|
-
for (const key of keys) need("condition", ids.conditions, key, `${path}.requiredWhen[${i}]`);
|
|
60
|
-
});
|
|
61
|
-
field.prefill?.forEach((id, i) => need("prefillSource", ids.prefillSources, id, `${path}.prefill[${i}]`));
|
|
62
|
-
const lock = field.phone?.lockCountry;
|
|
63
|
-
if (typeof lock === "string" && lock !== "whenPhoneRisk") problems.push({
|
|
64
|
-
category: "phoneLock",
|
|
65
|
-
id: lock,
|
|
66
|
-
path: `${path}.phone`
|
|
67
|
-
});
|
|
68
|
-
};
|
|
69
|
-
definition.fields.forEach((field) => checkField(field, `fields.${field.name}`));
|
|
70
|
-
definition.groups?.forEach((policy) => {
|
|
71
|
-
need("group", ids.groups, policy.group, `groups.${policy.group}`);
|
|
72
|
-
if (!GROUP_POLICIES.has(policy.whenDisabled)) problems.push({
|
|
73
|
-
category: "groupPolicy",
|
|
74
|
-
id: policy.whenDisabled,
|
|
75
|
-
path: `groups.${policy.group}`
|
|
76
|
-
});
|
|
77
|
-
});
|
|
78
|
-
definition.groupRules?.forEach((rule, i) => {
|
|
79
|
-
need("groupRule", ids.groupRules, rule.id, `groupRules[${i}]`);
|
|
80
|
-
const cases = rule.id === "rulesByOption" ? rule.params?.cases : void 0;
|
|
81
|
-
if (cases && typeof cases === "object" && !Array.isArray(cases)) for (const [value, rules] of Object.entries(cases)) {
|
|
82
|
-
if (!Array.isArray(rules)) continue;
|
|
83
|
-
rules.forEach((ref, j) => {
|
|
84
|
-
const id = ref?.id;
|
|
85
|
-
need("rule", ids.rules, typeof id === "string" ? id : "(missing)", `groupRules[${i}].params.cases.${value}[${j}]`);
|
|
86
|
-
});
|
|
87
|
-
}
|
|
88
|
-
});
|
|
89
|
-
definition.collections?.forEach((collection) => {
|
|
90
|
-
need("group", ids.groups, collection.group, `collections.${collection.id}`);
|
|
91
|
-
collection.fields.forEach((field) => checkField(field, `collections.${collection.id}.fields.${field.name}`));
|
|
92
|
-
});
|
|
93
|
-
return problems.length === 0 ? { supported: true } : {
|
|
94
|
-
supported: false,
|
|
95
|
-
problems
|
|
96
|
-
};
|
|
97
|
-
}
|
|
98
|
-
//#endregion
|
|
99
|
-
//#region src/internal/forms/resolveForm.ts
|
|
100
|
-
const FORCE_SHOW = "forceShow";
|
|
101
|
-
const WHEN_PHONE_RISK = "whenPhoneRisk";
|
|
102
|
-
/**
|
|
103
|
-
* Resolves a definition against module configuration: which fields show,
|
|
104
|
-
* which are required, whether the phone is locked, and which group rules and
|
|
105
|
-
* collections apply. Pure and synchronous, so it runs inside an assign action.
|
|
106
|
-
*
|
|
107
|
-
* Call `checkSupport` first for any definition that wasn't bundled with this
|
|
108
|
-
* build; `resolveForm` ignores ids it doesn't know.
|
|
109
|
-
*/
|
|
110
|
-
function resolveForm(definition, context) {
|
|
111
|
-
const forcedGroups = new Set((definition.groups ?? []).filter((policy) => policy.whenDisabled === FORCE_SHOW).map((policy) => policy.group));
|
|
112
|
-
const isOn = (group) => context.groups[group] === true;
|
|
113
|
-
const isShown = (group) => isOn(group) || forcedGroups.has(group);
|
|
114
|
-
const riskAddons = new Set(context.riskAddons ?? []);
|
|
115
|
-
const shownFields = definition.fields.filter((field) => isShown(field.group));
|
|
116
|
-
const shownNames = new Set(shownFields.map((field) => field.name));
|
|
117
|
-
const fields = shownFields.map((field) => {
|
|
118
|
-
const conditions = field.requiredWhen ?? [];
|
|
119
|
-
const addonRequired = conditions.some((condition) => condition.riskAddon !== void 0 && riskAddons.has(condition.riskAddon));
|
|
120
|
-
const requiredIfFilled = conditions.map((condition) => condition.fieldFilled).filter((name) => name !== void 0 && shownNames.has(name));
|
|
121
|
-
const lock = field.phone?.lockCountry;
|
|
122
|
-
return {
|
|
123
|
-
field,
|
|
124
|
-
required: field.required === true || addonRequired,
|
|
125
|
-
requiredIfFilled,
|
|
126
|
-
forced: !isOn(field.group),
|
|
127
|
-
phoneLocked: field.kind === "phone" && (lock === true || lock === WHEN_PHONE_RISK && context.phoneRisk === true)
|
|
128
|
-
};
|
|
129
|
-
});
|
|
130
|
-
const order = shownFields.map((field) => field.name);
|
|
131
|
-
return {
|
|
132
|
-
definition,
|
|
133
|
-
fields,
|
|
134
|
-
groupRules: (definition.groupRules ?? []).map((rule) => ({
|
|
135
|
-
rule,
|
|
136
|
-
fields: order.filter((name) => rule.fields.includes(name))
|
|
137
|
-
})).filter((resolved) => resolved.fields.length > 0),
|
|
138
|
-
collections: (definition.collections ?? []).filter((collection) => isShown(collection.group)).map((collection) => ({
|
|
139
|
-
collection,
|
|
140
|
-
min: collection.min ?? 0,
|
|
141
|
-
max: collection.max
|
|
142
|
-
}))
|
|
143
|
-
};
|
|
144
|
-
}
|
|
145
|
-
//#endregion
|
|
146
|
-
export { checkSupport as n, DYNAMIC_REQUIRED_KEY as r, resolveForm as t };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./trueSightService-BLyfduve.esm.js";
|
package/dist/types-B_THBzAh.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { i as FlowModuleConfig } from "./types-ujAUlvvI.js";
|
|
2
|
-
import { t as BaseFaceCaptureConfig } from "./types-DDmU-yVM.js";
|
|
3
|
-
//#region src/modules/authentication/types.d.ts
|
|
4
|
-
type AuthenticationConfig = FlowModuleConfig['AUTHENTICATION'] & BaseFaceCaptureConfig;
|
|
5
|
-
//#endregion
|
|
6
|
-
export { AuthenticationConfig as t };
|