@incodetech/core 0.0.0-dev-20260519-f6acf601 → 0.0.0-dev-20260519-71192db0
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/ae-signature.d.ts +2 -2
- package/dist/authentication.d.ts +7 -6
- package/dist/authentication.esm.js +3 -3
- package/dist/{authenticationManager-DMZLpFAc.esm.js → authenticationManager-BvxH8Krj.esm.js} +1 -1
- package/dist/{authenticationManager-BfnQDaRP.d.ts → authenticationManager-qdIGDKAV.d.ts} +1 -1
- package/dist/{authenticationStateMachine-CkX7xUXI.esm.js → authenticationStateMachine-C-g73ema.esm.js} +1 -1
- package/dist/camera.d.ts +1 -1
- package/dist/consent.d.ts +54 -54
- package/dist/cpf-ocr.d.ts +17 -17
- package/dist/curp-validation.d.ts +3 -2
- package/dist/custom-fields.d.ts +1 -1
- package/dist/displayErrors-BH_AkH9P.d.ts +7 -0
- package/dist/document-capture.d.ts +77 -77
- package/dist/document-upload.d.ts +50 -50
- package/dist/dynamic-forms.d.ts +1 -1
- package/dist/ekyb.d.ts +4 -3
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybStateMachine-BHud2Eb4.esm.js → ekybStateMachine-CQ7wpldf.esm.js} +1 -1
- package/dist/ekyc.d.ts +3 -69
- package/dist/ekyc.esm.js +1 -1
- package/dist/{ekycStateMachine-DlWfov8R.esm.js → ekycStateMachine-BgNy1KDU.esm.js} +12 -3
- package/dist/electronic-signature.d.ts +3 -2
- package/dist/{index-DAxkRIKp.d.ts → electronicSignatureManager-Di3UqKhY.d.ts} +119 -119
- package/dist/email.d.ts +2 -2
- package/dist/{emailManager-xt37-xiT.d.ts → emailManager-DCf6niIV.d.ts} +1 -1
- package/dist/extensibility.d.ts +11 -10
- package/dist/extensibility.esm.js +8 -8
- package/dist/{faceCaptureManagerFactory-BM68qGaT.d.ts → faceCaptureManagerFactory-CCm6r3NW.d.ts} +9 -4
- package/dist/{faceCaptureSetup-ClABBzp1.esm.js → faceCaptureSetup-JZYF95rN.esm.js} +7 -1
- package/dist/flow-events.d.ts +4 -3
- package/dist/flow.d.ts +7 -6
- package/dist/flow.esm.js +2 -2
- package/dist/{flowServices-BIGTUyrc.esm.js → flowServices-CkrQl6MZ.esm.js} +1 -1
- package/dist/geolocation.d.ts +1 -1
- package/dist/government-validation.d.ts +1 -1
- package/dist/home.d.ts +12 -11
- package/dist/id-ocr.d.ts +53 -53
- package/dist/id-verification.d.ts +26 -26
- package/dist/id.d.ts +6 -5
- package/dist/id.esm.js +3 -3
- package/dist/{idCaptureManager-ebBTfNi0.d.ts → idCaptureManager-AmGTod1Y.d.ts} +4 -4
- package/dist/{idCaptureManager-ucFTq6ni.esm.js → idCaptureManager-CSFWHJJy.esm.js} +1 -1
- package/dist/{idCaptureStateMachine-OAVbRegG.esm.js → idCaptureStateMachine-f-lyzp88.esm.js} +1 -1
- package/dist/identity-reuse.d.ts +41 -41
- package/dist/index-BXp6lJmF.d.ts +1 -0
- package/dist/{index-BGUoiDNw.d.ts → index-yJ9sMLlH.d.ts} +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.esm.js +2 -2
- package/dist/mandatory-consent.d.ts +50 -49
- package/dist/phone.d.ts +2 -2
- package/dist/{phoneManager-DKwybjHQ.d.ts → phoneManager-DhflnC-z.d.ts} +1 -1
- package/dist/qe-signature.d.ts +3 -2
- package/dist/redirect-to-mobile.d.ts +1 -1
- package/dist/selfie.d.ts +7 -6
- package/dist/selfie.esm.js +3 -3
- package/dist/{selfieManager-BU_qtl7G.d.ts → selfieManager-C3npU44M.d.ts} +1 -1
- package/dist/{selfieManager-DOEfclbg.esm.js → selfieManager-C5ruM4Zi.esm.js} +1 -1
- package/dist/{selfieStateMachine-s7HwywEt.esm.js → selfieStateMachine-Cgu9myje.esm.js} +1 -1
- package/dist/{session-BpNr10GN.esm.js → session-DaoRAiVt.esm.js} +1 -1
- package/dist/session.d.ts +3 -2
- package/dist/session.esm.js +1 -1
- package/dist/{setup-CpAA5S7A.d.ts → setup-BuzdwmBp.d.ts} +27 -2
- package/dist/{setup-QSqdqH4l.esm.js → setup-DPA9zpAa.esm.js} +20 -3
- package/dist/signature.d.ts +1 -1
- package/dist/types-BGn7vf_y.d.ts +102 -0
- package/dist/{types-DZvOY_B1.d.ts → types-C3znyyzD.d.ts} +3 -1
- package/dist/wasm.d.ts +1 -1
- package/dist/wasm.esm.js +2 -2
- package/dist/workflow.d.ts +128 -127
- package/dist/workflow.esm.js +8 -8
- package/package.json +1 -1
- package/dist/displayErrors-CiAteUnc.d.ts +0 -39
- /package/dist/{Actor-BIU0OEvS.d.ts → Actor-DhAnkIwf.d.ts} +0 -0
- /package/dist/{deepsightService-DPLEfa92.d.ts → deepsightService-Dp4HhD1F.d.ts} +0 -0
- /package/dist/{flowCompletionService-D1-bLzxr.d.ts → flowCompletionService-C4A-qYuH.d.ts} +0 -0
- /package/dist/{types-DvX3vIRm.d.ts → types-BsEaBA9V.d.ts} +0 -0
- /package/dist/{types-DkpwYjYw.d.ts → types-lZBg2X-g.d.ts} +0 -0
package/dist/ae-signature.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as Manager } from "./Manager-B9HFXDz5.js";
|
|
2
|
-
import "./
|
|
3
|
-
import
|
|
2
|
+
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 "./electronicSignatureManager-Di3UqKhY.js";
|
|
3
|
+
import "./Actor-DhAnkIwf.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/ae-signature/index.d.ts
|
|
6
6
|
|
package/dist/authentication.d.ts
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import "./warmup-NOr3xE7Y.js";
|
|
2
2
|
import "./Manager-B9HFXDz5.js";
|
|
3
|
-
import "./Actor-
|
|
3
|
+
import "./Actor-DhAnkIwf.js";
|
|
4
4
|
import "./StateMachine-BUhmcPQ3.js";
|
|
5
|
-
import { D as authenticationMachine, S as AuthenticationConfig, b as CreateAuthenticationActorOptions, x as createAuthenticationActor, y as AuthenticationActor } from "./faceCaptureManagerFactory-
|
|
5
|
+
import { D as authenticationMachine, S as AuthenticationConfig, b as CreateAuthenticationActorOptions, x as createAuthenticationActor, y as AuthenticationActor } from "./faceCaptureManagerFactory-CCm6r3NW.js";
|
|
6
6
|
import "./camera-6QfEti0q.js";
|
|
7
7
|
import "./types-CSDi2j_3.js";
|
|
8
|
-
import "./types-
|
|
9
|
-
import "./
|
|
10
|
-
import "./
|
|
11
|
-
import
|
|
8
|
+
import "./types-BGn7vf_y.js";
|
|
9
|
+
import "./types-C3znyyzD.js";
|
|
10
|
+
import "./deepsightService-Dp4HhD1F.js";
|
|
11
|
+
import "./types-BsEaBA9V.js";
|
|
12
|
+
import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-qdIGDKAV.js";
|
|
12
13
|
export { type AuthenticationActor, type AuthenticationConfig, type AuthenticationManager, type AuthenticationState, type CreateAuthenticationActorOptions, authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
|
@@ -7,7 +7,7 @@ import "./browserSimulation-gxD8cSpM.esm.js";
|
|
|
7
7
|
import "./xstate.esm-B70JrNqo.esm.js";
|
|
8
8
|
import "./faceCaptureManagerFactory-Dh2PdGlF.esm.js";
|
|
9
9
|
import "./BrowserStorageProvider-CuOW1Er2.esm.js";
|
|
10
|
-
import "./faceCaptureSetup-
|
|
10
|
+
import "./faceCaptureSetup-JZYF95rN.esm.js";
|
|
11
11
|
import "./ITimerCapability-C67ZRskg.esm.js";
|
|
12
12
|
import "./camera-PA2Ljri3.esm.js";
|
|
13
13
|
import "./deepsightService-O74l4Y__.esm.js";
|
|
@@ -19,7 +19,7 @@ import "./stats-CIfiPzb1.esm.js";
|
|
|
19
19
|
import "./getDeviceClass-BSntT9_j.esm.js";
|
|
20
20
|
import "./MotionSensorProvider-4v7xkqAp.esm.js";
|
|
21
21
|
import "./permissionServices-D_i6nzEw.esm.js";
|
|
22
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
23
|
-
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-
|
|
22
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-C-g73ema.esm.js";
|
|
23
|
+
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-BvxH8Krj.esm.js";
|
|
24
24
|
|
|
25
25
|
export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
package/dist/{authenticationManager-DMZLpFAc.esm.js → authenticationManager-BvxH8Krj.esm.js}
RENAMED
|
@@ -3,7 +3,7 @@ import { n as eventModuleNames } from "./events-D6-e4vok.esm.js";
|
|
|
3
3
|
import { s as createActor } from "./xstate.esm-B70JrNqo.esm.js";
|
|
4
4
|
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-Dh2PdGlF.esm.js";
|
|
5
5
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-CuOW1Er2.esm.js";
|
|
6
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
6
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-C-g73ema.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-B9HFXDz5.js";
|
|
2
|
-
import { b as CreateAuthenticationActorOptions, n as FaceCaptureManagerState, t as FaceCaptureManager, y as AuthenticationActor } from "./faceCaptureManagerFactory-
|
|
2
|
+
import { b as CreateAuthenticationActorOptions, n as FaceCaptureManagerState, t as FaceCaptureManager, y as AuthenticationActor } from "./faceCaptureManagerFactory-CCm6r3NW.js";
|
|
3
3
|
|
|
4
4
|
//#region src/modules/authentication/authenticationManager.d.ts
|
|
5
5
|
type AuthenticationState = FaceCaptureManagerState;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as api } from "./api-CESGtpbH.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-CnN3SyDa.esm.js";
|
|
3
3
|
import { a as fromPromise, r as assign } from "./xstate.esm-B70JrNqo.esm.js";
|
|
4
|
-
import { a as prepareOnDeviceFaceUpload, i as postOnDeviceFaceResults, n as defaultPrepareFaceUpload, r as isOnDeviceMode, t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
4
|
+
import { a as prepareOnDeviceFaceUpload, i as postOnDeviceFaceResults, n as defaultPrepareFaceUpload, r as isOnDeviceMode, t as faceCaptureMachine } from "./faceCaptureSetup-JZYF95rN.esm.js";
|
|
5
5
|
import { m as FACE_ERROR_CODES } from "./recordingService-C8p_rt_R.esm.js";
|
|
6
6
|
import { t as getDeviceClass } from "./getDeviceClass-BSntT9_j.esm.js";
|
|
7
7
|
|
package/dist/camera.d.ts
CHANGED
package/dist/consent.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as Manager } from "./Manager-B9HFXDz5.js";
|
|
2
|
-
import "./Actor-
|
|
3
|
-
import * as
|
|
2
|
+
import "./Actor-DhAnkIwf.js";
|
|
3
|
+
import * as xstate899 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: xstate899.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]: xstate899.ActorRefFromLogic<xstate899.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
52
52
|
consentId: string;
|
|
53
|
-
},
|
|
53
|
+
}, xstate899.EventObject>> | xstate899.ActorRefFromLogic<xstate899.PromiseActorLogic<void, {
|
|
54
54
|
languageConsentId: string;
|
|
55
55
|
checkboxes: ConsentCheckbox[];
|
|
56
|
-
},
|
|
57
|
-
},
|
|
56
|
+
}, xstate899.EventObject>> | undefined;
|
|
57
|
+
}, xstate899.Values<{
|
|
58
58
|
fetchConsent: {
|
|
59
59
|
src: "fetchConsent";
|
|
60
|
-
logic:
|
|
60
|
+
logic: xstate899.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
61
61
|
consentId: string;
|
|
62
|
-
},
|
|
62
|
+
}, xstate899.EventObject>;
|
|
63
63
|
id: string | undefined;
|
|
64
64
|
};
|
|
65
65
|
submitConsent: {
|
|
66
66
|
src: "submitConsent";
|
|
67
|
-
logic:
|
|
67
|
+
logic: xstate899.PromiseActorLogic<void, {
|
|
68
68
|
languageConsentId: string;
|
|
69
69
|
checkboxes: ConsentCheckbox[];
|
|
70
|
-
},
|
|
70
|
+
}, xstate899.EventObject>;
|
|
71
71
|
id: string | undefined;
|
|
72
72
|
};
|
|
73
|
-
}>,
|
|
74
|
-
setConsentData: {
|
|
75
|
-
type: "setConsentData";
|
|
76
|
-
params: xstate0.NonReducibleUnknown;
|
|
77
|
-
};
|
|
78
|
-
toggleCheckbox: {
|
|
79
|
-
type: "toggleCheckbox";
|
|
80
|
-
params: xstate0.NonReducibleUnknown;
|
|
81
|
-
};
|
|
73
|
+
}>, xstate899.Values<{
|
|
82
74
|
setError: {
|
|
83
75
|
type: "setError";
|
|
84
|
-
params:
|
|
76
|
+
params: xstate899.NonReducibleUnknown;
|
|
85
77
|
};
|
|
86
78
|
clearError: {
|
|
87
79
|
type: "clearError";
|
|
88
|
-
params:
|
|
80
|
+
params: xstate899.NonReducibleUnknown;
|
|
89
81
|
};
|
|
90
82
|
resetContext: {
|
|
91
83
|
type: "resetContext";
|
|
92
|
-
params:
|
|
84
|
+
params: xstate899.NonReducibleUnknown;
|
|
85
|
+
};
|
|
86
|
+
setConsentData: {
|
|
87
|
+
type: "setConsentData";
|
|
88
|
+
params: xstate899.NonReducibleUnknown;
|
|
89
|
+
};
|
|
90
|
+
toggleCheckbox: {
|
|
91
|
+
type: "toggleCheckbox";
|
|
92
|
+
params: xstate899.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, xstate899.NonReducibleUnknown, xstate899.EventObject, xstate899.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: xstate899.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
107
107
|
consentId: string;
|
|
108
|
-
},
|
|
108
|
+
}, xstate899.EventObject>;
|
|
109
109
|
id: string | undefined;
|
|
110
110
|
} extends infer T ? T extends {
|
|
111
111
|
src: "fetchConsent";
|
|
112
|
-
logic:
|
|
112
|
+
logic: xstate899.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
113
113
|
consentId: string;
|
|
114
|
-
},
|
|
114
|
+
}, xstate899.EventObject>;
|
|
115
115
|
id: string | undefined;
|
|
116
116
|
} ? T extends {
|
|
117
117
|
src: TSrc;
|
|
118
|
-
} ?
|
|
118
|
+
} ? xstate899.ConditionalRequired<[options?: ({
|
|
119
119
|
id?: T["id"] | undefined;
|
|
120
120
|
systemId?: string;
|
|
121
|
-
input?:
|
|
121
|
+
input?: xstate899.InputFrom<T["logic"]> | undefined;
|
|
122
122
|
syncSnapshot?: boolean;
|
|
123
|
-
} & { [K in
|
|
123
|
+
} & { [K in xstate899.RequiredActorOptions<T>]: unknown }) | undefined], xstate899.IsNotNever<xstate899.RequiredActorOptions<T>>> : never : never : never) | ({
|
|
124
124
|
src: "submitConsent";
|
|
125
|
-
logic:
|
|
125
|
+
logic: xstate899.PromiseActorLogic<void, {
|
|
126
126
|
languageConsentId: string;
|
|
127
127
|
checkboxes: ConsentCheckbox[];
|
|
128
|
-
},
|
|
128
|
+
}, xstate899.EventObject>;
|
|
129
129
|
id: string | undefined;
|
|
130
130
|
} extends infer T_1 ? T_1 extends {
|
|
131
131
|
src: "submitConsent";
|
|
132
|
-
logic:
|
|
132
|
+
logic: xstate899.PromiseActorLogic<void, {
|
|
133
133
|
languageConsentId: string;
|
|
134
134
|
checkboxes: ConsentCheckbox[];
|
|
135
|
-
},
|
|
135
|
+
}, xstate899.EventObject>;
|
|
136
136
|
id: string | undefined;
|
|
137
137
|
} ? T_1 extends {
|
|
138
138
|
src: TSrc;
|
|
139
|
-
} ?
|
|
139
|
+
} ? xstate899.ConditionalRequired<[options?: ({
|
|
140
140
|
id?: T_1["id"] | undefined;
|
|
141
141
|
systemId?: string;
|
|
142
|
-
input?:
|
|
142
|
+
input?: xstate899.InputFrom<T_1["logic"]> | undefined;
|
|
143
143
|
syncSnapshot?: boolean;
|
|
144
|
-
} & { [K_1 in
|
|
144
|
+
} & { [K_1 in xstate899.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate899.IsNotNever<xstate899.RequiredActorOptions<T_1>>> : never : never : never)): xstate899.ActorRefFromLogic<xstate899.GetConcreteByKey<xstate899.Values<{
|
|
145
145
|
fetchConsent: {
|
|
146
146
|
src: "fetchConsent";
|
|
147
|
-
logic:
|
|
147
|
+
logic: xstate899.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
148
148
|
consentId: string;
|
|
149
|
-
},
|
|
149
|
+
}, xstate899.EventObject>;
|
|
150
150
|
id: string | undefined;
|
|
151
151
|
};
|
|
152
152
|
submitConsent: {
|
|
153
153
|
src: "submitConsent";
|
|
154
|
-
logic:
|
|
154
|
+
logic: xstate899.PromiseActorLogic<void, {
|
|
155
155
|
languageConsentId: string;
|
|
156
156
|
checkboxes: ConsentCheckbox[];
|
|
157
|
-
},
|
|
157
|
+
}, xstate899.EventObject>;
|
|
158
158
|
id: string | undefined;
|
|
159
159
|
};
|
|
160
160
|
}>, "src", TSrc>["logic"]>;
|
|
161
|
-
<TLogic extends
|
|
161
|
+
<TLogic extends xstate899.AnyActorLogic>(src: TLogic, ...[options]: xstate899.ConditionalRequired<[options?: ({
|
|
162
162
|
id?: never;
|
|
163
163
|
systemId?: string;
|
|
164
|
-
input?:
|
|
164
|
+
input?: xstate899.InputFrom<TLogic> | undefined;
|
|
165
165
|
syncSnapshot?: boolean;
|
|
166
|
-
} & { [K in
|
|
166
|
+
} & { [K in xstate899.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate899.IsNotNever<xstate899.RequiredLogicInput<TLogic>>>): xstate899.ActorRefFromLogic<TLogic>;
|
|
167
167
|
};
|
|
168
168
|
input: ConsentInput;
|
|
169
|
-
self:
|
|
169
|
+
self: xstate899.ActorRef<xstate899.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, xstate899.AnyActorRef | undefined>, xstate899.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
|
+
}, xstate899.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: xstate899.ActorRef<xstate899.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, xstate899.AnyActorRef>, xstate899.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
|
+
}, xstate899.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: xstate899.ActorRef<xstate899.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, xstate899.AnyActorRef>, xstate899.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
|
+
}, xstate899.AnyEventObject>;
|
|
323
323
|
}) => {
|
|
324
324
|
languageConsentId: string;
|
|
325
325
|
checkboxes: ConsentCheckbox[];
|
package/dist/cpf-ocr.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as Manager } from "./Manager-B9HFXDz5.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as xstate874 from "xstate";
|
|
3
3
|
|
|
4
4
|
//#region src/modules/cpf-ocr/cpfOcrManager.d.ts
|
|
5
5
|
type CpfOcrIdleState = {
|
|
@@ -47,7 +47,7 @@ type CpfOcrContext = {
|
|
|
47
47
|
error: string | undefined;
|
|
48
48
|
};
|
|
49
49
|
type CpfOcrInput = Record<string, never>;
|
|
50
|
-
declare const cpfOcrMachine:
|
|
50
|
+
declare const cpfOcrMachine: xstate874.StateMachine<CpfOcrContext, {
|
|
51
51
|
type: "LOAD";
|
|
52
52
|
} | {
|
|
53
53
|
type: "SET_CPF";
|
|
@@ -57,43 +57,43 @@ declare const cpfOcrMachine: xstate182.StateMachine<CpfOcrContext, {
|
|
|
57
57
|
} | {
|
|
58
58
|
type: "RETRY";
|
|
59
59
|
}, {
|
|
60
|
-
[x: string]:
|
|
60
|
+
[x: string]: xstate874.ActorRefFromLogic<xstate874.PromiseActorLogic<CpfOcrDataResponse, void, xstate874.EventObject>> | xstate874.ActorRefFromLogic<xstate874.PromiseActorLogic<CpfOcrUpdateResponse, {
|
|
61
61
|
cpf: string;
|
|
62
|
-
},
|
|
63
|
-
},
|
|
62
|
+
}, xstate874.EventObject>> | undefined;
|
|
63
|
+
}, xstate874.Values<{
|
|
64
64
|
fetchCpfOcrData: {
|
|
65
65
|
src: "fetchCpfOcrData";
|
|
66
|
-
logic:
|
|
66
|
+
logic: xstate874.PromiseActorLogic<CpfOcrDataResponse, void, xstate874.EventObject>;
|
|
67
67
|
id: string | undefined;
|
|
68
68
|
};
|
|
69
69
|
submitCpfOcr: {
|
|
70
70
|
src: "submitCpfOcr";
|
|
71
|
-
logic:
|
|
71
|
+
logic: xstate874.PromiseActorLogic<CpfOcrUpdateResponse, {
|
|
72
72
|
cpf: string;
|
|
73
|
-
},
|
|
73
|
+
}, xstate874.EventObject>;
|
|
74
74
|
id: string | undefined;
|
|
75
75
|
};
|
|
76
|
-
}>,
|
|
76
|
+
}>, xstate874.Values<{
|
|
77
77
|
setError: {
|
|
78
78
|
type: "setError";
|
|
79
|
-
params:
|
|
79
|
+
params: xstate874.NonReducibleUnknown;
|
|
80
80
|
};
|
|
81
81
|
clearError: {
|
|
82
82
|
type: "clearError";
|
|
83
|
-
params:
|
|
83
|
+
params: xstate874.NonReducibleUnknown;
|
|
84
84
|
};
|
|
85
85
|
setPrefill: {
|
|
86
86
|
type: "setPrefill";
|
|
87
|
-
params:
|
|
87
|
+
params: xstate874.NonReducibleUnknown;
|
|
88
88
|
};
|
|
89
89
|
setCpf: {
|
|
90
90
|
type: "setCpf";
|
|
91
|
-
params:
|
|
91
|
+
params: xstate874.NonReducibleUnknown;
|
|
92
92
|
};
|
|
93
93
|
}>, {
|
|
94
94
|
type: "isValid";
|
|
95
95
|
params: unknown;
|
|
96
|
-
}, never, "error" | "idle" | "finished" | "loading" | "submitting" | "inputting", string, CpfOcrInput,
|
|
96
|
+
}, never, "error" | "idle" | "finished" | "loading" | "submitting" | "inputting", string, CpfOcrInput, xstate874.NonReducibleUnknown, xstate874.EventObject, xstate874.MetaObject, {
|
|
97
97
|
readonly id: "cpfOcr";
|
|
98
98
|
readonly initial: "idle";
|
|
99
99
|
readonly context: {
|
|
@@ -148,7 +148,7 @@ declare const cpfOcrMachine: xstate182.StateMachine<CpfOcrContext, {
|
|
|
148
148
|
} | {
|
|
149
149
|
type: "RETRY";
|
|
150
150
|
};
|
|
151
|
-
self:
|
|
151
|
+
self: xstate874.ActorRef<xstate874.MachineSnapshot<CpfOcrContext, {
|
|
152
152
|
type: "LOAD";
|
|
153
153
|
} | {
|
|
154
154
|
type: "SET_CPF";
|
|
@@ -157,7 +157,7 @@ declare const cpfOcrMachine: xstate182.StateMachine<CpfOcrContext, {
|
|
|
157
157
|
type: "SUBMIT";
|
|
158
158
|
} | {
|
|
159
159
|
type: "RETRY";
|
|
160
|
-
}, Record<string,
|
|
160
|
+
}, Record<string, xstate874.AnyActorRef>, xstate874.StateValue, string, unknown, any, any>, {
|
|
161
161
|
type: "LOAD";
|
|
162
162
|
} | {
|
|
163
163
|
type: "SET_CPF";
|
|
@@ -166,7 +166,7 @@ declare const cpfOcrMachine: xstate182.StateMachine<CpfOcrContext, {
|
|
|
166
166
|
type: "SUBMIT";
|
|
167
167
|
} | {
|
|
168
168
|
type: "RETRY";
|
|
169
|
-
},
|
|
169
|
+
}, xstate874.AnyEventObject>;
|
|
170
170
|
}) => {
|
|
171
171
|
cpf: string;
|
|
172
172
|
};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { t as Manager } from "./Manager-B9HFXDz5.js";
|
|
2
|
-
import "./Actor-
|
|
2
|
+
import "./Actor-DhAnkIwf.js";
|
|
3
3
|
import "./camera-6QfEti0q.js";
|
|
4
4
|
import "./types-CSDi2j_3.js";
|
|
5
|
-
import
|
|
5
|
+
import "./types-BGn7vf_y.js";
|
|
6
|
+
import { i as FlowModuleConfig } from "./types-C3znyyzD.js";
|
|
6
7
|
|
|
7
8
|
//#region src/modules/curp-validation/types.d.ts
|
|
8
9
|
type CurpValidationConfig = FlowModuleConfig['CURP_VALIDATION'] & {
|
package/dist/custom-fields.d.ts
CHANGED