@incodetech/core 0.0.0-dev-20260417-d5a60c8 → 0.0.0-dev-20260418-89e0d60
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-C7jdpkpZ.esm.js → addressSearch-CBmh3AXP.esm.js} +1 -1
- package/dist/{ae-signature-Bo9bcyNn.esm.js → ae-signature-BbRI5Qzn.esm.js} +1 -1
- package/dist/ae-signature.d.ts +1 -1
- package/dist/ae-signature.esm.js +3 -3
- package/dist/antifraud.esm.js +2 -2
- package/dist/{antifraudStateMachine-9HvNUpbn.esm.js → antifraudStateMachine-CpwtQyX5.esm.js} +1 -1
- package/dist/authentication.esm.js +6 -6
- package/dist/{authenticationManager-CNE7WbxB.esm.js → authenticationManager-D1CGAxwM.esm.js} +3 -3
- package/dist/{authenticationStateMachine-DrZH7hSN.esm.js → authenticationStateMachine-yeeQh71H.esm.js} +3 -3
- package/dist/consent.d.ts +53 -53
- package/dist/consent.esm.js +2 -2
- package/dist/{consentStateMachine-hnEBcICC.esm.js → consentStateMachine-DCDbjgLj.esm.js} +1 -1
- package/dist/cross-document-data-match.esm.js +1 -1
- package/dist/curp-validation.esm.js +2 -2
- package/dist/{curpValidationStateMachine-tPZjHZeF.esm.js → curpValidationStateMachine-BURePwX5.esm.js} +1 -1
- package/dist/document-capture.d.ts +76 -76
- package/dist/document-capture.esm.js +2 -2
- package/dist/document-upload.d.ts +49 -49
- package/dist/document-upload.esm.js +1 -1
- package/dist/{documentCaptureStateMachine-CNlRr6_9.esm.js → documentCaptureStateMachine-vuDvKpBa.esm.js} +1 -1
- package/dist/ekyb.esm.js +5 -5
- package/dist/{ekybStateMachine-BdztAoD6.esm.js → ekybStateMachine-CF4d_Fq4.esm.js} +3 -3
- package/dist/ekyc.esm.js +3 -3
- package/dist/{ekycStateMachine-DMBeGWMr.esm.js → ekycStateMachine-CMkH73Rd.esm.js} +2 -2
- package/dist/electronic-signature.d.ts +1 -1
- package/dist/electronic-signature.esm.js +2 -2
- package/dist/{electronicSignatureManager-GcFaftXp.esm.js → electronicSignatureManager-Cp450Tvy.esm.js} +1 -1
- package/dist/email.esm.js +3 -3
- package/dist/{emailManager-rQAZJqi6.esm.js → emailManager-DZ1bKeHd.esm.js} +2 -2
- package/dist/{emailStateMachine-s7890k9s.esm.js → emailStateMachine-CSyUXPrM.esm.js} +1 -1
- package/dist/{events-GaZE-J-6.esm.js → events-CLo0CBD5.esm.js} +1 -0
- package/dist/events.esm.js +1 -1
- package/dist/extensibility.esm.js +15 -15
- package/dist/face-match.esm.js +2 -2
- package/dist/{faceCaptureManagerFactory-HCZKJWs9.esm.js → faceCaptureManagerFactory-B9xq08-G.esm.js} +1 -1
- package/dist/{faceCaptureSetup-DqAsTyMA.esm.js → faceCaptureSetup-Dmvit1y7.esm.js} +1 -1
- package/dist/{faceMatchStateMachine-BOg2w1nJ.esm.js → faceMatchStateMachine-B03-JK_T.esm.js} +1 -1
- package/dist/flow.esm.js +4 -4
- package/dist/{flowCompletionService-BoRh9z5O.esm.js → flowCompletionService-DDrZ_9FJ.esm.js} +1 -1
- package/dist/{flowServices-ibDApkcC.esm.js → flowServices-UvwXCNq9.esm.js} +2 -2
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationStateMachine-Cyz25gsF.esm.js → geolocationStateMachine-Co0puEUX.esm.js} +1 -1
- package/dist/government-validation.esm.js +2 -2
- package/dist/{governmentValidationStateMachine-ubUpL0QS.esm.js → governmentValidationStateMachine-CtccpJa8.esm.js} +1 -1
- package/dist/home.d.ts +10 -10
- package/dist/home.esm.js +1 -1
- package/dist/id.esm.js +5 -5
- package/dist/{idCaptureManager-Bvv0ssj8.esm.js → idCaptureManager-DhQXfuJt.esm.js} +2 -2
- package/dist/{idCaptureStateMachine-hELTmJQc.esm.js → idCaptureStateMachine-BdfhVQwC.esm.js} +3 -3
- package/dist/identity-reuse.d.ts +44 -44
- package/dist/identity-reuse.esm.js +1 -1
- package/dist/{index-Ddix1a4Z.d.ts → index-KnSX6CGk.d.ts} +119 -119
- package/dist/index.esm.js +3 -3
- package/dist/mandatory-consent.d.ts +50 -50
- package/dist/mandatory-consent.esm.js +2 -2
- package/dist/{mandatoryConsentStateMachine-C6GePX2H.esm.js → mandatoryConsentStateMachine-DNVESbJF.esm.js} +1 -1
- package/dist/phone.esm.js +3 -3
- package/dist/{phoneManager-CPVBmE6I.esm.js → phoneManager-BFinSDdo.esm.js} +2 -2
- package/dist/{phoneStateMachine-B2GLKrTW.esm.js → phoneStateMachine-BjhtmUGF.esm.js} +1 -1
- package/dist/{qe-signature-DJaEMQVC.esm.js → qe-signature-LHWeEEln.esm.js} +1 -1
- package/dist/qe-signature.d.ts +1 -1
- package/dist/qe-signature.esm.js +3 -3
- package/dist/{recordingService-MRs_oIlD.esm.js → recordingService-B6vw5h4n.esm.js} +1 -1
- package/dist/redirect-to-mobile.esm.js +2 -2
- package/dist/{redirectToMobileStateMachine-CRFimlD6.esm.js → redirectToMobileStateMachine-Clr48nAr.esm.js} +1 -1
- package/dist/selfie.esm.js +6 -6
- package/dist/{selfieManager-Cvixzq_O.esm.js → selfieManager-BSGrpyaa.esm.js} +3 -3
- package/dist/{selfieStateMachine-BkYFIb_x.esm.js → selfieStateMachine-C5LVaSTG.esm.js} +2 -2
- package/dist/{session-4kX3TYAC.esm.js → session-Ccqv3mbs.esm.js} +35 -2
- package/dist/session.d.ts +29 -1
- package/dist/session.esm.js +4 -4
- package/dist/{setup-DTuM389Q.esm.js → setup-BNco1B1s.esm.js} +2 -2
- package/dist/signature.esm.js +2 -2
- package/dist/{signatureStateMachine-tCR_BVLG.esm.js → signatureStateMachine-CJC7eNaf.esm.js} +1 -1
- package/dist/wasm.esm.js +3 -3
- package/dist/watchlist.esm.js +1 -1
- package/dist/workflow.d.ts +82 -82
- package/dist/workflow.esm.js +27 -27
- package/package.json +3 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as api } from "./api-BhYI_G8R.esm.js";
|
|
2
|
-
import { _ as endpoints } from "./events-
|
|
2
|
+
import { _ as endpoints } from "./events-CLo0CBD5.esm.js";
|
|
3
3
|
import { r as fromCallback } from "./xstate.esm-BlgyVBVv.esm.js";
|
|
4
4
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-DDCqhG2g.esm.js";
|
|
5
5
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as createElectronicSignatureManager } from "./electronicSignatureManager-
|
|
1
|
+
import { t as createElectronicSignatureManager } from "./electronicSignatureManager-Cp450Tvy.esm.js";
|
|
2
2
|
|
|
3
3
|
//#region src/modules/ae-signature/index.ts
|
|
4
4
|
function createAeSignatureManager(options) {
|
package/dist/ae-signature.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as Manager } from "./Manager-C1r-74H0.js";
|
|
2
2
|
import "./Actor-Cqaw-2DF.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-
|
|
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-KnSX6CGk.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/ae-signature/index.d.ts
|
|
6
6
|
|
package/dist/ae-signature.esm.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./api-BhYI_G8R.esm.js";
|
|
2
|
-
import "./events-
|
|
2
|
+
import "./events-CLo0CBD5.esm.js";
|
|
3
3
|
import "./xstate.esm-BlgyVBVv.esm.js";
|
|
4
|
-
import { a as areAllConsented, n as electronicSignatureMachine, r as AE_CONSENT_KEYS, s as getDefaultConsentChecks } from "./electronicSignatureManager-
|
|
5
|
-
import { t as createAeSignatureManager } from "./ae-signature-
|
|
4
|
+
import { a as areAllConsented, n as electronicSignatureMachine, r as AE_CONSENT_KEYS, s as getDefaultConsentChecks } from "./electronicSignatureManager-Cp450Tvy.esm.js";
|
|
5
|
+
import { t as createAeSignatureManager } from "./ae-signature-BbRI5Qzn.esm.js";
|
|
6
6
|
|
|
7
7
|
export { AE_CONSENT_KEYS, electronicSignatureMachine as aeSignatureMachine, areAllConsented, createAeSignatureManager, getDefaultConsentChecks };
|
package/dist/antifraud.esm.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./api-BhYI_G8R.esm.js";
|
|
2
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
2
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CLo0CBD5.esm.js";
|
|
3
3
|
import { a as createActor, o as createManager } from "./xstate.esm-BlgyVBVv.esm.js";
|
|
4
|
-
import { t as antifraudMachine } from "./antifraudStateMachine-
|
|
4
|
+
import { t as antifraudMachine } from "./antifraudStateMachine-CpwtQyX5.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/antifraud/antifraudActor.ts
|
|
7
7
|
function createAntifraudActor() {
|
package/dist/{antifraudStateMachine-9HvNUpbn.esm.js → antifraudStateMachine-CpwtQyX5.esm.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as api } from "./api-BhYI_G8R.esm.js";
|
|
2
|
-
import { _ as endpoints } from "./events-
|
|
2
|
+
import { _ as endpoints } from "./events-CLo0CBD5.esm.js";
|
|
3
3
|
import { i as fromPromise, t as setup } from "./xstate.esm-BlgyVBVv.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/antifraud/antifraudServices.ts
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import "./BaseWasmProvider-D2uvIbAN.esm.js";
|
|
2
2
|
import "./WasmUtilProvider-OnSlurfW.esm.js";
|
|
3
3
|
import "./api-BhYI_G8R.esm.js";
|
|
4
|
-
import "./events-
|
|
4
|
+
import "./events-CLo0CBD5.esm.js";
|
|
5
5
|
import "./browserSimulation-UTYyQOiB.esm.js";
|
|
6
6
|
import "./xstate.esm-BlgyVBVv.esm.js";
|
|
7
|
-
import "./faceCaptureManagerFactory-
|
|
7
|
+
import "./faceCaptureManagerFactory-B9xq08-G.esm.js";
|
|
8
8
|
import "./BrowserStorageProvider-DOp7HlOV.esm.js";
|
|
9
|
-
import "./recordingService-
|
|
9
|
+
import "./recordingService-B6vw5h4n.esm.js";
|
|
10
10
|
import "./deepsightService-C8LxpD33.esm.js";
|
|
11
11
|
import "./camera-tcz9eaMX.esm.js";
|
|
12
12
|
import "./getBrowser-a8Hu_roJ.esm.js";
|
|
@@ -17,8 +17,8 @@ import "./platform-BcNZipjK.esm.js";
|
|
|
17
17
|
import "./ITimerCapability-6rqYcRcc.esm.js";
|
|
18
18
|
import "./backCameraStream-BgZ58W73.esm.js";
|
|
19
19
|
import "./getDeviceClass-DEQ0Ko8p.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-Dmvit1y7.esm.js";
|
|
21
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-yeeQh71H.esm.js";
|
|
22
|
+
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-D1CGAxwM.esm.js";
|
|
23
23
|
|
|
24
24
|
export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
package/dist/{authenticationManager-CNE7WbxB.esm.js → authenticationManager-D1CGAxwM.esm.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-OnSlurfW.esm.js";
|
|
2
|
-
import { n as eventModuleNames } from "./events-
|
|
2
|
+
import { n as eventModuleNames } from "./events-CLo0CBD5.esm.js";
|
|
3
3
|
import { a as createActor } from "./xstate.esm-BlgyVBVv.esm.js";
|
|
4
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
4
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-B9xq08-G.esm.js";
|
|
5
5
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-DOp7HlOV.esm.js";
|
|
6
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
6
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-yeeQh71H.esm.js";
|
|
7
7
|
|
|
8
8
|
//#region src/modules/authentication/authenticationActor.ts
|
|
9
9
|
function createAuthenticationActor(options) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as api } from "./api-BhYI_G8R.esm.js";
|
|
2
|
-
import { _ as endpoints } from "./events-
|
|
2
|
+
import { _ as endpoints } from "./events-CLo0CBD5.esm.js";
|
|
3
3
|
import { i as fromPromise, n as assign } from "./xstate.esm-BlgyVBVv.esm.js";
|
|
4
|
-
import { v as FACE_ERROR_CODES } from "./recordingService-
|
|
4
|
+
import { v as FACE_ERROR_CODES } from "./recordingService-B6vw5h4n.esm.js";
|
|
5
5
|
import { t as getDeviceClass } from "./getDeviceClass-DEQ0Ko8p.esm.js";
|
|
6
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
6
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-Dmvit1y7.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-C1r-74H0.js";
|
|
2
2
|
import "./Actor-Cqaw-2DF.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as xstate709 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: xstate709.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]: xstate709.ActorRefFromLogic<xstate709.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
52
52
|
consentId: string;
|
|
53
|
-
},
|
|
53
|
+
}, xstate709.EventObject>> | xstate709.ActorRefFromLogic<xstate709.PromiseActorLogic<void, {
|
|
54
54
|
languageConsentId: string;
|
|
55
55
|
checkboxes: ConsentCheckbox[];
|
|
56
|
-
},
|
|
57
|
-
},
|
|
56
|
+
}, xstate709.EventObject>> | undefined;
|
|
57
|
+
}, xstate709.Values<{
|
|
58
58
|
fetchConsent: {
|
|
59
59
|
src: "fetchConsent";
|
|
60
|
-
logic:
|
|
60
|
+
logic: xstate709.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
61
61
|
consentId: string;
|
|
62
|
-
},
|
|
62
|
+
}, xstate709.EventObject>;
|
|
63
63
|
id: string | undefined;
|
|
64
64
|
};
|
|
65
65
|
submitConsent: {
|
|
66
66
|
src: "submitConsent";
|
|
67
|
-
logic:
|
|
67
|
+
logic: xstate709.PromiseActorLogic<void, {
|
|
68
68
|
languageConsentId: string;
|
|
69
69
|
checkboxes: ConsentCheckbox[];
|
|
70
|
-
},
|
|
70
|
+
}, xstate709.EventObject>;
|
|
71
71
|
id: string | undefined;
|
|
72
72
|
};
|
|
73
|
-
}>,
|
|
73
|
+
}>, xstate709.Values<{
|
|
74
|
+
clearError: {
|
|
75
|
+
type: "clearError";
|
|
76
|
+
params: xstate709.NonReducibleUnknown;
|
|
77
|
+
};
|
|
78
|
+
setError: {
|
|
79
|
+
type: "setError";
|
|
80
|
+
params: xstate709.NonReducibleUnknown;
|
|
81
|
+
};
|
|
74
82
|
setConsentData: {
|
|
75
83
|
type: "setConsentData";
|
|
76
|
-
params:
|
|
84
|
+
params: xstate709.NonReducibleUnknown;
|
|
77
85
|
};
|
|
78
86
|
toggleCheckbox: {
|
|
79
87
|
type: "toggleCheckbox";
|
|
80
|
-
params:
|
|
81
|
-
};
|
|
82
|
-
setError: {
|
|
83
|
-
type: "setError";
|
|
84
|
-
params: xstate0.NonReducibleUnknown;
|
|
85
|
-
};
|
|
86
|
-
clearError: {
|
|
87
|
-
type: "clearError";
|
|
88
|
-
params: xstate0.NonReducibleUnknown;
|
|
88
|
+
params: xstate709.NonReducibleUnknown;
|
|
89
89
|
};
|
|
90
90
|
resetContext: {
|
|
91
91
|
type: "resetContext";
|
|
92
|
-
params:
|
|
92
|
+
params: xstate709.NonReducibleUnknown;
|
|
93
93
|
};
|
|
94
94
|
}>, {
|
|
95
95
|
type: "canSubmit";
|
|
96
96
|
params: unknown;
|
|
97
|
-
}, never, "error" | "idle" | "finished" | "loading" | "display" | "submitting", string, ConsentInput,
|
|
97
|
+
}, never, "error" | "idle" | "finished" | "loading" | "display" | "submitting", string, ConsentInput, xstate709.NonReducibleUnknown, xstate709.EventObject, xstate709.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: xstate709.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
107
107
|
consentId: string;
|
|
108
|
-
},
|
|
108
|
+
}, xstate709.EventObject>;
|
|
109
109
|
id: string | undefined;
|
|
110
110
|
} extends infer T ? T extends {
|
|
111
111
|
src: "fetchConsent";
|
|
112
|
-
logic:
|
|
112
|
+
logic: xstate709.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
113
113
|
consentId: string;
|
|
114
|
-
},
|
|
114
|
+
}, xstate709.EventObject>;
|
|
115
115
|
id: string | undefined;
|
|
116
116
|
} ? T extends {
|
|
117
117
|
src: TSrc;
|
|
118
|
-
} ?
|
|
118
|
+
} ? xstate709.ConditionalRequired<[options?: ({
|
|
119
119
|
id?: T["id"] | undefined;
|
|
120
120
|
systemId?: string;
|
|
121
|
-
input?:
|
|
121
|
+
input?: xstate709.InputFrom<T["logic"]> | undefined;
|
|
122
122
|
syncSnapshot?: boolean;
|
|
123
|
-
} & { [K in
|
|
123
|
+
} & { [K in xstate709.RequiredActorOptions<T>]: unknown }) | undefined], xstate709.IsNotNever<xstate709.RequiredActorOptions<T>>> : never : never : never) | ({
|
|
124
124
|
src: "submitConsent";
|
|
125
|
-
logic:
|
|
125
|
+
logic: xstate709.PromiseActorLogic<void, {
|
|
126
126
|
languageConsentId: string;
|
|
127
127
|
checkboxes: ConsentCheckbox[];
|
|
128
|
-
},
|
|
128
|
+
}, xstate709.EventObject>;
|
|
129
129
|
id: string | undefined;
|
|
130
130
|
} extends infer T_1 ? T_1 extends {
|
|
131
131
|
src: "submitConsent";
|
|
132
|
-
logic:
|
|
132
|
+
logic: xstate709.PromiseActorLogic<void, {
|
|
133
133
|
languageConsentId: string;
|
|
134
134
|
checkboxes: ConsentCheckbox[];
|
|
135
|
-
},
|
|
135
|
+
}, xstate709.EventObject>;
|
|
136
136
|
id: string | undefined;
|
|
137
137
|
} ? T_1 extends {
|
|
138
138
|
src: TSrc;
|
|
139
|
-
} ?
|
|
139
|
+
} ? xstate709.ConditionalRequired<[options?: ({
|
|
140
140
|
id?: T_1["id"] | undefined;
|
|
141
141
|
systemId?: string;
|
|
142
|
-
input?:
|
|
142
|
+
input?: xstate709.InputFrom<T_1["logic"]> | undefined;
|
|
143
143
|
syncSnapshot?: boolean;
|
|
144
|
-
} & { [K_1 in
|
|
144
|
+
} & { [K_1 in xstate709.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate709.IsNotNever<xstate709.RequiredActorOptions<T_1>>> : never : never : never)): xstate709.ActorRefFromLogic<xstate709.GetConcreteByKey<xstate709.Values<{
|
|
145
145
|
fetchConsent: {
|
|
146
146
|
src: "fetchConsent";
|
|
147
|
-
logic:
|
|
147
|
+
logic: xstate709.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
148
148
|
consentId: string;
|
|
149
|
-
},
|
|
149
|
+
}, xstate709.EventObject>;
|
|
150
150
|
id: string | undefined;
|
|
151
151
|
};
|
|
152
152
|
submitConsent: {
|
|
153
153
|
src: "submitConsent";
|
|
154
|
-
logic:
|
|
154
|
+
logic: xstate709.PromiseActorLogic<void, {
|
|
155
155
|
languageConsentId: string;
|
|
156
156
|
checkboxes: ConsentCheckbox[];
|
|
157
|
-
},
|
|
157
|
+
}, xstate709.EventObject>;
|
|
158
158
|
id: string | undefined;
|
|
159
159
|
};
|
|
160
160
|
}>, "src", TSrc>["logic"]>;
|
|
161
|
-
<TLogic extends
|
|
161
|
+
<TLogic extends xstate709.AnyActorLogic>(src: TLogic, ...[options]: xstate709.ConditionalRequired<[options?: ({
|
|
162
162
|
id?: never;
|
|
163
163
|
systemId?: string;
|
|
164
|
-
input?:
|
|
164
|
+
input?: xstate709.InputFrom<TLogic> | undefined;
|
|
165
165
|
syncSnapshot?: boolean;
|
|
166
|
-
} & { [K in
|
|
166
|
+
} & { [K in xstate709.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate709.IsNotNever<xstate709.RequiredLogicInput<TLogic>>>): xstate709.ActorRefFromLogic<TLogic>;
|
|
167
167
|
};
|
|
168
168
|
input: ConsentInput;
|
|
169
|
-
self:
|
|
169
|
+
self: xstate709.ActorRef<xstate709.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, xstate709.AnyActorRef | undefined>, xstate709.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
|
+
}, xstate709.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: xstate709.ActorRef<xstate709.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, xstate709.AnyActorRef>, xstate709.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
|
+
}, xstate709.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: xstate709.ActorRef<xstate709.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, xstate709.AnyActorRef>, xstate709.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
|
+
}, xstate709.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-BhYI_G8R.esm.js";
|
|
2
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
2
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CLo0CBD5.esm.js";
|
|
3
3
|
import { a as createActor, o as createManager } from "./xstate.esm-BlgyVBVv.esm.js";
|
|
4
|
-
import { t as consentMachine } from "./consentStateMachine-
|
|
4
|
+
import { t as consentMachine } from "./consentStateMachine-DCDbjgLj.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-BhYI_G8R.esm.js";
|
|
2
|
-
import { _ as endpoints } from "./events-
|
|
2
|
+
import { _ as endpoints } from "./events-CLo0CBD5.esm.js";
|
|
3
3
|
import { i as fromPromise, n as assign, t as setup } from "./xstate.esm-BlgyVBVv.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/consent/consentServices.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as api } from "./api-BhYI_G8R.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-CLo0CBD5.esm.js";
|
|
3
3
|
import { a as createActor, i as fromPromise, o as createManager, t as setup } from "./xstate.esm-BlgyVBVv.esm.js";
|
|
4
4
|
import { t as sleep } from "./ITimerCapability-6rqYcRcc.esm.js";
|
|
5
5
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./api-BhYI_G8R.esm.js";
|
|
2
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
2
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CLo0CBD5.esm.js";
|
|
3
3
|
import { a as createActor, o as createManager } from "./xstate.esm-BlgyVBVv.esm.js";
|
|
4
|
-
import { n as mexicanStates, t as curpValidationMachine } from "./curpValidationStateMachine-
|
|
4
|
+
import { n as mexicanStates, t as curpValidationMachine } from "./curpValidationStateMachine-BURePwX5.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-BhYI_G8R.esm.js";
|
|
2
|
-
import { _ as endpoints } from "./events-
|
|
2
|
+
import { _ as endpoints } from "./events-CLo0CBD5.esm.js";
|
|
3
3
|
import { i as fromPromise, n as assign, t as setup } from "./xstate.esm-BlgyVBVv.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/curp-validation/curpValidationUtils.ts
|