@incodetech/core 0.0.0-dev-20260603-88f57200 → 0.0.0-dev-20260603-50bbeb7a
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/{OpenViduRecordingProvider-V2u-nbZC.esm.js → OpenViduRecordingProvider-CwJjdB_y.esm.js} +1 -1
- package/dist/ae-signature.d.ts +3 -3
- package/dist/antifraud.d.ts +3 -3
- package/dist/{antifraudManager-DwFhpD_o.d.ts → antifraudManager-DilnUuVJ.d.ts} +2 -2
- package/dist/authentication.d.ts +12 -12
- package/dist/authentication.esm.js +6 -5
- package/dist/{authenticationManager-SxHSXV3F.esm.js → authenticationManager-BnUv3sYx.esm.js} +2 -2
- package/dist/{authenticationManager-ChIGDD5r.d.ts → authenticationManager-BuofM548.d.ts} +2 -2
- package/dist/{authenticationStateMachine-sLHgqpWn.esm.js → authenticationStateMachine-ChPmwAAV.esm.js} +9 -5
- package/dist/camera.d.ts +1 -1
- package/dist/consent.d.ts +3 -3
- package/dist/consent.esm.js +2 -2
- package/dist/{consentManager-Dy3j4NWf.d.ts → consentManager-CKvXqteP.d.ts} +52 -52
- package/dist/{consentManager-fFCO1oob.esm.js → consentManager-DuiySGhz.esm.js} +1 -1
- package/dist/cpf-ocr.d.ts +3 -3
- package/dist/cpf-ocr.esm.js +2 -2
- package/dist/{cpfOcrManager-CNc0SN4R.esm.js → cpfOcrManager-D6GvdpFQ.esm.js} +1 -1
- package/dist/{cpfOcrManager-BJvZMh5e.d.ts → cpfOcrManager-DUPi3yTh.d.ts} +22 -22
- package/dist/cross-document-data-match.d.ts +1 -1
- package/dist/curp-validation.d.ts +7 -7
- package/dist/curp-validation.esm.js +2 -2
- package/dist/{curpValidationManager-BoAPMlVr.d.ts → curpValidationManager-A17z2p8Z.d.ts} +3 -3
- package/dist/{curpValidationManager-BtsqkehC.esm.js → curpValidationManager-Ly5tD2Q8.esm.js} +1 -1
- package/dist/custom-fields.d.ts +2 -2
- package/dist/custom-fields.esm.js +1 -1
- package/dist/custom-watchlist.d.ts +1 -1
- package/dist/custom-watchlist.esm.js +1 -1
- package/dist/{deepsightService-Cj61N1aO.d.ts → deepsightService-BoGtutuJ.d.ts} +2 -2
- package/dist/document-capture.d.ts +74 -74
- package/dist/document-capture.esm.js +1 -1
- package/dist/document-upload.d.ts +47 -47
- package/dist/dynamic-forms.d.ts +2 -2
- package/dist/dynamic-forms.esm.js +1 -1
- package/dist/ekyb.d.ts +6 -6
- package/dist/ekyb.esm.js +5 -5
- package/dist/{ekybStateMachine-CvSlCREt.esm.js → ekybStateMachine-W3WyzHfN.esm.js} +2 -2
- package/dist/ekyc.d.ts +3 -3
- package/dist/ekyc.esm.js +3 -3
- package/dist/{ekycStateMachine-BiFvcf1j.esm.js → ekycStateMachine-Dq2AZYjP.esm.js} +2 -2
- package/dist/electronic-signature.d.ts +3 -3
- package/dist/email.d.ts +3 -3
- package/dist/email.esm.js +2 -2
- package/dist/{emailManager-rP1c85r5.esm.js → emailManager-BkpKfAWF.esm.js} +1 -1
- package/dist/{emailManager-CJQsszsp.d.ts → emailManager-CSCqkDqa.d.ts} +2 -2
- package/dist/extensibility.d.ts +24 -24
- package/dist/extensibility.esm.js +29 -28
- package/dist/face-match.d.ts +1 -1
- package/dist/face-match.esm.js +1 -1
- package/dist/{faceCaptureManagerFactory-Cix1EB26.d.ts → faceCaptureManagerFactory-Cg6hZagK.d.ts} +21 -8
- package/dist/{faceCaptureManagerFactory-CuIu05bt.esm.js → faceCaptureManagerFactory-DKE4-MLG.esm.js} +2 -1
- package/dist/{faceCaptureSetup-DKASst-f.esm.js → faceCaptureSetup-DIT_z0qp.esm.js} +2 -1
- package/dist/field-comparison.d.ts +3 -3
- package/dist/field-comparison.esm.js +1 -1
- package/dist/{fieldComparisonManager-BpxhssC8.d.ts → fieldComparisonManager-DMzy5lNY.d.ts} +2 -2
- package/dist/flow-events.d.ts +6 -6
- package/dist/flow.d.ts +21 -16
- package/dist/flow.esm.js +45 -13
- package/dist/{flowServices-CJywctSK.esm.js → flowServices-ag9foae3.esm.js} +1 -1
- package/dist/geolocation.d.ts +2 -2
- package/dist/geolocation.esm.js +1 -1
- package/dist/government-validation.d.ts +2 -2
- package/dist/government-validation.esm.js +1 -1
- package/dist/home.d.ts +15 -15
- package/dist/id-ocr.d.ts +57 -57
- package/dist/id-ocr.esm.js +2 -2
- package/dist/id-verification.d.ts +27 -27
- package/dist/id-verification.esm.js +1 -1
- package/dist/id.d.ts +11 -11
- package/dist/id.esm.js +7 -6
- package/dist/{idCaptureManager-BsnDyfe_.d.ts → idCaptureManager-CmJuubTO.d.ts} +7 -7
- package/dist/{idCaptureManager-FqZe2eNP.esm.js → idCaptureManager-Dy3b0R0J.esm.js} +1 -1
- package/dist/{idCaptureStateMachine-BeB4tPzL.esm.js → idCaptureStateMachine-BPYJNjsN.esm.js} +4 -11
- package/dist/{idOcrStateMachine-Brpske0-.esm.js → idOcrStateMachine-wRa-XU9T.esm.js} +1 -1
- package/dist/identity-reuse.d.ts +3 -3
- package/dist/identity-reuse.esm.js +2 -2
- package/dist/{identityReuseManager-B5X1Cm3Y.esm.js → identityReuseManager-5v-hOOjz.esm.js} +1 -1
- package/dist/{identityReuseManager-BhT-E11V.d.ts → identityReuseManager-CdS2aBvN.d.ts} +33 -33
- package/dist/{index-CBaigWlP.d.ts → index-B5ffjr3t.d.ts} +127 -127
- package/dist/{index-C_F0HnYb.d.ts → index-D2Mcat5v.d.ts} +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.esm.js +2 -2
- package/dist/mandatory-consent.d.ts +7 -7
- package/dist/mandatory-consent.esm.js +2 -2
- package/dist/{mandatoryConsentManager-CMKVmOk6.esm.js → mandatoryConsentManager-DaV3Kasq.esm.js} +1 -1
- package/dist/{mandatoryConsentManager-CkGCZo8R.d.ts → mandatoryConsentManager-Di3Lgr-y.d.ts} +53 -53
- package/dist/{openviduLazy-IBOi4mdP.esm.js → openviduLazy--WQ7S77K.esm.js} +1 -1
- package/dist/openviduLazy-BPa_szFr.esm.js +3 -0
- package/dist/phone.d.ts +3 -3
- package/dist/phone.esm.js +2 -2
- package/dist/{phoneManager-Ct7wHlgp.esm.js → phoneManager-CkcMvwa6.esm.js} +1 -1
- package/dist/{phoneManager-TKw5SI9Z.d.ts → phoneManager-eEOZV-Ag.d.ts} +2 -2
- package/dist/qe-signature.d.ts +3 -3
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{recordingService-CZRvjHkv.esm.js → recordingService-DDLGl-a3.esm.js} +6 -38
- package/dist/redirect-to-mobile.d.ts +3 -3
- package/dist/redirect-to-mobile.esm.js +2 -2
- package/dist/{redirectToMobileManager-Cw-tm2xq.esm.js → redirectToMobileManager-CghtrIDs.esm.js} +1 -1
- package/dist/{redirectToMobileManager-l5ILUHUR.d.ts → redirectToMobileManager-DC-_CWcd.d.ts} +2 -2
- package/dist/selfie.d.ts +12 -12
- package/dist/selfie.esm.js +7 -6
- package/dist/{selfieManager-CvegV4Dw.d.ts → selfieManager-BWhEOmu5.d.ts} +2 -2
- package/dist/{selfieManager-BO2dGFbP.esm.js → selfieManager-YMuTjX-Y.esm.js} +2 -2
- package/dist/{selfieStateMachine-BOlpY73w.esm.js → selfieStateMachine-D3HsPohW.esm.js} +3 -2
- package/dist/session.d.ts +5 -5
- package/dist/session.esm.js +3 -3
- package/dist/{sessionInitializer-Bx2_u6KY.esm.js → sessionInitializer-BbElDRSg.esm.js} +1 -1
- package/dist/{setup-64FS43ev.esm.js → setup-Dtysmmvi.esm.js} +1 -1
- package/dist/{setup-rGOxd5ti.d.ts → setup-VFySrRdV.d.ts} +1 -1
- package/dist/signature.d.ts +2 -2
- package/dist/signature.esm.js +1 -1
- package/dist/trust-graph.d.ts +3 -3
- package/dist/{types-CF9Shf3H.d.ts → types-BPTRiryB.d.ts} +2 -2
- package/dist/{types-7YvjxrE8.d.ts → types-Cb02Rr8D.d.ts} +1 -1
- package/dist/{types-CKlC8P6D.d.ts → types-DGzov-rE.d.ts} +1 -1
- package/dist/types-sA-iP7aF.esm.js +45 -0
- package/dist/wasm.d.ts +2 -2
- package/dist/wasm.esm.js +2 -2
- package/dist/watchlist-for-business.d.ts +1 -1
- package/dist/watchlist-for-business.esm.js +1 -1
- package/dist/watchlist.d.ts +1 -1
- package/dist/watchlist.esm.js +1 -1
- package/dist/workflow.d.ts +143 -98
- package/dist/workflow.esm.js +56 -37
- package/package.json +3 -3
- package/dist/openviduLazy-B46R4bBl.esm.js +0 -3
- /package/dist/{Actor-CSrrg3bi.d.ts → Actor-CcQ_EteO.d.ts} +0 -0
- /package/dist/{Manager-Vivkfry8.d.ts → Manager-C6PZlp2a.d.ts} +0 -0
- /package/dist/{StateMachine-BOoToc6g.d.ts → StateMachine-terkPOx4.d.ts} +0 -0
- /package/dist/{addressSearch-CNpjjUQz.esm.js → addressSearch-hBMIkeTq.esm.js} +0 -0
- /package/dist/{camera-B3cj1x5s.d.ts → camera-BCAbwFy2.d.ts} +0 -0
- /package/dist/{consentStateMachine-gpri_8Pu.esm.js → consentStateMachine-Doxk7gh8.esm.js} +0 -0
- /package/dist/{cpf-CsMvhgPy.esm.js → cpf-DuVa7wl0.esm.js} +0 -0
- /package/dist/{curpValidationStateMachine-DjISFFWB.esm.js → curpValidationStateMachine-DdqqjX0e.esm.js} +0 -0
- /package/dist/{customWatchlistStateMachine-BZFp-HLB.esm.js → customWatchlistStateMachine-h8B0S1sI.esm.js} +0 -0
- /package/dist/{dateUtils-Cl7jrAfM.esm.js → dateUtils-sI2uP3JN.esm.js} +0 -0
- /package/dist/{deepsightLoader-Bkdln3Q_.esm.js → deepsightLoader-CCGbu9d3.esm.js} +0 -0
- /package/dist/{documentCaptureStateMachine-mzXknZwz.esm.js → documentCaptureStateMachine-BRkOYrL_.esm.js} +0 -0
- /package/dist/{emailStateMachine-CKfboIlZ.esm.js → emailStateMachine-DBl6u0yY.esm.js} +0 -0
- /package/dist/{faceMatchStateMachine-Ch5EjM7P.esm.js → faceMatchStateMachine-CJjpPtfP.esm.js} +0 -0
- /package/dist/{fieldComparisonManager-DGjxDMx6.esm.js → fieldComparisonManager-B7BNkgoh.esm.js} +0 -0
- /package/dist/{flowCompletionService-Bf4om3D-.d.ts → flowCompletionService-CCtTGPU9.d.ts} +0 -0
- /package/dist/{flowCompletionService-KBd2zFGC.esm.js → flowCompletionService-aI4wGC9f.esm.js} +0 -0
- /package/dist/{geolocationStateMachine-DHAIdNJP.esm.js → geolocationStateMachine-B9l_wr_h.esm.js} +0 -0
- /package/dist/{governmentValidationStateMachine-B91Wn4MO.esm.js → governmentValidationStateMachine-BA9lwNSL.esm.js} +0 -0
- /package/dist/{idVerificationStateMachine-DgIziD2M.esm.js → idVerificationStateMachine-FB5EETJU.esm.js} +0 -0
- /package/dist/{identityReuseStateMachine-CIgLduV4.esm.js → identityReuseStateMachine-DHVSN2L1.esm.js} +0 -0
- /package/dist/{invokeOnCaptureCallback-Dd7hjhFk.esm.js → invokeOnCaptureCallback-CIfXHrFp.esm.js} +0 -0
- /package/dist/{lib-Dw3nlyRn.esm.js → lib-Co05siK6.esm.js} +0 -0
- /package/dist/{mandatoryConsentStateMachine-C_qCpWJc.esm.js → mandatoryConsentStateMachine-BvRq9XtS.esm.js} +0 -0
- /package/dist/{phoneStateMachine-Dm-_UQra.esm.js → phoneStateMachine-XdnP18Rl.esm.js} +0 -0
- /package/dist/{qe-signature-BtnJz3J0.esm.js → qe-signature-p2zhYha3.esm.js} +0 -0
- /package/dist/{redirectToMobileStateMachine-CN3DEYr0.esm.js → redirectToMobileStateMachine-DfJ6xylP.esm.js} +0 -0
- /package/dist/{runChildModule-Bu88HJq3.esm.js → runChildModule-B35VgFTo.esm.js} +0 -0
- /package/dist/{session-Bp-2CzTW.esm.js → session-BK_FUgjz.esm.js} +0 -0
- /package/dist/{signatureStateMachine-CZftXdP1.esm.js → signatureStateMachine-vr7sJ5bw.esm.js} +0 -0
- /package/dist/{types-8T8ucC_X.d.ts → types-C076XDan.d.ts} +0 -0
- /package/dist/{types-BRwPqsN3.d.ts → types-CURk4uNi.d.ts} +0 -0
- /package/dist/{warmup-BDLfUjzz.d.ts → warmup-L_VrEKjj.d.ts} +0 -0
- /package/dist/{watchlistForBusinessStateMachine-qRVzgNMs.esm.js → watchlistForBusinessStateMachine-Bu8oGHHk.esm.js} +0 -0
- /package/dist/{watchlistStateMachine-BBpGY5Ir.esm.js → watchlistStateMachine-BUNqDKp4.esm.js} +0 -0
package/dist/ae-signature.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import "./Actor-
|
|
3
|
-
import { a as AE_CONSENT_KEYS, c as ConsentKey, g as getDefaultConsentChecks, i as electronicSignatureMachine, l as ElectronicSignatureConfig, m as areAllConsented, n as ElectronicSignatureState, s as ConsentChecks, u as ElectronicSignatureDocument } from "./index-
|
|
1
|
+
import { t as Manager } from "./Manager-C6PZlp2a.js";
|
|
2
|
+
import "./Actor-CcQ_EteO.js";
|
|
3
|
+
import { a as AE_CONSENT_KEYS, c as ConsentKey, g as getDefaultConsentChecks, i as electronicSignatureMachine, l as ElectronicSignatureConfig, m as areAllConsented, n as ElectronicSignatureState, s as ConsentChecks, u as ElectronicSignatureDocument } from "./index-B5ffjr3t.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/ae-signature/index.d.ts
|
|
6
6
|
|
package/dist/antifraud.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "./Manager-
|
|
2
|
-
import "./Actor-
|
|
3
|
-
import { i as createAntifraudManagerFromActor, n as AntifraudState, o as antifraudMachine, r as createAntifraudManager, t as AntifraudManager } from "./antifraudManager-
|
|
1
|
+
import "./Manager-C6PZlp2a.js";
|
|
2
|
+
import "./Actor-CcQ_EteO.js";
|
|
3
|
+
import { i as createAntifraudManagerFromActor, n as AntifraudState, o as antifraudMachine, r as createAntifraudManager, t as AntifraudManager } from "./antifraudManager-DilnUuVJ.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/antifraud/types.d.ts
|
|
6
6
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import { t as ActorRefFrom } from "./Actor-
|
|
1
|
+
import { t as Manager } from "./Manager-C6PZlp2a.js";
|
|
2
|
+
import { t as ActorRefFrom } from "./Actor-CcQ_EteO.js";
|
|
3
3
|
|
|
4
4
|
//#region src/modules/antifraud/antifraudStateMachine.d.ts
|
|
5
5
|
declare const antifraudMachine: any;
|
package/dist/authentication.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import "./warmup-
|
|
2
|
-
import "./Manager-
|
|
3
|
-
import "./Actor-
|
|
4
|
-
import "./StateMachine-
|
|
5
|
-
import { D as authenticationMachine, S as AuthenticationConfig, b as CreateAuthenticationActorOptions, x as createAuthenticationActor, y as AuthenticationActor } from "./faceCaptureManagerFactory-
|
|
6
|
-
import "./camera-
|
|
7
|
-
import "./types-
|
|
8
|
-
import "./types-
|
|
9
|
-
import "./types-
|
|
10
|
-
import "./deepsightService-
|
|
11
|
-
import "./types-
|
|
12
|
-
import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-
|
|
1
|
+
import "./warmup-L_VrEKjj.js";
|
|
2
|
+
import "./Manager-C6PZlp2a.js";
|
|
3
|
+
import "./Actor-CcQ_EteO.js";
|
|
4
|
+
import "./StateMachine-terkPOx4.js";
|
|
5
|
+
import { D as authenticationMachine, S as AuthenticationConfig, b as CreateAuthenticationActorOptions, x as createAuthenticationActor, y as AuthenticationActor } from "./faceCaptureManagerFactory-Cg6hZagK.js";
|
|
6
|
+
import "./camera-BCAbwFy2.js";
|
|
7
|
+
import "./types-DGzov-rE.js";
|
|
8
|
+
import "./types-CURk4uNi.js";
|
|
9
|
+
import "./types-BPTRiryB.js";
|
|
10
|
+
import "./deepsightService-BoGtutuJ.js";
|
|
11
|
+
import "./types-C076XDan.js";
|
|
12
|
+
import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-BuofM548.js";
|
|
13
13
|
export { type AuthenticationActor, type AuthenticationConfig, type AuthenticationManager, type AuthenticationState, type CreateAuthenticationActorOptions, authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
|
@@ -11,15 +11,16 @@ import "./BrowserStorageProvider-BrJver0U.esm.js";
|
|
|
11
11
|
import "./MotionSensorProvider-D1JWpMLJ.esm.js";
|
|
12
12
|
import "./permissionServices-BjXAT5OT.esm.js";
|
|
13
13
|
import "./camera-P7dse339.esm.js";
|
|
14
|
-
import "./faceCaptureManagerFactory-
|
|
15
|
-
import "./recordingService-
|
|
14
|
+
import "./faceCaptureManagerFactory-DKE4-MLG.esm.js";
|
|
15
|
+
import "./recordingService-DDLGl-a3.esm.js";
|
|
16
16
|
import "./ITimerCapability-gIlcIrAX.esm.js";
|
|
17
17
|
import "./deepsightService-Dh9EiWze.esm.js";
|
|
18
18
|
import "./backCameraStream-sqXIvxpl.esm.js";
|
|
19
19
|
import "./getDeviceClass-C5yT6K2e.esm.js";
|
|
20
20
|
import "./getDeviceClass-cJ-TvND7.esm.js";
|
|
21
|
-
import "./
|
|
22
|
-
import
|
|
23
|
-
import {
|
|
21
|
+
import "./types-sA-iP7aF.esm.js";
|
|
22
|
+
import "./faceCaptureSetup-DIT_z0qp.esm.js";
|
|
23
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-ChPmwAAV.esm.js";
|
|
24
|
+
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-BnUv3sYx.esm.js";
|
|
24
25
|
|
|
25
26
|
export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
package/dist/{authenticationManager-SxHSXV3F.esm.js → authenticationManager-BnUv3sYx.esm.js}
RENAMED
|
@@ -2,8 +2,8 @@ import { t as WasmUtilProvider } from "./WasmUtilProvider-CeyOvhU2.esm.js";
|
|
|
2
2
|
import { n as eventModuleNames } from "./events-Bsw1l0pH.esm.js";
|
|
3
3
|
import { s as createActor } from "./xstate.esm-CWoFJOio.esm.js";
|
|
4
4
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-BrJver0U.esm.js";
|
|
5
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
6
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
5
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-DKE4-MLG.esm.js";
|
|
6
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-ChPmwAAV.esm.js";
|
|
7
7
|
|
|
8
8
|
//#region src/modules/authentication/authenticationActor.ts
|
|
9
9
|
function createAuthenticationActor(options) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import { b as CreateAuthenticationActorOptions, n as FaceCaptureManagerState, t as FaceCaptureManager, y as AuthenticationActor } from "./faceCaptureManagerFactory-
|
|
1
|
+
import { t as Manager } from "./Manager-C6PZlp2a.js";
|
|
2
|
+
import { b as CreateAuthenticationActorOptions, n as FaceCaptureManagerState, t as FaceCaptureManager, y as AuthenticationActor } from "./faceCaptureManagerFactory-Cg6hZagK.js";
|
|
3
3
|
|
|
4
4
|
//#region src/modules/authentication/authenticationManager.d.ts
|
|
5
5
|
type AuthenticationState = FaceCaptureManagerState;
|
|
@@ -2,9 +2,10 @@ import { t as api } from "./api-YxPMtty2.esm.js";
|
|
|
2
2
|
import { t as endpoints } from "./endpoints-BPHddOTi.esm.js";
|
|
3
3
|
import { t as addDeviceStats } from "./stats-AwLva7-C.esm.js";
|
|
4
4
|
import { a as fromPromise, r as assign } from "./xstate.esm-CWoFJOio.esm.js";
|
|
5
|
-
import {
|
|
5
|
+
import { d as postOnDeviceFaceResults, f as prepareOnDeviceFaceUpload, l as defaultPrepareFaceUpload, u as isOnDeviceMode } from "./recordingService-DDLGl-a3.esm.js";
|
|
6
6
|
import { t as getDeviceClass } from "./getDeviceClass-cJ-TvND7.esm.js";
|
|
7
|
-
import { t as
|
|
7
|
+
import { n as FACE_ERROR_CODES, t as ADVANCEABLE_TERMINAL_ERROR_CODES } from "./types-sA-iP7aF.esm.js";
|
|
8
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-DIT_z0qp.esm.js";
|
|
8
9
|
|
|
9
10
|
//#region src/modules/authentication/authenticationErrorUtils.ts
|
|
10
11
|
const AUTH_ERROR_MAP = {
|
|
@@ -28,7 +29,7 @@ const AUTH_ERROR_MAP = {
|
|
|
28
29
|
NONEXISTENT_CUSTOMER: FACE_ERROR_CODES.NONEXISTENT_CUSTOMER,
|
|
29
30
|
HINT_NOT_PROVIDED: FACE_ERROR_CODES.HINT_NOT_PROVIDED
|
|
30
31
|
};
|
|
31
|
-
const TERMINAL_AUTH_ERROR_CODES =
|
|
32
|
+
const TERMINAL_AUTH_ERROR_CODES = ADVANCEABLE_TERMINAL_ERROR_CODES;
|
|
32
33
|
const validateAuthUploadResponse = (response) => {
|
|
33
34
|
if (!response) return FACE_ERROR_CODES.SERVER;
|
|
34
35
|
if (response.overallStatus !== "PASS") return AUTH_ERROR_MAP[response.error?.name] ?? FACE_ERROR_CODES.SERVER;
|
|
@@ -113,9 +114,11 @@ const _authenticationMachine = faceCaptureMachine.provide({
|
|
|
113
114
|
} }),
|
|
114
115
|
setTerminalError: assign({ error: ({ context }) => {
|
|
115
116
|
const resp = context.uploadResponse;
|
|
117
|
+
const moduleErrorCode = resp ? AUTH_ERROR_MAP[resp.error?.name] : void 0;
|
|
116
118
|
if (context.attemptsRemaining <= 0) return {
|
|
117
119
|
type: "FACE_AUTH_ERROR",
|
|
118
|
-
message: "No more attempts remaining"
|
|
120
|
+
message: "No more attempts remaining",
|
|
121
|
+
moduleErrorCode
|
|
119
122
|
};
|
|
120
123
|
if (!resp) return {
|
|
121
124
|
type: "FACE_AUTH_ERROR",
|
|
@@ -123,7 +126,8 @@ const _authenticationMachine = faceCaptureMachine.provide({
|
|
|
123
126
|
};
|
|
124
127
|
return {
|
|
125
128
|
type: "FACE_AUTH_ERROR",
|
|
126
|
-
message: resp.error?.message ?? resp.error?.name ?? "Face authentication error"
|
|
129
|
+
message: resp.error?.message ?? resp.error?.name ?? "Face authentication error",
|
|
130
|
+
moduleErrorCode
|
|
127
131
|
};
|
|
128
132
|
} })
|
|
129
133
|
},
|
package/dist/camera.d.ts
CHANGED
package/dist/consent.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./Manager-
|
|
2
|
-
import "./Actor-
|
|
3
|
-
import { a as ConsentActor, c as ConsentConfig, i as createConsentManagerFromActor, n as ConsentState, o as consentMachine, r as createConsentManager, s as ConsentCheckbox, t as ConsentManager } from "./consentManager-
|
|
1
|
+
import "./Manager-C6PZlp2a.js";
|
|
2
|
+
import "./Actor-CcQ_EteO.js";
|
|
3
|
+
import { a as ConsentActor, c as ConsentConfig, i as createConsentManagerFromActor, n as ConsentState, o as consentMachine, r as createConsentManager, s as ConsentCheckbox, t as ConsentManager } from "./consentManager-CKvXqteP.js";
|
|
4
4
|
export { type ConsentActor, type ConsentCheckbox, type ConsentConfig, type ConsentManager, type ConsentState, consentMachine, createConsentManager, createConsentManagerFromActor };
|
package/dist/consent.esm.js
CHANGED
|
@@ -2,7 +2,7 @@ import "./api-YxPMtty2.esm.js";
|
|
|
2
2
|
import "./events-Bsw1l0pH.esm.js";
|
|
3
3
|
import "./endpoints-BPHddOTi.esm.js";
|
|
4
4
|
import "./xstate.esm-CWoFJOio.esm.js";
|
|
5
|
-
import { t as consentMachine } from "./consentStateMachine-
|
|
6
|
-
import { n as createConsentManagerFromActor, t as createConsentManager } from "./consentManager-
|
|
5
|
+
import { t as consentMachine } from "./consentStateMachine-Doxk7gh8.esm.js";
|
|
6
|
+
import { n as createConsentManagerFromActor, t as createConsentManager } from "./consentManager-DuiySGhz.esm.js";
|
|
7
7
|
|
|
8
8
|
export { consentMachine, createConsentManager, createConsentManagerFromActor };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import { t as ActorRefFrom } from "./Actor-
|
|
3
|
-
import * as
|
|
1
|
+
import { t as Manager } from "./Manager-C6PZlp2a.js";
|
|
2
|
+
import { t as ActorRefFrom } from "./Actor-CcQ_EteO.js";
|
|
3
|
+
import * as xstate1248 from "xstate";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/consent/types.d.ts
|
|
6
6
|
type ConsentConfig = {
|
|
@@ -37,7 +37,7 @@ type ConsentContext = {
|
|
|
37
37
|
type ConsentInput = {
|
|
38
38
|
config: ConsentConfig;
|
|
39
39
|
};
|
|
40
|
-
declare const consentMachine:
|
|
40
|
+
declare const consentMachine: xstate1248.StateMachine<ConsentContext, {
|
|
41
41
|
type: "LOAD";
|
|
42
42
|
} | {
|
|
43
43
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -49,55 +49,55 @@ declare const consentMachine: xstate136.StateMachine<ConsentContext, {
|
|
|
49
49
|
} | {
|
|
50
50
|
type: "RESET";
|
|
51
51
|
}, {
|
|
52
|
-
[x: string]:
|
|
52
|
+
[x: string]: xstate1248.ActorRefFromLogic<xstate1248.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
53
53
|
consentId: string;
|
|
54
54
|
language?: string;
|
|
55
|
-
},
|
|
55
|
+
}, xstate1248.EventObject>> | xstate1248.ActorRefFromLogic<xstate1248.PromiseActorLogic<void, {
|
|
56
56
|
languageConsentId: string;
|
|
57
57
|
checkboxes: ConsentCheckbox[];
|
|
58
|
-
},
|
|
59
|
-
},
|
|
58
|
+
}, xstate1248.EventObject>> | undefined;
|
|
59
|
+
}, xstate1248.Values<{
|
|
60
60
|
fetchConsent: {
|
|
61
61
|
src: "fetchConsent";
|
|
62
|
-
logic:
|
|
62
|
+
logic: xstate1248.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
63
63
|
consentId: string;
|
|
64
64
|
language?: string;
|
|
65
|
-
},
|
|
65
|
+
}, xstate1248.EventObject>;
|
|
66
66
|
id: string | undefined;
|
|
67
67
|
};
|
|
68
68
|
submitConsent: {
|
|
69
69
|
src: "submitConsent";
|
|
70
|
-
logic:
|
|
70
|
+
logic: xstate1248.PromiseActorLogic<void, {
|
|
71
71
|
languageConsentId: string;
|
|
72
72
|
checkboxes: ConsentCheckbox[];
|
|
73
|
-
},
|
|
73
|
+
}, xstate1248.EventObject>;
|
|
74
74
|
id: string | undefined;
|
|
75
75
|
};
|
|
76
|
-
}>,
|
|
76
|
+
}>, xstate1248.Values<{
|
|
77
|
+
resetContext: {
|
|
78
|
+
type: "resetContext";
|
|
79
|
+
params: xstate1248.NonReducibleUnknown;
|
|
80
|
+
};
|
|
77
81
|
setError: {
|
|
78
82
|
type: "setError";
|
|
79
|
-
params:
|
|
83
|
+
params: xstate1248.NonReducibleUnknown;
|
|
80
84
|
};
|
|
81
85
|
clearError: {
|
|
82
86
|
type: "clearError";
|
|
83
|
-
params:
|
|
87
|
+
params: xstate1248.NonReducibleUnknown;
|
|
84
88
|
};
|
|
85
89
|
setConsentData: {
|
|
86
90
|
type: "setConsentData";
|
|
87
|
-
params:
|
|
91
|
+
params: xstate1248.NonReducibleUnknown;
|
|
88
92
|
};
|
|
89
93
|
toggleCheckbox: {
|
|
90
94
|
type: "toggleCheckbox";
|
|
91
|
-
params:
|
|
92
|
-
};
|
|
93
|
-
resetContext: {
|
|
94
|
-
type: "resetContext";
|
|
95
|
-
params: xstate136.NonReducibleUnknown;
|
|
95
|
+
params: xstate1248.NonReducibleUnknown;
|
|
96
96
|
};
|
|
97
97
|
}>, {
|
|
98
98
|
type: "canSubmit";
|
|
99
99
|
params: unknown;
|
|
100
|
-
}, never, "error" | "idle" | "finished" | "loading" | "
|
|
100
|
+
}, never, "error" | "idle" | "finished" | "loading" | "display" | "submitting", string, ConsentInput, xstate1248.NonReducibleUnknown, xstate1248.EventObject, xstate1248.MetaObject, {
|
|
101
101
|
readonly id: "consent";
|
|
102
102
|
readonly initial: "idle";
|
|
103
103
|
readonly context: ({
|
|
@@ -106,73 +106,73 @@ declare const consentMachine: xstate136.StateMachine<ConsentContext, {
|
|
|
106
106
|
spawn: {
|
|
107
107
|
<TSrc extends "fetchConsent" | "submitConsent">(logic: TSrc, ...[options]: ({
|
|
108
108
|
src: "fetchConsent";
|
|
109
|
-
logic:
|
|
109
|
+
logic: xstate1248.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
110
110
|
consentId: string;
|
|
111
111
|
language?: string;
|
|
112
|
-
},
|
|
112
|
+
}, xstate1248.EventObject>;
|
|
113
113
|
id: string | undefined;
|
|
114
114
|
} extends infer T ? T extends {
|
|
115
115
|
src: "fetchConsent";
|
|
116
|
-
logic:
|
|
116
|
+
logic: xstate1248.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
117
117
|
consentId: string;
|
|
118
118
|
language?: string;
|
|
119
|
-
},
|
|
119
|
+
}, xstate1248.EventObject>;
|
|
120
120
|
id: string | undefined;
|
|
121
121
|
} ? T extends {
|
|
122
122
|
src: TSrc;
|
|
123
|
-
} ?
|
|
123
|
+
} ? xstate1248.ConditionalRequired<[options?: ({
|
|
124
124
|
id?: T["id"] | undefined;
|
|
125
125
|
systemId?: string;
|
|
126
|
-
input?:
|
|
126
|
+
input?: xstate1248.InputFrom<T["logic"]> | undefined;
|
|
127
127
|
syncSnapshot?: boolean;
|
|
128
|
-
} & { [K in
|
|
128
|
+
} & { [K in xstate1248.RequiredActorOptions<T>]: unknown }) | undefined], xstate1248.IsNotNever<xstate1248.RequiredActorOptions<T>>> : never : never : never) | ({
|
|
129
129
|
src: "submitConsent";
|
|
130
|
-
logic:
|
|
130
|
+
logic: xstate1248.PromiseActorLogic<void, {
|
|
131
131
|
languageConsentId: string;
|
|
132
132
|
checkboxes: ConsentCheckbox[];
|
|
133
|
-
},
|
|
133
|
+
}, xstate1248.EventObject>;
|
|
134
134
|
id: string | undefined;
|
|
135
135
|
} extends infer T_1 ? T_1 extends {
|
|
136
136
|
src: "submitConsent";
|
|
137
|
-
logic:
|
|
137
|
+
logic: xstate1248.PromiseActorLogic<void, {
|
|
138
138
|
languageConsentId: string;
|
|
139
139
|
checkboxes: ConsentCheckbox[];
|
|
140
|
-
},
|
|
140
|
+
}, xstate1248.EventObject>;
|
|
141
141
|
id: string | undefined;
|
|
142
142
|
} ? T_1 extends {
|
|
143
143
|
src: TSrc;
|
|
144
|
-
} ?
|
|
144
|
+
} ? xstate1248.ConditionalRequired<[options?: ({
|
|
145
145
|
id?: T_1["id"] | undefined;
|
|
146
146
|
systemId?: string;
|
|
147
|
-
input?:
|
|
147
|
+
input?: xstate1248.InputFrom<T_1["logic"]> | undefined;
|
|
148
148
|
syncSnapshot?: boolean;
|
|
149
|
-
} & { [K_1 in
|
|
149
|
+
} & { [K_1 in xstate1248.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate1248.IsNotNever<xstate1248.RequiredActorOptions<T_1>>> : never : never : never)): xstate1248.ActorRefFromLogic<xstate1248.GetConcreteByKey<xstate1248.Values<{
|
|
150
150
|
fetchConsent: {
|
|
151
151
|
src: "fetchConsent";
|
|
152
|
-
logic:
|
|
152
|
+
logic: xstate1248.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
153
153
|
consentId: string;
|
|
154
154
|
language?: string;
|
|
155
|
-
},
|
|
155
|
+
}, xstate1248.EventObject>;
|
|
156
156
|
id: string | undefined;
|
|
157
157
|
};
|
|
158
158
|
submitConsent: {
|
|
159
159
|
src: "submitConsent";
|
|
160
|
-
logic:
|
|
160
|
+
logic: xstate1248.PromiseActorLogic<void, {
|
|
161
161
|
languageConsentId: string;
|
|
162
162
|
checkboxes: ConsentCheckbox[];
|
|
163
|
-
},
|
|
163
|
+
}, xstate1248.EventObject>;
|
|
164
164
|
id: string | undefined;
|
|
165
165
|
};
|
|
166
166
|
}>, "src", TSrc>["logic"]>;
|
|
167
|
-
<TLogic extends
|
|
167
|
+
<TLogic extends xstate1248.AnyActorLogic>(src: TLogic, ...[options]: xstate1248.ConditionalRequired<[options?: ({
|
|
168
168
|
id?: never;
|
|
169
169
|
systemId?: string;
|
|
170
|
-
input?:
|
|
170
|
+
input?: xstate1248.InputFrom<TLogic> | undefined;
|
|
171
171
|
syncSnapshot?: boolean;
|
|
172
|
-
} & { [K in
|
|
172
|
+
} & { [K in xstate1248.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate1248.IsNotNever<xstate1248.RequiredLogicInput<TLogic>>>): xstate1248.ActorRefFromLogic<TLogic>;
|
|
173
173
|
};
|
|
174
174
|
input: ConsentInput;
|
|
175
|
-
self:
|
|
175
|
+
self: xstate1248.ActorRef<xstate1248.MachineSnapshot<ConsentContext, {
|
|
176
176
|
type: "LOAD";
|
|
177
177
|
} | {
|
|
178
178
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -183,7 +183,7 @@ declare const consentMachine: xstate136.StateMachine<ConsentContext, {
|
|
|
183
183
|
type: "RETRY";
|
|
184
184
|
} | {
|
|
185
185
|
type: "RESET";
|
|
186
|
-
}, Record<string,
|
|
186
|
+
}, Record<string, xstate1248.AnyActorRef | undefined>, xstate1248.StateValue, string, unknown, any, any>, {
|
|
187
187
|
type: "LOAD";
|
|
188
188
|
} | {
|
|
189
189
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -194,7 +194,7 @@ declare const consentMachine: xstate136.StateMachine<ConsentContext, {
|
|
|
194
194
|
type: "RETRY";
|
|
195
195
|
} | {
|
|
196
196
|
type: "RESET";
|
|
197
|
-
},
|
|
197
|
+
}, xstate1248.AnyEventObject>;
|
|
198
198
|
}) => {
|
|
199
199
|
config: ConsentConfig;
|
|
200
200
|
title: string;
|
|
@@ -232,7 +232,7 @@ declare const consentMachine: xstate136.StateMachine<ConsentContext, {
|
|
|
232
232
|
} | {
|
|
233
233
|
type: "RESET";
|
|
234
234
|
};
|
|
235
|
-
self:
|
|
235
|
+
self: xstate1248.ActorRef<xstate1248.MachineSnapshot<ConsentContext, {
|
|
236
236
|
type: "LOAD";
|
|
237
237
|
} | {
|
|
238
238
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -243,7 +243,7 @@ declare const consentMachine: xstate136.StateMachine<ConsentContext, {
|
|
|
243
243
|
type: "RETRY";
|
|
244
244
|
} | {
|
|
245
245
|
type: "RESET";
|
|
246
|
-
}, Record<string,
|
|
246
|
+
}, Record<string, xstate1248.AnyActorRef>, xstate1248.StateValue, string, unknown, any, any>, {
|
|
247
247
|
type: "LOAD";
|
|
248
248
|
} | {
|
|
249
249
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -254,7 +254,7 @@ declare const consentMachine: xstate136.StateMachine<ConsentContext, {
|
|
|
254
254
|
type: "RETRY";
|
|
255
255
|
} | {
|
|
256
256
|
type: "RESET";
|
|
257
|
-
},
|
|
257
|
+
}, xstate1248.AnyEventObject>;
|
|
258
258
|
}) => {
|
|
259
259
|
consentId: string;
|
|
260
260
|
language: string | undefined;
|
|
@@ -304,7 +304,7 @@ declare const consentMachine: xstate136.StateMachine<ConsentContext, {
|
|
|
304
304
|
} | {
|
|
305
305
|
type: "RESET";
|
|
306
306
|
};
|
|
307
|
-
self:
|
|
307
|
+
self: xstate1248.ActorRef<xstate1248.MachineSnapshot<ConsentContext, {
|
|
308
308
|
type: "LOAD";
|
|
309
309
|
} | {
|
|
310
310
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -315,7 +315,7 @@ declare const consentMachine: xstate136.StateMachine<ConsentContext, {
|
|
|
315
315
|
type: "RETRY";
|
|
316
316
|
} | {
|
|
317
317
|
type: "RESET";
|
|
318
|
-
}, Record<string,
|
|
318
|
+
}, Record<string, xstate1248.AnyActorRef>, xstate1248.StateValue, string, unknown, any, any>, {
|
|
319
319
|
type: "LOAD";
|
|
320
320
|
} | {
|
|
321
321
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -326,7 +326,7 @@ declare const consentMachine: xstate136.StateMachine<ConsentContext, {
|
|
|
326
326
|
type: "RETRY";
|
|
327
327
|
} | {
|
|
328
328
|
type: "RESET";
|
|
329
|
-
},
|
|
329
|
+
}, xstate1248.AnyEventObject>;
|
|
330
330
|
}) => {
|
|
331
331
|
languageConsentId: string;
|
|
332
332
|
checkboxes: ConsentCheckbox[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Bsw1l0pH.esm.js";
|
|
2
2
|
import { c as createManager, s as createActor } from "./xstate.esm-CWoFJOio.esm.js";
|
|
3
|
-
import { t as consentMachine } from "./consentStateMachine-
|
|
3
|
+
import { t as consentMachine } from "./consentStateMachine-Doxk7gh8.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/consent/consentActor.ts
|
|
6
6
|
function createConsentActor(options) {
|
package/dist/cpf-ocr.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "./Manager-
|
|
2
|
-
import "./Actor-
|
|
3
|
-
import { a as CpfOcrActor, i as createCpfOcrManagerFromActor, n as CpfOcrState, o as cpfOcrMachine, r as createCpfOcrManager, t as CpfOcrManager } from "./cpfOcrManager-
|
|
1
|
+
import "./Manager-C6PZlp2a.js";
|
|
2
|
+
import "./Actor-CcQ_EteO.js";
|
|
3
|
+
import { a as CpfOcrActor, i as createCpfOcrManagerFromActor, n as CpfOcrState, o as cpfOcrMachine, r as createCpfOcrManager, t as CpfOcrManager } from "./cpfOcrManager-DUPi3yTh.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/cpf-ocr/cpfOcrUtils.d.ts
|
|
6
6
|
declare function formatCPF(value: string): string;
|
package/dist/cpf-ocr.esm.js
CHANGED
|
@@ -2,7 +2,7 @@ import "./api-YxPMtty2.esm.js";
|
|
|
2
2
|
import "./events-Bsw1l0pH.esm.js";
|
|
3
3
|
import "./endpoints-BPHddOTi.esm.js";
|
|
4
4
|
import "./xstate.esm-CWoFJOio.esm.js";
|
|
5
|
-
import { a as isValidCPF, i as formatCPF, n as createCpfOcrManagerFromActor, r as cpfOcrMachine, t as createCpfOcrManager } from "./cpfOcrManager-
|
|
6
|
-
import "./cpf-
|
|
5
|
+
import { a as isValidCPF, i as formatCPF, n as createCpfOcrManagerFromActor, r as cpfOcrMachine, t as createCpfOcrManager } from "./cpfOcrManager-D6GvdpFQ.esm.js";
|
|
6
|
+
import "./cpf-DuVa7wl0.esm.js";
|
|
7
7
|
|
|
8
8
|
export { cpfOcrMachine, createCpfOcrManager, createCpfOcrManagerFromActor, formatCPF, isValidCPF };
|
|
@@ -2,7 +2,7 @@ import { t as api } from "./api-YxPMtty2.esm.js";
|
|
|
2
2
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Bsw1l0pH.esm.js";
|
|
3
3
|
import { t as endpoints } from "./endpoints-BPHddOTi.esm.js";
|
|
4
4
|
import { a as fromPromise, c as createManager, r as assign, s as createActor, t as setup } from "./xstate.esm-CWoFJOio.esm.js";
|
|
5
|
-
import { t as validateCPF } from "./cpf-
|
|
5
|
+
import { t as validateCPF } from "./cpf-DuVa7wl0.esm.js";
|
|
6
6
|
|
|
7
7
|
//#region src/modules/cpf-ocr/cpfOcrServices.ts
|
|
8
8
|
async function fetchCpfOcrData(signal) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import { t as ActorRefFrom } from "./Actor-
|
|
3
|
-
import * as
|
|
1
|
+
import { t as Manager } from "./Manager-C6PZlp2a.js";
|
|
2
|
+
import { t as ActorRefFrom } from "./Actor-CcQ_EteO.js";
|
|
3
|
+
import * as xstate1223 from "xstate";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/cpf-ocr/types.d.ts
|
|
6
6
|
type CpfOcrDataResponse = {
|
|
@@ -17,7 +17,7 @@ type CpfOcrContext = {
|
|
|
17
17
|
error: string | undefined;
|
|
18
18
|
};
|
|
19
19
|
type CpfOcrInput = Record<string, never>;
|
|
20
|
-
declare const cpfOcrMachine:
|
|
20
|
+
declare const cpfOcrMachine: xstate1223.StateMachine<CpfOcrContext, {
|
|
21
21
|
type: "LOAD";
|
|
22
22
|
} | {
|
|
23
23
|
type: "SET_CPF";
|
|
@@ -27,43 +27,43 @@ declare const cpfOcrMachine: xstate111.StateMachine<CpfOcrContext, {
|
|
|
27
27
|
} | {
|
|
28
28
|
type: "RETRY";
|
|
29
29
|
}, {
|
|
30
|
-
[x: string]:
|
|
30
|
+
[x: string]: xstate1223.ActorRefFromLogic<xstate1223.PromiseActorLogic<CpfOcrDataResponse, void, xstate1223.EventObject>> | xstate1223.ActorRefFromLogic<xstate1223.PromiseActorLogic<CpfOcrUpdateResponse, {
|
|
31
31
|
cpf: string;
|
|
32
|
-
},
|
|
33
|
-
},
|
|
32
|
+
}, xstate1223.EventObject>> | undefined;
|
|
33
|
+
}, xstate1223.Values<{
|
|
34
34
|
fetchCpfOcrData: {
|
|
35
35
|
src: "fetchCpfOcrData";
|
|
36
|
-
logic:
|
|
36
|
+
logic: xstate1223.PromiseActorLogic<CpfOcrDataResponse, void, xstate1223.EventObject>;
|
|
37
37
|
id: string | undefined;
|
|
38
38
|
};
|
|
39
39
|
submitCpfOcr: {
|
|
40
40
|
src: "submitCpfOcr";
|
|
41
|
-
logic:
|
|
41
|
+
logic: xstate1223.PromiseActorLogic<CpfOcrUpdateResponse, {
|
|
42
42
|
cpf: string;
|
|
43
|
-
},
|
|
43
|
+
}, xstate1223.EventObject>;
|
|
44
44
|
id: string | undefined;
|
|
45
45
|
};
|
|
46
|
-
}>,
|
|
46
|
+
}>, xstate1223.Values<{
|
|
47
47
|
setError: {
|
|
48
48
|
type: "setError";
|
|
49
|
-
params:
|
|
49
|
+
params: xstate1223.NonReducibleUnknown;
|
|
50
|
+
};
|
|
51
|
+
clearError: {
|
|
52
|
+
type: "clearError";
|
|
53
|
+
params: xstate1223.NonReducibleUnknown;
|
|
50
54
|
};
|
|
51
55
|
setPrefill: {
|
|
52
56
|
type: "setPrefill";
|
|
53
|
-
params:
|
|
57
|
+
params: xstate1223.NonReducibleUnknown;
|
|
54
58
|
};
|
|
55
59
|
setCpf: {
|
|
56
60
|
type: "setCpf";
|
|
57
|
-
params:
|
|
58
|
-
};
|
|
59
|
-
clearError: {
|
|
60
|
-
type: "clearError";
|
|
61
|
-
params: xstate111.NonReducibleUnknown;
|
|
61
|
+
params: xstate1223.NonReducibleUnknown;
|
|
62
62
|
};
|
|
63
63
|
}>, {
|
|
64
64
|
type: "isValid";
|
|
65
65
|
params: unknown;
|
|
66
|
-
}, never, "error" | "idle" | "finished" | "loading" | "
|
|
66
|
+
}, never, "error" | "idle" | "finished" | "loading" | "submitting" | "inputting", string, CpfOcrInput, xstate1223.NonReducibleUnknown, xstate1223.EventObject, xstate1223.MetaObject, {
|
|
67
67
|
readonly id: "cpfOcr";
|
|
68
68
|
readonly initial: "idle";
|
|
69
69
|
readonly context: {
|
|
@@ -118,7 +118,7 @@ declare const cpfOcrMachine: xstate111.StateMachine<CpfOcrContext, {
|
|
|
118
118
|
} | {
|
|
119
119
|
type: "RETRY";
|
|
120
120
|
};
|
|
121
|
-
self:
|
|
121
|
+
self: xstate1223.ActorRef<xstate1223.MachineSnapshot<CpfOcrContext, {
|
|
122
122
|
type: "LOAD";
|
|
123
123
|
} | {
|
|
124
124
|
type: "SET_CPF";
|
|
@@ -127,7 +127,7 @@ declare const cpfOcrMachine: xstate111.StateMachine<CpfOcrContext, {
|
|
|
127
127
|
type: "SUBMIT";
|
|
128
128
|
} | {
|
|
129
129
|
type: "RETRY";
|
|
130
|
-
}, Record<string,
|
|
130
|
+
}, Record<string, xstate1223.AnyActorRef>, xstate1223.StateValue, string, unknown, any, any>, {
|
|
131
131
|
type: "LOAD";
|
|
132
132
|
} | {
|
|
133
133
|
type: "SET_CPF";
|
|
@@ -136,7 +136,7 @@ declare const cpfOcrMachine: xstate111.StateMachine<CpfOcrContext, {
|
|
|
136
136
|
type: "SUBMIT";
|
|
137
137
|
} | {
|
|
138
138
|
type: "RETRY";
|
|
139
|
-
},
|
|
139
|
+
}, xstate1223.AnyEventObject>;
|
|
140
140
|
}) => {
|
|
141
141
|
cpf: string;
|
|
142
142
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "./Manager-
|
|
2
|
-
import "./Actor-
|
|
3
|
-
import "./camera-
|
|
4
|
-
import "./types-
|
|
5
|
-
import "./types-
|
|
6
|
-
import "./types-
|
|
7
|
-
import { a as CurpValidationActor, c as CurpValidationErrors, d as GenerateCurpFieldDef, f as GenerateCurpFieldType, i as createCurpValidationManagerFromActor, l as CurpValidationRule, n as CurpValidationState, o as curpValidationMachine, p as GenerateCurpForm, r as createCurpValidationManager, s as CurpValidationConfig, t as CurpValidationManager, u as EnterCurpFieldDef } from "./curpValidationManager-
|
|
1
|
+
import "./Manager-C6PZlp2a.js";
|
|
2
|
+
import "./Actor-CcQ_EteO.js";
|
|
3
|
+
import "./camera-BCAbwFy2.js";
|
|
4
|
+
import "./types-DGzov-rE.js";
|
|
5
|
+
import "./types-CURk4uNi.js";
|
|
6
|
+
import "./types-BPTRiryB.js";
|
|
7
|
+
import { a as CurpValidationActor, c as CurpValidationErrors, d as GenerateCurpFieldDef, f as GenerateCurpFieldType, i as createCurpValidationManagerFromActor, l as CurpValidationRule, n as CurpValidationState, o as curpValidationMachine, p as GenerateCurpForm, r as createCurpValidationManager, s as CurpValidationConfig, t as CurpValidationManager, u as EnterCurpFieldDef } from "./curpValidationManager-A17z2p8Z.js";
|
|
8
8
|
|
|
9
9
|
//#region src/modules/curp-validation/curpValidationUtils.d.ts
|
|
10
10
|
type MexicanState = {
|
|
@@ -2,7 +2,7 @@ import "./api-YxPMtty2.esm.js";
|
|
|
2
2
|
import "./events-Bsw1l0pH.esm.js";
|
|
3
3
|
import "./endpoints-BPHddOTi.esm.js";
|
|
4
4
|
import "./xstate.esm-CWoFJOio.esm.js";
|
|
5
|
-
import { i as mexicanStates, n as ENTER_CURP_FIELD, r as GENERATE_CURP_FIELDS, t as curpValidationMachine } from "./curpValidationStateMachine-
|
|
6
|
-
import { n as createCurpValidationManagerFromActor, t as createCurpValidationManager } from "./curpValidationManager-
|
|
5
|
+
import { i as mexicanStates, n as ENTER_CURP_FIELD, r as GENERATE_CURP_FIELDS, t as curpValidationMachine } from "./curpValidationStateMachine-DdqqjX0e.esm.js";
|
|
6
|
+
import { n as createCurpValidationManagerFromActor, t as createCurpValidationManager } from "./curpValidationManager-Ly5tD2Q8.esm.js";
|
|
7
7
|
|
|
8
8
|
export { ENTER_CURP_FIELD, GENERATE_CURP_FIELDS, createCurpValidationManager, createCurpValidationManagerFromActor, curpValidationMachine, mexicanStates };
|