@incodetech/core 0.0.0-dev-20260409-0e64d73 → 0.0.0-dev-20260413-de45fd6
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/{addressSearch-CDdN30un.esm.js → addressSearch-DdrQw-hp.esm.js} +1 -1
- package/dist/antifraud.esm.js +2 -2
- package/dist/{antifraudStateMachine-C1AgS0nL.esm.js → antifraudStateMachine-DZKc03yw.esm.js} +1 -1
- package/dist/authentication.d.ts +4 -4
- package/dist/authentication.esm.js +6 -6
- package/dist/{authenticationManager-UaO9UTN7.esm.js → authenticationManager-BAYd8gOR.esm.js} +3 -3
- package/dist/{authenticationManager-DYFYx68i.d.ts → authenticationManager-FnMwzV2u.d.ts} +1 -1
- package/dist/{authenticationStateMachine-DWI65EwK.esm.js → authenticationStateMachine-D12jAEkO.esm.js} +3 -3
- package/dist/consent.d.ts +56 -56
- package/dist/consent.esm.js +2 -2
- package/dist/{consentStateMachine-CpRu2hF0.esm.js → consentStateMachine-BPQ4O1Ye.esm.js} +1 -1
- package/dist/cross-document-data-match.esm.js +1 -1
- package/dist/curp-validation.d.ts +1 -1
- package/dist/curp-validation.esm.js +2 -2
- package/dist/{curpValidationStateMachine-Czzgv2W1.esm.js → curpValidationStateMachine-DxuEodU2.esm.js} +1 -1
- package/dist/document-capture.d.ts +71 -71
- package/dist/document-capture.esm.js +2 -2
- package/dist/document-upload.d.ts +47 -47
- package/dist/document-upload.esm.js +1 -1
- package/dist/{documentCaptureStateMachine-XbpsHzh5.esm.js → documentCaptureStateMachine-DLhPQTCu.esm.js} +1 -1
- package/dist/ekyb.d.ts +1 -1
- package/dist/ekyb.esm.js +5 -5
- package/dist/{ekybStateMachine-BDuCae6s.esm.js → ekybStateMachine-M7Upw7fD.esm.js} +3 -3
- package/dist/ekyc.d.ts +1 -1
- package/dist/ekyc.esm.js +3 -3
- package/dist/{ekycStateMachine-DCeUngwi.esm.js → ekycStateMachine-DHyAEUnE.esm.js} +2 -2
- package/dist/email.d.ts +2 -2
- package/dist/email.esm.js +3 -3
- package/dist/{emailManager-CAeo59lD.esm.js → emailManager-C8Zbw5xl.esm.js} +2 -2
- package/dist/{emailManager-CZYfcu0n.d.ts → emailManager-NVkr3gYf.d.ts} +1 -1
- package/dist/{emailStateMachine-Bqwe_sQS.esm.js → emailStateMachine-DSaFON9T.esm.js} +1 -1
- package/dist/{events-CZ2ka3pu.esm.js → events-BjiB9Q1C.esm.js} +1 -0
- package/dist/events.d.ts +1 -0
- package/dist/events.esm.js +1 -1
- package/dist/extensibility.d.ts +8 -8
- package/dist/extensibility.esm.js +15 -15
- package/dist/face-match.esm.js +2 -2
- package/dist/{faceCaptureManagerFactory-D8zlMTvd.esm.js → faceCaptureManagerFactory-B1-bhK3L.esm.js} +68 -2
- package/dist/{faceCaptureManagerFactory-DS-6yCya.d.ts → faceCaptureManagerFactory-D5WpBtSM.d.ts} +2 -2
- package/dist/{faceCaptureSetup-1M6uUEjK.esm.js → faceCaptureSetup-CnpsYL-c.esm.js} +1 -1
- package/dist/{faceMatchStateMachine-D3DuP_ya.esm.js → faceMatchStateMachine-DfGqIm8j.esm.js} +1 -1
- package/dist/flow.d.ts +2 -2
- package/dist/flow.esm.js +4 -4
- package/dist/{flowCompletionService-W6bj7Xd3.esm.js → flowCompletionService-8Udg-BwW.esm.js} +1 -1
- package/dist/{flowServices-C4tjBD8q.esm.js → flowServices-D4yGOYZG.esm.js} +2 -2
- package/dist/geolocation.d.ts +1 -1
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationStateMachine-Bj2LkGwy.esm.js → geolocationStateMachine-NFrAD2gH.esm.js} +1 -1
- package/dist/government-validation.d.ts +1 -1
- package/dist/government-validation.esm.js +2 -2
- package/dist/{governmentValidationStateMachine-W1CzRjVw.esm.js → governmentValidationStateMachine-CAxpYlz3.esm.js} +1 -1
- package/dist/id.d.ts +3 -3
- package/dist/id.esm.js +5 -5
- package/dist/{idCaptureManager-oR6YPYHj.d.ts → idCaptureManager-DfaZzJV3.d.ts} +2 -2
- package/dist/{idCaptureManager-BcS8fgW4.esm.js → idCaptureManager-DruPQ5pA.esm.js} +2 -2
- package/dist/{idCaptureStateMachine-MAzfM_2O.esm.js → idCaptureStateMachine-CEHQVPXX.esm.js} +3 -3
- package/dist/identity-reuse.d.ts +45 -45
- package/dist/identity-reuse.esm.js +1 -1
- package/dist/index.esm.js +3 -3
- package/dist/mandatory-consent.d.ts +53 -53
- package/dist/mandatory-consent.esm.js +2 -2
- package/dist/{mandatoryConsentStateMachine-BMKi26Re.esm.js → mandatoryConsentStateMachine-zHii57mc.esm.js} +1 -1
- package/dist/phone.d.ts +2 -2
- package/dist/phone.esm.js +3 -3
- package/dist/{phoneManager-Bvj6Jr4o.esm.js → phoneManager-Cpd4VD3O.esm.js} +2 -2
- package/dist/{phoneManager-CCMCkyYr.d.ts → phoneManager-KeGunMJF.d.ts} +1 -1
- package/dist/{phoneStateMachine-B1t1Z-Dd.esm.js → phoneStateMachine-Bhzv058R.esm.js} +1 -1
- package/dist/{recordingService-8I_-hhNI.esm.js → recordingService-Drvj5nOf.esm.js} +1 -1
- package/dist/redirect-to-mobile.d.ts +1 -1
- package/dist/redirect-to-mobile.esm.js +2 -2
- package/dist/{redirectToMobileStateMachine-BVP1KcoO.esm.js → redirectToMobileStateMachine-ChdhlqsE.esm.js} +1 -1
- package/dist/selfie.d.ts +4 -4
- package/dist/selfie.esm.js +6 -6
- package/dist/{selfieManager-gizt3Zha.d.ts → selfieManager-LrnnqNh8.d.ts} +1 -1
- package/dist/{selfieManager-B6x3O5Ns.esm.js → selfieManager-VXvYzqpE.esm.js} +3 -3
- package/dist/{selfieStateMachine-DHPSBFj0.esm.js → selfieStateMachine-UFiVoA2o.esm.js} +2 -2
- package/dist/{session-DoI-X9FK.esm.js → session-DFNlZPO2.esm.js} +1 -1
- package/dist/session.esm.js +3 -3
- package/dist/{setup-Bh2S53NT.esm.js → setup-D4wIfKMo.esm.js} +2 -2
- package/dist/signature.d.ts +1 -1
- package/dist/signature.esm.js +2 -2
- package/dist/{signatureStateMachine-Cv7yPuEf.esm.js → signatureStateMachine-BwEaOwbU.esm.js} +1 -1
- package/dist/{types-BdEM5Jj7.d.ts → types-CvrR1E0A.d.ts} +1 -1
- package/dist/wasm.esm.js +3 -3
- package/dist/workflow.d.ts +84 -84
- package/dist/workflow.esm.js +24 -24
- package/package.json +1 -1
- /package/dist/{Actor-BkPcZGke.d.ts → Actor-KC-0sV1E.d.ts} +0 -0
- /package/dist/{StateMachine-DIeoDJ7r.d.ts → StateMachine-BQSmCXnT.d.ts} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as api } from "./api-CqKwkjJ3.esm.js";
|
|
2
|
-
import { _ as endpoints } from "./events-
|
|
2
|
+
import { _ as endpoints } from "./events-BjiB9Q1C.esm.js";
|
|
3
3
|
import { r as fromCallback } from "./xstate.esm-D7D6CGwY.esm.js";
|
|
4
4
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-CSdm7__S.esm.js";
|
|
5
5
|
|
package/dist/antifraud.esm.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./api-CqKwkjJ3.esm.js";
|
|
2
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
2
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-BjiB9Q1C.esm.js";
|
|
3
3
|
import { a as createActor, o as createManager } from "./xstate.esm-D7D6CGwY.esm.js";
|
|
4
|
-
import { t as antifraudMachine } from "./antifraudStateMachine-
|
|
4
|
+
import { t as antifraudMachine } from "./antifraudStateMachine-DZKc03yw.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/antifraud/antifraudActor.ts
|
|
7
7
|
function createAntifraudActor() {
|
package/dist/{antifraudStateMachine-C1AgS0nL.esm.js → antifraudStateMachine-DZKc03yw.esm.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as api } from "./api-CqKwkjJ3.esm.js";
|
|
2
|
-
import { _ as endpoints } from "./events-
|
|
2
|
+
import { _ as endpoints } from "./events-BjiB9Q1C.esm.js";
|
|
3
3
|
import { i as fromPromise, t as setup } from "./xstate.esm-D7D6CGwY.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/antifraud/antifraudServices.ts
|
package/dist/authentication.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import "./warmup-Cs0uqxUW.js";
|
|
2
2
|
import "./Manager-Bcnemkyi.js";
|
|
3
|
-
import "./
|
|
4
|
-
import "./
|
|
5
|
-
import { _ as AuthenticationConfig, b as authenticationMachine, g as createAuthenticationActor, h as CreateAuthenticationActorOptions, m as AuthenticationActor } from "./faceCaptureManagerFactory-
|
|
3
|
+
import "./StateMachine-BQSmCXnT.js";
|
|
4
|
+
import "./Actor-KC-0sV1E.js";
|
|
5
|
+
import { _ as AuthenticationConfig, b as authenticationMachine, g as createAuthenticationActor, h as CreateAuthenticationActorOptions, m as AuthenticationActor } from "./faceCaptureManagerFactory-D5WpBtSM.js";
|
|
6
6
|
import "./camera-CgnuDuxy.js";
|
|
7
7
|
import "./types-CdlQrTiZ.js";
|
|
8
8
|
import "./types-m43DfiSx.js";
|
|
9
9
|
import "./deepsightService-DAeakjDd.js";
|
|
10
10
|
import "./types-CxU9jTRl.js";
|
|
11
|
-
import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-
|
|
11
|
+
import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-FnMwzV2u.js";
|
|
12
12
|
export { type AuthenticationActor, type AuthenticationConfig, type AuthenticationManager, type AuthenticationState, type CreateAuthenticationActorOptions, authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import "./BaseWasmProvider-C73c2nV9.esm.js";
|
|
2
2
|
import "./WasmUtilProvider-DRh0wrlm.esm.js";
|
|
3
3
|
import "./api-CqKwkjJ3.esm.js";
|
|
4
|
-
import "./events-
|
|
4
|
+
import "./events-BjiB9Q1C.esm.js";
|
|
5
5
|
import "./browserSimulation-7W5-A3RV.esm.js";
|
|
6
6
|
import "./xstate.esm-D7D6CGwY.esm.js";
|
|
7
|
-
import "./faceCaptureManagerFactory-
|
|
7
|
+
import "./faceCaptureManagerFactory-B1-bhK3L.esm.js";
|
|
8
8
|
import "./BrowserStorageProvider-ByxoNfxC.esm.js";
|
|
9
|
-
import "./recordingService-
|
|
9
|
+
import "./recordingService-Drvj5nOf.esm.js";
|
|
10
10
|
import "./deepsightService-D4mM8yJ2.esm.js";
|
|
11
11
|
import "./camera-B-5traWf.esm.js";
|
|
12
12
|
import "./getBrowser-DJkbzQ5t.esm.js";
|
|
@@ -17,8 +17,8 @@ import "./platform-BfoqeM61.esm.js";
|
|
|
17
17
|
import "./ITimerCapability-DAIaq369.esm.js";
|
|
18
18
|
import "./backCameraStream-BihRmMzc.esm.js";
|
|
19
19
|
import "./getDeviceClass-BoiWvKAc.esm.js";
|
|
20
|
-
import "./faceCaptureSetup-
|
|
21
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
22
|
-
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-
|
|
20
|
+
import "./faceCaptureSetup-CnpsYL-c.esm.js";
|
|
21
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-D12jAEkO.esm.js";
|
|
22
|
+
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-BAYd8gOR.esm.js";
|
|
23
23
|
|
|
24
24
|
export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
package/dist/{authenticationManager-UaO9UTN7.esm.js → authenticationManager-BAYd8gOR.esm.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-DRh0wrlm.esm.js";
|
|
2
|
-
import { n as eventModuleNames } from "./events-
|
|
2
|
+
import { n as eventModuleNames } from "./events-BjiB9Q1C.esm.js";
|
|
3
3
|
import { a as createActor } from "./xstate.esm-D7D6CGwY.esm.js";
|
|
4
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
4
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-B1-bhK3L.esm.js";
|
|
5
5
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-ByxoNfxC.esm.js";
|
|
6
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
6
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-D12jAEkO.esm.js";
|
|
7
7
|
|
|
8
8
|
//#region src/modules/authentication/authenticationActor.ts
|
|
9
9
|
function createAuthenticationActor(options) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as Manager } from "./Manager-Bcnemkyi.js";
|
|
2
|
-
import { h as CreateAuthenticationActorOptions, m as AuthenticationActor, n as FaceCaptureManagerState, t as FaceCaptureManager } from "./faceCaptureManagerFactory-
|
|
2
|
+
import { h as CreateAuthenticationActorOptions, m as AuthenticationActor, n as FaceCaptureManagerState, t as FaceCaptureManager } from "./faceCaptureManagerFactory-D5WpBtSM.js";
|
|
3
3
|
|
|
4
4
|
//#region src/modules/authentication/authenticationManager.d.ts
|
|
5
5
|
type AuthenticationState = FaceCaptureManagerState;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as api } from "./api-CqKwkjJ3.esm.js";
|
|
2
|
-
import { _ as endpoints } from "./events-
|
|
2
|
+
import { _ as endpoints } from "./events-BjiB9Q1C.esm.js";
|
|
3
3
|
import { i as fromPromise, n as assign } from "./xstate.esm-D7D6CGwY.esm.js";
|
|
4
|
-
import { v as FACE_ERROR_CODES } from "./recordingService-
|
|
4
|
+
import { v as FACE_ERROR_CODES } from "./recordingService-Drvj5nOf.esm.js";
|
|
5
5
|
import { t as getDeviceClass } from "./getDeviceClass-BoiWvKAc.esm.js";
|
|
6
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
6
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-CnpsYL-c.esm.js";
|
|
7
7
|
|
|
8
8
|
//#region src/modules/authentication/authenticationErrorUtils.ts
|
|
9
9
|
const AUTH_ERROR_MAP = {
|
package/dist/consent.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as Manager } from "./Manager-Bcnemkyi.js";
|
|
2
|
-
import "./Actor-
|
|
3
|
-
import * as
|
|
2
|
+
import "./Actor-KC-0sV1E.js";
|
|
3
|
+
import * as xstate237 from "xstate";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/consent/types.d.ts
|
|
6
6
|
type ConsentConfig = {
|
|
@@ -36,7 +36,7 @@ type ConsentContext = {
|
|
|
36
36
|
type ConsentInput = {
|
|
37
37
|
config: ConsentConfig;
|
|
38
38
|
};
|
|
39
|
-
declare const consentMachine:
|
|
39
|
+
declare const consentMachine: xstate237.StateMachine<ConsentContext, {
|
|
40
40
|
type: "LOAD";
|
|
41
41
|
} | {
|
|
42
42
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -48,53 +48,53 @@ declare const consentMachine: xstate0.StateMachine<ConsentContext, {
|
|
|
48
48
|
} | {
|
|
49
49
|
type: "RESET";
|
|
50
50
|
}, {
|
|
51
|
-
[x: string]:
|
|
51
|
+
[x: string]: xstate237.ActorRefFromLogic<xstate237.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
52
52
|
consentId: string;
|
|
53
|
-
},
|
|
53
|
+
}, xstate237.EventObject>> | xstate237.ActorRefFromLogic<xstate237.PromiseActorLogic<void, {
|
|
54
54
|
languageConsentId: string;
|
|
55
55
|
checkboxes: ConsentCheckbox[];
|
|
56
|
-
},
|
|
57
|
-
},
|
|
56
|
+
}, xstate237.EventObject>> | undefined;
|
|
57
|
+
}, xstate237.Values<{
|
|
58
58
|
fetchConsent: {
|
|
59
59
|
src: "fetchConsent";
|
|
60
|
-
logic:
|
|
60
|
+
logic: xstate237.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
61
61
|
consentId: string;
|
|
62
|
-
},
|
|
62
|
+
}, xstate237.EventObject>;
|
|
63
63
|
id: string | undefined;
|
|
64
64
|
};
|
|
65
65
|
submitConsent: {
|
|
66
66
|
src: "submitConsent";
|
|
67
|
-
logic:
|
|
67
|
+
logic: xstate237.PromiseActorLogic<void, {
|
|
68
68
|
languageConsentId: string;
|
|
69
69
|
checkboxes: ConsentCheckbox[];
|
|
70
|
-
},
|
|
70
|
+
}, xstate237.EventObject>;
|
|
71
71
|
id: string | undefined;
|
|
72
72
|
};
|
|
73
|
-
}>,
|
|
74
|
-
|
|
75
|
-
type: "
|
|
76
|
-
params:
|
|
77
|
-
};
|
|
78
|
-
toggleCheckbox: {
|
|
79
|
-
type: "toggleCheckbox";
|
|
80
|
-
params: xstate0.NonReducibleUnknown;
|
|
73
|
+
}>, xstate237.Values<{
|
|
74
|
+
clearError: {
|
|
75
|
+
type: "clearError";
|
|
76
|
+
params: xstate237.NonReducibleUnknown;
|
|
81
77
|
};
|
|
82
78
|
setError: {
|
|
83
79
|
type: "setError";
|
|
84
|
-
params:
|
|
85
|
-
};
|
|
86
|
-
clearError: {
|
|
87
|
-
type: "clearError";
|
|
88
|
-
params: xstate0.NonReducibleUnknown;
|
|
80
|
+
params: xstate237.NonReducibleUnknown;
|
|
89
81
|
};
|
|
90
82
|
resetContext: {
|
|
91
83
|
type: "resetContext";
|
|
92
|
-
params:
|
|
84
|
+
params: xstate237.NonReducibleUnknown;
|
|
85
|
+
};
|
|
86
|
+
setConsentData: {
|
|
87
|
+
type: "setConsentData";
|
|
88
|
+
params: xstate237.NonReducibleUnknown;
|
|
89
|
+
};
|
|
90
|
+
toggleCheckbox: {
|
|
91
|
+
type: "toggleCheckbox";
|
|
92
|
+
params: xstate237.NonReducibleUnknown;
|
|
93
93
|
};
|
|
94
94
|
}>, {
|
|
95
95
|
type: "canSubmit";
|
|
96
96
|
params: unknown;
|
|
97
|
-
}, never, "error" | "
|
|
97
|
+
}, never, "error" | "finished" | "idle" | "loading" | "display" | "submitting", string, ConsentInput, xstate237.NonReducibleUnknown, xstate237.EventObject, xstate237.MetaObject, {
|
|
98
98
|
readonly id: "consent";
|
|
99
99
|
readonly initial: "idle";
|
|
100
100
|
readonly context: ({
|
|
@@ -103,70 +103,70 @@ declare const consentMachine: xstate0.StateMachine<ConsentContext, {
|
|
|
103
103
|
spawn: {
|
|
104
104
|
<TSrc extends "fetchConsent" | "submitConsent">(logic: TSrc, ...[options]: ({
|
|
105
105
|
src: "fetchConsent";
|
|
106
|
-
logic:
|
|
106
|
+
logic: xstate237.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
107
107
|
consentId: string;
|
|
108
|
-
},
|
|
108
|
+
}, xstate237.EventObject>;
|
|
109
109
|
id: string | undefined;
|
|
110
110
|
} extends infer T ? T extends {
|
|
111
111
|
src: "fetchConsent";
|
|
112
|
-
logic:
|
|
112
|
+
logic: xstate237.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
113
113
|
consentId: string;
|
|
114
|
-
},
|
|
114
|
+
}, xstate237.EventObject>;
|
|
115
115
|
id: string | undefined;
|
|
116
116
|
} ? T extends {
|
|
117
117
|
src: TSrc;
|
|
118
|
-
} ?
|
|
118
|
+
} ? xstate237.ConditionalRequired<[options?: ({
|
|
119
119
|
id?: T["id"] | undefined;
|
|
120
120
|
systemId?: string;
|
|
121
|
-
input?:
|
|
121
|
+
input?: xstate237.InputFrom<T["logic"]> | undefined;
|
|
122
122
|
syncSnapshot?: boolean;
|
|
123
|
-
} & { [K in
|
|
123
|
+
} & { [K in xstate237.RequiredActorOptions<T>]: unknown }) | undefined], xstate237.IsNotNever<xstate237.RequiredActorOptions<T>>> : never : never : never) | ({
|
|
124
124
|
src: "submitConsent";
|
|
125
|
-
logic:
|
|
125
|
+
logic: xstate237.PromiseActorLogic<void, {
|
|
126
126
|
languageConsentId: string;
|
|
127
127
|
checkboxes: ConsentCheckbox[];
|
|
128
|
-
},
|
|
128
|
+
}, xstate237.EventObject>;
|
|
129
129
|
id: string | undefined;
|
|
130
130
|
} extends infer T_1 ? T_1 extends {
|
|
131
131
|
src: "submitConsent";
|
|
132
|
-
logic:
|
|
132
|
+
logic: xstate237.PromiseActorLogic<void, {
|
|
133
133
|
languageConsentId: string;
|
|
134
134
|
checkboxes: ConsentCheckbox[];
|
|
135
|
-
},
|
|
135
|
+
}, xstate237.EventObject>;
|
|
136
136
|
id: string | undefined;
|
|
137
137
|
} ? T_1 extends {
|
|
138
138
|
src: TSrc;
|
|
139
|
-
} ?
|
|
139
|
+
} ? xstate237.ConditionalRequired<[options?: ({
|
|
140
140
|
id?: T_1["id"] | undefined;
|
|
141
141
|
systemId?: string;
|
|
142
|
-
input?:
|
|
142
|
+
input?: xstate237.InputFrom<T_1["logic"]> | undefined;
|
|
143
143
|
syncSnapshot?: boolean;
|
|
144
|
-
} & { [K_1 in
|
|
144
|
+
} & { [K_1 in xstate237.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate237.IsNotNever<xstate237.RequiredActorOptions<T_1>>> : never : never : never)): xstate237.ActorRefFromLogic<xstate237.GetConcreteByKey<xstate237.Values<{
|
|
145
145
|
fetchConsent: {
|
|
146
146
|
src: "fetchConsent";
|
|
147
|
-
logic:
|
|
147
|
+
logic: xstate237.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
148
148
|
consentId: string;
|
|
149
|
-
},
|
|
149
|
+
}, xstate237.EventObject>;
|
|
150
150
|
id: string | undefined;
|
|
151
151
|
};
|
|
152
152
|
submitConsent: {
|
|
153
153
|
src: "submitConsent";
|
|
154
|
-
logic:
|
|
154
|
+
logic: xstate237.PromiseActorLogic<void, {
|
|
155
155
|
languageConsentId: string;
|
|
156
156
|
checkboxes: ConsentCheckbox[];
|
|
157
|
-
},
|
|
157
|
+
}, xstate237.EventObject>;
|
|
158
158
|
id: string | undefined;
|
|
159
159
|
};
|
|
160
160
|
}>, "src", TSrc>["logic"]>;
|
|
161
|
-
<TLogic extends
|
|
161
|
+
<TLogic extends xstate237.AnyActorLogic>(src: TLogic, ...[options]: xstate237.ConditionalRequired<[options?: ({
|
|
162
162
|
id?: never;
|
|
163
163
|
systemId?: string;
|
|
164
|
-
input?:
|
|
164
|
+
input?: xstate237.InputFrom<TLogic> | undefined;
|
|
165
165
|
syncSnapshot?: boolean;
|
|
166
|
-
} & { [K in
|
|
166
|
+
} & { [K in xstate237.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate237.IsNotNever<xstate237.RequiredLogicInput<TLogic>>>): xstate237.ActorRefFromLogic<TLogic>;
|
|
167
167
|
};
|
|
168
168
|
input: ConsentInput;
|
|
169
|
-
self:
|
|
169
|
+
self: xstate237.ActorRef<xstate237.MachineSnapshot<ConsentContext, {
|
|
170
170
|
type: "LOAD";
|
|
171
171
|
} | {
|
|
172
172
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -177,7 +177,7 @@ declare const consentMachine: xstate0.StateMachine<ConsentContext, {
|
|
|
177
177
|
type: "RETRY";
|
|
178
178
|
} | {
|
|
179
179
|
type: "RESET";
|
|
180
|
-
}, Record<string,
|
|
180
|
+
}, Record<string, xstate237.AnyActorRef | undefined>, xstate237.StateValue, string, unknown, any, any>, {
|
|
181
181
|
type: "LOAD";
|
|
182
182
|
} | {
|
|
183
183
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -188,7 +188,7 @@ declare const consentMachine: xstate0.StateMachine<ConsentContext, {
|
|
|
188
188
|
type: "RETRY";
|
|
189
189
|
} | {
|
|
190
190
|
type: "RESET";
|
|
191
|
-
},
|
|
191
|
+
}, xstate237.AnyEventObject>;
|
|
192
192
|
}) => {
|
|
193
193
|
config: ConsentConfig;
|
|
194
194
|
title: string;
|
|
@@ -226,7 +226,7 @@ declare const consentMachine: xstate0.StateMachine<ConsentContext, {
|
|
|
226
226
|
} | {
|
|
227
227
|
type: "RESET";
|
|
228
228
|
};
|
|
229
|
-
self:
|
|
229
|
+
self: xstate237.ActorRef<xstate237.MachineSnapshot<ConsentContext, {
|
|
230
230
|
type: "LOAD";
|
|
231
231
|
} | {
|
|
232
232
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -237,7 +237,7 @@ declare const consentMachine: xstate0.StateMachine<ConsentContext, {
|
|
|
237
237
|
type: "RETRY";
|
|
238
238
|
} | {
|
|
239
239
|
type: "RESET";
|
|
240
|
-
}, Record<string,
|
|
240
|
+
}, Record<string, xstate237.AnyActorRef>, xstate237.StateValue, string, unknown, any, any>, {
|
|
241
241
|
type: "LOAD";
|
|
242
242
|
} | {
|
|
243
243
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -248,7 +248,7 @@ declare const consentMachine: xstate0.StateMachine<ConsentContext, {
|
|
|
248
248
|
type: "RETRY";
|
|
249
249
|
} | {
|
|
250
250
|
type: "RESET";
|
|
251
|
-
},
|
|
251
|
+
}, xstate237.AnyEventObject>;
|
|
252
252
|
}) => {
|
|
253
253
|
consentId: string;
|
|
254
254
|
};
|
|
@@ -297,7 +297,7 @@ declare const consentMachine: xstate0.StateMachine<ConsentContext, {
|
|
|
297
297
|
} | {
|
|
298
298
|
type: "RESET";
|
|
299
299
|
};
|
|
300
|
-
self:
|
|
300
|
+
self: xstate237.ActorRef<xstate237.MachineSnapshot<ConsentContext, {
|
|
301
301
|
type: "LOAD";
|
|
302
302
|
} | {
|
|
303
303
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -308,7 +308,7 @@ declare const consentMachine: xstate0.StateMachine<ConsentContext, {
|
|
|
308
308
|
type: "RETRY";
|
|
309
309
|
} | {
|
|
310
310
|
type: "RESET";
|
|
311
|
-
}, Record<string,
|
|
311
|
+
}, Record<string, xstate237.AnyActorRef>, xstate237.StateValue, string, unknown, any, any>, {
|
|
312
312
|
type: "LOAD";
|
|
313
313
|
} | {
|
|
314
314
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -319,7 +319,7 @@ declare const consentMachine: xstate0.StateMachine<ConsentContext, {
|
|
|
319
319
|
type: "RETRY";
|
|
320
320
|
} | {
|
|
321
321
|
type: "RESET";
|
|
322
|
-
},
|
|
322
|
+
}, xstate237.AnyEventObject>;
|
|
323
323
|
}) => {
|
|
324
324
|
languageConsentId: string;
|
|
325
325
|
checkboxes: ConsentCheckbox[];
|
package/dist/consent.esm.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./api-CqKwkjJ3.esm.js";
|
|
2
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
2
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-BjiB9Q1C.esm.js";
|
|
3
3
|
import { a as createActor, o as createManager } from "./xstate.esm-D7D6CGwY.esm.js";
|
|
4
|
-
import { t as consentMachine } from "./consentStateMachine-
|
|
4
|
+
import { t as consentMachine } from "./consentStateMachine-BPQ4O1Ye.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/consent/consentActor.ts
|
|
7
7
|
function createConsentActor(options) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as api } from "./api-CqKwkjJ3.esm.js";
|
|
2
|
-
import { _ as endpoints } from "./events-
|
|
2
|
+
import { _ as endpoints } from "./events-BjiB9Q1C.esm.js";
|
|
3
3
|
import { i as fromPromise, n as assign, t as setup } from "./xstate.esm-D7D6CGwY.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/consent/consentServices.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as api } from "./api-CqKwkjJ3.esm.js";
|
|
2
|
-
import { _ as endpoints, n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
2
|
+
import { _ as endpoints, n as eventModuleNames, o as createManagerInstrumentation } from "./events-BjiB9Q1C.esm.js";
|
|
3
3
|
import { a as createActor, i as fromPromise, o as createManager, t as setup } from "./xstate.esm-D7D6CGwY.esm.js";
|
|
4
4
|
import { t as sleep } from "./ITimerCapability-DAIaq369.esm.js";
|
|
5
5
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./api-CqKwkjJ3.esm.js";
|
|
2
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
2
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-BjiB9Q1C.esm.js";
|
|
3
3
|
import { a as createActor, o as createManager } from "./xstate.esm-D7D6CGwY.esm.js";
|
|
4
|
-
import { n as mexicanStates, t as curpValidationMachine } from "./curpValidationStateMachine-
|
|
4
|
+
import { n as mexicanStates, t as curpValidationMachine } from "./curpValidationStateMachine-DxuEodU2.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/curp-validation/curpValidationActor.ts
|
|
7
7
|
function createCurpValidationActor(options) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as api } from "./api-CqKwkjJ3.esm.js";
|
|
2
|
-
import { _ as endpoints } from "./events-
|
|
2
|
+
import { _ as endpoints } from "./events-BjiB9Q1C.esm.js";
|
|
3
3
|
import { i as fromPromise, n as assign, t as setup } from "./xstate.esm-D7D6CGwY.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/curp-validation/curpValidationUtils.ts
|