@incodetech/core 2.1.1 → 2.2.0-rc.0
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/{3dAvatarProvider-BwOmTMOy.esm.js → 3dAvatarProvider-g02DTFqT.esm.js} +811 -880
- package/dist/Actor-iTq7YY48.d.ts +1 -0
- package/dist/BrowserDiagnosticsCryptoProvider-CriIh1Gt.esm.js +95 -0
- package/dist/BrowserLazyImportProvider-BhoA957O.esm.js +114 -0
- package/dist/{BrowserStorageProvider-CBHBhKQN.esm.js → BrowserStorageProvider-k-FDkC4W.esm.js} +2 -4
- package/dist/{BrowserTimerProvider-CHloo0eQ.esm.js → BrowserTimerProvider-BXhgNxLt.esm.js} +1 -2
- package/dist/{BrowserVisibilityObserverProvider-GBS6XSii.esm.js → BrowserVisibilityObserverProvider-BX1BiLDK.esm.js} +1 -2
- package/dist/Face2DProvider-UUQt_vRC.esm.js +437 -0
- package/dist/{createFaceAvatar-CpdYp9Iy.d.ts → FaceDetectionProvider-Mh6q3EbA.d.ts} +107 -159
- package/dist/IBrowserEnvironmentCapability-DEaRRk-R.esm.js +9 -0
- package/dist/IFaceAvatarCapability-BrL19G0s.d.ts +23 -0
- package/dist/IFeatureManagementCapability-DdEUp6tB.d.ts +1125 -0
- package/dist/IIdCaptureCapability-DHTT3FC2.d.ts +237 -0
- package/dist/IStorageCapability-ORkQfK3F.d.ts +242 -0
- package/dist/{ITimerCapability-DJ73P4RK.esm.js → ITimerCapability-DgdDzp8G.esm.js} +1 -2
- package/dist/{Manager-goNPc_h_.d.ts → Manager-CQQ99QOI.d.ts} +1 -0
- package/dist/{MotionSensorProvider-BHuHoYvJ.esm.js → MotionSensorProvider-DGiV77J_.esm.js} +2 -37
- package/dist/{OpenViduRecordingProvider-CK6A5kiU.esm.js → OpenViduRecordingProvider-Du98qevC.esm.js} +2 -4
- package/dist/PrivacyLensProvider-D8PS7AJa.esm.js +405 -0
- package/dist/StateMachine-EDpYWy0i.d.ts +6 -0
- package/dist/{StreamCanvasCapture-CAqUdVkM.esm.js → StreamCanvasCapture-D2XcXCZ4.esm.js} +2 -4
- package/dist/{addressSearch-D7msRieq.esm.js → addressSearch-DQyrvDQj.esm.js} +10 -21
- package/dist/ae-signature.d.ts +4 -6
- package/dist/ae-signature.esm.js +10 -11
- package/dist/antifraud.d.ts +1 -6
- package/dist/antifraud.esm.js +3 -8
- package/dist/{antifraudManager-5KA84wtF.esm.js → antifraudManager-B8Plzf7a.esm.js} +11 -8
- package/dist/{antifraudManager-DCiNI6np.d.ts → antifraudManager-BY36bS12.d.ts} +3 -3
- package/dist/{antifraudStateMachine-BQVw46N5.esm.js → antifraudStateMachine-r4VxSBS4.esm.js} +5 -7
- package/dist/api-Bx3gKW_y.esm.js +129 -0
- package/dist/{apiError-DkOXfFBu.esm.js → apiError-DZfAyExM.esm.js} +25 -3
- package/dist/authentication.d.ts +3 -19
- package/dist/authentication.esm.js +3 -35
- package/dist/{authenticationManager-BeT6tNZm.d.ts → authenticationManager-BBMGTcwW.d.ts} +3 -4
- package/dist/{authenticationManager-BryLnSaF.esm.js → authenticationManager-DscbQwIl.esm.js} +7 -10
- package/dist/{authenticationStateMachine-DbdxfGHx.esm.js → authenticationStateMachine-SyuM00Fa.esm.js} +11 -15
- package/dist/avatar.d.ts +2 -2
- package/dist/avatar.esm.js +2 -3
- package/dist/avatar2dWarm-DqucNFX4.esm.js +1330 -0
- package/dist/avatarStats-CdUOb3VD.esm.js +136 -0
- package/dist/{backCameraStream-ChrMTJv-.esm.js → backCameraStream-CUeYm5eu.esm.js} +20 -8
- package/dist/browser-DlFgHpoC-DnyrCR8r.esm.js +1513 -0
- package/dist/callback-645_omgz.d.ts +133 -0
- package/dist/camera-_2sXMXiF.esm.js +140 -0
- package/dist/camera.d.ts +19 -2
- package/dist/camera.esm.js +2 -6
- package/dist/{canvas-Pi10hG_l.esm.js → canvas-E1zGkel4.esm.js} +1 -2
- package/dist/certificate-issuance.d.ts +34 -39
- package/dist/certificate-issuance.esm.js +4 -11
- package/dist/{certificateIssuanceStateMachine-DlZQT1_u.esm.js → certificateIssuanceStateMachine-COd7_l2T.esm.js} +7 -11
- package/dist/consent.d.ts +1 -4
- package/dist/consent.esm.js +3 -8
- package/dist/{consentManager-BwNu-uC-.esm.js → consentManager-BApTlfA0.esm.js} +5 -7
- package/dist/{consentManager-B4PMGXW-.d.ts → consentManager-uhDPdU6i.d.ts} +55 -61
- package/dist/{consentStateMachine-BOkVFiU7.esm.js → consentStateMachine-WD-S-Yhs.esm.js} +5 -7
- package/dist/{cpf-16m_cGAM.esm.js → cpf-BIADjddF.esm.js} +1 -2
- package/dist/createFaceAvatar-BEj18KXi.d.ts +50 -0
- package/dist/createFaceAvatar-DQKaRise.esm.js +103 -0
- package/dist/cross-document-data-match.d.ts +2 -26
- package/dist/cross-document-data-match.esm.js +2 -71
- package/dist/crossDocumentDataMatchManager-Dq8Z3SOg.d.ts +41 -0
- package/dist/crossDocumentDataMatchManager-OmYvyung.esm.js +84 -0
- package/dist/curp-validation.d.ts +1 -11
- package/dist/curp-validation.esm.js +3 -8
- package/dist/{curpValidationManager-CoqODZx5.d.ts → curpValidationManager-DVGr7Fq7.d.ts} +4 -6
- package/dist/{curpValidationManager-Cbji2inV.esm.js → curpValidationManager-UZxcrsrz.esm.js} +11 -7
- package/dist/{curpValidationStateMachine-Dlw4qfFb.esm.js → curpValidationStateMachine-9KwnqeoB.esm.js} +22 -14
- package/dist/custom-fields.d.ts +2 -5
- package/dist/custom-fields.esm.js +24 -11
- package/dist/custom-watchlist.d.ts +1 -3
- package/dist/custom-watchlist.esm.js +11 -10
- package/dist/{customWatchlistStateMachine-D8w0mNxm.esm.js → customWatchlistStateMachine-B_ey3TFj.esm.js} +5 -7
- package/dist/{dateUtils-BW6mBV6p.esm.js → dateUtils-CvG0FvK8.esm.js} +1 -2
- package/dist/{deepsightService-CViys6T4.esm.js → deepsightLoader-DcWjMC6A.esm.js} +68 -14
- package/dist/{deepsightService-BuTOFTr8.d.ts → deepsightService-DLVQS_RH.d.ts} +41 -2
- package/dist/device.d.ts +10 -2
- package/dist/device.esm.js +21 -21
- package/dist/document-capture.d.ts +3 -1816
- package/dist/document-capture.esm.js +3 -245
- package/dist/document-upload.d.ts +48 -55
- package/dist/document-upload.esm.js +8 -14
- package/dist/documentCaptureManager-B4Kivr8_.d.ts +2062 -0
- package/dist/documentCaptureManager-DszmcU-l.esm.js +296 -0
- package/dist/{documentCaptureStateMachine-BkTvU3yq.esm.js → documentCaptureStateMachine-D2jBwwVb.esm.js} +66 -40
- package/dist/dynamic-forms.d.ts +2 -4
- package/dist/dynamic-forms.esm.js +3 -9
- package/dist/{dynamicFormsManager-CHXUBNs4.esm.js → dynamicFormsManager-BoZ2-OUI.esm.js} +48 -9
- package/dist/{dynamicFormsManager-CKZkE7Wo.d.ts → dynamicFormsManager-fhK0yINk.d.ts} +22 -46
- package/dist/{dynamicFormsStateMachine-DJ1HGZff.esm.js → dynamicFormsStateMachine-D0RzkoEV.esm.js} +161 -34
- package/dist/ekyb.d.ts +5 -137
- package/dist/ekyb.esm.js +4 -179
- package/dist/ekybManager-DTvfxAOZ.esm.js +178 -0
- package/dist/ekybManager-Dzswb_b8.d.ts +114 -0
- package/dist/{ekybStateMachine-D9GzA4MW.esm.js → ekybStateMachine-BlTIozb6.esm.js} +16 -193
- package/dist/ekyc.d.ts +2 -79
- package/dist/ekyc.esm.js +4 -154
- package/dist/ekycManager-BFpHbBoT.d.ts +97 -0
- package/dist/ekycManager-oTstTJuL.esm.js +156 -0
- package/dist/{ekycStateMachine-DnVRiu3s.esm.js → ekycStateMachine-DHvksnrr.esm.js} +141 -423
- package/dist/ekycUtils-Dew1rBG0.esm.js +223 -0
- package/dist/electronic-signature.d.ts +3 -5
- package/dist/electronic-signature.esm.js +2 -10
- package/dist/{index-36QX_21w.d.ts → electronicSignatureManager-CcUXQZS7.d.ts} +220 -251
- package/dist/{electronicSignatureManager-DESRgObX.esm.js → electronicSignatureManager-DRYlHPjT.esm.js} +47 -33
- package/dist/email.d.ts +1 -5
- package/dist/email.esm.js +3 -10
- package/dist/{emailManager-CMS4q_r6.d.ts → emailManager-CADXW_9X.d.ts} +4 -7
- package/dist/{emailManager-B9Vrv3Ma.esm.js → emailManager-tE-YvNtS.esm.js} +76 -12
- package/dist/{emailStateMachine-CbmKFVSi.esm.js → emailStateMachine-Bm894MHB.esm.js} +7 -9
- package/dist/{endpoints-CwrFQfW7.esm.js → endpoints-CCzL3XD_.esm.js} +55 -6
- package/dist/{events-1wxZ97yf.esm.js → events-CxfNJVZW.esm.js} +43 -176
- package/dist/events.d.ts +28 -10
- package/dist/events.esm.js +2 -4
- package/dist/extensibility.d.ts +37 -37
- package/dist/extensibility.esm.js +31 -80
- package/dist/{externalFetch-hvmz_npP.esm.js → externalFetch-BKBThAUC.esm.js} +2 -4
- package/dist/face-match.d.ts +2 -225
- package/dist/face-match.esm.js +3 -173
- package/dist/{faceCaptureManagerFactory-C9TiGbkA.esm.js → faceCaptureManagerFactory-BDAsBCkh.esm.js} +52 -31
- package/dist/{faceCaptureManagerFactory-DiJ64oem.d.ts → faceCaptureManagerFactory-BxWPpxyd.d.ts} +63 -24
- package/dist/{faceCaptureSetup-BqhqfFHL.esm.js → faceCaptureSetup-C7Qv79fA.esm.js} +57 -36
- package/dist/faceMatchManager-BXp2WUT-.esm.js +201 -0
- package/dist/faceMatchManager-BnvrZM2F.d.ts +268 -0
- package/dist/{faceMatchStateMachine-MDb30gCm.esm.js → faceMatchStateMachine-CJiO2yLO.esm.js} +14 -10
- package/dist/feature-management-DS_Nj5Gg.esm.js +615 -0
- package/dist/feature-management.d.ts +173 -0
- package/dist/feature-management.esm.js +2 -0
- package/dist/field-comparison.d.ts +1 -4
- package/dist/field-comparison.esm.js +2 -7
- package/dist/{fieldComparisonManager-OLKVsG2Z.d.ts → fieldComparisonManager-CBvEGxFx.d.ts} +3 -5
- package/dist/{fieldComparisonManager-Cw4uzD7S.esm.js → fieldComparisonManager-DhnYdYZ2.esm.js} +6 -11
- package/dist/fiscal-qr.d.ts +1 -6
- package/dist/fiscal-qr.esm.js +14 -29
- package/dist/flow-events.d.ts +2 -9
- package/dist/flow.d.ts +59 -21
- package/dist/flow.esm.js +132 -49
- package/dist/{flowCompletionService-B6P6_EF3.esm.js → flowCompletionService-BSe3p7pg.esm.js} +4 -6
- package/dist/flowServices-unhF9V9F.esm.js +620 -0
- package/dist/geolocation.d.ts +1 -4
- package/dist/geolocation.esm.js +3 -9
- package/dist/{geolocationManager-CF6-NizA.esm.js → geolocationManager-Bv9MSVNr.esm.js} +44 -16
- package/dist/geolocationManager-Cz744E5S.d.ts +506 -0
- package/dist/{geolocationStateMachine-CD2XJs1b.esm.js → geolocationStateMachine-BxD6JK1M.esm.js} +53 -28
- package/dist/{getBrowser-1yNcfFZR.esm.js → getBrowser-Cb8Zgrgp.esm.js} +1 -2
- package/dist/getBrowser-DNrQeL4T.esm.js +16 -0
- package/dist/getDeviceClass-9y-kbVDw.esm.js +19 -0
- package/dist/{getDeviceClass-C-Dg6IsJ.esm.js → getDeviceClass-CeBiEayS.esm.js} +1 -2
- package/dist/getParsedUserAgent-pJjATANs.esm.js +1622 -0
- package/dist/government-validation.d.ts +3 -6
- package/dist/government-validation.esm.js +7 -13
- package/dist/{governmentValidationStateMachine-BE5wiQ7Y.esm.js → governmentValidationStateMachine-BYKYUdza.esm.js} +8 -11
- package/dist/home.d.ts +14 -22
- package/dist/home.esm.js +3 -8
- package/dist/http.d.ts +0 -1
- package/dist/http.esm.js +2 -4
- package/dist/id-ocr.d.ts +8 -7
- package/dist/id-ocr.esm.js +20 -9
- package/dist/id-selfie-flow.d.ts +179 -0
- package/dist/id-selfie-flow.esm.js +917 -0
- package/dist/id-verification.d.ts +2 -191
- package/dist/id-verification.esm.js +3 -43
- package/dist/id.d.ts +7 -18
- package/dist/id.esm.js +47 -53
- package/dist/{idCaptureDefaults-CZajItdO.esm.js → idCaptureDefaults-WeHbQM7W.esm.js} +54 -17
- package/dist/idCaptureManager-BjU-Wyow.d.ts +429 -0
- package/dist/{idCaptureManager-DASPUMtC.esm.js → idCaptureManager-BjiBSrHm.esm.js} +173 -34
- package/dist/idCaptureServices-CFDwqTtQ.esm.js +396 -0
- package/dist/{idCaptureStateMachine-DZ2ZTSxu.esm.js → idCaptureStateMachine-CRwQh8jc.esm.js} +438 -585
- package/dist/{idOcrManager-Tm4LzKR0.esm.js → idOcrManager-CvJZhmBR.esm.js} +4 -7
- package/dist/{idOcrManager-DLfAjDZn.d.ts → idOcrManager-DXc_xRN7.d.ts} +62 -229
- package/dist/{idOcrStateMachine-BJxZCxwS.esm.js → idOcrStateMachine-Bq_e3l4E.esm.js} +15 -20
- package/dist/idVerificationManager-BB4Pj_N6.d.ts +197 -0
- package/dist/idVerificationManager-CduNXhWd.esm.js +51 -0
- package/dist/{idVerificationStateMachine-DXN9WcdM.esm.js → idVerificationStateMachine-GEQWUPU2.esm.js} +5 -7
- package/dist/identity-reuse.d.ts +1 -4
- package/dist/identity-reuse.esm.js +3 -8
- package/dist/{identityReuseManager-LjkPvSQN.esm.js → identityReuseManager-D5vXknnJ.esm.js} +24 -7
- package/dist/{identityReuseManager-CLVOYxcp.d.ts → identityReuseManager-v2TH5g7e.d.ts} +38 -43
- package/dist/{identityReuseStateMachine-Bp-zONoV.esm.js → identityReuseStateMachine-AubRPhIi.esm.js} +6 -8
- package/dist/index-B8weJxmL.d.ts +1 -0
- package/dist/index-BKOWUhxG.d.ts +258 -0
- package/dist/{index-DrpWp15Z.d.ts → index-CLMF0QLQ.d.ts} +3 -3
- package/dist/index.d.ts +1 -3
- package/dist/index.esm.js +2 -15
- package/dist/{invokeOnCaptureCallback-CCS2Ruzi.esm.js → invokeOnCaptureCallback-1m1VJ3Q4.esm.js} +2 -4
- package/dist/{lib-Bjd6nOLG.esm.js → lib-DAyUtOTj.esm.js} +1510 -1589
- package/dist/mandatory-consent.d.ts +2 -10
- package/dist/mandatory-consent.esm.js +3 -8
- package/dist/{mandatoryConsentManager-DeBmOHcQ.d.ts → mandatoryConsentManager-B29kR0XA.d.ts} +60 -85
- package/dist/{mandatoryConsentManager-DZ26sg4B.esm.js → mandatoryConsentManager-BeELm1zS.esm.js} +4 -7
- package/dist/{mandatoryConsentStateMachine-_44ZoDSh.esm.js → mandatoryConsentStateMachine-zroQGzwb.esm.js} +5 -7
- package/dist/manualReviewService-D4IkipnN.esm.js +15 -0
- package/dist/{mediaRecorderOptions-CClCKAiF.esm.js → mediaRecorderOptions-dALSV8af.esm.js} +2 -4
- package/dist/{mediapipeShared-Bcmkzs3x.esm.js → mediapipeShared-B6oNoXEQ.esm.js} +21 -9
- package/dist/{onDeviceFaceResults-DILtthks.esm.js → onDeviceFaceResults-f81FVdQs.esm.js} +30 -87
- package/dist/openviduLazy-CCDpFWg1.esm.js +10 -0
- package/dist/{otp-B1YeyRXu.d.ts → otp-CEWfTj9v.d.ts} +0 -1
- package/dist/{otp-uaXiKt_R.esm.js → otp-D2k3PeSL.esm.js} +3 -14
- package/dist/{permissionGuards-BNOe4Tnu.esm.js → permissionGuards-KINpmKtI.esm.js} +2 -4
- package/dist/{permissionServices-C_kxhNeo.esm.js → permissionServices-UvUcOSRb.esm.js} +35 -28
- package/dist/personhood.d.ts +13 -20
- package/dist/personhood.esm.js +153 -85
- package/dist/phone.d.ts +1 -5
- package/dist/phone.esm.js +3 -10
- package/dist/{phoneManager-_KtitbUA.d.ts → phoneManager-BBU8Lq0O.d.ts} +4 -7
- package/dist/{phoneManager-CRblfdcI.esm.js → phoneManager-Cpiai2IM.esm.js} +82 -12
- package/dist/{phoneStateMachine-DjFGWMjQ.esm.js → phoneStateMachine-E1fUUcNM.esm.js} +7 -9
- package/dist/{platform-0Ot-bF_a.esm.js → platform-BJrm5nzZ.esm.js} +31 -11
- package/dist/privacyLensWorker-DI-Rg83h.esm.js +355 -0
- package/dist/qe-signature.d.ts +4 -6
- package/dist/qe-signature.esm.js +10 -11
- package/dist/{recordingService-CxaYkITO.esm.js → recordingService-CFpfdXSS.esm.js} +13 -31
- package/dist/redirect-to-mobile.d.ts +2 -6
- package/dist/redirect-to-mobile.esm.js +3 -10
- package/dist/{redirectToMobileManager-dv29o_LS.d.ts → redirectToMobileManager-BD2PvT5B.d.ts} +8 -44
- package/dist/{redirectToMobileManager-DbuNUlru.esm.js → redirectToMobileManager-C0dfc7f6.esm.js} +28 -8
- package/dist/{redirectToMobileStateMachine-BRaIJWOM.esm.js → redirectToMobileStateMachine-C9SYCJcH.esm.js} +74 -18
- package/dist/rolldown-runtime-FZ4Itg2g.esm.js +42 -0
- package/dist/{runChildModule-kojSv3MH.esm.js → runChildModule-DpvgAGFA.esm.js} +10 -9
- package/dist/{WasmUtilProvider-BgzcXBdl.esm.js → safeStorage-Ep56I-f_.esm.js} +98 -473
- package/dist/selfie.d.ts +8 -21
- package/dist/selfie.esm.js +40 -47
- package/dist/selfieErrorUtils-C2PYBVsp.esm.js +90 -0
- package/dist/{selfieManager-B1Px3GGa.esm.js → selfieManager-Br4onIMy.esm.js} +7 -10
- package/dist/{selfieManager-4juKfrHG.d.ts → selfieManager-DwlCppg0.d.ts} +3 -4
- package/dist/{selfieStateMachine-D0TS93Tu.esm.js → selfieStateMachine-CNGs8vFK.esm.js} +14 -29
- package/dist/{session-CLsU2Jnb.esm.js → session-CX2H3tmI.esm.js} +16 -7
- package/dist/session.d.ts +12 -10
- package/dist/session.esm.js +5 -15
- package/dist/sessionInitializer-CV6Rj_dn.esm.js +1865 -0
- package/dist/{setup-CfNsYAeB.esm.js → setup-CYdVacqv.esm.js} +319 -137
- package/dist/{setup-CmA2apmN.d.ts → setup-DywQeePQ.d.ts} +186 -4
- package/dist/signature.d.ts +2 -96
- package/dist/signature.esm.js +3 -108
- package/dist/signatureManager-DGBSWz2_.d.ts +106 -0
- package/dist/signatureManager-DdPgcmou.esm.js +113 -0
- package/dist/{signatureStateMachine-CdhlMih-.esm.js → signatureStateMachine-Cf73DGWO.esm.js} +5 -7
- package/dist/spawn-D9jgw9pW.d.ts +1441 -0
- package/dist/src-0Jurt29N.esm.js +4482 -0
- package/dist/{stats-BVy52wLy.esm.js → stats-B0nFKawG.esm.js} +3 -5
- package/dist/stats.esm.js +2 -5
- package/dist/topLevelStateName-B5i2avbh.esm.js +41 -0
- package/dist/{tri-CFAPtAUM.esm.js → tri-4RsGrIt6.esm.js} +3 -119
- package/dist/tri.d.ts +2 -2
- package/dist/tri.esm-BIjHhBJ2.esm.js +2620 -0
- package/dist/tri.esm.js +2 -4
- package/dist/trueSight-B8G85W4z.esm.js +1 -0
- package/dist/trueSightService-6dTpiaTh.esm.js +1894 -0
- package/dist/trust-graph.d.ts +4 -5
- package/dist/trust-graph.esm.js +13 -9
- package/dist/types-BEwVKkLJ.d.ts +15 -0
- package/dist/{types-BKLb3C42.esm.js → types-BN5RPPIZ.esm.js} +1 -2
- package/dist/types-BSBzhHRH.d.ts +57 -0
- package/dist/types-BX_XkMsQ2.d.ts +21 -0
- package/dist/types-BfHiko5D.d.ts +48 -0
- package/dist/{types-D8Cl1N2Z.d.ts → types-BfgmV7s72.d.ts} +2 -2
- package/dist/types-CJ7Yl9K-2.d.ts +164 -0
- package/dist/types-DPIDuhut.d.ts +40 -0
- package/dist/types-DVmXIdzW.d.ts +82 -0
- package/dist/types-DelMqZLe.d.ts +105 -0
- package/dist/types-EELWyWpd.d.ts +6 -0
- package/dist/{types-fO6KIdol.d.ts → types-Hmd7U0JA.d.ts} +80 -6
- package/dist/{types-BUgeB2X6.d.ts → types-KPvmag_B.d.ts} +7 -7
- package/dist/types-M6eb82ra2.d.ts +589 -0
- package/dist/{types-DV3wkhQ4.d.ts → types-Vb4P9ovf.d.ts} +1 -3
- package/dist/{urlUtils-CpiYwn7w.esm.js → urlUtils-D6phjq1-.esm.js} +1 -2
- package/dist/{video-ZY92rkel.esm.js → video-BtSWtHy1.esm.js} +1 -2
- package/dist/video-selfie.d.ts +71 -117
- package/dist/video-selfie.esm.js +575 -643
- package/dist/videoSelfieCameraWarmer-h_VUk5Vu.esm.js +651 -0
- package/dist/videoSelfieStepDetector-D3oo2ofo.d.ts +123 -0
- package/dist/wasm.d.ts +2 -4
- package/dist/wasm.esm.js +4 -15
- package/dist/wasmDefaults-DTUrftxR.esm.js +125 -0
- package/dist/{wasmDsFlagSync-Ch0mFJNT.esm.js → wasmDsFlagSync-BqUCwLY8.esm.js} +2 -4
- package/dist/wasmWebClient-DM8lkb0z.esm.js +407 -0
- package/dist/watchlist-for-business.d.ts +1 -3
- package/dist/watchlist-for-business.esm.js +9 -9
- package/dist/watchlist.d.ts +1 -52
- package/dist/watchlist.esm.js +3 -70
- package/dist/{watchlistForBusinessStateMachine-R1Yp1g5A.esm.js → watchlistForBusinessStateMachine-BcBMkMvV.esm.js} +5 -7
- package/dist/watchlistManager-CjSMmbyq.esm.js +83 -0
- package/dist/watchlistManager-DLXef90v.d.ts +68 -0
- package/dist/{watchlistStateMachine-D07UVq1m.esm.js → watchlistStateMachine-Bl7Wy9Cm.esm.js} +5 -7
- package/dist/workflow.d.ts +239 -203
- package/dist/workflow.esm.js +156 -101
- package/dist/xstate-actors.esm-CtI5S0f4.esm.js +310 -0
- package/dist/{xstate.esm-nY3M5UYm.esm.js → xstate.esm-Cf4e0Cfd.esm.js} +136 -610
- package/package.json +14 -9
- package/dist/Actor-BwgmOPkb.d.ts +0 -2
- package/dist/Face2DProvider-CZU11g6r.esm.js +0 -824
- package/dist/FaceDetectionProvider-CPWg-PAH.d.ts +0 -119
- package/dist/IWasmUtilCapability-DaSNxgA8.d.ts +0 -150
- package/dist/PrivacyLensProvider-B_zrV25p.esm.js +0 -339
- package/dist/StateMachine-D5WO6lHS.d.ts +0 -2
- package/dist/StreamCanvasCapture-DHaWferF.d.ts +0 -42
- package/dist/ae-signature-Pp4oCAHD.esm.js +0 -12
- package/dist/api-DsbUi7TO.esm.js +0 -72
- package/dist/browser-DlFgHpoC-Br3G10gw.esm.js +0 -1425
- package/dist/browserSimulation-DZwEy9bu.esm.js +0 -2804
- package/dist/camera-CxxXV0VN.esm.js +0 -79
- package/dist/canvas-90BqS0NF.d.ts +0 -112
- package/dist/chunk-CIKcdghV.esm.js +0 -49
- package/dist/clientLifecycle-VyzRfALg.esm.js +0 -534
- package/dist/cpf-ocr.d.ts +0 -10
- package/dist/cpf-ocr.esm.js +0 -8
- package/dist/cpfOcrManager-9eM4z4o7.esm.js +0 -190
- package/dist/cpfOcrManager-C5U9E0hf.d.ts +0 -216
- package/dist/createFaceAvatar-BZSg2MNo.esm.js +0 -46
- package/dist/deepsightLoader-CU_tiLMx.esm.js +0 -62
- package/dist/flowServices-DkQmOkLV.esm.js +0 -208
- package/dist/geolocationManager-DaHYFkVO.d.ts +0 -156
- package/dist/getDeviceClass-DIjnTPjR.esm.js +0 -14
- package/dist/http-CnsKEaJY.esm.js +0 -0
- package/dist/idCaptureManager-CwuXtVu6.d.ts +0 -1013
- package/dist/index-BAyZ8_iI.d.ts +0 -93
- package/dist/openviduLazy-jPgABwrt.esm.js +0 -3
- package/dist/openviduLazy-wEojM41w.esm.js +0 -12
- package/dist/qe-signature-BnWIpR-O.esm.js +0 -12
- package/dist/sessionInitializer-Dj7-aJaP.esm.js +0 -547
- package/dist/tri.esm-DDJ1zOqG.esm.js +0 -2593
- package/dist/types-BcF-fii5.d.ts +0 -5
- package/dist/videoSelfieSteps-Djpv7cjb.esm.js +0 -58
- /package/dist/{IVisibilityObserverCapability-BZ1rE7ly.d.ts → IVisibilityObserverCapability-D4tvIB5v.d.ts} +0 -0
- /package/dist/{camera-CKU96nwJ.d.ts → camera-9wWD-pwg.d.ts} +0 -0
- /package/dist/{flowCompletionService-BOSTlAWo.d.ts → flowCompletionService-BlAHsKyv.d.ts} +0 -0
- /package/dist/{types-BgjMAEXl.d.ts → types-Bk_6dmDa.d.ts} +0 -0
- /package/dist/{warmup-Dd0iq6KF.d.ts → warmup-Dv2alr2-.d.ts} +0 -0
package/dist/workflow.d.ts
CHANGED
|
@@ -1,16 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as
|
|
3
|
-
import "./
|
|
4
|
-
import "./
|
|
5
|
-
import "./
|
|
6
|
-
import "./
|
|
7
|
-
import "./
|
|
8
|
-
import "./types-BUgeB2X6.js";
|
|
9
|
-
import { a as TotalScore, i as GetTotalScoreStatusFn, n as FinishStatus, r as GetFinishStatusFn } from "./flowCompletionService-BOSTlAWo.js";
|
|
10
|
-
import { o as FlowEventSubscribable } from "./index-DrpWp15Z.js";
|
|
11
|
-
import { a as WorkflowModuleRegistry, i as RunChildModuleInput, r as RunChildModuleEvent, t as ModuleConfigMappers } from "./types-D8Cl1N2Z.js";
|
|
12
|
-
import * as xstate1408 from "xstate";
|
|
13
|
-
|
|
1
|
+
import { A as StateMachine, C as StateValue, D as PromiseActorLogic, a as ActorRefFromLogic, b as RequiredActorOptions, c as AnyEventObject, g as IsNotNever, h as InputFrom, k as MachineSnapshot, l as AnyStateMachine, m as GetConcreteByKey, o as AnyActorLogic, p as EventObject, r as ActorRef, s as AnyActorRef, u as ConditionalRequired, v as MetaObject, w as Values, x as RequiredLogicInput, y as NonReducibleUnknown } from "./spawn-D9jgw9pW.js";
|
|
2
|
+
import { t as CallbackActorLogic } from "./callback-645_omgz.js";
|
|
3
|
+
import "./StateMachine-EDpYWy0i.js";
|
|
4
|
+
import { t as Manager } from "./Manager-CQQ99QOI.js";
|
|
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-CLMF0QLQ.js";
|
|
7
|
+
import { a as WorkflowModuleRegistry, i as RunChildModuleInput, r as RunChildModuleEvent, t as ModuleConfigMappers } from "./types-BfgmV7s72.js";
|
|
14
8
|
//#region src/modules/workflow/types.d.ts
|
|
15
9
|
/** Possible node types returned by the workflow server. */
|
|
16
10
|
type WorkflowNodeType = 'MODULE' | 'FINISH' | 'ASYNC_RESOLUTION';
|
|
@@ -145,7 +139,7 @@ declare function createWorkflowManager(options?: CreateWorkflowManagerOptions):
|
|
|
145
139
|
* Signal that the current module has completed successfully.
|
|
146
140
|
* Call this from your UI component's `onFinish` callback.
|
|
147
141
|
*/
|
|
148
|
-
completeModule(): void;
|
|
142
|
+
completeModule(output?: unknown): void;
|
|
149
143
|
/**
|
|
150
144
|
* Skip all remaining nodes and complete the workflow now, notifying the
|
|
151
145
|
* backend (getFinishStatus) on the way to the completion step.
|
|
@@ -182,7 +176,7 @@ declare function createWorkflowManager(options?: CreateWorkflowManagerOptions):
|
|
|
182
176
|
* to `state.config` is applied here, so consumers receive a
|
|
183
177
|
* manager-ready shape (e.g. `EkycConfig` for `EXTERNAL_VERIFICATION`).
|
|
184
178
|
*/
|
|
185
|
-
getModuleConfig<T
|
|
179
|
+
getModuleConfig<T = Record<string, unknown>>(): T | undefined;
|
|
186
180
|
} & FlowEventSubscribable;
|
|
187
181
|
type WorkflowManager = ReturnType<typeof createWorkflowManager>;
|
|
188
182
|
//#endregion
|
|
@@ -235,6 +229,14 @@ type WorkflowContext = {
|
|
|
235
229
|
* Retained for analytics only — it is not sent to the backend `processNode`.
|
|
236
230
|
*/
|
|
237
231
|
moduleErrorCode: string | undefined;
|
|
232
|
+
/**
|
|
233
|
+
* The primary ID capture's `skipFaceMatch` output — US Smart Capture where the
|
|
234
|
+
* barcode/back was captured but no front, so there is no ID portrait to match.
|
|
235
|
+
* Persisted from the `ID_CAPTURE` node's terminal output and injected into the
|
|
236
|
+
* later `FACE_MATCH` node's config so it self-skips (no process/face, no
|
|
237
|
+
* get/score, no match UI). Mirrors the Flow orchestrator's behavior.
|
|
238
|
+
*/
|
|
239
|
+
skipFaceMatch: boolean;
|
|
238
240
|
registeredModules: WorkflowModuleRegistry;
|
|
239
241
|
configMappers: ModuleConfigMappers;
|
|
240
242
|
finishStatus: FinishStatus | undefined;
|
|
@@ -244,6 +246,7 @@ type WorkflowContext = {
|
|
|
244
246
|
isDesktop: boolean;
|
|
245
247
|
isInjectedNode: boolean;
|
|
246
248
|
isHomeContinueLoading: boolean;
|
|
249
|
+
hasShownHome: boolean;
|
|
247
250
|
getFinishStatus: GetFinishStatusFn;
|
|
248
251
|
getTotalScoreStatus: GetTotalScoreStatusFn;
|
|
249
252
|
};
|
|
@@ -263,10 +266,11 @@ type WorkflowInput = {
|
|
|
263
266
|
/** Whether the device is a desktop. Determines desktop-to-mobile redirect injection. Defaults to true. */
|
|
264
267
|
isDesktop?: boolean;
|
|
265
268
|
};
|
|
266
|
-
declare const workflowMachine:
|
|
269
|
+
declare const workflowMachine: StateMachine<WorkflowContext, {
|
|
267
270
|
type: "LOAD";
|
|
268
271
|
} | {
|
|
269
272
|
type: "MODULE_COMPLETE";
|
|
273
|
+
output?: unknown;
|
|
270
274
|
} | {
|
|
271
275
|
type: "MODULE_ERROR";
|
|
272
276
|
error: unknown;
|
|
@@ -278,119 +282,123 @@ declare const workflowMachine: xstate1408.StateMachine<WorkflowContext, {
|
|
|
278
282
|
} | {
|
|
279
283
|
type: "HOME_CONTINUE";
|
|
280
284
|
}, {
|
|
281
|
-
[x: string]:
|
|
285
|
+
[x: string]: ActorRefFromLogic<CallbackActorLogic<RunChildModuleEvent, RunChildModuleInput, EventObject>> | ActorRefFromLogic<PromiseActorLogic<LoadingResult, LoadWorkflowInput, EventObject>> | ActorRefFromLogic<PromiseActorLogic<ProcessingResult, ProcessNextNodeInput, EventObject>> | ActorRefFromLogic<PromiseActorLogic<WorkflowNode, HandleCustomModuleInput, EventObject>> | ActorRefFromLogic<PromiseActorLogic<AnyStateMachine, ResolveModuleInput, EventObject>> | ActorRefFromLogic<PromiseActorLogic<FinishStatus, {
|
|
282
286
|
getFinishStatus: GetFinishStatusFn;
|
|
283
287
|
workflowId: string | undefined;
|
|
284
|
-
},
|
|
288
|
+
}, EventObject>> | ActorRefFromLogic<PromiseActorLogic<TotalScore, {
|
|
285
289
|
getTotalScoreStatus: GetTotalScoreStatusFn;
|
|
286
|
-
},
|
|
287
|
-
},
|
|
290
|
+
}, EventObject>> | undefined;
|
|
291
|
+
}, Values<{
|
|
288
292
|
runChildModule: {
|
|
289
293
|
src: "runChildModule";
|
|
290
|
-
logic:
|
|
291
|
-
id: string | undefined;
|
|
292
|
-
};
|
|
293
|
-
notifyBackend: {
|
|
294
|
-
src: "notifyBackend";
|
|
295
|
-
logic: xstate1408.PromiseActorLogic<FinishStatus, {
|
|
296
|
-
getFinishStatus: GetFinishStatusFn;
|
|
297
|
-
workflowId: string | undefined;
|
|
298
|
-
}, xstate1408.EventObject>;
|
|
294
|
+
logic: CallbackActorLogic<RunChildModuleEvent, RunChildModuleInput, EventObject>;
|
|
299
295
|
id: string | undefined;
|
|
300
296
|
};
|
|
301
297
|
loadWorkflow: {
|
|
302
298
|
src: "loadWorkflow";
|
|
303
|
-
logic:
|
|
299
|
+
logic: PromiseActorLogic<LoadingResult, LoadWorkflowInput, EventObject>;
|
|
304
300
|
id: string | undefined;
|
|
305
301
|
};
|
|
306
302
|
processNextNode: {
|
|
307
303
|
src: "processNextNode";
|
|
308
|
-
logic:
|
|
304
|
+
logic: PromiseActorLogic<ProcessingResult, ProcessNextNodeInput, EventObject>;
|
|
309
305
|
id: string | undefined;
|
|
310
306
|
};
|
|
311
307
|
handleCustomModule: {
|
|
312
308
|
src: "handleCustomModule";
|
|
313
|
-
logic:
|
|
309
|
+
logic: PromiseActorLogic<WorkflowNode, HandleCustomModuleInput, EventObject>;
|
|
314
310
|
id: string | undefined;
|
|
315
311
|
};
|
|
316
312
|
resolveModule: {
|
|
317
313
|
src: "resolveModule";
|
|
318
|
-
logic:
|
|
314
|
+
logic: PromiseActorLogic<AnyStateMachine, ResolveModuleInput, EventObject>;
|
|
315
|
+
id: string | undefined;
|
|
316
|
+
};
|
|
317
|
+
notifyBackend: {
|
|
318
|
+
src: "notifyBackend";
|
|
319
|
+
logic: PromiseActorLogic<FinishStatus, {
|
|
320
|
+
getFinishStatus: GetFinishStatusFn;
|
|
321
|
+
workflowId: string | undefined;
|
|
322
|
+
}, EventObject>;
|
|
319
323
|
id: string | undefined;
|
|
320
324
|
};
|
|
321
325
|
resolveScore: {
|
|
322
326
|
src: "resolveScore";
|
|
323
|
-
logic:
|
|
327
|
+
logic: PromiseActorLogic<TotalScore, {
|
|
324
328
|
getTotalScoreStatus: GetTotalScoreStatusFn;
|
|
325
|
-
},
|
|
329
|
+
}, EventObject>;
|
|
326
330
|
id: string | undefined;
|
|
327
331
|
};
|
|
328
|
-
}>,
|
|
332
|
+
}>, Values<{
|
|
329
333
|
setError: {
|
|
330
334
|
type: "setError";
|
|
331
|
-
params:
|
|
332
|
-
};
|
|
333
|
-
setHomeContinueLoading: {
|
|
334
|
-
type: "setHomeContinueLoading";
|
|
335
|
-
params: xstate1408.NonReducibleUnknown;
|
|
336
|
-
};
|
|
337
|
-
clearHomeContinueLoading: {
|
|
338
|
-
type: "clearHomeContinueLoading";
|
|
339
|
-
params: xstate1408.NonReducibleUnknown;
|
|
340
|
-
};
|
|
341
|
-
setFinishStatus: {
|
|
342
|
-
type: "setFinishStatus";
|
|
343
|
-
params: xstate1408.NonReducibleUnknown;
|
|
344
|
-
};
|
|
345
|
-
setFinishStatusFailed: {
|
|
346
|
-
type: "setFinishStatusFailed";
|
|
347
|
-
params: xstate1408.NonReducibleUnknown;
|
|
348
|
-
};
|
|
349
|
-
setModuleErrorCode: {
|
|
350
|
-
type: "setModuleErrorCode";
|
|
351
|
-
params: xstate1408.NonReducibleUnknown;
|
|
352
|
-
};
|
|
353
|
-
trackAdvanceableModuleError: {
|
|
354
|
-
type: "trackAdvanceableModuleError";
|
|
355
|
-
params: unknown;
|
|
335
|
+
params: NonReducibleUnknown;
|
|
356
336
|
};
|
|
357
337
|
setLoadingResult: {
|
|
358
338
|
type: "setLoadingResult";
|
|
359
|
-
params:
|
|
339
|
+
params: NonReducibleUnknown;
|
|
340
|
+
};
|
|
341
|
+
persistSkipFaceMatch: {
|
|
342
|
+
type: "persistSkipFaceMatch";
|
|
343
|
+
params: NonReducibleUnknown;
|
|
360
344
|
};
|
|
361
345
|
setNextNode: {
|
|
362
346
|
type: "setNextNode";
|
|
363
|
-
params:
|
|
347
|
+
params: NonReducibleUnknown;
|
|
364
348
|
};
|
|
365
349
|
setCustomModuleResult: {
|
|
366
350
|
type: "setCustomModuleResult";
|
|
367
|
-
params:
|
|
351
|
+
params: NonReducibleUnknown;
|
|
368
352
|
};
|
|
369
353
|
setResolvedMachine: {
|
|
370
354
|
type: "setResolvedMachine";
|
|
371
|
-
params:
|
|
355
|
+
params: NonReducibleUnknown;
|
|
356
|
+
};
|
|
357
|
+
setFinishStatus: {
|
|
358
|
+
type: "setFinishStatus";
|
|
359
|
+
params: NonReducibleUnknown;
|
|
372
360
|
};
|
|
373
361
|
setTotalScoreStatus: {
|
|
374
362
|
type: "setTotalScoreStatus";
|
|
375
|
-
params:
|
|
363
|
+
params: NonReducibleUnknown;
|
|
364
|
+
};
|
|
365
|
+
setFinishStatusFailed: {
|
|
366
|
+
type: "setFinishStatusFailed";
|
|
367
|
+
params: NonReducibleUnknown;
|
|
376
368
|
};
|
|
377
369
|
setModuleError: {
|
|
378
370
|
type: "setModuleError";
|
|
379
|
-
params:
|
|
371
|
+
params: NonReducibleUnknown;
|
|
380
372
|
};
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
373
|
+
setModuleErrorCode: {
|
|
374
|
+
type: "setModuleErrorCode";
|
|
375
|
+
params: NonReducibleUnknown;
|
|
376
|
+
};
|
|
377
|
+
trackAdvanceableModuleError: {
|
|
378
|
+
type: "trackAdvanceableModuleError";
|
|
384
379
|
params: unknown;
|
|
385
380
|
};
|
|
386
|
-
|
|
387
|
-
type: "
|
|
381
|
+
trackTerminalModuleError: {
|
|
382
|
+
type: "trackTerminalModuleError";
|
|
388
383
|
params: unknown;
|
|
389
384
|
};
|
|
390
|
-
|
|
391
|
-
type: "
|
|
385
|
+
trackNodeTransition: {
|
|
386
|
+
type: "trackNodeTransition";
|
|
392
387
|
params: unknown;
|
|
393
388
|
};
|
|
389
|
+
setHomeContinueLoading: {
|
|
390
|
+
type: "setHomeContinueLoading";
|
|
391
|
+
params: NonReducibleUnknown;
|
|
392
|
+
};
|
|
393
|
+
clearHomeContinueLoading: {
|
|
394
|
+
type: "clearHomeContinueLoading";
|
|
395
|
+
params: NonReducibleUnknown;
|
|
396
|
+
};
|
|
397
|
+
markHomeShown: {
|
|
398
|
+
type: "markHomeShown";
|
|
399
|
+
params: NonReducibleUnknown;
|
|
400
|
+
};
|
|
401
|
+
}>, Values<{
|
|
394
402
|
isModuleNode: {
|
|
395
403
|
type: "isModuleNode";
|
|
396
404
|
params: unknown;
|
|
@@ -407,6 +415,14 @@ declare const workflowMachine: xstate1408.StateMachine<WorkflowContext, {
|
|
|
407
415
|
type: "isCustomModule";
|
|
408
416
|
params: unknown;
|
|
409
417
|
};
|
|
418
|
+
isOnboardingFinishedSignal: {
|
|
419
|
+
type: "isOnboardingFinishedSignal";
|
|
420
|
+
params: unknown;
|
|
421
|
+
};
|
|
422
|
+
isAdvanceableModuleError: {
|
|
423
|
+
type: "isAdvanceableModuleError";
|
|
424
|
+
params: unknown;
|
|
425
|
+
};
|
|
410
426
|
shouldResolveScore: {
|
|
411
427
|
type: "shouldResolveScore";
|
|
412
428
|
params: unknown;
|
|
@@ -415,182 +431,189 @@ declare const workflowMachine: xstate1408.StateMachine<WorkflowContext, {
|
|
|
415
431
|
type: "isOnboardingFinishedWithStatusScreen";
|
|
416
432
|
params: unknown;
|
|
417
433
|
};
|
|
418
|
-
|
|
434
|
+
shouldEnterHome: {
|
|
435
|
+
type: "shouldEnterHome";
|
|
436
|
+
params: unknown;
|
|
437
|
+
};
|
|
438
|
+
shouldEnterHomeAfterRedirect: {
|
|
439
|
+
type: "shouldEnterHomeAfterRedirect";
|
|
440
|
+
params: unknown;
|
|
441
|
+
};
|
|
442
|
+
}>, never, "error" | "idle" | "closed" | "finished" | "home" | "loading" | "resolvingModule" | "completing" | "asyncResolution" | "handlingCustomModule" | "runningModule" | "resolvingScore" | "processingNode", string, WorkflowInput, NonReducibleUnknown, EventObject, MetaObject, {
|
|
419
443
|
readonly id: "workflow";
|
|
420
444
|
readonly initial: "idle";
|
|
421
|
-
readonly context: ({
|
|
422
|
-
input
|
|
423
|
-
}: {
|
|
445
|
+
readonly context: ({ input }: {
|
|
424
446
|
spawn: {
|
|
425
|
-
<TSrc extends "runChildModule" | "
|
|
447
|
+
<TSrc extends "runChildModule" | "loadWorkflow" | "processNextNode" | "handleCustomModule" | "resolveModule" | "notifyBackend" | "resolveScore">(logic: TSrc, ...[options]: ({
|
|
426
448
|
src: "runChildModule";
|
|
427
|
-
logic:
|
|
449
|
+
logic: CallbackActorLogic<RunChildModuleEvent, RunChildModuleInput, EventObject>;
|
|
428
450
|
id: string | undefined;
|
|
429
|
-
} extends infer T ? T extends {
|
|
451
|
+
} extends (infer T) ? T extends {
|
|
430
452
|
src: "runChildModule";
|
|
431
|
-
logic:
|
|
453
|
+
logic: CallbackActorLogic<RunChildModuleEvent, RunChildModuleInput, EventObject>;
|
|
432
454
|
id: string | undefined;
|
|
433
455
|
} ? T extends {
|
|
434
456
|
src: TSrc;
|
|
435
|
-
} ?
|
|
457
|
+
} ? ConditionalRequired<[options?: ({
|
|
436
458
|
id?: T["id"] | undefined;
|
|
437
459
|
systemId?: string;
|
|
438
|
-
input?:
|
|
460
|
+
input?: InputFrom<T["logic"]> | undefined;
|
|
439
461
|
syncSnapshot?: boolean;
|
|
440
|
-
} & { [K in
|
|
441
|
-
src: "
|
|
442
|
-
logic:
|
|
443
|
-
getFinishStatus: GetFinishStatusFn;
|
|
444
|
-
workflowId: string | undefined;
|
|
445
|
-
}, xstate1408.EventObject>;
|
|
462
|
+
} & { [K in RequiredActorOptions<T>]: unknown; }) | undefined], IsNotNever<RequiredActorOptions<T>>> : never : never : never) | ({
|
|
463
|
+
src: "loadWorkflow";
|
|
464
|
+
logic: PromiseActorLogic<LoadingResult, LoadWorkflowInput, EventObject>;
|
|
446
465
|
id: string | undefined;
|
|
447
|
-
} extends infer T_1 ? T_1 extends {
|
|
448
|
-
src: "
|
|
449
|
-
logic:
|
|
450
|
-
getFinishStatus: GetFinishStatusFn;
|
|
451
|
-
workflowId: string | undefined;
|
|
452
|
-
}, xstate1408.EventObject>;
|
|
466
|
+
} extends (infer T_1) ? T_1 extends {
|
|
467
|
+
src: "loadWorkflow";
|
|
468
|
+
logic: PromiseActorLogic<LoadingResult, LoadWorkflowInput, EventObject>;
|
|
453
469
|
id: string | undefined;
|
|
454
470
|
} ? T_1 extends {
|
|
455
471
|
src: TSrc;
|
|
456
|
-
} ?
|
|
472
|
+
} ? ConditionalRequired<[options?: ({
|
|
457
473
|
id?: T_1["id"] | undefined;
|
|
458
474
|
systemId?: string;
|
|
459
|
-
input?:
|
|
475
|
+
input?: InputFrom<T_1["logic"]> | undefined;
|
|
460
476
|
syncSnapshot?: boolean;
|
|
461
|
-
} & { [K_1 in
|
|
462
|
-
src: "
|
|
463
|
-
logic:
|
|
477
|
+
} & { [K_1 in RequiredActorOptions<T_1>]: unknown; }) | undefined], IsNotNever<RequiredActorOptions<T_1>>> : never : never : never) | ({
|
|
478
|
+
src: "processNextNode";
|
|
479
|
+
logic: PromiseActorLogic<ProcessingResult, ProcessNextNodeInput, EventObject>;
|
|
464
480
|
id: string | undefined;
|
|
465
|
-
} extends infer T_2 ? T_2 extends {
|
|
466
|
-
src: "
|
|
467
|
-
logic:
|
|
481
|
+
} extends (infer T_2) ? T_2 extends {
|
|
482
|
+
src: "processNextNode";
|
|
483
|
+
logic: PromiseActorLogic<ProcessingResult, ProcessNextNodeInput, EventObject>;
|
|
468
484
|
id: string | undefined;
|
|
469
485
|
} ? T_2 extends {
|
|
470
486
|
src: TSrc;
|
|
471
|
-
} ?
|
|
487
|
+
} ? ConditionalRequired<[options?: ({
|
|
472
488
|
id?: T_2["id"] | undefined;
|
|
473
489
|
systemId?: string;
|
|
474
|
-
input?:
|
|
490
|
+
input?: InputFrom<T_2["logic"]> | undefined;
|
|
475
491
|
syncSnapshot?: boolean;
|
|
476
|
-
} & { [K_2 in
|
|
477
|
-
src: "
|
|
478
|
-
logic:
|
|
492
|
+
} & { [K_2 in RequiredActorOptions<T_2>]: unknown; }) | undefined], IsNotNever<RequiredActorOptions<T_2>>> : never : never : never) | ({
|
|
493
|
+
src: "handleCustomModule";
|
|
494
|
+
logic: PromiseActorLogic<WorkflowNode, HandleCustomModuleInput, EventObject>;
|
|
479
495
|
id: string | undefined;
|
|
480
|
-
} extends infer T_3 ? T_3 extends {
|
|
481
|
-
src: "
|
|
482
|
-
logic:
|
|
496
|
+
} extends (infer T_3) ? T_3 extends {
|
|
497
|
+
src: "handleCustomModule";
|
|
498
|
+
logic: PromiseActorLogic<WorkflowNode, HandleCustomModuleInput, EventObject>;
|
|
483
499
|
id: string | undefined;
|
|
484
500
|
} ? T_3 extends {
|
|
485
501
|
src: TSrc;
|
|
486
|
-
} ?
|
|
502
|
+
} ? ConditionalRequired<[options?: ({
|
|
487
503
|
id?: T_3["id"] | undefined;
|
|
488
504
|
systemId?: string;
|
|
489
|
-
input?:
|
|
505
|
+
input?: InputFrom<T_3["logic"]> | undefined;
|
|
490
506
|
syncSnapshot?: boolean;
|
|
491
|
-
} & { [K_3 in
|
|
492
|
-
src: "
|
|
493
|
-
logic:
|
|
507
|
+
} & { [K_3 in RequiredActorOptions<T_3>]: unknown; }) | undefined], IsNotNever<RequiredActorOptions<T_3>>> : never : never : never) | ({
|
|
508
|
+
src: "resolveModule";
|
|
509
|
+
logic: PromiseActorLogic<AnyStateMachine, ResolveModuleInput, EventObject>;
|
|
494
510
|
id: string | undefined;
|
|
495
|
-
} extends infer T_4 ? T_4 extends {
|
|
496
|
-
src: "
|
|
497
|
-
logic:
|
|
511
|
+
} extends (infer T_4) ? T_4 extends {
|
|
512
|
+
src: "resolveModule";
|
|
513
|
+
logic: PromiseActorLogic<AnyStateMachine, ResolveModuleInput, EventObject>;
|
|
498
514
|
id: string | undefined;
|
|
499
515
|
} ? T_4 extends {
|
|
500
516
|
src: TSrc;
|
|
501
|
-
} ?
|
|
517
|
+
} ? ConditionalRequired<[options?: ({
|
|
502
518
|
id?: T_4["id"] | undefined;
|
|
503
519
|
systemId?: string;
|
|
504
|
-
input?:
|
|
520
|
+
input?: InputFrom<T_4["logic"]> | undefined;
|
|
505
521
|
syncSnapshot?: boolean;
|
|
506
|
-
} & { [K_4 in
|
|
507
|
-
src: "
|
|
508
|
-
logic:
|
|
522
|
+
} & { [K_4 in RequiredActorOptions<T_4>]: unknown; }) | undefined], IsNotNever<RequiredActorOptions<T_4>>> : never : never : never) | ({
|
|
523
|
+
src: "notifyBackend";
|
|
524
|
+
logic: PromiseActorLogic<FinishStatus, {
|
|
525
|
+
getFinishStatus: GetFinishStatusFn;
|
|
526
|
+
workflowId: string | undefined;
|
|
527
|
+
}, EventObject>;
|
|
509
528
|
id: string | undefined;
|
|
510
|
-
} extends infer T_5 ? T_5 extends {
|
|
511
|
-
src: "
|
|
512
|
-
logic:
|
|
529
|
+
} extends (infer T_5) ? T_5 extends {
|
|
530
|
+
src: "notifyBackend";
|
|
531
|
+
logic: PromiseActorLogic<FinishStatus, {
|
|
532
|
+
getFinishStatus: GetFinishStatusFn;
|
|
533
|
+
workflowId: string | undefined;
|
|
534
|
+
}, EventObject>;
|
|
513
535
|
id: string | undefined;
|
|
514
536
|
} ? T_5 extends {
|
|
515
537
|
src: TSrc;
|
|
516
|
-
} ?
|
|
538
|
+
} ? ConditionalRequired<[options?: ({
|
|
517
539
|
id?: T_5["id"] | undefined;
|
|
518
540
|
systemId?: string;
|
|
519
|
-
input?:
|
|
541
|
+
input?: InputFrom<T_5["logic"]> | undefined;
|
|
520
542
|
syncSnapshot?: boolean;
|
|
521
|
-
} & { [K_5 in
|
|
543
|
+
} & { [K_5 in RequiredActorOptions<T_5>]: unknown; }) | undefined], IsNotNever<RequiredActorOptions<T_5>>> : never : never : never) | ({
|
|
522
544
|
src: "resolveScore";
|
|
523
|
-
logic:
|
|
545
|
+
logic: PromiseActorLogic<TotalScore, {
|
|
524
546
|
getTotalScoreStatus: GetTotalScoreStatusFn;
|
|
525
|
-
},
|
|
547
|
+
}, EventObject>;
|
|
526
548
|
id: string | undefined;
|
|
527
|
-
} extends infer T_6 ? T_6 extends {
|
|
549
|
+
} extends (infer T_6) ? T_6 extends {
|
|
528
550
|
src: "resolveScore";
|
|
529
|
-
logic:
|
|
551
|
+
logic: PromiseActorLogic<TotalScore, {
|
|
530
552
|
getTotalScoreStatus: GetTotalScoreStatusFn;
|
|
531
|
-
},
|
|
553
|
+
}, EventObject>;
|
|
532
554
|
id: string | undefined;
|
|
533
555
|
} ? T_6 extends {
|
|
534
556
|
src: TSrc;
|
|
535
|
-
} ?
|
|
557
|
+
} ? ConditionalRequired<[options?: ({
|
|
536
558
|
id?: T_6["id"] | undefined;
|
|
537
559
|
systemId?: string;
|
|
538
|
-
input?:
|
|
560
|
+
input?: InputFrom<T_6["logic"]> | undefined;
|
|
539
561
|
syncSnapshot?: boolean;
|
|
540
|
-
} & { [K_6 in
|
|
562
|
+
} & { [K_6 in RequiredActorOptions<T_6>]: unknown; }) | undefined], IsNotNever<RequiredActorOptions<T_6>>> : never : never : never)): ActorRefFromLogic<GetConcreteByKey<Values<{
|
|
541
563
|
runChildModule: {
|
|
542
564
|
src: "runChildModule";
|
|
543
|
-
logic:
|
|
544
|
-
id: string | undefined;
|
|
545
|
-
};
|
|
546
|
-
notifyBackend: {
|
|
547
|
-
src: "notifyBackend";
|
|
548
|
-
logic: xstate1408.PromiseActorLogic<FinishStatus, {
|
|
549
|
-
getFinishStatus: GetFinishStatusFn;
|
|
550
|
-
workflowId: string | undefined;
|
|
551
|
-
}, xstate1408.EventObject>;
|
|
565
|
+
logic: CallbackActorLogic<RunChildModuleEvent, RunChildModuleInput, EventObject>;
|
|
552
566
|
id: string | undefined;
|
|
553
567
|
};
|
|
554
568
|
loadWorkflow: {
|
|
555
569
|
src: "loadWorkflow";
|
|
556
|
-
logic:
|
|
570
|
+
logic: PromiseActorLogic<LoadingResult, LoadWorkflowInput, EventObject>;
|
|
557
571
|
id: string | undefined;
|
|
558
572
|
};
|
|
559
573
|
processNextNode: {
|
|
560
574
|
src: "processNextNode";
|
|
561
|
-
logic:
|
|
575
|
+
logic: PromiseActorLogic<ProcessingResult, ProcessNextNodeInput, EventObject>;
|
|
562
576
|
id: string | undefined;
|
|
563
577
|
};
|
|
564
578
|
handleCustomModule: {
|
|
565
579
|
src: "handleCustomModule";
|
|
566
|
-
logic:
|
|
580
|
+
logic: PromiseActorLogic<WorkflowNode, HandleCustomModuleInput, EventObject>;
|
|
567
581
|
id: string | undefined;
|
|
568
582
|
};
|
|
569
583
|
resolveModule: {
|
|
570
584
|
src: "resolveModule";
|
|
571
|
-
logic:
|
|
585
|
+
logic: PromiseActorLogic<AnyStateMachine, ResolveModuleInput, EventObject>;
|
|
586
|
+
id: string | undefined;
|
|
587
|
+
};
|
|
588
|
+
notifyBackend: {
|
|
589
|
+
src: "notifyBackend";
|
|
590
|
+
logic: PromiseActorLogic<FinishStatus, {
|
|
591
|
+
getFinishStatus: GetFinishStatusFn;
|
|
592
|
+
workflowId: string | undefined;
|
|
593
|
+
}, EventObject>;
|
|
572
594
|
id: string | undefined;
|
|
573
595
|
};
|
|
574
596
|
resolveScore: {
|
|
575
597
|
src: "resolveScore";
|
|
576
|
-
logic:
|
|
598
|
+
logic: PromiseActorLogic<TotalScore, {
|
|
577
599
|
getTotalScoreStatus: GetTotalScoreStatusFn;
|
|
578
|
-
},
|
|
600
|
+
}, EventObject>;
|
|
579
601
|
id: string | undefined;
|
|
580
602
|
};
|
|
581
603
|
}>, "src", TSrc>["logic"]>;
|
|
582
|
-
<TLogic extends
|
|
604
|
+
<TLogic extends AnyActorLogic>(src: TLogic, ...[options]: ConditionalRequired<[options?: ({
|
|
583
605
|
id?: never;
|
|
584
606
|
systemId?: string;
|
|
585
|
-
input?:
|
|
607
|
+
input?: InputFrom<TLogic> | undefined;
|
|
586
608
|
syncSnapshot?: boolean;
|
|
587
|
-
} & { [K in
|
|
609
|
+
} & { [K in RequiredLogicInput<TLogic>]: unknown; }) | undefined], IsNotNever<RequiredLogicInput<TLogic>>>): ActorRefFromLogic<TLogic>;
|
|
588
610
|
};
|
|
589
611
|
input: WorkflowInput;
|
|
590
|
-
self:
|
|
612
|
+
self: ActorRef<MachineSnapshot<WorkflowContext, {
|
|
591
613
|
type: "LOAD";
|
|
592
614
|
} | {
|
|
593
615
|
type: "MODULE_COMPLETE";
|
|
616
|
+
output?: unknown;
|
|
594
617
|
} | {
|
|
595
618
|
type: "MODULE_ERROR";
|
|
596
619
|
error: unknown;
|
|
@@ -601,10 +624,11 @@ declare const workflowMachine: xstate1408.StateMachine<WorkflowContext, {
|
|
|
601
624
|
type: "FINISH_WORKFLOW";
|
|
602
625
|
} | {
|
|
603
626
|
type: "HOME_CONTINUE";
|
|
604
|
-
}, Record<string,
|
|
627
|
+
}, Record<string, AnyActorRef | undefined>, StateValue, string, unknown, any, any>, {
|
|
605
628
|
type: "LOAD";
|
|
606
629
|
} | {
|
|
607
630
|
type: "MODULE_COMPLETE";
|
|
631
|
+
output?: unknown;
|
|
608
632
|
} | {
|
|
609
633
|
type: "MODULE_ERROR";
|
|
610
634
|
error: unknown;
|
|
@@ -615,7 +639,7 @@ declare const workflowMachine: xstate1408.StateMachine<WorkflowContext, {
|
|
|
615
639
|
type: "FINISH_WORKFLOW";
|
|
616
640
|
} | {
|
|
617
641
|
type: "HOME_CONTINUE";
|
|
618
|
-
},
|
|
642
|
+
}, AnyEventObject>;
|
|
619
643
|
}) => {
|
|
620
644
|
workflowConfig: undefined;
|
|
621
645
|
currentNode: undefined;
|
|
@@ -624,6 +648,7 @@ declare const workflowMachine: xstate1408.StateMachine<WorkflowContext, {
|
|
|
624
648
|
error: undefined;
|
|
625
649
|
errorCode: undefined;
|
|
626
650
|
moduleErrorCode: undefined;
|
|
651
|
+
skipFaceMatch: false;
|
|
627
652
|
registeredModules: WorkflowModuleRegistry;
|
|
628
653
|
configMappers: ModuleConfigMappers;
|
|
629
654
|
finishStatus: undefined;
|
|
@@ -633,6 +658,7 @@ declare const workflowMachine: xstate1408.StateMachine<WorkflowContext, {
|
|
|
633
658
|
isDesktop: boolean;
|
|
634
659
|
isInjectedNode: false;
|
|
635
660
|
isHomeContinueLoading: false;
|
|
661
|
+
hasShownHome: false;
|
|
636
662
|
getFinishStatus: GetFinishStatusFn;
|
|
637
663
|
getTotalScoreStatus: GetTotalScoreStatusFn;
|
|
638
664
|
};
|
|
@@ -646,14 +672,13 @@ declare const workflowMachine: xstate1408.StateMachine<WorkflowContext, {
|
|
|
646
672
|
readonly invoke: {
|
|
647
673
|
readonly id: "loadWorkflow";
|
|
648
674
|
readonly src: "loadWorkflow";
|
|
649
|
-
readonly input: ({
|
|
650
|
-
context
|
|
651
|
-
}: {
|
|
675
|
+
readonly input: ({ context }: {
|
|
652
676
|
context: WorkflowContext;
|
|
653
677
|
event: {
|
|
654
678
|
type: "LOAD";
|
|
655
679
|
} | {
|
|
656
680
|
type: "MODULE_COMPLETE";
|
|
681
|
+
output?: unknown;
|
|
657
682
|
} | {
|
|
658
683
|
type: "MODULE_ERROR";
|
|
659
684
|
error: unknown;
|
|
@@ -665,10 +690,11 @@ declare const workflowMachine: xstate1408.StateMachine<WorkflowContext, {
|
|
|
665
690
|
} | {
|
|
666
691
|
type: "HOME_CONTINUE";
|
|
667
692
|
};
|
|
668
|
-
self:
|
|
693
|
+
self: ActorRef<MachineSnapshot<WorkflowContext, {
|
|
669
694
|
type: "LOAD";
|
|
670
695
|
} | {
|
|
671
696
|
type: "MODULE_COMPLETE";
|
|
697
|
+
output?: unknown;
|
|
672
698
|
} | {
|
|
673
699
|
type: "MODULE_ERROR";
|
|
674
700
|
error: unknown;
|
|
@@ -679,10 +705,11 @@ declare const workflowMachine: xstate1408.StateMachine<WorkflowContext, {
|
|
|
679
705
|
type: "FINISH_WORKFLOW";
|
|
680
706
|
} | {
|
|
681
707
|
type: "HOME_CONTINUE";
|
|
682
|
-
}, Record<string,
|
|
708
|
+
}, Record<string, AnyActorRef>, StateValue, string, unknown, any, any>, {
|
|
683
709
|
type: "LOAD";
|
|
684
710
|
} | {
|
|
685
711
|
type: "MODULE_COMPLETE";
|
|
712
|
+
output?: unknown;
|
|
686
713
|
} | {
|
|
687
714
|
type: "MODULE_ERROR";
|
|
688
715
|
error: unknown;
|
|
@@ -693,7 +720,7 @@ declare const workflowMachine: xstate1408.StateMachine<WorkflowContext, {
|
|
|
693
720
|
type: "FINISH_WORKFLOW";
|
|
694
721
|
} | {
|
|
695
722
|
type: "HOME_CONTINUE";
|
|
696
|
-
},
|
|
723
|
+
}, AnyEventObject>;
|
|
697
724
|
}) => {
|
|
698
725
|
isDesktop: boolean;
|
|
699
726
|
};
|
|
@@ -721,6 +748,7 @@ declare const workflowMachine: xstate1408.StateMachine<WorkflowContext, {
|
|
|
721
748
|
};
|
|
722
749
|
};
|
|
723
750
|
readonly home: {
|
|
751
|
+
readonly entry: "markHomeShown";
|
|
724
752
|
readonly on: {
|
|
725
753
|
readonly HOME_CONTINUE: {
|
|
726
754
|
readonly target: "resolvingModule";
|
|
@@ -736,14 +764,13 @@ declare const workflowMachine: xstate1408.StateMachine<WorkflowContext, {
|
|
|
736
764
|
readonly invoke: {
|
|
737
765
|
readonly id: "resolveModule";
|
|
738
766
|
readonly src: "resolveModule";
|
|
739
|
-
readonly input: ({
|
|
740
|
-
context
|
|
741
|
-
}: {
|
|
767
|
+
readonly input: ({ context }: {
|
|
742
768
|
context: WorkflowContext;
|
|
743
769
|
event: {
|
|
744
770
|
type: "LOAD";
|
|
745
771
|
} | {
|
|
746
772
|
type: "MODULE_COMPLETE";
|
|
773
|
+
output?: unknown;
|
|
747
774
|
} | {
|
|
748
775
|
type: "MODULE_ERROR";
|
|
749
776
|
error: unknown;
|
|
@@ -755,10 +782,11 @@ declare const workflowMachine: xstate1408.StateMachine<WorkflowContext, {
|
|
|
755
782
|
} | {
|
|
756
783
|
type: "HOME_CONTINUE";
|
|
757
784
|
};
|
|
758
|
-
self:
|
|
785
|
+
self: ActorRef<MachineSnapshot<WorkflowContext, {
|
|
759
786
|
type: "LOAD";
|
|
760
787
|
} | {
|
|
761
788
|
type: "MODULE_COMPLETE";
|
|
789
|
+
output?: unknown;
|
|
762
790
|
} | {
|
|
763
791
|
type: "MODULE_ERROR";
|
|
764
792
|
error: unknown;
|
|
@@ -769,10 +797,11 @@ declare const workflowMachine: xstate1408.StateMachine<WorkflowContext, {
|
|
|
769
797
|
type: "FINISH_WORKFLOW";
|
|
770
798
|
} | {
|
|
771
799
|
type: "HOME_CONTINUE";
|
|
772
|
-
}, Record<string,
|
|
800
|
+
}, Record<string, AnyActorRef>, StateValue, string, unknown, any, any>, {
|
|
773
801
|
type: "LOAD";
|
|
774
802
|
} | {
|
|
775
803
|
type: "MODULE_COMPLETE";
|
|
804
|
+
output?: unknown;
|
|
776
805
|
} | {
|
|
777
806
|
type: "MODULE_ERROR";
|
|
778
807
|
error: unknown;
|
|
@@ -783,7 +812,7 @@ declare const workflowMachine: xstate1408.StateMachine<WorkflowContext, {
|
|
|
783
812
|
type: "FINISH_WORKFLOW";
|
|
784
813
|
} | {
|
|
785
814
|
type: "HOME_CONTINUE";
|
|
786
|
-
},
|
|
815
|
+
}, AnyEventObject>;
|
|
787
816
|
}) => {
|
|
788
817
|
moduleKey: string;
|
|
789
818
|
registeredModules: WorkflowModuleRegistry;
|
|
@@ -803,9 +832,7 @@ declare const workflowMachine: xstate1408.StateMachine<WorkflowContext, {
|
|
|
803
832
|
readonly invoke: {
|
|
804
833
|
readonly id: "currentModule";
|
|
805
834
|
readonly src: "runChildModule";
|
|
806
|
-
readonly input: ({
|
|
807
|
-
context
|
|
808
|
-
}: {
|
|
835
|
+
readonly input: ({ context }: {
|
|
809
836
|
context: WorkflowContext;
|
|
810
837
|
}) => {
|
|
811
838
|
machine: AnyStateMachine | undefined;
|
|
@@ -821,6 +848,7 @@ declare const workflowMachine: xstate1408.StateMachine<WorkflowContext, {
|
|
|
821
848
|
readonly guard: "isOnboardingFinishedSignal";
|
|
822
849
|
}, {
|
|
823
850
|
readonly target: "processingNode";
|
|
851
|
+
readonly actions: readonly ["persistSkipFaceMatch"];
|
|
824
852
|
}];
|
|
825
853
|
readonly MODULE_ERROR: readonly [{
|
|
826
854
|
readonly guard: "isAdvanceableModuleError";
|
|
@@ -828,7 +856,7 @@ declare const workflowMachine: xstate1408.StateMachine<WorkflowContext, {
|
|
|
828
856
|
readonly actions: readonly ["setModuleErrorCode", "trackAdvanceableModuleError"];
|
|
829
857
|
}, {
|
|
830
858
|
readonly target: "error";
|
|
831
|
-
readonly actions: "setModuleError";
|
|
859
|
+
readonly actions: readonly ["setModuleError", "trackTerminalModuleError"];
|
|
832
860
|
}];
|
|
833
861
|
readonly COMPLETE_FLOW: "completing";
|
|
834
862
|
readonly FINISH_WORKFLOW: readonly [{
|
|
@@ -843,14 +871,13 @@ declare const workflowMachine: xstate1408.StateMachine<WorkflowContext, {
|
|
|
843
871
|
readonly invoke: {
|
|
844
872
|
readonly id: "customModule";
|
|
845
873
|
readonly src: "handleCustomModule";
|
|
846
|
-
readonly input: ({
|
|
847
|
-
context
|
|
848
|
-
}: {
|
|
874
|
+
readonly input: ({ context }: {
|
|
849
875
|
context: WorkflowContext;
|
|
850
876
|
event: {
|
|
851
877
|
type: "LOAD";
|
|
852
878
|
} | {
|
|
853
879
|
type: "MODULE_COMPLETE";
|
|
880
|
+
output?: unknown;
|
|
854
881
|
} | {
|
|
855
882
|
type: "MODULE_ERROR";
|
|
856
883
|
error: unknown;
|
|
@@ -862,10 +889,11 @@ declare const workflowMachine: xstate1408.StateMachine<WorkflowContext, {
|
|
|
862
889
|
} | {
|
|
863
890
|
type: "HOME_CONTINUE";
|
|
864
891
|
};
|
|
865
|
-
self:
|
|
892
|
+
self: ActorRef<MachineSnapshot<WorkflowContext, {
|
|
866
893
|
type: "LOAD";
|
|
867
894
|
} | {
|
|
868
895
|
type: "MODULE_COMPLETE";
|
|
896
|
+
output?: unknown;
|
|
869
897
|
} | {
|
|
870
898
|
type: "MODULE_ERROR";
|
|
871
899
|
error: unknown;
|
|
@@ -876,10 +904,11 @@ declare const workflowMachine: xstate1408.StateMachine<WorkflowContext, {
|
|
|
876
904
|
type: "FINISH_WORKFLOW";
|
|
877
905
|
} | {
|
|
878
906
|
type: "HOME_CONTINUE";
|
|
879
|
-
}, Record<string,
|
|
907
|
+
}, Record<string, AnyActorRef>, StateValue, string, unknown, any, any>, {
|
|
880
908
|
type: "LOAD";
|
|
881
909
|
} | {
|
|
882
910
|
type: "MODULE_COMPLETE";
|
|
911
|
+
output?: unknown;
|
|
883
912
|
} | {
|
|
884
913
|
type: "MODULE_ERROR";
|
|
885
914
|
error: unknown;
|
|
@@ -890,7 +919,7 @@ declare const workflowMachine: xstate1408.StateMachine<WorkflowContext, {
|
|
|
890
919
|
type: "FINISH_WORKFLOW";
|
|
891
920
|
} | {
|
|
892
921
|
type: "HOME_CONTINUE";
|
|
893
|
-
},
|
|
922
|
+
}, AnyEventObject>;
|
|
894
923
|
}) => {
|
|
895
924
|
currentNode: WorkflowNode;
|
|
896
925
|
interviewId: string;
|
|
@@ -919,14 +948,13 @@ declare const workflowMachine: xstate1408.StateMachine<WorkflowContext, {
|
|
|
919
948
|
readonly invoke: {
|
|
920
949
|
readonly id: "processNext";
|
|
921
950
|
readonly src: "processNextNode";
|
|
922
|
-
readonly input: ({
|
|
923
|
-
context
|
|
924
|
-
}: {
|
|
951
|
+
readonly input: ({ context }: {
|
|
925
952
|
context: WorkflowContext;
|
|
926
953
|
event: {
|
|
927
954
|
type: "LOAD";
|
|
928
955
|
} | {
|
|
929
956
|
type: "MODULE_COMPLETE";
|
|
957
|
+
output?: unknown;
|
|
930
958
|
} | {
|
|
931
959
|
type: "MODULE_ERROR";
|
|
932
960
|
error: unknown;
|
|
@@ -938,10 +966,11 @@ declare const workflowMachine: xstate1408.StateMachine<WorkflowContext, {
|
|
|
938
966
|
} | {
|
|
939
967
|
type: "HOME_CONTINUE";
|
|
940
968
|
};
|
|
941
|
-
self:
|
|
969
|
+
self: ActorRef<MachineSnapshot<WorkflowContext, {
|
|
942
970
|
type: "LOAD";
|
|
943
971
|
} | {
|
|
944
972
|
type: "MODULE_COMPLETE";
|
|
973
|
+
output?: unknown;
|
|
945
974
|
} | {
|
|
946
975
|
type: "MODULE_ERROR";
|
|
947
976
|
error: unknown;
|
|
@@ -952,10 +981,11 @@ declare const workflowMachine: xstate1408.StateMachine<WorkflowContext, {
|
|
|
952
981
|
type: "FINISH_WORKFLOW";
|
|
953
982
|
} | {
|
|
954
983
|
type: "HOME_CONTINUE";
|
|
955
|
-
}, Record<string,
|
|
984
|
+
}, Record<string, AnyActorRef>, StateValue, string, unknown, any, any>, {
|
|
956
985
|
type: "LOAD";
|
|
957
986
|
} | {
|
|
958
987
|
type: "MODULE_COMPLETE";
|
|
988
|
+
output?: unknown;
|
|
959
989
|
} | {
|
|
960
990
|
type: "MODULE_ERROR";
|
|
961
991
|
error: unknown;
|
|
@@ -966,7 +996,7 @@ declare const workflowMachine: xstate1408.StateMachine<WorkflowContext, {
|
|
|
966
996
|
type: "FINISH_WORKFLOW";
|
|
967
997
|
} | {
|
|
968
998
|
type: "HOME_CONTINUE";
|
|
969
|
-
},
|
|
999
|
+
}, AnyEventObject>;
|
|
970
1000
|
}) => {
|
|
971
1001
|
isInjectedNode: boolean;
|
|
972
1002
|
firstNode: WorkflowNode | undefined;
|
|
@@ -979,18 +1009,22 @@ declare const workflowMachine: xstate1408.StateMachine<WorkflowContext, {
|
|
|
979
1009
|
isDesktop: boolean;
|
|
980
1010
|
};
|
|
981
1011
|
readonly onDone: readonly [{
|
|
1012
|
+
readonly target: "home";
|
|
1013
|
+
readonly guard: "shouldEnterHomeAfterRedirect";
|
|
1014
|
+
readonly actions: readonly ["setNextNode", "trackNodeTransition"];
|
|
1015
|
+
}, {
|
|
982
1016
|
readonly target: "resolvingModule";
|
|
983
1017
|
readonly guard: "isModuleNode";
|
|
984
|
-
readonly actions: "setNextNode";
|
|
1018
|
+
readonly actions: readonly ["setNextNode", "trackNodeTransition"];
|
|
985
1019
|
readonly reenter: true;
|
|
986
1020
|
}, {
|
|
987
1021
|
readonly target: "completing";
|
|
988
1022
|
readonly guard: "isFinishNode";
|
|
989
|
-
readonly actions: "setNextNode";
|
|
1023
|
+
readonly actions: readonly ["setNextNode", "trackNodeTransition"];
|
|
990
1024
|
}, {
|
|
991
1025
|
readonly target: "asyncResolution";
|
|
992
1026
|
readonly guard: "isAsyncResolutionNode";
|
|
993
|
-
readonly actions: "setNextNode";
|
|
1027
|
+
readonly actions: readonly ["setNextNode", "trackNodeTransition"];
|
|
994
1028
|
}];
|
|
995
1029
|
readonly onError: {
|
|
996
1030
|
readonly target: "error";
|
|
@@ -1002,14 +1036,13 @@ declare const workflowMachine: xstate1408.StateMachine<WorkflowContext, {
|
|
|
1002
1036
|
readonly invoke: {
|
|
1003
1037
|
readonly id: "notifyBackend";
|
|
1004
1038
|
readonly src: "notifyBackend";
|
|
1005
|
-
readonly input: ({
|
|
1006
|
-
context
|
|
1007
|
-
}: {
|
|
1039
|
+
readonly input: ({ context }: {
|
|
1008
1040
|
context: WorkflowContext;
|
|
1009
1041
|
event: {
|
|
1010
1042
|
type: "LOAD";
|
|
1011
1043
|
} | {
|
|
1012
1044
|
type: "MODULE_COMPLETE";
|
|
1045
|
+
output?: unknown;
|
|
1013
1046
|
} | {
|
|
1014
1047
|
type: "MODULE_ERROR";
|
|
1015
1048
|
error: unknown;
|
|
@@ -1021,10 +1054,11 @@ declare const workflowMachine: xstate1408.StateMachine<WorkflowContext, {
|
|
|
1021
1054
|
} | {
|
|
1022
1055
|
type: "HOME_CONTINUE";
|
|
1023
1056
|
};
|
|
1024
|
-
self:
|
|
1057
|
+
self: ActorRef<MachineSnapshot<WorkflowContext, {
|
|
1025
1058
|
type: "LOAD";
|
|
1026
1059
|
} | {
|
|
1027
1060
|
type: "MODULE_COMPLETE";
|
|
1061
|
+
output?: unknown;
|
|
1028
1062
|
} | {
|
|
1029
1063
|
type: "MODULE_ERROR";
|
|
1030
1064
|
error: unknown;
|
|
@@ -1035,10 +1069,11 @@ declare const workflowMachine: xstate1408.StateMachine<WorkflowContext, {
|
|
|
1035
1069
|
type: "FINISH_WORKFLOW";
|
|
1036
1070
|
} | {
|
|
1037
1071
|
type: "HOME_CONTINUE";
|
|
1038
|
-
}, Record<string,
|
|
1072
|
+
}, Record<string, AnyActorRef>, StateValue, string, unknown, any, any>, {
|
|
1039
1073
|
type: "LOAD";
|
|
1040
1074
|
} | {
|
|
1041
1075
|
type: "MODULE_COMPLETE";
|
|
1076
|
+
output?: unknown;
|
|
1042
1077
|
} | {
|
|
1043
1078
|
type: "MODULE_ERROR";
|
|
1044
1079
|
error: unknown;
|
|
@@ -1049,7 +1084,7 @@ declare const workflowMachine: xstate1408.StateMachine<WorkflowContext, {
|
|
|
1049
1084
|
type: "FINISH_WORKFLOW";
|
|
1050
1085
|
} | {
|
|
1051
1086
|
type: "HOME_CONTINUE";
|
|
1052
|
-
},
|
|
1087
|
+
}, AnyEventObject>;
|
|
1053
1088
|
}) => {
|
|
1054
1089
|
getFinishStatus: GetFinishStatusFn;
|
|
1055
1090
|
workflowId: string | undefined;
|
|
@@ -1068,14 +1103,13 @@ declare const workflowMachine: xstate1408.StateMachine<WorkflowContext, {
|
|
|
1068
1103
|
readonly invoke: {
|
|
1069
1104
|
readonly id: "resolveScore";
|
|
1070
1105
|
readonly src: "resolveScore";
|
|
1071
|
-
readonly input: ({
|
|
1072
|
-
context
|
|
1073
|
-
}: {
|
|
1106
|
+
readonly input: ({ context }: {
|
|
1074
1107
|
context: WorkflowContext;
|
|
1075
1108
|
event: {
|
|
1076
1109
|
type: "LOAD";
|
|
1077
1110
|
} | {
|
|
1078
1111
|
type: "MODULE_COMPLETE";
|
|
1112
|
+
output?: unknown;
|
|
1079
1113
|
} | {
|
|
1080
1114
|
type: "MODULE_ERROR";
|
|
1081
1115
|
error: unknown;
|
|
@@ -1087,10 +1121,11 @@ declare const workflowMachine: xstate1408.StateMachine<WorkflowContext, {
|
|
|
1087
1121
|
} | {
|
|
1088
1122
|
type: "HOME_CONTINUE";
|
|
1089
1123
|
};
|
|
1090
|
-
self:
|
|
1124
|
+
self: ActorRef<MachineSnapshot<WorkflowContext, {
|
|
1091
1125
|
type: "LOAD";
|
|
1092
1126
|
} | {
|
|
1093
1127
|
type: "MODULE_COMPLETE";
|
|
1128
|
+
output?: unknown;
|
|
1094
1129
|
} | {
|
|
1095
1130
|
type: "MODULE_ERROR";
|
|
1096
1131
|
error: unknown;
|
|
@@ -1101,10 +1136,11 @@ declare const workflowMachine: xstate1408.StateMachine<WorkflowContext, {
|
|
|
1101
1136
|
type: "FINISH_WORKFLOW";
|
|
1102
1137
|
} | {
|
|
1103
1138
|
type: "HOME_CONTINUE";
|
|
1104
|
-
}, Record<string,
|
|
1139
|
+
}, Record<string, AnyActorRef>, StateValue, string, unknown, any, any>, {
|
|
1105
1140
|
type: "LOAD";
|
|
1106
1141
|
} | {
|
|
1107
1142
|
type: "MODULE_COMPLETE";
|
|
1143
|
+
output?: unknown;
|
|
1108
1144
|
} | {
|
|
1109
1145
|
type: "MODULE_ERROR";
|
|
1110
1146
|
error: unknown;
|
|
@@ -1115,7 +1151,7 @@ declare const workflowMachine: xstate1408.StateMachine<WorkflowContext, {
|
|
|
1115
1151
|
type: "FINISH_WORKFLOW";
|
|
1116
1152
|
} | {
|
|
1117
1153
|
type: "HOME_CONTINUE";
|
|
1118
|
-
},
|
|
1154
|
+
}, AnyEventObject>;
|
|
1119
1155
|
}) => {
|
|
1120
1156
|
getTotalScoreStatus: GetTotalScoreStatusFn;
|
|
1121
1157
|
};
|